blob: 0b881874b24a6cb86feec20ed41336a19132d678 [file] [log] [blame]
/**
* @license Angular v8.1.1
* (c) 2010-2019 Google LLC. https://angular.io/
* License: MIT
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("@angular/common",["exports","@angular/core"],t):t(((e=e||self).ng=e.ng||{},e.ng.common={}),e.ng.core)}(this,function(e,t){"use strict";
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var r=function r(){},n=new t.InjectionToken("Location Initialized"),u=function u(){},a=new t.InjectionToken("appBaseHref"),o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var s=function(){return(s=Object.assign||function e(t){for(var r,n=1,u=arguments.length;n<u;n++)for(var a in r=arguments[n])Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a]);return t}).apply(this,arguments)};function l(e,t,r,n){var u,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var i=e.length-1;i>=0;i--)(u=e[i])&&(o=(a<3?u(o):a>3?u(t,r,o):u(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o}function c(e,t){return function(r,n){t(r,n,e)}}function f(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function h(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,u,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){u={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(u)throw u.error}}return o}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var D=function(){function e(e,r){var u=this;this._subject=new t.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=e;var a=this._platformStrategy.getBaseHref();this._platformLocation=r,this._baseHref=n.stripTrailingSlash(d(a)),this._platformStrategy.onPopState(function(e){u._subject.emit({url:u.path(!0),pop:!0,state:e.state,type:e.type})})}var n;return n=e,e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.getState=function(){return this._platformLocation.getState()},e.prototype.isCurrentPathEqualTo=function(e,t){return void 0===t&&(t=""),this.path()==this.normalize(e+n.normalizeQueryParams(t))},e.prototype.normalize=function(e){return n.stripTrailingSlash(function t(e,r){return e&&r.startsWith(e)?r.substring(e.length):r}(this._baseHref,d(e)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,t,r){void 0===t&&(t=""),void 0===r&&(r=null),this._platformStrategy.pushState(r,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+n.normalizeQueryParams(t)),r)},e.prototype.replaceState=function(e,t,r){void 0===t&&(t=""),void 0===r&&(r=null),this._platformStrategy.replaceState(r,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+n.normalizeQueryParams(t)),r)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.onUrlChange=function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)})},e.prototype._notifyUrlChangeListeners=function(e,t){void 0===e&&(e=""),this._urlChangeListeners.forEach(function(r){return r(e,t)})},e.prototype.subscribe=function(e,t,r){return this._subject.subscribe({next:e,error:t,complete:r})},e.normalizeQueryParams=function(e){return e&&"?"!==e[0]?"?"+e:e},e.joinWithSlash=function(e,t){if(0==e.length)return t;if(0==t.length)return e;var r=0;return e.endsWith("/")&&r++,t.startsWith("/")&&r++,2==r?e+t.substring(1):1==r?e+t:e+"/"+t},e.stripTrailingSlash=function(e){var t=e.match(/#|\?|$/),r=t&&t.index||e.length;return e.slice(0,r-("/"===e[r-1]?1:0))+e.slice(r)},n=l([t.Injectable(),f("design:paramtypes",[u,r])],e)}();function d(e){return e.replace(/\/index.html$/,"")}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var y,m,g,C,v,F,_,E=function(e){function n(t,r){var n=e.call(this)||this;return n._platformLocation=t,n._baseHref="",null!=r&&(n._baseHref=r),n}return i(n,e),n.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},n.prototype.getBaseHref=function(){return this._baseHref},n.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t},n.prototype.prepareExternalUrl=function(e){var t=D.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},n.prototype.pushState=function(e,t,r,n){var u=this.prepareExternalUrl(r+D.normalizeQueryParams(n));0==u.length&&(u=this._platformLocation.pathname),this._platformLocation.pushState(e,t,u)},n.prototype.replaceState=function(e,t,r,n){var u=this.prepareExternalUrl(r+D.normalizeQueryParams(n));0==u.length&&(u=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,u)},n.prototype.forward=function(){this._platformLocation.forward()},n.prototype.back=function(){this._platformLocation.back()},l([t.Injectable(),c(1,t.Optional()),c(1,t.Inject(a)),f("design:paramtypes",[r,String])],n)}(u),b=function(e){function n(t,r){var n=e.call(this)||this;if(n._platformLocation=t,null==r&&(r=n._platformLocation.getBaseHrefFromDOM()),null==r)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 n._baseHref=r,n}return i(n,e),n.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},n.prototype.getBaseHref=function(){return this._baseHref},n.prototype.prepareExternalUrl=function(e){return D.joinWithSlash(this._baseHref,e)},n.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+D.normalizeQueryParams(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?""+t+r:t},n.prototype.pushState=function(e,t,r,n){var u=this.prepareExternalUrl(r+D.normalizeQueryParams(n));this._platformLocation.pushState(e,t,u)},n.prototype.replaceState=function(e,t,r,n){var u=this.prepareExternalUrl(r+D.normalizeQueryParams(n));this._platformLocation.replaceState(e,t,u)},n.prototype.forward=function(){this._platformLocation.forward()},n.prototype.back=function(){this._platformLocation.back()},l([t.Injectable(),c(1,t.Optional()),c(1,t.Inject(a)),f("design:paramtypes",[r,String])],n)}(u),A={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,0],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"р.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN¥","¥"],COP:[void 0,"$",0],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",0],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",0],ILS:["₪"],INR:["₹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"₮",0],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",0],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"₱"],PKR:[void 0,"Rs",0],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RUR:[void 0,"р."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,0],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UZS:[void 0,void 0,0],VEF:[void 0,"Bs"],VND:["₫",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function w(e){return t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.LocaleId]}function S(e,r,n){var u=t.ɵfindLocaleData(e),a=j([u[t.ɵLocaleDataIndex.DayPeriodsFormat],u[t.ɵLocaleDataIndex.DayPeriodsStandalone]],r);return j(a,n)}function P(e,r,n){var u=t.ɵfindLocaleData(e),a=j([u[t.ɵLocaleDataIndex.DaysFormat],u[t.ɵLocaleDataIndex.DaysStandalone]],r);return j(a,n)}function O(e,r,n){var u=t.ɵfindLocaleData(e),a=j([u[t.ɵLocaleDataIndex.MonthsFormat],u[t.ɵLocaleDataIndex.MonthsStandalone]],r);return j(a,n)}function B(e,r){return j(t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.Eras],r)}function M(e,r){return j(t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.DateFormat],r)}function L(e,r){return j(t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.TimeFormat],r)}function I(e,r){return j(t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.DateTimeFormat],r)}function k(r,n){var u=t.ɵfindLocaleData(r),a=u[t.ɵLocaleDataIndex.NumberSymbols][n];if(void 0===a){if(n===e.NumberSymbol.CurrencyDecimal)return u[t.ɵLocaleDataIndex.NumberSymbols][e.NumberSymbol.Decimal];if(n===e.NumberSymbol.CurrencyGroup)return u[t.ɵLocaleDataIndex.NumberSymbols][e.NumberSymbol.Group]}return a}function T(e,r){return t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.NumberFormats][r]}(
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
y=e.NumberFormatStyle||(e.NumberFormatStyle={}))[y.Decimal=0]="Decimal",y[y.Percent=1]="Percent",y[y.Currency=2]="Currency",y[y.Scientific=3]="Scientific",(m=e.Plural||(e.Plural={}))[m.Zero=0]="Zero",m[m.One=1]="One",m[m.Two=2]="Two",m[m.Few=3]="Few",m[m.Many=4]="Many",m[m.Other=5]="Other",(g=e.FormStyle||(e.FormStyle={}))[g.Format=0]="Format",g[g.Standalone=1]="Standalone",(C=e.TranslationWidth||(e.TranslationWidth={}))[C.Narrow=0]="Narrow",C[C.Abbreviated=1]="Abbreviated",C[C.Wide=2]="Wide",C[C.Short=3]="Short",(v=e.FormatWidth||(e.FormatWidth={}))[v.Short=0]="Short",v[v.Medium=1]="Medium",v[v.Long=2]="Long",v[v.Full=3]="Full",(F=e.NumberSymbol||(e.NumberSymbol={}))[F.Decimal=0]="Decimal",F[F.Group=1]="Group",F[F.List=2]="List",F[F.PercentSign=3]="PercentSign",F[F.PlusSign=4]="PlusSign",F[F.MinusSign=5]="MinusSign",F[F.Exponential=6]="Exponential",F[F.SuperscriptingExponent=7]="SuperscriptingExponent",F[F.PerMille=8]="PerMille",F[F[1/0]=9]="Infinity",F[F.NaN=10]="NaN",F[F.TimeSeparator=11]="TimeSeparator",F[F.CurrencyDecimal=12]="CurrencyDecimal",F[F.CurrencyGroup=13]="CurrencyGroup",(_=e.WeekDay||(e.WeekDay={}))[_.Sunday=0]="Sunday",_[_.Monday=1]="Monday",_[_.Tuesday=2]="Tuesday",_[_.Wednesday=3]="Wednesday",_[_.Thursday=4]="Thursday",_[_.Friday=5]="Friday",_[_.Saturday=6]="Saturday";var N=t.ɵgetLocalePluralCase;function R(e){if(!e[t.ɵLocaleDataIndex.ExtraData])throw new Error('Missing extra locale data for the locale "'+e[t.ɵLocaleDataIndex.LocaleId]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function x(e){var r=t.ɵfindLocaleData(e);return R(r),(r[t.ɵLocaleDataIndex.ExtraData][2]||[]).map(function(e){return"string"==typeof e?W(e):[W(e[0]),W(e[1])]})}function V(e,r,n){var u=t.ɵfindLocaleData(e);R(u);var a=j([u[t.ɵLocaleDataIndex.ExtraData][0],u[t.ɵLocaleDataIndex.ExtraData][1]],r)||[];return j(a,n)||[]}function j(e,t){for(var r=t;r>-1;r--)if(void 0!==e[r])return e[r];throw new Error("Locale data API: locale data undefined")}function W(e){var t=h(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}function H(e,r,n){void 0===n&&(n="en");var u=function a(e){return t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.Currencies]}(n)[e]||A[e]||[],o=u[1];return"narrow"===r&&"string"==typeof o?o:u[0]||e}var G=2;function $(e){var t,r=A[e];return r&&(t=r[2]),"number"==typeof t?t:G}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var z,U,Z,K=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Y={},Q=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function J(t,r,n,u){var a=function o(e){if(le(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){e=e.trim();var t,r=parseFloat(e);if(!isNaN(e-r))return new Date(r);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var n=h(e.split("-").map(function(e){return+e}),3);return new Date(n[0],n[1]-1,n[2])}if(t=e.match(K))return se(t)}var u=new Date(e);if(!le(u))throw new Error('Unable to convert "'+e+'" into a date');return u}(t);r=function t(r,n){var u=w(r);if(Y[u]=Y[u]||{},Y[u][n])return Y[u][n];var a="";switch(n){case"shortDate":a=M(r,e.FormatWidth.Short);break;case"mediumDate":a=M(r,e.FormatWidth.Medium);break;case"longDate":a=M(r,e.FormatWidth.Long);break;case"fullDate":a=M(r,e.FormatWidth.Full);break;case"shortTime":a=L(r,e.FormatWidth.Short);break;case"mediumTime":a=L(r,e.FormatWidth.Medium);break;case"longTime":a=L(r,e.FormatWidth.Long);break;case"fullTime":a=L(r,e.FormatWidth.Full);break;case"short":var o=t(r,"shortTime"),i=t(r,"shortDate");a=X(I(r,e.FormatWidth.Short),[o,i]);break;case"medium":var s=t(r,"mediumTime"),l=t(r,"mediumDate");a=X(I(r,e.FormatWidth.Medium),[s,l]);break;case"long":var c=t(r,"longTime"),f=t(r,"longDate");a=X(I(r,e.FormatWidth.Long),[c,f]);break;case"full":var p=t(r,"fullTime"),h=t(r,"fullDate");a=X(I(r,e.FormatWidth.Full),[p,h])}return a&&(Y[u][n]=a),a}(n,r)||r;for(var i,s=[];r;){if(!(i=Q.exec(r))){s.push(r);break}var l=(s=s.concat(i.slice(1))).pop();if(!l)break;r=l}var c=a.getTimezoneOffset();u&&(c=ie(u,c),a=function f(e,t,r){var n=r?-1:1,u=e.getTimezoneOffset();return function a(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,n*(ie(t,u)-u))}(a,u,!0));var p="";return s.forEach(function(t){var r=function u(t){if(oe[t])return oe[t];var r;switch(t){case"G":case"GG":case"GGG":r=te(Z.Eras,e.TranslationWidth.Abbreviated);break;case"GGGG":r=te(Z.Eras,e.TranslationWidth.Wide);break;case"GGGGG":r=te(Z.Eras,e.TranslationWidth.Narrow);break;case"y":r=ee(U.FullYear,1,0,!1,!0);break;case"yy":r=ee(U.FullYear,2,0,!0,!0);break;case"yyy":r=ee(U.FullYear,3,0,!1,!0);break;case"yyyy":r=ee(U.FullYear,4,0,!1,!0);break;case"M":case"L":r=ee(U.Month,1,1);break;case"MM":case"LL":r=ee(U.Month,2,1);break;case"MMM":r=te(Z.Months,e.TranslationWidth.Abbreviated);break;case"MMMM":r=te(Z.Months,e.TranslationWidth.Wide);break;case"MMMMM":r=te(Z.Months,e.TranslationWidth.Narrow);break;case"LLL":r=te(Z.Months,e.TranslationWidth.Abbreviated,e.FormStyle.Standalone);break;case"LLLL":r=te(Z.Months,e.TranslationWidth.Wide,e.FormStyle.Standalone);break;case"LLLLL":r=te(Z.Months,e.TranslationWidth.Narrow,e.FormStyle.Standalone);break;case"w":r=ae(1);break;case"ww":r=ae(2);break;case"W":r=ae(1,!0);break;case"d":r=ee(U.Date,1);break;case"dd":r=ee(U.Date,2);break;case"E":case"EE":case"EEE":r=te(Z.Days,e.TranslationWidth.Abbreviated);break;case"EEEE":r=te(Z.Days,e.TranslationWidth.Wide);break;case"EEEEE":r=te(Z.Days,e.TranslationWidth.Narrow);break;case"EEEEEE":r=te(Z.Days,e.TranslationWidth.Short);break;case"a":case"aa":case"aaa":r=te(Z.DayPeriods,e.TranslationWidth.Abbreviated);break;case"aaaa":r=te(Z.DayPeriods,e.TranslationWidth.Wide);break;case"aaaaa":r=te(Z.DayPeriods,e.TranslationWidth.Narrow);break;case"b":case"bb":case"bbb":r=te(Z.DayPeriods,e.TranslationWidth.Abbreviated,e.FormStyle.Standalone,!0);break;case"bbbb":r=te(Z.DayPeriods,e.TranslationWidth.Wide,e.FormStyle.Standalone,!0);break;case"bbbbb":r=te(Z.DayPeriods,e.TranslationWidth.Narrow,e.FormStyle.Standalone,!0);break;case"B":case"BB":case"BBB":r=te(Z.DayPeriods,e.TranslationWidth.Abbreviated,e.FormStyle.Format,!0);break;case"BBBB":r=te(Z.DayPeriods,e.TranslationWidth.Wide,e.FormStyle.Format,!0);break;case"BBBBB":r=te(Z.DayPeriods,e.TranslationWidth.Narrow,e.FormStyle.Format,!0);break;case"h":r=ee(U.Hours,1,-12);break;case"hh":r=ee(U.Hours,2,-12);break;case"H":r=ee(U.Hours,1);break;case"HH":r=ee(U.Hours,2);break;case"m":r=ee(U.Minutes,1);break;case"mm":r=ee(U.Minutes,2);break;case"s":r=ee(U.Seconds,1);break;case"ss":r=ee(U.Seconds,2);break;case"S":r=ee(U.FractionalSeconds,1);break;case"SS":r=ee(U.FractionalSeconds,2);break;case"SSS":r=ee(U.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":r=re(z.Short);break;case"ZZZZZ":r=re(z.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":r=re(z.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":r=re(z.Long);break;default:return null}return oe[t]=r,r}(t);p+=r?r(a,n,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),p}function X(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,r){return null!=t&&r in t?t[r]:e})),e}function q(e,t,r,n,u){void 0===r&&(r="-");var a="";(e<0||u&&e<=0)&&(u?e=1-e:(e=-e,a=r));for(var o=String(e);o.length<t;)o="0"+o;return n&&(o=o.substr(o.length-t)),a+o}function ee(t,r,n,u,a){return void 0===n&&(n=0),void 0===u&&(u=!1),void 0===a&&(a=!1),function(o,i){var s=function l(e,t){switch(e){case U.FullYear:return t.getFullYear();case U.Month:return t.getMonth();case U.Date:return t.getDate();case U.Hours:return t.getHours();case U.Minutes:return t.getMinutes();case U.Seconds:return t.getSeconds();case U.FractionalSeconds:return t.getMilliseconds();case U.Day:return t.getDay();default:throw new Error('Unknown DateType value "'+e+'".')}}(t,o);if((n>0||s>-n)&&(s+=n),t===U.Hours)0===s&&-12===n&&(s=12);else if(t===U.FractionalSeconds)return function c(e,t){return q(e,3).substr(0,t)}(s,r);var f=k(i,e.NumberSymbol.MinusSign);return q(s,r,f,u,a)}}function te(t,r,n,u){return void 0===n&&(n=e.FormStyle.Format),void 0===u&&(u=!1),function(e,a){return function o(e,t,r,n,u,a){switch(r){case Z.Months:return O(t,u,n)[e.getMonth()];case Z.Days:return P(t,u,n)[e.getDay()];case Z.DayPeriods:var o=e.getHours(),i=e.getMinutes();if(a){var s,l=x(t),c=V(t,u,n);if(l.forEach(function(e,t){if(Array.isArray(e)){var r=e[0],n=e[1],u=n.hours;o>=r.hours&&i>=r.minutes&&(o<u||o===u&&i<n.minutes)&&(s=c[t])}else e.hours===o&&e.minutes===i&&(s=c[t])}),s)return s}return S(t,u,n)[o<12?0:1];case Z.Eras:return B(t,n)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+r)}}(e,a,t,r,n,u)}}function re(t){return function(r,n,u){var a=-1*u,o=k(n,e.NumberSymbol.MinusSign),i=a>0?Math.floor(a/60):Math.ceil(a/60);switch(t){case z.Short:return(a>=0?"+":"")+q(i,2,o)+q(Math.abs(a%60),2,o);case z.ShortGMT:return"GMT"+(a>=0?"+":"")+q(i,1,o);case z.Long:return"GMT"+(a>=0?"+":"")+q(i,2,o)+":"+q(Math.abs(a%60),2,o);case z.Extended:return 0===u?"Z":(a>=0?"+":"")+q(i,2,o)+":"+q(Math.abs(a%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}!function(e){e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended"}(z||(z={})),function(e){e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day"}(U||(U={})),function(e){e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras"}(Z||(Z={}));var ne=0,ue=4;function ae(t,r){return void 0===r&&(r=!1),function(n,u){var a;if(r){var o=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,i=n.getDate();a=1+Math.floor((i+o)/7)}else{var s=function l(e){var t=new Date(e,ne,1).getDay();return new Date(e,0,1+(t<=ue?ue:ue+7)-t)}(n.getFullYear()),c=function f(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(ue-e.getDay()))}(n).getTime()-s.getTime();a=1+Math.round(c/6048e5)}return q(a,t,k(u,e.NumberSymbol.MinusSign))}}var oe={};function ie(e,t){e=e.replace(/:/g,"");var r=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(r)?t:r}function se(e){var t=new Date(0),r=0,n=0,u=e[8]?t.setUTCFullYear:t.setFullYear,a=e[8]?t.setUTCHours:t.setHours;e[9]&&(r=Number(e[9]+e[10]),n=Number(e[9]+e[11])),u.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var o=Number(e[4]||0)-r,i=Number(e[5]||0)-n,s=Number(e[6]||0),l=Math.round(1e3*parseFloat("0."+(e[7]||0)));return a.call(t,o,i,s,l),t}function le(e){return e instanceof Date&&!isNaN(e.valueOf())}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var ce=/^(\d+)?\.((\d+)(-(\d+))?)?$/,fe=22,pe=".",he="0",De=";",de=",",ye="#",me="¤",ge="%";function Ce(t,r,n,u,a,o,i){void 0===i&&(i=!1);var s="",l=!1;if(isFinite(t)){var c=function f(e){var t,r,n,u,a,o=Math.abs(e)+"",i=0;for((r=o.indexOf(pe))>-1&&(o=o.replace(pe,"")),(n=o.search(/e/i))>0?(r<0&&(r=n),r+=+o.slice(n+1),o=o.substring(0,n)):r<0&&(r=o.length),n=0;o.charAt(n)===he;n++);if(n===(a=o.length))t=[0],r=1;else{for(a--;o.charAt(a)===he;)a--;for(r-=n,t=[],u=0;n<=a;n++,u++)t[u]=Number(o.charAt(n))}return r>fe&&(t=t.splice(0,fe-1),i=r-1,r=1),{digits:t,exponent:i,integerLen:r}}(t);i&&(c=function p(e){if(0===e.digits[0])return e;var t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(c));var h=r.minInt,D=r.minFrac,d=r.maxFrac;if(o){var y=o.match(ce);if(null===y)throw new Error(o+" is not a valid digit info");var m=y[1],g=y[3],C=y[5];null!=m&&(h=be(m)),null!=g&&(D=be(g)),null!=C?d=be(C):null!=g&&D>d&&(d=D)}!function v(e,t,r){if(t>r)throw new Error("The minimum number of digits after fraction ("+t+") is higher than the maximum ("+r+").");var n=e.digits,u=n.length-e.integerLen,a=Math.min(Math.max(t,u),r),o=a+e.integerLen,i=n[o];if(o>0){n.splice(Math.max(e.integerLen,o));for(var s=o;s<n.length;s++)n[s]=0}else{u=Math.max(0,u),e.integerLen=1,n.length=Math.max(1,o=a+1),n[0]=0;for(var l=1;l<o;l++)n[l]=0}if(i>=5)if(o-1<0){for(var c=0;c>o;c--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[o-1]++;for(;u<Math.max(0,a);u++)n.push(0);var f=0!==a,p=t+e.integerLen,h=n.reduceRight(function(e,t,r,n){return n[r]=(t+=e)<10?t:t-10,f&&(0===n[r]&&r>=p?n.pop():f=!1),t>=10?1:0},0);h&&(n.unshift(h),e.integerLen++)}(c,D,d);var F=c.digits,_=c.integerLen,E=c.exponent,b=[];for(l=F.every(function(e){return!e});_<h;_++)F.unshift(0);for(;_<0;_++)F.unshift(0);_>0?b=F.splice(_,F.length):(b=F,F=[0]);var A=[];for(F.length>=r.lgSize&&A.unshift(F.splice(-r.lgSize,F.length).join(""));F.length>r.gSize;)A.unshift(F.splice(-r.gSize,F.length).join(""));F.length&&A.unshift(F.join("")),s=A.join(k(n,u)),b.length&&(s+=k(n,a)+b.join("")),E&&(s+=k(n,e.NumberSymbol.Exponential)+"+"+E)}else s=k(n,e.NumberSymbol.Infinity);return t<0&&!l?r.negPre+s+r.negSuf:r.posPre+s+r.posSuf}function ve(t,r,n,u,a){var o=Ee(T(r,e.NumberFormatStyle.Currency),k(r,e.NumberSymbol.MinusSign));return o.minFrac=$(u),o.maxFrac=o.minFrac,Ce(t,o,r,e.NumberSymbol.CurrencyGroup,e.NumberSymbol.CurrencyDecimal,a).replace(me,n).replace(me,"")}function Fe(t,r,n){return Ce(t,Ee(T(r,e.NumberFormatStyle.Percent),k(r,e.NumberSymbol.MinusSign)),r,e.NumberSymbol.Group,e.NumberSymbol.Decimal,n,!0).replace(new RegExp(ge,"g"),k(r,e.NumberSymbol.PercentSign))}function _e(t,r,n){return Ce(t,Ee(T(r,e.NumberFormatStyle.Decimal),k(r,e.NumberSymbol.MinusSign)),r,e.NumberSymbol.Group,e.NumberSymbol.Decimal,n)}function Ee(e,t){void 0===t&&(t="-");var r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(De),u=n[0],a=n[1],o=-1!==u.indexOf(pe)?u.split(pe):[u.substring(0,u.lastIndexOf(he)+1),u.substring(u.lastIndexOf(he)+1)],i=o[0],s=o[1]||"";r.posPre=i.substr(0,i.indexOf(ye));for(var l=0;l<s.length;l++){var c=s.charAt(l);c===he?r.minFrac=r.maxFrac=l+1:c===ye?r.maxFrac=l+1:r.posSuf+=c}var f=i.split(de);if(r.gSize=f[1]?f[1].length:0,r.lgSize=f[2]||f[1]?(f[2]||f[1]).length:0,a){var p=u.length-r.posPre.length-r.posSuf.length,h=a.indexOf(ye);r.negPre=a.substr(0,h).replace(/'/g,""),r.negSuf=a.substr(h+p).replace(/'/g,"")}else r.negPre=t+r.posPre,r.negSuf=r.posSuf;return r}function be(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var Ae,we=new t.InjectionToken("UseV4Plurals");function Se(e,t,r,n){var u="="+e;if(t.indexOf(u)>-1)return u;if(u=r.getPluralCategory(e,n),t.indexOf(u)>-1)return u;if(t.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+e+'"')}var Pe=function(r){function n(e,t){var n=r.call(this)||this;return n.locale=e,n.deprecatedPluralFn=t,n}return i(n,r),n.prototype.getPluralCategory=function(t,r){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(r||this.locale,t):N(r||this.locale)(t)){case e.Plural.Zero:return"zero";case e.Plural.One:return"one";case e.Plural.Two:return"two";case e.Plural.Few:return"few";case e.Plural.Many:return"many";default:return"other"}},l([t.Injectable(),c(0,t.Inject(t.LOCALE_ID)),c(1,t.Optional()),c(1,t.Inject(we)),f("design:paramtypes",[String,Object])],n)}(Ae=function Ae(){});function Oe(t,r){"string"==typeof r&&(r=parseInt(r,10));var n=r,u=n.toString().replace(/^[^.]*\.?/,""),a=Math.floor(Math.abs(n)),o=u.length,i=parseInt(u,10),s=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?e.Plural.One:e.Plural.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?e.Plural.One:e.Plural.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===a||1===n?e.Plural.One:e.Plural.Other;case"ar":return 0===n?e.Plural.Zero:1===n?e.Plural.One:2===n?e.Plural.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?e.Plural.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?e.Plural.Many:e.Plural.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===a&&0===o?e.Plural.One:e.Plural.Other;case"be":return n%10==1&&n%100!=11?e.Plural.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?e.Plural.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?e.Plural.Many:e.Plural.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?e.Plural.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?e.Plural.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?e.Plural.Few:0!==n&&n%1e6==0?e.Plural.Many:e.Plural.Other;case"bs":case"hr":case"sr":return 0===o&&a%10==1&&a%100!=11||i%10==1&&i%100!=11?e.Plural.One:0===o&&a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)||i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?e.Plural.Few:e.Plural.Other;case"cs":case"sk":return 1===a&&0===o?e.Plural.One:a===Math.floor(a)&&a>=2&&a<=4&&0===o?e.Plural.Few:0!==o?e.Plural.Many:e.Plural.Other;case"cy":return 0===n?e.Plural.Zero:1===n?e.Plural.One:2===n?e.Plural.Two:3===n?e.Plural.Few:6===n?e.Plural.Many:e.Plural.Other;case"da":return 1===n||0!==s&&(0===a||1===a)?e.Plural.One:e.Plural.Other;case"dsb":case"hsb":return 0===o&&a%100==1||i%100==1?e.Plural.One:0===o&&a%100==2||i%100==2?e.Plural.Two:0===o&&a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4||i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4?e.Plural.Few:e.Plural.Other;case"ff":case"fr":case"hy":case"kab":return 0===a||1===a?e.Plural.One:e.Plural.Other;case"fil":return 0===o&&(1===a||2===a||3===a)||0===o&&a%10!=4&&a%10!=6&&a%10!=9||0!==o&&i%10!=4&&i%10!=6&&i%10!=9?e.Plural.One:e.Plural.Other;case"ga":return 1===n?e.Plural.One:2===n?e.Plural.Two:n===Math.floor(n)&&n>=3&&n<=6?e.Plural.Few:n===Math.floor(n)&&n>=7&&n<=10?e.Plural.Many:e.Plural.Other;case"gd":return 1===n||11===n?e.Plural.One:2===n||12===n?e.Plural.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?e.Plural.Few:e.Plural.Other;case"gv":return 0===o&&a%10==1?e.Plural.One:0===o&&a%10==2?e.Plural.Two:0!==o||a%100!=0&&a%100!=20&&a%100!=40&&a%100!=60&&a%100!=80?0!==o?e.Plural.Many:e.Plural.Other:e.Plural.Few;case"he":return 1===a&&0===o?e.Plural.One:2===a&&0===o?e.Plural.Two:0!==o||n>=0&&n<=10||n%10!=0?e.Plural.Other:e.Plural.Many;case"is":return 0===s&&a%10==1&&a%100!=11||0!==s?e.Plural.One:e.Plural.Other;case"ksh":return 0===n?e.Plural.Zero:1===n?e.Plural.One:e.Plural.Other;case"kw":case"naq":case"se":case"smn":return 1===n?e.Plural.One:2===n?e.Plural.Two:e.Plural.Other;case"lag":return 0===n?e.Plural.Zero:0!==a&&1!==a||0===n?e.Plural.Other:e.Plural.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?e.Plural.Few:0!==i?e.Plural.Many:e.Plural.Other:e.Plural.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===o&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=19?e.Plural.Zero:n%10==1&&n%100!=11||2===o&&i%10==1&&i%100!=11||2!==o&&i%10==1?e.Plural.One:e.Plural.Other;case"mk":return 0===o&&a%10==1||i%10==1?e.Plural.One:e.Plural.Other;case"mt":return 1===n?e.Plural.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?e.Plural.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?e.Plural.Many:e.Plural.Other;case"pl":return 1===a&&0===o?e.Plural.One:0===o&&a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?e.Plural.Few:0===o&&1!==a&&a%10===Math.floor(a%10)&&a%10>=0&&a%10<=1||0===o&&a%10===Math.floor(a%10)&&a%10>=5&&a%10<=9||0===o&&a%100===Math.floor(a%100)&&a%100>=12&&a%100<=14?e.Plural.Many:e.Plural.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?e.Plural.One:e.Plural.Other;case"ro":return 1===a&&0===o?e.Plural.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?e.Plural.Few:e.Plural.Other;case"ru":case"uk":return 0===o&&a%10==1&&a%100!=11?e.Plural.One:0===o&&a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?e.Plural.Few:0===o&&a%10==0||0===o&&a%10===Math.floor(a%10)&&a%10>=5&&a%10<=9||0===o&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=14?e.Plural.Many:e.Plural.Other;case"shi":return 0===a||1===n?e.Plural.One:n===Math.floor(n)&&n>=2&&n<=10?e.Plural.Few:e.Plural.Other;case"si":return 0===n||1===n||0===a&&1===i?e.Plural.One:e.Plural.Other;case"sl":return 0===o&&a%100==1?e.Plural.One:0===o&&a%100==2?e.Plural.Two:0===o&&a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4||0!==o?e.Plural.Few:e.Plural.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?e.Plural.One:e.Plural.Other;default:return e.Plural.Other}}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function Be(e,r,n){"string"!=typeof r&&(n=r,r=e[t.ɵLocaleDataIndex.LocaleId]),r=r.toLowerCase().replace(/_/g,"-"),t.ɵLOCALE_DATA[r]=e,n&&(t.ɵLOCALE_DATA[r][t.ɵLocaleDataIndex.ExtraData]=n)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Me=function(){function e(e,t){this._name=e,this._options=t,this.value=null,this._lastSetValue=null,this._lastSetValueType=0,this._lastSetValueIdentityChange=!1}return e.prototype.setValue=function(e){if(Array.isArray(e))this._lastSetValueType=4;else if(e instanceof Set)this._lastSetValueType=8;else if(e&&"string"==typeof e){if(!(4&this._options))throw new Error(this._name+" string values are not allowed");this._lastSetValueType=1}else this._lastSetValueType=e?2:0;this._lastSetValueIdentityChange=!0,this._lastSetValue=e||null},e.prototype.hasValueChanged=function(){var e=this._lastSetValueIdentityChange;if(!(e||14&this._lastSetValueType))return!1;var t=null,r=!!(1&this._options),n=!!(8&this._options),u=!!(2&this._options);switch(this._lastSetValueType){case 1:var a=this._lastSetValue.split(/\s+/g);16&this._options?(t={},a.forEach(function(e,r){return t[e]=!0})):t=a.reduce(function(e,t,r){return e+(r?" ":"")+t});break;case 2:var o=this._lastSetValue,i=Object.keys(o);e||(e=!this.value||function s(e,t,r){var n=e;if(!Ne(Object.keys(t),n))return!0;for(var u=0;u<n.length;u++){var a=n[u];if(t[a]!==r[a])return!0}return!1}(i,this.value,o)),e&&(t=Le(this._name,r,n,u,o,i));break;case 4:case 8:var l=Array.from(this._lastSetValue);e||(e=!Ne(Object.keys(this.value),l)),e&&(t=Le(this._name,r,n,u,l));break;default:t=null}return e&&(this.value=t),e},e}();function Le(e,t,r,n,u,a){var o={};if(a)for(var i=0;i<a.length;i++){var s=a[i];ke(o,s=t?s.trim():s,l=u[s],r,n)}else for(i=0;i<u.length;i++){var l;Ie(e,l=u[i]),ke(o,l=t?l.trim():l,!0,!1,n)}return o}function Ie(e,t){if("string"!=typeof t)throw new Error(e+" can only toggle CSS classes expressed as strings, got "+t)}function ke(e,t,r,n,u){if(u&&t.indexOf(" ")>0)for(var a=t.split(/\s+/g),o=0;o<a.length;o++)Te(e,a[o],r,n);else Te(e,t,r,n)}function Te(e,t,r,n){if(n){var u=function a(e,t){var r=e.indexOf(".");if(r>0){var n=e.substr(r+1);e=e.substring(0,r),null!=t&&(t+=n)}return{key:e,value:t}}(t,r);r=u.value,t=u.key}e[t]=r}function Ne(e,t){if(e&&t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(-1===t.indexOf(e[r]))return!1;return!0}return!1}var Re=function Re(){},xe=function(){function e(e,t,r,n){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=r,this._renderer=n,this._initialClasses=[]}return e.prototype.getValue=function(){return null},e.prototype.setClass=function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},e.prototype.setNgClass=function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(t.ɵisListLikeIterable(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},e.prototype.applyChanges=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})},e.prototype._applyIterableChanges=function(e){var r=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+t.ɵstringify(e.item));r._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return r._toggleClass(e.item,!1)})},e.prototype._applyClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(r){return t._toggleClass(r,!!e[r])}))},e.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))},e.prototype._toggleClass=function(e,t){var r=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?r._renderer.addClass(r._ngEl.nativeElement,e):r._renderer.removeClass(r._ngEl.nativeElement,e)})},l([t.Injectable(),f("design:paramtypes",[t.IterableDiffers,t.KeyValueDiffers,t.ElementRef,t.Renderer2])],e)}(),Ve=function(){function e(){this._value=null,this._ngClassDiffer=new Me("NgClass",23),this._classStringDiffer=null}return e.prototype.getValue=function(){return this._value},e.prototype.setClass=function(e){(e||this._classStringDiffer)&&(this._classStringDiffer=this._classStringDiffer||new Me("class",20),this._classStringDiffer.setValue(e))},e.prototype.setNgClass=function(e){this._ngClassDiffer.setValue(e)},e.prototype.applyChanges=function(){var e=!!this._classStringDiffer&&this._classStringDiffer.hasValueChanged(),t=this._ngClassDiffer.hasValueChanged();if(e||t){var r=this._ngClassDiffer.value;if(this._classStringDiffer){var n=this._classStringDiffer.value;n&&(r=r?s({},n,r):n)}this._value=r}},l([t.Injectable()],e)}(),je={provide:Re,useClass:xe},We={provide:Re,useClass:Ve},He=je,Ge=t.ɵɵdefineDirective({type:function(){},selectors:null,factory:function(){},hostBindings:function(e,r,n){1&e&&t.ɵɵstyling(),2&e&&(t.ɵɵclassMap(r.getValue()),t.ɵɵstylingApply())}}),$e=function(){function e(e){this._delegate=e}return e.prototype.getValue=function(){return this._delegate.getValue()},e.ngDirectiveDef=void 0,e}(),ze=function(e){function r(t){return e.call(this,t)||this}return i(r,e),Object.defineProperty(r.prototype,"klass",{set:function(e){this._delegate.setClass(e)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"ngClass",{set:function(e){this._delegate.setNgClass(e)},enumerable:!0,configurable:!0}),r.prototype.ngDoCheck=function(){this._delegate.applyChanges()},l([t.Input("class"),f("design:type",String),f("design:paramtypes",[String])],r.prototype,"klass",null),l([t.Input("ngClass"),f("design:type",Object),f("design:paramtypes",[Object])],r.prototype,"ngClass",null),l([t.Directive({selector:"[ngClass]",providers:[He]}),f("design:paramtypes",[Re])],r)}($e),Ue=function(){function e(e){this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}return e.prototype.ngOnChanges=function(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var r=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=r.get(t.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var u=(this._moduleRef?this._moduleRef.componentFactoryResolver:r.get(t.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(u,this._viewContainerRef.length,r,this.ngComponentOutletContent)}},e.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},l([t.Input(),f("design:type",t.Type)],e.prototype,"ngComponentOutlet",void 0),l([t.Input(),f("design:type",t.Injector)],e.prototype,"ngComponentOutletInjector",void 0),l([t.Input(),f("design:type",Array)],e.prototype,"ngComponentOutletContent",void 0),l([t.Input(),f("design:type",t.NgModuleFactory)],e.prototype,"ngComponentOutletNgModuleFactory",void 0),l([t.Directive({selector:"[ngComponentOutlet]"}),f("design:paramtypes",[t.ViewContainerRef])],e)}(),Ze=function(){function e(e,t,r,n){this.$implicit=e,this.ngForOf=t,this.index=r,this.count=n}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),Ke=function(){function e(e,t,r){this._viewContainer=e,this._template=t,this._differs=r,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){t.isDevMode()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+function t(e){return e.name||typeof e}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/(e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}if(this._differ){var r=this._differ.diff(this._ngForOf);r&&this._applyChanges(r)}},e.prototype._applyChanges=function(e){var t=this,r=[];e.forEachOperation(function(e,n,u){if(null==e.previousIndex){var a=t._viewContainer.createEmbeddedView(t._template,new Ze(null,t._ngForOf,-1,-1),u),o=new Ye(e,a);r.push(o)}else null==u?t._viewContainer.remove(n):(a=t._viewContainer.get(n),t._viewContainer.move(a,u),o=new Ye(e,a),r.push(o))});for(var n=0;n<r.length;n++)this._perViewChange(r[n].view,r[n].record);n=0;for(var u=this._viewContainer.length;n<u;n++){var a=this._viewContainer.get(n);a.context.index=n,a.context.count=u,a.context.ngForOf=this._ngForOf}e.forEachIdentityChange(function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item})},e.prototype._perViewChange=function(e,t){e.context.$implicit=t.item},e.ngTemplateContextGuard=function(e,t){return!0},l([t.Input(),f("design:type",Object),f("design:paramtypes",[Object])],e.prototype,"ngForOf",null),l([t.Input(),f("design:type",Function),f("design:paramtypes",[Function])],e.prototype,"ngForTrackBy",null),l([t.Input(),f("design:type",t.TemplateRef),f("design:paramtypes",[t.TemplateRef])],e.prototype,"ngForTemplate",null),l([t.Directive({selector:"[ngFor][ngForOf]"}),f("design:paramtypes",[t.ViewContainerRef,t.TemplateRef,t.IterableDiffers])],e)}(),Ye=function Ye(e,t){this.record=e,this.view=t},Qe=function(){function e(e,t){this._viewContainer=e,this._context=new Je,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}return Object.defineProperty(e.prototype,"ngIf",{set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfThen",{set:function(e){Xe("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfElse",{set:function(e){Xe("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),e.prototype._updateView=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)))},l([t.Input(),f("design:type",Object),f("design:paramtypes",[Object])],e.prototype,"ngIf",null),l([t.Input(),f("design:type",Object),f("design:paramtypes",[Object])],e.prototype,"ngIfThen",null),l([t.Input(),f("design:type",Object),f("design:paramtypes",[Object])],e.prototype,"ngIfElse",null),l([t.Directive({selector:"[ngIf]"}),f("design:paramtypes",[t.ViewContainerRef,t.TemplateRef])],e)}(),Je=function Je(){this.$implicit=null,this.ngIf=null};function Xe(e,r){if(r&&!r.createEmbeddedView)throw new Error(e+" must be a TemplateRef, but received '"+t.ɵstringify(r)+"'.")}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var qe=function(){function e(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}return e.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},e.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},e.prototype.enforceState=function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()},e}(),et=function(){function e(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(e.prototype,"ngSwitch",{set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),e.prototype._addCase=function(){return this._caseCount++},e.prototype._addDefault=function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)},e.prototype._matchCase=function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t},e.prototype._updateDefaultCases=function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}},l([t.Input(),f("design:type",Object),f("design:paramtypes",[Object])],e.prototype,"ngSwitch",null),l([t.Directive({selector:"[ngSwitch]"})],e)}(),tt=function(){function e(e,t,r){this.ngSwitch=r,r._addCase(),this._view=new qe(e,t)}return e.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},l([t.Input(),f("design:type",Object)],e.prototype,"ngSwitchCase",void 0),l([t.Directive({selector:"[ngSwitchCase]"}),c(2,t.Host()),f("design:paramtypes",[t.ViewContainerRef,t.TemplateRef,et])],e)}(),rt=function(){return l([t.Directive({selector:"[ngSwitchDefault]"}),c(2,t.Host()),f("design:paramtypes",[t.ViewContainerRef,t.TemplateRef,et])],function e(t,r,n){n._addDefault(new qe(t,r))})}(),nt=function(){function e(e){this._localization=e,this._caseViews={}}return Object.defineProperty(e.prototype,"ngPlural",{set:function(e){this._switchValue=e,this._updateView()},enumerable:!0,configurable:!0}),e.prototype.addCase=function(e,t){this._caseViews[e]=t},e.prototype._updateView=function(){this._clearViews();var e=Object.keys(this._caseViews),t=Se(this._switchValue,e,this._localization);this._activateView(this._caseViews[t])},e.prototype._clearViews=function(){this._activeView&&this._activeView.destroy()},e.prototype._activateView=function(e){e&&(this._activeView=e,this._activeView.create())},l([t.Input(),f("design:type",Number),f("design:paramtypes",[Number])],e.prototype,"ngPlural",null),l([t.Directive({selector:"[ngPlural]"}),f("design:paramtypes",[Ae])],e)}(),ut=function(){return l([t.Directive({selector:"[ngPluralCase]"}),c(0,t.Attribute("ngPluralCase")),c(3,t.Host()),f("design:paramtypes",[String,t.TemplateRef,t.ViewContainerRef,nt])],function e(t,r,n,u){this.value=t;var a=!isNaN(Number(t));u.addCase(a?"="+t:t,new qe(n,r))})}(),at=function at(){},ot=function(){function e(e,t,r){this._ngEl=e,this._differs=t,this._renderer=r}return e.prototype.getValue=function(){return null},e.prototype.setNgStyle=function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())},e.prototype.applyChanges=function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}},e.prototype._applyChanges=function(e){var t=this;e.forEachRemovedItem(function(e){return t._setStyle(e.key,null)}),e.forEachAddedItem(function(e){return t._setStyle(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._setStyle(e.key,e.currentValue)})},e.prototype._setStyle=function(e,t){var r=h(e.split("."),2),n=r[0],u=r[1];null!=(t=null!=t&&u?""+t+u:t)?this._renderer.setStyle(this._ngEl.nativeElement,n,t):this._renderer.removeStyle(this._ngEl.nativeElement,n)},l([t.Injectable(),f("design:paramtypes",[t.ElementRef,t.KeyValueDiffers,t.Renderer2])],e)}(),it=function(){function e(){this._differ=new Me("NgStyle",8),this._value=null}return e.prototype.getValue=function(){return this._value},e.prototype.setNgStyle=function(e){this._differ.setValue(e)},e.prototype.applyChanges=function(){this._differ.hasValueChanged()&&(this._value=this._differ.value)},l([t.Injectable()],e)}(),st={provide:at,useClass:ot},lt={provide:at,useClass:it},ct=st,ft=t.ɵɵdefineDirective({type:function(){},selectors:null,factory:function(){},hostBindings:function(e,r,n){1&e&&t.ɵɵstyling(),2&e&&(t.ɵɵstyleMap(r.getValue()),t.ɵɵstylingApply())}}),pt=function(){function e(e){this._delegate=e}return e.prototype.getValue=function(){return this._delegate.getValue()},e.ngDirectiveDef=void 0,e}(),ht=function(e){function r(t){return e.call(this,t)||this}return i(r,e),Object.defineProperty(r.prototype,"ngStyle",{set:function(e){this._delegate.setNgStyle(e)},enumerable:!0,configurable:!0}),r.prototype.ngDoCheck=function(){this._delegate.applyChanges()},l([t.Input("ngStyle"),f("design:type",Object),f("design:paramtypes",[Object])],r.prototype,"ngStyle",null),l([t.Directive({selector:"[ngStyle]",providers:[ct]}),f("design:paramtypes",[at])],r)}(pt),Dt=function(){function e(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return e.prototype.ngOnChanges=function(e){this._shouldRecreateView(e)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)},e.prototype._shouldRecreateView=function(e){var t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)},e.prototype._hasContextShapeChanged=function(e){var t,r,n=Object.keys(e.previousValue||{}),u=Object.keys(e.currentValue||{});if(n.length===u.length){try{for(var a=p(u),o=a.next();!o.done;o=a.next())if(-1===n.indexOf(o.value))return!0}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return!1}return!0},e.prototype._updateExistingContext=function(e){var t,r;try{for(var n=p(Object.keys(e)),u=n.next();!u.done;u=n.next()){var a=u.value;this._viewRef.context[a]=this.ngTemplateOutletContext[a]}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},l([t.Input(),f("design:type",Object)],e.prototype,"ngTemplateOutletContext",void 0),l([t.Input(),f("design:type",Object)],e.prototype,"ngTemplateOutlet",void 0),l([t.Directive({selector:"[ngTemplateOutlet]"}),f("design:paramtypes",[t.ViewContainerRef])],e)}(),dt=[ze,Ue,Ke,Qe,Dt,ht,et,tt,rt,nt,ut];
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function yt(e,r){return Error("InvalidPipeArgument: '"+r+"' for pipe '"+t.ɵstringify(e)+"'")}var mt=function(){function t(){}return t.format=function(t,r,n,u){void 0===u&&(u={});var a=u.currency,o=u.currencyAsSymbol,i=void 0!==o&&o,s={minimumIntegerDigits:u.minimumIntegerDigits,minimumFractionDigits:u.minimumFractionDigits,maximumFractionDigits:u.maximumFractionDigits,style:e.NumberFormatStyle[n].toLowerCase()};return n==e.NumberFormatStyle.Currency&&(s.currency="string"==typeof a?a:void 0,s.currencyDisplay=i?"symbol":"code"),new Intl.NumberFormat(r,s).format(t)},t}(),gt=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,Ct={yMMMdjms:Bt(Ot([St("year",1),Pt("month",3),St("day",1),St("hour",1),St("minute",1),St("second",1)])),yMdjm:Bt(Ot([St("year",1),St("month",1),St("day",1),St("hour",1),St("minute",1)])),yMMMMEEEEd:Bt(Ot([St("year",1),Pt("month",4),Pt("weekday",4),St("day",1)])),yMMMMd:Bt(Ot([St("year",1),Pt("month",4),St("day",1)])),yMMMd:Bt(Ot([St("year",1),Pt("month",3),St("day",1)])),yMd:Bt(Ot([St("year",1),St("month",1),St("day",1)])),jms:Bt(Ot([St("hour",1),St("second",1),St("minute",1)])),jm:Bt(Ot([St("hour",1),St("minute",1)]))},vt={yyyy:Bt(St("year",4)),yy:Bt(St("year",2)),y:Bt(St("year",1)),MMMM:Bt(Pt("month",4)),MMM:Bt(Pt("month",3)),MM:Bt(St("month",2)),M:Bt(St("month",1)),LLLL:Bt(Pt("month",4)),L:Bt(Pt("month",1)),dd:Bt(St("day",2)),d:Bt(St("day",1)),HH:_t(Et(Bt(wt(St("hour",2),!1)))),H:Et(Bt(wt(St("hour",1),!1))),hh:_t(Et(Bt(wt(St("hour",2),!0)))),h:Et(Bt(wt(St("hour",1),!0))),jj:Bt(St("hour",2)),j:Bt(St("hour",1)),mm:_t(Bt(St("minute",2))),m:Bt(St("minute",1)),ss:_t(Bt(St("second",2))),s:Bt(St("second",1)),sss:Bt(St("second",3)),EEEE:Bt(Pt("weekday",4)),EEE:Bt(Pt("weekday",3)),EE:Bt(Pt("weekday",2)),E:Bt(Pt("weekday",1)),a:function Ft(e){return function(t,r){return e(t,r).split(" ")[1]}}(Bt(wt(St("hour",1),!0))),Z:At("short"),z:At("long"),ww:Bt({}),w:Bt({}),G:Bt(Pt("era",1)),GG:Bt(Pt("era",2)),GGG:Bt(Pt("era",3)),GGGG:Bt(Pt("era",4))};function _t(e){return function(t,r){var n=e(t,r);return 1==n.length?"0"+n:n}}function Et(e){return function(t,r){return e(t,r).split(" ")[0]}}function bt(e,t,r){return new Intl.DateTimeFormat(t,r).format(e).replace(/[\u200e\u200f]/g,"")}function At(e){var t={hour:"2-digit",hour12:!1,timeZoneName:e};return function(e,r){var n=bt(e,r,t);return n?n.substring(3):""}}function wt(e,t){return e.hour12=t,e}function St(e,t){var r={};return r[e]=2===t?"2-digit":"numeric",r}function Pt(e,t){var r={};return r[e]=t<4?t>1?"short":"narrow":"long",r}function Ot(e){return e.reduce(function(e,t){return s({},e,t)},{})}function Bt(e){return function(t,r){return bt(t,r,e)}}var Mt=new Map,Lt=function(){function e(){}return e.format=function(e,t,r){return function n(e,t,r){var n=Ct[e];if(n)return n(t,r);var u=e,a=Mt.get(u);if(!a){a=[];var o=void 0;gt.exec(e);for(var i=e;i;)(o=gt.exec(i))?i=(a=a.concat(o.slice(1))).pop():(a.push(i),i=null);Mt.set(u,a)}return a.reduce(function(e,n){var u=vt[n];return e+(u?u(t,r):function a(e){return"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}(n))},"")}(r,e,t)},e}(),It=function(){function e(e){this._locale=e}var r;return r=e,e.prototype.transform=function(e,t){if(void 0===t&&(t="mediumDate"),null==e||""===e||e!=e)return null;var n;if("string"==typeof e&&(e=e.trim()),kt(e))n=e;else if(isNaN(e-parseFloat(e)))if("string"==typeof e&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(e)){var u=h(e.split("-").map(function(e){return parseInt(e,10)}),3);n=new Date(u[0],u[1]-1,u[2])}else n=new Date(e);else n=new Date(parseFloat(e));if(!kt(n)){var a=void 0;if("string"!=typeof e||!(a=e.match(K)))throw yt(r,e);n=se(a)}return Lt.format(n,this._locale,r._ALIASES[t]||t)},e._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},r=l([t.Pipe({name:"date",pure:!0}),c(0,t.Inject(t.LOCALE_ID)),f("design:paramtypes",[String])],e)}();function kt(e){return e instanceof Date&&!isNaN(e.valueOf())}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function Tt(t,r,n,u,a,o,i){if(void 0===o&&(o=null),void 0===i&&(i=!1),null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw yt(t,n);var s,l,c;if(u!==e.NumberFormatStyle.Currency&&(s=1,l=0,c=3),a){var f=a.match(ce);if(null===f)throw new Error(a+" is not a valid digit info for number pipes");null!=f[1]&&(s=be(f[1])),null!=f[3]&&(l=be(f[3])),null!=f[5]&&(c=be(f[5]))}return mt.format(n,r,u,{minimumIntegerDigits:s,minimumFractionDigits:l,maximumFractionDigits:c,currency:o,currencyAsSymbol:i})}var Nt=function(){function r(e){this._locale=e}var n;return n=r,r.prototype.transform=function(t,r){return Tt(n,this._locale,t,e.NumberFormatStyle.Decimal,r)},n=l([t.Pipe({name:"number"}),c(0,t.Inject(t.LOCALE_ID)),f("design:paramtypes",[String])],r)}(),Rt=function(){function r(e){this._locale=e}var n;return n=r,r.prototype.transform=function(t,r){return Tt(n,this._locale,t,e.NumberFormatStyle.Percent,r)},n=l([t.Pipe({name:"percent"}),c(0,t.Inject(t.LOCALE_ID)),f("design:paramtypes",[String])],r)}(),xt=function(){function r(e){this._locale=e}var n;return n=r,r.prototype.transform=function(t,r,u,a){return void 0===r&&(r="USD"),void 0===u&&(u=!1),Tt(n,this._locale,t,e.NumberFormatStyle.Currency,a,r,u)},n=l([t.Pipe({name:"currency"}),c(0,t.Inject(t.LOCALE_ID)),f("design:paramtypes",[String])],r)}(),Vt=[Nt,Rt,xt,It],jt=function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.subscribe({next:t,error:function(e){throw e}})},e.prototype.dispose=function(e){e.unsubscribe()},e.prototype.onDestroy=function(e){e.unsubscribe()},e}(),Wt=new(function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.then(t,function(e){throw e})},e.prototype.dispose=function(e){},e.prototype.onDestroy=function(e){},e}()),Ht=new jt,Gt=function(){function e(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var r;return r=e,e.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},e.prototype.transform=function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):t.ɵlooseIdentical(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,t.WrappedValue.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)},e.prototype._subscribe=function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,function(r){return t._updateLatestValue(e,r)})},e.prototype._selectStrategy=function(e){if(t.ɵisPromise(e))return Wt;if(t.ɵisObservable(e))return Ht;throw yt(r,e)},e.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},e.prototype._updateLatestValue=function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())},r=l([t.Injectable(),t.Pipe({name:"async",pure:!1}),f("design:paramtypes",[t.ChangeDetectorRef])],e)}(),$t=function(){function e(){}var r;return r=e,e.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw yt(r,e);return e.toLowerCase()},r=l([t.Injectable(),t.Pipe({name:"lowercase"})],e)}(),zt=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g,Ut=function(){function e(){}var r;return r=e,e.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw yt(r,e);return e.replace(zt,function(e){return e[0].toUpperCase()+e.substr(1).toLowerCase()})},r=l([t.Injectable(),t.Pipe({name:"titlecase"})],e)}(),Zt=function(){function e(){}var r;return r=e,e.prototype.transform=function(e){if(!e)return e;if("string"!=typeof e)throw yt(r,e);return e.toUpperCase()},r=l([t.Injectable(),t.Pipe({name:"uppercase"})],e)}(),Kt=function(){function e(e){this.locale=e}var r;return r=e,e.prototype.transform=function(e,t,n,u){if(void 0===t&&(t="mediumDate"),null==e||""===e||e!=e)return null;try{return J(e,t,u||this.locale,n)}catch(e){throw yt(r,e.message)}},r=l([t.Injectable(),t.Pipe({name:"date",pure:!0}),c(0,t.Inject(t.LOCALE_ID)),f("design:paramtypes",[String])],e)}(),Yt=/#/g,Qt=function(){function e(e){this._localization=e}var r;return r=e,e.prototype.transform=function(e,t,n){if(null==e)return"";if("object"!=typeof t||null===t)throw yt(r,t);return t[Se(e,Object.keys(t),this._localization,n)].replace(Yt,e.toString())},r=l([t.Injectable(),t.Pipe({name:"i18nPlural",pure:!0}),f("design:paramtypes",[Ae])],e)}(),Jt=function(){function e(){}var r;return r=e,e.prototype.transform=function(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw yt(r,t);return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""},r=l([t.Injectable(),t.Pipe({name:"i18nSelect",pure:!0})],e)}(),Xt=function(){function e(){}return e.prototype.transform=function(e){return JSON.stringify(e,null,2)},l([t.Injectable(),t.Pipe({name:"json",pure:!1})],e)}(),qt=function(){function e(e){this.differs=e,this.keyValues=[]}return e.prototype.transform=function(e,t){var r=this;if(void 0===t&&(t=er),!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());var n=this.differ.diff(e);return n&&(this.keyValues=[],n.forEachItem(function(e){r.keyValues.push(
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function t(e,r){return{key:e,value:r}}(e.key,e.currentValue))}),this.keyValues.sort(t)),this.keyValues},l([t.Injectable(),t.Pipe({name:"keyvalue",pure:!1}),f("design:paramtypes",[t.KeyValueDiffers])],e)}();function er(e,t){var r=e.key,n=t.key;if(r===n)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(null===r)return 1;if(null===n)return-1;if("string"==typeof r&&"string"==typeof n)return r<n?-1:1;if("number"==typeof r&&"number"==typeof n)return r-n;if("boolean"==typeof r&&"boolean"==typeof n)return r<n?-1:1;var u=String(r),a=String(n);return u==a?0:u<a?-1:1}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var tr=function(){function e(e){this._locale=e}var r;return r=e,e.prototype.transform=function(e,t,n){if(ur(e))return null;n=n||this._locale;try{return _e(ar(e),n,t)}catch(e){throw yt(r,e.message)}},r=l([t.Injectable(),t.Pipe({name:"number"}),c(0,t.Inject(t.LOCALE_ID)),f("design:paramtypes",[String])],e)}(),rr=function(){function e(e){this._locale=e}var r;return r=e,e.prototype.transform=function(e,t,n){if(ur(e))return null;n=n||this._locale;try{return Fe(ar(e),n,t)}catch(e){throw yt(r,e.message)}},r=l([t.Injectable(),t.Pipe({name:"percent"}),c(0,t.Inject(t.LOCALE_ID)),f("design:paramtypes",[String])],e)}(),nr=function(){function e(e){this._locale=e}var r;return r=e,e.prototype.transform=function(e,t,n,u,a){if(void 0===n&&(n="symbol"),ur(e))return null;a=a||this._locale,"boolean"==typeof n&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),n=n?"symbol":"code");var o=t||"USD";"code"!==n&&(o="symbol"===n||"symbol-narrow"===n?H(o,"symbol"===n?"wide":"narrow",a):n);try{return ve(ar(e),a,o,t,u)}catch(e){throw yt(r,e.message)}},r=l([t.Injectable(),t.Pipe({name:"currency"}),c(0,t.Inject(t.LOCALE_ID)),f("design:paramtypes",[String])],e)}();function ur(e){return null==e||""===e||e!=e}function ar(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(e+" is not a number");return e}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var or=function(){function e(){}var r;return r=e,e.prototype.transform=function(e,t,n){if(null==e)return e;if(!this.supports(e))throw yt(r,e);return e.slice(t,n)},e.prototype.supports=function(e){return"string"==typeof e||Array.isArray(e)},r=l([t.Injectable(),t.Pipe({name:"slice",pure:!1})],e)}(),ir=[Gt,Zt,$t,Xt,or,tr,rr,Ut,nr,Kt,Qt,Jt,qt],sr=function(){return l([t.NgModule({declarations:[dt,ir],exports:[dt,ir],providers:[{provide:Ae,useClass:Pe}]})],function e(){})}(),lr=Oe,cr=function(){return l([t.NgModule({declarations:[Vt],exports:[Vt],providers:[{provide:we,useValue:lr}]})],function e(){})}(),fr=new t.InjectionToken("DocumentToken"),pr=new t.Version("8.1.1"),hr=function(){function e(){}return e.ngInjectableDef=t.ɵɵdefineInjectable({token:e,providedIn:"root",factory:function(){return new Dr(t.ɵɵinject(fr),window,t.ɵɵinject(t.ErrorHandler))}}),e}(),Dr=function(){function e(e,t,r){this.document=e,this.window=t,this.errorHandler=r,this.offset=function(){return[0,0]}}return e.prototype.setOffset=function(e){this.offset=Array.isArray(e)?function(){return e}:e},e.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},e.prototype.scrollToPosition=function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])},e.prototype.scrollToAnchor=function(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var r=this.document.querySelector("[name='"+e+"']");if(r)return void this.scrollToElement(r)}catch(e){this.errorHandler.handleError(e)}}},e.prototype.setHistoryScrollRestoration=function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}},e.prototype.scrollToElement=function(e){var t=e.getBoundingClientRect(),r=t.left+this.window.pageXOffset,n=t.top+this.window.pageYOffset,u=this.offset();this.window.scrollTo(r-u[0],n-u[1])},e.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}},e}(),dr=function(){function e(){}return e.prototype.setOffset=function(e){},e.prototype.getScrollPosition=function(){return[0,0]},e.prototype.scrollToPosition=function(e){},e.prototype.scrollToAnchor=function(e){},e.prototype.setHistoryScrollRestoration=function(e){},e}();
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
e.ɵangular_packages_common_common_c=dt,e.ɵangular_packages_common_common_h=He,e.ɵangular_packages_common_common_g=je,e.ɵangular_packages_common_common_f=Ve,e.ɵangular_packages_common_common_k=ct,e.ɵangular_packages_common_common_j=st,e.ɵangular_packages_common_common_i=it,e.ɵangular_packages_common_common_a=we,e.ɵangular_packages_common_common_b=Oe,e.ɵangular_packages_common_common_e=Vt,e.ɵangular_packages_common_common_d=ir,e.ɵregisterLocaleData=Be,e.registerLocaleData=Be,e.formatDate=J,e.formatCurrency=ve,e.formatNumber=_e,e.formatPercent=Fe,e.NgLocaleLocalization=Pe,e.NgLocalization=Ae,e.getNumberOfCurrencyDigits=$,e.getCurrencySymbol=H,e.getLocaleDayPeriods=S,e.getLocaleDayNames=P,e.getLocaleMonthNames=O,e.getLocaleId=w,e.getLocaleEraNames=B,e.getLocaleWeekEndRange=function yr(e){return t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.WeekendRange]},e.getLocaleFirstDayOfWeek=function mr(e){return t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.FirstDayOfWeek]},e.getLocaleDateFormat=M,e.getLocaleDateTimeFormat=I,e.getLocaleExtraDayPeriodRules=x,e.getLocaleExtraDayPeriods=V,e.getLocalePluralCase=N,e.getLocaleTimeFormat=L,e.getLocaleNumberSymbol=k,e.getLocaleNumberFormat=T,e.getLocaleCurrencyName=function gr(e){return t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.CurrencyName]||null},e.getLocaleCurrencySymbol=function Cr(e){return t.ɵfindLocaleData(e)[t.ɵLocaleDataIndex.CurrencySymbol]||null},e.ɵparseCookieValue=function vr(e,t){var r,n;t=encodeURIComponent(t);try{for(var u=p(e.split(";")),a=u.next();!a.done;a=u.next()){var o=a.value,i=o.indexOf("="),s=h(-1==i?[o,""]:[o.slice(0,i),o.slice(i+1)],2),l=s[1];if(s[0].trim()===t)return decodeURIComponent(l)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return null},e.CommonModule=sr,e.DeprecatedI18NPipesModule=cr,e.NgClass=ze,e.NgClassBase=$e,e.NgForOf=Ke,e.NgForOfContext=Ze,e.NgIf=Qe,e.NgIfContext=Je,e.NgPlural=nt,e.NgPluralCase=ut,e.NgStyle=ht,e.NgStyleBase=pt,e.NgSwitch=et,e.NgSwitchCase=tt,e.NgSwitchDefault=rt,e.NgTemplateOutlet=Dt,e.NgComponentOutlet=Ue,e.DOCUMENT=fr,e.AsyncPipe=Gt,e.DatePipe=Kt,e.I18nPluralPipe=Qt,e.I18nSelectPipe=Jt,e.JsonPipe=Xt,e.LowerCasePipe=$t,e.CurrencyPipe=nr,e.DecimalPipe=tr,e.PercentPipe=rr,e.SlicePipe=or,e.UpperCasePipe=Zt,e.TitleCasePipe=Ut,e.KeyValuePipe=qt,e.DeprecatedDatePipe=It,e.DeprecatedCurrencyPipe=xt,e.DeprecatedDecimalPipe=Nt,e.DeprecatedPercentPipe=Rt,e.ɵPLATFORM_BROWSER_ID="browser",e.ɵPLATFORM_SERVER_ID="server",e.ɵPLATFORM_WORKER_APP_ID="browserWorkerApp",e.ɵPLATFORM_WORKER_UI_ID="browserWorkerUi",e.isPlatformBrowser=function Fr(e){return"browser"===e},e.isPlatformServer=function _r(e){return"server"===e},e.isPlatformWorkerApp=function Er(e){return"browserWorkerApp"===e},e.isPlatformWorkerUi=function br(e){return"browserWorkerUi"===e}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/,e.VERSION=pr,e.ViewportScroller=hr,e.ɵNullViewportScroller=dr,e.ɵNgClassImplProvider__POST_R3__=We,e.ɵNgClassR2Impl=xe,e.ɵNgClassImpl=Re,e.ɵNgStyleImplProvider__POST_R3__=lt,e.ɵNgStyleR2Impl=ot,e.ɵNgStyleImpl=at,e.ɵngStyleDirectiveDef__POST_R3__=ft,e.ɵngClassDirectiveDef__POST_R3__=Ge,e.PlatformLocation=r,e.LOCATION_INITIALIZED=n,e.LocationStrategy=u,e.APP_BASE_HREF=a,e.HashLocationStrategy=E,e.PathLocationStrategy=b,e.Location=D,Object.defineProperty(e,"__esModule",{value:!0})});