@angular/core 6.0.3 → 6.0.7
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 +61 -237
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core-testing.umd.min.js +11 -4
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +591 -2007
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +4 -32
- package/bundles/core.umd.min.js.map +1 -1
- package/core.metadata.json +1 -1
- package/esm2015/core.externs.js +3 -3
- package/esm2015/src/application_init.js +2 -9
- package/esm2015/src/application_module.js +1 -10
- package/esm2015/src/application_ref.js +15 -30
- package/esm2015/src/change_detection/change_detector_ref.js +7 -5
- package/esm2015/src/change_detection/differs/iterable_differs.js +4 -3
- package/esm2015/src/change_detection/differs/keyvalue_differs.js +4 -3
- package/esm2015/src/change_detection/pipe_transform.js +3 -6
- package/esm2015/src/console.js +0 -11
- package/esm2015/src/di/forward_ref.js +8 -6
- package/esm2015/src/di/injectable.js +1 -4
- package/esm2015/src/di/injection_token.js +6 -8
- package/esm2015/src/di/injector.js +5 -10
- package/esm2015/src/di/metadata.js +1 -16
- package/esm2015/src/di/provider.js +47 -138
- package/esm2015/src/di/reflective_errors.js +14 -7
- package/esm2015/src/di/reflective_injector.js +22 -24
- package/esm2015/src/di/reflective_provider.js +11 -12
- package/esm2015/src/error_handler.js +2 -5
- package/esm2015/src/event_emitter.js +6 -3
- package/esm2015/src/i18n/tokens.js +7 -4
- package/esm2015/src/linker/compiler.js +1 -12
- package/esm2015/src/linker/query_list.js +4 -4
- package/esm2015/src/linker/system_js_ng_module_factory_loader.js +3 -10
- package/esm2015/src/linker/view_ref.js +10 -7
- package/esm2015/src/metadata/di.js +10 -16
- package/esm2015/src/metadata/directives.js +111 -33
- package/esm2015/src/metadata/lifecycle_hooks.js +9 -9
- package/esm2015/src/metadata/ng_module.js +19 -11
- package/esm2015/src/render3/node_manipulation.js +2 -3
- package/esm2015/src/render3/view_ref.js +7 -3
- package/esm2015/src/testability/testability.js +2 -16
- package/esm2015/src/version.js +1 -1
- package/esm2015/src/view/ng_module.js +4 -1
- package/esm2015/src/zone/ng_zone.js +2 -1
- package/esm2015/testing/src/fake_async.js +5 -3
- package/esm2015/testing/src/fake_async_fallback.js +5 -3
- package/esm2015/testing/src/logger.js +0 -7
- package/esm2015/testing/src/metadata_override.js +1 -1
- package/esm2015/testing/src/ng_zone_mock.js +0 -7
- package/esm2015/testing/src/test_bed.js +1 -34
- package/esm2015/testing/src/test_compiler.js +1 -12
- package/esm5/index.js +5 -1
- package/esm5/public_api.js +6 -1
- package/esm5/src/application_init.js +3 -5
- package/esm5/src/application_module.js +2 -2
- package/esm5/src/application_ref.js +35 -211
- package/esm5/src/application_tokens.js +1 -1
- package/esm5/src/change_detection/change_detection.js +1 -1
- package/esm5/src/change_detection/change_detection_util.js +7 -72
- package/esm5/src/change_detection/change_detector_ref.js +1 -1
- package/esm5/src/change_detection/constants.js +1 -24
- package/esm5/src/change_detection/differs/default_iterable_differ.js +26 -209
- package/esm5/src/change_detection/differs/default_keyvalue_differ.js +7 -38
- package/esm5/src/change_detection/differs/iterable_differs.js +5 -42
- package/esm5/src/change_detection/differs/keyvalue_differs.js +6 -51
- package/esm5/src/change_detection/pipe_transform.js +1 -1
- package/esm5/src/change_detection.js +6 -1
- package/esm5/src/codegen_private_exports.js +1 -1
- package/esm5/src/console.js +2 -7
- package/esm5/src/core.js +6 -1
- package/esm5/src/core_private_export.js +1 -1
- package/esm5/src/core_render3_private_export.js +2 -1
- package/esm5/src/debug/debug_node.js +3 -15
- package/esm5/src/di/defs.js +1 -1
- package/esm5/src/di/forward_ref.js +7 -6
- package/esm5/src/di/injectable.js +2 -3
- package/esm5/src/di/injection_token.js +5 -83
- package/esm5/src/di/injector.js +13 -27
- package/esm5/src/di/metadata.js +1 -6
- package/esm5/src/di/provider.js +1 -1
- package/esm5/src/di/r3_injector.js +13 -39
- package/esm5/src/di/reflective_errors.js +14 -7
- package/esm5/src/di/reflective_injector.js +19 -265
- package/esm5/src/di/reflective_key.js +4 -45
- package/esm5/src/di/reflective_provider.js +17 -35
- package/esm5/src/di/scope.js +1 -1
- package/esm5/src/di.js +6 -1
- package/esm5/src/error_handler.js +7 -66
- package/esm5/src/errors.js +1 -1
- package/esm5/src/event_emitter.js +4 -95
- package/esm5/src/i18n/tokens.js +9 -49
- package/esm5/src/linker/compiler.js +9 -69
- package/esm5/src/linker/component_factory.js +2 -18
- package/esm5/src/linker/component_factory_resolver.js +1 -1
- package/esm5/src/linker/element_ref.js +2 -32
- package/esm5/src/linker/ng_module_factory.js +3 -25
- package/esm5/src/linker/ng_module_factory_loader.js +2 -10
- package/esm5/src/linker/query_list.js +12 -112
- package/esm5/src/linker/system_js_ng_module_factory_loader.js +4 -16
- package/esm5/src/linker/template_ref.js +2 -26
- package/esm5/src/linker/view_container_ref.js +2 -38
- package/esm5/src/linker/view_ref.js +10 -115
- package/esm5/src/linker.js +2 -1
- package/esm5/src/metadata/di.js +7 -25
- package/esm5/src/metadata/directives.js +111 -20
- package/esm5/src/metadata/lifecycle_hooks.js +1 -1
- package/esm5/src/metadata/ng_module.js +14 -9
- package/esm5/src/metadata/view.js +1 -20
- package/esm5/src/metadata.js +1 -1
- package/esm5/src/platform_core_providers.js +1 -1
- package/esm5/src/profile/profile.js +1 -1
- package/esm5/src/profile/wtf_impl.js +1 -1
- package/esm5/src/reflection/platform_reflection_capabilities.js +1 -1
- package/esm5/src/reflection/reflection.js +1 -1
- package/esm5/src/reflection/reflection_capabilities.js +3 -8
- package/esm5/src/reflection/reflector.js +2 -10
- package/esm5/src/reflection/types.js +1 -1
- package/esm5/src/render/api.js +7 -71
- package/esm5/src/render.js +2 -1
- package/esm5/src/render3/assert.js +1 -1
- package/esm5/src/render3/component.js +6 -5
- package/esm5/src/render3/definition.js +6 -8
- package/esm5/src/render3/di.js +9 -14
- package/esm5/src/render3/errors.js +1 -1
- package/esm5/src/render3/hooks.js +2 -2
- package/esm5/src/render3/index.js +11 -1
- package/esm5/src/render3/instructions.js +52 -38
- package/esm5/src/render3/interfaces/container.js +1 -1
- package/esm5/src/render3/interfaces/definition.js +1 -1
- package/esm5/src/render3/interfaces/injector.js +1 -1
- package/esm5/src/render3/interfaces/node.js +1 -1
- package/esm5/src/render3/interfaces/projection.js +1 -1
- package/esm5/src/render3/interfaces/query.js +1 -1
- package/esm5/src/render3/interfaces/renderer.js +1 -3
- package/esm5/src/render3/interfaces/view.js +1 -1
- package/esm5/src/render3/ng_dev_mode.js +1 -1
- package/esm5/src/render3/node_assert.js +1 -1
- package/esm5/src/render3/node_manipulation.js +12 -15
- package/esm5/src/render3/node_selector_matcher.js +2 -2
- package/esm5/src/render3/pipe.js +1 -1
- package/esm5/src/render3/pure_function.js +1 -1
- package/esm5/src/render3/query.js +11 -59
- package/esm5/src/render3/util.js +1 -1
- package/esm5/src/render3/view_ref.js +15 -345
- package/esm5/src/sanitization/html_sanitizer.js +8 -12
- package/esm5/src/sanitization/inert_body.js +8 -72
- package/esm5/src/sanitization/sanitization.js +1 -1
- package/esm5/src/sanitization/security.js +2 -37
- package/esm5/src/sanitization/style_sanitizer.js +1 -1
- package/esm5/src/sanitization/url_sanitizer.js +1 -1
- package/esm5/src/testability/testability.js +21 -143
- package/esm5/src/type.js +1 -1
- package/esm5/src/util/decorators.js +1 -1
- package/esm5/src/util/lang.js +1 -1
- package/esm5/src/util/property.js +1 -1
- package/esm5/src/util.js +6 -1
- package/esm5/src/version.js +3 -13
- package/esm5/src/view/element.js +7 -7
- package/esm5/src/view/entrypoint.js +1 -1
- package/esm5/src/view/errors.js +1 -1
- package/esm5/src/view/index.js +1 -1
- package/esm5/src/view/ng_content.js +1 -1
- package/esm5/src/view/ng_module.js +4 -1
- package/esm5/src/view/provider.js +12 -12
- package/esm5/src/view/pure_expression.js +1 -1
- package/esm5/src/view/query.js +6 -6
- package/esm5/src/view/refs.js +8 -14
- package/esm5/src/view/services.js +16 -20
- package/esm5/src/view/text.js +1 -1
- package/esm5/src/view/types.js +19 -41
- package/esm5/src/view/util.js +5 -5
- package/esm5/src/view/view.js +4 -6
- package/esm5/src/view/view_attach.js +5 -5
- package/esm5/src/zone/ng_zone.js +22 -257
- package/esm5/src/zone.js +2 -1
- package/esm5/testing/index.js +5 -1
- package/esm5/testing/public_api.js +6 -1
- package/esm5/testing/src/async.js +1 -1
- package/esm5/testing/src/async_fallback.js +1 -1
- package/esm5/testing/src/async_test_completer.js +2 -8
- package/esm5/testing/src/before_each.js +6 -1
- package/esm5/testing/src/component_fixture.js +9 -75
- package/esm5/testing/src/fake_async.js +12 -3
- package/esm5/testing/src/fake_async_fallback.js +5 -3
- package/esm5/testing/src/lang_utils.js +1 -1
- package/esm5/testing/src/logger.js +1 -1
- package/esm5/testing/src/metadata_override.js +1 -1
- package/esm5/testing/src/ng_zone_mock.js +1 -1
- package/esm5/testing/src/private_export_testing.js +1 -1
- package/esm5/testing/src/render3.js +1 -5
- package/esm5/testing/src/test_bed.js +20 -172
- package/esm5/testing/src/test_compiler.js +5 -43
- package/esm5/testing/src/testing.js +6 -1
- package/esm5/testing/src/testing_internal.js +3 -9
- package/fesm2015/core.js +248 -177
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +9 -13
- package/fesm2015/testing.js.map +1 -1
- package/fesm5/core.js +591 -2007
- package/fesm5/core.js.map +1 -1
- package/fesm5/testing.js +61 -237
- package/fesm5/testing.js.map +1 -1
- package/package.json +1 -1
- package/src/application_ref.d.ts +7 -8
- package/src/change_detection/change_detector_ref.d.ts +6 -4
- package/src/change_detection/differs/iterable_differs.d.ts +3 -2
- package/src/change_detection/differs/keyvalue_differs.d.ts +3 -2
- package/src/change_detection/pipe_transform.d.ts +2 -5
- package/src/di/forward_ref.d.ts +7 -5
- package/src/di/injectable.d.ts +4 -14
- package/src/di/injection_token.d.ts +5 -7
- package/src/di/injector.d.ts +7 -10
- package/src/di/metadata.d.ts +13 -86
- package/src/di/provider.d.ts +55 -150
- package/src/di/reflective_errors.d.ts +13 -6
- package/src/di/reflective_injector.d.ts +21 -23
- package/src/di/reflective_provider.d.ts +7 -8
- package/src/error_handler.d.ts +1 -4
- package/src/event_emitter.d.ts +3 -0
- package/src/i18n/tokens.d.ts +8 -4
- package/src/linker/query_list.d.ts +2 -2
- package/src/linker/view_ref.d.ts +9 -6
- package/src/metadata/di.d.ts +41 -59
- package/src/metadata/directives.d.ts +410 -460
- package/src/metadata/lifecycle_hooks.d.ts +8 -8
- package/src/metadata/ng_module.d.ts +49 -38
- package/src/render3/view_ref.d.ts +6 -2
- package/src/zone/ng_zone.d.ts +1 -0
- package/testing/src/fake_async.d.ts +4 -2
- package/testing/src/fake_async_fallback.d.ts +4 -2
- package/testing/src/metadata_override.d.ts +3 -3
- package/testing.d.ts +0 -5
- package/testing.metadata.json +1 -1
package/bundles/core.umd.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v6.0.
|
|
2
|
+
* @license Angular v6.0.7
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -39,13 +39,6 @@
|
|
|
39
39
|
* Use of this source code is governed by an MIT-style license that can be
|
|
40
40
|
* found in the LICENSE file at https://angular.io/license
|
|
41
41
|
*/
|
|
42
|
-
/**
|
|
43
|
-
* @license
|
|
44
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
45
|
-
*
|
|
46
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
47
|
-
* found in the LICENSE file at https://angular.io/license
|
|
48
|
-
*/
|
|
49
42
|
_=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
43
|
/**
|
|
51
44
|
* @license
|
|
@@ -112,13 +105,6 @@ function X(e){return e.__forward_ref__=X,e.toString=function(){return q(this())}
|
|
|
112
105
|
* Use of this source code is governed by an MIT-style license that can be
|
|
113
106
|
* found in the LICENSE file at https://angular.io/license
|
|
114
107
|
*/
|
|
115
|
-
/**
|
|
116
|
-
* @license
|
|
117
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
118
|
-
*
|
|
119
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
120
|
-
* found in the LICENSE file at https://angular.io/license
|
|
121
|
-
*/
|
|
122
108
|
Ve=e.ViewEncapsulation||(e.ViewEncapsulation={}))[Ve.Emulated=0]="Emulated",Ve[Ve.Native=1]="Native",Ve[Ve.None=2]="None";
|
|
123
109
|
/**
|
|
124
110
|
* @license
|
|
@@ -134,7 +120,7 @@ Ve=e.ViewEncapsulation||(e.ViewEncapsulation={}))[Ve.Emulated=0]="Emulated",Ve[V
|
|
|
134
120
|
* Use of this source code is governed by an MIT-style license that can be
|
|
135
121
|
* found in the LICENSE file at https://angular.io/license
|
|
136
122
|
*/
|
|
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.
|
|
123
|
+
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.7"),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
124
|
/**
|
|
139
125
|
* @license
|
|
140
126
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -193,7 +179,7 @@ var $e=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
193
179
|
* Use of this source code is governed by an MIT-style license that can be
|
|
194
180
|
* found in the LICENSE file at https://angular.io/license
|
|
195
181
|
*/
|
|
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
|
|
182
|
+
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}(),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}(),Ft=new d("compilerOptions"),Ht=function Ht(){},Lt=function Lt(){},Bt=function Bt(){};
|
|
197
183
|
/**
|
|
198
184
|
* @license
|
|
199
185
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -331,13 +317,6 @@ function Ur(e){var t,n,r={};try{for(var o=a(e.split(",")),i=o.next();!i.done;i=o
|
|
|
331
317
|
* Use of this source code is governed by an MIT-style license that can be
|
|
332
318
|
* found in the LICENSE file at https://angular.io/license
|
|
333
319
|
*/(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
|
-
/**
|
|
335
|
-
* @license
|
|
336
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
337
|
-
*
|
|
338
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
339
|
-
* found in the LICENSE file at https://angular.io/license
|
|
340
|
-
*/
|
|
341
320
|
/**
|
|
342
321
|
* @license
|
|
343
322
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -352,13 +331,6 @@ function Ur(e){var t,n,r={};try{for(var o=a(e.split(",")),i=o.next();!i.done;i=o
|
|
|
352
331
|
* Use of this source code is governed by an MIT-style license that can be
|
|
353
332
|
* found in the LICENSE file at https://angular.io/license
|
|
354
333
|
*/
|
|
355
|
-
/**
|
|
356
|
-
* @license
|
|
357
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
358
|
-
*
|
|
359
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
360
|
-
* found in the LICENSE file at https://angular.io/license
|
|
361
|
-
*/
|
|
362
334
|
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
335
|
/**
|
|
364
336
|
* @license
|
|
@@ -388,7 +360,7 @@ function ko(e,t,n,r){var o="ExpressionChangedAfterItHasBeenCheckedError: Express
|
|
|
388
360
|
*
|
|
389
361
|
* Use of this source code is governed by an MIT-style license that can be
|
|
390
362
|
* 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 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 n===di||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),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)}
|
|
363
|
+
*/(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 4&t.flags?n: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 n===di||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),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
364
|
/**
|
|
393
365
|
* @license
|
|
394
366
|
* Copyright Google Inc. All Rights Reserved.
|