@angular/core 7.2.0-rc.0 → 7.2.0
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 +190 -128
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core-testing.umd.min.js +10 -10
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +1772 -1324
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +110 -124
- 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/change_detection/constants.js +3 -3
- package/esm2015/src/core.js +2 -2
- package/esm2015/src/core_render3_private_export.js +2 -2
- package/esm2015/src/debug/debug_node.js +6 -6
- package/esm2015/src/render3/bindings.js +3 -3
- package/esm2015/src/render3/component.js +8 -6
- package/esm2015/src/render3/component_ref.js +5 -5
- package/esm2015/src/render3/context_discovery.js +2 -2
- package/esm2015/src/render3/definition.js +3 -10
- package/esm2015/src/render3/di.js +107 -93
- package/esm2015/src/render3/discovery_utils.js +5 -5
- package/esm2015/src/render3/empty.js +28 -0
- package/esm2015/src/render3/features/inherit_definition_feature.js +3 -3
- package/esm2015/src/render3/hooks.js +14 -12
- package/esm2015/src/render3/i18n.js +3 -3
- package/esm2015/src/render3/index.js +2 -2
- package/esm2015/src/render3/instructions.js +319 -370
- package/esm2015/src/render3/interfaces/container.js +10 -1
- package/esm2015/src/render3/interfaces/definition.js +1 -6
- package/esm2015/src/render3/interfaces/injector.js +1 -2
- package/esm2015/src/render3/interfaces/node.js +37 -2
- package/esm2015/src/render3/interfaces/styling.js +304 -113
- package/esm2015/src/render3/interfaces/view.js +15 -7
- package/esm2015/src/render3/jit/compiler_facade_interface.js +3 -1
- package/esm2015/src/render3/jit/directive.js +6 -7
- package/esm2015/src/render3/jit/environment.js +3 -1
- package/esm2015/src/render3/jit/module.js +11 -9
- package/esm2015/src/render3/node_manipulation.js +5 -22
- package/esm2015/src/render3/node_selector_matcher.js +2 -2
- package/esm2015/src/render3/pipe.js +2 -2
- package/esm2015/src/render3/pure_function.js +3 -3
- package/esm2015/src/render3/query.js +3 -3
- package/esm2015/src/render3/state.js +14 -20
- package/esm2015/src/render3/styling/class_and_style_bindings.js +893 -213
- package/esm2015/src/render3/styling/util.js +37 -14
- package/esm2015/src/render3/util.js +21 -5
- package/esm2015/src/render3/view_engine_compatibility.js +5 -6
- package/esm2015/src/render3/view_ref.js +6 -16
- package/esm2015/src/sanitization/inert_body.js +4 -4
- package/esm2015/src/version.js +1 -1
- package/esm2015/testing/src/r3_test_bed.js +234 -152
- package/esm2015/testing/src/resolvers.js +12 -5
- package/esm2015/testing/src/testing_internal.js +2 -2
- package/esm5/src/change_detection/constants.js +3 -3
- package/esm5/src/core_render3_private_export.js +2 -2
- package/esm5/src/debug/debug_node.js +6 -6
- package/esm5/src/render3/bindings.js +3 -3
- package/esm5/src/render3/component.js +8 -6
- package/esm5/src/render3/component_ref.js +5 -5
- package/esm5/src/render3/context_discovery.js +2 -2
- package/esm5/src/render3/definition.js +3 -8
- package/esm5/src/render3/di.js +94 -84
- package/esm5/src/render3/discovery_utils.js +5 -5
- package/esm5/src/render3/empty.js +22 -0
- package/esm5/src/render3/features/inherit_definition_feature.js +3 -3
- package/esm5/src/render3/hooks.js +11 -9
- package/esm5/src/render3/i18n.js +3 -3
- package/esm5/src/render3/index.js +2 -2
- package/esm5/src/render3/instructions.js +282 -282
- package/esm5/src/render3/interfaces/container.js +9 -1
- package/esm5/src/render3/interfaces/definition.js +1 -1
- package/esm5/src/render3/interfaces/injector.js +1 -1
- package/esm5/src/render3/interfaces/node.js +1 -1
- package/esm5/src/render3/interfaces/styling.js +1 -1
- package/esm5/src/render3/interfaces/view.js +1 -1
- package/esm5/src/render3/jit/compiler_facade_interface.js +1 -1
- package/esm5/src/render3/jit/directive.js +6 -6
- package/esm5/src/render3/jit/environment.js +3 -1
- package/esm5/src/render3/jit/module.js +10 -8
- package/esm5/src/render3/node_manipulation.js +5 -21
- package/esm5/src/render3/node_selector_matcher.js +2 -2
- package/esm5/src/render3/pipe.js +2 -2
- package/esm5/src/render3/pure_function.js +3 -3
- package/esm5/src/render3/query.js +3 -3
- package/esm5/src/render3/state.js +14 -19
- package/esm5/src/render3/styling/class_and_style_bindings.js +681 -210
- package/esm5/src/render3/styling/util.js +26 -13
- package/esm5/src/render3/util.js +20 -5
- package/esm5/src/render3/view_engine_compatibility.js +5 -6
- package/esm5/src/render3/view_ref.js +6 -15
- package/esm5/src/sanitization/inert_body.js +4 -4
- package/esm5/src/version.js +1 -1
- package/esm5/testing/src/r3_test_bed.js +174 -127
- package/esm5/testing/src/resolvers.js +11 -6
- package/esm5/testing/src/testing_internal.js +2 -2
- package/fesm2015/core.js +2304 -1731
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +223 -150
- package/fesm2015/testing.js.map +1 -1
- package/fesm5/core.js +1777 -1331
- package/fesm5/core.js.map +1 -1
- package/fesm5/testing.js +181 -130
- package/fesm5/testing.js.map +1 -1
- package/package.json +1 -1
- package/src/change_detection/constants.d.ts +2 -2
- package/src/core_render3_private_export.d.ts +1 -1
- package/src/render3/definition.d.ts +2 -4
- package/src/render3/di.d.ts +4 -3
- package/src/render3/empty.d.ts +16 -0
- package/src/render3/hooks.d.ts +3 -3
- package/src/render3/index.d.ts +1 -1
- package/src/render3/instructions.d.ts +117 -72
- package/src/render3/interfaces/container.d.ts +1 -0
- package/src/render3/interfaces/definition.d.ts +0 -3
- package/src/render3/interfaces/injector.d.ts +0 -1
- package/src/render3/interfaces/node.d.ts +37 -2
- package/src/render3/interfaces/styling.d.ts +392 -117
- package/src/render3/interfaces/view.d.ts +14 -6
- package/src/render3/jit/compiler_facade_interface.d.ts +2 -0
- package/src/render3/node_manipulation.d.ts +0 -7
- package/src/render3/state.d.ts +3 -4
- package/src/render3/styling/class_and_style_bindings.d.ts +114 -43
- package/src/render3/styling/util.d.ts +5 -2
- package/src/render3/util.d.ts +7 -0
- package/testing/src/r3_test_bed.d.ts +15 -0
- package/testing/testing.metadata.json +1 -1
- package/testing.d.ts +1 -1
package/bundles/core.umd.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v7.2.0
|
|
2
|
+
* @license Angular v7.2.0
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -54,14 +54,7 @@ function C(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void
|
|
|
54
54
|
* Use of this source code is governed by an MIT-style license that can be
|
|
55
55
|
* found in the LICENSE file at https://angular.io/license
|
|
56
56
|
*/
|
|
57
|
-
A=e.ChangeDetectionStrategy||(e.ChangeDetectionStrategy={}))[A.OnPush=0]="OnPush",A[A.Default=1]="Default",(S=e.ɵChangeDetectorStatus||(e.ɵChangeDetectorStatus={}))[S.CheckOnce=0]="CheckOnce",S[S.Checked=1]="Checked",S[S.CheckAlways=2]="CheckAlways",S[S.Detached=3]="Detached",S[S.Errored=4]="Errored",S[S.Destroyed=5]="Destroyed";
|
|
58
|
-
/**
|
|
59
|
-
* @license
|
|
60
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
61
|
-
*
|
|
62
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
63
|
-
* found in the LICENSE file at https://angular.io/license
|
|
64
|
-
*/(
|
|
57
|
+
A=e.ChangeDetectionStrategy||(e.ChangeDetectionStrategy={}))[A.OnPush=0]="OnPush",A[A.Default=1]="Default",(S=e.ɵChangeDetectorStatus||(e.ɵChangeDetectorStatus={}))[S.CheckOnce=0]="CheckOnce",S[S.Checked=1]="Checked",S[S.CheckAlways=2]="CheckAlways",S[S.Detached=3]="Detached",S[S.Errored=4]="Errored",S[S.Destroyed=5]="Destroyed";
|
|
65
58
|
/**
|
|
66
59
|
* @license
|
|
67
60
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -69,7 +62,7 @@ A=e.ChangeDetectionStrategy||(e.ChangeDetectionStrategy={}))[A.OnPush=0]="OnPush
|
|
|
69
62
|
* Use of this source code is governed by an MIT-style license that can be
|
|
70
63
|
* found in the LICENSE file at https://angular.io/license
|
|
71
64
|
*/
|
|
72
|
-
z=e.
|
|
65
|
+
var z="undefined"!=typeof window&&window,Q="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Z="undefined"!=typeof global&&global||z||Q,q=Promise.resolve(0),K=null;function W(){if(!K){var e=Z.Symbol;if(e&&e.iterator)K=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&&(K=r)}}return K}function G(e){"undefined"==typeof Zone?q.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function Y(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function $(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map($).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)}
|
|
73
66
|
/**
|
|
74
67
|
* @license
|
|
75
68
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -77,22 +70,21 @@ z=e.ViewEncapsulation||(e.ViewEncapsulation={}))[z.Emulated=0]="Emulated",z[z.Na
|
|
|
77
70
|
* Use of this source code is governed by an MIT-style license that can be
|
|
78
71
|
* found in the LICENSE file at https://angular.io/license
|
|
79
72
|
*/
|
|
80
|
-
var
|
|
73
|
+
var J=d({__forward_ref__:d});function X(e){return e.__forward_ref__=X,e.toString=function(){return $(this())},e}function ee(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(J)&&t.__forward_ref__===X?t():e}
|
|
81
74
|
/**
|
|
82
75
|
* @license
|
|
83
76
|
* Copyright Google Inc. All Rights Reserved.
|
|
84
77
|
*
|
|
85
78
|
* Use of this source code is governed by an MIT-style license that can be
|
|
86
79
|
* found in the LICENSE file at https://angular.io/license
|
|
87
|
-
*/
|
|
88
|
-
var ne={},re=[],oe=0;function ie(t){var n=t.type,r=n.prototype,o={},i={type:n,providersResolver:null,consts:t.consts,vars:t.vars,factory:t.factory,template:t.template||null,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,contentQueriesRefresh:t.contentQueriesRefresh||null,attributes:t.attributes||null,declaredInputs:o,inputs:null,outputs:null,exportAs:t.exportAs||null,onInit:r.ngOnInit||null,doCheck:r.ngDoCheck||null,afterContentInit:r.ngAfterContentInit||null,afterContentChecked:r.ngAfterContentChecked||null,afterViewInit:r.ngAfterViewInit||null,afterViewChecked:r.ngAfterViewChecked||null,onDestroy:r.ngOnDestroy||null,onPush:t.changeDetection===e.ChangeDetectionStrategy.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||e.ViewEncapsulation.Emulated,id:"c",styles:t.styles||re,_:null};return i._=function a(e){return""+{toString:e}}
|
|
80
|
+
*/var te,ne=new Set;function re(e){return e.templateUrl||e.styleUrls&&e.styleUrls.length}function oe(e){return"string"==typeof e?e:e.text()}
|
|
89
81
|
/**
|
|
90
82
|
* @license
|
|
91
83
|
* Copyright Google Inc. All Rights Reserved.
|
|
92
84
|
*
|
|
93
85
|
* Use of this source code is governed by an MIT-style license that can be
|
|
94
86
|
* found in the LICENSE file at https://angular.io/license
|
|
95
|
-
*/(
|
|
87
|
+
*/(
|
|
96
88
|
/**
|
|
97
89
|
* @license
|
|
98
90
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -100,6 +92,15 @@ var ne={},re=[],oe=0;function ie(t){var n=t.type,r=n.prototype,o={},i={type:n,pr
|
|
|
100
92
|
* Use of this source code is governed by an MIT-style license that can be
|
|
101
93
|
* found in the LICENSE file at https://angular.io/license
|
|
102
94
|
*/
|
|
95
|
+
te=e.ViewEncapsulation||(e.ViewEncapsulation={}))[te.Emulated=0]="Emulated",te[te.Native=1]="Native",te[te.None=2]="None",te[te.ShadowDom=3]="ShadowDom";
|
|
96
|
+
/**
|
|
97
|
+
* @license
|
|
98
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
99
|
+
*
|
|
100
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
101
|
+
* found in the LICENSE file at https://angular.io/license
|
|
102
|
+
*/
|
|
103
|
+
var ie={},ae=[],ue=0;function se(t){var n=t.type,r=n.prototype,o={},i={type:n,providersResolver:null,consts:t.consts,vars:t.vars,factory:t.factory,template:t.template||null,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,contentQueriesRefresh:t.contentQueriesRefresh||null,attributes:t.attributes||null,declaredInputs:o,inputs:null,outputs:null,exportAs:t.exportAs||null,onInit:r.ngOnInit||null,doCheck:r.ngDoCheck||null,afterContentInit:r.ngAfterContentInit||null,afterContentChecked:r.ngAfterContentChecked||null,afterViewInit:r.ngAfterViewInit||null,afterViewChecked:r.ngAfterViewChecked||null,onDestroy:r.ngOnDestroy||null,onPush:t.changeDetection===e.ChangeDetectionStrategy.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||e.ViewEncapsulation.Emulated,id:"c",styles:t.styles||ae,_:null};return i._=function a(e){return""+{toString:e}}(function(){var e=t.directives,n=t.features,r=t.pipes;i.id+=ue++,i.inputs=de(t.inputs,o),i.outputs=de(t.outputs),n&&n.forEach(function(e){return e(i)}),i.directiveDefs=e?function(){return("function"==typeof e?e():e).map(le)}:null,i.pipeDefs=r?function(){return("function"==typeof r?r():r).map(ce)}:null}),i}function le(e){return ge(e)||ye(e)}function ce(e){return me(e)}function fe(e){return{type:e.type,bootstrap:e.bootstrap||ae,declarations:e.declarations||ae,imports:e.imports||ae,exports:e.exports||ae,transitiveCompileScopes:null}}function de(e,t){if(null==e)return ie;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[o]=i)}return n}function pe(e){var t={};return{inputs:de(e.inputs,t),declaredInputs:t,outputs:de(e.outputs)}}var he=se;function ve(e){return{name:e.name,factory:e.factory,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function ge(e){return e[h]||null}function ye(e){return e[v]||null}function me(e){return e[m]||null}function _e(e,t){var n=e[_]||null;if(!n&&!0===t)throw new Error("Type "+$(e)+" does not have 'ngModuleDef' property.");return n}
|
|
103
104
|
/**
|
|
104
105
|
* @license
|
|
105
106
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -107,14 +108,14 @@ var ne={},re=[],oe=0;function ie(t){var n=t.type,r=n.prototype,o={},i={type:n,pr
|
|
|
107
108
|
* Use of this source code is governed by an MIT-style license that can be
|
|
108
109
|
* found in the LICENSE file at https://angular.io/license
|
|
109
110
|
*/
|
|
110
|
-
function me(){var e=G.ng;if(!e||!e.ɵcompilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.ɵcompilerFacade}
|
|
111
111
|
/**
|
|
112
112
|
* @license
|
|
113
113
|
* Copyright Google Inc. All Rights Reserved.
|
|
114
114
|
*
|
|
115
115
|
* Use of this source code is governed by an MIT-style license that can be
|
|
116
116
|
* found in the LICENSE file at https://angular.io/license
|
|
117
|
-
|
|
117
|
+
*/
|
|
118
|
+
var we,be=0,Ce=1,xe=2,Ie=3,ke=4,Ee=5,Oe=6,Te=7,Pe=8,Ne=9,Re=10,je=11,De=12,Ae=13,Se=14,Ve=15,Me=16,Fe=17,He=18,Le=0,Be=1,Ue=6,ze=7,Qe=8,Ze="__ngContext__",qe=8,Ke=8,We=9,Ge=-1,Ye=(we=function we(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}).prototype;function $e(e){return"function"==typeof e?e.name||e:"string"==typeof e?e:null==e?"":"object"==typeof e&&"function"==typeof e.type?e.type.name||e.type:""+e}function Je(e,t){return e[t+He]}function Xe(e){for(;Array.isArray(e);)e=e[Ee];return e}function et(e,t){return Xe(t[e+He])}function tt(e,t){return Xe(t[e.index])}function nt(e,t){return t[be].data[e+He]}function rt(e,t){var n=t[e];return n.length>=He?n:n[Ee]}function ot(e){return 0!=(4&e.flags)}function it(e){return 1==(1&e.flags)}function at(e){return null!==e.template}function ut(e){return Array.isArray(e)&&e.length===Qe}function st(e){return 0!=(128&e[Ce])}function lt(e){for(var t=Array.isArray(e)?e:dt(e);t&&!(128&t[Ce]);)t=t[xe];return t}function ct(e){return lt(e)[Ne]}function ft(e){return e[Ze]}function dt(e){var t=ft(e);return t?Array.isArray(t)?t:t.lView:null}function pt(e){return e!==Ge}function ht(e){return 32767&e}function vt(e){return e>>16}function gt(e,t){for(var n=vt(e),r=t;n>0;)r=r[Fe],n--;return r}var yt,mt=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Z);function _t(e,t){for(var n=0;n<e.length;n++)t.push(e[n])}function wt(e){for(var t=e[Oe];t&&2===t.type;)t=(e=e[Fe])[Oe];return e}
|
|
118
119
|
/**
|
|
119
120
|
* @license
|
|
120
121
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -122,7 +123,6 @@ function me(){var e=G.ng;if(!e||!e.ɵcompilerFacade)throw new Error("Angular JIT
|
|
|
122
123
|
* Use of this source code is governed by an MIT-style license that can be
|
|
123
124
|
* found in the LICENSE file at https://angular.io/license
|
|
124
125
|
*/
|
|
125
|
-
_e=e.InjectFlags||(e.InjectFlags={}))[_e.Default=0]="Default",_e[_e.Host=1]="Host",_e[_e.Self=2]="Self",_e[_e.SkipSelf=4]="SkipSelf",_e[_e.Optional=8]="Optional";var ke,Ee=void 0;function Oe(e){var t=Ee;return Ee=e,t}function Te(e){var t=ke;return ke=e,t}function Pe(t,n){if(void 0===n&&(n=e.InjectFlags.Default),void 0===Ee)throw new Error("inject() must be called from an injection context");return null===Ee?Re(t,void 0,n):Ee.get(t,n&e.InjectFlags.Optional?null:void 0,n)}function Ne(t,n){return void 0===n&&(n=e.InjectFlags.Default),(ke||Pe)(t,n)}function Re(t,n,r){var o=I(t);if(o&&"root"==o.providedIn)return void 0===o.value?o.value=o.factory():o.value;if(r&e.InjectFlags.Optional)return null;if(void 0!==n)return n;throw new Error("Injector: NOT_FOUND ["+te(t)+"]")}function je(t){for(var n=[],r=0;r<t.length;r++){var o=t[r];if(Array.isArray(o)){if(0===o.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,a=e.InjectFlags.Default,u=0;u<o.length;u++){var s=o[u];s instanceof be||"Optional"===s.ngMetadataName?a|=e.InjectFlags.Optional:s instanceof xe||"SkipSelf"===s.ngMetadataName?a|=e.InjectFlags.SkipSelf:s instanceof Ce||"Self"===s.ngMetadataName?a|=e.InjectFlags.Self:i=s instanceof we?s.token:s}n.push(Ne(i,a))}else n.push(Ne(o))}return n}
|
|
126
126
|
/**
|
|
127
127
|
* @license
|
|
128
128
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -130,14 +130,14 @@ _e=e.InjectFlags||(e.InjectFlags={}))[_e.Default=0]="Default",_e[_e.Host=1]="Hos
|
|
|
130
130
|
* Use of this source code is governed by an MIT-style license that can be
|
|
131
131
|
* found in the LICENSE file at https://angular.io/license
|
|
132
132
|
*/
|
|
133
|
+
function bt(){var e=Z.ng;if(!e||!e.ɵcompilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.ɵcompilerFacade}
|
|
133
134
|
/**
|
|
134
135
|
* @license
|
|
135
136
|
* Copyright Google Inc. All Rights Reserved.
|
|
136
137
|
*
|
|
137
138
|
* Use of this source code is governed by an MIT-style license that can be
|
|
138
139
|
* found in the LICENSE file at https://angular.io/license
|
|
139
|
-
|
|
140
|
-
var De,Ae=8,Se=8,Ve=9,Me=-1,Fe=(De=function De(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}).prototype,He=0,Le=1,Be=2,Ue=3,ze=4,Qe=5,Ze=6,qe=7,Ke=8,We=9,Ge=10,Ye=11,$e=12,Je=13,Xe=14,et=15,tt=16,nt=17,rt=18;
|
|
140
|
+
*/!function(e){e[e.Token=0]="Token",e[e.Attribute=1]="Attribute"}(yt||(yt={}));var Ct,xt=j("Inject",function(e){return{token:e}}),It=j("Optional"),kt=j("Self"),Et=j("SkipSelf"),Ot=j("Host");(
|
|
141
141
|
/**
|
|
142
142
|
* @license
|
|
143
143
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -145,50 +145,50 @@ var De,Ae=8,Se=8,Ve=9,Me=-1,Fe=(De=function De(e,t,n){this.factory=e,this.resolv
|
|
|
145
145
|
* Use of this source code is governed by an MIT-style license that can be
|
|
146
146
|
* found in the LICENSE file at https://angular.io/license
|
|
147
147
|
*/
|
|
148
|
-
|
|
148
|
+
Ct=e.InjectFlags||(e.InjectFlags={}))[Ct.Default=0]="Default",Ct[Ct.Host=1]="Host",Ct[Ct.Self=2]="Self",Ct[Ct.SkipSelf=4]="SkipSelf",Ct[Ct.Optional=8]="Optional";var Tt,Pt,Nt=void 0;function Rt(e){var t=Nt;return Nt=e,t}function jt(e){var t=Tt;return Tt=e,t}function Dt(t,n){if(void 0===n&&(n=e.InjectFlags.Default),void 0===Nt)throw new Error("inject() must be called from an injection context");return null===Nt?St(t,void 0,n):Nt.get(t,n&e.InjectFlags.Optional?null:void 0,n)}function At(t,n){return void 0===n&&(n=e.InjectFlags.Default),(Tt||Dt)(t,n)}function St(t,n,r){var o=I(t);if(o&&"root"==o.providedIn)return void 0===o.value?o.value=o.factory():o.value;if(r&e.InjectFlags.Optional)return null;if(void 0!==n)return n;throw new Error("Injector: NOT_FOUND ["+$(t)+"]")}function Vt(t){for(var n=[],r=0;r<t.length;r++){var o=t[r];if(Array.isArray(o)){if(0===o.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,a=e.InjectFlags.Default,u=0;u<o.length;u++){var s=o[u];s instanceof It||"Optional"===s.ngMetadataName?a|=e.InjectFlags.Optional:s instanceof Et||"SkipSelf"===s.ngMetadataName?a|=e.InjectFlags.SkipSelf:s instanceof kt||"Self"===s.ngMetadataName?a|=e.InjectFlags.Self:i=s instanceof xt?s.token:s}n.push(At(i,a))}else n.push(At(o))}return n}
|
|
149
149
|
/**
|
|
150
150
|
* @license
|
|
151
151
|
* Copyright Google Inc. All Rights Reserved.
|
|
152
152
|
*
|
|
153
153
|
* Use of this source code is governed by an MIT-style license that can be
|
|
154
154
|
* found in the LICENSE file at https://angular.io/license
|
|
155
|
-
*/
|
|
155
|
+
*/
|
|
156
156
|
/**
|
|
157
157
|
* @license
|
|
158
158
|
* Copyright Google Inc. All Rights Reserved.
|
|
159
159
|
*
|
|
160
160
|
* Use of this source code is governed by an MIT-style license that can be
|
|
161
161
|
* found in the LICENSE file at https://angular.io/license
|
|
162
|
-
*/
|
|
162
|
+
*/
|
|
163
|
+
function Mt(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 Ft(e,t){if(e.firstTemplatePass)for(var n=t.directiveStart,r=t.directiveEnd;n<r;n++){var o=e.data[n];Ht(o,e,n),Lt(o,e,n),Bt(o,e,n)}}function Ht(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 Lt(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 Bt(e,t,n){null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}function Ut(e,t,n){!n&&32&e[Ce]&&(zt(e,t.initHooks,t.checkHooks,n),e[Ce]&=-33)}function zt(e,t,n,r){if(!r){var o=2&e[Ce]?t:n;o&&Qt(e,o)}}function Qt(e,t){for(var n=0;n<t.length;n+=2)t[n+1].call(e[t[n]])}
|
|
163
164
|
/**
|
|
164
165
|
* @license
|
|
165
166
|
* Copyright Google Inc. All Rights Reserved.
|
|
166
167
|
*
|
|
167
168
|
* Use of this source code is governed by an MIT-style license that can be
|
|
168
169
|
* found in the LICENSE file at https://angular.io/license
|
|
169
|
-
*/var
|
|
170
|
+
*/var Zt,qt,Kt,Wt,Gt=null;function Yt(e){Gt=e}function $t(){Zt=!0}function Jt(){Zt=!1}function Xt(){return Wt}function en(e){sn=e}function tn(){return qt}function nn(e){qt=e}function rn(e,t){qt=e,Wt=t}function on(){return Kt}function an(e){Kt=e}function un(e){return void 0===e&&(e=Wt),1==(1&e[Ce])}var sn=null,ln=!1;function cn(){return ln}function fn(e){ln=e}var dn=!0;function pn(){return dn}function hn(e){dn=e}var vn=-1;function gn(){return vn}function yn(e){vn=e}function mn(e,t){var n=Wt;if(e){var r=e[be];dn=r.firstTemplatePass,vn=r.bindingStartIndex}return qt=t,Kt=!0,Wt=sn=e,n}function _n(e){return void 0===e&&(e=1),(sn=function t(e,n){for(;e>0;)n=n[Fe],e--;return n}(e,sn))[Ne]}function wn(e){var t=Wt[be];un(Wt)?Wt[Ce]&=-2:(zt(Wt,t.viewHooks,t.viewCheckHooks,ln),Wt[Ce]&=-11,Wt[Ce]|=32,Wt[Te]=t.bindingStartIndex),mn(e,null)}
|
|
170
171
|
/**
|
|
171
172
|
* @license
|
|
172
173
|
* Copyright Google Inc. All Rights Reserved.
|
|
173
174
|
*
|
|
174
175
|
* Use of this source code is governed by an MIT-style license that can be
|
|
175
176
|
* found in the LICENSE file at https://angular.io/license
|
|
176
|
-
*/(
|
|
177
|
+
*/var bn=!0;function Cn(e){var t=bn;return bn=e,t}var xn=255,In=0;function kn(e,t){var n=On(e,t);if(-1!==n)return n;var r=t[be];r.firstTemplatePass&&(e.injectorIndex=t.length,En(r.data,e),En(t,null),En(r.blueprint,null));var o=Tn(e,t),i=ht(o),a=gt(o,t),u=e.injectorIndex;if(pt(o))for(var s=a[be].data,l=0;l<8;l++)t[u+l]=a[i+l]|s[i+l];return t[u+Ke]=o,u}function En(e,t){e.push(0,0,0,0,0,0,0,0,t)}function On(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+Ke]?-1:e.injectorIndex}function Tn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[Oe],r=1;n&&-1===n.injectorIndex;)n=(t=t[Fe])?t[Oe]:null,r++;return n?n.injectorIndex|r<<16:-1}function Pn(e,t,n){!function r(e,t,n){var r="string"!=typeof n?n[b]:n.charCodeAt(0)||0;null==r&&(r=n[b]=In++);var o=r&xn,i=1<<o,a=64&o,u=32&o,s=t.data;128&o?a?u?s[e+7]|=i:s[e+6]|=i:u?s[e+5]|=i:s[e+4]|=i:a?u?s[e+3]|=i:s[e+2]|=i:u?s[e+1]|=i:s[e]|=i}(e,t[be],n)}function Nn(e,t){var n=e.attrs;if(n)for(var r=0;r<n.length;r+=2){var o=n[r];if(3===o)break;if(o==t)return n[r+1]}return null}function Rn(t,n,r,o,i){if(void 0===o&&(o=e.InjectFlags.Default),t){var a=function u(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[b];return"number"==typeof t?t&xn:t}(r);if("function"==typeof a){var s=tn(),l=Xt();rn(t,n);try{var c=a();if(null!=c||o&e.InjectFlags.Optional)return c;throw new Error("No provider for "+$e(r)+"!")}finally{rn(s,l)}}else if("number"==typeof a){var f=null,d=On(t,n),p=Ge,h=o&e.InjectFlags.Host?wt(n)[Oe]:null;for((-1===d||o&e.InjectFlags.SkipSelf)&&(p=-1===d?Tn(t,n):n[d+Ke],Mn(o,!1)?(f=n[be],d=ht(p),n=gt(p,n)):d=-1);-1!==d;){p=n[d+Ke];var v=n[be];if(Vn(a,d,v.data)){var g=Dn(d,n,r,f,o,h);if(g!==jn)return g}Mn(o,n[be].data[d+qe]===h)&&Vn(a,d,n)?(f=v,d=ht(p),n=gt(p,n)):d=-1}}}if(o&e.InjectFlags.Optional&&void 0===i&&(i=null),0==(o&(e.InjectFlags.Self|e.InjectFlags.Host))){var y=n[Re];return y?y.get(r,i,o&e.InjectFlags.Optional):St(r,i,o&e.InjectFlags.Optional)}if(o&e.InjectFlags.Optional)return i;throw new Error("NodeInjector: NOT_FOUND ["+$e(r)+"]")}var jn={};function Dn(t,n,r,o,i,a){var u=n[be],s=u.data[t+qe],l=An(s,n,r,null==o?it(s)&&bn:o!=u&&3===s.type,i&e.InjectFlags.Host&&a===s);return null!==l?Sn(u.data,n,l,s):jn}function An(e,t,n,r,o){for(var i=e.providerIndexes,a=t[be].data,u=65535&i,s=e.directiveStart,l=i>>16,c=o?u+l:e.directiveEnd,f=r?u:u+l;f<c;f++){var d=a[f];if(f<s&&n===d||f>=s&&d.type===n)return f}if(o){var p=a[s];if(p&&at(p)&&p.type===n)return s}return null}function Sn(e,t,n,r){var o=t[n];if(function i(e){return null!=e&&"object"==typeof e&&Object.getPrototypeOf(e)==Ye}
|
|
177
178
|
/**
|
|
178
179
|
* @license
|
|
179
180
|
* Copyright Google Inc. All Rights Reserved.
|
|
180
181
|
*
|
|
181
182
|
* Use of this source code is governed by an MIT-style license that can be
|
|
182
183
|
* found in the LICENSE file at https://angular.io/license
|
|
183
|
-
*/
|
|
184
|
+
*/(o)){var a=o;if(a.resolving)throw new Error("Circular dep for "+$e(e[n]));var u=Cn(a.canSeeViewProviders);a.resolving=!0;var s=void 0;a.injectImpl&&(s=jt(a.injectImpl));var l=tn(),c=Xt();rn(r,t);try{o=t[n]=a.factory(null,e,t,r)}finally{a.injectImpl&&jt(s),Cn(u),a.resolving=!1,rn(l,c)}}return o}function Vn(e,t,n){var r=64&e,o=32&e;return!!((128&e?r?o?n[t+7]:n[t+6]:o?n[t+5]:n[t+4]:r?o?n[t+3]:n[t+2]:o?n[t+1]:n[t])&1<<e)}function Mn(t,n){return!(t&e.InjectFlags.Self||t&e.InjectFlags.Host&&n)}var Fn=function(){function e(e,t){this._tNode=e,this._lView=t}return e.prototype.get=function(e,t){return Rn(this._tNode,this._lView,e,void 0,t)},e}();function Hn(e){var t=e,n=ge(t)||ye(t)||me(t)||I(t)||k(t);return n&&void 0!==n.factory?n.factory:null}function Ln(e){var t=Hn(Object.getPrototypeOf(e.prototype).constructor);return null!==t?t:function(e){return new e}}
|
|
184
185
|
/**
|
|
185
186
|
* @license
|
|
186
187
|
* Copyright Google Inc. All Rights Reserved.
|
|
187
188
|
*
|
|
188
189
|
* Use of this source code is governed by an MIT-style license that can be
|
|
189
190
|
* found in the LICENSE file at https://angular.io/license
|
|
190
|
-
*/
|
|
191
|
-
function Zn(e){var t=er(e);return void 0===t.component&&(t.component=function n(e,t){var n=t[He].data[e];return 1&n.flags?t[n.directiveStart]:null}(t.nodeIndex,t.lView)),t.component}function qn(e){return er(e).lView[We]}function Kn(e){for(var t=Jn(e).lView;t[Be]&&null===t[Qe];)t=t[Be];return 64&t[Le]?null:t[We]}function Wn(e){return function t(e){var t;for(t=Array.isArray(e)?e:jt(e);t&&!(64&t[Le]);)t=t[Be];return t}(Array.isArray(e)?e:Jn(e).lView)[We]}function Gn(e){return f(Wn(e).components)}function Yn(e){var t=Jn(e);return new An(t.lView[He].data[t.nodeIndex],t.lView)}function $n(e){var t=Jn(e);return void 0===t.directives&&(t.directives=Qn(t.nodeIndex,t.lView,!1)),t.directives||[]}function Jn(e,t){void 0===t&&(t=!0);var n=Mn(e);if(!n&&t)throw new Error("Invalid ng target");return n}function Xn(e){return Mn(e).native}function er(e){if(!(e instanceof Node))throw new Error("Expecting instance of DOM Node");return Jn(e)}function tr(e){return"boolean"==typeof e.useCapture}function nr(e){var t=er(e).lView,n=t[Ke],r=t[He].cleanup,o=[];if(r&&n)for(var i=0;i<r.length;){var a=r[i++],u=r[i++];if("string"==typeof a){var s=n[r[i++]],l=r[i++];e==t[u]&&o.push({element:e,name:a,callback:s,useCapture:"boolean"==typeof l?l:!(l>=0)&&null})}}return o.sort(rr),o}function rr(e,t){return e.name==t.name?0:e.name<t.name?-1:1}
|
|
191
|
+
*/function Bn(e){var t=ft(e);if(t){if(Array.isArray(t)){var n=t,r=void 0,o=void 0,i=void 0;if(function a(e){return e&&e.constructor&&e.constructor.ngComponentDef}(e)){if(-1==(r=Kn(n,e)))throw new Error("The provided component was not found in the application");o=e}else if(function u(e){return e&&e.constructor&&e.constructor.ngDirectiveDef}(e)){if(-1==(r=function s(e,t){for(var n=e[be].firstChild;n;){for(var r=n.directiveEnd,o=n.directiveStart;o<r;o++)if(e[o]===t)return n.index;n=qn(n)}return-1}(n,e)))throw new Error("The provided directive was not found in the application");i=Wn(r,n,!1)}else if(-1==(r=Zn(n,e)))return null;var l=ft(g=Xe(n[r])),c=l&&!Array.isArray(l)?l:Un(n,r,g);if(o&&void 0===c.component&&(c.component=o,Qn(c.component,c)),i&&void 0===c.directives){c.directives=i;for(var f=0;f<i.length;f++)Qn(i[f],c)}Qn(c.native,c),t=c}}else for(var d=e,p=d;p=p.parentNode;){var h=ft(p);if(h){if(n=void 0,!(n=Array.isArray(h)?h:h.lView))return null;var v=Zn(n,d);if(v>=0){var g;Qn(g=Xe(n[v]),c=Un(n,v,g)),t=c;break}}}return t||null}function Un(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function zn(e){var t,n=ft(e);if(Array.isArray(n)){var r=Kn(n,e);(o=Un(n,r,(t=rt(r,n))[Ee])).component=e,Qn(e,o),Qn(o.native,o)}else{var o;t=rt((o=n).nodeIndex,o.lView)}return t}function Qn(e,t){e[Ze]=t}function Zn(e,t){for(var n=e[be].firstChild;n;){if(tt(n,e)===t)return n.index;n=qn(n)}return-1}function qn(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Kn(e,t){var n=e[be].components;if(n)for(var r=0;r<n.length;r++){var o=n[r];if(rt(o,e)[Ne]===t)return o}else if(rt(He,e)[Ne]===t)return He;return-1}function Wn(e,t,n){var r=t[be].data[e],o=r.directiveStart;return 0==o?ae:(!n&&1&r.flags&&o++,t.slice(o,r.directiveEnd))}
|
|
192
192
|
/**
|
|
193
193
|
* @license
|
|
194
194
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -196,21 +196,14 @@ function Zn(e){var t=er(e);return void 0===t.component&&(t.component=function n(
|
|
|
196
196
|
* Use of this source code is governed by an MIT-style license that can be
|
|
197
197
|
* found in the LICENSE file at https://angular.io/license
|
|
198
198
|
*/
|
|
199
|
-
var or=
|
|
199
|
+
function Gn(e){var t=or(e);return void 0===t.component&&(t.component=function n(e,t){var n=t[be].data[e];return 1&n.flags?t[n.directiveStart]:null}(t.nodeIndex,t.lView)),t.component}function Yn(e){return or(e).lView[Ne]}function $n(e){for(var t=nr(e).lView;t[xe]&&null===t[Ee];)t=t[xe];return 128&t[Ce]?null:t[Ne]}function Jn(e){return function t(e){var t;for(t=Array.isArray(e)?e:dt(e);t&&!(128&t[Ce]);)t=t[xe];return t}(Array.isArray(e)?e:nr(e).lView)[Ne]}function Xn(e){return f(Jn(e).components)}function er(e){var t=nr(e);return new Fn(t.lView[be].data[t.nodeIndex],t.lView)}function tr(e){var t=nr(e);return void 0===t.directives&&(t.directives=Wn(t.nodeIndex,t.lView,!1)),t.directives||[]}function nr(e,t){void 0===t&&(t=!0);var n=Bn(e);if(!n&&t)throw new Error("Invalid ng target");return n}function rr(e){return Bn(e).native}function or(e){if(!(e instanceof Node))throw new Error("Expecting instance of DOM Node");return nr(e)}function ir(e){return"boolean"==typeof e.useCapture}function ar(e){var t=or(e).lView,n=t[Pe],r=t[be].cleanup,o=[];if(r&&n)for(var i=0;i<r.length;){var a=r[i++],u=r[i++];if("string"==typeof a){var s=a,l=Xe(t[u]),c=n[r[i++]],f=r[i++];e==l&&o.push({element:e,name:s,callback:c,useCapture:"boolean"==typeof f?f:!(f>=0)&&null})}}return o.sort(ur),o}function ur(e,t){return e.name==t.name?0:e.name<t.name?-1:1}var sr=/([A-Z])/g;function lr(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}
|
|
200
200
|
/**
|
|
201
201
|
* @license
|
|
202
202
|
* Copyright Google Inc. All Rights Reserved.
|
|
203
203
|
*
|
|
204
204
|
* Use of this source code is governed by an MIT-style license that can be
|
|
205
205
|
* found in the LICENSE file at https://angular.io/license
|
|
206
|
-
*/var
|
|
207
|
-
/**
|
|
208
|
-
* @license
|
|
209
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
210
|
-
*
|
|
211
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
212
|
-
* found in the LICENSE file at https://angular.io/license
|
|
213
|
-
*/function lr(e,t){var n=dr(e),r=dr(t);return n&&r?function o(e,t,n){for(var r=e[J()](),o=t[J()]();;){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,lr):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||ee(e,t)}var cr=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}(),fr=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 dr(e){return!!pr(e)&&(Array.isArray(e)||!(e instanceof Map)&&J()in e)}function pr(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function hr(e){throw new Error("Multiple components match node with tagname "+e.tagName)}
|
|
206
|
+
*/function cr(e,t){var n=pr(e),r=pr(t);return n&&r?function o(e,t,n){for(var r=e[W()](),o=t[W()]();;){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,cr):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||Y(e,t)}var fr=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}(),dr=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 pr(e){return!!hr(e)&&(Array.isArray(e)||!(e instanceof Map)&&W()in e)}function hr(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function vr(e){throw new Error("Multiple components match node with tagname "+e.tagName)}
|
|
214
207
|
/**
|
|
215
208
|
* @license
|
|
216
209
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -218,36 +211,28 @@ var or=d({__forward_ref__:d});function ir(e){return e.__forward_ref__=ir,e.toStr
|
|
|
218
211
|
* Use of this source code is governed by an MIT-style license that can be
|
|
219
212
|
* found in the LICENSE file at https://angular.io/license
|
|
220
213
|
*/
|
|
221
|
-
var
|
|
222
|
-
/**
|
|
223
|
-
* @license
|
|
224
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
225
|
-
*
|
|
226
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
227
|
-
* found in the LICENSE file at https://angular.io/license
|
|
228
|
-
*/function gr(e,t,n){return e[t]=n}function yr(e,t){return e[t]}function mr(e,t,n){if(e[t]===vr)e[t]=n;else{if(!
|
|
214
|
+
var gr={};
|
|
229
215
|
/**
|
|
230
216
|
* @license
|
|
231
217
|
* Copyright Google Inc. All Rights Reserved.
|
|
232
218
|
*
|
|
233
219
|
* Use of this source code is governed by an MIT-style license that can be
|
|
234
220
|
* found in the LICENSE file at https://angular.io/license
|
|
235
|
-
*/
|
|
236
|
-
function r(e,t){return!(e!=e&&t!=t)&&e!==t}(e[t],n))return!1;e[t]=n}return!0}function _r(e,t,n,r){var o=mr(e,t,n);return mr(e,t+1,r)||o}function wr(e,t,n,r,o){var i=_r(e,t,n,r);return mr(e,t+2,o)||i}function br(e,t,n,r,o,i){var a=_r(e,t,n,r);return _r(e,t+2,o,i)||a}
|
|
221
|
+
*/function yr(e,t,n){return e[t]=n}function mr(e,t){return e[t]}function _r(e,t,n){if(e[t]===gr)e[t]=n;else{if(!function r(e,t){return!(e!=e&&t!=t)&&e!==t}(e[t],n))return!1;e[t]=n}return!0}function wr(e,t,n,r){var o=_r(e,t,n);return _r(e,t+1,r)||o}function br(e,t,n,r,o){var i=wr(e,t,n,r);return _r(e,t+2,o)||i}function Cr(e,t,n,r,o,i){var a=wr(e,t,n,r);return wr(e,t+2,o,i)||a}
|
|
237
222
|
/**
|
|
238
223
|
* @license
|
|
239
224
|
* Copyright Google Inc. All Rights Reserved.
|
|
240
225
|
*
|
|
241
226
|
* Use of this source code is governed by an MIT-style license that can be
|
|
242
227
|
* found in the LICENSE file at https://angular.io/license
|
|
243
|
-
*/var
|
|
228
|
+
*/var xr,Ir="ngProjectAs";
|
|
244
229
|
/**
|
|
245
230
|
* @license
|
|
246
231
|
* Copyright Google Inc. All Rights Reserved.
|
|
247
232
|
*
|
|
248
233
|
* Use of this source code is governed by an MIT-style license that can be
|
|
249
234
|
* found in the LICENSE file at https://angular.io/license
|
|
250
|
-
*/function
|
|
235
|
+
*/function kr(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(xr||(xr={}));var Er={createRenderer:function(e,t){return document}};
|
|
251
236
|
/**
|
|
252
237
|
* @license
|
|
253
238
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -261,28 +246,28 @@ function r(e,t){return!(e!=e&&t!=t)&&e!==t}(e[t],n))return!1;e[t]=n}return!0}fun
|
|
|
261
246
|
*
|
|
262
247
|
* Use of this source code is governed by an MIT-style license that can be
|
|
263
248
|
* found in the LICENSE file at https://angular.io/license
|
|
264
|
-
*/function
|
|
249
|
+
*/function Or(e,t){return null==e.parent?function n(e){var t=e[Oe];return t&&2!==t.type?tt(t,e[xe]):null}(t):tt(Tr(e),t)}function Tr(e){for(var t=e.parent;t&&5===t.type;)t=t.parent;return t}function Pr(e,t){if(-1===e.index){var n=t[Ve];return n>-1?t[xe][n]:null}return t[xe][e.parent.index]}function Nr(e,t){var n=Pr(e,t);return n?n[ze]:null}var Rr=[];function jr(e,t,n,r,o){for(var i=e[be].node,a=-1,u=e,s=i.child;s;){var l=null;if(3===s.type){Dr(t,n,r,tt(s,u),o);var c=u[s.index];ut(c)&&Dr(t,n,r,c[Ue],o)}else if(0===s.type){var f=u[s.index];Dr(t,n,r,f[Ue],o),r&&(f[ze]=r),f[Be].length&&(l=(u=f[Be][0])[be].node,o=f[Ue])}else if(1===s.type){var d=wt(u),p=d[Oe].projection[s.projection];Rr[++a]=s,Rr[++a]=u,p&&(l=(u=d[xe])[be].data[p.index])}else l=s.child;if(null===l)for(null===s.next&&2&s.flags&&(u=Rr[a--],s=Rr[a--]),l=s.next;!l;){if(null===(s=s.parent||u[be].node)||s===i)return null;0===s.type&&(o=(u=u[xe])[s.index][Ue]),l=2===s.type&&u[Ie]?(u=u[Ie])[be].node:s.next}s=l}}function Dr(e,t,n,r,o){0===e?kr(t)?t.insertBefore(n,r,o):n.insertBefore(r,o,!0):1===e?kr(t)?t.removeChild(n,r):n.removeChild(r):2===e&&t.destroyNode(r)}function Ar(e,t){return kr(t)?t.createText($e(e)):t.createTextNode($e(e))}function Sr(e,t,n){var r=Nr(e[be].node,e);r&&jr(e,t?0:1,e[De],r,n)}function Vr(e,t,n,r,o){var i=t[Be];r>0&&(i[r-1][Ie]=e),r<i.length?(e[Ie]=i[r],i.splice(r,0,e)):(i.push(e),e[Ie]=null),o>-1&&(e[Ve]=o,e[xe]=n),e[ke]&&e[ke].insertView(r),e[Ce]|=16}function Mr(e,t,n){var r=e[Be],o=r[t];return t>0&&(r[t-1][Ie]=o[Ie]),r.splice(t,1),n||Sr(o,!1),o[ke]&&o[ke].removeView(),o[Ve]=-1,o[xe]=null,o[Ce]&=-17,o}function Fr(e,t,n){var r=e[Be][n];Mr(e,n,!!t.detached),Lr(r)}function Hr(e){var t=e[be].childIndex;return-1===t?null:e[t]}function Lr(e){var t=e[De];kr(t)&&t.destroyNode&&jr(e,2,t,null),function n(e){if(-1===e[be].childIndex)return Ur(e);for(var t=Hr(e);t;){var n=null;if(t.length>=He?t[be].childIndex>-1&&(n=Hr(t)):t[Be].length&&(n=t[Be][0]),null==n){for(;t&&!t[Ie]&&t!==e;)Ur(t),t=Br(t,e);Ur(t||e),n=t&&t[Ie]}t=n}}(e),e[Ce]|=64}function Br(e,t){var n;return e.length>=He&&(n=e[Oe])&&2===n.type?Pr(n,e):e[xe]===t?null:e[xe]}function Ur(e){if(e.length>=He){var t=e;!function n(e){var t,n=e[be];null!=n&&null!=(t=n.destroyHooks)&&Qt(e,t)}(t),function r(e){var t=e[be]&&e[be].pipeDestroyHooks;t&&Qt(e,t)}(t),function o(e){var t=e[be].cleanup;if(null!=t){for(var n=e[Pe],r=0;r<t.length-1;r+=2)if("string"==typeof t[r]){var o=n[t[r+2]],i=Xe(e[t[r+1]]),a=t[r+3];"boolean"==typeof a?i.removeEventListener(t[r],o,a):a>=0?n[a]():n[-a].unsubscribe(),r+=2}else"number"==typeof t[r]?(0,n[t[r]])():t[r].call(n[t[r+1]]);e[Pe]=null}}(t);var i=t[Oe];i&&3===i.type&&kr(t[De])&&t[De].destroy()}}function zr(e,t){if(Qr(e,t)){if(st(t))return qr(t[De],tt(e,t));var n=t[Oe],r=e.parent;return null!=r&&4===r.type&&(e=Wr(r)),null==e.parent&&2===n.type?Nr(n,t):Or(e,t)}return null}function Qr(e,t){var n=e,r=e.parent;return e.parent&&(4===e.parent.type?r=(n=Wr(e)).parent:5===e.parent.type&&(r=(n=Tr(n)).parent)),null===r&&(r=t[Oe]),r&&2===r.type?function o(e,t){var n=Pr(e,t);return null!=n&&null!=n[ze]}(r,t):function i(e){return null==e.parent||!(3!==e.parent.type||1&e.parent.flags)}(n)}function Zr(e,t,n,r){kr(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function qr(e,t){return kr(e)?e.parentNode(t):t.parentNode}function Kr(e,t,n){if(void 0===e&&(e=null),null!==e&&Qr(t,n)){var r=n[De],o=Or(t,n),i=t.parent||n[Oe];if(2===i.type){var a=Pr(i,n),u=a[Be],s=u.indexOf(n);Zr(r,a[ze],e,Gr(s,u,a[Ue]))}else 4===i.type?Zr(r,zr(t,n),e,o):5===i.type?Zr(r,o,e,tt(t.parent,n)):kr(r)?r.appendChild(o,e):o.appendChild(e);return!0}return!1}function Wr(e){for(;null!=e.parent&&4===e.parent.type;)e=e.parent;return e}function Gr(e,t,n){if(e+1<t.length){var r=t[e+1],o=r[Oe];return o.child?tt(o.child,r):n}return n}function Yr(e,t,n){if(null!==t&&Qr(e,n)){var r=Or(e,n),o=n[De];return kr(o)?o.removeChild(r,t):r.removeChild(t),!0}return!1}function $r(e,t,n,r){var o=tt(e,r);Kr(o,t,n),Qn(o,r);var i=zr(t,n),a=r[e.index];if(0===e.type){a[ze]=i;for(var u=a[Be],s=0;s<u.length;s++)Sr(u[s],!0,a[Ue])}else{if(4===e.type)for(var l=e.child;l;)$r(l,t,n,r),l=l.next;ut(a)&&(a[ze]=i,Kr(a[Ue],t,n))}}
|
|
265
250
|
/**
|
|
266
251
|
* @license
|
|
267
252
|
* Copyright Google Inc. All Rights Reserved.
|
|
268
253
|
*
|
|
269
254
|
* Use of this source code is governed by an MIT-style license that can be
|
|
270
255
|
* found in the LICENSE file at https://angular.io/license
|
|
271
|
-
*/var Jr="ng-template";function Xr(e,t,n){return t===e.tagName&&(n||3===e.type||4===e.type||0===e.type&&t===Jr)}function eo(e,t,n){for(var r,o,i,a,u,s=4,l=e.attrs,c=l?l.indexOf(
|
|
256
|
+
*/var Jr="ng-template";function Xr(e,t,n){return t===e.tagName&&(n||3===e.type||4===e.type||0===e.type&&t===Jr)}function eo(e,t,n){for(var r,o,i,a,u,s=4,l=e.attrs,c=l?l.indexOf(3):-1,f=!1,d=0;d<t.length;d++){var p=t[d];if("number"!=typeof p){if(!f)if(4&s){if(s=2|1&s,""!==p&&!Xr(e,p,n)||""===p&&1===t.length){if(to(s))return!1;f=!0}}else{var h=no(8&s?"class":p,l);if(-1===h){if(to(s))return!1;f=!0;continue}var v,g=8&s?p:t[++d];if(""!==g)if(v=c>-1&&h>c?"":l[h+1],8&s&&(i=(r=v).length,u=(a=r.indexOf(o=g))+o.length,-1===a||a>0&&" "!==r[a-1]||u<i&&" "!==r[u])||2&s&&g!==v){if(to(s))return!1;f=!0}}}else{if(!f&&!to(s)&&!to(p))return!1;if(f&&to(p))continue;f=!1,s=p|1&s}}return to(s)||f}function to(e){return 0==(1&e)}function no(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:(3===o&&(n=!0),r+=n?1:2)}return-1}function ro(e,t,n){void 0===n&&(n=!1);for(var r=0;r<t.length;r++)if(eo(e,t[r],n))return!0;return!1}function oo(e,t,n){for(var r=function o(e){var t=e.attrs;if(null!=t){var n=t.indexOf(Ir);if(0==(1&n))return t[n+1]}return null}(e),i=0;i<t.length;i++)if(r===n[i]||null===r&&ro(e,t[i],!0))return i+1;return 0}var io=function io(e,t){this.fn=e,this.value=t},ao=function(){function e(){this._players=[]}return e.prototype.flushPlayers=function(){for(var e=0;e<this._players.length;e++){var t=this._players[e];t.parent||0!==t.state||t.play()}this._players.length=0},e.prototype.queuePlayer=function(e){this._players.push(e)},e}(),uo="@";function so(e,t,n,r){return[0,[null,-1,!1,t||null],n||[null],r||[null],[0,0],e||null,null,null,null]}function lo(e,t){for(var n=e,r=t[n],o=t;Array.isArray(r);)o=r,r=r[Ee];if(function i(e){return Array.isArray(e)&&"number"==typeof e[0]&&Array.isArray(e[2])}(o))return o;var a=nt(e-He,t).stylingTemplate;return o!==t&&(n=Ee),o[n]=a?function u(e,t){var n=t.slice();return n[5]=e,n[0]|=32,n}(r,a):so(r)}function co(e){return e[0]===uo}function fo(e,t,n,r,o,i){return i=i||n,o?e[o]=r:e.push(r),!!r&&(r.addEventListener(200,function(){var t=e.indexOf(r);t&&(t<e[0]?e[t]=null:e.splice(t,1)),r.destroy()}),(t.playerHandler||(t.playerHandler=new ao)).queuePlayer(r,i),!0)}function po(e){return e[8]}function ho(e){return e[8]=[5,null,null,null,null]}function vo(e){return!!(8&e.flags)}function go(e){for(var t=so(),n=t[3]=[null],r=t[2]=[null],o=-1,i=0;i<e.length;i++){var a=e[i];if("number"==typeof a)o=a;else if(2===o)r.push(a,e[++i]);else if(1===o)n.push(a,!0);else if(3===o)break}return t}function yo(e,t,n){for(var r=1;r<e.length;){if(e[r]===t){var o=e[r+1];return void(null!=o&&0!=o||(e[r+1]=n))}r+=2}e.push(t,n)}function mo(e,t,n,r){for(var o=1;o<n.length;o+=2){var i=n[o+1];i&&(r?Co(e,n[o+0],!0,t,null):bo(e,n[o+0],i,t,null))}}function _o(e,t,n,r){for(var o=n;o<r;o+=4)if(Uo(e,o)===t)return o;return-1}function wo(e,t,n,r,o){var i=ei(e,o||null),a=function u(e,t,n,r){var o=e[1][4*t+1],i=e[4];return i[o+2+(r?i[o+0]:0)+n]}(e,i,t,r),s=Bo(e,a),l=Lo(e,a),c=Xo(e,a),f=n instanceof io?n.value:n;if($o(l,s,f)&&function d(e,t,n,r){return!e||(t?r<=n:n===r)}(s,f,c,i)){var p=2==(2&l),h=n instanceof io?new Jo(n,e[5],p?1:2):null,v=h?n.value:n,g=Mo(e,a),y=!1,m=h?g:0;if(Ao(e,h,g)){var _=So(e,h,g);m=h?_:0,y=!0}if((y||c!==i)&&Vo(e,a,m,i),c!==i){var w=Uo(e,a),b=ri(e,i);!function C(e,t,n){n?e[t]|=4:e[t]&=-5}(e,a,!(!b||!b(w)))}Do(e,a,v);var x=No(l),I=Bo(e,x);if(!I||$o(l,I,v)){var k=!1,E=!0;!Go(v,p)&&Go(I,p)&&(k=!0,E=!1),xo(e,x,k),xo(e,a,E),oi(e,i,!0),Qo(e,!0)}y&&Zo(e,!0)}}function bo(e,t,n,r,o,i,a){n=o&&n?o(t,n):n,i||a?(i&&i.setValue(t,n),a&&a.setValue(t,n)):n?(n=n.toString(),kr(r)?r.setStyle(e,t,n,xr.DashCase):e.style.setProperty(t,n)):kr(r)?r.removeStyle(e,t,xr.DashCase):e.style.removeProperty(t)}function Co(e,t,n,r,o,i){o||i?(o&&o.setValue(t,n),i&&i.setValue(t,n)):n?kr(r)?r.addClass(e,t):e.classList.add(t):kr(r)?r.removeClass(e,t):e.classList.remove(t)}function xo(e,t,n){var r=t>=9?t+0:t;n?e[r]|=1:e[r]&=-2}function Io(e,t){return 1==(1&e[t>=9?t+0:t])}function ko(e,t){return 2==(2&e[t>=9?t+0:t])}function Eo(e,t){return 4==(4&e[t>=9?t+0:t])}function Oo(e,t,n){return 63&e|t<<6|n<<20}function To(e,t){var n=Po(t);return(2&t?e[3]:e[2])[n]}function Po(e){return e>>6&16383}function No(e){var t=e>>20&16383;return t>=9?t:-1}function Ro(e){return No(e[0])}function jo(e,t,n){e[t+1]=n}function Do(e,t,n){e[t+2]=n}function Ao(e,t,n){var r=e[8];if(t){if(!r||0===n)return!0}else if(!r)return!1;return r[n]!==t}function So(e,t,n){var r=e[8]||ho(e);return n>0?r[n]=t:(r.splice(n=r[0],0,t,null),r[0]+=2),n}function Vo(e,t,n,r){var o=function i(e,t){return t<<16|e}(r,n);e[t+3]=o}function Mo(e,t){return e[t+3]>>16&65535}function Fo(e,t){var n=Mo(e,t);if(n){var r=e[8];if(r)return r[n]}return null}function Ho(e,t,n){e[0===t?t:t+0]=n}function Lo(e,t){return e[0===t?t:t+0]}function Bo(e,t){return e[t+2]}function Uo(e,t){return e[t+1]}function zo(e){return 16&e[0]}function Qo(e,t){xo(e,0,t)}function Zo(e,t){t?e[0]|=8:e[0]&=-9}function qo(e,t,n){for(var r=(n||0)+1;r<e.length;r+=4)if(e[r]==t)return r-1;return-1}function Ko(e,t,n){var r=Bo(e,t),o=Uo(e,t),i=Lo(e,t),a=Mo(e,t),u=i,s=Lo(e,n),l=No(u);l>=0&&Ho(e,l,Oo(c=Lo(e,l),Po(c),n));var c,f=No(s);f>=0&&Ho(e,f,Oo(c=Lo(e,f),Po(c),t)),Do(e,t,Bo(e,n)),jo(e,t,Uo(e,n)),Ho(e,t,Lo(e,n)),Vo(e,t,Mo(e,n),0),Do(e,n,r),jo(e,n,o),Ho(e,n,i),Vo(e,n,a,0)}function Wo(e,t,n,r,o,i,a,u){var s=t<e.length;e.splice(t,0,1|o|(n?2:0),r,i,0),Vo(e,t,u,a),s&&function l(e,t){for(var n=t;n<e.length;n+=4){var r=No(Lo(e,n));if(r>0){var o=Po(Lo(e,r));Ho(e,r,Oo((Io(e,r)?1:0)|(ko(e,r)?2:0)|(Eo(e,r)?4:0),o,n))}}}(e,t+4)}function Go(e,t){return t?!!e:null!==e}function Yo(e,t,n,r){var o,i=r&&r(t)?4:0;return n?(i|=2,o=ni(e[3],t)):o=ni(e[2],t),Oo(i,o=o>0?o+1:0,0)}function $o(e,t,n){return!(2&e)&&t&&n&&4&e?t.toString()!==n.toString():t!==n}var Jo=function(){function e(e,t,n){this._element=t,this._type=n,this._values={},this._dirty=!1,this._factory=e}return e.prototype.setValue=function(e,t){this._values[e]!==t&&(this._values[e]=t,this._dirty=!0)},e.prototype.buildPlayer=function(e,t){if(this._dirty){var n=this._factory.fn(this._element,this._type,this._values,t,e||null);return this._values={},this._dirty=!1,n}},e}();function Xo(e,t){return 65535&e[t+3]}function ei(e,t){var n=ti(e[1],t);return n>0?n/4:0}function ti(e,t){for(var n=0;n<e.length;n+=4)if(e[n]===t)return n;return-1}function ni(e,t){for(var n=1;n<e.length;n+=2)if(e[n]===t)return n;return-1}function ri(e,t){var n=e[1];return n[4*t+3]||n[3]||null}function oi(e,t,n){e[1][4*t+2]=n}function ii(e){var t=e[6];if(null==t){t="";for(var n=e[3],r=1;r<n.length;r+=2)n[r+1]&&(t+=(t.length?" ":"")+n[r]);e[6]=t}return t}
|
|
272
257
|
/**
|
|
273
258
|
* @license
|
|
274
259
|
* Copyright Google Inc. All Rights Reserved.
|
|
275
260
|
*
|
|
276
261
|
* Use of this source code is governed by an MIT-style license that can be
|
|
277
262
|
* found in the LICENSE file at https://angular.io/license
|
|
278
|
-
*/function Jo(e,t){var n=e[He];if(n.firstTemplatePass=!1,cn(!1),1!==t){var r=nn(),o=an();o||lt(e,n,r),function i(e){for(var t=Hr(e);null!==t;t=t[Ue])if(t.length<rt&&-1===t[dt])for(var n=t,r=0;r<n[pt].length;r++){var o=n[pt][r];ri(o,o[He],o[We],2)}}(e),function a(e){if(null!=e.contentQueries)for(var t=0;t<e.contentQueries.length;t+=2){var n=e.contentQueries[t];e.data[n].contentQueriesRefresh(n-rt,e.contentQueries[t+1])}}(n),o||ct(e,n.contentHooks,n.contentCheckHooks,r),function u(e,t){if(e.expandoInstructions){var n=t[qe]=e.expandoStartIndex;pn(n);for(var r=-1,o=-1,i=0;i<e.expandoInstructions.length;i++){var a=e.expandoInstructions[i];if("number"==typeof a){if(a<=0){o=-a;var u=e.expandoInstructions[++i];r=n+=Ve+u}else n+=a;pn(n)}else null!==a&&(t[qe]=n,a(2,_t(t[r]),o)),r++}}}(n,e)}!function s(e,t){if(null!=e)for(var n=0;n<e.length;n++)Ji(e[n],t)}(n.components,t)}function Xo(e,t,n,r,o,i,a,u){var s=t.blueprint.slice();return s[Le]=25|r,s[Be]=s[nt]=e,s[We]=n,s[Ye]=o||e&&e[Ye],s[$e]=i||e&&e[$e],s[Je]=a||e&&e[Je]||null,s[Ge]=u||e&&e[Ge]||null,s}function ei(e,t,n,r,o){var i=Gt(),a=i[He],u=e+rt;i[u]=n;var s=a.data[u];null==s&&(s=a.data[u]=ki(i,t,u,r,o,null));var l=$t(),c=en();return l&&(!c||null!=l.child||null===s.parent&&2!==l.type?c||(l.next=s):l.child=s),null==a.firstChild&&(a.firstChild=s),Jt(s),tn(!0),s}function ti(e,t){return null==t[He].node&&(t[He].node=ki(t,2,e,null,null,null)),t[Ze]=t[He].node}function ni(e){var t=e[He];t.firstTemplatePass&&(t.expandoStartIndex++,t.blueprint.push(null),t.data.push(null),e.push(null))}function ri(e,t,n,r){var o,i=en(),a=$t();if(tn(!0),Jt(null),64&e[Le])ia(Nt(e));else try{tn(!0),Jt(null),o=hn(e,e[Ze]),ci(),t.template(r,n),2&r?Jo(e,null):(e[He].firstTemplatePass=!1,cn(!1))}finally{gn(o,1==(1&r)),tn(i),Jt(a)}}function oi(e){return void 0===e&&(e=1),vn(e)}function ii(e,t,n,r){var o=e[Ye],i=hn(e,e[Ze]);try{o.begin&&o.begin(),r&&(ci(),r(n||ai(e),t)),Jo(e,n)}finally{o.end&&o.end(),gn(i)}}function ai(e){return 1&e[Le]?3:2}var ui=null;function si(){ui="http://www.w3.org/2000/svg"}function li(){ui="http://www.w3.org/1998/MathML/"}function ci(){ui=null}function fi(e,t,n,r){hi(e,t,n,r),Ci()}function di(e,t,n){var r=Gt(),o=r[He],i=r[$e].createComment("");Kr(i,ei(e,4,i,"ng-container",t||null),r),gi(o,r,n),Ln(i,r)}function pi(){var e=$t(),t=Gt(),n=t[He];en()?tn(!1):Jt(e=e.parent);var r=t[ze];r&&(t[ze]=r.addNode(e)),it(n,e)}function hi(e,t,n,r){var o=Gt(),i=o[He],a=vi(t),u=ei(e,3,a,t,n||null);n&&_i(a,n),Kr(a,u,o),gi(i,o,r),0===function s(){return Mt}()&&Ln(a,o),function l(){Mt++}()}function vi(e,t){var n=t||Gt()[$e];return Ir(n)?n.createElement(e,ui):null===ui?n.createElement(e):n.createElementNS(ui,e)}function gi(e,t,n,r){if(void 0===r&&(r=bt),function o(){return Lt}()){var i=$t();ln()&&function u(e,t,n,r,o){var i=o?{"":-1}:null;if(n){Bi(r,e.data.length,n.length);for(var a=0;a<n.length;a++)(u=n[a]).providersResolver&&u.providersResolver(u);for(Vi(e,r,n.length),a=0;a<n.length;a++){var u,s=e.data.length;Ui(e,t,u=n[a],u.factory),Li(e.data.length-1,u,i),ot(s,u.onInit,u.doCheck,e)}}i&&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)}}(r,o,i)}(e,t,function a(e,t,n){var r=e.directiveRegistry,o=null;if(r)for(var i=0;i<r.length;i++){var a=r[i];ro(n,a.selectors,!1)&&(o||(o=[]),kn(bn($t(),t),t,a.type),Et(a)?(1&n.flags&&hr(n),n.flags=1,o.unshift(a)):o.push(a))}return o}(e,t,i),i,n||null),function s(e,t,n){var r=n.directiveStart,o=n.directiveEnd;!ln()&&r<o&&bn(n,t);for(var i=r;i<o;i++){var a=e.data[i];Et(a)&&zi(t,n,a),Mi(t,Rn(e.data,t,i,n),a,i)}}(e,t,i),function l(e,t,n){for(var r=n.directiveStart,o=n.directiveEnd,i=e.expandoInstructions,a=ln(),u=r;u<o;u++){var s=e.data[u],l=t[u];if(s.hostBindings){var c=i.length;qt(s),s.hostBindings(1,l,n.index-rt),qt(null),c===i.length&&a&&i.push(s.hostBindings)}else a&&i.push(null)}}(e,t,i),function c(e,t,n){var r=t.localNames;if(r)for(var o=t.index+1,i=0;i<r.length;i+=2){var a=r[i+1],u=-1===a?n(t,e):e[a];e[o++]=u}}(t,i,r)}}function yi(e,t,n,r,o,i){return e.ngPrivateData||(e.ngPrivateData=mi(-1,e,t,n,r,o,i))}function mi(e,t,n,r,o,i,a){var u=rt+n,s=u+r,l=function c(e,t){var n=new Array(t).fill(null,0,e).fill(vr,e);return n[et]=-1,n[qe]=e,n}(u,s);return l[He]={id:e,blueprint:l,template:t,viewQuery:a,node:null,data:l.slice(),childIndex:-1,bindingStartIndex:u,expandoStartIndex:s,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null}}function _i(e,t){for(var n=Gt()[$e],r=Ir(n),o=0;o<t.length;){var i=t[o];if(1===i)break;if(i===xr)o+=2;else if(0===i){var a=t[o+1],u=t[o+2],s=t[o+3];r?n.setAttribute(e,u,s,a):e.setAttributeNS(a,u,s),o+=4}else s=t[o+1],co(i)?r&&n.setProperty(e,i,s):r?n.setAttribute(e,i,s):e.setAttribute(i,s),o+=2}}function wi(e,t){var n=e.createRenderer(null,null);return"string"==typeof t?Ir(n)?n.selectRootElement(t):n.querySelector(t):t}function bi(e,t,n){void 0===n&&(n=!1);var r=Gt(),o=$t(),i=r[He],a=i.firstTemplatePass&&(i.cleanup||(i.cleanup=[]));if(3===o.type){var u=bt(o,r),s=r[$e],l=(y=ja(r)).length,c=n;if(Ir(s)){var f=s.listen(u,e,t);y.push(t,f),c=l+1}else{var d=function p(e){return function t(n){!1===e(n)&&(n.preventDefault(),n.returnValue=!1)}}(t);u.addEventListener(e,d,n),y.push(d)}a&&a.push(e,o.index,l,c)}void 0===o.outputs&&(o.outputs=Oi(o,1));var h,v=o.outputs;if(v&&(h=v[e])){var g=h.length;if(g)for(var y=ja(r),m=0;m<g;m+=2){var _=r[h[m]][h[m+1]].subscribe(t),w=y.length;y.push(t,_),a&&a.push(e,o.index,w,-(w+1))}}}function Ci(){var e=$t();en()?tn(!1):Jt(e=e.parent);var t=Gt(),n=t[ze];n&&(t[ze]=n.addNode(e)),it(Gt()[He],e),function r(){Mt--}()}function xi(e,t,n,r){if(n!==vr){var o=Gt(),i=o[$e],a=wt(e,o);if(null==n)Ir(i)?i.removeAttribute(a,t):a.removeAttribute(t);else{var u=null==r?yt(n):r(n);Ir(i)?i.setAttribute(a,t,u):a.setAttribute(t,u)}}}function Ii(e,t,n,r,o){if(n!==vr){var i,a,u=Gt(),s=wt(e,u),l=Ct(e,u);if(!o&&(i=Pa(l))&&(a=i[t]))Ei(u,a,n),kt(l)&&function c(e,t){var n=xt(t,e);2&n[Le]||(n[Le]|=4)}(u,e+rt);else if(3===l.type){var f=u[$e];n=null!=r?r(n):n,Ir(f)?f.setProperty(s,t,n):co(t)||(s.setProperty?s.setProperty(t,n):s[t]=n)}}}function ki(e,t,n,r,o,i){var a=$t(),u=en()?a:a&&a.parent,s=u&&e&&u!==e[Ze]?u:null;return{type:t,index:n,injectorIndex:s?s.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,flags:0,providerIndexes:0,tagName:r,attrs:o,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:s,detached:null,stylingTemplate:null,projection:null}}function Ei(e,t,n){for(var r=0;r<t.length;r+=2)e[t[r]][t[r+1]]=n}function Oi(e,t){var n=Gt()[He],r=null,o=e.directiveStart,i=e.directiveEnd;if(i>o)for(var a=0===t,u=n.data,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 Ti(e,t,n,r){if(void 0!=r)return function o(e,t,n,r){var o=Gt(),i=wt(e,o),a=i.hostStylingHack.get(r).classDeclarations[t],u=o[$e];if(Ir(u))n?u.addClass(i,a):u.removeClass(i,a);else{var s=i.classList;n?s.add(a):s.remove(a)}}(e,t,n,r);var i=n instanceof io?n:!!n;!function a(e,t,n){yo(e,t+e[4],n)}(lo(e+rt,Gt()),t,i)}function Pi(e,t,n,r){if(void 0==r){var o=$t(),i=Pa(o);if(!o.stylingTemplate){var a=!(!i||!i.hasOwnProperty("class"));a&&(o.flags|=8),o.stylingTemplate=function u(e,t,n,r){var o=[null],i=so(null,n,o),a={},u={},s=0;if(t)for(var l=!1,c=0;c<t.length;c++)if(1===(h=t[c]))l=!0;else{var f=h;if(l){var d=t[++c];o.push(d),a[f]=o.length-1}else s++,a[f]=0}i[4]=s;var p=r?[]:null;if(e)for(l=!1,c=0;c<e.length;c++){var h;if(1===(h=e[c]))l=!0;else{var v=h;l?(d=e[++c],o.push(d),u[v]=o.length-1,p&&p.push(v)):u[v]=0}}var g=Object.keys(a),y=Object.keys(u),m=g.length,_=g.length+y.length,w=4*_*2+8;for(c=8;c<w;c++)i.push(null);var b=4*_+8;for(c=0;c<_;c++){var C=c>=m,x=(f=C?y[c-m]:g[c],C?u[f]:a[f]),I=o[x],k=4*c+b,E=4*c+8,O=Wo(f,C,n||null);Mo(i,E,Io(O,x,k)),No(i,E,f),Ro(i,E,null),Ao(i,E,0),Mo(i,k,Io(O|(null!==I?1:0),x,E)),No(i,k,f),Ro(i,k,null),Ao(i,k,0)}return Mo(i,3,Io(0,0,b)|(r?16:0)),Uo(i,o.length>1),p&&(i[6]=p.join(" ")),i}(e,t,n,a)}if(t&&t.length||e&&e.length){var s=o.index;if(Na(o)){var l=Gt(),c=lo(s,l);Ei(l,o.inputs.class,c[6])}Ni(s-rt)}}else nn()&&function f(e,t,n,r){var o=bt($t(),Gt()),i=o.hostStylingHack||(o.hostStylingHack=new Map),a=Di(e);i.set(r,{classDeclarations:a,styleDeclarations:Di(t),styleSanitizer:n}),function u(e,t){for(var n=Gt(),r=t.indexOf(1)+1,o=n[$e],i=r;i<t.length;i+=2){var a=t[i];!0===t[i+1]&&(Ir(o)?o.addClass(e,a):e.classList.add(a))}}(o,a)}(e||null,t||null,n||null,r)}function Ni(e,t){if(void 0==t){var n=Gt(),r=0!=(1&n[Le]);(function o(e,t,n,r,i,a){var u=0;if(function s(e){return bo(e,3)}(e)){for(var l=8&e[3],c=e[5],f=To(e),d=Po(e),p=Bo(e),h=8;h<e.length;h+=4)if(bo(e,h)){var v=Lo(e,h),g=Ho(e,h),y=Fo(e,h),m=Vo(e,h),_=!!(2&y),w=!_||!p,b=g;h<f&&!Ko(b,_)&&(b=Ho(e,Oo(y))),!Ko(b,_)&&w&&(b=ko(e,y)),(!r||b)&&(_?_o(c,v,!!b,t,i,m):mo(c,v,b,t,4&y?d:null,a,m)),wo(e,h,!1)}if(l){var C=Array.isArray(n)?Nt(n):n,x=po(e),I=x[0];for(h=1;h<I;h+=2){var k=x[h],E=h+1,O=x[E];if(k){var T=k.buildPlayer(O,r);void 0!==T&&(null!=T&&fo(x,C,c,T,E)&&u++,O&&O.destroy())}else O&&O.destroy()}zo(e,!1)}Uo(e,!1)}return u})(lo(e+rt,n),n[$e],n,r)>0&&oa(Nt(n),2)}}function Ri(e,t,n,r,o){var i=null;null!==n&&(i=r?yt(n)+r:n),void 0!=o?function a(e,t,n,r,o){var i=Gt(),a=wt(e,i);mo(a,a.hostStylingHack.get(o).styleDeclarations[t],n,i[$e],null)}(e,t,i,0,o):yo(lo(e+rt,Gt()),t,i)}function ji(e,t,n,r){if(void 0!=r)return function o(e,t,n,r){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var i=Gt(),a=Ct(e,i),u=lo(e+rt,i);if(Na(a)&&t!==vr){var s=u[6];Ei(i,a.inputs.class,(s.length?s+" ":"")+t)}!function l(e,t,n){n=n||null;var r=e[5],o=t instanceof io?new Yo(t,r,1):null,i=n instanceof io?new Yo(n,r,2):null,a=o?t.value:t,u=i?n.value:n,s=Bo(e)||a===vr||a===e[6],l=u===vr||u===e[7];if(!s||!l){e[6]=a,e[7]=u;var c=vo,f=!1,d=!1,p=o?1:0;jo(e,o,1)&&(Do(e,o,1),d=!0);var h=i?3:0;jo(e,i,3)&&(Do(e,i,3),d=!0),s||("string"==typeof a?(c=a.split(/\s+/),f=!0):c=a?Object.keys(a):vo);for(var v=a||go,g=u?Object.keys(u):vo,y=u||go,m=g.length,_=!1,w=To(e),b=0,C=g.length+c.length;w<e.length&&b<C;){var x=b>=m;if(!x&&!l||x&&!s){var I=x?b-m:b,k=x?c[I]:g[I],E=x?!!f||v[k]:y[k],O=x?p:h;if((F=Lo(e,w))===k){var T=Ho(e,w),P=Fo(e,w);Ao(e,w,O),Go(P,T,E)&&(Ro(e,w,E),d=d||!!O,Go(P,D=ko(e,P),E)&&(wo(e,w,!0),_=!0))}else{var N=Qo(e,k,w);if(N>0){var R=Ho(e,N),j=Fo(e,N);if(Zo(e,w,N),Go(j,R,E)){var D=ko(e,j);Ro(e,w,E),Go(j,D,E)&&(wo(e,w,!0),d=d||!!O,_=!0)}}else{var A=Wo(k,x,Po(e));d=d||!!O,qo(e,w,x,k,A,E,O),_=!0}}}w+=4,b++}for(;w<e.length;){var S=2==(2&(P=Fo(e,w)));(!S&&!l||S&&!s)&&Ko(T=Ho(e,w),S)&&(wo(e,w,!0),Ro(e,w,null),Ao(e,w,O=S?p:h),_=!0),w+=4}for(var V=Po(e);b<C;){var M=b>=m;if(!M&&!l||M&&!s){I=M?b-m:b;var F=M?c[I]:g[I];T=M?!!f||v[F]:y[F],P=1|Wo(F,M,V),e.push(P,F,T,O=M?p:h),_=!0}b++}_&&Uo(e,!0),d&&zo(e,!0)}}(u,t,n)}function Di(e){return e||[]}function Ai(e,t){var n=Gt(),r=Ar(t,n[$e]),o=ei(e,3,r,null,null);tn(!1),Kr(r,o,n)}function Si(e,t){if(t!==vr){var n=Gt(),r=wt(e,n),o=n[$e];Ir(o)?o.setValue(r,yt(t)):r.textContent=yt(t)}}function Vi(e,t,n){var r=-(t.index-rt),o=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,o,n)}function Mi(e,t,n,r){var o=$t();Fi(e,o,t,n),o&&o.attrs&&function i(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]}(r,t,n.inputs,o),n.contentQueries&&n.contentQueries(r),Et(n)&&(xt(o.index,e)[We]=t)}function Fi(e,t,n,r){var o=bt(t,e);Ln(n,e),o&&Ln(o,e),null!=r.attributes&&3==t.type&&_i(o,r.attributes)}function Hi(e){var t=Gt()[He];(t.components||(t.components=[])).push(e.index)}function Li(e,t,n){n&&(t.exportAs&&(n[t.exportAs]=e),t.template&&(n[""]=e))}function Bi(e,t,n){e.flags=1&e.flags,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ui(e,t,n,r){e.data.push(n);var o=new De(r,Et(n),null);e.blueprint.push(o),t.push(o)}function zi(e,t,n){var r=bt(t,e),o=yi(n.template,n.consts,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery),i=na(e,t.index,Xo(e,o,null,n.onPush?4:2,e[Ye],e[Ye].createRenderer(r,n)));i[Ze]=t,i[Qe]=e[t.index],e[t.index]=i,ln()&&Hi(t)}function Qi(e,t,n,r,o){return[o?-1:0,[],n,null,null,e,r,zr(t,n)]}function Zi(e,t,n,r,o,i,a,u){var s=Gt(),l=s[He],c=Ki(e,o||null,i||null);ln()&&(c.tViews=mi(-1,t,n,r,l.directiveRegistry,l.pipeRegistry,null)),gi(l,s,a,u);var f=s[ze],d=$t();Ln(bt(d,s),s),f&&(s[ze]=f.addNode(d)),it(l,c),tn(!1)}function qi(e){var t=Ki(e,null,null);ln()&&(t.tViews=[]),tn(!1)}function Ki(e,t,n){var r=Gt(),o=e+rt,i=r[$e].createComment(""),a=ei(e,0,i,t,n),u=r[o]=Qi(r[o],a,r,i);Kr(i,a,r),na(r,e+rt,u);var s=r[ze];return s&&(u[ze]=s.container()),a}function Wi(e){var t=Gt(),n=t[He];Jt(mt(n.data,e)),tn(!0),t[e+rt][dt]=0,an()||lt(t,n,nn())}function Gi(){var e=$t();en()?tn(!1):Jt(e=e.parent);for(var t=Gt()[e.index],n=t[dt];n<t[pt].length;)Fr(t,e,n)}function Yi(e,t,n){var r=Gt(),o=$t(),i=2===o.type?o.parent:o,a=r[i.index],u=function s(e,t,n,r){for(var o=e[pt],i=n;i<o.length;i++){var a=o[i][He].id;if(a===r)return o[i];if(!(a<r))break;Fr(e,t,i)}return null}(a,i,a[dt],e);return u?(tn(!0),hn(u,u[He].node)):(u=Xo(r,function l(e,t,n,r){var o=Gt()[He],i=r.tViews;return(e>=i.length||null==i[e])&&(i[e]=mi(e,null,t,n,o.directiveRegistry,o.pipeRegistry,null)),i[e]}(e,t,n,i),null,2),a[ze]&&(u[ze]=a[ze].createView()),ti(e,u),hn(u,u[He].node)),a&&(nn()&&Vr(u,a,r,a[dt],-1),a[dt]++),ai(u)}function $i(){var e=Gt(),t=e[Ze];Jo(e,null),gn(e[Be]),Jt(t),tn(!1)}function Ji(e,t){var n=xt(e,Gt());(function r(e){return 8==(8&e[Le])})(n)&&6&n[Le]&&(function o(e){for(var t=e[He],n=e.length;n<t.blueprint.length;n++)e[n]=t.blueprint[n]}(n),sa(n,n[We],t))}function Xi(e,t){var n=jr(Gt())[Ze];if(!n.projection)for(var r=n.projection=new Array(e?e.length+1:1).fill(null),o=r.slice(),i=n.child;null!==i;){var a=e?oo(i,e,t):0,u=i.next;o[a]?o[a].next=i:(r[a]=i,i.next=null),o[a]=i,i=u}}var ea=[];function ta(e,t,n){void 0===t&&(t=0);var r=Gt(),o=ei(e,1,null,null,n||null);null===o.projection&&(o.projection=t),tn(!1);for(var i=jr(r),a=i[Ze].projection[t],u=i[Be],s=-1;a;){if(1===a.type){var l=jr(u),c=l[Ze].projection[a.projection];if(c){ea[++s]=a,ea[++s]=u,a=c,u=l[Be];continue}}else a.flags|=2,$r(a,o,r,u);null===a.next&&u!==i[Be]&&(u=ea[s--],a=ea[s--]),a=a.next}}function na(e,t,n){var r=e[He],o=ln();return e[Xe]?e[Xe][Ue]=n:o&&(r.childIndex=t),e[Xe]=n,n}function ra(e){for(;e&&!(64&e[Le]);)e[Le]|=4,e=e[Be];e[Le]|=4,oa(e[We],1)}function oa(e,t){var n,r=0===e.flags;e.flags|=t,r&&e.clean==$o&&(e.clean=new Promise(function(e){return n=e}),e.scheduler(function(){if(1&e.flags&&(e.flags&=-2,ia(e)),2&e.flags){e.flags&=-3;var t=e.playerHandler;t&&t.flushPlayers()}e.clean=$o,n(null)}))}function ia(e){for(var t=0;t<e.components.length;t++){var n=e.components[t];ii(jt(n),n,2)}}function aa(e){sa(Hn(e),e,null)}function ua(e){ia(e[We])}function sa(e,t,n){var r=e[He],o=hn(e,e[Ze]),i=r.template,a=r.viewQuery;try{ci(),function u(e,t,n,r){e&&(1===t||null===t&&1&n)&&e(1,r)}(a,n,e[Le],t),i(n||ai(e),t),Jo(e,n),function s(e,t,n){e&&2&t&&e(2,n)}(a,e[Le],t)}finally{gn(o,1===n)}}function la(e){ra(Hn(e))}function ca(e){var t=Gt();return mr(t,t[qe]++,e)?e:vr}function fa(e){if(ln()){var t=Gt(),n=t[He];!function o(e,t,n){var r=e.expandoInstructions,o=r.length;o>=2&&r[o-2]===t.hostBindings?r[o-1]=r[o-1]+n:r.push(t.hostBindings,n)}(n,function r(){return Zt}(),e),function i(e,t,n){for(var r=0;r<n;r++)t.push(vr),e.blueprint.push(vr),e.data.push(null)}(n,t,e)}}function da(e){for(var t=!1,n=Gt(),r=n[qe],o=1;o<e.length;o+=2)mr(n,r++,e[o])&&(t=!0);if(n[qe]=r,!t)return vr;var i=e[0];for(o=1;o<e.length;o+=2)i+=yt(e[o])+e[o+1];return i}function pa(e,t,n){var r=Gt(),o=mr(r,r[qe],t);return r[qe]+=1,o?e+yt(t)+n:vr}function ha(e,t,n,r,o){var i=Gt(),a=_r(i,i[qe],t,r);return i[qe]+=2,a?e+yt(t)+n+yt(r)+o:vr}function va(e,t,n,r,o,i,a){var u=Gt(),s=wr(u,u[qe],t,r,i);return u[qe]+=3,s?e+yt(t)+n+yt(r)+o+yt(i)+a:vr}function ga(e,t,n,r,o,i,a,u,s){var l=Gt(),c=br(l,l[qe],t,r,i,u);return l[qe]+=4,c?e+yt(t)+n+yt(r)+o+yt(i)+a+yt(u)+s:vr}function ya(e,t,n,r,o,i,a,u,s,l,c){var f=Gt(),d=f[qe],p=br(f,d,t,r,i,u);return p=mr(f,d+4,l)||p,f[qe]+=5,p?e+yt(t)+n+yt(r)+o+yt(i)+a+yt(u)+s+yt(l)+c:vr}function ma(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=Gt(),h=p[qe],v=br(p,h,t,r,i,u);return v=_r(p,h+4,l,f)||v,p[qe]+=6,v?e+yt(t)+n+yt(r)+o+yt(i)+a+yt(u)+s+yt(l)+c+yt(f)+d:vr}function _a(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h){var v=Gt(),g=v[qe],y=br(v,g,t,r,i,u);return y=wr(v,g+4,l,f,p)||y,v[qe]+=7,y?e+yt(t)+n+yt(r)+o+yt(i)+a+yt(u)+s+yt(l)+c+yt(f)+d+yt(p)+h:vr}function wa(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,g){var y=Gt(),m=y[qe],_=br(y,m,t,r,i,u);return _=br(y,m+4,l,f,p,v)||_,y[qe]+=8,_?e+yt(t)+n+yt(r)+o+yt(i)+a+yt(u)+s+yt(l)+c+yt(f)+d+yt(p)+h+yt(v)+g:vr}function ba(e,t){var n=Gt(),r=n[He],o=e+rt;o>=r.data.length&&(r.data[o]=null),n[o]=t}function Ca(e){return mt(function t(){return rn}(),e)}function xa(e){return Gt()[tt][e]}function Ia(e){return mt(Gt(),e)}function ka(t,n){return void 0===n&&(n=e.InjectFlags.Default),t=ar(t),On($t(),Gt(),t,n)}function Ea(e){return En($t(),e)}function Oa(e,t){var n=Gt(),r=n[He],o=(n[tt]||(n[tt]=[])).push(e);if(ln()){var i=r.contentQueries||(r.contentQueries=[]);t!==(r.contentQueries.length?r.contentQueries[r.contentQueries.length-2]:-1)&&i.push(t,o-1)}}var Ta=$o;function Pa(e){return e?(void 0===e.inputs&&(e.inputs=Oi(e,0)),e.inputs):null}function Na(e){return 8&e.flags}function Ra(){return Gt()}function ja(e){return e[Ke]||(e[Ke]=[])}function Da(e){return e[He].cleanup||(e[He].cleanup=[])}
|
|
263
|
+
*/var ai=Promise.resolve(null);function ui(e){var t=e[be];if(t.firstTemplatePass=!1,hn(!1),!un(e)){var n=cn();Ut(e,t,n),function r(e){for(var t=Hr(e);null!==t;t=t[Ie])if(t.length<He&&-1===t[Le])for(var n=t,r=0;r<n[Be].length;r++){var o=n[Be][r];di(o,o[be],o[Ne])}}(e),function o(e){if(null!=e.contentQueries)for(var t=0;t<e.contentQueries.length;t+=2){var n=e.contentQueries[t];e.data[n].contentQueriesRefresh(n-He,e.contentQueries[t+1])}}(t),zt(e,t.contentHooks,t.contentCheckHooks,n),function i(e,t){if(e.expandoInstructions){var n=t[Te]=e.expandoStartIndex;yn(n);for(var r=-1,o=-1,i=0;i<e.expandoInstructions.length;i++){var a=e.expandoInstructions[i];if("number"==typeof a){if(a<=0){o=-a;var u=e.expandoInstructions[++i];r=n+=We+u}else n+=a;yn(n)}else null!==a&&(t[Te]=n,a(2,Xe(t[r]),o)),r++}}}(t,e)}!function a(e){if(null!=e)for(var t=0;t<e.length;t++)(function n(e){return 16==(16&e[Ce])})(o=rt(e[t],Xt()))&&12&o[Ce]&&(function r(e){for(var t=e[be],n=e.length;n<t.blueprint.length;n++)e[n]=t.blueprint[n]}(o),wa(o,o[Ne]));var o}(t.components)}function si(e,t,n,r,o,i,a,u){var s=t.blueprint.slice();return s[Ce]=51|r,s[xe]=s[Fe]=e,s[Ne]=n,s[je]=o||e&&e[je],s[De]=i||e&&e[De],s[Ae]=a||e&&e[Ae]||null,s[Re]=u||e&&e[Re]||null,s}function li(e,t,n,r,o){var i=Xt(),a=i[be],u=e+He;i[u]=n;var s=a.data[u];null==s&&(s=a.data[u]=Mi(i,t,u,r,o,null));var l=tn(),c=on();return l&&(!c||null!=l.child||null===s.parent&&2!==l.type?c||(l.next=s):l.child=s),null==a.firstChild&&(a.firstChild=s),nn(s),an(!0),s}function ci(e,t){return null==t[be].node&&(t[be].node=Mi(t,2,e,null,null,null)),t[Oe]=t[be].node}function fi(e){var t=e[be];t.firstTemplatePass&&(t.expandoStartIndex++,t.blueprint.push(null),t.data.push(null),e.push(null))}function di(e,t,n){var r,o=on(),i=tn();if(an(!0),nn(null),128&e[Ce])ga(ct(e));else try{an(!0),nn(null),r=mn(e,e[Oe]),_i(),t.template(vi(e),n),e[be].firstTemplatePass=!1,hn(!1),ui(e)}finally{wn(r),an(o),nn(i)}}function pi(e){return void 0===e&&(e=1),_n(e)}function hi(e,t,n){var r=e[je],o=mn(e,e[Oe]),i=!cn();try{i&&r.begin&&r.begin(),un(e)&&(n&&(_i(),n(1,t)),ui(e),e[Ce]&=-2),n&&n(2,t),ui(e)}finally{i&&r.end&&r.end(),wn(o)}}function vi(e){return un(e)?1:2}var gi=null;function yi(){gi="http://www.w3.org/2000/svg"}function mi(){gi="http://www.w3.org/1998/MathML/"}function _i(){gi=null}function wi(e,t,n,r){xi(e,t,n,r),Ri()}function bi(e,t,n){var r=Xt(),o=r[be],i=r[De].createComment("");Kr(i,li(e,4,i,"ng-container",t||null),r),ki(o,r,n),Qn(i,r)}function Ci(){var e=tn(),t=Xt(),n=t[be];on()?an(!1):nn(e=e.parent);var r=t[ke];r&&(t[ke]=r.addNode(e)),Ft(n,e)}function xi(e,t,n,r){var o=Xt(),i=o[be],a=Ii(t),u=li(e,3,a,t,n||null);if(n&&(i.firstTemplatePass&&!u.stylingTemplate&&function s(e){for(var t=0;t<e.length;t++){var n=e[t];if(1==n||2==n)return!0}return!1}(n)&&(u.stylingTemplate=go(n)),Ti(a,n)),Kr(a,u,o),ki(i,o,r),0===function l(){return Pt}()&&Qn(a,o),function c(){Pt++}(),i.firstTemplatePass){var f=Ba(u);f&&f.hasOwnProperty("class")&&(u.flags|=8)}u.stylingTemplate&&0==(8&u.flags)&&function d(e,t,n){mo(e,n,t[3],!0),mo(e,n,t[2],!1)}(a,u.stylingTemplate,o[De])}function Ii(e,t){var n=t||Xt()[De];return kr(n)?n.createElement(e,gi):null===gi?n.createElement(e):n.createElementNS(gi,e)}function ki(e,t,n,r){if(void 0===r&&(r=tt),function o(){return Zt}()){var i=tn();pn()&&function u(e,t,n,r,o){var i=o?{"":-1}:null;if(n){Xi(r,e.data.length,n.length);for(var a=0;a<n.length;a++)(u=n[a]).providersResolver&&u.providersResolver(u);for(Wi(e,r,n.length),a=0;a<n.length;a++){var u,s=e.data.length;ea(e,t,u=n[a],u.factory),Ji(e.data.length-1,u,i),Mt(s,u.onInit,u.doCheck,e)}}i&&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)}}(r,o,i)}(e,t,function a(e,t,n){var r=e.directiveRegistry,o=null;if(r)for(var i=0;i<r.length;i++){var a=r[i];ro(n,a.selectors,!1)&&(o||(o=[]),Pn(kn(tn(),t),t,a.type),at(a)?(1&n.flags&&vr(n),n.flags=1,o.unshift(a)):o.push(a))}return o}(e,t,i),i,n||null),function s(e,t,n){var r=n.directiveStart,o=n.directiveEnd;!pn()&&r<o&&kn(n,t);for(var i=r;i<o;i++){var a=e.data[i];at(a)&&ta(t,n,a),Gi(t,Sn(e.data,t,i,n),a,i)}}(e,t,i),function l(e,t,n){for(var r=n.directiveStart,o=n.directiveEnd,i=e.expandoInstructions,a=pn(),u=r;u<o;u++){var s=e.data[u],l=t[u];if(s.hostBindings){var c=i.length;Yt(s),s.hostBindings(1,l,n.index-He),Yt(null),c===i.length&&a&&i.push(s.hostBindings)}else a&&i.push(null)}}(e,t,i),function c(e,t,n){var r=t.localNames;if(r)for(var o=t.index+1,i=0;i<r.length;i+=2){var a=r[i+1],u=-1===a?n(t,e):e[a];e[o++]=u}}(t,i,r)}}function Ei(e,t,n,r,o,i){return e.ngPrivateData||(e.ngPrivateData=Oi(-1,e,t,n,r,o,i))}function Oi(e,t,n,r,o,i,a){var u=He+n,s=u+r,l=function c(e,t){var n=new Array(t).fill(null,0,e).fill(gr,e);return n[Ve]=-1,n[Te]=e,n}(u,s);return l[be]={id:e,blueprint:l,template:t,viewQuery:a,node:null,data:l.slice(),childIndex:-1,bindingStartIndex:u,expandoStartIndex:s,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof o?o():o,pipeRegistry:"function"==typeof i?i():i,firstChild:null}}function Ti(e,t){for(var n=Xt()[De],r=kr(n),o=0;o<t.length;){var i=t[o++];if("number"==typeof i){if(0!==i)break;var a=t[o++],u=t[o++],s=t[o++];r?n.setAttribute(e,u,s,a):e.setAttributeNS(a,u,s)}else s=t[o++],i!==Ir&&(co(i)?r&&n.setProperty(e,i,s):r?n.setAttribute(e,i,s):e.setAttribute(i,s))}}function Pi(e,t){var n=e.createRenderer(null,null);return"string"==typeof t?kr(n)?n.selectRootElement(t):n.querySelector(t):t}function Ni(e,t,n){void 0===n&&(n=!1);var r=Xt(),o=tn(),i=r[be],a=i.firstTemplatePass&&(i.cleanup||(i.cleanup=[]));if(3===o.type){var u=tt(o,r),s=r[De],l=(y=za(r)).length,c=n;if(kr(s)){var f=s.listen(u,e,t);y.push(t,f),c=l+1}else{var d=function p(e){return function t(n){!1===e(n)&&(n.preventDefault(),n.returnValue=!1)}}(t);u.addEventListener(e,d,n),y.push(d)}a&&a.push(e,o.index,l,c)}void 0===o.outputs&&(o.outputs=Hi(o,1));var h,v=o.outputs;if(v&&(h=v[e])){var g=h.length;if(g)for(var y=za(r),m=0;m<g;m+=2){var _=r[h[m]][h[m+1]].subscribe(t),w=y.length;y.push(t,_),a&&a.push(e,o.index,w,-(w+1))}}}function Ri(){var e=tn();on()?an(!1):nn(e=e.parent);var t=Xt(),n=t[ke];if(n&&(t[ke]=n.addNode(e)),Ft(Xt()[be],e),function r(){Pt--}(),vo(e)){var o=lo(e.index,t);Fi(t,e.inputs.class,ii(o))}}function ji(e,t,n,r){if(n!==gr){var o=Xt(),i=o[De],a=et(e,o);if(null==n)kr(i)?i.removeAttribute(a,t):a.removeAttribute(t);else{var u=null==r?$e(n):r(n);kr(i)?i.setAttribute(a,t,u):a.setAttribute(t,u)}}}function Di(e,t,n,r,o){Vi(e,t,n,r,o)}function Ai(e,t,n,r,o){Vi(e,t,n,r,o,Si)}function Si(e,t){return t[e.index][De]}function Vi(e,t,n,r,o,i){if(n!==gr){var a,u,s=Xt(),l=et(e,s),c=nt(e,s);if(!o&&(a=Ba(c))&&(u=a[t]))Fi(s,u,n),it(c)&&function f(e,t){var n=rt(t,e);4&n[Ce]||(n[Ce]|=8)}(s,e+He);else if(3===c.type){var d=i?i(c,s):s[De];n=null!=r?r(n):n,kr(d)?d.setProperty(l,t,n):co(t)||(l.setProperty?l.setProperty(t,n):l[t]=n)}}}function Mi(e,t,n,r,o,i){var a=tn(),u=on()?a:a&&a.parent,s=u&&e&&u!==e[Oe]?u:null;return{type:t,index:n,injectorIndex:s?s.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,flags:0,providerIndexes:0,tagName:r,attrs:o,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:i,next:null,child:null,parent:s,detached:null,stylingTemplate:null,projection:null}}function Fi(e,t,n){for(var r=0;r<t.length;r+=2)e[t[r]][t[r+1]]=n}function Hi(e,t){var n=Xt()[be],r=null,o=e.directiveStart,i=e.directiveEnd;if(i>o)for(var a=0===t,u=n.data,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 Li(e,t,n,r){var o=tn();o.stylingTemplate||(o.stylingTemplate=so()),function i(e,t,n,r,o,a){if(!(32&e[0])){var u=function s(e,t,n){var r,o=e[1],i=e[4].length,a=ti(o,t);if(-1===a)r=o.length/4,o.push(t,i,!1,n||null);else{if(o[a+1]>=0)return-1;r=a/4,o[a+1]=i,o[a+3]=n||null}return r}(e,t,o);if(-1!==u){var l=e[4],c=l[1],f=l[0],d=4*f,p=9+d,h=p+4*c,v=h+d,g=l.length;l.push(r?r.length:0,n?n.length:0);var y=0,m=[];if(r&&r.length)for(var _=0;_<r.length;_++){var w=r[_];-1==(x=_o(e,w,9,p))&&(x=p+y,y+=4,m.push(w)),l.push(x)}var b=[];if(n&&n.length)for(var C=0;C<n.length;C++){var x,I=n[C];-1==(x=_o(e,I,p,h))?(x=h+y,y+=4,b.push(I)):x+=4*m.length,l.push(x)}var k=2;if(m.length)for(;k<g;){var E=l[k+0],O=l[k+1];if(O)for(var T=k+2+E,P=T;P<T+O;P++)l[P]+=4*m.length;k+=2+(E+O)}for(var N=b.length+m.length,R=9;R<e.length;R+=4){var j=R>=h,D=R>=(j?v:p),A=Lo(e,R),S=Po(A),V=No(A);Ho(e,R,Oo(A,S,V+=j?D?4*m.length:0:4*N+4*(D?m.length:0)))}for(var M=0;M<4*m.length;M++)e.splice(v,0,null),e.splice(p,0,null),p++,h++,v+=2;for(var F=0;F<4*b.length;F++)e.splice(h,0,null),e.push(null),h++,v++;for(var H=e[3],L=e[2],B=0;B<N;B++){var U=B>=m.length,z=U?B-m.length:B,Q=U?b[z]:m[z],Z=void 0,q=void 0;U?(Z=v+4*(c+z),q=p+4*(c+z)):(Z=h+4*(f+z),q=9+4*(f+z));var K=U?H:L,W=ni(K,Q);-1===W?(W=K.length+1,K.push(Q,!U&&null)):W+=1;var G=Yo(e,Q,U,o||null);Ho(e,q,Oo(G,W,Z)),jo(e,q,Q),Do(e,q,null),Vo(e,q,0,u),Ho(e,Z,Oo(G,W,q)),jo(e,Z,Q),Do(e,Z,null),Vo(e,Z,0,u)}l[1]=c+b.length,l[0]=f+m.length,Ho(e,0,Oo(0,0,h)|(a?16:0))}}}(o.stylingTemplate,r||null,e,t,n,vo(o))}function Bi(e,t){var n=tn();n.stylingTemplate||(n.stylingTemplate=go(t)),function r(e,t,n){var r=e[1];if(-1==ti(r,n)){r.push(n,-1,!1,null);for(var o=null,i=null,a=-1,u=0;u<t.length;u++){var s=t[u];"number"==typeof s?a=s:1==a?yo(o=o||e[3],s,!0):2==a&&yo(i=i||e[2],s,t[++u])}}}(n.stylingTemplate,t,e)}function Ui(e,t){var n=Xt(),r=0!=(2&n[Ce]);(function o(e,t,n,r,i,a,u){var s=0,l=ei(e,u||null);if(function c(e){return Io(e,0)}(e)&&function f(e,t){return e[1][4*t+2]}(e,l)){for(var d=8&e[0],p=e[5],h=Ro(e),v=zo(e),g=!1,y=9;y<e.length;y+=4)if(Io(e,y)){var m=Lo(e,y),_=Xo(e,y);if(l!==_){g=!0;continue}var w=Uo(e,y),b=Bo(e,y),C=4&m?ri(e,_):null,x=Fo(e,y),I=!!(2&m),k=!I||!v,E=b;y<h&&!Go(E,I)&&(E=Bo(e,No(m))),I||Go(E,I)||!k||(E=To(e,m)),(!r||E)&&(I?Co(p,w,!!E,t,i,x):bo(p,w,E,t,C,a,x)),xo(e,y,!1)}if(d){var O=Array.isArray(n)?ct(n):n,T=po(e),P=T[0];for(y=1;y<P;y+=2){var N=T[y],R=y+1,j=T[R];if(N){var D=N.buildPlayer(j,r);void 0!==D&&(null!=D&&fo(T,O,p,D,R)&&s++,j&&j.destroy())}else j&&j.destroy()}Zo(e,!1)}oi(e,l,!1),Qo(e,g)}return s})(lo(e+He,n),n[De],n,r,null,null,t)>0&&va(ct(n),2)}function zi(e,t,n,r,o){var i=null;null!==n&&(i=r?$e(n)+r:n),function a(e,t,n,r){wo(e,t,n,!1,r)}(lo(e+He,Xt()),t,i,o)}function Qi(e,t,n,r){var o=n instanceof io?n:!!n;!function i(e,t,n,r){wo(e,t,n,!0,r)}(lo(e+He,Xt()),t,o,r)}function Zi(e,t,n,r){if(void 0!=r)return function o(e,t,n,r){throw new Error("unimplemented. Should not be needed by ViewEngine compatibility")}();var i=Xt(),a=nt(e,i),u=lo(e+He,i);if(vo(a)&&t!==gr){var s=ii(u);Fi(i,a.inputs.class,(s.length?s+" ":"")+t)}else!function l(e,t,n,r){n=n||null;var o=ei(e,r||null),i=e[5],a=t instanceof io?new Jo(t,i,1):null,u=n instanceof io?new Jo(n,i,2):null,s=a?t.value:t,l=u?n.value:n,c=zo(e)||s===gr||s===e[6],f=l===gr||l===e[7];if(!c||!f){e[6]=s,e[7]=l;var d=ae,p=!1,h=!1,v=a?1:0;Ao(e,a,1)&&(So(e,a,1),h=!0);var g=u?3:0;Ao(e,u,3)&&(So(e,u,3),h=!0),c||("string"==typeof s?(d=s.split(/\s+/),p=!0):d=s?Object.keys(s):ae);for(var y=s||ie,m=l?Object.keys(l):ae,_=l||ie,w=m.length,b=!1,C=Ro(e),x=0,I=m.length+d.length;C<e.length&&x<I;){if(!(M=x>=w)&&!f||M&&!c){var k=M?x-w:x,E=M?d[k]:m[k],O=M?!!p||y[E]:_[E],T=M?v:g;if((F=Uo(e,C))===E){var P=Bo(e,C),N=Lo(e,C);if(Vo(e,C,T,o),$o(N,P,O)){Do(e,C,O),h=h||!!T;var R=To(e,N);(null!=P||$o(N,R,O))&&(xo(e,C,!0),b=!0)}}else{var j=qo(e,E,C);if(j>0){var D=Bo(e,j),A=Lo(e,j);Ko(e,C,j),$o(A,D,O)&&(R=To(e,A),Do(e,C,O),(null!=D||$o(A,R,O))&&(xo(e,C,!0),h=h||!!T,b=!0))}else{var S=Yo(e,E,M,ri(e,o));h=h||!!T,Wo(e,C,M,E,S,O,o,T),b=!0}}}C+=4,x++}for(;C<e.length;)(!(M=2==(2&(N=Lo(e,C))))&&!f||M&&!c)&&Go(P=Bo(e,C),M)&&(xo(e,C,!0),Do(e,C,null),Vo(e,C,T=M?v:g,o),b=!0),C+=4;for(var V=ri(e,o);x<I;){var M;if(!(M=x>=w)&&!f||M&&!c){k=M?x-w:x;var F=M?d[k]:m[k],H=(P=M?!!p||y[F]:_[F],N=1|Yo(e,F,M,V),T=M?v:g,e.length);e.push(N,F,P,0),Vo(e,H,T,o),b=!0}x++}b&&(Qo(e,!0),oi(e,o,!0)),h&&Zo(e,!0)}}(u,t,n)}function qi(e,t){var n=Xt(),r=Ar(t,n[De]),o=li(e,3,r,null,null);an(!1),Kr(r,o,n)}function Ki(e,t){if(t!==gr){var n=Xt(),r=et(e,n),o=n[De];kr(o)?o.setValue(r,$e(t)):r.textContent=$e(t)}}function Wi(e,t,n){var r=-(t.index-He),o=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,o,n)}function Gi(e,t,n,r){var o=tn();Yi(e,o,t,n),o&&o.attrs&&function i(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(3===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]}(r,t,n.inputs,o),n.contentQueries&&n.contentQueries(r),at(n)&&(rt(o.index,e)[Ne]=t)}function Yi(e,t,n,r){var o=tt(t,e);Qn(n,e),o&&Qn(o,e),null!=r.attributes&&3==t.type&&Ti(o,r.attributes)}function $i(e){var t=Xt()[be];(t.components||(t.components=[])).push(e.index)}function Ji(e,t,n){n&&(t.exportAs&&(n[t.exportAs]=e),t.template&&(n[""]=e))}function Xi(e,t,n){e.flags=1&e.flags,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ea(e,t,n,r){e.data.push(n);var o=new we(r,at(n),null);e.blueprint.push(o),t.push(o)}function ta(e,t,n){var r=tt(t,e),o=Ei(n.template,n.consts,n.vars,n.directiveDefs,n.pipeDefs,n.viewQuery),i=pa(e,t.index,si(e,o,null,n.onPush?8:4,e[je],e[je].createRenderer(r,n)));i[Oe]=t,i[Ee]=e[t.index],e[t.index]=i,pn()&&$i(t)}function na(e,t,n,r,o){return[o?-1:0,[],n,null,null,e,r,zr(t,n)]}function ra(e,t,n,r,o,i,a,u){var s=Xt(),l=s[be],c=ia(e,o||null,i||null);pn()&&(c.tViews=Oi(-1,t,n,r,l.directiveRegistry,l.pipeRegistry,null)),ki(l,s,a,u);var f=s[ke],d=tn();Qn(tt(d,s),s),f&&(s[ke]=f.addNode(d)),Ft(l,c),an(!1)}function oa(e){var t=ia(e,null,null);pn()&&(t.tViews=[]),an(!1)}function ia(e,t,n){var r=Xt(),o=e+He,i=r[De].createComment(""),a=li(e,0,i,t,n),u=r[o]=na(r[o],a,r,i);Kr(i,a,r),pa(r,e+He,u);var s=r[ke];return s&&(u[ke]=s.container()),a}function aa(e){var t=Xt(),n=t[be];nn(Je(n.data,e)),an(!0),t[e+He][Le]=0,Ut(t,n,cn())}function ua(){var e=tn();on()?an(!1):nn(e=e.parent);for(var t=Xt()[e.index],n=t[Le];n<t[Be].length;)Fr(t,e,n)}function sa(e,t,n){var r=Xt(),o=tn(),i=2===o.type?o.parent:o,a=r[i.index],u=function s(e,t,n,r){for(var o=e[Be],i=n;i<o.length;i++){var a=o[i][be].id;if(a===r)return o[i];if(!(a<r))break;Fr(e,t,i)}return null}(a,i,a[Le],e);return u?(an(!0),mn(u,u[be].node)):(u=si(r,function l(e,t,n,r){var o=Xt()[be],i=r.tViews;return(e>=i.length||null==i[e])&&(i[e]=Oi(e,null,t,n,o.directiveRegistry,o.pipeRegistry,null)),i[e]}(e,t,n,i),null,4),a[ke]&&(u[ke]=a[ke].createView()),ci(e,u),mn(u,u[be].node)),a&&(un(u)&&Vr(u,a,r,a[Le],-1),a[Le]++),un(u)?3:2}function la(){var e=Xt(),t=e[Oe];un(e)&&(ui(e),e[Ce]&=-2),ui(e),wn(e[xe]),nn(t),an(!1)}function ca(e,t){var n=wt(Xt())[Oe];if(!n.projection)for(var r=n.projection=new Array(e?e.length+1:1).fill(null),o=r.slice(),i=n.child;null!==i;){var a=e?oo(i,e,t):0,u=i.next;o[a]?o[a].next=i:(r[a]=i,i.next=null),o[a]=i,i=u}}var fa=[];function da(e,t,n){void 0===t&&(t=0);var r=Xt(),o=li(e,1,null,null,n||null);null===o.projection&&(o.projection=t),an(!1);for(var i=wt(r),a=i[Oe].projection[t],u=i[xe],s=-1;a;){if(1===a.type){var l=wt(u),c=l[Oe].projection[a.projection];if(c){fa[++s]=a,fa[++s]=u,a=c,u=l[xe];continue}}else a.flags|=2,$r(a,o,r,u);null===a.next&&u!==i[xe]&&(u=fa[s--],a=fa[s--]),a=a.next}}function pa(e,t,n){var r=e[be],o=pn();return e[Se]?e[Se][Ie]=n:o&&(r.childIndex=t),e[Se]=n,n}function ha(e){for(;e&&!(128&e[Ce]);)e[Ce]|=8,e=e[xe];e[Ce]|=8,va(e[Ne],1)}function va(e,t){var n,r=0===e.flags;e.flags|=t,r&&e.clean==ai&&(e.clean=new Promise(function(e){return n=e}),e.scheduler(function(){if(1&e.flags&&(e.flags&=-2,ga(e)),2&e.flags){e.flags&=-3;var t=e.playerHandler;t&&t.flushPlayers()}e.clean=ai,n(null)}))}function ga(e){for(var t=0;t<e.components.length;t++){var n=e.components[t];hi(dt(n),n)}}function ya(e){ma(zn(e),e)}function ma(e,t){var n=e[je];n.begin&&n.begin(),un(e)&&wa(e,t),wa(e,t),n.end&&n.end()}function _a(e){ga(e[Ne])}function wa(e,t){var n=e[be],r=mn(e,e[Oe]),o=n.template,i=n.viewQuery;try{_i(),function a(e,t,n){e&&un(t)&&e(1,n)}(i,e,t),o(vi(e),t),ui(e),function u(e,t,n){e&&!un(t)&&e(2,n)}(i,e,t)}finally{wn(r)}}function ba(e){ha(zn(e))}function Ca(e){var t=Xt();return _r(t,t[Te]++,e)?e:gr}function xa(e){if(pn()){var t=Xt(),n=t[be];!function o(e,t,n){var r=e.expandoInstructions,o=r.length;o>=2&&r[o-2]===t.hostBindings?r[o-1]=r[o-1]+n:r.push(t.hostBindings,n)}(n,function r(){return Gt}(),e),function i(e,t,n){for(var r=0;r<n;r++)t.push(gr),e.blueprint.push(gr),e.data.push(null)}(n,t,e)}}function Ia(e){for(var t=!1,n=Xt(),r=n[Te],o=1;o<e.length;o+=2)_r(n,r++,e[o])&&(t=!0);if(n[Te]=r,!t)return gr;var i=e[0];for(o=1;o<e.length;o+=2)i+=$e(e[o])+e[o+1];return i}function ka(e,t,n){var r=Xt(),o=_r(r,r[Te],t);return r[Te]+=1,o?e+$e(t)+n:gr}function Ea(e,t,n,r,o){var i=Xt(),a=wr(i,i[Te],t,r);return i[Te]+=2,a?e+$e(t)+n+$e(r)+o:gr}function Oa(e,t,n,r,o,i,a){var u=Xt(),s=br(u,u[Te],t,r,i);return u[Te]+=3,s?e+$e(t)+n+$e(r)+o+$e(i)+a:gr}function Ta(e,t,n,r,o,i,a,u,s){var l=Xt(),c=Cr(l,l[Te],t,r,i,u);return l[Te]+=4,c?e+$e(t)+n+$e(r)+o+$e(i)+a+$e(u)+s:gr}function Pa(e,t,n,r,o,i,a,u,s,l,c){var f=Xt(),d=f[Te],p=Cr(f,d,t,r,i,u);return p=_r(f,d+4,l)||p,f[Te]+=5,p?e+$e(t)+n+$e(r)+o+$e(i)+a+$e(u)+s+$e(l)+c:gr}function Na(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=Xt(),h=p[Te],v=Cr(p,h,t,r,i,u);return v=wr(p,h+4,l,f)||v,p[Te]+=6,v?e+$e(t)+n+$e(r)+o+$e(i)+a+$e(u)+s+$e(l)+c+$e(f)+d:gr}function Ra(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h){var v=Xt(),g=v[Te],y=Cr(v,g,t,r,i,u);return y=br(v,g+4,l,f,p)||y,v[Te]+=7,y?e+$e(t)+n+$e(r)+o+$e(i)+a+$e(u)+s+$e(l)+c+$e(f)+d+$e(p)+h:gr}function ja(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,g){var y=Xt(),m=y[Te],_=Cr(y,m,t,r,i,u);return _=Cr(y,m+4,l,f,p,v)||_,y[Te]+=8,_?e+$e(t)+n+$e(r)+o+$e(i)+a+$e(u)+s+$e(l)+c+$e(f)+d+$e(p)+h+$e(v)+g:gr}function Da(e,t){var n=Xt(),r=n[be],o=e+He;o>=r.data.length&&(r.data[o]=null),n[o]=t}function Aa(e){return Je(function t(){return sn}(),e)}function Sa(e){return Xt()[Me][e]}function Va(e){return Je(Xt(),e)}function Ma(t,n){return void 0===n&&(n=e.InjectFlags.Default),t=ee(t),Rn(tn(),Xt(),t,n)}function Fa(e){return Nn(tn(),e)}function Ha(e,t){var n=Xt(),r=n[be],o=(n[Me]||(n[Me]=[])).push(e);if(pn()){var i=r.contentQueries||(r.contentQueries=[]);t!==(r.contentQueries.length?r.contentQueries[r.contentQueries.length-2]:-1)&&i.push(t,o-1)}}var La=ai;function Ba(e){return e?(void 0===e.inputs&&(e.inputs=Hi(e,0)),e.inputs):null}function Ua(){return Xt()}function za(e){return e[Pe]||(e[Pe]=[])}function Qa(e){return e[be].cleanup||(e[be].cleanup=[])}
|
|
279
264
|
/**
|
|
280
265
|
* @license
|
|
281
266
|
* Copyright Google Inc. All Rights Reserved.
|
|
282
267
|
*
|
|
283
268
|
* Use of this source code is governed by an MIT-style license that can be
|
|
284
269
|
* found in the LICENSE file at https://angular.io/license
|
|
285
|
-
*/function
|
|
270
|
+
*/function Za(e){var t=Bn(e);if(!t)return[];var n=lo(t.nodeIndex,t.lView),r=n?po(n):null;return r?function o(e){for(var t=[],n=e[0],r=2;r<n;r+=2){var o=e[r];o&&t.push(o)}for(r=n;r<e.length;r++)t.push(e[r]);return t}(r):[]}
|
|
286
271
|
/**
|
|
287
272
|
* @license
|
|
288
273
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -296,14 +281,14 @@ function r(e,t){return!(e!=e&&t!=t)&&e!==t}(e[t],n))return!1;e[t]=n}return!0}fun
|
|
|
296
281
|
*
|
|
297
282
|
* Use of this source code is governed by an MIT-style license that can be
|
|
298
283
|
* found in the LICENSE file at https://angular.io/license
|
|
299
|
-
*/var
|
|
284
|
+
*/var qa="ng",Ka=!1;function Wa(e,t){if(Z){var n=Z[qa];n||(n=Z[qa]={}),n[e]=t}}
|
|
300
285
|
/**
|
|
301
286
|
* @license
|
|
302
287
|
* Copyright Google Inc. All Rights Reserved.
|
|
303
288
|
*
|
|
304
289
|
* Use of this source code is governed by an MIT-style license that can be
|
|
305
290
|
* found in the LICENSE file at https://angular.io/license
|
|
306
|
-
*/function
|
|
291
|
+
*/function Ga(e,t,n,r,o,i){!function a(){Kt=!1,qt=null,Pt=0,Zt=!0}();var u=n[be],s=si(n,Ei(t.template,t.consts,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery),null,t.onPush?8:4,r,o,i),l=li(0,3,e,null,null);return u.firstTemplatePass&&(Pn(kn(l,n),n,t.type),l.flags=1,Xi(l,n.length,1),$i(l)),s[Ee]=n[He],s[Oe]=l,n[He]=s}function Ya(e,t,n,r,o){var i=n[be],a=function u(e,t,n){var r=tn();e.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),Wi(e,r,1),ea(e,t,n,n.factory));var o=Sn(e.data,t,t.length-1,r);return Yi(t,r,o,n),o}(i,n,t);if(r.components.push(a),e[Ne]=a,o&&o.forEach(function(e){return e(a,t)}),i.firstTemplatePass&&t.hostBindings){var s=tn();Yt(t),t.hostBindings(1,a,s.index-He),Yt(null)}return a}function $a(e,t){return{components:[],scheduler:e||mt,clean:La,playerHandler:t||null,flags:0}}function Ja(e,t){var n=dt(e)[be],r=n.data.length-1;Mt(r,t.onInit,t.doCheck,n),Ft(n,{directiveStart:r,directiveEnd:r+1})}
|
|
307
292
|
/**
|
|
308
293
|
* @license
|
|
309
294
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -311,56 +296,56 @@ function r(e,t){return!(e!=e&&t!=t)&&e!==t}(e[t],n))return!1;e[t]=n}return!0}fun
|
|
|
311
296
|
* Use of this source code is governed by an MIT-style license that can be
|
|
312
297
|
* found in the LICENSE file at https://angular.io/license
|
|
313
298
|
*/
|
|
314
|
-
function
|
|
299
|
+
function Xa(e){return"function"==typeof e.template}function eu(e){for(var t=function n(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),r=function(){var n,r,o=void 0;if(Xa(e))o=t.ngComponentDef||t.ngDirectiveDef;else{if(t.ngComponentDef)throw new Error("Directives cannot inherit Components");o=t.ngDirectiveDef}var i=t.ngBaseDef;if(i||o){var a=e;a.inputs=tu(e.inputs),a.declaredInputs=tu(e.declaredInputs),a.outputs=tu(e.outputs)}if(i&&(p(e.inputs,i.inputs),p(e.declaredInputs,i.declaredInputs),p(e.outputs,i.outputs)),o){var u=e.hostBindings,s=o.hostBindings;if(s&&(e.hostBindings=u?function(e,t,n){s(e,t,n),u(e,t,n)}:s),Xa(e)&&Xa(o)){var c=e.viewQuery,f=o.viewQuery;f&&(e.viewQuery=c?function(e,t){f(e,t),c(e,t)}:f)}var d=e.contentQueries,h=o.contentQueries;h&&(e.contentQueries=d?function(e){h(e),d(e)}:h);var v=e.contentQueriesRefresh,g=o.contentQueriesRefresh;g&&(e.contentQueriesRefresh=v?function(e,t){g(e,t),v(e,t)}:g),p(e.inputs,o.inputs),p(e.declaredInputs,o.declaredInputs),p(e.outputs,o.outputs),e.afterContentChecked=e.afterContentChecked||o.afterContentChecked,e.afterContentInit=e.afterContentInit||o.afterContentInit,e.afterViewChecked=e.afterViewChecked||o.afterViewChecked,e.afterViewInit=e.afterViewInit||o.afterViewInit,e.doCheck=e.doCheck||o.doCheck,e.onDestroy=e.onDestroy||o.onDestroy,e.onInit=e.onInit||o.onInit;var y=o.features;if(y)try{for(var m=l(y),_=m.next();!_.done;_=m.next()){var w=_.value;w&&w.ngInherit&&w(e)}}catch(e){n={error:e}}finally{try{_&&!_.done&&(r=m.return)&&r.call(m)}finally{if(n)throw n.error}}return"break"}var b=t.prototype;b&&(e.afterContentChecked=e.afterContentChecked||b.afterContentChecked,e.afterContentInit=e.afterContentInit||b.afterContentInit,e.afterViewChecked=e.afterViewChecked||b.afterViewChecked,e.afterViewInit=e.afterViewInit||b.afterViewInit,e.doCheck=e.doCheck||b.doCheck,e.onDestroy=e.onDestroy||b.onDestroy,e.onInit=e.onInit||b.onInit),t=Object.getPrototypeOf(t)};t&&"break"!==r(););}function tu(e){return e===ie?{}:e===ae?[]:e}
|
|
315
300
|
/**
|
|
316
301
|
* @license
|
|
317
302
|
* Copyright Google Inc. All Rights Reserved.
|
|
318
303
|
*
|
|
319
304
|
* Use of this source code is governed by an MIT-style license that can be
|
|
320
305
|
* found in the LICENSE file at https://angular.io/license
|
|
321
|
-
*/var
|
|
306
|
+
*/var nu="__ngOnChanges_";function ru(e){var t=e.declaredInputs,n=e.inputs,r=e.type.prototype,o=function(e){if(t.hasOwnProperty(e)){for(var o=n[e],i=t[e],a=nu+o,u=void 0,s=r;!u&&s&&Object.getPrototypeOf(s)!==Object.getPrototypeOf(Object.prototype);)u=Object.getOwnPropertyDescriptor(s,o),s=Object.getPrototypeOf(s);var l=u&&u.set;Object.defineProperty(r,o,{get:u&&u.get||(l?void 0:function(){return this[a]}),set:function(e){var t=this[nu];t||(t={},Object.defineProperty(this,nu,{value:t,writable:!0}));var n=!this.hasOwnProperty(a),r=t[i];r?r.currentValue=e:t[i]=new dr(this[a],e,n),n?Object.defineProperty(this,a,{value:e,writable:!0}):this[a]=e,l&&l.call(this,e)},configurable:!1})}};for(var i in t)o(i);null!=e.onInit&&(e.onInit=ou(e.onInit)),e.doCheck=ou(e.doCheck)}function ou(e){return function(){var t=this[nu];null!=t&&(this.ngOnChanges(t),this[nu]=null),e&&e.apply(this)}}
|
|
322
307
|
/**
|
|
323
308
|
* @license
|
|
324
309
|
* Copyright Google Inc. All Rights Reserved.
|
|
325
310
|
*
|
|
326
311
|
* Use of this source code is governed by an MIT-style license that can be
|
|
327
312
|
* found in the LICENSE file at https://angular.io/license
|
|
328
|
-
*/function
|
|
313
|
+
*/function iu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}
|
|
329
314
|
/**
|
|
330
315
|
* @license
|
|
331
316
|
* Copyright Google Inc. All Rights Reserved.
|
|
332
317
|
*
|
|
333
318
|
* Use of this source code is governed by an MIT-style license that can be
|
|
334
319
|
* found in the LICENSE file at https://angular.io/license
|
|
335
|
-
*/
|
|
320
|
+
*/ru.ngInherit=!0;var au="__source",uu=new Object,su=uu,lu=new E("INJECTOR"),cu=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=uu),t===uu)throw new Error("NullInjectorError: No provider for "+$(e)+"!");return t},e}(),fu=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new bu(e,t):new bu(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=uu,e.NULL=new cu,e.ngInjectableDef=C({providedIn:"any",factory:function(){return At(lu)}}),e.__NG_ELEMENT_ID__=function(){return du()},e}(),du=iu,pu=function(e){return e},hu=[],vu=pu,gu=function(){return Array.prototype.slice.call(arguments)},yu=d({provide:String,useValue:d}),mu=fu.NULL,_u=/\n/gm,wu="ɵ",bu=function(){function t(e,t,n){void 0===t&&(t=mu),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(fu,{token:fu,fn:pu,deps:hu,value:this,useNew:!1}),r.set(lu,{token:lu,fn:pu,deps:hu,value:this,useNew:!1}),function e(t,n){if(n)if((n=ee(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Iu("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Iu("Unexpected provider",n);var o=ee(n.provide),i=function a(e){var t=function n(e){var t=hu,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((s=ee(n[r]))instanceof Array)for(var i=0,a=s;i<a.length;i++){var u=a[i];u instanceof It||u==It?o|=1:u instanceof Et||u==Et?o&=-3:u instanceof kt||u==kt?o&=-5:s=u instanceof xt?u.token:ee(u)}t.push({token:s,options:o})}}else if(e.useExisting){var s;t=[{token:s=ee(e.useExisting),options:6}]}else if(!(n||yu in e))throw Iu("'deps' required",e);return t}(e),r=pu,o=hu,i=!1,a=ee(e.provide);if(yu in e)o=e.useValue;else if(e.useFactory)r=e.useFactory;else if(e.useExisting);else if(e.useClass)i=!0,r=ee(e.useClass);else{if("function"!=typeof a)throw Iu("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!==gu)throw Cu(o)}else t.set(o,u={token:n.provide,deps:[],useNew:!1,fn:gu,value:hu});u.deps.push({token:o=n,options:6})}var s=t.get(o);if(s&&s.fn==gu)throw Cu(o);t.set(o,i)}}(r,e)}return t.prototype.get=function(t,n,r){void 0===r&&(r=e.InjectFlags.Default);var o=this._records.get(t);try{return function t(n,r,o,i,a,u){try{return function s(n,r,o,i,a,u){var s,l;if(!r||u&e.InjectFlags.SkipSelf)u&e.InjectFlags.Self||(l=i.get(n,a,e.InjectFlags.Default));else{if((l=r.value)==vu)throw Error(wu+"Circular dependency");if(l===hu){r.value=vu;var c=r.useNew,d=r.fn,p=r.deps,h=hu;if(p.length){h=[];for(var v=0;v<p.length;v++){var g=p[v],y=g.options,m=2&y?o.get(g.token):void 0;h.push(t(g.token,m,o,m||4&y?i:mu,1&y?null:fu.THROW_IF_NOT_FOUND,e.InjectFlags.Default))}}r.value=l=c?new((s=d).bind.apply(s,f([void 0],h))):d.apply(void 0,h)}}return l}(n,r,o,i,a,u)}catch(e){throw e instanceof Error||(e=new Error(e)),(e.ngTempTokenPath=e.ngTempTokenPath||[]).unshift(n),r&&r.value==vu&&(r.value=hu),e}}(t,o,this._records,this.parent,n,r)}catch(e){var i=e.ngTempTokenPath;throw t[au]&&i.unshift(t[au]),e.message=xu("\n"+e.message,i,this.source),e.ngTokenPath=i,e.ngTempTokenPath=null,e}},t.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push($(n))}),"StaticInjector["+e.join(", ")+"]"},t}();function Cu(e){return Iu("Cannot mix multi providers and regular providers",e)}function xu(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==wu?e.substr(2):e;var r=$(t);if(t instanceof Array)r=t.map($).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):$(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(_u,"\n ")}function Iu(e,t){return new Error(xu(e,t))}
|
|
336
321
|
/**
|
|
337
322
|
* @license
|
|
338
323
|
* Copyright Google Inc. All Rights Reserved.
|
|
339
324
|
*
|
|
340
325
|
* Use of this source code is governed by an MIT-style license that can be
|
|
341
326
|
* found in the LICENSE file at https://angular.io/license
|
|
342
|
-
*/var
|
|
327
|
+
*/var ku=new E("The presence of this token marks an injector as being the root injector."),Eu={},Ou={},Tu=[],Pu=void 0;
|
|
343
328
|
/**
|
|
344
329
|
* @license
|
|
345
330
|
* Copyright Google Inc. All Rights Reserved.
|
|
346
331
|
*
|
|
347
332
|
* Use of this source code is governed by an MIT-style license that can be
|
|
348
333
|
* found in the LICENSE file at https://angular.io/license
|
|
349
|
-
*/function
|
|
334
|
+
*/function Nu(){return void 0===Pu&&(Pu=new cu),Pu}function Ru(e,t,n){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||Nu(),new ju(e,n,t)}var ju=function(){function t(e,t,n){var r=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1;var o=[];Vu([e],function(e){return r.processInjectorType(e,[],o)}),t&&Vu(t,function(n){return r.processProvider(n,e,t)}),this.records.set(lu,Su(void 0,this)),this.isRootInjector=this.records.has(ku),this.injectorDefTypes.forEach(function(e){return r.get(e)})}return t.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()}},t.prototype.get=function(t,n,r){void 0===n&&(n=su),void 0===r&&(r=e.InjectFlags.Default),this.assertNotDestroyed();var o=Rt(this);try{if(!(r&e.InjectFlags.SkipSelf)){var i=this.records.get(t);if(void 0===i){var a=function u(e){return"function"==typeof e||"object"==typeof e&&e instanceof E}
|
|
350
335
|
/**
|
|
351
336
|
* @license
|
|
352
337
|
* Copyright Google Inc. All Rights Reserved.
|
|
353
338
|
*
|
|
354
339
|
* Use of this source code is governed by an MIT-style license that can be
|
|
355
340
|
* found in the LICENSE file at https://angular.io/license
|
|
356
|
-
*/(t)&&I(t);a&&this.injectableDefInScope(a)&&(i=
|
|
341
|
+
*/(t)&&I(t);a&&this.injectableDefInScope(a)&&(i=Su(Du(t),Eu),this.records.set(t,i))}if(void 0!==i)return this.hydrate(t,i)}return(r&e.InjectFlags.Self?Nu():this.parent).get(t,n)}finally{Rt(o)}},t.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(e,t,n){var r=this;if(e=ee(e)){var o=k(e),i=null==o&&e.ngModule||void 0,a=void 0===i?e:i,u=-1!==n.indexOf(a),s=void 0!==i&&e.providers||Tu;if(void 0!==i&&(o=k(i)),null!=o){if(this.injectorDefTypes.add(a),this.records.set(a,Su(o.factory,Eu)),null!=o.imports&&!u){n.push(a);try{Vu(o.imports,function(e){return r.processInjectorType(e,t,n)})}finally{}}var l=o.providers;if(null!=l&&!u){var c=e;Vu(l,function(e){return r.processProvider(e,c,l)})}var f=e.ngModule;Vu(s,function(e){return r.processProvider(e,f,s)})}}},t.prototype.processProvider=function(e,t,n){var r=Fu(e=ee(e))?e:ee(e&&e.provide),o=function i(e,t,n){var r=Au(e,t,n);return Mu(e)?Su(void 0,e.useValue):Su(r,Eu)}(e,t,n);if(Fu(e)||!0!==e.multi){var a=this.records.get(r);if(a&&void 0!==a.multi)throw new Error("Mixed multi-provider for "+$(r))}else{var u=this.records.get(r);if(u){if(void 0===u.multi)throw new Error("Mixed multi-provider for "+r+".")}else(u=Su(void 0,Eu,!0)).factory=function(){return Vt(u.multi)},this.records.set(r,u);r=e,u.multi.push(e)}this.records.set(r,o)},t.prototype.hydrate=function(e,t){if(t.value===Ou)throw new Error("Cannot instantiate cyclic dependency! "+$(e));return t.value===Eu&&(t.value=Ou,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},t.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},t}();function Du(e){var t=I(e);if(null===t){var n=k(e);if(null!==n)return n.factory;if(e instanceof E)throw new Error("Token "+$(e)+" is missing an ngInjectableDef definition.");if(e instanceof Function){var r=e.length;if(r>0){var o=new Array(r).fill("?");throw new Error("Can't resolve all parameters for "+$(e)+": ("+o.join(", ")+").")}return function(){return new e}}throw new Error("unreachable")}return t.factory}function Au(e,t,n){var r=void 0;if(Fu(e))return Du(ee(e));if(Mu(e))r=function(){return ee(e.useValue)};else if(function o(e){return!(!e||!e.useExisting)}(e))r=function(){return At(ee(e.useExisting))};else if(function i(e){return!(!e||!e.useFactory)}(e))r=function(){return e.useFactory.apply(e,f(Vt(e.deps||[])))};else{var a=ee(e&&(e.useClass||e.provide));if(!a){var u="";throw t&&n&&(u=" - only instances of Provider and Type are allowed, got: ["+n.map(function(t){return t==e?"?"+e+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+$(t)+"'"+u)}if(!function s(e){return!!e.deps}(e))return Du(a);r=function(){return new(a.bind.apply(a,f([void 0],Vt(e.deps))))}}return r}function Su(e,t,n){return void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function Vu(e,t){e.forEach(function(e){return Array.isArray(e)?Vu(e,t):t(e)})}function Mu(e){return e&&"object"==typeof e&&yu in e}function Fu(e){return"function"==typeof e}function Hu(e,t,n,r,o){if(e=ee(e),Array.isArray(e))for(var i=0;i<e.length;i++)Hu(e[i],t,n,r,o);else{var a=Xt(),u=Fu(e)?e:ee(e.provide),s=Au(e),l=tn(),c=65535&l.providerIndexes,f=l.directiveStart,d=l.providerIndexes>>16;if(Fu(e)||!e.multi){var p=new we(s,o,Ma),h=Bu(u,t,o?c:c+d,f);-1==h?(Pn(kn(l,a),a,u),t.push(u),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=65536),n.push(p),a.push(p)):(n[h]=p,a[h]=p)}else{var v=Bu(u,t,c+d,f),g=Bu(u,t,c,c+d),y=g>=0&&n[g];o&&!y||!o&&!(v>=0&&n[v])?(Pn(kn(l,a),a,u),p=function m(e,t,n,r,o){var i=new we(e,n,Ma);return i.multi=[],i.index=t,i.componentProviders=0,Lu(i,o,r&&!n),i}(o?zu:Uu,n.length,o,r,s),!o&&y&&(n[g].providerFactory=p),t.push(u),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=65536),n.push(p),a.push(p)):Lu(n[o?g:v],s,!o&&r),!o&&r&&y&&n[g].componentProviders++}}}function Lu(e,t,n){e.multi.push(t),n&&e.componentProviders++}function Bu(e,t,n,r){for(var o=n;o<r;o++)if(t[o]===e)return o;return-1}function Uu(e,t,n,r){return Qu(this.multi,[])}function zu(e,t,n,r){var o,i=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,u=Sn(t,n,this.providerFactory.index,r);Qu(i,o=u.slice(0,a));for(var s=a;s<u.length;s++)o.push(u[s])}else Qu(i,o=[]);return o}function Qu(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function Zu(e,t){return void 0===t&&(t=[]),function(n){n.providersResolver=function(n){return function r(e,t,n){var r=Xt()[be];if(r.firstTemplatePass){var o=at(e);Hu(n,r.data,r.blueprint,o,!0),Hu(t,r.data,r.blueprint,o,!1)}}(n,e,t)}}}
|
|
357
342
|
/**
|
|
358
343
|
* @license
|
|
359
344
|
* Copyright Google Inc. All Rights Reserved.
|
|
360
345
|
*
|
|
361
346
|
* Use of this source code is governed by an MIT-style license that can be
|
|
362
347
|
* found in the LICENSE file at https://angular.io/license
|
|
363
|
-
*/var
|
|
348
|
+
*/var qu=function qu(){},Ku=function Ku(){};
|
|
364
349
|
/**
|
|
365
350
|
* @license
|
|
366
351
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -368,14 +353,14 @@ function Ua(e){return"function"==typeof e.template}function za(e){for(var t=func
|
|
|
368
353
|
* Use of this source code is governed by an MIT-style license that can be
|
|
369
354
|
* found in the LICENSE file at https://angular.io/license
|
|
370
355
|
*/
|
|
371
|
-
function
|
|
356
|
+
function Wu(e){var t=Error("No component factory found for "+$(e)+". Did you add it to @NgModule.entryComponents?");return t[Ju]=e,t}var Gu,Yu,$u,Ju="ngComponent",Xu=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Wu(e)},e}(),es=function(){function e(){}return e.NULL=new Xu,e}(),ts=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 Wu(e);return new ns(t,this._ngModule)},e}(),ns=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}(Ku),rs=function rs(){},os=function os(){},is=function(){function e(e,t,n){this._context=t,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._lView=e}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return null==this._lView[Ee]?function e(t,n,r){for(var o=n.child;o;)r.push(tt(o,t)),4===o.type&&e(t,o,r),o=o.next;return r}
|
|
372
357
|
/**
|
|
373
358
|
* @license
|
|
374
359
|
* Copyright Google Inc. All Rights Reserved.
|
|
375
360
|
*
|
|
376
361
|
* Use of this source code is governed by an MIT-style license that can be
|
|
377
362
|
* found in the LICENSE file at https://angular.io/license
|
|
378
|
-
*/(this._lView,this._lView[
|
|
363
|
+
*/(this._lView,this._lView[Oe],[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 64==(64&this._lView[Ce])},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Lr(this._lView)},e.prototype.onDestroy=function(e){!function t(e,n){za(e).push(n),e[be].firstTemplatePass&&Qa(e).push(e[Pe].length-1,null)}(this._lView,e)},e.prototype.markForCheck=function(){ha(this._lView)},e.prototype.detach=function(){this._lView[Ce]&=-17},e.prototype.reattach=function(){this._lView[Ce]|=16},e.prototype.detectChanges=function(){ma(this._lView,this.context)},e.prototype.checkNoChanges=function(){!function e(t){fn(!0);try{ya(t)}finally{fn(!1)}}(this.context)},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype._lookUpContext=function(){return this._context=this._lView[xe][this._componentIndex]},e}(),as=function(e){function t(t){var n=e.call(this,t,null,-1)||this;return n._view=t,n}return o(t,e),t.prototype.detectChanges=function(){_a(this._view)},t.prototype.checkNoChanges=function(){!function e(t){fn(!0);try{_a(t)}finally{fn(!1)}}(this._view)},Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),t}(is);function us(e,t,n){return Gu||(Gu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(e)),new Gu(tt(t,n))}function ss(e,t,n,r){if(Yu||(Yu=function(e){function t(t,n,r,o,i,a){var u=e.call(this)||this;return u._declarationParentView=t,u.elementRef=n,u._tView=r,u._renderer=o,u._queries=i,u._injectorIndex=a,u}return o(t,e),t.prototype.createEmbeddedView=function(e,t,n,r,o){var i=function a(e,t,n,r,o,i){var a=on(),u=tn();an(!0),nn(null);var s=si(n,e,t,4);return s[Fe]=n,o&&(s[ke]=o.createView()),ci(-1,s),e.firstTemplatePass&&(e.node.injectorIndex=i),an(a),nn(u),s}(this._tView,e,this._declarationParentView,0,this._queries,this._injectorIndex);t&&Vr(i,t,r,o,n.index),di(i,this._tView,e);var u=new is(i,e,-1);return u._tViewNode=i[Oe],u},t}(e)),0===n.type){var i=r[n.index];return new Yu(r,us(t,n,r),n.tViews,Xt()[De],i[ke],n.injectorIndex)}return null}function ls(e,t,n){if(it(e)){var r=e.directiveStart,o=rt(e.index,t);return new is(o,n,r)}if(3===e.type){var i=wt(t);return new is(i,i[Ne],-1)}return null}
|
|
379
364
|
/**
|
|
380
365
|
* @license
|
|
381
366
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -383,7 +368,7 @@ function Mu(e){var t=Error("No component factory found for "+te(e)+". Did you ad
|
|
|
383
368
|
* Use of this source code is governed by an MIT-style license that can be
|
|
384
369
|
* found in the LICENSE file at https://angular.io/license
|
|
385
370
|
*/
|
|
386
|
-
var
|
|
371
|
+
var cs,fs=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return ds(e)},e}(),ds=iu,ps=function ps(e,t,n,r,o,i){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i},hs=function hs(){},vs=function vs(){},gs=(new E("Renderer2Interceptor"),function gs(){}),ys=function ys(){};(cs=e.RendererStyleFlags2||(e.RendererStyleFlags2={}))[cs.Important=1]="Important",cs[cs.DashCase=2]="DashCase";var ms,_s=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return ws()},e}(),ws=iu;(
|
|
387
372
|
/**
|
|
388
373
|
* @license
|
|
389
374
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -391,14 +376,14 @@ var Xu,es=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID
|
|
|
391
376
|
* Use of this source code is governed by an MIT-style license that can be
|
|
392
377
|
* found in the LICENSE file at https://angular.io/license
|
|
393
378
|
*/
|
|
394
|
-
|
|
379
|
+
ms=e.SecurityContext||(e.SecurityContext={}))[ms.NONE=0]="NONE",ms[ms.HTML=1]="HTML",ms[ms.STYLE=2]="STYLE",ms[ms.SCRIPT=3]="SCRIPT",ms[ms.URL=4]="URL",ms[ms.RESOURCE_URL=5]="RESOURCE_URL";var bs,Cs=function Cs(){},xs=new(bs=function bs(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")})("7.2.0"),Is=function(e){function t(t){var n=e.call(this)||this;return n.ngModule=t,n}return o(t,e),t.prototype.resolveComponentFactory=function(e){var t=ge(e);return new Ps(t,this.ngModule)},t}(es);
|
|
395
380
|
/**
|
|
396
381
|
* @license
|
|
397
382
|
* Copyright Google Inc. All Rights Reserved.
|
|
398
383
|
*
|
|
399
384
|
* Use of this source code is governed by an MIT-style license that can be
|
|
400
385
|
* found in the LICENSE file at https://angular.io/license
|
|
401
|
-
*/function
|
|
386
|
+
*/function ks(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var Es=new E("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return $a(At(Os))}}),Os=new E("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return mt}}),Ts={},Ps=function(e){function t(t,n){var r=e.call(this)||this;return r.componentDef=t,r.ngModule=n,r.componentType=t.type,r.selector=t.selectors[0][0],r.ngContentSelectors=[],r}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return ks(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return ks(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){var o=void 0===n,i=(r=r||this.ngModule)?function a(e,t){return{get:function(n,r){var o=e.get(n,Ts);return o!==Ts||r===Ts?o:t.get(n,r)}}}(e,r.injector):e,u=i.get(ys,Er),s=i.get(Cs,null),l=o?Ii(this.selector,u.createRenderer(null,this.componentDef)):Pi(u,n),c=this.componentDef.onPush?136:132,f=o?$a():i.get(Es),d=u.createRenderer(l,this.componentDef);n&&l&&(kr(d)?d.setAttribute(l,"ng-version",xs.full):l.setAttribute("ng-version",xs.full));var p,h,v=si(null,Oi(-1,null,1,0,null,null,null),f,c,u,d,s,i),g=mn(v,null);try{u.begin&&u.begin();var y=Ga(l,this.componentDef,v,u,d);if(h=nt(0,v),t)for(var m=0,_=v[be],w=h.projection=[],b=0;b<t.length;b++){for(var C=t[b],x=null,I=null,k=0;k<C.length;k++){_.firstTemplatePass&&(_.expandoStartIndex++,_.blueprint.splice(++m+He,0,null),_.data.splice(m+He,0,null),v.splice(m+He,0,null));var E=li(m,3,C[k],null,null);I?I.next=E:x=E,I=E}w.push(x)}p=Ya(y,this.componentDef,v,f,[Ja]),pa(v,He,y),ui(v)}finally{wn(g),u.end&&u.end()}var O=new Ns(this.componentType,p,us(fs,h,v),v,h);return o&&(O.hostView._tViewNode.child=h),O},t}(Ku),Ns=(new Is,function(e){function t(t,n,r,o,i){var a=e.call(this)||this;return a.location=r,a._rootLView=o,a._tNode=i,a.destroyCbs=[],a.instance=n,a.hostView=a.changeDetectorRef=new as(o),a.hostView._tViewNode=ci(-1,o),a.componentType=t,a}return o(t,e),Object.defineProperty(t.prototype,"injector",{get:function(){return new Fn(this._tNode,this._rootLView)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null,this.hostView.destroy()},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(qu)),Rs=!0,js=!1;function Ds(){return js=!0,Rs}
|
|
402
387
|
/**
|
|
403
388
|
* @license
|
|
404
389
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -406,35 +391,35 @@ us=e.SecurityContext||(e.SecurityContext={}))[us.NONE=0]="NONE",us[us.HTML=1]="H
|
|
|
406
391
|
* Use of this source code is governed by an MIT-style license that can be
|
|
407
392
|
* found in the LICENSE file at https://angular.io/license
|
|
408
393
|
*/
|
|
409
|
-
var
|
|
394
|
+
var As=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}}
|
|
410
395
|
/**
|
|
411
396
|
* @license
|
|
412
397
|
* Copyright Google Inc. All Rights Reserved.
|
|
413
398
|
*
|
|
414
399
|
* Use of this source code is governed by an MIT-style license that can be
|
|
415
400
|
* found in the LICENSE file at https://angular.io/license
|
|
416
|
-
*/()?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(void 0);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}(),
|
|
401
|
+
*/()?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(void 0);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}(),Ss=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Vs=/^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 Ms(e){return(e=String(e)).match(Ss)||e.match(Vs)?e:(Ds()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function Fs(e){return(e=String(e)).split(",").map(function(e){return Ms(e.trim())}).join(", ")}
|
|
417
402
|
/**
|
|
418
403
|
* @license
|
|
419
404
|
* Copyright Google Inc. All Rights Reserved.
|
|
420
405
|
*
|
|
421
406
|
* Use of this source code is governed by an MIT-style license that can be
|
|
422
407
|
* found in the LICENSE file at https://angular.io/license
|
|
423
|
-
*/function
|
|
408
|
+
*/function Hs(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 Ls(){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 Bs,Us=Hs("area,br,col,hr,img,wbr"),zs=Hs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Qs=Hs("rp,rt"),Zs=Ls(Qs,zs),qs=Ls(zs,Hs("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")),Ks=Ls(Qs,Hs("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")),Ws=Ls(Us,qs,Ks,Zs),Gs=Hs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ys=Hs("srcset"),$s=Hs("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"),Js=Ls(Gs,Ys,$s),Xs=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(!Ws.hasOwnProperty(t))return this.sanitizedSomething=!0,!1;this.buf.push("<"),this.buf.push(t);for(var n=e.attributes,r=0;r<n.length;r++){var o=n.item(r),i=o.name,a=i.toLowerCase();if(Js.hasOwnProperty(a)){var u=o.value;Gs[a]&&(u=Ms(u)),Ys[a]&&(u=Fs(u)),this.buf.push(" ",i,'="',nl(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Ws.hasOwnProperty(t)&&!Us.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(nl(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}(),el=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tl=/([^\#-~ |!])/g;function nl(e){return e.replace(/&/g,"&").replace(el,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(tl,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function rl(e,t){var n=null;try{Bs=Bs||new As(e);var r=t?String(t):"";n=Bs.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=Bs.getInertBodyElement(r)}while(r!==i);var a=new Xs,u=a.sanitizeChildren(ol(n)||n);return Ds()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),u}finally{if(n)for(var s=ol(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}function ol(e){return"content"in e&&function t(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}
|
|
424
409
|
/**
|
|
425
410
|
* @license
|
|
426
411
|
* Copyright Google Inc. All Rights Reserved.
|
|
427
412
|
*
|
|
428
413
|
* Use of this source code is governed by an MIT-style license that can be
|
|
429
414
|
* found in the LICENSE file at https://angular.io/license
|
|
430
|
-
*/(e)?e.content:null}var Ws={marker:"element"},Gs={marker:"comment"},Ys="�",$s=/^\s*(�\d+�)\s*,\s*(select|plural)\s*,/,Js=/�\/?\*(\d+:\d+)�/gi,Xs=/�(\/?[#*]\d+):?\d*�/gi,el=/�(\d+):?\d*�/gi,tl=/({\s*�\d+�\s*,\s*\S{6}\s*,[\s\S]*})/gi,nl=/\[(�.+?�?)\]/g,rl=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,ol=/�I18N_EXP_(ICU(_\d+)?)�/g;function il(e){if(!e)return[];var t,n=0,r=[],o=[],i=/[{}]/g;for(i.lastIndex=0;t=i.exec(e);){var a=t.index;if("}"==t[0]){if(r.pop(),0==r.length){var u=e.substring(n,a);$s.test(u)?o.push(al(u)):u&&o.push(u),n=a+1}}else{if(0==r.length){var s=e.substring(n,a);o.push(s),n=a+1}r.push("{")}}var l=e.substring(n);return""!=l&&o.push(l),o}function al(e){for(var t=[],n=[],r=1,o=0,i=il(e=e.replace($s,function(e,t,n){return r="select"===n?0:1,o=parseInt(t.substr(1),10),""})),a=0;a<i.length;){var u=i[a++].trim();1===r&&(u=u.replace(/\s*(?:=)?(\w+)\s*/,"$1")),u.length&&t.push(u);var s=il(i[a++]);s.length&&n.push(s)}return function l(e,t,n){e<=t&&function r(e){throw new Error("ASSERTION ERROR: "+e)}(n)}(t.indexOf("other"),-1,'Missing key "other" in ICU statement.'),{type:r,mainBinding:o,cases:t,values:n}}function ul(e){for(var t,n,r="",o=0,i=!1;null!==(t=Js.exec(e));)i?t[0]===Ys+"/*"+n+Ys&&(o=t.index,i=!1):(r+=e.substring(o,t.index+t[0].length),n=t[1],i=!0);return r+e.substr(o)}function sl(e,t,n,r){void 0===r&&(r=null);for(var o=[null,null],i=e.split(el),a=0,u=0;u<i.length;u++){var s=i[u];if(1&u){var l=parseInt(s,10);o.push(-1-l),a|=dl(l)}else""!==s&&o.push(s)}return o.push(t<<2|(n?1:0)),n&&o.push(n,r),o[0]=a,o[1]=o.length-2,o}function ll(e,t){var n;void 0===t&&(t=0),t|=dl(e.mainBinding);for(var r=0;r<e.values.length;r++)for(var o=e.values[r],i=0;i<o.length;i++){var a=o[i];if("string"==typeof a)for(;n=el.exec(a);)t|=dl(parseInt(n[1],10));else t=ll(a,t)}return t}var cl=[],fl=-1;function dl(e){return 1<<Math.min(e,31)}var pl=[];function hl(e,t,n){var r=Gt()[He];cl[++fl]=e,r.firstTemplatePass&&null===r.data[e+rt]&&function o(e,t,n,r){var o=Gt(),i=e.blueprint.length-rt,a=$t(),u=en()?$t():a&&a.parent,s=u&&u!==o[Ze]?u.index-rt:t,l=0;pl[l]=s;var c=[];t>0&&a!==u&&c.push(a.index<<3|0);for(var f=[],d=[],p=function h(e,t){if("number"!=typeof t)return ul(e);var n=e.indexOf(":"+t+Ys)+2+t.toString().length,r=e.search(new RegExp(Ys+"\\/\\*\\d+:"+t+Ys));return ul(e.substring(n,r))}(n,r).split(Xs),v=0;v<p.length;v++){var g=p[v];if(1&v)if("/"===g.charAt(0)){if("#"===g.charAt(1)){var y=parseInt(g.substr(2),10);s=pl[--l],c.push(y<<3|5)}}else y=parseInt(g.substr(1),10),c.push(y<<3|0,s<<17|1),"#"===g.charAt(0)&&(pl[++l]=s=y);else for(var m=g.split(tl),_=0;_<m.length;_++)if(g=m[_],1&_){ni(o);var w=e.blueprint.length-1-rt;c.push(Gs,"",s<<17|1);var b=al(g.substr(1,g.length-2)),C=ll(b);Tl(d,b,w,w);var x=d.length-1;f.push(dl(b.mainBinding),3,-1-b.mainBinding,w<<2|2,x,C,2,w<<2|3,x)}else if(""!==g){var I=g.match(el);ni(o),c.push(I?"":g,s<<17|1),I&&Ht(sl(g,e.blueprint.length-1-rt),f)}}e.data[t+rt]={vars:e.blueprint.length-rt-i,expandoStartIndex:i,create:c,update:f,icus:d.length?d:null}}(r,e,t,n)}function vl(e,t,n){var r=Gt();n||(n=t),n===t&&e!==t.child?(e.next=t.child,t.child=e):n!==t&&e!==n.next?(e.next=n.next,n.next=e):e.next=null,t!==r[Ze]&&(e.parent=t),Kr(bt(e,r),e,r);var o=r[e.index];return 0!==e.type&&Ot(o)&&Kr(o[ht],e,r),e}function gl(e,t){var n={},r=e.replace(nl,function(e,t){if(n[t]||(n[t]=t.split("|")),!n[t].length)throw new Error("i18n postprocess: unmatched placeholder - "+t);return n[t].shift()});if(Object.keys(n).some(function(e){return!!n[e].length}))throw new Error("i18n postprocess: unmatched values - "+JSON.stringify(n));return Object.keys(t).length?r=(r=r.replace(rl,function(e,n,r,o,i,a){return t.hasOwnProperty(r)?""+n+t[r]+a:e})).replace(ol,function(e,n){if(t.hasOwnProperty(n)){var r=t[n];if(!r.length)throw new Error("i18n postprocess: unmatched ICU - "+e+" with key: "+n);return r.shift()}return e}):r}function yl(){!function e(t){for(var n=Gt(),r=cl[fl--],o=t.data[r+rt],i=$t(),a=ml(r,o.create,o.expandoStartIndex,n),u=r+1;u<=i.index-rt;u++)-1===a.indexOf(u)&&_l(u,n)}(Gt()[He])}function ml(e,t,n,r){for(var o=Gt()[$e],i=null,a=null,u=[],s=0;s<t.length;s++){var l=t[s];if("string"==typeof l)a=i,i=ei(n++,3,Ar(l,o),null,null),tn(!1);else if("number"==typeof l)switch(7&l){case 1:var c=l>>>17,f=void 0;a=vl(i,f=c===e?r[Ze]:Ct(c,r),a),f.next=null;break;case 0:var d=l>>>3;u.push(d),a=i,(i=Ct(d,r))&&(Jt(i),3===i.type&&tn(!0));break;case 5:a=i=Ct(l>>>3,r),Jt(i),tn(!1);break;case 4:xi(l>>>3,t[++s],t[++s]);break;default:throw new Error('Unable to determine the type of mutate operation for "'+l+'"')}else switch(l){case Gs:var p=t[++s],h=o.createComment(p);a=i,i=ei(n++,5,h,null,null),Ln(h,r),i.activeCaseIndex=null,tn(!1);break;case Ws:var v=t[++s];a=i,i=ei(n++,3,o.createElement(v),v,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'+l+'"')}}return tn(!1),u}function _l(e,t){var n=Ct(e,t);Yr(n,wt(e,t)||null,t),n.detached=!0;var r=Ia(e);if(Ot(r)){var o=r;0!==n.type&&Yr(n,o[ht]||null,t),o[vt]=null}}function wl(e,t,n){hl(e,t,n),yl()}function bl(e,t){var n=Gt()[He];n.firstTemplatePass&&null===n.data[e+rt]&&function r(e,t,n){for(var r=$t().index-rt,o=[],i=0;i<n.length;i+=2)for(var a=n[i],u=n[i+1].split(tl),s=0;s<u.length;s++){var l=u[s];1&s||""!==l&&(l.match(el)?Ht(sl(l,r,a),o):xi(r,a,l))}e.data[t+rt]=o}(n,e,t)}var Cl,xl=0,Il=0;function kl(e){e!==vr&&(xl|=1<<Il),Il++}function El(e){if(Il){var t=Gt(),n=t[He].data[e+rt],r=void 0,o=null;Array.isArray(n)?r=n:(r=n.update,o=n.icus),function e(t,n,r,o,i,a){void 0===a&&(a=!1);for(var u=!1,s=0;s<t.length;s++){var l=t[s],c=t[++s];if(a||l&o)for(var f="",d=s+1;d<=s+c;d++){var p=t[d];if("string"==typeof p)f+=p;else if("number"==typeof p)if(p<0)f+=yt(i[r-p]);else{var h=p>>>2;switch(3&p){case 1:xi(h,t[++d],f,t[++d]);break;case 0:Si(h,f);break;case 2:var v=t[++d],g=n[v],y=Ct(h,i);if(null!==y.activeCaseIndex)for(var m=g.remove[y.activeCaseIndex],_=0;_<m.length;_++){var w=m[_];switch(7&w){case 3:_l(w>>>3,i);break;case 6:var b=Ct(m[_+1]>>>3,i).activeCaseIndex;null!==b&&Ht(n[w>>>3].remove[b],m)}}var C=Ol(g,f);y.activeCaseIndex=-1!==C?C:null,ml(-1,g.create[C],g.expandoStartIndex,i),u=!0;break;case 3:g=n[v=t[++d]],y=Ct(h,i),e(g.update[y.activeCaseIndex],n,r,o,i,u)}}}s+=c}}(r,o,t[qe]-Il-1,xl,t),xl=0,Il=0}}function Ol(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var r=function o(e,t){switch(function n(e,t){"string"==typeof t&&(t=parseInt(t,10));var n=t,r=n.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(n)),i=r.length,a=parseInt(r,10),u=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?Cl.One:Cl.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?Cl.One:Cl.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?Cl.One:Cl.Other;case"ar":return 0===n?Cl.Zero:1===n?Cl.One:2===n?Cl.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?Cl.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?Cl.Many:Cl.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===i?Cl.One:Cl.Other;case"be":return n%10==1&&n%100!=11?Cl.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?Cl.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?Cl.Many:Cl.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?Cl.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?Cl.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?Cl.Few:0!==n&&n%1e6==0?Cl.Many:Cl.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||a%10==1&&a%100!=11?Cl.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?Cl.Few:Cl.Other;case"cs":case"sk":return 1===o&&0===i?Cl.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?Cl.Few:0!==i?Cl.Many:Cl.Other;case"cy":return 0===n?Cl.Zero:1===n?Cl.One:2===n?Cl.Two:3===n?Cl.Few:6===n?Cl.Many:Cl.Other;case"da":return 1===n||0!==u&&(0===o||1===o)?Cl.One:Cl.Other;case"dsb":case"hsb":return 0===i&&o%100==1||a%100==1?Cl.One:0===i&&o%100==2||a%100==2?Cl.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?Cl.Few:Cl.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?Cl.One:Cl.Other;case"fil":return 0===i&&(1===o||2===o||3===o)||0===i&&o%10!=4&&o%10!=6&&o%10!=9||0!==i&&a%10!=4&&a%10!=6&&a%10!=9?Cl.One:Cl.Other;case"ga":return 1===n?Cl.One:2===n?Cl.Two:n===Math.floor(n)&&n>=3&&n<=6?Cl.Few:n===Math.floor(n)&&n>=7&&n<=10?Cl.Many:Cl.Other;case"gd":return 1===n||11===n?Cl.One:2===n||12===n?Cl.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?Cl.Few:Cl.Other;case"gv":return 0===i&&o%10==1?Cl.One:0===i&&o%10==2?Cl.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?Cl.Many:Cl.Other:Cl.Few;case"he":return 1===o&&0===i?Cl.One:2===o&&0===i?Cl.Two:0!==i||n>=0&&n<=10||n%10!=0?Cl.Other:Cl.Many;case"is":return 0===u&&o%10==1&&o%100!=11||0!==u?Cl.One:Cl.Other;case"ksh":return 0===n?Cl.Zero:1===n?Cl.One:Cl.Other;case"kw":case"naq":case"se":case"smn":return 1===n?Cl.One:2===n?Cl.Two:Cl.Other;case"lag":return 0===n?Cl.Zero:0!==o&&1!==o||0===n?Cl.Other:Cl.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?Cl.Few:0!==a?Cl.Many:Cl.Other:Cl.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?Cl.Zero:n%10==1&&n%100!=11||2===i&&a%10==1&&a%100!=11||2!==i&&a%10==1?Cl.One:Cl.Other;case"mk":return 0===i&&o%10==1||a%10==1?Cl.One:Cl.Other;case"mt":return 1===n?Cl.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?Cl.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?Cl.Many:Cl.Other;case"pl":return 1===o&&0===i?Cl.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?Cl.Few:0===i&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?Cl.Many:Cl.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?Cl.One:Cl.Other;case"ro":return 1===o&&0===i?Cl.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?Cl.Few:Cl.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?Cl.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?Cl.Few:0===i&&o%10==0||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?Cl.Many:Cl.Other;case"shi":return 0===o||1===n?Cl.One:n===Math.floor(n)&&n>=2&&n<=10?Cl.Few:Cl.Other;case"si":return 0===n||1===n||0===o&&1===a?Cl.One:Cl.Other;case"sl":return 0===i&&o%100==1?Cl.One:0===i&&o%100==2?Cl.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?Cl.Few:Cl.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?Cl.One:Cl.Other;default:return Cl.Other}}(t,e)){case Cl.Zero:return"zero";case Cl.One:return"one";case Cl.Two:return"two";case Cl.Few:return"few";case Cl.Many:return"many";default:return"other"}}(t,"en-US");-1===(n=e.cases.indexOf(r))&&"other"!==r&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}function Tl(e,t,n,r){for(var o=[],i=[],a=[],u=[],s=[],l=0;l<t.values.length;l++){for(var c=t.values[l],d=[],p=0;p<c.length;p++){var h=c[p];if("string"!=typeof h){var v=d.push(h)-1;c[p]="\x3c!--�"+v+"�--\x3e"}}var g=Pl(c.join(""),n,d,e,r);o.push(g.create),i.push(g.remove),a.push(g.update),u.push(g.vars),s.push(g.childIcus)}e.push({type:t.type,vars:u,expandoStartIndex:r+1,childIcus:s,cases:t.cases,create:o,remove:i,update:a});var y=Gt(),m=Math.max.apply(Math,f(u));for(l=0;l<m;l++)ni(y)}function Pl(e,t,n,r,o){var i=new xs(document).getInertBodyElement(e);if(!i)throw new Error("Unable to generate inert body element");var a={vars:0,childIcus:[],create:[],remove:[],update:[]};return function e(t,n,r,o,i,a){if(t){for(var u=[];t;){var s=t.nextSibling,l=a+ ++n.vars;switch(t.nodeType){case Node.ELEMENT_NODE:var c=t,d=c.tagName.toLowerCase();if(Ms.hasOwnProperty(d)){n.create.push(Ws,d,r<<17|1);for(var p=c.attributes,h=0;h<p.length;h++){var v=p.item(h),g=v.name.toLowerCase();v.value.match(el)?Bs.hasOwnProperty(g)&&Ht(Fs[g]?sl(v.value,l,v.name,Es):Hs[g]?sl(v.value,l,v.name,Os):sl(v.value,l,v.name),n.update):n.create.push(l<<3|4,v.name,v.value)}e(t.firstChild,n,l,o,i,a),n.remove.push(l<<3|3)}else n.vars--;break;case Node.TEXT_NODE:var y=t.textContent||"",m=y.match(el);n.create.push(m?"":y,r<<17|1),n.remove.push(l<<3|3),m&&Ht(sl(y,l),n.update);break;case Node.COMMENT_NODE:var _=Nl.exec(t.textContent||"");if(_){var w=parseInt(_[1],10);n.create.push(Gs,"",r<<17|1),u.push([b=o[w],l])}else n.vars--;break;default:n.vars--}t=s}for(h=0;h<u.length;h++){var b,C=u[h][1];Tl(i,b=u[h][0],C,a+n.vars);var x=i.length-1;n.vars+=Math.max.apply(Math,f(i[x].vars)),n.childIcus.push(x);var I=ll(b);n.update.push(dl(b.mainBinding),3,-1-b.mainBinding,C<<2|2,x,I,2,C<<2|3,x),n.remove.push(x<<3|6,C<<3|3)}}}
|
|
415
|
+
*/(e)?e.content:null}var il={marker:"element"},al={marker:"comment"},ul="�",sl=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,ll=/�\/?\*(\d+:\d+)�/gi,cl=/�(\/?[#*]\d+):?\d*�/gi,fl=/�(\d+):?\d*�/gi,dl=/({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi,pl=/\[(�.+?�?)\]/g,hl=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,vl=/�I18N_EXP_(ICU(_\d+)?)�/g;function gl(e){if(!e)return[];var t,n=0,r=[],o=[],i=/[{}]/g;for(i.lastIndex=0;t=i.exec(e);){var a=t.index;if("}"==t[0]){if(r.pop(),0==r.length){var u=e.substring(n,a);sl.test(u)?o.push(yl(u)):u&&o.push(u),n=a+1}}else{if(0==r.length){var s=e.substring(n,a);o.push(s),n=a+1}r.push("{")}}var l=e.substring(n);return""!=l&&o.push(l),o}function yl(e){for(var t=[],n=[],r=1,o=0,i=gl(e=e.replace(sl,function(e,t,n){return r="select"===n?0:1,o=parseInt(t.substr(1),10),""})),a=0;a<i.length;){var u=i[a++].trim();1===r&&(u=u.replace(/\s*(?:=)?(\w+)\s*/,"$1")),u.length&&t.push(u);var s=gl(i[a++]);s.length&&n.push(s)}return function l(e,t,n){e<=t&&function r(e){throw new Error("ASSERTION ERROR: "+e)}(n)}(t.indexOf("other"),-1,'Missing key "other" in ICU statement.'),{type:r,mainBinding:o,cases:t,values:n}}function ml(e){for(var t,n,r="",o=0,i=!1;null!==(t=ll.exec(e));)i?t[0]===ul+"/*"+n+ul&&(o=t.index,i=!1):(r+=e.substring(o,t.index+t[0].length),n=t[1],i=!0);return r+e.substr(o)}function _l(e,t,n,r){void 0===r&&(r=null);for(var o=[null,null],i=e.split(fl),a=0,u=0;u<i.length;u++){var s=i[u];if(1&u){var l=parseInt(s,10);o.push(-1-l),a|=xl(l)}else""!==s&&o.push(s)}return o.push(t<<2|(n?1:0)),n&&o.push(n,r),o[0]=a,o[1]=o.length-2,o}function wl(e,t){var n;void 0===t&&(t=0),t|=xl(e.mainBinding);for(var r=0;r<e.values.length;r++)for(var o=e.values[r],i=0;i<o.length;i++){var a=o[i];if("string"==typeof a)for(;n=fl.exec(a);)t|=xl(parseInt(n[1],10));else t=wl(a,t)}return t}var bl=[],Cl=-1;function xl(e){return 1<<Math.min(e,31)}var Il=[];function kl(e,t,n){var r=Xt()[be];bl[++Cl]=e,r.firstTemplatePass&&null===r.data[e+He]&&function o(e,t,n,r){var o=Xt(),i=e.blueprint.length-He,a=tn(),u=on()?tn():a&&a.parent,s=u&&u!==o[Oe]?u.index-He:t,l=0;Il[l]=s;var c=[];t>0&&a!==u&&c.push(a.index<<3|0);for(var f=[],d=[],p=function h(e,t){if("number"!=typeof t)return ml(e);var n=e.indexOf(":"+t+ul)+2+t.toString().length,r=e.search(new RegExp(ul+"\\/\\*\\d+:"+t+ul));return ml(e.substring(n,r))}(n,r).split(cl),v=0;v<p.length;v++){var g=p[v];if(1&v)if("/"===g.charAt(0)){if("#"===g.charAt(1)){var y=parseInt(g.substr(2),10);s=Il[--l],c.push(y<<3|5)}}else y=parseInt(g.substr(1),10),c.push(y<<3|0,s<<17|1),"#"===g.charAt(0)&&(Il[++l]=s=y);else for(var m=g.split(dl),_=0;_<m.length;_++)if(g=m[_],1&_){fi(o);var w=e.blueprint.length-1-He;c.push(al,"",s<<17|1);var b=yl(g.substr(1,g.length-2)),C=wl(b);Hl(d,b,w,w);var x=d.length-1;f.push(xl(b.mainBinding),3,-1-b.mainBinding,w<<2|2,x,C,2,w<<2|3,x)}else if(""!==g){var I=g.match(fl);fi(o),c.push(I?"":g,s<<17|1),I&&_t(_l(g,e.blueprint.length-1-He),f)}}e.data[t+He]={vars:e.blueprint.length-He-i,expandoStartIndex:i,create:c,update:f,icus:d.length?d:null}}(r,e,t,n)}function El(e,t,n){var r=Xt();n||(n=t),n===t&&e!==t.child?(e.next=t.child,t.child=e):n!==t&&e!==n.next?(e.next=n.next,n.next=e):e.next=null,t!==r[Oe]&&(e.parent=t),Kr(tt(e,r),e,r);var o=r[e.index];return 0!==e.type&&ut(o)&&Kr(o[Ue],e,r),e}function Ol(e,t){var n={},r=e.replace(pl,function(e,t){if(n[t]||(n[t]=t.split("|")),!n[t].length)throw new Error("i18n postprocess: unmatched placeholder - "+t);return n[t].shift()});if(Object.keys(n).some(function(e){return!!n[e].length}))throw new Error("i18n postprocess: unmatched values - "+JSON.stringify(n));return Object.keys(t).length?r=(r=r.replace(hl,function(e,n,r,o,i,a){return t.hasOwnProperty(r)?""+n+t[r]+a:e})).replace(vl,function(e,n){if(t.hasOwnProperty(n)){var r=t[n];if(!r.length)throw new Error("i18n postprocess: unmatched ICU - "+e+" with key: "+n);return r.shift()}return e}):r}function Tl(){!function e(t){for(var n=Xt(),r=bl[Cl--],o=t.data[r+He],i=tn(),a=Pl(r,o.create,o.expandoStartIndex,n),u=r+1;u<=i.index-He;u++)-1===a.indexOf(u)&&Nl(u,n)}(Xt()[be])}function Pl(e,t,n,r){for(var o=Xt()[De],i=null,a=null,u=[],s=0;s<t.length;s++){var l=t[s];if("string"==typeof l)a=i,i=li(n++,3,Ar(l,o),null,null),an(!1);else if("number"==typeof l)switch(7&l){case 1:var c=l>>>17,f=void 0;a=El(i,f=c===e?r[Oe]:nt(c,r),a),f.next=null;break;case 0:var d=l>>>3;u.push(d),a=i,(i=nt(d,r))&&(nn(i),3===i.type&&an(!0));break;case 5:a=i=nt(l>>>3,r),nn(i),an(!1);break;case 4:ji(l>>>3,t[++s],t[++s]);break;default:throw new Error('Unable to determine the type of mutate operation for "'+l+'"')}else switch(l){case al:var p=t[++s],h=o.createComment(p);a=i,i=li(n++,5,h,null,null),Qn(h,r),i.activeCaseIndex=null,an(!1);break;case il:var v=t[++s];a=i,i=li(n++,3,o.createElement(v),v,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'+l+'"')}}return an(!1),u}function Nl(e,t){var n=nt(e,t);Yr(n,et(e,t)||null,t),n.detached=!0;var r=Va(e);if(ut(r)){var o=r;0!==n.type&&Yr(n,o[Ue]||null,t),o[ze]=null}}function Rl(e,t,n){kl(e,t,n),Tl()}function jl(e,t){var n=Xt()[be];n.firstTemplatePass&&null===n.data[e+He]&&function r(e,t,n){for(var r=tn().index-He,o=[],i=0;i<n.length;i+=2)for(var a=n[i],u=n[i+1].split(dl),s=0;s<u.length;s++){var l=u[s];1&s||""!==l&&(l.match(fl)?_t(_l(l,r,a),o):ji(r,a,l))}e.data[t+He]=o}(n,e,t)}var Dl,Al=0,Sl=0;function Vl(e){e!==gr&&(Al|=1<<Sl),Sl++}function Ml(e){if(Sl){var t=Xt(),n=t[be].data[e+He],r=void 0,o=null;Array.isArray(n)?r=n:(r=n.update,o=n.icus),function e(t,n,r,o,i,a){void 0===a&&(a=!1);for(var u=!1,s=0;s<t.length;s++){var l=t[s],c=t[++s];if(a||l&o)for(var f="",d=s+1;d<=s+c;d++){var p=t[d];if("string"==typeof p)f+=p;else if("number"==typeof p)if(p<0)f+=$e(i[r-p]);else{var h=p>>>2;switch(3&p){case 1:ji(h,t[++d],f,t[++d]);break;case 0:Ki(h,f);break;case 2:var v=t[++d],g=n[v],y=nt(h,i);if(null!==y.activeCaseIndex)for(var m=g.remove[y.activeCaseIndex],_=0;_<m.length;_++){var w=m[_];switch(7&w){case 3:Nl(w>>>3,i);break;case 6:var b=nt(m[_+1]>>>3,i).activeCaseIndex;null!==b&&_t(n[w>>>3].remove[b],m)}}var C=Fl(g,f);y.activeCaseIndex=-1!==C?C:null,Pl(-1,g.create[C],g.expandoStartIndex,i),u=!0;break;case 3:g=n[v=t[++d]],y=nt(h,i),e(g.update[y.activeCaseIndex],n,r,o,i,u)}}}s+=c}}(r,o,t[Te]-Sl-1,Al,t),Al=0,Sl=0}}function Fl(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var r=function o(e,t){switch(function n(e,t){"string"==typeof t&&(t=parseInt(t,10));var n=t,r=n.toString().replace(/^[^.]*\.?/,""),o=Math.floor(Math.abs(n)),i=r.length,a=parseInt(r,10),u=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(e.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?Dl.One:Dl.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?Dl.One:Dl.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===o||1===n?Dl.One:Dl.Other;case"ar":return 0===n?Dl.Zero:1===n?Dl.One:2===n?Dl.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?Dl.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?Dl.Many:Dl.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===o&&0===i?Dl.One:Dl.Other;case"be":return n%10==1&&n%100!=11?Dl.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?Dl.Few:n%10==0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?Dl.Many:Dl.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?Dl.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?Dl.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10==9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?Dl.Few:0!==n&&n%1e6==0?Dl.Many:Dl.Other;case"bs":case"hr":case"sr":return 0===i&&o%10==1&&o%100!=11||a%10==1&&a%100!=11?Dl.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)||a%10===Math.floor(a%10)&&a%10>=2&&a%10<=4&&!(a%100>=12&&a%100<=14)?Dl.Few:Dl.Other;case"cs":case"sk":return 1===o&&0===i?Dl.One:o===Math.floor(o)&&o>=2&&o<=4&&0===i?Dl.Few:0!==i?Dl.Many:Dl.Other;case"cy":return 0===n?Dl.Zero:1===n?Dl.One:2===n?Dl.Two:3===n?Dl.Few:6===n?Dl.Many:Dl.Other;case"da":return 1===n||0!==u&&(0===o||1===o)?Dl.One:Dl.Other;case"dsb":case"hsb":return 0===i&&o%100==1||a%100==1?Dl.One:0===i&&o%100==2||a%100==2?Dl.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||a%100===Math.floor(a%100)&&a%100>=3&&a%100<=4?Dl.Few:Dl.Other;case"ff":case"fr":case"hy":case"kab":return 0===o||1===o?Dl.One:Dl.Other;case"fil":return 0===i&&(1===o||2===o||3===o)||0===i&&o%10!=4&&o%10!=6&&o%10!=9||0!==i&&a%10!=4&&a%10!=6&&a%10!=9?Dl.One:Dl.Other;case"ga":return 1===n?Dl.One:2===n?Dl.Two:n===Math.floor(n)&&n>=3&&n<=6?Dl.Few:n===Math.floor(n)&&n>=7&&n<=10?Dl.Many:Dl.Other;case"gd":return 1===n||11===n?Dl.One:2===n||12===n?Dl.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?Dl.Few:Dl.Other;case"gv":return 0===i&&o%10==1?Dl.One:0===i&&o%10==2?Dl.Two:0!==i||o%100!=0&&o%100!=20&&o%100!=40&&o%100!=60&&o%100!=80?0!==i?Dl.Many:Dl.Other:Dl.Few;case"he":return 1===o&&0===i?Dl.One:2===o&&0===i?Dl.Two:0!==i||n>=0&&n<=10||n%10!=0?Dl.Other:Dl.Many;case"is":return 0===u&&o%10==1&&o%100!=11||0!==u?Dl.One:Dl.Other;case"ksh":return 0===n?Dl.Zero:1===n?Dl.One:Dl.Other;case"kw":case"naq":case"se":case"smn":return 1===n?Dl.One:2===n?Dl.Two:Dl.Other;case"lag":return 0===n?Dl.Zero:0!==o&&1!==o||0===n?Dl.Other:Dl.One;case"lt":return n%10!=1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?Dl.Few:0!==a?Dl.Many:Dl.Other:Dl.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===i&&a%100===Math.floor(a%100)&&a%100>=11&&a%100<=19?Dl.Zero:n%10==1&&n%100!=11||2===i&&a%10==1&&a%100!=11||2!==i&&a%10==1?Dl.One:Dl.Other;case"mk":return 0===i&&o%10==1||a%10==1?Dl.One:Dl.Other;case"mt":return 1===n?Dl.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?Dl.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?Dl.Many:Dl.Other;case"pl":return 1===o&&0===i?Dl.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?Dl.Few:0===i&&1!==o&&o%10===Math.floor(o%10)&&o%10>=0&&o%10<=1||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=12&&o%100<=14?Dl.Many:Dl.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?Dl.One:Dl.Other;case"ro":return 1===o&&0===i?Dl.One:0!==i||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?Dl.Few:Dl.Other;case"ru":case"uk":return 0===i&&o%10==1&&o%100!=11?Dl.One:0===i&&o%10===Math.floor(o%10)&&o%10>=2&&o%10<=4&&!(o%100>=12&&o%100<=14)?Dl.Few:0===i&&o%10==0||0===i&&o%10===Math.floor(o%10)&&o%10>=5&&o%10<=9||0===i&&o%100===Math.floor(o%100)&&o%100>=11&&o%100<=14?Dl.Many:Dl.Other;case"shi":return 0===o||1===n?Dl.One:n===Math.floor(n)&&n>=2&&n<=10?Dl.Few:Dl.Other;case"si":return 0===n||1===n||0===o&&1===a?Dl.One:Dl.Other;case"sl":return 0===i&&o%100==1?Dl.One:0===i&&o%100==2?Dl.Two:0===i&&o%100===Math.floor(o%100)&&o%100>=3&&o%100<=4||0!==i?Dl.Few:Dl.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?Dl.One:Dl.Other;default:return Dl.Other}}(t,e)){case Dl.Zero:return"zero";case Dl.One:return"one";case Dl.Two:return"two";case Dl.Few:return"few";case Dl.Many:return"many";default:return"other"}}(t,"en-US");-1===(n=e.cases.indexOf(r))&&"other"!==r&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return n}function Hl(e,t,n,r){for(var o=[],i=[],a=[],u=[],s=[],l=0;l<t.values.length;l++){for(var c=t.values[l],d=[],p=0;p<c.length;p++){var h=c[p];if("string"!=typeof h){var v=d.push(h)-1;c[p]="\x3c!--�"+v+"�--\x3e"}}var g=Ll(c.join(""),n,d,e,r);o.push(g.create),i.push(g.remove),a.push(g.update),u.push(g.vars),s.push(g.childIcus)}e.push({type:t.type,vars:u,expandoStartIndex:r+1,childIcus:s,cases:t.cases,create:o,remove:i,update:a});var y=Xt(),m=Math.max.apply(Math,f(u));for(l=0;l<m;l++)fi(y)}function Ll(e,t,n,r,o){var i=new As(document).getInertBodyElement(e);if(!i)throw new Error("Unable to generate inert body element");var a={vars:0,childIcus:[],create:[],remove:[],update:[]};return function e(t,n,r,o,i,a){if(t){for(var u=[];t;){var s=t.nextSibling,l=a+ ++n.vars;switch(t.nodeType){case Node.ELEMENT_NODE:var c=t,d=c.tagName.toLowerCase();if(Ws.hasOwnProperty(d)){n.create.push(il,d,r<<17|1);for(var p=c.attributes,h=0;h<p.length;h++){var v=p.item(h),g=v.name.toLowerCase();v.value.match(fl)?Js.hasOwnProperty(g)&&_t(Gs[g]?_l(v.value,l,v.name,Ms):Ys[g]?_l(v.value,l,v.name,Fs):_l(v.value,l,v.name),n.update):n.create.push(l<<3|4,v.name,v.value)}e(t.firstChild,n,l,o,i,a),n.remove.push(l<<3|3)}else n.vars--;break;case Node.TEXT_NODE:var y=t.textContent||"",m=y.match(fl);n.create.push(m?"":y,r<<17|1),n.remove.push(l<<3|3),m&&_t(_l(y,l),n.update);break;case Node.COMMENT_NODE:var _=Bl.exec(t.textContent||"");if(_){var w=parseInt(_[1],10);n.create.push(al,"",r<<17|1),u.push([b=o[w],l])}else n.vars--;break;default:n.vars--}t=s}for(h=0;h<u.length;h++){var b,C=u[h][1];Hl(i,b=u[h][0],C,a+n.vars);var x=i.length-1;n.vars+=Math.max.apply(Math,f(i[x].vars)),n.childIcus.push(x);var I=wl(b);n.update.push(xl(b.mainBinding),3,-1-b.mainBinding,C<<2|2,x,I,2,C<<2|3,x),n.remove.push(x<<3|6,C<<3|3)}}}
|
|
431
416
|
/**
|
|
432
417
|
* @license
|
|
433
418
|
* Copyright Google Inc. All Rights Reserved.
|
|
434
419
|
*
|
|
435
420
|
* Use of this source code is governed by an MIT-style license that can be
|
|
436
421
|
* found in the LICENSE file at https://angular.io/license
|
|
437
|
-
*/((
|
|
422
|
+
*/((ol(i)||i).firstChild,a,t,n,r,o),a}!function(e){e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other"}(Dl||(Dl={}));var Bl=/�(\d+)�/,Ul={provide:es,useClass:Is,deps:[rs]},zl=function(t){function n(e,n){var r=t.call(this)||this;r._parent=n,r._bootstrapComponents=[],r.injector=r,r.destroyCbs=[];var o=_e(e);return r._bootstrapComponents=o.bootstrap,r._r3Injector=Ru(e,n,[{provide:rs,useValue:r},Ul]),r.instance=r.get(e),r}return o(n,t),n.prototype.get=function(t,n,r){return void 0===n&&(n=fu.THROW_IF_NOT_FOUND),void 0===r&&(r=e.InjectFlags.Default),t===fu||t===rs||t===lu?this:this._r3Injector.get(t,n,r)},Object.defineProperty(n.prototype,"componentFactoryResolver",{get:function(){return this.get(es)},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},n.prototype.onDestroy=function(e){this.destroyCbs.push(e)},n}(rs),Ql=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 zl(this.moduleType,e)},t}(os);
|
|
438
423
|
/**
|
|
439
424
|
* @license
|
|
440
425
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -442,35 +427,35 @@ var xs=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.def
|
|
|
442
427
|
* Use of this source code is governed by an MIT-style license that can be
|
|
443
428
|
* found in the LICENSE file at https://angular.io/license
|
|
444
429
|
*/
|
|
445
|
-
function
|
|
430
|
+
function Zl(e,t,n){var r=gn()+e,o=Xt();return un()?yr(o,r,n?t.call(n):t()):mr(o,r)}function ql(e,t,n,r){var o=Xt(),i=gn()+e;return _r(o,i,n)?yr(o,i+1,r?t.call(r,n):t(n)):mr(o,i+1)}function Kl(e,t,n,r,o){var i=gn()+e,a=Xt();return wr(a,i,n,r)?yr(a,i+2,o?t.call(o,n,r):t(n,r)):mr(a,i+2)}function Wl(e,t,n,r,o,i){var a=gn()+e,u=Xt();return br(u,a,n,r,o)?yr(u,a+3,i?t.call(i,n,r,o):t(n,r,o)):mr(u,a+3)}function Gl(e,t,n,r,o,i,a){var u=gn()+e,s=Xt();return Cr(s,u,n,r,o,i)?yr(s,u+4,a?t.call(a,n,r,o,i):t(n,r,o,i)):mr(s,u+4)}function Yl(e,t,n,r,o,i,a,u){var s=gn()+e,l=Xt(),c=Cr(l,s,n,r,o,i);return _r(l,s+4,a)||c?yr(l,s+5,u?t.call(u,n,r,o,i,a):t(n,r,o,i,a)):mr(l,s+5)}function $l(e,t,n,r,o,i,a,u,s){var l=gn()+e,c=Xt(),f=Cr(c,l,n,r,o,i);return wr(c,l+4,a,u)||f?yr(c,l+6,s?t.call(s,n,r,o,i,a,u):t(n,r,o,i,a,u)):mr(c,l+6)}function Jl(e,t,n,r,o,i,a,u,s,l){var c=gn()+e,f=Xt(),d=Cr(f,c,n,r,o,i);return br(f,c+4,a,u,s)||d?yr(f,c+7,l?t.call(l,n,r,o,i,a,u,s):t(n,r,o,i,a,u,s)):mr(f,c+7)}function Xl(e,t,n,r,o,i,a,u,s,l,c){var f=gn()+e,d=Xt(),p=Cr(d,f,n,r,o,i);return Cr(d,f+4,a,u,s,l)||p?yr(d,f+8,c?t.call(c,n,r,o,i,a,u,s,l):t(n,r,o,i,a,u,s,l)):mr(d,f+8)}function ec(e,t,n,r){for(var o=gn()+e,i=!1,a=Xt(),u=0;u<n.length;u++)_r(a,o++,n[u])&&(i=!0);return i?yr(a,o,t.apply(r,n)):mr(a,o)}
|
|
446
431
|
/**
|
|
447
432
|
* @license
|
|
448
433
|
* Copyright Google Inc. All Rights Reserved.
|
|
449
434
|
*
|
|
450
435
|
* Use of this source code is governed by an MIT-style license that can be
|
|
451
436
|
* found in the LICENSE file at https://angular.io/license
|
|
452
|
-
*/function
|
|
437
|
+
*/function tc(e,t){var n,r=Xt()[be],o=e+He;r.firstTemplatePass?(n=function i(e,t){if(t)for(var n=t.length-1;n>=0;n--){var r=t[n];if(e===r.name)return r}throw new Error("The pipe '"+e+"' could not be 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(null);return Da(e,a),a}function nc(e,t,n){var r=Va(e);return sc(uc(e)?ql(t,r.transform,n,r):r.transform(n))}function rc(e,t,n,r){var o=Va(e);return sc(uc(e)?Kl(t,o.transform,n,r,o):o.transform(n,r))}function oc(e,t,n,r,o){var i=Va(e);return sc(uc(e)?Wl(t,i.transform,n,r,o,i):i.transform(n,r,o))}function ic(e,t,n,r,o,i){var a=Va(e);return sc(uc(e)?Gl(t,a.transform,n,r,o,i,a):a.transform(n,r,o,i))}function ac(e,t,n){var r=Va(e);return sc(uc(e)?ec(t,r.transform,n,r):r.transform.apply(r,n))}function uc(e){return Xt()[be].data[e+He].pure}function sc(e){return fr.isWrapped(e)&&(e=fr.unwrap(e),Xt()[gn()]=gr),e}
|
|
453
438
|
/**
|
|
454
439
|
* @license
|
|
455
440
|
* Copyright Google Inc. All Rights Reserved.
|
|
456
441
|
*
|
|
457
442
|
* Use of this source code is governed by an MIT-style license that can be
|
|
458
443
|
* found in the LICENSE file at https://angular.io/license
|
|
459
|
-
*/var
|
|
444
|
+
*/var lc=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),cc=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return fc(e,fs)},e}(),fc=iu,dc=function(){function e(e,t,n){this.parent=e,this.shallow=t,this.deep=n}return e.prototype.track=function(e,t,n,r){n?this.deep=xc(this.deep,e,t,null!=r?r:null):this.shallow=xc(this.shallow,e,t,null!=r?r:null)},e.prototype.clone=function(){return new e(this,null,this.deep)},e.prototype.container=function(){var t=pc(this.shallow),n=pc(this.deep);return t||n?new e(this,t,n):null},e.prototype.createView=function(){var t=hc(this.shallow),n=hc(this.deep);return t||n?new e(this,t,n):null},e.prototype.insertView=function(e){vc(e,this.shallow),vc(e,this.deep)},e.prototype.addNode=function(e){return bc(this.deep,e),ot(e)?(bc(this.shallow,e),e.parent&&ot(e.parent)&&bc(this.parent.shallow,e),this.parent):(function t(e){return null===e.parent||ot(e.parent)}(e)&&bc(this.shallow,e),this)},e.prototype.removeView=function(){gc(this.shallow),gc(this.deep)},e}();
|
|
460
445
|
/**
|
|
461
446
|
* @license
|
|
462
447
|
* Copyright Google Inc. All Rights Reserved.
|
|
463
448
|
*
|
|
464
449
|
* Use of this source code is governed by an MIT-style license that can be
|
|
465
450
|
* found in the LICENSE file at https://angular.io/license
|
|
466
|
-
*/function
|
|
451
|
+
*/function pc(e){for(var t=null;e;){var n=[];e.values.push(n),t={next:t,list:e.list,predicate:e.predicate,values:n,containerValues:null},e=e.next}return t}function hc(e){for(var t=null;e;)t={next:t,list:e.list,predicate:e.predicate,values:[],containerValues:e.values},e=e.next;return t}function vc(e,t){for(;t;)t.containerValues.splice(e,0,t.values),t=t.next}function gc(e){for(;e;){var t=e.containerValues,n=t.indexOf(e.values);t.splice(n,1)[0].length&&e.list.setDirty(),e=e.next}}function yc(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 mc(e,t,n){var r=e[b];if("function"==typeof r)return r();var o=An(t,n,e,!1,!1);return null!==o?Sn(n[be].data,n,o,t):null}function _c(e,t,n,r){var o=e[b]();return r?o?mc(r,t,n):null:o}function wc(e,t,n,r){return n?mc(n,e,t):r>-1?Sn(t[be].data,t,r,e):function o(e,t){return 3===e.type||4===e.type?us(fs,e,t):0===e.type?ss(cc,fs,e,t):null}(e,t)}function bc(e,t){for(var n=Xt();e;){var r=e.predicate,o=r.type;if(o){var i=null;o===cc?i=_c(o,t,n,r.read):null!==(s=An(t,n,o,!1,!1))&&(i=wc(t,n,r.read,s)),null!==i&&Cc(e,i)}else for(var a=r.selector,u=0;u<a.length;u++){var s;null!==(s=yc(t,a[u]))&&null!==(i=wc(t,n,r.read,s))&&Cc(e,i)}e=e.next}}function Cc(e,t){e.values.push(t),e.list.setDirty()}function xc(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 Ic=function(){function e(){this.dirty=!0,this.changes=new lc,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[W()]=function(){return this._values[W()]()},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}();function kc(e,t,n,r){var o=new Ic;return function i(e){var t=Xt(),n=t[ke];return qt&&qt!==t[Oe]&&!ot(qt)&&(n&&(n=t[ke]=n.clone()),qt.flags|=4),n||(t[ke]=new e(null,null,null))}(dc).track(o,t,n,r),function a(e,t,n){var r=za(e);r.push(t),e[be].firstTemplatePass&&Qa(e).push(n,r.length-1)}(Xt(),o,o.destroy),null!=e&&Da(e,o),o}function Ec(e){return!!e.dirty&&(e.reset(e._valuesTree),e.notifyOnChanges(),!0)}
|
|
467
452
|
/**
|
|
468
453
|
* @license
|
|
469
454
|
* Copyright Google Inc. All Rights Reserved.
|
|
470
455
|
*
|
|
471
456
|
* Use of this source code is governed by an MIT-style license that can be
|
|
472
457
|
* found in the LICENSE file at https://angular.io/license
|
|
473
|
-
*/function
|
|
458
|
+
*/function Oc(e,t){return ss(cc,fs,e,t)}
|
|
474
459
|
/**
|
|
475
460
|
* @license
|
|
476
461
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -484,105 +469,105 @@ function Al(e,t,n){var r=dn()+e,o=Gt();return nn()?gr(o,r,n?t.call(n):t()):yr(o,
|
|
|
484
469
|
*
|
|
485
470
|
* Use of this source code is governed by an MIT-style license that can be
|
|
486
471
|
* found in the LICENSE file at https://angular.io/license
|
|
487
|
-
*/var
|
|
472
|
+
*/var Tc="__SANITIZER_TRUSTED_BRAND__";function Pc(e,t){return e instanceof String&&e[Tc]===t}function Nc(e,t){var n=new String(e);return n[Tc]=t,n}
|
|
488
473
|
/**
|
|
489
474
|
* @license
|
|
490
475
|
* Copyright Google Inc. All Rights Reserved.
|
|
491
476
|
*
|
|
492
477
|
* Use of this source code is governed by an MIT-style license that can be
|
|
493
478
|
* found in the LICENSE file at https://angular.io/license
|
|
494
|
-
*/var
|
|
479
|
+
*/var Rc=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"),jc=/^url\(([^)]+)\)$/;function Dc(e){if(!(e=String(e).trim()))return"";var t=e.match(jc);return t&&Ms(t[1])===t[1]||e.match(Rc)&&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:(Ds()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}
|
|
495
480
|
/**
|
|
496
481
|
* @license
|
|
497
482
|
* Copyright Google Inc. All Rights Reserved.
|
|
498
483
|
*
|
|
499
484
|
* Use of this source code is governed by an MIT-style license that can be
|
|
500
485
|
* found in the LICENSE file at https://angular.io/license
|
|
501
|
-
*/function
|
|
486
|
+
*/function Ac(t){var n=Fc();return n?n.sanitize(e.SecurityContext.HTML,t)||"":Pc(t,"Html")?t.toString():rl(document,$e(t))}function Sc(t){var n=Fc();return n?n.sanitize(e.SecurityContext.STYLE,t)||"":Pc(t,"Style")?t.toString():Dc($e(t))}function Vc(t){var n=Fc();return n?n.sanitize(e.SecurityContext.URL,t)||"":Pc(t,"Url")?t.toString():Ms($e(t))}function Mc(t){var n=Fc();if(n)return n.sanitize(e.SecurityContext.RESOURCE_URL,t)||"";if(Pc(t,"ResourceUrl"))return t.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function Fc(){var e=Xt();return e&&e[Ae]}
|
|
502
487
|
/**
|
|
503
488
|
* @license
|
|
504
489
|
* Copyright Google Inc. All Rights Reserved.
|
|
505
490
|
*
|
|
506
491
|
* Use of this source code is governed by an MIT-style license that can be
|
|
507
492
|
* found in the LICENSE file at https://angular.io/license
|
|
508
|
-
*/var
|
|
493
|
+
*/var Hc={"ɵdefineBase":pe,"ɵdefineComponent":se,"ɵdefineDirective":he,defineInjectable:C,defineInjector:x,"ɵdefineNgModule":fe,"ɵdefinePipe":ve,"ɵdirectiveInject":Ma,"ɵgetFactoryOf":Hn,"ɵgetInheritedFactory":Ln,inject:At,"ɵinjectAttribute":Fa,"ɵtemplateRefExtractor":Oc,"ɵNgOnChangesFeature":ru,"ɵProvidersFeature":Zu,"ɵInheritDefinitionFeature":eu,"ɵelementAttribute":ji,"ɵbind":Ca,"ɵcontainer":oa,"ɵnextContext":pi,"ɵcontainerRefreshStart":aa,"ɵcontainerRefreshEnd":ua,"ɵloadQueryList":Sa,"ɵnamespaceHTML":_i,"ɵnamespaceMathML":mi,"ɵnamespaceSVG":yi,"ɵenableBindings":$t,"ɵdisableBindings":Jt,"ɵallocHostVars":xa,"ɵelementStart":xi,"ɵelementEnd":Ri,"ɵelement":wi,"ɵelementContainerStart":bi,"ɵelementContainerEnd":Ci,"ɵpureFunction0":Zl,"ɵpureFunction1":ql,"ɵpureFunction2":Kl,"ɵpureFunction3":Wl,"ɵpureFunction4":Gl,"ɵpureFunction5":Yl,"ɵpureFunction6":$l,"ɵpureFunction7":Jl,"ɵpureFunction8":Xl,"ɵpureFunctionV":ec,"ɵgetCurrentView":Ua,"ɵrestoreView":en,"ɵinterpolation1":ka,"ɵinterpolation2":Ea,"ɵinterpolation3":Oa,"ɵinterpolation4":Ta,"ɵinterpolation5":Pa,"ɵinterpolation6":Na,"ɵinterpolation7":Ra,"ɵinterpolation8":ja,"ɵinterpolationV":Ia,"ɵelementClassProp":Qi,"ɵlistener":Ni,"ɵload":Va,"ɵprojection":da,"ɵelementProperty":Di,"ɵcomponentHostSyntheticProperty":Ai,"ɵpipeBind1":nc,"ɵpipeBind2":rc,"ɵpipeBind3":oc,"ɵpipeBind4":ic,"ɵpipeBindV":ac,"ɵprojectionDef":ca,"ɵpipe":tc,"ɵquery":kc,"ɵqueryRefresh":Ec,"ɵregisterContentQuery":Ha,"ɵreference":Aa,"ɵelementStyling":Li,"ɵelementHostAttrs":Bi,"ɵelementStylingMap":Zi,"ɵelementStyleProp":zi,"ɵelementStylingApply":Ui,"ɵtemplate":ra,"ɵtext":qi,"ɵtextBinding":Ki,"ɵembeddedViewStart":sa,"ɵembeddedViewEnd":la,"ɵi18n":Rl,"ɵi18nAttributes":jl,"ɵi18nExp":Vl,"ɵi18nStart":kl,"ɵi18nEnd":Tl,"ɵi18nApply":Ml,"ɵi18nPostprocess":Ol,"ɵsanitizeHtml":Ac,"ɵsanitizeStyle":Sc,"ɵdefaultStyleSanitizer":function(e,t){return void 0===t?"background-image"===e||"background"===e||"border-image"===e||"filter"===e||"filter"===e||"list-style"===e||"list-style-image"===e:Sc(t)},"ɵsanitizeResourceUrl":Mc,"ɵsanitizeScript":function Lc(t){var n=Fc();if(n)return n.sanitize(e.SecurityContext.SCRIPT,t)||"";if(Pc(t,"Script"))return t.toString();throw new Error("unsafe value used in a script context")},"ɵsanitizeUrl":Vc},Bc=function Bc(){},Uc=new Map;
|
|
509
494
|
/**
|
|
510
495
|
* @license
|
|
511
496
|
* Copyright Google Inc. All Rights Reserved.
|
|
512
497
|
*
|
|
513
498
|
* Use of this source code is governed by an MIT-style license that can be
|
|
514
499
|
* found in the LICENSE file at https://angular.io/license
|
|
515
|
-
*/function
|
|
500
|
+
*/function zc(e,t){if(t)throw new Error("Duplicate module registered for "+e+" - "+$(t)+" vs "+$(t.name))}function Qc(e){var t=Uc.get(e);if(!t)throw qc(e);return t}var Zc=Qc;function qc(e){return new Error("No module with ID "+e+" loaded")}
|
|
516
501
|
/**
|
|
517
502
|
* @license
|
|
518
503
|
* Copyright Google Inc. All Rights Reserved.
|
|
519
504
|
*
|
|
520
505
|
* Use of this source code is governed by an MIT-style license that can be
|
|
521
506
|
* found in the LICENSE file at https://angular.io/license
|
|
522
|
-
*/var
|
|
507
|
+
*/var Kc=Function;function Wc(e){return"function"==typeof e}
|
|
523
508
|
/**
|
|
524
509
|
* @license
|
|
525
510
|
* Copyright Google Inc. All Rights Reserved.
|
|
526
511
|
*
|
|
527
512
|
* Use of this source code is governed by an MIT-style license that can be
|
|
528
513
|
* found in the LICENSE file at https://angular.io/license
|
|
529
|
-
*/var
|
|
514
|
+
*/var Gc=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Yc=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,$c=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Jc=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(Gc.exec(n)||Yc.exec(n)&&!$c.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&&Xc(e.decorators)});return this._zipTypesAndAnnotations(i,a)}var u=e.hasOwnProperty(T)&&e[T],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(!Wc(e))return[];var t=ef(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?Xc(e.decorators):e.hasOwnProperty(O)?e[O]:null},e.prototype.annotations=function(e){if(!Wc(e))return[];var t=ef(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]=Xc(r[e])}),o}return e.hasOwnProperty(P)?e[P]:null},e.prototype.propMetadata=function(e){if(!Wc(e))return{};var t=ef(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 Kc&&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:"./"+$(e)},e.prototype.resourceUri=function(e){return"./"+$(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return r},e.prototype.resolveEnum=function(e,t){return e[t]},e}();function Xc(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 ef(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}
|
|
530
515
|
/**
|
|
531
516
|
* @license
|
|
532
517
|
* Copyright Google Inc. All Rights Reserved.
|
|
533
518
|
*
|
|
534
519
|
* Use of this source code is governed by an MIT-style license that can be
|
|
535
520
|
* found in the LICENSE file at https://angular.io/license
|
|
536
|
-
*/var
|
|
521
|
+
*/var tf=null;function nf(){return tf=tf||new Jc}function rf(e){return of(nf().parameters(e))}function of(e){var t=bt();return e.map(function(e){return function n(e,t){var n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function r(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)){if(0===t.length)throw new Error("Dependency array must have arguments.");for(var o=0;o<t.length;o++){var i=t[o];if(void 0!==i)if(i instanceof It||"Optional"===i.__proto__.ngMetadataName)n.optional=!0;else if(i instanceof Et||"SkipSelf"===i.__proto__.ngMetadataName)n.skipSelf=!0;else if(i instanceof kt||"Self"===i.__proto__.ngMetadataName)n.self=!0;else if(i instanceof Ot||"Host"===i.__proto__.ngMetadataName)n.host=!0;else if(i instanceof xt)n.token=i.token;else if(i instanceof F){if(void 0===i.attributeName)throw new Error("Attribute name must be defined.");n.token=i.attributeName,n.resolved=e.R3ResolvedDependencyType.Attribute}else r(i)}}else r(t);return n}
|
|
537
522
|
/**
|
|
538
523
|
* @license
|
|
539
524
|
* Copyright Google Inc. All Rights Reserved.
|
|
540
525
|
*
|
|
541
526
|
* Use of this source code is governed by an MIT-style license that can be
|
|
542
527
|
* found in the LICENSE file at https://angular.io/license
|
|
543
|
-
*/(t,e)})}var
|
|
528
|
+
*/(t,e)})}var af=[],uf=[],sf=!1;function lf(e){return Array.isArray(e)?e.every(lf):!!ee(e)}function cf(e,t){void 0===t&&(t={}),ff(e,t),function n(e,t){uf.push({moduleType:e,ngModule:t})}(e,t)}function ff(e,t){var n=vf(t.declarations||af),r=null;Object.defineProperty(e,_,{configurable:!0,get:function(){return null===r&&(r=bt().compileNgModule(Hc,"ng://"+e.name+"/ngModuleDef.js",{type:e,bootstrap:vf(t.bootstrap||af,ee),declarations:n.map(ee),imports:vf(t.imports||af,ee).map(gf),exports:vf(t.exports||af,ee).map(gf),emitInline:!0})),r}}),t.id&&function o(e,t){zc(e,Uc.get(e)),Uc.set(e,t)}(t.id,e);var i=null;Object.defineProperty(e,y,{get:function(){if(null===i){var n={name:e.name,type:e,deps:rf(e),providers:t.providers||af,imports:[(t.imports||af).map(ee),(t.exports||af).map(ee)]};i=bt().compileInjector(Hc,"ng://"+e.name+"/ngInjectorDef.js",n)}return i},configurable:!1})}function df(e,t){var n=vf(t.declarations||af),r=hf(e);n.forEach(function(t){t.hasOwnProperty(h)?pf(ge(t),r):t.hasOwnProperty(v)||t.hasOwnProperty(m)||(t.ngSelectorScope=e)})}function pf(e,t){e.directiveDefs=function(){return Array.from(t.compilation.directives).map(function(e){return ye(e)||ge(e)}).filter(function(e){return!!e})},e.pipeDefs=function(){return Array.from(t.compilation.pipes).map(function(e){return me(e)})}}function hf(e){if(!yf(e))throw new Error(e.name+" does not have an ngModuleDef");var t=_e(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;var n={compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return t.declarations.forEach(function(e){me(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),t.imports.forEach(function(e){var t=e;if(!yf(t))throw new Error("Importing "+t.name+" which does not have an ngModuleDef");var r=hf(t);r.exported.directives.forEach(function(e){return n.compilation.directives.add(e)}),r.exported.pipes.forEach(function(e){return n.compilation.pipes.add(e)})}),t.exports.forEach(function(e){var t=e;if(yf(t)){var r=hf(t);r.exported.directives.forEach(function(e){n.compilation.directives.add(e),n.exported.directives.add(e)}),r.exported.pipes.forEach(function(e){n.compilation.pipes.add(e),n.exported.pipes.add(e)})}else me(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function vf(e,t){var n=[];return e.forEach(function(e){Array.isArray(e)?n.push.apply(n,f(vf(e,t))):n.push(t?t(e):e)}),n}function gf(e){return function t(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function yf(e){return!!_e(e)}
|
|
544
529
|
/**
|
|
545
530
|
* @license
|
|
546
531
|
* Copyright Google Inc. All Rights Reserved.
|
|
547
532
|
*
|
|
548
533
|
* Use of this source code is governed by an MIT-style license that can be
|
|
549
534
|
* found in the LICENSE file at https://angular.io/license
|
|
550
|
-
*/function
|
|
535
|
+
*/function mf(t,n){var r=null;!function o(e){re(e)&&ne.add(e)}(n),Object.defineProperty(t,h,{get:function(){var o=bt();if(null===r){if(re(n)){var a=["Component '"+$e(t)+"' is not resolved:"];throw n.templateUrl&&a.push(" - templateUrl: "+$e(n.templateUrl)),n.styleUrls&&n.styleUrls.length&&a.push(" - styleUrls: "+JSON.stringify(n.styleUrls)),a.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(a.join("\n"))}var u=i({},wf(t,n),{template:n.template||"",preserveWhitespaces:n.preserveWhitespaces||!1,styles:n.styles||ae,animations:n.animations,viewQueries:bf(t,nf().propMetadata(t),xf),directives:[],changeDetection:n.changeDetection,pipes:new Map,encapsulation:n.encapsulation||e.ViewEncapsulation.Emulated,interpolation:n.interpolation,viewProviders:n.viewProviders||null});if(r=o.compileComponent(Hc,"ng://"+$e(t)+"/template.html",u),function s(){if(!sf){sf=!0;try{for(var e=uf.length-1;e>=0;e--){var t=uf[e],n=t.moduleType,r=t.ngModule;r.declarations&&r.declarations.every(lf)&&(uf.splice(e,1),df(n,r))}}finally{sf=!1}}}(),function l(e){return void 0!==e.ngSelectorScope}(t)){var c=hf(t.ngSelectorScope);pf(r,c)}}return r},configurable:!1})}function _f(e,t){var n=null;Object.defineProperty(e,v,{get:function(){if(null===n){var r=wf(e,t);n=bt().compileDirective(Hc,"ng://"+(e&&e.name)+"/ngDirectiveDef.js",r)}return n},configurable:!1})}function wf(e,t){var n=nf().propMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:t.selector,deps:rf(e),host:t.host||ie,propMetadata:n,inputs:t.inputs||ae,outputs:t.outputs||ae,queries:bf(e,n,Cf),lifecycle:{usesOnChanges:void 0!==e.prototype.ngOnChanges},typeSourceSpan:null,usesInheritance:!function r(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}(e),exportAs:t.exportAs||null,providers:t.providers||null}}function bf(e,t,n){var r=[],o=function(o){t.hasOwnProperty(o)&&t[o].forEach(function(t){if(n(t)){if(!t.selector)throw new Error("Can't construct a query for the property \""+o+'" of "'+$e(e)+"\" since the query selector wasn't defined.");r.push(function i(e,t){return{propertyName:e,predicate:function n(e){return"string"==typeof e?function t(e){return e.split(",").map(function(e){return e.trim()})}
|
|
551
536
|
/**
|
|
552
537
|
* @license
|
|
553
538
|
* Copyright Google Inc. All Rights Reserved.
|
|
554
539
|
*
|
|
555
540
|
* Use of this source code is governed by an MIT-style license that can be
|
|
556
541
|
* found in the LICENSE file at https://angular.io/license
|
|
557
|
-
*/(e):e}(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null}}(o,t))}})};for(var i in t)o(i);return r}function
|
|
542
|
+
*/(e):ee(e)}(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null}}(o,t))}})};for(var i in t)o(i);return r}function Cf(e){var t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function xf(e){var t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function If(e,t){var n=null;Object.defineProperty(e,m,{get:function(){return null===n&&(n=bt().compilePipe(Hc,"ng://"+$e(e)+"/ngPipeDef.js",{type:e,name:e.name,deps:rf(e),pipeName:t.name,pure:void 0===t.pure||t.pure})),n},configurable:!1})}
|
|
558
543
|
/**
|
|
559
544
|
* @license
|
|
560
545
|
* Copyright Google Inc. All Rights Reserved.
|
|
561
546
|
*
|
|
562
547
|
* Use of this source code is governed by an MIT-style license that can be
|
|
563
548
|
* found in the LICENSE file at https://angular.io/license
|
|
564
|
-
*/var
|
|
549
|
+
*/new Map,new Map;var kf=N("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,function(e,t){return Mf(e,t)}),Ef=N("Component",function(t){return void 0===t&&(t={}),i({changeDetection:e.ChangeDetectionStrategy.Default},t)},kf,void 0,function(e,t){return Vf(e,t)}),Of=N("Pipe",function(e){return i({pure:!0},e)},void 0,void 0,function(e,t){return Ff(e,t)}),Tf=function(e){return function(t,n){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var i=t.constructor;i.hasOwnProperty(w)||function(e){var t=e.constructor,n=t.ngBaseDef,r=t.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};n&&(p(r.inputs,n.inputs),p(r.outputs,n.outputs),p(r.declaredInputs,n.declaredInputs))}(t),e(i.ngBaseDef)[n]=r[0]}},Pf=D("Input",function(e){return{bindingPropertyName:e}},void 0,Tf(function(e){return e.inputs||{}})),Nf=D("Output",function(e){return{bindingPropertyName:e}},void 0,Tf(function(e){return e.outputs||{}})),Rf=D("HostBinding",function(e){return{hostPropertyName:e}}),jf=D("HostListener",function(e,t){return{eventName:e,args:t}}),Df=mf,Af=_f,Sf=If,Vf=iu,Mf=iu,Ff=iu,Hf=d({provide:String,useValue:d}),Lf=[];function Bf(e,t){if(!t){var n=(s=new Jc).parameters(e);return function(){return new(e.bind.apply(e,f([void 0],Vt(n))))}}if(Hf in t){var r=t;return function(){return r.useValue}}if(t.useExisting){var o=t;return function(){return At(o.useExisting)}}if(t.useFactory){var i=t;return function(){return i.useFactory.apply(i,f(Vt(i.deps||Lf)))}}if(t.useClass){var a=t,u=t.deps;if(!u){var s=new Jc;u=s.parameters(e)}return function(){var e;return new((e=a.useClass).bind.apply(e,f([void 0],Vt(u))))}}var l=t.deps;return l||(s=new Jc,l=s.parameters(e)),function(){return new(e.bind.apply(e,f([void 0],Vt(l))))}}
|
|
565
550
|
/**
|
|
566
551
|
* @license
|
|
567
552
|
* Copyright Google Inc. All Rights Reserved.
|
|
568
553
|
*
|
|
569
554
|
* Use of this source code is governed by an MIT-style license that can be
|
|
570
555
|
* found in the LICENSE file at https://angular.io/license
|
|
571
|
-
*/var
|
|
556
|
+
*/var Uf=N("NgModule",function(e){return e},void 0,void 0,function(e,t){return Qf(e,t)}),zf=cf,Qf=function Zf(e,t){var n=t&&t.imports||[];t&&t.exports&&(n=f(n,[t.exports])),e.ngInjectorDef=x({factory:Bf(e,{useClass:e}),providers:t&&t.providers,imports:n})},qf=d({provide:String,useValue:d});function Kf(e){return void 0!==e.useClass}function Wf(e){return qf in e}function Gf(e){return void 0!==e.useFactory}function Yf(e){return void 0!==e.useExisting}
|
|
572
557
|
/**
|
|
573
558
|
* @license
|
|
574
559
|
* Copyright Google Inc. All Rights Reserved.
|
|
575
560
|
*
|
|
576
561
|
* Use of this source code is governed by an MIT-style license that can be
|
|
577
562
|
* found in the LICENSE file at https://angular.io/license
|
|
578
|
-
*/var
|
|
563
|
+
*/var $f=N("Injectable",void 0,void 0,void 0,function(e,t){return Jf(e,t)}),Jf=function Xf(e,t){t&&void 0!==t.providedIn&&!I(e)&&(e.ngInjectableDef=C({providedIn:t.providedIn,factory:Bf(e,t)}))},ed="ngDebugContext",td="ngOriginalError",nd="ngErrorLogger";function rd(e){return e[ed]}function od(e){return e[td]}function id(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,f(t))}
|
|
579
564
|
/**
|
|
580
565
|
* @license
|
|
581
566
|
* Copyright Google Inc. All Rights Reserved.
|
|
582
567
|
*
|
|
583
568
|
* Use of this source code is governed by an MIT-style license that can be
|
|
584
569
|
* found in the LICENSE file at https://angular.io/license
|
|
585
|
-
*/var
|
|
570
|
+
*/var ad=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[nd]||id}(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?rd(e)?rd(e):this._findContext(od(e)):null},e.prototype._findOriginalError=function(e){for(var t=od(e);t&&od(t);)t=od(t);return t},e}();function ud(e){return e.length>1?" ("+
|
|
586
571
|
/**
|
|
587
572
|
* @license
|
|
588
573
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -590,7 +575,7 @@ function Al(e,t,n){var r=dn()+e,o=Gt();return nn()?gr(o,r,n?t.call(n):t()):yr(o,
|
|
|
590
575
|
* Use of this source code is governed by an MIT-style license that can be
|
|
591
576
|
* found in the LICENSE file at https://angular.io/license
|
|
592
577
|
*/
|
|
593
|
-
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
|
|
578
|
+
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 $(e.token)}).join(" -> ")+")":""}function sd(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[td]=t,r}(i,r):Error(i);return a.addKey=ld,a.keys=o,a.injectors=[e],a.constructResolvingMessage=n,a[td]=r,a}function ld(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function cd(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($).join(" "):"?")}return Error("Cannot resolve all parameters for '"+$(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+$(e)+"' is decorated with Injectable.")}
|
|
594
579
|
/**
|
|
595
580
|
* @license
|
|
596
581
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -598,14 +583,14 @@ function t(e){for(var t=[],n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.pu
|
|
|
598
583
|
* Use of this source code is governed by an MIT-style license that can be
|
|
599
584
|
* found in the LICENSE file at https://angular.io/license
|
|
600
585
|
*/
|
|
601
|
-
var
|
|
586
|
+
var fd=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=$(this.token)}return e.get=function(e){return dd.get(ee(e))},Object.defineProperty(e,"numberOfKeys",{get:function(){return dd.numberOfKeys},enumerable:!0,configurable:!0}),e}(),dd=new(function(){function e(){this._allKeys=new Map}return e.prototype.get=function(e){if(e instanceof fd)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new fd(e,fd.numberOfKeys);return this._allKeys.set(e,t),t},Object.defineProperty(e.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),e}()),pd=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 Jc),hd=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}(),vd=[],gd=function gd(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]},yd=function yd(e,t){this.factory=e,this.dependencies=t};function md(e){return new gd(fd.get(e.provide),[function t(e){var t,n;if(e.useClass){var r=ee(e.useClass);t=pd.factory(r),n=wd(r)}else e.useExisting?(t=function(e){return e},n=[hd.fromKey(fd.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 bd(e,t,n)})}return wd(e)}(e.useFactory,e.deps)):(t=function(){return e.useValue},n=vd);return new yd(t,n)}(e)],e.multi||!1)}function _d(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 gd(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 Kc)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(md),new Map);return Array.from(t.values())}function wd(e){var t=pd.parameters(e);if(!t)return[];if(t.some(function(e){return null==e}))throw cd(e,t);return t.map(function(n){return bd(e,n,t)})}function bd(e,t,n){var r=null,o=!1;if(!Array.isArray(t))return Cd(t instanceof xt?t.token:t,o,null);for(var i=null,a=0;a<t.length;++a){var u=t[a];u instanceof Kc?r=u:u instanceof xt?r=u.token:u instanceof It?o=!0:u instanceof kt||u instanceof Et?i=u:u instanceof E&&(r=u)}if(null!=(r=ee(r)))return Cd(r,o,i);throw cd(e,n)}function Cd(e,t,n){return new hd(fd.get(e),t,n)}
|
|
602
587
|
/**
|
|
603
588
|
* @license
|
|
604
589
|
* Copyright Google Inc. All Rights Reserved.
|
|
605
590
|
*
|
|
606
591
|
* Use of this source code is governed by an MIT-style license that can be
|
|
607
592
|
* found in the LICENSE file at https://angular.io/license
|
|
608
|
-
*/var
|
|
593
|
+
*/var xd=new Object,Id=function(){function e(){}return e.resolve=function(e){return _d(e)},e.resolveAndCreate=function(t,n){var r=e.resolve(t);return e.fromResolvedProviders(r,n)},e.fromResolvedProviders=function(e,t){return new kd(e,t)},e}(),kd=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]=xd}return e.prototype.get=function(e,t){return void 0===t&&(t=su),this._getByKey(fd.get(e),null,t)},e.prototype.resolveAndCreateChild=function(e){var t=Id.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(Id.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 sd(e,n,function(e){return"Cannot instantiate cyclic dependency!"+ud(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 sd(e,r,function(e){var n=$(e[0].token);return t.message+": Error during instantiation of "+n+"!"+ud(e)+"."},t)}(this,t,0,e.key)}return r},e.prototype._getByReflectiveDependency=function(e){return this._getByKey(e.key,e.visibility,e.optional?null:su)},e.prototype._getByKey=function(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof kt?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]===xd&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return xd},e.prototype._throwOrNull=function(e,t){if(t!==su)return t;throw function n(e,t){return sd(e,t,function(e){return"No provider for "+$(e[0].token)+"!"+ud(e)})}(this,e)},e.prototype._getByKeySelf=function(e,t){var n=this._getObjByKeyId(e.id);return n!==xd?n:this._throwOrNull(e,t)},e.prototype._getByKeyDefault=function(t,n,r){var o;for(o=r instanceof Et?this.parent:this;o instanceof e;){var i=o,a=i._getObjByKeyId(t.id);if(a!==xd)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}
|
|
609
594
|
/**
|
|
610
595
|
* @license
|
|
611
596
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -619,28 +604,28 @@ var td=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
619
604
|
*
|
|
620
605
|
* Use of this source code is governed by an MIT-style license that can be
|
|
621
606
|
* found in the LICENSE file at https://angular.io/license
|
|
622
|
-
*/(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY=
|
|
607
|
+
*/(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY=fd.get(fu),e}();function Ed(e){return!!e&&"function"==typeof e.then}function Od(e){return!!e&&"function"==typeof e.subscribe}
|
|
623
608
|
/**
|
|
624
609
|
* @license
|
|
625
610
|
* Copyright Google Inc. All Rights Reserved.
|
|
626
611
|
*
|
|
627
612
|
* Use of this source code is governed by an MIT-style license that can be
|
|
628
613
|
* found in the LICENSE file at https://angular.io/license
|
|
629
|
-
*/var
|
|
614
|
+
*/var Td=new E("Application Initializer"),Pd=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]();Ed(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},a([$f(),u(0,xt(Td)),u(0,It()),s("design:paramtypes",[Array])],e)}(),Nd=new E("AppId");function Rd(){return""+Dd()+Dd()+Dd()}var jd={provide:Nd,useFactory:Rd,deps:[]};function Dd(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Ad=new E("Platform Initializer"),Sd=new E("Platform ID"),Vd=new E("appBootstrapListener"),Md=new E("Application Packages Root URL"),Fd=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},a([$f()],e)}(),Hd=function Hd(e,t){this.ngModuleFactory=e,this.componentFactories=t};function Ld(){throw new Error("Runtime compiler is not loaded")}var Bd,Ud,zd=function(e){return new Ql(e)},Qd=Ld,Zd=Ld,qd=function(e){return new Hd(zd(e),[])},Kd=Ld,Wd=Ld,Gd=function(){function e(){this.compileModuleSync=Qd,this.compileModuleAsync=Zd,this.compileModuleAndAllComponentsSync=Kd,this.compileModuleAndAllComponentsAsync=Wd}return e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},a([$f()],e)}(),Yd=new E("compilerOptions"),$d=function $d(){};function Jd(){var e=Z.wtf;return!(!e||!(Bd=e.trace)||(Ud=Bd.events,0))}function Xd(e,t){return void 0===t&&(t=null),Ud.createScope(e,t)}function ep(e,t){return Bd.leaveScope(e,t),t}function tp(e,t){return Bd.beginTimeRange(e,t)}function np(e){Bd.endTimeRange(e)}
|
|
630
615
|
/**
|
|
631
616
|
* @license
|
|
632
617
|
* Copyright Google Inc. All Rights Reserved.
|
|
633
618
|
*
|
|
634
619
|
* Use of this source code is governed by an MIT-style license that can be
|
|
635
620
|
* found in the LICENSE file at https://angular.io/license
|
|
636
|
-
*/var
|
|
621
|
+
*/var rp=Jd();function op(e,t){return null}var ip=rp?Xd:function(e,t){return op},ap=rp?ep:function(e,t){return t},up=rp?tp:function(e,t){return null},sp=rp?np:function(e){return null},lp=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 lc(!1),this.onMicrotaskEmpty=new lc(!1),this.onStable=new lc(!1),this.onError=new lc(!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 pp(e),t.invokeTask(r,o,i,a)}finally{hp(e)}},onInvoke:function(t,n,r,o,i,a,u){try{return pp(e),t.invoke(r,o,i,a,u)}finally{hp(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,dp(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,fp,cp,cp);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 cp(){}var fp={};function dp(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 pp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hp(e){e._nesting--,dp(e)}var vp,gp=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new lc,this.onMicrotaskEmpty=new lc,this.onStable=new lc,this.onError=new lc}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}(),yp=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){t.taskTrackingZone="undefined"==typeof Zone?null: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(){lp.assertNotInAngularZone(),G(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())G(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,creationLocation:e.creationLocation,data:e.data}}):[]},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([$f(),s("design:paramtypes",[lp])],e)}(),mp=function(){function e(){this._applications=new Map,_p.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),_p.findTestabilityInTree(this,e,t)},a([$f(),s("design:paramtypes",[])],e)}(),_p=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),wp=new E("AllowMultipleToken"),bp=function bp(e,t){this.name=e,this.token=t};
|
|
637
622
|
/**
|
|
638
623
|
* @license
|
|
639
624
|
* Copyright Google Inc. All Rights Reserved.
|
|
640
625
|
*
|
|
641
626
|
* Use of this source code is governed by an MIT-style license that can be
|
|
642
627
|
* found in the LICENSE file at https://angular.io/license
|
|
643
|
-
*/function
|
|
628
|
+
*/function Cp(e){if(vp&&!vp.destroyed&&!vp.injector.get(wp,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");vp=e.get(Ep);var t=e.get(Ad,null);return t&&t.forEach(function(e){return e()}),vp}function xp(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new E(r);return function(t){void 0===t&&(t=[]);var i=kp();if(!i||i.injector.get(wp,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});Cp(fu.create({providers:a,name:r}))}return Ip(o)}}function Ip(e){var t=kp();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 kp(){return vp&&!vp.destroyed?vp:null}var Ep=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 gp:("zone.js"===e?void 0:e)||new lp({enableLongStackTrace:Ds()})}(t?t.ngZone:void 0),i=[{provide:lp,useValue:r}];return r.run(function(){var t=fu.create({providers:i,parent:n.injector,name:e.moduleType.name}),o=e.create(t),a=o.injector.get(ad,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(function(){return Pp(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 Ed(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(Pd);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=Op({},t);return function o(e,t,n){return e.get($d).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then(function(e){return n.bootstrapModuleFactory(e,r)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Tp);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+$(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([$f(),s("design:paramtypes",[fu])],e)}();function Op(e,t){return Array.isArray(t)?t.reduce(Op,e):i({},e,t)}var Tp=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=Ds(),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(){lp.assertNotInAngularZone(),G(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){lp.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 Ku?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof ns?null:this._injector.get(rs),i=n.create(fu.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(yp,null);return a&&i.injector.get(mp).registerApplication(i.location.nativeElement,a),this._loadComponent(i),Ds()&&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,ap(t)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Pp(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Vd,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Pp(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=ip("ApplicationRef#tick()"),r=a([$f(),s("design:paramtypes",[lp,Fd,fu,ad,es,Pd])],e)}();function Pp(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}
|
|
644
629
|
/**
|
|
645
630
|
* @license
|
|
646
631
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -661,35 +646,35 @@ var td=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
661
646
|
*
|
|
662
647
|
* Use of this source code is governed by an MIT-style license that can be
|
|
663
648
|
* found in the LICENSE file at https://angular.io/license
|
|
664
|
-
*/var
|
|
649
|
+
*/var Np=function(){function e(){this.dirty=!0,this._results=[],this.changes=new lc,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[W()]=function(){return this._results[W()]()},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)},[])}
|
|
665
650
|
/**
|
|
666
651
|
* @license
|
|
667
652
|
* Copyright Google Inc. All Rights Reserved.
|
|
668
653
|
*
|
|
669
654
|
* Use of this source code is governed by an MIT-style license that can be
|
|
670
655
|
* found in the LICENSE file at https://angular.io/license
|
|
671
|
-
*/(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}(),
|
|
656
|
+
*/(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}(),Rp=function Rp(){},jp={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Dp=function(){function e(e,t){this._compiler=e,this._config=t||jp}return e.prototype.load=function(e){return this._compiler instanceof Gd?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 Ap(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 Ap(e,n,r)})},a([$f(),u(1,It()),s("design:paramtypes",[Gd,Rp])],e)}();function Ap(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}
|
|
672
657
|
/**
|
|
673
658
|
* @license
|
|
674
659
|
* Copyright Google Inc. All Rights Reserved.
|
|
675
660
|
*
|
|
676
661
|
* Use of this source code is governed by an MIT-style license that can be
|
|
677
662
|
* found in the LICENSE file at https://angular.io/license
|
|
678
|
-
*/var kp=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ep(e,es)},e}(),Ep=Wa,Op=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Tp()},e}(),Tp=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},Pp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(Op),Np=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(Pp),Rp=function Rp(e,t){this.name=e,this.callback=t},jp=function(){function e(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof Dp&&t.addChild(this)}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}(),Dp=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(t){t.parent&&t.parent.removeChild(t),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 Ap(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return Sp(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}(jp);function Ap(e,t,n){e.childNodes.forEach(function(e){e instanceof Dp&&(t(e)&&n.push(e),Ap(e,t,n))})}function Sp(e,t,n){e instanceof Dp&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof Dp&&Sp(e,t,n)})}var Vp=function(){function e(e){this.nativeNode=e}return Object.defineProperty(e.prototype,"parent",{get:function(){var e=this.nativeNode.parentNode;return e?new Mp(e):null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Yn(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){var e=this.nativeNode;return e&&Zn(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return qn(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"listeners",{get:function(){return nr(this.nativeNode).filter(tr)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return function e(t){var n=Jn(t);return void 0===n.localRefs&&(n.localRefs=function r(e,t){var n=e[He].data[t];if(n&&n.localNames){for(var r={},o=0;o<n.localNames.length;o+=2){var i=n.localNames[o+1];r[n.localNames[o]]=-1===i?bt(n,e):e[i]}return r}return null}(n.lView,n.nodeIndex)),n.localRefs||{}}(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return function e(t){var n=Jn(t,!1);if(!n)return[];for(var r,o=n.lView[He],i=o.data[n.nodeIndex],a=[],u=i.directiveEnd,s=65535&i.providerIndexes;s<u;s++){var l=o.data[s];void 0!==(r=l).type&&void 0!==r.template&&void 0!==r.declaredInputs&&(l=l.type),a.push(l)}return a}(this.nativeNode)},enumerable:!0,configurable:!0}),e}(),Mp=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"nativeElement",{get:function(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.nativeElement.nodeName},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return Jn(this.nativeNode),{}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e={},t=this.nativeElement;if(t)for(var n=t.attributes,r=0;r<n.length;r++){var o=n[r];e[o.name]=o.value}return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classes",{get:function(){var e={},t=this.nativeElement;if(t){var n=er(t),r=n.lView[n.nodeIndex];if(lo(n.nodeIndex,n.lView)){for(var o=8;o<r.length;o+=4)if(Co(r,o)){var i=Lo(r,o),a=Ho(r,o);"boolean"==typeof a&&(e[i]=a)}}else{var u=t.classList;for(o=0;o<u.length;o++)e[u[o]]=!0}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"styles",{get:function(){var e={},t=this.nativeElement;if(t){var n=er(t),r=n.lView[n.nodeIndex];if(lo(n.nodeIndex,n.lView)){for(var o=8;o<r.length;o+=4)if(!Co(r,o)){var i=Lo(r,o),a=Ho(r,o);null!==a&&(e[i]=a)}}else{var u=t.style;for(o=0;o<u.length;o++){var s=u.item(o);e[s]=u.getPropertyValue(s)}}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){for(var e=this.nativeNode.childNodes,t=[],n=0;n<e.length;n++)t.push(Lp(e[n]));return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){var e=this.nativeElement;if(!e)return[];for(var t=e.children,n=[],r=0;r<t.length;r++)n.push(Lp(t[r]));return n},enumerable:!0,configurable:!0}),t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return Fp(this,e,t,!0),t},t.prototype.queryAllNodes=function(e){var t=[];return Fp(this,e,t,!1),t},t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name===e&&n.callback(t)})},t}(Vp);function Fp(e,t,n,r){e instanceof Mp&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof Mp&&(r&&!e.nativeElement||Fp(e,t,n,r))})}var Hp=new Map;function Lp(e){return e instanceof Node?e.nodeType==Node.ELEMENT_NODE?new Mp(e):new Vp(e):null}var Bp=function Up(e){return Hp.get(e)||null};function zp(e){Hp.set(e.nativeNode,e)}var Qp=jp,Zp=Dp,qp=function(){function e(){}return e.prototype.supports=function(e){return dr(e)},e.prototype.create=function(e){return new Wp(e)},e}(),Kp=function(e,t){return t},Wp=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||Kp}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<Jp(n,r,o)?t:n,a=Jp(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=[]),!dr(e))throw new Error("Error trying to diff '"+te(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&&ee(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),ee(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[J()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&ee(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),ee(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))?(ee(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(ee(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new Gp(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 $p),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 $p),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}(),Gp=function Gp(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},Yp=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)&&ee(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}(),$p=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 Yp,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 Jp(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}
|
|
663
|
+
*/var Sp=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Vp(e,fs)},e}(),Vp=iu,Mp=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Fp()},e}(),Fp=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},Hp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(Mp),Lp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(Hp),Bp=function Bp(e,t){this.name=e,this.callback=t},Up=function(){function e(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof zp&&t.addChild(this)}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}(),zp=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(t){t.parent&&t.parent.removeChild(t),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 Qp(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return Zp(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}(Up);function Qp(e,t,n){e.childNodes.forEach(function(e){e instanceof zp&&(t(e)&&n.push(e),Qp(e,t,n))})}function Zp(e,t,n){e instanceof zp&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof zp&&Zp(e,t,n)})}var qp=function(){function e(e){this.nativeNode=e}return Object.defineProperty(e.prototype,"parent",{get:function(){var e=this.nativeNode.parentNode;return e?new Kp(e):null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return er(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){var e=this.nativeNode;return e&&Gn(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return Yn(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"listeners",{get:function(){return ar(this.nativeNode).filter(ir)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return function e(t){var n=nr(t);return void 0===n.localRefs&&(n.localRefs=function r(e,t){var n=e[be].data[t];if(n&&n.localNames){for(var r={},o=0;o<n.localNames.length;o+=2){var i=n.localNames[o+1];r[n.localNames[o]]=-1===i?tt(n,e):e[i]}return r}return null}(n.lView,n.nodeIndex)),n.localRefs||{}}(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return function e(t){var n=nr(t,!1);if(!n)return[];for(var r,o=n.lView[be],i=o.data[n.nodeIndex],a=[],u=i.directiveEnd,s=65535&i.providerIndexes;s<u;s++){var l=o.data[s];void 0!==(r=l).type&&void 0!==r.template&&void 0!==r.declaredInputs&&(l=l.type),a.push(l)}return a}(this.nativeNode)},enumerable:!0,configurable:!0}),e}(),Kp=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"nativeElement",{get:function(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.nativeElement.nodeName},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){return nr(this.nativeNode),{}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e={},t=this.nativeElement;if(t)for(var n=t.attributes,r=0;r<n.length;r++){var o=n[r];e[o.name]=o.value}return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classes",{get:function(){var e={},t=this.nativeElement;if(t){var n=or(t),r=n.lView[n.nodeIndex];if(lo(n.nodeIndex,n.lView)){for(var o=9;o<r.length;o+=4)if(ko(r,o)){var i=Uo(r,o),a=Bo(r,o);"boolean"==typeof a&&(e[i]=a)}}else{var u=t.classList;for(o=0;o<u.length;o++)e[u[o]]=!0}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"styles",{get:function(){var e={},t=this.nativeElement;if(t){var n=or(t),r=n.lView[n.nodeIndex];if(lo(n.nodeIndex,n.lView)){for(var o=9;o<r.length;o+=4)if(!ko(r,o)){var i=Uo(r,o),a=Bo(r,o);null!==a&&(e[i]=a)}}else{var u=t.style;for(o=0;o<u.length;o++){var s=u.item(o);e[s]=u.getPropertyValue(s)}}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){for(var e=this.nativeNode.childNodes,t=[],n=0;n<e.length;n++)t.push(Yp(e[n]));return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){var e=this.nativeElement;if(!e)return[];for(var t=e.children,n=[],r=0;r<t.length;r++)n.push(Yp(t[r]));return n},enumerable:!0,configurable:!0}),t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return Wp(this,e,t,!0),t},t.prototype.queryAllNodes=function(e){var t=[];return Wp(this,e,t,!1),t},t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name===e&&n.callback(t)})},t}(qp);function Wp(e,t,n,r){e instanceof Kp&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof Kp&&(r&&!e.nativeElement||Wp(e,t,n,r))})}var Gp=new Map;function Yp(e){return e instanceof Node?e.nodeType==Node.ELEMENT_NODE?new Kp(e):new qp(e):null}var $p=function Jp(e){return Gp.get(e)||null};function Xp(e){Gp.set(e.nativeNode,e)}var eh=Up,th=zp,nh=function(){function e(){}return e.prototype.supports=function(e){return pr(e)},e.prototype.create=function(e){return new oh(e)},e}(),rh=function(e,t){return t},oh=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||rh}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<sh(n,r,o)?t:n,a=sh(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=[]),!pr(e))throw new Error("Error trying to diff '"+$(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&&Y(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),Y(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[W()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&Y(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),Y(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))?(Y(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Y(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new ih(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 uh),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 uh),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}(),ih=function ih(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},ah=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)&&Y(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}(),uh=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 ah,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 sh(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}
|
|
679
664
|
/**
|
|
680
665
|
* @license
|
|
681
666
|
* Copyright Google Inc. All Rights Reserved.
|
|
682
667
|
*
|
|
683
668
|
* Use of this source code is governed by an MIT-style license that can be
|
|
684
669
|
* found in the LICENSE file at https://angular.io/license
|
|
685
|
-
*/var
|
|
670
|
+
*/var lh,ch=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||hr(e)},e.prototype.create=function(){return new fh},e}(),fh=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||hr(e)))throw new Error("Error trying to diff '"+$(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 dh(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){Y(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}(),dh=function dh(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},ph=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 Et,new It]]}},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}
|
|
686
671
|
/**
|
|
687
672
|
* @license
|
|
688
673
|
* Copyright Google Inc. All Rights Reserved.
|
|
689
674
|
*
|
|
690
675
|
* Use of this source code is governed by an MIT-style license that can be
|
|
691
676
|
* found in the LICENSE file at https://angular.io/license
|
|
692
|
-
*/(e)+"'")},e.ngInjectableDef=C({providedIn:"root",factory:function(){return new e([new
|
|
677
|
+
*/(e)+"'")},e.ngInjectableDef=C({providedIn:"root",factory:function(){return new e([new nh])}}),e}(),hh=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 Et,new It]]}},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.ngInjectableDef=C({providedIn:"root",factory:function(){return new e([new ch])}}),e}(),vh=[new ch],gh=new ph([new nh]),yh=new hh(vh),mh=xp(null,"core",[{provide:Sd,useValue:"unknown"},{provide:Ep,deps:[fu]},{provide:mp,deps:[]},{provide:Fd,deps:[]}]),_h=new E("LocaleId"),wh=new E("Translations"),bh=new E("TranslationsFormat");
|
|
693
678
|
/**
|
|
694
679
|
* @license
|
|
695
680
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -697,7 +682,7 @@ var td=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
697
682
|
* Use of this source code is governed by an MIT-style license that can be
|
|
698
683
|
* found in the LICENSE file at https://angular.io/license
|
|
699
684
|
*/
|
|
700
|
-
function
|
|
685
|
+
function Ch(){return gh}function xh(){return yh}function Ih(e){return e||"en-US"}(lh=e.MissingTranslationStrategy||(e.MissingTranslationStrategy={}))[lh.Error=0]="Error",lh[lh.Warning=1]="Warning",lh[lh.Ignore=2]="Ignore";var kh=[{provide:Tp,useClass:Tp,deps:[lp,Fd,fu,ad,es,Pd]},{provide:Pd,useClass:Pd,deps:[[new It,Td]]},{provide:Gd,useClass:Gd,deps:[]},jd,{provide:ph,useFactory:Ch,deps:[]},{provide:hh,useFactory:xh,deps:[]},{provide:_h,useFactory:Ih,deps:[[new xt(_h),new It,new Et]]}],Eh=function(){return a([Uf({providers:kh}),s("design:paramtypes",[Tp])],function e(t){})}();
|
|
701
686
|
/**
|
|
702
687
|
* @license
|
|
703
688
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -705,7 +690,7 @@ function dh(){return ah}function ph(){return uh}function hh(e){return e||"en-US"
|
|
|
705
690
|
* Use of this source code is governed by an MIT-style license that can be
|
|
706
691
|
* found in the LICENSE file at https://angular.io/license
|
|
707
692
|
*/
|
|
708
|
-
function
|
|
693
|
+
function Oh(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 Th(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Ph(e,t){return e.nodes[t]}function Nh(e,t){return e.nodes[t]}function Rh(e,t){return e.nodes[t]}function jh(e,t){return e.nodes[t]}function Dh(e,t){return e.nodes[t]}var Ah=function Ah(){},Sh={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};
|
|
709
694
|
/**
|
|
710
695
|
* @license
|
|
711
696
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -713,28 +698,28 @@ function yh(e,t,n){var r=e.state,o=1792&r;return o===t?(e.state=-1793&r|n,e.init
|
|
|
713
698
|
* Use of this source code is governed by an MIT-style license that can be
|
|
714
699
|
* found in the LICENSE file at https://angular.io/license
|
|
715
700
|
*/
|
|
716
|
-
function
|
|
701
|
+
function Vh(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 Mh(n,t),n}(o,e)}function Mh(e,t){e[ed]=t,e[nd]=t.logError.bind(t)}function Fh(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}
|
|
717
702
|
/**
|
|
718
703
|
* @license
|
|
719
704
|
* Copyright Google Inc. All Rights Reserved.
|
|
720
705
|
*
|
|
721
706
|
* Use of this source code is governed by an MIT-style license that can be
|
|
722
707
|
* found in the LICENSE file at https://angular.io/license
|
|
723
|
-
*/var
|
|
708
|
+
*/var Hh=function(){},Lh=new Map;function Bh(e){var t=Lh.get(e);return t||(t=$(e)+"_"+Lh.size,Lh.set(e,t)),t}var Uh=0;function zh(e,t,n,r){return!(!(2&e.state)&&Y(e.oldValues[t.bindingIndex+n],r))}function Qh(e,t,n,r){return!!zh(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Zh(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!cr(o,r)){var i=t.bindings[n].name;throw Vh(Sh.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function qh(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Kh(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Wh(e,t,n,r){try{return qh(33554432&e.def.nodes[t].flags?Nh(e,t).componentView:e),Sh.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function Gh(e){return e.parent?Nh(e.parent,e.parentNodeDef.nodeIndex):null}function Yh(e){return e.parent?e.parentNodeDef.parent:null}function $h(e,t){switch(201347067&t.flags){case 1:return Nh(e,t.nodeIndex).renderElement;case 2:return Ph(e,t.nodeIndex).renderText}}function Jh(e,t){return e?e+":"+t:t}function Xh(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function ev(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function tv(e){return 1<<e%32}function nv(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|=tv(i)):r[i]=a}),{matchedQueries:t,references:r,matchedQueryIds:n}}function rv(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,au,{value:t,configurable:!0}),{flags:o,token:r,tokenKey:Bh(r)}})}function ov(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?Nh(t,r.renderParent.nodeIndex).renderElement:void 0:n}var iv=new WeakMap;function av(e){var t=iv.get(e);return t||((t=e(function(){return Hh})).factory=e,iv.set(e,t)),t}function uv(e,t,n,r,o){3===t&&(n=e.renderer.parentNode($h(e,e.def.lastRenderRootNode))),sv(e,t,0,e.def.nodes.length-1,n,r,o)}function sv(e,t,n,r,o,i,a){for(var u=n;u<=r;u++){var s=e.def.nodes[u];11&s.flags&&cv(e,s,t,o,i,a),u+=s.childCount}}function lv(e,t,n,r,o,i){for(var a=e;a&&!Xh(a);)a=a.parent;for(var u=a.parent,s=Yh(a),l=s.nodeIndex+s.childCount,c=s.nodeIndex+1;c<=l;c++){var f=u.def.nodes[c];f.ngContentIndex===t&&cv(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++)fv(e,d[c],n,r,o,i)}}function cv(e,t,n,r,o,i){if(8&t.flags)lv(e,t.ngContent.index,n,r,o,i);else{var a=$h(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&fv(e,a,n,r,o,i),32&t.bindingFlags&&fv(Nh(e,t.nodeIndex).componentView,a,n,r,o,i)):fv(e,a,n,r,o,i),16777216&t.flags)for(var u=Nh(e,t.nodeIndex).viewContainer._embeddedViews,s=0;s<u.length;s++)uv(u[s],n,r,o,i);1&t.flags&&!t.element.name&&sv(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function fv(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 dv=/^:([^:]+):(.+)$/;function pv(e){if(":"===e[0]){var t=e.match(dv);return[t[1],t[2]]}return["",e]}function hv(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function vv(e){return null!=e?e.toString():""}function gv(t,n,r){var o,i=r.element,a=t.root.selectorOrNode,u=t.renderer;if(t.parent||!a){o=i.name?u.createElement(i.name,i.ns):u.createComment("");var s=ov(t,n,r);s&&u.appendChild(s,o)}else o=u.selectRootElement(a,!!i.componentRendererType&&i.componentRendererType.encapsulation===e.ViewEncapsulation.ShadowDom);if(i.attrs)for(var l=0;l<i.attrs.length;l++){var f=c(i.attrs[l],3);u.setAttribute(o,f[1],f[2],f[0])}return o}function yv(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=mv(e,n.nodeIndex,Jh(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 mv(e,t,n){return function(r){return Wh(e,t,n,r)}}function _v(t,n,r,o){if(!Qh(t,n,r,o))return!1;var i=n.bindings[r],a=Nh(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)}
|
|
724
709
|
/**
|
|
725
710
|
* @license
|
|
726
711
|
* Copyright Google Inc. All Rights Reserved.
|
|
727
712
|
*
|
|
728
713
|
* Use of this source code is governed by an MIT-style license that can be
|
|
729
714
|
* found in the LICENSE file at https://angular.io/license
|
|
730
|
-
*/(33554432&n.flags&&32&i.flags?a.componentView:t,i,u,s,o)}return!0}var
|
|
715
|
+
*/(33554432&n.flags&&32&i.flags?a.componentView:t,i,u,s,o)}return!0}var wv=new Object,bv=Bh(fu),Cv=Bh(lu),xv=Bh(rs);function Iv(e,t,n){void 0===n&&(n=fu.THROW_IF_NOT_FOUND);var r=Rt(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 bv:case Cv:case xv:return e}var i,a=e._def.providersByKey[o];if(a){var u=e._providers[a.index];return void 0===u&&(u=e._providers[a.index]=kv(e,a)),u===wv?void 0:u}if((i=I(t.token))&&function s(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,i)){var l=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:i.factory,deps:[],index:l,token:t.token},e._providers[l]=wv,e._providers[l]=kv(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Rt(r)}}function kv(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(Iv(e,n[0]));case 2:return new t(Iv(e,n[0]),Iv(e,n[1]));case 3:return new t(Iv(e,n[0]),Iv(e,n[1]),Iv(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=Iv(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(Iv(e,n[0]));case 2:return t(Iv(e,n[0]),Iv(e,n[1]));case 3:return t(Iv(e,n[0]),Iv(e,n[1]),Iv(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=Iv(e,n[i]);return t.apply(void 0,f(o))}}(e,t.value,t.deps);break;case 2048:n=Iv(e,t.deps[0]);break;case 256:n=t.value}return n===wv||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?wv:n}function Ev(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,Nv(n,t),Sh.dirtyParentQueries(r),Tv(r),r}function Ov(e,t,n){var r=t?$h(t,t.def.lastRenderRootNode):e.renderElement;uv(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Tv(e){uv(e,3,null,null,void 0)}function Pv(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Nv(e,t){t>=e.length-1?e.pop():e.splice(t,1)}
|
|
731
716
|
/**
|
|
732
717
|
* @license
|
|
733
718
|
* Copyright Google Inc. All Rights Reserved.
|
|
734
719
|
*
|
|
735
720
|
* Use of this source code is governed by an MIT-style license that can be
|
|
736
721
|
* found in the LICENSE file at https://angular.io/license
|
|
737
|
-
*/var
|
|
722
|
+
*/var Rv=new Object;function jv(e){return e.viewDefFactory}var Dv=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=av(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=Sh.createRootView(e,t||[],n,o,r,Rv),u=Rh(a,i).instance;return n&&a.renderer.setAttribute(Nh(a,0).renderElement,"ng-version",xs.full),new Av(a,new Fv(a),u)},t}(Ku),Av=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 fs(Nh(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Uv(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}(qu);function Sv(e,t,n){return new Vv(e,t,n)}var Vv=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 fs(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Uv(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=Yh(e),e=e.parent;return e?new Uv(e,t):new Uv(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Ev(this._data,e);Sh.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Fv(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 ns||(o=i.get(rs));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;
|
|
738
723
|
/**
|
|
739
724
|
* @license
|
|
740
725
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -742,56 +727,56 @@ function Eh(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Express
|
|
|
742
727
|
* Use of this source code is governed by an MIT-style license that can be
|
|
743
728
|
* found in the LICENSE file at https://angular.io/license
|
|
744
729
|
*/
|
|
745
|
-
return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=i.length),o.viewContainerParent=e,
|
|
730
|
+
return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=i.length),o.viewContainerParent=e,Pv(i,n,o),function a(e,t){var n=Gh(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),Sh.dirtyParentQueries(o),Ov(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];Nv(r,t),null==n&&(n=r.length),Pv(r,n,o),Sh.dirtyParentQueries(o),Tv(o),Ov(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=Ev(this._data,e);t&&Sh.destroyView(t)},e.prototype.detach=function(e){var t=Ev(this._data,e);return t?new Fv(t):null},e}();function Mv(e){return new Fv(e)}var Fv=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 uv(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(){qh(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{Sh.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Sh.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)),Sh.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Tv(this._view),Sh.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 Hv(e,t){return new Lv(e,t)}var Lv=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 Fv(Sh.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new fs(Nh(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(cc);function Bv(e,t){return new Uv(e,t)}var Uv=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=fu.THROW_IF_NOT_FOUND),Sh.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Bh(e)},t)},e}();function zv(e){return new Qv(e.renderer)}var Qv=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(pv(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(pv(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 Zv(e,t,n,r){return new qv(e,t,n,r)}var qv=function(){function t(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]=kv(e,o))}}(this)}return t.prototype.get=function(t,n,r){void 0===n&&(n=fu.THROW_IF_NOT_FOUND),void 0===r&&(r=e.InjectFlags.Default);var o=0;return r&e.InjectFlags.SkipSelf?o|=1:r&e.InjectFlags.Self&&(o|=4),Iv(this,{token:t,tokenKey:Bh(t),flags:o},n)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(es)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+$(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!==wv){var u=a.ngOnDestroy;"function"!=typeof u||o.has(a)||(u.apply(a),o.add(a))}}}(this),this._destroyListeners.forEach(function(e){return e()})},t.prototype.onDestroy=function(e){this._destroyListeners.push(e)},t}(),Kv=Bh(vs),Wv=Bh(_s),Gv=Bh(fs),Yv=Bh(Sp),$v=Bh(cc),Jv=Bh(Mp),Xv=Bh(fu),eg=Bh(lu);
|
|
746
731
|
/**
|
|
747
732
|
* @license
|
|
748
733
|
* Copyright Google Inc. All Rights Reserved.
|
|
749
734
|
*
|
|
750
735
|
* Use of this source code is governed by an MIT-style license that can be
|
|
751
736
|
* found in the LICENSE file at https://angular.io/license
|
|
752
|
-
*/function
|
|
737
|
+
*/function tg(e,t,n,r,o,i,a,u,s){var l=nv(n),c=l.matchedQueries,f=l.references,d=l.matchedQueryIds;s||(s=[]),u||(u=[]),i=ee(i);var p=rv(a,$(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:hv(u),outputs:s,element:null,provider:{token:o,value:i,deps:p},text:null,query:null,ngContent:null}}function ng(e,t){return ag(e,t)}function rg(e,t){for(var n=e;n.parent&&!Xh(n);)n=n.parent;return ug(n.parent,Yh(n),!0,t.provider.value,t.provider.deps)}function og(e,t){var n=ug(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];if(!Od(i))throw new Error("@Output "+o.propName+" not initialized in '"+n.constructor.name+"'.");var a=i.subscribe(ig(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=a.unsubscribe.bind(a)}return n}function ig(e,t,n){return function(r){return Wh(e,t,n,r)}}function ag(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return ug(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(cg(e,t,n,i[0]));case 2:return r(cg(e,t,n,i[0]),cg(e,t,n,i[1]));case 3:return r(cg(e,t,n,i[0]),cg(e,t,n,i[1]),cg(e,t,n,i[2]));default:for(var u=Array(a),s=0;s<a;s++)u[s]=cg(e,t,n,i[s]);return r.apply(void 0,f(u))}}(e,t.parent,n,r.value,r.deps);case 2048:return cg(e,t.parent,n,r.deps[0]);case 256:return r.value}}function ug(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(cg(e,t,n,o[0]));case 2:return new r(cg(e,t,n,o[0]),cg(e,t,n,o[1]));case 3:return new r(cg(e,t,n,o[0]),cg(e,t,n,o[1]),cg(e,t,n,o[2]));default:for(var a=new Array(i),u=0;u<i;u++)a[u]=cg(e,t,n,o[u]);return new(r.bind.apply(r,f([void 0],a)))}}var sg,lg={};function cg(e,t,n,r,o){if(void 0===o&&(o=fu.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var a=r.tokenKey;a===Jv&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var u=e;u;){if(t)switch(a){case Kv:return zv(fg(u,t,n));case Wv:return fg(u,t,n).renderer;case Gv:return new fs(Nh(u,t.nodeIndex).renderElement);case Yv:return Nh(u,t.nodeIndex).viewContainer;case $v:if(t.element.template)return Nh(u,t.nodeIndex).template;break;case Jv:return Mv(fg(u,t,n));case Xv:case eg:return Bv(u,t);default:var s=(n?t.element.allProviders:t.element.publicProviders)[a];if(s){var l=Rh(u,s.nodeIndex);return l||(l={instance:ag(u,s)},u.nodes[s.nodeIndex]=l),l.instance}}n=Xh(u),t=Yh(u),u=u.parent,4&r.flags&&(u=null)}var c=i.root.injector.get(r.token,lg);return c!==lg||o===lg?c:i.root.ngModule.injector.get(r.token,o)}function fg(e,t,n){var r;if(n)r=Nh(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Xh(r);)r=r.parent;return r}function dg(e,t,n,r,o,i){if(32768&n.flags){var a=Nh(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=fr.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new dr(u,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function pg(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&&vg(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=hg(e,a,t,r)),a=a.parent}}function hg(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&&vg(e,o,i.flags&n,r++),o+=i.childCount}return r}function vg(e,t,n,r){var o=Rh(e,t);if(o){var i=o.instance;i&&(Sh.setCurrentNode(e,t),1048576&n&&Th(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&Th(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}
|
|
753
738
|
/**
|
|
754
739
|
* @license
|
|
755
740
|
* Copyright Google Inc. All Rights Reserved.
|
|
756
741
|
*
|
|
757
742
|
* Use of this source code is governed by an MIT-style license that can be
|
|
758
743
|
* found in the LICENSE file at https://angular.io/license
|
|
759
|
-
*/function
|
|
744
|
+
*/function gg(e){for(var t=e.def.nodeMatchedQueries;e.parent&&ev(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&&Dh(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&&Dh(e,o).setDirty(),o+=i.childCount}}function yg(e,t){var n=Dh(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=mg(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=Rh(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=mg(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 mg(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(_g(e,a,u)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var s=Nh(e,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(mg(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=Gh(f);d&&d===s&&mg(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];mg(h,0,h.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function _g(e,t,n){if(null!=n)switch(n){case 1:return Nh(e,t.nodeIndex).renderElement;case 0:return new fs(Nh(e,t.nodeIndex).renderElement);case 2:return Nh(e,t.nodeIndex).template;case 3:return Nh(e,t.nodeIndex).viewContainer;case 4:return Rh(e,t.nodeIndex).instance}}
|
|
760
745
|
/**
|
|
761
746
|
* @license
|
|
762
747
|
* Copyright Google Inc. All Rights Reserved.
|
|
763
748
|
*
|
|
764
749
|
* Use of this source code is governed by an MIT-style license that can be
|
|
765
750
|
* found in the LICENSE file at https://angular.io/license
|
|
766
|
-
*/function
|
|
751
|
+
*/function wg(e,t,n){var r=ov(e,t,n);r&&lv(e,n.ngContent.index,1,r,null,void 0)}
|
|
767
752
|
/**
|
|
768
753
|
* @license
|
|
769
754
|
* Copyright Google Inc. All Rights Reserved.
|
|
770
755
|
*
|
|
771
756
|
* Use of this source code is governed by an MIT-style license that can be
|
|
772
757
|
* found in the LICENSE file at https://angular.io/license
|
|
773
|
-
*/function
|
|
758
|
+
*/function bg(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:hv(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Cg(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=ov(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function xg(e,t){return(null!=e?e.toString():"")+t.suffix}
|
|
774
759
|
/**
|
|
775
760
|
* @license
|
|
776
761
|
* Copyright Google Inc. All Rights Reserved.
|
|
777
762
|
*
|
|
778
763
|
* Use of this source code is governed by an MIT-style license that can be
|
|
779
764
|
* found in the LICENSE file at https://angular.io/license
|
|
780
|
-
*/function
|
|
765
|
+
*/function Ig(e){return 0!=(1&e.flags)&&null===e.element.name}function kg(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 Eg(e,t,n,r){var o=Pg(e.root,e.renderer,e,t,n);return Ng(o,e.component,r),Rg(o),o}function Og(e,t,n){var r=Pg(e,e.renderer,null,null,t);return Ng(r,n,n),Rg(r),r}function Tg(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Pg(e.root,o,e,t.element.componentProvider,n)}function Pg(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 Ng(e,t,n){e.component=t,e.context=n}function Rg(e){var t;Xh(e)&&(t=Nh(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];Sh.setCurrentNode(e,o);var a=void 0;switch(201347067&i.flags){case 1:var u=gv(e,t,i),s=void 0;if(33554432&i.flags){var l=av(i.element.componentView);s=Sh.createComponentView(e,i,l,u)}yv(e,s,i,u),a={renderElement:u,componentView:s,viewContainer:null,template:i.element.template?Hv(e,i):void 0},16777216&i.flags&&(a.viewContainer=Sv(e,i,a));break;case 2:a=Cg(e,t,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:ng(e,i)});break;case 16:a={instance:rg(e,i)};break;case 16384:(a=r[o])||(a={instance:og(e,i)}),32768&i.flags&&Ng(Nh(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 Np;break;case 8:wg(e,t,i),a=void 0}r[o]=a}Hg(e,sg.CreateViewNodes),zg(e,201326592,268435456,0)}function jg(e){Sg(e),Sh.updateDirectives(e,1),Lg(e,sg.CheckNoChanges),Sh.updateRenderer(e,1),Hg(e,sg.CheckNoChanges),e.state&=-97}function Dg(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Oh(e,0,256),Sg(e),Sh.updateDirectives(e,0),Lg(e,sg.CheckAndUpdate),zg(e,67108864,536870912,0);var t=Oh(e,256,512);pg(e,2097152|(t?1048576:0)),Sh.updateRenderer(e,0),Hg(e,sg.CheckAndUpdate),zg(e,134217728,536870912,0),pg(e,8388608|((t=Oh(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Oh(e,768,1024)}function Ag(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&&_v(e,t,0,n)&&(p=!0),d>1&&_v(e,t,1,r)&&(p=!0),d>2&&_v(e,t,2,o)&&(p=!0),d>3&&_v(e,t,3,i)&&(p=!0),d>4&&_v(e,t,4,a)&&(p=!0),d>5&&_v(e,t,5,u)&&(p=!0),d>6&&_v(e,t,6,s)&&(p=!0),d>7&&_v(e,t,7,l)&&(p=!0),d>8&&_v(e,t,8,c)&&(p=!0),d>9&&_v(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&&Qh(e,t,0,n)&&(d=!0),h>1&&Qh(e,t,1,r)&&(d=!0),h>2&&Qh(e,t,2,o)&&(d=!0),h>3&&Qh(e,t,3,i)&&(d=!0),h>4&&Qh(e,t,4,a)&&(d=!0),h>5&&Qh(e,t,5,u)&&(d=!0),h>6&&Qh(e,t,6,s)&&(d=!0),h>7&&Qh(e,t,7,l)&&(d=!0),h>8&&Qh(e,t,8,c)&&(d=!0),h>9&&Qh(e,t,9,f)&&(d=!0),d){var v=t.text.prefix;h>0&&(v+=xg(n,p[0])),h>1&&(v+=xg(r,p[1])),h>2&&(v+=xg(o,p[2])),h>3&&(v+=xg(i,p[3])),h>4&&(v+=xg(a,p[4])),h>5&&(v+=xg(u,p[5])),h>6&&(v+=xg(s,p[6])),h>7&&(v+=xg(l,p[7])),h>8&&(v+=xg(c,p[8])),h>9&&(v+=xg(f,p[9]));var g=Ph(e,t.nodeIndex).renderText;e.renderer.setValue(g,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=Rh(e,t.nodeIndex),p=d.instance,h=!1,v=void 0,g=t.bindings.length;return g>0&&zh(e,t,0,n)&&(h=!0,v=dg(e,d,t,0,n,v)),g>1&&zh(e,t,1,r)&&(h=!0,v=dg(e,d,t,1,r,v)),g>2&&zh(e,t,2,o)&&(h=!0,v=dg(e,d,t,2,o,v)),g>3&&zh(e,t,3,i)&&(h=!0,v=dg(e,d,t,3,i,v)),g>4&&zh(e,t,4,a)&&(h=!0,v=dg(e,d,t,4,a,v)),g>5&&zh(e,t,5,u)&&(h=!0,v=dg(e,d,t,5,u,v)),g>6&&zh(e,t,6,s)&&(h=!0,v=dg(e,d,t,6,s,v)),g>7&&zh(e,t,7,l)&&(h=!0,v=dg(e,d,t,7,l,v)),g>8&&zh(e,t,8,c)&&(h=!0,v=dg(e,d,t,8,c,v)),g>9&&zh(e,t,9,f)&&(h=!0,v=dg(e,d,t,9,f,v)),v&&p.ngOnChanges(v),65536&t.flags&&Th(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&&Qh(e,t,0,n)&&(p=!0),h>1&&Qh(e,t,1,r)&&(p=!0),h>2&&Qh(e,t,2,o)&&(p=!0),h>3&&Qh(e,t,3,i)&&(p=!0),h>4&&Qh(e,t,4,a)&&(p=!0),h>5&&Qh(e,t,5,u)&&(p=!0),h>6&&Qh(e,t,6,s)&&(p=!0),h>7&&Qh(e,t,7,l)&&(p=!0),h>8&&Qh(e,t,8,c)&&(p=!0),h>9&&Qh(e,t,9,f)&&(p=!0),p){var v=jh(e,t.nodeIndex),g=void 0;switch(201347067&t.flags){case 32:g=new Array(d.length),h>0&&(g[0]=n),h>1&&(g[1]=r),h>2&&(g[2]=o),h>3&&(g[3]=i),h>4&&(g[4]=a),h>5&&(g[5]=u),h>6&&(g[6]=s),h>7&&(g[7]=l),h>8&&(g[8]=c),h>9&&(g[9]=f);break;case 64:g={},h>0&&(g[d[0].name]=n),h>1&&(g[d[1].name]=r),h>2&&(g[d[2].name]=o),h>3&&(g[d[3].name]=i),h>4&&(g[d[4].name]=a),h>5&&(g[d[5].name]=u),h>6&&(g[d[6].name]=s),h>7&&(g[d[7].name]=l),h>8&&(g[d[8].name]=c),h>9&&(g[d[9].name]=f);break;case 128:var y=n;switch(h){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,o);break;case 4:g=y.transform(r,o,i);break;case 5:g=y.transform(r,o,i,a);break;case 6:g=y.transform(r,o,i,a,u);break;case 7:g=y.transform(r,o,i,a,u,s);break;case 8:g=y.transform(r,o,i,a,u,s,l);break;case 9:g=y.transform(r,o,i,a,u,s,l,c);break;case 10:g=y.transform(r,o,i,a,u,s,l,c,f)}}v.value=g}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++)_v(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++)Qh(e,t,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=xg(n[i],r[i]);a=t.text.prefix+a;var u=Ph(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=Rh(e,t.nodeIndex),o=r.instance,i=!1,a=void 0,u=0;u<n.length;u++)zh(e,t,u,n[u])&&(i=!0,a=dg(e,r,t,u,n[u],a));return a&&o.ngOnChanges(a),65536&t.flags&&Th(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++)Qh(e,t,i,n[i])&&(o=!0);if(o){var a=jh(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}
|
|
781
766
|
/**
|
|
782
767
|
* @license
|
|
783
768
|
* Copyright Google Inc. All Rights Reserved.
|
|
784
769
|
*
|
|
785
770
|
* Use of this source code is governed by an MIT-style license that can be
|
|
786
771
|
* found in the LICENSE file at https://angular.io/license
|
|
787
|
-
*/(e,t,n);default:throw"unreachable"}}(e,t,r)}function
|
|
772
|
+
*/(e,t,n);default:throw"unreachable"}}(e,t,r)}function Sg(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=Nh(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,Kh(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Vg(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&&Zh(e,t,0,n),d>1&&Zh(e,t,1,r),d>2&&Zh(e,t,2,o),d>3&&Zh(e,t,3,i),d>4&&Zh(e,t,4,a),d>5&&Zh(e,t,5,u),d>6&&Zh(e,t,6,s),d>7&&Zh(e,t,7,l),d>8&&Zh(e,t,8,c),d>9&&Zh(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++)Zh(e,t,r,n[r])}(e,t,r),!1}function Mg(e,t){if(Dh(e,t.nodeIndex).dirty)throw Vh(Sh.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function Fg(e){if(!(128&e.state)){if(Lg(e,sg.Destroy),Hg(e,sg.Destroy),pg(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=Gh(e);if(t){var n=t.template._projectedViews;n&&(Nv(n,n.indexOf(e)),Sh.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(Nh(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Ph(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Dh(e,n).destroy()}}(e),Xh(e)&&e.renderer.destroy(),e.state|=128}}function Hg(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?Bg(Nh(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function Lg(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=Nh(e,r).viewContainer._embeddedViews,a=0;a<i.length;a++)Bg(i[a],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function Bg(e,t){var n=e.state;switch(t){case sg.CheckNoChanges:0==(128&n)&&(12==(12&n)?jg(e):64&n&&Ug(e,sg.CheckNoChangesProjectedViews));break;case sg.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?jg(e):64&n&&Ug(e,t));break;case sg.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Dg(e):64&n&&Ug(e,sg.CheckAndUpdateProjectedViews));break;case sg.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Dg(e):64&n&&Ug(e,t));break;case sg.Destroy:Fg(e);break;case sg.CreateViewNodes:Rg(e)}}function Ug(e,t){Lg(e,t),Hg(e,t)}function zg(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(Sh.setCurrentNode(e,a.nodeIndex),r){case 0:yg(e,a);break;case 1:Mg(e,a)}a.childFlags&t&&a.childFlags&n||(i+=a.childCount)}}
|
|
788
773
|
/**
|
|
789
774
|
* @license
|
|
790
775
|
* Copyright Google Inc. All Rights Reserved.
|
|
791
776
|
*
|
|
792
777
|
* Use of this source code is governed by an MIT-style license that can be
|
|
793
778
|
* found in the LICENSE file at https://angular.io/license
|
|
794
|
-
*/!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"}(Jv||(Jv={}));var Ag=!1;function Sg(){if(!Ag){Ag=!0;var e=Cs()?function t(){return{setCurrentNode:oy,createRootView:Mg,createEmbeddedView:Hg,createComponentView:Lg,createNgModuleRef:Bg,overrideProvider:Gg,overrideComponentView:Yg,clearOverrides:$g,checkAndUpdateView:ty,checkNoChangesView:ny,destroyView:ry,createDebugContext:function(e,t){return new dy(e,t)},handleEvent:iy,updateDirectives:ay,updateRenderer:uy}}():function n(){return{setCurrentNode:function(){},createRootView:Vg,createEmbeddedView:gg,createComponentView:mg,createNgModuleRef:Sv,overrideProvider:Ph,overrideComponentView:Ph,clearOverrides:Ph,checkAndUpdateView:xg,checkNoChangesView:Cg,destroyView:Tg,createDebugContext:function(e,t){return new dy(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?Xg:ey,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?Xg:ey,e)}}}();kh.setCurrentNode=e.setCurrentNode,kh.createRootView=e.createRootView,kh.createEmbeddedView=e.createEmbeddedView,kh.createComponentView=e.createComponentView,kh.createNgModuleRef=e.createNgModuleRef,kh.overrideProvider=e.overrideProvider,kh.overrideComponentView=e.overrideComponentView,kh.clearOverrides=e.clearOverrides,kh.checkAndUpdateView=e.checkAndUpdateView,kh.checkNoChangesView=e.checkNoChangesView,kh.destroyView=e.destroyView,kh.resolveDep=eg,kh.createDebugContext=e.createDebugContext,kh.handleEvent=e.handleEvent,kh.updateDirectives=e.updateDirectives,kh.updateRenderer=e.updateRenderer,kh.dirtyParentQueries=ag}}function Vg(e,t,n,r,o,i){return yg(Fg(e,o,o.injector.get(as),t,n),r,i)}function Mg(e,t,n,r,o,i){var a=o.injector.get(as),u=Fg(e,o,new gy(a),t,n),s=Jg(r);return hy(Ug.create,yg,null,[u,s,i])}function Fg(e,t,n,r,o){var i=t.injector.get(fs),a=t.injector.get(Yf);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function Hg(e,t,n,r){var o=Jg(n);return hy(Ug.create,gg,null,[e,t,o,r])}function Lg(e,t,n,r){return n=Wg.get(t.element.componentProvider.provider.token)||Jg(n),hy(Ug.create,mg,null,[e,t,n,r])}function Bg(e,t,n,r){return Sv(e,t,n,function o(e){var t=function n(e){var t=!1,n=!1;return 0===qg.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=qg.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){Kg.forEach(function(r,o){I(o).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=qg.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=Kh(o.deps),n.value=o.value)}if(Kg.size>0){var i=new Set(e.modules);Kg.forEach(function(t,n){if(i.has(I(n).providedIn)){var o={token:n,flags:t.flags|(r?4096:0),deps:Kh(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Rh(n)]=o}})}}(e=e.factory(function(){return Ph})),e):e}(r))}var Ug,zg,Qg,Zg,qg=new Map,Kg=new Map,Wg=new Map;function Gg(e){var t;qg.set(e.token,e),"function"==typeof e.token&&(t=I(e.token))&&"function"==typeof t.providedIn&&Kg.set(e.token,e)}function Yg(e,t){var n=Yh(Yh(Cv(t)).nodes[0].element.componentView);Wg.set(e,n)}function $g(){qg.clear(),Kg.clear(),Wg.clear()}function Jg(e){if(0===qg.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&&qg.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Ph});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=qg.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=Kh(i.deps),o.value=i.value)}}}}function Xg(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return Ig(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?Ch(e,t).value:void 0}function ey(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return Eg(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?Ch(e,t).value:void 0}function ty(e){return hy(Ug.detectChanges,xg,null,[e])}function ny(e){return hy(Ug.checkNoChanges,Cg,null,[e])}function ry(e){return hy(Ug.destroy,Tg,null,[e])}function oy(e,t){Qg=e,Zg=t}function iy(e,t,n,r){return oy(e,t),hy(Ug.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function ay(e,t){if(128&e.state)throw Th(Ug[zg]);return oy(e,cy(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?sy(e,u,o,i):ly(e,u,o,i),16384&u.flags&&oy(e,cy(e,r)),224&u.flags?Ch(e,u.nodeIndex).value:void 0},e)}function uy(e,t){if(128&e.state)throw Th(Ug[zg]);return oy(e,fy(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?sy(e,u,o,i):ly(e,u,o,i),3&u.flags&&oy(e,fy(e,r)),224&u.flags?Ch(e,u.nodeIndex).value:void 0},e)}function sy(e,t,n,r){if(Ig.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-"+function l(e){return e.replace(ur,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})}(h.replace(/[$@]/g,"_")))]=sr(s))}var c=t.parent,d=wh(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 ly(e,t,n,r){Eg.apply(void 0,f([e,t,n],r))}function cy(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 fy(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}!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"}(Ug||(Ug={}));var dy=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=Lh(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return wh(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Rv(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){py(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&&py(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&&!zh(e);)e=e.parent;return e.parent?wh(e.parent,Lh(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?Bh(this.view,this.nodeDef):Bh(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)):Ph}),u<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,f(r)))},e}();function py(e,t,n){for(var r in t.references)n[r]=lg(e,t,t.references[r])}function hy(e,t,n,r){var o=zg,i=Qg,a=Zg;try{zg=e;var u=t.apply(n,r);return Qg=i,Zg=a,zg=o,u}catch(e){if(function s(e){return!!Kf(e)}(e)||!Qg)throw e;throw function l(e,t){return e instanceof Error||(e=new Error(e.toString())),Oh(e,t),e}(e,vy())}}function vy(){return Qg?new dy(Qg,Zg):null}var gy=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new yy(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}(),yy=function(){function e(e){this.delegate=e,this.debugContextFactory=vy,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){!function t(e){Hp.delete(e.nativeNode)}(Bp(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=this.createDebugContext(n);if(r){var o=new Dp(n,null,r);o.name=e,zp(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&zp(new jp(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&zp(new jp(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=Bp(e),r=Bp(t);n&&r&&n instanceof Dp&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=Bp(e),o=Bp(t),i=Bp(n);r&&o&&r instanceof Dp&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=Bp(e),r=Bp(t);n&&r&&n instanceof Dp&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=vy();return r&&zp(new Dp(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var o=Bp(e);o&&o instanceof Dp&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=Bp(e);r&&r instanceof Dp&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=Bp(e);n&&n instanceof Dp&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=Bp(e);n&&n instanceof Dp&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=Bp(e);o&&o instanceof Dp&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=Bp(e);r&&r instanceof Dp&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=Bp(e);r&&r instanceof Dp&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=Bp(e);r&&r.listeners.push(new Rp(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}(),my=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){Sg();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}}(Yh(this._ngModuleDefFactory));return kh.createNgModuleRef(this.moduleType,e||eu.NULL,this._bootstrapComponents,t)},t}(Ku);
|
|
779
|
+
*/!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"}(sg||(sg={}));var Qg=!1;function Zg(){if(!Qg){Qg=!0;var e=Ds()?function t(){return{setCurrentNode:hy,createRootView:Kg,createEmbeddedView:Gg,createComponentView:Yg,createNgModuleRef:$g,overrideProvider:iy,overrideComponentView:ay,clearOverrides:uy,checkAndUpdateView:fy,checkNoChangesView:dy,destroyView:py,createDebugContext:function(e,t){return new Cy(e,t)},handleEvent:vy,updateDirectives:gy,updateRenderer:yy}}():function n(){return{setCurrentNode:function(){},createRootView:qg,createEmbeddedView:Eg,createComponentView:Tg,createNgModuleRef:Zv,overrideProvider:Hh,overrideComponentView:Hh,clearOverrides:Hh,checkAndUpdateView:Dg,checkNoChangesView:jg,destroyView:Fg,createDebugContext:function(e,t){return new Cy(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?ly:cy,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?ly:cy,e)}}}();Sh.setCurrentNode=e.setCurrentNode,Sh.createRootView=e.createRootView,Sh.createEmbeddedView=e.createEmbeddedView,Sh.createComponentView=e.createComponentView,Sh.createNgModuleRef=e.createNgModuleRef,Sh.overrideProvider=e.overrideProvider,Sh.overrideComponentView=e.overrideComponentView,Sh.clearOverrides=e.clearOverrides,Sh.checkAndUpdateView=e.checkAndUpdateView,Sh.checkNoChangesView=e.checkNoChangesView,Sh.destroyView=e.destroyView,Sh.resolveDep=cg,Sh.createDebugContext=e.createDebugContext,Sh.handleEvent=e.handleEvent,Sh.updateDirectives=e.updateDirectives,Sh.updateRenderer=e.updateRenderer,Sh.dirtyParentQueries=gg}}function qg(e,t,n,r,o,i){return Og(Wg(e,o,o.injector.get(ys),t,n),r,i)}function Kg(e,t,n,r,o,i){var a=o.injector.get(ys),u=Wg(e,o,new Ey(a),t,n),s=sy(r);return Iy(Jg.create,Og,null,[u,s,i])}function Wg(e,t,n,r,o){var i=t.injector.get(Cs),a=t.injector.get(ad);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function Gg(e,t,n,r){var o=sy(n);return Iy(Jg.create,Eg,null,[e,t,o,r])}function Yg(e,t,n,r){return n=oy.get(t.element.componentProvider.provider.token)||sy(n),Iy(Jg.create,Tg,null,[e,t,n,r])}function $g(e,t,n,r){return Zv(e,t,n,function o(e){var t=function n(e){var t=!1,n=!1;return 0===ny.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=ny.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){ry.forEach(function(r,o){I(o).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=ny.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=rv(o.deps),n.value=o.value)}if(ry.size>0){var i=new Set(e.modules);ry.forEach(function(t,n){if(i.has(I(n).providedIn)){var o={token:n,flags:t.flags|(r?4096:0),deps:rv(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Bh(n)]=o}})}}(e=e.factory(function(){return Hh})),e):e}(r))}var Jg,Xg,ey,ty,ny=new Map,ry=new Map,oy=new Map;function iy(e){var t;ny.set(e.token,e),"function"==typeof e.token&&(t=I(e.token))&&"function"==typeof t.providedIn&&ry.set(e.token,e)}function ay(e,t){var n=av(av(jv(t)).nodes[0].element.componentView);oy.set(e,n)}function uy(){ny.clear(),ry.clear(),oy.clear()}function sy(e){if(0===ny.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&&ny.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Hh});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=ny.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=rv(i.deps),o.value=i.value)}}}}function ly(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return Ag(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?jh(e,t).value:void 0}function cy(e,t,n,r,o,i,a,u,s,l,c,f,d){var p=e.def.nodes[t];return Vg(e,p,n,r,o,i,a,u,s,l,c,f,d),224&p.flags?jh(e,t).value:void 0}function fy(e){return Iy(Jg.detectChanges,Dg,null,[e])}function dy(e){return Iy(Jg.checkNoChanges,jg,null,[e])}function py(e){return Iy(Jg.destroy,Fg,null,[e])}function hy(e,t){ey=e,ty=t}function vy(e,t,n,r){return hy(e,t),Iy(Jg.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function gy(e,t){if(128&e.state)throw Fh(Jg[Xg]);return hy(e,wy(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?my(e,u,o,i):_y(e,u,o,i),16384&u.flags&&hy(e,wy(e,r)),224&u.flags?jh(e,u.nodeIndex).value:void 0},e)}function yy(e,t){if(128&e.state)throw Fh(Jg[Xg]);return hy(e,by(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?my(e,u,o,i):_y(e,u,o,i),3&u.flags&&hy(e,by(e,r)),224&u.flags?jh(e,u.nodeIndex).value:void 0},e)}function my(e,t,n,r){if(Ag.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-"+function l(e){return e.replace(sr,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})}(h.replace(/[$@]/g,"_")))]=lr(s))}var c=t.parent,d=Nh(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))}}
|
|
795
780
|
/**
|
|
796
781
|
* @license
|
|
797
782
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -799,6 +784,7 @@ return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0
|
|
|
799
784
|
* Use of this source code is governed by an MIT-style license that can be
|
|
800
785
|
* found in the LICENSE file at https://angular.io/license
|
|
801
786
|
*/
|
|
787
|
+
var h}function _y(e,t,n,r){Vg.apply(void 0,f([e,t,n],r))}function wy(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 by(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}!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"}(Jg||(Jg={}));var Cy=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=Yh(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Nh(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Bv(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){xy(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&&xy(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&&!Xh(e);)e=e.parent;return e.parent?Nh(e.parent,Yh(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?$h(this.view,this.nodeDef):$h(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)):Hh}),u<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,f(r)))},e}();function xy(e,t,n){for(var r in t.references)n[r]=_g(e,t,t.references[r])}function Iy(e,t,n,r){var o=Xg,i=ey,a=ty;try{Xg=e;var u=t.apply(n,r);return ey=i,ty=a,Xg=o,u}catch(e){if(function s(e){return!!rd(e)}(e)||!ey)throw e;throw function l(e,t){return e instanceof Error||(e=new Error(e.toString())),Mh(e,t),e}(e,ky())}}function ky(){return ey?new Cy(ey,ty):null}var Ey=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new Oy(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}(),Oy=function(){function e(e){this.delegate=e,this.debugContextFactory=ky,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){!function t(e){Gp.delete(e.nativeNode)}($p(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=this.createDebugContext(n);if(r){var o=new zp(n,null,r);o.name=e,Xp(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Xp(new Up(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Xp(new Up(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=$p(e),r=$p(t);n&&r&&n instanceof zp&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=$p(e),o=$p(t),i=$p(n);r&&o&&r instanceof zp&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=$p(e),r=$p(t);n&&r&&n instanceof zp&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=ky();return r&&Xp(new zp(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var o=$p(e);o&&o instanceof zp&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=$p(e);r&&r instanceof zp&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=$p(e);n&&n instanceof zp&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=$p(e);n&&n instanceof zp&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=$p(e);o&&o instanceof zp&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=$p(e);r&&r instanceof zp&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=$p(e);r&&r instanceof zp&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=$p(e);r&&r.listeners.push(new Bp(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}(),Ty=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){Zg();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}}(av(this._ngModuleDefFactory));return Sh.createNgModuleRef(this.moduleType,e||fu.NULL,this._bootstrapComponents,t)},t}(os);
|
|
802
788
|
/**
|
|
803
789
|
* @license
|
|
804
790
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -841,14 +827,14 @@ return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0
|
|
|
841
827
|
* Use of this source code is governed by an MIT-style license that can be
|
|
842
828
|
* found in the LICENSE file at https://angular.io/license
|
|
843
829
|
*/
|
|
844
|
-
e.ɵangular_packages_core_core_s=vh,e.ɵangular_packages_core_core_p=dh,e.ɵangular_packages_core_core_q=ph,e.ɵangular_packages_core_core_r=hh,e.ɵangular_packages_core_core_g=bd,e.ɵangular_packages_core_core_n=qp,e.ɵangular_packages_core_core_o=eh,e.ɵangular_packages_core_core_m=Dp,e.ɵangular_packages_core_core_l=jp,e.ɵangular_packages_core_core_c=Pe,e.ɵangular_packages_core_core_d=vd,e.ɵangular_packages_core_core_e=od,e.ɵangular_packages_core_core_f=ld,e.ɵangular_packages_core_core_k=Dc,e.ɵangular_packages_core_core_t=Kd,e.ɵangular_packages_core_core_v=zd,e.ɵangular_packages_core_core_u=Ud,e.ɵangular_packages_core_core_y=qd,e.ɵangular_packages_core_core_w=Qd,e.ɵangular_packages_core_core_x=Zd,e.ɵangular_packages_core_core_bb=En,e.ɵangular_packages_core_core_bi=g,e.ɵangular_packages_core_core_bc=Gt,e.ɵangular_packages_core_core_bd=$t,e.ɵangular_packages_core_core_be=vn,e.ɵangular_packages_core_core_bh=io,e.ɵangular_packages_core_core_bl=mt,e.ɵangular_packages_core_core_h=Yu,e.ɵangular_packages_core_core_i=$u,e.ɵangular_packages_core_core_j=Ju,e.ɵangular_packages_core_core_a=j,e.ɵangular_packages_core_core_b=D,e.ɵangular_packages_core_core_bj=d,e.ɵangular_packages_core_core_z=Zv,e.ɵangular_packages_core_core_ba=Ih,e.createPlatform=dp,e.assertPlatform=hp,e.destroyPlatform=function _y(){ip&&!ip.destroyed&&ip.destroy()},e.getPlatform=vp,e.PlatformRef=gp,e.ApplicationRef=mp,e.createPlatformFactory=pp,e.NgProbeToken=fp,e.enableProdMode=function wy(){if(bs)throw new Error("Cannot enable prod mode after platform setup.");ws=!1},e.isDevMode=Cs,e.APP_ID=wd,e.PACKAGE_ROOT_URL=Od,e.PLATFORM_INITIALIZER=Id,e.PLATFORM_ID=kd,e.APP_BOOTSTRAP_LISTENER=Ed,e.APP_INITIALIZER=md,e.ApplicationInitStatus=_d,e.DebugElement=Zp,e.DebugNode=Qp,e.asNativeElements=function by(e){return e.map(function(e){return e.nativeElement})},e.getDebugNode=Bp,e.Testability=up,e.TestabilityRegistry=sp,e.setTestabilityGetter=function Cy(e){lp=e},e.TRANSLATIONS=ch,e.TRANSLATIONS_FORMAT=fh,e.LOCALE_ID=lh,e.ApplicationModule=gh,e.wtfCreateScope=Gd,e.wtfLeave=Yd,e.wtfStartTimeRange=$d,e.wtfEndTimeRange=Jd,e.Type=Vc,e.EventEmitter=Jl,e.ErrorHandler=Yf,e.Sanitizer=fs,e.ANALYZE_FOR_ENTRY_COMPONENTS=M,e.Attribute=F,e.ContentChild=L,e.ContentChildren=H,e.Query=V,e.ViewChild=U,e.ViewChildren=B,e.Component=gf,e.Directive=vf,e.HostBinding=bf,e.HostListener=Cf,e.Input=_f,e.Output=wf,e.Pipe=yf,e.CUSTOM_ELEMENTS_SCHEMA={name:"custom-elements"},e.NO_ERRORS_SCHEMA={name:"no-errors-schema"},e.NgModule=jf,e.Version=cs,e.VERSION=ds,e.defineInjectable=C,e.defineInjector=x,e.forwardRef=ir,e.resolveForwardRef=ar,e.Injectable=Bf,e.INJECTOR=Ja,e.Injector=eu,e.inject=Ne,e.ReflectiveInjector=hd,e.createInjector=wu,e.ResolvedReflectiveFactory=ud,e.ReflectiveKey=td,e.InjectionToken=E,e.Inject=we,e.Optional=be,e.Self=Ce,e.SkipSelf=xe,e.Host=Ie,e.NgZone=Xd,e.ɵNoopNgZone=ap,e.RenderComponentType=ns,e.Renderer=os,e.Renderer2=ss,e.RendererFactory2=as,e.RootRenderer=is,e.COMPILER_OPTIONS=Ld,e.Compiler=Hd,e.CompilerFactory=Bd,e.ModuleWithComponentFactories=Pd,e.ComponentFactory=Vu,e.ComponentRef=Su,e.ComponentFactoryResolver=zu,e.ElementRef=es,e.NgModuleFactory=Ku,e.NgModuleRef=qu,e.NgModuleFactoryLoader=Nc,e.getModuleFactory=Ac,e.QueryList=wp,e.SystemJsNgModuleLoader=xp,e.SystemJsNgModuleLoaderConfig=bp,e.TemplateRef=Xl,e.ViewContainerRef=kp,e.EmbeddedViewRef=Np,e.ViewRef=Pp,e.ChangeDetectorRef=Op,e.DefaultIterableDiffer=Wp,e.IterableDiffers=rh,e.KeyValueDiffers=oh,e.SimpleChange=fr,e.WrappedValue=cr,e.platformCore=sh,e.ɵALLOW_MULTIPLE_PLATFORMS=cp,e.ɵAPP_ID_RANDOM_PROVIDER=Cd,e.ɵdefaultIterableDiffers=ah,e.ɵdefaultKeyValueDiffers=uh,e.ɵdevModeEqual=lr,e.ɵisListLikeIterable=dr,e.ɵisDefaultChangeDetectionStrategy=function xy(t){return null==t||t===e.ChangeDetectionStrategy.Default}
|
|
845
830
|
/**
|
|
846
831
|
* @license
|
|
847
832
|
* Copyright Google Inc. All Rights Reserved.
|
|
848
833
|
*
|
|
849
834
|
* Use of this source code is governed by an MIT-style license that can be
|
|
850
835
|
* found in the LICENSE file at https://angular.io/license
|
|
851
|
-
|
|
836
|
+
*/
|
|
837
|
+
e.ɵangular_packages_core_core_s=kh,e.ɵangular_packages_core_core_p=Ch,e.ɵangular_packages_core_core_q=xh,e.ɵangular_packages_core_core_r=Ih,e.ɵangular_packages_core_core_g=Rd,e.ɵangular_packages_core_core_n=nh,e.ɵangular_packages_core_core_o=ch,e.ɵangular_packages_core_core_m=zp,e.ɵangular_packages_core_core_l=Up,e.ɵangular_packages_core_core_c=Dt,e.ɵangular_packages_core_core_d=kd,e.ɵangular_packages_core_core_e=hd,e.ɵangular_packages_core_core_f=_d,e.ɵangular_packages_core_core_k=Qc,e.ɵangular_packages_core_core_t=rp,e.ɵangular_packages_core_core_v=Xd,e.ɵangular_packages_core_core_u=Jd,e.ɵangular_packages_core_core_y=np,e.ɵangular_packages_core_core_w=ep,e.ɵangular_packages_core_core_x=tp,e.ɵangular_packages_core_core_bb=Nn,e.ɵangular_packages_core_core_bi=g,e.ɵangular_packages_core_core_bc=Xt,e.ɵangular_packages_core_core_bd=tn,e.ɵangular_packages_core_core_be=_n,e.ɵangular_packages_core_core_bh=io,e.ɵangular_packages_core_core_bl=Je,e.ɵangular_packages_core_core_h=us,e.ɵangular_packages_core_core_i=ss,e.ɵangular_packages_core_core_j=ls,e.ɵangular_packages_core_core_a=j,e.ɵangular_packages_core_core_b=D,e.ɵangular_packages_core_core_bj=d,e.ɵangular_packages_core_core_z=tg,e.ɵangular_packages_core_core_ba=Ah,e.createPlatform=Cp,e.assertPlatform=Ip,e.destroyPlatform=function Py(){vp&&!vp.destroyed&&vp.destroy()},e.getPlatform=kp,e.PlatformRef=Ep,e.ApplicationRef=Tp,e.createPlatformFactory=xp,e.NgProbeToken=bp,e.enableProdMode=function Ny(){if(js)throw new Error("Cannot enable prod mode after platform setup.");Rs=!1},e.isDevMode=Ds,e.APP_ID=Nd,e.PACKAGE_ROOT_URL=Md,e.PLATFORM_INITIALIZER=Ad,e.PLATFORM_ID=Sd,e.APP_BOOTSTRAP_LISTENER=Vd,e.APP_INITIALIZER=Td,e.ApplicationInitStatus=Pd,e.DebugElement=th,e.DebugNode=eh,e.asNativeElements=function Ry(e){return e.map(function(e){return e.nativeElement})},e.getDebugNode=$p,e.Testability=yp,e.TestabilityRegistry=mp,e.setTestabilityGetter=function jy(e){_p=e},e.TRANSLATIONS=wh,e.TRANSLATIONS_FORMAT=bh,e.LOCALE_ID=_h,e.ApplicationModule=Eh,e.wtfCreateScope=ip,e.wtfLeave=ap,e.wtfStartTimeRange=up,e.wtfEndTimeRange=sp,e.Type=Kc,e.EventEmitter=lc,e.ErrorHandler=ad,e.Sanitizer=Cs,e.ANALYZE_FOR_ENTRY_COMPONENTS=M,e.Attribute=F,e.ContentChild=L,e.ContentChildren=H,e.Query=V,e.ViewChild=U,e.ViewChildren=B,e.Component=Ef,e.Directive=kf,e.HostBinding=Rf,e.HostListener=jf,e.Input=Pf,e.Output=Nf,e.Pipe=Of,e.CUSTOM_ELEMENTS_SCHEMA={name:"custom-elements"},e.NO_ERRORS_SCHEMA={name:"no-errors-schema"},e.NgModule=Uf,e.Version=bs,e.VERSION=xs,e.defineInjectable=C,e.defineInjector=x,e.forwardRef=X,e.resolveForwardRef=ee,e.Injectable=$f,e.INJECTOR=lu,e.Injector=fu,e.inject=At,e.ReflectiveInjector=Id,e.createInjector=Ru,e.ResolvedReflectiveFactory=yd,e.ReflectiveKey=fd,e.InjectionToken=E,e.Inject=xt,e.Optional=It,e.Self=kt,e.SkipSelf=Et,e.Host=Ot,e.NgZone=lp,e.ɵNoopNgZone=gp,e.RenderComponentType=ps,e.Renderer=vs,e.Renderer2=_s,e.RendererFactory2=ys,e.RootRenderer=gs,e.COMPILER_OPTIONS=Yd,e.Compiler=Gd,e.CompilerFactory=$d,e.ModuleWithComponentFactories=Hd,e.ComponentFactory=Ku,e.ComponentRef=qu,e.ComponentFactoryResolver=es,e.ElementRef=fs,e.NgModuleFactory=os,e.NgModuleRef=rs,e.NgModuleFactoryLoader=Bc,e.getModuleFactory=Zc,e.QueryList=Np,e.SystemJsNgModuleLoader=Dp,e.SystemJsNgModuleLoaderConfig=Rp,e.TemplateRef=cc,e.ViewContainerRef=Sp,e.EmbeddedViewRef=Lp,e.ViewRef=Hp,e.ChangeDetectorRef=Mp,e.DefaultIterableDiffer=oh,e.IterableDiffers=ph,e.KeyValueDiffers=hh,e.SimpleChange=dr,e.WrappedValue=fr,e.platformCore=mh,e.ɵALLOW_MULTIPLE_PLATFORMS=wp,e.ɵAPP_ID_RANDOM_PROVIDER=jd,e.ɵdefaultIterableDiffers=gh,e.ɵdefaultKeyValueDiffers=yh,e.ɵdevModeEqual=cr,e.ɵisListLikeIterable=pr,e.ɵisDefaultChangeDetectionStrategy=function Dy(t){return null==t||t===e.ChangeDetectionStrategy.Default},e.ɵConsole=Fd,e.ɵgetInjectableDef=I,e.ɵinject=At,e.ɵsetCurrentInjector=Rt,e.ɵAPP_ROOT=ku,e.ɵivyEnabled=!1,e.ɵComponentFactory=Ku,e.ɵCodegenComponentFactoryResolver=ts,e.ɵresolveComponentResources=function Ay(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(oe)),t.push(o)}return o}return ne.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)})})}),ne.clear(),Promise.all(t).then(function(){return null})},e.ɵReflectionCapabilities=Jc,e.ɵRenderDebugInfo=hs,e.ɵ_sanitizeHtml=rl,e.ɵ_sanitizeStyle=Dc,e.ɵ_sanitizeUrl=Ms,e.ɵglobal=Z,e.ɵlooseIdentical=Y,e.ɵstringify=$,e.ɵmakeDecorator=N,e.ɵisObservable=Od,e.ɵisPromise=Ed,e.ɵclearOverrides=function Sy(){return Zg(),Sh.clearOverrides()},e.ɵinitServicesIfNeeded=Zg,e.ɵoverrideComponentView=function Vy(e,t){return Zg(),Sh.overrideComponentView(e,t)},e.ɵoverrideProvider=
|
|
852
838
|
/**
|
|
853
839
|
* @license
|
|
854
840
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -856,7 +842,7 @@ e.ɵangular_packages_core_core_s=vh,e.ɵangular_packages_core_core_p=dh,e.ɵangu
|
|
|
856
842
|
* Use of this source code is governed by an MIT-style license that can be
|
|
857
843
|
* found in the LICENSE file at https://angular.io/license
|
|
858
844
|
*/
|
|
859
|
-
function
|
|
845
|
+
function My(e){return Zg(),Sh.overrideProvider(e)},e.ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR=lg,e.ɵdefineBase=pe,e.ɵdefineComponent=se,e.ɵdefineDirective=he,e.ɵdefinePipe=ve,e.ɵdefineNgModule=fe,e.ɵdetectChanges=ya,e.ɵrenderComponent=function Fy(e,t){void 0===t&&(t={});var n=t.rendererFactory||Er,r=t.sanitizer||null,o=ge(e);o.type!=e&&(o.type=e);var i,a=Pi(n,t.host||o.selectors[0][0]),u=o.onPush?136:132,s=$a(t.scheduler,t.playerHandler),l=n.createRenderer(a,o),c=si(null,Oi(-1,null,1,0,null,null,null),s,u,n,l,void 0,t.injector||null),f=mn(c,null);try{n.begin&&n.begin(),i=Ya(Ga(a,o,c,n,l,r),o,c,s,t.hostFeatures||null),ui(c),c[Ce]&=-2,ui(c)}finally{wn(f),n.end&&n.end()}return i},e.ɵRender3ComponentFactory=Ps,e.ɵRender3ComponentRef=Ns,e.ɵdirectiveInject=Ma,e.ɵinjectAttribute=Fa,e.ɵgetFactoryOf=Hn,e.ɵgetInheritedFactory=Ln,e.ɵtemplateRefExtractor=Oc,e.ɵProvidersFeature=Zu,e.ɵInheritDefinitionFeature=eu,e.ɵNgOnChangesFeature=ru,e.ɵLifecycleHooksFeature=Ja,e.ɵRender3NgModuleRef=zl,e.ɵmarkDirty=ba,e.ɵNgModuleFactory=Ql,e.ɵNO_CHANGE=gr,e.ɵcontainer=oa,e.ɵnextContext=pi,e.ɵelementStart=xi,e.ɵnamespaceHTML=_i,e.ɵnamespaceMathML=mi,e.ɵnamespaceSVG=yi,e.ɵelement=wi,e.ɵlistener=Ni,e.ɵtext=qi,e.ɵembeddedViewStart=sa,e.ɵquery=kc,e.ɵregisterContentQuery=Ha,e.ɵprojection=da,e.ɵbind=Ca,e.ɵinterpolation1=ka,e.ɵinterpolation2=Ea,e.ɵinterpolation3=Oa,e.ɵinterpolation4=Ta,e.ɵinterpolation5=Pa,e.ɵinterpolation6=Na,e.ɵinterpolation7=Ra,e.ɵinterpolation8=ja,e.ɵinterpolationV=Ia,e.ɵpipeBind1=nc,e.ɵpipeBind2=rc,e.ɵpipeBind3=oc,e.ɵpipeBind4=ic,e.ɵpipeBindV=ac,e.ɵpureFunction0=Zl,e.ɵpureFunction1=ql,e.ɵpureFunction2=Kl,e.ɵpureFunction3=Wl,e.ɵpureFunction4=Gl,e.ɵpureFunction5=Yl,e.ɵpureFunction6=$l,e.ɵpureFunction7=Jl,e.ɵpureFunction8=Xl,e.ɵpureFunctionV=ec,e.ɵgetCurrentView=Ua,e.ɵgetHostElement=rr,e.ɵrestoreView=en,e.ɵcontainerRefreshStart=aa,e.ɵcontainerRefreshEnd=ua,e.ɵqueryRefresh=Ec,e.ɵloadQueryList=Sa,e.ɵelementEnd=Ri,e.ɵelementProperty=Di,e.ɵcomponentHostSyntheticProperty=Ai,e.ɵprojectionDef=ca,e.ɵreference=Aa,e.ɵenableBindings=$t,e.ɵdisableBindings=Jt,e.ɵallocHostVars=xa,e.ɵelementAttribute=ji,e.ɵelementContainerStart=bi,e.ɵelementContainerEnd=Ci,e.ɵelementStyling=Li,e.ɵelementHostAttrs=Bi,e.ɵelementStylingMap=Zi,e.ɵelementStyleProp=zi,e.ɵelementStylingApply=Ui,e.ɵelementClassProp=Qi,e.ɵtextBinding=Ki,e.ɵtemplate=ra,e.ɵembeddedViewEnd=la,e.ɵstore=Da,e.ɵload=Va,e.ɵpipe=tc,e.ɵwhenRendered=function Hy(e){return function t(e){return lt(e)[Ne]}(e).clean},e.ɵi18n=Rl,e.ɵi18nAttributes=jl,e.ɵi18nExp=Vl,e.ɵi18nStart=kl,e.ɵi18nEnd=Tl,e.ɵi18nApply=Ml,e.ɵi18nPostprocess=Ol,e.ɵsetClassMetadata=
|
|
860
846
|
/**
|
|
861
847
|
* @license
|
|
862
848
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -864,7 +850,7 @@ function Oy(e){return Sg(),kh.overrideProvider(e)},e.ɵNOT_FOUND_CHECK_ONLY_ELEM
|
|
|
864
850
|
* Use of this source code is governed by an MIT-style license that can be
|
|
865
851
|
* found in the LICENSE file at https://angular.io/license
|
|
866
852
|
*/
|
|
867
|
-
function
|
|
853
|
+
function Ly(e,t,n,r){var o,a=e;null!==t&&(void 0!==a.decorators?(o=a.decorators).push.apply(o,f(t)):a.decorators=t),null!==n&&(a.ctorParameters=n),null!==r&&(a.propDecorators=void 0!==a.propDecorators?i({},a.propDecorators,r):r)},e.ɵcompileComponent=mf,e.ɵcompileDirective=_f,e.ɵcompileNgModule=cf,e.ɵcompileNgModuleDefs=ff,e.ɵpatchComponentDefWithScope=pf,e.ɵresetCompiledComponents=function By(){new Map,new Map,uf.length=0},e.ɵcompilePipe=If,e.ɵsanitizeHtml=Ac,e.ɵsanitizeStyle=Sc,e.ɵsanitizeUrl=Vc,e.ɵsanitizeResourceUrl=Mc,e.ɵbypassSanitizationTrustHtml=function Uy(e){return Nc(e,"Html")},e.ɵbypassSanitizationTrustStyle=function zy(e){return Nc(e,"Style")},e.ɵbypassSanitizationTrustScript=function Qy(e){return Nc(e,"Script")},e.ɵbypassSanitizationTrustUrl=function Zy(e){return Nc(e,"Url")},e.ɵbypassSanitizationTrustResourceUrl=function qy(e){return Nc(e,"ResourceUrl")},e.ɵgetLContext=Bn,e.ɵbindPlayerFactory=function Ky(e,t){return new io(e,t)},e.ɵaddPlayer=function Wy(e,t){var n=Bn(e);if(n){var r=n.native,o=n.lView,i=function a(e,t){if(!(t=t||Bn(e)))return null;var n=lo(t.nodeIndex,t.lView);return po(n)||ho(n)}(r,n),u=Jn(o);fo(i,u,r,t,0,e),va(u,2)}},e.ɵgetPlayers=Za,e.ɵcompileNgModuleFactory__POST_R3__=function Gy(e,t,n){return Promise.resolve(new Ql(n))},e.ɵSWITCH_COMPILE_COMPONENT__POST_R3__=Df,e.ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__=Af,e.ɵSWITCH_COMPILE_PIPE__POST_R3__=Sf,e.ɵSWITCH_COMPILE_NGMODULE__POST_R3__=zf,e.ɵgetDebugNode__POST_R3__=Yp,e.ɵSWITCH_COMPILE_INJECTABLE__POST_R3__=
|
|
868
854
|
/**
|
|
869
855
|
* @license
|
|
870
856
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -879,7 +865,7 @@ function Ny(e,t,n,r){var o,a=e;null!==t&&(void 0!==a.decorators?(o=a.decorators)
|
|
|
879
865
|
* Use of this source code is governed by an MIT-style license that can be
|
|
880
866
|
* found in the LICENSE file at https://angular.io/license
|
|
881
867
|
*/
|
|
882
|
-
function
|
|
868
|
+
function Yy(e,t){var n=null;e.hasOwnProperty(g)||Object.defineProperty(e,g,{get:function(){if(null===n){var r=t||{providedIn:null},o=Kf(r)||Gf(r)||Wf(r)||Yf(r),i={name:e.name,type:e,typeArgumentCount:0,providedIn:r.providedIn,ctorDeps:rf(e),userDeps:void 0};if((Kf(r)||Gf(r))&&void 0!==r.deps&&(i.userDeps=of(r.deps)),o)if(Kf(r))i.useClass=r.useClass;else if(Wf(r))i.useValue=r.useValue;else if(Gf(r))i.useFactory=r.useFactory;else{if(!Yf(r))throw new Error("Unreachable state.");i.useExisting=r.useExisting}else i.useClass=e;n=bt().compileInjectable(Hc,"ng://"+e.name+"/ngInjectableDef.js",i)}return n}})},e.ɵSWITCH_IVY_ENABLED__POST_R3__=!0,e.ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__=function $y(){return ls(tn(),Xt(),null)},e.ɵCompiler_compileModuleSync__POST_R3__=zd,e.ɵCompiler_compileModuleAsync__POST_R3__=function(e){return Promise.resolve(zd(e))},e.ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__=qd,e.ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__=function(e){return Promise.resolve(qd(e))},e.ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__=function Jy(e){return us(e,tn(),Xt())},e.ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__=function Xy(e,t){return ss(e,t,tn(),Xt())},e.ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__=function em(e,t){return function n(e,t,r,i){var a;$u||($u=function(e){function n(t,n,r){var o=e.call(this)||this;return o._lContainer=t,o._hostTNode=n,o._hostView=r,o._viewRefs=[],o}return o(n,e),Object.defineProperty(n.prototype,"element",{get:function(){return us(t,this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new Fn(this._hostTNode,this._hostView)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var e=Tn(this._hostTNode,this._hostView),t=gt(e,this._hostView),n=function r(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,o=n.parent;null!=o.parent&&r==o.injectorIndex;)o=o.parent;return o}for(var i=vt(e),a=t,u=t[Oe];i>1;)u=(a=a[Fe])[Oe],i--;return u}(e,this._hostView,this._hostTNode);return pt(e)&&null!=n?new Fn(n,t):new Fn(null,this._hostView)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(;this._lContainer[Be].length;)this.remove(0)},n.prototype.get=function(e){return this._viewRefs[e]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer[Be].length},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(e,t,n){var r=this._adjustIndex(n),o=e.createEmbeddedView(t||{},this._lContainer,this._hostTNode,this._hostView,r);return o.attachToViewContainerRef(this),this._viewRefs.splice(r,0,o),o},n.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;!o&&null==e.ngModule&&i&&(o=i.get(rs,null));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},n.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e._lView,r=this._adjustIndex(t);return Vr(n,this._lContainer,this._hostView,r,this._hostTNode.index),Sr(n,!0,Gr(r,this._lContainer[Be],this._lContainer[Ue])),e.attachToViewContainerRef(this),this._viewRefs.splice(r,0,e),e},n.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this.indexOf(e);return this.detach(n),this.insert(e,this._adjustIndex(t)),e},n.prototype.indexOf=function(e){return this._viewRefs.indexOf(e)},n.prototype.remove=function(e){var t=this._adjustIndex(e,-1);Fr(this._lContainer,this._hostTNode,t),this._viewRefs.splice(t,1)},n.prototype.detach=function(e){var t=this._adjustIndex(e,-1),n=Mr(this._lContainer,t,!!this._hostTNode.detached);return null!=this._viewRefs.splice(t,1)[0]?new is(n,n[Ne],n[Ve]):null},n.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this._lContainer[Be].length+t:e},n}(e));var u=i[r.index];if(ut(u))(a=u)[Le]=-1;else{var s=i[De].createComment("");if(st(i)){var l=i[De],c=tt(r,i);Zr(l,qr(l,c),s,function f(e,t){return kr(e)?e.nextSibling(t):t.nextSibling}(l,c))}else Kr(s,r,i);i[r.index]=a=na(u,r,i,s,!0),pa(i,r.index,a)}return new $u(a,r,i)}(e,t,tn(),Xt())},e.ɵSWITCH_RENDERER2_FACTORY__POST_R3__=function tm(){return function e(t){var n=t[De];if(kr(n))return n;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Xt())},e.ɵgetModuleFactory__POST_R3__=function nm(e){var t=Uc.get(e);if(!t)throw qc(e);return new Ql(t)},e.ɵpublishGlobalUtil=Wa,e.ɵpublishDefaultGlobalUtils=function rm(){Ka||(Ka=!0,Wa("getComponent",Gn),Wa("getContext",Yn),Wa("getListeners",ar),Wa("getViewComponent",$n),Wa("getHostElement",rr),Wa("getInjector",er),Wa("getRootComponents",Xn),Wa("getDirectives",tr),Wa("getPlayers",Za),Wa("markDirty",ba))},e.ɵSWITCH_INJECTOR_FACTORY__POST_R3__=function(){return function e(){var e=tn();return new Fn(e,Xt())}()},e.ɵregisterModuleFactory=function om(e,t){var n=Uc.get(e);zc(e,n&&n.moduleType),Uc.set(e,t)},e.ɵEMPTY_ARRAY=[],e.ɵEMPTY_MAP={},e.ɵand=
|
|
883
869
|
/**
|
|
884
870
|
* @license
|
|
885
871
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -887,4 +873,4 @@ function Ly(e,t){var n=null;e.hasOwnProperty(g)||Object.defineProperty(e,g,{get:
|
|
|
887
873
|
* Use of this source code is governed by an MIT-style license that can be
|
|
888
874
|
* found in the LICENSE file at https://angular.io/license
|
|
889
875
|
*/
|
|
890
|
-
function
|
|
876
|
+
function im(e,t,n,r,o,i){e|=1;var a=nv(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?av(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||Hh},provider:null,text:null,query:null,ngContent:null}},e.ɵccf=function am(e,t,n,r,o,i){return new Dv(e,t,n,r,o,i)},e.ɵcmf=function um(e,t,n){return new Ty(e,t,n)},e.ɵcrt=function sm(e){return{id:"$$undefined",styles:e.styles,encapsulation:e.encapsulation,data:e.data}},e.ɵdid=function lm(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 tg(e,t|=16384,n,r,o,o,i,s,d)},e.ɵeld=function cm(t,n,r,o,i,a,u,s,l,f,d,p){var h;void 0===u&&(u=[]),f||(f=Hh);var v=nv(r),g=v.matchedQueries,y=v.references,m=v.matchedQueryIds,_=null,w=null;a&&(_=(h=c(pv(a),2))[0],w=h[1]),s=s||[];for(var b=new Array(s.length),C=0;C<s.length;C++){var x=c(s[C],3),I=x[0],k=x[2],E=c(pv(x[1]),2),O=E[0],T=E[1],P=void 0,N=void 0;switch(15&I){case 4:N=k;break;case 1:case 8:P=k}b[C]={flags:I,ns:O,name:T,nonMinifiedName:T,securityContext:P,suffix:N}}l=l||[];var R=new Array(l.length);for(C=0;C<l.length;C++){var j=c(l[C],2);R[C]={type:0,target:j[0],eventName:j[1],propName:null}}var D=(u=u||[]).map(function(e){var t=c(e,2),n=t[1],r=c(pv(t[0]),2);return[r[0],r[1],n]});return p=function A(t){if(t&&"$$undefined"===t.id){var n=null!=t.encapsulation&&t.encapsulation!==e.ViewEncapsulation.None||t.styles.length||Object.keys(t.data).length;t.id=n?"c"+Uh++:"$$empty"}return t&&"$$empty"===t.id&&(t=null),t||null}(p),d&&(n|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:n|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:g,matchedQueryIds:m,references:y,ngContentIndex:o,childCount:i,bindings:b,bindingFlags:hv(b),outputs:R,element:{ns:_,name:w,attrs:D,template:null,componentProvider:null,componentView:d||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:f||Hh},provider:null,text:null,query:null,ngContent:null}},e.ɵelementEventFullName=Jh,e.ɵgetComponentViewDefinitionFactory=jv,e.ɵinlineInterpolate=function fm(e,t,n,r,o,i,a,u,s,l,c,f,d,p,h,v,g,y,m,_){switch(e){case 1:return t+vv(n)+r;case 2:return t+vv(n)+r+vv(o)+i;case 3:return t+vv(n)+r+vv(o)+i+vv(a)+u;case 4:return t+vv(n)+r+vv(o)+i+vv(a)+u+vv(s)+l;case 5:return t+vv(n)+r+vv(o)+i+vv(a)+u+vv(s)+l+vv(c)+f;case 6:return t+vv(n)+r+vv(o)+i+vv(a)+u+vv(s)+l+vv(c)+f+vv(d)+p;case 7:return t+vv(n)+r+vv(o)+i+vv(a)+u+vv(s)+l+vv(c)+f+vv(d)+p+vv(h)+v;case 8:return t+vv(n)+r+vv(o)+i+vv(a)+u+vv(s)+l+vv(c)+f+vv(d)+p+vv(h)+v+vv(g)+y;case 9:return t+vv(n)+r+vv(o)+i+vv(a)+u+vv(s)+l+vv(c)+f+vv(d)+p+vv(h)+v+vv(g)+y+vv(m)+_;default:throw new Error("Does not support more than 9 expressions")}},e.ɵinterpolate=function dm(e,t){for(var n="",r=0;r<2*e;r+=2)n=n+t[r]+vv(t[r+1]);return n+t[2*e]},e.ɵmod=function pm(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===ku&&!0===i.value&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[Bh(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}},e.ɵmpd=function hm(e,t,n,r){return n=ee(n),{index:-1,deps:rv(r,$(t)),flags:e,token:t,value:n}},e.ɵncd=function vm(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 gm(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Nh(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Ph(e,n.nodeIndex).renderText;if(20240&n.flags)return Rh(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)},e.ɵpid=function ym(e,t,n){return tg(-1,e|=16,null,0,t,t,n)},e.ɵprd=function mm(e,t,n,r,o){return tg(-1,e,t,0,n,r,o)},e.ɵpad=function _m(e,t){return bg(32,e,new Array(t))},e.ɵpod=function wm(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 bg(64,e,o)},e.ɵppd=function bm(e,t){return bg(128,e,new Array(t+1))},e.ɵqud=function Cm(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:tv(t),bindings:r},ngContent:null}},e.ɵted=function xm(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 Im(e,t,n,r){if(fr.isWrapped(r)){r=fr.unwrap(r);var o=e.def.nodes[t].bindingIndex+n,i=fr.unwrap(e.oldValues[o]);e.oldValues[o]=new fr(i)}return r},e.ɵvid=function km(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 g=v.element;g.publicProviders=l?l.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,f=!1,d=!1,v.element.template&&(s|=v.element.template.nodeMatchedQueries)}if(kg(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 y=0!=(32768&v.flags);0==(8192&v.flags)||y?l.element.publicProviders[Bh(v.provider.token)]=v:(d||(d=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[Bh(v.provider.token)]=v),y&&(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,Ig(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)&&Ig(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:u,nodeMatchedQueries:s,flags:e,nodes:t,updateDirectives:n||Hh,updateRenderer:r||Hh,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})});
|