@angular/core 6.0.0-rc.3 → 6.0.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 +95 -19
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core-testing.umd.min.js +10 -11
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +555 -389
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +77 -77
- package/bundles/core.umd.min.js.map +1 -1
- package/core.metadata.json +1 -1
- package/esm2015/index.js +2 -2
- package/esm2015/public_api.js +2 -2
- package/esm2015/src/application_ref.js +6 -6
- package/esm2015/src/change_detection/change_detection_util.js +3 -3
- package/esm2015/src/change_detection/change_detector_ref.js +2 -2
- package/esm2015/src/change_detection/constants.js +1 -1
- package/esm2015/src/change_detection/differs/default_iterable_differ.js +15 -15
- package/esm2015/src/change_detection/differs/default_keyvalue_differ.js +2 -2
- package/esm2015/src/change_detection/differs/iterable_differs.js +15 -7
- package/esm2015/src/change_detection/differs/keyvalue_differs.js +6 -6
- package/esm2015/src/change_detection/pipe_transform.js +2 -2
- package/esm2015/src/core.js +4 -4
- package/esm2015/src/core_private_export.js +2 -2
- package/esm2015/src/core_render3_private_export.js +2 -2
- package/esm2015/src/di/defs.js +36 -19
- package/esm2015/src/di/injectable.js +3 -3
- package/esm2015/src/di/injection_token.js +2 -2
- package/esm2015/src/di/injector.js +35 -14
- package/esm2015/src/di/metadata.js +11 -11
- package/esm2015/src/di/provider.js +9 -9
- package/esm2015/src/di/r3_injector.js +12 -12
- package/esm2015/src/di/reflective_errors.js +3 -3
- package/esm2015/src/di.js +1 -1
- package/esm2015/src/error_handler.js +2 -2
- package/esm2015/src/event_emitter.js +2 -2
- package/esm2015/src/linker/compiler.js +2 -2
- package/esm2015/src/linker/component_factory.js +3 -3
- package/esm2015/src/linker/component_factory_resolver.js +2 -2
- package/esm2015/src/linker/element_ref.js +3 -3
- package/esm2015/src/linker/ng_module_factory.js +2 -2
- package/esm2015/src/linker/ng_module_factory_loader.js +2 -2
- package/esm2015/src/linker/query_list.js +2 -2
- package/esm2015/src/linker/template_ref.js +2 -2
- package/esm2015/src/linker/view_container_ref.js +2 -2
- package/esm2015/src/linker/view_ref.js +2 -2
- package/esm2015/src/metadata/di.js +12 -12
- package/esm2015/src/metadata/directives.js +15 -15
- package/esm2015/src/metadata/lifecycle_hooks.js +10 -10
- package/esm2015/src/metadata/ng_module.js +5 -5
- package/esm2015/src/metadata/view.js +1 -1
- package/esm2015/src/render3/assert.js +13 -1
- package/esm2015/src/render3/component.js +2 -1
- package/esm2015/src/render3/definition.js +4 -4
- package/esm2015/src/render3/di.js +61 -89
- package/esm2015/src/render3/hooks.js +7 -7
- package/esm2015/src/render3/index.js +1 -1
- package/esm2015/src/render3/instructions.js +128 -79
- package/esm2015/src/render3/interfaces/definition.js +9 -1
- package/esm2015/src/render3/interfaces/injector.js +1 -3
- package/esm2015/src/render3/interfaces/node.js +7 -11
- package/esm2015/src/render3/interfaces/view.js +17 -3
- package/esm2015/src/render3/node_manipulation.js +23 -3
- package/esm2015/src/render3/query.js +9 -7
- package/esm2015/src/sanitization/security.js +2 -2
- package/esm2015/src/type.js +2 -2
- package/esm2015/src/util/decorators.js +2 -2
- package/esm2015/src/util/lang.js +2 -2
- package/esm2015/src/version.js +4 -4
- package/esm2015/src/view/ng_module.js +5 -2
- package/esm2015/src/view/refs.js +1 -1
- package/esm2015/testing/src/async.js +2 -2
- package/esm2015/testing/src/async_fallback.js +2 -2
- package/esm2015/testing/src/component_fixture.js +2 -2
- package/esm2015/testing/src/test_bed.js +3 -3
- package/esm5/src/application_ref.js +7 -7
- package/esm5/src/change_detection/change_detection_util.js +7 -7
- package/esm5/src/change_detection/change_detector_ref.js +4 -4
- package/esm5/src/change_detection/constants.js +4 -4
- package/esm5/src/change_detection/differs/default_iterable_differ.js +18 -18
- package/esm5/src/change_detection/differs/default_keyvalue_differ.js +3 -3
- package/esm5/src/change_detection/differs/iterable_differs.js +9 -11
- package/esm5/src/change_detection/differs/keyvalue_differs.js +4 -4
- package/esm5/src/change_detection/pipe_transform.js +1 -1
- package/esm5/src/core_private_export.js +2 -2
- package/esm5/src/core_render3_private_export.js +2 -2
- package/esm5/src/di/defs.js +3 -6
- package/esm5/src/di/injectable.js +2 -2
- package/esm5/src/di/injection_token.js +4 -4
- package/esm5/src/di/injector.js +26 -11
- package/esm5/src/di/metadata.js +6 -6
- package/esm5/src/di/provider.js +1 -1
- package/esm5/src/di/r3_injector.js +12 -12
- package/esm5/src/di/reflective_errors.js +3 -3
- package/esm5/src/di.js +2 -2
- package/esm5/src/error_handler.js +4 -4
- package/esm5/src/event_emitter.js +4 -4
- package/esm5/src/linker/compiler.js +2 -2
- package/esm5/src/linker/component_factory.js +7 -7
- package/esm5/src/linker/component_factory_resolver.js +2 -2
- package/esm5/src/linker/element_ref.js +4 -4
- package/esm5/src/linker/ng_module_factory.js +4 -4
- package/esm5/src/linker/ng_module_factory_loader.js +4 -4
- package/esm5/src/linker/query_list.js +4 -4
- package/esm5/src/linker/template_ref.js +4 -4
- package/esm5/src/linker/view_container_ref.js +4 -4
- package/esm5/src/linker/view_ref.js +4 -4
- package/esm5/src/metadata/di.js +9 -9
- package/esm5/src/metadata/directives.js +8 -8
- package/esm5/src/metadata/lifecycle_hooks.js +1 -1
- package/esm5/src/metadata/ng_module.js +3 -3
- package/esm5/src/metadata/view.js +4 -4
- package/esm5/src/render3/assert.js +6 -1
- package/esm5/src/render3/component.js +2 -1
- package/esm5/src/render3/definition.js +1 -1
- package/esm5/src/render3/di.js +51 -74
- package/esm5/src/render3/hooks.js +6 -6
- package/esm5/src/render3/index.js +1 -1
- package/esm5/src/render3/instructions.js +123 -76
- 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/view.js +1 -1
- package/esm5/src/render3/node_manipulation.js +20 -2
- package/esm5/src/render3/query.js +9 -7
- package/esm5/src/sanitization/security.js +7 -7
- package/esm5/src/type.js +2 -2
- package/esm5/src/util/decorators.js +1 -1
- package/esm5/src/util/lang.js +2 -2
- package/esm5/src/version.js +6 -6
- package/esm5/src/view/ng_module.js +5 -2
- package/esm5/src/view/refs.js +1 -1
- package/esm5/testing/src/async.js +2 -2
- package/esm5/testing/src/async_fallback.js +2 -2
- package/esm5/testing/src/component_fixture.js +4 -4
- package/esm5/testing/src/test_bed.js +5 -5
- package/fesm2015/core.js +468 -372
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +6 -6
- package/fesm2015/testing.js.map +1 -1
- package/fesm5/core.js +403 -321
- package/fesm5/core.js.map +1 -1
- package/fesm5/testing.js +6 -6
- package/fesm5/testing.js.map +1 -1
- package/package.json +5 -4
- package/src/application_ref.d.ts +5 -5
- package/src/change_detection/change_detection_util.d.ts +2 -2
- package/src/change_detection/change_detector_ref.d.ts +1 -1
- package/src/change_detection/constants.d.ts +1 -1
- package/src/change_detection/differs/default_iterable_differ.d.ts +1 -1
- package/src/change_detection/differs/iterable_differs.d.ts +8 -7
- package/src/change_detection/differs/keyvalue_differs.d.ts +5 -5
- package/src/change_detection/pipe_transform.d.ts +1 -1
- package/src/core_private_export.d.ts +1 -1
- package/src/core_render3_private_export.d.ts +1 -1
- package/src/di/defs.d.ts +29 -10
- package/src/di/injectable.d.ts +3 -3
- package/src/di/injection_token.d.ts +3 -4
- package/src/di/injector.d.ts +14 -11
- package/src/di/metadata.d.ts +20 -20
- package/src/di/provider.d.ts +10 -10
- package/src/di/r3_injector.d.ts +3 -3
- package/src/di/reflective_errors.d.ts +2 -2
- package/src/di.d.ts +1 -1
- package/src/error_handler.d.ts +1 -1
- package/src/event_emitter.d.ts +1 -1
- package/src/linker/compiler.d.ts +1 -1
- package/src/linker/component_factory.d.ts +2 -2
- package/src/linker/component_factory_resolver.d.ts +1 -1
- package/src/linker/element_ref.d.ts +2 -2
- package/src/linker/ng_module_factory.d.ts +1 -1
- package/src/linker/ng_module_factory_loader.d.ts +1 -1
- package/src/linker/query_list.d.ts +1 -1
- package/src/linker/template_ref.d.ts +1 -1
- package/src/linker/view_container_ref.d.ts +1 -1
- package/src/linker/view_ref.d.ts +1 -1
- package/src/metadata/di.d.ts +21 -21
- package/src/metadata/directives.d.ts +28 -28
- package/src/metadata/lifecycle_hooks.d.ts +9 -9
- package/src/metadata/ng_module.d.ts +5 -5
- package/src/metadata/view.d.ts +1 -1
- package/src/render3/assert.d.ts +1 -0
- package/src/render3/definition.d.ts +3 -3
- package/src/render3/di.d.ts +4 -14
- package/src/render3/index.d.ts +2 -1
- package/src/render3/instructions.d.ts +3 -3
- package/src/render3/interfaces/definition.d.ts +23 -4
- package/src/render3/interfaces/injector.d.ts +0 -2
- package/src/render3/interfaces/node.d.ts +7 -13
- package/src/render3/interfaces/view.d.ts +16 -3
- package/src/render3/node_manipulation.d.ts +3 -2
- package/src/sanitization/security.d.ts +2 -2
- package/src/type.d.ts +1 -1
- package/src/util/decorators.d.ts +1 -1
- package/src/version.d.ts +2 -2
- package/testing/src/async.d.ts +1 -1
- package/testing/src/async_fallback.d.ts +1 -1
- package/testing/src/component_fixture.d.ts +1 -1
- package/testing/src/test_bed.d.ts +2 -2
- package/testing.d.ts +1 -1
package/bundles/core.umd.min.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v6.0.0
|
|
2
|
+
* @license Angular v6.0.0
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("
|
|
6
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@angular/core",["exports","rxjs","rxjs/operators"],t):t((e.ng=e.ng||{},e.ng.core={}),e.rxjs,e.rxjs.operators)}(this,function(e,t,n){"use strict";var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=Object.assign||function e(t){for(var n,r=1,o=arguments.length;r<o;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t};function a(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function s(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function u(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(s(arguments[t]));return e}
|
|
7
7
|
/**
|
|
8
8
|
* @license
|
|
9
9
|
* Copyright Google Inc. All Rights Reserved.
|
|
10
10
|
*
|
|
11
11
|
* Use of this source code is governed by an MIT-style license that can be
|
|
12
12
|
* found in the LICENSE file at https://angular.io/license
|
|
13
|
-
*/function
|
|
13
|
+
*/function l(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function c(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}
|
|
14
14
|
/**
|
|
15
15
|
* @license
|
|
16
16
|
* Copyright Google Inc. All Rights Reserved.
|
|
17
17
|
*
|
|
18
18
|
* Use of this source code is governed by an MIT-style license that can be
|
|
19
19
|
* found in the LICENSE file at https://angular.io/license
|
|
20
|
-
*/var
|
|
20
|
+
*/var d=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?l({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),f="__annotations__",p="__parameters__",h="__prop__metadata__";
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright Google Inc. All Rights Reserved.
|
|
24
24
|
*
|
|
25
25
|
* Use of this source code is governed by an MIT-style license that can be
|
|
26
26
|
* found in the LICENSE file at https://angular.io/license
|
|
27
|
-
*/function
|
|
27
|
+
*/function v(e,t,n,r,o){var i=g(t);function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof a)return i.call.apply(i,u([this],e)),this;var n,s=new((n=a).bind.apply(n,u([void 0],e))),l=function t(n){return o&&o.apply(void 0,u([n],e)),(n.hasOwnProperty(f)?n[f]:Object.defineProperty(n,f,{value:[]})[f]).push(s),n};return r&&r(l),l}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a}function g(e){return function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(e){var o=e.apply(void 0,u(n));for(var i in o)this[i]=o[i]}}}function y(e,t,n){var r=g(t);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof o)return r.apply(this,e),this;var n,i=new((n=o).bind.apply(n,u([void 0],e)));return a.annotation=i,a;function a(e,t,n){for(var r=e.hasOwnProperty(p)?e[p]:Object.defineProperty(e,p,{value:[]})[p];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}function m(e,t,n){var r=g(t);function o(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof o)return r.apply(this,e),this;var n,i=new((n=o).bind.apply(n,u([void 0],e)));return function e(t,n){var r=t.constructor,o=r.hasOwnProperty(h)?r[h]:Object.defineProperty(r,h,{value:{}})[h];o[n]=o.hasOwnProperty(n)&&o[n]||[],o[n].unshift(i)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}
|
|
28
28
|
/**
|
|
29
29
|
* @license
|
|
30
30
|
* Copyright Google Inc. All Rights Reserved.
|
|
31
31
|
*
|
|
32
32
|
* Use of this source code is governed by an MIT-style license that can be
|
|
33
33
|
* found in the LICENSE file at https://angular.io/license
|
|
34
|
-
*/var
|
|
34
|
+
*/var _,w,b,C=new d("AnalyzeForEntryComponents"),x=y("Attribute",function(e){return{attributeName:e}}),k=m("ContentChildren",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)},b=function b(){}),I=m("ContentChild",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)},b),E=m("ViewChildren",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)},b),N=m("ViewChild",function(e,t){return i({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)},b);(
|
|
35
35
|
/**
|
|
36
36
|
* @license
|
|
37
37
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
* Use of this source code is governed by an MIT-style license that can be
|
|
47
47
|
* found in the LICENSE file at https://angular.io/license
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
_=e.ChangeDetectionStrategy||(e.ChangeDetectionStrategy={}))[_.OnPush=0]="OnPush",_[_.Default=1]="Default",(w=e.ɵChangeDetectorStatus||(e.ɵChangeDetectorStatus={}))[w.CheckOnce=0]="CheckOnce",w[w.Checked=1]="Checked",w[w.CheckAlways=2]="CheckAlways",w[w.Detached=3]="Detached",w[w.Errored=4]="Errored",w[w.Destroyed=5]="Destroyed";
|
|
50
50
|
/**
|
|
51
51
|
* @license
|
|
52
52
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -54,21 +54,21 @@ h=e.ChangeDetectionStrategy||(e.ChangeDetectionStrategy={}))[h.OnPush=0]="OnPush
|
|
|
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
|
-
var
|
|
57
|
+
var P=v("Directive",function(e){return void 0===e&&(e={}),e}),T=v("Component",function(t){return void 0===t&&(t={}),i({changeDetection:e.ChangeDetectionStrategy.Default},t)},P),R=v("Pipe",function(e){return i({pure:!0},e)}),D=m("Input",function(e){return{bindingPropertyName:e}}),O=m("Output",function(e){return{bindingPropertyName:e}}),A=m("HostBinding",function(e){return{hostPropertyName:e}}),j=m("HostListener",function(e,t){return{eventName:e,args:t}}),V=Function;function S(e){return"function"==typeof e}
|
|
58
58
|
/**
|
|
59
59
|
* @license
|
|
60
60
|
* Copyright Google Inc. All Rights Reserved.
|
|
61
61
|
*
|
|
62
62
|
* Use of this source code is governed by an MIT-style license that can be
|
|
63
63
|
* found in the LICENSE file at https://angular.io/license
|
|
64
|
-
*/var
|
|
64
|
+
*/var M="undefined"!=typeof window&&window,F="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,H="undefined"!=typeof global&&global,L=M||H||F,B=Promise.resolve(0),z=null;function U(){if(!z){var e=L.Symbol;if(e&&e.iterator)z=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&&(z=r)}}return z}function Q(e){"undefined"==typeof Zone?B.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function Z(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function q(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(q).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}
|
|
65
65
|
/**
|
|
66
66
|
* @license
|
|
67
67
|
* Copyright Google Inc. All Rights Reserved.
|
|
68
68
|
*
|
|
69
69
|
* Use of this source code is governed by an MIT-style license that can be
|
|
70
70
|
* found in the LICENSE file at https://angular.io/license
|
|
71
|
-
*/var
|
|
71
|
+
*/var K=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,W=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{/,G=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{[\s\S]*constructor\s*\(/,Y=function(){function e(e){this._reflect=e||L.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,u([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(K.exec(n)||W.exec(n)&&!G.exec(n))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var r=e.ctorParameters;if(r&&r!==t.ctorParameters){var o="function"==typeof r?r():r,i=o.map(function(e){return e&&e.type}),a=o.map(function(e){return e&&$(e.decorators)});return this._zipTypesAndAnnotations(i,a)}var s=e.hasOwnProperty(p)&&e[p],u=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return u||s?this._zipTypesAndAnnotations(u,s):new Array(e.length).fill(void 0)},e.prototype.parameters=function(e){if(!S(e))return[];var t=J(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?$(e.decorators):e.hasOwnProperty(f)?e[f]:null},e.prototype.annotations=function(e){if(!S(e))return[];var t=J(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]=$(r[e])}),o}return e.hasOwnProperty(h)?e[h]:null},e.prototype.propMetadata=function(e){if(!S(e))return{};var t=J(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,u(n[e])),t.push.apply(t,u(o[e])),n[e]=t}),n},e.prototype.hasLifecycleHook=function(e,t){return e instanceof V&&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:"./"+q(e)},e.prototype.resourceUri=function(e){return"./"+q(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return r},e.prototype.resolveEnum=function(e,t){return e[t]},e}();function $(e){return e?e.map(function(e){var t=e.type.annotationCls;return new(t.bind.apply(t,u([void 0],e.args?e.args:[])))}):[]}function J(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}
|
|
72
72
|
/**
|
|
73
73
|
* @license
|
|
74
74
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -83,21 +83,21 @@ var k=c("Directive",function(e){return void 0===e&&(e={}),e}),I=c("Component",fu
|
|
|
83
83
|
* Use of this source code is governed by an MIT-style license that can be
|
|
84
84
|
* found in the LICENSE file at https://angular.io/license
|
|
85
85
|
*/
|
|
86
|
-
function
|
|
86
|
+
function X(e){return e.__forward_ref__=X,e.toString=function(){return q(this())},e}function ee(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===X?e():e}
|
|
87
87
|
/**
|
|
88
88
|
* @license
|
|
89
89
|
* Copyright Google Inc. All Rights Reserved.
|
|
90
90
|
*
|
|
91
91
|
* Use of this source code is governed by an MIT-style license that can be
|
|
92
92
|
* found in the LICENSE file at https://angular.io/license
|
|
93
|
-
*/var
|
|
93
|
+
*/var te=y("Inject",function(e){return{token:e}}),ne=y("Optional"),re=y("Self"),oe=y("SkipSelf"),ie=y("Host"),ae="__source",se=new Object,ue=se,le=new d("INJECTOR"),ce=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=se),t===se)throw new Error("NullInjectorError: No provider for "+q(e)+"!");return t},e}(),de=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new Ce(e,t):new Ce(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=se,e.NULL=new ce,e.ngInjectableDef=l({providedIn:"any",factory:function(){return Pe(le)}}),e}(),fe=function(e){return e},pe=[],he=fe,ve=function(){return Array.prototype.slice.call(arguments)},ge={},ye=function me(e){for(var t in e)if(e[t]===ge)return t;throw Error("!prop")}({provide:String,useValue:ge}),_e=de.NULL,we=/\n/gm,be="ɵ",Ce=function(){function e(e,t,n){void 0===t&&(t=_e),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(de,{token:de,fn:fe,deps:pe,value:this,useNew:!1}),r.set(le,{token:le,fn:fe,deps:pe,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 Ie("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Ie("Unexpected provider",n);var o=ee(n.provide),i=function a(e){var t=function n(e){var t=pe,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((u=ee(n[r]))instanceof Array)for(var i=0,a=u;i<a.length;i++){var s=a[i];s instanceof ne||s==ne?o|=1:s instanceof oe||s==oe?o&=-3:s instanceof re||s==re?o&=-5:u=s instanceof te?s.token:ee(s)}t.push({token:u,options:o})}}else if(e.useExisting){var u;t=[{token:u=ee(e.useExisting),options:6}]}else if(!(n||ye in e))throw Ie("'deps' required",e);return t}(e),r=fe,o=pe,i=!1,a=ee(e.provide);if(ye 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 Ie("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 s=t.get(o);if(s){if(s.fn!==ve)throw xe(o)}else t.set(o,s={token:n.provide,deps:[],useNew:!1,fn:ve,value:pe});s.deps.push({token:o=n,options:6})}var u=t.get(o);if(u&&u.fn==ve)throw xe(o);t.set(o,i)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=0);var r=this._records.get(e);try{return function e(t,n,r,o,i,a){try{return function s(t,n,r,o,i,a){var s,l;if(!n||4&a)2&a||(s=o.get(t,i,0));else{if((s=n.value)==he)throw Error(be+"Circular dependency");if(s===pe){n.value=he;var c=n.useNew,d=n.fn,f=n.deps,p=pe;if(f.length){p=[];for(var h=0;h<f.length;h++){var v=f[h],g=v.options,y=2&g?r.get(v.token):void 0;p.push(e(v.token,y,r,y||4&g?o:_e,1&g?null:de.THROW_IF_NOT_FOUND,0))}}n.value=s=c?new((l=d).bind.apply(l,u([void 0],p))):d.apply(void 0,p)}}return s}(t,n,r,o,i,a)}catch(e){throw e instanceof Error||(e=new Error(e)),(e.ngTempTokenPath=e.ngTempTokenPath||[]).unshift(t),n&&n.value==he&&(n.value=pe),e}}(e,r,this._records,this.parent,t,n)}catch(t){var o=t.ngTempTokenPath;throw e[ae]&&o.unshift(e[ae]),t.message=ke("\n"+t.message,o,this.source),t.ngTokenPath=o,t.ngTempTokenPath=null,t}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(q(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function xe(e){return Ie("Cannot mix multi providers and regular providers",e)}function ke(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==be?e.substr(2):e;var r=q(t);if(t instanceof Array)r=t.map(q).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):q(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(we,"\n ")}function Ie(e,t){return new Error(ke(e,t))}var Ee=void 0;function Ne(e){var t=Ee;return Ee=e,t}function Pe(e,t){if(void 0===t&&(t=0),void 0===Ee)throw new Error("inject() must be called from an injection context");if(null===Ee){var n=e.ngInjectableDef;if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;throw new Error("Injector: NOT_FOUND ["+q(e)+"]")}return Ee.get(e,8&t?null:void 0,t)}function Te(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=0,a=0;a<r.length;a++){var s=r[a];s instanceof ne||"Optional"===s.__proto__.ngMetadataName?i|=8:s instanceof oe||"SkipSelf"===s.__proto__.ngMetadataName?i|=4:s instanceof re||"Self"===s.__proto__.ngMetadataName?i|=2:o=s instanceof te?s.token:s}t.push(Pe(o,i))}else t.push(Pe(r))}return t}
|
|
94
94
|
/**
|
|
95
95
|
* @license
|
|
96
96
|
* Copyright Google Inc. All Rights Reserved.
|
|
97
97
|
*
|
|
98
98
|
* Use of this source code is governed by an MIT-style license that can be
|
|
99
99
|
* found in the LICENSE file at https://angular.io/license
|
|
100
|
-
*/var
|
|
100
|
+
*/var Re={},De=function Oe(e,t){for(var n in e)if(e[n]===t)return n;throw Error("Could not find renamed property on target object.")}({provide:String,useValue:Re},Re),Ae=[];function je(e,t){if(!t){var n=(l=new Y).parameters(e);return function(){return new(e.bind.apply(e,u([void 0],Te(n))))}}if(De in t){var r=t;return function(){return r.useValue}}if(t.useExisting){var o=t;return function(){return Pe(o.useExisting)}}if(t.useFactory){var i=t;return function(){return i.useFactory.apply(i,u(Te(i.deps||Ae)))}}if(t.useClass){var a=t,s=t.deps;if(!s){var l=new Y;s=l.parameters(e)}return function(){return new((e=a.useClass).bind.apply(e,u([void 0],Te(s))));var e}}var c=t.deps;return c||(l=new Y,c=l.parameters(e)),function(){return new(e.bind.apply(e,u([void 0],Te(c))))}}var Ve,Se=v("Injectable",void 0,void 0,void 0,function(e,t){t&&void 0!==t.providedIn&&void 0===e.ngInjectableDef&&(e.ngInjectableDef=l({providedIn:t.providedIn,factory:je(e,t)}))}),Me=v("NgModule",function(e){return e},void 0,void 0,function(e,t){var n=t&&t.imports||[];t&&t.exports&&(n=u(n,[t.exports])),e.ngInjectorDef=c({factory:je(e,{useClass:e}),providers:t&&t.providers,imports:n})});
|
|
101
101
|
/**
|
|
102
102
|
* @license
|
|
103
103
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -119,7 +119,7 @@ function G(e){return e.__forward_ref__=G,e.toString=function(){return z(this())}
|
|
|
119
119
|
* Use of this source code is governed by an MIT-style license that can be
|
|
120
120
|
* found in the LICENSE file at https://angular.io/license
|
|
121
121
|
*/
|
|
122
|
-
|
|
122
|
+
Ve=e.ViewEncapsulation||(e.ViewEncapsulation={}))[Ve.Emulated=0]="Emulated",Ve[Ve.Native=1]="Native",Ve[Ve.None=2]="None";
|
|
123
123
|
/**
|
|
124
124
|
* @license
|
|
125
125
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -134,14 +134,14 @@ De=e.ViewEncapsulation||(e.ViewEncapsulation={}))[De.Emulated=0]="Emulated",De[D
|
|
|
134
134
|
* Use of this source code is governed by an MIT-style license that can be
|
|
135
135
|
* found in the LICENSE file at https://angular.io/license
|
|
136
136
|
*/
|
|
137
|
-
var
|
|
137
|
+
var Fe,He=new(Fe=function Fe(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")})("6.0.0"),Le="ngDebugContext",Be="ngOriginalError",ze="ngErrorLogger";function Ue(e){return e[Le]}function Qe(e){return e[Be]}function Ze(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,u(t))}
|
|
138
138
|
/**
|
|
139
139
|
* @license
|
|
140
140
|
* Copyright Google Inc. All Rights Reserved.
|
|
141
141
|
*
|
|
142
142
|
* Use of this source code is governed by an MIT-style license that can be
|
|
143
143
|
* found in the LICENSE file at https://angular.io/license
|
|
144
|
-
*/var
|
|
144
|
+
*/var qe=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[ze]||Ze}(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?Ue(e)?Ue(e):this._findContext(Qe(e)):null},e.prototype._findOriginalError=function(e){for(var t=Qe(e);t&&Qe(t);)t=Qe(t);return t},e}();function Ke(e){return e.length>1?" ("+
|
|
145
145
|
/**
|
|
146
146
|
* @license
|
|
147
147
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -149,7 +149,7 @@ var je=function Se(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(
|
|
|
149
149
|
* Use of this source code is governed by an MIT-style license that can be
|
|
150
150
|
* found in the LICENSE file at https://angular.io/license
|
|
151
151
|
*/
|
|
152
|
-
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
|
|
152
|
+
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 q(e.token)}).join(" -> ")+")":""}function We(e,t,n,r){var o=[t],i=n(o),a=r?function s(e,t){var n=e+" caused by: "+(t instanceof Error?t.message:t),r=Error(n);return r[Be]=t,r}(i,r):Error(i);return a.addKey=Ge,a.keys=o,a.injectors=[e],a.constructResolvingMessage=n,a[Be]=r,a}function Ge(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Ye(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(q).join(" "):"?")}return Error("Cannot resolve all parameters for '"+q(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+q(e)+"' is decorated with Injectable.")}
|
|
153
153
|
/**
|
|
154
154
|
* @license
|
|
155
155
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -157,21 +157,21 @@ function t(e){for(var t=[],n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.pu
|
|
|
157
157
|
* Use of this source code is governed by an MIT-style license that can be
|
|
158
158
|
* found in the LICENSE file at https://angular.io/license
|
|
159
159
|
*/
|
|
160
|
-
var
|
|
160
|
+
var $e=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=q(this.token)}return e.get=function(e){return Je.get(ee(e))},Object.defineProperty(e,"numberOfKeys",{get:function(){return Je.numberOfKeys},enumerable:!0,configurable:!0}),e}(),Je=new(function(){function e(){this._allKeys=new Map}return e.prototype.get=function(e){if(e instanceof $e)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new $e(e,$e.numberOfKeys);return this._allKeys.set(e,t),t},Object.defineProperty(e.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),e}()),Xe=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 Y),et=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}(),tt=[],nt=function nt(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]},rt=function rt(e,t){this.factory=e,this.dependencies=t};function ot(e){return new nt($e.get(e.provide),[function t(e){var t,n;if(e.useClass){var r=ee(e.useClass);t=Xe.factory(r),n=at(r)}else e.useExisting?(t=function(e){return e},n=[et.fromKey($e.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 st(e,t,n)})}return at(e)}(e.useFactory,e.deps)):(t=function(){return e.useValue},n=tt);return new rt(t,n)}(e)],e.multi||!1)}function it(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 nt(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 V)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(ot),new Map);return Array.from(t.values())}function at(e){var t=Xe.parameters(e);if(!t)return[];if(t.some(function(e){return null==e}))throw Ye(e,t);return t.map(function(n){return st(e,n,t)})}function st(e,t,n){var r=null,o=!1;if(!Array.isArray(t))return ut(t instanceof te?t.token:t,o,null);for(var i=null,a=0;a<t.length;++a){var s=t[a];s instanceof V?r=s:s instanceof te?r=s.token:s instanceof ne?o=!0:s instanceof re||s instanceof oe?i=s:s instanceof d&&(r=s)}if(null!=(r=ee(r)))return ut(r,o,i);throw Ye(e,n)}function ut(e,t,n){return new et($e.get(e),t,n)}
|
|
161
161
|
/**
|
|
162
162
|
* @license
|
|
163
163
|
* Copyright Google Inc. All Rights Reserved.
|
|
164
164
|
*
|
|
165
165
|
* Use of this source code is governed by an MIT-style license that can be
|
|
166
166
|
* found in the LICENSE file at https://angular.io/license
|
|
167
|
-
*/var lt=new Object,ct=function(){function e(){}return e.resolve=function(e){return it(e)},e.resolveAndCreate=function(t,n){var r=e.resolve(t);return e.fromResolvedProviders(r,n)},e.fromResolvedProviders=function(e,t){return new dt(e,t)},e}(),dt=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]=lt}return e.prototype.get=function(e,t){return void 0===t&&(t=
|
|
167
|
+
*/var lt=new Object,ct=function(){function e(){}return e.resolve=function(e){return it(e)},e.resolveAndCreate=function(t,n){var r=e.resolve(t);return e.fromResolvedProviders(r,n)},e.fromResolvedProviders=function(e,t){return new dt(e,t)},e}(),dt=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]=lt}return e.prototype.get=function(e,t){return void 0===t&&(t=ue),this._getByKey($e.get(e),null,t)},e.prototype.resolveAndCreateChild=function(e){var t=ct.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(ct.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 We(e,n,function(e){return"Cannot instantiate cyclic dependency!"+Ke(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,u(n))}catch(t){throw function a(e,t,n,r){return We(e,r,function(e){var n=q(e[0].token);return t.message+": Error during instantiation of "+n+"!"+Ke(e)+"."},t)}(this,t,0,e.key)}return r},e.prototype._getByReflectiveDependency=function(e){return this._getByKey(e.key,e.visibility,e.optional?null:ue)},e.prototype._getByKey=function(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof re?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]===lt&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return lt},e.prototype._throwOrNull=function(e,t){if(t!==ue)return t;throw function n(e,t){return We(e,t,function(e){return"No provider for "+q(e[0].token)+"!"+Ke(e)})}(this,e)},e.prototype._getByKeySelf=function(e,t){var n=this._getObjByKeyId(e.id);return n!==lt?n:this._throwOrNull(e,t)},e.prototype._getByKeyDefault=function(t,n,r){var o;for(o=r instanceof oe?this.parent:this;o instanceof e;){var i=o,a=i._getObjByKeyId(t.id);if(a!==lt)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}
|
|
168
168
|
/**
|
|
169
169
|
* @license
|
|
170
170
|
* Copyright Google Inc. All Rights Reserved.
|
|
171
171
|
*
|
|
172
172
|
* Use of this source code is governed by an MIT-style license that can be
|
|
173
173
|
* found in the LICENSE file at https://angular.io/license
|
|
174
|
-
*/(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY
|
|
174
|
+
*/(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY=$e.get(de),e}(),ft=new d("The presence of this token marks an injector as being the root injector."),pt={},ht={},vt=[],gt=void 0;function yt(){return void 0===gt&&(gt=new ce),gt}var mt=function(){function e(e,t){var n=this;this.parent=t,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1,bt([e],function(e){return n.processInjectorType(e,new Set)}),this.records.set(le,wt(void 0,this)),this.isRootInjector=this.records.has(ft),this.injectorDefTypes.forEach(function(e){return n.get(e)})}return e.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=ue),void 0===n&&(n=0),this.assertNotDestroyed();var r=Ne(this);try{if(!(4&n)){var o=this.records.get(e);if(void 0===o){var i=function a(e){return"function"==typeof e||"object"==typeof e&&e instanceof d}
|
|
175
175
|
/**
|
|
176
176
|
* @license
|
|
177
177
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -185,7 +185,7 @@ var Ge=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
185
185
|
*
|
|
186
186
|
* Use of this source code is governed by an MIT-style license that can be
|
|
187
187
|
* found in the LICENSE file at https://angular.io/license
|
|
188
|
-
*/(e)&&e.ngInjectableDef||void 0;void 0!==i&&this.injectableDefInScope(i)&&(o=
|
|
188
|
+
*/(e)&&e.ngInjectableDef||void 0;void 0!==i&&this.injectableDefInScope(i)&&(o=_t(e),this.records.set(e,o))}if(void 0!==o)return this.hydrate(e,o)}return 2&n&&yt(),this.parent.get(e,t)}finally{Ne(r)}},e.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t){var n=this,r=(e=ee(e)).ngInjectorDef,o=null==r&&e.ngModule||void 0,i=void 0===o?e:o,a=void 0!==o&&e.providers||vt;if(void 0!==o&&(r=o.ngInjectorDef),null==r)throw new Error("Type "+q(i)+" is missing an ngInjectorDef definition.");if(t.has(i))throw new Error("Circular dependency: type "+q(i)+" ends up importing itself.");if(this.injectorDefTypes.add(i),this.records.set(i,wt(r.factory)),null!=r.imports){t.add(i);try{bt(r.imports,function(e){return n.processInjectorType(e,t)})}finally{t.delete(i)}}null!=r.providers&&bt(r.providers,function(e){return n.processProvider(e)}),bt(a,function(e){return n.processProvider(e)})},e.prototype.processProvider=function(e){var t=Ct(e=ee(e))?e:ee(e.provide),n=function r(e){var t=ee(e),n=pt,r=void 0;if(Ct(e))return _t(e);if(t=ee(e.provide),function o(e){return ye in e}(e))n=e.useValue;else if(function i(e){return!!e.useExisting}(e))r=function(){return Pe(e.useExisting)};else if(function a(e){return!!e.useFactory}(e))r=function(){return e.useFactory.apply(e,u(Te(e.deps||[])))};else{var s=e.useClass||t;if(!function l(e){return!!e.deps}(e))return _t(s);r=function(){return new(s.bind.apply(s,u([void 0],Te(e.deps))))}}return wt(r,n)}(e);if(!Ct(e)&&!0===e.multi){var o=this.records.get(t);if(o){if(void 0===o.multi)throw new Error("Mixed multi-provider for "+t+".")}else t=e,(o=wt(void 0,pt,!0)).factory=function(){return Te(o.multi)},this.records.set(t,o);t=e,o.multi.push(e)}var i=this.records.get(t);if(i&&void 0!==i.multi)throw new Error("Mixed multi-provider for "+t);this.records.set(t,n)},e.prototype.hydrate=function(e,t){if(t.value===ht)throw new Error("Circular dep for "+q(e));return t.value===pt&&(t.value=ht,t.value=t.factory()),"object"==typeof t.value&&t.value&&function n(e){return"object"==typeof e&&null!=e&&e.ngOnDestroy&&"function"==typeof e.ngOnDestroy}(t.value)&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function _t(e){var t=e.ngInjectableDef;if(void 0===t)throw new Error("Type "+q(e)+" is missing an ngInjectableDef definition.");return wt(t.factory)}function wt(e,t,n){return void 0===t&&(t=pt),void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function bt(e,t){e.forEach(function(e){return Array.isArray(e)?bt(e,t):t(e)})}function Ct(e){return"function"==typeof e}function xt(e){return!!e&&"function"==typeof e.then}
|
|
189
189
|
/**
|
|
190
190
|
* @license
|
|
191
191
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -193,7 +193,7 @@ var Ge=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
193
193
|
* Use of this source code is governed by an MIT-style license that can be
|
|
194
194
|
* found in the LICENSE file at https://angular.io/license
|
|
195
195
|
*/
|
|
196
|
-
var kt=new
|
|
196
|
+
var kt=new d("Application Initializer"),It=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]();xt(o)&&t.push(o)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e.decorators=[{type:Se}],e.ctorParameters=function(){return[{type:Array,decorators:[{type:te,args:[kt]},{type:ne}]}]},e}(),Et=new d("AppId");function Nt(){return""+Tt()+Tt()+Tt()}var Pt={provide:Et,useFactory:Nt,deps:[]};function Tt(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Rt=new d("Platform Initializer"),Dt=new d("Platform ID"),Ot=new d("appBootstrapListener"),At=new d("Application Packages Root URL"),jt=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e.decorators=[{type:Se}],e.ctorParameters=function(){return[]},e}(),Vt=function Vt(e,t){this.ngModuleFactory=e,this.componentFactories=t};function St(){throw new Error("Runtime compiler is not loaded")}var Mt=function(){function e(){}return e.prototype.compileModuleSync=function(e){throw St()},e.prototype.compileModuleAsync=function(e){throw St()},e.prototype.compileModuleAndAllComponentsSync=function(e){throw St()},e.prototype.compileModuleAndAllComponentsAsync=function(e){throw St()},e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.decorators=[{type:Se}],e.ctorParameters=function(){return[]},e}(),Ft=new d("compilerOptions"),Ht=function Ht(){},Lt=function Lt(){},Bt=function Bt(){};
|
|
197
197
|
/**
|
|
198
198
|
* @license
|
|
199
199
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -201,21 +201,21 @@ var kt=new a("Application Initializer"),It=function(){function e(e){var t=this;t
|
|
|
201
201
|
* Use of this source code is governed by an MIT-style license that can be
|
|
202
202
|
* found in the LICENSE file at https://angular.io/license
|
|
203
203
|
*/
|
|
204
|
-
function
|
|
204
|
+
function zt(e){var t=Error("No component factory found for "+q(e)+". Did you add it to @NgModule.entryComponents?");return t[Zt]=e,t}var Ut,Qt,Zt="ngComponent",qt=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw zt(e)},e}(),Kt=function(){function e(){}return e.NULL=new qt,e}(),Wt=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var o=e[r];this._factories.set(o.componentType,o)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw zt(e);return new Gt(t,this._ngModule)},e}(),Gt=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}(Bt),Yt=function Yt(){},$t=function $t(){};function Jt(){var e=L.wtf;return!(!e||!(Ut=e.trace)||(Qt=Ut.events,0))}function Xt(e,t){return void 0===t&&(t=null),Qt.createScope(e,t)}function en(e,t){return Ut.leaveScope(e,t),t}function tn(e,t){return Ut.beginTimeRange(e,t)}function nn(e){Ut.endTimeRange(e)}
|
|
205
205
|
/**
|
|
206
206
|
* @license
|
|
207
207
|
* Copyright Google Inc. All Rights Reserved.
|
|
208
208
|
*
|
|
209
209
|
* Use of this source code is governed by an MIT-style license that can be
|
|
210
210
|
* found in the LICENSE file at https://angular.io/license
|
|
211
|
-
*/var
|
|
211
|
+
*/var rn=Jt();function on(e,t){return null}var an=rn?Xt:function(e,t){return on},sn=rn?en:function(e,t){return t},un=rn?tn:function(e,t){return null},ln=rn?nn:function(e){return null},cn=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},s=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&&(s=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&&(s=this.__isAsync?function(){setTimeout(function(){return o()})}:function(){o()}));var u=e.prototype.subscribe.call(this,i,a,s);return n instanceof t.Subscription&&n.add(u),u},n}(t.Subject),dn=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 cn(!1),this.onMicrotaskEmpty=new cn(!1),this.onStable=new cn(!1),this.onError=new cn(!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 vn(e),t.invokeTask(r,o,i,a)}finally{gn(e)}},onInvoke:function(t,n,r,o,i,a,s){try{return vn(e),t.invoke(r,o,i,a,s)}finally{gn(e)}},onHasTask:function(t,n,r,o){t.hasTask(r,o),n===r&&("microTask"==o.change?(e.hasPendingMicrotasks=o.microTask,hn(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,pn,fn,fn);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 fn(){}var pn={};function hn(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 vn(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function gn(e){e._nesting--,hn(e)}var yn,mn=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new cn,this.onMicrotaskEmpty=new cn,this.onStable=new cn,this.onError=new cn}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}(),_n=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),e.run(function(){t.taskTrackingZone=Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){dn.assertNotInAngularZone(),Q(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())Q(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,isPeriodic:e.data.isPeriodic,delay:e.data.delay,creationLocation:e.creationLocation,xhr:e.data.target}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e.decorators=[{type:Se}],e.ctorParameters=function(){return[{type:dn}]},e}(),wn=function(){function e(){this._applications=new Map,bn.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),bn.findTestabilityInTree(this,e,t)},e.decorators=[{type:Se}],e.ctorParameters=function(){return[]},e}(),bn=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),Cn=!0,xn=!1,kn=new d("AllowMultipleToken");
|
|
212
212
|
/**
|
|
213
213
|
* @license
|
|
214
214
|
* Copyright Google Inc. All Rights Reserved.
|
|
215
215
|
*
|
|
216
216
|
* Use of this source code is governed by an MIT-style license that can be
|
|
217
217
|
* found in the LICENSE file at https://angular.io/license
|
|
218
|
-
*/function
|
|
218
|
+
*/function In(){return xn=!0,Cn}var En=function En(e,t){this.name=e,this.token=t};function Nn(e){if(yn&&!yn.destroyed&&!yn.injector.get(kn,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");yn=e.get(Dn);var t=e.get(Rt,null);return t&&t.forEach(function(e){return e()}),yn}function Pn(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new d(r);return function(t){void 0===t&&(t=[]);var i=Rn();if(!i||i.injector.get(kn,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});Nn(de.create({providers:a,name:r}))}return Tn(o)}}function Tn(e){var t=Rn();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 Rn(){return yn&&!yn.destroyed?yn:null}var Dn=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 mn:("zone.js"===e?void 0:e)||new dn({enableLongStackTrace:In()})}(t?t.ngZone:void 0),i=[{provide:dn,useValue:r}];return r.run(function(){var t=de.create({providers:i,parent:n.injector,name:e.moduleType.name}),o=e.create(t),a=o.injector.get(qe,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return o.onDestroy(function(){return jn(n._modules,o)}),r.runOutsideAngular(function(){return r.onError.subscribe({next:function(e){a.handleError(e)}})}),function s(e,t,n){try{var r=n();return xt(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(It);return e.runInitializers(),e.donePromise.then(function(){return n._moduleDoBootstrap(o),o})})})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.injector.get(Ht),o=On({},t);return r.createCompiler([o]).compileModuleAsync(e).then(function(e){return n.bootstrapModuleFactory(e,o)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(An);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+q(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}),e.decorators=[{type:Se}],e.ctorParameters=function(){return[{type:de}]},e}();function On(e,t){return Array.isArray(t)?t.reduce(On,e):i({},e,t)}var An=function(){function e(e,r,o,i,a,s){var u=this;this._zone=e,this._console=r,this._injector=o,this._exceptionHandler=i,this._componentFactoryResolver=a,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=In(),this._zone.onMicrotaskEmpty.subscribe({next:function(){u._zone.run(function(){u.tick()})}});var l=new t.Observable(function(e){u._stable=u._zone.isStable&&!u._zone.hasPendingMacrotasks&&!u._zone.hasPendingMicrotasks,u._zone.runOutsideAngular(function(){e.next(u._stable),e.complete()})}),c=new t.Observable(function(e){var t;u._zone.runOutsideAngular(function(){t=u._zone.onStable.subscribe(function(){dn.assertNotInAngularZone(),Q(function(){u._stable||u._zone.hasPendingMacrotasks||u._zone.hasPendingMicrotasks||(u._stable=!0,e.next(!0))})})});var n=u._zone.onUnstable.subscribe(function(){dn.assertInAngularZone(),u._stable&&(u._stable=!1,u._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=t.merge(l,c.pipe(n.share()))}return 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 Bt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof Gt?null:this._injector.get(Yt),i=n.create(de.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(_n,null);return a&&i.injector.get(wn).registerApplication(i.location.nativeElement,a),this._loadComponent(i),In()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,sn(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;jn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ot,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),jn(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=an("ApplicationRef#tick()"),e.decorators=[{type:Se}],e.ctorParameters=function(){return[{type:dn},{type:jt},{type:de},{type:qe},{type:Kt},{type:It}]},e}();function jn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}
|
|
219
219
|
/**
|
|
220
220
|
* @license
|
|
221
221
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -229,14 +229,14 @@ function Qt(e){var t=Error("No component factory found for "+z(e)+". Did you add
|
|
|
229
229
|
*
|
|
230
230
|
* Use of this source code is governed by an MIT-style license that can be
|
|
231
231
|
* found in the LICENSE file at https://angular.io/license
|
|
232
|
-
*/var
|
|
232
|
+
*/var Vn,Sn=function Sn(e,t,n,r,o,i){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i},Mn=function Mn(){},Fn=function Fn(){},Hn=(new d("Renderer2Interceptor"),function Hn(){}),Ln=function Ln(){};(Vn=e.RendererStyleFlags2||(e.RendererStyleFlags2={}))[Vn.Important=1]="Important",Vn[Vn.DashCase=2]="DashCase";var Bn=function Bn(){},zn=function zn(e){this.nativeElement=e},Un=function Un(){},Qn=new Map,Zn=function(){function e(){this.dirty=!0,this._results=[],this.changes=new cn,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[U()]=function(){return this._results[U()]()},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)},[])}
|
|
233
233
|
/**
|
|
234
234
|
* @license
|
|
235
235
|
* Copyright Google Inc. All Rights Reserved.
|
|
236
236
|
*
|
|
237
237
|
* Use of this source code is governed by an MIT-style license that can be
|
|
238
238
|
* found in the LICENSE file at https://angular.io/license
|
|
239
|
-
*/(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}()
|
|
239
|
+
*/(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}(),qn=function qn(){},Kn={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Wn=function(){function e(e,t){this._compiler=e,this._config=t||Kn}return e.prototype.load=function(e){return this._compiler instanceof Mt?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,n=s(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 Gn(e,r,o)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=s(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 Gn(e,n,r)})},e.decorators=[{type:Se}],e.ctorParameters=function(){return[{type:Mt},{type:qn,decorators:[{type:ne}]}]},e}();
|
|
240
240
|
/**
|
|
241
241
|
* @license
|
|
242
242
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -250,21 +250,21 @@ function Qt(e){var t=Error("No component factory found for "+z(e)+". Did you add
|
|
|
250
250
|
*
|
|
251
251
|
* Use of this source code is governed by an MIT-style license that can be
|
|
252
252
|
* found in the LICENSE file at https://angular.io/license
|
|
253
|
-
*/function
|
|
253
|
+
*/function Gn(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}
|
|
254
254
|
/**
|
|
255
255
|
* @license
|
|
256
256
|
* Copyright Google Inc. All Rights Reserved.
|
|
257
257
|
*
|
|
258
258
|
* Use of this source code is governed by an MIT-style license that can be
|
|
259
259
|
* found in the LICENSE file at https://angular.io/license
|
|
260
|
-
*/var
|
|
260
|
+
*/var Yn,$n=function $n(){},Jn=function Jn(){},Xn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(Yn=function Yn(){}),er=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(Xn),tr=function tr(e,t){this.name=e,this.callback=t},nr=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof rr?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),rr=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,u([o+1,0],t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return or(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return ir(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}(nr);
|
|
261
261
|
/**
|
|
262
262
|
* @license
|
|
263
263
|
* Copyright Google Inc. All Rights Reserved.
|
|
264
264
|
*
|
|
265
265
|
* Use of this source code is governed by an MIT-style license that can be
|
|
266
266
|
* found in the LICENSE file at https://angular.io/license
|
|
267
|
-
*/function
|
|
267
|
+
*/function or(e,t,n){e.childNodes.forEach(function(e){e instanceof rr&&(t(e)&&n.push(e),or(e,t,n))})}function ir(e,t,n){e instanceof rr&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof rr&&ir(e,t,n)})}var ar=new Map;function sr(e){return ar.get(e)||null}function ur(e){ar.set(e.nativeNode,e)}
|
|
268
268
|
/**
|
|
269
269
|
* @license
|
|
270
270
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -272,28 +272,28 @@ function Qt(e){var t=Error("No component factory found for "+z(e)+". Did you add
|
|
|
272
272
|
* Use of this source code is governed by an MIT-style license that can be
|
|
273
273
|
* found in the LICENSE file at https://angular.io/license
|
|
274
274
|
*/
|
|
275
|
-
function
|
|
275
|
+
function lr(e,t){var n=fr(e),r=fr(t);return n&&r?function o(e,t,n){for(var r=e[U()](),o=t[U()]();;){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)||Z(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}(),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 fr(e){return!!pr(e)&&(Array.isArray(e)||!(e instanceof Map)&&U()in e)}function pr(e){return null!==e&&("function"==typeof e||"object"==typeof e)}
|
|
276
276
|
/**
|
|
277
277
|
* @license
|
|
278
278
|
* Copyright Google Inc. All Rights Reserved.
|
|
279
279
|
*
|
|
280
280
|
* Use of this source code is governed by an MIT-style license that can be
|
|
281
281
|
* found in the LICENSE file at https://angular.io/license
|
|
282
|
-
*/var
|
|
282
|
+
*/var hr=function(){function e(){}return e.prototype.supports=function(e){return fr(e)},e.prototype.create=function(e){return new gr(e)},e}(),vr=function(e,t){return t},gr=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||vr}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<wr(n,r,o)?t:n,a=wr(i,r,o),s=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var u=a-r,l=s-r;if(u!=l){for(var c=0;c<u;c++){var d=c<o.length?o[c]:o[c]=0,f=d+c;l<=f&&f<u&&(o[c]=d+1)}o[i.previousIndex]=l-u}}a!==s&&e(i,a,s)}},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=[]),!fr(e))throw new Error("Error trying to diff '"+q(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 s=0;s<this.length;s++)o=this._trackByFn(s,r=e[s]),null!==i&&Z(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,s)),Z(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,s),a=!0),i=i._next}else n=0,function u(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[U()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,function(e){o=t._trackByFn(n,e),null!==i&&Z(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),Z(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))?(Z(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Z(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new yr(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 _r),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 _r),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}(),yr=function yr(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},mr=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)&&Z(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}(),_r=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 mr,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 wr(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}
|
|
283
283
|
/**
|
|
284
284
|
* @license
|
|
285
285
|
* Copyright Google Inc. All Rights Reserved.
|
|
286
286
|
*
|
|
287
287
|
* Use of this source code is governed by an MIT-style license that can be
|
|
288
288
|
* found in the LICENSE file at https://angular.io/license
|
|
289
|
-
*/var
|
|
289
|
+
*/var br,Cr=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||pr(e)},e.prototype.create=function(){return new xr},e}(),xr=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||pr(e)))throw new Error("Error trying to diff '"+q(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 kr(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){Z(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}(),kr=function kr(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},Ir=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 oe,new ne]]}},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}
|
|
290
290
|
/**
|
|
291
291
|
* @license
|
|
292
292
|
* Copyright Google Inc. All Rights Reserved.
|
|
293
293
|
*
|
|
294
294
|
* Use of this source code is governed by an MIT-style license that can be
|
|
295
295
|
* found in the LICENSE file at https://angular.io/license
|
|
296
|
-
*/(e)+"'")},e}(),
|
|
296
|
+
*/(e)+"'")},e.ngInjectableDef=l({providedIn:"root",factory:function(){return new e([new hr])}}),e}(),Er=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 oe,new ne]]}},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}(),Nr=[new Cr],Pr=[new hr],Tr=new Ir(Pr),Rr=new Er(Nr),Dr=Pn(null,"core",[{provide:Dt,useValue:"unknown"},{provide:Dn,deps:[de]},{provide:wn,deps:[]},{provide:jt,deps:[]}]),Or=new d("LocaleId"),Ar=new d("Translations"),jr=new d("TranslationsFormat");
|
|
297
297
|
/**
|
|
298
298
|
* @license
|
|
299
299
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -301,21 +301,21 @@ function vr(e,t){var n=_r(e),r=_r(t);return n&&r?function o(e,t,n){for(var r=e[H
|
|
|
301
301
|
* Use of this source code is governed by an MIT-style license that can be
|
|
302
302
|
* found in the LICENSE file at https://angular.io/license
|
|
303
303
|
*/
|
|
304
|
-
function
|
|
304
|
+
function Vr(){return Tr}function Sr(){return Rr}function Mr(e){return e||"en-US"}(br=e.MissingTranslationStrategy||(e.MissingTranslationStrategy={}))[br.Error=0]="Error",br[br.Warning=1]="Warning",br[br.Ignore=2]="Ignore";var Fr=function(){function e(e){}return e.decorators=[{type:Me,args:[{providers:[An,It,Mt,Pt,{provide:Ir,useFactory:Vr},{provide:Er,useFactory:Sr},{provide:Or,useFactory:Mr,deps:[[new te(Or),new ne,new oe]]}]}]}],e.ctorParameters=function(){return[{type:An}]},e}(),Hr=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function n(){try{return!!window.DOMParser}catch(e){return!1}}
|
|
305
305
|
/**
|
|
306
306
|
* @license
|
|
307
307
|
* Copyright Google Inc. All Rights Reserved.
|
|
308
308
|
*
|
|
309
309
|
* Use of this source code is governed by an MIT-style license that can be
|
|
310
310
|
* found in the LICENSE file at https://angular.io/license
|
|
311
|
-
*/()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),
|
|
311
|
+
*/()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),Lr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Br=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;
|
|
312
312
|
/**
|
|
313
313
|
* @license
|
|
314
314
|
* Copyright Google Inc. All Rights Reserved.
|
|
315
315
|
*
|
|
316
316
|
* Use of this source code is governed by an MIT-style license that can be
|
|
317
317
|
* found in the LICENSE file at https://angular.io/license
|
|
318
|
-
*/function
|
|
318
|
+
*/function zr(e){return(e=String(e)).match(Lr)||e.match(Br)?e:(In()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}
|
|
319
319
|
/**
|
|
320
320
|
* @license
|
|
321
321
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -323,14 +323,14 @@ function Ur(){return Mr}function Qr(){return Fr}function Zr(e){return e||"en-US"
|
|
|
323
323
|
* Use of this source code is governed by an MIT-style license that can be
|
|
324
324
|
* found in the LICENSE file at https://angular.io/license
|
|
325
325
|
*/
|
|
326
|
-
function
|
|
326
|
+
function Ur(e){var t,n,r={};try{for(var o=a(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 Qr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n,r,o={};try{for(var i=a(e),s=i.next();!s.done;s=i.next()){var u=s.value;for(var l in u)u.hasOwnProperty(l)&&(o[l]=!0)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}var Zr,qr=Ur("area,br,col,hr,img,wbr"),Kr=Ur("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Wr=Ur("rp,rt"),Gr=Qr(Wr,Kr),Yr=Qr(Kr,Ur("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")),$r=Qr(Wr,Ur("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")),Jr=Qr(qr,Yr,$r,Gr),Xr=Ur("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),eo=Ur("srcset"),to=Ur("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"),no=Qr(Xr,eo,to),ro=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild;t;)if(t.nodeType===Node.ELEMENT_NODE?this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var n=this.checkClobberedElement(t,t.nextSibling);if(n){t=n;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(Jr.hasOwnProperty(t)){this.buf.push("<"),this.buf.push(t);for(var n,r=e.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,s=a.toLowerCase();if(no.hasOwnProperty(s)){var u=i.value;Xr[s]&&(u=zr(u)),eo[s]&&(n=u,u=(n=String(n)).split(",").map(function(e){return zr(e.trim())}).join(", ")),this.buf.push(" ",a,'="',ao(u),'"')}else this.sanitizedSomething=!0}this.buf.push(">")}else this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Jr.hasOwnProperty(t)&&!qr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(ao(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}(),oo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,io=/([^\#-~ |!])/g;function ao(e){return e.replace(/&/g,"&").replace(oo,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(io,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function so(e,t){var n=null;try{Zr=Zr||new Hr(e);var r=t?String(t):"";n=Zr.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=Zr.getInertBodyElement(r)}while(r!==i);var a=new ro,s=a.sanitizeChildren(uo(n)||n);return In()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(n)for(var u=uo(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}function uo(e){return"content"in e&&function t(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}
|
|
327
327
|
/**
|
|
328
328
|
* @license
|
|
329
329
|
* Copyright Google Inc. All Rights Reserved.
|
|
330
330
|
*
|
|
331
331
|
* Use of this source code is governed by an MIT-style license that can be
|
|
332
332
|
* found in the LICENSE file at https://angular.io/license
|
|
333
|
-
*/(e)?e.content:null}var
|
|
333
|
+
*/(e)?e.content:null}var lo,co=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"),fo=/^url\(([^)]+)\)$/;function po(e){if(!(e=String(e).trim()))return"";var t=e.match(fo);return t&&zr(t[1])===t[1]||e.match(co)&&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:(In()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}
|
|
334
334
|
/**
|
|
335
335
|
* @license
|
|
336
336
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -359,14 +359,14 @@ function $r(e){var n,r,o={};try{for(var i=t.__values(e.split(",")),a=i.next();!a
|
|
|
359
359
|
* Use of this source code is governed by an MIT-style license that can be
|
|
360
360
|
* found in the LICENSE file at https://angular.io/license
|
|
361
361
|
*/
|
|
362
|
-
|
|
362
|
+
lo=e.SecurityContext||(e.SecurityContext={}))[lo.NONE=0]="NONE",lo[lo.HTML=1]="HTML",lo[lo.STYLE=2]="STYLE",lo[lo.SCRIPT=3]="SCRIPT",lo[lo.URL=4]="URL",lo[lo.RESOURCE_URL=5]="RESOURCE_URL";var ho=function ho(){};
|
|
363
363
|
/**
|
|
364
364
|
* @license
|
|
365
365
|
* Copyright Google Inc. All Rights Reserved.
|
|
366
366
|
*
|
|
367
367
|
* Use of this source code is governed by an MIT-style license that can be
|
|
368
368
|
* found in the LICENSE file at https://angular.io/license
|
|
369
|
-
*/function
|
|
369
|
+
*/function vo(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 go(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function yo(e,t){return e.nodes[t]}function mo(e,t){return e.nodes[t]}function _o(e,t){return e.nodes[t]}function wo(e,t){return e.nodes[t]}function bo(e,t){return e.nodes[t]}var Co=function Co(){},xo={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};
|
|
370
370
|
/**
|
|
371
371
|
* @license
|
|
372
372
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -374,28 +374,28 @@ _o=e.SecurityContext||(e.SecurityContext={}))[_o.NONE=0]="NONE",_o[_o.HTML=1]="H
|
|
|
374
374
|
* Use of this source code is governed by an MIT-style license that can be
|
|
375
375
|
* found in the LICENSE file at https://angular.io/license
|
|
376
376
|
*/
|
|
377
|
-
function
|
|
377
|
+
function ko(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 Io(n,t),n}(o,e)}function Io(e,t){e[Le]=t,e[ze]=t.logError.bind(t)}function Eo(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}
|
|
378
378
|
/**
|
|
379
379
|
* @license
|
|
380
380
|
* Copyright Google Inc. All Rights Reserved.
|
|
381
381
|
*
|
|
382
382
|
* Use of this source code is governed by an MIT-style license that can be
|
|
383
383
|
* found in the LICENSE file at https://angular.io/license
|
|
384
|
-
*/var
|
|
384
|
+
*/var No=function(){},Po=new Map;function To(e){var t=Po.get(e);return t||(t=q(e)+"_"+Po.size,Po.set(e,t)),t}var Ro="$$undefined",Do="$$empty",Oo=0;function Ao(t){if(t&&t.id===Ro){var n=null!=t.encapsulation&&t.encapsulation!==e.ViewEncapsulation.None||t.styles.length||Object.keys(t.data).length;t.id=n?"c"+Oo++:Do}return t&&t.id===Do&&(t=null),t||null}function jo(e,t,n,r){return!(!(2&e.state)&&Z(e.oldValues[t.bindingIndex+n],r))}function Vo(e,t,n,r){return!!jo(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function So(e,t,n,r){var o=e.oldValues[t.bindingIndex+n];if(1&e.state||!lr(o,r)){var i=t.bindings[n].name;throw ko(xo.createDebugContext(e,t.nodeIndex),i+": "+o,i+": "+r,0!=(1&e.state))}}function Mo(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Fo(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Ho(e,t,n,r){try{return Mo(33554432&e.def.nodes[t].flags?mo(e,t).componentView:e),xo.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function Lo(e){return e.parent?mo(e.parent,e.parentNodeDef.nodeIndex):null}function Bo(e){return e.parent?e.parentNodeDef.parent:null}function zo(e,t){switch(201347067&t.flags){case 1:return mo(e,t.nodeIndex).renderElement;case 2:return yo(e,t.nodeIndex).renderText}}function Uo(e,t){return e?e+":"+t:t}function Qo(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Zo(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function qo(e){return 1<<e%32}function Ko(e){var t={},n=0,r={};return e&&e.forEach(function(e){var o=s(e,2),i=o[0],a=o[1];"number"==typeof i?(t[i]=a,n|=qo(i)):r[i]=a}),{matchedQueries:t,references:r,matchedQueryIds:n}}function Wo(e,t){return e.map(function(e){var n,r,o;return Array.isArray(e)?(r=(o=s(e,2))[0],n=o[1]):(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,ae,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:To(n)}})}function Go(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?mo(t,r.renderParent.nodeIndex).renderElement:void 0:n}var Yo=new WeakMap;function $o(e){var t=Yo.get(e);return t||((t=e(function(){return No})).factory=e,Yo.set(e,t)),t}function Jo(e,t,n,r,o){3===t&&(n=e.renderer.parentNode(zo(e,e.def.lastRenderRootNode))),Xo(e,t,0,e.def.nodes.length-1,n,r,o)}function Xo(e,t,n,r,o,i,a){for(var s=n;s<=r;s++){var u=e.def.nodes[s];11&u.flags&&ti(e,u,t,o,i,a),s+=u.childCount}}function ei(e,t,n,r,o,i){for(var a=e;a&&!Qo(a);)a=a.parent;for(var s=a.parent,u=Bo(a),l=u.nodeIndex+u.childCount,c=u.nodeIndex+1;c<=l;c++){var d=s.def.nodes[c];d.ngContentIndex===t&&ti(s,d,n,r,o,i),c+=d.childCount}if(!s.parent){var f=e.root.projectableNodes[t];if(f)for(c=0;c<f.length;c++)ni(e,f[c],n,r,o,i)}}function ti(e,t,n,r,o,i){if(8&t.flags)ei(e,t.ngContent.index,n,r,o,i);else{var a=zo(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&ni(e,a,n,r,o,i),32&t.bindingFlags&&ni(mo(e,t.nodeIndex).componentView,a,n,r,o,i)):ni(e,a,n,r,o,i),16777216&t.flags)for(var s=mo(e,t.nodeIndex).viewContainer._embeddedViews,u=0;u<s.length;u++)Jo(s[u],n,r,o,i);1&t.flags&&!t.element.name&&Xo(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,o,i)}}function ni(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 ri=/^:([^:]+):(.+)$/;function oi(e){if(":"===e[0]){var t=e.match(ri);return[t[1],t[2]]}return["",e]}function ii(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function ai(e){return null!=e?e.toString():""}function si(e,t,n){var r,o=n.element,i=e.root.selectorOrNode,a=e.renderer;if(e.parent||!i){r=o.name?a.createElement(o.name,o.ns):a.createComment("");var u=Go(e,t,n);u&&a.appendChild(u,r)}else r=a.selectRootElement(i);if(o.attrs)for(var l=0;l<o.attrs.length;l++){var c=s(o.attrs[l],3);a.setAttribute(r,c[1],c[2],c[0])}return r}function ui(e,t,n,r){for(var o=0;o<n.outputs.length;o++){var i=n.outputs[o],a=li(e,n.nodeIndex,Uo(i.target,i.eventName)),s=i.target,u=e;"component"===i.target&&(s=null,u=t);var l=u.renderer.listen(s||r,i.eventName,a);e.disposables[n.outputIndex+o]=l}}function li(e,t,n){return function(r){return Ho(e,t,n,r)}}function ci(t,n,r,o){if(!Vo(t,n,r,o))return!1;var i=n.bindings[r],a=mo(t,n.nodeIndex),s=a.renderElement,u=i.name;switch(15&i.flags){case 1:!function l(e,t,n,r,o,i){var a=t.securityContext,s=a?e.root.sanitizer.sanitize(a,i):i;s=null!=s?s.toString():null;var u=e.renderer;null!=i?u.setAttribute(n,o,s,r):u.removeAttribute(n,o,r)}(t,i,s,i.ns,u,o);break;case 2:!function c(e,t,n,r){var o=e.renderer;r?o.addClass(t,n):o.removeClass(t,n)}(t,s,u,o);break;case 4:!function d(t,n,r,o,i){var a=t.root.sanitizer.sanitize(e.SecurityContext.STYLE,i);if(null!=a){a=a.toString();var s=n.suffix;null!=s&&(a+=s)}else a=null;var u=t.renderer;null!=a?u.setStyle(r,o,a):u.removeStyle(r,o)}(t,i,s,u,o);break;case 8:!function f(e,t,n,r,o){var i=t.securityContext,a=i?e.root.sanitizer.sanitize(i,o):o;e.renderer.setProperty(n,r,a)}
|
|
385
385
|
/**
|
|
386
386
|
* @license
|
|
387
387
|
* Copyright Google Inc. All Rights Reserved.
|
|
388
388
|
*
|
|
389
389
|
* Use of this source code is governed by an MIT-style license that can be
|
|
390
390
|
* found in the LICENSE file at https://angular.io/license
|
|
391
|
-
*/(33554432&n.flags&&32&i.flags?a.componentView:t,i,s,u,o)}return!0}var
|
|
391
|
+
*/(33554432&n.flags&&32&i.flags?a.componentView:t,i,s,u,o)}return!0}var di=new Object,fi=To(de),pi=To(le),hi=To(Yt);function vi(e,t,n){void 0===n&&(n=de.THROW_IF_NOT_FOUND);var r=Ne(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 fi:case pi:case hi:return e}var i=e._def.providersByKey[o];if(i){var a=e._providers[i.index];return void 0===a&&(a=e._providers[i.index]=gi(e,i)),a===di?void 0:a}if(t.token.ngInjectableDef&&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,t.token.ngInjectableDef)){var u=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:t.token.ngInjectableDef.factory,deps:[],index:u,token:t.token},e._providers[u]=di,e._providers[u]=gi(e,e._def.providersByKey[t.tokenKey])}return e._parent.get(t.token,n)}finally{Ne(r)}}function gi(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(vi(e,n[0]));case 2:return new t(vi(e,n[0]),vi(e,n[1]));case 3:return new t(vi(e,n[0]),vi(e,n[1]),vi(e,n[2]));default:for(var o=new Array(r),i=0;i<r;i++)o[i]=vi(e,n[i]);return new(t.bind.apply(t,u([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(vi(e,n[0]));case 2:return t(vi(e,n[0]),vi(e,n[1]));case 3:return t(vi(e,n[0]),vi(e,n[1]),vi(e,n[2]));default:for(var o=Array(r),i=0;i<r;i++)o[i]=vi(e,n[i]);return t.apply(void 0,u(o))}}(e,t.value,t.deps);break;case 2048:n=vi(e,t.deps[0]);break;case 256:n=t.value}return void 0===n?di:n}function yi(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,bi(n,t),xo.dirtyParentQueries(r),_i(r),r}function mi(e,t,n){var r=t?zo(t,t.def.lastRenderRootNode):e.renderElement;Jo(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function _i(e){Jo(e,3,null,null,void 0)}function wi(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function bi(e,t){t>=e.length-1?e.pop():e.splice(t,1)}
|
|
392
392
|
/**
|
|
393
393
|
* @license
|
|
394
394
|
* Copyright Google Inc. All Rights Reserved.
|
|
395
395
|
*
|
|
396
396
|
* Use of this source code is governed by an MIT-style license that can be
|
|
397
397
|
* found in the LICENSE file at https://angular.io/license
|
|
398
|
-
*/var
|
|
398
|
+
*/var Ci=new Object;function xi(e){return e.viewDefFactory}var ki=function(e){function t(t,n,r,o,i,a){var s=e.call(this)||this;return s.selector=t,s.componentType=n,s._inputs=o,s._outputs=i,s.ngContentSelectors=a,s.viewDefFactory=r,s}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=$o(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=xo.createRootView(e,t||[],n,o,r,Ci),s=_o(a,i).instance;return n&&a.renderer.setAttribute(mo(a,0).renderElement,"ng-version",He.full),new Ii(a,new Ti(a),s)},t}(Bt),Ii=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return o(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new zn(mo(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Ai(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}(Lt);function Ei(e,t,n){return new Ni(e,t,n)}var Ni=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new zn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Ai(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=Bo(e),e=e.parent;return e?new Ai(e,t):new Ai(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=yi(this._data,e);xo.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Ti(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 Gt||(o=i.get(Yt));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;
|
|
399
399
|
/**
|
|
400
400
|
* @license
|
|
401
401
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -403,49 +403,56 @@ function Do(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Express
|
|
|
403
403
|
* Use of this source code is governed by an MIT-style license that can be
|
|
404
404
|
* found in the LICENSE file at https://angular.io/license
|
|
405
405
|
*/
|
|
406
|
-
return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=i.length),o.viewContainerParent=e,
|
|
406
|
+
return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=i.length),o.viewContainerParent=e,wi(i,n,o),function a(e,t){var n=Lo(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),xo.dirtyParentQueries(o),mi(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];bi(r,t),null==n&&(n=r.length),wi(r,n,o),xo.dirtyParentQueries(o),_i(o),mi(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=yi(this._data,e);t&&xo.destroyView(t)},e.prototype.detach=function(e){var t=yi(this._data,e);return t?new Ti(t):null},e}();function Pi(e){return new Ti(e)}var Ti=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 Jo(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(){Mo(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{xo.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){xo.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)),xo.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,_i(this._view),xo.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 Ri(e,t){return new Di(e,t)}var Di=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 Ti(xo.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new zn(mo(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}($n);function Oi(e,t){return new Ai(e,t)}var Ai=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=de.THROW_IF_NOT_FOUND),xo.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:To(e)},t)},e}();function ji(e){return new Vi(e.renderer)}var Vi=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=s(oi(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=s(oi(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 Si(e,t,n,r){return new Mi(e,t,n,r)}var Mi=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function o(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var o=t.providers[r];4096&o.flags||void 0===n[r]&&(n[r]=gi(e,o))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=de.THROW_IF_NOT_FOUND),void 0===n&&(n=0);var r=0;return 4&n?r|=1:2&n&&(r|=4),vi(this,{token:e,tokenKey:To(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(Kt)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+q(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function e(t,n){for(var r=t._def,o=0;o<r.providers.length;o++)if(131072&r.providers[o].flags){var i=t._providers[o];i&&i!==di&&i.ngOnDestroy()}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),Fi=To(Fn),Hi=To(Bn),Li=To(zn),Bi=To(Jn),zi=To($n),Ui=To(Yn),Qi=To(de),Zi=To(le);
|
|
407
407
|
/**
|
|
408
408
|
* @license
|
|
409
409
|
* Copyright Google Inc. All Rights Reserved.
|
|
410
410
|
*
|
|
411
411
|
* Use of this source code is governed by an MIT-style license that can be
|
|
412
412
|
* found in the LICENSE file at https://angular.io/license
|
|
413
|
-
*/function
|
|
413
|
+
*/function qi(e,t,n,r,o,i,a,s,u){var l=Ko(n),c=l.matchedQueries,d=l.references,f=l.matchedQueryIds;u||(u=[]),s||(s=[]),i=ee(i);var p=Wo(a,q(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:f,references:d,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:ii(s),outputs:u,element:null,provider:{token:o,value:i,deps:p},text:null,query:null,ngContent:null}}function Ki(e,t){return $i(e,t)}function Wi(e,t){for(var n=e;n.parent&&!Qo(n);)n=n.parent;return Ji(n.parent,Bo(n),!0,t.provider.value,t.provider.deps)}function Gi(e,t){var n=Ji(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var o=t.outputs[r],i=n[o.propName].subscribe(Yi(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+r]=i.unsubscribe.bind(i)}return n}function Yi(e,t,n){return function(r){return Ho(e,t,n,r)}}function $i(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Ji(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(ta(e,t,n,i[0]));case 2:return r(ta(e,t,n,i[0]),ta(e,t,n,i[1]));case 3:return r(ta(e,t,n,i[0]),ta(e,t,n,i[1]),ta(e,t,n,i[2]));default:for(var s=Array(a),l=0;l<a;l++)s[l]=ta(e,t,n,i[l]);return r.apply(void 0,u(s))}}(e,t.parent,n,r.value,r.deps);case 2048:return ta(e,t.parent,n,r.deps[0]);case 256:return r.value}}function Ji(e,t,n,r,o){var i=o.length;switch(i){case 0:return new r;case 1:return new r(ta(e,t,n,o[0]));case 2:return new r(ta(e,t,n,o[0]),ta(e,t,n,o[1]));case 3:return new r(ta(e,t,n,o[0]),ta(e,t,n,o[1]),ta(e,t,n,o[2]));default:for(var a=new Array(i),s=0;s<i;s++)a[s]=ta(e,t,n,o[s]);return new(r.bind.apply(r,u([void 0],a)))}}var Xi,ea={};function ta(e,t,n,r,o){if(void 0===o&&(o=de.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var i=e;2&r.flags&&(o=null);var a=r.tokenKey;a===Ui&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var s=e;s;){if(t)switch(a){case Fi:return ji(na(s,t,n));case Hi:return na(s,t,n).renderer;case Li:return new zn(mo(s,t.nodeIndex).renderElement);case Bi:return mo(s,t.nodeIndex).viewContainer;case zi:if(t.element.template)return mo(s,t.nodeIndex).template;break;case Ui:return Pi(na(s,t,n));case Qi:case Zi:return Oi(s,t);default:var u=(n?t.element.allProviders:t.element.publicProviders)[a];if(u){var l=_o(s,u.nodeIndex);return l||(l={instance:$i(s,u)},s.nodes[u.nodeIndex]=l),l.instance}}n=Qo(s),t=Bo(s),s=s.parent,4&r.flags&&(s=null)}var c=i.root.injector.get(r.token,ea);return c!==ea||o===ea?c:i.root.ngModule.injector.get(r.token,o)}function na(e,t,n){var r;if(n)r=mo(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Qo(r);)r=r.parent;return r}function ra(e,t,n,r,o,i){if(32768&n.flags){var a=mo(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 s=cr.unwrap(e.oldValues[n.bindingIndex+r]);i[n.bindings[r].nonMinifiedName]=new dr(s,o,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=o,i}function oa(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&&aa(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=ia(e,a,t,r)),a=a.parent}}function ia(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&&aa(e,o,i.flags&n,r++),o+=i.childCount}return r}function aa(e,t,n,r){var o=_o(e,t);if(o){var i=o.instance;i&&(xo.setCurrentNode(e,t),1048576&n&&go(e,512,r)&&i.ngAfterContentInit(),2097152&n&&i.ngAfterContentChecked(),4194304&n&&go(e,768,r)&&i.ngAfterViewInit(),8388608&n&&i.ngAfterViewChecked(),131072&n&&i.ngOnDestroy())}}
|
|
414
414
|
/**
|
|
415
415
|
* @license
|
|
416
416
|
* Copyright Google Inc. All Rights Reserved.
|
|
417
417
|
*
|
|
418
418
|
* Use of this source code is governed by an MIT-style license that can be
|
|
419
419
|
* found in the LICENSE file at https://angular.io/license
|
|
420
|
-
*/function
|
|
420
|
+
*/function sa(e){for(var t=e.def.nodeMatchedQueries;e.parent&&Zo(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&&bo(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&&bo(e,o).setDirty(),o+=i.childCount}}function ua(e,t){var n=bo(e,t.nodeIndex);if(n.dirty){var r,o=void 0;if(67108864&t.flags){var i=t.parent.parent;o=la(e,i.nodeIndex,i.nodeIndex+i.childCount,t.query,[]),r=_o(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(o=la(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(o);for(var a=t.query.bindings,s=!1,u=0;u<a.length;u++){var l=a[u],c=void 0;switch(l.bindingType){case 0:c=n.first;break;case 1:c=n,s=!0}r[l.propName]=c}s&&n.notifyOnChanges()}}function la(e,t,n,r,o){for(var i=t;i<=n;i++){var a=e.def.nodes[i],s=a.matchedQueries[r.id];if(null!=s&&o.push(ca(e,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var u=mo(e,i);if((a.childMatchedQueries&r.filterId)===r.filterId&&(la(e,i+1,i+a.childCount,r,o),i+=a.childCount),16777216&a.flags)for(var l=u.viewContainer._embeddedViews,c=0;c<l.length;c++){var d=l[c],f=Lo(d);f&&f===u&&la(d,0,d.def.nodes.length-1,r,o)}var p=u.template._projectedViews;if(p)for(c=0;c<p.length;c++){var h=p[c];la(h,0,h.def.nodes.length-1,r,o)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(i+=a.childCount)}return o}function ca(e,t,n){if(null!=n)switch(n){case 1:return mo(e,t.nodeIndex).renderElement;case 0:return new zn(mo(e,t.nodeIndex).renderElement);case 2:return mo(e,t.nodeIndex).template;case 3:return mo(e,t.nodeIndex).viewContainer;case 4:return _o(e,t.nodeIndex).instance}}
|
|
421
421
|
/**
|
|
422
422
|
* @license
|
|
423
423
|
* Copyright Google Inc. All Rights Reserved.
|
|
424
424
|
*
|
|
425
425
|
* Use of this source code is governed by an MIT-style license that can be
|
|
426
426
|
* found in the LICENSE file at https://angular.io/license
|
|
427
|
-
*/function
|
|
427
|
+
*/function da(e,t,n){var r=Go(e,t,n);r&&ei(e,n.ngContent.index,1,r,null,void 0)}
|
|
428
428
|
/**
|
|
429
429
|
* @license
|
|
430
430
|
* Copyright Google Inc. All Rights Reserved.
|
|
431
431
|
*
|
|
432
432
|
* Use of this source code is governed by an MIT-style license that can be
|
|
433
433
|
* found in the LICENSE file at https://angular.io/license
|
|
434
|
-
*/function
|
|
434
|
+
*/function fa(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:ii(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function pa(e,t,n){var r,o=e.renderer;r=o.createText(n.text.prefix);var i=Go(e,t,n);return i&&o.appendChild(i,r),{renderText:r}}function ha(e,t){return(null!=e?e.toString():"")+t.suffix}
|
|
435
435
|
/**
|
|
436
436
|
* @license
|
|
437
437
|
* Copyright Google Inc. All Rights Reserved.
|
|
438
438
|
*
|
|
439
439
|
* Use of this source code is governed by an MIT-style license that can be
|
|
440
440
|
* found in the LICENSE file at https://angular.io/license
|
|
441
|
-
*/(e,n
|
|
441
|
+
*/function va(e){return 0!=(1&e.flags)&&null===e.element.name}function ga(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 ya(e,t,n,r){var o=wa(e.root,e.renderer,e,t,n);return ba(o,e.component,r),Ca(o),o}function ma(e,t,n){var r=wa(e,e.renderer,null,null,t);return ba(r,n,n),Ca(r),r}function _a(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,wa(e.root,o,e,t.element.componentProvider,n)}function wa(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 ba(e,t,n){e.component=t,e.context=n}function Ca(e){var t;Qo(e)&&(t=mo(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];xo.setCurrentNode(e,o);var a=void 0;switch(201347067&i.flags){case 1:var s=si(e,t,i),u=void 0;if(33554432&i.flags){var l=$o(i.element.componentView);u=xo.createComponentView(e,i,l,s)}ui(e,u,i,s),a={renderElement:s,componentView:u,viewContainer:null,template:i.element.template?Ri(e,i):void 0},16777216&i.flags&&(a.viewContainer=Ei(e,i,a));break;case 2:a=pa(e,t,i);break;case 512:case 1024:case 2048:case 256:(a=r[o])||4096&i.flags||(a={instance:Ki(e,i)});break;case 16:a={instance:Wi(e,i)};break;case 16384:(a=r[o])||(a={instance:Gi(e,i)}),32768&i.flags&&ba(mo(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 Zn;break;case 8:da(e,t,i),a=void 0}r[o]=a}Ra(e,Xi.CreateViewNodes),ja(e,201326592,268435456,0)}function xa(e){Ea(e),xo.updateDirectives(e,1),Da(e,Xi.CheckNoChanges),xo.updateRenderer(e,1),Ra(e,Xi.CheckNoChanges),e.state&=-97}function ka(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,vo(e,0,256),Ea(e),xo.updateDirectives(e,0),Da(e,Xi.CheckAndUpdate),ja(e,67108864,536870912,0);var t=vo(e,256,512);oa(e,2097152|(t?1048576:0)),xo.updateRenderer(e,0),Ra(e,Xi.CheckAndUpdate),ja(e,134217728,536870912,0),oa(e,8388608|((t=vo(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,vo(e,768,1024)}function Ia(e,t,n,r,o,i,a,s,l,c,d,f,p){return 0===n?function h(e,t,n,r,o,i,a,s,u,l,c,d){switch(201347067&t.flags){case 1:return function f(e,t,n,r,o,i,a,s,u,l,c,d){var f=t.bindings.length,p=!1;return f>0&&ci(e,t,0,n)&&(p=!0),f>1&&ci(e,t,1,r)&&(p=!0),f>2&&ci(e,t,2,o)&&(p=!0),f>3&&ci(e,t,3,i)&&(p=!0),f>4&&ci(e,t,4,a)&&(p=!0),f>5&&ci(e,t,5,s)&&(p=!0),f>6&&ci(e,t,6,u)&&(p=!0),f>7&&ci(e,t,7,l)&&(p=!0),f>8&&ci(e,t,8,c)&&(p=!0),f>9&&ci(e,t,9,d)&&(p=!0),p}(e,t,n,r,o,i,a,s,u,l,c,d);case 2:return function p(e,t,n,r,o,i,a,s,u,l,c,d){var f=!1,p=t.bindings,h=p.length;if(h>0&&Vo(e,t,0,n)&&(f=!0),h>1&&Vo(e,t,1,r)&&(f=!0),h>2&&Vo(e,t,2,o)&&(f=!0),h>3&&Vo(e,t,3,i)&&(f=!0),h>4&&Vo(e,t,4,a)&&(f=!0),h>5&&Vo(e,t,5,s)&&(f=!0),h>6&&Vo(e,t,6,u)&&(f=!0),h>7&&Vo(e,t,7,l)&&(f=!0),h>8&&Vo(e,t,8,c)&&(f=!0),h>9&&Vo(e,t,9,d)&&(f=!0),f){var v=t.text.prefix;h>0&&(v+=ha(n,p[0])),h>1&&(v+=ha(r,p[1])),h>2&&(v+=ha(o,p[2])),h>3&&(v+=ha(i,p[3])),h>4&&(v+=ha(a,p[4])),h>5&&(v+=ha(s,p[5])),h>6&&(v+=ha(u,p[6])),h>7&&(v+=ha(l,p[7])),h>8&&(v+=ha(c,p[8])),h>9&&(v+=ha(d,p[9]));var g=yo(e,t.nodeIndex).renderText;e.renderer.setValue(g,v)}return f}(e,t,n,r,o,i,a,s,u,l,c,d);case 16384:return function h(e,t,n,r,o,i,a,s,u,l,c,d){var f=_o(e,t.nodeIndex),p=f.instance,h=!1,v=void 0,g=t.bindings.length;return g>0&&jo(e,t,0,n)&&(h=!0,v=ra(e,f,t,0,n,v)),g>1&&jo(e,t,1,r)&&(h=!0,v=ra(e,f,t,1,r,v)),g>2&&jo(e,t,2,o)&&(h=!0,v=ra(e,f,t,2,o,v)),g>3&&jo(e,t,3,i)&&(h=!0,v=ra(e,f,t,3,i,v)),g>4&&jo(e,t,4,a)&&(h=!0,v=ra(e,f,t,4,a,v)),g>5&&jo(e,t,5,s)&&(h=!0,v=ra(e,f,t,5,s,v)),g>6&&jo(e,t,6,u)&&(h=!0,v=ra(e,f,t,6,u,v)),g>7&&jo(e,t,7,l)&&(h=!0,v=ra(e,f,t,7,l,v)),g>8&&jo(e,t,8,c)&&(h=!0,v=ra(e,f,t,8,c,v)),g>9&&jo(e,t,9,d)&&(h=!0,v=ra(e,f,t,9,d,v)),v&&p.ngOnChanges(v),65536&t.flags&&go(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),h}(e,t,n,r,o,i,a,s,u,l,c,d);case 32:case 64:case 128:return function v(e,t,n,r,o,i,a,s,u,l,c,d){var f=t.bindings,p=!1,h=f.length;if(h>0&&Vo(e,t,0,n)&&(p=!0),h>1&&Vo(e,t,1,r)&&(p=!0),h>2&&Vo(e,t,2,o)&&(p=!0),h>3&&Vo(e,t,3,i)&&(p=!0),h>4&&Vo(e,t,4,a)&&(p=!0),h>5&&Vo(e,t,5,s)&&(p=!0),h>6&&Vo(e,t,6,u)&&(p=!0),h>7&&Vo(e,t,7,l)&&(p=!0),h>8&&Vo(e,t,8,c)&&(p=!0),h>9&&Vo(e,t,9,d)&&(p=!0),p){var v=wo(e,t.nodeIndex),g=void 0;switch(201347067&t.flags){case 32:g=new Array(f.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]=s),h>6&&(g[6]=u),h>7&&(g[7]=l),h>8&&(g[8]=c),h>9&&(g[9]=d);break;case 64:g={},h>0&&(g[f[0].name]=n),h>1&&(g[f[1].name]=r),h>2&&(g[f[2].name]=o),h>3&&(g[f[3].name]=i),h>4&&(g[f[4].name]=a),h>5&&(g[f[5].name]=s),h>6&&(g[f[6].name]=u),h>7&&(g[f[7].name]=l),h>8&&(g[f[8].name]=c),h>9&&(g[f[9].name]=d);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,s);break;case 7:g=y.transform(r,o,i,a,s,u);break;case 8:g=y.transform(r,o,i,a,s,u,l);break;case 9:g=y.transform(r,o,i,a,s,u,l,c);break;case 10:g=y.transform(r,o,i,a,s,u,l,c,d)}}v.value=g}return p}(e,t,n,r,o,i,a,s,u,l,c,d);default:throw"unreachable"}}(e,t,r,o,i,a,s,l,c,d,f,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++)ci(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++)Vo(e,t,i,n[i])&&(o=!0);if(o){var a="";for(i=0;i<n.length;i++)a+=ha(n[i],r[i]);a=t.text.prefix+a;var s=yo(e,t.nodeIndex).renderText;e.renderer.setValue(s,a)}return o}(e,t,n);case 16384:return function i(e,t,n){for(var r=_o(e,t.nodeIndex),o=r.instance,i=!1,a=void 0,s=0;s<n.length;s++)jo(e,t,s,n[s])&&(i=!0,a=ra(e,r,t,s,n[s],a));return a&&o.ngOnChanges(a),65536&t.flags&&go(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++)Vo(e,t,i,n[i])&&(o=!0);if(o){var a=wo(e,t.nodeIndex),s=void 0;switch(201347067&t.flags){case 32:s=n;break;case 64:for(s={},i=0;i<n.length;i++)s[r[i].name]=n[i];break;case 128:var l=n[0],c=n.slice(1);s=l.transform.apply(l,u(c))}a.value=s}return o}
|
|
442
442
|
/**
|
|
443
443
|
* @license
|
|
444
444
|
* Copyright Google Inc. All Rights Reserved.
|
|
445
445
|
*
|
|
446
446
|
* Use of this source code is governed by an MIT-style license that can be
|
|
447
447
|
* found in the LICENSE file at https://angular.io/license
|
|
448
|
-
*/(na=ta||(ta={}))[na.CreateViewNodes=0]="CreateViewNodes",na[na.CheckNoChanges=1]="CheckNoChanges",na[na.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",na[na.CheckAndUpdate=3]="CheckAndUpdate",na[na.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",na[na.Destroy=5]="Destroy";var Ma=!1;function Fa(){if(!Ma){Ma=!0;var e=Tn()?function t(){return{setCurrentNode:us,createRootView:La,createEmbeddedView:za,createComponentView:Ua,createNgModuleRef:Qa,overrideProvider:Xa,overrideComponentView:es,clearOverrides:ts,checkAndUpdateView:is,checkNoChangesView:as,destroyView:ss,createDebugContext:function(e,t){return new _s(e,t)},handleEvent:ls,updateDirectives:cs,updateRenderer:ds}}():function n(){return{setCurrentNode:function(){},createRootView:Ha,createEmbeddedView:ma,createComponentView:ba,createNgModuleRef:Hi,overrideProvider:jo,overrideComponentView:jo,clearOverrides:jo,checkAndUpdateView:Ea,checkNoChangesView:Ia,destroyView:Aa,createDebugContext:function(e,t){return new _s(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?rs:os,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?rs:os,e)}}}();Ao.setCurrentNode=e.setCurrentNode,Ao.createRootView=e.createRootView,Ao.createEmbeddedView=e.createEmbeddedView,Ao.createComponentView=e.createComponentView,Ao.createNgModuleRef=e.createNgModuleRef,Ao.overrideProvider=e.overrideProvider,Ao.overrideComponentView=e.overrideComponentView,Ao.clearOverrides=e.clearOverrides,Ao.checkAndUpdateView=e.checkAndUpdateView,Ao.checkNoChangesView=e.checkNoChangesView,Ao.destroyView=e.destroyView,Ao.resolveDep=oa,Ao.createDebugContext=e.createDebugContext,Ao.handleEvent=e.handleEvent,Ao.updateDirectives=e.updateDirectives,Ao.updateRenderer=e.updateRenderer,Ao.dirtyParentQueries=ca}}function Ha(e,t,n,r,o,i){return wa(Ba(e,o,o.injector.get(Un),t,n),r,i)}function La(e,t,n,r,o,i){var a=o.injector.get(Un),s=Ba(e,o,new Cs(a),t,n),u=ns(r);return ws(Za.create,wa,null,[s,u,i])}function Ba(e,t,n,r,o){var i=t.injector.get(Co),a=t.injector.get(Qe);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function za(e,t,n,r){var o=ns(n);return ws(Za.create,ma,null,[e,t,o,r])}function Ua(e,t,n,r){return n=Ja.get(t.element.componentProvider.provider.token)||ns(n),ws(Za.create,ba,null,[e,t,n,r])}function Qa(e,t,n,r){return Hi(e,t,n,function o(e){var t=function n(e){var t=!1,n=!1;return 0===Ya.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=Ya.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){$a.forEach(function(r,o){o.ngInjectableDef.providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),r=t.hasDeprecatedOverrides;return t.hasOverrides?(function o(e){for(var t=0;t<e.providers.length;t++){var n=e.providers[t];r&&(n.flags|=4096);var o=Ya.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=ti(o.deps),n.value=o.value)}if($a.size>0){var i=new Set(e.modules);$a.forEach(function(t,n){if(i.has(n.ngInjectableDef.providedIn)){var o={token:n,flags:t.flags|(r?4096:0),deps:ti(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Mo(n)]=o}})}}(e=e.factory(function(){return jo})),e):e}(r))}var Za,qa,Ka,Wa,Ga,Ya=new Map,$a=new Map,Ja=new Map;function Xa(e){Ya.set(e.token,e),"function"==typeof e.token&&e.token.ngInjectableDef&&"function"==typeof e.token.ngInjectableDef.providedIn&&$a.set(e.token,e)}function es(e,t){var n=oi(oi(Ri(t)).nodes[0].element.componentView);Ja.set(e,n)}function ts(){Ya.clear(),$a.clear(),Ja.clear()}function ns(e){if(0===Ya.size)return e;var t=function n(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var o=e.nodes[r];1&o.flags&&(n=o),n&&3840&o.flags&&Ya.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return jo});for(var r=0;r<t.length;r++)o(e,t[r]);return e;function o(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var o=r.provider,i=Ya.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=ti(i.deps),o.value=i.value)}}}}function rs(e,t,n,r,o,i,a,s,u,l,c,d,f){var p=e.def.nodes[t];return Na(e,p,n,r,o,i,a,s,u,l,c,d,f),224&p.flags?To(e,t).value:void 0}function os(e,t,n,r,o,i,a,s,u,l,c,d,f){var p=e.def.nodes[t];return Ta(e,p,n,r,o,i,a,s,u,l,c,d,f),224&p.flags?To(e,t).value:void 0}function is(e){return ws(Za.detectChanges,Ea,null,[e])}function as(e){return ws(Za.checkNoChanges,Ia,null,[e])}function ss(e){return ws(Za.destroy,Aa,null,[e])}function us(e,t){Wa=e,Ga=t}function ls(e,t,n,r){return us(e,t),ws(Za.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function cs(e,t){if(128&e.state)throw Vo(Za[Ka]);return us(e,gs(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 s=e.def.nodes[r];return 0===t?fs(e,s,o,i):ps(e,s,o,i),16384&s.flags&&us(e,gs(e,r)),224&s.flags?To(e,s.nodeIndex).value:void 0},e)}function ds(e,t){if(128&e.state)throw Vo(Za[Ka]);return us(e,ys(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 s=e.def.nodes[r];return 0===t?fs(e,s,o,i):ps(e,s,o,i),3&s.flags&&us(e,ys(e,r)),224&s.flags?To(e,s.nodeIndex).value:void 0},e)}function fs(e,n,r,o){if(Na.apply(void 0,t.__spread([e,n,r],o))){var i=1===r?o[0]:o;if(16384&n.flags){for(var a={},s=0;s<n.bindings.length;s++){var u=n.bindings[s],l=i[s];8&u.flags&&(a[(h=u.nonMinifiedName,"ng-reflect-"+(h=function c(e){return e.replace(hs,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})}(h.replace(/[$@]/g,"_"))))]=vs(l))}var d=n.parent,f=No(e,d.nodeIndex).renderElement;if(d.element.name)for(var p in a)null!=(l=a[p])?e.renderer.setAttribute(f,p,l):e.renderer.removeAttribute(f,p);else e.renderer.setValue(f,"bindings="+JSON.stringify(a,null,2))}}var h}function ps(e,n,r,o){Ta.apply(void 0,t.__spread([e,n,r],o))}(qa=Za||(Za={}))[qa.create=0]="create",qa[qa.detectChanges=1]="detectChanges",qa[qa.checkNoChanges=2]="checkNoChanges",qa[qa.destroy=3]="destroy",qa[qa.handleEvent=4]="handleEvent";var hs=/([A-Z])/g;function vs(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function gs(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 ys(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var _s=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=Go(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return No(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Si(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){ms(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&&ms(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&&!Jo(e);)e=e.parent;return e.parent?No(e.parent,Go(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?Yo(this.view,this.nodeDef):Yo(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var n,r,o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);var a=function s(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(n,r),u=-1;n.factory(function(){return++u===a?(n=e.error).bind.apply(n,t.__spread([e],o)):jo;var n}),u<a&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,t.__spread(o)))},e}();function ms(e,t,n){for(var r in t.references)n[r]=pa(e,t,t.references[r])}function ws(e,t,n,r){var o=Ka,i=Wa,a=Ga;try{Ka=e;var s=t.apply(n,r);return Wa=i,Ga=a,Ka=o,s}catch(e){if(function Bf(e){return!!Be(e)}(e)||!Wa)throw e;throw function yf(e,t){return e instanceof Error||(e=new Error(e.toString())),Oo(e,t),e}(e,bs())}}function bs(){return Wa?new _s(Wa,Ga):null}var Cs=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new xs(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}(),xs=function(){function e(e){this.delegate=e,this.data=this.delegate.data}return e.prototype.destroyNode=function(e){!function t(e){fr.delete(e.nativeNode)}(pr(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=bs();if(r){var o=new dr(n,null,r);o.name=e,hr(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=bs();return n&&hr(new cr(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=bs();return n&&hr(new cr(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=pr(e),r=pr(t);n&&r&&n instanceof dr&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=pr(e),o=pr(t),i=pr(n);r&&o&&r instanceof dr&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=pr(e),r=pr(t);n&&r&&n instanceof dr&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e){var t=this.delegate.selectRootElement(e),n=bs();return n&&hr(new dr(t,null,n)),t},e.prototype.setAttribute=function(e,t,n,r){var o=pr(e);o&&o instanceof dr&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=pr(e);r&&r instanceof dr&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=pr(e);n&&n instanceof dr&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=pr(e);n&&n instanceof dr&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=pr(e);o&&o instanceof dr&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=pr(e);r&&r instanceof dr&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=pr(e);r&&r instanceof dr&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=pr(e);r&&r.listeners.push(new function o(e,t){this.name=e,this.callback=t}(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}(),ks=function(e){function n(t,n,r){var o=e.call(this)||this;return o.moduleType=t,o._bootstrapComponents=n,o._ngModuleDefFactory=r,o}return t.__extends(n,e),n.prototype.create=function(e){Fa();var t=oi(this._ngModuleDefFactory);return Ao.createNgModuleRef(this.moduleType,e||se.NULL,this._bootstrapComponents,t)},n}(en);function Is(e,t,n){1===e.lifecycleStage&&(Es(e.directives,t.initHooks,t.checkHooks,n),e.lifecycleStage=2)}function Es(e,t,n,r){var o=r?t:n;o&&Ns(e,o)}function Ns(e,t){for(var n=0;n<t.length;n+=2)t[n+1].call(e[t[n]])}
|
|
448
|
+
*/(e,t,n);default:throw"unreachable"}}(e,t,r)}function Ea(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=mo(e,n).template._projectedViews;if(o)for(var i=0;i<o.length;i++){var a=o[i];a.state|=32,Fo(a,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Na(e,t,n,r,o,i,a,s,u,l,c,d,f){return 0===n?function p(e,t,n,r,o,i,a,s,u,l,c,d){var f=t.bindings.length;f>0&&So(e,t,0,n),f>1&&So(e,t,1,r),f>2&&So(e,t,2,o),f>3&&So(e,t,3,i),f>4&&So(e,t,4,a),f>5&&So(e,t,5,s),f>6&&So(e,t,6,u),f>7&&So(e,t,7,l),f>8&&So(e,t,8,c),f>9&&So(e,t,9,d)}(e,t,r,o,i,a,s,u,l,c,d,f):function h(e,t,n){for(var r=0;r<n.length;r++)So(e,t,r,n[r])}(e,t,r),!1}function Pa(e,t){if(bo(e,t.nodeIndex).dirty)throw ko(xo.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function Ta(e){if(!(128&e.state)){if(Da(e,Xi.Destroy),Ra(e,Xi.Destroy),oa(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=Lo(e);if(t){var n=t.template._projectedViews;n&&(bi(n,n.indexOf(e)),xo.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(mo(e,n).renderElement):2&r.flags?e.renderer.destroyNode(yo(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&bo(e,n).destroy()}}(e),Qo(e)&&e.renderer.destroy(),e.state|=128}}function Ra(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?Oa(mo(e,r).componentView,t):0==(33554432&o.childFlags)&&(r+=o.childCount)}}function Da(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=mo(e,r).viewContainer._embeddedViews,a=0;a<i.length;a++)Oa(i[a],t);else 0==(16777216&o.childFlags)&&(r+=o.childCount)}}function Oa(e,t){var n=e.state;switch(t){case Xi.CheckNoChanges:0==(128&n)&&(12==(12&n)?xa(e):64&n&&Aa(e,Xi.CheckNoChangesProjectedViews));break;case Xi.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?xa(e):64&n&&Aa(e,t));break;case Xi.CheckAndUpdate:0==(128&n)&&(12==(12&n)?ka(e):64&n&&Aa(e,Xi.CheckAndUpdateProjectedViews));break;case Xi.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?ka(e):64&n&&Aa(e,t));break;case Xi.Destroy:Ta(e);break;case Xi.CreateViewNodes:Ca(e)}}function Aa(e,t){Da(e,t),Ra(e,t)}function ja(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(xo.setCurrentNode(e,a.nodeIndex),r){case 0:ua(e,a);break;case 1:Pa(e,a)}a.childFlags&t&&a.childFlags&n||(i+=a.childCount)}}
|
|
449
|
+
/**
|
|
450
|
+
* @license
|
|
451
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
452
|
+
*
|
|
453
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
454
|
+
* found in the LICENSE file at https://angular.io/license
|
|
455
|
+
*/!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"}(Xi||(Xi={}));var Va=!1;function Sa(){if(!Va){Va=!0;var e=In()?function t(){return{setCurrentNode:is,createRootView:Fa,createEmbeddedView:La,createComponentView:Ba,createNgModuleRef:za,overrideProvider:Ya,overrideComponentView:$a,clearOverrides:Ja,checkAndUpdateView:ns,checkNoChangesView:rs,destroyView:os,createDebugContext:function(e,t){return new vs(e,t)},handleEvent:as,updateDirectives:ss,updateRenderer:us}}():function n(){return{setCurrentNode:function(){},createRootView:Ma,createEmbeddedView:ya,createComponentView:_a,createNgModuleRef:Si,overrideProvider:No,overrideComponentView:No,clearOverrides:No,checkAndUpdateView:ka,checkNoChangesView:xa,destroyView:Ta,createDebugContext:function(e,t){return new vs(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?es:ts,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?es:ts,e)}}}();xo.setCurrentNode=e.setCurrentNode,xo.createRootView=e.createRootView,xo.createEmbeddedView=e.createEmbeddedView,xo.createComponentView=e.createComponentView,xo.createNgModuleRef=e.createNgModuleRef,xo.overrideProvider=e.overrideProvider,xo.overrideComponentView=e.overrideComponentView,xo.clearOverrides=e.clearOverrides,xo.checkAndUpdateView=e.checkAndUpdateView,xo.checkNoChangesView=e.checkNoChangesView,xo.destroyView=e.destroyView,xo.resolveDep=ta,xo.createDebugContext=e.createDebugContext,xo.handleEvent=e.handleEvent,xo.updateDirectives=e.updateDirectives,xo.updateRenderer=e.updateRenderer,xo.dirtyParentQueries=sa}}function Ma(e,t,n,r,o,i){return ma(Ha(e,o,o.injector.get(Ln),t,n),r,i)}function Fa(e,t,n,r,o,i){var a=o.injector.get(Ln),s=Ha(e,o,new _s(a),t,n),u=Xa(r);return ys(Ua.create,ma,null,[s,u,i])}function Ha(e,t,n,r,o){var i=t.injector.get(ho),a=t.injector.get(qe);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:o,sanitizer:i,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function La(e,t,n,r){var o=Xa(n);return ys(Ua.create,ya,null,[e,t,o,r])}function Ba(e,t,n,r){return n=Ga.get(t.element.componentProvider.provider.token)||Xa(n),ys(Ua.create,_a,null,[e,t,n,r])}function za(e,t,n,r){return Si(e,t,n,function o(e){var t=function n(e){var t=!1,n=!1;return 0===Ka.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=Ka.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){Wa.forEach(function(r,o){o.ngInjectableDef.providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),r=t.hasDeprecatedOverrides;return t.hasOverrides?(function o(e){for(var t=0;t<e.providers.length;t++){var n=e.providers[t];r&&(n.flags|=4096);var o=Ka.get(n.token);o&&(n.flags=-3841&n.flags|o.flags,n.deps=Wo(o.deps),n.value=o.value)}if(Wa.size>0){var i=new Set(e.modules);Wa.forEach(function(t,n){if(i.has(n.ngInjectableDef.providedIn)){var o={token:n,flags:t.flags|(r?4096:0),deps:Wo(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[To(n)]=o}})}}(e=e.factory(function(){return No})),e):e}(r))}var Ua,Qa,Za,qa,Ka=new Map,Wa=new Map,Ga=new Map;function Ya(e){Ka.set(e.token,e),"function"==typeof e.token&&e.token.ngInjectableDef&&"function"==typeof e.token.ngInjectableDef.providedIn&&Wa.set(e.token,e)}function $a(e,t){var n=$o($o(xi(t)).nodes[0].element.componentView);Ga.set(e,n)}function Ja(){Ka.clear(),Wa.clear(),Ga.clear()}function Xa(e){if(0===Ka.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&&Ka.has(o.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return No});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=Ka.get(o.token);i&&(r.flags=-3841&r.flags|i.flags,o.deps=Wo(i.deps),o.value=i.value)}}}}function es(e,t,n,r,o,i,a,s,u,l,c,d,f){var p=e.def.nodes[t];return Ia(e,p,n,r,o,i,a,s,u,l,c,d,f),224&p.flags?wo(e,t).value:void 0}function ts(e,t,n,r,o,i,a,s,u,l,c,d,f){var p=e.def.nodes[t];return Na(e,p,n,r,o,i,a,s,u,l,c,d,f),224&p.flags?wo(e,t).value:void 0}function ns(e){return ys(Ua.detectChanges,ka,null,[e])}function rs(e){return ys(Ua.checkNoChanges,xa,null,[e])}function os(e){return ys(Ua.destroy,Ta,null,[e])}function is(e,t){Za=e,qa=t}function as(e,t,n,r){return is(e,t),ys(Ua.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function ss(e,t){if(128&e.state)throw Eo(Ua[Qa]);return is(e,ps(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 s=e.def.nodes[r];return 0===t?ls(e,s,o,i):cs(e,s,o,i),16384&s.flags&&is(e,ps(e,r)),224&s.flags?wo(e,s.nodeIndex).value:void 0},e)}function us(e,t){if(128&e.state)throw Eo(Ua[Qa]);return is(e,hs(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 s=e.def.nodes[r];return 0===t?ls(e,s,o,i):cs(e,s,o,i),3&s.flags&&is(e,hs(e,r)),224&s.flags?wo(e,s.nodeIndex).value:void 0},e)}function ls(e,t,n,r){if(Ia.apply(void 0,u([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 s=t.bindings[a],l=o[a];8&s.flags&&(i[(h=s.nonMinifiedName,"ng-reflect-"+(h=function c(e){return e.replace(ds,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})}(h.replace(/[$@]/g,"_"))))]=fs(l))}var d=t.parent,f=mo(e,d.nodeIndex).renderElement;if(d.element.name)for(var p in i)null!=(l=i[p])?e.renderer.setAttribute(f,p,l):e.renderer.removeAttribute(f,p);else e.renderer.setValue(f,"bindings="+JSON.stringify(i,null,2))}}var h}function cs(e,t,n,r){Na.apply(void 0,u([e,t,n],r))}!function(e){e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent"}(Ua||(Ua={}));var ds=/([A-Z])/g;function fs(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function ps(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 hs(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var vs=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=Bo(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return mo(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Oi(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){gs(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&&gs(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function t(e){for(;e&&!Qo(e);)e=e.parent;return e.parent?mo(e.parent,Bo(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?zo(this.view,this.nodeDef):zo(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),s=-1;t.factory(function(){return++s===i?(t=e.error).bind.apply(t,u([e],r)):No;var t}),s<i&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,u(r)))},e}();function gs(e,t,n){for(var r in t.references)n[r]=ca(e,t,t.references[r])}function ys(e,t,n,r){var o=Qa,i=Za,a=qa;try{Qa=e;var s=t.apply(n,r);return Za=i,qa=a,Qa=o,s}catch(e){if(function u(e){return!!Ue(e)}(e)||!Za)throw e;throw function l(e,t){return e instanceof Error||(e=new Error(e.toString())),Io(e,t),e}(e,ms())}}function ms(){return Za?new vs(Za,qa):null}var _s=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new ws(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}(),ws=function(){function e(e){this.delegate=e,this.data=this.delegate.data}return e.prototype.destroyNode=function(e){!function t(e){ar.delete(e.nativeNode)}(sr(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=ms();if(r){var o=new rr(n,null,r);o.name=e,ur(o)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=ms();return n&&ur(new nr(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=ms();return n&&ur(new nr(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=sr(e),r=sr(t);n&&r&&n instanceof rr&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=sr(e),o=sr(t),i=sr(n);r&&o&&r instanceof rr&&r.insertBefore(i,o),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=sr(e),r=sr(t);n&&r&&n instanceof rr&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e){var t=this.delegate.selectRootElement(e),n=ms();return n&&ur(new rr(t,null,n)),t},e.prototype.setAttribute=function(e,t,n,r){var o=sr(e);o&&o instanceof rr&&(o.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=sr(e);r&&r instanceof rr&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=sr(e);n&&n instanceof rr&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=sr(e);n&&n instanceof rr&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var o=sr(e);o&&o instanceof rr&&(o.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=sr(e);r&&r instanceof rr&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=sr(e);r&&r instanceof rr&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=sr(e);r&&r.listeners.push(new tr(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}(),bs=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){Sa();var t=$o(this._ngModuleDefFactory);return xo.createNgModuleRef(this.moduleType,e||de.NULL,this._bootstrapComponents,t)},t}($t);function Cs(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 xs(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 ks(e,t,n){null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}function Is(e,t,n){1===e.lifecycleStage&&(Es(e.directives,t.initHooks,t.checkHooks,n),e.lifecycleStage=2)}function Es(e,t,n,r){var o=r?t:n;o&&Ns(e,o)}function Ns(e,t){for(var n=0;n<t.length;n+=2)t[n+1].call(e[t[n]])}
|
|
449
456
|
/**
|
|
450
457
|
* @license
|
|
451
458
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -460,14 +467,14 @@ return function r(e,t,n,o){var i=t.viewContainer._embeddedViews;null!==n&&void 0
|
|
|
460
467
|
* Use of this source code is governed by an MIT-style license that can be
|
|
461
468
|
* found in the LICENSE file at https://angular.io/license
|
|
462
469
|
*/
|
|
463
|
-
var Ps,Ts
|
|
470
|
+
var Ps,Ts="ngProjectAs";
|
|
464
471
|
/**
|
|
465
472
|
* @license
|
|
466
473
|
* Copyright Google Inc. All Rights Reserved.
|
|
467
474
|
*
|
|
468
475
|
* Use of this source code is governed by an MIT-style license that can be
|
|
469
476
|
* found in the LICENSE file at https://angular.io/license
|
|
470
|
-
*/function
|
|
477
|
+
*/function Rs(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(Ps||(Ps={}));var Ds={createRenderer:function(e,t){return document}};
|
|
471
478
|
/**
|
|
472
479
|
* @license
|
|
473
480
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -481,28 +488,29 @@ var Ps,Ts,Rs="ngProjectAs";
|
|
|
481
488
|
*
|
|
482
489
|
* Use of this source code is governed by an MIT-style license that can be
|
|
483
490
|
* found in the LICENSE file at https://angular.io/license
|
|
484
|
-
*/function Os(e,t){
|
|
491
|
+
*/function Os(e,t){return!(e!=e&&t!=t)&&e!==t}function As(e){return"function"==typeof e?e.name||e:"string"==typeof e?e:null==e?"":""+e}
|
|
485
492
|
/**
|
|
486
493
|
* @license
|
|
487
494
|
* Copyright Google Inc. All Rights Reserved.
|
|
488
495
|
*
|
|
489
496
|
* Use of this source code is governed by an MIT-style license that can be
|
|
490
497
|
* found in the LICENSE file at https://angular.io/license
|
|
491
|
-
*/
|
|
498
|
+
*/
|
|
499
|
+
function js(e,t){for(var n=e;n&&n!==t;){var r=n.pNextOrParent;if(r){for(;1!==r.type;){if(i=Ms(r))return i;r=r.pNextOrParent}n=r}else{for(var o=n.next;o;){var i;if(i=Ms(o))return i;o=o.next}var a=n.parent;if(n=null,a){var s=a.type;0!==s&&2!==s||(n=a)}}}return null}function Vs(e){var t=e.pNextOrParent;return t?1===t.type?null:t:e.next}function Ss(e,t){for(var n=e,r=Vs(n);n&&!r;){if((n=n.pNextOrParent||n.parent)===t)return null;r=n&&Vs(n)}return r}function Ms(e){for(var t=e;t;){var n=null;if(3===t.type)return t.native;if(0===t.type){var r=t.dynamicLContainerNode?t.dynamicLContainerNode.data:t.data;n=r.views.length?r.views[0].child:null}else n=1===t.type?t.data.head:t.child;t=null===n?Ss(t,e):n}return null}function Fs(e,t){return Rs(t)?t.createText(As(e)):t.createTextNode(As(e))}function Hs(e,t,n,r){var o=e.data.renderParent,i=o?o.native:null,a=t.child;if(i)for(;a;){var s=null,u=e.view.renderer;if(3===a.type)n?(a.native||(a.native=Fs("",u)),Rs(u)?u.insertBefore(i,a.native,r):i.insertBefore(a.native,r,!0)):Rs(u)?u.removeChild(i,a.native):i.removeChild(a.native),s=a.next;else if(0===a.type){var l=a.data;l.renderParent=o,s=l.views.length?l.views[0].child:null}else s=1===a.type?a.data.head:a.child;a=null===s?Ss(a,t):s}}function Ls(e,t,n){var r=e.data.views;if(n>0&&zs(r[n-1],t),n<r.length?(zs(t,r[n]),r.splice(n,0,t)):r.push(t),null!==e.data.renderParent){var o=js(t,e);if(!o){var i=e.native;void 0===i&&(i=e.native=js(e,null)),o=i}Hs(e,t,!0,o)}return t}function Bs(e,t){var n=e.data.views,r=n[t];return t>0&&zs(n[t-1],r.next),n.splice(t,1),r.next=null,function o(e){for(var t=e;t;){var n=null;if(t.views&&t.views.length?n=t.views[0].data:t.child?n=t.child:t.next&&(Qs(t),n=t.next),null==n){for(;t&&!t.next&&t!==e;)Qs(t),t=Us(t,e);Qs(t||e),n=t&&t.next}t=n}}(r.data),Hs(e,r,!1),e.data.queries&&e.data.queries.removeView(t),r}function zs(e,t){e.next=t,e.data.next=t?t.data:null}function Us(e,t){var n;return(n=e.node)&&2===n.type?n.parent.data:e.parent===t?null:e.parent}function Qs(e){!function t(e){var t=e.cleanup;if(null!=t){for(var n=0;n<t.length-1;n+=2)"string"==typeof t[n]?(t[n+1].removeEventListener(t[n],t[n+2],t[n+3]),n+=2):t[n].call(t[n+1]);e.cleanup=null}}(e),function n(e){var t,n=e.tView;null!=n&&null!=(t=n.destroyHooks)&&Ns(e.directives,t)}(e),function r(e){var t=e.tView&&e.tView.pipeDestroyHooks;t&&Ns(e.data,t)}(e)}function Zs(e,t){return 3===e.type&&(e.view!==t||null===e.data)}function qs(e,t,n){if(null!==t&&Zs(e,n)){var r=n.renderer;return Rs(r)?r.appendChild(e.native,t):e.native.appendChild(t),!0}return!1}function Ks(e,t,n){if(0!==e.type)qs(t,e.native,n);else{var r=e.data;r.renderParent=t;for(var o=r.views,i=0;i<o.length;i++)Hs(e,o[i],!0,null)}e.dynamicLContainerNode&&(e.dynamicLContainerNode.data.renderParent=t)}
|
|
492
500
|
/**
|
|
493
501
|
* @license
|
|
494
502
|
* Copyright Google Inc. All Rights Reserved.
|
|
495
503
|
*
|
|
496
504
|
* Use of this source code is governed by an MIT-style license that can be
|
|
497
505
|
* found in the LICENSE file at https://angular.io/license
|
|
498
|
-
*/function
|
|
506
|
+
*/function Ws(e,t){for(var n,r,o,i,a,s=4,u=e.attrs,l=!1,c=0;c<t.length;c++){var d=t[c];if("number"!=typeof d){if(!l)if(4&s){if(s=2|1&s,""!==d&&d!==e.tagName){if(Gs(s))return!1;l=!0}}else{var f=Ys(8&s?"class":d,u);if(-1===f){if(Gs(s))return!1;l=!0;continue}var p=8&s?d:t[++c];if(""!==p){var h=u[f+1];if(8&s&&(o=(n=h).length,a=(i=n.indexOf(r=p))+r.length,-1===i||i>0&&" "!==n[i-1]||a<o&&" "!==n[a])||2&s&&p!==h){if(Gs(s))return!1;l=!0}}}}else{if(!l&&!Gs(s)&&!Gs(d))return!1;if(l&&Gs(d))continue;l=!1,s=d|1&s}}return Gs(s)||l}function Gs(e){return 0==(1&e)}function Ys(e,t){if(null===t)return-1;for(var n=0;n<t.length;n+=2)if(t[n]===e)return n;return-1}function $s(e,t){for(var n=0;n<t.length;n++)if(Ws(e,t[n]))return!0;return!1}function Js(e,t,n){for(var r=function o(e){var t=e.attrs;if(null!=t){var n=t.indexOf(Ts);if(0==(1&n))return t[n+1]}return null}(e),i=0;i<t.length;i++)if(r===n[i]||null===r&&$s(e,t[i]))return i+1;return 0}function Xs(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function eu(e,t,n,r){if(t){var o="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+n+"'. Current value: '"+r+"'.";throw e&&(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 ?"),new Error(o)}}
|
|
499
507
|
/**
|
|
500
508
|
* @license
|
|
501
509
|
* Copyright Google Inc. All Rights Reserved.
|
|
502
510
|
*
|
|
503
511
|
* Use of this source code is governed by an MIT-style license that can be
|
|
504
512
|
* found in the LICENSE file at https://angular.io/license
|
|
505
|
-
*/var tu,nu,ru,ou,iu,au="__ngHostLNode__",su=Promise.resolve(null),uu=[0,0],lu="__CIRCULAR__";function cu(){return ru}var du,fu,pu,hu,vu,gu
|
|
513
|
+
*/var tu,nu,ru,ou,iu,au="__ngHostLNode__",su=Promise.resolve(null),uu=[0,0],lu="__CIRCULAR__";function cu(){return ru}var du,fu,pu,hu,vu,gu=null;function yu(){return fu}var mu=!1,_u=!0;function wu(e,t){var n=gu;return pu=e&&e.data,hu=e&&e.directives,iu=e&&e.tView.data,fu=e&&1==(1&e.flags),_u=e&&e.tView.firstTemplatePass,vu=e&&e.cleanup,tu=e&&e.renderer,e&&e.bindingIndex<0&&(e.bindingIndex=e.bindingStartIndex),null!=t&&(ru=t,ou=!0),gu=e,du=e&&e.queries,n}function bu(e){mu||Es(hu,gu.tView.viewHooks,gu.tView.viewCheckHooks,fu),gu.flags&=-6,gu.lifecycleStage=1,gu.bindingIndex=-1,wu(e,null)}function Cu(){ku();var e=gu.tView;e.firstTemplatePass=_u=!1,xu(e.hostBindings),function t(e){if(null!=e)for(var t=0;t<e.length;t+=2)Qu(e[t],e[t+1])}(e.components)}function xu(e){if(null!=e)for(var t=gu.tView.directives,n=0;n<e.length;n+=2){var r=e[n],o=t[r];o.hostBindings&&o.hostBindings(r,e[n+1])}}function ku(){if(!mu){var e=gu.tView;Is(gu,e,fu),Es(hu,e.contentHooks,e.contentCheckHooks,fu)}}function Iu(e,t,n,r,o,i){return{parent:gu,id:e,flags:9|i,node:null,data:[],directives:null,tView:n,cleanup:null,renderer:t,child:null,tail:null,next:null,bindingStartIndex:-1,bindingIndex:-1,template:r,context:o,dynamicViewCount:0,lifecycleStage:1,queries:null,injector:gu&&gu.injector}}function Eu(e,t,n,r,o,i){return{type:e,native:r,view:t,parent:n,child:null,next:null,nodeInjector:n?n.nodeInjector:null,data:o,queries:i,tNode:null,pNextOrParent:null,dynamicLContainerNode:null}}function Nu(e,t,n,r){var o=ou?ru:ru&&ru.parent,i=(ou?du:ru&&ru.queries)||o&&o.queries&&o.queries.child(),a=null!=r,s=Eu(t,gu,o,n,a?r:null,i);return 2==(2&t)&&a&&(r.node=s),null!=e&&(pu[e]=s,e>=iu.length?iu[e]=null:s.tNode=iu[e],ou?(du=null,ru.view!==gu&&2!==ru.type||(ru.child=s)):ru&&(ru.next=s,ru.dynamicLContainerNode&&(ru.dynamicLContainerNode.next=s))),ru=s,ou=!0,s}function Pu(e,t,n,r,o,i){var a,s=ou,u=ru;try{ou=!0,ru=null;var l=2;null==e&&(e=Nu(null,2,null,Iu(-1,r,ju(t,o||null,i||null),t,n,2)),l=1),a=wu(e.data,e),t(l,n),Cu(),Uu()}finally{bu(a),ou=s,ru=u}return e}function Tu(e){return 1&e.flags?3:2}function Ru(e,t,n,r,o){var i=ru;_u?(i.tNode=iu[e]=Fu(t,n||null,o),function a(e,t,n){var r=n?{"":-1}:null,o=t.currentMatches=function i(e){var t=gu.tView.directiveRegistry,n=null;if(t)for(var r=0;r<t.length;r++){var o=t[r];$s(e,o.selectors)&&(o.template&&(4096&e.flags&&Xs(e),e.flags=4096),o.diPublic&&o.diPublic(o),(n||(n=[])).push(o,null))}return n}(e);if(o)for(var a=0;a<o.length;a+=2){var s=o[a],u=a+1;Du(s,u,o,t),Au(o[u],s,r)}r&&function l(e,t,n){if(t)for(var r=e.localNames=[],o=0;o<t.length;o+=2){var i=n[t[o+1]];if(null==i)throw new Error("Export of name '"+t[o+1]+"' not found!");r.push(t[o],i)}}(e,n,r)}(i.tNode,gu.tView,r||null)):function s(){var e=ru.tNode,t=4095&e.flags;if(t>0)for(var n=e.flags>>13,r=n+t,o=gu.tView.directives,i=n;i<r;i++){var a=o[i];Lu(i,a.factory(),a)}}(),function u(){var e=ru.tNode.localNames;if(e)for(var t=0;t<e.length;t+=2){var n=e[t+1];pu.push(-1===n?ru.native:hu[n])}}()}function Du(e,t,n,r){if(null===n[t]){n[t]=lu;var o=e.factory();return(r.directives||(r.directives=[])).push(e),Lu(n[t]=r.directives.length-1,o,e)}return n[t]===lu&&function i(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(e.type),null}function Ou(e,t,n){e&&null!=e.changeDetectorRef&&e.changeDetectorRef._setComponentContext(n,t)}function Au(e,t,n){n&&(t.exportAs&&(n[t.exportAs]=e),t.template&&(n[""]=e))}function ju(e,t,n){return e.ngPrivateData||(e.ngPrivateData=Vu(t,n))}function Vu(e,t){return{data:[],directives:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,hostBindings:null,components:null,directiveRegistry:"function"==typeof e?e():e,pipeRegistry:"function"==typeof t?t():t,currentMatches:null}}function Su(e,t){for(var n=Rs(tu),r=0;r<t.length;r+=2){var o=t[r];if(o!==Ts){var i=t[r+1];n?tu.setAttribute(e,o,i):e.setAttribute(o,i)}}}function Mu(e,t){nu=e;var n=e.createRenderer(null,null);return"string"==typeof t?Rs(n)?n.selectRootElement(t):n.querySelector(t):t}function Fu(e,t,n){return{flags:0,tagName:e,attrs:t,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,data:n}}function Hu(e,t){var n=4095&e,r=null;if(n>0)for(var o=e>>13,i=o+n,a=0===t,s=gu.tView.directives,u=o;u<i;u++){var l=s[u],c=a?l.inputs:l.outputs;for(var d in c)if(c.hasOwnProperty(d)){var f=c[d];(r=r||{}).hasOwnProperty(d)?r[d].push(u,f):r[d]=[u,f]}}return r}function Lu(e,t,n){var r=Bu(e,t,n),o=ru.tNode;return n.template&&function i(e,t,n){var r=ju(n.template,n.directiveDefs,n.pipeDefs),o=Ku(gu,Iu(-1,nu.createRenderer(ru.native,n.rendererType),r,null,null,n.onPush?4:2));ru.data=o,o.node=ru,Ou(ru.nodeInjector,t,o),_u&&function i(e){_u&&(gu.tView.components||(gu.tView.components=[])).push(e,pu.length-1)}(e)}(e,t,n),_u&&(
|
|
506
514
|
/**
|
|
507
515
|
* @license
|
|
508
516
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -510,7 +518,7 @@ var Ps,Ts,Rs="ngProjectAs";
|
|
|
510
518
|
* Use of this source code is governed by an MIT-style license that can be
|
|
511
519
|
* found in the LICENSE file at https://angular.io/license
|
|
512
520
|
*/
|
|
513
|
-
function a(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))}(e,n.onInit,n.doCheck,
|
|
521
|
+
function a(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))}(e,n.onInit,n.doCheck,gu.tView),n.hostBindings&&function s(e){(gu.tView.hostBindings||(gu.tView.hostBindings=[])).push(e,pu.length-1)}(e)),o&&o.attrs&&function u(e,t,n,r){var o=r.initialInputs;(void 0===o||e>=o.length)&&(o=function i(e,t,n){var r=n.initialInputs||(n.initialInputs=[]);r[e]=null;for(var o=n.attrs,i=0;i<o.length;i+=2){var a=t[o[i]];void 0!==a&&(r[e]||(r[e]=[])).push(a,o[i+1])}return r}(e,n,r));var a=o[e];if(a)for(var s=0;s<a.length;s+=2)t[a[s]]=a[s+1]}(e,r,n.inputs,o),r}function Bu(e,t,n){if(Object.defineProperty(t,au,{enumerable:!1,value:ru}),null==hu&&(gu.directives=hu=[]),hu[e]=t,_u){var r=ru.tNode.flags;0==(4095&r)?ru.tNode.flags=e<<13|4096&r|1:ru.tNode.flags++}else{var o=n.diPublic;o&&o(n)}return null!=n.attributes&&3==ru.type&&Su(ru.native,n.attributes),t}function zu(e,t,n){return{views:[],nextIndex:0,renderParent:Zs(e,t)?e:null,template:null==n?null:n,next:null,parent:t,dynamicViewCount:0,queries:null}}function Uu(){for(var e=gu.child;null!==e;e=e.next)if(0!==e.dynamicViewCount&&e.views)for(var t=e,n=0;n<t.views.length;n++){var r=t.views[n];Pu(r,r.data.template,r.data.context,tu)}}function Qu(e,t){var n=pu[t],r=n.data;(function o(e){return 8==(8&e.flags)})(r)&&6&r.flags&&$u(r,n,gu.tView.directives[e],ul(hu[e]))}function Zu(e,t,n){if(n){var r=e.data;r.tail?r.tail.pNextOrParent=t:r.head=t,r.tail=n,n.pNextOrParent=e}}function qu(e){for(var t=e.node;2===t.type;)t=(e=e.parent).node;return t}function Ku(e,t){return e.tail?e.tail.next=t:e.child=t,e.tail=t,t}function Wu(e){for(var t=e;null!=t.parent;)t.flags|=4,t=t.parent;t.flags|=4,function n(e){var t;e.clean==su&&(e.clean=new Promise(function(e){return t=e}),e.scheduler(function(){!function n(e){var t=Gu(e),n=t.context.component;!function r(e,t,n,o){var i=wu(t,e);try{nu.begin&&nu.begin(),o?(o(Tu(t),n),Uu(),Cu()):(ku(),xu(uu),Qu(0,0))}finally{nu.end&&nu.end(),bu(i)}}(ll(n),t,n)}(e.component),t(null),e.clean=su}))}(t.context)}function Gu(e){for(var t=ll(e).view;t.parent;)t=t.parent;return t}function Yu(e){var t=ll(e);$u(t.data,t,t.view.tView.directives[t.tNode.flags>>13],e)}function $u(e,t,n,r){var o=wu(e,t),i=n.template;try{i(Tu(e),r),Cu(),Uu()}finally{bu(o)}}var Ju={};function Xu(){gu.bindingIndex=gu.bindingStartIndex=pu.length}function el(e,t){e>=iu.length&&(iu[e]=null),pu[e]=t}function tl(e){return pu[e]}function nl(){return pu[gu.bindingIndex++]}function rl(e){if(gu.bindingStartIndex<0)Xu();else{if(!Os(pu[gu.bindingIndex],e))return gu.bindingIndex++,!1;eu(fu,mu,pu[gu.bindingIndex],e)}return pu[gu.bindingIndex++]=e,!0}function ol(e){return rl(e),e}function il(e,t){var n=rl(e);return rl(t)||n}function al(e,t,n,r){var o=il(e,t);return il(n,r)||o}function sl(){return gu.tView}function ul(e){return Array.isArray(e)?e[0]:e}function ll(e){return e[au]}var cl=su,dl=uu,fl=function(){function e(e,t){this._view=e,this.context=t}return e.prototype._setComponentContext=function(e,t){this._view=e,this.context=t},e.prototype.destroy=function(){},e.prototype.onDestroy=function(e){},e.prototype.markForCheck=function(){Wu(this._view)},e.prototype.detach=function(){this._view.flags&=-9},e.prototype.reattach=function(){this._view.flags|=8},e.prototype.detectChanges=function(){Yu(this.context)},e.prototype.checkNoChanges=function(){!function e(t){mu=!0;try{Yu(t)}finally{mu=!1}}(this.context)},e}(),pl=function(e){function t(t,n,r){var o=e.call(this,t.data,r)||this;return o._lViewNode=t,o}return o(t,e),t}(fl);function hl(e,t){return vl(new fl(e,t))}function vl(e){var t=null;return e.destroyed=!1,e.destroy=function(){t&&t.forEach(function(e){return e()}),this.destroyed=!0},e.onDestroy=function(e){return(t||(t=[])).push(e)},e}
|
|
514
522
|
/**
|
|
515
523
|
* @license
|
|
516
524
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -525,21 +533,21 @@ function a(e,t,n,r){t&&(r.initHooks||(r.initHooks=[])).push(e,t),n&&((r.initHook
|
|
|
525
533
|
* Use of this source code is governed by an MIT-style license that can be
|
|
526
534
|
* found in the LICENSE file at https://angular.io/license
|
|
527
535
|
*/
|
|
528
|
-
var
|
|
536
|
+
var gl="__NG_ELEMENT_ID__",yl=256,ml=0;function _l(){return wl(cu())}function wl(e){var t=e.nodeInjector,n=e.parent&&e.parent.nodeInjector;return t!=n?t:e.nodeInjector={parent:n,node:e,bf0:0,bf1:0,bf2:0,bf3:0,bf4:0,bf5:0,bf6:0,bf7:0,cbf0:null==n?0:n.cbf0|n.bf0,cbf1:null==n?0:n.cbf1|n.bf1,cbf2:null==n?0:n.cbf2|n.bf2,cbf3:null==n?0:n.cbf3|n.bf3,cbf4:null==n?0:n.cbf4|n.bf4,cbf5:null==n?0:n.cbf5|n.bf5,cbf6:null==n?0:n.cbf6|n.bf6,cbf7:null==n?0:n.cbf7|n.bf7,templateRef:null,viewContainerRef:null,elementRef:null,changeDetectorRef:null}}function bl(e){!function t(e,n){!function r(e,t){var n=t[gl];null==n&&(n=t[gl]=ml++);var r=n%yl,o=1<<r;r<128?r<64?r<32?e.bf0|=o:e.bf1|=o:r<96?e.bf2|=o:e.bf3|=o:r<192?r<160?e.bf4|=o:e.bf5|=o:r<224?e.bf6|=o:e.bf7|=o}(e,n.type)}(_l(),e)}function Cl(e,t){if(e.changeDetectorRef)return e.changeDetectorRef;var n=e.node;return function r(e){return 4096==(4096&e.flags)}(n.tNode)?e.changeDetectorRef=hl(n.data,t):3===n.type?e.changeDetectorRef=function o(e){var t=function n(e){for(;2===e.type;)e=e.view.node;return e}(e),r=t.nodeInjector;return r&&r.changeDetectorRef||hl(t.data,t.view.directives[t.tNode.flags>>13])}(n.view.node):null}function xl(e,t,n){var r=function o(e){var t=e[gl];return"number"==typeof t?t%yl:null}(t);if(null===r){var i=Ne(cu().view.injector);try{return Pe(t,n)}finally{Ne(i)}}else for(var a=e;a&&(a=Il(a,r));){var s=a.node,u=s.tNode.flags,l=4095&u;if(0!==l)for(var c=u>>13,d=c+l,f=s.view.tView.directives,p=c;p<d;p++){var h=f[p];if(h.type===t&&h.diPublic)return ul(s.view.directives[p])}var v=void 0;if(a===e&&(v=kl(s,t)))return v;a=a.parent}throw new Error("Implement")}function kl(e,t){var n=e.view.tView.currentMatches;if(n)for(var r=0;r<n.length;r+=2){var o=n[r];if(o.type===t)return Du(o,r+1,n,e.view.tView)}return null}function Il(e,t){for(var n=1<<t,r=e;r;){if(((t<128?t<64?t<32?r.bf0:r.bf1:t<96?r.bf2:r.bf3:t<192?t<160?r.bf4:r.bf5:t<224?r.bf6:r.bf7)&n)===n)return r;r=(t<128?t<64?t<32?r.cbf0:r.cbf1:t<96?r.cbf2:r.cbf3:t<192?t<160?r.cbf4:r.cbf5:t<224?r.cbf6:r.cbf7)&n?r.parent:null}return null}var El=function El(e){this.read=e},Nl=function zn(e){this.nativeElement=e};function Pl(e){if(!e.viewContainerRef){var t=e.node,n=zu(t.parent,t.view),r=Eu(0,t.view,t.parent,void 0,n,null);t.dynamicLContainerNode=r,Ku(t.view,n),e.viewContainerRef=new Tl(r)}return e.viewContainerRef}var Tl=function(){function e(e){this._lContainerNode=e,this._viewRefs=[]}return e.prototype.clear=function(){for(var e=this._lContainerNode.data;e.views.length;)this.remove(0)},e.prototype.get=function(e){return this._viewRefs[e]||null},Object.defineProperty(e.prototype,"length",{get:function(){return this._lContainerNode.data.views.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){throw function i(){return new Error("NotImplemented")}()},e.prototype.insert=function(e,t){var n=e._lViewNode,r=this._adjustIndex(t);return Ls(this._lContainerNode,n,r),this._lContainerNode.native=void 0,this._viewRefs.splice(r,0,e),n.parent=this._lContainerNode,null!==n.data.template&&(this._lContainerNode.data.dynamicViewCount++,null!==this._lContainerNode.parent&&null!==this._lContainerNode.parent.data&&this._lContainerNode.parent.data.dynamicViewCount++),e},e.prototype.move=function(e,t){var n=this.indexOf(e);return this.detach(n),this.insert(e,this._adjustIndex(t)),e},e.prototype.indexOf=function(e){return this._viewRefs.indexOf(e)},e.prototype.remove=function(e){this.detach(e)},e.prototype.detach=function(e){var t=this._adjustIndex(e,-1);return Bs(this._lContainerNode,t),this._viewRefs.splice(t,1)[0]||null},e.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this._lContainerNode.data.views.length+t:e},e}();function Rl(e){var t=e.node.data,n=e.node.view.tView;return e.templateRef||(e.templateRef=new Dl(function r(e){return e.elementRef||(e.elementRef=new Nl(0===e.node.type?null:e.node.native))}(e),t.template,function o(){return tu}(),n.directiveRegistry,n.pipeRegistry))}var Dl=function(){function e(e,t,n,r,o){this._renderer=n,this._directives=r,this._pipes=o,this.elementRef=e,this._template=t}return e.prototype.createEmbeddedView=function(e){var t=Pu(null,this._template,e,this._renderer,this._directives,this._pipes);return vl(new pl(t,this._template,e))},e}();
|
|
529
537
|
/**
|
|
530
538
|
* @license
|
|
531
539
|
* Copyright Google Inc. All Rights Reserved.
|
|
532
540
|
*
|
|
533
541
|
* Use of this source code is governed by an MIT-style license that can be
|
|
534
542
|
* found in the LICENSE file at https://angular.io/license
|
|
535
|
-
*/function
|
|
543
|
+
*/function Ol(t){var n=t.type,r=t.pipes,o=t.directives,i={type:n,diPublic:null,factory:t.factory,template:t.template||null,hostBindings:t.hostBindings||null,attributes:t.attributes||null,inputs:Ml(t.inputs),outputs:Ml(t.outputs),rendererType:Ao(t.rendererType)||null,exportAs:t.exportAs,onInit:n.prototype.ngOnInit||null,doCheck:n.prototype.ngDoCheck||null,afterContentInit:n.prototype.ngAfterContentInit||null,afterContentChecked:n.prototype.ngAfterContentChecked||null,afterViewInit:n.prototype.ngAfterViewInit||null,afterViewChecked:n.prototype.ngAfterViewChecked||null,onDestroy:n.prototype.ngOnDestroy||null,onPush:t.changeDetection===e.ChangeDetectionStrategy.OnPush,directiveDefs:o?function(){return("function"==typeof o?o():o).map(Al)}:null,pipeDefs:r?function(){return("function"==typeof r?r():r).map(jl)}:null,selectors:t.selectors},a=t.features;return a&&a.forEach(function(e){return e(i)}),i}function Al(e){return e.ngComponentDef||e.ngDirectiveDef}function jl(e){return e.ngPipeDef}var Vl="__ngOnChanges_",Sl={};function Ml(e){if(null==e)return Sl;var t={};for(var n in e)t[e[n]]=n;return t}var Fl=Ol;function Hl(e,t,n){return rl(t)?ol(n?e.call(n,t):e(t)):nl()}function Ll(e,t,n,r){return il(t,n)?ol(r?e.call(r,t,n):e(t,n)):nl()}function Bl(e,t,n,r,o){var i=il(t,n);return rl(r)||i?ol(o?e.call(o,t,n,r):e(t,n,r)):nl()}function zl(e,t,n,r,o,i){return al(t,n,r,o)?ol(i?e.call(i,t,n,r,o):e(t,n,r,o)):nl()}function Ul(e,t,n){for(var r=!1,o=0;o<t.length;o++)rl(t[o])&&(r=!0);return r?ol(e.apply(n,t)):nl()}
|
|
536
544
|
/**
|
|
537
545
|
* @license
|
|
538
546
|
* Copyright Google Inc. All Rights Reserved.
|
|
539
547
|
*
|
|
540
548
|
* Use of this source code is governed by an MIT-style license that can be
|
|
541
549
|
* found in the LICENSE file at https://angular.io/license
|
|
542
|
-
*/function Ql(e){return
|
|
550
|
+
*/function Ql(e){return sl().data[e].pure}
|
|
543
551
|
/**
|
|
544
552
|
* @license
|
|
545
553
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -567,7 +575,7 @@ var pl="__NG_ELEMENT_ID__",hl=256,vl=0;function gl(){return yl(cu())}function yl
|
|
|
567
575
|
*
|
|
568
576
|
* Use of this source code is governed by an MIT-style license that can be
|
|
569
577
|
* found in the LICENSE file at https://angular.io/license
|
|
570
|
-
*/var Zl=function(){function e(e){this.shallow=null,this.deep=null,this.deep=null==e?null:e}return e.prototype.track=function(e,t,n,r){n?this.deep=$l(this.deep,e,t,null!=r?r:null):this.shallow=$l(this.shallow,e,t,null!=r?r:null)},e.prototype.child=function(){return null===this.deep?null:null===this.shallow?this:new e(this.deep)},e.prototype.container=function(){for(var t=null,n=this.deep;n;){var r=[];n.values.push(r);var o={next:null,list:n.list,predicate:n.predicate,values:r};o.next=t,t=o,n=n.next}return t?new e(t):null},e.prototype.enterView=function(t){for(var n=null,r=this.deep;r;){var o=[];r.values.splice(t,0,o);var i={next:null,list:r.list,predicate:r.predicate,values:o};i.next=n,n=i,r=r.next}return n?new e(n):null},e.prototype.addNode=function(e){Gl(this.shallow,e),Gl(this.deep,e)},e.prototype.removeView=function(e){for(var t=this.deep;t;)t.values.splice(e,1)[0].length&&t.list.setDirty(),t=t.next},e}();function ql(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 Kl(e,t){for(var n=e.view.tView.directives,r=e.tNode.flags,o=r>>13,i=o+(
|
|
578
|
+
*/var Zl=function(){function e(e){this.shallow=null,this.deep=null,this.deep=null==e?null:e}return e.prototype.track=function(e,t,n,r){n?this.deep=$l(this.deep,e,t,null!=r?r:null):this.shallow=$l(this.shallow,e,t,null!=r?r:null)},e.prototype.child=function(){return null===this.deep?null:null===this.shallow?this:new e(this.deep)},e.prototype.container=function(){for(var t=null,n=this.deep;n;){var r=[];n.values.push(r);var o={next:null,list:n.list,predicate:n.predicate,values:r};o.next=t,t=o,n=n.next}return t?new e(t):null},e.prototype.enterView=function(t){for(var n=null,r=this.deep;r;){var o=[];r.values.splice(t,0,o);var i={next:null,list:r.list,predicate:r.predicate,values:o};i.next=n,n=i,r=r.next}return n?new e(n):null},e.prototype.addNode=function(e){Gl(this.shallow,e),Gl(this.deep,e)},e.prototype.removeView=function(e){for(var t=this.deep;t;)t.values.splice(e,1)[0].length&&t.list.setDirty(),t=t.next},e}();function ql(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 Kl(e,t){for(var n=e.view.tView.directives,r=e.tNode.flags,o=r>>13,i=o+(4095&r),a=o;a<i;a++){var s=n[a];if(s.type===t&&s.diPublic)return a}return null}function Wl(e,t,n,r){if(n instanceof El)return n.read(e,t,r);var o=Kl(t,n);return null!==o?t.view.directives[o]:null}function Gl(e,t){for(var n=wl(t);e;){var r=e.predicate,o=r.type;if(o)null!==(s=Kl(t,o))&&null!==(u=Wl(n,t,r.read||o,s))&&Yl(e,u);else for(var i=r.selector,a=0;a<i.length;a++){var s,u;null!==(s=ql(t.tNode,i[a]))&&null!==(u=Wl(n,t,r.read,s))&&Yl(e,u)}e=e.next}}function Yl(e,t){e.values.push(t),e.list.setDirty()}function $l(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}}var Jl=function(){function e(){this.dirty=!0,this.changes=new cn,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[U()]=function(){return this._values[U()]()},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}(),Xl="__SANITIZER_TRUSTED_BRAND__";function ec(e,t){var n=new String(e);return n[Xl]=t,n}
|
|
571
579
|
/**
|
|
572
580
|
* @license
|
|
573
581
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -602,14 +610,14 @@ var pl="__NG_ELEMENT_ID__",hl=256,vl=0;function gl(){return yl(cu())}function yl
|
|
|
602
610
|
*
|
|
603
611
|
* Use of this source code is governed by an MIT-style license that can be
|
|
604
612
|
* found in the LICENSE file at https://angular.io/license
|
|
605
|
-
*/e.ɵangular_packages_core_core_j=
|
|
613
|
+
*/e.ɵangular_packages_core_core_j=Vr,e.ɵangular_packages_core_core_k=Sr,e.ɵangular_packages_core_core_l=Mr,e.ɵangular_packages_core_core_f=Nt,e.ɵangular_packages_core_core_g=Rr,e.ɵangular_packages_core_core_h=hr,e.ɵangular_packages_core_core_i=Cr,e.ɵangular_packages_core_core_c=dt,e.ɵangular_packages_core_core_d=et,e.ɵangular_packages_core_core_e=it,e.ɵangular_packages_core_core_m=rn,e.ɵangular_packages_core_core_o=Xt,e.ɵangular_packages_core_core_n=Jt,e.ɵangular_packages_core_core_r=nn,e.ɵangular_packages_core_core_p=en,e.ɵangular_packages_core_core_q=tn,e.ɵangular_packages_core_core_v=Cl,e.ɵangular_packages_core_core_x=Pl,e.ɵangular_packages_core_core_w=xl,e.ɵangular_packages_core_core_u=_l,e.ɵangular_packages_core_core_y=Rl,e.ɵangular_packages_core_core_bb=rl,e.ɵangular_packages_core_core_bd=il,e.ɵangular_packages_core_core_be=al,e.ɵangular_packages_core_core_bc=ol,e.ɵangular_packages_core_core_ba=nl,e.ɵangular_packages_core_core_z=yu,e.ɵangular_packages_core_core_a=y,e.ɵangular_packages_core_core_b=m,e.ɵangular_packages_core_core_s=qi,e.ɵangular_packages_core_core_t=Co,e.createPlatform=Nn,e.assertPlatform=Tn,e.destroyPlatform=function tc(){yn&&!yn.destroyed&&yn.destroy()},e.getPlatform=Rn,e.PlatformRef=Dn,e.ApplicationRef=An,e.enableProdMode=function nc(){if(xn)throw new Error("Cannot enable prod mode after platform setup.");Cn=!1},e.isDevMode=In,e.createPlatformFactory=Pn,e.NgProbeToken=En,e.APP_ID=Et,e.PACKAGE_ROOT_URL=At,e.PLATFORM_INITIALIZER=Rt,e.PLATFORM_ID=Dt,e.APP_BOOTSTRAP_LISTENER=Ot,e.APP_INITIALIZER=kt,e.ApplicationInitStatus=It,e.DebugElement=rr,e.DebugNode=nr,e.asNativeElements=function rc(e){return e.map(function(e){return e.nativeElement})},e.getDebugNode=sr,e.Testability=_n,e.TestabilityRegistry=wn,e.setTestabilityGetter=function oc(e){bn=e},e.TRANSLATIONS=Ar,e.TRANSLATIONS_FORMAT=jr,e.LOCALE_ID=Or,e.ApplicationModule=Fr,e.wtfCreateScope=an,e.wtfLeave=sn,e.wtfStartTimeRange=un,e.wtfEndTimeRange=ln,e.Type=V,e.EventEmitter=cn,e.ErrorHandler=qe,e.Sanitizer=ho,e.ANALYZE_FOR_ENTRY_COMPONENTS=C,e.Attribute=x,e.ContentChild=I,e.ContentChildren=k,e.Query=b,e.ViewChild=N,e.ViewChildren=E,e.Component=T,e.Directive=P,e.HostBinding=A,e.HostListener=j,e.Input=D,e.Output=O,e.Pipe=R,e.CUSTOM_ELEMENTS_SCHEMA={name:"custom-elements"},e.NO_ERRORS_SCHEMA={name:"no-errors-schema"},e.NgModule=Me,e.Version=Fe,e.VERSION=He,e.defineInjectable=l,e.defineInjector=c,e.forwardRef=X,e.resolveForwardRef=ee,e.Injectable=Se,e.inject=Pe,e.INJECTOR=le,e.Injector=de,e.ReflectiveInjector=ct,e.createInjector=function ic(e,t){return void 0===t&&(t=null),t=t||yt(),new mt(e,t)},e.ResolvedReflectiveFactory=rt,e.ReflectiveKey=$e,e.InjectionToken=d,e.Inject=te,e.Optional=ne,e.Self=re,e.SkipSelf=oe,e.Host=ie,e.NgZone=dn,e.RenderComponentType=Sn,e.Renderer=Fn,e.Renderer2=Bn,e.RendererFactory2=Ln,e.RootRenderer=Hn,e.COMPILER_OPTIONS=Ft,e.Compiler=Mt,e.CompilerFactory=Ht,e.ModuleWithComponentFactories=Vt,e.ComponentFactory=Bt,e.ComponentRef=Lt,e.ComponentFactoryResolver=Kt,e.ElementRef=zn,e.NgModuleFactory=$t,e.NgModuleRef=Yt,e.NgModuleFactoryLoader=Un,e.getModuleFactory=function ac(e){var t=Qn.get(e);if(!t)throw new Error("No module with ID "+e+" loaded");return t}
|
|
606
614
|
/**
|
|
607
615
|
* @license
|
|
608
616
|
* Copyright Google Inc. All Rights Reserved.
|
|
609
617
|
*
|
|
610
618
|
* Use of this source code is governed by an MIT-style license that can be
|
|
611
619
|
* found in the LICENSE file at https://angular.io/license
|
|
612
|
-
*/,e.QueryList=
|
|
620
|
+
*/,e.QueryList=Zn,e.SystemJsNgModuleLoader=Wn,e.SystemJsNgModuleLoaderConfig=qn,e.TemplateRef=$n,e.ViewContainerRef=Jn,e.EmbeddedViewRef=er,e.ViewRef=Xn,e.ChangeDetectorRef=Yn,e.DefaultIterableDiffer=gr,e.IterableDiffers=Ir,e.KeyValueDiffers=Er,e.SimpleChange=dr,e.WrappedValue=cr,e.platformCore=Dr,e.ɵALLOW_MULTIPLE_PLATFORMS=kn,e.ɵAPP_ID_RANDOM_PROVIDER=Pt,e.ɵdefaultIterableDiffers=Tr,e.ɵdevModeEqual=lr,e.ɵisListLikeIterable=fr,e.ɵisDefaultChangeDetectionStrategy=function sc(t){return null==t||t===e.ChangeDetectionStrategy.Default},e.ɵConsole=jt,e.ɵinject=Pe,e.ɵsetCurrentInjector=Ne,e.ɵAPP_ROOT=ft,e.ɵComponentFactory=Bt,e.ɵCodegenComponentFactoryResolver=Wt,e.ɵReflectionCapabilities=Y,e.ɵRenderDebugInfo=Mn,e.ɵ_sanitizeHtml=so,e.ɵ_sanitizeStyle=po,e.ɵ_sanitizeUrl=zr,e.ɵglobal=L,e.ɵlooseIdentical=Z,e.ɵstringify=q,e.ɵmakeDecorator=v,e.ɵisObservable=function uc(e){return!!e&&"function"==typeof e.subscribe},e.ɵisPromise=xt,e.ɵclearOverrides=function lc(){return Sa(),xo.clearOverrides()},e.ɵoverrideComponentView=function cc(e,t){return Sa(),xo.overrideComponentView(e,t)},e.ɵoverrideProvider=
|
|
613
621
|
/**
|
|
614
622
|
* @license
|
|
615
623
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -617,14 +625,14 @@ var pl="__NG_ELEMENT_ID__",hl=256,vl=0;function gl(){return yl(cu())}function yl
|
|
|
617
625
|
* Use of this source code is governed by an MIT-style license that can be
|
|
618
626
|
* found in the LICENSE file at https://angular.io/license
|
|
619
627
|
*/
|
|
620
|
-
function
|
|
628
|
+
function dc(e){return Sa(),xo.overrideProvider(e)},e.ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR=ea,e.ɵdefineComponent=Ol,e.ɵdefineDirective=Fl,e.ɵdefinePipe=function fc(e){return{name:e.name,n:e.factory,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}
|
|
621
629
|
/**
|
|
622
630
|
* @license
|
|
623
631
|
* Copyright Google Inc. All Rights Reserved.
|
|
624
632
|
*
|
|
625
633
|
* Use of this source code is governed by an MIT-style license that can be
|
|
626
634
|
* found in the LICENSE file at https://angular.io/license
|
|
627
|
-
*/,e.ɵdetectChanges=
|
|
635
|
+
*/,e.ɵdetectChanges=Yu,e.ɵrenderComponent=function pc(e,t){void 0===t&&(t={});var n,r=t.rendererFactory||Ds,o=e.ngComponentDef;o.type!=e&&(o.type=e);var i=o.selectors[0][0],a=Mu(r,t.host||i),s={component:null,scheduler:t.scheduler||requestAnimationFrame.bind(window),clean:cl},u=Iu(-1,r.createRenderer(a,o.rendererType),Vu(null,null),null,s,o.onPush?4:2);u.injector=t.injector||null;var l,c=wu(u,null);try{r.begin&&r.begin(),l=function d(e,t,n){!function r(){ou=!1,ru=null}();var o=Nu(0,3,t,Iu(-1,tu,ju(n.template,n.directiveDefs,n.pipeDefs),null,null,n.onPush?4:2));return _u&&(o.tNode=Fu(e,null,null),o.tNode.flags=4096,n.diPublic&&n.diPublic(n),gu.tView.directives=[n]),o}(i,a,o),n=s.component=Bu(0,o.factory(),o),Ou(l.nodeInjector,n,l.data),t.hostFeatures&&t.hostFeatures.forEach(function(e){return e(n,o)}),ku(),xu(dl),$u(l.data,l,o,n)}finally{bu(c),r.end&&r.end()}return n},e.ɵdirectiveInject=function hc(e,t){return void 0===t&&(t=0),xl(_l(),e,t)},e.ɵinjectTemplateRef=function vc(){return Rl(_l())},e.ɵinjectViewContainerRef=function gc(){return Pl(_l())},e.ɵinjectChangeDetectorRef=function yc(){return Cl(_l(),null)},e.ɵinjectAttribute=function mc(e){var t=cu().tNode.attrs;if(t)for(var n=0;n<t.length;n+=2)if(t[n]==e)return t[n+1]},e.ɵPublicFeature=function _c(e){e.diPublic=bl},e.ɵNgOnChangesFeature=function wc(e){return function(n){var r=n.inputs,o=n.type.prototype;Object.defineProperty(o,Vl,{value:void 0,writable:!0});var i=function(t){var n=r[t],i=e&&e[n]||t,a=Vl+n;Object.defineProperty(o,a,{value:void 0,writable:!0});var s=Object.getOwnPropertyDescriptor(o,n);Object.defineProperty(o,n,{get:function(){return s&&s.get?s.get.call(this):this[a]},set:function(e){var t=this[Vl],n=void 0===t;null==t&&(t=this[Vl]={}),t[i]=new dr(this[a],e,n),s&&s.set?s.set.call(this,e):this[a]=e}})};for(var a in r)i(a);null!=n.onInit&&(n.onInit=t(n.onInit)),n.doCheck=t(n.doCheck)};function t(e){return function(){var t=this[Vl];null!=t&&(this.ngOnChanges(t),this[Vl]=null),e&&e.apply(this)}}},e.ɵmarkDirty=function bc(e){Wu(ll(e).view)},e.ɵNC=Ju,e.ɵC=function Cc(e,t,n,r,o){var i=zu(ou?ru:ru.parent,gu,t),a=Nu(e,0,void 0,i);Ku(gu,a.data),Ru(e,n||null,r,o,[]),ou=!1;var s=a.queries;s&&(s.addNode(a),i.queries=s.container())},e.ɵE=function xc(e,t,n,r){var o=tu.createElement(t),i=Nu(e,3,o,null);return n&&Su(o,n),qs(i.parent,o,gu),Ru(e,t,n,r,null),o},e.ɵL=function kc(e,t,n){void 0===n&&(n=!1);var r=ru,o=r.native,i=vu||(vu=gu.cleanup=[]);if(Rs(tu)){var a=function s(e,t){return function(n){return Wu(e),t(n)}}(gu,t),u=tu.listen(o,e,a);i.push(u,null)}else a=function l(e,t){return function n(r){Wu(e),!1===t(r)&&(r.preventDefault(),r.returnValue=!1)}}(gu,t),o.addEventListener(e,a,n),i.push(e,o,a,n);var c=r.tNode;void 0===c.outputs&&(c.outputs=Hu(r.tNode.flags,1));var d,f=c.outputs;f&&(d=f[e])&&function p(e,t){for(var n=0;n<e.length;n+=2){var r=hu[e[n]][e[n+1]].subscribe(t);vu.push(r.unsubscribe,r)}}(d,t)},e.ɵT=function Ic(e,t){var n=null!=t?Fs(t,tu):null,r=Nu(e,3,n);ou=!1,qs(r.parent,n,gu)},e.ɵV=function Ec(e){var t=ou?ru:ru.parent,n=t.data,r=function o(e,t,n){for(var r=e.data.views,o=t;o<r.length;o++){var i=r[o].data.id;if(i===n)return r[o];if(!(i<n))break;Bs(e,o)}return null}(t,n.nextIndex,e);if(r)ru=r,ou=!0,wu(r.data,r);else{var i=Iu(e,tu,function a(e,t){var n=t.tNode.data;if(e>=n.length||null==n[e]){var r=gu.tView;n[e]=Vu(r.directiveRegistry,r.pipeRegistry)}return n[e]}(e,t),null,null,2);n.queries&&(i.queries=n.queries.enterView(n.nextIndex)),wu(i,r=Nu(null,2,null,i))}return Tu(r.data)},e.ɵQ=function Nc(e,t,n,r){var o=new Jl;return function i(e){return du||(du=new e)}(Zl).track(o,t,n,r),null!=e&&el(e,o),o},e.ɵd=function Pc(e){return hu[e]},e.ɵP=function Tc(e,t,n,r){void 0===n&&(n=0);var o=Nu(e,1,null,{head:null,tail:null});null==o.tNode&&(o.tNode=Fu(null,r||null,null)),ou=!1;for(var i=o.parent,a=qu(gu).data.data[t][n],s=0;s<a.length;s++)if(1===(l=a[s]).type){var u=l.data;Zu(o,u.head,u.tail)}else Zu(o,l,l);if(Zs(i,gu))for(var l=o.data.head,c=o.data.tail;l;)Ks(l,i,gu),l=l===c?null:l.pNextOrParent},e.ɵb=function Rc(e){if(gu.bindingStartIndex<0)return Xu(),pu[gu.bindingIndex++]=e;var t=e!==Ju&&Os(pu[gu.bindingIndex],e);return t&&(eu(fu,mu,pu[gu.bindingIndex],e),pu[gu.bindingIndex]=e),gu.bindingIndex++,t?e:Ju},e.ɵi1=function Dc(e,t,n){return rl(t)?e+As(t)+n:Ju},e.ɵi2=function Oc(e,t,n,r,o){return il(t,r)?e+As(t)+n+As(r)+o:Ju},e.ɵi3=function Ac(e,t,n,r,o,i,a){var s=il(t,r);return(s=rl(i)||s)?e+As(t)+n+As(r)+o+As(i)+a:Ju},e.ɵi4=function jc(e,t,n,r,o,i,a,s,u){return al(t,r,i,s)?e+As(t)+n+As(r)+o+As(i)+a+As(s)+u:Ju},e.ɵi5=function Vc(e,t,n,r,o,i,a,s,u,l,c){var d=al(t,r,i,s);return(d=rl(l)||d)?e+As(t)+n+As(r)+o+As(i)+a+As(s)+u+As(l)+c:Ju},e.ɵi6=function Sc(e,t,n,r,o,i,a,s,u,l,c,d,f){var p=al(t,r,i,s);return(p=il(l,d)||p)?e+As(t)+n+As(r)+o+As(i)+a+As(s)+u+As(l)+c+As(d)+f:Ju},e.ɵi7=function Mc(e,t,n,r,o,i,a,s,u,l,c,d,f,p,h){var v=al(t,r,i,s);return v=il(l,d)||v,(v=rl(p)||v)?e+As(t)+n+As(r)+o+As(i)+a+As(s)+u+As(l)+c+As(d)+f+As(p)+h:Ju},e.ɵi8=function Fc(e,t,n,r,o,i,a,s,u,l,c,d,f,p,h,v,g){var y=al(t,r,i,s);return(y=al(l,d,p,v)||y)?e+As(t)+n+As(r)+o+As(i)+a+As(s)+u+As(l)+c+As(d)+f+As(p)+h+As(v)+g:Ju},e.ɵiV=function Hc(e){for(var t=!1,n=1;n<e.length;n+=2)rl(e[n])&&(t=!0);if(!t)return Ju;var r=e[0];for(n=1;n<e.length;n+=2)r+=As(e[n])+e[n+1];return r},e.ɵpb1=function Lc(e,t){var n=tl(e);return Ql(e)?Hl(n.transform,t,n):n.transform(t)},e.ɵpb2=function Bc(e,t,n){var r=tl(e);return Ql(e)?Ll(r.transform,t,n,r):r.transform(t,n)},e.ɵpb3=function zc(e,t,n,r){var o=tl(e);return Ql(e)?Bl(o.transform.bind(o),t,n,r):o.transform(t,n,r)},e.ɵpb4=function Uc(e,t,n,r,o){var i=tl(e);return Ql(e)?zl(i.transform,t,n,r,o,i):i.transform(t,n,r,o)},e.ɵpbV=function Qc(e,t){var n=tl(e);return Ql(e)?Ul(n.transform,t,n):n.transform.apply(n,t)},e.ɵf0=function Zc(e,t){return yu()?ol(t?e.call(t):e()):nl()},e.ɵf1=Hl,e.ɵf2=Ll,e.ɵf3=Bl,e.ɵf4=zl,e.ɵf5=function qc(e,t,n,r,o,i,a){var s=al(t,n,r,o);return rl(i)||s?ol(a?e.call(a,t,n,r,o,i):e(t,n,r,o,i)):nl()},e.ɵf6=function Kc(e,t,n,r,o,i,a,s){var u=al(t,n,r,o);return il(i,a)||u?ol(s?e.call(s,t,n,r,o,i,a):e(t,n,r,o,i,a)):nl()},e.ɵf7=function Wc(e,t,n,r,o,i,a,s,u){var l=al(t,n,r,o);return l=il(i,a)||l,rl(s)||l?ol(u?e.call(u,t,n,r,o,i,a,s):e(t,n,r,o,i,a,s)):nl()},e.ɵf8=function Gc(e,t,n,r,o,i,a,s,u,l){var c=al(t,n,r,o);return al(i,a,s,u)||c?ol(l?e.call(l,t,n,r,o,i,a,s,u):e(t,n,r,o,i,a,s,u)):nl()},e.ɵfV=Ul,e.ɵcR=function Yc(e){ou=!0,(ru=pu[e]).data.nextIndex=0,mu||Is(gu,gu.tView,fu)},e.ɵcr=function $c(){ou?ou=!1:ru=ru.parent;var e=ru;e.native=void 0;for(var t=e.data.nextIndex;t<e.data.views.length;)Bs(e,t)},e.ɵqR=function Jc(e){return!!e.dirty&&(e.reset(e._valuesTree),e.notifyOnChanges(),!0)}
|
|
628
636
|
/**
|
|
629
637
|
* @license
|
|
630
638
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -638,15 +646,7 @@ function yc(e){return Fa(),Ao.overrideProvider(e)},e.ɵNOT_FOUND_CHECK_ONLY_ELEM
|
|
|
638
646
|
*
|
|
639
647
|
* Use of this source code is governed by an MIT-style license that can be
|
|
640
648
|
* found in the LICENSE file at https://angular.io/license
|
|
641
|
-
*/,e.ɵe=function
|
|
642
|
-
/**
|
|
643
|
-
* @license
|
|
644
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
645
|
-
*
|
|
646
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
647
|
-
* found in the LICENSE file at https://angular.io/license
|
|
648
|
-
*/
|
|
649
|
-
function Ed(e,t,n,r,o,i){e|=1;var a=ei(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?oi(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||jo},provider:null,text:null,query:null,ngContent:null}},e.ɵccf=function Nd(e,t,n,r,o,i){return new Ai(e,t,n,r,o,i)},e.ɵcmf=function Pd(e,t,n){return new ks(e,t,n)},e.ɵcrt=function Td(e){return{id:Fo,styles:e.styles,encapsulation:e.encapsulation,data:e.data}},e.ɵdid=function Rd(e,n,r,o,i,a,s,u){var l=[];if(s)for(var c in s){var d=t.__read(s[c],2);l[d[0]]={flags:8,name:c,nonMinifiedName:d[1],ns:null,securityContext:null,suffix:null}}var f=[];if(u)for(var p in u)f.push({type:1,propName:p,target:null,eventName:u[p]});return Gi(e,n|=16384,r,o,i,i,a,l,f)},e.ɵeld=function Ad(e,n,r,o,i,a,s,u,l,c,d,f){void 0===s&&(s=[]),c||(c=jo);var p=ei(r),h=p.matchedQueries,v=p.references,g=p.matchedQueryIds,y=null,_=null;a&&(y=(A=t.__read(di(a),2))[0],_=A[1]),u=u||[];for(var m=new Array(u.length),w=0;w<u.length;w++){var b=t.__read(u[w],3),C=b[0],x=b[2],k=t.__read(di(b[1]),2),I=k[0],E=k[1],N=void 0,P=void 0;switch(15&C){case 4:P=x;break;case 1:case 8:N=x}m[w]={flags:C,ns:I,name:E,nonMinifiedName:E,securityContext:N,suffix:P}}l=l||[];var T=new Array(l.length);for(w=0;w<l.length;w++){var R=t.__read(l[w],2);T[w]={type:0,target:R[0],eventName:R[1],propName:null}}var A,D=(s=s||[]).map(function(e){var n=t.__read(e,2),r=n[1],o=t.__read(di(n[0]),2);return[o[0],o[1],r]});return f=Bo(f),d&&(n|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:n|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:g,references:v,ngContentIndex:o,childCount:i,bindings:m,bindingFlags:fi(m),outputs:T,element:{ns:y,name:_,attrs:D,template:null,componentProvider:null,componentView:d||null,componentRendererType:f,publicProviders:null,allProviders:null,handleEvent:c||jo},provider:null,text:null,query:null,ngContent:null}},e.ɵelementEventFullName=$o,e.ɵgetComponentViewDefinitionFactory=Ri,e.ɵinlineInterpolate=function Dd(e,t,n,r,o,i,a,s,u,l,c,d,f,p,h,v,g,y,_,m){switch(e){case 1:return t+pi(n)+r;case 2:return t+pi(n)+r+pi(o)+i;case 3:return t+pi(n)+r+pi(o)+i+pi(a)+s;case 4:return t+pi(n)+r+pi(o)+i+pi(a)+s+pi(u)+l;case 5:return t+pi(n)+r+pi(o)+i+pi(a)+s+pi(u)+l+pi(c)+d;case 6:return t+pi(n)+r+pi(o)+i+pi(a)+s+pi(u)+l+pi(c)+d+pi(f)+p;case 7:return t+pi(n)+r+pi(o)+i+pi(a)+s+pi(u)+l+pi(c)+d+pi(f)+p+pi(h)+v;case 8:return t+pi(n)+r+pi(o)+i+pi(a)+s+pi(u)+l+pi(c)+d+pi(f)+p+pi(h)+v+pi(g)+y;case 9:return t+pi(n)+r+pi(o)+i+pi(a)+s+pi(u)+l+pi(c)+d+pi(f)+p+pi(h)+v+pi(g)+y+pi(_)+m;default:throw new Error("Does not support more than 9 expressions")}},e.ɵinterpolate=function Od(e,t){for(var n="",r=0;r<2*e;r+=2)n=n+t[r]+pi(t[r+1]);return n+t[2*e]},e.ɵmod=function Vd(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===ft&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[Mo(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}},e.ɵmpd=function jd(e,t,n,r){return n=Y(n),{index:-1,deps:ti(r,z(t)),flags:e,token:t,value:n}},e.ɵncd=function Sd(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 Md(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=No(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Eo(e,n.nodeIndex).renderText;if(20240&n.flags)return Po(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)},e.ɵpid=function Fd(e,t,n){return Gi(-1,e|=16,null,0,t,t,n)},e.ɵprd=function Hd(e,t,n,r,o){return Gi(-1,e,t,0,n,r,o)},e.ɵpad=function Ld(e,t){return ha(32,e,new Array(t))},e.ɵpod=function Bd(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 ha(64,e,o)},e.ɵppd=
|
|
649
|
+
*/,e.ɵe=function Xc(){ou?ou=!1:ru=ru.parent;var e=ru.queries;e&&e.addNode(ru),function t(e,n){var r=n.tView;if(!0===r.firstTemplatePass)for(var o=e>>13,i=o+(4095&e),a=o;a<i;a++){var s=r.directives[a];Cs(s,r,a),xs(s,r,a),ks(s,r,a)}}(ru.tNode.flags,gu)},e.ɵp=function ed(e,t,n,r){if(n!==Ju){var o=pu[e],i=o.tNode;i&&void 0===i.inputs&&(i.inputs=Hu(o.tNode.flags,0));var a,s=i&&i.inputs;if(s&&(a=s[t]))!function u(e,t){for(var n=0;n<e.length;n+=2)hu[e[n]][e[n+1]]=t}(a,n),function l(e){!e.data||2&e.data.flags||(e.data.flags|=4)}(o);else{n=null!=r?r(n):n;var c=o.native;Rs(tu)?tu.setProperty(c,t,n):c.setProperty?c.setProperty(t,n):c[t]=n}}},e.ɵpD=function td(e,t,n){for(var r=t?t.length+1:1,o=new Array(r),i=0;i<r;i++)o[i]=[];for(var a=qu(gu).child;null!==a;)t&&a.tNode?o[Js(a.tNode,t,n)].push(a):o[0].push(a),a=a.next;pu[e]=o},e.ɵa=function nd(e,t,n,r){if(n!==Ju){var o=pu[e];if(null==n)Rs(tu)?tu.removeAttribute(o.native,t):o.native.removeAttribute(t);else{var i=null==r?As(n):r(n);Rs(tu)?tu.setAttribute(o.native,t,i):o.native.setAttribute(t,i)}}},e.ɵs=function rd(e,t){if(t!==Ju){var n=pu[e];if(Rs(tu))tu.setProperty(n.native,"style",t);else for(var r=n.native.style,o=0,i=Object.keys(t);o<i.length;o++){var a=i[o],s=t[a];null==s?r.removeProperty(a):r.setProperty(a,s)}}},e.ɵsn=function od(e,t,n,r){if(n!==Ju){var o=pu[e];if(null==n)Rs(tu)?tu.removeStyle(o.native,t,Ps.DashCase):o.native.style.removeProperty(t);else{var i="function"==typeof r?r(n):As(n);"string"==typeof r&&(i+=r),Rs(tu)?tu.setStyle(o.native,t,i,Ps.DashCase):o.native.style.setProperty(t,i)}}},e.ɵk=function id(e,t){if(t!==Ju){var n=pu[e];Rs(tu)?tu.setProperty(n.native,"className",t):n.native.className=As(t)}},e.ɵkn=function ad(e,t,n){if(n!==Ju){var r=pu[e];n?Rs(tu)?tu.addClass(r.native,t):r.native.classList.add(t):Rs(tu)?tu.removeClass(r.native,t):r.native.classList.remove(t)}},e.ɵt=function sd(e,t){var n=pu[e];n.native?t!==Ju&&(Rs(tu)?tu.setValue(n.native,As(t)):n.native.textContent=As(t)):(n.native=Fs(t,tu),function r(e,t){var n=e.parent;if(Zs(n,t)){var r=js(e,null),o=t.renderer;Rs(o)?o.insertBefore(n.native,e.native,r):n.native.insertBefore(e.native,r,!1)}}(n,gu))},e.ɵv=function ud(){Cu(),ou=!1;var e=ru=gu.node,t=ru.parent;if(t){var n=t.data;fu&&(function r(e,t){if(null!=e)for(var n=t.child;n;){if(1===n.type)for(var r=n.data.head,o=n.data.tail;r;)r.dynamicLContainerNode&&(r.dynamicLContainerNode.data.renderParent=e),r=r===o?null:r.pNextOrParent;n=n.next}}(n.renderParent,e),Ls(t,e,n.nextIndex)),n.nextIndex++}bu(gu.parent)},e.ɵst=el,e.ɵld=tl,e.ɵPp=function ld(e,t){var n,r=sl();r.firstTemplatePass?(n=function o(e,t){if(t)for(var n=0;n<t.length;n++){var r=t[n];if(e===r.name)return r}throw new Error("Pipe with name '"+e+"' not found!")}(t,r.pipeRegistry),r.data[e]=n,n.onDestroy&&(r.pipeDestroyHooks||(r.pipeDestroyHooks=[])).push(e,n.onDestroy)):n=r.data[e];var i=n.n();return el(e,i),i},e.ɵwhenRendered=function cd(e){return function t(e){return Gu(e).context}(e).clean},e.ɵbypassSanitizationTrustHtml=function dd(e){return ec(e,"Html")},e.ɵbypassSanitizationTrustStyle=function fd(e){return ec(e,"Style")},e.ɵbypassSanitizationTrustScript=function pd(e){return ec(e,"Script")},e.ɵbypassSanitizationTrustUrl=function hd(e){return ec(e,"Url")},e.ɵbypassSanitizationTrustResourceUrl=function vd(e){return ec(e,"ResourceUrl")},e.ɵsanitizeHtml=function gd(e){return e instanceof String&&"Html"===e[Xl]?e.toString():so(document,As(e))},e.ɵsanitizeStyle=function yd(e){return e instanceof String&&"Style"===e[Xl]?e.toString():po(As(e))},e.ɵsanitizeUrl=function md(e){return e instanceof String&&"Url"===e[Xl]?e.toString():zr(As(e))},e.ɵsanitizeResourceUrl=function _d(e){if(e instanceof String&&"ResourceUrl"===e[Xl])return e.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")},e.ɵregisterModuleFactory=function wd(e,t){var n=Qn.get(e);if(n)throw new Error("Duplicate module registered for "+e+" - "+n.moduleType.name+" vs "+t.moduleType.name);Qn.set(e,t)},e.ɵEMPTY_ARRAY=[],e.ɵEMPTY_MAP={},e.ɵand=
|
|
650
650
|
/**
|
|
651
651
|
* @license
|
|
652
652
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -654,4 +654,4 @@ function Ed(e,t,n,r,o,i){e|=1;var a=ei(t);return{nodeIndex:-1,parent:null,render
|
|
|
654
654
|
* Use of this source code is governed by an MIT-style license that can be
|
|
655
655
|
* found in the LICENSE file at https://angular.io/license
|
|
656
656
|
*/
|
|
657
|
-
function
|
|
657
|
+
function bd(e,t,n,r,o,i){e|=1;var a=Ko(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?$o(i):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:o||No},provider:null,text:null,query:null,ngContent:null}},e.ɵccf=function Cd(e,t,n,r,o,i){return new ki(e,t,n,r,o,i)},e.ɵcmf=function xd(e,t,n){return new bs(e,t,n)},e.ɵcrt=function kd(e){return{id:Ro,styles:e.styles,encapsulation:e.encapsulation,data:e.data}},e.ɵdid=function Id(e,t,n,r,o,i,a,u){var l=[];if(a)for(var c in a){var d=s(a[c],2);l[d[0]]={flags:8,name:c,nonMinifiedName:d[1],ns:null,securityContext:null,suffix:null}}var f=[];if(u)for(var p in u)f.push({type:1,propName:p,target:null,eventName:u[p]});return qi(e,t|=16384,n,r,o,o,i,l,f)},e.ɵeld=function Ed(e,t,n,r,o,i,a,u,l,c,d,f){void 0===a&&(a=[]),c||(c=No);var p=Ko(n),h=p.matchedQueries,v=p.references,g=p.matchedQueryIds,y=null,m=null;i&&(y=(D=s(oi(i),2))[0],m=D[1]),u=u||[];for(var _=new Array(u.length),w=0;w<u.length;w++){var b=s(u[w],3),C=b[0],x=b[2],k=s(oi(b[1]),2),I=k[0],E=k[1],N=void 0,P=void 0;switch(15&C){case 4:P=x;break;case 1:case 8:N=x}_[w]={flags:C,ns:I,name:E,nonMinifiedName:E,securityContext:N,suffix:P}}l=l||[];var T=new Array(l.length);for(w=0;w<l.length;w++){var R=s(l[w],2);T[w]={type:0,target:R[0],eventName:R[1],propName:null}}var D,O=(a=a||[]).map(function(e){var t=s(e,2),n=t[1],r=s(oi(t[0]),2);return[r[0],r[1],n]});return f=Ao(f),d&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:g,references:v,ngContentIndex:r,childCount:o,bindings:_,bindingFlags:ii(_),outputs:T,element:{ns:y,name:m,attrs:O,template:null,componentProvider:null,componentView:d||null,componentRendererType:f,publicProviders:null,allProviders:null,handleEvent:c||No},provider:null,text:null,query:null,ngContent:null}},e.ɵelementEventFullName=Uo,e.ɵgetComponentViewDefinitionFactory=xi,e.ɵinlineInterpolate=function Nd(e,t,n,r,o,i,a,s,u,l,c,d,f,p,h,v,g,y,m,_){switch(e){case 1:return t+ai(n)+r;case 2:return t+ai(n)+r+ai(o)+i;case 3:return t+ai(n)+r+ai(o)+i+ai(a)+s;case 4:return t+ai(n)+r+ai(o)+i+ai(a)+s+ai(u)+l;case 5:return t+ai(n)+r+ai(o)+i+ai(a)+s+ai(u)+l+ai(c)+d;case 6:return t+ai(n)+r+ai(o)+i+ai(a)+s+ai(u)+l+ai(c)+d+ai(f)+p;case 7:return t+ai(n)+r+ai(o)+i+ai(a)+s+ai(u)+l+ai(c)+d+ai(f)+p+ai(h)+v;case 8:return t+ai(n)+r+ai(o)+i+ai(a)+s+ai(u)+l+ai(c)+d+ai(f)+p+ai(h)+v+ai(g)+y;case 9:return t+ai(n)+r+ai(o)+i+ai(a)+s+ai(u)+l+ai(c)+d+ai(f)+p+ai(h)+v+ai(g)+y+ai(m)+_;default:throw new Error("Does not support more than 9 expressions")}},e.ɵinterpolate=function Pd(e,t){for(var n="",r=0;r<2*e;r+=2)n=n+t[r]+ai(t[r+1]);return n+t[2*e]},e.ɵmod=function Td(e){for(var t={},n=[],r=!1,o=0;o<e.length;o++){var i=e[o];i.token===ft&&(r=!0),1073741824&i.flags&&n.push(i.token),i.index=o,t[To(i.token)]=i}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}},e.ɵmpd=function Rd(e,t,n,r){return n=ee(n),{index:-1,deps:Wo(r,q(t)),flags:e,token:t,value:n}},e.ɵncd=function Dd(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 Od(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=mo(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return yo(e,n.nodeIndex).renderText;if(20240&n.flags)return _o(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)},e.ɵpid=function Ad(e,t,n){return qi(-1,e|=16,null,0,t,t,n)},e.ɵprd=function jd(e,t,n,r,o){return qi(-1,e,t,0,n,r,o)},e.ɵpad=function Vd(e,t){return fa(32,e,new Array(t))},e.ɵpod=function Sd(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 fa(64,e,o)},e.ɵppd=function Md(e,t){return fa(128,e,new Array(t+1))},e.ɵqud=function Fd(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:qo(t),bindings:r},ngContent:null}},e.ɵted=function Hd(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 Ld(e,t,n,r){if(cr.isWrapped(r)){r=cr.unwrap(r);var o=e.def.nodes[t].bindingIndex+n,i=cr.unwrap(e.oldValues[o]);e.oldValues[o]=new cr(i)}return r},e.ɵvid=function Bd(e,t,n,r){for(var o=0,i=0,a=0,s=0,u=0,l=null,c=null,d=!1,f=!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,u|=v.matchedQueryIds,v.element){var g=v.element;g.publicProviders=l?l.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,d=!1,f=!1,v.element.template&&(u|=v.element.template.nodeMatchedQueries)}if(ga(l,v,t.length),o+=v.bindings.length,i+=v.outputs.length,!c&&3&v.flags&&(p=v),20224&v.flags){d||(d=!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[To(v.provider.token)]=v:(f||(f=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[To(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)):s|=v.flags,v.childCount>0)l=v,va(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)&&va(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:u,flags:e,nodes:t,updateDirectives:n||No,updateRenderer:r||No,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})});
|