All Downloads are FREE. Search and download functionalities are using the official Maven repository.

static.angular2-all.umd.js Maven / Gradle / Ivy

var ng=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){e.core=n(2),e.platformBrowser=n(84),e.platformBrowserDynamic=n(431),e.forms=n(424),e.router=n(462),e.http=n(429),e.rxjs=n(475)},function(t,e,n){"use strict";var r=n(31),i=n(146),o=n(679),s=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,i=o.toSubscriber(t,e,n);if(i.add(r?r.call(i,this):this._subscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype.forEach=function(t,e){var n=this;if(e||(r.root.Rx&&r.root.Rx.config&&r.root.Rx.config.Promise?e=r.root.Rx.config.Promise:r.root.Promise&&(e=r.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var i=n.subscribe(function(e){if(i)try{t(e)}catch(n){r(n),i.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[i.$$observable]=function(){return this},t.create=function(e){return new t(e)},t}();e.Observable=s},function(t,e,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
	 */
"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}r(n(291)),r(n(422)),r(n(29));var i=n(181);e.createPlatform=i.createPlatform,e.assertPlatform=i.assertPlatform,e.disposePlatform=i.disposePlatform,e.getPlatform=i.getPlatform,e.coreBootstrap=i.coreBootstrap,e.coreLoadAndBootstrap=i.coreLoadAndBootstrap,e.PlatformRef=i.PlatformRef,e.ApplicationRef=i.ApplicationRef,e.enableProdMode=i.enableProdMode,e.lockRunMode=i.lockRunMode,e.isDevMode=i.isDevMode,e.createPlatformFactory=i.createPlatformFactory;var o=n(107);e.APP_ID=o.APP_ID,e.PACKAGE_ROOT_URL=o.PACKAGE_ROOT_URL,e.PLATFORM_INITIALIZER=o.PLATFORM_INITIALIZER,e.APP_BOOTSTRAP_LISTENER=o.APP_BOOTSTRAP_LISTENER;var s=n(180);e.APP_INITIALIZER=s.APP_INITIALIZER,e.ApplicationInitStatus=s.ApplicationInitStatus,r(n(423)),r(n(421)),r(n(410));var a=n(278);e.DebugElement=a.DebugElement,e.DebugNode=a.DebugNode,e.asNativeElements=a.asNativeElements,e.getDebugNode=a.getDebugNode,r(n(193)),r(n(404)),r(n(418)),r(n(417));var u=n(403);e.APPLICATION_COMMON_PROVIDERS=u.APPLICATION_COMMON_PROVIDERS,e.ApplicationModule=u.ApplicationModule;var c=n(118);e.wtfCreateScope=c.wtfCreateScope,e.wtfLeave=c.wtfLeave,e.wtfStartTimeRange=c.wtfStartTimeRange,e.wtfEndTimeRange=c.wtfEndTimeRange;var p=n(3);e.Type=p.Type;var l=n(70);e.EventEmitter=l.EventEmitter;var f=n(10);e.ExceptionHandler=f.ExceptionHandler,e.WrappedException=f.WrappedException,e.BaseException=f.BaseException,r(n(397)),r(n(274));var h=n(179);e.AnimationPlayer=h.AnimationPlayer;var d=n(299);e.SanitizationService=d.SanitizationService,e.SecurityContext=d.SecurityContext},function(t,e){(function(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
	 */
"use strict";function n(t){Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function r(t){return t.name?t.name:typeof t}function i(t){return void 0!==t&&null!==t}function o(t){return void 0===t||null===t}function s(t){return"boolean"==typeof t}function a(t){return"number"==typeof t}function u(t){return"string"==typeof t}function c(t){return"function"==typeof t}function p(t){return c(t)}function l(t){return"object"==typeof t&&null!==t}function f(t){return l(t)&&Object.getPrototypeOf(t)===j}function h(t){return i(t)&&c(t.then)}function d(t){return Array.isArray(t)}function v(t){return t instanceof e.Date&&!isNaN(t.valueOf())}function y(){}function m(t){if("string"==typeof t)return t;if(void 0===t||null===t)return""+t;if(t.overriddenName)return t.overriddenName;if(t.name)return t.name;var e=t.toString(),n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function g(t){return t}function _(t,e){return t}function b(t,e){return t[e]}function w(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function E(t){return t}function S(t){return o(t)?null:t}function C(t){return o(t)?!1:t}function P(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function O(t){console.log(t)}function A(t){console.warn(t)}function T(t,e,n){for(var r=e.split("."),o=t;r.length>1;){var s=r.shift();o=o.hasOwnProperty(s)&&i(o[s])?o[s]:o[s]={}}(void 0===o||null===o)&&(o={}),o[r.shift()]=n}function x(){if(o(K))if(i(D.Symbol)&&i(Symbol.iterator))K=Symbol.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),e=0;e=0&&t[r]==e;r--)n--;t=t.substring(0,n)}return t},t.replace=function(t,e,n){return t.replace(e,n)},t.replaceAll=function(t,e,n){return t.replace(e,n)},t.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.replaceAllMapped=function(t,e,n){return t.replace(e,function(){for(var t=[],e=0;et?-1:t>e?1:0},t}();e.StringWrapper=F;var B=function(){function t(t){void 0===t&&(t=[]),this.parts=t}return t.prototype.add=function(t){this.parts.push(t)},t.prototype.toString=function(){return this.parts.join("")},t}();e.StringJoiner=B;var U=function(t){function e(e){t.call(this),this.message=e}return V(e,t),e.prototype.toString=function(){return this.message},e}(Error);e.NumberParseError=U;var W=function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new U("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new U("Invalid integer literal when parsing "+t+" in base "+e)},t.parseFloat=function(t){return parseFloat(t)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}();e.NumberWrapper=W,e.RegExp=L.RegExp;var H=function(){function t(){}return t.create=function(t,e){return void 0===e&&(e=""),e=e.replace(/g/g,""),new L.RegExp(t,e+"g")},t.firstMatch=function(t,e){return t.lastIndex=0,t.exec(e)},t.test=function(t,e){return t.lastIndex=0,t.test(e)},t.matcher=function(t,e){return t.lastIndex=0,{re:t,input:e}},t.replaceAll=function(t,e,n){var r=t.exec(e),i="";t.lastIndex=0;for(var o=0;r;)i+=e.substring(o,r.index),i+=n(r),o=r.index+r[0].length,t.lastIndex=o,r=t.exec(e);return i+=e.substring(o)},t}();e.RegExpWrapper=H;var G=function(){function t(){}return t.next=function(t){return t.re.exec(t.input)},t}();e.RegExpMatcherWrapper=G;var z=function(){function t(){}return t.apply=function(t,e){return t.apply(null,e)},t.bind=function(t,e){return t.bind(e)},t}();e.FunctionWrapper=z,e.looseIdentical=w,e.getMapKey=E,e.normalizeBlank=S,e.normalizeBool=C,e.isJsObject=P,e.print=O,e.warn=A;var q=function(){function t(){}return t.parse=function(t){return L.JSON.parse(t)},t.stringify=function(t){return L.JSON.stringify(t,null,2)},t}();e.Json=q;var $=function(){function t(){}return t.create=function(t,n,r,i,o,s,a){return void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0),new e.Date(t,n-1,r,i,o,s,a)},t.fromISOString=function(t){return new e.Date(t)},t.fromMillis=function(t){return new e.Date(t)},t.toMillis=function(t){return t.getTime()},t.now=function(){return new e.Date},t.toJson=function(t){return t.toJSON()},t}();e.DateWrapper=$,e.setValueOnPath=T;var K=null;e.getSymbolIterator=x,e.evalExpression=R,e.isPrimitive=I,e.hasConstructor=M,e.escape=N,e.escapeRegExp=k}).call(e,function(){return this}())},function(t,e){(function(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
	 */
"use strict";function n(t){Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function r(t){return t.name?t.name:typeof t}function i(t){return void 0!==t&&null!==t}function o(t){return void 0===t||null===t}function s(t){return"boolean"==typeof t}function a(t){return"number"==typeof t}function u(t){return"string"==typeof t}function c(t){return"function"==typeof t}function p(t){return c(t)}function l(t){return"object"==typeof t&&null!==t}function f(t){return l(t)&&Object.getPrototypeOf(t)===j}function h(t){return i(t)&&c(t.then)}function d(t){return Array.isArray(t)}function v(t){return t instanceof e.Date&&!isNaN(t.valueOf())}function y(){}function m(t){if("string"==typeof t)return t;if(void 0===t||null===t)return""+t;if(t.overriddenName)return t.overriddenName;if(t.name)return t.name;var e=t.toString(),n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function g(t){return t}function _(t,e){return t}function b(t,e){return t[e]}function w(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function E(t){return t}function S(t){return o(t)?null:t}function C(t){return o(t)?!1:t}function P(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function O(t){console.log(t)}function A(t){console.warn(t)}function T(t,e,n){for(var r=e.split("."),o=t;r.length>1;){var s=r.shift();o=o.hasOwnProperty(s)&&i(o[s])?o[s]:o[s]={}}(void 0===o||null===o)&&(o={}),o[r.shift()]=n}function x(){if(o(K))if(i(D.Symbol)&&i(Symbol.iterator))K=Symbol.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),e=0;e=0&&t[r]==e;r--)n--;t=t.substring(0,n)}return t},t.replace=function(t,e,n){return t.replace(e,n)},t.replaceAll=function(t,e,n){return t.replace(e,n)},t.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.replaceAllMapped=function(t,e,n){return t.replace(e,function(){for(var t=[],e=0;et?-1:t>e?1:0},t}();e.StringWrapper=F;var B=function(){function t(t){void 0===t&&(t=[]),this.parts=t}return t.prototype.add=function(t){this.parts.push(t)},t.prototype.toString=function(){return this.parts.join("")},t}();e.StringJoiner=B;var U=function(t){function e(e){t.call(this),this.message=e}return V(e,t),e.prototype.toString=function(){return this.message},e}(Error);e.NumberParseError=U;var W=function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new U("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new U("Invalid integer literal when parsing "+t+" in base "+e)},t.parseFloat=function(t){return parseFloat(t)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}();e.NumberWrapper=W,e.RegExp=L.RegExp;var H=function(){function t(){}return t.create=function(t,e){return void 0===e&&(e=""),e=e.replace(/g/g,""),new L.RegExp(t,e+"g")},t.firstMatch=function(t,e){return t.lastIndex=0,t.exec(e)},t.test=function(t,e){return t.lastIndex=0,t.test(e)},t.matcher=function(t,e){return t.lastIndex=0,{re:t,input:e}},t.replaceAll=function(t,e,n){var r=t.exec(e),i="";t.lastIndex=0;for(var o=0;r;)i+=e.substring(o,r.index),i+=n(r),o=r.index+r[0].length,t.lastIndex=o,r=t.exec(e);return i+=e.substring(o)},t}();e.RegExpWrapper=H;var G=function(){function t(){}return t.next=function(t){return t.re.exec(t.input)},t}();e.RegExpMatcherWrapper=G;var z=function(){function t(){}return t.apply=function(t,e){return t.apply(null,e)},t.bind=function(t,e){return t.bind(e)},t}();e.FunctionWrapper=z,e.looseIdentical=w,e.getMapKey=E,e.normalizeBlank=S,e.normalizeBool=C,e.isJsObject=P,e.print=O,e.warn=A;var q=function(){function t(){}return t.parse=function(t){return L.JSON.parse(t)},t.stringify=function(t){return L.JSON.stringify(t,null,2)},t}();e.Json=q;var $=function(){function t(){}return t.create=function(t,n,r,i,o,s,a){return void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0),new e.Date(t,n-1,r,i,o,s,a)},t.fromISOString=function(t){return new e.Date(t)},t.fromMillis=function(t){return new e.Date(t)},t.toMillis=function(t){return t.getTime()},t.now=function(){return new e.Date},t.toJson=function(t){return t.toJSON()},t}();e.DateWrapper=$,e.setValueOnPath=T;var K=null;e.getSymbolIterator=x,e.evalExpression=R,e.isPrimitive=I,e.hasConstructor=M,e.escape=N,e.escapeRegExp=k}).call(e,function(){return this}())},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(149),o=n(26),s=n(147),a=n(473),u=function(t){function e(n,r,i){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.empty;break;case 1:if(!n){this.destination=a.empty;break}if("object"==typeof n){n instanceof e?(this.destination=n,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,n));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,n,r,i)}}return r(e,t),e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.isUnsubscribed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype[s.$$rxSubscriber]=function(){return this},e}(o.Subscription);e.Subscriber=u;var c=function(t){function e(e,n,r,o){t.call(this),this._parent=e;var s,a=this;i.isFunction(n)?s=n:n&&(a=n,s=n.next,r=n.error,o=n.complete,i.isFunction(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this)),this._context=a,this._next=s,this._error=r,this._complete=o}return r(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parent;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parent;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){if(!this.isStopped){var t=this._parent;this._complete?t.syncErrorThrowable?(this.__tryOrSetError(t,this._complete),this.unsubscribe()):(this.__tryOrUnsub(this._complete),this.unsubscribe()):this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){throw this.unsubscribe(),n}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(r){return t.syncErrorValue=r,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parent;this._context=null,this._parent=null,t.unsubscribe()},e}(u)},function(t,e){(function(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
	 */
"use strict";function n(t){Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function r(t){return t.name?t.name:typeof t}function i(t){return void 0!==t&&null!==t}function o(t){return void 0===t||null===t}function s(t){return"boolean"==typeof t}function a(t){return"number"==typeof t}function u(t){return"string"==typeof t}function c(t){return"function"==typeof t}function p(t){return c(t)}function l(t){return"object"==typeof t&&null!==t}function f(t){return l(t)&&Object.getPrototypeOf(t)===j}function h(t){return i(t)&&c(t.then)}function d(t){return Array.isArray(t)}function v(t){return t instanceof e.Date&&!isNaN(t.valueOf())}function y(){}function m(t){if("string"==typeof t)return t;if(void 0===t||null===t)return""+t;if(t.overriddenName)return t.overriddenName;if(t.name)return t.name;var e=t.toString(),n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function g(t){return t}function _(t,e){return t}function b(t,e){return t[e]}function w(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function E(t){return t}function S(t){return o(t)?null:t}function C(t){return o(t)?!1:t}function P(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function O(t){console.log(t)}function A(t){console.warn(t)}function T(t,e,n){for(var r=e.split("."),o=t;r.length>1;){var s=r.shift();o=o.hasOwnProperty(s)&&i(o[s])?o[s]:o[s]={}}(void 0===o||null===o)&&(o={}),o[r.shift()]=n}function x(){if(o(K))if(i(D.Symbol)&&i(Symbol.iterator))K=Symbol.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),e=0;e=0&&t[r]==e;r--)n--;t=t.substring(0,n)}return t},t.replace=function(t,e,n){return t.replace(e,n)},t.replaceAll=function(t,e,n){return t.replace(e,n)},t.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.replaceAllMapped=function(t,e,n){return t.replace(e,function(){for(var t=[],e=0;et?-1:t>e?1:0},t}();e.StringWrapper=F;var B=function(){function t(t){void 0===t&&(t=[]),this.parts=t}return t.prototype.add=function(t){this.parts.push(t)},t.prototype.toString=function(){return this.parts.join("")},t}();e.StringJoiner=B;var U=function(t){function e(e){t.call(this),this.message=e}return V(e,t),e.prototype.toString=function(){return this.message},e}(Error);e.NumberParseError=U;var W=function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new U("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new U("Invalid integer literal when parsing "+t+" in base "+e)},t.parseFloat=function(t){return parseFloat(t)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}();e.NumberWrapper=W,e.RegExp=L.RegExp;var H=function(){function t(){}return t.create=function(t,e){return void 0===e&&(e=""),e=e.replace(/g/g,""),new L.RegExp(t,e+"g")},t.firstMatch=function(t,e){return t.lastIndex=0,t.exec(e)},t.test=function(t,e){return t.lastIndex=0,t.test(e)},t.matcher=function(t,e){return t.lastIndex=0,{re:t,input:e}},t.replaceAll=function(t,e,n){var r=t.exec(e),i="";t.lastIndex=0;for(var o=0;r;)i+=e.substring(o,r.index),i+=n(r),o=r.index+r[0].length,t.lastIndex=o,r=t.exec(e);return i+=e.substring(o)},t}();e.RegExpWrapper=H;var G=function(){function t(){}return t.next=function(t){return t.re.exec(t.input)},t}();e.RegExpMatcherWrapper=G;var z=function(){function t(){}return t.apply=function(t,e){return t.apply(null,e)},t.bind=function(t,e){return t.bind(e)},t}();e.FunctionWrapper=z,e.looseIdentical=w,e.getMapKey=E,e.normalizeBlank=S,e.normalizeBool=C,e.isJsObject=P,e.print=O,e.warn=A;var q=function(){function t(){}return t.parse=function(t){return L.JSON.parse(t)},t.stringify=function(t){return L.JSON.stringify(t,null,2)},t}();e.Json=q;var $=function(){function t(){}return t.create=function(t,n,r,i,o,s,a){return void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0),new e.Date(t,n-1,r,i,o,s,a)},t.fromISOString=function(t){return new e.Date(t)},t.fromMillis=function(t){return new e.Date(t)},t.toMillis=function(t){return t.getTime()},t.now=function(){return new e.Date},t.toJson=function(t){return t.toJSON()},t}();e.DateWrapper=$,e.setValueOnPath=T;var K=null;e.getSymbolIterator=x,e.evalExpression=R,e.isPrimitive=I,e.hasConstructor=M,e.escape=N,e.escapeRegExp=k}).call(e,function(){return this}())},function(t,e,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
	 */
"use strict";function r(t,e){if(a.isPresent(t))for(var n=0;n-1?(t.splice(n,1),!0):!1},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=null),t.fill(e,n,null===r?t.length:r)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;nr&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return r(t,e),e},t.addAll=function(t,e){for(var n=0;nf&&!l.isUnsubscribed;f++)l.next(e[f]);l.isUnsubscribed||l.complete()}else{if(s.isPromise(e))return e.then(function(t){l.isUnsubscribed||(l.next(t),l.complete())},function(t){return l.error(t)}).then(null,function(t){i.root.setTimeout(function(){throw t})}),l;if("function"==typeof e[u.$$iterator]){for(var d=0,v=e;d1;){var s=r.shift();o=o.hasOwnProperty(s)&&i(o[s])?o[s]:o[s]={}}(void 0===o||null===o)&&(o={}),o[r.shift()]=n}function x(){if(o(K))if(i(D.Symbol)&&i(Symbol.iterator))K=Symbol.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),e=0;e=0&&t[r]==e;r--)n--;t=t.substring(0,n)}return t},t.replace=function(t,e,n){return t.replace(e,n)},t.replaceAll=function(t,e,n){return t.replace(e,n)},t.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.replaceAllMapped=function(t,e,n){return t.replace(e,function(){for(var t=[],e=0;et?-1:t>e?1:0},t}();e.StringWrapper=F;var B=function(){function t(t){void 0===t&&(t=[]),this.parts=t}return t.prototype.add=function(t){this.parts.push(t)},t.prototype.toString=function(){return this.parts.join("")},t}();e.StringJoiner=B;var U=function(t){function e(e){t.call(this),this.message=e}return V(e,t),e.prototype.toString=function(){return this.message},e}(Error);e.NumberParseError=U;var W=function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new U("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new U("Invalid integer literal when parsing "+t+" in base "+e)},t.parseFloat=function(t){return parseFloat(t)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}();e.NumberWrapper=W,e.RegExp=L.RegExp;var H=function(){function t(){}return t.create=function(t,e){return void 0===e&&(e=""),e=e.replace(/g/g,""),new L.RegExp(t,e+"g")},t.firstMatch=function(t,e){return t.lastIndex=0,t.exec(e)},t.test=function(t,e){return t.lastIndex=0,t.test(e)},t.matcher=function(t,e){return t.lastIndex=0,{re:t,input:e}},t.replaceAll=function(t,e,n){var r=t.exec(e),i="";t.lastIndex=0;for(var o=0;r;)i+=e.substring(o,r.index),i+=n(r),o=r.index+r[0].length,t.lastIndex=o,r=t.exec(e);return i+=e.substring(o)},t}();e.RegExpWrapper=H;var G=function(){function t(){}return t.next=function(t){return t.re.exec(t.input)},t}();e.RegExpMatcherWrapper=G;var z=function(){function t(){}return t.apply=function(t,e){return t.apply(null,e)},t.bind=function(t,e){return t.bind(e)},t}();e.FunctionWrapper=z,e.looseIdentical=w,e.getMapKey=E,e.normalizeBlank=S,e.normalizeBool=C,e.isJsObject=P,e.print=O,e.warn=A;var q=function(){function t(){}return t.parse=function(t){return L.JSON.parse(t)},t.stringify=function(t){return L.JSON.stringify(t,null,2)},t}();e.Json=q;var $=function(){function t(){}return t.create=function(t,n,r,i,o,s,a){return void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0),new e.Date(t,n-1,r,i,o,s,a)},t.fromISOString=function(t){return new e.Date(t)},t.fromMillis=function(t){return new e.Date(t)},t.toMillis=function(t){return t.getTime()},t.now=function(){return new e.Date},t.toJson=function(t){return t.toJSON()},t}();e.DateWrapper=$,e.setValueOnPath=T;var K=null;e.getSymbolIterator=x,e.evalExpression=R,e.isPrimitive=I,e.hasConstructor=M,e.escape=N,e.escapeRegExp=k}).call(e,function(){return this}())},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(1),o=n(5),s=n(26),a=n(476),u=n(147),c=n(357),p=n(224),l=function(t){function e(e,n){t.call(this),this.destination=e,this.source=n,this.observers=[],this.isUnsubscribed=!1,this.isStopped=!1,this.hasErrored=!1,this.dispatching=!1,this.hasCompleted=!1,this.source=n}return r(e,t),e.prototype.lift=function(t){var n=new e(this.destination||this,this);return n.operator=t,n},e.prototype.add=function(t){return s.Subscription.prototype.add.call(this,t)},e.prototype.remove=function(t){s.Subscription.prototype.remove.call(this,t)},e.prototype.unsubscribe=function(){s.Subscription.prototype.unsubscribe.call(this)},e.prototype._subscribe=function(t){if(this.source)return this.source.subscribe(t);if(!t.isUnsubscribed){if(this.hasErrored)return t.error(this.errorValue);if(this.hasCompleted)return t.complete();this.throwIfUnsubscribed();var e=new a.SubjectSubscription(this,t);return this.observers.push(t),e}},e.prototype._unsubscribe=function(){this.source=null,this.isStopped=!0,this.observers=null,this.destination=null},e.prototype.next=function(t){this.throwIfUnsubscribed(),this.isStopped||(this.dispatching=!0,this._next(t),this.dispatching=!1,this.hasErrored?this._error(this.errorValue):this.hasCompleted&&this._complete())},e.prototype.error=function(t){this.throwIfUnsubscribed(),this.isStopped||(this.isStopped=!0,this.hasErrored=!0,this.errorValue=t,this.dispatching||this._error(t))},e.prototype.complete=function(){this.throwIfUnsubscribed(),this.isStopped||(this.isStopped=!0,this.hasCompleted=!0,this.dispatching||this._complete())},e.prototype.asObservable=function(){var t=new f(this);return t},e.prototype._next=function(t){this.destination?this.destination.next(t):this._finalNext(t)},e.prototype._finalNext=function(t){for(var e=-1,n=this.observers.slice(0),r=n.length;++e-1?(t.splice(n,1),!0):!1},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=null),t.fill(e,n,null===r?t.length:r)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;nr&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return r(t,e),e},t.addAll=function(t,e){for(var n=0;n1;){var s=r.shift();o=o.hasOwnProperty(s)&&i(o[s])?o[s]:o[s]={}}(void 0===o||null===o)&&(o={}),o[r.shift()]=n}function x(){if(o(K))if(i(D.Symbol)&&i(Symbol.iterator))K=Symbol.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),e=0;e=0&&t[r]==e;r--)n--;t=t.substring(0,n)}return t},t.replace=function(t,e,n){return t.replace(e,n)},t.replaceAll=function(t,e,n){return t.replace(e,n)},t.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.replaceAllMapped=function(t,e,n){return t.replace(e,function(){for(var t=[],e=0;et?-1:t>e?1:0},t}();e.StringWrapper=F;var B=function(){function t(t){void 0===t&&(t=[]),this.parts=t}return t.prototype.add=function(t){this.parts.push(t)},t.prototype.toString=function(){return this.parts.join("")},t}();e.StringJoiner=B;var U=function(t){function e(e){t.call(this),this.message=e}return V(e,t),e.prototype.toString=function(){return this.message},e}(Error);e.NumberParseError=U;var W=function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new U("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new U("Invalid integer literal when parsing "+t+" in base "+e)},t.parseFloat=function(t){return parseFloat(t)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}();e.NumberWrapper=W,e.RegExp=L.RegExp;var H=function(){function t(){}return t.create=function(t,e){return void 0===e&&(e=""),e=e.replace(/g/g,""),new L.RegExp(t,e+"g")},t.firstMatch=function(t,e){return t.lastIndex=0,t.exec(e)},t.test=function(t,e){return t.lastIndex=0,t.test(e)},t.matcher=function(t,e){return t.lastIndex=0,{re:t,input:e}},t.replaceAll=function(t,e,n){var r=t.exec(e),i="";t.lastIndex=0;for(var o=0;r;)i+=e.substring(o,r.index),i+=n(r),o=r.index+r[0].length,t.lastIndex=o,r=t.exec(e);return i+=e.substring(o)},t}();e.RegExpWrapper=H;var G=function(){function t(){}return t.next=function(t){return t.re.exec(t.input)},t}();e.RegExpMatcherWrapper=G;var z=function(){function t(){}return t.apply=function(t,e){return t.apply(null,e)},t.bind=function(t,e){return t.bind(e)},t}();e.FunctionWrapper=z,e.looseIdentical=w,e.getMapKey=E,e.normalizeBlank=S,e.normalizeBool=C,e.isJsObject=P,e.print=O,e.warn=A;var q=function(){function t(){}return t.parse=function(t){return L.JSON.parse(t)},t.stringify=function(t){return L.JSON.stringify(t,null,2)},t}();e.Json=q;var $=function(){function t(){}return t.create=function(t,n,r,i,o,s,a){return void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0),new e.Date(t,n-1,r,i,o,s,a)},t.fromISOString=function(t){return new e.Date(t)},t.fromMillis=function(t){return new e.Date(t)},t.toMillis=function(t){return t.getTime()},t.now=function(){return new e.Date},t.toJson=function(t){return t.toJSON()},t}();e.DateWrapper=$,e.setValueOnPath=T;var K=null;e.getSymbolIterator=x,e.evalExpression=R,e.isPrimitive=I,e.hasConstructor=M,e.escape=N,e.escapeRegExp=k}).call(e,function(){return this}())},function(t,e,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
	 */
"use strict";function r(t){var e=h.CssSelector.parse(t.selector)[0].getMatchingElementTemplate();return B.create({type:new V({runtime:Object,name:t.type.name+"_Host",moduleUrl:t.type.moduleUrl,isHost:!0}),template:new F({template:e,templateUrl:"",styles:[],styleUrls:[],ngContentSelectors:[],animations:[]}),changeDetection:u.ChangeDetectionStrategy.Default,inputs:[],outputs:[],host:{},isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],viewQueries:[]})}function i(t){var e=new D;return t.forEach(function(t){e.get(t)||e.add(t,t)}),e.keys()}function o(t){return f.isPresent(t)?t:[]}function s(t){return f.isStringMap(t)&&f.isPresent(t.name)&&f.isPresent(t.filePath)}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n(2),c=n(17),p=n(7),l=n(14),f=n(4),h=n(175),d=n(68),v=n(23),y=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/g,m=new Object,g=function(){function t(){}return Object.defineProperty(t.prototype,"identifier",{get:function(){return l.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"runtimeCacheKey",{get:function(){return l.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"assetCacheKey",{get:function(){return l.unimplemented()},enumerable:!0,configurable:!0}),t.prototype.equalsTo=function(t){return l.unimplemented()},t}();e.CompileMetadataWithIdentifier=g;var _=function(){function t(t,e){void 0===t&&(t=null),void 0===e&&(e=null),this.name=t,this.definitions=e}return t}();e.CompileAnimationEntryMetadata=_;var b=function(){function t(){}return t}();e.CompileAnimationStateMetadata=b;var w=function(t){function e(e,n){t.call(this),this.stateNameExpr=e,this.styles=n}return a(e,t),e}(b);e.CompileAnimationStateDeclarationMetadata=w;var E=function(t){function e(e,n){t.call(this),this.stateChangeExpr=e,this.steps=n}return a(e,t),e}(b);e.CompileAnimationStateTransitionMetadata=E;var S=function(){function t(){}return t}();e.CompileAnimationMetadata=S;var C=function(t){function e(e){void 0===e&&(e=[]),t.call(this),this.steps=e}return a(e,t),e}(S);e.CompileAnimationKeyframesSequenceMetadata=C;var P=function(t){function e(e,n){void 0===n&&(n=null),t.call(this),this.offset=e,this.styles=n}return a(e,t),e}(S);e.CompileAnimationStyleMetadata=P;var O=function(t){function e(e,n){void 0===e&&(e=0),void 0===n&&(n=null),t.call(this),this.timings=e,this.styles=n}return a(e,t),e}(S);e.CompileAnimationAnimateMetadata=O;var A=function(t){function e(e){void 0===e&&(e=null),t.call(this),this.steps=e}return a(e,t),e}(S);e.CompileAnimationWithStepsMetadata=A;var T=function(t){function e(e){void 0===e&&(e=null),t.call(this,e)}return a(e,t),e}(A);e.CompileAnimationSequenceMetadata=T;var x=function(t){function e(e){void 0===e&&(e=null),t.call(this,e)}return a(e,t),e}(A);e.CompileAnimationGroupMetadata=x;var R=function(){function t(t){var e=void 0===t?{}:t,n=e.runtime,r=e.name,i=e.moduleUrl,o=e.prefix,s=e.value;this._assetCacheKey=m,this.runtime=n,this.name=r,this.prefix=o,this.moduleUrl=i,this.value=s}return Object.defineProperty(t.prototype,"identifier",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"runtimeCacheKey",{get:function(){return this.identifier.runtime},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"assetCacheKey",{get:function(){if(this._assetCacheKey===m)if(f.isPresent(this.moduleUrl)&&f.isPresent(d.getUrlScheme(this.moduleUrl))){var t=c.reflector.importUri({filePath:this.moduleUrl,name:this.name});this._assetCacheKey=this.name+"|"+t}else this._assetCacheKey=null;return this._assetCacheKey},enumerable:!0,configurable:!0}),t.prototype.equalsTo=function(t){var e=this.runtimeCacheKey,n=this.assetCacheKey;return f.isPresent(e)&&e==t.runtimeCacheKey||f.isPresent(n)&&n==t.assetCacheKey},t}();e.CompileIdentifierMetadata=R;var I=function(){function t(t){var e=void 0===t?{}:t,n=e.isAttribute,r=e.isSelf,i=e.isHost,o=e.isSkipSelf,s=e.isOptional,a=e.isValue,u=e.query,c=e.viewQuery,p=e.token,l=e.value;this.isAttribute=f.normalizeBool(n),this.isSelf=f.normalizeBool(r),this.isHost=f.normalizeBool(i),this.isSkipSelf=f.normalizeBool(o),this.isOptional=f.normalizeBool(s),this.isValue=f.normalizeBool(a),this.query=u,this.viewQuery=c,this.token=p,this.value=l}return t}();e.CompileDiDependencyMetadata=I;var M=function(){function t(t){var e=t.token,n=t.useClass,r=t.useValue,i=t.useExisting,o=t.useFactory,s=t.deps,a=t.multi;this.token=e,this.useClass=n,this.useValue=r,this.useExisting=i,this.useFactory=o,this.deps=f.normalizeBlank(s),this.multi=f.normalizeBool(a)}return t}();e.CompileProviderMetadata=M;var N=function(t){function e(e){var n=e.runtime,r=e.name,i=e.moduleUrl,s=e.prefix,a=e.diDeps,u=e.value;t.call(this,{runtime:n,name:r,prefix:s,moduleUrl:i,value:u}),this.diDeps=o(a)}return a(e,t),e}(R);e.CompileFactoryMetadata=N;var k=function(){function t(t){var e=t.value,n=t.identifier,r=t.identifierIsInstance;this.value=e,this.identifier=n,this.identifierIsInstance=f.normalizeBool(r)}return Object.defineProperty(t.prototype,"runtimeCacheKey",{get:function(){return f.isPresent(this.identifier)?this.identifier.runtimeCacheKey:this.value},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"assetCacheKey",{get:function(){return f.isPresent(this.identifier)?this.identifier.assetCacheKey:this.value},enumerable:!0,configurable:!0}),t.prototype.equalsTo=function(t){var e=this.runtimeCacheKey,n=this.assetCacheKey;return f.isPresent(e)&&e==t.runtimeCacheKey||f.isPresent(n)&&n==t.assetCacheKey},Object.defineProperty(t.prototype,"name",{get:function(){return f.isPresent(this.value)?v.sanitizeIdentifier(this.value):this.identifier.name},enumerable:!0,configurable:!0}),t}();e.CompileTokenMetadata=k;var D=function(){function t(){this._valueMap=new Map,this._values=[],this._tokens=[]}return t.prototype.add=function(t,e){var n=this.get(t);if(f.isPresent(n))throw new l.BaseException("Cannot overwrite in a CompileIdentifierMap! Token: "+t.identifier.name);this._tokens.push(t),this._values.push(e);var r=t.runtimeCacheKey;f.isPresent(r)&&this._valueMap.set(r,e);var i=t.assetCacheKey;f.isPresent(i)&&this._valueMap.set(i,e)},t.prototype.get=function(t){var e,n=t.runtimeCacheKey,r=t.assetCacheKey;return f.isPresent(n)&&(e=this._valueMap.get(n)),f.isBlank(e)&&f.isPresent(r)&&(e=this._valueMap.get(r)),e},t.prototype.keys=function(){return this._tokens},t.prototype.values=function(){return this._values},Object.defineProperty(t.prototype,"size",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),t}();e.CompileIdentifierMap=D;var V=function(t){function e(e){var n=void 0===e?{}:e,r=n.runtime,i=n.name,s=n.moduleUrl,a=n.prefix,u=n.isHost,c=n.value,p=n.diDeps,l=n.lifecycleHooks;t.call(this,{runtime:r,name:i,moduleUrl:s,prefix:a,value:c}),this.isHost=f.normalizeBool(u),this.diDeps=o(p),this.lifecycleHooks=o(l)}return a(e,t),e}(R);e.CompileTypeMetadata=V;var L=function(){function t(t){var e=void 0===t?{}:t,n=e.selectors,r=e.descendants,i=e.first,o=e.propertyName,s=e.read;this.selectors=n,this.descendants=f.normalizeBool(r),this.first=f.normalizeBool(i),this.propertyName=o,this.read=s}return t}();e.CompileQueryMetadata=L;var j=function(){function t(t){var e=void 0===t?{}:t,n=e.moduleUrl,r=e.styles,i=e.styleUrls;this.moduleUrl=n,this.styles=o(r),this.styleUrls=o(i)}return t}();e.CompileStylesheetMetadata=j;var F=function(){function t(t){var e=void 0===t?{}:t,n=e.encapsulation,r=e.template,i=e.templateUrl,s=e.styles,a=e.styleUrls,u=e.externalStylesheets,c=e.animations,h=e.ngContentSelectors,d=e.interpolation;if(this.encapsulation=n,this.template=r,this.templateUrl=i,this.styles=o(s),this.styleUrls=o(a),this.externalStylesheets=o(u),this.animations=f.isPresent(c)?p.ListWrapper.flatten(c):[],this.ngContentSelectors=f.isPresent(h)?h:[],f.isPresent(d)&&2!=d.length)throw new l.BaseException("'interpolation' should have a start and an end symbol.");this.interpolation=d}return t}();e.CompileTemplateMetadata=F;var B=function(){function t(t){var e=void 0===t?{}:t,n=e.type,r=e.isComponent,i=e.selector,s=e.exportAs,a=e.changeDetection,u=e.inputs,c=e.outputs,p=e.hostListeners,l=e.hostProperties,f=e.hostAttributes,h=e.providers,d=e.viewProviders,v=e.queries,y=e.viewQueries,m=e.entryComponents,g=e.viewDirectives,_=e.viewPipes,b=e.template;this.type=n,this.isComponent=r,this.selector=i,this.exportAs=s,this.changeDetection=a,this.inputs=u,this.outputs=c,this.hostListeners=p,this.hostProperties=l,this.hostAttributes=f,this.providers=o(h),this.viewProviders=o(d),this.queries=o(v),this.viewQueries=o(y),this.entryComponents=o(m),this.viewDirectives=o(g),this.viewPipes=o(_),this.template=b}return t.create=function(e){var n=void 0===e?{}:e,r=n.type,i=n.isComponent,o=n.selector,s=n.exportAs,a=n.changeDetection,u=n.inputs,c=n.outputs,l=n.host,h=n.providers,d=n.viewProviders,m=n.queries,g=n.viewQueries,_=n.entryComponents,b=n.viewDirectives,w=n.viewPipes,E=n.template,S={},C={},P={};f.isPresent(l)&&p.StringMapWrapper.forEach(l,function(t,e){var n=f.RegExpWrapper.firstMatch(y,e);f.isBlank(n)?P[e]=t:f.isPresent(n[1])?C[n[1]]=t:f.isPresent(n[2])?S[n[2]]=t:f.isPresent(n[3])&&(C[n[3]]=t)});var O={};f.isPresent(u)&&u.forEach(function(t){var e=v.splitAtColon(t,[t,t]);O[e[0]]=e[1]});var A={};return f.isPresent(c)&&c.forEach(function(t){var e=v.splitAtColon(t,[t,t]);A[e[0]]=e[1]}),new t({type:r,isComponent:f.normalizeBool(i),selector:o,exportAs:s,changeDetection:a,inputs:O,outputs:A,hostListeners:S,hostProperties:C,hostAttributes:P,providers:h,viewProviders:d,queries:m,viewQueries:g,entryComponents:_,viewDirectives:b,viewPipes:w,template:E})},Object.defineProperty(t.prototype,"identifier",{get:function(){return this.type},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"runtimeCacheKey",{get:function(){return this.type.runtimeCacheKey},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"assetCacheKey",{get:function(){return this.type.assetCacheKey},enumerable:!0,configurable:!0}),t.prototype.equalsTo=function(t){return this.type.equalsTo(t.identifier)},t}();e.CompileDirectiveMetadata=B,e.createHostComponentMeta=r;var U=function(){function t(t){var e=void 0===t?{}:t,n=e.type,r=e.name,i=e.pure;this.type=n,this.name=r,this.pure=f.normalizeBool(i)}return Object.defineProperty(t.prototype,"identifier",{get:function(){return this.type},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"runtimeCacheKey",{get:function(){return this.type.runtimeCacheKey},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"assetCacheKey",{get:function(){return this.type.assetCacheKey},enumerable:!0,configurable:!0}),t.prototype.equalsTo=function(t){return this.type.equalsTo(t.identifier)},t}();e.CompilePipeMetadata=U;var W=function(){function t(t){var e=void 0===t?{}:t,n=e.type,r=e.providers,i=e.declaredDirectives,s=e.exportedDirectives,a=e.declaredPipes,u=e.exportedPipes,c=e.entryComponents,p=e.bootstrapComponents,l=e.importedModules,f=e.exportedModules,h=e.schemas,d=e.transitiveModule;this.type=n,this.declaredDirectives=o(i),this.exportedDirectives=o(s),this.declaredPipes=o(a),this.exportedPipes=o(u),this.providers=o(r),this.entryComponents=o(c),this.bootstrapComponents=o(p),this.importedModules=o(l),this.exportedModules=o(f),this.schemas=o(h),this.transitiveModule=d}return Object.defineProperty(t.prototype,"identifier",{get:function(){return this.type},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"runtimeCacheKey",{get:function(){return this.type.runtimeCacheKey},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"assetCacheKey",{get:function(){return this.type.assetCacheKey},enumerable:!0,configurable:!0}),t.prototype.equalsTo=function(t){return this.type.equalsTo(t.identifier)},t}();e.CompileNgModuleMetadata=W;var H=function(){function t(t,e,n,r,i){var o=this;this.modules=t,this.providers=e,this.entryComponents=n,this.directives=r,this.pipes=i,this.directivesSet=new Set,this.pipesSet=new Set,r.forEach(function(t){return o.directivesSet.add(t.type.runtime)}),i.forEach(function(t){return o.pipesSet.add(t.type.runtime)})}return t}();e.TransitiveCompileNgModuleMetadata=H,e.removeIdentifierDuplicates=i,e.isStaticSymbol=s},function(t,e,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
	 */
"use strict";function r(t,e){if(a.isPresent(t))for(var n=0;n-1?(t.splice(n,1),!0):!1},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=null),t.fill(e,n,null===r?t.length:r)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;nr&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return r(t,e),e},t.addAll=function(t,e){for(var n=0;n-1?(t.splice(n,1),!0):!1},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=null),t.fill(e,n,null===r?t.length:r)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;nr&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return r(t,e),e},t.addAll=function(t,e){for(var n=0;n1;){var s=r.shift();o=o.hasOwnProperty(s)&&i(o[s])?o[s]:o[s]={}}(void 0===o||null===o)&&(o={}),o[r.shift()]=n}function x(){if(o(K))if(i(D.Symbol)&&i(Symbol.iterator))K=Symbol.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),e=0;e=0&&t[r]==e;r--)n--;t=t.substring(0,n)}return t},t.replace=function(t,e,n){return t.replace(e,n)},t.replaceAll=function(t,e,n){return t.replace(e,n)},t.slice=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=null),t.slice(e,null===n?void 0:n)},t.replaceAllMapped=function(t,e,n){return t.replace(e,function(){for(var t=[],e=0;et?-1:t>e?1:0},t}();e.StringWrapper=F;var B=function(){function t(t){void 0===t&&(t=[]),this.parts=t}return t.prototype.add=function(t){this.parts.push(t)},t.prototype.toString=function(){return this.parts.join("")},t}();e.StringJoiner=B;var U=function(t){function e(e){t.call(this),this.message=e}return V(e,t),e.prototype.toString=function(){return this.message},e}(Error);e.NumberParseError=U;var W=function(){function t(){}return t.toFixed=function(t,e){return t.toFixed(e)},t.equal=function(t,e){return t===e},t.parseIntAutoRadix=function(t){var e=parseInt(t);if(isNaN(e))throw new U("Invalid integer literal when parsing "+t);return e},t.parseInt=function(t,e){if(10==e){if(/^(\-|\+)?[0-9]+$/.test(t))return parseInt(t,e)}else if(16==e){if(/^(\-|\+)?[0-9ABCDEFabcdef]+$/.test(t))return parseInt(t,e)}else{var n=parseInt(t,e);if(!isNaN(n))return n}throw new U("Invalid integer literal when parsing "+t+" in base "+e)},t.parseFloat=function(t){return parseFloat(t)},Object.defineProperty(t,"NaN",{get:function(){return NaN},enumerable:!0,configurable:!0}),t.isNumeric=function(t){return!isNaN(t-parseFloat(t))},t.isNaN=function(t){return isNaN(t)},t.isInteger=function(t){return Number.isInteger(t)},t}();e.NumberWrapper=W,e.RegExp=L.RegExp;var H=function(){function t(){}return t.create=function(t,e){return void 0===e&&(e=""),e=e.replace(/g/g,""),new L.RegExp(t,e+"g")},t.firstMatch=function(t,e){return t.lastIndex=0,t.exec(e)},t.test=function(t,e){return t.lastIndex=0,t.test(e)},t.matcher=function(t,e){return t.lastIndex=0,{re:t,input:e}},t.replaceAll=function(t,e,n){var r=t.exec(e),i="";t.lastIndex=0;for(var o=0;r;)i+=e.substring(o,r.index),i+=n(r),o=r.index+r[0].length,t.lastIndex=o,r=t.exec(e);return i+=e.substring(o)},t}();e.RegExpWrapper=H;var G=function(){function t(){}return t.next=function(t){return t.re.exec(t.input)},t}();e.RegExpMatcherWrapper=G;var z=function(){function t(){}return t.apply=function(t,e){return t.apply(null,e)},t.bind=function(t,e){return t.bind(e)},t}();e.FunctionWrapper=z,e.looseIdentical=w,e.getMapKey=E,e.normalizeBlank=S,e.normalizeBool=C,e.isJsObject=P,e.print=O,e.warn=A;var q=function(){function t(){}return t.parse=function(t){return L.JSON.parse(t)},t.stringify=function(t){return L.JSON.stringify(t,null,2)},t}();e.Json=q;var $=function(){function t(){}return t.create=function(t,n,r,i,o,s,a){return void 0===n&&(n=1),void 0===r&&(r=1),void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=0),void 0===a&&(a=0),new e.Date(t,n-1,r,i,o,s,a)},t.fromISOString=function(t){return new e.Date(t)},t.fromMillis=function(t){return new e.Date(t)},t.toMillis=function(t){return t.getTime()},t.now=function(){return new e.Date},t.toJson=function(t){return t.toJSON()},t}();e.DateWrapper=$,e.setValueOnPath=T;var K=null;e.getSymbolIterator=x,e.evalExpression=R,e.isPrimitive=I,e.hasConstructor=M,e.escape=N,e.escapeRegExp=k}).call(e,function(){return this}())},function(t,e){"use strict";e.errorObject={e:{}}},function(t,e,n){"use strict";var r=n(52),i=n(354),o=n(149),s=n(27),a=n(25),u=n(353),c=function(){function t(t){this.isUnsubscribed=!1,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.isUnsubscribed){this.isUnsubscribed=!0;var n=this,c=n._unsubscribe,p=n._subscriptions;if(this._subscriptions=null,o.isFunction(c)){var l=s.tryCatch(c).call(this);l===a.errorObject&&(e=!0,(t=t||[]).push(a.errorObject.e))}if(r.isArray(p))for(var f=-1,h=p.length;++f-1?(t.splice(n,1),!0):!1},t.clear=function(t){t.length=0},t.isEmpty=function(t){return 0==t.length},t.fill=function(t,e,n,r){void 0===n&&(n=0),void 0===r&&(r=null),t.fill(e,n,null===r?t.length:r)},t.equals=function(t,e){if(t.length!=e.length)return!1;for(var n=0;nr&&(n=o,r=s)}}return n},t.flatten=function(t){var e=[];return r(t,e),e},t.addAll=function(t,e){for(var n=0;ne?{maxlength:{requiredLength:e,actualLength:r.length}}:null}},t.pattern=function(e){return function(n){if(p.isPresent(t.required(n)))return null;var r=new RegExp("^"+e+"$"),i=n.value;return r.test(i)?null:{pattern:{requiredPattern:"^"+e+"$",actualValue:i}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(p.isBlank(t))return null;var e=t.filter(p.isPresent);return 0==e.length?null:function(t){return s(i(t,e))}},t.composeAsync=function(t){if(p.isBlank(t))return null;var e=t.filter(p.isPresent);return 0==e.length?null:function(t){var n=o(t,e).map(r);return l.PromiseWrapper.all(n).then(s)}},t}();e.Validators=f},function(t,e,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
	 */
"use strict";var r=n(2),i=n(83),o=n(48),s=n(11),a=n(87),u=n(210);e.PRIMITIVE=String;var c=function(){function t(t){this._renderStore=t}return t.prototype.serialize=function(t,n){var i=this;if(!s.isPresent(t))return null;if(s.isArray(t))return t.map(function(t){return i.serialize(t,n)});if(n==e.PRIMITIVE)return t;if(n==p)return this._renderStore.serialize(t);if(n===r.RenderComponentType)return this._serializeRenderComponentType(t);if(n===r.ViewEncapsulation)return s.serializeEnum(t);if(n===u.LocationType)return this._serializeLocation(t);throw new o.BaseException("No serializer for "+n.toString())},t.prototype.deserialize=function(t,n,a){var c=this;if(!s.isPresent(t))return null;if(s.isArray(t)){var l=[];return t.forEach(function(t){return l.push(c.deserialize(t,n,a))}),l}if(n==e.PRIMITIVE)return t;if(n==p)return this._renderStore.deserialize(t);if(n===r.RenderComponentType)return this._deserializeRenderComponentType(t);if(n===r.ViewEncapsulation)return i.VIEW_ENCAPSULATION_VALUES[t];if(n===u.LocationType)return this._deserializeLocation(t);throw new o.BaseException("No deserializer for "+n.toString())},t.prototype._serializeLocation=function(t){return{href:t.href,protocol:t.protocol,host:t.host,hostname:t.hostname,port:t.port,pathname:t.pathname,search:t.search,hash:t.hash,origin:t.origin}},t.prototype._deserializeLocation=function(t){return new u.LocationType(t.href,t.protocol,t.host,t.hostname,t.port,t.pathname,t.search,t.hash,t.origin)},t.prototype._serializeRenderComponentType=function(t){return{id:t.id,templateUrl:t.templateUrl,slotCount:t.slotCount,encapsulation:this.serialize(t.encapsulation,r.ViewEncapsulation),styles:this.serialize(t.styles,e.PRIMITIVE)}},t.prototype._deserializeRenderComponentType=function(t){return new r.RenderComponentType(t.id,t.templateUrl,t.slotCount,this.deserialize(t.encapsulation,r.ViewEncapsulation),this.deserialize(t.styles,e.PRIMITIVE),{})},t.decorators=[{type:r.Injectable}],t.ctorParameters=[{type:a.RenderStore}],t}();e.Serializer=c;var p=function(){function t(){}return t}();e.RenderStoreObject=p},function(t,e,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
	 */
"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}var i=n(2),o=n(226),s=n(240);r(n(240)),r(n(227)),r(n(359)),r(n(226)),r(n(361));var a=n(163);e.NgLocalization=a.NgLocalization;var u=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{declarations:[o.COMMON_DIRECTIVES,s.COMMON_PIPES],exports:[o.COMMON_DIRECTIVES,s.COMMON_PIPES]}]}],t}();e.CommonModule=u},function(t,e,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
	 */
"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(12),o=n(63),s=n(73),a=n(6),u=n(1);e.Observable=u.Observable;var c=n(12);e.Subject=c.Subject;var p=n(237);e.PromiseCompleter=p.PromiseCompleter,e.PromiseWrapper=p.PromiseWrapper;var l=function(){function t(){}return t.setTimeout=function(t,e){return a.global.setTimeout(t,e)},t.clearTimeout=function(t){a.global.clearTimeout(t)},t.setInterval=function(t,e){return a.global.setInterval(t,e)},t.clearInterval=function(t){a.global.clearInterval(t)},t}();e.TimerWrapper=l;var f=function(){function t(){}return t.subscribe=function(t,e,n,r){return void 0===r&&(r=function(){}),n="function"==typeof n&&n||a.noop,r="function"==typeof r&&r||a.noop,t.subscribe({next:e,error:n,complete:r})},t.isObservable=function(t){return!!t.subscribe},t.hasSubscribers=function(t){return t.observers.length>0},t.dispose=function(t){t.unsubscribe()},t.callNext=function(t,e){t.emit(e)},t.callEmit=function(t,e){t.emit(e)},t.callError=function(t,e){t.error(e)},t.callComplete=function(t){t.complete()},t.fromPromise=function(t){return o.PromiseObservable.create(t)},t.toPromise=function(t){return s.toPromise.call(t)},t}();e.ObservableWrapper=f;var h=function(t){function e(e){void 0===e&&(e=!1),t.call(this),this.__isAsync=e}return r(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.next=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var i,o=function(t){return null},s=function(){return null};return e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(o=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()})),t.prototype.subscribe.call(this,i,o,s)},e}(i.Subject);e.EventEmitter=h},function(t,e,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
	 */
"use strict";function r(t){return p.isPromise(t)?t:u.ObservableWrapper.toPromise(t)}function i(t,e){return e.map(function(e){return e(t)})}function o(t,e){return e.map(function(e){return e(t)})}function s(t){var e=t.reduce(function(t,e){return p.isPresent(e)?c.StringMapWrapper.merge(t,e):t},{});return c.StringMapWrapper.isEmpty(e)?null:e}var a=n(2),u=n(37),c=n(22),p=n(6),l=n(237);e.NG_VALIDATORS=new a.OpaqueToken("NgValidators"),e.NG_ASYNC_VALIDATORS=new a.OpaqueToken("NgAsyncValidators");var f=function(){function t(){}return t.required=function(t){return p.isBlank(t.value)||p.isString(t.value)&&""==t.value?{required:!0}:null},t.minLength=function(e){return function(n){if(p.isPresent(t.required(n)))return null;var r=n.value;return r.lengthe?{maxlength:{requiredLength:e,actualLength:r.length}}:null}},t.pattern=function(e){return function(n){if(p.isPresent(t.required(n)))return null;var r=new RegExp("^"+e+"$"),i=n.value;return r.test(i)?null:{pattern:{requiredPattern:"^"+e+"$",actualValue:i}}}},t.nullValidator=function(t){return null},t.compose=function(t){if(p.isBlank(t))return null;var e=t.filter(p.isPresent);return 0==e.length?null:function(t){return s(i(t,e))}},t.composeAsync=function(t){if(p.isBlank(t))return null;var e=t.filter(p.isPresent);return 0==e.length?null:function(t){var n=o(t,e).map(r);return l.PromiseWrapper.all(n).then(s)}},t}();e.Validators=f},function(t,e,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
	 */
"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(53),o=n(6),s=function(t){function e(e,n){t.call(this,"Invalid argument '"+n+"' for pipe '"+o.stringify(e)+"'")}return r(e,t),e}(i.BaseException);e.InvalidPipeArgumentException=s},function(t,e,n){"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=n(4),i=function(){function t(t,e,n,r){this.file=t,this.offset=e,this.line=n,this.col=r}return t.prototype.toString=function(){return r.isPresent(this.offset)?this.file.url+"@"+this.line+":"+this.col:this.file.url},t}();e.ParseLocation=i;var o=function(){function t(t,e){this.content=t,this.url=e}return t}();e.ParseSourceFile=o;var s=function(){function t(t,e,n){void 0===n&&(n=null),this.start=t,this.end=e,this.details=n}return t.prototype.toString=function(){return this.start.file.content.substring(this.start.offset,this.end.offset)},t}();e.ParseSourceSpan=s,function(t){t[t.WARNING=0]="WARNING",t[t.FATAL=1]="FATAL"}(e.ParseErrorLevel||(e.ParseErrorLevel={}));var a=e.ParseErrorLevel,u=function(){function t(t,e,n){void 0===n&&(n=a.FATAL),this.span=t,this.msg=e,this.level=n}return t.prototype.toString=function(){var t=this.span.start.file.content,e=this.span.start.offset,n="",i="";if(r.isPresent(e)){e>t.length-1&&(e=t.length-1);for(var o=e,s=0,a=0;100>s&&e>0&&(e--,s++,"\n"!=t[e]||3!=++a););for(s=0,a=0;100>s&&o]"+t.substring(this.span.start.offset,o+1);n=' ("'+u+'")'}return this.span.details&&(i=", "+this.span.details),""+this.msg+n+": "+this.span.start+i},t}();e.ParseError=u},function(t,e,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
	 */
"use strict";function r(t,e,n){void 0===n&&(n=null);var r=[];return e.forEach(function(e){var o=e.visit(t,n);i.isPresent(o)&&r.push(o)}),r}var i=n(4),o=function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}();e.TextAst=o;var s=function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitBoundText(this,e)},t}();e.BoundTextAst=s;var a=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitAttr(this,e)},t}();e.AttrAst=a;var u=function(){function t(t,e,n,r,i,o){this.name=t,this.type=e,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=o}return t.prototype.visit=function(t,e){return t.visitElementProperty(this,e)},t}();e.BoundElementPropertyAst=u;var c=function(){function t(t,e,n,r){this.name=t,this.target=e,this.handler=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitEvent(this,e)},Object.defineProperty(t.prototype,"fullName",{get:function(){return i.isPresent(this.target)?this.target+":"+this.name:this.name},enumerable:!0,configurable:!0}),t}();e.BoundEventAst=c;var p=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitReference(this,e)},t}();e.ReferenceAst=p;var l=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitVariable(this,e)},t}();e.VariableAst=l;var f=function(){function t(t,e,n,r,i,o,s,a,u,c,p){this.name=t,this.attrs=e,this.inputs=n,this.outputs=r,this.references=i,this.directives=o,this.providers=s,this.hasViewContainer=a,this.children=u,this.ngContentIndex=c,this.sourceSpan=p}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}();e.ElementAst=f;var h=function(){function t(t,e,n,r,i,o,s,a,u,c){this.attrs=t,this.outputs=e,this.references=n,this.variables=r,this.directives=i,this.providers=o,this.hasViewContainer=s,this.children=a,this.ngContentIndex=u,this.sourceSpan=c}return t.prototype.visit=function(t,e){return t.visitEmbeddedTemplate(this,e)},t}();e.EmbeddedTemplateAst=h;var d=function(){function t(t,e,n,r){this.directiveName=t,this.templateName=e,this.value=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitDirectiveProperty(this,e)},t}();e.BoundDirectivePropertyAst=d;var v=function(){function t(t,e,n,r,i){this.directive=t,this.inputs=e,this.hostProperties=n,this.hostEvents=r,this.sourceSpan=i}return t.prototype.visit=function(t,e){return t.visitDirective(this,e)},t}();e.DirectiveAst=v;var y=function(){function t(t,e,n,r,i,o,s){this.token=t,this.multiProvider=e,this.eager=n,this.providers=r,this.providerType=i,this.lifecycleHooks=o,this.sourceSpan=s}return t.prototype.visit=function(t,e){return null},t}();e.ProviderAst=y,function(t){t[t.PublicService=0]="PublicService",t[t.PrivateService=1]="PrivateService",t[t.Component=2]="Component",t[t.Directive=3]="Directive",t[t.Builtin=4]="Builtin"}(e.ProviderAstType||(e.ProviderAstType={}));var m=(e.ProviderAstType,function(){function t(t,e,n){this.index=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitNgContent(this,e)},t}());e.NgContentAst=m,function(t){t[t.Property=0]="Property",t[t.Attribute=1]="Attribute",t[t.Class=2]="Class",t[t.Style=3]="Style",t[t.Animation=4]="Animation"}(e.PropertyBindingType||(e.PropertyBindingType={}));e.PropertyBindingType;e.templateVisitAll=r},function(t,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
	 */
"use strict";var n=function(){function t(){}return t}();e.MessageBus=n},function(t,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
	 */
"use strict";e.PRIMARY_OUTLET="primary"},function(t,e,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
	 */
"use strict";var r=n(253),i=function(){function t(t,e){this.start=t,this.end=e}return t.fromArray=function(n){return n?(r.assertInterpolationSymbols("interpolation",n),new t(n[0],n[1])):e.DEFAULT_INTERPOLATION_CONFIG},t}();e.InterpolationConfig=i,e.DEFAULT_INTERPOLATION_CONFIG=new i("{{","}}")},function(t,e,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
	 */
"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(195),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(i.AbstractControlDirective);e.ControlContainer=o},function(t,e,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
	 */
"use strict";function r(t,e){var n=l.ListWrapper.clone(e.path);return n.push(t),n}function i(t,e){h.isBlank(t)&&s(e,"Cannot find control with"),h.isBlank(e.valueAccessor)&&s(e,"No value accessor for form control with"),t.validator=d.Validators.compose([t.validator,e.validator]),t.asyncValidator=d.Validators.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),e.valueAccessor.registerOnChange(function(n){e.viewToModelUpdate(n),t.markAsDirty(),t.updateValue(n,{emitModelToViewChange:!1})}),t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)}),e.valueAccessor.registerOnTouched(function(){return t.markAsTouched()})}function o(t,e){h.isBlank(t)&&s(e,"Cannot find control with"),t.validator=d.Validators.compose([t.validator,e.validator]),t.asyncValidator=d.Validators.composeAsync([t.asyncValidator,e.asyncValidator])}function s(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new f.BaseException(e+" "+n)}function a(t){return h.isPresent(t)?d.Validators.compose(t.map(m.normalizeValidator)):null}function u(t){return h.isPresent(t)?d.Validators.composeAsync(t.map(m.normalizeAsyncValidator)):null}function c(t,e){if(!l.StringMapWrapper.contains(t,"model"))return!1;var n=t.model;return n.isFirstChange()?!0:!h.looseIdentical(e,n.currentValue)}function p(t,e){if(h.isBlank(e))return null;var n,r,i;return e.forEach(function(e){h.hasConstructor(e,y.DefaultValueAccessor)?n=e:h.hasConstructor(e,v.CheckboxControlValueAccessor)||h.hasConstructor(e,g.NumberValueAccessor)||h.hasConstructor(e,b.SelectControlValueAccessor)||h.hasConstructor(e,w.SelectMultipleControlValueAccessor)||h.hasConstructor(e,_.RadioControlValueAccessor)?(h.isPresent(r)&&s(t,"More than one built-in value accessor matches form control with"),r=e):(h.isPresent(i)&&s(t,"More than one custom value accessor matches form control with"),i=e)}),h.isPresent(i)?i:h.isPresent(r)?r:h.isPresent(n)?n:(s(t,"No valid value accessor for form control with"),null)}var l=n(30),f=n(59),h=n(19),d=n(34),v=n(121),y=n(122),m=n(425),g=n(198),_=n(124),b=n(125),w=n(126);e.controlPath=r,e.setUpControl=i,e.setUpFormContainer=o,e.composeValidators=a,e.composeAsyncValidators=u,e.isPropertyUpdated=c,e.selectValueAccessor=p},function(t,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
	 */
"use strict";!function(t){t[t.Get=0]="Get",t[t.Post=1]="Post",t[t.Put=2]="Put",t[t.Delete=3]="Delete",t[t.Options=4]="Options",t[t.Head=5]="Head",t[t.Patch=6]="Patch"}(e.RequestMethod||(e.RequestMethod={}));e.RequestMethod;!function(t){t[t.Unsent=0]="Unsent",t[t.Open=1]="Open",t[t.HeadersReceived=2]="HeadersReceived",t[t.Loading=3]="Loading",t[t.Done=4]="Done",t[t.Cancelled=5]="Cancelled"}(e.ReadyState||(e.ReadyState={}));e.ReadyState;!function(t){t[t.Basic=0]="Basic",t[t.Cors=1]="Cors",t[t.Default=2]="Default",t[t.Error=3]="Error",t[t.Opaque=4]="Opaque"}(e.ResponseType||(e.ResponseType={}));e.ResponseType;!function(t){t[t.NONE=0]="NONE",t[t.JSON=1]="JSON",t[t.FORM=2]="FORM",t[t.FORM_DATA=3]="FORM_DATA",t[t.TEXT=4]="TEXT",t[t.BLOB=5]="BLOB",t[t.ARRAY_BUFFER=6]="ARRAY_BUFFER"}(e.ContentType||(e.ContentType={}));e.ContentType;!function(t){t[t.Text=0]="Text",t[t.Json=1]="Json",t[t.ArrayBuffer=2]="ArrayBuffer",t[t.Blob=3]="Blob"}(e.ResponseContentType||(e.ResponseContentType={}));e.ResponseContentType},function(t,e,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
	 */
"use strict";function r(t){return new TypeError(t)}function i(){throw new c("unimplemented")}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(325),a=n(326),u=n(326);e.ExceptionHandler=u.ExceptionHandler;var c=function(t){function e(e){void 0===e&&(e="--"),t.call(this,e),this.message=e,this.stack=new Error(e).stack}return o(e,t),e.prototype.toString=function(){return this.message},e}(Error);e.BaseException=c;var p=function(t){function e(e,n,r,i){t.call(this,e),this._wrapperMessage=e,this._originalException=n,this._originalStack=r,this._context=i,this._wrapperStack=new Error(e).stack}return o(e,t),Object.defineProperty(e.prototype,"wrapperMessage",{get:function(){return this._wrapperMessage},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapperStack",{get:function(){return this._wrapperStack},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalException",{get:function(){return this._originalException},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalStack",{get:function(){return this._originalStack},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){return a.ExceptionHandler.exceptionToString(this)},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.message},e}(s.BaseWrappedException);e.WrappedException=p,e.makeTypeError=r,e.unimplemented=i},function(t,e,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
	 */
"use strict";function r(){return new E(new S([],{}),{},null)}function i(t,e,n){return n?o(t.root,e.root):s(t.root,e.root)}function o(t,e){if(!c(t.segments,e.segments))return!1;if(t.numberOfChildren!==e.numberOfChildren)return!1;for(var n in e.children){if(!t.children[n])return!1;if(!o(t.children[n],e.children[n]))return!1}return!0}function s(t,e){return a(t,e,e.segments)}function a(t,e,n){if(t.segments.length>n.length){var r=t.segments.slice(0,n.length);return c(r,n)?e.hasChildren()?!1:!0:!1}if(t.segments.length===n.length){if(!c(t.segments,n))return!1;for(var i in e.children){if(!t.children[i])return!1;if(!s(t.children[i],e.children[i]))return!1}return!0}var r=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return c(t.segments,r)&&t.children[b.PRIMARY_OUTLET]?a(t.children[b.PRIMARY_OUTLET],e,o):!1}function u(t,e){if(t.length!==e.length)return!1;for(var n=0;n0?n+"("+r.join("//")+")":""+n}if(t.hasChildren()&&!e){var i=p(t,function(e,n){return n===b.PRIMARY_OUTLET?[f(t.children[b.PRIMARY_OUTLET],!1)]:[n+":"+f(e,!1)]});return l(t)+"/("+i.join("//")+")"}return l(t)}function h(t){return""+encodeURIComponent(t.path)+d(t.parameters)}function d(t){return y(t).map(function(t){return";"+encodeURIComponent(t.first)+"="+encodeURIComponent(t.second)}).join("")}function v(t){var e=y(t).map(function(t){return encodeURIComponent(t.first)+"="+encodeURIComponent(t.second)});return e.length>0?"?"+e.join("&"):""}function y(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(new A(n,t[n]));return e}function m(t){T.lastIndex=0;var e=T.exec(t);return e?e[0]:""}function g(t){x.lastIndex=0;var e=T.exec(t);return e?e[0]:""}function _(t){R.lastIndex=0;var e=R.exec(t);return e?e[0]:""}var b=n(43),w=n(71);e.createEmptyUrlTree=r,e.containsTree=i;var E=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return t.prototype.toString=function(){return(new O).serialize(this)},t}();e.UrlTree=E;var S=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,w.forEach(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return l(this)},t}();e.UrlSegmentGroup=S;var C=function(){function t(t,e){this.path=t,this.parameters=e}return t.prototype.toString=function(){return h(this)},t}();e.UrlSegment=C,e.equalSegments=u,e.equalPath=c,e.mapChildrenIntoArray=p;var P=function(){function t(){}return t}();e.UrlSerializer=P;var O=function(){function t(){}return t.prototype.parse=function(t){var e=new I(t);return new E(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e="/"+f(t.root,!0),n=v(t.queryParams),r=null!==t.fragment&&void 0!==t.fragment?"#"+encodeURIComponent(t.fragment):"";return""+e+n+r},t}();e.DefaultUrlSerializer=O,e.serializePaths=l,e.serializePath=h;var A=function(){function t(t,e){this.first=t,this.second=e}return t}(),T=/^[^\/\(\)\?;=&#]+/,x=/^[^=\?&#]+/,R=/^[^\?&#]+/,I=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.capture=function(t){if(!this.remaining.startsWith(t))throw new Error('Expected "'+t+'".');this.remaining=this.remaining.substring(t.length)},t.prototype.parseRootSegment=function(){return this.remaining.startsWith("/")&&this.capture("/"),""===this.remaining||this.remaining.startsWith("?")||this.remaining.startsWith("#")?new S([],{}):new S([],this.parseChildren())},t.prototype.parseChildren=function(){if(0==this.remaining.length)return{};this.peekStartsWith("/")&&this.capture("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegments());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegments());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[b.PRIMARY_OUTLET]=new S(t,e)),n},t.prototype.parseSegments=function(){var t=m(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");this.capture(t);var e={};return this.peekStartsWith(";")&&(e=this.parseMatrixParams()),new C(decodeURIComponent(t),e)},t.prototype.parseQueryParams=function(){var t={};if(this.peekStartsWith("?"))for(this.capture("?"),this.parseQueryParam(t);this.remaining.length>0&&this.peekStartsWith("&");)this.capture("&"),this.parseQueryParam(t);return t},t.prototype.parseFragment=function(){return this.peekStartsWith("#")?decodeURIComponent(this.remaining.substring(1)):null},t.prototype.parseMatrixParams=function(){for(var t={};this.remaining.length>0&&this.peekStartsWith(";");)this.capture(";"),this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=m(this.remaining);if(e){this.capture(e);var n="true";if(this.peekStartsWith("=")){this.capture("=");var r=m(this.remaining);r&&(n=r,this.capture(n))}t[decodeURIComponent(e)]=decodeURIComponent(n)}},t.prototype.parseQueryParam=function(t){var e=g(this.remaining);if(e){this.capture(e);var n="";if(this.peekStartsWith("=")){this.capture("=");var r=_(this.remaining);r&&(n=r,this.capture(n))}t[decodeURIComponent(e)]=decodeURIComponent(n)}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.peekStartsWith(")")&&this.remaining.length>0;){var n=m(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=b.PRIMARY_OUTLET);var o=this.parseChildren();e[i]=1===Object.keys(o).length?o[b.PRIMARY_OUTLET]:new S([],o),this.peekStartsWith("//")&&this.capture("//")}return this.capture(")"),e},t}()},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(1),o=n(216),s=n(51),a=n(64),u=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return r(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n1?new e(t,r):1===i?new o.ScalarObservable(t[0],r):new s.EmptyObservable(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,i=t.subscriber;return n>=r?void i.complete():(i.next(e[n]),void(i.isUnsubscribed||(t.index=n+1,this.schedule(t))))},e.prototype._subscribe=function(t){var n=0,r=this.array,i=r.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:r,index:n,count:i,subscriber:t});for(var s=0;i>s&&!t.isUnsubscribed;s++)t.next(r[s]);t.complete()},e}(i.Observable);e.ArrayObservable=u},function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(1),o=function(t){function e(e){t.call(this),this.scheduler=e}return r(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){var e=t.subscriber;e.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;return n?n.schedule(e.dispatch,0,{subscriber:t}):void t.complete()},e}(i.Observable);e.EmptyObservable=o},function(t,e){"use strict";e.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},function(t,e,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
	 */
"use strict";function r(t){return new TypeError(t)}function i(){throw new c("unimplemented")}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(234),a=n(235),u=n(235);e.ExceptionHandler=u.ExceptionHandler;var c=function(t){function e(e){void 0===e&&(e="--"),t.call(this,e),this.message=e,this.stack=new Error(e).stack}return o(e,t),e.prototype.toString=function(){return this.message},e}(Error);e.BaseException=c;var p=function(t){function e(e,n,r,i){t.call(this,e),this._wrapperMessage=e,this._originalException=n,this._originalStack=r,this._context=i,this._wrapperStack=new Error(e).stack}return o(e,t),Object.defineProperty(e.prototype,"wrapperMessage",{get:function(){return this._wrapperMessage},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapperStack",{get:function(){return this._wrapperStack},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalException",{get:function(){return this._originalException},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalStack",{get:function(){return this._originalStack},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){return a.ExceptionHandler.exceptionToString(this)},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.message},e}(s.BaseWrappedException);e.WrappedException=p,e.makeTypeError=r,e.unimplemented=i},function(t,e,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
	 */
"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(53),o=n(152),s=function(t){function e(){t.apply(this,arguments),this.name=null,this.valueAccessor=null}return r(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return i.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return i.unimplemented()},enumerable:!0,configurable:!0}),e}(o.AbstractControlDirective);e.NgControl=s},function(t,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
	 */
"use strict";function n(t,e,n){void 0===n&&(n=null);var r=[];return e.forEach(function(e){var i=e.visit(t,n);i&&r.push(i)}),r}var r=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}();e.Text=r;var i=function(){function t(t,e,n,r,i){this.switchValue=t,this.type=e,this.cases=n,this.sourceSpan=r,this.switchValueSourceSpan=i}return t.prototype.visit=function(t,e){return t.visitExpansion(this,e)},t}();e.Expansion=i;var o=function(){function t(t,e,n,r,i){this.value=t,this.expression=e,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=i}return t.prototype.visit=function(t,e){return t.visitExpansionCase(this,e)},t}();e.ExpansionCase=o;var s=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitAttribute(this,e)},t}();e.Attribute=s;var a=function(){function t(t,e,n,r,i,o){this.name=t,this.attrs=e,this.children=n,this.sourceSpan=r,this.startSourceSpan=i,this.endSourceSpan=o}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}();e.Element=a;var u=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitComment(this,e)},t}();e.Comment=u,e.visitAll=n},function(t,e,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
	 */
"use strict";var r=n(3),i=function(){function t(t){this.token=t}return t.prototype.toString=function(){return"@Inject("+r.stringify(this.token)+")"},t}();e.InjectMetadata=i;var o=function(){function t(){}return t.prototype.toString=function(){return"@Optional()"},t}();e.OptionalMetadata=o;var s=function(){function t(){}return Object.defineProperty(t.prototype,"token",{get:function(){return null},enumerable:!0,configurable:!0}),t}();e.DependencyMetadata=s;var a=function(){function t(){}return t}();e.InjectableMetadata=a;var u=function(){function t(){}return t.prototype.toString=function(){return"@Self()"},t}();e.SelfMetadata=u;var c=function(){function t(){}return t.prototype.toString=function(){return"@SkipSelf()"},t}();e.SkipSelfMetadata=c;var p=function(){function t(){}return t.prototype.toString=function(){return"@Host()"},t}();e.HostMetadata=p},function(t,e,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
	 */
"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(59),o=n(195),s=function(t){function e(){t.apply(this,arguments),this.name=null,this.valueAccessor=null}return r(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return i.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return i.unimplemented()},enumerable:!0,configurable:!0}),e}(o.AbstractControlDirective);e.NgControl=s},function(t,e,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
	 */
"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(12),o=n(63),s=n(73),a=n(19),u=n(1);e.Observable=u.Observable;var c=n(12);e.Subject=c.Subject;var p=n(306);e.PromiseCompleter=p.PromiseCompleter,e.PromiseWrapper=p.PromiseWrapper;var l=function(){function t(){}return t.setTimeout=function(t,e){return a.global.setTimeout(t,e)},t.clearTimeout=function(t){a.global.clearTimeout(t)},t.setInterval=function(t,e){return a.global.setInterval(t,e)},t.clearInterval=function(t){a.global.clearInterval(t)},t}();e.TimerWrapper=l;var f=function(){function t(){}return t.subscribe=function(t,e,n,r){return void 0===r&&(r=function(){}),n="function"==typeof n&&n||a.noop,r="function"==typeof r&&r||a.noop,t.subscribe({next:e,error:n,complete:r})},t.isObservable=function(t){return!!t.subscribe},t.hasSubscribers=function(t){return t.observers.length>0},t.dispose=function(t){t.unsubscribe()},t.callNext=function(t,e){t.emit(e)},t.callEmit=function(t,e){t.emit(e)},t.callError=function(t,e){t.error(e)},t.callComplete=function(t){t.complete()},t.fromPromise=function(t){return o.PromiseObservable.create(t)},t.toPromise=function(t){return s.toPromise.call(t)},t}();e.ObservableWrapper=f;var h=function(t){function e(e){void 0===e&&(e=!1),t.call(this),this.__isAsync=e}return r(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.next=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var i,o=function(t){return null},s=function(){return null};return e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(o=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()})),t.prototype.subscribe.call(this,i,o,s)},e}(i.Subject);e.EventEmitter=h},function(t,e,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
	 */
"use strict";function r(t){return new TypeError(t)}function i(){throw new c("unimplemented")}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(304),a=n(305),u=n(305);e.ExceptionHandler=u.ExceptionHandler;var c=function(t){function e(e){void 0===e&&(e="--"),t.call(this,e),this.message=e,this.stack=new Error(e).stack}return o(e,t),e.prototype.toString=function(){return this.message},e}(Error);e.BaseException=c;var p=function(t){function e(e,n,r,i){t.call(this,e),this._wrapperMessage=e,this._originalException=n,this._originalStack=r,this._context=i,this._wrapperStack=new Error(e).stack}return o(e,t),Object.defineProperty(e.prototype,"wrapperMessage",{get:function(){return this._wrapperMessage},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapperStack",{get:function(){return this._wrapperStack},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalException",{get:function(){return this._originalException},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"originalStack",{get:function(){return this._originalStack},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){return a.ExceptionHandler.exceptionToString(this)},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.message},e}(s.BaseWrappedException);e.WrappedException=p,e.makeTypeError=r,e.unimplemented=i},function(t,e,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
	 */
"use strict";var r=n(2),i=n(21),o=n(48);e.EVENT_MANAGER_PLUGINS=new r.OpaqueToken("EventManagerPlugins");var s=function(){function t(t,e){var n=this;this._zone=e,t.forEach(function(t){return t.manager=n}),this._plugins=i.ListWrapper.reversed(t)}return t.prototype.addEventListener=function(t,e,n){var r=this._findPluginFor(e);return r.addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){var r=this._findPluginFor(e);return r.addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){for(var e=this._plugins,n=0;n0},t.dispose=function(t){t.unsubscribe()},t.callNext=function(t,e){t.emit(e)},t.callEmit=function(t,e){t.emit(e)},t.callError=function(t,e){t.error(e)},t.callComplete=function(t){t.complete()},t.fromPromise=function(t){return o.PromiseObservable.create(t)},t.toPromise=function(t){return s.toPromise.call(t)},t}();e.ObservableWrapper=f;var h=function(t){function e(e){void 0===e&&(e=!1),t.call(this),this.__isAsync=e}return r(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.next=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var i,o=function(t){return null},s=function(){return null};return e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(o=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()})),t.prototype.subscribe.call(this,i,o,s)},e}(i.Subject);e.EventEmitter=h},function(t,e,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
	 */
"use strict";function r(t,e){var n=i(t,e),r=new u.BehaviorSubject([new p.UrlSegment("",{})]),o=new u.BehaviorSubject({}),s=new u.BehaviorSubject({}),a=new u.BehaviorSubject({}),l=new u.BehaviorSubject(""),v=new d(r,o,s,c.PRIMARY_OUTLET,e,n.root);return v.snapshot=n.root,new h(new f.TreeNode(v,[]),a,l,n)}function i(t,e){var n={},r={},i={},o="",s=new y([],n,r,c.PRIMARY_OUTLET,e,null,t.root,-1,v.empty);return new m("",new f.TreeNode(s,[]),i,o)}function o(t){var e=t.children.length>0?" { "+t.children.map(o).join(", ")+" } ":"";return""+t.value+e}function s(t){t.snapshot?(l.shallowEqual(t.snapshot.params,t._futureSnapshot.params)||(t.params.next(t._futureSnapshot.params),t.data.next(t._futureSnapshot.data)),l.shallowEqualArrays(t.snapshot.url,t._futureSnapshot.url)||t.url.next(t._futureSnapshot.url),t.snapshot=t._futureSnapshot):(t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data))}var a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},u=n(141),c=n(43),p=n(49),l=n(71),f=n(213),h=function(t){function e(e,n,r,i){t.call(this,e),this.queryParams=n,this.fragment=r,this.snapshot=i}return a(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(f.Tree);e.RouterState=h,e.createEmptyState=r;var d=function(){function t(t,e,n,r,i,o){this.url=t,this.params=e,this.data=n,this.outlet=r,this.component=i,this._futureSnapshot=o}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();e.ActivatedRoute=d;var v=function(){function t(t,e){this.parent=t,this.current=e,this.resolvedData={}}return Object.defineProperty(t.prototype,"flattenedResolvedData",{get:function(){return this.parent?l.merge(this.parent.flattenedResolvedData,this.resolvedData):this.resolvedData},enumerable:!0,configurable:!0}),Object.defineProperty(t,"empty",{get:function(){return new t(null,{})},enumerable:!0,configurable:!0}),t}();e.InheritedResolve=v;var y=function(){function t(t,e,n,r,i,o,s,a,u){this.url=t,this.params=e,this.data=n,this.outlet=r,this.component=i,this._routeConfig=o,this._urlSegment=s,this._lastPathIndex=a,this._resolve=u}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._routeConfig},enumerable:!0,configurable:!0}),t.prototype.toString=function(){var t=this.url.map(function(t){return t.toString()}).join("/"),e=this._routeConfig?this._routeConfig.path:"";return"Route(url:'"+t+"', path:'"+e+"')"},t}();e.ActivatedRouteSnapshot=y;var m=function(t){function e(e,n,r,i){t.call(this,n),this.url=e,this.queryParams=r,this.fragment=i}return a(e,t),e.prototype.toString=function(){return o(this._root)},e}(f.Tree);e.RouterStateSnapshot=m,e.advanceActivatedRoute=s},function(t,e,n){"use strict";function r(t){var e=t.value,n=t.subscriber;n.isUnsubscribed||(n.next(e),n.complete())}function i(t){var e=t.err,n=t.subscriber;n.isUnsubscribed||n.error(e)}var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=n(31),a=n(1),u=function(t){function e(e,n){void 0===n&&(n=null),t.call(this),this.promise=e,this.scheduler=n}return o(e,t),e.create=function(t,n){return void 0===n&&(n=null),new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=this.promise,o=this.scheduler;if(null==o)this._isScalar?t.isUnsubscribed||(t.next(this.value),t.complete()):n.then(function(n){e.value=n,e._isScalar=!0,t.isUnsubscribed||(t.next(n),t.complete())},function(e){t.isUnsubscribed||t.error(e)}).then(null,function(t){s.root.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.isUnsubscribed)return o.schedule(r,0,{value:this.value,subscriber:t})}else n.then(function(n){e.value=n,e._isScalar=!0,t.isUnsubscribed||t.add(o.schedule(r,0,{value:n,subscriber:t}))},function(e){t.isUnsubscribed||t.add(o.schedule(i,0,{err:e,subscriber:t}))}).then(null,function(t){s.root.setTimeout(function(){throw t})})},e}(a.Observable);e.PromiseObservable=u},function(t,e){"use strict";function n(t){return t&&"function"==typeof t.schedule}e.isScheduler=n},function(t,e,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
	 */
"use strict";function r(t,e){var n=l.ListWrapper.clone(e.path);return n.push(t),n}function i(t,e){h.isBlank(t)&&s(e,"Cannot find control with"),h.isBlank(e.valueAccessor)&&s(e,"No value accessor for form control with"),t.validator=d.Validators.compose([t.validator,e.validator]),t.asyncValidator=d.Validators.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),e.valueAccessor.registerOnChange(function(n){e.viewToModelUpdate(n),t.updateValue(n,{emitModelToViewChange:!1}),t.markAsDirty()}),t.registerOnChange(function(t){return e.valueAccessor.writeValue(t)}),e.valueAccessor.registerOnTouched(function(){return t.markAsTouched()})}function o(t,e){h.isBlank(t)&&s(e,"Cannot find control with"),t.validator=d.Validators.compose([t.validator,e.validator]),t.asyncValidator=d.Validators.composeAsync([t.asyncValidator,e.asyncValidator])}function s(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name",new f.BaseException(e+" "+n)}function a(t){return h.isPresent(t)?d.Validators.compose(t.map(m.normalizeValidator)):null}function u(t){return h.isPresent(t)?d.Validators.composeAsync(t.map(m.normalizeAsyncValidator)):null}function c(t,e){if(!l.StringMapWrapper.contains(t,"model"))return!1;var n=t.model;return n.isFirstChange()?!0:!h.looseIdentical(e,n.currentValue)}function p(t,e){if(h.isBlank(e))return null;var n,r,i;return e.forEach(function(e){h.hasConstructor(e,y.DefaultValueAccessor)?n=e:h.hasConstructor(e,v.CheckboxControlValueAccessor)||h.hasConstructor(e,g.NumberValueAccessor)||h.hasConstructor(e,b.SelectControlValueAccessor)||h.hasConstructor(e,w.SelectMultipleControlValueAccessor)||h.hasConstructor(e,_.RadioControlValueAccessor)?(h.isPresent(r)&&s(t,"More than one built-in value accessor matches form control with"),r=e):(h.isPresent(i)&&s(t,"More than one custom value accessor matches form control with"),i=e)}),h.isPresent(i)?i:h.isPresent(r)?r:h.isPresent(n)?n:(s(t,"No valid value accessor for form control with"),null)}var l=n(22),f=n(53),h=n(6),d=n(38),v=n(94),y=n(95),m=n(360),g=n(160),_=n(96),b=n(97),w=n(161);e.controlPath=r,e.setUpControl=i,e.setUpControlGroup=o,e.composeValidators=a,e.composeAsyncValidators=u,e.isPropertyUpdated=c,e.selectValueAccessor=p},function(t,e,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
	 */
"use strict";var r=n(2),i=n(14),o=n(18),s=function(){function t(t){var e=void 0===t?{}:t,n=e.renderTypes,i=void 0===n?new u:n,o=e.defaultEncapsulation,s=void 0===o?r.ViewEncapsulation.Emulated:o,a=e.genDebugInfo,c=e.logBindingUpdate,p=e.useJit,l=void 0===p?!0:p,f=e.deprecatedPlatformDirectives,h=void 0===f?[]:f,d=e.deprecatedPlatformPipes,v=void 0===d?[]:d;this.renderTypes=i,this.defaultEncapsulation=s,this._genDebugInfo=a,this._logBindingUpdate=c,this.useJit=l,this.platformDirectives=h,this.platformPipes=v}return Object.defineProperty(t.prototype,"genDebugInfo",{get:function(){return void 0===this._genDebugInfo?r.isDevMode():this._genDebugInfo},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"logBindingUpdate",{get:function(){return void 0===this._logBindingUpdate?r.isDevMode():this._logBindingUpdate},enumerable:!0,configurable:!0}),t}();e.CompilerConfig=s;var a=function(){function t(){}return Object.defineProperty(t.prototype,"renderer",{get:function(){return i.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderText",{get:function(){return i.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderElement",{get:function(){return i.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderComment",{get:function(){return i.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return i.unimplemented()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderEvent",{get:function(){return i.unimplemented()},enumerable:!0,configurable:!0}),t}();e.RenderTypes=a;var u=function(){function t(){this.renderer=o.Identifiers.Renderer,this.renderText=null,this.renderElement=null,this.renderComment=null,this.renderNode=null,this.renderEvent=null}return t}();e.DefaultRenderTypes=u},function(t,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
	 */
"use strict";function n(t){if(":"!=t[0])return[null,t];var e=t.indexOf(":",1);if(-1==e)throw new Error('Unsupported format "'+t+'" expecting ":namespace:name"');return[t.slice(1,e),t.slice(e+1)]}function r(t){return null===t?null:n(t)[0]}function i(t,e){return t?":"+t+":"+e:e}!function(t){t[t.RAW_TEXT=0]="RAW_TEXT",t[t.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t[t.PARSABLE_DATA=2]="PARSABLE_DATA"}(e.TagContentType||(e.TagContentType={}));e.TagContentType;e.splitNsName=n,e.getNsPrefix=r,e.mergeNsAndName=i,e.NAMED_ENTITIES={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",alefsym:"ℵ",Alpha:"Α",alpha:"α",amp:"&",and:"∧",ang:"∠",apos:"'",Aring:"Å",aring:"å",asymp:"≈",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",bdquo:"„",Beta:"Β",beta:"β",brvbar:"¦",bull:"•",cap:"∩",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",Chi:"Χ",chi:"χ",circ:"ˆ",clubs:"♣",cong:"≅",copy:"©",crarr:"↵",cup:"∪",curren:"¤",dagger:"†",Dagger:"‡",darr:"↓",dArr:"⇓",deg:"°",Delta:"Δ",delta:"δ",diams:"♦",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",empty:"∅",emsp:" ",ensp:" ",Epsilon:"Ε",epsilon:"ε",equiv:"≡",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",exist:"∃",fnof:"ƒ",forall:"∀",frac12:"½",frac14:"¼",frac34:"¾",frasl:"⁄",Gamma:"Γ",gamma:"γ",ge:"≥",gt:">",harr:"↔",hArr:"⇔",hearts:"♥",hellip:"…",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",image:"ℑ",infin:"∞","int":"∫",Iota:"Ι",iota:"ι",iquest:"¿",isin:"∈",Iuml:"Ï",iuml:"ï",Kappa:"Κ",kappa:"κ",Lambda:"Λ",lambda:"λ",lang:"⟨",laquo:"«",larr:"←",lArr:"⇐",lceil:"⌈",ldquo:"“",le:"≤",lfloor:"⌊",lowast:"∗",loz:"◊",lrm:"‎",lsaquo:"‹",lsquo:"‘",lt:"<",macr:"¯",mdash:"—",micro:"µ",middot:"·",minus:"−",Mu:"Μ",mu:"μ",nabla:"∇",nbsp:" ",ndash:"–",ne:"≠",ni:"∋",not:"¬",notin:"∉",nsub:"⊄",Ntilde:"Ñ",ntilde:"ñ",Nu:"Ν",nu:"ν",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",OElig:"Œ",oelig:"œ",Ograve:"Ò",ograve:"ò",oline:"‾",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",oplus:"⊕",or:"∨",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",otimes:"⊗",Ouml:"Ö",ouml:"ö",para:"¶",permil:"‰",perp:"⊥",Phi:"Φ",phi:"φ",Pi:"Π",pi:"π",piv:"ϖ",plusmn:"±",pound:"£",prime:"′",Prime:"″",prod:"∏",prop:"∝",Psi:"Ψ",psi:"ψ",quot:'"',radic:"√",rang:"⟩",raquo:"»",rarr:"→",rArr:"⇒",rceil:"⌉",rdquo:"”",real:"ℜ",reg:"®",rfloor:"⌋",Rho:"Ρ",rho:"ρ",rlm:"‏",rsaquo:"›",rsquo:"’",sbquo:"‚",Scaron:"Š",scaron:"š",sdot:"⋅",sect:"§",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sim:"∼",spades:"♠",sub:"⊂",sube:"⊆",sum:"∑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supe:"⊇",szlig:"ß",Tau:"Τ",tau:"τ",there4:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thinsp:" ",THORN:"Þ",thorn:"þ",tilde:"˜",times:"×",trade:"™",Uacute:"Ú",uacute:"ú",uarr:"↑",uArr:"⇑",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",Uuml:"Ü",uuml:"ü",weierp:"℘",Xi:"Ξ",xi:"ξ",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ",Yuml:"Ÿ",Zeta:"Ζ",zeta:"ζ",zwj:"‍",zwnj:"‌"}},function(t,e,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
	 */
"use strict";function r(){return new d}function i(){return new d(h)}function o(t){var e=a(t);return e&&e[v.Scheme]||""}function s(t,e,n,r,i,o,s){var a=[];return f.isPresent(t)&&a.push(t+":"),f.isPresent(n)&&(a.push("//"),f.isPresent(e)&&a.push(e+"@"),a.push(n),f.isPresent(r)&&a.push(":"+r)),f.isPresent(i)&&a.push(i),f.isPresent(o)&&a.push("?"+o),f.isPresent(s)&&a.push("#"+s),a.join("")}function a(t){return f.RegExpWrapper.firstMatch(y,t)}function u(t){if("/"==t)return"/";for(var e="/"==t[0]?"/":"",n="/"===t[t.length-1]?"/":"",r=t.split("/"),i=[],o=0,s=0;s0?i.pop():o++;break;default:i.push(a)}}if(""==e){for(;o-- >0;)i.unshift("..");0===i.length&&i.push(".")}return e+i.join("/")+n}function c(t){var e=t[v.Path];return e=f.isBlank(e)?"":u(e),t[v.Path]=e,s(t[v.Scheme],t[v.UserInfo],t[v.Domain],t[v.Port],e,t[v.QueryData],t[v.Fragment])}function p(t,e){var n=a(encodeURI(e)),r=a(t);if(f.isPresent(n[v.Scheme]))return c(n);n[v.Scheme]=r[v.Scheme];for(var i=v.Scheme;i<=v.Port;i++)f.isBlank(n[i])&&(n[i]=r[i]);if("/"==n[v.Path][0])return c(n);var o=r[v.Path];f.isBlank(o)&&(o="/");var s=o.lastIndexOf("/");return o=o.substring(0,s+1)+n[v.Path],n[v.Path]=o,c(n)}var l=n(2),f=n(4),h="asset:";e.createUrlResolverWithoutPackagePrefix=r,e.createOfflineCompileUrlResolver=i,e.DEFAULT_PACKAGE_URL_PROVIDER={provide:l.PACKAGE_ROOT_URL,useValue:"/"};var d=function(){function t(t){void 0===t&&(t=null),this._packagePrefix=t}return t.prototype.resolve=function(t,e){var n=e;f.isPresent(t)&&t.length>0&&(n=p(t,n));var r=a(n),i=this._packagePrefix;if(f.isPresent(i)&&f.isPresent(r)&&"package"==r[v.Scheme]){var o=r[v.Path];if(this._packagePrefix!==h)return i=f.StringWrapper.stripRight(i,"/"),o=f.StringWrapper.stripLeft(o,"/"),i+"/"+o;var s=o.split(/\//);n="asset:"+s[0]+"/lib/"+s.slice(1).join("/")}return n},t.decorators=[{type:l.Injectable}],t.ctorParameters=[{type:void 0,decorators:[{type:l.Inject,args:[l.PACKAGE_ROOT_URL]}]}],t}();e.UrlResolver=d,e.getUrlScheme=o;var v,y=f.RegExpWrapper.create("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");!function(t){t[t.Scheme=1]="Scheme",t[t.UserInfo=2]="UserInfo",t[t.Domain=3]="Domain",t[t.Port=4]="Port",t[t.Path=5]="Path",t[t.QueryData=6]="QueryData",t[t.Fragment=7]="Fragment"}(v||(v={}))},function(t,e,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
	 */
"use strict";function r(t,e){if(a.isBlank(e))return c.NULL_EXPR;var n=a.resolveEnumToken(t.runtime,e);return c.importExpr(new s.CompileIdentifierMetadata({name:t.name+"."+n,moduleUrl:t.moduleUrl,runtime:e}))}var i=n(2),o=n(17),s=n(20),a=n(4),u=n(18),c=n(13),p=function(){function t(){}return t.fromValue=function(t){return r(u.Identifiers.ViewType,t)},t.HOST=t.fromValue(o.ViewType.HOST),t.COMPONENT=t.fromValue(o.ViewType.COMPONENT),t.EMBEDDED=t.fromValue(o.ViewType.EMBEDDED),t}();e.ViewTypeEnum=p;var l=function(){function t(){}return t.fromValue=function(t){return r(u.Identifiers.ViewEncapsulation,t)},t.Emulated=t.fromValue(i.ViewEncapsulation.Emulated),t.Native=t.fromValue(i.ViewEncapsulation.Native),t.None=t.fromValue(i.ViewEncapsulation.None),t}();e.ViewEncapsulationEnum=l;var f=function(){function t(){}return t.fromValue=function(t){return r(u.Identifiers.ChangeDetectionStrategy,t)},t.OnPush=t.fromValue(i.ChangeDetectionStrategy.OnPush),t.Default=t.fromValue(i.ChangeDetectionStrategy.Default),t}();e.ChangeDetectionStrategyEnum=f;var h=function(){function t(){}return t.fromValue=function(t){return r(u.Identifiers.ChangeDetectorStatus,t)},t.CheckOnce=t.fromValue(o.ChangeDetectorStatus.CheckOnce),t.Checked=t.fromValue(o.ChangeDetectorStatus.Checked),t.CheckAlways=t.fromValue(o.ChangeDetectorStatus.CheckAlways),t.Detached=t.fromValue(o.ChangeDetectorStatus.Detached),t.Errored=t.fromValue(o.ChangeDetectorStatus.Errored),t.Destroyed=t.fromValue(o.ChangeDetectorStatus.Destroyed),t}();e.ChangeDetectorStatusEnum=h;var d=function(){function t(){}return t.viewUtils=c.variable("viewUtils"),t.parentInjector=c.variable("parentInjector"),t.declarationEl=c.variable("declarationEl"),t}();e.ViewConstructorVars=d;var v=function(){function t(){}return t.renderer=c.THIS_EXPR.prop("renderer"),t.projectableNodes=c.THIS_EXPR.prop("projectableNodes"),t.viewUtils=c.THIS_EXPR.prop("viewUtils"),t}();e.ViewProperties=v;var y=function(){function t(){}return t.event=c.variable("$event"),t}();e.EventHandlerVars=y;var m=function(){function t(){}return t.token=c.variable("token"),t.requestNodeIndex=c.variable("requestNodeIndex"),t.notFoundResult=c.variable("notFoundResult"),t}();e.InjectMethodVars=m;var g=function(){function t(){}return t.throwOnChange=c.variable("throwOnChange"),t.changes=c.variable("changes"),t.changed=c.variable("changed"),t.valUnwrapper=c.variable("valUnwrapper"),t}();e.DetectChangesVars=g},function(t,e,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
	 */
"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(12),o=n(63),s=n(73),a=n(3),u=n(1);e.Observable=u.Observable;var c=n(12);e.Subject=c.Subject;var p=n(409);e.PromiseCompleter=p.PromiseCompleter,e.PromiseWrapper=p.PromiseWrapper;var l=function(){function t(){}return t.setTimeout=function(t,e){return a.global.setTimeout(t,e)},t.clearTimeout=function(t){a.global.clearTimeout(t)},t.setInterval=function(t,e){return a.global.setInterval(t,e)},t.clearInterval=function(t){a.global.clearInterval(t)},t}();e.TimerWrapper=l;var f=function(){function t(){}return t.subscribe=function(t,e,n,r){return void 0===r&&(r=function(){}),n="function"==typeof n&&n||a.noop,r="function"==typeof r&&r||a.noop,t.subscribe({next:e,error:n,complete:r})},t.isObservable=function(t){return!!t.subscribe},t.hasSubscribers=function(t){return t.observers.length>0},t.dispose=function(t){t.unsubscribe()},t.callNext=function(t,e){t.emit(e)},t.callEmit=function(t,e){t.emit(e)},t.callError=function(t,e){t.error(e)},t.callComplete=function(t){t.complete()},t.fromPromise=function(t){return o.PromiseObservable.create(t)},t.toPromise=function(t){return s.toPromise.call(t)},t}();e.ObservableWrapper=f;var h=function(t){function e(e){void 0===e&&(e=!1),t.call(this),this.__isAsync=e}return r(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.next=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,r){var i,o=function(t){return null},s=function(){return null};return e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(o=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()})),t.prototype.subscribe.call(this,i,o,s)},e}(i.Subject);e.EventEmitter=h},function(t,e,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
	 */
"use strict";function r(t,e){if(t.length!==e.length)return!1;for(var n=0;n0?t[0]:null}function a(t){return t.length>0?t[t.length-1]:null}function u(t){return t.reduce(function(t,e){return t&&e},!0)}function c(t,e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);return n}function p(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function l(t,e){var n=[],r={};return p(t,function(t,i){i===m.PRIMARY_OUTLET&&n.push(e(i,t).map(function(t){return r[i]=t,t}))}),p(t,function(t,i){i!==m.PRIMARY_OUTLET&&n.push(e(i,t).map(function(t){return r[i]=t,t}))}),n.length>0?y.of.apply(void 0,n).concatAll().last().map(function(t){return r}):y.of(r)}function f(t){return t.mergeAll().every(function(t){return t===!0})}function h(t){return t instanceof d.Observable?t:t instanceof Promise?v.fromPromise(t):y.of(t)}n(214),n(337);var d=n(1),v=n(143),y=n(91),m=n(43);e.shallowEqualArrays=r,e.shallowEqual=i,e.flatten=o,e.first=s,e.last=a,e.and=u,e.merge=c,e.forEach=p,e.waitForMap=l,e.andObservables=f,e.wrapIntoObservable=h},function(t,e,n){"use strict";function r(t){var e;return e="function"==typeof t?t:function(){return t},new i.ConnectableObservable(this,e)}var i=n(342);e.multicast=r},function(t,e,n){"use strict";function r(t){var e=this;if(t||(i.root.Rx&&i.root.Rx.config&&i.root.Rx.config.Promise?t=i.root.Rx.config.Promise:i.root.Promise&&(t=i.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})}var i=n(31);e.toPromise=r},function(t,e,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
	 */
"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(152),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(i.AbstractControlDirective);e.ControlContainer=o},function(t,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
	 */
"use strict";var n=function(){function t(){}return t}();e.ElementSchemaRegistry=n},function(t,e,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
	 */
"use strict";function r(t,e,n){if(e===n)return t;for(var r=p.THIS_EXPR,i=e;i!==n&&c.isPresent(i.declarationElement.view);)i=i.declarationElement.view,r=r.prop("parent");if(i!==n)throw new u.BaseException("Internal error: Could not calculate a property in a parent view: "+t);if(t instanceof p.ReadPropExpr){var o=t;(n.fields.some(function(t){return t.name==o.name})||n.getters.some(function(t){return t.name==o.name}))&&(r=r.cast(n.classType))}return p.replaceVarInExpression(p.THIS_EXPR.name,r,t)}function i(t,e){var n=[f.createDiTokenExpression(t)];return e&&n.push(p.NULL_EXPR),p.THIS_EXPR.prop("parentInjector").callMethod("get",n)}function o(t,e){return"viewFactory_"+t.type.name+e}function s(t){for(var e=[],n=p.literalArr([]),r=0;r0&&(n=n.callMethod(p.BuiltinMethod.ConcatArray,[p.literalArr(e)]),e=[]),n=n.callMethod(p.BuiltinMethod.ConcatArray,[i])):e.push(i)}return e.length>0&&(n=n.callMethod(p.BuiltinMethod.ConcatArray,[p.literalArr(e)])),n}function a(t,e,n,r){r.fields.push(new p.ClassField(n.name,null));var i=e0){var r=t.substring(0,e),i=t.substring(e+1).trim();n.set(r,i)}}),n},t.prototype.append=function(t,e){t=r(t);var n=this._headersMap.get(t),i=s.isListLikeIterable(n)?n:[];i.push(e),this._headersMap.set(t,i)},t.prototype["delete"]=function(t){this._headersMap["delete"](r(t))},t.prototype.forEach=function(t){this._headersMap.forEach(t)},t.prototype.get=function(t){return s.ListWrapper.first(this._headersMap.get(r(t)))},t.prototype.has=function(t){return this._headersMap.has(r(t))},t.prototype.keys=function(){return s.MapWrapper.keys(this._headersMap)},t.prototype.set=function(t,e){var n=[];if(s.isListLikeIterable(e)){var i=e.join(",");n.push(i)}else n.push(e);this._headersMap.set(r(t),n)},t.prototype.values=function(){return s.MapWrapper.values(this._headersMap)},t.prototype.toJSON=function(){var t={};return this._headersMap.forEach(function(e,n){var i=[];s.iterateListLike(e,function(t){return i=s.ListWrapper.concat(i,t.split(","))}),t[r(n)]=i}),t},t.prototype.getAll=function(t){var e=this._headersMap.get(r(t));return s.isListLikeIterable(e)?e:[]},t.prototype.entries=function(){throw new i.BaseException('"entries" method is not implemented on Headers class')},t}();e.Headers=a},function(t,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
	 */
"use strict";var n=function(){function t(){}return t}();e.ConnectionBackend=n;var r=function(){function t(){}return t}();e.Connection=r;var i=function(){function t(){}return t}();e.XSRFStrategy=i},function(t,e,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
	 */
"use strict";var r=n(2);e.RenderDebugInfo=r.__core_private__.RenderDebugInfo,e.wtfInit=r.__core_private__.wtfInit,e.ReflectionCapabilities=r.__core_private__.ReflectionCapabilities,e.VIEW_ENCAPSULATION_VALUES=r.__core_private__.VIEW_ENCAPSULATION_VALUES,e.DebugDomRootRenderer=r.__core_private__.DebugDomRootRenderer,e.reflector=r.__core_private__.reflector,e.NoOpAnimationPlayer=r.__core_private__.NoOpAnimationPlayer,e.AnimationPlayer=r.__core_private__.AnimationPlayer,e.AnimationSequencePlayer=r.__core_private__.AnimationSequencePlayer,e.AnimationGroupPlayer=r.__core_private__.AnimationGroupPlayer,e.AnimationKeyframe=r.__core_private__.AnimationKeyframe,e.AnimationStyles=r.__core_private__.AnimationStyles,e.prepareFinalAnimationStyles=r.__core_private__.prepareFinalAnimationStyles,e.balanceAnimationKeyframes=r.__core_private__.balanceAnimationKeyframes,e.flattenStyles=r.__core_private__.flattenStyles,e.clearStyles=r.__core_private__.clearStyles,e.collectAndResolveStyles=r.__core_private__.collectAndResolveStyles},function(t,e,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
	 */
"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}var i=n(133);e.BROWSER_APP_PROVIDERS=i.BROWSER_APP_PROVIDERS,e.BROWSER_PLATFORM_PROVIDERS=i.BROWSER_PLATFORM_PROVIDERS,e.BROWSER_SANITIZATION_PROVIDERS=i.BROWSER_SANITIZATION_PROVIDERS,e.BrowserModule=i.BrowserModule,e.browserPlatform=i.browserPlatform,e.platformBrowser=i.platformBrowser;var o=n(134);e.BrowserPlatformLocation=o.BrowserPlatformLocation;var s=n(440);e.Title=s.Title;var a=n(442);e.disableDebugTools=a.disableDebugTools,e.enableDebugTools=a.enableDebugTools;var u=n(135);e.AnimationDriver=u.AnimationDriver;var c=n(443);e.By=c.By;var p=n(85);e.DOCUMENT=p.DOCUMENT;var l=n(60);e.EVENT_MANAGER_PLUGINS=l.EVENT_MANAGER_PLUGINS,e.EventManager=l.EventManager;var f=n(208);e.HAMMER_GESTURE_CONFIG=f.HAMMER_GESTURE_CONFIG,e.HammerGestureConfig=f.HammerGestureConfig;var h=n(327);e.DomSanitizationService=h.DomSanitizationService;var d=n(86);e.ClientMessageBroker=d.ClientMessageBroker,e.ClientMessageBrokerFactory=d.ClientMessageBrokerFactory,e.FnArg=d.FnArg,e.UiArguments=d.UiArguments;var v=n(35);e.PRIMITIVE=v.PRIMITIVE;var y=n(88);e.ReceivedMessage=y.ReceivedMessage,e.ServiceMessageBroker=y.ServiceMessageBroker,e.ServiceMessageBrokerFactory=y.ServiceMessageBrokerFactory,r(n(42));var m=n(456);e.WORKER_APP_LOCATION_PROVIDERS=m.WORKER_APP_LOCATION_PROVIDERS;var g=n(453);e.WORKER_UI_LOCATION_PROVIDERS=g.WORKER_UI_LOCATION_PROVIDERS,r(n(461)),r(n(460)),r(n(437))},function(t,e,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
	 */
"use strict";var r=n(2);e.DOCUMENT=new r.OpaqueToken("DocumentToken")},function(t,e,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
	 */
"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(2),o=n(61),s=n(21),a=n(11),u=n(42),c=n(35),p=function(){function t(){}return t}();e.ClientMessageBrokerFactory=p;var l=function(t){function e(e,n){t.call(this),this._messageBus=e,this._serializer=n}return r(e,t),e.prototype.createMessageBroker=function(t,e){return void 0===e&&(e=!0),this._messageBus.initChannel(t,e),new h(this._messageBus,this._serializer,t)},e.decorators=[{type:i.Injectable}],e.ctorParameters=[{type:u.MessageBus},{type:c.Serializer}],e}(p);e.ClientMessageBrokerFactory_=l;var f=function(){function t(){}return t}();e.ClientMessageBroker=f;var h=function(t){function e(e,n,r){var i=this;t.call(this),this.channel=r,this._pending=new Map,this._sink=e.to(r),this._serializer=n;var s=e.from(r);o.ObservableWrapper.subscribe(s,function(t){return i._handleMessage(t)})}return r(e,t),e.prototype._generateMessageId=function(t){for(var e=a.stringify(a.DateWrapper.toMillis(a.DateWrapper.now())),n=0,r=t+e+a.stringify(n);a.isPresent(this._pending[r]);)r=""+t+e+n,n++;return r},e.prototype.runOnService=function(t,e){var n=this,r=[];a.isPresent(t.args)&&t.args.forEach(function(t){null!=t.type?r.push(n._serializer.serialize(t.value,t.type)):r.push(t.value)});var i,s=null;if(null!=e){var u=o.PromiseWrapper.completer();s=this._generateMessageId(t.method),this._pending.set(s,u),o.PromiseWrapper.catchError(u.promise,function(t,e){a.print(t),u.reject(t,e)}),i=o.PromiseWrapper.then(u.promise,function(t){return null==n._serializer?t:n._serializer.deserialize(t,e)})}else i=null;var c={method:t.method,args:r};return null!=s&&(c.id=s),o.ObservableWrapper.callEmit(this._sink,c),i},e.prototype._handleMessage=function(t){var e=new d(t);if(a.StringWrapper.equals(e.type,"result")||a.StringWrapper.equals(e.type,"error")){var n=e.id;this._pending.has(n)&&(a.StringWrapper.equals(e.type,"result")?this._pending.get(n).resolve(e.value):this._pending.get(n).reject(e.value,null),this._pending["delete"](n))}},e}(f);e.ClientMessageBroker_=h;var d=function(){function t(t){this.type=s.StringMapWrapper.get(t,"type"),this.id=this._getValueIfPresent(t,"id"),this.value=this._getValueIfPresent(t,"value")}return t.prototype._getValueIfPresent=function(t,e){return s.StringMapWrapper.contains(t,e)?s.StringMapWrapper.get(t,e):null},t}(),v=function(){function t(t,e){this.value=t,this.type=e}return t}();e.FnArg=v;var y=function(){function t(t,e){this.method=t,this.args=e}return t}();e.UiArguments=y},function(t,e,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
	 */
"use strict";var r=n(2),i=function(){function t(){this._nextIndex=0,this._lookupById=new Map,this._lookupByObject=new Map}return t.prototype.allocateId=function(){return this._nextIndex++},t.prototype.store=function(t,e){this._lookupById.set(e,t),this._lookupByObject.set(t,e)},t.prototype.remove=function(t){var e=this._lookupByObject.get(t);this._lookupByObject["delete"](t),this._lookupById["delete"](e)},t.prototype.deserialize=function(t){return null==t?null:this._lookupById.has(t)?this._lookupById.get(t):null},t.prototype.serialize=function(t){return null==t?null:this._lookupByObject.get(t)},t.decorators=[{type:r.Injectable}],t.ctorParameters=[],t}();e.RenderStore=i},function(t,e,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
	 */
"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=n(2),o=n(61),s=n(21),a=n(11),u=n(42),c=n(35),p=function(){function t(){}return t}();e.ServiceMessageBrokerFactory=p;var l=function(t){function e(e,n){t.call(this),this._messageBus=e,this._serializer=n}return r(e,t),e.prototype.createMessageBroker=function(t,e){return void 0===e&&(e=!0),this._messageBus.initChannel(t,e),new h(this._messageBus,this._serializer,t)},e.decorators=[{type:i.Injectable}],e.ctorParameters=[{type:u.MessageBus},{type:c.Serializer}],e}(p);e.ServiceMessageBrokerFactory_=l;var f=function(){function t(){}return t}();e.ServiceMessageBroker=f;var h=function(t){function e(e,n,r){var i=this;t.call(this),this._serializer=n,this.channel=r,this._methods=new s.Map,this._sink=e.to(r);var a=e.from(r);o.ObservableWrapper.subscribe(a,function(t){return i._handleMessage(t)})}return r(e,t),e.prototype.registerMethod=function(t,e,n,r){var i=this;this._methods.set(t,function(t){for(var o=t.args,u=null===e?0:e.length,c=s.ListWrapper.createFixedSize(u),p=0;u>p;p++){var l=o[p];c[p]=i._serializer.deserialize(l,e[p])}var f=a.FunctionWrapper.apply(n,c);a.isPresent(r)&&a.isPresent(f)&&i._wrapWebWorkerPromise(t.id,f,r)})},e.prototype._handleMessage=function(t){var e=new d(t);this._methods.has(e.method)&&this._methods.get(e.method)(e)},e.prototype._wrapWebWorkerPromise=function(t,e,n){var r=this;o.PromiseWrapper.then(e,function(e){o.ObservableWrapper.callEmit(r._sink,{type:"result",value:r._serializer.serialize(e,n),id:t})})},e}(f);e.ServiceMessageBroker_=h;var d=function(){function t(t){this.method=t.method,this.args=t.args,this.id=t.id,this.type=t.type}return t}();e.ReceivedMessage=d},function(t,e,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
	 */
"use strict";function r(t,e){var n=t.pathFromRoot(e).filter(function(t){var n=t._routeConfig;return n&&n._loadedConfig&&t!==e});return n.length>0?n[n.length-1]._routeConfig._loadedConfig:null}function i(t){E.shallowEqual(t.snapshot.queryParams,t.queryParams.value)||t.queryParams.next(t.snapshot.queryParams),t.snapshot.fragment!==t.fragment.value&&t.fragment.next(t.snapshot.fragment)}function o(t){return t?t.children.reduce(function(t,e){return t[e.value.outlet]=e,t},{}):{}}function s(t,e){var n=t._outlets[e.outlet];if(!n){var r=e.component.name;throw e.outlet===b.PRIMARY_OUTLET?new Error("Cannot find primary outlet to load '"+r+"'"):new Error("Cannot find the outlet "+e.outlet+" to load '"+r+"'")}return n}n(215),n(339),n(338),n(340),n(335);var a=n(2),u=n(12),c=n(217),p=n(91),l=n(463),f=n(464),h=n(465),d=n(466),v=n(467),y=n(468),m=n(139),g=n(90),_=n(62),b=n(43),w=n(49),E=n(71),S=function(){function t(t,e){this.id=t,this.url=e}return t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}();e.NavigationStart=S;var C=function(){function t(t,e,n){this.id=t,this.url=e,this.urlAfterRedirects=n}return t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}();e.NavigationEnd=C;var P=function(){function t(t,e){this.id=t,this.url=e}return t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}();e.NavigationCancel=P;var O=function(){function t(t,e,n){this.id=t,this.url=e,this.error=n}return t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}();e.NavigationError=O;var A=function(){function t(t,e,n,r){this.id=t,this.url=e,this.urlAfterRedirects=n,this.state=r}return t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}();e.RoutesRecognized=A;var T=function(){function t(t,e,n,r,i,o,s,a){this.rootComponentType=t,this.resolver=e,this.urlSerializer=n,this.outletMap=r,this.location=i,this.injector=o,this.navigationId=0,this.navigated=!1,this.resetConfig(a),this.routerEvents=new u.Subject,this.currentUrlTree=w.createEmptyUrlTree(),this.configLoader=new m.RouterConfigLoader(s),this.currentRouterState=_.createEmptyState(this.currentUrlTree,this.rootComponentType)}return t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),this.navigateByUrl(this.location.path(!0))},Object.defineProperty(t.prototype,"routerState",{get:function(){return this.currentRouterState},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){return this.routerEvents},enumerable:!0,configurable:!0}),t.prototype.resetConfig=function(t){f.validateConfig(t),this.config=t},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription.unsubscribe()},t.prototype.createUrlTree=function(t,e){var n=void 0===e?{}:e,r=n.relativeTo,i=n.queryParams,o=n.fragment,s=n.preserveQueryParams,a=n.preserveFragment,u=r?r:this.routerState.root,c=s?this.currentUrlTree.queryParams:i,p=a?this.currentUrlTree.fragment:o;return d.createUrlTree(u,this.currentUrlTree,t,c,p)},t.prototype.navigateByUrl=function(t){if(t instanceof w.UrlTree)return this.scheduleNavigation(t,!1);var e=this.urlSerializer.parse(t);return this.scheduleNavigation(e,!1)},t.prototype.navigate=function(t,e){return void 0===e&&(e={}),this.scheduleNavigation(this.createUrlTree(t,e),!1)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){return this.urlSerializer.parse(t)},t.prototype.isActive=function(t,e){if(t instanceof w.UrlTree)return w.containsTree(this.currentUrlTree,t,e);var n=this.urlSerializer.parse(t);return w.containsTree(this.currentUrlTree,n,e)},t.prototype.scheduleNavigation=function(t,e){var n=this,r=++this.navigationId;return this.routerEvents.next(new S(r,this.serializeUrl(t))),Promise.resolve().then(function(i){return n.runNavigate(t,e,r)})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription=this.location.subscribe(Zone.current.wrap(function(e){var n=t.urlSerializer.parse(e.url);return t.currentUrlTree.toString()!==n.toString()?t.scheduleNavigation(n,e.pop):null}))},t.prototype.runNavigate=function(t,e,n){var r=this;return n!==this.navigationId?(this.location.go(this.urlSerializer.serialize(this.currentUrlTree)),this.routerEvents.next(new P(n,this.serializeUrl(t))),Promise.resolve(!1)):new Promise(function(i,o){var s,a,u,c,f=r.currentRouterState,d=r.currentUrlTree;l.applyRedirects(r.injector,r.configLoader,t,r.config).mergeMap(function(t){return c=t,v.recognize(r.rootComponentType,r.config,c,r.serializeUrl(c))}).mergeMap(function(e){return r.routerEvents.next(new A(n,r.serializeUrl(t),r.serializeUrl(c),e)),y.resolve(r.resolver,e)}).map(function(t){return h.createRouterState(t,r.currentRouterState)}).map(function(t){s=t,u=new I(s.snapshot,r.currentRouterState.snapshot,r.injector),u.traverse(r.outletMap)}).mergeMap(function(t){return u.checkGuards()}).mergeMap(function(t){return t?u.resolveData().map(function(){return t}):p.of(t)}).forEach(function(i){if(!i||n!==r.navigationId)return r.routerEvents.next(new P(n,r.serializeUrl(t))),void(a=!1);if(r.currentUrlTree=c,r.currentRouterState=s,new M(s,f).activate(r.outletMap),!e){var o=r.urlSerializer.serialize(c);r.location.isCurrentPathEqualTo(o)?r.location.replaceState(o):r.location.go(o)}a=!0}).then(function(){r.navigated=!0,r.routerEvents.next(new C(n,r.serializeUrl(t),r.serializeUrl(c))),i(a)},function(e){r.currentRouterState=f,r.currentUrlTree=d,r.routerEvents.next(new O(n,r.serializeUrl(t),e)),o(e)})})},t}();e.Router=T;var x=function(){function t(t){this.path=t}return Object.defineProperty(t.prototype,"route",{get:function(){return this.path[this.path.length-1]},enumerable:!0,configurable:!0}),t}(),R=function(){function t(t,e){this.component=t,this.route=e}return t}(),I=function(){function t(t,e,n){this.future=t,this.curr=e,this.injector=n,this.checks=[]}return t.prototype.traverse=function(t){var e=this.future._root,n=this.curr?this.curr._root:null;this.traverseChildRoutes(e,n,t,[e.value])},t.prototype.checkGuards=function(){var t=this;return 0===this.checks.length?p.of(!0):c.from(this.checks).map(function(e){if(e instanceof x)return E.andObservables(c.from([t.runCanActivate(e.route),t.runCanActivateChild(e.path)]));if(e instanceof R){var n=e;return t.runCanDeactivate(n.component,n.route)}throw new Error("Cannot be reached")}).mergeAll().every(function(t){return t===!0})},t.prototype.resolveData=function(){var t=this;return 0===this.checks.length?p.of(null):c.from(this.checks).mergeMap(function(e){return e instanceof x?t.runResolve(e.route):p.of(null)}).reduce(function(t,e){return t})},t.prototype.traverseChildRoutes=function(t,e,n,r){var i=this,s=o(e);t.children.forEach(function(t){i.traverseRoutes(t,s[t.value.outlet],n,r.concat([t.value])),delete s[t.value.outlet]}),E.forEach(s,function(t,e){return i.deactivateOutletAndItChildren(t,n._outlets[e])})},t.prototype.traverseRoutes=function(t,e,n,r){var i=t.value,o=e?e.value:null,s=n?n._outlets[t.value.outlet]:null;o&&i._routeConfig===o._routeConfig?(E.shallowEqual(i.params,o.params)||this.checks.push(new R(s.component,o),new x(r)),i.component?this.traverseChildRoutes(t,e,s?s.outletMap:null,r):this.traverseChildRoutes(t,e,n,r)):(o&&(o.component?this.deactivateOutletAndItChildren(o,s):this.deactivateOutletMap(n)),this.checks.push(new x(r)),i.component?this.traverseChildRoutes(t,null,s?s.outletMap:null,r):this.traverseChildRoutes(t,null,n,r))},t.prototype.deactivateOutletAndItChildren=function(t,e){e&&e.isActivated&&(this.deactivateOutletMap(e.outletMap),this.checks.push(new R(e.component,t)))},t.prototype.deactivateOutletMap=function(t){var e=this;E.forEach(t._outlets,function(t){t.isActivated&&e.deactivateOutletAndItChildren(t.activatedRoute.snapshot,t)})},t.prototype.runCanActivate=function(t){var e=this,n=t._routeConfig?t._routeConfig.canActivate:null;if(!n||0===n.length)return p.of(!0);var r=c.from(n).map(function(n){var r=e.getToken(n,t,e.future);return r.canActivate?E.wrapIntoObservable(r.canActivate(t,e.future)):E.wrapIntoObservable(r(t,e.future))});return E.andObservables(r)},t.prototype.runCanActivateChild=function(t){var e=this,n=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(function(t){return e.extractCanActivateChild(t)}).filter(function(t){return null!==t});return E.andObservables(c.from(r).map(function(t){var r=c.from(t.guards).map(function(t){var r=e.getToken(t,t.node,e.future);return r.canActivateChild?E.wrapIntoObservable(r.canActivateChild(n,e.future)):E.wrapIntoObservable(r(n,e.future))});return E.andObservables(r)}))},t.prototype.extractCanActivateChild=function(t){var e=t._routeConfig?t._routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null},t.prototype.runCanDeactivate=function(t,e){var n=this,r=e&&e._routeConfig?e._routeConfig.canDeactivate:null;return r&&0!==r.length?c.from(r).map(function(r){var i=n.getToken(r,e,n.curr);return i.canDeactivate?E.wrapIntoObservable(i.canDeactivate(t,e,n.curr)):E.wrapIntoObservable(i(t,e,n.curr))}).mergeAll().every(function(t){return t===!0}):p.of(!0)},t.prototype.runResolve=function(t){var e=t._resolve;return this.resolveNode(e.current,t).map(function(n){return e.resolvedData=n,t.data=E.merge(t.data,e.flattenedResolvedData),null})},t.prototype.resolveNode=function(t,e){var n=this;return E.waitForMap(t,function(t,r){var i=n.getToken(r,e,n.future);return i.resolve?E.wrapIntoObservable(i.resolve(e,n.future)):E.wrapIntoObservable(i(e,n.future))})},t.prototype.getToken=function(t,e,n){var i=r(n,e),o=i?i.injector:this.injector;return o.get(t)},t}(),M=function(){function t(t,e){this.futureState=t,this.currState=e}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;_.advanceActivatedRoute(this.futureState.root),this.activateChildRoutes(e,n,t),i(this.futureState)},t.prototype.activateChildRoutes=function(t,e,n){var r=this,i=o(e);t.children.forEach(function(t){r.activateRoutes(t,i[t.value.outlet],n),delete i[t.value.outlet]}),E.forEach(i,function(t,e){return r.deactivateOutletAndItChildren(n._outlets[e])})},t.prototype.activateRoutes=function(t,e,n){var r=t.value,i=e?e.value:null;if(r===i)if(_.advanceActivatedRoute(r),r.component){var o=s(n,t.value);this.activateChildRoutes(t,e,o.outletMap)}else this.activateChildRoutes(t,e,n);else{if(i)if(i.component){var o=s(n,t.value);this.deactivateOutletAndItChildren(o)}else this.deactivateOutletMap(n);if(r.component){_.advanceActivatedRoute(r);var o=s(n,t.value),a=new g.RouterOutletMap;this.placeComponentIntoOutlet(a,r,o),this.activateChildRoutes(t,null,a)}else _.advanceActivatedRoute(r),this.activateChildRoutes(t,null,n)}},t.prototype.placeComponentIntoOutlet=function(t,e,n){var i=[{provide:_.ActivatedRoute,useValue:e},{provide:g.RouterOutletMap,useValue:t}],o=r(this.futureState.snapshot,e.snapshot),s=null,u=null;o&&(s=o.factoryResolver,u=o.injector,i.push({provide:a.ComponentFactoryResolver,useValue:s})),n.activate(e,s,u,a.ReflectiveInjector.resolve(i),t)},t.prototype.deactivateOutletAndItChildren=function(t){t&&t.isActivated&&(this.deactivateOutletMap(t.outletMap),t.deactivate())},t.prototype.deactivateOutletMap=function(t){var e=this;E.forEach(t._outlets,function(t){return e.deactivateOutletAndItChildren(t)})},t}()},function(t,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
	 */
"use strict";var n=function(){function t(){this._outlets={}}return t.prototype.registerOutlet=function(t,e){this._outlets[t]=e},t.prototype.removeOutlet=function(t){this._outlets[t]=void 0},t}();e.RouterOutletMap=n},function(t,e,n){"use strict";var r=n(50);e.of=r.ArrayObservable.of},function(t,e,n){"use strict";var r=n(31),i=r.root.Symbol;if("function"==typeof i)i.iterator?e.$$iterator=i.iterator:"function"==typeof i["for"]&&(e.$$iterator=i["for"]("iterator"));else if(r.root.Set&&"function"==typeof(new r.root.Set)["@@iterator"])e.$$iterator="@@iterator";else if(r.root.Map)for(var o=Object.getOwnPropertyNames(r.root.Map.prototype),s=0;s=this.length?g.$EOF:_.StringWrapper.charCodeAt(this.input,this.index)},t.prototype.scanToken=function(){for(var t=this.input,e=this.length,n=this.peek,i=this.index;n<=g.$SPACE;){if(++i>=e){n=g.$EOF;break}n=_.StringWrapper.charCodeAt(t,i)}if(this.peek=n,this.index=i,i>=e)return null;if(p(n))return this.scanIdentifier();if(g.isDigit(n))return this.scanNumber(i);var o=i;switch(n){case g.$PERIOD:return this.advance(),g.isDigit(this.peek)?this.scanNumber(o):r(o,g.$PERIOD);case g.$LPAREN:case g.$RPAREN:case g.$LBRACE:case g.$RBRACE:case g.$LBRACKET:case g.$RBRACKET:case g.$COMMA:case g.$COLON:case g.$SEMICOLON:return this.scanCharacter(o,n);case g.$SQ:case g.$DQ:return this.scanString();case g.$HASH:case g.$PLUS:case g.$MINUS:case g.$STAR:case g.$SLASH:case g.$PERCENT:case g.$CARET:return this.scanOperator(o,_.StringWrapper.fromCharCode(n));case g.$QUESTION:return this.scanComplexOperator(o,"?",g.$PERIOD,".");case g.$LT:case g.$GT:return this.scanComplexOperator(o,_.StringWrapper.fromCharCode(n),g.$EQ,"=");case g.$BANG:case g.$EQ:return this.scanComplexOperator(o,_.StringWrapper.fromCharCode(n),g.$EQ,"=",g.$EQ,"=");case g.$AMPERSAND:return this.scanComplexOperator(o,"&",g.$AMPERSAND,"&");case g.$BAR:return this.scanComplexOperator(o,"|",g.$BAR,"|");case g.$NBSP:for(;g.isWhitespace(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error("Unexpected character ["+_.StringWrapper.fromCharCode(n)+"]",0)},t.prototype.scanCharacter=function(t,e){return this.advance(),r(t,e)},t.prototype.scanOperator=function(t,e){return this.advance(),s(t,e)},t.prototype.scanComplexOperator=function(t,e,n,r,i,o){this.advance();var a=e;return this.peek==n&&(this.advance(),a+=r),_.isPresent(i)&&this.peek==i&&(this.advance(),a+=o),s(t,a)},t.prototype.scanIdentifier=function(){var t=this.index;for(this.advance();f(this.peek);)this.advance();var e=this.input.substring(t,this.index);return w.indexOf(e)>-1?o(t,e):i(t,e)},t.prototype.scanNumber=function(t){var e=this.index===t;for(this.advance();;){if(g.isDigit(this.peek));else if(this.peek==g.$PERIOD)e=!1;else{if(!h(this.peek))break;if(this.advance(),d(this.peek)&&this.advance(),!g.isDigit(this.peek))return this.error("Invalid exponent",-1);e=!1}this.advance()}var n=this.input.substring(t,this.index),r=e?_.NumberWrapper.parseIntAutoRadix(n):_.NumberWrapper.parseFloat(n);return u(t,r)},t.prototype.scanString=function(){var t=this.index,e=this.peek;this.advance();for(var n,r=this.index,i=this.input;this.peek!=e;)if(this.peek==g.$BACKSLASH){null==n&&(n=new _.StringJoiner),n.add(i.substring(r,this.index)),this.advance();var o;if(this.peek==g.$u){var s=i.substring(this.index+1,this.index+5);try{o=_.NumberWrapper.parseInt(s,16)}catch(u){return this.error("Invalid unicode escape [\\u"+s+"]",0)}for(var c=0;5>c;c++)this.advance()}else o=y(this.peek),this.advance();n.add(_.StringWrapper.fromCharCode(o)),r=this.index}else{if(this.peek==g.$EOF)return this.error("Unterminated quote",0);this.advance()}var p=i.substring(r,this.index);this.advance();var l=p;return null!=n&&(n.add(p),l=n.toString()),a(t,l)},t.prototype.error=function(t,e){var n=this.index+e;return c(n,"Lexer Error: "+t+" at column "+n+" in expression ["+this.input+"]")},t}();e.isIdentifier=l,e.isQuote=v},function(t,e,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
	 */
"use strict";function r(t){var e=a.escapeRegExp(t.start)+"([\\s\\S]*?)"+a.escapeRegExp(t.end);return a.RegExpWrapper.create(e,"g")}var i=n(2),o=n(166),s=n(7),a=n(4),u=n(44),c=n(169),p=n(101),l=function(){function t(t,e){this.strings=t,this.expressions=e}return t}();e.SplitInterpolation=l;var f=function(){function t(t,e,n){this.templateBindings=t,this.warnings=e,this.errors=n}return t}();e.TemplateBindingParseResult=f;var h=function(){function t(t){this._lexer=t,this.errors=[]}return t.prototype.parseAction=function(t,e,n){void 0===n&&(n=u.DEFAULT_INTERPOLATION_CONFIG),this._checkNoInterpolation(t,e,n);var r=this._lexer.tokenize(this._stripComments(t)),i=new d(t,e,r,!0,this.errors).parseChain();return new c.ASTWithSource(i,t,e,this.errors)},t.prototype.parseBinding=function(t,e,n){void 0===n&&(n=u.DEFAULT_INTERPOLATION_CONFIG);var r=this._parseBindingAst(t,e,n);return new c.ASTWithSource(r,t,e,this.errors)},t.prototype.parseSimpleBinding=function(t,e,n){void 0===n&&(n=u.DEFAULT_INTERPOLATION_CONFIG);var r=this._parseBindingAst(t,e,n);return v.check(r)||this._reportError("Host binding expression can only contain field access and constants",t,e),new c.ASTWithSource(r,t,e,this.errors)},t.prototype._reportError=function(t,e,n,r){this.errors.push(new c.ParserError(t,e,n,r))},t.prototype._parseBindingAst=function(t,e,n){var r=this._parseQuote(t,e);if(a.isPresent(r))return r;this._checkNoInterpolation(t,e,n);var i=this._lexer.tokenize(this._stripComments(t));return new d(t,e,i,!1,this.errors).parseChain()},t.prototype._parseQuote=function(t,e){if(a.isBlank(t))return null;var n=t.indexOf(":");if(-1==n)return null;var r=t.substring(0,n).trim();if(!p.isIdentifier(r))return null;var i=t.substring(n+1);return new c.Quote(new c.ParseSpan(0,t.length),r,i,e)},t.prototype.parseTemplateBindings=function(t,e){var n=this._lexer.tokenize(t);return new d(t,e,n,!1,this.errors).parseTemplateBindings()},t.prototype.parseInterpolation=function(t,e,n){void 0===n&&(n=u.DEFAULT_INTERPOLATION_CONFIG);var r=this.splitInterpolation(t,e,n);if(null==r)return null;for(var i=[],o=0;o0?c.push(f):this._reportError("Blank expressions are not allowed in interpolated strings",t,"at column "+this._findInterpolationErrorColumn(o,p,n)+" in",e)}return new l(s,c)},t.prototype.wrapLiteralPrimitive=function(t,e){return new c.ASTWithSource(new c.LiteralPrimitive(new c.ParseSpan(0,a.isBlank(t)?0:t.length),t),t,e,this.errors)},t.prototype._stripComments=function(t){var e=this._commentStart(t);return a.isPresent(e)?t.substring(0,e).trim():t},t.prototype._commentStart=function(t){for(var e=null,n=0;n1&&this._reportError("Got interpolation ("+n.start+n.end+") where expression was expected",t,"at column "+this._findInterpolationErrorColumn(o,1,n)+" in",e)},t.prototype._findInterpolationErrorColumn=function(t,e,n){for(var r="",i=0;e>i;i++)r+=i%2===0?t[i]:""+n.start+t[i]+n.end;return r.length},t.decorators=[{type:i.Injectable}],t.ctorParameters=[{type:p.Lexer}],t}();e.Parser=h;var d=function(){function t(t,e,n,r,i){this.input=t,this.location=e,this.tokens=n,this.parseAction=r,this.errors=i,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.index=0}return t.prototype.peek=function(t){var e=this.index+t;return e":case"<=":case">=":this.advance();var n=this.parseAdditive();t=new c.Binary(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseAdditive=function(){for(var t=this.parseMultiplicative();this.next.type==p.TokenType.Operator;){var e=this.next.strValue;switch(e){case"+":case"-":this.advance();var n=this.parseMultiplicative();t=new c.Binary(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseMultiplicative=function(){for(var t=this.parsePrefix();this.next.type==p.TokenType.Operator;){var e=this.next.strValue;switch(e){case"*":case"%":case"/":this.advance();var n=this.parsePrefix();t=new c.Binary(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parsePrefix=function(){if(this.next.type==p.TokenType.Operator){var t=this.inputIndex,e=this.next.strValue,n=void 0;switch(e){case"+":return this.advance(),this.parsePrefix();case"-":return this.advance(),n=this.parsePrefix(),new c.Binary(this.span(t),e,new c.LiteralPrimitive(new c.ParseSpan(t,t),0),n);case"!":return this.advance(),n=this.parsePrefix(),new c.PrefixNot(this.span(t),n)}}return this.parseCallChain()},t.prototype.parseCallChain=function(){for(var t=this.parsePrimary();;)if(this.optionalCharacter(o.$PERIOD))t=this.parseAccessMemberOrMethodCall(t,!1);else if(this.optionalOperator("?."))t=this.parseAccessMemberOrMethodCall(t,!0);else if(this.optionalCharacter(o.$LBRACKET)){this.rbracketsExpected++;var e=this.parsePipe();if(this.rbracketsExpected--,this.expectCharacter(o.$RBRACKET),this.optionalOperator("=")){var n=this.parseConditional();t=new c.KeyedWrite(this.span(t.span.start),t,e,n)}else t=new c.KeyedRead(this.span(t.span.start),t,e)}else{if(!this.optionalCharacter(o.$LPAREN))return t;this.rparensExpected++;var r=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(o.$RPAREN),t=new c.FunctionCall(this.span(t.span.start),t,r)}},t.prototype.parsePrimary=function(){var t=this.inputIndex;if(this.optionalCharacter(o.$LPAREN)){this.rparensExpected++;var e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(o.$RPAREN),e}if(this.next.isKeywordNull()||this.next.isKeywordUndefined())return this.advance(),new c.LiteralPrimitive(this.span(t),null);if(this.next.isKeywordTrue())return this.advance(),new c.LiteralPrimitive(this.span(t),!0);if(this.next.isKeywordFalse())return this.advance(),new c.LiteralPrimitive(this.span(t),!1);if(this.optionalCharacter(o.$LBRACKET)){this.rbracketsExpected++;var n=this.parseExpressionList(o.$RBRACKET);return this.rbracketsExpected--,this.expectCharacter(o.$RBRACKET),new c.LiteralArray(this.span(t),n)}if(this.next.isCharacter(o.$LBRACE))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new c.ImplicitReceiver(this.span(t)),!1);if(this.next.isNumber()){var r=this.next.toNumber();return this.advance(),new c.LiteralPrimitive(this.span(t),r)}if(this.next.isString()){var i=this.next.toString();return this.advance(),new c.LiteralPrimitive(this.span(t),i)}return this.index>=this.tokens.length?(this.error("Unexpected end of expression: "+this.input),new c.EmptyExpr(this.span(t))):(this.error("Unexpected token "+this.next),new c.EmptyExpr(this.span(t)))},t.prototype.parseExpressionList=function(t){var e=[];if(!this.next.isCharacter(t))do e.push(this.parsePipe());while(this.optionalCharacter(o.$COMMA));return e},t.prototype.parseLiteralMap=function(){var t=[],e=[],n=this.inputIndex;if(this.expectCharacter(o.$LBRACE),!this.optionalCharacter(o.$RBRACE)){this.rbracesExpected++;do{var r=this.expectIdentifierOrKeywordOrString();t.push(r),this.expectCharacter(o.$COLON),e.push(this.parsePipe())}while(this.optionalCharacter(o.$COMMA));this.rbracesExpected--,this.expectCharacter(o.$RBRACE)}return new c.LiteralMap(this.span(n),t,e)},t.prototype.parseAccessMemberOrMethodCall=function(t,e){void 0===e&&(e=!1);var n=t.span.start,r=this.expectIdentifierOrKeyword();if(this.optionalCharacter(o.$LPAREN)){this.rparensExpected++;var i=this.parseCallArguments();this.expectCharacter(o.$RPAREN),this.rparensExpected--;var s=this.span(n);return e?new c.SafeMethodCall(s,t,r,i):new c.MethodCall(s,t,r,i)}if(e)return this.optionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new c.EmptyExpr(this.span(n))):new c.SafePropertyRead(this.span(n),t,r);if(this.optionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new c.EmptyExpr(this.span(n));var a=this.parseConditional();return new c.PropertyWrite(this.span(n),t,r,a)}return new c.PropertyRead(this.span(n),t,r)},t.prototype.parseCallArguments=function(){if(this.next.isCharacter(o.$RPAREN))return[];var t=[];do t.push(this.parsePipe());while(this.optionalCharacter(o.$COMMA));return t},t.prototype.expectTemplateBindingKey=function(){var t="",e=!1;do t+=this.expectIdentifierOrKeywordOrString(),e=this.optionalOperator("-"),e&&(t+="-");while(e);return t.toString()},t.prototype.parseTemplateBindings=function(){for(var t=[],e=null,n=[];this.index0&&t[t.length-1]===e}var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=n(4),s=n(7),a=n(55),u=n(372),c=n(40),p=n(67),l=n(44),f=function(t){function e(e,n,r){t.call(this,n,r),this.elementName=e}return i(e,t),e.create=function(t,n,r){return new e(t,n,r)},e}(c.ParseError);e.TreeError=f;var h=function(){function t(t,e){this.rootNodes=t,this.errors=e}return t}();e.ParseTreeResult=h;var d=function(){function t(t){this._getTagDefinition=t}return t.prototype.parse=function(t,e,n,r){void 0===n&&(n=!1),void 0===r&&(r=l.DEFAULT_INTERPOLATION_CONFIG);var i=u.tokenize(t,e,this._getTagDefinition,n,r),o=new v(i.tokens,this._getTagDefinition).build();return new h(o.rootNodes,i.errors.concat(o.errors))},t}();e.Parser=d;var v=function(){function t(t,e){this.tokens=t,this.getTagDefinition=e,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return t.prototype.build=function(){for(;this._peek.type!==u.TokenType.EOF;)this._peek.type===u.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===u.TokenType.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===u.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===u.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===u.TokenType.TEXT||this._peek.type===u.TokenType.RAW_TEXT||this._peek.type===u.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===u.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance();return new h(this._rootNodes,this._errors)},t.prototype._advance=function(){var t=this._peek;return this._index0)return this._errors=this._errors.concat(s.errors),null;var p=new c.ParseSourceSpan(e.sourceSpan.start,i.sourceSpan.end),l=new c.ParseSourceSpan(n.sourceSpan.start,i.sourceSpan.end);return new a.ExpansionCase(e.parts[0],s.rootNodes,p,e.sourceSpan,l)},t.prototype._collectExpansionExpTokens=function(t){for(var e=[],n=[u.TokenType.EXPANSION_CASE_EXP_START];;){if((this._peek.type===u.TokenType.EXPANSION_FORM_START||this._peek.type===u.TokenType.EXPANSION_CASE_EXP_START)&&n.push(this._peek.type),this._peek.type===u.TokenType.EXPANSION_CASE_EXP_END){if(!r(n,u.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(f.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0==n.length)return e}if(this._peek.type===u.TokenType.EXPANSION_FORM_END){if(!r(n,u.TokenType.EXPANSION_FORM_START))return this._errors.push(f.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(this._peek.type===u.TokenType.EOF)return this._errors.push(f.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;e.push(this._advance())}},t.prototype._consumeText=function(t){var e=t.parts[0];if(e.length>0&&"\n"==e[0]){var n=this._getParentElement();o.isPresent(n)&&0==n.children.length&&this.getTagDefinition(n.name).ignoreFirstLf&&(e=e.substring(1))}e.length>0&&this._addToParent(new a.Text(e,t.sourceSpan))},t.prototype._closeVoidElement=function(){if(this._elementStack.length>0){var t=s.ListWrapper.last(this._elementStack);this.getTagDefinition(t.name).isVoid&&this._elementStack.pop()}},t.prototype._consumeStartTag=function(t){for(var e=t.parts[0],n=t.parts[1],r=[];this._peek.type===u.TokenType.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));var i=this._getElementFullName(e,n,this._getParentElement()),o=!1;if(this._peek.type===u.TokenType.TAG_OPEN_END_VOID){this._advance(),o=!0;var s=this.getTagDefinition(i);s.canSelfClose||null!==p.getNsPrefix(i)||s.isVoid||this._errors.push(f.create(i,t.sourceSpan,'Only void and foreign elements can be self closed "'+t.parts[1]+'"'))}else this._peek.type===u.TokenType.TAG_OPEN_END&&(this._advance(),o=!1);var l=this._peek.sourceSpan.start,h=new c.ParseSourceSpan(t.sourceSpan.start,l),d=new a.Element(i,r,[],h,h,null);this._pushElement(d),o&&(this._popElement(i),d.endSourceSpan=h)},t.prototype._pushElement=function(t){if(this._elementStack.length>0){var e=s.ListWrapper.last(this._elementStack);this.getTagDefinition(e.name).isClosedByChild(t.name)&&this._elementStack.pop()}var n=this.getTagDefinition(t.name),r=this._getParentElementSkippingContainers(),i=r.parent,u=r.container;if(o.isPresent(i)&&n.requireExtraParent(i.name)){var c=new a.Element(n.parentToAdd,[],[],t.sourceSpan,t.startSourceSpan,t.endSourceSpan);this._insertBeforeContainer(i,u,c)}this._addToParent(t),this._elementStack.push(t)},t.prototype._consumeEndTag=function(t){var e=this._getElementFullName(t.parts[0],t.parts[1],this._getParentElement());this._getParentElement()&&(this._getParentElement().endSourceSpan=t.sourceSpan),this.getTagDefinition(e).isVoid?this._errors.push(f.create(e,t.sourceSpan,'Void elements do not have end tags "'+t.parts[1]+'"')):this._popElement(e)||this._errors.push(f.create(e,t.sourceSpan,'Unexpected closing tag "'+t.parts[1]+'"'))},t.prototype._popElement=function(t){for(var e=this._elementStack.length-1;e>=0;e--){var n=this._elementStack[e];if(n.name==t)return s.ListWrapper.splice(this._elementStack,e,this._elementStack.length-e),!0;if(!this.getTagDefinition(n.name).closedByParent)return!1}return!1},t.prototype._consumeAttr=function(t){var e=p.mergeNsAndName(t.parts[0],t.parts[1]),n=t.sourceSpan.end,r="";if(this._peek.type===u.TokenType.ATTR_VALUE){var i=this._advance();r=i.parts[0],n=i.sourceSpan.end}return new a.Attribute(e,r,new c.ParseSourceSpan(t.sourceSpan.start,n))},t.prototype._getParentElement=function(){return this._elementStack.length>0?s.ListWrapper.last(this._elementStack):null},t.prototype._getParentElementSkippingContainers=function(){for(var t=null,e=this._elementStack.length-1;e>=0;e--){if("ng-container"!==this._elementStack[e].name)return{parent:this._elementStack[e],container:t};t=this._elementStack[e]}return{parent:s.ListWrapper.last(this._elementStack),container:t}},t.prototype._addToParent=function(t){var e=this._getParentElement();o.isPresent(e)?e.children.push(t):this._rootNodes.push(t)},t.prototype._insertBeforeContainer=function(t,e,n){if(e){if(t){var r=t.children.indexOf(e);t.children[r]=n}else this._rootNodes.push(n);n.children.push(e),this._elementStack.splice(this._elementStack.indexOf(e),0,n)}else this._addToParent(n),this._elementStack.push(n)},t.prototype._getElementFullName=function(t,e,n){return o.isBlank(t)&&(t=this.getTagDefinition(e).implicitNamespacePrefix,o.isBlank(t)&&o.isPresent(n)&&(t=p.getNsPrefix(n.name))),p.mergeNsAndName(t,e)},t}()},function(t,e,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
	 */
"use strict";function r(t){return t.trim().split(/\s+/g)}function i(t,e){var n=new _.CssSelector,i=v.splitNsName(t)[1];n.setElement(i);for(var o=0;o0&&this._console.warn("Template parse warnings:\n"+a.join("\n")),u.length>0){var c=u.join("\n");throw new p.BaseException("Template parse errors:\n"+c)}return s.templateAst},t.prototype.tryParse=function(t,e,n,r,i,o){var s;t.template&&(s=m.InterpolationConfig.fromArray(t.template.interpolation));var a,u=this._htmlParser.parse(e,o,!0,s),p=u.errors;if(0==p.length){var l=O.expandNodes(u.rootNodes);p.push.apply(p,l.errors),u=new d.ParseTreeResult(l.nodes,p)}if(u.rootNodes.length>0){var f=h.removeIdentifierDuplicates(n),v=h.removeIdentifierDuplicates(r),y=new A.ProviderViewContext(t,u.rootNodes[0].sourceSpan),_=new U(y,f,v,i,this._exprParser,this._schemaRegistry);a=S.visitAll(_,u.rootNodes,q),p.push.apply(p,_.errors.concat(y.errors))}else a=[];return this._assertNoReferenceDuplicationOnTemplate(a,p),p.length>0?new F(a,p):(c.isPresent(this.transforms)&&this.transforms.forEach(function(t){a=g.templateVisitAll(t,a)}),new F(a,p))},t.prototype._assertNoReferenceDuplicationOnTemplate=function(t,e){var n=[];t.filter(function(t){return!!t.references}).forEach(function(t){return t.references.forEach(function(t){var r=t.name;if(n.indexOf(r)<0)n.push(r);else{var i=new j('Reference "#'+r+'" is defined several times',t.sourceSpan,y.ParseErrorLevel.FATAL);e.push(i)}})})},t.decorators=[{type:s.Injectable}],t.ctorParameters=[{type:f.Parser},{type:b.ElementSchemaRegistry},{type:d.HtmlParser},{type:a.Console},{type:Array,decorators:[{type:s.Optional},{type:s.Inject,args:[e.TEMPLATE_TRANSFORMS]}]}],t}();e.TemplateParser=B;var U=function(){function t(t,e,n,r,i,o){var s=this;this.providerViewContext=t,this._schemas=r,this._exprParser=i,this._schemaRegistry=o,this.errors=[],this.directivesIndex=new Map,this.ngContentCount=0,this.selectorMatcher=new _.SelectorMatcher;var a=t.component.template;c.isPresent(a)&&c.isPresent(a.interpolation)&&(this._interpolationConfig={start:a.interpolation[0],end:a.interpolation[1]}),u.ListWrapper.forEachWithIndex(e,function(t,e){var n=_.CssSelector.parse(t.selector);s.selectorMatcher.addSelectables(n,t),s.directivesIndex.set(t,e)}),this.pipesByName=new Map,n.forEach(function(t){return s.pipesByName.set(t.name,t)})}return t.prototype._reportError=function(t,e,n){void 0===n&&(n=y.ParseErrorLevel.FATAL),this.errors.push(new j(t,e,n))},t.prototype._reportParserErors=function(t,e){for(var n=0,r=t;na.MAX_INTERPOLATION_VALUES)throw new p.BaseException("Only support at most "+a.MAX_INTERPOLATION_VALUES+" interpolation values!");return r}catch(i){return this._reportError(""+i,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype._parseAction=function(t,e){var n=e.start.toString();try{var r=this._exprParser.parseAction(t,n,this._interpolationConfig);return r&&this._reportParserErors(r.errors,e),!r||r.ast instanceof l.EmptyExpr?(this._reportError("Empty expressions are not allowed",e),this._exprParser.wrapLiteralPrimitive("ERROR",n)):(this._checkPipes(r,e),r)}catch(i){return this._reportError(""+i,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype._parseBinding=function(t,e){var n=e.start.toString();try{var r=this._exprParser.parseBinding(t,n,this._interpolationConfig);return r&&this._reportParserErors(r.errors,e),this._checkPipes(r,e),r}catch(i){return this._reportError(""+i,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype._parseTemplateBindings=function(t,e){var n=this,r=e.start.toString();try{var i=this._exprParser.parseTemplateBindings(t,r);return this._reportParserErors(i.errors,e),i.templateBindings.forEach(function(t){c.isPresent(t.expression)&&n._checkPipes(t.expression,e)}),i.warnings.forEach(function(t){n._reportError(t,e,y.ParseErrorLevel.WARNING)}),i.templateBindings}catch(o){return this._reportError(""+o,e),[]}},t.prototype._checkPipes=function(t,e){var n=this;if(c.isPresent(t)){var r=new K;t.visit(r),r.pipes.forEach(function(t){n.pipesByName.has(t)||n._reportError("The pipe '"+t+"' could not be found",e)})}},t.prototype.visitExpansion=function(t,e){return null},t.prototype.visitExpansionCase=function(t,e){return null},t.prototype.visitText=function(t,e){var n=e.findNgContentIndex(L),r=this._parseInterpolation(t.value,t.sourceSpan);return c.isPresent(r)?new g.BoundTextAst(r,n,t.sourceSpan):new g.TextAst(t.value,n,t.sourceSpan)},t.prototype.visitAttribute=function(t,e){return new g.AttrAst(t.name,t.value,t.sourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitElement=function(t,e){var n=this,r=t.name,o=w.preparseElement(t);if(o.type===w.PreparsedElementType.SCRIPT||o.type===w.PreparsedElementType.STYLE)return null;if(o.type===w.PreparsedElementType.STYLESHEET&&E.isStyleUrlResolvable(o.hrefAttr))return null;var s=[],a=[],u=[],p=[],l=[],f=[],h=[],d=[],y=[],m=!1,b=[],C=v.splitNsName(r.toLowerCase())[1],P=C==x;t.attrs.forEach(function(t){var e=n._parseAttr(P,t,s,a,l,f,u,p),r=n._parseInlineTemplateBinding(t,d,h,y);r&&m&&n._reportError("Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with *",t.sourceSpan),e||r||(b.push(n.visitAttribute(t,null)),s.push([t.name,t.value])),r&&(m=!0)});var O=i(r,s),T=this._parseDirectives(this.selectorMatcher,O),R=[],I=this._createDirectiveAsts(P,t.name,T,a,u,t.sourceSpan,R),M=this._createElementPropertyAsts(t.name,a,I).concat(l),N=e.isTemplateElement||m,k=new A.ProviderElementContext(this.providerViewContext,e.providerContext,N,I,b,R,t.sourceSpan),D=S.visitAll(o.nonBindable?$:this,t.children,z.create(P,I,P?e.providerContext:k));k.afterElement();var V,L=c.isPresent(o.projectAs)?_.CssSelector.parse(o.projectAs)[0]:O,j=e.findNgContentIndex(L);if(o.type===w.PreparsedElementType.NG_CONTENT)c.isPresent(t.children)&&t.children.length>0&&this._reportError(" element cannot have content.  must be immediately followed by ",t.sourceSpan),V=new g.NgContentAst(this.ngContentCount++,m?null:j,t.sourceSpan);else if(P)this._assertAllEventsPublishedByDirectives(I,f),this._assertNoComponentsNorElementBindingsOnTemplate(I,M,t.sourceSpan),V=new g.EmbeddedTemplateAst(b,f,R,p,k.transformedDirectiveAsts,k.transformProviders,k.transformedHasViewContainer,D,m?null:j,t.sourceSpan);else{this._assertOnlyOneComponent(I,t.sourceSpan);var F=m?null:e.findNgContentIndex(L);V=new g.ElementAst(r,b,M,f,R,k.transformedDirectiveAsts,k.transformProviders,k.transformedHasViewContainer,D,m?null:F,t.sourceSpan)}if(m){var B=i(x,d),U=this._parseDirectives(this.selectorMatcher,B),W=this._createDirectiveAsts(!0,t.name,U,h,[],t.sourceSpan,[]),H=this._createElementPropertyAsts(t.name,h,W);this._assertNoComponentsNorElementBindingsOnTemplate(W,H,t.sourceSpan);var G=new A.ProviderElementContext(this.providerViewContext,e.providerContext,e.isTemplateElement,W,[],[],t.sourceSpan);G.afterElement(),V=new g.EmbeddedTemplateAst([],[],[],y,G.transformedDirectiveAsts,G.transformProviders,G.transformedHasViewContainer,[V],j,t.sourceSpan)}return V},t.prototype._parseInlineTemplateBinding=function(t,e,n,r){var i=null;if(this._normalizeAttributeName(t.name)==R)i=t.value;else if(t.name.startsWith(I)){var o=t.name.substring(I.length);i=0==t.value.length?o:o+" "+t.value}if(c.isPresent(i)){for(var s=this._parseTemplateBindings(i,t.sourceSpan),a=0;a elements is deprecated. Use "let-" instead!',e.sourceSpan,y.ParseErrorLevel.WARNING),this._parseVariable(h,p,e.sourceSpan,a)):(this._reportError('"var-" on non