@angular/common
Advanced tools
Comparing version 5.0.0-beta.0 to 5.0.0-beta.1
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -10,8 +10,12 @@ * License: MIT | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
/** | ||
* Defines a matcher for requests based on URL, method, or both. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
* \@experimental | ||
* @record | ||
*/ | ||
function RequestMatch() { } | ||
/** | ||
@@ -27,117 +31,9 @@ * Controller to be injected into tests, that allows for mocking and flushing | ||
} | ||
/** | ||
* Search for requests that match the given parameter, without any expectations. | ||
* @abstract | ||
* @param {?} match | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.match = function (match) { }; | ||
/** | ||
* Expect that a single request has been made which matches the given URL, and return its | ||
* mock. | ||
* | ||
* If no such request has been made, or more than one such request has been made, fail with an | ||
* error message including the given request description, if any. | ||
* @abstract | ||
* @param {?} url | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectOne = function (url, description) { }; | ||
/** | ||
* Expect that a single request has been made which matches the given parameters, and return | ||
* its mock. | ||
* | ||
* If no such request has been made, or more than one such request has been made, fail with an | ||
* error message including the given request description, if any. | ||
* @abstract | ||
* @param {?} params | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectOne = function (params, description) { }; | ||
/** | ||
* Expect that a single request has been made which matches the given predicate function, and | ||
* return its mock. | ||
* | ||
* If no such request has been made, or more than one such request has been made, fail with an | ||
* error message including the given request description, if any. | ||
* @abstract | ||
* @param {?} matchFn | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectOne = function (matchFn, description) { }; | ||
/** | ||
* Expect that a single request has been made which matches the given condition, and return | ||
* its mock. | ||
* | ||
* If no such request has been made, or more than one such request has been made, fail with an | ||
* error message including the given request description, if any. | ||
* @abstract | ||
* @param {?} match | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectOne = function (match, description) { }; | ||
/** | ||
* Expect that no requests have been made which match the given URL. | ||
* | ||
* If a matching request has been made, fail with an error message including the given request | ||
* description, if any. | ||
* @abstract | ||
* @param {?} url | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectNone = function (url, description) { }; | ||
/** | ||
* Expect that no requests have been made which match the given parameters. | ||
* | ||
* If a matching request has been made, fail with an error message including the given request | ||
* description, if any. | ||
* @abstract | ||
* @param {?} params | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectNone = function (params, description) { }; | ||
/** | ||
* Expect that no requests have been made which match the given predicate function. | ||
* | ||
* If a matching request has been made, fail with an error message including the given request | ||
* description, if any. | ||
* @abstract | ||
* @param {?} matchFn | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectNone = function (matchFn, description) { }; | ||
/** | ||
* Expect that no requests have been made which match the given condition. | ||
* | ||
* If a matching request has been made, fail with an error message including the given request | ||
* description, if any. | ||
* @abstract | ||
* @param {?} match | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectNone = function (match, description) { }; | ||
/** | ||
* Verify that no unmatched requests are outstanding. | ||
* | ||
* If any requests are outstanding, fail with an error message indicating which requests were not | ||
* handled. | ||
* | ||
* If `ignoreCancelled` is not set (the default), `verify()` will also fail if cancelled requests | ||
* were not explicitly matched. | ||
* @abstract | ||
* @param {?=} opts | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.verify = function (opts) { }; | ||
return HttpTestingController; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
/** | ||
* @license | ||
@@ -356,2 +252,6 @@ * Copyright Google Inc. All Rights Reserved. | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
/** | ||
* @license | ||
@@ -510,6 +410,8 @@ * Copyright Google Inc. All Rights Reserved. | ||
]; | ||
/** @nocollapse */ | ||
HttpClientTestingBackend.ctorParameters = function () { return []; }; | ||
/** | ||
* @nocollapse | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
HttpClientTestingBackend.ctorParameters = function () { return []; }; | ||
/** | ||
@@ -546,6 +448,8 @@ * @license | ||
]; | ||
/** @nocollapse */ | ||
HttpClientTestingModule.ctorParameters = function () { return []; }; | ||
/** | ||
* @nocollapse | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
HttpClientTestingModule.ctorParameters = function () { return []; }; | ||
/** | ||
@@ -559,5 +463,9 @@ * @license | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
export { HttpTestingController, HttpClientTestingModule, TestRequest, HttpClientTestingBackend as ɵa }; | ||
export { HttpTestingController, RequestMatch, HttpClientTestingModule, TestRequest, HttpClientTestingBackend as ɵa }; | ||
//# sourceMappingURL=testing.es5.js.map |
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -11,8 +11,12 @@ * License: MIT | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
/** | ||
* Defines a matcher for requests based on URL, method, or both. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
* \@experimental | ||
* @record | ||
*/ | ||
function RequestMatch() { } | ||
/** | ||
@@ -26,117 +30,9 @@ * Controller to be injected into tests, that allows for mocking and flushing | ||
class HttpTestingController { | ||
/** | ||
* Search for requests that match the given parameter, without any expectations. | ||
* @abstract | ||
* @param {?} match | ||
* @return {?} | ||
*/ | ||
match(match) { } | ||
/** | ||
* Expect that a single request has been made which matches the given URL, and return its | ||
* mock. | ||
* | ||
* If no such request has been made, or more than one such request has been made, fail with an | ||
* error message including the given request description, if any. | ||
* @abstract | ||
* @param {?} url | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
expectOne(url, description) { } | ||
/** | ||
* Expect that a single request has been made which matches the given parameters, and return | ||
* its mock. | ||
* | ||
* If no such request has been made, or more than one such request has been made, fail with an | ||
* error message including the given request description, if any. | ||
* @abstract | ||
* @param {?} params | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
expectOne(params, description) { } | ||
/** | ||
* Expect that a single request has been made which matches the given predicate function, and | ||
* return its mock. | ||
* | ||
* If no such request has been made, or more than one such request has been made, fail with an | ||
* error message including the given request description, if any. | ||
* @abstract | ||
* @param {?} matchFn | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
expectOne(matchFn, description) { } | ||
/** | ||
* Expect that a single request has been made which matches the given condition, and return | ||
* its mock. | ||
* | ||
* If no such request has been made, or more than one such request has been made, fail with an | ||
* error message including the given request description, if any. | ||
* @abstract | ||
* @param {?} match | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
expectOne(match, description) { } | ||
/** | ||
* Expect that no requests have been made which match the given URL. | ||
* | ||
* If a matching request has been made, fail with an error message including the given request | ||
* description, if any. | ||
* @abstract | ||
* @param {?} url | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
expectNone(url, description) { } | ||
/** | ||
* Expect that no requests have been made which match the given parameters. | ||
* | ||
* If a matching request has been made, fail with an error message including the given request | ||
* description, if any. | ||
* @abstract | ||
* @param {?} params | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
expectNone(params, description) { } | ||
/** | ||
* Expect that no requests have been made which match the given predicate function. | ||
* | ||
* If a matching request has been made, fail with an error message including the given request | ||
* description, if any. | ||
* @abstract | ||
* @param {?} matchFn | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
expectNone(matchFn, description) { } | ||
/** | ||
* Expect that no requests have been made which match the given condition. | ||
* | ||
* If a matching request has been made, fail with an error message including the given request | ||
* description, if any. | ||
* @abstract | ||
* @param {?} match | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
expectNone(match, description) { } | ||
/** | ||
* Verify that no unmatched requests are outstanding. | ||
* | ||
* If any requests are outstanding, fail with an error message indicating which requests were not | ||
* handled. | ||
* | ||
* If `ignoreCancelled` is not set (the default), `verify()` will also fail if cancelled requests | ||
* were not explicitly matched. | ||
* @abstract | ||
* @param {?=} opts | ||
* @return {?} | ||
*/ | ||
verify(opts) { } | ||
} | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
/** | ||
* @license | ||
@@ -348,2 +244,6 @@ * Copyright Google Inc. All Rights Reserved. | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
/** | ||
* @license | ||
@@ -498,8 +398,10 @@ * Copyright Google Inc. All Rights Reserved. | ||
]; | ||
/** | ||
* @nocollapse | ||
*/ | ||
/** @nocollapse */ | ||
HttpClientTestingBackend.ctorParameters = () => []; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
/** | ||
* @license | ||
@@ -532,8 +434,10 @@ * Copyright Google Inc. All Rights Reserved. | ||
]; | ||
/** | ||
* @nocollapse | ||
*/ | ||
/** @nocollapse */ | ||
HttpClientTestingModule.ctorParameters = () => []; | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
/** | ||
* @license | ||
@@ -547,6 +451,10 @@ * Copyright Google Inc. All Rights Reserved. | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
/** | ||
* Generated bundle index. Do not edit. | ||
*/ | ||
export { HttpTestingController, HttpClientTestingModule, TestRequest, HttpClientTestingBackend as ɵa }; | ||
export { HttpTestingController, RequestMatch, HttpClientTestingModule, TestRequest, HttpClientTestingBackend as ɵa }; | ||
//# sourceMappingURL=testing.js.map |
import * as tslib_1 from "tslib"; | ||
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -5,0 +5,0 @@ * License: MIT |
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -13,3 +13,3 @@ * License: MIT | ||
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -19,8 +19,12 @@ * License: MIT | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
/** | ||
* Defines a matcher for requests based on URL, method, or both. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
* \@experimental | ||
* @record | ||
*/ | ||
function RequestMatch() { } | ||
/** | ||
@@ -36,117 +40,9 @@ * Controller to be injected into tests, that allows for mocking and flushing | ||
} | ||
/** | ||
* Search for requests that match the given parameter, without any expectations. | ||
* @abstract | ||
* @param {?} match | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.match = function (match) { }; | ||
/** | ||
* Expect that a single request has been made which matches the given URL, and return its | ||
* mock. | ||
* | ||
* If no such request has been made, or more than one such request has been made, fail with an | ||
* error message including the given request description, if any. | ||
* @abstract | ||
* @param {?} url | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectOne = function (url, description) { }; | ||
/** | ||
* Expect that a single request has been made which matches the given parameters, and return | ||
* its mock. | ||
* | ||
* If no such request has been made, or more than one such request has been made, fail with an | ||
* error message including the given request description, if any. | ||
* @abstract | ||
* @param {?} params | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectOne = function (params, description) { }; | ||
/** | ||
* Expect that a single request has been made which matches the given predicate function, and | ||
* return its mock. | ||
* | ||
* If no such request has been made, or more than one such request has been made, fail with an | ||
* error message including the given request description, if any. | ||
* @abstract | ||
* @param {?} matchFn | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectOne = function (matchFn, description) { }; | ||
/** | ||
* Expect that a single request has been made which matches the given condition, and return | ||
* its mock. | ||
* | ||
* If no such request has been made, or more than one such request has been made, fail with an | ||
* error message including the given request description, if any. | ||
* @abstract | ||
* @param {?} match | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectOne = function (match, description) { }; | ||
/** | ||
* Expect that no requests have been made which match the given URL. | ||
* | ||
* If a matching request has been made, fail with an error message including the given request | ||
* description, if any. | ||
* @abstract | ||
* @param {?} url | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectNone = function (url, description) { }; | ||
/** | ||
* Expect that no requests have been made which match the given parameters. | ||
* | ||
* If a matching request has been made, fail with an error message including the given request | ||
* description, if any. | ||
* @abstract | ||
* @param {?} params | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectNone = function (params, description) { }; | ||
/** | ||
* Expect that no requests have been made which match the given predicate function. | ||
* | ||
* If a matching request has been made, fail with an error message including the given request | ||
* description, if any. | ||
* @abstract | ||
* @param {?} matchFn | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectNone = function (matchFn, description) { }; | ||
/** | ||
* Expect that no requests have been made which match the given condition. | ||
* | ||
* If a matching request has been made, fail with an error message including the given request | ||
* description, if any. | ||
* @abstract | ||
* @param {?} match | ||
* @param {?=} description | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.expectNone = function (match, description) { }; | ||
/** | ||
* Verify that no unmatched requests are outstanding. | ||
* | ||
* If any requests are outstanding, fail with an error message indicating which requests were not | ||
* handled. | ||
* | ||
* If `ignoreCancelled` is not set (the default), `verify()` will also fail if cancelled requests | ||
* were not explicitly matched. | ||
* @abstract | ||
* @param {?=} opts | ||
* @return {?} | ||
*/ | ||
HttpTestingController.prototype.verify = function (opts) { }; | ||
return HttpTestingController; | ||
}()); | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
/** | ||
* @license | ||
@@ -365,2 +261,6 @@ * Copyright Google Inc. All Rights Reserved. | ||
/** | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
/** | ||
* @license | ||
@@ -519,6 +419,8 @@ * Copyright Google Inc. All Rights Reserved. | ||
]; | ||
/** @nocollapse */ | ||
HttpClientTestingBackend.ctorParameters = function () { return []; }; | ||
/** | ||
* @nocollapse | ||
* @fileoverview added by tsickle | ||
* @suppress {checkTypes} checked by tsc | ||
*/ | ||
HttpClientTestingBackend.ctorParameters = function () { return []; }; | ||
/** | ||
@@ -555,8 +457,7 @@ * @license | ||
]; | ||
/** | ||
* @nocollapse | ||
*/ | ||
/** @nocollapse */ | ||
HttpClientTestingModule.ctorParameters = function () { return []; }; | ||
exports.HttpTestingController = HttpTestingController; | ||
exports.RequestMatch = RequestMatch; | ||
exports.HttpClientTestingModule = HttpClientTestingModule; | ||
@@ -563,0 +464,0 @@ exports.TestRequest = TestRequest; |
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
* License: MIT | ||
*/ | ||
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/common/http"),require("@angular/core"),require("rxjs/Observable")):"function"==typeof define&&define.amd?define(["exports","@angular/common/http","@angular/core","rxjs/Observable"],factory):factory((global.ng=global.ng||{},global.ng.common=global.ng.common||{},global.ng.common.http=global.ng.common.http||{},global.ng.common.http.testing=global.ng.common.http.testing||{}),global.ng.common.http,global.ng.core,global.Rx)}(this,function(exports,_angular_common_http,_angular_core,rxjs_Observable){"use strict";function _toArrayBufferBody(body){if("undefined"==typeof ArrayBuffer)throw new Error("ArrayBuffer responses are not supported on this platform.");if(body instanceof ArrayBuffer)return body;throw new Error("Automatic conversion to ArrayBuffer is not supported for response type.")}function _toBlob(body){if("undefined"==typeof Blob)throw new Error("Blob responses are not supported on this platform.");if(body instanceof Blob)return body;if(ArrayBuffer&&body instanceof ArrayBuffer)return new Blob([body]);throw new Error("Automatic conversion to Blob is not supported for response type.")}function _toJsonBody(body,format){if(void 0===format&&(format="JSON"),"undefined"!=typeof ArrayBuffer&&body instanceof ArrayBuffer)throw new Error("Automatic conversion to "+format+" is not supported for ArrayBuffers.");if("undefined"!=typeof Blob&&body instanceof Blob)throw new Error("Automatic conversion to "+format+" is not supported for Blobs.");if("string"==typeof body||"number"==typeof body||"object"==typeof body||Array.isArray(body))return body;throw new Error("Automatic conversion to "+format+" is not supported for response type.")}function _toTextBody(body){if("string"==typeof body)return body;if("undefined"!=typeof ArrayBuffer&&body instanceof ArrayBuffer)throw new Error("Automatic conversion to text is not supported for ArrayBuffers.");if("undefined"!=typeof Blob&&body instanceof Blob)throw new Error("Automatic conversion to text is not supported for Blobs.");return JSON.stringify(_toJsonBody(body,"text"))}function _maybeConvertBody(responseType,body){switch(responseType){case"arraybuffer":return null===body?null:_toArrayBufferBody(body);case"blob":return null===body?null:_toBlob(body);case"json":return null===body?"null":_toJsonBody(body);case"text":return null===body?null:_toTextBody(body);default:throw new Error("Unsupported responseType: "+responseType)}}/** | ||
* @license Angular v5.0.0-beta.0 | ||
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/common/http"),require("@angular/core"),require("rxjs/Observable")):"function"==typeof define&&define.amd?define(["exports","@angular/common/http","@angular/core","rxjs/Observable"],factory):factory((global.ng=global.ng||{},global.ng.common=global.ng.common||{},global.ng.common.http=global.ng.common.http||{},global.ng.common.http.testing=global.ng.common.http.testing||{}),global.ng.common.http,global.ng.core,global.Rx)}(this,function(exports,_angular_common_http,_angular_core,rxjs_Observable){"use strict";/** | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
* License: MIT | ||
*/ | ||
/** | ||
function RequestMatch(){}function _toArrayBufferBody(body){if("undefined"==typeof ArrayBuffer)throw new Error("ArrayBuffer responses are not supported on this platform.");if(body instanceof ArrayBuffer)return body;throw new Error("Automatic conversion to ArrayBuffer is not supported for response type.")}function _toBlob(body){if("undefined"==typeof Blob)throw new Error("Blob responses are not supported on this platform.");if(body instanceof Blob)return body;if(ArrayBuffer&&body instanceof ArrayBuffer)return new Blob([body]);throw new Error("Automatic conversion to Blob is not supported for response type.")}function _toJsonBody(body,format){if(void 0===format&&(format="JSON"),"undefined"!=typeof ArrayBuffer&&body instanceof ArrayBuffer)throw new Error("Automatic conversion to "+format+" is not supported for ArrayBuffers.");if("undefined"!=typeof Blob&&body instanceof Blob)throw new Error("Automatic conversion to "+format+" is not supported for Blobs.");if("string"==typeof body||"number"==typeof body||"object"==typeof body||Array.isArray(body))return body;throw new Error("Automatic conversion to "+format+" is not supported for response type.")}function _toTextBody(body){if("string"==typeof body)return body;if("undefined"!=typeof ArrayBuffer&&body instanceof ArrayBuffer)throw new Error("Automatic conversion to text is not supported for ArrayBuffers.");if("undefined"!=typeof Blob&&body instanceof Blob)throw new Error("Automatic conversion to text is not supported for Blobs.");return JSON.stringify(_toJsonBody(body,"text"))}function _maybeConvertBody(responseType,body){switch(responseType){case"arraybuffer":return null===body?null:_toArrayBufferBody(body);case"blob":return null===body?null:_toBlob(body);case"json":return null===body?"null":_toJsonBody(body);case"text":return null===body?null:_toTextBody(body);default:throw new Error("Unsupported responseType: "+responseType)}}var HttpTestingController=function(){function HttpTestingController(){}return HttpTestingController}(),TestRequest=function(){function TestRequest(request,observer){this.request=request,this.observer=observer,this._cancelled=!1}return Object.defineProperty(TestRequest.prototype,"cancelled",{get:function(){return this._cancelled},enumerable:!0,configurable:!0}),TestRequest.prototype.flush=function(body,opts){if(void 0===opts&&(opts={}),this.cancelled)throw new Error("Cannot flush a cancelled request.");var url=this.request.urlWithParams,headers=opts.headers instanceof _angular_common_http.HttpHeaders?opts.headers:new _angular_common_http.HttpHeaders(opts.headers);body=_maybeConvertBody(this.request.responseType,body);var statusText=opts.statusText,status=void 0!==opts.status?opts.status:200;if(void 0===opts.status&&(null===body?(status=204,statusText=statusText||"No Content"):statusText=statusText||"OK"),void 0===statusText)throw new Error("statusText is required when setting a custom status.");status>=200&&status<300?(this.observer.next(new _angular_common_http.HttpResponse({body:body,headers:headers,status:status,statusText:statusText,url:url})),this.observer.complete()):this.observer.error(new _angular_common_http.HttpErrorResponse({error:body,headers:headers,status:status,statusText:statusText,url:url}))},TestRequest.prototype.error=function(error,opts){if(void 0===opts&&(opts={}),this.cancelled)throw new Error("Cannot return an error for a cancelled request.");if(opts.status&&opts.status>=200&&opts.status<300)throw new Error("error() called with a successful status.");var headers=opts.headers instanceof _angular_common_http.HttpHeaders?opts.headers:new _angular_common_http.HttpHeaders(opts.headers);this.observer.error(new _angular_common_http.HttpErrorResponse({error:error,headers:headers,status:opts.status||0,statusText:opts.statusText||"",url:this.request.urlWithParams}))},TestRequest.prototype.event=function(event){if(this.cancelled)throw new Error("Cannot send events to a cancelled request.");this.observer.next(event)},TestRequest}(),HttpClientTestingBackend=function(){function HttpClientTestingBackend(){this.open=[]}return HttpClientTestingBackend.prototype.handle=function(req){var _this=this;return new rxjs_Observable.Observable(function(observer){var testReq=new TestRequest(req,observer);return _this.open.push(testReq),observer.next({type:_angular_common_http.HttpEventType.Sent}),function(){testReq._cancelled=!0}})},HttpClientTestingBackend.prototype._match=function(match){return"string"==typeof match?this.open.filter(function(testReq){return testReq.request.urlWithParams===match}):"function"==typeof match?this.open.filter(function(testReq){return match(testReq.request)}):this.open.filter(function(testReq){return!(match.method&&testReq.request.method!==match.method.toUpperCase()||match.url&&testReq.request.urlWithParams!==match.url)})},HttpClientTestingBackend.prototype.match=function(match){var _this=this,results=this._match(match);return results.forEach(function(result){var index=_this.open.indexOf(result);index!==-1&&_this.open.splice(index,1)}),results},HttpClientTestingBackend.prototype.expectOne=function(match,description){description=description||this.descriptionFromMatcher(match);var matches=this.match(match);if(matches.length>1)throw new Error('Expected one matching request for criteria "'+description+'", found '+matches.length+" requests.");if(0===matches.length)throw new Error('Expected one matching request for criteria "'+description+'", found none.');return matches[0]},HttpClientTestingBackend.prototype.expectNone=function(match,description){description=description||this.descriptionFromMatcher(match);var matches=this.match(match);if(matches.length>0)throw new Error('Expected zero matching requests for criteria "'+description+'", found '+matches.length+".")},HttpClientTestingBackend.prototype.verify=function(opts){void 0===opts&&(opts={});var open=this.open;if(opts.ignoreCancelled&&(open=open.filter(function(testReq){return!testReq.cancelled})),open.length>0){var requests=open.map(function(testReq){var url=testReq.request.urlWithParams.split("?")[0],method=testReq.request.method;return method+" "+url}).join(", ");throw new Error("Expected no open requests, found "+open.length+": "+requests)}},HttpClientTestingBackend.prototype.descriptionFromMatcher=function(matcher){if("string"==typeof matcher)return"Match URL: "+matcher;if("object"==typeof matcher){var method=matcher.method||"(any)",url=matcher.url||"(any)";return"Match method: "+method+", URL: "+url}return"Match by function: "+matcher.name},HttpClientTestingBackend}();HttpClientTestingBackend.decorators=[{type:_angular_core.Injectable}],HttpClientTestingBackend.ctorParameters=function(){return[]};/** | ||
* @license | ||
@@ -18,10 +18,3 @@ * Copyright Google Inc. All Rights Reserved. | ||
*/ | ||
var HttpTestingController=function(){function HttpTestingController(){}return HttpTestingController.prototype.match=function(match){},HttpTestingController.prototype.expectOne=function(url,description){},HttpTestingController.prototype.expectOne=function(params,description){},HttpTestingController.prototype.expectOne=function(matchFn,description){},HttpTestingController.prototype.expectOne=function(match,description){},HttpTestingController.prototype.expectNone=function(url,description){},HttpTestingController.prototype.expectNone=function(params,description){},HttpTestingController.prototype.expectNone=function(matchFn,description){},HttpTestingController.prototype.expectNone=function(match,description){},HttpTestingController.prototype.verify=function(opts){},HttpTestingController}(),TestRequest=function(){function TestRequest(request,observer){this.request=request,this.observer=observer,this._cancelled=!1}return Object.defineProperty(TestRequest.prototype,"cancelled",{get:function(){return this._cancelled},enumerable:!0,configurable:!0}),TestRequest.prototype.flush=function(body,opts){if(void 0===opts&&(opts={}),this.cancelled)throw new Error("Cannot flush a cancelled request.");var url=this.request.urlWithParams,headers=opts.headers instanceof _angular_common_http.HttpHeaders?opts.headers:new _angular_common_http.HttpHeaders(opts.headers);body=_maybeConvertBody(this.request.responseType,body);var statusText=opts.statusText,status=void 0!==opts.status?opts.status:200;if(void 0===opts.status&&(null===body?(status=204,statusText=statusText||"No Content"):statusText=statusText||"OK"),void 0===statusText)throw new Error("statusText is required when setting a custom status.");status>=200&&status<300?(this.observer.next(new _angular_common_http.HttpResponse({body:body,headers:headers,status:status,statusText:statusText,url:url})),this.observer.complete()):this.observer.error(new _angular_common_http.HttpErrorResponse({error:body,headers:headers,status:status,statusText:statusText,url:url}))},TestRequest.prototype.error=function(error,opts){if(void 0===opts&&(opts={}),this.cancelled)throw new Error("Cannot return an error for a cancelled request.");if(opts.status&&opts.status>=200&&opts.status<300)throw new Error("error() called with a successful status.");var headers=opts.headers instanceof _angular_common_http.HttpHeaders?opts.headers:new _angular_common_http.HttpHeaders(opts.headers);this.observer.error(new _angular_common_http.HttpErrorResponse({error:error,headers:headers,status:opts.status||0,statusText:opts.statusText||"",url:this.request.urlWithParams}))},TestRequest.prototype.event=function(event){if(this.cancelled)throw new Error("Cannot send events to a cancelled request.");this.observer.next(event)},TestRequest}(),HttpClientTestingBackend=function(){function HttpClientTestingBackend(){this.open=[]}return HttpClientTestingBackend.prototype.handle=function(req){var _this=this;return new rxjs_Observable.Observable(function(observer){var testReq=new TestRequest(req,observer);return _this.open.push(testReq),observer.next({type:_angular_common_http.HttpEventType.Sent}),function(){testReq._cancelled=!0}})},HttpClientTestingBackend.prototype._match=function(match){return"string"==typeof match?this.open.filter(function(testReq){return testReq.request.urlWithParams===match}):"function"==typeof match?this.open.filter(function(testReq){return match(testReq.request)}):this.open.filter(function(testReq){return!(match.method&&testReq.request.method!==match.method.toUpperCase()||match.url&&testReq.request.urlWithParams!==match.url)})},HttpClientTestingBackend.prototype.match=function(match){var _this=this,results=this._match(match);return results.forEach(function(result){var index=_this.open.indexOf(result);index!==-1&&_this.open.splice(index,1)}),results},HttpClientTestingBackend.prototype.expectOne=function(match,description){description=description||this.descriptionFromMatcher(match);var matches=this.match(match);if(matches.length>1)throw new Error('Expected one matching request for criteria "'+description+'", found '+matches.length+" requests.");if(0===matches.length)throw new Error('Expected one matching request for criteria "'+description+'", found none.');return matches[0]},HttpClientTestingBackend.prototype.expectNone=function(match,description){description=description||this.descriptionFromMatcher(match);var matches=this.match(match);if(matches.length>0)throw new Error('Expected zero matching requests for criteria "'+description+'", found '+matches.length+".")},HttpClientTestingBackend.prototype.verify=function(opts){void 0===opts&&(opts={});var open=this.open;if(opts.ignoreCancelled&&(open=open.filter(function(testReq){return!testReq.cancelled})),open.length>0){var requests=open.map(function(testReq){var url=testReq.request.urlWithParams.split("?")[0],method=testReq.request.method;return method+" "+url}).join(", ");throw new Error("Expected no open requests, found "+open.length+": "+requests)}},HttpClientTestingBackend.prototype.descriptionFromMatcher=function(matcher){if("string"==typeof matcher)return"Match URL: "+matcher;if("object"==typeof matcher){var method=matcher.method||"(any)",url=matcher.url||"(any)";return"Match method: "+method+", URL: "+url}return"Match by function: "+matcher.name},HttpClientTestingBackend}();HttpClientTestingBackend.decorators=[{type:_angular_core.Injectable}],HttpClientTestingBackend.ctorParameters=function(){return[]};/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
var HttpClientTestingModule=function(){function HttpClientTestingModule(){}return HttpClientTestingModule}();HttpClientTestingModule.decorators=[{type:_angular_core.NgModule,args:[{imports:[_angular_common_http.HttpClientModule],providers:[HttpClientTestingBackend,{provide:_angular_common_http.HttpBackend,useExisting:HttpClientTestingBackend},{provide:HttpTestingController,useExisting:HttpClientTestingBackend}]}]}],HttpClientTestingModule.ctorParameters=function(){return[]},exports.HttpTestingController=HttpTestingController,exports.HttpClientTestingModule=HttpClientTestingModule,exports.TestRequest=TestRequest,exports.ɵa=HttpClientTestingBackend,Object.defineProperty(exports,"__esModule",{value:!0})}); | ||
var HttpClientTestingModule=function(){function HttpClientTestingModule(){}return HttpClientTestingModule}();HttpClientTestingModule.decorators=[{type:_angular_core.NgModule,args:[{imports:[_angular_common_http.HttpClientModule],providers:[HttpClientTestingBackend,{provide:_angular_common_http.HttpBackend,useExisting:HttpClientTestingBackend},{provide:HttpTestingController,useExisting:HttpClientTestingBackend}]}]}],HttpClientTestingModule.ctorParameters=function(){return[]},exports.HttpTestingController=HttpTestingController,exports.RequestMatch=RequestMatch,exports.HttpClientTestingModule=HttpClientTestingModule,exports.TestRequest=TestRequest,exports.ɵa=HttpClientTestingBackend,Object.defineProperty(exports,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=common-http-testing.umd.min.js.map |
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
* License: MIT | ||
*/ | ||
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("tslib"),require("@angular/core"),require("rxjs/observable/of"),require("rxjs/operator/concatMap"),require("rxjs/operator/filter"),require("rxjs/operator/map"),require("@angular/common"),require("rxjs/Observable")):"function"==typeof define&&define.amd?define(["exports","tslib","@angular/core","rxjs/observable/of","rxjs/operator/concatMap","rxjs/operator/filter","rxjs/operator/map","@angular/common","rxjs/Observable"],factory):factory((global.ng=global.ng||{},global.ng.commmon=global.ng.commmon||{},global.ng.commmon.http=global.ng.commmon.http||{}),global.tslib_1,global.ng.core,global.rxjs_observable_of,global.rxjs_operator_concatMap,global.rxjs_operator_filter,global.rxjs_operator_map,global._angular_common,global.Rx)}(this,function(exports,tslib_1,_angular_core,rxjs_observable_of,rxjs_operator_concatMap,rxjs_operator_filter,rxjs_operator_map,_angular_common,rxjs_Observable){"use strict";function paramParser(rawParams,codec){var map$$1=new Map;if(rawParams.length>0){var params=rawParams.split("&");params.forEach(function(param){var eqIdx=param.indexOf("="),_a=eqIdx==-1?[codec.decodeKey(param),""]:[codec.decodeKey(param.slice(0,eqIdx)),codec.decodeValue(param.slice(eqIdx+1))],key=_a[0],val=_a[1],list=map$$1.get(key)||[];list.push(val),map$$1.set(key,list)})}return map$$1}function standardEncoding(v){return encodeURIComponent(v).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}/** | ||
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("tslib"),require("@angular/core"),require("rxjs/observable/of"),require("rxjs/operator/concatMap"),require("rxjs/operator/filter"),require("rxjs/operator/map"),require("@angular/common"),require("rxjs/Observable")):"function"==typeof define&&define.amd?define(["exports","tslib","@angular/core","rxjs/observable/of","rxjs/operator/concatMap","rxjs/operator/filter","rxjs/operator/map","@angular/common","rxjs/Observable"],factory):factory((global.ng=global.ng||{},global.ng.commmon=global.ng.commmon||{},global.ng.commmon.http=global.ng.commmon.http||{}),global.tslib_1,global.ng.core,global.rxjs_observable_of,global.rxjs_operator_concatMap,global.rxjs_operator_filter,global.rxjs_operator_map,global._angular_common,global.Rx)}(this,function(exports,tslib_1,_angular_core,rxjs_observable_of,rxjs_operator_concatMap,rxjs_operator_filter,rxjs_operator_map,_angular_common,rxjs_Observable){"use strict";function HttpParameterCodec(){}function paramParser(rawParams,codec){var map$$1=new Map;if(rawParams.length>0){var params=rawParams.split("&");params.forEach(function(param){var eqIdx=param.indexOf("="),_a=eqIdx==-1?[codec.decodeKey(param),""]:[codec.decodeKey(param.slice(0,eqIdx)),codec.decodeValue(param.slice(eqIdx+1))],key=_a[0],val=_a[1],list=map$$1.get(key)||[];list.push(val),map$$1.set(key,list)})}return map$$1}function standardEncoding(v){return encodeURIComponent(v).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}/** | ||
* @license | ||
@@ -13,3 +13,3 @@ * Copyright Google Inc. All Rights Reserved. | ||
*/ | ||
function mightHaveBody(method){switch(method){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function isArrayBuffer(value){return"undefined"!=typeof ArrayBuffer&&value instanceof ArrayBuffer}function isBlob(value){return"undefined"!=typeof Blob&&value instanceof Blob}function isFormData(value){return"undefined"!=typeof FormData&&value instanceof FormData}/** | ||
function mightHaveBody(method){switch(method){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function isArrayBuffer(value){return"undefined"!=typeof ArrayBuffer&&value instanceof ArrayBuffer}function isBlob(value){return"undefined"!=typeof Blob&&value instanceof Blob}function isFormData(value){return"undefined"!=typeof FormData&&value instanceof FormData}function HttpProgressEvent(){}function HttpDownloadProgressEvent(){}function HttpSentEvent(){}function HttpUserEvent(){}/** | ||
* @license | ||
@@ -21,3 +21,3 @@ * Copyright Google Inc. All Rights Reserved. | ||
*/ | ||
function addBody(options,body){return{body:body,headers:options.headers,observe:options.observe,params:options.params,reportProgress:options.reportProgress,responseType:options.responseType,withCredentials:options.withCredentials}}function getResponseUrl(xhr){return"responseURL"in xhr&&xhr.responseURL?xhr.responseURL:/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())?xhr.getResponseHeader("X-Request-URL"):null}/** | ||
function addBody(options,body){return{body:body,headers:options.headers,observe:options.observe,params:options.params,reportProgress:options.reportProgress,responseType:options.responseType,withCredentials:options.withCredentials}}/** | ||
* @license | ||
@@ -29,8 +29,3 @@ * Copyright Google Inc. All Rights Reserved. | ||
*/ | ||
function interceptingHandler(backend,interceptors){return void 0===interceptors&&(interceptors=[]),interceptors?interceptors.reduceRight(function(next,interceptor){return new HttpInterceptorHandler(next,interceptor)},backend):backend}function jsonpCallbackContext(){return"object"==typeof window?window:{}}/** | ||
* @license Angular v5.0.0-beta.0 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
* License: MIT | ||
*/ | ||
/** | ||
function HttpInterceptor(){}function getResponseUrl(xhr){return"responseURL"in xhr&&xhr.responseURL?xhr.responseURL:/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())?xhr.getResponseHeader("X-Request-URL"):null}/** | ||
* @license | ||
@@ -42,10 +37,8 @@ * Copyright Google Inc. All Rights Reserved. | ||
*/ | ||
var HttpHandler=function(){function HttpHandler(){}return HttpHandler.prototype.handle=function(req){},HttpHandler}(),HttpBackend=function(){function HttpBackend(){}return HttpBackend.prototype.handle=function(req){},HttpBackend}(),HttpUrlEncodingCodec=function(){function HttpUrlEncodingCodec(){}return HttpUrlEncodingCodec.prototype.encodeKey=function(k){return standardEncoding(k)},HttpUrlEncodingCodec.prototype.encodeValue=function(v){return standardEncoding(v)},HttpUrlEncodingCodec.prototype.decodeKey=function(k){return decodeURIComponent(k)},HttpUrlEncodingCodec.prototype.decodeValue=function(v){return decodeURIComponent(v)},HttpUrlEncodingCodec}(),HttpParams=function(){function HttpParams(options){void 0===options&&(options={}),this.updates=null,this.cloneFrom=null,this.encoder=options.encoder||new HttpUrlEncodingCodec,this.map=options.fromString?paramParser(options.fromString,this.encoder):null}return HttpParams.prototype.has=function(param){return this.init(),this.map.has(param)},HttpParams.prototype.get=function(param){this.init();var res=this.map.get(param);return res?res[0]:null},HttpParams.prototype.getAll=function(param){return this.init(),this.map.get(param)||null},HttpParams.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},HttpParams.prototype.append=function(param,value){return this.clone({param:param,value:value,op:"a"})},HttpParams.prototype.set=function(param,value){return this.clone({param:param,value:value,op:"s"})},HttpParams.prototype.delete=function(param,value){return this.clone({param:param,value:value,op:"d"})},HttpParams.prototype.toString=function(){var _this=this;return this.init(),this.keys().map(function(key){var eKey=_this.encoder.encodeKey(key);return _this.map.get(key).map(function(value){return eKey+"="+_this.encoder.encodeValue(value)}).join("&")}).join("&")},HttpParams.prototype.clone=function(update){var clone=new HttpParams({encoder:this.encoder});return clone.cloneFrom=this.cloneFrom||this,clone.updates=(this.updates||[]).concat([update]),clone},HttpParams.prototype.init=function(){var _this=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(key){return _this.map.set(key,_this.cloneFrom.map.get(key))}),this.updates.forEach(function(update){switch(update.op){case"a":case"s":var base=("a"===update.op?_this.map.get(update.param):void 0)||[];base.push(update.value),_this.map.set(update.param,base);break;case"d":if(void 0===update.value){_this.map.delete(update.param);break}var base_1=_this.map.get(update.param)||[],idx=base_1.indexOf(update.value);idx!==-1&&base_1.splice(idx,1),base_1.length>0?_this.map.set(update.param,base_1):_this.map.delete(update.param)}}),this.cloneFrom=null)},HttpParams}(),HttpHeaders=function(){function HttpHeaders(headers){var _this=this;this.normalizedNames=new Map,this.lazyUpdate=null,headers?"string"==typeof headers?this.lazyInit=function(){_this.headers=new Map,headers.split("\n").forEach(function(line){var index=line.indexOf(":");if(index>0){var name=line.slice(0,index),key=name.toLowerCase(),value=line.slice(index+1).trim();_this.maybeSetNormalizedName(name,key),_this.headers.has(key)?_this.headers.get(key).push(value):_this.headers.set(key,[value])}})}:this.lazyInit=function(){_this.headers=new Map,Object.keys(headers).forEach(function(name){var values=headers[name],key=name.toLowerCase();"string"==typeof values&&(values=[values]),values.length>0&&(_this.headers.set(key,values),_this.maybeSetNormalizedName(name,key))})}:this.headers=new Map}return HttpHeaders.prototype.has=function(name){return this.init(),this.headers.has(name.toLowerCase())},HttpHeaders.prototype.get=function(name){this.init();var values=this.headers.get(name.toLowerCase());return values&&values.length>0?values[0]:null},HttpHeaders.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},HttpHeaders.prototype.getAll=function(name){return this.init(),this.headers.get(name.toLowerCase())||null},HttpHeaders.prototype.append=function(name,value){return this.clone({name:name,value:value,op:"a"})},HttpHeaders.prototype.set=function(name,value){return this.clone({name:name,value:value,op:"s"})},HttpHeaders.prototype.delete=function(name,value){return this.clone({name:name,value:value,op:"d"})},HttpHeaders.prototype.maybeSetNormalizedName=function(name,lcName){this.normalizedNames.has(lcName)||this.normalizedNames.set(lcName,name)},HttpHeaders.prototype.init=function(){var _this=this;this.lazyInit&&(this.lazyInit instanceof HttpHeaders?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(update){return _this.applyUpdate(update)}),this.lazyUpdate=null))},HttpHeaders.prototype.copyFrom=function(other){var _this=this;other.init(),Array.from(other.headers.keys()).forEach(function(key){_this.headers.set(key,other.headers.get(key)),_this.normalizedNames.set(key,other.normalizedNames.get(key))})},HttpHeaders.prototype.clone=function(update){var clone=new HttpHeaders;return clone.lazyInit=this.lazyInit&&this.lazyInit instanceof HttpHeaders?this.lazyInit:this,clone.lazyUpdate=(this.lazyUpdate||[]).concat([update]),clone},HttpHeaders.prototype.applyUpdate=function(update){var key=update.name.toLowerCase();switch(update.op){case"a":case"s":var value=update.value;if("string"==typeof value&&(value=[value]),0===value.length)return;this.maybeSetNormalizedName(update.name,key);var base=("a"===update.op?this.headers.get(key):void 0)||[];base.push.apply(base,value),this.headers.set(key,base);break;case"d":var toDelete_1=update.value;if(toDelete_1){var existing=this.headers.get(key);if(!existing)return;existing=existing.filter(function(value){return toDelete_1.indexOf(value)===-1}),0===existing.length?(this.headers.delete(key),this.normalizedNames.delete(key)):this.headers.set(key,existing)}else this.headers.delete(key),this.normalizedNames.delete(key)}},HttpHeaders.prototype.forEach=function(fn){var _this=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(key){return fn(_this.normalizedNames.get(key),_this.headers.get(key))})},HttpHeaders}(),HttpRequest=function(){function HttpRequest(method,url,third,fourth){this.url=url,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=method.toUpperCase();var options;if(mightHaveBody(this.method)||fourth?(this.body=third||null,options=fourth):options=third,options&&(this.reportProgress=!!options.reportProgress,this.withCredentials=!!options.withCredentials,options.responseType&&(this.responseType=options.responseType),options.headers&&(this.headers=options.headers),options.params&&(this.params=options.params)),this.headers||(this.headers=new HttpHeaders),this.params){var params=this.params.toString();if(0===params.length)this.urlWithParams=url;else{var qIdx=url.indexOf("?"),sep=qIdx===-1?"?":qIdx<url.length-1?"&":"";this.urlWithParams=url+sep+params}}else this.params=new HttpParams,this.urlWithParams=url}return HttpRequest.prototype.serializeBody=function(){return null===this.body?null:isArrayBuffer(this.body)||isBlob(this.body)||isFormData(this.body)||"string"==typeof this.body?this.body:this.body instanceof HttpParams?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},HttpRequest.prototype.detectContentTypeHeader=function(){return null===this.body?null:isFormData(this.body)?null:isBlob(this.body)?this.body.type||null:isArrayBuffer(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof HttpParams?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},HttpRequest.prototype.clone=function(update){void 0===update&&(update={});var method=update.method||this.method,url=update.url||this.url,responseType=update.responseType||this.responseType,body=void 0!==update.body?update.body:this.body,withCredentials=void 0!==update.withCredentials?update.withCredentials:this.withCredentials,reportProgress=void 0!==update.reportProgress?update.reportProgress:this.reportProgress,headers=update.headers||this.headers,params=update.params||this.params;return void 0!==update.setHeaders&&(headers=Object.keys(update.setHeaders).reduce(function(headers,name){return headers.set(name,update.setHeaders[name])},headers)),update.setParams&&(params=Object.keys(update.setParams).reduce(function(params,param){return params.set(param,update.setParams[param])},params)),new HttpRequest(method,url,body,{params:params,headers:headers,reportProgress:reportProgress,responseType:responseType,withCredentials:withCredentials})},HttpRequest}(),HttpEventType={};HttpEventType.Sent=0,HttpEventType.UploadProgress=1,HttpEventType.ResponseHeader=2,HttpEventType.DownloadProgress=3,HttpEventType.Response=4,HttpEventType.User=5,HttpEventType[HttpEventType.Sent]="Sent",HttpEventType[HttpEventType.UploadProgress]="UploadProgress",HttpEventType[HttpEventType.ResponseHeader]="ResponseHeader",HttpEventType[HttpEventType.DownloadProgress]="DownloadProgress",HttpEventType[HttpEventType.Response]="Response",HttpEventType[HttpEventType.User]="User";var HttpResponseBase=function(){function HttpResponseBase(init,defaultStatus,defaultStatusText){void 0===defaultStatus&&(defaultStatus=200),void 0===defaultStatusText&&(defaultStatusText="OK"),this.headers=init.headers||new HttpHeaders,this.status=void 0!==init.status?init.status:defaultStatus,this.statusText=init.statusText||defaultStatusText,this.url=init.url||null,this.ok=this.status>=200&&this.status<300}return HttpResponseBase}(),HttpHeaderResponse=function(_super){function HttpHeaderResponse(init){void 0===init&&(init={});var _this=_super.call(this,init)||this;return _this.type=HttpEventType.ResponseHeader,_this}return tslib_1.__extends(HttpHeaderResponse,_super),HttpHeaderResponse.prototype.clone=function(update){return void 0===update&&(update={}),new HttpHeaderResponse({headers:update.headers||this.headers,status:void 0!==update.status?update.status:this.status,statusText:update.statusText||this.statusText,url:update.url||this.url||void 0})},HttpHeaderResponse}(HttpResponseBase),HttpResponse=function(_super){function HttpResponse(init){void 0===init&&(init={});var _this=_super.call(this,init)||this;return _this.type=HttpEventType.Response,_this.body=init.body||null,_this}return tslib_1.__extends(HttpResponse,_super),HttpResponse.prototype.clone=function(update){return void 0===update&&(update={}),new HttpResponse({body:void 0!==update.body?update.body:this.body,headers:update.headers||this.headers,status:void 0!==update.status?update.status:this.status,statusText:update.statusText||this.statusText,url:update.url||this.url||void 0})},HttpResponse}(HttpResponseBase),HttpErrorResponse=function(_super){function HttpErrorResponse(init){var _this=_super.call(this,init,0,"Unknown Error")||this;return _this.name="HttpErrorResponse",_this.ok=!1,_this.status>=200&&_this.status<300?_this.message="Http failure during parsing for "+(init.url||"(unknown url)"):_this.message="Http failure response for "+(init.url||"(unknown url)")+": "+init.status+" "+init.statusText,_this.error=init.error||null,_this}return tslib_1.__extends(HttpErrorResponse,_super),HttpErrorResponse}(HttpResponseBase),HttpClient=function(){function HttpClient(handler){this.handler=handler}return HttpClient.prototype.request=function(first,url,options){var _this=this;void 0===options&&(options={});var req;req=first instanceof HttpRequest?first:new HttpRequest(first,url,options.body||null,{headers:options.headers,params:options.params,reportProgress:options.reportProgress,responseType:options.responseType||"json",withCredentials:options.withCredentials});var events$=rxjs_operator_concatMap.concatMap.call(rxjs_observable_of.of(req),function(req){return _this.handler.handle(req)});if(first instanceof HttpRequest||"events"===options.observe)return events$;var res$=rxjs_operator_filter.filter.call(events$,function(event){return event instanceof HttpResponse});switch(options.observe||"body"){case"body":switch(req.responseType){case"arraybuffer":return rxjs_operator_map.map.call(res$,function(res){if(null!==res.body&&!(res.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return res.body});case"blob":return rxjs_operator_map.map.call(res$,function(res){if(null!==res.body&&!(res.body instanceof Blob))throw new Error("Response is not a Blob.");return res.body});case"text":return rxjs_operator_map.map.call(res$,function(res){if(null!==res.body&&"string"!=typeof res.body)throw new Error("Response is not a string.");return res.body});case"json":default:return rxjs_operator_map.map.call(res$,function(res){return res.body})}case"response":return res$;default:throw new Error("Unreachable: unhandled observe type "+options.observe+"}")}},HttpClient.prototype.delete=function(url,options){return void 0===options&&(options={}),this.request("DELETE",url,options)},HttpClient.prototype.get=function(url,options){return void 0===options&&(options={}),this.request("GET",url,options)},HttpClient.prototype.head=function(url,options){return void 0===options&&(options={}),this.request("HEAD",url,options)},HttpClient.prototype.jsonp=function(url,callbackParam){return this.request("JSONP",url,{params:(new HttpParams).append(callbackParam,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},HttpClient.prototype.options=function(url,options){return void 0===options&&(options={}),this.request("OPTIONS",url,options)},HttpClient.prototype.patch=function(url,body,options){return void 0===options&&(options={}),this.request("PATCH",url,addBody(options,body))},HttpClient.prototype.post=function(url,body,options){return void 0===options&&(options={}),this.request("POST",url,addBody(options,body))},HttpClient.prototype.put=function(url,body,options){return void 0===options&&(options={}),this.request("PUT",url,addBody(options,body))},HttpClient}();HttpClient.decorators=[{type:_angular_core.Injectable}],HttpClient.ctorParameters=function(){return[{type:HttpHandler}]};/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
function interceptingHandler(backend,interceptors){return void 0===interceptors&&(interceptors=[]),interceptors?interceptors.reduceRight(function(next,interceptor){return new HttpInterceptorHandler(next,interceptor)},backend):backend}function jsonpCallbackContext(){return"object"==typeof window?window:{}}/** | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
* License: MIT | ||
*/ | ||
var HttpInterceptorHandler=function(){function HttpInterceptorHandler(next,interceptor){this.next=next,this.interceptor=interceptor}return HttpInterceptorHandler.prototype.handle=function(req){return this.interceptor.intercept(req,this.next)},HttpInterceptorHandler}(),HTTP_INTERCEPTORS=new _angular_core.InjectionToken("HTTP_INTERCEPTORS"),NoopInterceptor=function(){function NoopInterceptor(){}return NoopInterceptor.prototype.intercept=function(req,next){return next.handle(req)},NoopInterceptor}();NoopInterceptor.decorators=[{type:_angular_core.Injectable}],NoopInterceptor.ctorParameters=function(){return[]};/** | ||
var HttpHandler=function(){function HttpHandler(){}return HttpHandler}(),HttpBackend=function(){function HttpBackend(){}return HttpBackend}(),HttpUrlEncodingCodec=function(){function HttpUrlEncodingCodec(){}return HttpUrlEncodingCodec.prototype.encodeKey=function(k){return standardEncoding(k)},HttpUrlEncodingCodec.prototype.encodeValue=function(v){return standardEncoding(v)},HttpUrlEncodingCodec.prototype.decodeKey=function(k){return decodeURIComponent(k)},HttpUrlEncodingCodec.prototype.decodeValue=function(v){return decodeURIComponent(v)},HttpUrlEncodingCodec}(),HttpParams=function(){function HttpParams(options){void 0===options&&(options={}),this.updates=null,this.cloneFrom=null,this.encoder=options.encoder||new HttpUrlEncodingCodec,this.map=options.fromString?paramParser(options.fromString,this.encoder):null}return HttpParams.prototype.has=function(param){return this.init(),this.map.has(param)},HttpParams.prototype.get=function(param){this.init();var res=this.map.get(param);return res?res[0]:null},HttpParams.prototype.getAll=function(param){return this.init(),this.map.get(param)||null},HttpParams.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},HttpParams.prototype.append=function(param,value){return this.clone({param:param,value:value,op:"a"})},HttpParams.prototype.set=function(param,value){return this.clone({param:param,value:value,op:"s"})},HttpParams.prototype.delete=function(param,value){return this.clone({param:param,value:value,op:"d"})},HttpParams.prototype.toString=function(){var _this=this;return this.init(),this.keys().map(function(key){var eKey=_this.encoder.encodeKey(key);return _this.map.get(key).map(function(value){return eKey+"="+_this.encoder.encodeValue(value)}).join("&")}).join("&")},HttpParams.prototype.clone=function(update){var clone=new HttpParams({encoder:this.encoder});return clone.cloneFrom=this.cloneFrom||this,clone.updates=(this.updates||[]).concat([update]),clone},HttpParams.prototype.init=function(){var _this=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(key){return _this.map.set(key,_this.cloneFrom.map.get(key))}),this.updates.forEach(function(update){switch(update.op){case"a":case"s":var base=("a"===update.op?_this.map.get(update.param):void 0)||[];base.push(update.value),_this.map.set(update.param,base);break;case"d":if(void 0===update.value){_this.map.delete(update.param);break}var base_1=_this.map.get(update.param)||[],idx=base_1.indexOf(update.value);idx!==-1&&base_1.splice(idx,1),base_1.length>0?_this.map.set(update.param,base_1):_this.map.delete(update.param)}}),this.cloneFrom=null)},HttpParams}(),HttpHeaders=function(){function HttpHeaders(headers){var _this=this;this.normalizedNames=new Map,this.lazyUpdate=null,headers?"string"==typeof headers?this.lazyInit=function(){_this.headers=new Map,headers.split("\n").forEach(function(line){var index=line.indexOf(":");if(index>0){var name=line.slice(0,index),key=name.toLowerCase(),value=line.slice(index+1).trim();_this.maybeSetNormalizedName(name,key),_this.headers.has(key)?_this.headers.get(key).push(value):_this.headers.set(key,[value])}})}:this.lazyInit=function(){_this.headers=new Map,Object.keys(headers).forEach(function(name){var values=headers[name],key=name.toLowerCase();"string"==typeof values&&(values=[values]),values.length>0&&(_this.headers.set(key,values),_this.maybeSetNormalizedName(name,key))})}:this.headers=new Map}return HttpHeaders.prototype.has=function(name){return this.init(),this.headers.has(name.toLowerCase())},HttpHeaders.prototype.get=function(name){this.init();var values=this.headers.get(name.toLowerCase());return values&&values.length>0?values[0]:null},HttpHeaders.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},HttpHeaders.prototype.getAll=function(name){return this.init(),this.headers.get(name.toLowerCase())||null},HttpHeaders.prototype.append=function(name,value){return this.clone({name:name,value:value,op:"a"})},HttpHeaders.prototype.set=function(name,value){return this.clone({name:name,value:value,op:"s"})},HttpHeaders.prototype.delete=function(name,value){return this.clone({name:name,value:value,op:"d"})},HttpHeaders.prototype.maybeSetNormalizedName=function(name,lcName){this.normalizedNames.has(lcName)||this.normalizedNames.set(lcName,name)},HttpHeaders.prototype.init=function(){var _this=this;this.lazyInit&&(this.lazyInit instanceof HttpHeaders?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(update){return _this.applyUpdate(update)}),this.lazyUpdate=null))},HttpHeaders.prototype.copyFrom=function(other){var _this=this;other.init(),Array.from(other.headers.keys()).forEach(function(key){_this.headers.set(key,other.headers.get(key)),_this.normalizedNames.set(key,other.normalizedNames.get(key))})},HttpHeaders.prototype.clone=function(update){var clone=new HttpHeaders;return clone.lazyInit=this.lazyInit&&this.lazyInit instanceof HttpHeaders?this.lazyInit:this,clone.lazyUpdate=(this.lazyUpdate||[]).concat([update]),clone},HttpHeaders.prototype.applyUpdate=function(update){var key=update.name.toLowerCase();switch(update.op){case"a":case"s":var value=update.value;if("string"==typeof value&&(value=[value]),0===value.length)return;this.maybeSetNormalizedName(update.name,key);var base=("a"===update.op?this.headers.get(key):void 0)||[];base.push.apply(base,value),this.headers.set(key,base);break;case"d":var toDelete_1=update.value;if(toDelete_1){var existing=this.headers.get(key);if(!existing)return;existing=existing.filter(function(value){return toDelete_1.indexOf(value)===-1}),0===existing.length?(this.headers.delete(key),this.normalizedNames.delete(key)):this.headers.set(key,existing)}else this.headers.delete(key),this.normalizedNames.delete(key)}},HttpHeaders.prototype.forEach=function(fn){var _this=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(key){return fn(_this.normalizedNames.get(key),_this.headers.get(key))})},HttpHeaders}(),HttpRequest=function(){function HttpRequest(method,url,third,fourth){this.url=url,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=method.toUpperCase();var options;if(mightHaveBody(this.method)||fourth?(this.body=third||null,options=fourth):options=third,options&&(this.reportProgress=!!options.reportProgress,this.withCredentials=!!options.withCredentials,options.responseType&&(this.responseType=options.responseType),options.headers&&(this.headers=options.headers),options.params&&(this.params=options.params)),this.headers||(this.headers=new HttpHeaders),this.params){var params=this.params.toString();if(0===params.length)this.urlWithParams=url;else{var qIdx=url.indexOf("?"),sep=qIdx===-1?"?":qIdx<url.length-1?"&":"";this.urlWithParams=url+sep+params}}else this.params=new HttpParams,this.urlWithParams=url}return HttpRequest.prototype.serializeBody=function(){return null===this.body?null:isArrayBuffer(this.body)||isBlob(this.body)||isFormData(this.body)||"string"==typeof this.body?this.body:this.body instanceof HttpParams?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},HttpRequest.prototype.detectContentTypeHeader=function(){return null===this.body?null:isFormData(this.body)?null:isBlob(this.body)?this.body.type||null:isArrayBuffer(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof HttpParams?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},HttpRequest.prototype.clone=function(update){void 0===update&&(update={});var method=update.method||this.method,url=update.url||this.url,responseType=update.responseType||this.responseType,body=void 0!==update.body?update.body:this.body,withCredentials=void 0!==update.withCredentials?update.withCredentials:this.withCredentials,reportProgress=void 0!==update.reportProgress?update.reportProgress:this.reportProgress,headers=update.headers||this.headers,params=update.params||this.params;return void 0!==update.setHeaders&&(headers=Object.keys(update.setHeaders).reduce(function(headers,name){return headers.set(name,update.setHeaders[name])},headers)),update.setParams&&(params=Object.keys(update.setParams).reduce(function(params,param){return params.set(param,update.setParams[param])},params)),new HttpRequest(method,url,body,{params:params,headers:headers,reportProgress:reportProgress,responseType:responseType,withCredentials:withCredentials})},HttpRequest}(),HttpEventType={};HttpEventType.Sent=0,HttpEventType.UploadProgress=1,HttpEventType.ResponseHeader=2,HttpEventType.DownloadProgress=3,HttpEventType.Response=4,HttpEventType.User=5,HttpEventType[HttpEventType.Sent]="Sent",HttpEventType[HttpEventType.UploadProgress]="UploadProgress",HttpEventType[HttpEventType.ResponseHeader]="ResponseHeader",HttpEventType[HttpEventType.DownloadProgress]="DownloadProgress",HttpEventType[HttpEventType.Response]="Response",HttpEventType[HttpEventType.User]="User";var HttpResponseBase=function(){function HttpResponseBase(init,defaultStatus,defaultStatusText){void 0===defaultStatus&&(defaultStatus=200),void 0===defaultStatusText&&(defaultStatusText="OK"),this.headers=init.headers||new HttpHeaders,this.status=void 0!==init.status?init.status:defaultStatus,this.statusText=init.statusText||defaultStatusText,this.url=init.url||null,this.ok=this.status>=200&&this.status<300}return HttpResponseBase}(),HttpHeaderResponse=function(_super){function HttpHeaderResponse(init){void 0===init&&(init={});var _this=_super.call(this,init)||this;return _this.type=HttpEventType.ResponseHeader,_this}return tslib_1.__extends(HttpHeaderResponse,_super),HttpHeaderResponse.prototype.clone=function(update){return void 0===update&&(update={}),new HttpHeaderResponse({headers:update.headers||this.headers,status:void 0!==update.status?update.status:this.status,statusText:update.statusText||this.statusText,url:update.url||this.url||void 0})},HttpHeaderResponse}(HttpResponseBase),HttpResponse=function(_super){function HttpResponse(init){void 0===init&&(init={});var _this=_super.call(this,init)||this;return _this.type=HttpEventType.Response,_this.body=init.body||null,_this}return tslib_1.__extends(HttpResponse,_super),HttpResponse.prototype.clone=function(update){return void 0===update&&(update={}),new HttpResponse({body:void 0!==update.body?update.body:this.body,headers:update.headers||this.headers,status:void 0!==update.status?update.status:this.status,statusText:update.statusText||this.statusText,url:update.url||this.url||void 0})},HttpResponse}(HttpResponseBase),HttpErrorResponse=function(_super){function HttpErrorResponse(init){var _this=_super.call(this,init,0,"Unknown Error")||this;return _this.name="HttpErrorResponse",_this.ok=!1,_this.status>=200&&_this.status<300?_this.message="Http failure during parsing for "+(init.url||"(unknown url)"):_this.message="Http failure response for "+(init.url||"(unknown url)")+": "+init.status+" "+init.statusText,_this.error=init.error||null,_this}return tslib_1.__extends(HttpErrorResponse,_super),HttpErrorResponse}(HttpResponseBase),HttpClient=function(){function HttpClient(handler){this.handler=handler}return HttpClient.prototype.request=function(first,url,options){var _this=this;void 0===options&&(options={});var req;req=first instanceof HttpRequest?first:new HttpRequest(first,url,options.body||null,{headers:options.headers,params:options.params,reportProgress:options.reportProgress,responseType:options.responseType||"json",withCredentials:options.withCredentials});var events$=rxjs_operator_concatMap.concatMap.call(rxjs_observable_of.of(req),function(req){return _this.handler.handle(req)});if(first instanceof HttpRequest||"events"===options.observe)return events$;var res$=rxjs_operator_filter.filter.call(events$,function(event){return event instanceof HttpResponse});switch(options.observe||"body"){case"body":switch(req.responseType){case"arraybuffer":return rxjs_operator_map.map.call(res$,function(res){if(null!==res.body&&!(res.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return res.body});case"blob":return rxjs_operator_map.map.call(res$,function(res){if(null!==res.body&&!(res.body instanceof Blob))throw new Error("Response is not a Blob.");return res.body});case"text":return rxjs_operator_map.map.call(res$,function(res){if(null!==res.body&&"string"!=typeof res.body)throw new Error("Response is not a string.");return res.body});case"json":default:return rxjs_operator_map.map.call(res$,function(res){return res.body})}case"response":return res$;default:throw new Error("Unreachable: unhandled observe type "+options.observe+"}")}},HttpClient.prototype.delete=function(url,options){return void 0===options&&(options={}),this.request("DELETE",url,options)},HttpClient.prototype.get=function(url,options){return void 0===options&&(options={}),this.request("GET",url,options)},HttpClient.prototype.head=function(url,options){return void 0===options&&(options={}),this.request("HEAD",url,options)},HttpClient.prototype.jsonp=function(url,callbackParam){return this.request("JSONP",url,{params:(new HttpParams).append(callbackParam,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},HttpClient.prototype.options=function(url,options){return void 0===options&&(options={}),this.request("OPTIONS",url,options)},HttpClient.prototype.patch=function(url,body,options){return void 0===options&&(options={}),this.request("PATCH",url,addBody(options,body))},HttpClient.prototype.post=function(url,body,options){return void 0===options&&(options={}),this.request("POST",url,addBody(options,body))},HttpClient.prototype.put=function(url,body,options){return void 0===options&&(options={}),this.request("PUT",url,addBody(options,body))},HttpClient}();HttpClient.decorators=[{type:_angular_core.Injectable}],HttpClient.ctorParameters=function(){return[{type:HttpHandler}]};var HttpInterceptorHandler=function(){function HttpInterceptorHandler(next,interceptor){this.next=next,this.interceptor=interceptor}return HttpInterceptorHandler.prototype.handle=function(req){return this.interceptor.intercept(req,this.next)},HttpInterceptorHandler}(),HTTP_INTERCEPTORS=new _angular_core.InjectionToken("HTTP_INTERCEPTORS"),NoopInterceptor=function(){function NoopInterceptor(){}return NoopInterceptor.prototype.intercept=function(req,next){return next.handle(req)},NoopInterceptor}();NoopInterceptor.decorators=[{type:_angular_core.Injectable}],NoopInterceptor.ctorParameters=function(){return[]};/** | ||
* @license | ||
@@ -64,3 +57,3 @@ * Copyright Google Inc. All Rights Reserved. | ||
*/ | ||
var XSSI_PREFIX=/^\)\]\}',?\n/,XhrFactory=function(){function XhrFactory(){}return XhrFactory.prototype.build=function(){},XhrFactory}(),BrowserXhr=function(){function BrowserXhr(){}return BrowserXhr.prototype.build=function(){return new XMLHttpRequest},BrowserXhr}();BrowserXhr.decorators=[{type:_angular_core.Injectable}],BrowserXhr.ctorParameters=function(){return[]};var HttpXhrBackend=function(){function HttpXhrBackend(xhrFactory){this.xhrFactory=xhrFactory}return HttpXhrBackend.prototype.handle=function(req){var _this=this;if("JSONP"===req.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new rxjs_Observable.Observable(function(observer){var xhr=_this.xhrFactory.build();if(xhr.open(req.method,req.urlWithParams),req.withCredentials&&(xhr.withCredentials=!0),req.headers.forEach(function(name,values){return xhr.setRequestHeader(name,values.join(","))}),req.headers.has("Accept")||xhr.setRequestHeader("Accept","application/json, text/plain, */*"),!req.headers.has("Content-Type")){var detectedType=req.detectContentTypeHeader();null!==detectedType&&xhr.setRequestHeader("Content-Type",detectedType)}req.responseType&&(xhr.responseType=req.responseType.toLowerCase());var reqBody=req.serializeBody(),headerResponse=null,partialFromXhr=function(){if(null!==headerResponse)return headerResponse;var status=1223===xhr.status?204:xhr.status,statusText=xhr.statusText||"OK",headers=new HttpHeaders(xhr.getAllResponseHeaders()),url=getResponseUrl(xhr)||req.url;return headerResponse=new HttpHeaderResponse({headers:headers,status:status,statusText:statusText,url:url})},onLoad=function(){var _a=partialFromXhr(),headers=_a.headers,status=_a.status,statusText=_a.statusText,url=_a.url,body=null;204!==status&&(body="undefined"==typeof xhr.response?xhr.responseText:xhr.response,"string"==typeof body&&(body=body.replace(XSSI_PREFIX,""))),0===status&&(status=body?200:0);var ok=status>=200&&status<300;if(ok&&"string"==typeof body&&"json"===req.responseType)try{body=JSON.parse(body)}catch(error){ok=!1,body={error:error,text:body}}ok?(observer.next(new HttpResponse({body:body,headers:headers,status:status,statusText:statusText,url:url||void 0})),observer.complete()):observer.error(new HttpErrorResponse({error:body,headers:headers,status:status,statusText:statusText,url:url||void 0}))},onError=function(error){var res=new HttpErrorResponse({error:error,status:xhr.status||0,statusText:xhr.statusText||"Unknown Error"});observer.error(res)},sentHeaders=!1,onDownProgress=function(event){sentHeaders||(observer.next(partialFromXhr()),sentHeaders=!0);var progressEvent={type:HttpEventType.DownloadProgress,loaded:event.loaded};event.lengthComputable&&(progressEvent.total=event.total),"text"===req.responseType&&xhr.responseText&&(progressEvent.partialText=xhr.responseText),observer.next(progressEvent)},onUpProgress=function(event){var progress={type:HttpEventType.UploadProgress,loaded:event.loaded};event.lengthComputable&&(progress.total=event.total),observer.next(progress)};return xhr.addEventListener("load",onLoad),xhr.addEventListener("error",onError),req.reportProgress&&(xhr.addEventListener("progress",onDownProgress),null!==reqBody&&xhr.upload&&xhr.upload.addEventListener("progress",onUpProgress)),xhr.send(reqBody),observer.next({type:HttpEventType.Sent}),function(){xhr.removeEventListener("error",onError),xhr.removeEventListener("load",onLoad),req.reportProgress&&(xhr.removeEventListener("progress",onDownProgress),null!==reqBody&&xhr.upload&&xhr.upload.removeEventListener("progress",onUpProgress)),xhr.abort()}})},HttpXhrBackend}();HttpXhrBackend.decorators=[{type:_angular_core.Injectable}],HttpXhrBackend.ctorParameters=function(){return[{type:XhrFactory}]};/** | ||
var XSSI_PREFIX=/^\)\]\}',?\n/,XhrFactory=function(){function XhrFactory(){}return XhrFactory}(),BrowserXhr=function(){function BrowserXhr(){}return BrowserXhr.prototype.build=function(){return new XMLHttpRequest},BrowserXhr}();BrowserXhr.decorators=[{type:_angular_core.Injectable}],BrowserXhr.ctorParameters=function(){return[]};var HttpXhrBackend=function(){function HttpXhrBackend(xhrFactory){this.xhrFactory=xhrFactory}return HttpXhrBackend.prototype.handle=function(req){var _this=this;if("JSONP"===req.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new rxjs_Observable.Observable(function(observer){var xhr=_this.xhrFactory.build();if(xhr.open(req.method,req.urlWithParams),req.withCredentials&&(xhr.withCredentials=!0),req.headers.forEach(function(name,values){return xhr.setRequestHeader(name,values.join(","))}),req.headers.has("Accept")||xhr.setRequestHeader("Accept","application/json, text/plain, */*"),!req.headers.has("Content-Type")){var detectedType=req.detectContentTypeHeader();null!==detectedType&&xhr.setRequestHeader("Content-Type",detectedType)}req.responseType&&(xhr.responseType=req.responseType.toLowerCase());var reqBody=req.serializeBody(),headerResponse=null,partialFromXhr=function(){if(null!==headerResponse)return headerResponse;var status=1223===xhr.status?204:xhr.status,statusText=xhr.statusText||"OK",headers=new HttpHeaders(xhr.getAllResponseHeaders()),url=getResponseUrl(xhr)||req.url;return headerResponse=new HttpHeaderResponse({headers:headers,status:status,statusText:statusText,url:url})},onLoad=function(){var _a=partialFromXhr(),headers=_a.headers,status=_a.status,statusText=_a.statusText,url=_a.url,body=null;204!==status&&(body="undefined"==typeof xhr.response?xhr.responseText:xhr.response,"string"==typeof body&&(body=body.replace(XSSI_PREFIX,""))),0===status&&(status=body?200:0);var ok=status>=200&&status<300;if(ok&&"string"==typeof body&&"json"===req.responseType)try{body=JSON.parse(body)}catch(error){ok=!1,body={error:error,text:body}}ok?(observer.next(new HttpResponse({body:body,headers:headers,status:status,statusText:statusText,url:url||void 0})),observer.complete()):observer.error(new HttpErrorResponse({error:body,headers:headers,status:status,statusText:statusText,url:url||void 0}))},onError=function(error){var res=new HttpErrorResponse({error:error,status:xhr.status||0,statusText:xhr.statusText||"Unknown Error"});observer.error(res)},sentHeaders=!1,onDownProgress=function(event){sentHeaders||(observer.next(partialFromXhr()),sentHeaders=!0);var progressEvent={type:HttpEventType.DownloadProgress,loaded:event.loaded};event.lengthComputable&&(progressEvent.total=event.total),"text"===req.responseType&&xhr.responseText&&(progressEvent.partialText=xhr.responseText),observer.next(progressEvent)},onUpProgress=function(event){var progress={type:HttpEventType.UploadProgress,loaded:event.loaded};event.lengthComputable&&(progress.total=event.total),observer.next(progress)};return xhr.addEventListener("load",onLoad),xhr.addEventListener("error",onError),req.reportProgress&&(xhr.addEventListener("progress",onDownProgress),null!==reqBody&&xhr.upload&&xhr.upload.addEventListener("progress",onUpProgress)),xhr.send(reqBody),observer.next({type:HttpEventType.Sent}),function(){xhr.removeEventListener("error",onError),xhr.removeEventListener("load",onLoad),req.reportProgress&&(xhr.removeEventListener("progress",onDownProgress),null!==reqBody&&xhr.upload&&xhr.upload.removeEventListener("progress",onUpProgress)),xhr.abort()}})},HttpXhrBackend}();HttpXhrBackend.decorators=[{type:_angular_core.Injectable}],HttpXhrBackend.ctorParameters=function(){return[{type:XhrFactory}]};/** | ||
* @license | ||
@@ -72,3 +65,3 @@ * Copyright Google Inc. All Rights Reserved. | ||
*/ | ||
var XSRF_COOKIE_NAME=new _angular_core.InjectionToken("XSRF_COOKIE_NAME"),XSRF_HEADER_NAME=new _angular_core.InjectionToken("XSRF_HEADER_NAME"),HttpXsrfTokenExtractor=function(){function HttpXsrfTokenExtractor(){}return HttpXsrfTokenExtractor.prototype.getToken=function(){},HttpXsrfTokenExtractor}(),HttpXsrfCookieExtractor=function(){function HttpXsrfCookieExtractor(doc,platform,cookieName){this.doc=doc,this.platform=platform,this.cookieName=cookieName,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return HttpXsrfCookieExtractor.prototype.getToken=function(){if("server"===this.platform)return null;var cookieString=this.doc.cookie||"";return cookieString!==this.lastCookieString&&(this.parseCount++,this.lastToken=_angular_common.ɵparseCookieValue(cookieString,this.cookieName),this.lastCookieString=cookieString),this.lastToken},HttpXsrfCookieExtractor}();HttpXsrfCookieExtractor.decorators=[{type:_angular_core.Injectable}],HttpXsrfCookieExtractor.ctorParameters=function(){return[{type:void 0,decorators:[{type:_angular_core.Inject,args:[_angular_common.DOCUMENT]}]},{type:void 0,decorators:[{type:_angular_core.Inject,args:[_angular_core.PLATFORM_ID]}]},{type:void 0,decorators:[{type:_angular_core.Inject,args:[XSRF_COOKIE_NAME]}]}]};var HttpXsrfInterceptor=function(){function HttpXsrfInterceptor(tokenService,headerName){this.tokenService=tokenService,this.headerName=headerName}return HttpXsrfInterceptor.prototype.intercept=function(req,next){var lcUrl=req.url.toLowerCase();if("GET"===req.method||"HEAD"===req.method||lcUrl.startsWith("http://")||lcUrl.startsWith("https://"))return next.handle(req);var token=this.tokenService.getToken();return null===token||req.headers.has(this.headerName)||(req=req.clone({headers:req.headers.set(this.headerName,token)})),next.handle(req)},HttpXsrfInterceptor}();HttpXsrfInterceptor.decorators=[{type:_angular_core.Injectable}],HttpXsrfInterceptor.ctorParameters=function(){return[{type:HttpXsrfTokenExtractor},{type:void 0,decorators:[{type:_angular_core.Inject,args:[XSRF_HEADER_NAME]}]}]};var HttpClientXsrfModule=function(){function HttpClientXsrfModule(){}return HttpClientXsrfModule.disable=function(){return{ngModule:HttpClientXsrfModule,providers:[{provide:HttpXsrfInterceptor,useClass:NoopInterceptor}]}},HttpClientXsrfModule.withOptions=function(options){return void 0===options&&(options={}),{ngModule:HttpClientXsrfModule,providers:[options.cookieName?{provide:XSRF_COOKIE_NAME,useValue:options.cookieName}:[],options.headerName?{provide:XSRF_HEADER_NAME,useValue:options.headerName}:[]]}},HttpClientXsrfModule}();HttpClientXsrfModule.decorators=[{type:_angular_core.NgModule,args:[{providers:[HttpXsrfInterceptor,{provide:HTTP_INTERCEPTORS,useExisting:HttpXsrfInterceptor,multi:!0},{provide:HttpXsrfTokenExtractor,useClass:HttpXsrfCookieExtractor},{provide:XSRF_COOKIE_NAME,useValue:"XSRF-TOKEN"},{provide:XSRF_HEADER_NAME,useValue:"X-XSRF-TOKEN"}]}]}],HttpClientXsrfModule.ctorParameters=function(){return[]};var HttpClientModule=function(){function HttpClientModule(){}return HttpClientModule}();HttpClientModule.decorators=[{type:_angular_core.NgModule,args:[{imports:[HttpClientXsrfModule.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})],providers:[HttpClient,{provide:HttpHandler,useFactory:interceptingHandler,deps:[HttpBackend,[new _angular_core.Optional,new _angular_core.Inject(HTTP_INTERCEPTORS)]]},HttpXhrBackend,{provide:HttpBackend,useExisting:HttpXhrBackend},BrowserXhr,{provide:XhrFactory,useExisting:BrowserXhr}]}]}],HttpClientModule.ctorParameters=function(){return[]};var HttpClientJsonpModule=function(){function HttpClientJsonpModule(){}return HttpClientJsonpModule}();HttpClientJsonpModule.decorators=[{type:_angular_core.NgModule,args:[{providers:[JsonpClientBackend,{provide:JsonpCallbackContext,useFactory:jsonpCallbackContext},{provide:HTTP_INTERCEPTORS,useClass:JsonpInterceptor,multi:!0}]}]}],HttpClientJsonpModule.ctorParameters=function(){return[]},exports.HttpBackend=HttpBackend,exports.HttpHandler=HttpHandler,exports.HttpClient=HttpClient,exports.HttpHeaders=HttpHeaders,exports.HTTP_INTERCEPTORS=HTTP_INTERCEPTORS,exports.JsonpClientBackend=JsonpClientBackend,exports.JsonpInterceptor=JsonpInterceptor,exports.HttpClientJsonpModule=HttpClientJsonpModule,exports.HttpClientModule=HttpClientModule,exports.HttpClientXsrfModule=HttpClientXsrfModule,exports.ɵinterceptingHandler=interceptingHandler,exports.HttpParams=HttpParams,exports.HttpUrlEncodingCodec=HttpUrlEncodingCodec,exports.HttpRequest=HttpRequest,exports.HttpErrorResponse=HttpErrorResponse,exports.HttpEventType=HttpEventType,exports.HttpHeaderResponse=HttpHeaderResponse,exports.HttpResponse=HttpResponse,exports.HttpResponseBase=HttpResponseBase,exports.HttpXhrBackend=HttpXhrBackend,exports.XhrFactory=XhrFactory,exports.HttpXsrfTokenExtractor=HttpXsrfTokenExtractor,exports.ɵa=NoopInterceptor,exports.ɵb=JsonpCallbackContext,exports.ɵc=jsonpCallbackContext,exports.ɵd=BrowserXhr,exports.ɵg=HttpXsrfCookieExtractor,exports.ɵh=HttpXsrfInterceptor,exports.ɵe=XSRF_COOKIE_NAME,exports.ɵf=XSRF_HEADER_NAME,Object.defineProperty(exports,"__esModule",{value:!0})}); | ||
var XSRF_COOKIE_NAME=new _angular_core.InjectionToken("XSRF_COOKIE_NAME"),XSRF_HEADER_NAME=new _angular_core.InjectionToken("XSRF_HEADER_NAME"),HttpXsrfTokenExtractor=function(){function HttpXsrfTokenExtractor(){}return HttpXsrfTokenExtractor}(),HttpXsrfCookieExtractor=function(){function HttpXsrfCookieExtractor(doc,platform,cookieName){this.doc=doc,this.platform=platform,this.cookieName=cookieName,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return HttpXsrfCookieExtractor.prototype.getToken=function(){if("server"===this.platform)return null;var cookieString=this.doc.cookie||"";return cookieString!==this.lastCookieString&&(this.parseCount++,this.lastToken=_angular_common.ɵparseCookieValue(cookieString,this.cookieName),this.lastCookieString=cookieString),this.lastToken},HttpXsrfCookieExtractor}();HttpXsrfCookieExtractor.decorators=[{type:_angular_core.Injectable}],HttpXsrfCookieExtractor.ctorParameters=function(){return[{type:void 0,decorators:[{type:_angular_core.Inject,args:[_angular_common.DOCUMENT]}]},{type:void 0,decorators:[{type:_angular_core.Inject,args:[_angular_core.PLATFORM_ID]}]},{type:void 0,decorators:[{type:_angular_core.Inject,args:[XSRF_COOKIE_NAME]}]}]};var HttpXsrfInterceptor=function(){function HttpXsrfInterceptor(tokenService,headerName){this.tokenService=tokenService,this.headerName=headerName}return HttpXsrfInterceptor.prototype.intercept=function(req,next){var lcUrl=req.url.toLowerCase();if("GET"===req.method||"HEAD"===req.method||lcUrl.startsWith("http://")||lcUrl.startsWith("https://"))return next.handle(req);var token=this.tokenService.getToken();return null===token||req.headers.has(this.headerName)||(req=req.clone({headers:req.headers.set(this.headerName,token)})),next.handle(req)},HttpXsrfInterceptor}();HttpXsrfInterceptor.decorators=[{type:_angular_core.Injectable}],HttpXsrfInterceptor.ctorParameters=function(){return[{type:HttpXsrfTokenExtractor},{type:void 0,decorators:[{type:_angular_core.Inject,args:[XSRF_HEADER_NAME]}]}]};var HttpClientXsrfModule=function(){function HttpClientXsrfModule(){}return HttpClientXsrfModule.disable=function(){return{ngModule:HttpClientXsrfModule,providers:[{provide:HttpXsrfInterceptor,useClass:NoopInterceptor}]}},HttpClientXsrfModule.withOptions=function(options){return void 0===options&&(options={}),{ngModule:HttpClientXsrfModule,providers:[options.cookieName?{provide:XSRF_COOKIE_NAME,useValue:options.cookieName}:[],options.headerName?{provide:XSRF_HEADER_NAME,useValue:options.headerName}:[]]}},HttpClientXsrfModule}();HttpClientXsrfModule.decorators=[{type:_angular_core.NgModule,args:[{providers:[HttpXsrfInterceptor,{provide:HTTP_INTERCEPTORS,useExisting:HttpXsrfInterceptor,multi:!0},{provide:HttpXsrfTokenExtractor,useClass:HttpXsrfCookieExtractor},{provide:XSRF_COOKIE_NAME,useValue:"XSRF-TOKEN"},{provide:XSRF_HEADER_NAME,useValue:"X-XSRF-TOKEN"}]}]}],HttpClientXsrfModule.ctorParameters=function(){return[]};var HttpClientModule=function(){function HttpClientModule(){}return HttpClientModule}();HttpClientModule.decorators=[{type:_angular_core.NgModule,args:[{imports:[HttpClientXsrfModule.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})],providers:[HttpClient,{provide:HttpHandler,useFactory:interceptingHandler,deps:[HttpBackend,[new _angular_core.Optional,new _angular_core.Inject(HTTP_INTERCEPTORS)]]},HttpXhrBackend,{provide:HttpBackend,useExisting:HttpXhrBackend},BrowserXhr,{provide:XhrFactory,useExisting:BrowserXhr}]}]}],HttpClientModule.ctorParameters=function(){return[]};var HttpClientJsonpModule=function(){function HttpClientJsonpModule(){}return HttpClientJsonpModule}();HttpClientJsonpModule.decorators=[{type:_angular_core.NgModule,args:[{providers:[JsonpClientBackend,{provide:JsonpCallbackContext,useFactory:jsonpCallbackContext},{provide:HTTP_INTERCEPTORS,useClass:JsonpInterceptor,multi:!0}]}]}],HttpClientJsonpModule.ctorParameters=function(){return[]},exports.HttpBackend=HttpBackend,exports.HttpHandler=HttpHandler,exports.HttpClient=HttpClient,exports.HttpHeaders=HttpHeaders,exports.HTTP_INTERCEPTORS=HTTP_INTERCEPTORS,exports.HttpInterceptor=HttpInterceptor,exports.JsonpClientBackend=JsonpClientBackend,exports.JsonpInterceptor=JsonpInterceptor,exports.HttpClientJsonpModule=HttpClientJsonpModule,exports.HttpClientModule=HttpClientModule,exports.HttpClientXsrfModule=HttpClientXsrfModule,exports.ɵinterceptingHandler=interceptingHandler,exports.HttpParameterCodec=HttpParameterCodec,exports.HttpParams=HttpParams,exports.HttpUrlEncodingCodec=HttpUrlEncodingCodec,exports.HttpRequest=HttpRequest,exports.HttpDownloadProgressEvent=HttpDownloadProgressEvent,exports.HttpErrorResponse=HttpErrorResponse,exports.HttpEventType=HttpEventType,exports.HttpHeaderResponse=HttpHeaderResponse,exports.HttpProgressEvent=HttpProgressEvent,exports.HttpResponse=HttpResponse,exports.HttpResponseBase=HttpResponseBase,exports.HttpSentEvent=HttpSentEvent,exports.HttpUserEvent=HttpUserEvent,exports.HttpXhrBackend=HttpXhrBackend,exports.XhrFactory=XhrFactory,exports.HttpXsrfTokenExtractor=HttpXsrfTokenExtractor,exports.ɵa=NoopInterceptor,exports.ɵb=JsonpCallbackContext,exports.ɵc=jsonpCallbackContext,exports.ɵd=BrowserXhr,exports.ɵg=HttpXsrfCookieExtractor,exports.ɵh=HttpXsrfInterceptor,exports.ɵe=XSRF_COOKIE_NAME,exports.ɵf=XSRF_HEADER_NAME,Object.defineProperty(exports,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=common-http.umd.min.js.map |
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -39,3 +39,3 @@ * License: MIT | ||
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -42,0 +42,0 @@ * License: MIT |
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
* License: MIT | ||
*/ | ||
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/core")):"function"==typeof define&&define.amd?define(["exports","@angular/core"],factory):factory((global.ng=global.ng||{},global.ng.common=global.ng.common||{}),global.ng.core)}(this,function(exports,_angular_core){"use strict";function __extends(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}function _stripBaseHref(baseHref,url){return baseHref&&url.startsWith(baseHref)?url.substring(baseHref.length):url}function _stripIndexHtml(url){return url.replace(/\/index.html$/,"")}function getPluralCategory(value,cases,ngLocalization){var key="="+value;if(cases.indexOf(key)>-1)return key;if(key=ngLocalization.getPluralCategory(value),cases.indexOf(key)>-1)return key;if(cases.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+value+'"')}function getPluralCase(locale,nLike){"string"==typeof nLike&&(nLike=parseInt(nLike,10));var n=nLike,nDecimal=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),v=nDecimal.length,f=parseInt(nDecimal,10),t=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0,lang=locale.split("-")[0].toLowerCase();switch(lang){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?Plural.One:Plural.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?Plural.One:Plural.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?Plural.One:Plural.Other;case"ar":return 0===n?Plural.Zero:1===n?Plural.One:2===n?Plural.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?Plural.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?Plural.Many:Plural.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===i&&0===v?Plural.One:Plural.Other;case"be":return n%10===1&&n%100!==11?Plural.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?Plural.Few:n%10===0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?Plural.Many:Plural.Other;case"br":return n%10===1&&n%100!==11&&n%100!==71&&n%100!==91?Plural.One:n%10===2&&n%100!==12&&n%100!==72&&n%100!==92?Plural.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10===9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?Plural.Few:0!==n&&n%1e6===0?Plural.Many:Plural.Other;case"bs":case"hr":case"sr":return 0===v&&i%10===1&&i%100!==11||f%10===1&&f%100!==11?Plural.One:0===v&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)||f%10===Math.floor(f%10)&&f%10>=2&&f%10<=4&&!(f%100>=12&&f%100<=14)?Plural.Few:Plural.Other;case"cs":case"sk":return 1===i&&0===v?Plural.One:i===Math.floor(i)&&i>=2&&i<=4&&0===v?Plural.Few:0!==v?Plural.Many:Plural.Other;case"cy":return 0===n?Plural.Zero:1===n?Plural.One:2===n?Plural.Two:3===n?Plural.Few:6===n?Plural.Many:Plural.Other;case"da":return 1===n||0!==t&&(0===i||1===i)?Plural.One:Plural.Other;case"dsb":case"hsb":return 0===v&&i%100===1||f%100===1?Plural.One:0===v&&i%100===2||f%100===2?Plural.Two:0===v&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||f%100===Math.floor(f%100)&&f%100>=3&&f%100<=4?Plural.Few:Plural.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?Plural.One:Plural.Other;case"fil":return 0===v&&(1===i||2===i||3===i)||0===v&&i%10!==4&&i%10!==6&&i%10!==9||0!==v&&f%10!==4&&f%10!==6&&f%10!==9?Plural.One:Plural.Other;case"ga":return 1===n?Plural.One:2===n?Plural.Two:n===Math.floor(n)&&n>=3&&n<=6?Plural.Few:n===Math.floor(n)&&n>=7&&n<=10?Plural.Many:Plural.Other;case"gd":return 1===n||11===n?Plural.One:2===n||12===n?Plural.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?Plural.Few:Plural.Other;case"gv":return 0===v&&i%10===1?Plural.One:0===v&&i%10===2?Plural.Two:0!==v||i%100!==0&&i%100!==20&&i%100!==40&&i%100!==60&&i%100!==80?0!==v?Plural.Many:Plural.Other:Plural.Few;case"he":return 1===i&&0===v?Plural.One:2===i&&0===v?Plural.Two:0!==v||n>=0&&n<=10||n%10!==0?Plural.Other:Plural.Many;case"is":return 0===t&&i%10===1&&i%100!==11||0!==t?Plural.One:Plural.Other;case"ksh":return 0===n?Plural.Zero:1===n?Plural.One:Plural.Other;case"kw":case"naq":case"se":case"smn":return 1===n?Plural.One:2===n?Plural.Two:Plural.Other;case"lag":return 0===n?Plural.Zero:0!==i&&1!==i||0===n?Plural.Other:Plural.One;case"lt":return n%10!==1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?Plural.Few:0!==f?Plural.Many:Plural.Other:Plural.One;case"lv":case"prg":return n%10===0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===v&&f%100===Math.floor(f%100)&&f%100>=11&&f%100<=19?Plural.Zero:n%10===1&&n%100!==11||2===v&&f%10===1&&f%100!==11||2!==v&&f%10===1?Plural.One:Plural.Other;case"mk":return 0===v&&i%10===1||f%10===1?Plural.One:Plural.Other;case"mt":return 1===n?Plural.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?Plural.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?Plural.Many:Plural.Other;case"pl":return 1===i&&0===v?Plural.One:0===v&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?Plural.Few:0===v&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&i%10<=1||0===v&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===v&&i%100===Math.floor(i%100)&&i%100>=12&&i%100<=14?Plural.Many:Plural.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?Plural.One:Plural.Other;case"ro":return 1===i&&0===v?Plural.One:0!==v||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?Plural.Few:Plural.Other;case"ru":case"uk":return 0===v&&i%10===1&&i%100!==11?Plural.One:0===v&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?Plural.Few:0===v&&i%10===0||0===v&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===v&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=14?Plural.Many:Plural.Other;case"shi":return 0===i||1===n?Plural.One:n===Math.floor(n)&&n>=2&&n<=10?Plural.Few:Plural.Other;case"si":return 0===n||1===n||0===i&&1===f?Plural.One:Plural.Other;case"sl":return 0===v&&i%100===1?Plural.One:0===v&&i%100===2?Plural.Two:0===v&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||0!==v?Plural.Few:Plural.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?Plural.One:Plural.Other;default:return Plural.Other}}/** | ||
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/core")):"function"==typeof define&&define.amd?define(["exports","@angular/core"],factory):factory((global.ng=global.ng||{},global.ng.common=global.ng.common||{}),global.ng.core)}(this,function(exports,_angular_core){"use strict";function __extends(d,b){function __(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)}function LocationChangeEvent(){}function LocationChangeListener(){}/** | ||
* @license | ||
@@ -12,2 +12,9 @@ * Copyright Google Inc. All Rights Reserved. | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
function PopStateEvent(){}function _stripBaseHref(baseHref,url){return baseHref&&url.startsWith(baseHref)?url.substring(baseHref.length):url}function _stripIndexHtml(url){return url.replace(/\/index.html$/,"")}function getPluralCategory(value,cases,ngLocalization){var key="="+value;if(cases.indexOf(key)>-1)return key;if(key=ngLocalization.getPluralCategory(value),cases.indexOf(key)>-1)return key;if(cases.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'+value+'"')}function getPluralCase(locale,nLike){"string"==typeof nLike&&(nLike=parseInt(nLike,10));var n=nLike,nDecimal=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),v=nDecimal.length,f=parseInt(nDecimal,10),t=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0,lang=locale.split("-")[0].toLowerCase();switch(lang){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?Plural.One:Plural.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&n>=0&&n<=1?Plural.One:Plural.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?Plural.One:Plural.Other;case"ar":return 0===n?Plural.Zero:1===n?Plural.One:2===n?Plural.Two:n%100===Math.floor(n%100)&&n%100>=3&&n%100<=10?Plural.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=99?Plural.Many:Plural.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===i&&0===v?Plural.One:Plural.Other;case"be":return n%10===1&&n%100!==11?Plural.One:n%10===Math.floor(n%10)&&n%10>=2&&n%10<=4&&!(n%100>=12&&n%100<=14)?Plural.Few:n%10===0||n%10===Math.floor(n%10)&&n%10>=5&&n%10<=9||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=14?Plural.Many:Plural.Other;case"br":return n%10===1&&n%100!==11&&n%100!==71&&n%100!==91?Plural.One:n%10===2&&n%100!==12&&n%100!==72&&n%100!==92?Plural.Two:n%10===Math.floor(n%10)&&(n%10>=3&&n%10<=4||n%10===9)&&!(n%100>=10&&n%100<=19||n%100>=70&&n%100<=79||n%100>=90&&n%100<=99)?Plural.Few:0!==n&&n%1e6===0?Plural.Many:Plural.Other;case"bs":case"hr":case"sr":return 0===v&&i%10===1&&i%100!==11||f%10===1&&f%100!==11?Plural.One:0===v&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)||f%10===Math.floor(f%10)&&f%10>=2&&f%10<=4&&!(f%100>=12&&f%100<=14)?Plural.Few:Plural.Other;case"cs":case"sk":return 1===i&&0===v?Plural.One:i===Math.floor(i)&&i>=2&&i<=4&&0===v?Plural.Few:0!==v?Plural.Many:Plural.Other;case"cy":return 0===n?Plural.Zero:1===n?Plural.One:2===n?Plural.Two:3===n?Plural.Few:6===n?Plural.Many:Plural.Other;case"da":return 1===n||0!==t&&(0===i||1===i)?Plural.One:Plural.Other;case"dsb":case"hsb":return 0===v&&i%100===1||f%100===1?Plural.One:0===v&&i%100===2||f%100===2?Plural.Two:0===v&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||f%100===Math.floor(f%100)&&f%100>=3&&f%100<=4?Plural.Few:Plural.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?Plural.One:Plural.Other;case"fil":return 0===v&&(1===i||2===i||3===i)||0===v&&i%10!==4&&i%10!==6&&i%10!==9||0!==v&&f%10!==4&&f%10!==6&&f%10!==9?Plural.One:Plural.Other;case"ga":return 1===n?Plural.One:2===n?Plural.Two:n===Math.floor(n)&&n>=3&&n<=6?Plural.Few:n===Math.floor(n)&&n>=7&&n<=10?Plural.Many:Plural.Other;case"gd":return 1===n||11===n?Plural.One:2===n||12===n?Plural.Two:n===Math.floor(n)&&(n>=3&&n<=10||n>=13&&n<=19)?Plural.Few:Plural.Other;case"gv":return 0===v&&i%10===1?Plural.One:0===v&&i%10===2?Plural.Two:0!==v||i%100!==0&&i%100!==20&&i%100!==40&&i%100!==60&&i%100!==80?0!==v?Plural.Many:Plural.Other:Plural.Few;case"he":return 1===i&&0===v?Plural.One:2===i&&0===v?Plural.Two:0!==v||n>=0&&n<=10||n%10!==0?Plural.Other:Plural.Many;case"is":return 0===t&&i%10===1&&i%100!==11||0!==t?Plural.One:Plural.Other;case"ksh":return 0===n?Plural.Zero:1===n?Plural.One:Plural.Other;case"kw":case"naq":case"se":case"smn":return 1===n?Plural.One:2===n?Plural.Two:Plural.Other;case"lag":return 0===n?Plural.Zero:0!==i&&1!==i||0===n?Plural.Other:Plural.One;case"lt":return n%10!==1||n%100>=11&&n%100<=19?n%10===Math.floor(n%10)&&n%10>=2&&n%10<=9&&!(n%100>=11&&n%100<=19)?Plural.Few:0!==f?Plural.Many:Plural.Other:Plural.One;case"lv":case"prg":return n%10===0||n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19||2===v&&f%100===Math.floor(f%100)&&f%100>=11&&f%100<=19?Plural.Zero:n%10===1&&n%100!==11||2===v&&f%10===1&&f%100!==11||2!==v&&f%10===1?Plural.One:Plural.Other;case"mk":return 0===v&&i%10===1||f%10===1?Plural.One:Plural.Other;case"mt":return 1===n?Plural.One:0===n||n%100===Math.floor(n%100)&&n%100>=2&&n%100<=10?Plural.Few:n%100===Math.floor(n%100)&&n%100>=11&&n%100<=19?Plural.Many:Plural.Other;case"pl":return 1===i&&0===v?Plural.One:0===v&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?Plural.Few:0===v&&1!==i&&i%10===Math.floor(i%10)&&i%10>=0&&i%10<=1||0===v&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===v&&i%100===Math.floor(i%100)&&i%100>=12&&i%100<=14?Plural.Many:Plural.Other;case"pt":return n===Math.floor(n)&&n>=0&&n<=2&&2!==n?Plural.One:Plural.Other;case"ro":return 1===i&&0===v?Plural.One:0!==v||0===n||1!==n&&n%100===Math.floor(n%100)&&n%100>=1&&n%100<=19?Plural.Few:Plural.Other;case"ru":case"uk":return 0===v&&i%10===1&&i%100!==11?Plural.One:0===v&&i%10===Math.floor(i%10)&&i%10>=2&&i%10<=4&&!(i%100>=12&&i%100<=14)?Plural.Few:0===v&&i%10===0||0===v&&i%10===Math.floor(i%10)&&i%10>=5&&i%10<=9||0===v&&i%100===Math.floor(i%100)&&i%100>=11&&i%100<=14?Plural.Many:Plural.Other;case"shi":return 0===i||1===n?Plural.One:n===Math.floor(n)&&n>=2&&n<=10?Plural.Few:Plural.Other;case"si":return 0===n||1===n||0===i&&1===f?Plural.One:Plural.Other;case"sl":return 0===v&&i%100===1?Plural.One:0===v&&i%100===2?Plural.Two:0===v&&i%100===Math.floor(i%100)&&i%100>=3&&i%100<=4||0!==v?Plural.Few:Plural.Other;case"tzm":return n===Math.floor(n)&&n>=0&&n<=1||n===Math.floor(n)&&n>=11&&n<=99?Plural.One:Plural.Other;default:return Plural.Other}}/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
* @param {?} cookieStr | ||
@@ -24,3 +31,3 @@ * @param {?} name | ||
*/ | ||
function invalidPipeArgumentError(type,value){return Error("InvalidPipeArgument: '"+value+"' for pipe '"+_angular_core.ɵstringify(type)+"'")}function titleCaseWord(word){return word?word[0].toUpperCase()+word.substr(1).toLowerCase():word}function digitModifier(inner){return function(date,locale){var result=inner(date,locale);return 1==result.length?"0"+result:result}}function hourClockExtractor(inner){return function(date,locale){return inner(date,locale).split(" ")[1]}}function hourExtractor(inner){return function(date,locale){return inner(date,locale).split(" ")[0]}}function intlDateFormat(date,locale,options){return new Intl.DateTimeFormat(locale,options).format(date).replace(/[\u200e\u200f]/g,"")}function timeZoneGetter(timezone){var options={hour:"2-digit",hour12:!1,timeZoneName:timezone};return function(date,locale){var result=intlDateFormat(date,locale,options);return result?result.substring(3):""}}function hour12Modify(options,value){return options.hour12=value,options}function digitCondition(prop,len){var result={};return result[prop]=2===len?"2-digit":"numeric",result}function nameCondition(prop,len){var result={};return len<4?result[prop]=len>1?"short":"narrow":result[prop]="long",result}function combine(options){return options.reduce(function(merged,opt){return Object.assign({},merged,opt)},{})}function datePartGetterFactory(ret){return function(date,locale){return intlDateFormat(date,locale,ret)}}function dateFormatter(format,date,locale){var fn=PATTERN_ALIASES[format];if(fn)return fn(date,locale);var cacheKey=format,parts=DATE_FORMATTER_CACHE.get(cacheKey);if(!parts){parts=[];var match=void 0;DATE_FORMATS_SPLIT.exec(format);for(var _format=format;_format;)match=DATE_FORMATS_SPLIT.exec(_format),match?(parts=parts.concat(match.slice(1)),_format=parts.pop()):(parts.push(_format),_format=null);DATE_FORMATTER_CACHE.set(cacheKey,parts)}return parts.reduce(function(text,part){var fn=DATE_FORMATS[part];return text+(fn?fn(date,locale):partToTime(part))},"")}function partToTime(part){return"''"===part?"'":part.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function formatNumber(pipe,locale,value,style,digits,currency,currencyAsSymbol){if(void 0===currency&&(currency=null),void 0===currencyAsSymbol&&(currencyAsSymbol=!1),null==value)return null;if(value="string"==typeof value&&isNumeric(value)?+value:value,"number"!=typeof value)throw invalidPipeArgumentError(pipe,value);var minInt=void 0,minFraction=void 0,maxFraction=void 0;if(style!==NumberFormatStyle.Currency&&(minInt=1,minFraction=0,maxFraction=3),digits){var parts=digits.match(_NUMBER_FORMAT_REGEXP);if(null===parts)throw new Error(digits+" is not a valid digit info for number pipes");null!=parts[1]&&(minInt=parseIntAutoRadix(parts[1])),null!=parts[3]&&(minFraction=parseIntAutoRadix(parts[3])),null!=parts[5]&&(maxFraction=parseIntAutoRadix(parts[5]))}return NumberFormatter.format(value,locale,style,{minimumIntegerDigits:minInt,minimumFractionDigits:minFraction,maximumFractionDigits:maxFraction,currency:currency,currencyAsSymbol:currencyAsSymbol})}function parseIntAutoRadix(text){var result=parseInt(text);if(isNaN(result))throw new Error("Invalid integer literal when parsing "+text);return result}function isNumeric(value){return!isNaN(value-parseFloat(value))}function isBlank(obj){return null==obj||""===obj}function isDate(obj){return obj instanceof Date&&!isNaN(obj.valueOf())}function isoStringToDate(match){var date=new Date(0),tzHour=0,tzMin=0,dateSetter=match[8]?date.setUTCFullYear:date.setFullYear,timeSetter=match[8]?date.setUTCHours:date.setHours;match[9]&&(tzHour=toInt(match[9]+match[10]),tzMin=toInt(match[9]+match[11])),dateSetter.call(date,toInt(match[1]),toInt(match[2])-1,toInt(match[3]));var h=toInt(match[4]||"0")-tzHour,m=toInt(match[5]||"0")-tzMin,s=toInt(match[6]||"0"),ms=Math.round(1e3*parseFloat("0."+(match[7]||0)));return timeSetter.call(date,h,m,s,ms),date}function toInt(str){return parseInt(str,10)}function isPlatformBrowser(platformId){return platformId===PLATFORM_BROWSER_ID}function isPlatformServer(platformId){return platformId===PLATFORM_SERVER_ID}function isPlatformWorkerApp(platformId){return platformId===PLATFORM_WORKER_APP_ID}function isPlatformWorkerUi(platformId){return platformId===PLATFORM_WORKER_UI_ID}var extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},PlatformLocation=function(){function PlatformLocation(){}return PlatformLocation.prototype.getBaseHrefFromDOM=function(){},PlatformLocation.prototype.onPopState=function(fn){},PlatformLocation.prototype.onHashChange=function(fn){},PlatformLocation.prototype.pathname=function(){},PlatformLocation.prototype.search=function(){},PlatformLocation.prototype.hash=function(){},PlatformLocation.prototype.replaceState=function(state,title,url){},PlatformLocation.prototype.pushState=function(state,title,url){},PlatformLocation.prototype.forward=function(){},PlatformLocation.prototype.back=function(){},PlatformLocation}(),LOCATION_INITIALIZED=new _angular_core.InjectionToken("Location Initialized"),LocationStrategy=function(){function LocationStrategy(){}return LocationStrategy.prototype.path=function(includeHash){},LocationStrategy.prototype.prepareExternalUrl=function(internal){},LocationStrategy.prototype.pushState=function(state,title,url,queryParams){},LocationStrategy.prototype.replaceState=function(state,title,url,queryParams){},LocationStrategy.prototype.forward=function(){},LocationStrategy.prototype.back=function(){},LocationStrategy.prototype.onPopState=function(fn){},LocationStrategy.prototype.getBaseHref=function(){},LocationStrategy}(),APP_BASE_HREF=new _angular_core.InjectionToken("appBaseHref"),Location=function(){function Location(platformStrategy){var _this=this;this._subject=new _angular_core.EventEmitter,this._platformStrategy=platformStrategy;var browserBaseHref=this._platformStrategy.getBaseHref();this._baseHref=Location.stripTrailingSlash(_stripIndexHtml(browserBaseHref)),this._platformStrategy.onPopState(function(ev){_this._subject.emit({url:_this.path(!0),pop:!0,type:ev.type})})}return Location.prototype.path=function(includeHash){return void 0===includeHash&&(includeHash=!1),this.normalize(this._platformStrategy.path(includeHash))},Location.prototype.isCurrentPathEqualTo=function(path,query){return void 0===query&&(query=""),this.path()==this.normalize(path+Location.normalizeQueryParams(query))},Location.prototype.normalize=function(url){return Location.stripTrailingSlash(_stripBaseHref(this._baseHref,_stripIndexHtml(url)))},Location.prototype.prepareExternalUrl=function(url){return url&&"/"!==url[0]&&(url="/"+url),this._platformStrategy.prepareExternalUrl(url)},Location.prototype.go=function(path,query){void 0===query&&(query=""),this._platformStrategy.pushState(null,"",path,query)},Location.prototype.replaceState=function(path,query){void 0===query&&(query=""),this._platformStrategy.replaceState(null,"",path,query)},Location.prototype.forward=function(){this._platformStrategy.forward()},Location.prototype.back=function(){this._platformStrategy.back()},Location.prototype.subscribe=function(onNext,onThrow,onReturn){return this._subject.subscribe({next:onNext,error:onThrow,complete:onReturn})},Location.normalizeQueryParams=function(params){return params&&"?"!==params[0]?"?"+params:params},Location.joinWithSlash=function(start,end){if(0==start.length)return end;if(0==end.length)return start;var slashes=0;return start.endsWith("/")&&slashes++,end.startsWith("/")&&slashes++,2==slashes?start+end.substring(1):1==slashes?start+end:start+"/"+end},Location.stripTrailingSlash=function(url){var match=url.match(/#|\?|$/),pathEndIdx=match&&match.index||url.length,droppedSlashIdx=pathEndIdx-("/"===url[pathEndIdx-1]?1:0);return url.slice(0,droppedSlashIdx)+url.slice(pathEndIdx)},Location}();Location.decorators=[{type:_angular_core.Injectable}],Location.ctorParameters=function(){return[{type:LocationStrategy}]};/** | ||
function invalidPipeArgumentError(type,value){return Error("InvalidPipeArgument: '"+value+"' for pipe '"+_angular_core.ɵstringify(type)+"'")}function titleCaseWord(word){return word?word[0].toUpperCase()+word.substr(1).toLowerCase():word}function digitModifier(inner){return function(date,locale){var result=inner(date,locale);return 1==result.length?"0"+result:result}}function hourClockExtractor(inner){return function(date,locale){return inner(date,locale).split(" ")[1]}}function hourExtractor(inner){return function(date,locale){return inner(date,locale).split(" ")[0]}}function intlDateFormat(date,locale,options){return new Intl.DateTimeFormat(locale,options).format(date).replace(/[\u200e\u200f]/g,"")}function timeZoneGetter(timezone){var options={hour:"2-digit",hour12:!1,timeZoneName:timezone};return function(date,locale){var result=intlDateFormat(date,locale,options);return result?result.substring(3):""}}function hour12Modify(options,value){return options.hour12=value,options}function digitCondition(prop,len){var result={};return result[prop]=2===len?"2-digit":"numeric",result}function nameCondition(prop,len){var result={};return len<4?result[prop]=len>1?"short":"narrow":result[prop]="long",result}function combine(options){return options.reduce(function(merged,opt){return Object.assign({},merged,opt)},{})}function datePartGetterFactory(ret){return function(date,locale){return intlDateFormat(date,locale,ret)}}function dateFormatter(format,date,locale){var fn=PATTERN_ALIASES[format];if(fn)return fn(date,locale);var cacheKey=format,parts=DATE_FORMATTER_CACHE.get(cacheKey);if(!parts){parts=[];var match=void 0;DATE_FORMATS_SPLIT.exec(format);for(var _format=format;_format;)match=DATE_FORMATS_SPLIT.exec(_format),match?(parts=parts.concat(match.slice(1)),_format=parts.pop()):(parts.push(_format),_format=null);DATE_FORMATTER_CACHE.set(cacheKey,parts)}return parts.reduce(function(text,part){var fn=DATE_FORMATS[part];return text+(fn?fn(date,locale):partToTime(part))},"")}function partToTime(part){return"''"===part?"'":part.replace(/(^'|'$)/g,"").replace(/''/g,"'")}function formatNumber(pipe,locale,value,style,digits,currency,currencyAsSymbol){if(void 0===currency&&(currency=null),void 0===currencyAsSymbol&&(currencyAsSymbol=!1),null==value)return null;if(value="string"==typeof value&&isNumeric(value)?+value:value,"number"!=typeof value)throw invalidPipeArgumentError(pipe,value);var minInt=void 0,minFraction=void 0,maxFraction=void 0;if(style!==NumberFormatStyle.Currency&&(minInt=1,minFraction=0,maxFraction=3),digits){var parts=digits.match(_NUMBER_FORMAT_REGEXP);if(null===parts)throw new Error(digits+" is not a valid digit info for number pipes");null!=parts[1]&&(minInt=parseIntAutoRadix(parts[1])),null!=parts[3]&&(minFraction=parseIntAutoRadix(parts[3])),null!=parts[5]&&(maxFraction=parseIntAutoRadix(parts[5]))}return NumberFormatter.format(value,locale,style,{minimumIntegerDigits:minInt,minimumFractionDigits:minFraction,maximumFractionDigits:maxFraction,currency:currency,currencyAsSymbol:currencyAsSymbol})}function parseIntAutoRadix(text){var result=parseInt(text);if(isNaN(result))throw new Error("Invalid integer literal when parsing "+text);return result}function isNumeric(value){return!isNaN(value-parseFloat(value))}function isBlank(obj){return null==obj||""===obj}function isDate(obj){return obj instanceof Date&&!isNaN(obj.valueOf())}function isoStringToDate(match){var date=new Date(0),tzHour=0,tzMin=0,dateSetter=match[8]?date.setUTCFullYear:date.setFullYear,timeSetter=match[8]?date.setUTCHours:date.setHours;match[9]&&(tzHour=toInt(match[9]+match[10]),tzMin=toInt(match[9]+match[11])),dateSetter.call(date,toInt(match[1]),toInt(match[2])-1,toInt(match[3]));var h=toInt(match[4]||"0")-tzHour,m=toInt(match[5]||"0")-tzMin,s=toInt(match[6]||"0"),ms=Math.round(1e3*parseFloat("0."+(match[7]||0)));return timeSetter.call(date,h,m,s,ms),date}function toInt(str){return parseInt(str,10)}function isPlatformBrowser(platformId){return platformId===PLATFORM_BROWSER_ID}function isPlatformServer(platformId){return platformId===PLATFORM_SERVER_ID}function isPlatformWorkerApp(platformId){return platformId===PLATFORM_WORKER_APP_ID}function isPlatformWorkerUi(platformId){return platformId===PLATFORM_WORKER_UI_ID}var extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,b){d.__proto__=b}||function(d,b){for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p])},PlatformLocation=function(){function PlatformLocation(){}return PlatformLocation}(),LOCATION_INITIALIZED=new _angular_core.InjectionToken("Location Initialized"),LocationStrategy=function(){function LocationStrategy(){}return LocationStrategy}(),APP_BASE_HREF=new _angular_core.InjectionToken("appBaseHref"),Location=function(){function Location(platformStrategy){var _this=this;this._subject=new _angular_core.EventEmitter,this._platformStrategy=platformStrategy;var browserBaseHref=this._platformStrategy.getBaseHref();this._baseHref=Location.stripTrailingSlash(_stripIndexHtml(browserBaseHref)),this._platformStrategy.onPopState(function(ev){_this._subject.emit({url:_this.path(!0),pop:!0,type:ev.type})})}return Location.prototype.path=function(includeHash){return void 0===includeHash&&(includeHash=!1),this.normalize(this._platformStrategy.path(includeHash))},Location.prototype.isCurrentPathEqualTo=function(path,query){return void 0===query&&(query=""),this.path()==this.normalize(path+Location.normalizeQueryParams(query))},Location.prototype.normalize=function(url){return Location.stripTrailingSlash(_stripBaseHref(this._baseHref,_stripIndexHtml(url)))},Location.prototype.prepareExternalUrl=function(url){return url&&"/"!==url[0]&&(url="/"+url),this._platformStrategy.prepareExternalUrl(url)},Location.prototype.go=function(path,query){void 0===query&&(query=""),this._platformStrategy.pushState(null,"",path,query)},Location.prototype.replaceState=function(path,query){void 0===query&&(query=""),this._platformStrategy.replaceState(null,"",path,query)},Location.prototype.forward=function(){this._platformStrategy.forward()},Location.prototype.back=function(){this._platformStrategy.back()},Location.prototype.subscribe=function(onNext,onThrow,onReturn){return this._subject.subscribe({next:onNext,error:onThrow,complete:onReturn})},Location.normalizeQueryParams=function(params){return params&&"?"!==params[0]?"?"+params:params},Location.joinWithSlash=function(start,end){if(0==start.length)return end;if(0==end.length)return start;var slashes=0;return start.endsWith("/")&&slashes++,end.startsWith("/")&&slashes++,2==slashes?start+end.substring(1):1==slashes?start+end:start+"/"+end},Location.stripTrailingSlash=function(url){var match=url.match(/#|\?|$/),pathEndIdx=match&&match.index||url.length,droppedSlashIdx=pathEndIdx-("/"===url[pathEndIdx-1]?1:0);return url.slice(0,droppedSlashIdx)+url.slice(pathEndIdx)},Location}();Location.decorators=[{type:_angular_core.Injectable}],Location.ctorParameters=function(){return[{type:LocationStrategy}]};/** | ||
* @license | ||
@@ -53,3 +60,3 @@ * Copyright Google Inc. All Rights Reserved. | ||
*/ | ||
var NgLocalization=function(){function NgLocalization(){}return NgLocalization.prototype.getPluralCategory=function(value){},NgLocalization}(),NgLocaleLocalization=function(_super){function NgLocaleLocalization(locale){var _this=_super.call(this)||this;return _this.locale=locale,_this}return __extends(NgLocaleLocalization,_super),NgLocaleLocalization.prototype.getPluralCategory=function(value){var plural=getPluralCase(this.locale,value);switch(plural){case Plural.Zero:return"zero";case Plural.One:return"one";case Plural.Two:return"two";case Plural.Few:return"few";case Plural.Many:return"many";default:return"other"}},NgLocaleLocalization}(NgLocalization);NgLocaleLocalization.decorators=[{type:_angular_core.Injectable}],NgLocaleLocalization.ctorParameters=function(){return[{type:void 0,decorators:[{type:_angular_core.Inject,args:[_angular_core.LOCALE_ID]}]}]};var Plural={};Plural.Zero=0,Plural.One=1,Plural.Two=2,Plural.Few=3,Plural.Many=4,Plural.Other=5,Plural[Plural.Zero]="Zero",Plural[Plural.One]="One",Plural[Plural.Two]="Two",Plural[Plural.Few]="Few",Plural[Plural.Many]="Many",Plural[Plural.Other]="Other";/** | ||
var NgLocalization=function(){function NgLocalization(){}return NgLocalization}(),NgLocaleLocalization=function(_super){function NgLocaleLocalization(locale){var _this=_super.call(this)||this;return _this.locale=locale,_this}return __extends(NgLocaleLocalization,_super),NgLocaleLocalization.prototype.getPluralCategory=function(value){var plural=getPluralCase(this.locale,value);switch(plural){case Plural.Zero:return"zero";case Plural.One:return"one";case Plural.Two:return"two";case Plural.Few:return"few";case Plural.Many:return"many";default:return"other"}},NgLocaleLocalization}(NgLocalization);NgLocaleLocalization.decorators=[{type:_angular_core.Injectable}],NgLocaleLocalization.ctorParameters=function(){return[{type:void 0,decorators:[{type:_angular_core.Inject,args:[_angular_core.LOCALE_ID]}]}]};var Plural={};Plural.Zero=0,Plural.One=1,Plural.Two=2,Plural.Few=3,Plural.Many=4,Plural.Other=5,Plural[Plural.Zero]="Zero",Plural[Plural.One]="One",Plural[Plural.Two]="Two",Plural[Plural.Few]="Few",Plural[Plural.Many]="Many",Plural[Plural.Other]="Other";/** | ||
* @license | ||
@@ -96,3 +103,3 @@ * Copyright Google Inc. All Rights Reserved. | ||
*/ | ||
var NgTemplateOutlet=function(){function NgTemplateOutlet(_viewContainerRef){this._viewContainerRef=_viewContainerRef}return Object.defineProperty(NgTemplateOutlet.prototype,"ngOutletContext",{set:function(context){this.ngTemplateOutletContext=context},enumerable:!0,configurable:!0}),NgTemplateOutlet.prototype.ngOnChanges=function(changes){this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))},NgTemplateOutlet}();NgTemplateOutlet.decorators=[{type:_angular_core.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],NgTemplateOutlet.ctorParameters=function(){return[{type:_angular_core.ViewContainerRef}]},NgTemplateOutlet.propDecorators={ngTemplateOutletContext:[{type:_angular_core.Input}],ngTemplateOutlet:[{type:_angular_core.Input}],ngOutletContext:[{type:_angular_core.Input}]};/** | ||
var NgTemplateOutlet=function(){function NgTemplateOutlet(_viewContainerRef){this._viewContainerRef=_viewContainerRef}return Object.defineProperty(NgTemplateOutlet.prototype,"ngOutletContext",{set:function(context){this.ngTemplateOutletContext=context},enumerable:!0,configurable:!0}),NgTemplateOutlet.prototype.ngOnChanges=function(changes){this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))},NgTemplateOutlet}();NgTemplateOutlet.decorators=[{type:_angular_core.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],NgTemplateOutlet.ctorParameters=function(){return[{type:_angular_core.ViewContainerRef}]},NgTemplateOutlet.propDecorators={ngTemplateOutletContext:[{type:_angular_core.Input}],ngTemplateOutlet:[{type:_angular_core.Input}],ngOutletContext:[{type:_angular_core.Input}]};var COMMON_DIRECTIVES=[NgClass,NgComponentOutlet,NgForOf,NgIf,NgTemplateOutlet,NgStyle,NgSwitch,NgSwitchCase,NgSwitchDefault,NgPlural,NgPluralCase],ObservableStrategy=function(){function ObservableStrategy(){}return ObservableStrategy.prototype.createSubscription=function(async,updateLatestValue){return async.subscribe({next:updateLatestValue,error:function(e){throw e}})},ObservableStrategy.prototype.dispose=function(subscription){subscription.unsubscribe()},ObservableStrategy.prototype.onDestroy=function(subscription){subscription.unsubscribe()},ObservableStrategy}(),PromiseStrategy=function(){function PromiseStrategy(){}return PromiseStrategy.prototype.createSubscription=function(async,updateLatestValue){return async.then(updateLatestValue,function(e){throw e})},PromiseStrategy.prototype.dispose=function(subscription){},PromiseStrategy.prototype.onDestroy=function(subscription){},PromiseStrategy}(),_promiseStrategy=new PromiseStrategy,_observableStrategy=new ObservableStrategy,AsyncPipe=function(){function AsyncPipe(_ref){this._ref=_ref,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return AsyncPipe.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},AsyncPipe.prototype.transform=function(obj){return this._obj?obj!==this._obj?(this._dispose(),this.transform(obj)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,_angular_core.WrappedValue.wrap(this._latestValue)):(obj&&this._subscribe(obj),this._latestReturnedValue=this._latestValue,this._latestValue)},AsyncPipe.prototype._subscribe=function(obj){var _this=this;this._obj=obj,this._strategy=this._selectStrategy(obj),this._subscription=this._strategy.createSubscription(obj,function(value){return _this._updateLatestValue(obj,value)})},AsyncPipe.prototype._selectStrategy=function(obj){if(_angular_core.ɵisPromise(obj))return _promiseStrategy;if(_angular_core.ɵisObservable(obj))return _observableStrategy;throw invalidPipeArgumentError(AsyncPipe,obj)},AsyncPipe.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},AsyncPipe.prototype._updateLatestValue=function(async,value){async===this._obj&&(this._latestValue=value,this._ref.markForCheck())},AsyncPipe}();AsyncPipe.decorators=[{type:_angular_core.Pipe,args:[{name:"async",pure:!1}]}],AsyncPipe.ctorParameters=function(){return[{type:_angular_core.ChangeDetectorRef}]};/** | ||
* @license | ||
@@ -104,9 +111,2 @@ * Copyright Google Inc. All Rights Reserved. | ||
*/ | ||
var COMMON_DIRECTIVES=[NgClass,NgComponentOutlet,NgForOf,NgIf,NgTemplateOutlet,NgStyle,NgSwitch,NgSwitchCase,NgSwitchDefault,NgPlural,NgPluralCase],ObservableStrategy=function(){function ObservableStrategy(){}return ObservableStrategy.prototype.createSubscription=function(async,updateLatestValue){return async.subscribe({next:updateLatestValue,error:function(e){throw e}})},ObservableStrategy.prototype.dispose=function(subscription){subscription.unsubscribe()},ObservableStrategy.prototype.onDestroy=function(subscription){subscription.unsubscribe()},ObservableStrategy}(),PromiseStrategy=function(){function PromiseStrategy(){}return PromiseStrategy.prototype.createSubscription=function(async,updateLatestValue){return async.then(updateLatestValue,function(e){throw e})},PromiseStrategy.prototype.dispose=function(subscription){},PromiseStrategy.prototype.onDestroy=function(subscription){},PromiseStrategy}(),_promiseStrategy=new PromiseStrategy,_observableStrategy=new ObservableStrategy,AsyncPipe=function(){function AsyncPipe(_ref){this._ref=_ref,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return AsyncPipe.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},AsyncPipe.prototype.transform=function(obj){return this._obj?obj!==this._obj?(this._dispose(),this.transform(obj)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,_angular_core.WrappedValue.wrap(this._latestValue)):(obj&&this._subscribe(obj),this._latestReturnedValue=this._latestValue,this._latestValue)},AsyncPipe.prototype._subscribe=function(obj){var _this=this;this._obj=obj,this._strategy=this._selectStrategy(obj),this._subscription=this._strategy.createSubscription(obj,function(value){return _this._updateLatestValue(obj,value)})},AsyncPipe.prototype._selectStrategy=function(obj){if(_angular_core.ɵisPromise(obj))return _promiseStrategy;if(_angular_core.ɵisObservable(obj))return _observableStrategy;throw invalidPipeArgumentError(AsyncPipe,obj)},AsyncPipe.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},AsyncPipe.prototype._updateLatestValue=function(async,value){async===this._obj&&(this._latestValue=value,this._ref.markForCheck())},AsyncPipe}();AsyncPipe.decorators=[{type:_angular_core.Pipe,args:[{name:"async",pure:!1}]}],AsyncPipe.ctorParameters=function(){return[{type:_angular_core.ChangeDetectorRef}]};/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
var LowerCasePipe=function(){function LowerCasePipe(){}return LowerCasePipe.prototype.transform=function(value){if(!value)return value;if("string"!=typeof value)throw invalidPipeArgumentError(LowerCasePipe,value);return value.toLowerCase()},LowerCasePipe}();LowerCasePipe.decorators=[{type:_angular_core.Pipe,args:[{name:"lowercase"}]}],LowerCasePipe.ctorParameters=function(){return[]};var TitleCasePipe=function(){function TitleCasePipe(){}return TitleCasePipe.prototype.transform=function(value){if(!value)return value;if("string"!=typeof value)throw invalidPipeArgumentError(TitleCasePipe,value);return value.split(/\b/g).map(function(word){return titleCaseWord(word)}).join("")},TitleCasePipe}();TitleCasePipe.decorators=[{type:_angular_core.Pipe,args:[{name:"titlecase"}]}],TitleCasePipe.ctorParameters=function(){return[]};var UpperCasePipe=function(){function UpperCasePipe(){}return UpperCasePipe.prototype.transform=function(value){if(!value)return value;if("string"!=typeof value)throw invalidPipeArgumentError(UpperCasePipe,value);return value.toUpperCase()},UpperCasePipe}();UpperCasePipe.decorators=[{type:_angular_core.Pipe,args:[{name:"uppercase"}]}],UpperCasePipe.ctorParameters=function(){return[]};var NumberFormatStyle={};NumberFormatStyle.Decimal=0,NumberFormatStyle.Percent=1,NumberFormatStyle.Currency=2,NumberFormatStyle[NumberFormatStyle.Decimal]="Decimal",NumberFormatStyle[NumberFormatStyle.Percent]="Percent",NumberFormatStyle[NumberFormatStyle.Currency]="Currency";var NumberFormatter=function(){function NumberFormatter(){}return NumberFormatter.format=function(num,locale,style,opts){void 0===opts&&(opts={});var minimumIntegerDigits=opts.minimumIntegerDigits,minimumFractionDigits=opts.minimumFractionDigits,maximumFractionDigits=opts.maximumFractionDigits,currency=opts.currency,_a=opts.currencyAsSymbol,currencyAsSymbol=void 0!==_a&&_a,options={minimumIntegerDigits:minimumIntegerDigits,minimumFractionDigits:minimumFractionDigits,maximumFractionDigits:maximumFractionDigits,style:NumberFormatStyle[style].toLowerCase()};return style==NumberFormatStyle.Currency&&(options.currency="string"==typeof currency?currency:void 0,options.currencyDisplay=currencyAsSymbol?"symbol":"code"),new Intl.NumberFormat(locale,options).format(num)},NumberFormatter}(),DATE_FORMATS_SPLIT=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,PATTERN_ALIASES={yMMMdjms:datePartGetterFactory(combine([digitCondition("year",1),nameCondition("month",3),digitCondition("day",1),digitCondition("hour",1),digitCondition("minute",1),digitCondition("second",1)])),yMdjm:datePartGetterFactory(combine([digitCondition("year",1),digitCondition("month",1),digitCondition("day",1),digitCondition("hour",1),digitCondition("minute",1)])),yMMMMEEEEd:datePartGetterFactory(combine([digitCondition("year",1),nameCondition("month",4),nameCondition("weekday",4),digitCondition("day",1)])),yMMMMd:datePartGetterFactory(combine([digitCondition("year",1),nameCondition("month",4),digitCondition("day",1)])),yMMMd:datePartGetterFactory(combine([digitCondition("year",1),nameCondition("month",3),digitCondition("day",1)])),yMd:datePartGetterFactory(combine([digitCondition("year",1),digitCondition("month",1),digitCondition("day",1)])),jms:datePartGetterFactory(combine([digitCondition("hour",1),digitCondition("second",1),digitCondition("minute",1)])),jm:datePartGetterFactory(combine([digitCondition("hour",1),digitCondition("minute",1)]))},DATE_FORMATS={yyyy:datePartGetterFactory(digitCondition("year",4)),yy:datePartGetterFactory(digitCondition("year",2)),y:datePartGetterFactory(digitCondition("year",1)),MMMM:datePartGetterFactory(nameCondition("month",4)),MMM:datePartGetterFactory(nameCondition("month",3)),MM:datePartGetterFactory(digitCondition("month",2)),M:datePartGetterFactory(digitCondition("month",1)),LLLL:datePartGetterFactory(nameCondition("month",4)),L:datePartGetterFactory(nameCondition("month",1)),dd:datePartGetterFactory(digitCondition("day",2)),d:datePartGetterFactory(digitCondition("day",1)),HH:digitModifier(hourExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",2),!1)))),H:hourExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",1),!1))),hh:digitModifier(hourExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",2),!0)))),h:hourExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",1),!0))),jj:datePartGetterFactory(digitCondition("hour",2)),j:datePartGetterFactory(digitCondition("hour",1)),mm:digitModifier(datePartGetterFactory(digitCondition("minute",2))),m:datePartGetterFactory(digitCondition("minute",1)),ss:digitModifier(datePartGetterFactory(digitCondition("second",2))),s:datePartGetterFactory(digitCondition("second",1)),sss:datePartGetterFactory(digitCondition("second",3)),EEEE:datePartGetterFactory(nameCondition("weekday",4)),EEE:datePartGetterFactory(nameCondition("weekday",3)),EE:datePartGetterFactory(nameCondition("weekday",2)),E:datePartGetterFactory(nameCondition("weekday",1)),a:hourClockExtractor(datePartGetterFactory(hour12Modify(digitCondition("hour",1),!0))),Z:timeZoneGetter("short"),z:timeZoneGetter("long"),ww:datePartGetterFactory({}),w:datePartGetterFactory({}),G:datePartGetterFactory(nameCondition("era",1)),GG:datePartGetterFactory(nameCondition("era",2)),GGG:datePartGetterFactory(nameCondition("era",3)),GGGG:datePartGetterFactory(nameCondition("era",4))},DATE_FORMATTER_CACHE=new Map,DateFormatter=function(){function DateFormatter(){}return DateFormatter.format=function(date,locale,pattern){return dateFormatter(pattern,date,locale)},DateFormatter}(),_NUMBER_FORMAT_REGEXP=/^(\d+)?\.((\d+)(-(\d+))?)?$/,DecimalPipe=function(){function DecimalPipe(_locale){this._locale=_locale}return DecimalPipe.prototype.transform=function(value,digits){return formatNumber(DecimalPipe,this._locale,value,NumberFormatStyle.Decimal,digits)},DecimalPipe}();DecimalPipe.decorators=[{type:_angular_core.Pipe,args:[{name:"number"}]}],DecimalPipe.ctorParameters=function(){return[{type:void 0,decorators:[{type:_angular_core.Inject,args:[_angular_core.LOCALE_ID]}]}]};var PercentPipe=function(){function PercentPipe(_locale){this._locale=_locale}return PercentPipe.prototype.transform=function(value,digits){return formatNumber(PercentPipe,this._locale,value,NumberFormatStyle.Percent,digits)},PercentPipe}();PercentPipe.decorators=[{type:_angular_core.Pipe,args:[{name:"percent"}]}],PercentPipe.ctorParameters=function(){return[{type:void 0,decorators:[{type:_angular_core.Inject,args:[_angular_core.LOCALE_ID]}]}]};var CurrencyPipe=function(){function CurrencyPipe(_locale){this._locale=_locale}return CurrencyPipe.prototype.transform=function(value,currencyCode,symbolDisplay,digits){return void 0===currencyCode&&(currencyCode="USD"),void 0===symbolDisplay&&(symbolDisplay=!1),formatNumber(CurrencyPipe,this._locale,value,NumberFormatStyle.Currency,digits,currencyCode,symbolDisplay)},CurrencyPipe}();CurrencyPipe.decorators=[{type:_angular_core.Pipe,args:[{name:"currency"}]}],CurrencyPipe.ctorParameters=function(){return[{type:void 0,decorators:[{type:_angular_core.Inject,args:[_angular_core.LOCALE_ID]}]}]};/** | ||
@@ -161,3 +161,3 @@ * @license | ||
*/ | ||
var DOCUMENT=new _angular_core.InjectionToken("DocumentToken"),PLATFORM_BROWSER_ID="browser",PLATFORM_SERVER_ID="server",PLATFORM_WORKER_APP_ID="browserWorkerApp",PLATFORM_WORKER_UI_ID="browserWorkerUi",VERSION=new _angular_core.Version("5.0.0-beta.0");exports.NgLocaleLocalization=NgLocaleLocalization,exports.NgLocalization=NgLocalization,exports.ɵparseCookieValue=parseCookieValue,exports.CommonModule=CommonModule,exports.NgClass=NgClass,exports.NgFor=NgFor,exports.NgForOf=NgForOf,exports.NgForOfContext=NgForOfContext,exports.NgIf=NgIf,exports.NgIfContext=NgIfContext,exports.NgPlural=NgPlural,exports.NgPluralCase=NgPluralCase,exports.NgStyle=NgStyle,exports.NgSwitch=NgSwitch,exports.NgSwitchCase=NgSwitchCase,exports.NgSwitchDefault=NgSwitchDefault,exports.NgTemplateOutlet=NgTemplateOutlet,exports.NgComponentOutlet=NgComponentOutlet,exports.DOCUMENT=DOCUMENT,exports.AsyncPipe=AsyncPipe,exports.DatePipe=DatePipe,exports.I18nPluralPipe=I18nPluralPipe,exports.I18nSelectPipe=I18nSelectPipe,exports.JsonPipe=JsonPipe,exports.LowerCasePipe=LowerCasePipe,exports.CurrencyPipe=CurrencyPipe,exports.DecimalPipe=DecimalPipe,exports.PercentPipe=PercentPipe,exports.SlicePipe=SlicePipe,exports.UpperCasePipe=UpperCasePipe,exports.TitleCasePipe=TitleCasePipe,exports.ɵPLATFORM_BROWSER_ID=PLATFORM_BROWSER_ID,exports.ɵPLATFORM_SERVER_ID=PLATFORM_SERVER_ID,exports.ɵPLATFORM_WORKER_APP_ID=PLATFORM_WORKER_APP_ID,exports.ɵPLATFORM_WORKER_UI_ID=PLATFORM_WORKER_UI_ID,exports.isPlatformBrowser=isPlatformBrowser,exports.isPlatformServer=isPlatformServer,exports.isPlatformWorkerApp=isPlatformWorkerApp,exports.isPlatformWorkerUi=isPlatformWorkerUi,exports.VERSION=VERSION,exports.PlatformLocation=PlatformLocation,exports.LOCATION_INITIALIZED=LOCATION_INITIALIZED,exports.LocationStrategy=LocationStrategy,exports.APP_BASE_HREF=APP_BASE_HREF,exports.HashLocationStrategy=HashLocationStrategy,exports.PathLocationStrategy=PathLocationStrategy,exports.Location=Location,exports.ɵa=COMMON_DIRECTIVES,exports.ɵb=COMMON_PIPES,Object.defineProperty(exports,"__esModule",{value:!0})}); | ||
var DOCUMENT=new _angular_core.InjectionToken("DocumentToken"),PLATFORM_BROWSER_ID="browser",PLATFORM_SERVER_ID="server",PLATFORM_WORKER_APP_ID="browserWorkerApp",PLATFORM_WORKER_UI_ID="browserWorkerUi",VERSION=new _angular_core.Version("5.0.0-beta.1");exports.NgLocaleLocalization=NgLocaleLocalization,exports.NgLocalization=NgLocalization,exports.ɵparseCookieValue=parseCookieValue,exports.CommonModule=CommonModule,exports.NgClass=NgClass,exports.NgFor=NgFor,exports.NgForOf=NgForOf,exports.NgForOfContext=NgForOfContext,exports.NgIf=NgIf,exports.NgIfContext=NgIfContext,exports.NgPlural=NgPlural,exports.NgPluralCase=NgPluralCase,exports.NgStyle=NgStyle,exports.NgSwitch=NgSwitch,exports.NgSwitchCase=NgSwitchCase,exports.NgSwitchDefault=NgSwitchDefault,exports.NgTemplateOutlet=NgTemplateOutlet,exports.NgComponentOutlet=NgComponentOutlet,exports.DOCUMENT=DOCUMENT,exports.AsyncPipe=AsyncPipe,exports.DatePipe=DatePipe,exports.I18nPluralPipe=I18nPluralPipe,exports.I18nSelectPipe=I18nSelectPipe,exports.JsonPipe=JsonPipe,exports.LowerCasePipe=LowerCasePipe,exports.CurrencyPipe=CurrencyPipe,exports.DecimalPipe=DecimalPipe,exports.PercentPipe=PercentPipe,exports.SlicePipe=SlicePipe,exports.UpperCasePipe=UpperCasePipe,exports.TitleCasePipe=TitleCasePipe,exports.ɵPLATFORM_BROWSER_ID=PLATFORM_BROWSER_ID,exports.ɵPLATFORM_SERVER_ID=PLATFORM_SERVER_ID,exports.ɵPLATFORM_WORKER_APP_ID=PLATFORM_WORKER_APP_ID,exports.ɵPLATFORM_WORKER_UI_ID=PLATFORM_WORKER_UI_ID,exports.isPlatformBrowser=isPlatformBrowser,exports.isPlatformServer=isPlatformServer,exports.isPlatformWorkerApp=isPlatformWorkerApp,exports.isPlatformWorkerUi=isPlatformWorkerUi,exports.VERSION=VERSION,exports.PlatformLocation=PlatformLocation,exports.LOCATION_INITIALIZED=LOCATION_INITIALIZED,exports.LocationChangeEvent=LocationChangeEvent,exports.LocationChangeListener=LocationChangeListener,exports.LocationStrategy=LocationStrategy,exports.APP_BASE_HREF=APP_BASE_HREF,exports.HashLocationStrategy=HashLocationStrategy,exports.PathLocationStrategy=PathLocationStrategy,exports.PopStateEvent=PopStateEvent,exports.Location=Location,exports.ɵa=COMMON_DIRECTIVES,exports.ɵb=COMMON_PIPES,Object.defineProperty(exports,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=common.umd.min.js.map |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":3,"metadata":{"ɵa":[{"__symbolic":"reference","name":"NgClass"},{"__symbolic":"reference","name":"NgComponentOutlet"},{"__symbolic":"reference","name":"NgForOf"},{"__symbolic":"reference","name":"NgIf"},{"__symbolic":"reference","name":"NgTemplateOutlet"},{"__symbolic":"reference","name":"NgStyle"},{"__symbolic":"reference","name":"NgSwitch"},{"__symbolic":"reference","name":"NgSwitchCase"},{"__symbolic":"reference","name":"NgSwitchDefault"},{"__symbolic":"reference","name":"NgPlural"},{"__symbolic":"reference","name":"NgPluralCase"}],"ɵb":[{"__symbolic":"reference","name":"AsyncPipe"},{"__symbolic":"reference","name":"UpperCasePipe"},{"__symbolic":"reference","name":"LowerCasePipe"},{"__symbolic":"reference","name":"JsonPipe"},{"__symbolic":"reference","name":"SlicePipe"},{"__symbolic":"reference","name":"DecimalPipe"},{"__symbolic":"reference","name":"PercentPipe"},{"__symbolic":"reference","name":"TitleCasePipe"},{"__symbolic":"reference","name":"CurrencyPipe"},{"__symbolic":"reference","name":"DatePipe"},{"__symbolic":"reference","name":"I18nPluralPipe"},{"__symbolic":"reference","name":"I18nSelectPipe"}],"PlatformLocation":{"__symbolic":"class","members":{"getBaseHrefFromDOM":[{"__symbolic":"method"}],"onPopState":[{"__symbolic":"method"}],"onHashChange":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}]}},"LOCATION_INITIALIZED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["Location Initialized"]},"LocationChangeEvent":{"__symbolic":"interface"},"LocationChangeListener":{"__symbolic":"interface"},"LocationStrategy":{"__symbolic":"class","members":{"path":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}],"onPopState":[{"__symbolic":"method"}],"getBaseHref":[{"__symbolic":"method"}]}},"APP_BASE_HREF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["appBaseHref"]},"HashLocationStrategy":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"LocationStrategy"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"APP_BASE_HREF"}]}]],"parameters":[{"__symbolic":"reference","name":"PlatformLocation"},{"__symbolic":"reference","name":"string"}]}],"onPopState":[{"__symbolic":"method"}],"getBaseHref":[{"__symbolic":"method"}],"path":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}]}},"PathLocationStrategy":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"LocationStrategy"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"APP_BASE_HREF"}]}]],"parameters":[{"__symbolic":"reference","name":"PlatformLocation"},{"__symbolic":"reference","name":"string"}]}],"onPopState":[{"__symbolic":"method"}],"getBaseHref":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"path":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}]}},"PopStateEvent":{"__symbolic":"interface"},"Location":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"LocationStrategy"}]}],"path":[{"__symbolic":"method"}],"isCurrentPathEqualTo":[{"__symbolic":"method"}],"normalize":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"go":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}],"subscribe":[{"__symbolic":"method"}]},"statics":{"normalizeQueryParams":{"__symbolic":"function","parameters":["params"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"params"},"right":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"params"},"index":0},"right":"?"}},"thenExpression":{"__symbolic":"binop","operator":"+","left":"?","right":{"__symbolic":"reference","name":"params"}},"elseExpression":{"__symbolic":"reference","name":"params"}}}}},"NgLocaleLocalization":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NgLocalization"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"getPluralCategory":[{"__symbolic":"method"}]}},"NgLocalization":{"__symbolic":"class","members":{"getPluralCategory":[{"__symbolic":"method"}]}},"ɵparseCookieValue":{"__symbolic":"function"},"CommonModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"exports":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"providers":[{"provide":{"__symbolic":"reference","name":"NgLocalization"},"useClass":{"__symbolic":"reference","name":"NgLocaleLocalization"}}]}]}],"members":{}},"NgClass":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngClass]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers"},{"__symbolic":"reference","module":"@angular/core","name":"KeyValueDiffers"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"}]}],"klass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["class"]}]}],"ngClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngDoCheck":[{"__symbolic":"method"}],"_cleanupClasses":[{"__symbolic":"method"}],"_applyKeyValueChanges":[{"__symbolic":"method"}],"_applyIterableChanges":[{"__symbolic":"method"}],"_applyInitialClasses":[{"__symbolic":"method"}],"_applyClasses":[{"__symbolic":"method"}],"_toggleClass":[{"__symbolic":"method"}]}},"NgFor":{"__symbolic":"reference","name":"NgForOf"},"NgForOf":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngFor][ngForOf]"}]}],"members":{"ngForOf":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngForTrackBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"NgForOfContext"}]},{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers"}]}],"ngForTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"_applyChanges":[{"__symbolic":"method"}],"_perViewChange":[{"__symbolic":"method"}]}},"NgForOfContext":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":15,"character":24,"context":{"typeName":"T"},"module":"./src/directives/ng_for_of"},{"__symbolic":"reference","name":"NgIterable","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":15,"character":54,"context":{"typeName":"T"},"module":"./src/directives/ng_for_of"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"}]}]}},"NgIf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngIf]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"NgIfContext"}]}]}],"ngIf":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngIfThen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngIfElse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"_updateView":[{"__symbolic":"method"}]}},"NgIfContext":{"__symbolic":"class","members":{}},"NgPlural":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngPlural]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgLocalization"}]}],"ngPlural":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addCase":[{"__symbolic":"method"}],"_updateView":[{"__symbolic":"method"}],"_clearViews":[{"__symbolic":"method"}],"_activateView":[{"__symbolic":"method"}]}},"NgPluralCase":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngPluralCase]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute"},"arguments":["ngPluralCase"]}],null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}]],"parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"Object"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","name":"NgPlural"}]}]}},"NgStyle":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngStyle]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"KeyValueDiffers"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"}]}],"ngStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngDoCheck":[{"__symbolic":"method"}],"_applyChanges":[{"__symbolic":"method"}],"_setStyle":[{"__symbolic":"method"}]}},"NgSwitch":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngSwitch]"}]}],"members":{"ngSwitch":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"_addCase":[{"__symbolic":"method"}],"_addDefault":[{"__symbolic":"method"}],"_matchCase":[{"__symbolic":"method"}],"_updateDefaultCases":[{"__symbolic":"method"}]}},"NgSwitchCase":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngSwitchCase]"}]}],"members":{"ngSwitchCase":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"Object"}]},{"__symbolic":"reference","name":"NgSwitch"}]}],"ngDoCheck":[{"__symbolic":"method"}]}},"NgSwitchDefault":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngSwitchDefault]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"Object"}]},{"__symbolic":"reference","name":"NgSwitch"}]}]}},"NgTemplateOutlet":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngTemplateOutlet]"}]}],"members":{"ngTemplateOutletContext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngTemplateOutlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}]}],"ngOutletContext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngOnChanges":[{"__symbolic":"method"}]}},"NgComponentOutlet":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngComponentOutlet]"}]}],"members":{"ngComponentOutlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngComponentOutletInjector":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngComponentOutletContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngComponentOutletNgModuleFactory":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"DOCUMENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["DocumentToken"]},"AsyncPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"async","pure":false}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"transform":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"_subscribe":[{"__symbolic":"method"}],"_selectStrategy":[{"__symbolic":"method"}],"_dispose":[{"__symbolic":"method"}],"_updateLatestValue":[{"__symbolic":"method"}]}},"DatePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"date","pure":true}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]},"statics":{"_ALIASES":{"medium":"yMMMdjms","short":"yMdjm","fullDate":"yMMMMEEEEd","longDate":"yMMMMd","mediumDate":"yMMMd","shortDate":"yMd","mediumTime":"jms","shortTime":"jm"}}},"I18nPluralPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"i18nPlural","pure":true}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgLocalization"}]}],"transform":[{"__symbolic":"method"}]}},"I18nSelectPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"i18nSelect","pure":true}]}],"members":{"transform":[{"__symbolic":"method"}]}},"JsonPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"json","pure":false}]}],"members":{"transform":[{"__symbolic":"method"}]}},"LowerCasePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"lowercase"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"CurrencyPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"currency"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]}},"DecimalPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"number"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]}},"PercentPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"percent"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]}},"SlicePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"slice","pure":false}]}],"members":{"transform":[{"__symbolic":"method"}],"supports":[{"__symbolic":"method"}]}},"UpperCasePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"uppercase"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"TitleCasePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"titlecase"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"ɵPLATFORM_BROWSER_ID":"browser","ɵPLATFORM_SERVER_ID":"server","ɵPLATFORM_WORKER_APP_ID":"browserWorkerApp","ɵPLATFORM_WORKER_UI_ID":"browserWorkerUi","isPlatformBrowser":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"browser"}},"isPlatformServer":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"server"}},"isPlatformWorkerApp":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"browserWorkerApp"}},"isPlatformWorkerUi":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"browserWorkerUi"}},"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["5.0.0-beta.0"]}},"origins":{"ɵa":"./src/directives/index","ɵb":"./src/pipes/index","PlatformLocation":"./src/location/platform_location","LOCATION_INITIALIZED":"./src/location/platform_location","LocationChangeEvent":"./src/location/platform_location","LocationChangeListener":"./src/location/platform_location","LocationStrategy":"./src/location/location_strategy","APP_BASE_HREF":"./src/location/location_strategy","HashLocationStrategy":"./src/location/hash_location_strategy","PathLocationStrategy":"./src/location/path_location_strategy","PopStateEvent":"./src/location/location","Location":"./src/location/location","NgLocaleLocalization":"./src/localization","NgLocalization":"./src/localization","ɵparseCookieValue":"./src/cookie","CommonModule":"./src/common_module","NgClass":"./src/directives/ng_class","NgFor":"./src/directives/ng_for_of","NgForOf":"./src/directives/ng_for_of","NgForOfContext":"./src/directives/ng_for_of","NgIf":"./src/directives/ng_if","NgIfContext":"./src/directives/ng_if","NgPlural":"./src/directives/ng_plural","NgPluralCase":"./src/directives/ng_plural","NgStyle":"./src/directives/ng_style","NgSwitch":"./src/directives/ng_switch","NgSwitchCase":"./src/directives/ng_switch","NgSwitchDefault":"./src/directives/ng_switch","NgTemplateOutlet":"./src/directives/ng_template_outlet","NgComponentOutlet":"./src/directives/ng_component_outlet","DOCUMENT":"./src/dom_tokens","AsyncPipe":"./src/pipes/async_pipe","DatePipe":"./src/pipes/date_pipe","I18nPluralPipe":"./src/pipes/i18n_plural_pipe","I18nSelectPipe":"./src/pipes/i18n_select_pipe","JsonPipe":"./src/pipes/json_pipe","LowerCasePipe":"./src/pipes/case_conversion_pipes","CurrencyPipe":"./src/pipes/number_pipe","DecimalPipe":"./src/pipes/number_pipe","PercentPipe":"./src/pipes/number_pipe","SlicePipe":"./src/pipes/slice_pipe","UpperCasePipe":"./src/pipes/case_conversion_pipes","TitleCasePipe":"./src/pipes/case_conversion_pipes","ɵPLATFORM_BROWSER_ID":"./src/platform_id","ɵPLATFORM_SERVER_ID":"./src/platform_id","ɵPLATFORM_WORKER_APP_ID":"./src/platform_id","ɵPLATFORM_WORKER_UI_ID":"./src/platform_id","isPlatformBrowser":"./src/platform_id","isPlatformServer":"./src/platform_id","isPlatformWorkerApp":"./src/platform_id","isPlatformWorkerUi":"./src/platform_id","VERSION":"./src/version"},"importAs":"@angular/common"} | ||
{"__symbolic":"module","version":3,"metadata":{"ɵa":[{"__symbolic":"reference","name":"NgClass"},{"__symbolic":"reference","name":"NgComponentOutlet"},{"__symbolic":"reference","name":"NgForOf"},{"__symbolic":"reference","name":"NgIf"},{"__symbolic":"reference","name":"NgTemplateOutlet"},{"__symbolic":"reference","name":"NgStyle"},{"__symbolic":"reference","name":"NgSwitch"},{"__symbolic":"reference","name":"NgSwitchCase"},{"__symbolic":"reference","name":"NgSwitchDefault"},{"__symbolic":"reference","name":"NgPlural"},{"__symbolic":"reference","name":"NgPluralCase"}],"ɵb":[{"__symbolic":"reference","name":"AsyncPipe"},{"__symbolic":"reference","name":"UpperCasePipe"},{"__symbolic":"reference","name":"LowerCasePipe"},{"__symbolic":"reference","name":"JsonPipe"},{"__symbolic":"reference","name":"SlicePipe"},{"__symbolic":"reference","name":"DecimalPipe"},{"__symbolic":"reference","name":"PercentPipe"},{"__symbolic":"reference","name":"TitleCasePipe"},{"__symbolic":"reference","name":"CurrencyPipe"},{"__symbolic":"reference","name":"DatePipe"},{"__symbolic":"reference","name":"I18nPluralPipe"},{"__symbolic":"reference","name":"I18nSelectPipe"}],"PlatformLocation":{"__symbolic":"class","members":{"getBaseHrefFromDOM":[{"__symbolic":"method"}],"onPopState":[{"__symbolic":"method"}],"onHashChange":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}]}},"LOCATION_INITIALIZED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["Location Initialized"]},"LocationChangeEvent":{"__symbolic":"interface"},"LocationChangeListener":{"__symbolic":"interface"},"LocationStrategy":{"__symbolic":"class","members":{"path":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}],"onPopState":[{"__symbolic":"method"}],"getBaseHref":[{"__symbolic":"method"}]}},"APP_BASE_HREF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["appBaseHref"]},"HashLocationStrategy":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"LocationStrategy"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"APP_BASE_HREF"}]}]],"parameters":[{"__symbolic":"reference","name":"PlatformLocation"},{"__symbolic":"reference","name":"string"}]}],"onPopState":[{"__symbolic":"method"}],"getBaseHref":[{"__symbolic":"method"}],"path":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}]}},"PathLocationStrategy":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"LocationStrategy"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"APP_BASE_HREF"}]}]],"parameters":[{"__symbolic":"reference","name":"PlatformLocation"},{"__symbolic":"reference","name":"string"}]}],"onPopState":[{"__symbolic":"method"}],"getBaseHref":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"path":[{"__symbolic":"method"}],"pushState":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}]}},"PopStateEvent":{"__symbolic":"interface"},"Location":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"LocationStrategy"}]}],"path":[{"__symbolic":"method"}],"isCurrentPathEqualTo":[{"__symbolic":"method"}],"normalize":[{"__symbolic":"method"}],"prepareExternalUrl":[{"__symbolic":"method"}],"go":[{"__symbolic":"method"}],"replaceState":[{"__symbolic":"method"}],"forward":[{"__symbolic":"method"}],"back":[{"__symbolic":"method"}],"subscribe":[{"__symbolic":"method"}]},"statics":{"normalizeQueryParams":{"__symbolic":"function","parameters":["params"],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"params"},"right":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"params"},"index":0},"right":"?"}},"thenExpression":{"__symbolic":"binop","operator":"+","left":"?","right":{"__symbolic":"reference","name":"params"}},"elseExpression":{"__symbolic":"reference","name":"params"}}}}},"NgLocaleLocalization":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"NgLocalization"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"getPluralCategory":[{"__symbolic":"method"}]}},"NgLocalization":{"__symbolic":"class","members":{"getPluralCategory":[{"__symbolic":"method"}]}},"ɵparseCookieValue":{"__symbolic":"function"},"CommonModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"exports":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"providers":[{"provide":{"__symbolic":"reference","name":"NgLocalization"},"useClass":{"__symbolic":"reference","name":"NgLocaleLocalization"}}]}]}],"members":{}},"NgClass":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngClass]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers"},{"__symbolic":"reference","module":"@angular/core","name":"KeyValueDiffers"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"}]}],"klass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["class"]}]}],"ngClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngDoCheck":[{"__symbolic":"method"}],"_cleanupClasses":[{"__symbolic":"method"}],"_applyKeyValueChanges":[{"__symbolic":"method"}],"_applyIterableChanges":[{"__symbolic":"method"}],"_applyInitialClasses":[{"__symbolic":"method"}],"_applyClasses":[{"__symbolic":"method"}],"_toggleClass":[{"__symbolic":"method"}]}},"NgFor":{"__symbolic":"reference","name":"NgForOf"},"NgForOf":{"__symbolic":"class","arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngFor][ngForOf]"}]}],"members":{"ngForOf":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngForTrackBy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"NgForOfContext"}]},{"__symbolic":"reference","module":"@angular/core","name":"IterableDiffers"}]}],"ngForTemplate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"_applyChanges":[{"__symbolic":"method"}],"_perViewChange":[{"__symbolic":"method"}]}},"NgForOfContext":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could not resolve type","line":15,"character":24,"context":{"typeName":"T"},"module":"./src/directives/ng_for_of"},{"__symbolic":"reference","name":"NgIterable","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":15,"character":54,"context":{"typeName":"T"},"module":"./src/directives/ng_for_of"}]},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"number"}]}]}},"NgIf":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngIf]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"NgIfContext"}]}]}],"ngIf":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngIfThen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngIfElse":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"_updateView":[{"__symbolic":"method"}]}},"NgIfContext":{"__symbolic":"class","members":{}},"NgPlural":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngPlural]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgLocalization"}]}],"ngPlural":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"addCase":[{"__symbolic":"method"}],"_updateView":[{"__symbolic":"method"}],"_clearViews":[{"__symbolic":"method"}],"_activateView":[{"__symbolic":"method"}]}},"NgPluralCase":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngPluralCase]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Attribute"},"arguments":["ngPluralCase"]}],null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}]],"parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"Object"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","name":"NgPlural"}]}]}},"NgStyle":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngStyle]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"KeyValueDiffers"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"Renderer"}]}],"ngStyle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngDoCheck":[{"__symbolic":"method"}],"_applyChanges":[{"__symbolic":"method"}],"_setStyle":[{"__symbolic":"method"}]}},"NgSwitch":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngSwitch]"}]}],"members":{"ngSwitch":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"_addCase":[{"__symbolic":"method"}],"_addDefault":[{"__symbolic":"method"}],"_matchCase":[{"__symbolic":"method"}],"_updateDefaultCases":[{"__symbolic":"method"}]}},"NgSwitchCase":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngSwitchCase]"}]}],"members":{"ngSwitchCase":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"Object"}]},{"__symbolic":"reference","name":"NgSwitch"}]}],"ngDoCheck":[{"__symbolic":"method"}]}},"NgSwitchDefault":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngSwitchDefault]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Host"}}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"Object"}]},{"__symbolic":"reference","name":"NgSwitch"}]}]}},"NgTemplateOutlet":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngTemplateOutlet]"}]}],"members":{"ngTemplateOutletContext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngTemplateOutlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}]}],"ngOutletContext":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngOnChanges":[{"__symbolic":"method"}]}},"NgComponentOutlet":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[ngComponentOutlet]"}]}],"members":{"ngComponentOutlet":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngComponentOutletInjector":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngComponentOutletContent":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"ngComponentOutletNgModuleFactory":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"DOCUMENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["DocumentToken"]},"AsyncPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"async","pure":false}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"transform":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"_subscribe":[{"__symbolic":"method"}],"_selectStrategy":[{"__symbolic":"method"}],"_dispose":[{"__symbolic":"method"}],"_updateLatestValue":[{"__symbolic":"method"}]}},"DatePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"date","pure":true}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]},"statics":{"_ALIASES":{"medium":"yMMMdjms","short":"yMdjm","fullDate":"yMMMMEEEEd","longDate":"yMMMMd","mediumDate":"yMMMd","shortDate":"yMd","mediumTime":"jms","shortTime":"jm"}}},"I18nPluralPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"i18nPlural","pure":true}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgLocalization"}]}],"transform":[{"__symbolic":"method"}]}},"I18nSelectPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"i18nSelect","pure":true}]}],"members":{"transform":[{"__symbolic":"method"}]}},"JsonPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"json","pure":false}]}],"members":{"transform":[{"__symbolic":"method"}]}},"LowerCasePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"lowercase"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"CurrencyPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"currency"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]}},"DecimalPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"number"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]}},"PercentPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"percent"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","name":"string"}]}],"transform":[{"__symbolic":"method"}]}},"SlicePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"slice","pure":false}]}],"members":{"transform":[{"__symbolic":"method"}],"supports":[{"__symbolic":"method"}]}},"UpperCasePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"uppercase"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"TitleCasePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"titlecase"}]}],"members":{"transform":[{"__symbolic":"method"}]}},"ɵPLATFORM_BROWSER_ID":"browser","ɵPLATFORM_SERVER_ID":"server","ɵPLATFORM_WORKER_APP_ID":"browserWorkerApp","ɵPLATFORM_WORKER_UI_ID":"browserWorkerUi","isPlatformBrowser":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"browser"}},"isPlatformServer":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"server"}},"isPlatformWorkerApp":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"browserWorkerApp"}},"isPlatformWorkerUi":{"__symbolic":"function","parameters":["platformId"],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"platformId"},"right":"browserWorkerUi"}},"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version"},"arguments":["5.0.0-beta.1"]}},"origins":{"ɵa":"./src/directives/index","ɵb":"./src/pipes/index","PlatformLocation":"./src/location/platform_location","LOCATION_INITIALIZED":"./src/location/platform_location","LocationChangeEvent":"./src/location/platform_location","LocationChangeListener":"./src/location/platform_location","LocationStrategy":"./src/location/location_strategy","APP_BASE_HREF":"./src/location/location_strategy","HashLocationStrategy":"./src/location/hash_location_strategy","PathLocationStrategy":"./src/location/path_location_strategy","PopStateEvent":"./src/location/location","Location":"./src/location/location","NgLocaleLocalization":"./src/localization","NgLocalization":"./src/localization","ɵparseCookieValue":"./src/cookie","CommonModule":"./src/common_module","NgClass":"./src/directives/ng_class","NgFor":"./src/directives/ng_for_of","NgForOf":"./src/directives/ng_for_of","NgForOfContext":"./src/directives/ng_for_of","NgIf":"./src/directives/ng_if","NgIfContext":"./src/directives/ng_if","NgPlural":"./src/directives/ng_plural","NgPluralCase":"./src/directives/ng_plural","NgStyle":"./src/directives/ng_style","NgSwitch":"./src/directives/ng_switch","NgSwitchCase":"./src/directives/ng_switch","NgSwitchDefault":"./src/directives/ng_switch","NgTemplateOutlet":"./src/directives/ng_template_outlet","NgComponentOutlet":"./src/directives/ng_component_outlet","DOCUMENT":"./src/dom_tokens","AsyncPipe":"./src/pipes/async_pipe","DatePipe":"./src/pipes/date_pipe","I18nPluralPipe":"./src/pipes/i18n_plural_pipe","I18nSelectPipe":"./src/pipes/i18n_select_pipe","JsonPipe":"./src/pipes/json_pipe","LowerCasePipe":"./src/pipes/case_conversion_pipes","CurrencyPipe":"./src/pipes/number_pipe","DecimalPipe":"./src/pipes/number_pipe","PercentPipe":"./src/pipes/number_pipe","SlicePipe":"./src/pipes/slice_pipe","UpperCasePipe":"./src/pipes/case_conversion_pipes","TitleCasePipe":"./src/pipes/case_conversion_pipes","ɵPLATFORM_BROWSER_ID":"./src/platform_id","ɵPLATFORM_SERVER_ID":"./src/platform_id","ɵPLATFORM_WORKER_APP_ID":"./src/platform_id","ɵPLATFORM_WORKER_UI_ID":"./src/platform_id","isPlatformBrowser":"./src/platform_id","isPlatformServer":"./src/platform_id","isPlatformWorkerApp":"./src/platform_id","isPlatformWorkerUi":"./src/platform_id","VERSION":"./src/version"},"importAs":"@angular/common"} |
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":3,"metadata":{"HttpBackend":{"__symbolic":"class","members":{"handle":[{"__symbolic":"method"}]}},"HttpHandler":{"__symbolic":"class","members":{"handle":[{"__symbolic":"method"}]}},"HttpClient":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"HttpHandler"}]}],"request":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"delete":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"get":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"head":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"jsonp":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"options":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"patch":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"post":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"put":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}]}},"HttpHeaders":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":41,"character":31,"module":"./src/headers"}]}],"has":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"keys":[{"__symbolic":"method"}],"getAll":[{"__symbolic":"method"}],"append":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"maybeSetNormalizedName":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"copyFrom":[{"__symbolic":"method"}],"clone":[{"__symbolic":"method"}],"applyUpdate":[{"__symbolic":"method"}],"forEach":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"intercept":[{"__symbolic":"method"}]}},"HTTP_INTERCEPTORS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["HTTP_INTERCEPTORS"]},"HttpInterceptor":{"__symbolic":"interface"},"ɵb":{"__symbolic":"class","members":{}},"JsonpClientBackend":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT"}]}]],"parameters":[{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"any"}]}],"nextCallback":[{"__symbolic":"method"}],"handle":[{"__symbolic":"method"}]}},"JsonpInterceptor":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"JsonpClientBackend"}]}],"intercept":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"function"},"HttpClientJsonpModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"providers":[{"__symbolic":"reference","name":"JsonpClientBackend"},{"provide":{"__symbolic":"reference","name":"ɵb"},"useFactory":{"__symbolic":"reference","name":"ɵc"}},{"provide":{"__symbolic":"reference","name":"HTTP_INTERCEPTORS"},"useClass":{"__symbolic":"reference","name":"JsonpInterceptor"},"multi":true}]}]}],"members":{}},"HttpClientModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"HttpClientXsrfModule"},"member":"withOptions"},"arguments":[{"cookieName":"XSRF-TOKEN","headerName":"X-XSRF-TOKEN"}]}],"providers":[{"__symbolic":"reference","name":"HttpClient"},{"provide":{"__symbolic":"reference","name":"HttpHandler"},"useFactory":{"__symbolic":"reference","name":"ɵinterceptingHandler"},"deps":[{"__symbolic":"reference","name":"HttpBackend"},[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"HTTP_INTERCEPTORS"}]}]]},{"__symbolic":"reference","name":"HttpXhrBackend"},{"provide":{"__symbolic":"reference","name":"HttpBackend"},"useExisting":{"__symbolic":"reference","name":"HttpXhrBackend"}},{"__symbolic":"reference","name":"ɵd"},{"provide":{"__symbolic":"reference","name":"XhrFactory"},"useExisting":{"__symbolic":"reference","name":"ɵd"}}]}]}],"members":{}},"HttpClientXsrfModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"providers":[{"__symbolic":"reference","name":"ɵh"},{"provide":{"__symbolic":"reference","name":"HTTP_INTERCEPTORS"},"useExisting":{"__symbolic":"reference","name":"ɵh"},"multi":true},{"provide":{"__symbolic":"reference","name":"HttpXsrfTokenExtractor"},"useClass":{"__symbolic":"reference","name":"ɵg"}},{"provide":{"__symbolic":"reference","name":"ɵe"},"useValue":"XSRF-TOKEN"},{"provide":{"__symbolic":"reference","name":"ɵf"},"useValue":"X-XSRF-TOKEN"}]}]}],"members":{},"statics":{"disable":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"HttpClientXsrfModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ɵh"},"useClass":{"__symbolic":"reference","name":"ɵa"}}]}},"withOptions":{"__symbolic":"function","parameters":["options"],"defaults":[{}],"value":{"ngModule":{"__symbolic":"reference","name":"HttpClientXsrfModule"},"providers":[{"__symbolic":"if","condition":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"cookieName"},"thenExpression":{"provide":{"__symbolic":"reference","name":"ɵe"},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"cookieName"}},"elseExpression":[]},{"__symbolic":"if","condition":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"headerName"},"thenExpression":{"provide":{"__symbolic":"reference","name":"ɵf"},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"headerName"}},"elseExpression":[]}]}}}},"ɵinterceptingHandler":{"__symbolic":"function"},"HttpParameterCodec":{"__symbolic":"interface"},"HttpParams":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":89,"character":23,"module":"./src/params"}]}],"has":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"getAll":[{"__symbolic":"method"}],"keys":[{"__symbolic":"method"}],"append":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}],"clone":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}]}},"HttpUrlEncodingCodec":{"__symbolic":"class","members":{"encodeKey":[{"__symbolic":"method"}],"encodeValue":[{"__symbolic":"method"}],"decodeKey":[{"__symbolic":"method"}],"decodeValue":[{"__symbolic":"method"}]}},"HttpRequest":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":125,"character":22,"module":"./src/request"},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":125,"character":83,"module":"./src/request"}]},{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":132,"character":22,"module":"./src/request"},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Could not resolve type","line":132,"character":63,"context":{"typeName":"T"},"module":"./src/request"},{"__symbolic":"error","message":"Expression form not supported","line":132,"character":78,"module":"./src/request"}]},{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Could not resolve type","line":139,"character":49,"context":{"typeName":"T"},"module":"./src/request"},{"__symbolic":"error","message":"Expression form not supported","line":139,"character":64,"module":"./src/request"}]},{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Could not resolve type","line":147,"character":52,"context":{"typeName":"T"},"module":"./src/request"},{"__symbolic":"error","message":"Expression form not supported","line":154,"character":15,"module":"./src/request"}]}],"serializeBody":[{"__symbolic":"method"}],"detectContentTypeHeader":[{"__symbolic":"method"}],"clone":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}]}},"HttpDownloadProgressEvent":{"__symbolic":"interface"},"HttpErrorResponse":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"HttpResponseBase"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":311,"character":20,"module":"./src/response"}]}]}},"HttpEventType":{"Sent":0,"UploadProgress":1,"ResponseHeader":2,"DownloadProgress":3,"Response":4,"User":5},"HttpHeaderResponse":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"HttpResponseBase"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":214,"character":20,"module":"./src/response"}]}],"clone":[{"__symbolic":"method"}]}},"HttpProgressEvent":{"__symbolic":"interface"},"HttpResponse":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"HttpResponseBase"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":260,"character":20,"module":"./src/response"}]}],"clone":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}]}},"HttpResponseBase":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":182,"character":12,"module":"./src/response"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"string"}]}]}},"HttpSentEvent":{"__symbolic":"interface"},"HttpUserEvent":{"__symbolic":"interface"},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"build":[{"__symbolic":"method"}]}},"HttpXhrBackend":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"XhrFactory"}]}],"handle":[{"__symbolic":"method"}]}},"XhrFactory":{"__symbolic":"class","members":{"build":[{"__symbolic":"method"}]}},"ɵe":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["XSRF_COOKIE_NAME"]},"ɵf":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["XSRF_HEADER_NAME"]},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"ɵe"}]}]],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}],"getToken":[{"__symbolic":"method"}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"ɵf"}]}]],"parameters":[{"__symbolic":"reference","name":"HttpXsrfTokenExtractor"},{"__symbolic":"reference","name":"string"}]}],"intercept":[{"__symbolic":"method"}]}},"HttpXsrfTokenExtractor":{"__symbolic":"class","members":{"getToken":[{"__symbolic":"method"}]}}},"origins":{"HttpBackend":"./src/backend","HttpHandler":"./src/backend","HttpClient":"./src/client","HttpHeaders":"./src/headers","ɵa":"./src/interceptor","HTTP_INTERCEPTORS":"./src/interceptor","HttpInterceptor":"./src/interceptor","ɵb":"./src/jsonp","JsonpClientBackend":"./src/jsonp","JsonpInterceptor":"./src/jsonp","ɵc":"./src/module","HttpClientJsonpModule":"./src/module","HttpClientModule":"./src/module","HttpClientXsrfModule":"./src/module","ɵinterceptingHandler":"./src/module","HttpParameterCodec":"./src/params","HttpParams":"./src/params","HttpUrlEncodingCodec":"./src/params","HttpRequest":"./src/request","HttpDownloadProgressEvent":"./src/response","HttpErrorResponse":"./src/response","HttpEvent":"./src/response","HttpEventType":"./src/response","HttpHeaderResponse":"./src/response","HttpProgressEvent":"./src/response","HttpResponse":"./src/response","HttpResponseBase":"./src/response","HttpSentEvent":"./src/response","HttpUserEvent":"./src/response","ɵd":"./src/xhr","HttpXhrBackend":"./src/xhr","XhrFactory":"./src/xhr","ɵe":"./src/xsrf","ɵf":"./src/xsrf","ɵg":"./src/xsrf","ɵh":"./src/xsrf","HttpXsrfTokenExtractor":"./src/xsrf"},"importAs":"@angular/common/http"} | ||
{"__symbolic":"module","version":3,"metadata":{"HttpBackend":{"__symbolic":"class","members":{"handle":[{"__symbolic":"method"}]}},"HttpHandler":{"__symbolic":"class","members":{"handle":[{"__symbolic":"method"}]}},"HttpClient":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"HttpHandler"}]}],"request":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"delete":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"get":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"head":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"jsonp":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"options":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"patch":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"post":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"put":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}]}},"HttpHeaders":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":41,"character":31,"module":"./src/headers"}]}],"has":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"keys":[{"__symbolic":"method"}],"getAll":[{"__symbolic":"method"}],"append":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"maybeSetNormalizedName":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"copyFrom":[{"__symbolic":"method"}],"clone":[{"__symbolic":"method"}],"applyUpdate":[{"__symbolic":"method"}],"forEach":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"intercept":[{"__symbolic":"method"}]}},"HTTP_INTERCEPTORS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["HTTP_INTERCEPTORS"]},"HttpInterceptor":{"__symbolic":"interface"},"ɵb":{"__symbolic":"class","members":{}},"JsonpClientBackend":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT"}]}]],"parameters":[{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"any"}]}],"nextCallback":[{"__symbolic":"method"}],"handle":[{"__symbolic":"method"}]}},"JsonpInterceptor":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"JsonpClientBackend"}]}],"intercept":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"function"},"HttpClientJsonpModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"providers":[{"__symbolic":"reference","name":"JsonpClientBackend"},{"provide":{"__symbolic":"reference","name":"ɵb"},"useFactory":{"__symbolic":"reference","name":"ɵc"}},{"provide":{"__symbolic":"reference","name":"HTTP_INTERCEPTORS"},"useClass":{"__symbolic":"reference","name":"JsonpInterceptor"},"multi":true}]}]}],"members":{}},"HttpClientModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"HttpClientXsrfModule"},"member":"withOptions"},"arguments":[{"cookieName":"XSRF-TOKEN","headerName":"X-XSRF-TOKEN"}]}],"providers":[{"__symbolic":"reference","name":"HttpClient"},{"provide":{"__symbolic":"reference","name":"HttpHandler"},"useFactory":{"__symbolic":"reference","name":"ɵinterceptingHandler"},"deps":[{"__symbolic":"reference","name":"HttpBackend"},[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional"}},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"HTTP_INTERCEPTORS"}]}]]},{"__symbolic":"reference","name":"HttpXhrBackend"},{"provide":{"__symbolic":"reference","name":"HttpBackend"},"useExisting":{"__symbolic":"reference","name":"HttpXhrBackend"}},{"__symbolic":"reference","name":"ɵd"},{"provide":{"__symbolic":"reference","name":"XhrFactory"},"useExisting":{"__symbolic":"reference","name":"ɵd"}}]}]}],"members":{}},"HttpClientXsrfModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"providers":[{"__symbolic":"reference","name":"ɵh"},{"provide":{"__symbolic":"reference","name":"HTTP_INTERCEPTORS"},"useExisting":{"__symbolic":"reference","name":"ɵh"},"multi":true},{"provide":{"__symbolic":"reference","name":"HttpXsrfTokenExtractor"},"useClass":{"__symbolic":"reference","name":"ɵg"}},{"provide":{"__symbolic":"reference","name":"ɵe"},"useValue":"XSRF-TOKEN"},{"provide":{"__symbolic":"reference","name":"ɵf"},"useValue":"X-XSRF-TOKEN"}]}]}],"members":{},"statics":{"disable":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"HttpClientXsrfModule"},"providers":[{"provide":{"__symbolic":"reference","name":"ɵh"},"useClass":{"__symbolic":"reference","name":"ɵa"}}]}},"withOptions":{"__symbolic":"function","parameters":["options"],"defaults":[{}],"value":{"ngModule":{"__symbolic":"reference","name":"HttpClientXsrfModule"},"providers":[{"__symbolic":"if","condition":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"cookieName"},"thenExpression":{"provide":{"__symbolic":"reference","name":"ɵe"},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"cookieName"}},"elseExpression":[]},{"__symbolic":"if","condition":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"headerName"},"thenExpression":{"provide":{"__symbolic":"reference","name":"ɵf"},"useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"options"},"member":"headerName"}},"elseExpression":[]}]}}}},"ɵinterceptingHandler":{"__symbolic":"function"},"HttpParameterCodec":{"__symbolic":"interface"},"HttpParams":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":89,"character":23,"module":"./src/params"}]}],"has":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"getAll":[{"__symbolic":"method"}],"keys":[{"__symbolic":"method"}],"append":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}],"clone":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}]}},"HttpUrlEncodingCodec":{"__symbolic":"class","members":{"encodeKey":[{"__symbolic":"method"}],"encodeValue":[{"__symbolic":"method"}],"decodeKey":[{"__symbolic":"method"}],"decodeValue":[{"__symbolic":"method"}]}},"HttpRequest":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":125,"character":22,"module":"./src/request"},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Expression form not supported","line":125,"character":83,"module":"./src/request"}]},{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":132,"character":22,"module":"./src/request"},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Could not resolve type","line":132,"character":63,"context":{"typeName":"T"},"module":"./src/request"},{"__symbolic":"error","message":"Expression form not supported","line":132,"character":78,"module":"./src/request"}]},{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Could not resolve type","line":139,"character":49,"context":{"typeName":"T"},"module":"./src/request"},{"__symbolic":"error","message":"Expression form not supported","line":139,"character":64,"module":"./src/request"}]},{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"error","message":"Could not resolve type","line":147,"character":52,"context":{"typeName":"T"},"module":"./src/request"},{"__symbolic":"error","message":"Expression form not supported","line":154,"character":15,"module":"./src/request"}]}],"serializeBody":[{"__symbolic":"method"}],"detectContentTypeHeader":[{"__symbolic":"method"}],"clone":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}]}},"HttpDownloadProgressEvent":{"__symbolic":"interface"},"HttpErrorResponse":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"HttpResponseBase"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":308,"character":20,"module":"./src/response"}]}]}},"HttpEventType":{"Sent":0,"UploadProgress":1,"ResponseHeader":2,"DownloadProgress":3,"Response":4,"User":5},"HttpHeaderResponse":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"HttpResponseBase"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":211,"character":20,"module":"./src/response"}]}],"clone":[{"__symbolic":"method"}]}},"HttpProgressEvent":{"__symbolic":"interface"},"HttpResponse":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"HttpResponseBase"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":257,"character":20,"module":"./src/response"}]}],"clone":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}]}},"HttpResponseBase":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":179,"character":12,"module":"./src/response"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"string"}]}]}},"HttpSentEvent":{"__symbolic":"interface"},"HttpUserEvent":{"__symbolic":"interface"},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"build":[{"__symbolic":"method"}]}},"HttpXhrBackend":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"XhrFactory"}]}],"handle":[{"__symbolic":"method"}]}},"XhrFactory":{"__symbolic":"class","members":{"build":[{"__symbolic":"method"}]}},"ɵe":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["XSRF_COOKIE_NAME"]},"ɵf":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken"},"arguments":["XSRF_HEADER_NAME"]},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"ɵe"}]}]],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}],"getToken":[{"__symbolic":"method"}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"ɵf"}]}]],"parameters":[{"__symbolic":"reference","name":"HttpXsrfTokenExtractor"},{"__symbolic":"reference","name":"string"}]}],"intercept":[{"__symbolic":"method"}]}},"HttpXsrfTokenExtractor":{"__symbolic":"class","members":{"getToken":[{"__symbolic":"method"}]}}},"origins":{"HttpBackend":"./src/backend","HttpHandler":"./src/backend","HttpClient":"./src/client","HttpHeaders":"./src/headers","ɵa":"./src/interceptor","HTTP_INTERCEPTORS":"./src/interceptor","HttpInterceptor":"./src/interceptor","ɵb":"./src/jsonp","JsonpClientBackend":"./src/jsonp","JsonpInterceptor":"./src/jsonp","ɵc":"./src/module","HttpClientJsonpModule":"./src/module","HttpClientModule":"./src/module","HttpClientXsrfModule":"./src/module","ɵinterceptingHandler":"./src/module","HttpParameterCodec":"./src/params","HttpParams":"./src/params","HttpUrlEncodingCodec":"./src/params","HttpRequest":"./src/request","HttpDownloadProgressEvent":"./src/response","HttpErrorResponse":"./src/response","HttpEvent":"./src/response","HttpEventType":"./src/response","HttpHeaderResponse":"./src/response","HttpProgressEvent":"./src/response","HttpResponse":"./src/response","HttpResponseBase":"./src/response","HttpSentEvent":"./src/response","HttpUserEvent":"./src/response","ɵd":"./src/xhr","HttpXhrBackend":"./src/xhr","XhrFactory":"./src/xhr","ɵe":"./src/xsrf","ɵf":"./src/xsrf","ɵg":"./src/xsrf","ɵh":"./src/xsrf","HttpXsrfTokenExtractor":"./src/xsrf"},"importAs":"@angular/common/http"} |
@@ -0,1 +1,8 @@ | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
import { HttpHeaders } from './headers'; | ||
@@ -2,0 +9,0 @@ /** |
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
{ | ||
"name": "@angular/common", | ||
"version": "5.0.0-beta.0", | ||
"version": "5.0.0-beta.1", | ||
"description": "Angular - commonly needed directives and services", | ||
@@ -15,3 +15,3 @@ "main": "./bundles/common.umd.js", | ||
"peerDependencies": { | ||
"@angular/core": "5.0.0-beta.0" | ||
"@angular/core": "5.0.0-beta.1" | ||
}, | ||
@@ -18,0 +18,0 @@ "repository": { |
/** | ||
* @license Angular v5.0.0-beta.0 | ||
* @license Angular v5.0.0-beta.1 | ||
* (c) 2010-2017 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2728609
25372