@angular/common
Advanced tools
Comparing version 4.0.0-rc.0 to 4.0.0-rc.1
/** | ||
* @license Angular v4.0.0-rc.0 | ||
* @license Angular v4.0.0-rc.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
!function(global,factory){if("function"==typeof define&&define.amd)define("@angular/common",["exports","@angular/core"],factory);else if("undefined"!=typeof exports)factory(exports,require("@angular/core"));else{var mod={exports:{}};factory(mod.exports,global.ng.core),global.ng=global.ng||{},global.ng.common=mod.exports}}(this,function(exports,_core){"use strict";function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return Array.from(arr)}function _possibleConstructorReturn(self,call){if(!self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!call||"object"!=typeof call&&"function"!=typeof call?self:call}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function getTypeNameForDebugging(r){return r.name||("undefined"==typeof r?"undefined":_typeof(r))}function isPresent(r){return null!=r}function isBlank(r){return null==r}function stringify(r){if("string"==typeof r)return r;if(null==r)return""+r;if(r.overriddenName)return""+r.overriddenName;if(r.name)return""+r.name;var a=r.toString(),l=a.indexOf("\n");return-1===l?a:a.substring(0,l)}function isJsObject(r){return null!==r&&("function"==typeof r||"object"==("undefined"==typeof r?"undefined":_typeof(r)))}function getSymbolIterator(){if(!_symbolIterator)if(globalScope.Symbol&&Symbol.iterator)_symbolIterator=Symbol.iterator;else for(var r=Object.getOwnPropertyNames(Map.prototype),a=0;a<r.length;++a){var l=r[a];"entries"!==l&&"size"!==l&&Map.prototype[l]===Map.prototype.entries&&(_symbolIterator=l)}return _symbolIterator}function _stripBaseHref(r,a){return r&&a.startsWith(r)?a.substring(r.length):a}function _stripIndexHtml(r){return r.replace(/\/index.html$/,"")}function getPluralCategory(r,a,l){var u="="+r;if(-1<a.indexOf(u))return u;if(u=l.getPluralCategory(r),-1<a.indexOf(u))return u;if(-1<a.indexOf("other"))return"other";throw new Error('No plural message found for value "'+r+'"')}function getPluralCase(r,a){"string"==typeof a&&(a=parseInt(a,10));var l=a,u=l.toString().replace(/^[^.]*\.?/,""),c=Math.floor(Math.abs(l)),p=u.length,_=parseInt(u,10),g=parseInt(l.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0,w=r.split("-")[0].toLowerCase();return"af"===w||"asa"===w||"az"===w||"bem"===w||"bez"===w||"bg"===w||"brx"===w||"ce"===w||"cgg"===w||"chr"===w||"ckb"===w||"ee"===w||"el"===w||"eo"===w||"es"===w||"eu"===w||"fo"===w||"fur"===w||"gsw"===w||"ha"===w||"haw"===w||"hu"===w||"jgo"===w||"jmc"===w||"ka"===w||"kk"===w||"kkj"===w||"kl"===w||"ks"===w||"ksb"===w||"ky"===w||"lb"===w||"lg"===w||"mas"===w||"mgo"===w||"ml"===w||"mn"===w||"nb"===w||"nd"===w||"ne"===w||"nn"===w||"nnh"===w||"nyn"===w||"om"===w||"or"===w||"os"===w||"ps"===w||"rm"===w||"rof"===w||"rwk"===w||"saq"===w||"seh"===w||"sn"===w||"so"===w||"sq"===w||"ta"===w||"te"===w||"teo"===w||"tk"===w||"tr"===w||"ug"===w||"uz"===w||"vo"===w||"vun"===w||"wae"===w||"xog"===w?1===l?Plural.One:Plural.Other:"agq"===w||"bas"===w||"cu"===w||"dav"===w||"dje"===w||"dua"===w||"dyo"===w||"ebu"===w||"ewo"===w||"guz"===w||"kam"===w||"khq"===w||"ki"===w||"kln"===w||"kok"===w||"ksf"===w||"lrc"===w||"lu"===w||"luo"===w||"luy"===w||"mer"===w||"mfe"===w||"mgh"===w||"mua"===w||"mzn"===w||"nmg"===w||"nus"===w||"qu"===w||"rn"===w||"rw"===w||"sbp"===w||"twq"===w||"vai"===w||"yav"===w||"yue"===w||"zgh"===w||"ak"===w||"ln"===w||"mg"===w||"pa"===w||"ti"===w?l===Math.floor(l)&&0<=l&&1>=l?Plural.One:Plural.Other:"am"===w||"as"===w||"bn"===w||"fa"===w||"gu"===w||"hi"===w||"kn"===w||"mr"===w||"zu"===w?0===c||1===l?Plural.One:Plural.Other:"ar"===w?0===l?Plural.Zero:1===l?Plural.One:2===l?Plural.Two:l%100===Math.floor(l%100)&&3<=l%100&&10>=l%100?Plural.Few:l%100===Math.floor(l%100)&&11<=l%100&&99>=l%100?Plural.Many:Plural.Other:"ast"===w||"ca"===w||"de"===w||"en"===w||"et"===w||"fi"===w||"fy"===w||"gl"===w||"it"===w||"nl"===w||"sv"===w||"sw"===w||"ur"===w||"yi"===w?1===c&&0===p?Plural.One:Plural.Other:"be"===w?1==l%10&&11!=l%100?Plural.One:l%10===Math.floor(l%10)&&2<=l%10&&4>=l%10&&!(12<=l%100&&14>=l%100)?Plural.Few:0==l%10||l%10===Math.floor(l%10)&&5<=l%10&&9>=l%10||l%100===Math.floor(l%100)&&11<=l%100&&14>=l%100?Plural.Many:Plural.Other:"br"===w?1==l%10&&11!=l%100&&71!=l%100&&91!=l%100?Plural.One:2==l%10&&12!=l%100&&72!=l%100&&92!=l%100?Plural.Two:l%10===Math.floor(l%10)&&(3<=l%10&&4>=l%10||9==l%10)&&!(10<=l%100&&19>=l%100||70<=l%100&&79>=l%100||90<=l%100&&99>=l%100)?Plural.Few:0!==l&&0==l%1e6?Plural.Many:Plural.Other:"bs"===w||"hr"===w||"sr"===w?0===p&&1==c%10&&11!=c%100||1==_%10&&11!=_%100?Plural.One:0===p&&c%10===Math.floor(c%10)&&2<=c%10&&4>=c%10&&!(12<=c%100&&14>=c%100)||_%10===Math.floor(_%10)&&2<=_%10&&4>=_%10&&!(12<=_%100&&14>=_%100)?Plural.Few:Plural.Other:"cs"===w||"sk"===w?1===c&&0===p?Plural.One:c===Math.floor(c)&&2<=c&&4>=c&&0===p?Plural.Few:0===p?Plural.Other:Plural.Many:"cy"===w?0===l?Plural.Zero:1===l?Plural.One:2===l?Plural.Two:3===l?Plural.Few:6===l?Plural.Many:Plural.Other:"da"===w?1===l||0!==g&&(0===c||1===c)?Plural.One:Plural.Other:"dsb"===w||"hsb"===w?0===p&&1==c%100||1==_%100?Plural.One:0===p&&2==c%100||2==_%100?Plural.Two:0===p&&c%100===Math.floor(c%100)&&3<=c%100&&4>=c%100||_%100===Math.floor(_%100)&&3<=_%100&&4>=_%100?Plural.Few:Plural.Other:"ff"===w||"fr"===w||"hy"===w||"kab"===w?0===c||1===c?Plural.One:Plural.Other:"fil"===w?0===p&&(1===c||2===c||3===c)||0===p&&4!=c%10&&6!=c%10&&9!=c%10||0!==p&&4!=_%10&&6!=_%10&&9!=_%10?Plural.One:Plural.Other:"ga"===w?1===l?Plural.One:2===l?Plural.Two:l===Math.floor(l)&&3<=l&&6>=l?Plural.Few:l===Math.floor(l)&&7<=l&&10>=l?Plural.Many:Plural.Other:"gd"===w?1===l||11===l?Plural.One:2===l||12===l?Plural.Two:l===Math.floor(l)&&(3<=l&&10>=l||13<=l&&19>=l)?Plural.Few:Plural.Other:"gv"===w?0===p&&1==c%10?Plural.One:0===p&&2==c%10?Plural.Two:0!==p||0!=c%100&&20!=c%100&&40!=c%100&&60!=c%100&&80!=c%100?0===p?Plural.Other:Plural.Many:Plural.Few:"he"===w?1===c&&0===p?Plural.One:2===c&&0===p?Plural.Two:0!==p||0<=l&&10>=l||0!=l%10?Plural.Other:Plural.Many:"is"===w?0===g&&1==c%10&&11!=c%100||0!==g?Plural.One:Plural.Other:"ksh"===w?0===l?Plural.Zero:1===l?Plural.One:Plural.Other:"kw"===w||"naq"===w||"se"===w||"smn"===w?1===l?Plural.One:2===l?Plural.Two:Plural.Other:"lag"===w?0===l?Plural.Zero:0!==c&&1!==c||0===l?Plural.Other:Plural.One:"lt"===w?1!=l%10||11<=l%100&&19>=l%100?l%10===Math.floor(l%10)&&2<=l%10&&9>=l%10&&!(11<=l%100&&19>=l%100)?Plural.Few:0===_?Plural.Other:Plural.Many:Plural.One:"lv"===w||"prg"===w?0==l%10||l%100===Math.floor(l%100)&&11<=l%100&&19>=l%100||2===p&&_%100===Math.floor(_%100)&&11<=_%100&&19>=_%100?Plural.Zero:1==l%10&&11!=l%100||2===p&&1==_%10&&11!=_%100||2!==p&&1==_%10?Plural.One:Plural.Other:"mk"===w?0===p&&1==c%10||1==_%10?Plural.One:Plural.Other:"mt"===w?1===l?Plural.One:0===l||l%100===Math.floor(l%100)&&2<=l%100&&10>=l%100?Plural.Few:l%100===Math.floor(l%100)&&11<=l%100&&19>=l%100?Plural.Many:Plural.Other:"pl"===w?1===c&&0===p?Plural.One:0===p&&c%10===Math.floor(c%10)&&2<=c%10&&4>=c%10&&!(12<=c%100&&14>=c%100)?Plural.Few:0===p&&1!==c&&c%10===Math.floor(c%10)&&0<=c%10&&1>=c%10||0===p&&c%10===Math.floor(c%10)&&5<=c%10&&9>=c%10||0===p&&c%100===Math.floor(c%100)&&12<=c%100&&14>=c%100?Plural.Many:Plural.Other:"pt"===w?l===Math.floor(l)&&0<=l&&2>=l&&2!==l?Plural.One:Plural.Other:"ro"===w?1===c&&0===p?Plural.One:0!==p||0===l||1!==l&&l%100===Math.floor(l%100)&&1<=l%100&&19>=l%100?Plural.Few:Plural.Other:"ru"===w||"uk"===w?0===p&&1==c%10&&11!=c%100?Plural.One:0===p&&c%10===Math.floor(c%10)&&2<=c%10&&4>=c%10&&!(12<=c%100&&14>=c%100)?Plural.Few:0===p&&0==c%10||0===p&&c%10===Math.floor(c%10)&&5<=c%10&&9>=c%10||0===p&&c%100===Math.floor(c%100)&&11<=c%100&&14>=c%100?Plural.Many:Plural.Other:"shi"===w?0===c||1===l?Plural.One:l===Math.floor(l)&&2<=l&&10>=l?Plural.Few:Plural.Other:"si"===w?0===l||1===l||0===c&&1===_?Plural.One:Plural.Other:"sl"===w?0===p&&1==c%100?Plural.One:0===p&&2==c%100?Plural.Two:0===p&&c%100===Math.floor(c%100)&&3<=c%100&&4>=c%100||0!==p?Plural.Few:Plural.Other:"tzm"===w&&(l===Math.floor(l)&&0<=l&&1>=l||l===Math.floor(l)&&11<=l&&99>=l)?Plural.One:Plural.Other}function isListLikeIterable(r){return!!isJsObject(r)&&(Array.isArray(r)||!(r instanceof Map)&&getSymbolIterator()in r)}function invalidPipeArgumentError(r,a){return Error("InvalidPipeArgument: '"+a+"' for pipe '"+stringify(r)+"'")}function titleCaseWord(r){return r?r[0].toUpperCase()+r.substr(1).toLowerCase():r}function digitModifier(r){return function(a,l){var u=r(a,l);return 1==u.length?"0"+u:u}}function hourClockExtractor(r){return function(a,l){return r(a,l).split(" ")[1]}}function hourExtractor(r){return function(a,l){return r(a,l).split(" ")[0]}}function intlDateFormat(r,a,l){return new Intl.DateTimeFormat(a,l).format(r).replace(/[\u200e\u200f]/g,"")}function timeZoneGetter(r){var a={hour:"2-digit",hour12:!1,timeZoneName:r};return function(l,u){var c=intlDateFormat(l,u,a);return c?c.substring(3):""}}function hour12Modify(r,a){return r.hour12=a,r}function digitCondition(r,a){var l={};return l[r]=2===a?"2-digit":"numeric",l}function nameCondition(r,a){var l={};return l[r]=4>a?1<a?"short":"narrow":"long",l}function combine(r){return Object.assign.apply(Object,[{}].concat(_toConsumableArray(r)))}function datePartGetterFactory(r){return function(a,l){return intlDateFormat(a,l,r)}}function dateFormatter(r,a,l){var u=PATTERN_ALIASES[r];if(u)return u(a,l);var c=r,p=DATE_FORMATTER_CACHE.get(c);if(!p){p=[];var _=void 0;for(DATE_FORMATS_SPLIT.exec(r);r;)_=DATE_FORMATS_SPLIT.exec(r),_?(p=p.concat(_.slice(1)),r=p.pop()):(p.push(r),r=null);DATE_FORMATTER_CACHE.set(c,p)}return p.reduce(function(_,g){var w=DATE_FORMATS[g];return _+(w?w(a,l):partToTime(g))},"")}function partToTime(r){return"''"===r?"'":r.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function isBlank$1(r){return null==r||""===r}function isDate(r){return r instanceof Date&&!isNaN(r.valueOf())}function isoStringToDate(r){var a=new Date(0),l=0,u=0,c=r[8]?a.setUTCFullYear:a.setFullYear,p=r[8]?a.setUTCHours:a.setHours;r[9]&&(l=toInt(r[9]+r[10]),u=toInt(r[9]+r[11])),c.call(a,toInt(r[1]),toInt(r[2])-1,toInt(r[3]));var _=toInt(r[4]||"0")-l,g=toInt(r[5]||"0")-u,w=toInt(r[6]||"0"),C=Math.round(1e3*parseFloat("0."+(r[7]||0)));return p.call(a,_,g,w,C),a}function toInt(r){return parseInt(r,10)}function formatNumber(r,a,l,u,c){var p=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,_=arguments.length>6&&void 0!==arguments[6]&&arguments[6];if(null==l)return null;if(l="string"==typeof l&&NumberWrapper.isNumeric(l)?+l:l,"number"!=typeof l)throw invalidPipeArgumentError(r,l);var g=void 0,w=void 0,C=void 0;if(u!==NumberFormatStyle.Currency&&(g=1,w=0,C=3),c){var O=c.match(_NUMBER_FORMAT_REGEXP);if(null===O)throw new Error(c+" is not a valid digit info for number pipes");null!=O[1]&&(g=NumberWrapper.parseIntAutoRadix(O[1])),null!=O[3]&&(w=NumberWrapper.parseIntAutoRadix(O[3])),null!=O[5]&&(C=NumberWrapper.parseIntAutoRadix(O[5]))}return NumberFormatter.format(l,a,u,{minimumIntegerDigits:g,minimumFractionDigits:w,maximumFractionDigits:C,currency:p,currencyAsSymbol:_})}function isPlatformBrowser(r){return r===PLATFORM_BROWSER_ID}function isPlatformServer(r){return r===PLATFORM_SERVER_ID}function isPlatformWorkerApp(r){return r===PLATFORM_WORKER_APP_ID}function isPlatformWorkerUi(r){return r===PLATFORM_WORKER_UI_ID}Object.defineProperty(exports,"__esModule",{value:!0}),exports.ɵd=exports.ɵb=exports.ɵa=exports.ɵc=exports.Location=exports.PathLocationStrategy=exports.HashLocationStrategy=exports.APP_BASE_HREF=exports.LocationStrategy=exports.PlatformLocation=exports.VERSION=exports.isPlatformWorkerUi=exports.isPlatformWorkerApp=exports.isPlatformServer=exports.isPlatformBrowser=exports.ɵPLATFORM_WORKER_UI_ID=exports.ɵPLATFORM_WORKER_APP_ID=exports.ɵPLATFORM_SERVER_ID=exports.ɵPLATFORM_BROWSER_ID=exports.TitleCasePipe=exports.UpperCasePipe=exports.SlicePipe=exports.PercentPipe=exports.DecimalPipe=exports.CurrencyPipe=exports.LowerCasePipe=exports.JsonPipe=exports.I18nSelectPipe=exports.I18nPluralPipe=exports.DatePipe=exports.AsyncPipe=exports.NgComponentOutlet=exports.NgTemplateOutlet=exports.NgSwitchDefault=exports.NgSwitchCase=exports.NgSwitch=exports.NgStyle=exports.NgPluralCase=exports.NgPlural=exports.NgIf=exports.NgForOf=exports.NgFor=exports.NgClass=exports.CommonModule=exports.NgLocalization=exports.NgLocaleLocalization=void 0;var _slicedToArray=function(){function sliceIterator(arr,i){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}return function(arr,i){if(Array.isArray(arr))return arr;if(Symbol.iterator in Object(arr))return sliceIterator(arr,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}(),PlatformLocation=function(){function PlatformLocation(){_classCallCheck(this,PlatformLocation)}return _createClass(PlatformLocation,[{key:"getBaseHrefFromDOM",value:function(){}},{key:"onPopState",value:function(){}},{key:"onHashChange",value:function(){}},{key:"replaceState",value:function(){}},{key:"pushState",value:function(){}},{key:"forward",value:function(){}},{key:"back",value:function(){}},{key:"pathname",get:function(){return null}},{key:"search",get:function(){return null}},{key:"hash",get:function(){return null}}]),PlatformLocation}(),LocationStrategy=function(){function LocationStrategy(){_classCallCheck(this,LocationStrategy)}return _createClass(LocationStrategy,[{key:"path",value:function(){}},{key:"prepareExternalUrl",value:function(){}},{key:"pushState",value:function(){}},{key:"replaceState",value:function(){}},{key:"forward",value:function(){}},{key:"back",value:function(){}},{key:"onPopState",value:function(){}},{key:"getBaseHref",value:function(){}}]),LocationStrategy}(),APP_BASE_HREF=new _core.InjectionToken("appBaseHref"),globalScope="undefined"==typeof window?"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:global:window,_global=globalScope;_global.assert=function(){};var NumberWrapper=function(){function NumberWrapper(){_classCallCheck(this,NumberWrapper)}return _createClass(NumberWrapper,null,[{key:"parseIntAutoRadix",value:function(r){var a=parseInt(r);if(isNaN(a))throw new Error("Invalid integer literal when parsing "+r);return a}},{key:"isNumeric",value:function(r){return!isNaN(r-parseFloat(r))}}]),NumberWrapper}(),_symbolIterator=null,Location=function(){function Location(r){var _this=this;_classCallCheck(this,Location),this._subject=new _core.EventEmitter,this._platformStrategy=r;var a=this._platformStrategy.getBaseHref();this._baseHref=Location.stripTrailingSlash(_stripIndexHtml(a)),this._platformStrategy.onPopState(function(l){_this._subject.emit({url:_this.path(!0),pop:!0,type:l.type})})}return _createClass(Location,[{key:"path",value:function(){var r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(r))}},{key:"isCurrentPathEqualTo",value:function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(r+Location.normalizeQueryParams(a))}},{key:"normalize",value:function(r){return Location.stripTrailingSlash(_stripBaseHref(this._baseHref,_stripIndexHtml(r)))}},{key:"prepareExternalUrl",value:function(r){return r&&"/"!==r[0]&&(r="/"+r),this._platformStrategy.prepareExternalUrl(r)}},{key:"go",value:function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";this._platformStrategy.pushState(null,"",r,a)}},{key:"replaceState",value:function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";this._platformStrategy.replaceState(null,"",r,a)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"subscribe",value:function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this._subject.subscribe({next:r,error:a,complete:l})}}],[{key:"normalizeQueryParams",value:function(r){return r&&"?"!==r[0]?"?"+r:r}},{key:"joinWithSlash",value:function(r,a){if(0==r.length)return a;if(0==a.length)return r;var l=0;return r.endsWith("/")&&l++,a.startsWith("/")&&l++,2==l?r+a.substring(1):1==l?r+a:r+"/"+a}},{key:"stripTrailingSlash",value:function(r){return r.replace(/\/$/,"")}}]),Location}();Location.decorators=[{type:_core.Injectable}],Location.ctorParameters=function(){return[{type:LocationStrategy}]};var HashLocationStrategy=function(_LocationStrategy){function HashLocationStrategy(r,a){var _this2;return _classCallCheck(this,HashLocationStrategy),_this2=_possibleConstructorReturn(this,(HashLocationStrategy.__proto__||Object.getPrototypeOf(HashLocationStrategy)).call(this)),_this2._platformLocation=r,_this2._baseHref="",isPresent(a)&&(_this2._baseHref=a),_this2}return _inherits(HashLocationStrategy,_LocationStrategy),_createClass(HashLocationStrategy,[{key:"onPopState",value:function(r){this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var a=(arguments.length>0&&void 0!==arguments[0]&&arguments[0],this._platformLocation.hash);return isPresent(a)||(a="#"),0<a.length?a.substring(1):a}},{key:"prepareExternalUrl",value:function(r){var a=Location.joinWithSlash(this._baseHref,r);return 0<a.length?"#"+a:a}},{key:"pushState",value:function(r,a,l,u){var c=this.prepareExternalUrl(l+Location.normalizeQueryParams(u));0==c.length&&(c=this._platformLocation.pathname),this._platformLocation.pushState(r,a,c)}},{key:"replaceState",value:function(r,a,l,u){var c=this.prepareExternalUrl(l+Location.normalizeQueryParams(u));0==c.length&&(c=this._platformLocation.pathname),this._platformLocation.replaceState(r,a,c)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),HashLocationStrategy}(LocationStrategy);HashLocationStrategy.decorators=[{type:_core.Injectable}],HashLocationStrategy.ctorParameters=function(){return[{type:PlatformLocation},{type:void 0,decorators:[{type:_core.Optional},{type:_core.Inject,args:[APP_BASE_HREF]}]}]};var PathLocationStrategy=function(_LocationStrategy2){function PathLocationStrategy(r,a){var _this3;if(_classCallCheck(this,PathLocationStrategy),_this3=_possibleConstructorReturn(this,(PathLocationStrategy.__proto__||Object.getPrototypeOf(PathLocationStrategy)).call(this)),_this3._platformLocation=r,isBlank(a)&&(a=_this3._platformLocation.getBaseHrefFromDOM()),isBlank(a))throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return _this3._baseHref=a,_possibleConstructorReturn(_this3)}return _inherits(PathLocationStrategy,_LocationStrategy2),_createClass(PathLocationStrategy,[{key:"onPopState",value:function(r){this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(r){return Location.joinWithSlash(this._baseHref,r)}},{key:"path",value:function(){var r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=this._platformLocation.pathname+Location.normalizeQueryParams(this._platformLocation.search),l=this._platformLocation.hash;return l&&r?""+a+l:a}},{key:"pushState",value:function(r,a,l,u){var c=this.prepareExternalUrl(l+Location.normalizeQueryParams(u));this._platformLocation.pushState(r,a,c)}},{key:"replaceState",value:function(r,a,l,u){var c=this.prepareExternalUrl(l+Location.normalizeQueryParams(u));this._platformLocation.replaceState(r,a,c)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),PathLocationStrategy}(LocationStrategy);PathLocationStrategy.decorators=[{type:_core.Injectable}],PathLocationStrategy.ctorParameters=function(){return[{type:PlatformLocation},{type:void 0,decorators:[{type:_core.Optional},{type:_core.Inject,args:[APP_BASE_HREF]}]}]};var NgLocalization=function(){function NgLocalization(){_classCallCheck(this,NgLocalization)}return _createClass(NgLocalization,[{key:"getPluralCategory",value:function(){}}]),NgLocalization}(),NgLocaleLocalization=function(_NgLocalization){function NgLocaleLocalization(r){var _this4;return _classCallCheck(this,NgLocaleLocalization),_this4=_possibleConstructorReturn(this,(NgLocaleLocalization.__proto__||Object.getPrototypeOf(NgLocaleLocalization)).call(this)),_this4.locale=r,_this4}return _inherits(NgLocaleLocalization,_NgLocalization),_createClass(NgLocaleLocalization,[{key:"getPluralCategory",value:function(r){var a=getPluralCase(this.locale,r);return a===Plural.Zero?"zero":a===Plural.One?"one":a===Plural.Two?"two":a===Plural.Few?"few":a===Plural.Many?"many":"other"}}]),NgLocaleLocalization}(NgLocalization);NgLocaleLocalization.decorators=[{type:_core.Injectable}],NgLocaleLocalization.ctorParameters=function(){return[{type:void 0,decorators:[{type:_core.Inject,args:[_core.LOCALE_ID]}]}]};var Plural={};Plural.Zero=0,Plural.One=1,Plural.Two=2,Plural.Few=3,Plural.Many=4,Plural.Other=5,Plural[Plural.Zero]="Zero",Plural[Plural.One]="One",Plural[Plural.Two]="Two",Plural[Plural.Few]="Few",Plural[Plural.Many]="Many",Plural[Plural.Other]="Other";var NgClass=function(){function NgClass(r,a,l,u){_classCallCheck(this,NgClass),this._iterableDiffers=r,this._keyValueDiffers=a,this._ngEl=l,this._renderer=u,this._initialClasses=[]}return _createClass(NgClass,[{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var r=this._iterableDiffer.diff(this._rawClass);r&&this._applyIterableChanges(r)}else if(this._keyValueDiffer){var _r=this._keyValueDiffer.diff(this._rawClass);_r&&this._applyKeyValueChanges(_r)}}},{key:"_cleanupClasses",value:function(r){this._applyClasses(r,!0),this._applyInitialClasses(!1)}},{key:"_applyKeyValueChanges",value:function(r){var _this5=this;r.forEachAddedItem(function(a){return _this5._toggleClass(a.key,a.currentValue)}),r.forEachChangedItem(function(a){return _this5._toggleClass(a.key,a.currentValue)}),r.forEachRemovedItem(function(a){a.previousValue&&_this5._toggleClass(a.key,!1)})}},{key:"_applyIterableChanges",value:function(r){var _this6=this;r.forEachAddedItem(function(a){if("string"!=typeof a.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+stringify(a.item));_this6._toggleClass(a.item,!0)}),r.forEachRemovedItem(function(a){return _this6._toggleClass(a.item,!1)})}},{key:"_applyInitialClasses",value:function(r){var _this7=this;this._initialClasses.forEach(function(a){return _this7._toggleClass(a,!r)})}},{key:"_applyClasses",value:function(r,a){var _this8=this;r&&(Array.isArray(r)||r instanceof Set?r.forEach(function(l){return _this8._toggleClass(l,!a)}):Object.keys(r).forEach(function(l){null!=r[l]&&_this8._toggleClass(l,!a)}))}},{key:"_toggleClass",value:function(r,a){var _this9=this;r=r.trim(),r&&r.split(/\s+/g).forEach(function(l){_this9._renderer.setElementClass(_this9._ngEl.nativeElement,l,!!a)})}},{key:"klass",set:function(r){this._applyInitialClasses(!0),this._initialClasses="string"==typeof r?r.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)}},{key:"ngClass",set:function(r){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof r?r.split(/\s+/):r,this._rawClass&&(isListLikeIterable(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),NgClass}();NgClass.decorators=[{type:_core.Directive,args:[{selector:"[ngClass]"}]}],NgClass.ctorParameters=function(){return[{type:_core.IterableDiffers},{type:_core.KeyValueDiffers},{type:_core.ElementRef},{type:_core.Renderer}]},NgClass.propDecorators={klass:[{type:_core.Input,args:["class"]}],ngClass:[{type:_core.Input}]};var NgComponentOutlet=function(){function NgComponentOutlet(r){_classCallCheck(this,NgComponentOutlet),this._viewContainerRef=r,this._componentRef=null,this._moduleRef=null}return _createClass(NgComponentOutlet,[{key:"ngOnChanges",value:function(r){if(this._componentRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._componentRef.hostView)),this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var a=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;r.ngComponentOutletNgModuleFactory&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(a):null),this._moduleRef&&(a=this._moduleRef.injector);var l=a.get(_core.ComponentFactoryResolver).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(l,this._viewContainerRef.length,a,this.ngComponentOutletContent)}}},{key:"ngOnDestroy",value:function(){this._moduleRef&&this._moduleRef.destroy()}}]),NgComponentOutlet}();NgComponentOutlet.decorators=[{type:_core.Directive,args:[{selector:"[ngComponentOutlet]"}]}],NgComponentOutlet.ctorParameters=function(){return[{type:_core.ViewContainerRef}]},NgComponentOutlet.propDecorators={ngComponentOutlet:[{type:_core.Input}],ngComponentOutletInjector:[{type:_core.Input}],ngComponentOutletContent:[{type:_core.Input}],ngComponentOutletNgModuleFactory:[{type:_core.Input}]};var NgForOfRow=function(){function NgForOfRow(r,a,l){_classCallCheck(this,NgForOfRow),this.$implicit=r,this.index=a,this.count=l}return _createClass(NgForOfRow,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return 0==this.index%2}},{key:"odd",get:function(){return!this.even}}]),NgForOfRow}(),NgForOf=function(){function NgForOf(r,a,l){_classCallCheck(this,NgForOf),this._viewContainer=r,this._template=a,this._differs=l,this._differ=null}return _createClass(NgForOf,[{key:"ngOnChanges",value:function(r){if("ngForOf"in r){var a=r.ngForOf.currentValue;if(!this._differ&&a)try{this._differ=this._differs.find(a).create(this.ngForTrackBy)}catch(l){throw new Error("Cannot find a differ supporting object '"+a+"' of type '"+getTypeNameForDebugging(a)+"'. NgFor only supports binding to Iterables such as Arrays.")}}}},{key:"ngDoCheck",value:function(){if(this._differ){var r=this._differ.diff(this.ngForOf);r&&this._applyChanges(r)}}},{key:"_applyChanges",value:function(r){var _this10=this,a=[];r.forEachOperation(function(l,u,c){if(null==l.previousIndex){var p=_this10._viewContainer.createEmbeddedView(_this10._template,new NgForOfRow(null,null,null),c),_=new RecordViewTuple(l,p);a.push(_)}else if(null==c)_this10._viewContainer.remove(u);else{var _p=_this10._viewContainer.get(u);_this10._viewContainer.move(_p,c);var _2=new RecordViewTuple(l,_p);a.push(_2)}});for(var l=0;l<a.length;l++)this._perViewChange(a[l].view,a[l].record);for(var _l=0,u=this._viewContainer.length;_l<u;_l++){var c=this._viewContainer.get(_l);c.context.index=_l,c.context.count=u}r.forEachIdentityChange(function(l){var u=_this10._viewContainer.get(l.currentIndex);u.context.$implicit=l.item})}},{key:"_perViewChange",value:function(r,a){r.context.$implicit=a.item}},{key:"ngForTrackBy",set:function(r){(0,_core.isDevMode)()&&null!=r&&"function"!=typeof r&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(r)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=r},get:function(){return this._trackByFn}},{key:"ngForTemplate",set:function(r){r&&(this._template=r)}}]),NgForOf}();NgForOf.decorators=[{type:_core.Directive,args:[{selector:"[ngFor][ngForOf]"}]}],NgForOf.ctorParameters=function(){return[{type:_core.ViewContainerRef},{type:_core.TemplateRef},{type:_core.IterableDiffers}]},NgForOf.propDecorators={ngForOf:[{type:_core.Input}],ngForTrackBy:[{type:_core.Input}],ngForTemplate:[{type:_core.Input}]};var RecordViewTuple=function RecordViewTuple(r,a){_classCallCheck(this,RecordViewTuple),this.record=r,this.view=a},NgFor=NgForOf,NgIf=function(){function NgIf(r,a){_classCallCheck(this,NgIf),this._viewContainer=r,this._context=new NgIfContext,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=a}return _createClass(NgIf,[{key:"_updateView",value:function(){this._context.$implicit?!this._thenViewRef&&(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):!this._elseViewRef&&(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}},{key:"ngIf",set:function(r){this._context.$implicit=r,this._updateView()}},{key:"ngIfThen",set:function(r){this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(r){this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}}]),NgIf}();NgIf.decorators=[{type:_core.Directive,args:[{selector:"[ngIf]"}]}],NgIf.ctorParameters=function(){return[{type:_core.ViewContainerRef},{type:_core.TemplateRef}]},NgIf.propDecorators={ngIf:[{type:_core.Input}],ngIfThen:[{type:_core.Input}],ngIfElse:[{type:_core.Input}]};var NgIfContext=function NgIfContext(){_classCallCheck(this,NgIfContext),this.$implicit=null},SwitchView=function(){function SwitchView(r,a){_classCallCheck(this,SwitchView),this._viewContainerRef=r,this._templateRef=a,this._created=!1}return _createClass(SwitchView,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(r){r&&!this._created?this.create():!r&&this._created&&this.destroy()}}]),SwitchView}(),NgSwitch=function(){function NgSwitch(){_classCallCheck(this,NgSwitch),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return _createClass(NgSwitch,[{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(r){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(r)}},{key:"_matchCase",value:function(r){var a=r==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||a,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1), | ||
a}},{key:"_updateDefaultCases",value:function(r){if(this._defaultViews&&r!==this._defaultUsed){this._defaultUsed=r;for(var a=0;a<this._defaultViews.length;a++){var l=this._defaultViews[a];l.enforceState(r)}}}},{key:"ngSwitch",set:function(r){this._ngSwitch=r,0===this._caseCount&&this._updateDefaultCases(!0)}}]),NgSwitch}();NgSwitch.decorators=[{type:_core.Directive,args:[{selector:"[ngSwitch]"}]}],NgSwitch.ctorParameters=function(){return[]},NgSwitch.propDecorators={ngSwitch:[{type:_core.Input}]};var NgSwitchCase=function(){function NgSwitchCase(r,a,l){_classCallCheck(this,NgSwitchCase),this.ngSwitch=l,l._addCase(),this._view=new SwitchView(r,a)}return _createClass(NgSwitchCase,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),NgSwitchCase}();NgSwitchCase.decorators=[{type:_core.Directive,args:[{selector:"[ngSwitchCase]"}]}],NgSwitchCase.ctorParameters=function(){return[{type:_core.ViewContainerRef},{type:_core.TemplateRef},{type:NgSwitch,decorators:[{type:_core.Host}]}]},NgSwitchCase.propDecorators={ngSwitchCase:[{type:_core.Input}]};var NgSwitchDefault=function NgSwitchDefault(r,a,l){_classCallCheck(this,NgSwitchDefault),l._addDefault(new SwitchView(r,a))};NgSwitchDefault.decorators=[{type:_core.Directive,args:[{selector:"[ngSwitchDefault]"}]}],NgSwitchDefault.ctorParameters=function(){return[{type:_core.ViewContainerRef},{type:_core.TemplateRef},{type:NgSwitch,decorators:[{type:_core.Host}]}]};var NgPlural=function(){function NgPlural(r){_classCallCheck(this,NgPlural),this._localization=r,this._caseViews={}}return _createClass(NgPlural,[{key:"addCase",value:function(r,a){this._caseViews[r]=a}},{key:"_updateView",value:function(){this._clearViews();var r=Object.keys(this._caseViews),a=getPluralCategory(this._switchValue,r,this._localization);this._activateView(this._caseViews[a])}},{key:"_clearViews",value:function(){this._activeView&&this._activeView.destroy()}},{key:"_activateView",value:function(r){r&&(this._activeView=r,this._activeView.create())}},{key:"ngPlural",set:function(r){this._switchValue=r,this._updateView()}}]),NgPlural}();NgPlural.decorators=[{type:_core.Directive,args:[{selector:"[ngPlural]"}]}],NgPlural.ctorParameters=function(){return[{type:NgLocalization}]},NgPlural.propDecorators={ngPlural:[{type:_core.Input}]};var NgPluralCase=function NgPluralCase(r,a,l,u){_classCallCheck(this,NgPluralCase),this.value=r;var c=!isNaN(+r);u.addCase(c?"="+r:r,new SwitchView(l,a))};NgPluralCase.decorators=[{type:_core.Directive,args:[{selector:"[ngPluralCase]"}]}],NgPluralCase.ctorParameters=function(){return[{type:void 0,decorators:[{type:_core.Attribute,args:["ngPluralCase"]}]},{type:_core.TemplateRef},{type:_core.ViewContainerRef},{type:NgPlural,decorators:[{type:_core.Host}]}]};var NgStyle=function(){function NgStyle(r,a,l){_classCallCheck(this,NgStyle),this._differs=r,this._ngEl=a,this._renderer=l}return _createClass(NgStyle,[{key:"ngDoCheck",value:function(){if(this._differ){var r=this._differ.diff(this._ngStyle);r&&this._applyChanges(r)}}},{key:"_applyChanges",value:function(r){var _this11=this;r.forEachRemovedItem(function(a){return _this11._setStyle(a.key,null)}),r.forEachAddedItem(function(a){return _this11._setStyle(a.key,a.currentValue)}),r.forEachChangedItem(function(a){return _this11._setStyle(a.key,a.currentValue)})}},{key:"_setStyle",value:function(r,a){var _r$split=r.split("."),_r$split2=_slicedToArray(_r$split,2),l=_r$split2[0],u=_r$split2[1];a=null!=a&&u?""+a+u:a,this._renderer.setElementStyle(this._ngEl.nativeElement,l,a)}},{key:"ngStyle",set:function(r){this._ngStyle=r,!this._differ&&r&&(this._differ=this._differs.find(r).create())}}]),NgStyle}();NgStyle.decorators=[{type:_core.Directive,args:[{selector:"[ngStyle]"}]}],NgStyle.ctorParameters=function(){return[{type:_core.KeyValueDiffers},{type:_core.ElementRef},{type:_core.Renderer}]},NgStyle.propDecorators={ngStyle:[{type:_core.Input}]};var NgTemplateOutlet=function(){function NgTemplateOutlet(r){_classCallCheck(this,NgTemplateOutlet),this._viewContainerRef=r}return _createClass(NgTemplateOutlet,[{key:"ngOnChanges",value:function(){this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))}},{key:"ngOutletContext",set:function(r){this.ngTemplateOutletContext=r}}]),NgTemplateOutlet}();NgTemplateOutlet.decorators=[{type:_core.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],NgTemplateOutlet.ctorParameters=function(){return[{type:_core.ViewContainerRef}]},NgTemplateOutlet.propDecorators={ngTemplateOutletContext:[{type:_core.Input}],ngTemplateOutlet:[{type:_core.Input}],ngOutletContext:[{type:_core.Input}]};var COMMON_DIRECTIVES=[NgClass,NgComponentOutlet,NgForOf,NgIf,NgTemplateOutlet,NgStyle,NgSwitch,NgSwitchCase,NgSwitchDefault,NgPlural,NgPluralCase],ObservableStrategy=function(){function ObservableStrategy(){_classCallCheck(this,ObservableStrategy)}return _createClass(ObservableStrategy,[{key:"createSubscription",value:function(r,a){return r.subscribe({next:a,error:function(l){throw l}})}},{key:"dispose",value:function(r){r.unsubscribe()}},{key:"onDestroy",value:function(r){r.unsubscribe()}}]),ObservableStrategy}(),PromiseStrategy=function(){function PromiseStrategy(){_classCallCheck(this,PromiseStrategy)}return _createClass(PromiseStrategy,[{key:"createSubscription",value:function(r,a){return r.then(a,function(l){throw l})}},{key:"dispose",value:function(){}},{key:"onDestroy",value:function(){}}]),PromiseStrategy}(),_promiseStrategy=new PromiseStrategy,_observableStrategy=new ObservableStrategy,AsyncPipe=function(){function AsyncPipe(r){_classCallCheck(this,AsyncPipe),this._ref=r,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return _createClass(AsyncPipe,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(r){return this._obj?r===this._obj?this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,_core.WrappedValue.wrap(this._latestValue)):(this._dispose(),this.transform(r)):(r&&this._subscribe(r),this._latestReturnedValue=this._latestValue,this._latestValue)}},{key:"_subscribe",value:function(r){var _this12=this;this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,function(a){return _this12._updateLatestValue(r,a)})}},{key:"_selectStrategy",value:function(r){if((0,_core.ɵisPromise)(r))return _promiseStrategy;if((0,_core.ɵisObservable)(r))return _observableStrategy;throw invalidPipeArgumentError(AsyncPipe,r)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(r,a){r===this._obj&&(this._latestValue=a,this._ref.markForCheck())}}]),AsyncPipe}();AsyncPipe.decorators=[{type:_core.Pipe,args:[{name:"async",pure:!1}]}],AsyncPipe.ctorParameters=function(){return[{type:_core.ChangeDetectorRef}]};var LowerCasePipe=function(){function LowerCasePipe(){_classCallCheck(this,LowerCasePipe)}return _createClass(LowerCasePipe,[{key:"transform",value:function(r){if(!r)return r;if("string"!=typeof r)throw invalidPipeArgumentError(LowerCasePipe,r);return r.toLowerCase()}}]),LowerCasePipe}();LowerCasePipe.decorators=[{type:_core.Pipe,args:[{name:"lowercase"}]}],LowerCasePipe.ctorParameters=function(){return[]};var TitleCasePipe=function(){function TitleCasePipe(){_classCallCheck(this,TitleCasePipe)}return _createClass(TitleCasePipe,[{key:"transform",value:function(r){if(!r)return r;if("string"!=typeof r)throw invalidPipeArgumentError(TitleCasePipe,r);return r.split(/\b/g).map(function(a){return titleCaseWord(a)}).join("")}}]),TitleCasePipe}();TitleCasePipe.decorators=[{type:_core.Pipe,args:[{name:"titlecase"}]}],TitleCasePipe.ctorParameters=function(){return[]};var UpperCasePipe=function(){function UpperCasePipe(){_classCallCheck(this,UpperCasePipe)}return _createClass(UpperCasePipe,[{key:"transform",value:function(r){if(!r)return r;if("string"!=typeof r)throw invalidPipeArgumentError(UpperCasePipe,r);return r.toUpperCase()}}]),UpperCasePipe}();UpperCasePipe.decorators=[{type:_core.Pipe,args:[{name:"uppercase"}]}],UpperCasePipe.ctorParameters=function(){return[]};var NumberFormatStyle={};NumberFormatStyle.Decimal=0,NumberFormatStyle.Percent=1,NumberFormatStyle.Currency=2,NumberFormatStyle[NumberFormatStyle.Decimal]="Decimal",NumberFormatStyle[NumberFormatStyle.Percent]="Percent",NumberFormatStyle[NumberFormatStyle.Currency]="Currency";var NumberFormatter=function(){function NumberFormatter(){_classCallCheck(this,NumberFormatter)}return _createClass(NumberFormatter,null,[{key:"format",value:function(r,a,l){var _ref=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=_ref.minimumIntegerDigits,c=_ref.minimumFractionDigits,p=_ref.maximumFractionDigits,_=_ref.currency,_ref$currencyAsSymbol=_ref.currencyAsSymbol,g=void 0!==_ref$currencyAsSymbol&&_ref$currencyAsSymbol,w={minimumIntegerDigits:u,minimumFractionDigits:c,maximumFractionDigits:p,style:NumberFormatStyle[l].toLowerCase()};return l==NumberFormatStyle.Currency&&(w.currency=_,w.currencyDisplay=g?"symbol":"code"),new Intl.NumberFormat(a,w).format(r)}}]),NumberFormatter}(),DATE_FORMATS_SPLIT=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,PATTERN_ALIASES={yMMMdjms:datePartGetterFactory(combine([digitCondition("year",1),nameCondition("month",3),digitCondition("day",1),digitCondition("hour",1),digitCondition("minute",1),digitCondition("second",1)])),yMdjm:datePartGetterFactory(combine([digitCondition("year",1),digitCondition("month",1),digitCondition("day",1),digitCondition("hour",1),digitCondition("minute",1)])),yMMMMEEEEd:datePartGetterFactory(combine([digitCondition("year",1),nameCondition("month",4),nameCondition("weekday",4),digitCondition("day",1)])),yMMMMd:datePartGetterFactory(combine([digitCondition("year",1),nameCondition("month",4),digitCondition("day",1)])),yMMMd:datePartGetterFactory(combine([digitCondition("year",1),nameCondition("month",3),digitCondition("day",1)])),yMd:datePartGetterFactory(combine([digitCondition("year",1),digitCondition("month",1),digitCondition("day",1)])),jms:datePartGetterFactory(combine([digitCondition("hour",1),digitCondition("second",1),digitCondition("minute",1)])),jm:datePartGetterFactory(combine([digitCondition("hour",1),digitCondition("minute",1)]))},DATE_FORMATS={yyyy:datePartGetterFactory(digitCondition("year",4)),yy:datePartGetterFactory(digitCondition("year",2)),y:datePartGetterFactory(digitCondition("year",1)),MMMM:datePartGetterFactory(nameCondition("month",4)),MMM:datePartGetterFactory(nameCondition("month",3)),MM:datePartGetterFactory(digitCondition("month",2)),M:datePartGetterFactory(digitCondition("month",1)),LLLL:datePartGetterFactory(nameCondition("month",4)),L:datePartGetterFactory(nameCondition("month",1)),dd:datePartGetterFactory(digitCondition("day",2)),d:datePartGetterFactory(digitCondition("day",1)),HH:digitModifier(hourExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",2),!1)))),H:hourExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",1),!1))),hh:digitModifier(hourExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",2),!0)))),h:hourExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",1),!0))),jj:datePartGetterFactory(digitCondition("hour",2)),j:datePartGetterFactory(digitCondition("hour",1)),mm:digitModifier(datePartGetterFactory(digitCondition("minute",2))),m:datePartGetterFactory(digitCondition("minute",1)),ss:digitModifier(datePartGetterFactory(digitCondition("second",2))),s:datePartGetterFactory(digitCondition("second",1)),sss:datePartGetterFactory(digitCondition("second",3)),EEEE:datePartGetterFactory(nameCondition("weekday",4)),EEE:datePartGetterFactory(nameCondition("weekday",3)),EE:datePartGetterFactory(nameCondition("weekday",2)),E:datePartGetterFactory(nameCondition("weekday",1)),a:hourClockExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",1),!0))),Z:timeZoneGetter("short"),z:timeZoneGetter("long"),ww:datePartGetterFactory({}),w:datePartGetterFactory({}),G:datePartGetterFactory(nameCondition("era",1)),GG:datePartGetterFactory(nameCondition("era",2)),GGG:datePartGetterFactory(nameCondition("era",3)),GGGG:datePartGetterFactory(nameCondition("era",4))},DATE_FORMATTER_CACHE=new Map,DateFormatter=function(){function DateFormatter(){_classCallCheck(this,DateFormatter)}return _createClass(DateFormatter,null,[{key:"format",value:function(r,a,l){return dateFormatter(l,r,a)}}]),DateFormatter}(),ISO8601_DATE_REGEX=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,DatePipe=function(){function DatePipe(r){_classCallCheck(this,DatePipe),this._locale=r}return _createClass(DatePipe,[{key:"transform",value:function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mediumDate",l=void 0;if(isBlank$1(r)||r!==r)return null;if("string"==typeof r&&(r=r.trim()),isDate(r))l=r;else if(NumberWrapper.isNumeric(r))l=new Date(parseFloat(r));else if("string"==typeof r&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(r)){var _r$split$map=r.split("-").map(function(_){return parseInt(_,10)}),_r$split$map2=_slicedToArray(_r$split$map,3),u=_r$split$map2[0],c=_r$split$map2[1],p=_r$split$map2[2];l=new Date(u,c-1,p)}else l=new Date(r);if(!isDate(l)){var _u=void 0;if("string"!=typeof r||!(_u=r.match(ISO8601_DATE_REGEX)))throw invalidPipeArgumentError(DatePipe,r);l=isoStringToDate(_u)}return DateFormatter.format(l,this._locale,DatePipe._ALIASES[a]||a)}}]),DatePipe}();DatePipe._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},DatePipe.decorators=[{type:_core.Pipe,args:[{name:"date",pure:!0}]}],DatePipe.ctorParameters=function(){return[{type:void 0,decorators:[{type:_core.Inject,args:[_core.LOCALE_ID]}]}]};var _INTERPOLATION_REGEXP=/#/g,I18nPluralPipe=function(){function I18nPluralPipe(r){_classCallCheck(this,I18nPluralPipe),this._localization=r}return _createClass(I18nPluralPipe,[{key:"transform",value:function(r,a){if(null==r)return"";if("object"!=("undefined"==typeof a?"undefined":_typeof(a))||null===a)throw invalidPipeArgumentError(I18nPluralPipe,a);var l=getPluralCategory(r,Object.keys(a),this._localization);return a[l].replace(_INTERPOLATION_REGEXP,r.toString())}}]),I18nPluralPipe}();I18nPluralPipe.decorators=[{type:_core.Pipe,args:[{name:"i18nPlural",pure:!0}]}],I18nPluralPipe.ctorParameters=function(){return[{type:NgLocalization}]};var I18nSelectPipe=function(){function I18nSelectPipe(){_classCallCheck(this,I18nSelectPipe)}return _createClass(I18nSelectPipe,[{key:"transform",value:function(r,a){if(null==r)return"";if("object"!=("undefined"==typeof a?"undefined":_typeof(a))||"string"!=typeof r)throw invalidPipeArgumentError(I18nSelectPipe,a);return a.hasOwnProperty(r)?a[r]:a.hasOwnProperty("other")?a.other:""}}]),I18nSelectPipe}();I18nSelectPipe.decorators=[{type:_core.Pipe,args:[{name:"i18nSelect",pure:!0}]}],I18nSelectPipe.ctorParameters=function(){return[]};var JsonPipe=function(){function JsonPipe(){_classCallCheck(this,JsonPipe)}return _createClass(JsonPipe,[{key:"transform",value:function(r){return JSON.stringify(r,null,2)}}]),JsonPipe}();JsonPipe.decorators=[{type:_core.Pipe,args:[{name:"json",pure:!1}]}],JsonPipe.ctorParameters=function(){return[]};var _NUMBER_FORMAT_REGEXP=/^(\d+)?\.((\d+)(-(\d+))?)?$/,DecimalPipe=function(){function DecimalPipe(r){_classCallCheck(this,DecimalPipe),this._locale=r}return _createClass(DecimalPipe,[{key:"transform",value:function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return formatNumber(DecimalPipe,this._locale,r,NumberFormatStyle.Decimal,a)}}]),DecimalPipe}();DecimalPipe.decorators=[{type:_core.Pipe,args:[{name:"number"}]}],DecimalPipe.ctorParameters=function(){return[{type:void 0,decorators:[{type:_core.Inject,args:[_core.LOCALE_ID]}]}]};var PercentPipe=function(){function PercentPipe(r){_classCallCheck(this,PercentPipe),this._locale=r}return _createClass(PercentPipe,[{key:"transform",value:function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return formatNumber(PercentPipe,this._locale,r,NumberFormatStyle.Percent,a)}}]),PercentPipe}();PercentPipe.decorators=[{type:_core.Pipe,args:[{name:"percent"}]}],PercentPipe.ctorParameters=function(){return[{type:void 0,decorators:[{type:_core.Inject,args:[_core.LOCALE_ID]}]}]};var CurrencyPipe=function(){function CurrencyPipe(r){_classCallCheck(this,CurrencyPipe),this._locale=r}return _createClass(CurrencyPipe,[{key:"transform",value:function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD",l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return formatNumber(CurrencyPipe,this._locale,r,NumberFormatStyle.Currency,u,a,l)}}]),CurrencyPipe}();CurrencyPipe.decorators=[{type:_core.Pipe,args:[{name:"currency"}]}],CurrencyPipe.ctorParameters=function(){return[{type:void 0,decorators:[{type:_core.Inject,args:[_core.LOCALE_ID]}]}]};var SlicePipe=function(){function SlicePipe(){_classCallCheck(this,SlicePipe)}return _createClass(SlicePipe,[{key:"transform",value:function(r,a,l){if(null==r)return r;if(!this.supports(r))throw invalidPipeArgumentError(SlicePipe,r);return r.slice(a,l)}},{key:"supports",value:function(r){return"string"==typeof r||Array.isArray(r)}}]),SlicePipe}();SlicePipe.decorators=[{type:_core.Pipe,args:[{name:"slice",pure:!1}]}],SlicePipe.ctorParameters=function(){return[]};var COMMON_PIPES=[AsyncPipe,UpperCasePipe,LowerCasePipe,JsonPipe,SlicePipe,DecimalPipe,PercentPipe,TitleCasePipe,CurrencyPipe,DatePipe,I18nPluralPipe,I18nSelectPipe],CommonModule=function CommonModule(){_classCallCheck(this,CommonModule)};CommonModule.decorators=[{type:_core.NgModule,args:[{declarations:[COMMON_DIRECTIVES,COMMON_PIPES],exports:[COMMON_DIRECTIVES,COMMON_PIPES],providers:[{provide:NgLocalization,useClass:NgLocaleLocalization}]}]}],CommonModule.ctorParameters=function(){return[]};var PLATFORM_BROWSER_ID="browser",PLATFORM_SERVER_ID="server",PLATFORM_WORKER_APP_ID="browserWorkerApp",PLATFORM_WORKER_UI_ID="browserWorkerUi",VERSION=new _core.Version("4.0.0-rc.0");exports.NgLocaleLocalization=NgLocaleLocalization,exports.NgLocalization=NgLocalization,exports.CommonModule=CommonModule,exports.NgClass=NgClass,exports.NgFor=NgFor,exports.NgForOf=NgForOf,exports.NgIf=NgIf,exports.NgPlural=NgPlural,exports.NgPluralCase=NgPluralCase,exports.NgStyle=NgStyle,exports.NgSwitch=NgSwitch,exports.NgSwitchCase=NgSwitchCase,exports.NgSwitchDefault=NgSwitchDefault,exports.NgTemplateOutlet=NgTemplateOutlet,exports.NgComponentOutlet=NgComponentOutlet,exports.AsyncPipe=AsyncPipe,exports.DatePipe=DatePipe,exports.I18nPluralPipe=I18nPluralPipe,exports.I18nSelectPipe=I18nSelectPipe,exports.JsonPipe=JsonPipe,exports.LowerCasePipe=LowerCasePipe,exports.CurrencyPipe=CurrencyPipe,exports.DecimalPipe=DecimalPipe,exports.PercentPipe=PercentPipe,exports.SlicePipe=SlicePipe,exports.UpperCasePipe=UpperCasePipe,exports.TitleCasePipe=TitleCasePipe,exports.ɵPLATFORM_BROWSER_ID=PLATFORM_BROWSER_ID,exports.ɵPLATFORM_SERVER_ID=PLATFORM_SERVER_ID,exports.ɵPLATFORM_WORKER_APP_ID=PLATFORM_WORKER_APP_ID,exports.ɵPLATFORM_WORKER_UI_ID=PLATFORM_WORKER_UI_ID,exports.isPlatformBrowser=isPlatformBrowser,exports.isPlatformServer=isPlatformServer,exports.isPlatformWorkerApp=isPlatformWorkerApp,exports.isPlatformWorkerUi=isPlatformWorkerUi,exports.VERSION=VERSION,exports.PlatformLocation=PlatformLocation,exports.LocationStrategy=LocationStrategy,exports.APP_BASE_HREF=APP_BASE_HREF,exports.HashLocationStrategy=HashLocationStrategy,exports.PathLocationStrategy=PathLocationStrategy,exports.Location=Location,exports.ɵc=COMMON_DIRECTIVES,exports.ɵa=NgForOfRow,exports.ɵb=NgIfContext,exports.ɵd=COMMON_PIPES}); | ||
a}},{key:"_updateDefaultCases",value:function(r){if(this._defaultViews&&r!==this._defaultUsed){this._defaultUsed=r;for(var a=0;a<this._defaultViews.length;a++){var l=this._defaultViews[a];l.enforceState(r)}}}},{key:"ngSwitch",set:function(r){this._ngSwitch=r,0===this._caseCount&&this._updateDefaultCases(!0)}}]),NgSwitch}();NgSwitch.decorators=[{type:_core.Directive,args:[{selector:"[ngSwitch]"}]}],NgSwitch.ctorParameters=function(){return[]},NgSwitch.propDecorators={ngSwitch:[{type:_core.Input}]};var NgSwitchCase=function(){function NgSwitchCase(r,a,l){_classCallCheck(this,NgSwitchCase),this.ngSwitch=l,l._addCase(),this._view=new SwitchView(r,a)}return _createClass(NgSwitchCase,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),NgSwitchCase}();NgSwitchCase.decorators=[{type:_core.Directive,args:[{selector:"[ngSwitchCase]"}]}],NgSwitchCase.ctorParameters=function(){return[{type:_core.ViewContainerRef},{type:_core.TemplateRef},{type:NgSwitch,decorators:[{type:_core.Host}]}]},NgSwitchCase.propDecorators={ngSwitchCase:[{type:_core.Input}]};var NgSwitchDefault=function NgSwitchDefault(r,a,l){_classCallCheck(this,NgSwitchDefault),l._addDefault(new SwitchView(r,a))};NgSwitchDefault.decorators=[{type:_core.Directive,args:[{selector:"[ngSwitchDefault]"}]}],NgSwitchDefault.ctorParameters=function(){return[{type:_core.ViewContainerRef},{type:_core.TemplateRef},{type:NgSwitch,decorators:[{type:_core.Host}]}]};var NgPlural=function(){function NgPlural(r){_classCallCheck(this,NgPlural),this._localization=r,this._caseViews={}}return _createClass(NgPlural,[{key:"addCase",value:function(r,a){this._caseViews[r]=a}},{key:"_updateView",value:function(){this._clearViews();var r=Object.keys(this._caseViews),a=getPluralCategory(this._switchValue,r,this._localization);this._activateView(this._caseViews[a])}},{key:"_clearViews",value:function(){this._activeView&&this._activeView.destroy()}},{key:"_activateView",value:function(r){r&&(this._activeView=r,this._activeView.create())}},{key:"ngPlural",set:function(r){this._switchValue=r,this._updateView()}}]),NgPlural}();NgPlural.decorators=[{type:_core.Directive,args:[{selector:"[ngPlural]"}]}],NgPlural.ctorParameters=function(){return[{type:NgLocalization}]},NgPlural.propDecorators={ngPlural:[{type:_core.Input}]};var NgPluralCase=function NgPluralCase(r,a,l,u){_classCallCheck(this,NgPluralCase),this.value=r;var c=!isNaN(+r);u.addCase(c?"="+r:r,new SwitchView(l,a))};NgPluralCase.decorators=[{type:_core.Directive,args:[{selector:"[ngPluralCase]"}]}],NgPluralCase.ctorParameters=function(){return[{type:void 0,decorators:[{type:_core.Attribute,args:["ngPluralCase"]}]},{type:_core.TemplateRef},{type:_core.ViewContainerRef},{type:NgPlural,decorators:[{type:_core.Host}]}]};var NgStyle=function(){function NgStyle(r,a,l){_classCallCheck(this,NgStyle),this._differs=r,this._ngEl=a,this._renderer=l}return _createClass(NgStyle,[{key:"ngDoCheck",value:function(){if(this._differ){var r=this._differ.diff(this._ngStyle);r&&this._applyChanges(r)}}},{key:"_applyChanges",value:function(r){var _this11=this;r.forEachRemovedItem(function(a){return _this11._setStyle(a.key,null)}),r.forEachAddedItem(function(a){return _this11._setStyle(a.key,a.currentValue)}),r.forEachChangedItem(function(a){return _this11._setStyle(a.key,a.currentValue)})}},{key:"_setStyle",value:function(r,a){var _r$split=r.split("."),_r$split2=_slicedToArray(_r$split,2),l=_r$split2[0],u=_r$split2[1];a=null!=a&&u?""+a+u:a,this._renderer.setElementStyle(this._ngEl.nativeElement,l,a)}},{key:"ngStyle",set:function(r){this._ngStyle=r,!this._differ&&r&&(this._differ=this._differs.find(r).create())}}]),NgStyle}();NgStyle.decorators=[{type:_core.Directive,args:[{selector:"[ngStyle]"}]}],NgStyle.ctorParameters=function(){return[{type:_core.KeyValueDiffers},{type:_core.ElementRef},{type:_core.Renderer}]},NgStyle.propDecorators={ngStyle:[{type:_core.Input}]};var NgTemplateOutlet=function(){function NgTemplateOutlet(r){_classCallCheck(this,NgTemplateOutlet),this._viewContainerRef=r}return _createClass(NgTemplateOutlet,[{key:"ngOnChanges",value:function(){this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))}},{key:"ngOutletContext",set:function(r){this.ngTemplateOutletContext=r}}]),NgTemplateOutlet}();NgTemplateOutlet.decorators=[{type:_core.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],NgTemplateOutlet.ctorParameters=function(){return[{type:_core.ViewContainerRef}]},NgTemplateOutlet.propDecorators={ngTemplateOutletContext:[{type:_core.Input}],ngTemplateOutlet:[{type:_core.Input}],ngOutletContext:[{type:_core.Input}]};var COMMON_DIRECTIVES=[NgClass,NgComponentOutlet,NgForOf,NgIf,NgTemplateOutlet,NgStyle,NgSwitch,NgSwitchCase,NgSwitchDefault,NgPlural,NgPluralCase],ObservableStrategy=function(){function ObservableStrategy(){_classCallCheck(this,ObservableStrategy)}return _createClass(ObservableStrategy,[{key:"createSubscription",value:function(r,a){return r.subscribe({next:a,error:function(l){throw l}})}},{key:"dispose",value:function(r){r.unsubscribe()}},{key:"onDestroy",value:function(r){r.unsubscribe()}}]),ObservableStrategy}(),PromiseStrategy=function(){function PromiseStrategy(){_classCallCheck(this,PromiseStrategy)}return _createClass(PromiseStrategy,[{key:"createSubscription",value:function(r,a){return r.then(a,function(l){throw l})}},{key:"dispose",value:function(){}},{key:"onDestroy",value:function(){}}]),PromiseStrategy}(),_promiseStrategy=new PromiseStrategy,_observableStrategy=new ObservableStrategy,AsyncPipe=function(){function AsyncPipe(r){_classCallCheck(this,AsyncPipe),this._ref=r,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return _createClass(AsyncPipe,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(r){return this._obj?r===this._obj?this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,_core.WrappedValue.wrap(this._latestValue)):(this._dispose(),this.transform(r)):(r&&this._subscribe(r),this._latestReturnedValue=this._latestValue,this._latestValue)}},{key:"_subscribe",value:function(r){var _this12=this;this._obj=r,this._strategy=this._selectStrategy(r),this._subscription=this._strategy.createSubscription(r,function(a){return _this12._updateLatestValue(r,a)})}},{key:"_selectStrategy",value:function(r){if((0,_core.ɵisPromise)(r))return _promiseStrategy;if((0,_core.ɵisObservable)(r))return _observableStrategy;throw invalidPipeArgumentError(AsyncPipe,r)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(r,a){r===this._obj&&(this._latestValue=a,this._ref.markForCheck())}}]),AsyncPipe}();AsyncPipe.decorators=[{type:_core.Pipe,args:[{name:"async",pure:!1}]}],AsyncPipe.ctorParameters=function(){return[{type:_core.ChangeDetectorRef}]};var LowerCasePipe=function(){function LowerCasePipe(){_classCallCheck(this,LowerCasePipe)}return _createClass(LowerCasePipe,[{key:"transform",value:function(r){if(!r)return r;if("string"!=typeof r)throw invalidPipeArgumentError(LowerCasePipe,r);return r.toLowerCase()}}]),LowerCasePipe}();LowerCasePipe.decorators=[{type:_core.Pipe,args:[{name:"lowercase"}]}],LowerCasePipe.ctorParameters=function(){return[]};var TitleCasePipe=function(){function TitleCasePipe(){_classCallCheck(this,TitleCasePipe)}return _createClass(TitleCasePipe,[{key:"transform",value:function(r){if(!r)return r;if("string"!=typeof r)throw invalidPipeArgumentError(TitleCasePipe,r);return r.split(/\b/g).map(function(a){return titleCaseWord(a)}).join("")}}]),TitleCasePipe}();TitleCasePipe.decorators=[{type:_core.Pipe,args:[{name:"titlecase"}]}],TitleCasePipe.ctorParameters=function(){return[]};var UpperCasePipe=function(){function UpperCasePipe(){_classCallCheck(this,UpperCasePipe)}return _createClass(UpperCasePipe,[{key:"transform",value:function(r){if(!r)return r;if("string"!=typeof r)throw invalidPipeArgumentError(UpperCasePipe,r);return r.toUpperCase()}}]),UpperCasePipe}();UpperCasePipe.decorators=[{type:_core.Pipe,args:[{name:"uppercase"}]}],UpperCasePipe.ctorParameters=function(){return[]};var NumberFormatStyle={};NumberFormatStyle.Decimal=0,NumberFormatStyle.Percent=1,NumberFormatStyle.Currency=2,NumberFormatStyle[NumberFormatStyle.Decimal]="Decimal",NumberFormatStyle[NumberFormatStyle.Percent]="Percent",NumberFormatStyle[NumberFormatStyle.Currency]="Currency";var NumberFormatter=function(){function NumberFormatter(){_classCallCheck(this,NumberFormatter)}return _createClass(NumberFormatter,null,[{key:"format",value:function(r,a,l){var _ref=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=_ref.minimumIntegerDigits,c=_ref.minimumFractionDigits,p=_ref.maximumFractionDigits,_=_ref.currency,_ref$currencyAsSymbol=_ref.currencyAsSymbol,g=void 0!==_ref$currencyAsSymbol&&_ref$currencyAsSymbol,w={minimumIntegerDigits:u,minimumFractionDigits:c,maximumFractionDigits:p,style:NumberFormatStyle[l].toLowerCase()};return l==NumberFormatStyle.Currency&&(w.currency=_,w.currencyDisplay=g?"symbol":"code"),new Intl.NumberFormat(a,w).format(r)}}]),NumberFormatter}(),DATE_FORMATS_SPLIT=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,PATTERN_ALIASES={yMMMdjms:datePartGetterFactory(combine([digitCondition("year",1),nameCondition("month",3),digitCondition("day",1),digitCondition("hour",1),digitCondition("minute",1),digitCondition("second",1)])),yMdjm:datePartGetterFactory(combine([digitCondition("year",1),digitCondition("month",1),digitCondition("day",1),digitCondition("hour",1),digitCondition("minute",1)])),yMMMMEEEEd:datePartGetterFactory(combine([digitCondition("year",1),nameCondition("month",4),nameCondition("weekday",4),digitCondition("day",1)])),yMMMMd:datePartGetterFactory(combine([digitCondition("year",1),nameCondition("month",4),digitCondition("day",1)])),yMMMd:datePartGetterFactory(combine([digitCondition("year",1),nameCondition("month",3),digitCondition("day",1)])),yMd:datePartGetterFactory(combine([digitCondition("year",1),digitCondition("month",1),digitCondition("day",1)])),jms:datePartGetterFactory(combine([digitCondition("hour",1),digitCondition("second",1),digitCondition("minute",1)])),jm:datePartGetterFactory(combine([digitCondition("hour",1),digitCondition("minute",1)]))},DATE_FORMATS={yyyy:datePartGetterFactory(digitCondition("year",4)),yy:datePartGetterFactory(digitCondition("year",2)),y:datePartGetterFactory(digitCondition("year",1)),MMMM:datePartGetterFactory(nameCondition("month",4)),MMM:datePartGetterFactory(nameCondition("month",3)),MM:datePartGetterFactory(digitCondition("month",2)),M:datePartGetterFactory(digitCondition("month",1)),LLLL:datePartGetterFactory(nameCondition("month",4)),L:datePartGetterFactory(nameCondition("month",1)),dd:datePartGetterFactory(digitCondition("day",2)),d:datePartGetterFactory(digitCondition("day",1)),HH:digitModifier(hourExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",2),!1)))),H:hourExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",1),!1))),hh:digitModifier(hourExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",2),!0)))),h:hourExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",1),!0))),jj:datePartGetterFactory(digitCondition("hour",2)),j:datePartGetterFactory(digitCondition("hour",1)),mm:digitModifier(datePartGetterFactory(digitCondition("minute",2))),m:datePartGetterFactory(digitCondition("minute",1)),ss:digitModifier(datePartGetterFactory(digitCondition("second",2))),s:datePartGetterFactory(digitCondition("second",1)),sss:datePartGetterFactory(digitCondition("second",3)),EEEE:datePartGetterFactory(nameCondition("weekday",4)),EEE:datePartGetterFactory(nameCondition("weekday",3)),EE:datePartGetterFactory(nameCondition("weekday",2)),E:datePartGetterFactory(nameCondition("weekday",1)),a:hourClockExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",1),!0))),Z:timeZoneGetter("short"),z:timeZoneGetter("long"),ww:datePartGetterFactory({}),w:datePartGetterFactory({}),G:datePartGetterFactory(nameCondition("era",1)),GG:datePartGetterFactory(nameCondition("era",2)),GGG:datePartGetterFactory(nameCondition("era",3)),GGGG:datePartGetterFactory(nameCondition("era",4))},DATE_FORMATTER_CACHE=new Map,DateFormatter=function(){function DateFormatter(){_classCallCheck(this,DateFormatter)}return _createClass(DateFormatter,null,[{key:"format",value:function(r,a,l){return dateFormatter(l,r,a)}}]),DateFormatter}(),ISO8601_DATE_REGEX=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,DatePipe=function(){function DatePipe(r){_classCallCheck(this,DatePipe),this._locale=r}return _createClass(DatePipe,[{key:"transform",value:function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mediumDate",l=void 0;if(isBlank$1(r)||r!==r)return null;if("string"==typeof r&&(r=r.trim()),isDate(r))l=r;else if(NumberWrapper.isNumeric(r))l=new Date(parseFloat(r));else if("string"==typeof r&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(r)){var _r$split$map=r.split("-").map(function(_){return parseInt(_,10)}),_r$split$map2=_slicedToArray(_r$split$map,3),u=_r$split$map2[0],c=_r$split$map2[1],p=_r$split$map2[2];l=new Date(u,c-1,p)}else l=new Date(r);if(!isDate(l)){var _u=void 0;if("string"!=typeof r||!(_u=r.match(ISO8601_DATE_REGEX)))throw invalidPipeArgumentError(DatePipe,r);l=isoStringToDate(_u)}return DateFormatter.format(l,this._locale,DatePipe._ALIASES[a]||a)}}]),DatePipe}();DatePipe._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},DatePipe.decorators=[{type:_core.Pipe,args:[{name:"date",pure:!0}]}],DatePipe.ctorParameters=function(){return[{type:void 0,decorators:[{type:_core.Inject,args:[_core.LOCALE_ID]}]}]};var _INTERPOLATION_REGEXP=/#/g,I18nPluralPipe=function(){function I18nPluralPipe(r){_classCallCheck(this,I18nPluralPipe),this._localization=r}return _createClass(I18nPluralPipe,[{key:"transform",value:function(r,a){if(null==r)return"";if("object"!=("undefined"==typeof a?"undefined":_typeof(a))||null===a)throw invalidPipeArgumentError(I18nPluralPipe,a);var l=getPluralCategory(r,Object.keys(a),this._localization);return a[l].replace(_INTERPOLATION_REGEXP,r.toString())}}]),I18nPluralPipe}();I18nPluralPipe.decorators=[{type:_core.Pipe,args:[{name:"i18nPlural",pure:!0}]}],I18nPluralPipe.ctorParameters=function(){return[{type:NgLocalization}]};var I18nSelectPipe=function(){function I18nSelectPipe(){_classCallCheck(this,I18nSelectPipe)}return _createClass(I18nSelectPipe,[{key:"transform",value:function(r,a){if(null==r)return"";if("object"!=("undefined"==typeof a?"undefined":_typeof(a))||"string"!=typeof r)throw invalidPipeArgumentError(I18nSelectPipe,a);return a.hasOwnProperty(r)?a[r]:a.hasOwnProperty("other")?a.other:""}}]),I18nSelectPipe}();I18nSelectPipe.decorators=[{type:_core.Pipe,args:[{name:"i18nSelect",pure:!0}]}],I18nSelectPipe.ctorParameters=function(){return[]};var JsonPipe=function(){function JsonPipe(){_classCallCheck(this,JsonPipe)}return _createClass(JsonPipe,[{key:"transform",value:function(r){return JSON.stringify(r,null,2)}}]),JsonPipe}();JsonPipe.decorators=[{type:_core.Pipe,args:[{name:"json",pure:!1}]}],JsonPipe.ctorParameters=function(){return[]};var _NUMBER_FORMAT_REGEXP=/^(\d+)?\.((\d+)(-(\d+))?)?$/,DecimalPipe=function(){function DecimalPipe(r){_classCallCheck(this,DecimalPipe),this._locale=r}return _createClass(DecimalPipe,[{key:"transform",value:function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return formatNumber(DecimalPipe,this._locale,r,NumberFormatStyle.Decimal,a)}}]),DecimalPipe}();DecimalPipe.decorators=[{type:_core.Pipe,args:[{name:"number"}]}],DecimalPipe.ctorParameters=function(){return[{type:void 0,decorators:[{type:_core.Inject,args:[_core.LOCALE_ID]}]}]};var PercentPipe=function(){function PercentPipe(r){_classCallCheck(this,PercentPipe),this._locale=r}return _createClass(PercentPipe,[{key:"transform",value:function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return formatNumber(PercentPipe,this._locale,r,NumberFormatStyle.Percent,a)}}]),PercentPipe}();PercentPipe.decorators=[{type:_core.Pipe,args:[{name:"percent"}]}],PercentPipe.ctorParameters=function(){return[{type:void 0,decorators:[{type:_core.Inject,args:[_core.LOCALE_ID]}]}]};var CurrencyPipe=function(){function CurrencyPipe(r){_classCallCheck(this,CurrencyPipe),this._locale=r}return _createClass(CurrencyPipe,[{key:"transform",value:function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD",l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return formatNumber(CurrencyPipe,this._locale,r,NumberFormatStyle.Currency,u,a,l)}}]),CurrencyPipe}();CurrencyPipe.decorators=[{type:_core.Pipe,args:[{name:"currency"}]}],CurrencyPipe.ctorParameters=function(){return[{type:void 0,decorators:[{type:_core.Inject,args:[_core.LOCALE_ID]}]}]};var SlicePipe=function(){function SlicePipe(){_classCallCheck(this,SlicePipe)}return _createClass(SlicePipe,[{key:"transform",value:function(r,a,l){if(null==r)return r;if(!this.supports(r))throw invalidPipeArgumentError(SlicePipe,r);return r.slice(a,l)}},{key:"supports",value:function(r){return"string"==typeof r||Array.isArray(r)}}]),SlicePipe}();SlicePipe.decorators=[{type:_core.Pipe,args:[{name:"slice",pure:!1}]}],SlicePipe.ctorParameters=function(){return[]};var COMMON_PIPES=[AsyncPipe,UpperCasePipe,LowerCasePipe,JsonPipe,SlicePipe,DecimalPipe,PercentPipe,TitleCasePipe,CurrencyPipe,DatePipe,I18nPluralPipe,I18nSelectPipe],CommonModule=function CommonModule(){_classCallCheck(this,CommonModule)};CommonModule.decorators=[{type:_core.NgModule,args:[{declarations:[COMMON_DIRECTIVES,COMMON_PIPES],exports:[COMMON_DIRECTIVES,COMMON_PIPES],providers:[{provide:NgLocalization,useClass:NgLocaleLocalization}]}]}],CommonModule.ctorParameters=function(){return[]};var PLATFORM_BROWSER_ID="browser",PLATFORM_SERVER_ID="server",PLATFORM_WORKER_APP_ID="browserWorkerApp",PLATFORM_WORKER_UI_ID="browserWorkerUi",VERSION=new _core.Version("4.0.0-rc.1");exports.NgLocaleLocalization=NgLocaleLocalization,exports.NgLocalization=NgLocalization,exports.CommonModule=CommonModule,exports.NgClass=NgClass,exports.NgFor=NgFor,exports.NgForOf=NgForOf,exports.NgIf=NgIf,exports.NgPlural=NgPlural,exports.NgPluralCase=NgPluralCase,exports.NgStyle=NgStyle,exports.NgSwitch=NgSwitch,exports.NgSwitchCase=NgSwitchCase,exports.NgSwitchDefault=NgSwitchDefault,exports.NgTemplateOutlet=NgTemplateOutlet,exports.NgComponentOutlet=NgComponentOutlet,exports.AsyncPipe=AsyncPipe,exports.DatePipe=DatePipe,exports.I18nPluralPipe=I18nPluralPipe,exports.I18nSelectPipe=I18nSelectPipe,exports.JsonPipe=JsonPipe,exports.LowerCasePipe=LowerCasePipe,exports.CurrencyPipe=CurrencyPipe,exports.DecimalPipe=DecimalPipe,exports.PercentPipe=PercentPipe,exports.SlicePipe=SlicePipe,exports.UpperCasePipe=UpperCasePipe,exports.TitleCasePipe=TitleCasePipe,exports.ɵPLATFORM_BROWSER_ID=PLATFORM_BROWSER_ID,exports.ɵPLATFORM_SERVER_ID=PLATFORM_SERVER_ID,exports.ɵPLATFORM_WORKER_APP_ID=PLATFORM_WORKER_APP_ID,exports.ɵPLATFORM_WORKER_UI_ID=PLATFORM_WORKER_UI_ID,exports.isPlatformBrowser=isPlatformBrowser,exports.isPlatformServer=isPlatformServer,exports.isPlatformWorkerApp=isPlatformWorkerApp,exports.isPlatformWorkerUi=isPlatformWorkerUi,exports.VERSION=VERSION,exports.PlatformLocation=PlatformLocation,exports.LocationStrategy=LocationStrategy,exports.APP_BASE_HREF=APP_BASE_HREF,exports.HashLocationStrategy=HashLocationStrategy,exports.PathLocationStrategy=PathLocationStrategy,exports.Location=Location,exports.ɵc=COMMON_DIRECTIVES,exports.ɵa=NgForOfRow,exports.ɵb=NgIfContext,exports.ɵd=COMMON_PIPES}); |
{ | ||
"name": "@angular/common", | ||
"version": "4.0.0-rc.0", | ||
"version": "4.0.0-rc.1", | ||
"description": "Angular - commonly needed directives and services", | ||
@@ -12,3 +12,3 @@ "main": "./bundles/common.umd.js", | ||
"peerDependencies": { | ||
"@angular/core": "4.0.0-rc.0" | ||
"@angular/core": "4.0.0-rc.1" | ||
}, | ||
@@ -15,0 +15,0 @@ "repository": { |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":3,"metadata":{"ɵa":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":13,"character":32,"context":{"typeName":"T"},"module":"./src/directives/ng_for_of"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"}]}]}},"ɵb":{"__symbolic":"class","members":{}},"ɵc":[{"__symbolic":"reference","name":"NgClass"},{"__symbolic":"reference","name":"NgComponentOutlet"},{"__symbolic":"reference","name":"NgForOf"},{"__symbolic":"reference","name":"NgIf"},{"__symbolic":"reference","name":"NgTemplateOutlet"},{"__symbolic":"reference","name":"NgStyle"},{"__symbolic":"reference","name":"NgSwitch"},{"__symbolic":"reference","name":"NgSwitchCase"},{"__symbolic":"reference","name":"NgSwitchDefault"},{"__symbolic":"reference","name":"NgPlural"},{"__symbolic":"reference","name":"NgPluralCase"}],"ɵd":[{"__symbolic":"reference","name":"AsyncPipe"},{"__symbolic":"reference","name":"UpperCasePipe"},{"__symbolic":"reference","name":"LowerCasePipe"},{"__symbolic":"reference","name":"JsonPipe"},{"__symbolic":"reference","name":"SlicePipe"},{"__symbolic":"reference","name":"DecimalPipe"},{"__symbolic":"reference","name":"PercentPipe"},{"__symbolic":"reference","name":"TitleCasePipe"},{"__symbolic":"reference","name":"CurrencyPipe"},{"__symbolic":"reference","name":"DatePipe"},{"__symbolic":"reference","name":"I18nPluralPipe"},{"__symbolic":"reference","name":"I18nSelectPipe"}],"PlatformLocation":{"__symbolic":"class","members":{"getBaseHrefFromDOM":[{"__symbolic":"method"}],"onPopState":[{"__symbolic":"method"}],"onHashChange":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}]}},"LocationStrategy":{"__symbolic":"class","members":{"path":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}],"onPopState":[{"__symbolic":"method"}],"getBaseHref":[{"__symbolic":"method"}]}},"APP_BASE_HREF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["appBaseHref"]},"HashLocationStrategy":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"LocationStrategy"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"APP_BASE_HREF"}]}]],"parameters":[{"__symbolic":"reference","name":"PlatformLocation"},{"__symbolic":"reference","name":"string"}]}],"onPopState":[{"__symbolic":"method"}],"getBaseHref":[{"__symbolic":"method"}],"path":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}]}},"PathLocationStrategy":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"LocationStrategy"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"APP_BASE_HREF"}]}]],"parameters":[{"__symbolic":"reference","name":"PlatformLocation"},{"__symbolic":"reference","name":"string"}]}],"onPopState":[{"__symbolic":"method"}],"getBaseHref":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"path":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}]}},"Location":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"LocationStrategy"}]}],"path":[{"__symbolic":"method"}],"isCurrentPathEqualTo":[{"__symbolic":"method"}],"normalize":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"go":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}],"subscribe":[{"__symbolic":"method"}]},"statics":{"normalizeQueryParams":{"__symbolic":"function","parameters":["params"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"params"},"right":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"params"},"index":0},"right":"?"}},"thenExpression":{"__symbolic":"binop","operator":"+","left":"?","right":{"__symbolic":"reference","name":"params"}},"elseExpression":{"__symbolic":"reference","name":"params"}}},"stripTrailingSlash":{"__symbolic":"function","parameters":["url"],"value":{"__symbolic":"error","message":"Expression form not supported","line":172,"character":77,"module":"./src/location/location"}}}},"NgLocaleLocalization":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NgLocalization"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"getPluralCategory":[{"__symbolic":"method"}]}},"NgLocalization":{"__symbolic":"class","members":{"getPluralCategory":[{"__symbolic":"method"}]}},"CommonModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"}],"exports":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"}],"providers":[{"provide":{"__symbolic":"reference","name":"NgLocalization"},"useClass":{"__symbolic":"reference","name":"NgLocaleLocalization"}}]}]}],"members":{}},"NgClass":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngClass]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers"},{"__symbolic":"reference","module":"@angular/core","name":"KeyValueDiffers"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"}]}],"klass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["class"]}]}],"ngClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngDoCheck":[{"__symbolic":"method"}],"_cleanupClasses":[{"__symbolic":"method"}],"_applyKeyValueChanges":[{"__symbolic":"method"}],"_applyIterableChanges":[{"__symbolic":"method"}],"_applyInitialClasses":[{"__symbolic":"method"}],"_applyClasses":[{"__symbolic":"method"}],"_toggleClass":[{"__symbolic":"method"}]}},"NgFor":{"__symbolic":"reference","name":"NgForOf"},"NgForOf":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngFor][ngForOf]"}]}],"members":{"ngForOf":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngForTrackBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","arguments":[{"__symbolic":"reference","name":"NgForOfRow","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":109,"character":90,"context":{"typeName":"T"}}]}]},{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers"}]}],"ngForTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"_applyChanges":[{"__symbolic":"method"}],"_perViewChange":[{"__symbolic":"method"}]}},"NgIf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngIf]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","arguments":[{"__symbolic":"reference","name":"NgIfContext"}]}]}],"ngIf":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngIfThen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngIfElse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"_updateView":[{"__symbolic":"method"}]}},"NgPlural":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngPlural]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgLocalization"}]}],"ngPlural":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addCase":[{"__symbolic":"method"}],"_updateView":[{"__symbolic":"method"}],"_clearViews":[{"__symbolic":"method"}],"_activateView":[{"__symbolic":"method"}]}},"NgPluralCase":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngPluralCase]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute"},"arguments":["ngPluralCase"]}],null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}]],"parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","arguments":[{"__symbolic":"reference","name":"Object"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","name":"NgPlural"}]}]}},"NgStyle":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngStyle]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"KeyValueDiffers"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"}]}],"ngStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngDoCheck":[{"__symbolic":"method"}],"_applyChanges":[{"__symbolic":"method"}],"_setStyle":[{"__symbolic":"method"}]}},"NgSwitch":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngSwitch]"}]}],"members":{"ngSwitch":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"_addCase":[{"__symbolic":"method"}],"_addDefault":[{"__symbolic":"method"}],"_matchCase":[{"__symbolic":"method"}],"_updateDefaultCases":[{"__symbolic":"method"}]}},"NgSwitchCase":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngSwitchCase]"}]}],"members":{"ngSwitchCase":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","arguments":[{"__symbolic":"reference","name":"Object"}]},{"__symbolic":"reference","name":"NgSwitch"}]}],"ngDoCheck":[{"__symbolic":"method"}]}},"NgSwitchDefault":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngSwitchDefault]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","arguments":[{"__symbolic":"reference","name":"Object"}]},{"__symbolic":"reference","name":"NgSwitch"}]}]}},"NgTemplateOutlet":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngTemplateOutlet]"}]}],"members":{"ngTemplateOutletContext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngTemplateOutlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}]}],"ngOutletContext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngOnChanges":[{"__symbolic":"method"}]}},"NgComponentOutlet":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngComponentOutlet]"}]}],"members":{"ngComponentOutlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngComponentOutletInjector":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngComponentOutletContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngComponentOutletNgModuleFactory":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"AsyncPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"async","pure":false}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"transform":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"_subscribe":[{"__symbolic":"method"}],"_selectStrategy":[{"__symbolic":"method"}],"_dispose":[{"__symbolic":"method"}],"_updateLatestValue":[{"__symbolic":"method"}]}},"DatePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"date","pure":true}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]},"statics":{"_ALIASES":{"medium":"yMMMdjms","short":"yMdjm","fullDate":"yMMMMEEEEd","longDate":"yMMMMd","mediumDate":"yMMMd","shortDate":"yMd","mediumTime":"jms","shortTime":"jm"}}},"I18nPluralPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"i18nPlural","pure":true}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgLocalization"}]}],"transform":[{"__symbolic":"method"}]}},"I18nSelectPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"i18nSelect","pure":true}]}],"members":{"transform":[{"__symbolic":"method"}]}},"JsonPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"json","pure":false}]}],"members":{"transform":[{"__symbolic":"method"}]}},"LowerCasePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"lowercase"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"CurrencyPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"currency"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]}},"DecimalPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"number"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]}},"PercentPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"percent"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]}},"SlicePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"slice","pure":false}]}],"members":{"transform":[{"__symbolic":"method"}],"supports":[{"__symbolic":"method"}]}},"UpperCasePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"uppercase"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"TitleCasePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"titlecase"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"ɵPLATFORM_BROWSER_ID":"browser","ɵPLATFORM_SERVER_ID":"server","ɵPLATFORM_WORKER_APP_ID":"browserWorkerApp","ɵPLATFORM_WORKER_UI_ID":"browserWorkerUi","isPlatformBrowser":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"browser"}},"isPlatformServer":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"server"}},"isPlatformWorkerApp":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"browserWorkerApp"}},"isPlatformWorkerUi":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"browserWorkerUi"}},"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["4.0.0-rc.0"]}},"importAs":"@angular/common"} | ||
{"__symbolic":"module","version":3,"metadata":{"ɵa":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":13,"character":32,"context":{"typeName":"T"},"module":"./src/directives/ng_for_of"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"}]}]}},"ɵb":{"__symbolic":"class","members":{}},"ɵc":[{"__symbolic":"reference","name":"NgClass"},{"__symbolic":"reference","name":"NgComponentOutlet"},{"__symbolic":"reference","name":"NgForOf"},{"__symbolic":"reference","name":"NgIf"},{"__symbolic":"reference","name":"NgTemplateOutlet"},{"__symbolic":"reference","name":"NgStyle"},{"__symbolic":"reference","name":"NgSwitch"},{"__symbolic":"reference","name":"NgSwitchCase"},{"__symbolic":"reference","name":"NgSwitchDefault"},{"__symbolic":"reference","name":"NgPlural"},{"__symbolic":"reference","name":"NgPluralCase"}],"ɵd":[{"__symbolic":"reference","name":"AsyncPipe"},{"__symbolic":"reference","name":"UpperCasePipe"},{"__symbolic":"reference","name":"LowerCasePipe"},{"__symbolic":"reference","name":"JsonPipe"},{"__symbolic":"reference","name":"SlicePipe"},{"__symbolic":"reference","name":"DecimalPipe"},{"__symbolic":"reference","name":"PercentPipe"},{"__symbolic":"reference","name":"TitleCasePipe"},{"__symbolic":"reference","name":"CurrencyPipe"},{"__symbolic":"reference","name":"DatePipe"},{"__symbolic":"reference","name":"I18nPluralPipe"},{"__symbolic":"reference","name":"I18nSelectPipe"}],"PlatformLocation":{"__symbolic":"class","members":{"getBaseHrefFromDOM":[{"__symbolic":"method"}],"onPopState":[{"__symbolic":"method"}],"onHashChange":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}]}},"LocationStrategy":{"__symbolic":"class","members":{"path":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}],"onPopState":[{"__symbolic":"method"}],"getBaseHref":[{"__symbolic":"method"}]}},"APP_BASE_HREF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["appBaseHref"]},"HashLocationStrategy":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"LocationStrategy"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"APP_BASE_HREF"}]}]],"parameters":[{"__symbolic":"reference","name":"PlatformLocation"},{"__symbolic":"reference","name":"string"}]}],"onPopState":[{"__symbolic":"method"}],"getBaseHref":[{"__symbolic":"method"}],"path":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}]}},"PathLocationStrategy":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"LocationStrategy"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"APP_BASE_HREF"}]}]],"parameters":[{"__symbolic":"reference","name":"PlatformLocation"},{"__symbolic":"reference","name":"string"}]}],"onPopState":[{"__symbolic":"method"}],"getBaseHref":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"path":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}]}},"Location":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"LocationStrategy"}]}],"path":[{"__symbolic":"method"}],"isCurrentPathEqualTo":[{"__symbolic":"method"}],"normalize":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"go":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}],"subscribe":[{"__symbolic":"method"}]},"statics":{"normalizeQueryParams":{"__symbolic":"function","parameters":["params"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"params"},"right":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"params"},"index":0},"right":"?"}},"thenExpression":{"__symbolic":"binop","operator":"+","left":"?","right":{"__symbolic":"reference","name":"params"}},"elseExpression":{"__symbolic":"reference","name":"params"}}},"stripTrailingSlash":{"__symbolic":"function","parameters":["url"],"value":{"__symbolic":"error","message":"Expression form not supported","line":172,"character":77,"module":"./src/location/location"}}}},"NgLocaleLocalization":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NgLocalization"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"getPluralCategory":[{"__symbolic":"method"}]}},"NgLocalization":{"__symbolic":"class","members":{"getPluralCategory":[{"__symbolic":"method"}]}},"CommonModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"}],"exports":[{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"}],"providers":[{"provide":{"__symbolic":"reference","name":"NgLocalization"},"useClass":{"__symbolic":"reference","name":"NgLocaleLocalization"}}]}]}],"members":{}},"NgClass":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngClass]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers"},{"__symbolic":"reference","module":"@angular/core","name":"KeyValueDiffers"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"}]}],"klass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["class"]}]}],"ngClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngDoCheck":[{"__symbolic":"method"}],"_cleanupClasses":[{"__symbolic":"method"}],"_applyKeyValueChanges":[{"__symbolic":"method"}],"_applyIterableChanges":[{"__symbolic":"method"}],"_applyInitialClasses":[{"__symbolic":"method"}],"_applyClasses":[{"__symbolic":"method"}],"_toggleClass":[{"__symbolic":"method"}]}},"NgFor":{"__symbolic":"reference","name":"NgForOf"},"NgForOf":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngFor][ngForOf]"}]}],"members":{"ngForOf":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngForTrackBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","arguments":[{"__symbolic":"reference","name":"NgForOfRow","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":109,"character":90,"context":{"typeName":"T"}}]}]},{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers"}]}],"ngForTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"_applyChanges":[{"__symbolic":"method"}],"_perViewChange":[{"__symbolic":"method"}]}},"NgIf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngIf]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","arguments":[{"__symbolic":"reference","name":"NgIfContext"}]}]}],"ngIf":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngIfThen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngIfElse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"_updateView":[{"__symbolic":"method"}]}},"NgPlural":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngPlural]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgLocalization"}]}],"ngPlural":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addCase":[{"__symbolic":"method"}],"_updateView":[{"__symbolic":"method"}],"_clearViews":[{"__symbolic":"method"}],"_activateView":[{"__symbolic":"method"}]}},"NgPluralCase":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngPluralCase]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute"},"arguments":["ngPluralCase"]}],null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}]],"parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","arguments":[{"__symbolic":"reference","name":"Object"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","name":"NgPlural"}]}]}},"NgStyle":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngStyle]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"KeyValueDiffers"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"}]}],"ngStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngDoCheck":[{"__symbolic":"method"}],"_applyChanges":[{"__symbolic":"method"}],"_setStyle":[{"__symbolic":"method"}]}},"NgSwitch":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngSwitch]"}]}],"members":{"ngSwitch":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"_addCase":[{"__symbolic":"method"}],"_addDefault":[{"__symbolic":"method"}],"_matchCase":[{"__symbolic":"method"}],"_updateDefaultCases":[{"__symbolic":"method"}]}},"NgSwitchCase":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngSwitchCase]"}]}],"members":{"ngSwitchCase":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","arguments":[{"__symbolic":"reference","name":"Object"}]},{"__symbolic":"reference","name":"NgSwitch"}]}],"ngDoCheck":[{"__symbolic":"method"}]}},"NgSwitchDefault":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngSwitchDefault]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","arguments":[{"__symbolic":"reference","name":"Object"}]},{"__symbolic":"reference","name":"NgSwitch"}]}]}},"NgTemplateOutlet":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngTemplateOutlet]"}]}],"members":{"ngTemplateOutletContext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngTemplateOutlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}]}],"ngOutletContext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngOnChanges":[{"__symbolic":"method"}]}},"NgComponentOutlet":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngComponentOutlet]"}]}],"members":{"ngComponentOutlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngComponentOutletInjector":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngComponentOutletContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngComponentOutletNgModuleFactory":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"AsyncPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"async","pure":false}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"transform":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"_subscribe":[{"__symbolic":"method"}],"_selectStrategy":[{"__symbolic":"method"}],"_dispose":[{"__symbolic":"method"}],"_updateLatestValue":[{"__symbolic":"method"}]}},"DatePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"date","pure":true}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]},"statics":{"_ALIASES":{"medium":"yMMMdjms","short":"yMdjm","fullDate":"yMMMMEEEEd","longDate":"yMMMMd","mediumDate":"yMMMd","shortDate":"yMd","mediumTime":"jms","shortTime":"jm"}}},"I18nPluralPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"i18nPlural","pure":true}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgLocalization"}]}],"transform":[{"__symbolic":"method"}]}},"I18nSelectPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"i18nSelect","pure":true}]}],"members":{"transform":[{"__symbolic":"method"}]}},"JsonPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"json","pure":false}]}],"members":{"transform":[{"__symbolic":"method"}]}},"LowerCasePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"lowercase"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"CurrencyPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"currency"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]}},"DecimalPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"number"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]}},"PercentPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"percent"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]}},"SlicePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"slice","pure":false}]}],"members":{"transform":[{"__symbolic":"method"}],"supports":[{"__symbolic":"method"}]}},"UpperCasePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"uppercase"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"TitleCasePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"titlecase"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"ɵPLATFORM_BROWSER_ID":"browser","ɵPLATFORM_SERVER_ID":"server","ɵPLATFORM_WORKER_APP_ID":"browserWorkerApp","ɵPLATFORM_WORKER_UI_ID":"browserWorkerUi","isPlatformBrowser":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"browser"}},"isPlatformServer":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"server"}},"isPlatformWorkerApp":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"browserWorkerApp"}},"isPlatformWorkerUi":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"browserWorkerUi"}},"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["4.0.0-rc.1"]}},"importAs":"@angular/common"} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0