@angular/core 6.1.6 → 6.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/core-testing.umd.js +23 -16
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core-testing.umd.min.js +6 -6
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +166 -139
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +81 -81
- package/bundles/core.umd.min.js.map +1 -1
- package/core.metadata.json +1 -1
- package/esm2015/index.js +2 -2
- package/esm2015/public_api.js +2 -2
- package/esm2015/src/application_module.js +11 -4
- package/esm2015/src/change_detection/change_detector_ref.js +2 -2
- package/esm2015/src/core.js +2 -2
- package/esm2015/src/di/injection_token.js +3 -3
- package/esm2015/src/di/reflective_injector.js +1 -10
- package/esm2015/src/linker/component_factory.js +19 -16
- package/esm2015/src/linker/template_ref.js +20 -14
- package/esm2015/src/linker/view_container_ref.js +61 -68
- package/esm2015/src/linker/view_ref.js +29 -21
- package/esm2015/src/metadata/view.js +1 -4
- package/esm2015/src/render3/instructions.js +2 -2
- package/esm2015/src/render3/ng_dev_mode.js +52 -31
- package/esm2015/src/version.js +1 -1
- package/esm2015/src/zone.js +2 -2
- package/esm5/src/application_init.js +7 -8
- package/esm5/src/application_module.js +16 -10
- package/esm5/src/application_ref.js +15 -21
- package/esm5/src/change_detection/change_detector_ref.js +2 -2
- package/esm5/src/console.js +5 -4
- package/esm5/src/di/injection_token.js +3 -3
- package/esm5/src/di/reflective_injector.js +1 -1
- package/esm5/src/linker/compiler.js +5 -4
- package/esm5/src/linker/component_factory.js +4 -6
- package/esm5/src/linker/system_js_ng_module_factory_loader.js +6 -9
- package/esm5/src/linker/template_ref.js +13 -8
- package/esm5/src/linker/view_container_ref.js +9 -13
- package/esm5/src/linker/view_ref.js +22 -18
- package/esm5/src/metadata/view.js +4 -4
- package/esm5/src/render3/instructions.js +2 -2
- package/esm5/src/render3/ng_dev_mode.js +48 -27
- package/esm5/src/testability/testability.js +10 -13
- package/esm5/src/version.js +1 -1
- package/esm5/src/zone.js +2 -2
- package/esm5/testing/src/logger.js +6 -6
- package/esm5/testing/src/ng_zone_mock.js +5 -6
- package/esm5/testing/src/test_bed.js +13 -13
- package/esm5/testing/src/test_compiler.js +4 -4
- package/fesm2015/core.js +110 -84
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/fesm5/core.js +155 -141
- package/fesm5/core.js.map +1 -1
- package/fesm5/testing.js +17 -17
- package/fesm5/testing.js.map +1 -1
- package/package.json +1 -1
- package/src/application_module.d.ts +10 -2
- package/src/change_detection/change_detector_ref.d.ts +1 -1
- package/src/di/injection_token.d.ts +2 -2
- package/src/di/reflective_injector.d.ts +0 -9
- package/src/linker/component_factory.d.ts +22 -14
- package/src/linker/template_ref.d.ts +21 -11
- package/src/linker/view_container_ref.d.ts +61 -44
- package/src/linker/view_ref.d.ts +38 -18
- package/src/metadata/view.d.ts +3 -3
- package/src/render3/ng_dev_mode.d.ts +1 -1
- package/src/zone.d.ts +1 -1
package/bundles/core.umd.min.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v6.1.
|
|
2
|
+
* @license Angular v6.1.10
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@angular/core",["exports","rxjs","rxjs/operators"],t):t((e.ng=e.ng||{},e.ng.core={}),e.rxjs,e.rxjs.operators)}(this,function(e,t,n){"use strict";var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function e(t){for(var n,r=1,o=arguments.length;r<o;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t}).apply(this,arguments)};function a(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function
|
|
6
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@angular/core",["exports","rxjs","rxjs/operators"],t):t((e.ng=e.ng||{},e.ng.core={}),e.rxjs,e.rxjs.operators)}(this,function(e,t,n){"use strict";var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function e(t){for(var n,r=1,o=arguments.length;r<o;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t}).apply(this,arguments)};function a(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function s(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function c(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function f(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(c(arguments[t]));return e}
|
|
7
7
|
/**
|
|
8
8
|
* @license
|
|
9
9
|
* Copyright Google Inc. All Rights Reserved.
|
|
10
10
|
*
|
|
11
11
|
* Use of this source code is governed by an MIT-style license that can be
|
|
12
12
|
* found in the LICENSE file at https://angular.io/license
|
|
13
|
-
*/function
|
|
13
|
+
*/function d(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function p(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
16
16
|
* Copyright Google Inc. All Rights Reserved.
|
|
17
17
|
*
|
|
18
18
|
* Use of this source code is governed by an MIT-style license that can be
|
|
19
19
|
* found in the LICENSE file at https://angular.io/license
|
|
20
|
-
*/var
|
|
20
|
+
*/var h=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?d({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),v="__annotations__",y="__parameters__",g="__prop__metadata__";
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright Google Inc. All Rights Reserved.
|
|
24
24
|
*
|
|
25
25
|
* Use of this source code is governed by an MIT-style license that can be
|
|
26
26
|
* found in the LICENSE file at https://angular.io/license
|
|
27
|
-
*/function
|
|
27
|
+
*/function m(e,t,n,r,o){var i=_(t);function a(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof a)return i.call.apply(i,f([this],t)),this;var u=new((e=a).bind.apply(e,f([void 0],t))),s=function e(n){return o&&o.apply(void 0,f([n],t)),(n.hasOwnProperty(v)?n[v]:Object.defineProperty(n,v,{value:[]})[v]).push(u),n};return r&&r(s),s}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a}function _(e){return function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(e){var o=e.apply(void 0,f(n));for(var i in o)this[i]=o[i]}}}function w(e,t,n){var r=_(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var i=new((e=o).bind.apply(e,f([void 0],t)));return a.annotation=i,a;function a(e,t,n){for(var r=e.hasOwnProperty(y)?e[y]:Object.defineProperty(e,y,{value:[]})[y];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}function b(e,t,n){var r=_(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var i=new((e=o).bind.apply(e,f([void 0],t)));return function e(t,n){var r=t.constructor,o=r.hasOwnProperty(g)?r[g]:Object.defineProperty(r,g,{value:{}})[g];o[n]=o.hasOwnProperty(n)&&o[n]||[],o[n].unshift(i)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}
|
|
28
28
|
/**
|
|
29
29
|
* @license
|
|
30
30
|
* Copyright Google Inc. All Rights Reserved.
|
|
31
31
|
*
|
|
32
32
|
* Use of this source code is governed by an MIT-style license that can be
|
|
33
33
|
* found in the LICENSE file at https://angular.io/license
|
|
34
|
-
*/var
|
|
34
|
+
*/var C,k,x,I=new h("AnalyzeForEntryComponents"),N=w("Attribute",function(e){return{attributeName:e}}),E=b("ContentChildren",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)},x=function x(){}),R=b("ContentChild",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)},x),T=b("ViewChildren",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)},x),O=b("ViewChild",function(e,t){return i({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)},x);(
|
|
35
35
|
/**
|
|
36
36
|
* @license
|
|
37
37
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
* Use of this source code is governed by an MIT-style license that can be
|
|
40
40
|
* found in the LICENSE file at https://angular.io/license
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
C=e.ChangeDetectionStrategy||(e.ChangeDetectionStrategy={}))[C.OnPush=0]="OnPush",C[C.Default=1]="Default",(k=e.ɵChangeDetectorStatus||(e.ɵChangeDetectorStatus={}))[k.CheckOnce=0]="CheckOnce",k[k.Checked=1]="Checked",k[k.CheckAlways=2]="CheckAlways",k[k.Detached=3]="Detached",k[k.Errored=4]="Errored",k[k.Destroyed=5]="Destroyed";
|
|
43
43
|
/**
|
|
44
44
|
* @license
|
|
45
45
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -47,28 +47,28 @@ _=e.ChangeDetectionStrategy||(e.ChangeDetectionStrategy={}))[_.OnPush=0]="OnPush
|
|
|
47
47
|
* Use of this source code is governed by an MIT-style license that can be
|
|
48
48
|
* found in the LICENSE file at https://angular.io/license
|
|
49
49
|
*/
|
|
50
|
-
var
|
|
50
|
+
var D=m("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,function(e,t){}),P=m("Component",function(t){return void 0===t&&(t={}),i({changeDetection:e.ChangeDetectionStrategy.Default},t)},D,void 0,function(e,t){}),A=m("Pipe",function(e){return i({pure:!0},e)},void 0,void 0,function(e,t){}),j=b("Input",function(e){return{bindingPropertyName:e}}),V=b("Output",function(e){return{bindingPropertyName:e}}),S=b("HostBinding",function(e){return{hostPropertyName:e}}),M=b("HostListener",function(e,t){return{eventName:e,args:t}}),F=Function;
|
|
51
51
|
/**
|
|
52
52
|
* @license
|
|
53
53
|
* Copyright Google Inc. All Rights Reserved.
|
|
54
54
|
*
|
|
55
55
|
* Use of this source code is governed by an MIT-style license that can be
|
|
56
56
|
* found in the LICENSE file at https://angular.io/license
|
|
57
|
-
*/function
|
|
57
|
+
*/function H(e){return"function"==typeof e}
|
|
58
58
|
/**
|
|
59
59
|
* @license
|
|
60
60
|
* Copyright Google Inc. All Rights Reserved.
|
|
61
61
|
*
|
|
62
62
|
* Use of this source code is governed by an MIT-style license that can be
|
|
63
63
|
* found in the LICENSE file at https://angular.io/license
|
|
64
|
-
*/var
|
|
64
|
+
*/var L="undefined"!=typeof window&&window,B="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,z="undefined"!=typeof global&&global||L||B,Q=Promise.resolve(0),U=null;function Z(){if(!U){var e=z.Symbol;if(e&&e.iterator)U=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(U=r)}}return U}function q(e){"undefined"==typeof Zone?Q.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function K(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function W(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(W).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}
|
|
65
65
|
/**
|
|
66
66
|
* @license
|
|
67
67
|
* Copyright Google Inc. All Rights Reserved.
|
|
68
68
|
*
|
|
69
69
|
* Use of this source code is governed by an MIT-style license that can be
|
|
70
70
|
* found in the LICENSE file at https://angular.io/license
|
|
71
|
-
*/var
|
|
71
|
+
*/var Y=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,$=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{/,G=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{[\s\S]*constructor\s*\(/,J=function(){function e(e){this._reflect=e||z.Reflect}return e.prototype.isReflectionEnabled=function(){return!0},e.prototype.factory=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new(e.bind.apply(e,f([void 0],t)))}},e.prototype._zipTypesAndAnnotations=function(e,t){var n;n=void 0===e?new Array(t.length):new Array(e.length);for(var r=0;r<n.length;r++)n[r]=void 0===e?[]:e[r]!=Object?[e[r]]:[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n},e.prototype._ownParameters=function(e,t){var n=e.toString();if(Y.exec(n)||$.exec(n)&&!G.exec(n))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var r=e.ctorParameters;if(r&&r!==t.ctorParameters){var o="function"==typeof r?r():r,i=o.map(function(e){return e&&e.type}),a=o.map(function(e){return e&&X(e.decorators)});return this._zipTypesAndAnnotations(i,a)}var u=e.hasOwnProperty(y)&&e[y],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return s||u?this._zipTypesAndAnnotations(s,u):new Array(e.length).fill(void 0)},e.prototype.parameters=function(e){if(!H(e))return[];var t=ee(e),n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]},e.prototype._ownAnnotations=function(e,t){if(e.annotations&&e.annotations!==t.annotations){var n=e.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return e.decorators&&e.decorators!==t.decorators?X(e.decorators):e.hasOwnProperty(v)?e[v]:null},e.prototype.annotations=function(e){if(!H(e))return[];var t=ee(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)},e.prototype._ownPropMetadata=function(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){var n=e.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(e.propDecorators&&e.propDecorators!==t.propDecorators){var r=e.propDecorators,o={};return Object.keys(r).forEach(function(e){o[e]=X(r[e])}),o}return e.hasOwnProperty(g)?e[g]:null},e.prototype.propMetadata=function(e){if(!H(e))return{};var t=ee(e),n={};if(t!==Object){var r=this.propMetadata(t);Object.keys(r).forEach(function(e){n[e]=r[e]})}var o=this._ownPropMetadata(e,t);return o&&Object.keys(o).forEach(function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,f(n[e])),t.push.apply(t,f(o[e])),n[e]=t}),n},e.prototype.hasLifecycleHook=function(e,t){return e instanceof F&&t in e.prototype},e.prototype.guards=function(e){return{}},e.prototype.getter=function(e){return new Function("o","return o."+e+";")},e.prototype.setter=function(e){return new Function("o","v","return o."+e+" = v;")},e.prototype.method=function(e){return new Function("o","args","if (!o."+e+") throw new Error('\""+e+"\" is undefined');\n return o."+e+".apply(o, args);")},e.prototype.importUri=function(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+W(e)},e.prototype.resourceUri=function(e){return"./"+W(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return r},e.prototype.resolveEnum=function(e,t){return e[t]},e}();function X(e){return e?e.map(function(e){var t=e.type.annotationCls;return new(t.bind.apply(t,f([void 0],e.args?e.args:[])))}):[]}function ee(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}
|
|
72
72
|
/**
|
|
73
73
|
* @license
|
|
74
74
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -83,21 +83,21 @@ var R=v("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,funct
|
|
|
83
83
|
* Use of this source code is governed by an MIT-style license that can be
|
|
84
84
|
* found in the LICENSE file at https://angular.io/license
|
|
85
85
|
*/
|
|
86
|
-
function
|
|
86
|
+
function te(e){return e.__forward_ref__=te,e.toString=function(){return W(this())},e}function ne(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===te?e():e}
|
|
87
87
|
/**
|
|
88
88
|
* @license
|
|
89
89
|
* Copyright Google Inc. All Rights Reserved.
|
|
90
90
|
*
|
|
91
91
|
* Use of this source code is governed by an MIT-style license that can be
|
|
92
92
|
* found in the LICENSE file at https://angular.io/license
|
|
93
|
-
*/var
|
|
93
|
+
*/var re=w("Inject",function(e){return{token:e}}),oe=w("Optional"),ie=w("Self"),ae=w("SkipSelf"),ue=w("Host"),se="__source",le=new Object,ce=le,fe=new h("INJECTOR"),de=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=le),t===le)throw new Error("NullInjectorError: No provider for "+W(e)+"!");return t},e}(),pe=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new xe(e,t):new xe(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=le,e.NULL=new de,e.ngInjectableDef=d({providedIn:"any",factory:function(){return Oe(fe)}}),e}(),he=function(e){return e},ve=[],ye=he,ge=function(){return Array.prototype.slice.call(arguments)},me={},_e=function we(e){for(var t in e)if(e[t]===me)return t;throw Error("!prop")}({provide:String,useValue:me}),be=pe.NULL,Ce=/\n/gm,ke="ɵ",xe=function(){function e(e,t,n){void 0===t&&(t=be),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(pe,{token:pe,fn:he,deps:ve,value:this,useNew:!1}),r.set(fe,{token:fe,fn:he,deps:ve,value:this,useNew:!1}),function e(t,n){if(n)if((n=ne(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Ee("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Ee("Unexpected provider",n);var o=ne(n.provide),i=function a(e){var t=function n(e){var t=ve,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((s=ne(n[r]))instanceof Array)for(var i=0,a=s;i<a.length;i++){var u=a[i];u instanceof oe||u==oe?o|=1:u instanceof ae||u==ae?o&=-3:u instanceof ie||u==ie?o&=-5:s=u instanceof re?u.token:ne(u)}t.push({token:s,options:o})}}else if(e.useExisting){var s;t=[{token:s=ne(e.useExisting),options:6}]}else if(!(n||_e in e))throw Ee("'deps' required",e);return t}(e),r=he,o=ve,i=!1,a=ne(e.provide);if(_e in e)o=e.useValue;else if(e.useFactory)r=e.useFactory;else if(e.useExisting);else if(e.useClass)i=!0,r=ne(e.useClass);else{if("function"!=typeof a)throw Ee("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);i=!0,r=a}return{deps:t,fn:r,useNew:i,value:o}}(n);if(!0===n.multi){var u=t.get(o);if(u){if(u.fn!==ge)throw Ie(o)}else t.set(o,u={token:n.provide,deps:[],useNew:!1,fn:ge,value:ve});u.deps.push({token:o=n,options:6})}var s=t.get(o);if(s&&s.fn==ge)throw Ie(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=0);var r=this._records.get(e);try{return function e(t,n,r,o,i,a){try{return function u(t,n,r,o,i,a){var u,s;if(!n||4&a)2&a||(s=o.get(t,i,0));else{if((s=n.value)==ye)throw Error(ke+"Circular dependency");if(s===ve){n.value=ye;var l=n.useNew,c=n.fn,d=n.deps,p=ve;if(d.length){p=[];for(var h=0;h<d.length;h++){var v=d[h],y=v.options,g=2&y?r.get(v.token):void 0;p.push(e(v.token,g,r,g||4&y?o:be,1&y?null:pe.THROW_IF_NOT_FOUND,0))}}n.value=s=l?new((u=c).bind.apply(u,f([void 0],p))):c.apply(void 0,p)}}return s}(t,n,r,o,i,a)}catch(e){throw e instanceof Error||(e=new Error(e)),(e.ngTempTokenPath=e.ngTempTokenPath||[]).unshift(t),n&&n.value==ye&&(n.value=ve),e}}(e,r,this._records,this.parent,t,n)}catch(t){var o=t.ngTempTokenPath;throw e[se]&&o.unshift(e[se]),t.message=Ne("\n"+t.message,o,this.source),t.ngTokenPath=o,t.ngTempTokenPath=null,t}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(W(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function Ie(e){return Ee("Cannot mix multi providers and regular providers",e)}function Ne(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==ke?e.substr(2):e;var r=W(t);if(t instanceof Array)r=t.map(W).join(" -> ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):W(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(Ce,"\n ")}function Ee(e,t){return new Error(Ne(e,t))}var Re=void 0;function Te(e){var t=Re;return Re=e,t}function Oe(e,t){if(void 0===t&&(t=0),void 0===Re)throw new Error("inject() must be called from an injection context");if(null===Re){var n=e.ngInjectableDef;if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&t)return null;throw new Error("Injector: NOT_FOUND ["+W(e)+"]")}return Re.get(e,8&t?null:void 0,t)}function De(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=0,a=0;a<r.length;a++){var u=r[a];u instanceof oe||"Optional"===u.ngMetadataName?i|=8:u instanceof ae||"SkipSelf"===u.ngMetadataName?i|=4:u instanceof ie||"Self"===u.ngMetadataName?i|=2:o=u instanceof re?u.token:u}t.push(Oe(o,i))}else t.push(Oe(r))}return t}
|
|
94
94
|
/**
|
|
95
95
|
* @license
|
|
96
96
|
* Copyright Google Inc. All Rights Reserved.
|
|
97
97
|
*
|
|
98
98
|
* Use of this source code is governed by an MIT-style license that can be
|
|
99
99
|
* found in the LICENSE file at https://angular.io/license
|
|
100
|
-
*/var
|
|
100
|
+
*/var Pe={},Ae=function je(e,t){for(var n in e)if(e[n]===t)return n;throw Error("Could not find renamed property on target object.")}({provide:String,useValue:Pe},Pe),Ve=[];function Se(e,t){if(!t){var n=(s=new J).parameters(e);return function(){return new(e.bind.apply(e,f([void 0],De(n))))}}if(Ae in t){var r=t;return function(){return r.useValue}}if(t.useExisting){var o=t;return function(){return Oe(o.useExisting)}}if(t.useFactory){var i=t;return function(){return i.useFactory.apply(i,f(De(i.deps||Ve)))}}if(t.useClass){var a=t,u=t.deps;if(!u){var s=new J;u=s.parameters(e)}return function(){var e;return new((e=a.useClass).bind.apply(e,f([void 0],De(u))))}}var l=t.deps;return l||(s=new J,l=s.parameters(e)),function(){return new(e.bind.apply(e,f([void 0],De(l))))}}var Me,Fe=m("Injectable",void 0,void 0,void 0,function(e,t){return function n(e,t){t&&void 0!==t.providedIn&&void 0===e.ngInjectableDef&&(e.ngInjectableDef=d({providedIn:t.providedIn,factory:Se(e,t)}))}(e,t)}),He=m("NgModule",function(e){return e},void 0,void 0,function(e,t){return function n(e,t){var n=t&&t.imports||[];t&&t.exports&&(n=f(n,[t.exports])),e.ngInjectorDef=p({factory:Se(e,{useClass:e}),providers:t&&t.providers,imports:n})}(e,t)});
|
|
101
101
|
/**
|
|
102
102
|
* @license
|
|
103
103
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -112,7 +112,7 @@ function J(e){return e.__forward_ref__=J,e.toString=function(){return Z(this())}
|
|
|
112
112
|
* Use of this source code is governed by an MIT-style license that can be
|
|
113
113
|
* found in the LICENSE file at https://angular.io/license
|
|
114
114
|
*/
|
|
115
|
-
|
|
115
|
+
Me=e.ViewEncapsulation||(e.ViewEncapsulation={}))[Me.Emulated=0]="Emulated",Me[Me.Native=1]="Native",Me[Me.None=2]="None",Me[Me.ShadowDom=3]="ShadowDom";
|
|
116
116
|
/**
|
|
117
117
|
* @license
|
|
118
118
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -127,14 +127,14 @@ je=e.ViewEncapsulation||(e.ViewEncapsulation={}))[je.Emulated=0]="Emulated",je[j
|
|
|
127
127
|
* Use of this source code is governed by an MIT-style license that can be
|
|
128
128
|
* found in the LICENSE file at https://angular.io/license
|
|
129
129
|
*/
|
|
130
|
-
var
|
|
130
|
+
var Le,Be=new(Le=function Le(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")})("6.1.10"),ze="ngDebugContext",Qe="ngOriginalError",Ue="ngErrorLogger";function Ze(e){return e[ze]}function qe(e){return e[Qe]}function Ke(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,f(t))}
|
|
131
131
|
/**
|
|
132
132
|
* @license
|
|
133
133
|
* Copyright Google Inc. All Rights Reserved.
|
|
134
134
|
*
|
|
135
135
|
* Use of this source code is governed by an MIT-style license that can be
|
|
136
136
|
* found in the LICENSE file at https://angular.io/license
|
|
137
|
-
*/var
|
|
137
|
+
*/var We=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function o(e){return e[Ue]||Ke}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?Ze(e)?Ze(e):this._findContext(qe(e)):null},e.prototype._findOriginalError=function(e){for(var t=qe(e);t&&qe(t);)t=qe(t);return t},e}();function Ye(e){return e.length>1?" ("+
|
|
138
138
|
/**
|
|
139
139
|
* @license
|
|
140
140
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -142,7 +142,7 @@ var Me,Fe=new(Me=function Me(e){this.full=e,this.major=e.split(".")[0],this.mino
|
|
|
142
142
|
* Use of this source code is governed by an MIT-style license that can be
|
|
143
143
|
* found in the LICENSE file at https://angular.io/license
|
|
144
144
|
*/
|
|
145
|
-
function t(e){for(var t=[],n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return
|
|
145
|
+
function t(e){for(var t=[],n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return W(e.token)}).join(" -> ")+")":""}function $e(e,t,n,r){var o=[t],i=n(o),a=r?function u(e,t){var n=e+" caused by: "+(t instanceof Error?t.message:t),r=Error(n);return r[Qe]=t,r}(i,r):Error(i);return a.addKey=Ge,a.keys=o,a.injectors=[e],a.constructResolvingMessage=n,a[Qe]=r,a}function Ge(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Je(e,t){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];n.push(i&&0!=i.length?i.map(W).join(" "):"?")}return Error("Cannot resolve all parameters for '"+W(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+W(e)+"' is decorated with Injectable.")}
|
|
146
146
|
/**
|
|
147
147
|
* @license
|
|
148
148
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -150,21 +150,21 @@ function t(e){for(var t=[],n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.pu
|
|
|
150
150
|
* Use of this source code is governed by an MIT-style license that can be
|
|
151
151
|
* found in the LICENSE file at https://angular.io/license
|
|
152
152
|
*/
|
|
153
|
-
var
|
|
153
|
+
var Xe=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=W(this.token)}return e.get=function(e){return et.get(ne(e))},Object.defineProperty(e,"numberOfKeys",{get:function(){return et.numberOfKeys},enumerable:!0,configurable:!0}),e}(),et=new(function(){function e(){this._allKeys=new Map}return e.prototype.get=function(e){if(e instanceof Xe)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new Xe(e,Xe.numberOfKeys);return this._allKeys.set(e,t),t},Object.defineProperty(e.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),e}()),tt=new(function(){function e(e){this.reflectionCapabilities=e}return e.prototype.updateCapabilities=function(e){this.reflectionCapabilities=e},e.prototype.factory=function(e){return this.reflectionCapabilities.factory(e)},e.prototype.parameters=function(e){return this.reflectionCapabilities.parameters(e)},e.prototype.annotations=function(e){return this.reflectionCapabilities.annotations(e)},e.prototype.propMetadata=function(e){return this.reflectionCapabilities.propMetadata(e)},e.prototype.hasLifecycleHook=function(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)},e.prototype.getter=function(e){return this.reflectionCapabilities.getter(e)},e.prototype.setter=function(e){return this.reflectionCapabilities.setter(e)},e.prototype.method=function(e){return this.reflectionCapabilities.method(e)},e.prototype.importUri=function(e){return this.reflectionCapabilities.importUri(e)},e.prototype.resourceUri=function(e){return this.reflectionCapabilities.resourceUri(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)},e.prototype.resolveEnum=function(e,t){return this.reflectionCapabilities.resolveEnum(e,t)},e}())(new J),nt=function(){function e(e,t,n){this.key=e,this.optional=t,this.visibility=n}return e.fromKey=function(t){return new e(t,!1,null)},e}(),rt=[],ot=function ot(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]},it=function it(e,t){this.factory=e,this.dependencies=t};function at(e){return new ot(Xe.get(e.provide),[function t(e){var t,n;if(e.useClass){var r=ne(e.useClass);t=tt.factory(r),n=st(r)}else e.useExisting?(t=function(e){return e},n=[nt.fromKey(Xe.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function o(e,t){if(t){var n=t.map(function(e){return[e]});return t.map(function(t){return lt(e,t,n)})}return st(e)}(e.useFactory,e.deps)):(t=function(){return e.useValue},n=rt);return new it(t,n)}(e)],e.multi||!1)}function ut(e){var t=function n(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=t.get(r.key.id);if(o){if(r.multiProvider!==o.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: "+o+" "+r);if(r.multiProvider)for(var i=0;i<r.resolvedFactories.length;i++)o.resolvedFactories.push(r.resolvedFactories[i]);else t.set(r.key.id,r)}else{var a;a=r.multiProvider?new ot(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,a)}}return t}(function e(t,n){return t.forEach(function(t){if(t instanceof F)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!(t instanceof Array))throw function r(e){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+e)}(t);e(t,n)}}),n}(e,[]).map(at),new Map);return Array.from(t.values())}function st(e){var t=tt.parameters(e);if(!t)return[];if(t.some(function(e){return null==e}))throw Je(e,t);return t.map(function(n){return lt(e,n,t)})}function lt(e,t,n){var r=null,o=!1;if(!Array.isArray(t))return ct(t instanceof re?t.token:t,o,null);for(var i=null,a=0;a<t.length;++a){var u=t[a];u instanceof F?r=u:u instanceof re?r=u.token:u instanceof oe?o=!0:u instanceof ie||u instanceof ae?i=u:u instanceof h&&(r=u)}if(null!=(r=ne(r)))return ct(r,o,i);throw Je(e,n)}function ct(e,t,n){return new nt(Xe.get(e),t,n)}
|
|
154
154
|
/**
|
|
155
155
|
* @license
|
|
156
156
|
* Copyright Google Inc. All Rights Reserved.
|
|
157
157
|
*
|
|
158
158
|
* Use of this source code is governed by an MIT-style license that can be
|
|
159
159
|
* found in the LICENSE file at https://angular.io/license
|
|
160
|
-
*/var
|
|
160
|
+
*/var ft=new Object,dt=function(){function e(){}return e.resolve=function(e){return ut(e)},e.resolveAndCreate=function(t,n){var r=e.resolve(t);return e.fromResolvedProviders(r,n)},e.fromResolvedProviders=function(e,t){return new pt(e,t)},e}(),pt=function(){function e(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;var n=e.length;this.keyIds=new Array(n),this.objs=new Array(n);for(var r=0;r<n;r++)this.keyIds[r]=e[r].key.id,this.objs[r]=ft}return e.prototype.get=function(e,t){return void 0===t&&(t=ce),this._getByKey(Xe.get(e),null,t)},e.prototype.resolveAndCreateChild=function(e){var t=dt.resolve(e);return this.createChildFromResolved(t)},e.prototype.createChildFromResolved=function(t){var n=new e(t);return n.parent=this,n},e.prototype.resolveAndInstantiate=function(e){return this.instantiateResolved(dt.resolve([e])[0])},e.prototype.instantiateResolved=function(e){return this._instantiateProvider(e)},e.prototype.getProviderAtIndex=function(e){if(e<0||e>=this._providers.length)throw function t(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function t(e,n){return $e(e,n,function(e){return"Cannot instantiate cyclic dependency!"+Ye(e)})}(this,e.key);return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])},e.prototype._instantiate=function(e,t){var n,r,o=this,i=t.factory;try{n=t.dependencies.map(function(e){return o._getByReflectiveDependency(e)})}catch(t){throw t.addKey&&t.addKey(this,e.key),t}try{r=i.apply(void 0,f(n))}catch(t){throw function a(e,t,n,r){return $e(e,r,function(e){var n=W(e[0].token);return t.message+": Error during instantiation of "+n+"!"+Ye(e)+"."},t)}(this,t,0,e.key)}return r},e.prototype._getByReflectiveDependency=function(e){return this._getByKey(e.key,e.visibility,e.optional?null:ce)},e.prototype._getByKey=function(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof ie?this._getByKeySelf(t,r):this._getByKeyDefault(t,r,n)},e.prototype._getObjByKeyId=function(e){for(var t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===ft&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return ft},e.prototype._throwOrNull=function(e,t){if(t!==ce)return t;throw function n(e,t){return $e(e,t,function(e){return"No provider for "+W(e[0].token)+"!"+Ye(e)})}(this,e)},e.prototype._getByKeySelf=function(e,t){var n=this._getObjByKeyId(e.id);return n!==ft?n:this._throwOrNull(e,t)},e.prototype._getByKeyDefault=function(t,n,r){var o;for(o=r instanceof ae?this.parent:this;o instanceof e;){var i=o,a=i._getObjByKeyId(t.id);if(a!==ft)return a;o=i.parent}return null!==o?o.get(t.token,n):this._throwOrNull(t,n)},Object.defineProperty(e.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+function e(t,n){for(var r=new Array(t._providers.length),o=0;o<t._providers.length;++o)r[o]=n(t.getProviderAtIndex(o));return r}
|
|
161
161
|
/**
|
|
162
162
|
* @license
|
|
163
163
|
* Copyright Google Inc. All Rights Reserved.
|
|
164
164
|
*
|
|
165
165
|
* Use of this source code is governed by an MIT-style license that can be
|
|
166
166
|
* found in the LICENSE file at https://angular.io/license
|
|
167
|
-
*/(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY
|
|
167
|
+
*/(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY=Xe.get(pe),e}(),ht=new h("The presence of this token marks an injector as being the root injector."),vt={},yt={},gt=[],mt=void 0;function _t(){return void 0===mt&&(mt=new de),mt}function wt(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||_t(),new bt(e,n,t)}var bt=function(){function e(e,t,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1,xt([e],function(e){return r.processInjectorType(e,new Set)}),t&&xt(t,function(e){return r.processProvider(e)}),this.records.set(fe,kt(void 0,this)),this.isRootInjector=this.records.has(ht),this.injectorDefTypes.forEach(function(e){return r.get(e)})}return e.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=ce),void 0===n&&(n=0),this.assertNotDestroyed();var r=Te(this);try{if(!(4&n)){var o=this.records.get(e);if(void 0===o){var i=function a(e){return"function"==typeof e||"object"==typeof e&&e instanceof h}
|
|
168
168
|
/**
|
|
169
169
|
* @license
|
|
170
170
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -178,7 +178,7 @@ var $e=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
178
178
|
*
|
|
179
179
|
* Use of this source code is governed by an MIT-style license that can be
|
|
180
180
|
* found in the LICENSE file at https://angular.io/license
|
|
181
|
-
*/(e)&&e.ngInjectableDef||void 0;void 0!==i&&this.injectableDefInScope(i)&&(o=
|
|
181
|
+
*/(e)&&e.ngInjectableDef||void 0;void 0!==i&&this.injectableDefInScope(i)&&(o=Ct(e),this.records.set(e,o))}if(void 0!==o)return this.hydrate(e,o)}return 2&n&&_t(),this.parent.get(e,t)}finally{Te(r)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t){var n=this,r=(e=ne(e)).ngInjectorDef,o=null==r&&e.ngModule||void 0,i=void 0===o?e:o,a=void 0!==o&&e.providers||gt;if(void 0!==o&&(r=o.ngInjectorDef),null!=r){if(t.has(i))throw new Error("Circular dependency: type "+W(i)+" ends up importing itself.");if(this.injectorDefTypes.add(i),this.records.set(i,kt(r.factory)),null!=r.imports){t.add(i);try{xt(r.imports,function(e){return n.processInjectorType(e,t)})}finally{t.delete(i)}}null!=r.providers&&xt(r.providers,function(e){return n.processProvider(e)}),xt(a,function(e){return n.processProvider(e)})}},e.prototype.processProvider=function(e){var t=It(e=ne(e))?e:ne(e.provide),n=function r(e){var t=ne(e),n=vt,r=void 0;if(It(e))return Ct(e);if(t=ne(e.provide),function o(e){return _e in e}(e))n=e.useValue;else if(function i(e){return!!e.useExisting}(e))r=function(){return Oe(e.useExisting)};else if(function a(e){return!!e.useFactory}(e))r=function(){return e.useFactory.apply(e,f(De(e.deps||[])))};else{var u=e.useClass||t;if(!function s(e){return!!e.deps}(e))return Ct(u);r=function(){return new(u.bind.apply(u,f([void 0],De(e.deps))))}}return kt(r,n)}(e);if(It(e)||!0!==e.multi){var o=this.records.get(t);if(o&&void 0!==o.multi)throw new Error("Mixed multi-provider for "+W(t))}else{var i=this.records.get(t);if(i){if(void 0===i.multi)throw new Error("Mixed multi-provider for "+t+".")}else(i=kt(void 0,vt,!0)).factory=function(){return De(i.multi)},this.records.set(t,i);t=e,i.multi.push(e)}this.records.set(t,n)},e.prototype.hydrate=function(e,t){if(t.value===yt)throw new Error("Circular dep for "+W(e));return t.value===vt&&(t.value=yt,t.value=t.factory()),"object"==typeof t.value&&t.value&&function n(e){return"object"==typeof e&&null!=e&&e.ngOnDestroy&&"function"==typeof e.ngOnDestroy}(t.value)&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function Ct(e){var t=e.ngInjectableDef;if(void 0===t){if(e instanceof h)throw new Error("Token "+W(e)+" is missing an ngInjectableDef definition.");return kt(function(){return new e})}return kt(t.factory)}function kt(e,t,n){return void 0===t&&(t=vt),void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function xt(e,t){e.forEach(function(e){return Array.isArray(e)?xt(e,t):t(e)})}function It(e){return"function"==typeof e}function Nt(e){return!!e&&"function"==typeof e.then}
|
|
182
182
|
/**
|
|
183
183
|
* @license
|
|
184
184
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -186,7 +186,7 @@ var $e=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
186
186
|
* Use of this source code is governed by an MIT-style license that can be
|
|
187
187
|
* found in the LICENSE file at https://angular.io/license
|
|
188
188
|
*/
|
|
189
|
-
var
|
|
189
|
+
var Et=new h("Application Initializer"),Rt=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();Nt(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},a([Fe(),u(0,re(Et)),u(0,oe()),s("design:paramtypes",[Array])],e)}(),Tt=new h("AppId");function Ot(){return""+Pt()+Pt()+Pt()}var Dt={provide:Tt,useFactory:Ot,deps:[]};function Pt(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var At=new h("Platform Initializer"),jt=new h("Platform ID"),Vt=new h("appBootstrapListener"),St=new h("Application Packages Root URL"),Mt=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},a([Fe()],e)}(),Ft=function Ft(e,t){this.ngModuleFactory=e,this.componentFactories=t};function Ht(){throw new Error("Runtime compiler is not loaded")}var Lt=function(){function e(){}return e.prototype.compileModuleSync=function(e){throw Ht()},e.prototype.compileModuleAsync=function(e){throw Ht()},e.prototype.compileModuleAndAllComponentsSync=function(e){throw Ht()},e.prototype.compileModuleAndAllComponentsAsync=function(e){throw Ht()},e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},a([Fe()],e)}(),Bt=new h("compilerOptions"),zt=function zt(){},Qt=function Qt(){},Ut=function Ut(){};
|
|
190
190
|
/**
|
|
191
191
|
* @license
|
|
192
192
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -194,21 +194,21 @@ var xt=new f("Application Initializer"),It=function(){function e(e){var t=this;t
|
|
|
194
194
|
* Use of this source code is governed by an MIT-style license that can be
|
|
195
195
|
* found in the LICENSE file at https://angular.io/license
|
|
196
196
|
*/
|
|
197
|
-
function
|
|
197
|
+
function Zt(e){var t=Error("No component factory found for "+W(e)+". Did you add it to @NgModule.entryComponents?");return t[Wt]=e,t}var qt,Kt,Wt="ngComponent",Yt=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Zt(e)},e}(),$t=function(){function e(){}return e.NULL=new Yt,e}(),Gt=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Zt(e);return new Jt(t,this._ngModule)},e}(),Jt=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return o(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(Ut),Xt=function Xt(){},en=function en(){};function tn(){var e=z.wtf;return!(!e||!(qt=e.trace)||(Kt=qt.events,0))}function nn(e,t){return void 0===t&&(t=null),Kt.createScope(e,t)}function rn(e,t){return qt.leaveScope(e,t),t}function on(e,t){return qt.beginTimeRange(e,t)}function an(e){qt.endTimeRange(e)}
|
|
198
198
|
/**
|
|
199
199
|
* @license
|
|
200
200
|
* Copyright Google Inc. All Rights Reserved.
|
|
201
201
|
*
|
|
202
202
|
* Use of this source code is governed by an MIT-style license that can be
|
|
203
203
|
* found in the LICENSE file at https://angular.io/license
|
|
204
|
-
*/var
|
|
204
|
+
*/var un=tn();function sn(e,t){return null}var ln=un?nn:function(e,t){return sn},cn=un?rn:function(e,t){return t},fn=un?on:function(e,t){return null},dn=un?an:function(e){return null},pn=function(e){function n(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return o(n,e),n.prototype.emit=function(t){e.prototype.next.call(this,t)},n.prototype.subscribe=function(n,r,o){var i,a=function(e){return null},u=function(){return null};n&&"object"==typeof n?(i=this.__isAsync?function(e){setTimeout(function(){return n.next(e)})}:function(e){n.next(e)},n.error&&(a=this.__isAsync?function(e){setTimeout(function(){return n.error(e)})}:function(e){n.error(e)}),n.complete&&(u=this.__isAsync?function(){setTimeout(function(){return n.complete()})}:function(){n.complete()})):(i=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)},r&&(a=this.__isAsync?function(e){setTimeout(function(){return r(e)})}:function(e){r(e)}),o&&(u=this.__isAsync?function(){setTimeout(function(){return o()})}:function(){o()}));var s=e.prototype.subscribe.call(this,i,a,u);return n instanceof t.Subscription&&n.add(s),s},n}(t.Subject),hn=function(){function e(e){var t=e.enableLongStackTrace,n=void 0!==t&&t;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new pn(!1),this.onMicrotaskEmpty=new pn(!1),this.onStable=new pn(!1),this.onError=new pn(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),function r(e){e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,r,o,i,a){try{return mn(e),t.invokeTask(r,o,i,a)}finally{_n(e)}},onInvoke:function(t,n,r,o,i,a,u){try{return mn(e),t.invoke(r,o,i,a,u)}finally{_n(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,gn(e)):"macroTask"==o.change&&(e.hasPendingMacrotasks=o.macroTask))},onHandleError:function(t,n,r,o){return t.handleError(r,o),e.runOutsideAngular(function(){return e.onError.emit(o)}),!1}})}(this)}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,yn,vn,vn);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function vn(){}var yn={};function gn(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function mn(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function _n(e){e._nesting--,gn(e)}var wn,bn=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new pn,this.onMicrotaskEmpty=new pn,this.onStable=new pn,this.onError=new pn}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),Cn=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),e.run(function(){t.taskTrackingZone=Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){hn.assertNotInAngularZone(),q(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())q(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,isPeriodic:e.data.isPeriodic,delay:e.data.delay,creationLocation:e.creationLocation,xhr:e.data.target}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},a([Fe(),s("design:paramtypes",[hn])],e)}(),kn=function(){function e(){this._applications=new Map,xn.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),xn.findTestabilityInTree(this,e,t)},a([Fe(),s("design:paramtypes",[])],e)}(),xn=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),In=!0,Nn=!1,En=new h("AllowMultipleToken");
|
|
205
205
|
/**
|
|
206
206
|
* @license
|
|
207
207
|
* Copyright Google Inc. All Rights Reserved.
|
|
208
208
|
*
|
|
209
209
|
* Use of this source code is governed by an MIT-style license that can be
|
|
210
210
|
* found in the LICENSE file at https://angular.io/license
|
|
211
|
-
*/function
|
|
211
|
+
*/function Rn(){return Nn=!0,In}var Tn=function Tn(e,t){this.name=e,this.token=t};function On(e){if(wn&&!wn.destroyed&&!wn.injector.get(En,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");wn=e.get(jn);var t=e.get(At,null);return t&&t.forEach(function(e){return e()}),wn}function Dn(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new h(r);return function(t){void 0===t&&(t=[]);var i=An();if(!i||i.injector.get(En,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});On(pe.create({providers:a,name:r}))}return Pn(o)}}function Pn(e){var t=An();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function An(){return wn&&!wn.destroyed?wn:null}var jn=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n=this,r=function o(e){return"noop"===e?new bn:("zone.js"===e?void 0:e)||new hn({enableLongStackTrace:Rn()})}(t?t.ngZone:void 0),i=[{provide:hn,useValue:r}];return r.run(function(){var t=pe.create({providers:i,parent:n.injector,name:e.moduleType.name}),o=e.create(t),a=o.injector.get(We,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(function(){return Mn(n._modules,o)}),r.runOutsideAngular(function(){return r.onError.subscribe({next:function(e){a.handleError(e)}})}),function u(e,t,n){try{var r=n();return Nt(r)?r.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):r}catch(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}}(a,r,function(){var e=o.injector.get(Rt);return e.runInitializers(),e.donePromise.then(function(){return n._moduleDoBootstrap(o),o})})})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.injector.get(zt),o=Vn({},t);return r.createCompiler([o]).compileModuleAsync(e).then(function(e){return n.bootstrapModuleFactory(e,o)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Sn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+W(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),a([Fe(),s("design:paramtypes",[pe])],e)}();function Vn(e,t){return Array.isArray(t)?t.reduce(Vn,e):i({},e,t)}var Sn=function(){function e(e,r,o,i,a,u){var s=this;this._zone=e,this._console=r,this._injector=o,this._exceptionHandler=i,this._componentFactoryResolver=a,this._initStatus=u,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Rn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var l=new t.Observable(function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){e.next(s._stable),e.complete()})}),c=new t.Observable(function(e){var t;s._zone.runOutsideAngular(function(){t=s._zone.onStable.subscribe(function(){hn.assertNotInAngularZone(),q(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){hn.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=t.merge(l,c.pipe(n.share()))}var r;return r=e,e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Ut?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof Jt?null:this._injector.get(Xt),i=n.create(pe.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(Cn,null);return a&&i.injector.get(kn).registerApplication(i.location.nativeElement,a),this._loadComponent(i),Rn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var t=r._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,cn(t)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Mn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Vt,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Mn(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=ln("ApplicationRef#tick()"),r=a([Fe(),s("design:paramtypes",[hn,Mt,pe,We,$t,Rt])],e)}();function Mn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}
|
|
212
212
|
/**
|
|
213
213
|
* @license
|
|
214
214
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -222,14 +222,14 @@ function zt(e){var t=Error("No component factory found for "+Z(e)+". Did you add
|
|
|
222
222
|
*
|
|
223
223
|
* Use of this source code is governed by an MIT-style license that can be
|
|
224
224
|
* found in the LICENSE file at https://angular.io/license
|
|
225
|
-
*/var
|
|
225
|
+
*/var Fn,Hn=function Hn(e,t,n,r,o,i){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i},Ln=function Ln(){},Bn=function Bn(){},zn=(new h("Renderer2Interceptor"),function zn(){}),Qn=function Qn(){};(Fn=e.RendererStyleFlags2||(e.RendererStyleFlags2={}))[Fn.Important=1]="Important",Fn[Fn.DashCase=2]="DashCase";var Un=function Un(){},Zn=function Zn(e){this.nativeElement=e},qn=function qn(){},Kn=new Map,Wn=function(){function e(){this.dirty=!0,this._results=[],this.changes=new pn,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[Z()]=function(){return this._results[Z()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}
|
|
226
226
|
/**
|
|
227
227
|
* @license
|
|
228
228
|
* Copyright Google Inc. All Rights Reserved.
|
|
229
229
|
*
|
|
230
230
|
* Use of this source code is governed by an MIT-style license that can be
|
|
231
231
|
* found in the LICENSE file at https://angular.io/license
|
|
232
|
-
*/(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),
|
|
232
|
+
*/(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),Yn=function Yn(){},$n={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Gn=function(){function e(e,t){this._compiler=e,this._config=t||$n}return e.prototype.load=function(e){return this._compiler instanceof Lt?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,n=c(e.split("#"),2),r=n[0],o=n[1];return void 0===o&&(o="default"),System.import(r).then(function(e){return e[o]}).then(function(e){return Jn(e,r,o)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=c(e.split("#"),2),n=t[0],r=t[1],o="NgFactory";return void 0===r&&(r="default",o=""),System.import(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(e){return e[r+o]}).then(function(e){return Jn(e,n,r)})},a([Fe(),u(1,oe()),s("design:paramtypes",[Lt,Yn])],e)}();
|
|
233
233
|
/**
|
|
234
234
|
* @license
|
|
235
235
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -243,21 +243,21 @@ function zt(e){var t=Error("No component factory found for "+Z(e)+". Did you add
|
|
|
243
243
|
*
|
|
244
244
|
* Use of this source code is governed by an MIT-style license that can be
|
|
245
245
|
* found in the LICENSE file at https://angular.io/license
|
|
246
|
-
*/function
|
|
246
|
+
*/function Jn(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}
|
|
247
247
|
/**
|
|
248
248
|
* @license
|
|
249
249
|
* Copyright Google Inc. All Rights Reserved.
|
|
250
250
|
*
|
|
251
251
|
* Use of this source code is governed by an MIT-style license that can be
|
|
252
252
|
* found in the LICENSE file at https://angular.io/license
|
|
253
|
-
*/var
|
|
253
|
+
*/var Xn,er=function er(){},tr=function tr(){},nr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(Xn=function Xn(){}),rr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(nr),or=function or(e,t){this.name=e,this.callback=t},ir=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof ar?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),ar=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return o(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,o=this.childNodes.indexOf(e);-1!==o&&((n=this.childNodes).splice.apply(n,f([o+1,0],t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return ur(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return sr(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(ir);
|
|
254
254
|
/**
|
|
255
255
|
* @license
|
|
256
256
|
* Copyright Google Inc. All Rights Reserved.
|
|
257
257
|
*
|
|
258
258
|
* Use of this source code is governed by an MIT-style license that can be
|
|
259
259
|
* found in the LICENSE file at https://angular.io/license
|
|
260
|
-
*/function
|
|
260
|
+
*/function ur(e,t,n){e.childNodes.forEach(function(e){e instanceof ar&&(t(e)&&n.push(e),ur(e,t,n))})}function sr(e,t,n){e instanceof ar&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof ar&&sr(e,t,n)})}var lr=new Map;function cr(e){return lr.get(e)||null}function fr(e){lr.set(e.nativeNode,e)}
|
|
261
261
|
/**
|
|
262
262
|
* @license
|
|
263
263
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -265,28 +265,28 @@ function zt(e){var t=Error("No component factory found for "+Z(e)+". Did you add
|
|
|
265
265
|
* Use of this source code is governed by an MIT-style license that can be
|
|
266
266
|
* found in the LICENSE file at https://angular.io/license
|
|
267
267
|
*/
|
|
268
|
-
function
|
|
268
|
+
function dr(e,t){var n=vr(e),r=vr(t);return n&&r?function o(e,t,n){for(var r=e[Z()](),o=t[Z()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(e,t,dr):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||K(e,t)}var pr=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),hr=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function vr(e){return!!yr(e)&&(Array.isArray(e)||!(e instanceof Map)&&Z()in e)}function yr(e){return null!==e&&("function"==typeof e||"object"==typeof e)}
|
|
269
269
|
/**
|
|
270
270
|
* @license
|
|
271
271
|
* Copyright Google Inc. All Rights Reserved.
|
|
272
272
|
*
|
|
273
273
|
* Use of this source code is governed by an MIT-style license that can be
|
|
274
274
|
* found in the LICENSE file at https://angular.io/license
|
|
275
|
-
*/var
|
|
275
|
+
*/var gr=function(){function e(){}return e.prototype.supports=function(e){return vr(e)},e.prototype.create=function(e){return new _r(e)},e}(),mr=function(e,t){return t},_r=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||mr}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<kr(n,r,o)?t:n,a=kr(i,r,o),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var s=a-r,l=u-r;if(s!=l){for(var c=0;c<s;c++){var f=c<o.length?o[c]:o[c]=0,d=f+c;l<=d&&d<s&&(o[c]=f+1)}o[i.previousIndex]=l-s}}a!==u&&e(i,a,u)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!vr(e))throw new Error("Error trying to diff '"+W(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var u=0;u<this.length;u++)o=this._trackByFn(u,r=e[u]),null!==i&&K(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),K(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,u),a=!0),i=i._next}else n=0,function s(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[Z()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&K(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),K(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),a=!0),i=i._next,n++}),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(K(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(K(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new wr(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Cr),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Cr),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),wr=function wr(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},br=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&K(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),Cr=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new br,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function kr(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}
|
|
276
276
|
/**
|
|
277
277
|
* @license
|
|
278
278
|
* Copyright Google Inc. All Rights Reserved.
|
|
279
279
|
*
|
|
280
280
|
* Use of this source code is governed by an MIT-style license that can be
|
|
281
281
|
* found in the LICENSE file at https://angular.io/license
|
|
282
|
-
*/var
|
|
282
|
+
*/var xr,Ir=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||yr(e)},e.prototype.create=function(){return new Nr},e}(),Nr=function(){function e(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||yr(e)))throw new Error("Error trying to diff '"+W(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var o=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new Er(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){K(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})},e}(),Er=function Er(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},Rr=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ae,new oe]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(null!=t)return t;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+function n(e){return e.name||typeof e}
|
|
283
283
|
/**
|
|
284
284
|
* @license
|
|
285
285
|
* Copyright Google Inc. All Rights Reserved.
|
|
286
286
|
*
|
|
287
287
|
* Use of this source code is governed by an MIT-style license that can be
|
|
288
288
|
* found in the LICENSE file at https://angular.io/license
|
|
289
|
-
*/(e)+"'")},e.ngInjectableDef=
|
|
289
|
+
*/(e)+"'")},e.ngInjectableDef=d({providedIn:"root",factory:function(){return new e([new gr])}}),e}(),Tr=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ae,new oe]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e}(),Or=[new Ir],Dr=new Rr([new gr]),Pr=new Tr(Or),Ar=Dn(null,"core",[{provide:jt,useValue:"unknown"},{provide:jn,deps:[pe]},{provide:kn,deps:[]},{provide:Mt,deps:[]}]),jr=new h("LocaleId"),Vr=new h("Translations"),Sr=new h("TranslationsFormat");
|
|
290
290
|
/**
|
|
291
291
|
* @license
|
|
292
292
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -294,21 +294,21 @@ function lr(e,t){var n=dr(e),r=dr(t);return n&&r?function o(e,t,n){for(var r=e[z
|
|
|
294
294
|
* Use of this source code is governed by an MIT-style license that can be
|
|
295
295
|
* found in the LICENSE file at https://angular.io/license
|
|
296
296
|
*/
|
|
297
|
-
function
|
|
297
|
+
function Mr(){return Dr}function Fr(){return Pr}function Hr(e){return e||"en-US"}(xr=e.MissingTranslationStrategy||(e.MissingTranslationStrategy={}))[xr.Error=0]="Error",xr[xr.Warning=1]="Warning",xr[xr.Ignore=2]="Ignore";var Lr=[{provide:Sn,useClass:Sn,deps:[hn,Mt,pe,We,$t,Rt]},{provide:Rt,useClass:Rt,deps:[[new oe,Et]]},{provide:Lt,useClass:Lt,deps:[]},Dt,{provide:Rr,useFactory:Mr,deps:[]},{provide:Tr,useFactory:Fr,deps:[]},{provide:jr,useFactory:Hr,deps:[[new re(jr),new oe,new ae]]}],Br=function(){return a([He({providers:Lr}),s("design:paramtypes",[Sn])],function e(t){})}(),zr=new Set;function Qr(e){return"string"==typeof e?e:e.text()}
|
|
298
298
|
/**
|
|
299
299
|
* @license
|
|
300
300
|
* Copyright Google Inc. All Rights Reserved.
|
|
301
301
|
*
|
|
302
302
|
* Use of this source code is governed by an MIT-style license that can be
|
|
303
303
|
* found in the LICENSE file at https://angular.io/license
|
|
304
|
-
*/var
|
|
304
|
+
*/var Ur=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function n(){try{return!!window.DOMParser}catch(e){return!1}}
|
|
305
305
|
/**
|
|
306
306
|
* @license
|
|
307
307
|
* Copyright Google Inc. All Rights Reserved.
|
|
308
308
|
*
|
|
309
309
|
* Use of this source code is governed by an MIT-style license that can be
|
|
310
310
|
* found in the LICENSE file at https://angular.io/license
|
|
311
|
-
*/()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),
|
|
311
|
+
*/()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),Zr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,qr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Kr(e){return(e=String(e)).match(Zr)||e.match(qr)?e:(Rn()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}
|
|
312
312
|
/**
|
|
313
313
|
* @license
|
|
314
314
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -316,14 +316,14 @@ function jr(){return Rr}function Vr(){return Tr}function Sr(e){return e||"en-US"
|
|
|
316
316
|
* Use of this source code is governed by an MIT-style license that can be
|
|
317
317
|
* found in the LICENSE file at https://angular.io/license
|
|
318
318
|
*/
|
|
319
|
-
function
|
|
319
|
+
function Wr(e){var t,n,r={};try{for(var o=l(e.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function Yr(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=l(n),a=i.next();!a.done;a=i.next()){var u=a.value;for(var s in u)u.hasOwnProperty(s)&&(o[s]=!0)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o}var $r,Gr=Wr("area,br,col,hr,img,wbr"),Jr=Wr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Xr=Wr("rp,rt"),eo=Yr(Xr,Jr),to=Yr(Jr,Wr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),no=Yr(Xr,Wr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ro=Yr(Gr,to,no,eo),oo=Wr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),io=Wr("srcset"),ao=Wr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),uo=Yr(oo,io,ao),so=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild;t;)if(t.nodeType===Node.ELEMENT_NODE?this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var n=this.checkClobberedElement(t,t.nextSibling);if(n){t=n;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(ro.hasOwnProperty(t)){this.buf.push("<"),this.buf.push(t);for(var n,r=e.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,u=a.toLowerCase();if(uo.hasOwnProperty(u)){var s=i.value;oo[u]&&(s=Kr(s)),io[u]&&(n=s,s=(n=String(n)).split(",").map(function(e){return Kr(e.trim())}).join(", ")),this.buf.push(" ",a,'="',fo(s),'"')}else this.sanitizedSomething=!0}this.buf.push(">")}else this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();ro.hasOwnProperty(t)&&!Gr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(fo(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),lo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,co=/([^\#-~ |!])/g;function fo(e){return e.replace(/&/g,"&").replace(lo,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(co,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function po(e,t){var n=null;try{$r=$r||new Ur(e);var r=t?String(t):"";n=$r.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=$r.getInertBodyElement(r)}while(r!==i);var a=new so,u=a.sanitizeChildren(ho(n)||n);return Rn()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),u}finally{if(n)for(var s=ho(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}function ho(e){return"content"in e&&function t(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}
|
|
320
320
|
/**
|
|
321
321
|
* @license
|
|
322
322
|
* Copyright Google Inc. All Rights Reserved.
|
|
323
323
|
*
|
|
324
324
|
* Use of this source code is governed by an MIT-style license that can be
|
|
325
325
|
* found in the LICENSE file at https://angular.io/license
|
|
326
|
-
*/(e)?e.content:null}var
|
|
326
|
+
*/(e)?e.content:null}var vo,yo=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),go=/^url\(([^)]+)\)$/;function mo(e){if(!(e=String(e).trim()))return"";var t=e.match(go);return t&&Kr(t[1])===t[1]||e.match(yo)&&function n(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(Rn()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}
|
|
327
327
|
/**
|
|
328
328
|
* @license
|
|
329
329
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -338,14 +338,14 @@ function Zr(e){var t,n,r={};try{for(var o=a(e.split(",")),i=o.next();!i.done;i=o
|
|
|
338
338
|
* Use of this source code is governed by an MIT-style license that can be
|
|
339
339
|
* found in the LICENSE file at https://angular.io/license
|
|
340
340
|
*/
|
|
341
|
-
|
|
341
|
+
vo=e.SecurityContext||(e.SecurityContext={}))[vo.NONE=0]="NONE",vo[vo.HTML=1]="HTML",vo[vo.STYLE=2]="STYLE",vo[vo.SCRIPT=3]="SCRIPT",vo[vo.URL=4]="URL",vo[vo.RESOURCE_URL=5]="RESOURCE_URL";var _o=function _o(){};
|
|
342
342
|
/**
|
|
343
343
|
* @license
|
|
344
344
|
* Copyright Google Inc. All Rights Reserved.
|
|
345
345
|
*
|
|
346
346
|
* Use of this source code is governed by an MIT-style license that can be
|
|
347
347
|
* found in the LICENSE file at https://angular.io/license
|
|
348
|
-
*/function
|
|
348
|
+
*/function wo(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.initIndex=-1,!0):o===n}function bo(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Co(e,t){return e.nodes[t]}function ko(e,t){return e.nodes[t]}function xo(e,t){return e.nodes[t]}function Io(e,t){return e.nodes[t]}function No(e,t){return e.nodes[t]}var Eo=function Eo(){},Ro={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};
|
|
349
349
|
/**
|
|
350
350
|
* @license
|
|
351
351
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -353,28 +353,28 @@ fo=e.SecurityContext||(e.SecurityContext={}))[fo.NONE=0]="NONE",fo[fo.HTML=1]="H
|
|
|
353
353
|
* Use of this source code is governed by an MIT-style license that can be
|
|
354
354
|
* found in the LICENSE file at https://angular.io/license
|
|
355
355
|
*/
|
|
356
|
-
function
|
|
356
|
+
function To(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return r&&(o+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function i(e,t){var n=new Error(e);return Oo(n,t),n}(o,e)}function Oo(e,t){e[ze]=t,e[Ue]=t.logError.bind(t)}function Do(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}
|
|
357
357
|
/**
|
|
358
358
|
* @license
|
|
359
359
|
* Copyright Google Inc. All Rights Reserved.
|
|
360
360
|
*
|
|
361
361
|
* Use of this source code is governed by an MIT-style license that can be
|
|
362
362
|
* found in the LICENSE file at https://angular.io/license
|
|
363
|
-
*/var
|
|
363
|
+
*/var Po=function(){},Ao=new Map;function jo(e){var t=Ao.get(e);return t||(t=W(e)+"_"+Ao.size,Ao.set(e,t)),t}var Vo="$$undefined",So="$$empty",Mo=0;function Fo(t){if(t&&t.id===Vo){var n=null!=t.encapsulation&&t.encapsulation!==e.ViewEncapsulation.None||t.styles.length||Object.keys(t.data).length;t.id=n?"c"+Mo++:So}return t&&t.id===So&&(t=null),t||null}function Ho(e,t,n,r){return!(!(2&e.state)&&K(e.oldValues[t.bindingIndex+n],r))}function Lo(e,t,n,r){return!!Ho(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Bo(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!dr(o,r)){var i=t.bindings[n].name;throw To(Ro.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function zo(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Qo(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Uo(e,t,n,r){try{return zo(33554432&e.def.nodes[t].flags?ko(e,t).componentView:e),Ro.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function Zo(e){return e.parent?ko(e.parent,e.parentNodeDef.nodeIndex):null}function qo(e){return e.parent?e.parentNodeDef.parent:null}function Ko(e,t){switch(201347067&t.flags){case 1:return ko(e,t.nodeIndex).renderElement;case 2:return Co(e,t.nodeIndex).renderText}}function Wo(e,t){return e?e+":"+t:t}function Yo(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function $o(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Go(e){return 1<<e%32}function Jo(e){var t={},n=0,r={};return e&&e.forEach(function(e){var o=c(e,2),i=o[0],a=o[1];"number"==typeof i?(t[i]=a,n|=Go(i)):r[i]=a}),{matchedQueries:t,references:r,matchedQueryIds:n}}function Xo(e,t){return e.map(function(e){var n,r,o;return Array.isArray(e)?(o=(n=c(e,2))[0],r=n[1]):(o=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,se,{value:t,configurable:!0}),{flags:o,token:r,tokenKey:jo(r)}})}function ei(t,n,r){var o=r.renderParent;return o?0==(1&o.flags)||0==(33554432&o.flags)||o.element.componentRendererType&&o.element.componentRendererType.encapsulation===e.ViewEncapsulation.Native?ko(t,r.renderParent.nodeIndex).renderElement:void 0:n}var ti=new WeakMap;function ni(e){var t=ti.get(e);return t||((t=e(function(){return Po})).factory=e,ti.set(e,t)),t}function ri(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(Ko(e,e.def.lastRenderRootNode))),oi(e,t,0,e.def.nodes.length-1,n,r,o)}function oi(e,t,n,r,o,i,a){for(var u=n;u<=r;u++){var s=e.def.nodes[u];11&s.flags&&ai(e,s,t,o,i,a),u+=s.childCount}}function ii(e,t,n,r,o,i){for(var a=e;a&&!Yo(a);)a=a.parent;for(var u=a.parent,s=qo(a),l=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=l;c++){var f=u.def.nodes[c];f.ngContentIndex===t&&ai(u,f,n,r,o,i),c+=f.childCount}if(!u.parent){var d=e.root.projectableNodes[t];if(d)for(c=0;c<d.length;c++)ui(e,d[c],n,r,o,i)}}function ai(e,t,n,r,o,i){if(8&t.flags)ii(e,t.ngContent.index,n,r,o,i);else{var a=Ko(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&ui(e,a,n,r,o,i),32&t.bindingFlags&&ui(ko(e,t.nodeIndex).componentView,a,n,r,o,i)):ui(e,a,n,r,o,i),16777216&t.flags)for(var u=ko(e,t.nodeIndex).viewContainer._embeddedViews,s=0;s<u.length;s++)ri(u[s],n,r,o,i);1&t.flags&&!t.element.name&&oi(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function ui(e,t,n,r,o,i){var a=e.renderer;switch(n){case 1:a.appendChild(r,t);break;case 2:a.insertBefore(r,t,o);break;case 3:a.removeChild(r,t);break;case 0:i.push(t)}}var si=/^:([^:]+):(.+)$/;function li(e){if(":"===e[0]){var t=e.match(si);return[t[1],t[2]]}return["",e]}function ci(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function fi(e){return null!=e?e.toString():""}function di(e,t,n){var r,o=n.element,i=e.root.selectorOrNode,a=e.renderer;if(e.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var u=ei(e,t,n);u&&a.appendChild(u,r)}else r=a.selectRootElement(i);if(o.attrs)for(var s=0;s<o.attrs.length;s++){var l=c(o.attrs[s],3);a.setAttribute(r,l[1],l[2],l[0])}return r}function pi(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=hi(e,n.nodeIndex,Wo(i.target,i.eventName)),u=i.target,s=e;"component"===i.target&&(u=null,s=t);var l=s.renderer.listen(u||r,i.eventName,a);e.disposables[n.outputIndex+o]=l}}function hi(e,t,n){return function(r){return Uo(e,t,n,r)}}function vi(t,n,r,o){if(!Lo(t,n,r,o))return!1;var i=n.bindings[r],a=ko(t,n.nodeIndex),u=a.renderElement,s=i.name;switch(15&i.flags){case 1:!function l(e,t,n,r,o,i){var a=t.securityContext,u=a?e.root.sanitizer.sanitize(a,i):i;u=null!=u?u.toString():null;var s=e.renderer;null!=i?s.setAttribute(n,o,u,r):s.removeAttribute(n,o,r)}(t,i,u,i.ns,s,o);break;case 2:!function c(e,t,n,r){var o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(t,u,s,o);break;case 4:!function f(t,n,r,o,i){var a=t.root.sanitizer.sanitize(e.SecurityContext.STYLE,i);if(null!=a){a=a.toString();var u=n.suffix;null!=u&&(a+=u)}else a=null;var s=t.renderer;null!=a?s.setStyle(r,o,a):s.removeStyle(r,o)}(t,i,u,s,o);break;case 8:!function d(e,t,n,r,o){var i=t.securityContext,a=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,a)}
|
|
364
364
|
/**
|
|
365
365
|
* @license
|
|
366
366
|
* Copyright Google Inc. All Rights Reserved.
|
|
367
367
|
*
|
|
368
368
|
* Use of this source code is governed by an MIT-style license that can be
|
|
369
369
|
* found in the LICENSE file at https://angular.io/license
|
|
370
|
-
*/(33554432&n.flags&&32&i.flags?a.componentView:t,i,u,s,o)}return!0}var
|
|
370
|
+
*/(33554432&n.flags&&32&i.flags?a.componentView:t,i,u,s,o)}return!0}var yi=new Object,gi=jo(pe),mi=jo(fe),_i=jo(Xt);function wi(e,t,n){void 0===n&&(n=pe.THROW_IF_NOT_FOUND);var r=Te(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var o=t.tokenKey;switch(o){case gi:case mi:case _i:return e}var i=e._def.providersByKey[o];if(i){var a=e._providers[i.index];return void 0===a&&(a=e._providers[i.index]=bi(e,i)),a===yi?void 0:a}if(t.token.ngInjectableDef&&function u(e,t){return null!=t.providedIn&&(function n(e,t){return e._def.modules.indexOf(t)>-1}(e,t.providedIn)||"root"===t.providedIn&&e._def.isRoot)}(e,t.token.ngInjectableDef)){var s=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:t.token.ngInjectableDef.factory,deps:[],index:s,token:t.token},e._providers[s]=yi,e._providers[s]=bi(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Te(r)}}function bi(e,t){var n;switch(201347067&t.flags){case 512:n=function r(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(wi(e,n[0]));case 2:return new t(wi(e,n[0]),wi(e,n[1]));case 3:return new t(wi(e,n[0]),wi(e,n[1]),wi(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=wi(e,n[i]);return new(t.bind.apply(t,f([void 0],o)))}}(e,t.value,t.deps);break;case 1024:n=function o(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(wi(e,n[0]));case 2:return t(wi(e,n[0]),wi(e,n[1]));case 3:return t(wi(e,n[0]),wi(e,n[1]),wi(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=wi(e,n[i]);return t.apply(void 0,f(o))}}(e,t.value,t.deps);break;case 2048:n=wi(e,t.deps[0]);break;case 256:n=t.value}return n===yi||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?yi:n}function Ci(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,Ni(n,t),Ro.dirtyParentQueries(r),xi(r),r}function ki(e,t,n){var r=t?Ko(t,t.def.lastRenderRootNode):e.renderElement;ri(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function xi(e){ri(e,3,null,null,void 0)}function Ii(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ni(e,t){t>=e.length-1?e.pop():e.splice(t,1)}
|
|
371
371
|
/**
|
|
372
372
|
* @license
|
|
373
373
|
* Copyright Google Inc. All Rights Reserved.
|
|
374
374
|
*
|
|
375
375
|
* Use of this source code is governed by an MIT-style license that can be
|
|
376
376
|
* found in the LICENSE file at https://angular.io/license
|
|
377
|
-
*/var
|
|
377
|
+
*/var Ei=new Object;function Ri(e){return e.viewDefFactory}var Ti=function(e){function t(t,n,r,o,i,a){var u=e.call(this)||this;return u.selector=t,u.componentType=n,u._inputs=o,u._outputs=i,u.ngContentSelectors=a,u.viewDefFactory=r,u}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=ni(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=Ro.createRootView(e,t||[],n,o,r,Ei),u=xo(a,i).instance;return n&&a.renderer.setAttribute(ko(a,0).renderElement,"ng-version",Be.full),new Oi(a,new ji(a),u)},t}(Ut),Oi=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new Zn(ko(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Fi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Qt);function Di(e,t,n){return new Pi(e,t,n)}var Pi=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new Zn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Fi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=qo(e),e=e.parent;return e?new Fi(e,t):new Fi(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Ci(this._data,e);Ro.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new ji(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof Jt||(o=i.get(Xt));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e;
|
|
378
378
|
/**
|
|
379
379
|
* @license
|
|
380
380
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -382,56 +382,56 @@ function No(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Express
|
|
|
382
382
|
* Use of this source code is governed by an MIT-style license that can be
|
|
383
383
|
* found in the LICENSE file at https://angular.io/license
|
|
384
384
|
*/
|
|
385
|
-
return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=i.length),o.viewContainerParent=e,
|
|
385
|
+
return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=i.length),o.viewContainerParent=e,Ii(i,n,o),function a(e,t){var n=Zo(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function o(e,t){if(!(4&t.flags)){e.nodeFlags|=4,t.flags|=4;for(var n=t.parent;n;)n.childFlags|=4,n=n.parent}}(t.parent.def,t.parentNodeDef)}}(t,o),Ro.dirtyParentQueries(o),ki(t,n>0?i[n-1]:null,o)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(e._view);return function r(e,t,n){var r=e.viewContainer._embeddedViews,o=r[t];Ni(r,t),null==n&&(n=r.length),Ii(r,n,o),Ro.dirtyParentQueries(o),xi(o),ki(e,n>0?r[n-1]:null,o)}(this._data,n,t),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Ci(this._data,e);t&&Ro.destroyView(t)},e.prototype.detach=function(e){var t=Ci(this._data,e);return t?new ji(t):null},e}();function Ai(e){return new ji(e)}var ji=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return function e(t){var n=[];return ri(t,0,void 0,void 0,n),n}(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){zo(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Ro.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Ro.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Ro.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,xi(this._view),Ro.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Vi(e,t){return new Si(e,t)}var Si=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return o(t,e),t.prototype.createEmbeddedView=function(e){return new ji(Ro.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Zn(ko(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(er);function Mi(e,t){return new Fi(e,t)}var Fi=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=pe.THROW_IF_NOT_FOUND),Ro.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:jo(e)},t)},e}();function Hi(e){return new Li(e.renderer)}var Li=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=c(li(t),2),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),o=0;o<t.length;o++)this.delegate.insertBefore(n,t[o],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=c(li(t),2),o=r[0],i=r[1];null!=n?this.delegate.setAttribute(e,i,n,o):this.delegate.removeAttribute(e,i,o)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function Bi(e,t,n,r){return new zi(e,t,n,r)}var zi=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function o(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=bi(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=pe.THROW_IF_NOT_FOUND),void 0===n&&(n=0);var r=0;return 4&n?r|=1:2&n&&(r|=4),wi(this,{token:e,tokenKey:jo(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get($t)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+W(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function e(t,n){for(var r=t._def,o=new Set,i=0;i<r.providers.length;i++)if(131072&r.providers[i].flags){var a=t._providers[i];if(a&&a!==yi){var u=a.ngOnDestroy;"function"!=typeof u||o.has(a)||(u.apply(a),o.add(a))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),Qi=jo(Bn),Ui=jo(Un),Zi=jo(Zn),qi=jo(tr),Ki=jo(er),Wi=jo(Xn),Yi=jo(pe),$i=jo(fe);
|
|
386
386
|
/**
|
|
387
387
|
* @license
|
|
388
388
|
* Copyright Google Inc. All Rights Reserved.
|
|
389
389
|
*
|
|
390
390
|
* Use of this source code is governed by an MIT-style license that can be
|
|
391
391
|
* found in the LICENSE file at https://angular.io/license
|
|
392
|
-
*/function
|
|
392
|
+
*/function Gi(e,t,n,r,o,i,a,u,s){var l=Jo(n),c=l.matchedQueries,f=l.references,d=l.matchedQueryIds;s||(s=[]),u||(u=[]),i=ne(i);var p=Xo(a,W(o));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:d,references:f,ngContentIndex:-1,childCount:r,bindings:u,bindingFlags:ci(u),outputs:s,element:null,provider:{token:o,value:i,deps:p},text:null,query:null,ngContent:null}}function Ji(e,t){return na(e,t)}function Xi(e,t){for(var n=e;n.parent&&!Yo(n);)n=n.parent;return ra(n.parent,qo(n),!0,t.provider.value,t.provider.deps)}function ea(e,t){var n=ra(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var o=t.outputs[r],i=n[o.propName].subscribe(ta(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=i.unsubscribe.bind(i)}return n}function ta(e,t,n){return function(r){return Uo(e,t,n,r)}}function na(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return ra(e,t.parent,n,r.value,r.deps);case 1024:return function o(e,t,n,r,i){var a=i.length;switch(a){case 0:return r();case 1:return r(aa(e,t,n,i[0]));case 2:return r(aa(e,t,n,i[0]),aa(e,t,n,i[1]));case 3:return r(aa(e,t,n,i[0]),aa(e,t,n,i[1]),aa(e,t,n,i[2]));default:for(var u=Array(a),s=0;s<a;s++)u[s]=aa(e,t,n,i[s]);return r.apply(void 0,f(u))}}(e,t.parent,n,r.value,r.deps);case 2048:return aa(e,t.parent,n,r.deps[0]);case 256:return r.value}}function ra(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(aa(e,t,n,o[0]));case 2:return new r(aa(e,t,n,o[0]),aa(e,t,n,o[1]));case 3:return new r(aa(e,t,n,o[0]),aa(e,t,n,o[1]),aa(e,t,n,o[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=aa(e,t,n,o[u]);return new(r.bind.apply(r,f([void 0],a)))}}var oa,ia={};function aa(e,t,n,r,o){if(void 0===o&&(o=pe.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var a=r.tokenKey;a===Wi&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var u=e;u;){if(t)switch(a){case Qi:return Hi(ua(u,t,n));case Ui:return ua(u,t,n).renderer;case Zi:return new Zn(ko(u,t.nodeIndex).renderElement);case qi:return ko(u,t.nodeIndex).viewContainer;case Ki:if(t.element.template)return ko(u,t.nodeIndex).template;break;case Wi:return Ai(ua(u,t,n));case Yi:case $i:return Mi(u,t);default:var s=(n?t.element.allProviders:t.element.publicProviders)[a];if(s){var l=xo(u,s.nodeIndex);return l||(l={instance:na(u,s)},u.nodes[s.nodeIndex]=l),l.instance}}n=Yo(u),t=qo(u),u=u.parent,4&r.flags&&(u=null)}var c=i.root.injector.get(r.token,ia);return c!==ia||o===ia?c:i.root.ngModule.injector.get(r.token,o)}function ua(e,t,n){var r;if(n)r=ko(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Yo(r);)r=r.parent;return r}function sa(e,t,n,r,o,i){if(32768&n.flags){var a=ko(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(t.instance[n.bindings[r].name]=o,524288&n.flags){i=i||{};var u=pr.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new hr(u,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function la(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,o=0;o<n.length;o++){var i=n[o],a=i.parent;for(!a&&i.flags&t&&fa(e,o,i.flags&t,r++),0==(i.childFlags&t)&&(o+=i.childCount);a&&1&a.flags&&o===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(r=ca(e,a,t,r)),a=a.parent}}function ca(e,t,n,r){for(var o=t.nodeIndex+1;o<=t.nodeIndex+t.childCount;o++){var i=e.def.nodes[o];i.flags&n&&fa(e,o,i.flags&n,r++),o+=i.childCount}return r}function fa(e,t,n,r){var o=xo(e,t);if(o){var i=o.instance;i&&(Ro.setCurrentNode(e,t),1048576&n&&bo(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&bo(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}
|
|
393
393
|
/**
|
|
394
394
|
* @license
|
|
395
395
|
* Copyright Google Inc. All Rights Reserved.
|
|
396
396
|
*
|
|
397
397
|
* Use of this source code is governed by an MIT-style license that can be
|
|
398
398
|
* found in the LICENSE file at https://angular.io/license
|
|
399
|
-
*/function
|
|
399
|
+
*/function da(e){for(var t=e.def.nodeMatchedQueries;e.parent&&$o(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,o=0;o<=r;o++)67108864&(i=e.def.nodes[o]).flags&&536870912&i.flags&&(i.query.filterId&t)===i.query.filterId&&No(e,o).setDirty(),!(1&i.flags&&o+i.childCount<n.nodeIndex)&&67108864&i.childFlags&&536870912&i.childFlags||(o+=i.childCount)}if(134217728&e.def.nodeFlags)for(o=0;o<e.def.nodes.length;o++){var i;134217728&(i=e.def.nodes[o]).flags&&536870912&i.flags&&No(e,o).setDirty(),o+=i.childCount}}function pa(e,t){var n=No(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=ha(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=xo(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=ha(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var a=t.query.bindings,u=!1,s=0;s<a.length;s++){var l=a[s],c=void 0;switch(l.bindingType){case 0:c=n.first;break;case 1:c=n,u=!0}r[l.propName]=c}u&&n.notifyOnChanges()}}function ha(e,t,n,r,o){for(var i=t;i<=n;i++){var a=e.def.nodes[i],u=a.matchedQueries[r.id];if(null!=u&&o.push(va(e,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=ko(e,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(ha(e,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var l=s.viewContainer._embeddedViews,c=0;c<l.length;c++){var f=l[c],d=Zo(f);d&&d===s&&ha(f,0,f.def.nodes.length-1,r,o)}var p=s.template._projectedViews;if(p)for(c=0;c<p.length;c++){var h=p[c];ha(h,0,h.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function va(e,t,n){if(null!=n)switch(n){case 1:return ko(e,t.nodeIndex).renderElement;case 0:return new Zn(ko(e,t.nodeIndex).renderElement);case 2:return ko(e,t.nodeIndex).template;case 3:return ko(e,t.nodeIndex).viewContainer;case 4:return xo(e,t.nodeIndex).instance}}
|
|
400
400
|
/**
|
|
401
401
|
* @license
|
|
402
402
|
* Copyright Google Inc. All Rights Reserved.
|
|
403
403
|
*
|
|
404
404
|
* Use of this source code is governed by an MIT-style license that can be
|
|
405
405
|
* found in the LICENSE file at https://angular.io/license
|
|
406
|
-
*/function
|
|
406
|
+
*/function ya(e,t,n){var r=ei(e,t,n);r&&ii(e,n.ngContent.index,1,r,null,void 0)}
|
|
407
407
|
/**
|
|
408
408
|
* @license
|
|
409
409
|
* Copyright Google Inc. All Rights Reserved.
|
|
410
410
|
*
|
|
411
411
|
* Use of this source code is governed by an MIT-style license that can be
|
|
412
412
|
* found in the LICENSE file at https://angular.io/license
|
|
413
|
-
*/function
|
|
413
|
+
*/function ga(e,t,n){for(var r=new Array(n.length),o=0;o<n.length;o++){var i=n[o];r[o]={flags:8,name:i,ns:null,nonMinifiedName:i,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:ci(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function ma(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=ei(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function _a(e,t){return(null!=e?e.toString():"")+t.suffix}
|
|
414
414
|
/**
|
|
415
415
|
* @license
|
|
416
416
|
* Copyright Google Inc. All Rights Reserved.
|
|
417
417
|
*
|
|
418
418
|
* Use of this source code is governed by an MIT-style license that can be
|
|
419
419
|
* found in the LICENSE file at https://angular.io/license
|
|
420
|
-
*/function
|
|
420
|
+
*/function wa(e){return 0!=(1&e.flags)&&null===e.element.name}function ba(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Ca(e,t,n,r){var o=Ia(e.root,e.renderer,e,t,n);return Na(o,e.component,r),Ea(o),o}function ka(e,t,n){var r=Ia(e,e.renderer,null,null,t);return Na(r,n,n),Ea(r),r}function xa(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Ia(e.root,o,e,t.element.componentProvider,n)}function Ia(e,t,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Na(e,t,n){e.component=t,e.context=n}function Ea(e){var t;Yo(e)&&(t=ko(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o<n.nodes.length;o++){var i=n.nodes[o];Ro.setCurrentNode(e,o);var a=void 0;switch(201347067&i.flags){case 1:var u=di(e,t,i),s=void 0;if(33554432&i.flags){var l=ni(i.element.componentView);s=Ro.createComponentView(e,i,l,u)}pi(e,s,i,u),a={renderElement:u,componentView:s,viewContainer:null,template:i.element.template?Vi(e,i):void 0},16777216&i.flags&&(a.viewContainer=Di(e,i,a));break;case 2:a=ma(e,t,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:Ji(e,i)});break;case 16:a={instance:Xi(e,i)};break;case 16384:(a=r[o])||(a={instance:ea(e,i)}),32768&i.flags&&Na(ko(e,i.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new Wn;break;case 8:ya(e,t,i),a=void 0}r[o]=a}Va(e,oa.CreateViewNodes),Ha(e,201326592,268435456,0)}function Ra(e){Da(e),Ro.updateDirectives(e,1),Sa(e,oa.CheckNoChanges),Ro.updateRenderer(e,1),Va(e,oa.CheckNoChanges),e.state&=-97}function Ta(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,wo(e,0,256),Da(e),Ro.updateDirectives(e,0),Sa(e,oa.CheckAndUpdate),Ha(e,67108864,536870912,0);var t=wo(e,256,512);la(e,2097152|(t?1048576:0)),Ro.updateRenderer(e,0),Va(e,oa.CheckAndUpdate),Ha(e,134217728,536870912,0),la(e,8388608|((t=wo(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,wo(e,768,1024)}function Oa(e,t,n,r,o,i,a,u,s,l,c,d,p){return 0===n?function h(e,t,n,r,o,i,a,u,s,l,c,f){switch(201347067&t.flags){case 1:return function d(e,t,n,r,o,i,a,u,s,l,c,f){var d=t.bindings.length,p=!1;return d>0&&vi(e,t,0,n)&&(p=!0),d>1&&vi(e,t,1,r)&&(p=!0),d>2&&vi(e,t,2,o)&&(p=!0),d>3&&vi(e,t,3,i)&&(p=!0),d>4&&vi(e,t,4,a)&&(p=!0),d>5&&vi(e,t,5,u)&&(p=!0),d>6&&vi(e,t,6,s)&&(p=!0),d>7&&vi(e,t,7,l)&&(p=!0),d>8&&vi(e,t,8,c)&&(p=!0),d>9&&vi(e,t,9,f)&&(p=!0),p}(e,t,n,r,o,i,a,u,s,l,c,f);case 2:return function p(e,t,n,r,o,i,a,u,s,l,c,f){var d=!1,p=t.bindings,h=p.length;if(h>0&&Lo(e,t,0,n)&&(d=!0),h>1&&Lo(e,t,1,r)&&(d=!0),h>2&&Lo(e,t,2,o)&&(d=!0),h>3&&Lo(e,t,3,i)&&(d=!0),h>4&&Lo(e,t,4,a)&&(d=!0),h>5&&Lo(e,t,5,u)&&(d=!0),h>6&&Lo(e,t,6,s)&&(d=!0),h>7&&Lo(e,t,7,l)&&(d=!0),h>8&&Lo(e,t,8,c)&&(d=!0),h>9&&Lo(e,t,9,f)&&(d=!0),d){var v=t.text.prefix;h>0&&(v+=_a(n,p[0])),h>1&&(v+=_a(r,p[1])),h>2&&(v+=_a(o,p[2])),h>3&&(v+=_a(i,p[3])),h>4&&(v+=_a(a,p[4])),h>5&&(v+=_a(u,p[5])),h>6&&(v+=_a(s,p[6])),h>7&&(v+=_a(l,p[7])),h>8&&(v+=_a(c,p[8])),h>9&&(v+=_a(f,p[9]));var y=Co(e,t.nodeIndex).renderText;e.renderer.setValue(y,v)}return d}(e,t,n,r,o,i,a,u,s,l,c,f);case 16384:return function h(e,t,n,r,o,i,a,u,s,l,c,f){var d=xo(e,t.nodeIndex),p=d.instance,h=!1,v=void 0,y=t.bindings.length;return y>0&&Ho(e,t,0,n)&&(h=!0,v=sa(e,d,t,0,n,v)),y>1&&Ho(e,t,1,r)&&(h=!0,v=sa(e,d,t,1,r,v)),y>2&&Ho(e,t,2,o)&&(h=!0,v=sa(e,d,t,2,o,v)),y>3&&Ho(e,t,3,i)&&(h=!0,v=sa(e,d,t,3,i,v)),y>4&&Ho(e,t,4,a)&&(h=!0,v=sa(e,d,t,4,a,v)),y>5&&Ho(e,t,5,u)&&(h=!0,v=sa(e,d,t,5,u,v)),y>6&&Ho(e,t,6,s)&&(h=!0,v=sa(e,d,t,6,s,v)),y>7&&Ho(e,t,7,l)&&(h=!0,v=sa(e,d,t,7,l,v)),y>8&&Ho(e,t,8,c)&&(h=!0,v=sa(e,d,t,8,c,v)),y>9&&Ho(e,t,9,f)&&(h=!0,v=sa(e,d,t,9,f,v)),v&&p.ngOnChanges(v),65536&t.flags&&bo(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),h}(e,t,n,r,o,i,a,u,s,l,c,f);case 32:case 64:case 128:return function v(e,t,n,r,o,i,a,u,s,l,c,f){var d=t.bindings,p=!1,h=d.length;if(h>0&&Lo(e,t,0,n)&&(p=!0),h>1&&Lo(e,t,1,r)&&(p=!0),h>2&&Lo(e,t,2,o)&&(p=!0),h>3&&Lo(e,t,3,i)&&(p=!0),h>4&&Lo(e,t,4,a)&&(p=!0),h>5&&Lo(e,t,5,u)&&(p=!0),h>6&&Lo(e,t,6,s)&&(p=!0),h>7&&Lo(e,t,7,l)&&(p=!0),h>8&&Lo(e,t,8,c)&&(p=!0),h>9&&Lo(e,t,9,f)&&(p=!0),p){var v=Io(e,t.nodeIndex),y=void 0;switch(201347067&t.flags){case 32:y=new Array(d.length),h>0&&(y[0]=n),h>1&&(y[1]=r),h>2&&(y[2]=o),h>3&&(y[3]=i),h>4&&(y[4]=a),h>5&&(y[5]=u),h>6&&(y[6]=s),h>7&&(y[7]=l),h>8&&(y[8]=c),h>9&&(y[9]=f);break;case 64:y={},h>0&&(y[d[0].name]=n),h>1&&(y[d[1].name]=r),h>2&&(y[d[2].name]=o),h>3&&(y[d[3].name]=i),h>4&&(y[d[4].name]=a),h>5&&(y[d[5].name]=u),h>6&&(y[d[6].name]=s),h>7&&(y[d[7].name]=l),h>8&&(y[d[8].name]=c),h>9&&(y[d[9].name]=f);break;case 128:var g=n;switch(h){case 1:y=g.transform(n);break;case 2:y=g.transform(r);break;case 3:y=g.transform(r,o);break;case 4:y=g.transform(r,o,i);break;case 5:y=g.transform(r,o,i,a);break;case 6:y=g.transform(r,o,i,a,u);break;case 7:y=g.transform(r,o,i,a,u,s);break;case 8:y=g.transform(r,o,i,a,u,s,l);break;case 9:y=g.transform(r,o,i,a,u,s,l,c);break;case 10:y=g.transform(r,o,i,a,u,s,l,c,f)}}v.value=y}return p}(e,t,n,r,o,i,a,u,s,l,c,f);default:throw"unreachable"}}(e,t,r,o,i,a,u,s,l,c,d,p):function v(e,t,n){switch(201347067&t.flags){case 1:return function r(e,t,n){for(var r=!1,o=0;o<n.length;o++)vi(e,t,o,n[o])&&(r=!0);return r}(e,t,n);case 2:return function o(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Lo(e,t,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=_a(n[i],r[i]);a=t.text.prefix+a;var u=Co(e,t.nodeIndex).renderText;e.renderer.setValue(u,a)}return o}(e,t,n);case 16384:return function i(e,t,n){for(var r=xo(e,t.nodeIndex),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)Ho(e,t,u,n[u])&&(i=!0,a=sa(e,r,t,u,n[u],a));return a&&o.ngOnChanges(a),65536&t.flags&&bo(e,256,t.nodeIndex)&&o.ngOnInit(),262144&t.flags&&o.ngDoCheck(),i}(e,t,n);case 32:case 64:case 128:return function a(e,t,n){for(var r=t.bindings,o=!1,i=0;i<n.length;i++)Lo(e,t,i,n[i])&&(o=!0);if(o){var a=Io(e,t.nodeIndex),u=void 0;switch(201347067&t.flags){case 32:u=n;break;case 64:for(u={},i=0;i<n.length;i++)u[r[i].name]=n[i];break;case 128:var s=n[0],l=n.slice(1);u=s.transform.apply(s,f(l))}a.value=u}return o}
|
|
421
421
|
/**
|
|
422
422
|
* @license
|
|
423
423
|
* Copyright Google Inc. All Rights Reserved.
|
|
424
424
|
*
|
|
425
425
|
* Use of this source code is governed by an MIT-style license that can be
|
|
426
426
|
* found in the LICENSE file at https://angular.io/license
|
|
427
|
-
*/(e,t,n);default:throw"unreachable"}}(e,t,r)}function
|
|
427
|
+
*/(e,t,n);default:throw"unreachable"}}(e,t,r)}function Da(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var o=ko(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,Qo(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Pa(e,t,n,r,o,i,a,u,s,l,c,f,d){return 0===n?function p(e,t,n,r,o,i,a,u,s,l,c,f){var d=t.bindings.length;d>0&&Bo(e,t,0,n),d>1&&Bo(e,t,1,r),d>2&&Bo(e,t,2,o),d>3&&Bo(e,t,3,i),d>4&&Bo(e,t,4,a),d>5&&Bo(e,t,5,u),d>6&&Bo(e,t,6,s),d>7&&Bo(e,t,7,l),d>8&&Bo(e,t,8,c),d>9&&Bo(e,t,9,f)}(e,t,r,o,i,a,u,s,l,c,f,d):function h(e,t,n){for(var r=0;r<n.length;r++)Bo(e,t,r,n[r])}(e,t,r),!1}function Aa(e,t){if(No(e,t.nodeIndex).dirty)throw To(Ro.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function ja(e){if(!(128&e.state)){if(Sa(e,oa.Destroy),Va(e,oa.Destroy),la(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function n(e){if(16&e.state){var t=Zo(e);if(t){var n=t.template._projectedViews;n&&(Ni(n,n.indexOf(e)),Ro.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function r(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(ko(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Co(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&No(e,n).destroy()}}(e),Yo(e)&&e.renderer.destroy(),e.state|=128}}function Va(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];33554432&o.flags?Ma(ko(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function Sa(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var o=n.nodes[r];if(16777216&o.flags)for(var i=ko(e,r).viewContainer._embeddedViews,a=0;a<i.length;a++)Ma(i[a],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function Ma(e,t){var n=e.state;switch(t){case oa.CheckNoChanges:0==(128&n)&&(12==(12&n)?Ra(e):64&n&&Fa(e,oa.CheckNoChangesProjectedViews));break;case oa.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Ra(e):64&n&&Fa(e,t));break;case oa.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Ta(e):64&n&&Fa(e,oa.CheckAndUpdateProjectedViews));break;case oa.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Ta(e):64&n&&Fa(e,t));break;case oa.Destroy:ja(e);break;case oa.CreateViewNodes:Ea(e)}}function Fa(e,t){Sa(e,t),Va(e,t)}function Ha(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var o=e.def.nodes.length,i=0;i<o;i++){var a=e.def.nodes[i];if(a.flags&t&&a.flags&n)switch(Ro.setCurrentNode(e,a.nodeIndex),r){case 0:pa(e,a);break;case 1:Aa(e,a)}a.childFlags&t&&a.childFlags&n||(i+=a.childCount)}}
|
|
428
428
|
/**
|
|
429
429
|
* @license
|
|
430
430
|
* Copyright Google Inc. All Rights Reserved.
|
|
431
431
|
*
|
|
432
432
|
* Use of this source code is governed by an MIT-style license that can be
|
|
433
433
|
* found in the LICENSE file at https://angular.io/license
|
|
434
|
-
*/!function(e){e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy"}(ta||(ta={}));var Ma=!1;function Fa(){if(!Ma){Ma=!0;var e=In()?function t(){return{setCurrentNode:uu,createRootView:La,createEmbeddedView:za,createComponentView:Qa,createNgModuleRef:Ua,overrideProvider:Ja,overrideComponentView:Xa,clearOverrides:eu,checkAndUpdateView:ou,checkNoChangesView:iu,destroyView:au,createDebugContext:function(e,t){return new gu(e,t)},handleEvent:su,updateDirectives:lu,updateRenderer:cu}}():function n(){return{setCurrentNode:function(){},createRootView:Ha,createEmbeddedView:_a,createComponentView:ba,createNgModuleRef:Fi,overrideProvider:To,overrideComponentView:To,clearOverrides:To,checkAndUpdateView:Na,checkNoChangesView:Ia,destroyView:Oa,createDebugContext:function(e,t){return new gu(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?nu:ru,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?nu:ru,e)}}}();Io.setCurrentNode=e.setCurrentNode,Io.createRootView=e.createRootView,Io.createEmbeddedView=e.createEmbeddedView,Io.createComponentView=e.createComponentView,Io.createNgModuleRef=e.createNgModuleRef,Io.overrideProvider=e.overrideProvider,Io.overrideComponentView=e.overrideComponentView,Io.clearOverrides=e.clearOverrides,Io.checkAndUpdateView=e.checkAndUpdateView,Io.checkNoChangesView=e.checkNoChangesView,Io.destroyView=e.destroyView,Io.resolveDep=ra,Io.createDebugContext=e.createDebugContext,Io.handleEvent=e.handleEvent,Io.updateDirectives=e.updateDirectives,Io.updateRenderer=e.updateRenderer,Io.dirtyParentQueries=la}}function Ha(e,t,n,r,o,i){return wa(Ba(e,o,o.injector.get(Ln),t,n),r,i)}function La(e,t,n,r,o,i){var a=o.injector.get(Ln),u=Ba(e,o,new bu(a),t,n),s=tu(r);return _u(Za.create,wa,null,[u,s,i])}function Ba(e,t,n,r,o){var i=t.injector.get(yo),a=t.injector.get(Ze);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function za(e,t,n,r){var o=tu(n);return _u(Za.create,_a,null,[e,t,o,r])}function Qa(e,t,n,r){return n=Ga.get(t.element.componentProvider.provider.token)||tu(n),_u(Za.create,ba,null,[e,t,n,r])}function Ua(e,t,n,r){return Fi(e,t,n,function o(e){var t=function n(e){var t=!1,n=!1;return 0===Ya.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=Ya.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){$a.forEach(function(r,o){o.ngInjectableDef.providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),r=t.hasDeprecatedOverrides;return t.hasOverrides?(function o(e){for(var t=0;t<e.providers.length;t++){var n=e.providers[t];r&&(n.flags|=4096);var o=Ya.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=$o(o.deps),n.value=o.value)}if($a.size>0){var i=new Set(e.modules);$a.forEach(function(t,n){if(i.has(n.ngInjectableDef.providedIn)){var o={token:n,flags:t.flags|(r?4096:0),deps:$o(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Oo(n)]=o}})}}(e=e.factory(function(){return To})),e):e}(r))}var Za,qa,Ka,Wa,Ya=new Map,$a=new Map,Ga=new Map;function Ja(e){Ya.set(e.token,e),"function"==typeof e.token&&e.token.ngInjectableDef&&"function"==typeof e.token.ngInjectableDef.providedIn&&$a.set(e.token,e)}function Xa(e,t){var n=Xo(Xo(Ii(t)).nodes[0].element.componentView);Ga.set(e,n)}function eu(){Ya.clear(),$a.clear(),Ga.clear()}function tu(e){if(0===Ya.size)return e;var t=function n(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&Ya.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return To});for(var r=0;r<t.length;r++)o(e,t[r]);return e;function o(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=Ya.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=$o(i.deps),o.value=i.value)}}}}function nu(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return Ea(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?Co(e,t).value:void 0}function ru(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return Ta(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?Co(e,t).value:void 0}function ou(e){return _u(Za.detectChanges,Na,null,[e])}function iu(e){return _u(Za.checkNoChanges,Ia,null,[e])}function au(e){return _u(Za.destroy,Oa,null,[e])}function uu(e,t){Ka=e,Wa=t}function su(e,t,n,r){return uu(e,t),_u(Za.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function lu(e,t){if(128&e.state)throw Ro(Za[qa]);return uu(e,vu(e,0)),e.def.updateDirectives(function n(e,r,o){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];var u=e.def.nodes[r];return 0===t?fu(e,u,o,i):du(e,u,o,i),16384&u.flags&&uu(e,vu(e,r)),224&u.flags?Co(e,u.nodeIndex).value:void 0},e)}function cu(e,t){if(128&e.state)throw Ro(Za[qa]);return uu(e,yu(e,0)),e.def.updateRenderer(function n(e,r,o){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];var u=e.def.nodes[r];return 0===t?fu(e,u,o,i):du(e,u,o,i),3&u.flags&&uu(e,yu(e,r)),224&u.flags?Co(e,u.nodeIndex).value:void 0},e)}function fu(e,t,n,r){if(Ea.apply(void 0,s([e,t,n],r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},a=0;a<t.bindings.length;a++){var u=t.bindings[a],l=o[a];8&u.flags&&(i[(h=u.nonMinifiedName,"ng-reflect-"+(h=function c(e){return e.replace(pu,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})}(h.replace(/[$@]/g,"_"))))]=hu(l))}var f=t.parent,d=wo(e,f.nodeIndex).renderElement;if(f.element.name)for(var p in i)null!=(l=i[p])?e.renderer.setAttribute(d,p,l):e.renderer.removeAttribute(d,p);else e.renderer.setValue(d,"bindings="+JSON.stringify(i,null,2))}}var h}function du(e,t,n,r){Ta.apply(void 0,s([e,t,n],r))}!function(e){e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent"}(Za||(Za={}));var pu=/([A-Z])/g;function hu(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function vu(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function yu(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var gu=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Qo(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return wo(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return ji(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){mu(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&mu(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function t(e){for(;e&&!qo(e);)e=e.parent;return e.parent?wo(e.parent,Qo(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Uo(this.view,this.nodeDef):Uo(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var i=function a(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),u=-1;t.factory(function(){var t;return++u===i?(t=e.error).bind.apply(t,s([e],r)):To}),u<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,s(r)))},e}();function mu(e,t,n){for(var r in t.references)n[r]=da(e,t,t.references[r])}function _u(e,t,n,r){var o=qa,i=Ka,a=Wa;try{qa=e;var u=t.apply(n,r);return Ka=i,Wa=a,qa=o,u}catch(e){if(function s(e){return!!ze(e)}(e)||!Ka)throw e;throw function l(e,t){return e instanceof Error||(e=new Error(e.toString())),Eo(e,t),e}(e,wu())}}function wu(){return Ka?new gu(Ka,Wa):null}var bu=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Cu(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),Cu=function(){function e(e){this.delegate=e,this.data=this.delegate.data}return e.prototype.destroyNode=function(e){!function t(e){ar.delete(e.nativeNode)}(ur(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=wu();if(r){var o=new rr(n,null,r);o.name=e,sr(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=wu();return n&&sr(new nr(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=wu();return n&&sr(new nr(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=ur(e),r=ur(t);n&&r&&n instanceof rr&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=ur(e),o=ur(t),i=ur(n);r&&o&&r instanceof rr&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=ur(e),r=ur(t);n&&r&&n instanceof rr&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e){var t=this.delegate.selectRootElement(e),n=wu();return n&&sr(new rr(t,null,n)),t},e.prototype.setAttribute=function(e,t,n,r){var o=ur(e);o&&o instanceof rr&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=ur(e);r&&r instanceof rr&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=ur(e);n&&n instanceof rr&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=ur(e);n&&n instanceof rr&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=ur(e);o&&o instanceof rr&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=ur(e);r&&r instanceof rr&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=ur(e);r&&r instanceof rr&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=ur(e);r&&r.listeners.push(new tr(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}(),ku=function(e){function t(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(t,e),t.prototype.create=function(e){Fa();var t=function n(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(Xo(this._ngModuleDefFactory));return Io.createNgModuleRef(this.moduleType,e||ce.NULL,this._bootstrapComponents,t)},t}(Gt),xu=16,Iu=0,Nu=1,Eu=2,Ru=3,Tu=4,Du=5,Ou=6,Pu=7,Au=8,ju=9,Vu=10,Su=11,Mu=12,Fu=13,Hu=14;
|
|
434
|
+
*/!function(e){e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy"}(oa||(oa={}));var La=!1;function Ba(){if(!La){La=!0;var e=Rn()?function t(){return{setCurrentNode:cu,createRootView:Qa,createEmbeddedView:Za,createComponentView:qa,createNgModuleRef:Ka,overrideProvider:tu,overrideComponentView:nu,clearOverrides:ru,checkAndUpdateView:uu,checkNoChangesView:su,destroyView:lu,createDebugContext:function(e,t){return new wu(e,t)},handleEvent:fu,updateDirectives:du,updateRenderer:pu}}():function n(){return{setCurrentNode:function(){},createRootView:za,createEmbeddedView:Ca,createComponentView:xa,createNgModuleRef:Bi,overrideProvider:Po,overrideComponentView:Po,clearOverrides:Po,checkAndUpdateView:Ta,checkNoChangesView:Ra,destroyView:ja,createDebugContext:function(e,t){return new wu(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?iu:au,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?iu:au,e)}}}();Ro.setCurrentNode=e.setCurrentNode,Ro.createRootView=e.createRootView,Ro.createEmbeddedView=e.createEmbeddedView,Ro.createComponentView=e.createComponentView,Ro.createNgModuleRef=e.createNgModuleRef,Ro.overrideProvider=e.overrideProvider,Ro.overrideComponentView=e.overrideComponentView,Ro.clearOverrides=e.clearOverrides,Ro.checkAndUpdateView=e.checkAndUpdateView,Ro.checkNoChangesView=e.checkNoChangesView,Ro.destroyView=e.destroyView,Ro.resolveDep=aa,Ro.createDebugContext=e.createDebugContext,Ro.handleEvent=e.handleEvent,Ro.updateDirectives=e.updateDirectives,Ro.updateRenderer=e.updateRenderer,Ro.dirtyParentQueries=da}}function za(e,t,n,r,o,i){return ka(Ua(e,o,o.injector.get(Qn),t,n),r,i)}function Qa(e,t,n,r,o,i){var a=o.injector.get(Qn),u=Ua(e,o,new xu(a),t,n),s=ou(r);return Cu(Wa.create,ka,null,[u,s,i])}function Ua(e,t,n,r,o){var i=t.injector.get(_o),a=t.injector.get(We);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function Za(e,t,n,r){var o=ou(n);return Cu(Wa.create,Ca,null,[e,t,o,r])}function qa(e,t,n,r){return n=eu.get(t.element.componentProvider.provider.token)||ou(n),Cu(Wa.create,xa,null,[e,t,n,r])}function Ka(e,t,n,r){return Bi(e,t,n,function o(e){var t=function n(e){var t=!1,n=!1;return 0===Ja.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=Ja.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){Xa.forEach(function(r,o){o.ngInjectableDef.providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),r=t.hasDeprecatedOverrides;return t.hasOverrides?(function o(e){for(var t=0;t<e.providers.length;t++){var n=e.providers[t];r&&(n.flags|=4096);var o=Ja.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=Xo(o.deps),n.value=o.value)}if(Xa.size>0){var i=new Set(e.modules);Xa.forEach(function(t,n){if(i.has(n.ngInjectableDef.providedIn)){var o={token:n,flags:t.flags|(r?4096:0),deps:Xo(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[jo(n)]=o}})}}(e=e.factory(function(){return Po})),e):e}(r))}var Wa,Ya,$a,Ga,Ja=new Map,Xa=new Map,eu=new Map;function tu(e){Ja.set(e.token,e),"function"==typeof e.token&&e.token.ngInjectableDef&&"function"==typeof e.token.ngInjectableDef.providedIn&&Xa.set(e.token,e)}function nu(e,t){var n=ni(ni(Ri(t)).nodes[0].element.componentView);eu.set(e,n)}function ru(){Ja.clear(),Xa.clear(),eu.clear()}function ou(e){if(0===Ja.size)return e;var t=function n(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&Ja.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Po});for(var r=0;r<t.length;r++)o(e,t[r]);return e;function o(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=Ja.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=Xo(i.deps),o.value=i.value)}}}}function iu(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return Oa(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?Io(e,t).value:void 0}function au(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return Pa(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?Io(e,t).value:void 0}function uu(e){return Cu(Wa.detectChanges,Ta,null,[e])}function su(e){return Cu(Wa.checkNoChanges,Ra,null,[e])}function lu(e){return Cu(Wa.destroy,ja,null,[e])}function cu(e,t){$a=e,Ga=t}function fu(e,t,n,r){return cu(e,t),Cu(Wa.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function du(e,t){if(128&e.state)throw Do(Wa[Ya]);return cu(e,mu(e,0)),e.def.updateDirectives(function n(e,r,o){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];var u=e.def.nodes[r];return 0===t?hu(e,u,o,i):vu(e,u,o,i),16384&u.flags&&cu(e,mu(e,r)),224&u.flags?Io(e,u.nodeIndex).value:void 0},e)}function pu(e,t){if(128&e.state)throw Do(Wa[Ya]);return cu(e,_u(e,0)),e.def.updateRenderer(function n(e,r,o){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];var u=e.def.nodes[r];return 0===t?hu(e,u,o,i):vu(e,u,o,i),3&u.flags&&cu(e,_u(e,r)),224&u.flags?Io(e,u.nodeIndex).value:void 0},e)}function hu(e,t,n,r){if(Oa.apply(void 0,f([e,t,n],r))){var o=1===n?r[0]:r;if(16384&t.flags){for(var i={},a=0;a<t.bindings.length;a++){var u=t.bindings[a],s=o[a];8&u.flags&&(i[(h=u.nonMinifiedName,"ng-reflect-"+(h=function l(e){return e.replace(yu,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})}(h.replace(/[$@]/g,"_"))))]=gu(s))}var c=t.parent,d=ko(e,c.nodeIndex).renderElement;if(c.element.name)for(var p in i)null!=(s=i[p])?e.renderer.setAttribute(d,p,s):e.renderer.removeAttribute(d,p);else e.renderer.setValue(d,"bindings="+JSON.stringify(i,null,2))}}var h}function vu(e,t,n,r){Pa.apply(void 0,f([e,t,n],r))}!function(e){e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent"}(Wa||(Wa={}));var yu=/([A-Z])/g;function gu(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function mu(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function _u(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var wu=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=qo(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return ko(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Mi(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){bu(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&bu(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function t(e){for(;e&&!Yo(e);)e=e.parent;return e.parent?ko(e.parent,qo(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Ko(this.view,this.nodeDef):Ko(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var i=function a(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),u=-1;t.factory(function(){var t;return++u===i?(t=e.error).bind.apply(t,f([e],r)):Po}),u<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,f(r)))},e}();function bu(e,t,n){for(var r in t.references)n[r]=va(e,t,t.references[r])}function Cu(e,t,n,r){var o=Ya,i=$a,a=Ga;try{Ya=e;var u=t.apply(n,r);return $a=i,Ga=a,Ya=o,u}catch(e){if(function s(e){return!!Ze(e)}(e)||!$a)throw e;throw function l(e,t){return e instanceof Error||(e=new Error(e.toString())),Oo(e,t),e}(e,ku())}}function ku(){return $a?new wu($a,Ga):null}var xu=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Iu(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),Iu=function(){function e(e){this.delegate=e,this.data=this.delegate.data}return e.prototype.destroyNode=function(e){!function t(e){lr.delete(e.nativeNode)}(cr(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=ku();if(r){var o=new ar(n,null,r);o.name=e,fr(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=ku();return n&&fr(new ir(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=ku();return n&&fr(new ir(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=cr(e),r=cr(t);n&&r&&n instanceof ar&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=cr(e),o=cr(t),i=cr(n);r&&o&&r instanceof ar&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=cr(e),r=cr(t);n&&r&&n instanceof ar&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e){var t=this.delegate.selectRootElement(e),n=ku();return n&&fr(new ar(t,null,n)),t},e.prototype.setAttribute=function(e,t,n,r){var o=cr(e);o&&o instanceof ar&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=cr(e);r&&r instanceof ar&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=cr(e);n&&n instanceof ar&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=cr(e);n&&n instanceof ar&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=cr(e);o&&o instanceof ar&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=cr(e);r&&r instanceof ar&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=cr(e);r&&r instanceof ar&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=cr(e);r&&r.listeners.push(new or(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}(),Nu=function(e){function t(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return o(t,e),t.prototype.create=function(e){Ba();var t=function n(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var o in e.providersByKey)r[o]=e.providersByKey[o];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(ni(this._ngModuleDefFactory));return Ro.createNgModuleRef(this.moduleType,e||pe.NULL,this._bootstrapComponents,t)},t}(en),Eu=16,Ru=0,Tu=1,Ou=2,Du=3,Pu=4,Au=5,ju=6,Vu=7,Su=8,Mu=9,Fu=10,Hu=11,Lu=12,Bu=13,zu=14;
|
|
435
435
|
/**
|
|
436
436
|
* @license
|
|
437
437
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -439,14 +439,14 @@ return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0
|
|
|
439
439
|
* Use of this source code is governed by an MIT-style license that can be
|
|
440
440
|
* found in the LICENSE file at https://angular.io/license
|
|
441
441
|
*/
|
|
442
|
-
function
|
|
442
|
+
function Qu(e,t,n,r){t&&(r.initHooks||(r.initHooks=[])).push(e,t),n&&((r.initHooks||(r.initHooks=[])).push(e,n),(r.checkHooks||(r.checkHooks=[])).push(e,n))}function Uu(e,t){if(t.firstTemplatePass)for(var n=e>>14,r=n+(4095&e),o=n;o<r;o++){var i=t.directives[o];Zu(i,t,o),qu(i,t,o),Ku(i,t,o)}}function Zu(e,t,n){e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked))}function qu(e,t,n){e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked))}function Ku(e,t,n){null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}function Wu(e,t,n){16&e[Pu]&&(Yu(e[Vu],t.initHooks,t.checkHooks,n),e[Pu]&=-17)}function Yu(e,t,n,r){var o=r?t:n;o&&$u(e,o)}function $u(e,t){for(var n=0;n<t.length;n+=2)t[n+1].call(e[t[n]])}
|
|
443
443
|
/**
|
|
444
444
|
* @license
|
|
445
445
|
* Copyright Google Inc. All Rights Reserved.
|
|
446
446
|
*
|
|
447
447
|
* Use of this source code is governed by an MIT-style license that can be
|
|
448
448
|
* found in the LICENSE file at https://angular.io/license
|
|
449
|
-
*/function
|
|
449
|
+
*/function Gu(e){throw new Error("Multiple components match node with tagname "+e.tagName)}
|
|
450
450
|
/**
|
|
451
451
|
* @license
|
|
452
452
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -454,42 +454,42 @@ function Lu(e,t,n,r){t&&(r.initHooks||(r.initHooks=[])).push(e,t),n&&((r.initHoo
|
|
|
454
454
|
* Use of this source code is governed by an MIT-style license that can be
|
|
455
455
|
* found in the LICENSE file at https://angular.io/license
|
|
456
456
|
*/
|
|
457
|
-
var
|
|
457
|
+
var Ju,Xu=0,es=4,ts=5,ns="ngProjectAs";function rs(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(Ju||(Ju={}));var os={createRenderer:function(e,t){return document}};
|
|
458
458
|
/**
|
|
459
459
|
* @license
|
|
460
460
|
* Copyright Google Inc. All Rights Reserved.
|
|
461
461
|
*
|
|
462
462
|
* Use of this source code is governed by an MIT-style license that can be
|
|
463
463
|
* found in the LICENSE file at https://angular.io/license
|
|
464
|
-
*/function
|
|
464
|
+
*/function is(e){return"function"==typeof e?e.name||e:"string"==typeof e?e:null==e?"":""+e}function as(e,t){return t[e+Eu]}function us(e){return Array.isArray(e)?e[0]:e}
|
|
465
465
|
/**
|
|
466
466
|
* @license
|
|
467
467
|
* Copyright Google Inc. All Rights Reserved.
|
|
468
468
|
*
|
|
469
469
|
* Use of this source code is governed by an MIT-style license that can be
|
|
470
470
|
* found in the LICENSE file at https://angular.io/license
|
|
471
|
-
*/function
|
|
471
|
+
*/function ss(e){if(2===e.tNode.type){var t=e.data;return t[Ou]?t[Ou][Au]:null}return e.tNode.next?e.view[e.tNode.next.index]:null}function ls(e){return e.tNode.child?us((2===e.tNode.type?e.data:e.view)[e.tNode.child.index]):null}function cs(e){if(-1===e.tNode.index&&2===e.tNode.type){var t=e.data[zu];return-1===t?null:e.view[t].dynamicLContainerNode}var n=e.tNode.parent;return us(n?e.view[n.index]:e.view[Au])}var fs=[];function ds(e,t,n,r,o,i){for(var a=e,u=-1;a;){var s=null,l=o?o.native:null,c=a.tNode.type;if(3===c)hs(n,r,l,a.native,i),a.dynamicLContainerNode&&hs(n,r,l,a.dynamicLContainerNode.native,i);else if(0===c){hs(n,r,l,a.native,i);var f=a,d=f.dynamicLContainerNode?f.dynamicLContainerNode.data:f.data;o&&(d[ts]=o),(s=d[es].length?ls(d[es][0]):null)&&(i=f.dynamicLContainerNode?f.dynamicLContainerNode.native:f.native)}else if(1===c){var p=ps(a.view),h=p.tNode.projection[a.tNode.projection];fs[++u]=a,s=h?p.data[Tu][h.index]:null}else s=ls(a);if(null===s)for(null===(s=ss(a))&&8192&a.tNode.flags&&(s=ss(fs[u--]));a&&!s;){if(null===(a=cs(a))||a===t)return null;a.tNode.next||0!==c||(i=a.native),s=ss(a)}a=s}}function ps(e){for(var t=e[Au];2===t.tNode.type;)t=(e=e[Tu])[Au];return t}function hs(e,t,n,r,o){0===e?rs(t)?t.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===e?rs(t)?t.removeChild(n,r):n.removeChild(r):2===e&&t.destroyNode(r)}function vs(e,t){return rs(t)?t.createText(is(e)):t.createTextNode(is(e))}function ys(e,t,n,r){var o=e.data[ts];o&&o.native&&ds(ls(t),t,n?0:1,e.view[Hu],o,r)}function gs(e,t,n){var r=e.data[es],o=t.data;return n>0&&(r[n-1].data[Ou]=o),n<r.length?(o[Ou]=r[n].data,r.splice(n,0,t)):(r.push(t),o[Ou]=null),-1===t.tNode.index&&(o[zu]=e.tNode.parent.index,t.view=e.view),o[Du]&&o[Du].insertView(n),o[Pu]|=8,t}function ms(e,t){var n=e.data[es],r=n[t];t>0&&(n[t-1].data[Ou]=r.data[Ou]),n.splice(t,1),e.tNode.detached||ys(e,r,!1);var o=r.data;return o[Du]&&o[Du].removeView(),o[zu]=-1,r.view=null,r.data[Pu]&=-9,r}function _s(e,t){var n=e.data[es][t];return ms(e,t),bs(n.data),n}function ws(e){if(-1===e[Ru].childIndex)return null;var t=e[e[Ru].childIndex];return t.data?t.data:t.dynamicLContainerNode.data}function bs(e){var t=e[Hu];rs(t)&&t.destroyNode&&ds(e[Au],e[Au],2,t),function n(e){if(-1===e[Ru].childIndex)return ks(e);for(var t=ws(e);t;){var n=null;if(t.length>=Eu?t[Ru].childIndex>-1&&(n=ws(t)):t[es].length&&(n=t[es][0].data),null==n){for(;t&&!t[Ou]&&t!==e;)ks(t),t=Cs(t,e);ks(t||e),n=t&&t[Ou]}t=n}}(e),e[Pu]|=32}function Cs(e,t){var n;return(n=e[Au])&&2===n.tNode.type?cs(n).data:e[Tu]===t?null:e[Tu]}function ks(e){if(e[Ru]){var t=e;!function n(e){var t=e[Ru].cleanup;if(null!=t){for(var n=0;n<t.length-1;n+=2)"string"==typeof t[n]?(us(e[t[n+1]]).native.removeEventListener(t[n],e[Su][t[n+2]],t[n+3]),n+=2):"number"==typeof t[n]?(0,e[Su][t[n]])():t[n].call(e[Su][t[n+1]]);e[Su]=null}}(t),function r(e){var t,n=e[Ru];null!=n&&null!=(t=n.destroyHooks)&&$u(e[Vu],t)}(t),function o(e){var t=e[Ru]&&e[Ru].pipeDestroyHooks;t&&$u(e,t)}(t),-1===t[Ru].id&&rs(t[Hu])&&t[Hu].destroy()}}function xs(e,t){if(3===e.tNode.type)return e.view!==t||null===e.data;var n=cs(e);return null!=n&&null!=n.data[ts]}function Is(e,t,n){if(null!==t&&xs(e,n)){var r=n[Hu];if(2===e.tNode.type){var o=cs(e),i=o.data[ts],a=o.data[es],u=a.indexOf(e),s=u+1<a.length?ls(a[u+1]).native:o.native;rs(r)?r.insertBefore(i.native,t,s):i.native.insertBefore(t,s,!0)}else rs(r)?r.appendChild(e.native,t):e.native.appendChild(t);return!0}return!1}function Ns(e,t,n){if(null!==t&&xs(e,n)){var r=n[Hu];return rs(r)?r.removeChild(e.native,t):e.native.removeChild(t),!0}return!1}function Es(e,t,n,r){if(Is(t,e.native,n),0===e.tNode.type){var o=e.data;o[ts]=r;for(var i=o[es],a=0;a<i.length;a++)ys(e,i[a],!0,e.native)}e.dynamicLContainerNode&&(e.dynamicLContainerNode.data[ts]=r,Is(t,e.dynamicLContainerNode.native,n))}
|
|
472
472
|
/**
|
|
473
473
|
* @license
|
|
474
474
|
* Copyright Google Inc. All Rights Reserved.
|
|
475
475
|
*
|
|
476
476
|
* Use of this source code is governed by an MIT-style license that can be
|
|
477
477
|
* found in the LICENSE file at https://angular.io/license
|
|
478
|
-
*/function
|
|
478
|
+
*/function Rs(e,t){for(var n,r,o,i,a,u=4,s=e.attrs,l=s?s.indexOf(1):-1,c=!1,f=0;f<t.length;f++){var d=t[f];if("number"!=typeof d){if(!c)if(4&u){if(u=2|1&u,""!==d&&d!==e.tagName){if(Ts(u))return!1;c=!0}}else{var p=Os(8&u?"class":d,s);if(-1===p){if(Ts(u))return!1;c=!0;continue}var h,v=8&u?d:t[++f];if(""!==v)if(h=l>-1&&p>l?"":s[p+1],8&u&&(o=(n=h).length,a=(i=n.indexOf(r=v))+r.length,-1===i||i>0&&" "!==n[i-1]||a<o&&" "!==n[a])||2&u&&v!==h){if(Ts(u))return!1;c=!0}}}else{if(!c&&!Ts(u)&&!Ts(d))return!1;if(c&&Ts(d))continue;c=!1,u=d|1&u}}return Ts(u)||c}function Ts(e){return 0==(1&e)}function Os(e,t){if(null===t)return-1;for(var n=!1,r=0;r<t.length;){var o=t[r];if(o===e)return r;0===o?r+=4:(1===o&&(n=!0),r+=n?1:2)}return-1}function Ds(e,t){for(var n=0;n<t.length;n++)if(Rs(e,t[n]))return!0;return!1}function Ps(e,t,n){for(var r=function o(e){var t=e.attrs;if(null!=t){var n=t.indexOf(ns);if(0==(1&n))return t[n+1]}return null}(e),i=0;i<t.length;i++)if(r===n[i]||null===r&&Ds(e,t[i]))return i+1;return 0}
|
|
479
479
|
/**
|
|
480
480
|
* @license
|
|
481
481
|
* Copyright Google Inc. All Rights Reserved.
|
|
482
482
|
*
|
|
483
483
|
* Use of this source code is governed by an MIT-style license that can be
|
|
484
484
|
* found in the LICENSE file at https://angular.io/license
|
|
485
|
-
*/var
|
|
485
|
+
*/var As=[],js={};function Vs(e,t,n){var r=6+3*t,o=Js(e,r),i=Gs(e,r);if(al(i,o,n)){Ys(e,r,n);var a=Zs(i),u=Js(e,a);if(!u||u!==n){var s=!1,l=!0,c=2==(2&i);!ol(n,c)&&ol(u,c)&&(s=!0,l=!1),Fs(e,a,s),Fs(e,r,l),el(e,!0)}}}function Ss(e,t,n,r,o,i){n=o&&n?o(t,n):n,i?i[t]=n:n?rs(r)?r.setStyle(e,t,n,Ju.DashCase):e.style.setProperty(t,n):rs(r)?r.removeStyle(e,t,Ju.DashCase):e.style.removeProperty(t)}function Ms(e,t,n,r,o){o?o[t]=n:n?rs(r)?r.addClass(e,t):e.classList.add(t):rs(r)?r.removeClass(e,t):e.classList.remove(t)}function Fs(e,t,n){var r=t>=6?t+0:t;n?e[r]|=1:e[r]&=-2}function Hs(e,t){return 1==(1&e[t>=6?t+0:t])}function Ls(e,t){return 2==(2&e[t>=6?t+0:t])}function Bs(e,t){return 4==(4&e[t>=6?t+0:t])}function zs(e,t,n){return 7&e|t<<3|n<<17}function Qs(e,t){var n=Us(t);return e[2][n]}function Us(e){return e>>3&16383}function Zs(e){var t=e>>17&16383;return t>=6?t:-1}function qs(e){return Zs(e[3])}function Ks(e){return e[1]}function Ws(e,t,n){e[t+1]=n}function Ys(e,t,n){e[t+2]=n}function $s(e,t,n){e[3===t?t:t+0]=n}function Gs(e,t){return e[3===t?t:t+0]}function Js(e,t){return e[t+2]}function Xs(e,t){return e[t+1]}function el(e,t){Fs(e,3,t)}function tl(e,t,n){for(var r=(n||0)+1;r<e.length;r+=3)if(e[r]==t)return r-1;return-1}function nl(e,t,n){var r=Js(e,t),o=Xs(e,t),i=Gs(e,t),a=i,u=Gs(e,n),s=Zs(a);s>=0&&$s(e,s,zs(l=Gs(e,s),Us(l),n));var l,c=Zs(u);c>=0&&$s(e,c,zs(l=Gs(e,c),Us(l),t)),Ys(e,t,Js(e,n)),Ws(e,t,Xs(e,n)),$s(e,t,Gs(e,n)),Ys(e,n,r),Ws(e,n,o),$s(e,n,i)}function rl(e,t,n,r,o,i){var a=t<e.length;e.splice(t,0,1|o|(n?2:0),r,i),a&&function u(e,t){for(var n=t;n<e.length;n+=3){var r=Zs(Gs(e,n));if(r>0){var o=Us(Gs(e,r));$s(e,r,zs((Hs(e,r)?1:0)|(Ls(e,r)?2:0)|(Bs(e,r)?4:0),o,n))}}}(e,t+3)}function ol(e,t){return t?!!e:null!==e}function il(e,t,n){return t?2:n&&n(e)?4:0}function al(e,t,n){return!(2&e)&&t&&n&&4&e?t.toString()!==n.toString():t!==n}
|
|
486
486
|
/**
|
|
487
487
|
* @license
|
|
488
488
|
* Copyright Google Inc. All Rights Reserved.
|
|
489
489
|
*
|
|
490
490
|
* Use of this source code is governed by an MIT-style license that can be
|
|
491
491
|
* found in the LICENSE file at https://angular.io/license
|
|
492
|
-
*/var
|
|
492
|
+
*/var ul,sl,ll,cl,fl,dl,pl,hl,vl,yl="__ngHostLNode__",gl=Promise.resolve(null),ml=[0,0],_l=new Array(Eu).fill(null),wl="__CIRCULAR__",bl=null;function Cl(){return ul}function kl(){return hl&&hl[Lu]}function xl(){return hl}function Il(){return ll}function Nl(e){return e[Su]||(e[Su]=[])}function El(e){return e[Ru].cleanup||(e[Ru].cleanup=[])}var Rl=!1,Tl=!0;function Ol(e,t){var n=hl;return vl=e&&e[Vu],fl=e&&e[Ru],pl=e&&1==(1&e[Pu]),Tl=e&&fl.firstTemplatePass,ul=e&&e[Hu],null!=t&&(ll=t,cl=!0),hl=e,dl=e&&e[Du],n}function Dl(e,t){t||(Rl||Yu(vl,fl.viewHooks,fl.viewCheckHooks,pl),hl[Pu]&=-6),hl[Pu]|=16,hl[ju]=-1,Ol(e,null)}function Pl(){Rl||Wu(hl,fl,pl),function e(t){for(var n=ws(t);null!==n;n=n[Ou])if(n.length<Eu&&null===n[Xu])for(var r=n,o=0;o<r[es].length;o++){var i=r[es][o],a=i.data;Hl(i,a[Ru],a[Mu],2)}}(hl),Rl||Yu(vl,fl.contentHooks,fl.contentCheckHooks,pl),fl.firstTemplatePass=Tl=!1,Al(fl.hostBindings),function t(e){if(null!=e.contentQueries)for(var t=0;t<e.contentQueries.length;t+=2){var n=e.contentQueries[t];e.directives[n].contentQueriesRefresh(n,e.contentQueries[t+1])}}(fl),function n(e){if(null!=e)for(var t=0;t<e.length;t+=2)pc(e[t],e[t+1])}(fl.components)}function Al(e){if(null!=e)for(var t=fl.directives,n=0;n<e.length;n+=2){var r=e[n],o=t[r];o.hostBindings&&o.hostBindings(r,e[n+1])}}function jl(){Rl||(Wu(hl,fl,pl),Yu(vl,fl.contentHooks,fl.contentCheckHooks,pl))}function Vl(e,t,n,r,o){return[t,hl,null,null,25|r,null,-1,null,null,n,hl&&hl[Fu],e,o||null,null,-1,null]}function Sl(e,t,n,r,o,i){return{native:r,view:t,nodeInjector:n?n.nodeInjector:null,data:o,queries:i,tNode:null,dynamicLContainerNode:null}}function Ml(e,t,n,r,o,i){var a=cl?ll:ll&&cs(ll),u=a&&a.view===hl?a.tNode:null,s=(cl?dl:ll&&ll.queries)||a&&a.queries&&a.queries.child(),l=null!=i,c=Sl(0,hl,a,n,l?i:null,s);if(-1===e||2===t)c.tNode=(i?i[Ru].node:null)||ac(t,e,null,null,u,null);else{var f=e+Eu,d=fl.data;if(hl[f]=c,f>=d.length){var p=d[f]=ac(t,f,r,o,u,null);if(!cl&&ll){var h=ll.tNode;h.next=p,h.dynamicContainerNode&&(h.dynamicContainerNode.next=p)}}c.tNode=d[f],cl&&(dl=null,(null==ll.tNode.child&&ll.view===hl||2===ll.tNode.type)&&(ll.tNode.child=c.tNode))}if(2==(2&t)&&l){var v=i;v[Au]=c,Tl&&(v[Ru].node=c.tNode)}return ll=c,cl=!0,c}function Fl(){cl=!1,ll=null}function Hl(e,t,n,r){var o,i=cl,a=ll;if(null==e.data[Tu]&&e.data[Mu]&&!t.template)mc(e.data[Mu]);else try{cl=!0,ll=null,o=Ol(e.data,e),Ql(),t.template(r,n),2&r?Pl():e.data[Ru].firstTemplatePass=Tl=!1}finally{Dl(o,1==(1&r)),cl=i,ll=a}return e}function Ll(e,t,n,r){var o=Ol(t,e);try{sl.begin&&sl.begin(),r?(Ql(),r(Bl(t),n),Pl()):(jl(),Al(ml),pc(0,Eu))}finally{sl.end&&sl.end(),Dl(o)}}function Bl(e){return 1&e[Pu]?3:2}var zl=null;function Ql(){zl=null}function Ul(e,t,n,r){var o=Zl(t),i=Ml(e,3,o,t,n||null,null);return bl=i,n&&ec(o,n),Is(cs(i),o,hl),ql(r),o}function Zl(e,t){var n=t||ul;return rs(n)?n.createElement(e,zl):null===zl?n.createElement(e):n.createElementNS(zl,e)}function ql(e){Tl?function t(e,n,r){var o=r?{"":-1}:null,i=n.currentMatches=Kl(e);if(i)for(var a=0;a<i.length;a+=2){var u=i[a],s=a+1;Wl(u,s,i,n),Gl(i[s],u,o)}o&&function l(e,t,n){if(t)for(var r=e.localNames=[],o=0;o<t.length;o+=2){var i=n[t[o+1]];if(null==i)throw new Error("Export of name '"+t[o+1]+"' not found!");r.push(t[o],i)}}(e,r,o)}(ll.tNode,fl,e||null):function n(){var e=ll.tNode,t=4095&e.flags;if(t>0)for(var n=e.flags>>14,r=n+t,o=fl.directives,i=n;i<r;i++){var a=o[i];cc(i,a.factory(),a)}}(),function r(){var e=ll.tNode.localNames;if(e)for(var t=0;t<e.length;t+=2){var n=e[t+1];hl.push(-1===n?ll.native:vl[n])}}()}function Kl(e){var t=fl.directiveRegistry,n=null;if(t)for(var r=0;r<t.length;r++){var o=t[r];Ds(e,o.selectors)&&(o.template&&(4096&e.flags&&Gu(e),e.flags=4096),o.diPublic&&o.diPublic(o),(n||(n=[])).push(o,null))}return n}function Wl(e,t,n,r){if(null===n[t]){n[t]=wl;var o=e.factory();return(r.directives||(r.directives=[])).push(e),cc(n[t]=r.directives.length-1,o,e)}return n[t]===wl&&function i(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(e.type),null}function Yl(e){Tl&&(fl.components||(fl.components=[])).push(e,hl.length-1)}function $l(e,t,n){e&&null!=e.changeDetectorRef&&e.changeDetectorRef._setComponentContext(n,t)}function Gl(e,t,n){n&&(t.exportAs&&(n[t.exportAs]=e),t.template&&(n[""]=e))}function Jl(e,t,n,r){return e.ngPrivateData||(e.ngPrivateData=Xl(-1,e,t,n,r))}function Xl(e,t,n,r,o){return{id:e,template:t,viewQuery:o,node:null,data:_l.slice(),childIndex:-1,bindingStartIndex:-1,directives:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,hostBindings:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof n?n():n,pipeRegistry:"function"==typeof r?r():r,currentMatches:null}}function ec(e,t){for(var n=rs(ul),r=0;r<t.length;){var o=t[r];if(1===o)break;if(o===ns)r+=2;else if(0===o){var i=t[r+1],a=t[r+2],u=t[r+3];n?ul.setAttribute(e,a,u,i):e.setAttributeNS(i,a,u),r+=4}else u=t[r+1],n?ul.setAttribute(e,o,u):e.setAttribute(o,u),r+=2}}function tc(e,t){sl=e;var n=e.createRenderer(null,null);return"string"==typeof t?rs(n)?n.selectRootElement(t):n.querySelector(t):t}function nc(e,t,n,r){Fl();var o=Ml(0,3,t,null,null,Vl(ul,Jl(n.template,n.directiveDefs,n.pipeDefs,n.viewQuery),null,n.onPush?4:2,r));return Tl&&(o.tNode.flags=4096,n.diPublic&&n.diPublic(n),fl.directives=[n]),o}function rc(e,t,n){e||(e=hl),Nl(e).push(t),e[Ru].firstTemplatePass&&El(e).push(n,e[Su].length-1)}function oc(e,t){Nl(e).push(t),e[Ru].firstTemplatePass&&El(e).push(e[Su].length-1,null)}function ic(){cl?cl=!1:ll=cs(ll);var e=ll.queries;e&&e.addNode(ll),Uu(ll.tNode.flags,fl),bl=null}function ac(e,t,n,r,o,i){return{type:e,index:t,flags:0,tagName:n,attrs:r,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:o,dynamicContainerNode:null,detached:null,stylingTemplate:null,projection:null}}function uc(e,t){var n=4095&e,r=null;if(n>0)for(var o=e>>14,i=o+n,a=0===t,u=fl.directives,s=o;s<i;s++){var l=u[s],c=a?l.inputs:l.outputs;for(var f in c)if(c.hasOwnProperty(f)){var d=c[f];(r=r||{}).hasOwnProperty(f)?r[f].push(s,d):r[f]=[s,d]}}return r}function sc(e){var t=Ec(e);return Array.isArray(t)||(t=hl[e+Eu]=function n(e,t){var n=t.slice();return n[0]=e,n}(t,t.tNode.stylingTemplate)),t}function lc(e){!function t(e,n,r,o){if(function i(e){return Hs(e,3)}(e)){for(var a=e[0].native,u=qs(e),s=Ks(e),l=6;l<e.length;l+=3)if(Hs(e,l)){var c=Xs(e,l),f=Js(e,l),d=Gs(e,l),p=!!(2&d),h=f;l<u&&!ol(h,p)&&(h=Js(e,Zs(d))),ol(h,p)||(h=Qs(e,d)),p?Ms(a,c,!!h,n,o):Ss(a,c,h,n,4&d?s:null,r),Fs(e,l,!1)}el(e,!1)}}(sc(e),ul)}function cc(e,t,n){var r=fc(e,t,n),o=ll.tNode;return n.template&&function i(e,t,n){var r=Jl(n.template,n.directiveDefs,n.pipeDefs,n.viewQuery),o=yc(hl,ll.tNode.index,Vl(sl.createRenderer(ll.native,n.rendererType),r,null,n.onPush?4:2,kl()));ll.data=o,o[Au]=ll,$l(ll.nodeInjector,t,o),Tl&&Yl(e)}(e,t,n),Tl&&(Qu(e,n.onInit,n.doCheck,fl),n.hostBindings&&function a(e){(fl.hostBindings||(fl.hostBindings=[])).push(e,hl.length-1-Eu)}(e)),o&&o.attrs&&function u(e,t,n,r){var o=r.initialInputs;(void 0===o||e>=o.length)&&(o=function i(e,t,n){var r=n.initialInputs||(n.initialInputs=[]);r[e]=null;for(var o=n.attrs,i=0;i<o.length;){var a=o[i];if(1===a)break;if(0!==a){var u=t[a],s=o[i+1];void 0!==u&&(r[e]||(r[e]=[])).push(u,s),i+=2}else i+=4}return r}(e,n,r));var a=o[e];if(a)for(var u=0;u<a.length;u+=2)t[a[u]]=a[u+1]}(e,r,n.inputs,o),n.contentQueries&&n.contentQueries(),r}function fc(e,t,n){if(Object.defineProperty(t,yl,{enumerable:!1,value:ll}),null==vl&&(hl[Vu]=vl=[]),vl[e]=t,Tl){var r=ll.tNode.flags;0==(4095&r)?ll.tNode.flags=e<<14|4096&r|1:ll.tNode.flags++}else{var o=n.diPublic;o&&o(n)}return null!=n.attributes&&3==ll.tNode.type&&ec(ll.native,n.attributes),t}function dc(e,t,n){var r=xs(e,t)?e:null;return r&&2===r.tNode.type&&(r=cs(r).data[ts]),[n?null:0,t,null,null,[],r]}function pc(e,t){var n=hl[t],r=n.data;hc(r)&&6&r[Pu]&&bc(r,n,vl[e])}function hc(e){return 8==(8&e[Pu])}var vc=[];function yc(e,t,n){return e[Bu]?e[Bu][Ou]=n:Tl&&(fl.childIndex=t),e[Bu]=n,n}function gc(e){for(var t=e;null!=t[Tu];)t[Pu]|=4,t=t[Tu];t[Pu]|=4,function n(e){var t;e.clean==gl&&(e.clean=new Promise(function(e){return t=e}),e.scheduler(function(){mc(e),t(null),e.clean=gl}))}(t[Mu])}function mc(e){for(var t=0;t<e.components.length;t++){var n=e.components[t];Ll(Vc(n),_c(n),n)}}function _c(e){for(var t=Vc(e).view;t[Tu];)t=t[Tu];return t}function wc(e){var t=Vc(e);bc(t.data,t,e)}function bc(e,t,n){var r=Ol(e,t),o=e[Ru],i=o.template,a=o.viewQuery;try{Ql(),function u(e,t,n){e&&1&t&&e(1,n)}(a,e[Pu],n),i(Bl(e),n),Pl(),function s(e,t){e&&e(2,t)}(a,n)}finally{Dl(r)}}var Cc={};function kc(){-1===fl.bindingStartIndex&&(fl.bindingStartIndex=hl.length),hl[ju]=fl.bindingStartIndex}function xc(e){var t=hl[ju];return hl[ju]=fl.bindingStartIndex-e,t}function Ic(e){hl[ju]=e}function Nc(e,t){var n=e+Eu;n>=fl.data.length&&(fl.data[n]=null),hl[n]=t}function Ec(e){return as(e,hl)}function Rc(e){return function t(e,n){return us(as(e,n))}(e,hl)}function Tc(){return hl[hl[ju]++]}function Oc(e){-1===hl[ju]&&kc();var t=hl[ju];if(t>=hl.length)hl[hl[ju]++]=e;else{if(!
|
|
493
493
|
/**
|
|
494
494
|
* @license
|
|
495
495
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -504,7 +504,7 @@ var Yu,$u=0,Gu=4,Ju=5,Xu="ngProjectAs";function es(e){return!!e.listen}!function
|
|
|
504
504
|
* Use of this source code is governed by an MIT-style license that can be
|
|
505
505
|
* found in the LICENSE file at https://angular.io/license
|
|
506
506
|
*/
|
|
507
|
-
function n(e,t){return!(e!=e&&t!=t)&&e!==t}(
|
|
507
|
+
function n(e,t){return!(e!=e&&t!=t)&&e!==t}(hl[t],e))return hl[ju]++,!1;!function r(e,t,n,o){if(t){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+n+"'. Current value: '"+o+"'.";throw e&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),new Error(i)}}(pl,Rl,hl[t],e),hl[hl[ju]++]=e}return!0}function Dc(e){return Oc(e),e}function Pc(e,t){var n=Oc(e);return Oc(t)||n}function Ac(e,t,n,r){var o=Pc(e,t);return Pc(n,r)||o}function jc(){return fl}function Vc(e){return e[yl]}var Sc=gl,Mc=ml;function Fc(e){return{components:[],scheduler:e,clean:Sc}}
|
|
508
508
|
/**
|
|
509
509
|
* @license
|
|
510
510
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -512,7 +512,7 @@ function n(e,t){return!(e!=e&&t!=t)&&e!==t}(fl[t],e))return fl[Ou]++,!1;!functio
|
|
|
512
512
|
* Use of this source code is governed by an MIT-style license that can be
|
|
513
513
|
* found in the LICENSE file at https://angular.io/license
|
|
514
514
|
*/
|
|
515
|
-
function
|
|
515
|
+
function Hc(t){var n=t.type,r=t.pipes,o=t.directives,i={},a={type:n,diPublic:null,factory:t.factory,template:t.template||null,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,contentQueriesRefresh:t.contentQueriesRefresh||null,attributes:t.attributes||null,inputs:Qc(t.inputs,i),declaredInputs:i,outputs:Qc(t.outputs),rendererType:Fo(t.rendererType)||null,exportAs:t.exportAs||null,onInit:n.prototype.ngOnInit||null,doCheck:n.prototype.ngDoCheck||null,afterContentInit:n.prototype.ngAfterContentInit||null,afterContentChecked:n.prototype.ngAfterContentChecked||null,afterViewInit:n.prototype.ngAfterViewInit||null,afterViewChecked:n.prototype.ngAfterViewChecked||null,onDestroy:n.prototype.ngOnDestroy||null,onPush:t.changeDetection===e.ChangeDetectionStrategy.OnPush,directiveDefs:o?function(){return("function"==typeof o?o():o).map(Lc)}:null,pipeDefs:r?function(){return("function"==typeof r?r():r).map(Bc)}:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null},u=t.features;return u&&u.forEach(function(e){return e(a)}),a}function Lc(e){return e.ngComponentDef||e.ngDirectiveDef}function Bc(e){return e.ngPipeDef}var zc={};function Qc(e,t){if(null==e)return zc;var n={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[i]=r)}return n}var Uc=Hc;
|
|
516
516
|
/**
|
|
517
517
|
* @license
|
|
518
518
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -520,7 +520,7 @@ function Sc(t){var n=t.type,r=t.pipes,o=t.directives,i={},a={type:n,diPublic:nul
|
|
|
520
520
|
* Use of this source code is governed by an MIT-style license that can be
|
|
521
521
|
* found in the LICENSE file at https://angular.io/license
|
|
522
522
|
*/
|
|
523
|
-
function
|
|
523
|
+
function Zc(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}
|
|
524
524
|
/**
|
|
525
525
|
* @license
|
|
526
526
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -528,28 +528,28 @@ function zc(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]
|
|
|
528
528
|
* Use of this source code is governed by an MIT-style license that can be
|
|
529
529
|
* found in the LICENSE file at https://angular.io/license
|
|
530
530
|
*/
|
|
531
|
-
var
|
|
531
|
+
var qc="__ngOnChanges_";function Kc(e){return function(){var t=this[qc];null!=t&&(this.ngOnChanges(t),this[qc]=null),e&&e.apply(this)}}
|
|
532
532
|
/**
|
|
533
533
|
* @license
|
|
534
534
|
* Copyright Google Inc. All Rights Reserved.
|
|
535
535
|
*
|
|
536
536
|
* Use of this source code is governed by an MIT-style license that can be
|
|
537
537
|
* found in the LICENSE file at https://angular.io/license
|
|
538
|
-
*/var
|
|
538
|
+
*/var Wc=function(){function e(e,t){this._view=e,this._appRef=null,this._viewContainerRef=null,this._lViewNode=null,this.context=t}return e.prototype._setComponentContext=function(e,t){this._view=e,this.context=t},Object.defineProperty(e.prototype,"destroyed",{get:function(){return 32==(32&this._view[Pu])},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewContainerRef&&hc(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),bs(this._view)},e.prototype.onDestroy=function(e){oc(this._view,e)},e.prototype.markForCheck=function(){gc(this._view)},e.prototype.detach=function(){this._view[Pu]&=-9},e.prototype.reattach=function(){this._view[Pu]|=8},e.prototype.detectChanges=function(){wc(this.context)},e.prototype.checkNoChanges=function(){!function e(t){Rl=!0;try{wc(t)}finally{Rl=!1}}(this.context)},e.prototype.attachToViewContainerRef=function(e){this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){this._appRef=e},e}(),Yc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.resolveComponentFactory=function(e){return new Xc(e.ngComponentDef)},t}($t);
|
|
539
539
|
/**
|
|
540
540
|
* @license
|
|
541
541
|
* Copyright Google Inc. All Rights Reserved.
|
|
542
542
|
*
|
|
543
543
|
* Use of this source code is governed by an MIT-style license that can be
|
|
544
544
|
* found in the LICENSE file at https://angular.io/license
|
|
545
|
-
*/function
|
|
545
|
+
*/function $c(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var Gc=new h("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Fc(Oe(Jc))}}),Jc=new h("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return requestAnimationFrame.bind(window)}}),Xc=function(e){function t(t){var n=e.call(this)||this;return n.componentDef=t,n.componentType=t.type,n.selector=t.selectors[0][0],n.ngContentSelectors=[],n}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return $c(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return $c(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){var o=void 0===n,i=r?r.injector.get(Qn):os,a=o?Zl(this.selector,i.createRenderer(null,this.componentDef.rendererType)):tc(i,n),u=r&&!o?r.injector.get(Gc):Fc(requestAnimationFrame.bind(window)),s=Vl(i.createRenderer(a,this.componentDef.rendererType),Xl(-1,null,null,null,null),u,this.componentDef.onPush?4:2);s[Fu]=r&&r.injector||null;var l,c,f=Ol(s,null);try{if(i.begin&&i.begin(),c=nc(0,a,this.componentDef),u.components.push(l=fc(0,this.componentDef.factory(),this.componentDef)),$l(c.nodeInjector,l,c.data),function d(e,t){var n=Vc(e),r=n.view[Ru];Qu(0,t.onInit,t.doCheck,r),Uu(n.tNode.flags,r)}(l,this.componentDef),t)for(var p=0,h=c.tNode.projection=[],v=0;v<t.length;v++){for(var y=t[v],g=null,m=null,_=0;_<y.length;_++){var w=Ml(++p,3,y[_],null,null);m?m.next=w.tNode:g=w.tNode,m=w.tNode}h.push(g)}Hl(c,c.data[Ru],l,1),c.data[Pu]&=-2}finally{Ol(f,null),i.end&&i.end()}var b=new ef(this.componentType,l,s,e,a);return o&&(b.hostView._lViewNode.tNode.child=c.tNode),b},t}(Ut),ef=function(e){function t(t,n,r,o,i){var a=e.call(this)||this;return a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new Wc(r,n),a.hostView._lViewNode=Ml(-1,2,null,null,null,r),a.injector=o,a.location=new Zn(i),a.componentType=t,a}return o(t,e),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(Qt),tf="__NG_ELEMENT_ID__",nf=256,rf=0;function of(){return af(Il())}function af(e){var t=e.nodeInjector,n=cs(e),r=n&&n.nodeInjector;return t!=r?t:e.nodeInjector={parent:r,node:e,bf0:0,bf1:0,bf2:0,bf3:0,bf4:0,bf5:0,bf6:0,bf7:0,cbf0:null==r?0:r.cbf0|r.bf0,cbf1:null==r?0:r.cbf1|r.bf1,cbf2:null==r?0:r.cbf2|r.bf2,cbf3:null==r?0:r.cbf3|r.bf3,cbf4:null==r?0:r.cbf4|r.bf4,cbf5:null==r?0:r.cbf5|r.bf5,cbf6:null==r?0:r.cbf6|r.bf6,cbf7:null==r?0:r.cbf7|r.bf7,templateRef:null,viewContainerRef:null,elementRef:null,changeDetectorRef:null}}function uf(e){!function t(e,n){!function r(e,t){var n=t[tf];null==n&&(n=t[tf]=rf++);var r=n%nf,o=1<<r;r<128?r<64?r<32?e.bf0|=o:e.bf1|=o:r<96?e.bf2|=o:e.bf3|=o:r<192?r<160?e.bf4|=o:e.bf5|=o:r<224?e.bf6|=o:e.bf7|=o}(e,n.type)}(of(),e)}function sf(e,t){if(e.changeDetectorRef)return e.changeDetectorRef;var n=e.node;return function r(e){return 4096==(4096&e.flags)}(n.tNode)?e.changeDetectorRef=new Wc(n.data,t):3===n.tNode.type?e.changeDetectorRef=function o(e){var t=function n(e){for(;2===e.tNode.type;)e=e.view[Au];return e}(e),r=t.nodeInjector;return r&&r.changeDetectorRef||new Wc(t.data,t.view[Vu][t.tNode.flags>>14])}(n.view[Au]):null}function lf(e,t,n){void 0===n&&(n=0);var r=function o(e){var t=e[tf];return"number"==typeof t?t%nf:null}(t);if(null===r){var i=Te(Il().view[Fu]);try{return Oe(t,n)}finally{Te(i)}}else for(var a=e;a&&(a=ff(a,r,n));){var u=a.node,s=u.tNode.flags,l=4095&s;if(0!==l)for(var c=s>>14,f=c+l,d=u.view[Ru].directives,p=c;p<f;p++){var h=d[p];if(h.type===t&&h.diPublic)return u.view[Vu][p]}var v=void 0;if(a===e&&(v=cf(u,t)))return v;a=2&n||1&n&&!df(a)?null:a.parent}if(8&n)return null;throw new Error("Injector: NOT_FOUND ["+is(t)+"]")}function cf(e,t){var n=e.view[Ru].currentMatches;if(n)for(var r=0;r<n.length;r+=2){var o=n[r];if(o.type===t)return Wl(o,r+1,n,e.view[Ru])}return null}function ff(e,t,n){for(var r=1<<t,o=4&n?e.parent:e;o;){if(((t<128?t<64?t<32?o.bf0:o.bf1:t<96?o.bf2:o.bf3:t<192?t<160?o.bf4:o.bf5:t<224?o.bf6:o.bf7)&r)===r)return o;if(2&n||1&n&&!df(o))return null;o=(t<128?t<64?t<32?o.cbf0:o.cbf1:t<96?o.cbf2:o.cbf3:t<192?t<160?o.cbf4:o.cbf5:t<224?o.cbf6:o.cbf7)&r?o.parent:null}return null}function df(e){return!!e.parent&&e.parent.node.view===e.node.view}new Yc;var pf=function pf(e){this.read=e};function hf(e){return e.elementRef||(e.elementRef=new vf(e.node.native))}var vf=function Zn(e){this.nativeElement=e};function yf(e){if(!e.viewContainerRef){var t=e.node,n=cs(t),r=dc(n,t.view,!0),o=t.view[Hu].createComment(""),i=Sl(0,t.view,n,o,r,null);Is(n,o,t.view),t.queries&&(i.queries=t.queries.container());var a=t.tNode;a.dynamicContainerNode||(a.dynamicContainerNode=ac(0,-1,null,null,a,null)),i.tNode=a.dynamicContainerNode,t.dynamicLContainerNode=i,yc(t.view,a.index,r),e.viewContainerRef=new gf(i)}return e.viewContainerRef}var gf=function(){function e(e){this._lContainerNode=e,this._viewRefs=[]}return e.prototype.clear=function(){for(var e=this._lContainerNode.data;e[es].length;)this.remove(0)},e.prototype.get=function(e){return this._viewRefs[e]||null},Object.defineProperty(e.prototype,"length",{get:function(){return this._lContainerNode.data[es].length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=this._adjustIndex(n),o=e.createEmbeddedView(t||{},this._lContainerNode,r);return o.attachToViewContainerRef(this),this._viewRefs.splice(r,0,o),o},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;!o&&i&&(o=i.get(Xt));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e._lViewNode,r=this._adjustIndex(t);gs(this._lContainerNode,n,r);var o=this._lContainerNode.data[es],i=r+1<o.length?ls(o[r+1]).native:this._lContainerNode.native;return ys(this._lContainerNode,n,!0,i),e.attachToViewContainerRef(this),this._viewRefs.splice(r,0,e),e},e.prototype.move=function(e,t){var n=this.indexOf(e);return this.detach(n),this.insert(e,this._adjustIndex(t)),e},e.prototype.indexOf=function(e){return this._viewRefs.indexOf(e)},e.prototype.remove=function(e){var t=this._adjustIndex(e,-1);_s(this._lContainerNode,t),this._viewRefs.splice(t,1)},e.prototype.detach=function(e){var t=this._adjustIndex(e,-1);return ms(this._lContainerNode,t),this._viewRefs.splice(t,1)[0]||null},e.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this._lContainerNode.data[es].length+t:e},e}();function mf(e){if(!e.templateRef){var t=e.node,n=t.tNode;e.templateRef=new _f(hf(e),n.tViews,Cl(),t.data[Du])}return e.templateRef}var _f=function(){function e(e,t,n,r){this._tView=t,this._renderer=n,this._queries=r,this.elementRef=e}return e.prototype.createEmbeddedView=function(e,t,n){var r=function o(e,t,n,r){var o=cl,i=ll;cl=!0,ll=null;var a=Vl(n,e,t,2,kl());r&&(a[Du]=r.createView());var u=Ml(-1,2,null,null,null,a);return cl=o,ll=i,u}(this._tView,e,this._renderer,this._queries);t&&gs(t,r,n),Hl(r,this._tView,e,1);var i=new Wc(r.data,e);return i._lViewNode=r,i},e}(),wf=/{\$([^}]+)}/g;
|
|
546
546
|
/**
|
|
547
547
|
* @license
|
|
548
548
|
* Copyright Google Inc. All Rights Reserved.
|
|
549
549
|
*
|
|
550
550
|
* Use of this source code is governed by an MIT-style license that can be
|
|
551
551
|
* found in the LICENSE file at https://angular.io/license
|
|
552
|
-
*/function
|
|
552
|
+
*/function bf(e,t,n){var r=xl();Is(t,e.native||null,r);var o=e.view[Ru].firstTemplatePass;return o&&(n===t&&e.tNode!==t.tNode.child?(e.tNode.next=t.tNode.child,t.tNode.child=e.tNode):n!==t&&e.tNode!==n.tNode.next?(e.tNode.next=n.tNode.next,n.tNode.next=e.tNode):e.tNode.next=null,t.view===e.view&&(e.tNode.parent=t.tNode)),0===e.tNode.type&&e.dynamicLContainerNode?(Is(t,e.dynamicLContainerNode.native||null,r),o&&(e.tNode.dynamicContainerNode=e.dynamicLContainerNode.tNode,e.dynamicLContainerNode.tNode.parent=e.tNode),e.dynamicLContainerNode):e}
|
|
553
553
|
/**
|
|
554
554
|
* @license
|
|
555
555
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -557,14 +557,14 @@ var Qc="__ngOnChanges_";function Uc(e){return function(){var t=this[Qc];null!=t&
|
|
|
557
557
|
* Use of this source code is governed by an MIT-style license that can be
|
|
558
558
|
* found in the LICENSE file at https://angular.io/license
|
|
559
559
|
*/
|
|
560
|
-
var
|
|
560
|
+
var Cf={provide:$t,useFactory:function(){return new Yc},deps:[]},kf=function(e){function t(t,n){var r=e.call(this)||this;return r._bootstrapComponents=[],r.destroyCbs=[],r._bootstrapComponents=t.ngModuleDef.bootstrap,r.injector=wt(t,n,[Cf,{provide:Xt,useValue:r}]),r.instance=r.injector.get(t),r.componentFactoryResolver=new Yc,r}return o(t,e),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(Xt),xf=function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,n}return o(t,e),t.prototype.create=function(e){return new kf(this.moduleType,e)},t}(en);function If(e,t,n,r){var o=xc(e),i=Oc(n)?Dc(r?t.call(r,n):t(n)):Tc();return Ic(o),i}function Nf(e,t,n,r,o){var i=xc(e),a=Pc(n,r)?Dc(o?t.call(o,n,r):t(n,r)):Tc();return Ic(i),a}function Ef(e,t,n,r,o,i){var a=xc(e),u=Pc(n,r),s=Oc(o)||u?Dc(i?t.call(i,n,r,o):t(n,r,o)):Tc();return Ic(a),s}function Rf(e,t,n,r,o,i,a){var u=xc(e),s=Ac(n,r,o,i)?Dc(a?t.call(a,n,r,o,i):t(n,r,o,i)):Tc();return Ic(u),s}function Tf(e,t,n,r){for(var o=xc(e),i=!1,a=0;a<n.length;a++)Oc(n[a])&&(i=!0);var u=i?Dc(t.apply(r,n)):Tc();return Ic(o),u}
|
|
561
561
|
/**
|
|
562
562
|
* @license
|
|
563
563
|
* Copyright Google Inc. All Rights Reserved.
|
|
564
564
|
*
|
|
565
565
|
* Use of this source code is governed by an MIT-style license that can be
|
|
566
566
|
* found in the LICENSE file at https://angular.io/license
|
|
567
|
-
*/function
|
|
567
|
+
*/function Of(e){return jc().data[e+Eu].pure}
|
|
568
568
|
/**
|
|
569
569
|
* @license
|
|
570
570
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -592,7 +592,7 @@ var _f={provide:Kt,useFactory:function(){return new qc},deps:[]},wf=function(e){
|
|
|
592
592
|
*
|
|
593
593
|
* Use of this source code is governed by an MIT-style license that can be
|
|
594
594
|
* found in the LICENSE file at https://angular.io/license
|
|
595
|
-
*/var
|
|
595
|
+
*/var Df=function(){function e(e){this.shallow=null,this.deep=null,this.deep=null==e?null:e}return e.prototype.track=function(e,t,n,r){n?this.deep=Mf(this.deep,e,t,null!=r?r:null):this.shallow=Mf(this.shallow,e,t,null!=r?r:null)},e.prototype.clone=function(){return this.deep?new e(this.deep):null},e.prototype.child=function(){return null===this.deep?null:null===this.shallow?this:new e(this.deep)},e.prototype.container=function(){for(var t=null,n=this.deep;n;){var r=[];n.values.push(r);var o={next:null,list:n.list,predicate:n.predicate,values:r,containerValues:null};o.next=t,t=o,n=n.next}return t?new e(t):null},e.prototype.createView=function(){for(var t=null,n=this.deep;n;){var r={next:null,list:n.list,predicate:n.predicate,values:[],containerValues:n.values};r.next=t,t=r,n=n.next}return t?new e(t):null},e.prototype.insertView=function(e){for(var t=this.deep;t;)t.containerValues.splice(e,0,t.values),t=t.next},e.prototype.addNode=function(e){Vf(this.shallow,e),Vf(this.deep,e)},e.prototype.removeView=function(){for(var e=this.deep;e;){var t=e.containerValues,n=t.indexOf(e.values);t.splice(n,1)[0].length&&e.list.setDirty(),e=e.next}},e}();function Pf(e,t){var n=e.localNames;if(n)for(var r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function Af(e,t){for(var n=e.view[Ru].directives,r=e.tNode.flags,o=r>>14,i=o+(4095&r),a=o;a<i;a++){var u=n[a];if(u.type===t&&u.diPublic)return a}return null}function jf(e,t,n,r){if(n instanceof pf)return n.read(e,t,r);var o=Af(t,n);return null!==o?t.view[Vu][o]:null}function Vf(e,t){for(var n=af(t);e;){var r=e.predicate,o=r.type;if(o)null!==(u=Af(t,o))&&null!==(s=jf(n,t,r.read||o,u))&&Sf(e,s);else for(var i=r.selector,a=0;a<i.length;a++){var u,s;null!==(u=Pf(t.tNode,i[a]))&&null!==(s=jf(n,t,r.read,u))&&Sf(e,s)}e=e.next}}function Sf(e,t){e.values.push(t),e.list.setDirty()}function Mf(e,t,n,r){return{next:e,list:t,predicate:function o(e,t){var n=Array.isArray(e);return{type:n?null:e,selector:n?e:null,read:t}}(n,r),values:t._valuesTree,containerValues:null}}var Ff=function(){function e(){this.dirty=!0,this.changes=new pn,this._values=[],this._valuesTree=[]}return Object.defineProperty(e.prototype,"length",{get:function(){return this._values.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"first",{get:function(){var e=this._values;return e.length?e[0]:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){var e=this._values;return e.length?e[e.length-1]:null},enumerable:!0,configurable:!0}),e.prototype.map=function(e){return this._values.map(e)},e.prototype.filter=function(e){return this._values.filter(e)},e.prototype.find=function(e){return this._values.find(e)},e.prototype.reduce=function(e,t){return this._values.reduce(e,t)},e.prototype.forEach=function(e){this._values.forEach(e)},e.prototype.some=function(e){return this._values.some(e)},e.prototype.toArray=function(){return this._values.slice(0)},e.prototype[Z()]=function(){return this._values[Z()]()},e.prototype.toString=function(){return this._values.toString()},e.prototype.reset=function(e){this._values=function t(e){for(var t=[],n=0;n<e.length;){var r=e[n];Array.isArray(r)?r.length>0?(e=r.concat(e.slice(n+1)),n=0):n++:(t.push(r),n++)}return t}(e),this.dirty=!1},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),Hf="__SANITIZER_TRUSTED_BRAND__";function Lf(e,t){return e instanceof String&&e[Hf]===t}function Bf(e,t){var n=new String(e);return n[Hf]=t,n}
|
|
596
596
|
/**
|
|
597
597
|
* @license
|
|
598
598
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -635,14 +635,14 @@ var _f={provide:Kt,useFactory:function(){return new qc},deps:[]},wf=function(e){
|
|
|
635
635
|
* Use of this source code is governed by an MIT-style license that can be
|
|
636
636
|
* found in the LICENSE file at https://angular.io/license
|
|
637
637
|
*/
|
|
638
|
-
e.ɵangular_packages_core_core_l=
|
|
638
|
+
e.ɵangular_packages_core_core_l=Lr,e.ɵangular_packages_core_core_i=Mr,e.ɵangular_packages_core_core_j=Fr,e.ɵangular_packages_core_core_k=Hr,e.ɵangular_packages_core_core_f=Ot,e.ɵangular_packages_core_core_g=gr,e.ɵangular_packages_core_core_h=Ir,e.ɵangular_packages_core_core_c=pt,e.ɵangular_packages_core_core_d=nt,e.ɵangular_packages_core_core_e=ut,e.ɵangular_packages_core_core_m=un,e.ɵangular_packages_core_core_o=nn,e.ɵangular_packages_core_core_n=tn,e.ɵangular_packages_core_core_r=an,e.ɵangular_packages_core_core_p=rn,e.ɵangular_packages_core_core_q=on,e.ɵangular_packages_core_core_v=sf,e.ɵangular_packages_core_core_y=yf,e.ɵangular_packages_core_core_x=hf,e.ɵangular_packages_core_core_w=lf,e.ɵangular_packages_core_core_u=of,e.ɵangular_packages_core_core_z=mf,e.ɵangular_packages_core_core_ba=Oc,e.ɵangular_packages_core_core_bb=as,e.ɵangular_packages_core_core_a=w,e.ɵangular_packages_core_core_b=b,e.ɵangular_packages_core_core_s=Gi,e.ɵangular_packages_core_core_t=Eo,e.createPlatform=On,e.assertPlatform=Pn,e.destroyPlatform=function zf(){wn&&!wn.destroyed&&wn.destroy()},e.getPlatform=An,e.PlatformRef=jn,e.ApplicationRef=Sn,e.enableProdMode=function Qf(){if(Nn)throw new Error("Cannot enable prod mode after platform setup.");In=!1},e.isDevMode=Rn,e.createPlatformFactory=Dn,e.NgProbeToken=Tn,e.APP_ID=Tt,e.PACKAGE_ROOT_URL=St,e.PLATFORM_INITIALIZER=At,e.PLATFORM_ID=jt,e.APP_BOOTSTRAP_LISTENER=Vt,e.APP_INITIALIZER=Et,e.ApplicationInitStatus=Rt,e.DebugElement=ar,e.DebugNode=ir,e.asNativeElements=function Uf(e){return e.map(function(e){return e.nativeElement})},e.getDebugNode=cr,e.Testability=Cn,e.TestabilityRegistry=kn,e.setTestabilityGetter=function Zf(e){xn=e},e.TRANSLATIONS=Vr,e.TRANSLATIONS_FORMAT=Sr,e.LOCALE_ID=jr,e.ApplicationModule=Br,e.wtfCreateScope=ln,e.wtfLeave=cn,e.wtfStartTimeRange=fn,e.wtfEndTimeRange=dn,e.Type=F,e.EventEmitter=pn,e.ErrorHandler=We,e.Sanitizer=_o,e.ANALYZE_FOR_ENTRY_COMPONENTS=I,e.Attribute=N,e.ContentChild=R,e.ContentChildren=E,e.Query=x,e.ViewChild=O,e.ViewChildren=T,e.Component=P,e.Directive=D,e.HostBinding=S,e.HostListener=M,e.Input=j,e.Output=V,e.Pipe=A,e.CUSTOM_ELEMENTS_SCHEMA={name:"custom-elements"},e.NO_ERRORS_SCHEMA={name:"no-errors-schema"},e.NgModule=He,e.Version=Le,e.VERSION=Be,e.defineInjectable=d,e.defineInjector=p,e.forwardRef=te,e.resolveForwardRef=ne,e.Injectable=Fe,e.inject=Oe,e.INJECTOR=fe,e.Injector=pe,e.ReflectiveInjector=dt,e.createInjector=wt,e.ResolvedReflectiveFactory=it,e.ReflectiveKey=Xe,e.InjectionToken=h,e.Inject=re,e.Optional=oe,e.Self=ie,e.SkipSelf=ae,e.Host=ue,e.NgZone=hn,e.ɵNoopNgZone=bn,e.RenderComponentType=Hn,e.Renderer=Bn,e.Renderer2=Un,e.RendererFactory2=Qn,e.RootRenderer=zn,e.COMPILER_OPTIONS=Bt,e.Compiler=Lt,e.CompilerFactory=zt,e.ModuleWithComponentFactories=Ft,e.ComponentFactory=Ut,e.ComponentRef=Qt,e.ComponentFactoryResolver=$t,e.ElementRef=Zn,e.NgModuleFactory=en,e.NgModuleRef=Xt,e.NgModuleFactoryLoader=qn,e.getModuleFactory=function qf(e){var t=Kn.get(e);if(!t)throw new Error("No module with ID "+e+" loaded");return t}
|
|
639
639
|
/**
|
|
640
640
|
* @license
|
|
641
641
|
* Copyright Google Inc. All Rights Reserved.
|
|
642
642
|
*
|
|
643
643
|
* Use of this source code is governed by an MIT-style license that can be
|
|
644
644
|
* found in the LICENSE file at https://angular.io/license
|
|
645
|
-
*/,e.QueryList=
|
|
645
|
+
*/,e.QueryList=Wn,e.SystemJsNgModuleLoader=Gn,e.SystemJsNgModuleLoaderConfig=Yn,e.TemplateRef=er,e.ViewContainerRef=tr,e.EmbeddedViewRef=rr,e.ViewRef=nr,e.ChangeDetectorRef=Xn,e.DefaultIterableDiffer=_r,e.IterableDiffers=Rr,e.KeyValueDiffers=Tr,e.SimpleChange=hr,e.WrappedValue=pr,e.platformCore=Ar,e.ɵALLOW_MULTIPLE_PLATFORMS=En,e.ɵAPP_ID_RANDOM_PROVIDER=Dt,e.ɵdefaultIterableDiffers=Dr,e.ɵdefaultKeyValueDiffers=Pr,e.ɵdevModeEqual=dr,e.ɵisListLikeIterable=vr,e.ɵisDefaultChangeDetectionStrategy=function Kf(t){return null==t||t===e.ChangeDetectionStrategy.Default},e.ɵConsole=Mt,e.ɵinject=Oe,e.ɵsetCurrentInjector=Te,e.ɵAPP_ROOT=ht,e.ɵivyEnabled=!1,e.ɵComponentFactory=Ut,e.ɵCodegenComponentFactoryResolver=Gt,e.ɵresolveComponentResources=
|
|
646
646
|
/**
|
|
647
647
|
* @license
|
|
648
648
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -650,7 +650,7 @@ e.ɵangular_packages_core_core_l=Mr,e.ɵangular_packages_core_core_i=jr,e.ɵangu
|
|
|
650
650
|
* Use of this source code is governed by an MIT-style license that can be
|
|
651
651
|
* found in the LICENSE file at https://angular.io/license
|
|
652
652
|
*/
|
|
653
|
-
function
|
|
653
|
+
function Wf(e){var t=[],n=new Map;function r(r){var o=n.get(r);if(!o){var i=e(r);n.set(r,o=i.then(Qr)),t.push(o)}return o}return zr.forEach(function(e){e.templateUrl&&r(e.templateUrl).then(function(t){e.template=t,e.templateUrl=void 0});var t=e.styleUrls,n=e.styles||(e.styles=[]),o=e.styles.length;t&&t.forEach(function(i,a){n.push(""),r(i).then(function(r){n[o+a]=r,t.splice(t.indexOf(i),1),0==t.length&&(e.styleUrls=void 0)})})}),zr.clear(),Promise.all(t).then(function(){return null})},e.ɵReflectionCapabilities=J,e.ɵRenderDebugInfo=Ln,e.ɵ_sanitizeHtml=po,e.ɵ_sanitizeStyle=mo,e.ɵ_sanitizeUrl=Kr,e.ɵglobal=z,e.ɵlooseIdentical=K,e.ɵstringify=W,e.ɵmakeDecorator=m,e.ɵisObservable=function Yf(e){return!!e&&"function"==typeof e.subscribe},e.ɵisPromise=Nt,e.ɵclearOverrides=function $f(){return Ba(),Ro.clearOverrides()},e.ɵinitServicesIfNeeded=Ba,e.ɵoverrideComponentView=function Gf(e,t){return Ba(),Ro.overrideComponentView(e,t)},e.ɵoverrideProvider=
|
|
654
654
|
/**
|
|
655
655
|
* @license
|
|
656
656
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -658,7 +658,7 @@ function Zf(e){var t=[],n=new Map;function r(r){var o=n.get(r);if(!o){var i=e(r)
|
|
|
658
658
|
* Use of this source code is governed by an MIT-style license that can be
|
|
659
659
|
* found in the LICENSE file at https://angular.io/license
|
|
660
660
|
*/
|
|
661
|
-
function
|
|
661
|
+
function Jf(e){return Ba(),Ro.overrideProvider(e)},e.ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR=ia,e.ɵdefineComponent=Hc,e.ɵdefineDirective=Uc,e.ɵdefinePipe=function Xf(e){return{name:e.name,factory:e.factory,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}},e.ɵdefineNgModule=function ed(e){return{type:e.type,bootstrap:e.bootstrap||[],declarations:e.declarations||[],imports:e.imports||[],exports:e.exports||[],transitiveCompileScopes:null}},e.ɵdetectChanges=wc,e.ɵrenderComponent=
|
|
662
662
|
/**
|
|
663
663
|
* @license
|
|
664
664
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -666,14 +666,14 @@ function Yf(e){return Fa(),Io.overrideProvider(e)},e.ɵNOT_FOUND_CHECK_ONLY_ELEM
|
|
|
666
666
|
* Use of this source code is governed by an MIT-style license that can be
|
|
667
667
|
* found in the LICENSE file at https://angular.io/license
|
|
668
668
|
*/
|
|
669
|
-
function
|
|
669
|
+
function td(e,t){void 0===t&&(t={});var n,r=t.rendererFactory||os,o=t.sanitizer||null,i=e.ngComponentDef;i.type!=e&&(i.type=e);var a=tc(r,t.host||i.selectors[0][0]),u=Fc(t.scheduler||requestAnimationFrame.bind(window)),s=Vl(r.createRenderer(a,i.rendererType),Xl(-1,null,null,null,null),u,i.onPush?4:2);s[Fu]=t.injector||null;var l,c=Ol(s,null);try{r.begin&&r.begin(),l=nc(0,a,i,o),u.components.push(n=fc(0,i.factory(),i)),$l(l.nodeInjector,n,l.data),t.hostFeatures&&t.hostFeatures.forEach(function(e){return e(n,i)}),jl(),Al(Mc),bc(l.data,l,n)}finally{Dl(c),r.end&&r.end()}return n},e.ɵdirectiveInject=function nd(e,t){return void 0===t&&(t=0),lf(of(),e,t)},e.ɵinjectElementRef=function rd(){return hf(of())},e.ɵinjectTemplateRef=function od(){return mf(of())},e.ɵinjectViewContainerRef=function id(){return yf(of())},e.ɵinjectChangeDetectorRef=function ad(){return sf(of(),null)},e.ɵinjectAttribute=function ud(e){var t=Il().tNode.attrs;if(t)for(var n=0;n<t.length;n+=2){var r=t[n];if(1===r)break;if(r==e)return t[n+1]}},e.ɵPublicFeature=function sd(e){e.diPublic=uf}
|
|
670
670
|
/**
|
|
671
671
|
* @license
|
|
672
672
|
* Copyright Google Inc. All Rights Reserved.
|
|
673
673
|
*
|
|
674
674
|
* Use of this source code is governed by an MIT-style license that can be
|
|
675
675
|
* found in the LICENSE file at https://angular.io/license
|
|
676
|
-
*/,e.ɵInheritDefinitionFeature=function e(t){for(var n=function r(e){return Object.getPrototypeOf(e.prototype).constructor}(t.type),o=void 0,i=function(){var r,i;if(function
|
|
676
|
+
*/,e.ɵInheritDefinitionFeature=function e(t){for(var n=function r(e){return Object.getPrototypeOf(e.prototype).constructor}(t.type),o=void 0,i=function(){var r,i;if(function a(e){return"function"==typeof e.template}(t))o=n.ngComponentDef||n.ngDirectiveDef;else{if(n.ngComponentDef)throw new Error("Directives cannot inherit Components");o=n.ngDirectiveDef}if(o){Zc(t.inputs,o.inputs),Zc(t.declaredInputs,o.declaredInputs),Zc(t.outputs,o.outputs);var u=t.hostBindings,s=o.hostBindings;s&&(t.hostBindings=u?function(e,t){s(e,t),u(e,t)}:s),t.afterContentChecked=t.afterContentChecked||o.afterContentChecked,t.afterContentInit=t.afterContentInit||o.afterContentInit,t.afterViewChecked=t.afterViewChecked||o.afterViewChecked,t.afterViewInit=t.afterViewInit||o.afterViewInit,t.doCheck=t.doCheck||o.doCheck,t.onDestroy=t.onDestroy||o.onDestroy,t.onInit=t.onInit||o.onInit;var c=o.features;if(c)try{for(var f=l(c),d=f.next();!d.done;d=f.next()){var p=d.value;p&&p!==e&&p(t)}}catch(e){r={error:e}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}}else{var h=n.prototype;h&&(t.afterContentChecked=t.afterContentChecked||h.afterContentChecked,t.afterContentInit=t.afterContentInit||h.afterContentInit,t.afterViewChecked=t.afterViewChecked||h.afterViewChecked,t.afterViewInit=t.afterViewInit||h.afterViewInit,t.doCheck=t.doCheck||h.doCheck,t.onDestroy=t.onDestroy||h.onDestroy,t.onInit=t.onInit||h.onInit)}n=Object.getPrototypeOf(n)};n&&!o;)i()},e.ɵNgOnChangesFeature=function ld(e){var t=e.declaredInputs,n=e.type.prototype,r=function(e){if(t.hasOwnProperty(e)){for(var r=t[e],o=qc+r,i=void 0,a=n;!i&&a&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(Object.prototype);)i=Object.getOwnPropertyDescriptor(a,r),a=Object.getPrototypeOf(a);var u=i&&i.set;Object.defineProperty(n,r,{get:i&&i.get||(u?void 0:function(){return this[o]}),set:function(t){var n=this[qc];n||(n={},Object.defineProperty(this,qc,{value:n,writable:!0}));var r=!this.hasOwnProperty(o),i=n[e];i?i.currentValue=t:n[e]=new hr(this[o],t,r),r?Object.defineProperty(this,o,{value:t,writable:!0}):this[o]=t,u&&u.call(this,t)}})}};for(var o in t)r(o);null!=e.onInit&&(e.onInit=Kc(e.onInit)),e.doCheck=Kc(e.doCheck)},e.ɵmarkDirty=function cd(e){gc(Vc(e).view)},e.ɵNgModuleFactory=xf,e.ɵNC=Cc,e.ɵC=function fd(e,t,n,r,o){var i=dc(cl?ll:cs(ll),hl),a=ul.createComment(""),u=Ml(e,0,a,n||null,r||null,i);Is(cs(u),a,hl),Tl&&(u.tNode.tViews=t?Xl(-1,t,fl.directiveRegistry,fl.pipeRegistry,null):[]),yc(hl,e+Eu,u.data);var s=u.queries;s&&(i[Du]=s.container()),ql(o),cl=!1,s&&s.addNode(u),Uu(u.tNode.flags,fl)},e.ɵE=Ul,e.ɵNH=Ql,e.ɵNM=function dd(){zl="http://www.w3.org/1998/MathML/"},e.ɵNS=function pd(){zl="http://www.w3.org/2000/svg/"},e.ɵEe=function hd(e,t,n,r){Ul(e,t,n,r),ic()},e.ɵL=function vd(e,t,n){void 0===n&&(n=!1);var r=ll,o=r.native;if(rs(ul)){var i=function a(e,t){return function(n){return gc(e),t(n)}}(hl,t),u=ul.listen(o,e,i);oc(hl,u)}else{i=function s(e,t){return function n(r){gc(e),!1===t(r)&&(r.preventDefault(),r.returnValue=!1)}}(hl,t),o.addEventListener(e,i,n);var l=Nl(hl);l.push(i),Tl&&El(hl).push(e,r.tNode.index,l.length-1,n)}var c=r.tNode;void 0===c.outputs&&(c.outputs=uc(r.tNode.flags,1));var f,d=c.outputs;d&&(f=d[e])&&function p(e,t){for(var n=0;n<e.length;n+=2){var r=vl[e[n]][e[n+1]].subscribe(t);rc(hl,r,r.unsubscribe)}}(f,t)},e.ɵT=function yd(e,t){var n=vs(t,ul),r=Ml(e,3,n,null,null);cl=!1,Is(cs(r),n,hl)},e.ɵV=function gd(e){var t=cl?ll:cs(ll),n=t.data,r=function o(e,t,n){for(var r=e.data[es],o=t;o<r.length;o++){var i=r[o].data[Ru].id;if(i===n)return r[o];if(!(i<n))break;_s(e,o)}return null}(t,n[Xu],e);if(r)ll=r,cl=!0,Ol(r.data,r);else{var i=Vl(ul,function a(e,t){var n=t.tNode.tViews;return(e>=n.length||null==n[e])&&(n[e]=Xl(e,null,fl.directiveRegistry,fl.pipeRegistry,null)),n[e]}(e,t),null,2,kl());n[Du]&&(i[Du]=n[Du].createView()),Ol(i,r=Ml(e,2,null,null,null,i))}return t&&(pl&&gs(t,r,n[Xu]),n[Xu]++),Bl(r.data)},e.ɵQ=function md(e,t,n,r){var o=new Ff;return function i(e){return dl||(dl=ll.queries&&ll.queries.clone()||new e)}(Df).track(o,t,n,r),rc(null,o,o.destroy),null!=e&&Nc(e,o),o},e.ɵQr=function _d(e){var t=(hl[15]||(hl[15]=[])).push(e);if(Tl){var n=vl.length-1,r=fl.contentQueries||(fl.contentQueries=[]);n!==(fl.contentQueries.length?fl.contentQueries[fl.contentQueries.length-2]:-1)&&r.push(n,t-1)}},e.ɵd=function wd(e){return vl[e]},e.ɵP=function bd(e,t,n){void 0===t&&(t=0);var r=Ml(e,1,null,null,n||null,null);null===r.tNode.projection&&(r.tNode.projection=t),cl=!1;var o=cs(r);if(xs(o,hl))for(var i=ps(hl),a=i.tNode.projection[t],u=i.view,s=-1,l=void 0,c=2===o.tNode.type?(l=cs(o))&&l.data[ts]:o;a;){if(1===a.type){var f=ps(u),d=f.tNode.projection[a.projection];if(d){vc[++s]=u[a.index],a=d,u=f.view;continue}}else(p=u[a.index]).tNode.flags|=8192,Es(p,o,hl,c);var p;null===a.next&&u!==i.view&&(a=(p=vc[s--]).tNode,u=p.view),a=a.next}},e.ɵb=function Cd(e){return Oc(e)?e:Cc},e.ɵi1=function kd(e,t,n){return Oc(t)?e+is(t)+n:Cc},e.ɵi2=function xd(e,t,n,r,o){return Pc(t,r)?e+is(t)+n+is(r)+o:Cc},e.ɵi3=function Id(e,t,n,r,o,i,a){var u=Pc(t,r);return(u=Oc(i)||u)?e+is(t)+n+is(r)+o+is(i)+a:Cc},e.ɵi4=function Nd(e,t,n,r,o,i,a,u,s){return Ac(t,r,i,u)?e+is(t)+n+is(r)+o+is(i)+a+is(u)+s:Cc},e.ɵi5=function Ed(e,t,n,r,o,i,a,u,s,l,c){var f=Ac(t,r,i,u);return(f=Oc(l)||f)?e+is(t)+n+is(r)+o+is(i)+a+is(u)+s+is(l)+c:Cc},e.ɵi6=function Rd(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=Ac(t,r,i,u);return(p=Pc(l,f)||p)?e+is(t)+n+is(r)+o+is(i)+a+is(u)+s+is(l)+c+is(f)+d:Cc},e.ɵi7=function Td(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h){var v=Ac(t,r,i,u);return v=Pc(l,f)||v,(v=Oc(p)||v)?e+is(t)+n+is(r)+o+is(i)+a+is(u)+s+is(l)+c+is(f)+d+is(p)+h:Cc},e.ɵi8=function Od(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,y){var g=Ac(t,r,i,u);return(g=Ac(l,f,p,v)||g)?e+is(t)+n+is(r)+o+is(i)+a+is(u)+s+is(l)+c+is(f)+d+is(p)+h+is(v)+y:Cc},e.ɵiV=function Dd(e){for(var t=!1,n=1;n<e.length;n+=2)Oc(e[n])&&(t=!0);if(!t)return Cc;var r=e[0];for(n=1;n<e.length;n+=2)r+=is(e[n])+e[n+1];return r},e.ɵpb1=function Pd(e,t,n){var r=Ec(e);return Of(e)?If(t,r.transform,n,r):r.transform(n)},e.ɵpb2=function Ad(e,t,n,r){var o=Ec(e);return Of(e)?Nf(t,o.transform,n,r,o):o.transform(n,r)},e.ɵpb3=function jd(e,t,n,r,o){var i=Ec(e);return Of(e)?Ef(t,i.transform,n,r,o,i):i.transform(n,r,o)},e.ɵpb4=function Vd(e,t,n,r,o,i){var a=Ec(e);return Of(e)?Rf(t,a.transform,n,r,o,i,a):a.transform(n,r,o,i)},e.ɵpbV=function Sd(e,t,n){var r=Ec(e);return Of(e)?Tf(t,r.transform,n,r):r.transform.apply(r,n)},e.ɵf0=
|
|
677
677
|
/**
|
|
678
678
|
* @license
|
|
679
679
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -681,7 +681,7 @@ function Jf(e,t){void 0===t&&(t={});var n,r=t.rendererFactory||ts,o=t.sanitizer|
|
|
|
681
681
|
* Use of this source code is governed by an MIT-style license that can be
|
|
682
682
|
* found in the LICENSE file at https://angular.io/license
|
|
683
683
|
*/
|
|
684
|
-
function
|
|
684
|
+
function Md(e,t,n){var r=xc(e),o=function i(){return pl}()?Dc(n?t.call(n):t()):Tc();return Ic(r),o},e.ɵf1=If,e.ɵf2=Nf,e.ɵf3=Ef,e.ɵf4=Rf,e.ɵf5=function Fd(e,t,n,r,o,i,a,u){var s=xc(e),l=Ac(n,r,o,i),c=Oc(a)||l?Dc(u?t.call(u,n,r,o,i,a):t(n,r,o,i,a)):Tc();return Ic(s),c},e.ɵf6=function Hd(e,t,n,r,o,i,a,u,s){var l=xc(e),c=Ac(n,r,o,i),f=Pc(a,u)||c?Dc(s?t.call(s,n,r,o,i,a,u):t(n,r,o,i,a,u)):Tc();return Ic(l),f},e.ɵf7=function Ld(e,t,n,r,o,i,a,u,s,l){var c=xc(e),f=Ac(n,r,o,i);f=Pc(a,u)||f;var d=Oc(s)||f?Dc(l?t.call(l,n,r,o,i,a,u,s):t(n,r,o,i,a,u,s)):Tc();return Ic(c),d},e.ɵf8=function Bd(e,t,n,r,o,i,a,u,s,l,c){var f=xc(e),d=Ac(n,r,o,i),p=Ac(a,u,s,l)||d?Dc(c?t.call(c,n,r,o,i,a,u,s,l):t(n,r,o,i,a,u,s,l)):Tc();return Ic(f),p},e.ɵfV=Tf,e.ɵcR=function zd(e){ll=Rc(e),cl=!0,ll.data[Xu]=0,Rl||Wu(hl,fl,pl)},e.ɵcr=function Qd(){cl?cl=!1:ll=cs(ll);for(var e=ll,t=e.data[Xu];t<e.data[es].length;)_s(e,t)},e.ɵqR=function Ud(e){return!!e.dirty&&(e.reset(e._valuesTree),e.notifyOnChanges(),!0)}
|
|
685
685
|
/**
|
|
686
686
|
* @license
|
|
687
687
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -695,7 +695,7 @@ function jd(e,t,n){var r=bc(e),o=function i(){return cl}()?Rc(n?t.call(n):t()):N
|
|
|
695
695
|
*
|
|
696
696
|
* Use of this source code is governed by an MIT-style license that can be
|
|
697
697
|
* found in the LICENSE file at https://angular.io/license
|
|
698
|
-
*/,e.ɵql=function
|
|
698
|
+
*/,e.ɵql=function Zd(e){return hl[15][e]},e.ɵe=ic,e.ɵp=function qd(e,t,n,r){if(n!==Cc){var o=Rc(e),i=o.tNode;i&&void 0===i.inputs&&(i.inputs=uc(o.tNode.flags,0));var a,u=i&&i.inputs;if(u&&(a=u[t]))!function s(e,t){for(var n=0;n<e.length;n+=2)vl[e[n]][e[n+1]]=t}(a,n),function l(e){!e.data||2&e.data[Pu]||(e.data[Pu]|=4)}(o);else{n=null!=r?r(n):n;var c=o.native;rs(ul)?ul.setProperty(c,t,n):c.setProperty?c.setProperty(t,n):c[t]=n}}},e.ɵpD=function Kd(e,t){var n=ps(hl);if(!n.tNode.projection)for(var r=n.tNode.projection=new Array(e?e.length+1:1).fill(null),o=r.slice(),i=n.tNode.child;null!==i;){var a=e?Ps(i,e,t):0,u=i.next;o[a]?o[a].next=i:(r[a]=i,i.next=null),o[a]=i,i=u}},e.ɵrS=function Wd(e){hl.length+=e,hl.fill(Cc,-e),kc()},e.ɵa=function Yd(e,t,n,r){if(n!==Cc){var o=Rc(e);if(null==n)rs(ul)?ul.removeAttribute(o.native,t):o.native.removeAttribute(t);else{var i=null==r?is(n):r(n);rs(ul)?ul.setAttribute(o.native,t,i):o.native.setAttribute(t,i)}}},e.ɵs=function $d(e,t,n){var r=bl.tNode;r.stylingTemplate||(r.stylingTemplate=function o(e,t,n){var r=[null],o=[null,n||null,r,0,0,null],i={},a={},u=0;if(t)for(var s=!1,l=0;l<t.length;l++)if(1===(d=t[l]))s=!0;else{var c=d;if(s){var f=t[++l];r.push(f),i[c]=r.length-1}else u++,i[c]=0}if(o[4]=u,e)for(s=!1,l=0;l<e.length;l++){var d;if(1===(d=e[l]))s=!0;else{var p=d;s?(f=e[++l],r.push(f),a[p]=r.length-1):a[p]=0}}var h=Object.keys(i),v=Object.keys(a),y=h.length,g=h.length+v.length,m=3*g*2+6;for(l=6;l<m;l++)o.push(null);var _=3*g+6;for(l=0;l<g;l++){var w=l>=y,b=(c=w?v[l-y]:h[l],w?a[c]:i[c]),C=r[b],k=3*l+_,x=3*l+6,I=il(c,w,n||null);$s(o,x,zs(I,b,k)),Ws(o,x,c),Ys(o,x,null),$s(o,k,zs(I|(null!==C?1:0),b,x)),Ws(o,k,c),Ys(o,k,null)}return $s(o,3,zs(0,0,_)),el(o,r.length>1),o}(e,t,n)),(t&&t.length||e&&e.length)&&lc(r.index-Eu)},e.ɵsm=function Gd(e,t,n){!function r(e,t,n){var r=As,o=!1,i=!1;if("string"==typeof t){var a=e[5];a&&a===t?i=!0:(e[5]=t,r=t.split(/\s+/),o=!0)}else r=t?Object.keys(t):As,e[5]=null;t=t||js;var u=n?Object.keys(n):As;n=n||js;for(var s=u.length,l=!1,c=qs(e),f=0,d=u.length+r.length;c<e.length&&f<d;){var p=f>=s;if(!i||!p){var h=p?f-s:f,v=p?r[h]:u[h],y=p?!!o||t[v]:n[v];if((I=Xs(e,c))===v){var g=Js(e,c);al(N=Gs(e,c),g,y)&&(Ys(e,c,y),(b=Qs(e,N))!==y&&(Fs(e,c,!0),l=!0))}else{var m=tl(e,v,c);if(m>0){var _=Js(e,m),w=Gs(e,m);if(nl(e,c,m),_!==y){var b=Qs(e,w);Ys(e,c,y),b!==y&&(Fs(e,c,!0),l=!0)}}else rl(e,c,p,v,il(v,p,Ks(e)),y),l=!0}}c+=3,f++}for(;c<e.length;){var C=2==(2&(N=Gs(e,c)));if(i&&C)break;ol(g=Js(e,c),C)&&(Fs(e,c,!0),Ys(e,c,null),l=!0),c+=3}for(var k=Ks(e);f<d;){var x=f>=s;if(i&&x)break;h=x?f-s:f;var I=x?r[h]:u[h],N=(g=x?!!o||t[I]:n[I],1|il(I,x,k));e.push(N,I,g),f++,l=!0}l&&el(e,!0)}(sc(e),t,n)},e.ɵsp=function Jd(e,t,n,r){var o=null;n&&(o=r?is(n)+r:n),Vs(sc(e),t,o)},e.ɵsa=lc,e.ɵcp=function Xd(e,t,n){!function r(e,t,n){Vs(e,t+e[4],n)}(sc(e),t,!!n)},e.ɵt=function ep(e,t){if(t!==Cc){var n=Rc(e);rs(ul)?ul.setValue(n.native,is(t)):n.native.textContent=is(t)}},e.ɵv=function tp(){Pl(),cl=!1,ll=hl[Au],Dl(hl[Tu])},e.ɵst=Nc,e.ɵld=Ec,e.ɵPp=function np(e,t){var n,r=jc(),o=e+Eu;r.firstTemplatePass?(n=function i(e,t){if(t)for(var n=0;n<t.length;n++){var r=t[n];if(e===r.name)return r}throw new Error("Pipe with name '"+e+"' not found!")}(t,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.pipeDestroyHooks||(r.pipeDestroyHooks=[])).push(o,n.onDestroy)):n=r.data[o];var a=n.factory();return Nc(e,a),a},e.ɵwhenRendered=function rp(e){return function t(e){return _c(e)[Mu]}(e).clean},e.ɵiA=function op(e,t){var n=xl();if(t){var r=Cl(),o=cs(Ec(e))||Il(),i=o;Fl();for(var a=0;a<t.length;a++){var u=t[a];switch(-536870912&u){case 1073741824:var s=Ec(536870911&u);i=bf(s,o,i),o=s;break;case 1610612736:case-2147483648:case-1610612736:i=bf(Ec(536870911&u),o,i);break;case 536870912:var l=vs(t[++a],r);i=bf(Ml(n.length-Eu,3,l,null,null),o,i),Fl();break;case-1073741824:i=o,o=cs(o);break;case-536870912:var c=Ec(536870911&u),f=cs(c);Ns(f,c.native||null,n),0===c.tNode.type&&c.dynamicLContainerNode&&(Ns(f,c.dynamicLContainerNode.native||null,n),c.dynamicLContainerNode.tNode.detached=!0,c.dynamicLContainerNode.data[ts]=null)}}}},e.ɵiEM=function ip(e,t){for(var n=e.split(wf),r=1;r<n.length;r+=2)n[r]=t[n[r]];return n},e.ɵiI1=function ap(e,t){if(!Oc(t))return Cc;for(var n="",r=0;r<e.length;r++)n+=1&r?is(t):e[r];return n},e.ɵiI2=function up(e,t,n){if(!Pc(t,n))return Cc;for(var r="",o=0;o<e.length;o++)r+=1&o?is(1&e[o]?n:t):e[o];return r},e.ɵiI3=function sp(e,t,n,r){var o=Pc(t,n);if(!(o=Oc(r)||o))return Cc;for(var i="",a=0;a<e.length;a++)if(1&a){var u=e[a];i+=is(2&u?r:1&u?n:t)}else i+=e[a];return i},e.ɵiI4=function lp(e,t,n,r,o){if(!Ac(t,n,r,o))return Cc;for(var i="",a=0;a<e.length;a++)if(1&a){var u=e[a],s=1&u;i+=is(2&u?s?o:r:s?n:t)}else i+=e[a];return i},e.ɵiI5=function cp(e,t,n,r,o,i){var a=Ac(t,n,r,o);if(!(a=Oc(i)||a))return Cc;for(var u="",s=0;s<e.length;s++)if(1&s){var l=e[s],c=1&l;u+=is(4&l?i:2&l?c?o:r:c?n:t)}else u+=e[s];return u},e.ɵiI6=function fp(e,t,n,r,o,i,a){var u=Ac(t,n,r,o);if(!(u=Pc(i,a)||u))return Cc;for(var s="",l=0;l<e.length;l++)if(1&l){var c=e[l],f=1&c;s+=is(4&c?f?a:i:2&c?f?o:r:f?n:t)}else s+=e[l];return s},e.ɵiI7=function dp(e,t,n,r,o,i,a,u){var s=Ac(t,n,r,o);if(s=Pc(i,a)||s,!(s=Oc(u)||s))return Cc;for(var l="",c=0;c<e.length;c++)if(1&c){var f=e[c],d=2&f,p=1&f;l+=is(4&f?d?u:p?a:i:d?p?o:r:p?n:t)}else l+=e[c];return l},e.ɵiI8=function pp(e,t,n,r,o,i,a,u,s){var l=Ac(t,n,r,o);if(!(l=Ac(i,a,u,s)||l))return Cc;for(var c="",f=0;f<e.length;f++)if(1&f){var d=e[f],p=2&d,h=1&d;c+=is(4&d?p?h?s:u:h?a:i:p?h?o:r:h?n:t)}else c+=e[f];return c},e.ɵIV=function hp(e,t){for(var n=!1,r=0;r<t.length;r++)Oc(t[r])&&(n=!0);if(!n)return Cc;var o="";for(r=0;r<e.length;r++)o+=1&r?is(t[e[r]]):e[r];return o},e.ɵiM=function vp(e,t,n,r,o){var i=e.split(wf),a=new Array(r?r.length+1:1).fill(void 0);return function e(t,n,r,o,i,a,u,s){var l=[],c=[],f=0,d=0,p=i&&i[t]?i[t]:null,h=a&&a[t]?a[t]:null;for(o[t]=l;n<r.length;n++){var v=r[n];if(1&n){var y=void 0;if(p&&void 0!==p[v]){y=p[v];var g=u?u.indexOf(v):-1;-1!==g&&g+1!==t?l.push(-2147483648|y):(l.push(1073741824|y),f++),c.push(v)}else if(h&&void 0!==h[v])l.push(1610612736|(y=h[v])),c.push(v);else if(l.push(-1073741824),t>0&&0==--f)break;if(void 0!==y&&y>d&&(d=y),u){var m=u.indexOf(v)+1;0!==m&&m!==t&&(n=e(m,n,r,o,i,a,u,s))}}else v&&l.push(536870912,v)}if(i){var _=i[t];if(_)for(var w=Object.keys(_),b=0;b<w.length;b++)-1===c.indexOf(k=w[b])&&(l.push(-536870912|(x=_[k])),x>d&&(d=x))}if(a){var C=a[t];if(C)for(w=Object.keys(C),b=0;b<w.length;b++){var k,x;-1===c.indexOf(k=w[b])&&(l.push(-536870912|(x=C[k])),x>d&&(d=x))}}if(0===t&&"number"==typeof s)for(b=d+1;b<=s;b++)l.push(-1610612736|b);return n}(0,0,i,a,t,n,r,o),a},e.ɵsanitizeHtml=function yp(t){var n=kl();return n?n.sanitize(e.SecurityContext.HTML,t)||"":Lf(t,"Html")?t.toString():po(document,is(t))},e.ɵsanitizeStyle=function gp(t){var n=kl();return n?n.sanitize(e.SecurityContext.STYLE,t)||"":Lf(t,"Style")?t.toString():mo(is(t))},e.ɵsanitizeUrl=function mp(t){var n=kl();return n?n.sanitize(e.SecurityContext.URL,t)||"":Lf(t,"Url")?t.toString():Kr(is(t))},e.ɵsanitizeResourceUrl=function _p(t){var n=kl();if(n)return n.sanitize(e.SecurityContext.RESOURCE_URL,t)||"";if(Lf(t,"ResourceUrl"))return t.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")},e.ɵbypassSanitizationTrustHtml=function wp(e){return Bf(e,"Html")},e.ɵbypassSanitizationTrustStyle=function bp(e){return Bf(e,"Style")},e.ɵbypassSanitizationTrustScript=function Cp(e){return Bf(e,"Script")},e.ɵbypassSanitizationTrustUrl=function kp(e){return Bf(e,"Url")},e.ɵbypassSanitizationTrustResourceUrl=function xp(e){return Bf(e,"ResourceUrl")},e.ɵregisterModuleFactory=function Ip(e,t){var n=Kn.get(e);if(n)throw new Error("Duplicate module registered for "+e+" - "+n.moduleType.name+" vs "+t.moduleType.name);Kn.set(e,t)},e.ɵEMPTY_ARRAY=[],e.ɵEMPTY_MAP={},e.ɵand=
|
|
699
699
|
/**
|
|
700
700
|
* @license
|
|
701
701
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -703,4 +703,4 @@ function jd(e,t,n){var r=bc(e),o=function i(){return cl}()?Rc(n?t.call(n):t()):N
|
|
|
703
703
|
* Use of this source code is governed by an MIT-style license that can be
|
|
704
704
|
* found in the LICENSE file at https://angular.io/license
|
|
705
705
|
*/
|
|
706
|
-
function
|
|
706
|
+
function Np(e,t,n,r,o,i){e|=1;var a=Jo(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a.matchedQueries,matchedQueryIds:a.matchedQueryIds,references:a.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:i?ni(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Po},provider:null,text:null,query:null,ngContent:null}},e.ɵccf=function Ep(e,t,n,r,o,i){return new Ti(e,t,n,r,o,i)},e.ɵcmf=function Rp(e,t,n){return new Nu(e,t,n)},e.ɵcrt=function Tp(e){return{id:Vo,styles:e.styles,encapsulation:e.encapsulation,data:e.data}},e.ɵdid=function Op(e,t,n,r,o,i,a,u){var s=[];if(a)for(var l in a){var f=c(a[l],2);s[f[0]]={flags:8,name:l,nonMinifiedName:f[1],ns:null,securityContext:null,suffix:null}}var d=[];if(u)for(var p in u)d.push({type:1,propName:p,target:null,eventName:u[p]});return Gi(e,t|=16384,n,r,o,o,i,s,d)},e.ɵeld=function Dp(e,t,n,r,o,i,a,u,s,l,f,d){var p;void 0===a&&(a=[]),l||(l=Po);var h=Jo(n),v=h.matchedQueries,y=h.references,g=h.matchedQueryIds,m=null,_=null;i&&(m=(p=c(li(i),2))[0],_=p[1]),u=u||[];for(var w=new Array(u.length),b=0;b<u.length;b++){var C=c(u[b],3),k=C[0],x=C[2],I=c(li(C[1]),2),N=I[0],E=I[1],R=void 0,T=void 0;switch(15&k){case 4:T=x;break;case 1:case 8:R=x}w[b]={flags:k,ns:N,name:E,nonMinifiedName:E,securityContext:R,suffix:T}}s=s||[];var O=new Array(s.length);for(b=0;b<s.length;b++){var D=c(s[b],2);O[b]={type:0,target:D[0],eventName:D[1],propName:null}}var P=(a=a||[]).map(function(e){var t=c(e,2),n=t[1],r=c(li(t[0]),2);return[r[0],r[1],n]});return d=Fo(d),f&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:v,matchedQueryIds:g,references:y,ngContentIndex:r,childCount:o,bindings:w,bindingFlags:ci(w),outputs:O,element:{ns:m,name:_,attrs:P,template:null,componentProvider:null,componentView:f||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:l||Po},provider:null,text:null,query:null,ngContent:null}},e.ɵelementEventFullName=Wo,e.ɵgetComponentViewDefinitionFactory=Ri,e.ɵinlineInterpolate=function Pp(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,y,g,m,_){switch(e){case 1:return t+fi(n)+r;case 2:return t+fi(n)+r+fi(o)+i;case 3:return t+fi(n)+r+fi(o)+i+fi(a)+u;case 4:return t+fi(n)+r+fi(o)+i+fi(a)+u+fi(s)+l;case 5:return t+fi(n)+r+fi(o)+i+fi(a)+u+fi(s)+l+fi(c)+f;case 6:return t+fi(n)+r+fi(o)+i+fi(a)+u+fi(s)+l+fi(c)+f+fi(d)+p;case 7:return t+fi(n)+r+fi(o)+i+fi(a)+u+fi(s)+l+fi(c)+f+fi(d)+p+fi(h)+v;case 8:return t+fi(n)+r+fi(o)+i+fi(a)+u+fi(s)+l+fi(c)+f+fi(d)+p+fi(h)+v+fi(y)+g;case 9:return t+fi(n)+r+fi(o)+i+fi(a)+u+fi(s)+l+fi(c)+f+fi(d)+p+fi(h)+v+fi(y)+g+fi(m)+_;default:throw new Error("Does not support more than 9 expressions")}},e.ɵinterpolate=function Ap(e,t){for(var n="",r=0;r<2*e;r+=2)n=n+t[r]+fi(t[r+1]);return n+t[2*e]},e.ɵmod=function jp(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===ht&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[jo(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}},e.ɵmpd=function Vp(e,t,n,r){return n=ne(n),{index:-1,deps:Xo(r,W(t)),flags:e,token:t,value:n}},e.ɵncd=function Sp(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}},e.ɵnov=function Mp(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=ko(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Co(e,n.nodeIndex).renderText;if(20240&n.flags)return xo(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)},e.ɵpid=function Fp(e,t,n){return Gi(-1,e|=16,null,0,t,t,n)},e.ɵprd=function Hp(e,t,n,r,o){return Gi(-1,e,t,0,n,r,o)},e.ɵpad=function Lp(e,t){return ga(32,e,new Array(t))},e.ɵpod=function Bp(e,t){for(var n=Object.keys(t),r=n.length,o=new Array(r),i=0;i<r;i++){var a=n[i];o[t[a]]=a}return ga(64,e,o)},e.ɵppd=function zp(e,t){return ga(128,e,new Array(t+1))},e.ɵqud=function Qp(e,t,n){var r=[];for(var o in n)r.push({propName:o,bindingType:n[o]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:Go(t),bindings:r},ngContent:null}},e.ɵted=function Up(e,t,n){for(var r=new Array(n.length-1),o=1;o<n.length;o++)r[o-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[o]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}},e.ɵunv=function Zp(e,t,n,r){if(pr.isWrapped(r)){r=pr.unwrap(r);var o=e.def.nodes[t].bindingIndex+n,i=pr.unwrap(e.oldValues[o]);e.oldValues[o]=new pr(i)}return r},e.ɵvid=function qp(e,t,n,r){for(var o=0,i=0,a=0,u=0,s=0,l=null,c=null,f=!1,d=!1,p=null,h=0;h<t.length;h++){var v=t[h];if(v.nodeIndex=h,v.parent=l,v.bindingIndex=o,v.outputIndex=i,v.renderParent=c,a|=v.flags,s|=v.matchedQueryIds,v.element){var y=v.element;y.publicProviders=l?l.element.publicProviders:Object.create(null),y.allProviders=y.publicProviders,f=!1,d=!1,v.element.template&&(s|=v.element.template.nodeMatchedQueries)}if(ba(l,v,t.length),o+=v.bindings.length,i+=v.outputs.length,!c&&3&v.flags&&(p=v),20224&v.flags){f||(f=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var g=0!=(32768&v.flags);0==(8192&v.flags)||g?l.element.publicProviders[jo(v.provider.token)]=v:(d||(d=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[jo(v.provider.token)]=v),g&&(l.element.componentProvider=v)}if(l?(l.childFlags|=v.flags,l.directChildFlags|=v.flags,l.childMatchedQueries|=v.matchedQueryIds,v.element&&v.element.template&&(l.childMatchedQueries|=v.element.template.nodeMatchedQueries)):u|=v.flags,v.childCount>0)l=v,wa(v)||(c=v);else for(;l&&h===l.nodeIndex+l.childCount;){var m=l.parent;m&&(m.childFlags|=l.childFlags,m.childMatchedQueries|=l.childMatchedQueries),c=(l=m)&&wa(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||Po,updateRenderer:r||Po,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:p}},Object.defineProperty(e,"__esModule",{value:!0})});
|