@angular/http
Advanced tools
Comparing version 6.1.7 to 6.1.8
/** | ||
* @license Angular v6.1.7 | ||
* @license Angular v6.1.8 | ||
* (c) 2010-2018 Google, Inc. https://angular.io/ | ||
@@ -13,2 +13,28 @@ * License: MIT | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */ | ||
function __decorate(decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
} | ||
function __metadata(metadataKey, metadataValue) { | ||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); | ||
} | ||
/** | ||
@@ -218,7 +244,6 @@ * @license | ||
}; | ||
MockBackend.decorators = [ | ||
{ type: core.Injectable } | ||
]; | ||
/** @nocollapse */ | ||
MockBackend.ctorParameters = function () { return []; }; | ||
MockBackend = __decorate([ | ||
core.Injectable(), | ||
__metadata("design:paramtypes", []) | ||
], MockBackend); | ||
return MockBackend; | ||
@@ -225,0 +250,0 @@ }()); |
/** | ||
* @license Angular v6.1.7 | ||
* @license Angular v6.1.8 | ||
* (c) 2010-2018 Google, Inc. https://angular.io/ | ||
@@ -13,3 +13,4 @@ * License: MIT | ||
* found in the LICENSE file at https://angular.io/license | ||
*/var i=function(){function e(e){this.response=new o.ReplaySubject(1).pipe(r.take(1)),this.readyState=n.ReadyState.Open,this.request=e}return e.prototype.mockRespond=function(e){if(this.readyState===n.ReadyState.Done||this.readyState===n.ReadyState.Cancelled)throw new Error("Connection has already been resolved");this.readyState=n.ReadyState.Done,this.response.next(e),this.response.complete()},e.prototype.mockDownload=function(e){},e.prototype.mockError=function(e){this.readyState=n.ReadyState.Done,this.response.error(e)},e}(),s=function(){function e(){var e=this;this.connectionsArray=[],this.connections=new o.Subject,this.connections.subscribe(function(t){return e.connectionsArray.push(t)}),this.pendingConnections=new o.Subject}return e.prototype.verifyNoPendingRequests=function(){var e=0;if(this.pendingConnections.subscribe(function(t){return e++}),e>0)throw new Error(e+" pending connections to be resolved")},e.prototype.resolveAllConnections=function(){this.connections.subscribe(function(e){return e.readyState=4})},e.prototype.createConnection=function(e){if(!(e&&e instanceof n.Request))throw new Error("createConnection requires an instance of Request, got "+e);var t=new i(e);return this.connections.next(t),t},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[]},e}(); | ||
*/ | ||
var i=function(){function e(e){this.response=new o.ReplaySubject(1).pipe(r.take(1)),this.readyState=n.ReadyState.Open,this.request=e}return e.prototype.mockRespond=function(e){if(this.readyState===n.ReadyState.Done||this.readyState===n.ReadyState.Cancelled)throw new Error("Connection has already been resolved");this.readyState=n.ReadyState.Done,this.response.next(e),this.response.complete()},e.prototype.mockDownload=function(e){},e.prototype.mockError=function(e){this.readyState=n.ReadyState.Done,this.response.error(e)},e}(),c=function(){function e(){var e=this;this.connectionsArray=[],this.connections=new o.Subject,this.connections.subscribe(function(t){return e.connectionsArray.push(t)}),this.pendingConnections=new o.Subject}return e.prototype.verifyNoPendingRequests=function(){var e=0;if(this.pendingConnections.subscribe(function(t){return e++}),e>0)throw new Error(e+" pending connections to be resolved")},e.prototype.resolveAllConnections=function(){this.connections.subscribe(function(e){return e.readyState=4})},e.prototype.createConnection=function(e){if(!(e&&e instanceof n.Request))throw new Error("createConnection requires an instance of Request, got "+e);var t=new i(e);return this.connections.next(t),t},function c(e,t,n,o){var r,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(c=(i<3?r(c):i>3?r(t,n,c):r(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c}([t.Injectable(),function r(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}("design:paramtypes",[])],e)}(); | ||
/** | ||
@@ -36,2 +37,2 @@ * @license | ||
*/ | ||
e.MockConnection=i,e.MockBackend=s,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
e.MockConnection=i,e.MockBackend=c,Object.defineProperty(e,"__esModule",{value:!0})}); |
/** | ||
* @license Angular v6.1.7 | ||
* @license Angular v6.1.8 | ||
* (c) 2010-2018 Google, Inc. https://angular.io/ | ||
* License: MIT | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("@angular/platform-browser")):"function"==typeof define&&define.amd?define("@angular/http",["exports","@angular/core","rxjs","@angular/platform-browser"],t):t((e.ng=e.ng||{},e.ng.http={}),e.ng.core,e.rxjs,e.ng.platformBrowser)}(this,function(e,t,r,n){"use strict"; | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("@angular/platform-browser")):"function"==typeof define&&define.amd?define("@angular/http",["exports","@angular/core","rxjs","@angular/platform-browser"],t):t((e.ng=e.ng||{},e.ng.http={}),e.ng.core,e.rxjs,e.ng.platformBrowser)}(this,function(e,t,n,r){"use strict";var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function s(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function a(e,t,n,r){var o,s=arguments.length,a=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(a=(s<3?o(a):s>3?o(t,n,a):o(t,n))||a);return s>3&&a&&Object.defineProperty(t,n,a),a}function i(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,s=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=s.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(o)throw o.error}}return a} | ||
/** | ||
@@ -13,3 +13,4 @@ * @license | ||
* found in the LICENSE file at https://angular.io/license | ||
*/var o,s,a,i,u,p=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[]},e}(),c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function l(e,t){function r(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function h(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,s=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}return a}( | ||
*/ | ||
var p,c,l,h,d,f=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},a([t.Injectable(),i("design:paramtypes",[])],e)}(); | ||
/** | ||
@@ -21,4 +22,3 @@ * @license | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
o=e.RequestMethod||(e.RequestMethod={}))[o.Get=0]="Get",o[o.Post=1]="Post",o[o.Put=2]="Put",o[o.Delete=3]="Delete",o[o.Options=4]="Options",o[o.Head=5]="Head",o[o.Patch=6]="Patch",(s=e.ReadyState||(e.ReadyState={}))[s.Unsent=0]="Unsent",s[s.Open=1]="Open",s[s.HeadersReceived=2]="HeadersReceived",s[s.Loading=3]="Loading",s[s.Done=4]="Done",s[s.Cancelled=5]="Cancelled",(a=e.ResponseType||(e.ResponseType={}))[a.Basic=0]="Basic",a[a.Cors=1]="Cors",a[a.Default=2]="Default",a[a.Error=3]="Error",a[a.Opaque=4]="Opaque",function(e){e[e.NONE=0]="NONE",e[e.JSON=1]="JSON",e[e.FORM=2]="FORM",e[e.FORM_DATA=3]="FORM_DATA",e[e.TEXT=4]="TEXT",e[e.BLOB=5]="BLOB",e[e.ARRAY_BUFFER=6]="ARRAY_BUFFER"}(i||(i={})),(u=e.ResponseContentType||(e.ResponseContentType={}))[u.Text=0]="Text",u[u.Json=1]="Json",u[u.ArrayBuffer=2]="ArrayBuffer",u[u.Blob=3]="Blob"; | ||
*/( | ||
/** | ||
@@ -31,3 +31,3 @@ * @license | ||
*/ | ||
var d=function(){function e(t){var r=this;this._headers=new Map,this._normalizedNames=new Map,t&&(t instanceof e?t.forEach(function(e,t){e.forEach(function(e){return r.append(t,e)})}):Object.keys(t).forEach(function(e){var n=Array.isArray(t[e])?t[e]:[t[e]];r.delete(e),n.forEach(function(t){return r.append(e,t)})}))}return e.fromResponseHeaderString=function(t){var r=new e;return t.split("\n").forEach(function(e){var t=e.indexOf(":");if(t>0){var n=e.slice(0,t),o=e.slice(t+1).trim();r.set(n,o)}}),r},e.prototype.append=function(e,t){var r=this.getAll(e);null===r?this.set(e,t):r.push(t)},e.prototype.delete=function(e){var t=e.toLowerCase();this._normalizedNames.delete(t),this._headers.delete(t)},e.prototype.forEach=function(e){var t=this;this._headers.forEach(function(r,n){return e(r,t._normalizedNames.get(n),t._headers)})},e.prototype.get=function(e){var t=this.getAll(e);return null===t?null:t.length>0?t[0]:null},e.prototype.has=function(e){return this._headers.has(e.toLowerCase())},e.prototype.keys=function(){return Array.from(this._normalizedNames.values())},e.prototype.set=function(e,t){Array.isArray(t)?t.length&&this._headers.set(e.toLowerCase(),[t.join(",")]):this._headers.set(e.toLowerCase(),[t]),this.mayBeSetNormalizedName(e)},e.prototype.values=function(){return Array.from(this._headers.values())},e.prototype.toJSON=function(){var e=this,t={};return this._headers.forEach(function(r,n){var o=[];r.forEach(function(e){return o.push.apply(o,function t(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e} | ||
p=e.RequestMethod||(e.RequestMethod={}))[p.Get=0]="Get",p[p.Post=1]="Post",p[p.Put=2]="Put",p[p.Delete=3]="Delete",p[p.Options=4]="Options",p[p.Head=5]="Head",p[p.Patch=6]="Patch",(c=e.ReadyState||(e.ReadyState={}))[c.Unsent=0]="Unsent",c[c.Open=1]="Open",c[c.HeadersReceived=2]="HeadersReceived",c[c.Loading=3]="Loading",c[c.Done=4]="Done",c[c.Cancelled=5]="Cancelled",(l=e.ResponseType||(e.ResponseType={}))[l.Basic=0]="Basic",l[l.Cors=1]="Cors",l[l.Default=2]="Default",l[l.Error=3]="Error",l[l.Opaque=4]="Opaque",function(e){e[e.NONE=0]="NONE",e[e.JSON=1]="JSON",e[e.FORM=2]="FORM",e[e.FORM_DATA=3]="FORM_DATA",e[e.TEXT=4]="TEXT",e[e.BLOB=5]="BLOB",e[e.ARRAY_BUFFER=6]="ARRAY_BUFFER"}(h||(h={})),(d=e.ResponseContentType||(e.ResponseContentType={}))[d.Text=0]="Text",d[d.Json=1]="Json",d[d.ArrayBuffer=2]="ArrayBuffer",d[d.Blob=3]="Blob"; | ||
/** | ||
@@ -39,3 +39,4 @@ * @license | ||
* found in the LICENSE file at https://angular.io/license | ||
*/(e.split(",")))}),t[e._normalizedNames.get(n)]=o}),t},e.prototype.getAll=function(e){return this.has(e)&&this._headers.get(e.toLowerCase())||null},e.prototype.entries=function(){throw new Error('"entries" method is not implemented on Headers class')},e.prototype.mayBeSetNormalizedName=function(e){var t=e.toLowerCase();this._normalizedNames.has(t)||this._normalizedNames.set(t,e)},e}(),f=function(){function e(e){void 0===e&&(e={});var t=e.body,r=e.status,n=e.headers,o=e.statusText,s=e.type,a=e.url;this.body=null!=t?t:null,this.status=null!=r?r:null,this.headers=null!=n?n:null,this.statusText=null!=o?o:null,this.type=null!=s?s:null,this.url=null!=a?a:null}return e.prototype.merge=function(t){return new e({body:t&&null!=t.body?t.body:this.body,status:t&&null!=t.status?t.status:this.status,headers:t&&null!=t.headers?t.headers:this.headers,statusText:t&&null!=t.statusText?t.statusText:this.statusText,type:t&&null!=t.type?t.type:this.type,url:t&&null!=t.url?t.url:this.url})},e}(),y=function(r){function n(){return r.call(this,{status:200,statusText:"Ok",type:e.ResponseType.Default,headers:new d})||this}return l(n,r),n.decorators=[{type:t.Injectable}],n.ctorParameters=function(){return[]},n}(f),m=function m(){},_=function _(){},b=function b(){}; | ||
*/ | ||
var y=function(){function e(t){var n=this;this._headers=new Map,this._normalizedNames=new Map,t&&(t instanceof e?t.forEach(function(e,t){e.forEach(function(e){return n.append(t,e)})}):Object.keys(t).forEach(function(e){var r=Array.isArray(t[e])?t[e]:[t[e]];n.delete(e),r.forEach(function(t){return n.append(e,t)})}))}return e.fromResponseHeaderString=function(t){var n=new e;return t.split("\n").forEach(function(e){var t=e.indexOf(":");if(t>0){var r=e.slice(0,t),o=e.slice(t+1).trim();n.set(r,o)}}),n},e.prototype.append=function(e,t){var n=this.getAll(e);null===n?this.set(e,t):n.push(t)},e.prototype.delete=function(e){var t=e.toLowerCase();this._normalizedNames.delete(t),this._headers.delete(t)},e.prototype.forEach=function(e){var t=this;this._headers.forEach(function(n,r){return e(n,t._normalizedNames.get(r),t._headers)})},e.prototype.get=function(e){var t=this.getAll(e);return null===t?null:t.length>0?t[0]:null},e.prototype.has=function(e){return this._headers.has(e.toLowerCase())},e.prototype.keys=function(){return Array.from(this._normalizedNames.values())},e.prototype.set=function(e,t){Array.isArray(t)?t.length&&this._headers.set(e.toLowerCase(),[t.join(",")]):this._headers.set(e.toLowerCase(),[t]),this.mayBeSetNormalizedName(e)},e.prototype.values=function(){return Array.from(this._headers.values())},e.prototype.toJSON=function(){var e=this,t={};return this._headers.forEach(function(n,r){var o=[];n.forEach(function(e){return o.push.apply(o,function t(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}(e.split(",")))}),t[e._normalizedNames.get(r)]=o}),t},e.prototype.getAll=function(e){return this.has(e)&&this._headers.get(e.toLowerCase())||null},e.prototype.entries=function(){throw new Error('"entries" method is not implemented on Headers class')},e.prototype.mayBeSetNormalizedName=function(e){var t=e.toLowerCase();this._normalizedNames.has(t)||this._normalizedNames.set(t,e)},e}(),m=function(){function e(e){void 0===e&&(e={});var t=e.body,n=e.status,r=e.headers,o=e.statusText,s=e.type,a=e.url;this.body=null!=t?t:null,this.status=null!=n?n:null,this.headers=null!=r?r:null,this.statusText=null!=o?o:null,this.type=null!=s?s:null,this.url=null!=a?a:null}return e.prototype.merge=function(t){return new e({body:t&&null!=t.body?t.body:this.body,status:t&&null!=t.status?t.status:this.status,headers:t&&null!=t.headers?t.headers:this.headers,statusText:t&&null!=t.statusText?t.statusText:this.statusText,type:t&&null!=t.type?t.type:this.type,url:t&&null!=t.url?t.url:this.url})},e}(),_=function(n){function r(){return n.call(this,{status:200,statusText:"Ok",type:e.ResponseType.Default,headers:new y})||this}return s(r,n),a([t.Injectable(),i("design:paramtypes",[])],r)}(m),b=function b(){},g=function g(){},R=function R(){}; | ||
/** | ||
@@ -55,3 +56,3 @@ * @license | ||
*/ | ||
function g(t){if("string"!=typeof t)return t;switch(t.toUpperCase()){case"GET":return e.RequestMethod.Get;case"POST":return e.RequestMethod.Post;case"PUT":return e.RequestMethod.Put;case"DELETE":return e.RequestMethod.Delete;case"OPTIONS":return e.RequestMethod.Options;case"HEAD":return e.RequestMethod.Head;case"PATCH":return e.RequestMethod.Patch}throw new Error('Invalid request method. The method "'+t+'" is not supported.')}var w=function(e){return e>=200&&e<300},v=function(){function e(){}return e.prototype.encodeKey=function(e){return R(e)},e.prototype.encodeValue=function(e){return R(e)},e}();function R(e){return encodeURIComponent(e).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,"/")}var O=function(){function e(e,t){void 0===e&&(e=""),void 0===t&&(t=new v),this.rawParams=e,this.queryEncoder=t,this.paramsMap= | ||
function v(t){if("string"!=typeof t)return t;switch(t.toUpperCase()){case"GET":return e.RequestMethod.Get;case"POST":return e.RequestMethod.Post;case"PUT":return e.RequestMethod.Put;case"DELETE":return e.RequestMethod.Delete;case"OPTIONS":return e.RequestMethod.Options;case"HEAD":return e.RequestMethod.Head;case"PATCH":return e.RequestMethod.Patch}throw new Error('Invalid request method. The method "'+t+'" is not supported.')}var w=function(e){return e>=200&&e<300},O=function(){function e(){}return e.prototype.encodeKey=function(e){return T(e)},e.prototype.encodeValue=function(e){return T(e)},e}();function T(e){return encodeURIComponent(e).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,"/")}var C=function(){function e(e,t){void 0===e&&(e=""),void 0===t&&(t=new O),this.rawParams=e,this.queryEncoder=t,this.paramsMap= | ||
/** | ||
@@ -64,3 +65,3 @@ * @license | ||
*/ | ||
function r(e){void 0===e&&(e="");var t=new Map;return e.length>0&&e.split("&").forEach(function(e){var r=e.indexOf("="),n=h(-1==r?[e,""]:[e.slice(0,r),e.slice(r+1)],2),o=n[0],s=n[1],a=t.get(o)||[];a.push(s),t.set(o,a)}),t}(e)}return e.prototype.clone=function(){var t=new e("",this.queryEncoder);return t.appendAll(this),t},e.prototype.has=function(e){return this.paramsMap.has(e)},e.prototype.get=function(e){var t=this.paramsMap.get(e);return Array.isArray(t)?t[0]:null},e.prototype.getAll=function(e){return this.paramsMap.get(e)||[]},e.prototype.set=function(e,t){if(void 0!==t&&null!==t){var r=this.paramsMap.get(e)||[];r.length=0,r.push(t),this.paramsMap.set(e,r)}else this.delete(e)},e.prototype.setAll=function(e){var t=this;e.paramsMap.forEach(function(e,r){var n=t.paramsMap.get(r)||[];n.length=0,n.push(e[0]),t.paramsMap.set(r,n)})},e.prototype.append=function(e,t){if(void 0!==t&&null!==t){var r=this.paramsMap.get(e)||[];r.push(t),this.paramsMap.set(e,r)}},e.prototype.appendAll=function(e){var t=this;e.paramsMap.forEach(function(e,r){for(var n=t.paramsMap.get(r)||[],o=0;o<e.length;++o)n.push(e[o]);t.paramsMap.set(r,n)})},e.prototype.replaceAll=function(e){var t=this;e.paramsMap.forEach(function(e,r){var n=t.paramsMap.get(r)||[];n.length=0;for(var o=0;o<e.length;++o)n.push(e[o]);t.paramsMap.set(r,n)})},e.prototype.toString=function(){var e=this,t=[];return this.paramsMap.forEach(function(r,n){r.forEach(function(r){return t.push(e.queryEncoder.encodeKey(n)+"="+e.queryEncoder.encodeValue(r))})}),t.join("&")},e.prototype.delete=function(e){this.paramsMap.delete(e)},e}(),T=function(){function e(){}return e.prototype.json=function(){return"string"==typeof this._body?JSON.parse(this._body):this._body instanceof ArrayBuffer?JSON.parse(this.text()):this._body},e.prototype.text=function(e){if(void 0===e&&(e="legacy"),this._body instanceof O)return this._body.toString();if(this._body instanceof ArrayBuffer)switch(e){case"legacy":return String.fromCharCode.apply(null,new Uint16Array(this._body));case"iso-8859":return String.fromCharCode.apply(null,new Uint8Array(this._body));default:throw new Error("Invalid value for encodingHint: "+e)}return null==this._body?"":"object"==typeof this._body?JSON.stringify(this._body,null,2):this._body.toString()},e.prototype.arrayBuffer=function(){return this._body instanceof ArrayBuffer?this._body:function e(t){for(var r=new Uint16Array(t.length),n=0,o=t.length;n<o;n++)r[n]=t.charCodeAt(n);return r.buffer}(this.text())},e.prototype.blob=function(){if(this._body instanceof Blob)return this._body;if(this._body instanceof ArrayBuffer)return new Blob([this._body]);throw new Error("The request body isn't either a blob or an array buffer")},e}(),C=function(e){function t(t){var r=e.call(this)||this;return r._body=t.body,r.status=t.status,r.ok=r.status>=200&&r.status<=299,r.statusText=t.statusText,r.headers=t.headers,r.type=t.type,r.url=t.url,r}return l(t,e),t.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},t}(T),E=0,A="__ng_jsonp__",S=null; | ||
function n(e){void 0===e&&(e="");var t=new Map;return e.length>0&&e.split("&").forEach(function(e){var n=e.indexOf("="),r=u(-1==n?[e,""]:[e.slice(0,n),e.slice(n+1)],2),o=r[0],s=r[1],a=t.get(o)||[];a.push(s),t.set(o,a)}),t}(e)}return e.prototype.clone=function(){var t=new e("",this.queryEncoder);return t.appendAll(this),t},e.prototype.has=function(e){return this.paramsMap.has(e)},e.prototype.get=function(e){var t=this.paramsMap.get(e);return Array.isArray(t)?t[0]:null},e.prototype.getAll=function(e){return this.paramsMap.get(e)||[]},e.prototype.set=function(e,t){if(void 0!==t&&null!==t){var n=this.paramsMap.get(e)||[];n.length=0,n.push(t),this.paramsMap.set(e,n)}else this.delete(e)},e.prototype.setAll=function(e){var t=this;e.paramsMap.forEach(function(e,n){var r=t.paramsMap.get(n)||[];r.length=0,r.push(e[0]),t.paramsMap.set(n,r)})},e.prototype.append=function(e,t){if(void 0!==t&&null!==t){var n=this.paramsMap.get(e)||[];n.push(t),this.paramsMap.set(e,n)}},e.prototype.appendAll=function(e){var t=this;e.paramsMap.forEach(function(e,n){for(var r=t.paramsMap.get(n)||[],o=0;o<e.length;++o)r.push(e[o]);t.paramsMap.set(n,r)})},e.prototype.replaceAll=function(e){var t=this;e.paramsMap.forEach(function(e,n){var r=t.paramsMap.get(n)||[];r.length=0;for(var o=0;o<e.length;++o)r.push(e[o]);t.paramsMap.set(n,r)})},e.prototype.toString=function(){var e=this,t=[];return this.paramsMap.forEach(function(n,r){n.forEach(function(n){return t.push(e.queryEncoder.encodeKey(r)+"="+e.queryEncoder.encodeValue(n))})}),t.join("&")},e.prototype.delete=function(e){this.paramsMap.delete(e)},e}(),E=function(){function e(){}return e.prototype.json=function(){return"string"==typeof this._body?JSON.parse(this._body):this._body instanceof ArrayBuffer?JSON.parse(this.text()):this._body},e.prototype.text=function(e){if(void 0===e&&(e="legacy"),this._body instanceof C)return this._body.toString();if(this._body instanceof ArrayBuffer)switch(e){case"legacy":return String.fromCharCode.apply(null,new Uint16Array(this._body));case"iso-8859":return String.fromCharCode.apply(null,new Uint8Array(this._body));default:throw new Error("Invalid value for encodingHint: "+e)}return null==this._body?"":"object"==typeof this._body?JSON.stringify(this._body,null,2):this._body.toString()},e.prototype.arrayBuffer=function(){return this._body instanceof ArrayBuffer?this._body:function e(t){for(var n=new Uint16Array(t.length),r=0,o=t.length;r<o;r++)n[r]=t.charCodeAt(r);return n.buffer}(this.text())},e.prototype.blob=function(){if(this._body instanceof Blob)return this._body;if(this._body instanceof ArrayBuffer)return new Blob([this._body]);throw new Error("The request body isn't either a blob or an array buffer")},e}(),A=function(e){function t(t){var n=e.call(this)||this;return n._body=t.body,n.status=t.status,n.ok=n.status>=200&&n.status<=299,n.statusText=t.statusText,n.headers=t.headers,n.type=t.type,n.url=t.url,n}return s(t,e),t.prototype.toString=function(){return"Response with status: "+this.status+" "+this.statusText+" for URL: "+this.url},t}(E),S=0,q="__ng_jsonp__",M=null; | ||
/** | ||
@@ -72,3 +73,3 @@ * @license | ||
* found in the LICENSE file at https://angular.io/license | ||
*/function q(){var e="object"==typeof window?window:{};return null===S&&(S=e[A]={}),S}var M=function(){function e(){}return e.prototype.build=function(e){var t=document.createElement("script");return t.src=e,t},e.prototype.nextRequestID=function(){return"__req"+E++},e.prototype.requestCallback=function(e){return A+"."+e+".finished"},e.prototype.exposeConnection=function(e,t){q()[e]=t},e.prototype.removeConnection=function(e){q()[e]=null},e.prototype.send=function(e){document.body.appendChild(e)},e.prototype.cleanup=function(e){e.parentNode&&e.parentNode.removeChild(e)},e.decorators=[{type:t.Injectable}],e}(),B="JSONP injected script did not invoke callback.",N="JSONP requests must use GET request method.",x=function(){function t(t,n,o){var s=this;if(this._dom=n,this.baseResponseOptions=o,this._finished=!1,t.method!==e.RequestMethod.Get)throw new TypeError(N);this.request=t,this.response=new r.Observable(function(r){s.readyState=e.ReadyState.Loading;var a=s._id=n.nextRequestID();n.exposeConnection(a,s);var i=n.requestCallback(s._id),u=t.url;u.indexOf("=JSONP_CALLBACK&")>-1?u=u.replace("=JSONP_CALLBACK&","="+i+"&"):u.lastIndexOf("=JSONP_CALLBACK")===u.length-"=JSONP_CALLBACK".length&&(u=u.substring(0,u.length-"=JSONP_CALLBACK".length)+"="+i);var p=s._script=n.build(u),c=function(t){if(s.readyState!==e.ReadyState.Cancelled){if(s.readyState=e.ReadyState.Done,n.cleanup(p),!s._finished){var a=new f({body:B,type:e.ResponseType.Error,url:u});return o&&(a=o.merge(a)),void r.error(new C(a))}var i=new f({body:s._responseData,url:u});s.baseResponseOptions&&(i=s.baseResponseOptions.merge(i)),r.next(new C(i)),r.complete()}},l=function(t){if(s.readyState!==e.ReadyState.Cancelled){s.readyState=e.ReadyState.Done,n.cleanup(p);var a=new f({body:t.message,type:e.ResponseType.Error});o&&(a=o.merge(a)),r.error(new C(a))}};return p.addEventListener("load",c),p.addEventListener("error",l),n.send(p),function(){s.readyState=e.ReadyState.Cancelled,p.removeEventListener("load",c),p.removeEventListener("error",l),s._dom.cleanup(p)}})}return t.prototype.finished=function(t){this._finished=!0,this._dom.removeConnection(this._id),this.readyState!==e.ReadyState.Cancelled&&(this._responseData=t)},t}(),P=function(e){function r(t,r){var n=e.call(this)||this;return n._browserJSONP=t,n._baseResponseOptions=r,n}return l(r,e),r.prototype.createConnection=function(e){return new x(e,this._browserJSONP,this._baseResponseOptions)},r.decorators=[{type:t.Injectable}],r.ctorParameters=function(){return[{type:M},{type:f}]},r}(m),L=/^\)\]\}',?\n/,k=function(){function t(t,n,o){var s=this;this.request=t,this.response=new r.Observable(function(r){var a=n.build();a.open(e.RequestMethod[t.method].toUpperCase(),t.url),null!=t.withCredentials&&(a.withCredentials=t.withCredentials);var i=function(){var e=1223===a.status?204:a.status,n=null;204!==e&&"string"==typeof(n=void 0===a.response?a.responseText:a.response)&&(n=n.replace(L,"")),0===e&&(e=n?200:0);var s=d.fromResponseHeaderString(a.getAllResponseHeaders()),i=function u(e){return"responseURL"in e?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(a)||t.url,p=new f({body:n,status:e,headers:s,statusText:a.statusText||"OK",url:i});null!=o&&(p=o.merge(p));var c=new C(p);if(c.ok=w(e),c.ok)return r.next(c),void r.complete();r.error(c)},u=function(t){var n=new f({body:t,type:e.ResponseType.Error,status:a.status,statusText:a.statusText});null!=o&&(n=o.merge(n)),r.error(new C(n))};if(s.setDetectedContentType(t,a),null==t.headers&&(t.headers=new d),t.headers.has("Accept")||t.headers.append("Accept","application/json, text/plain, */*"),t.headers.forEach(function(e,t){return a.setRequestHeader(t,e.join(","))}),null!=t.responseType&&null!=a.responseType)switch(t.responseType){case e.ResponseContentType.ArrayBuffer:a.responseType="arraybuffer";break;case e.ResponseContentType.Json:a.responseType="json";break;case e.ResponseContentType.Text:a.responseType="text";break;case e.ResponseContentType.Blob:a.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return a.addEventListener("load",i),a.addEventListener("error",u),a.send(s.request.getBody()),function(){a.removeEventListener("load",i),a.removeEventListener("error",u),a.abort()}})}return t.prototype.setDetectedContentType=function(e,t){if(null==e.headers||null==e.headers.get("Content-Type"))switch(e.contentType){case i.NONE:break;case i.JSON:t.setRequestHeader("content-type","application/json");break;case i.FORM:t.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case i.TEXT:t.setRequestHeader("content-type","text/plain");break;case i.BLOB:var r=e.blob();r.type&&t.setRequestHeader("content-type",r.type)}},t}(),F=function(){function e(e,t){void 0===e&&(e="XSRF-TOKEN"),void 0===t&&(t="X-XSRF-TOKEN"),this._cookieName=e,this._headerName=t}return e.prototype.configureRequest=function(e){var t=n.ɵgetDOM().getCookie(this._cookieName);t&&e.headers.set(this._headerName,t)},e}(),j=function(){function e(e,t,r){this._browserXHR=e,this._baseResponseOptions=t,this._xsrfStrategy=r}return e.prototype.createConnection=function(e){return this._xsrfStrategy.configureRequest(e),new k(e,this._browserXHR,this._baseResponseOptions)},e.decorators=[{type:t.Injectable}],e.ctorParameters=function(){return[{type:p},{type:f},{type:b}]},e}(),H=function(){function e(e){void 0===e&&(e={});var t=e.method,r=e.headers,n=e.body,o=e.url,s=e.search,a=e.params,i=e.withCredentials,u=e.responseType;this.method=null!=t?g(t):null,this.headers=null!=r?r:null,this.body=null!=n?n:null,this.url=null!=o?o:null,this.params=this._mergeSearchParams(a||s),this.withCredentials=null!=i?i:null,this.responseType=null!=u?u:null}return Object.defineProperty(e.prototype,"search",{get:function(){return this.params},set:function(e){this.params=e},enumerable:!0,configurable:!0}),e.prototype.merge=function(t){return new e({method:t&&null!=t.method?t.method:this.method,headers:t&&null!=t.headers?t.headers:new d(this.headers),body:t&&null!=t.body?t.body:this.body,url:t&&null!=t.url?t.url:this.url,params:t&&this._mergeSearchParams(t.params||t.search),withCredentials:t&&null!=t.withCredentials?t.withCredentials:this.withCredentials,responseType:t&&null!=t.responseType?t.responseType:this.responseType})},e.prototype._mergeSearchParams=function(e){return e?e instanceof O?e.clone():"string"==typeof e?new O(e):this._parseParams(e):this.params},e.prototype._parseParams=function(e){var t=this;void 0===e&&(e={});var r=new O;return Object.keys(e).forEach(function(n){var o=e[n];Array.isArray(o)?o.forEach(function(e){return t._appendParam(n,e,r)}):t._appendParam(n,o,r)}),r},e.prototype._appendParam=function(e,t,r){"string"!=typeof t&&(t=JSON.stringify(t)),r.append(e,t)},e}(),D=function(r){function n(){return r.call(this,{method:e.RequestMethod.Get,headers:new d})||this}return l(n,r),n.decorators=[{type:t.Injectable}],n.ctorParameters=function(){return[]},n}(H),J=function(e){function t(t){var r=e.call(this)||this,n=t.url;r.url=t.url;var o,s=t.params||t.search;if(s&&(o="object"!=typeof s||s instanceof O?s.toString():function a(e){var t=new O;return Object.keys(e).forEach(function(r){var n=e[r];n&&Array.isArray(n)?n.forEach(function(e){return t.append(r,e.toString())}):t.append(r,n.toString())}),t}(s).toString()).length>0){var i="?";-1!=r.url.indexOf("?")&&(i="&"==r.url[r.url.length-1]?"":"&"),r.url=n+i+o}return r._body=t.body,r.method=g(t.method),r.headers=new d(t.headers),r.contentType=r.detectContentType(),r.withCredentials=t.withCredentials,r.responseType=t.responseType,r}return l(t,e),t.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return i.JSON;case"application/x-www-form-urlencoded":return i.FORM;case"multipart/form-data":return i.FORM_DATA;case"text/plain":case"text/html":return i.TEXT;case"application/octet-stream":return this._body instanceof K?i.ARRAY_BUFFER:i.BLOB;default:return this.detectContentTypeFromBody()}},t.prototype.detectContentTypeFromBody=function(){return null==this._body?i.NONE:this._body instanceof O?i.FORM:this._body instanceof I?i.FORM_DATA:this._body instanceof G?i.BLOB:this._body instanceof K?i.ARRAY_BUFFER:this._body&&"object"==typeof this._body?i.JSON:i.TEXT},t.prototype.getBody=function(){switch(this.contentType){case i.JSON:case i.FORM:return this.text();case i.FORM_DATA:return this._body;case i.TEXT:return this.text();case i.BLOB:return this.blob();case i.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},t}(T),U=function(){},X="object"==typeof window?window:U,I=X.FormData||U,G=X.Blob||U,K=X.ArrayBuffer||U; | ||
*/function B(){var e="object"==typeof window?window:{};return null===M&&(M=e[q]={}),M}var N=function(){function e(){}return e.prototype.build=function(e){var t=document.createElement("script");return t.src=e,t},e.prototype.nextRequestID=function(){return"__req"+S++},e.prototype.requestCallback=function(e){return q+"."+e+".finished"},e.prototype.exposeConnection=function(e,t){B()[e]=t},e.prototype.removeConnection=function(e){B()[e]=null},e.prototype.send=function(e){document.body.appendChild(e)},e.prototype.cleanup=function(e){e.parentNode&&e.parentNode.removeChild(e)},a([t.Injectable()],e)}(),x="JSONP injected script did not invoke callback.",P="JSONP requests must use GET request method.",L=function(){function t(t,r,o){var s=this;if(this._dom=r,this.baseResponseOptions=o,this._finished=!1,t.method!==e.RequestMethod.Get)throw new TypeError(P);this.request=t,this.response=new n.Observable(function(n){s.readyState=e.ReadyState.Loading;var a=s._id=r.nextRequestID();r.exposeConnection(a,s);var i=r.requestCallback(s._id),u=t.url;u.indexOf("=JSONP_CALLBACK&")>-1?u=u.replace("=JSONP_CALLBACK&","="+i+"&"):u.lastIndexOf("=JSONP_CALLBACK")===u.length-"=JSONP_CALLBACK".length&&(u=u.substring(0,u.length-"=JSONP_CALLBACK".length)+"="+i);var p=s._script=r.build(u),c=function(t){if(s.readyState!==e.ReadyState.Cancelled){if(s.readyState=e.ReadyState.Done,r.cleanup(p),!s._finished){var a=new m({body:x,type:e.ResponseType.Error,url:u});return o&&(a=o.merge(a)),void n.error(new A(a))}var i=new m({body:s._responseData,url:u});s.baseResponseOptions&&(i=s.baseResponseOptions.merge(i)),n.next(new A(i)),n.complete()}},l=function(t){if(s.readyState!==e.ReadyState.Cancelled){s.readyState=e.ReadyState.Done,r.cleanup(p);var a=new m({body:t.message,type:e.ResponseType.Error});o&&(a=o.merge(a)),n.error(new A(a))}};return p.addEventListener("load",c),p.addEventListener("error",l),r.send(p),function(){s.readyState=e.ReadyState.Cancelled,p.removeEventListener("load",c),p.removeEventListener("error",l),s._dom.cleanup(p)}})}return t.prototype.finished=function(t){this._finished=!0,this._dom.removeConnection(this._id),this.readyState!==e.ReadyState.Cancelled&&(this._responseData=t)},t}(),j=function(e){function n(t,n){var r=e.call(this)||this;return r._browserJSONP=t,r._baseResponseOptions=n,r}return s(n,e),n.prototype.createConnection=function(e){return new L(e,this._browserJSONP,this._baseResponseOptions)},a([t.Injectable(),i("design:paramtypes",[N,m])],n)}(b),k=/^\)\]\}',?\n/,F=function(){function t(t,r,o){var s=this;this.request=t,this.response=new n.Observable(function(n){var a=r.build();a.open(e.RequestMethod[t.method].toUpperCase(),t.url),null!=t.withCredentials&&(a.withCredentials=t.withCredentials);var i=function(){var e=1223===a.status?204:a.status,r=null;204!==e&&"string"==typeof(r=void 0===a.response?a.responseText:a.response)&&(r=r.replace(k,"")),0===e&&(e=r?200:0);var s=y.fromResponseHeaderString(a.getAllResponseHeaders()),i=function u(e){return"responseURL"in e?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(a)||t.url,p=new m({body:r,status:e,headers:s,statusText:a.statusText||"OK",url:i});null!=o&&(p=o.merge(p));var c=new A(p);if(c.ok=w(e),c.ok)return n.next(c),void n.complete();n.error(c)},u=function(t){var r=new m({body:t,type:e.ResponseType.Error,status:a.status,statusText:a.statusText});null!=o&&(r=o.merge(r)),n.error(new A(r))};if(s.setDetectedContentType(t,a),null==t.headers&&(t.headers=new y),t.headers.has("Accept")||t.headers.append("Accept","application/json, text/plain, */*"),t.headers.forEach(function(e,t){return a.setRequestHeader(t,e.join(","))}),null!=t.responseType&&null!=a.responseType)switch(t.responseType){case e.ResponseContentType.ArrayBuffer:a.responseType="arraybuffer";break;case e.ResponseContentType.Json:a.responseType="json";break;case e.ResponseContentType.Text:a.responseType="text";break;case e.ResponseContentType.Blob:a.responseType="blob";break;default:throw new Error("The selected responseType is not supported")}return a.addEventListener("load",i),a.addEventListener("error",u),a.send(s.request.getBody()),function(){a.removeEventListener("load",i),a.removeEventListener("error",u),a.abort()}})}return t.prototype.setDetectedContentType=function(e,t){if(null==e.headers||null==e.headers.get("Content-Type"))switch(e.contentType){case h.NONE:break;case h.JSON:t.setRequestHeader("content-type","application/json");break;case h.FORM:t.setRequestHeader("content-type","application/x-www-form-urlencoded;charset=UTF-8");break;case h.TEXT:t.setRequestHeader("content-type","text/plain");break;case h.BLOB:var n=e.blob();n.type&&t.setRequestHeader("content-type",n.type)}},t}(),D=function(){function e(e,t){void 0===e&&(e="XSRF-TOKEN"),void 0===t&&(t="X-XSRF-TOKEN"),this._cookieName=e,this._headerName=t}return e.prototype.configureRequest=function(e){var t=r.ɵgetDOM().getCookie(this._cookieName);t&&e.headers.set(this._headerName,t)},e}(),H=function(){function e(e,t,n){this._browserXHR=e,this._baseResponseOptions=t,this._xsrfStrategy=n}return e.prototype.createConnection=function(e){return this._xsrfStrategy.configureRequest(e),new F(e,this._browserXHR,this._baseResponseOptions)},a([t.Injectable(),i("design:paramtypes",[f,m,R])],e)}(),J=function(){function e(e){void 0===e&&(e={});var t=e.method,n=e.headers,r=e.body,o=e.url,s=e.search,a=e.params,i=e.withCredentials,u=e.responseType;this.method=null!=t?v(t):null,this.headers=null!=n?n:null,this.body=null!=r?r:null,this.url=null!=o?o:null,this.params=this._mergeSearchParams(a||s),this.withCredentials=null!=i?i:null,this.responseType=null!=u?u:null}return Object.defineProperty(e.prototype,"search",{get:function(){return this.params},set:function(e){this.params=e},enumerable:!0,configurable:!0}),e.prototype.merge=function(t){return new e({method:t&&null!=t.method?t.method:this.method,headers:t&&null!=t.headers?t.headers:new y(this.headers),body:t&&null!=t.body?t.body:this.body,url:t&&null!=t.url?t.url:this.url,params:t&&this._mergeSearchParams(t.params||t.search),withCredentials:t&&null!=t.withCredentials?t.withCredentials:this.withCredentials,responseType:t&&null!=t.responseType?t.responseType:this.responseType})},e.prototype._mergeSearchParams=function(e){return e?e instanceof C?e.clone():"string"==typeof e?new C(e):this._parseParams(e):this.params},e.prototype._parseParams=function(e){var t=this;void 0===e&&(e={});var n=new C;return Object.keys(e).forEach(function(r){var o=e[r];Array.isArray(o)?o.forEach(function(e){return t._appendParam(r,e,n)}):t._appendParam(r,o,n)}),n},e.prototype._appendParam=function(e,t,n){"string"!=typeof t&&(t=JSON.stringify(t)),n.append(e,t)},e}(),U=function(n){function r(){return n.call(this,{method:e.RequestMethod.Get,headers:new y})||this}return s(r,n),a([t.Injectable(),i("design:paramtypes",[])],r)}(J),X=function(e){function t(t){var n=e.call(this)||this,r=t.url;n.url=t.url;var o,s=t.params||t.search;if(s&&(o="object"!=typeof s||s instanceof C?s.toString():function a(e){var t=new C;return Object.keys(e).forEach(function(n){var r=e[n];r&&Array.isArray(r)?r.forEach(function(e){return t.append(n,e.toString())}):t.append(n,r.toString())}),t}(s).toString()).length>0){var i="?";-1!=n.url.indexOf("?")&&(i="&"==n.url[n.url.length-1]?"":"&"),n.url=r+i+o}return n._body=t.body,n.method=v(t.method),n.headers=new y(t.headers),n.contentType=n.detectContentType(),n.withCredentials=t.withCredentials,n.responseType=t.responseType,n}return s(t,e),t.prototype.detectContentType=function(){switch(this.headers.get("content-type")){case"application/json":return h.JSON;case"application/x-www-form-urlencoded":return h.FORM;case"multipart/form-data":return h.FORM_DATA;case"text/plain":case"text/html":return h.TEXT;case"application/octet-stream":return this._body instanceof Y?h.ARRAY_BUFFER:h.BLOB;default:return this.detectContentTypeFromBody()}},t.prototype.detectContentTypeFromBody=function(){return null==this._body?h.NONE:this._body instanceof C?h.FORM:this._body instanceof K?h.FORM_DATA:this._body instanceof z?h.BLOB:this._body instanceof Y?h.ARRAY_BUFFER:this._body&&"object"==typeof this._body?h.JSON:h.TEXT},t.prototype.getBody=function(){switch(this.contentType){case h.JSON:case h.FORM:return this.text();case h.FORM_DATA:return this._body;case h.TEXT:return this.text();case h.BLOB:return this.blob();case h.ARRAY_BUFFER:return this.arrayBuffer();default:return null}},t}(E),I=function(){},G="object"==typeof window?window:I,K=G.FormData||I,z=G.Blob||I,Y=G.ArrayBuffer||I; | ||
/** | ||
@@ -88,3 +89,3 @@ * @license | ||
*/ | ||
function z(e,t){return e.createConnection(t).response}function Y(e,t,r,n){return e.merge(new H(t?{method:t.method||r,url:t.url||n,search:t.search,params:t.params,headers:t.headers,body:t.body,withCredentials:t.withCredentials,responseType:t.responseType}:{method:r,url:n}))}var V=function(){function r(e,t){this._backend=e,this._defaultOptions=t}return r.prototype.request=function(t,r){var n;if("string"==typeof t)n=z(this._backend,new J(Y(this._defaultOptions,r,e.RequestMethod.Get,t)));else{if(!(t instanceof J))throw new Error("First argument must be a url string or Request instance.");n=z(this._backend,t)}return n},r.prototype.get=function(t,r){return this.request(new J(Y(this._defaultOptions,r,e.RequestMethod.Get,t)))},r.prototype.post=function(t,r,n){return this.request(new J(Y(this._defaultOptions.merge(new H({body:r})),n,e.RequestMethod.Post,t)))},r.prototype.put=function(t,r,n){return this.request(new J(Y(this._defaultOptions.merge(new H({body:r})),n,e.RequestMethod.Put,t)))},r.prototype.delete=function(t,r){return this.request(new J(Y(this._defaultOptions,r,e.RequestMethod.Delete,t)))},r.prototype.patch=function(t,r,n){return this.request(new J(Y(this._defaultOptions.merge(new H({body:r})),n,e.RequestMethod.Patch,t)))},r.prototype.head=function(t,r){return this.request(new J(Y(this._defaultOptions,r,e.RequestMethod.Head,t)))},r.prototype.options=function(t,r){return this.request(new J(Y(this._defaultOptions,r,e.RequestMethod.Options,t)))},r.decorators=[{type:t.Injectable}],r.ctorParameters=function(){return[{type:m},{type:H}]},r}(),Q=function(r){function n(e,t){return r.call(this,e,t)||this}return l(n,r),n.prototype.request=function(t,r){if("string"==typeof t&&(t=new J(Y(this._defaultOptions,r,e.RequestMethod.Get,t))),!(t instanceof J))throw new Error("First argument must be a url string or Request instance.");if(t.method!==e.RequestMethod.Get)throw new Error("JSONP requests must use GET request method.");return z(this._backend,t)},n.decorators=[{type:t.Injectable}],n.ctorParameters=function(){return[{type:m},{type:H}]},n}(V); | ||
function V(e,t){return e.createConnection(t).response}function Q(e,t,n,r){return e.merge(new J(t?{method:t.method||n,url:t.url||r,search:t.search,params:t.params,headers:t.headers,body:t.body,withCredentials:t.withCredentials,responseType:t.responseType}:{method:n,url:r}))}var $=function(){function n(e,t){this._backend=e,this._defaultOptions=t}return n.prototype.request=function(t,n){var r;if("string"==typeof t)r=V(this._backend,new X(Q(this._defaultOptions,n,e.RequestMethod.Get,t)));else{if(!(t instanceof X))throw new Error("First argument must be a url string or Request instance.");r=V(this._backend,t)}return r},n.prototype.get=function(t,n){return this.request(new X(Q(this._defaultOptions,n,e.RequestMethod.Get,t)))},n.prototype.post=function(t,n,r){return this.request(new X(Q(this._defaultOptions.merge(new J({body:n})),r,e.RequestMethod.Post,t)))},n.prototype.put=function(t,n,r){return this.request(new X(Q(this._defaultOptions.merge(new J({body:n})),r,e.RequestMethod.Put,t)))},n.prototype.delete=function(t,n){return this.request(new X(Q(this._defaultOptions,n,e.RequestMethod.Delete,t)))},n.prototype.patch=function(t,n,r){return this.request(new X(Q(this._defaultOptions.merge(new J({body:n})),r,e.RequestMethod.Patch,t)))},n.prototype.head=function(t,n){return this.request(new X(Q(this._defaultOptions,n,e.RequestMethod.Head,t)))},n.prototype.options=function(t,n){return this.request(new X(Q(this._defaultOptions,n,e.RequestMethod.Options,t)))},a([t.Injectable(),i("design:paramtypes",[b,J])],n)}(),W=function(n){function r(e,t){return n.call(this,e,t)||this}return s(r,n),r.prototype.request=function(t,n){if("string"==typeof t&&(t=new X(Q(this._defaultOptions,n,e.RequestMethod.Get,t))),!(t instanceof X))throw new Error("First argument must be a url string or Request instance.");if(t.method!==e.RequestMethod.Get)throw new Error("JSONP requests must use GET request method.");return V(this._backend,t)},a([t.Injectable(),i("design:paramtypes",[b,J])],r)}($); | ||
/** | ||
@@ -97,3 +98,3 @@ * @license | ||
*/ | ||
function $(){return new F}function W(e,t){return new V(e,t)}function Z(e,t){return new Q(e,t)}var ee=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{providers:[{provide:V,useFactory:W,deps:[j,H]},p,{provide:H,useClass:D},{provide:f,useClass:y},j,{provide:b,useFactory:$}]}]}],e}(),te=function(){function e(){}return e.decorators=[{type:t.NgModule,args:[{providers:[{provide:Q,useFactory:Z,deps:[P,H]},M,{provide:H,useClass:D},{provide:f,useClass:y},P]}]}],e}(),re=new t.Version("6.1.7"); | ||
function Z(){return new D}function ee(e,t){return new $(e,t)}function te(e,t){return new W(e,t)}var ne=function(){return a([t.NgModule({providers:[{provide:$,useFactory:ee,deps:[H,J]},f,{provide:J,useClass:U},{provide:m,useClass:_},H,{provide:R,useFactory:Z}]})],function e(){})}(),re=function(){return a([t.NgModule({providers:[{provide:W,useFactory:te,deps:[j,J]},N,{provide:J,useClass:U},{provide:m,useClass:_},j]})],function e(){})}(),oe=new t.Version("6.1.8"); | ||
/** | ||
@@ -120,2 +121,2 @@ * @license | ||
*/ | ||
e.ɵangular_packages_http_http_e=M,e.ɵangular_packages_http_http_f=T,e.ɵangular_packages_http_http_a=$,e.ɵangular_packages_http_http_b=W,e.ɵangular_packages_http_http_c=Z,e.BrowserXhr=p,e.JSONPBackend=P,e.JSONPConnection=x,e.CookieXSRFStrategy=F,e.XHRBackend=j,e.XHRConnection=k,e.BaseRequestOptions=D,e.RequestOptions=H,e.BaseResponseOptions=y,e.ResponseOptions=f,e.Headers=d,e.Http=V,e.Jsonp=Q,e.HttpModule=ee,e.JsonpModule=te,e.Connection=_,e.ConnectionBackend=m,e.XSRFStrategy=b,e.Request=J,e.Response=C,e.QueryEncoder=v,e.URLSearchParams=O,e.VERSION=re,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
e.ɵangular_packages_http_http_e=N,e.ɵangular_packages_http_http_f=E,e.ɵangular_packages_http_http_a=Z,e.ɵangular_packages_http_http_b=ee,e.ɵangular_packages_http_http_c=te,e.BrowserXhr=f,e.JSONPBackend=j,e.JSONPConnection=L,e.CookieXSRFStrategy=D,e.XHRBackend=H,e.XHRConnection=F,e.BaseRequestOptions=U,e.RequestOptions=J,e.BaseResponseOptions=_,e.ResponseOptions=m,e.Headers=y,e.Http=$,e.Jsonp=W,e.HttpModule=ne,e.JsonpModule=re,e.Connection=g,e.ConnectionBackend=b,e.XSRFStrategy=R,e.Request=X,e.Response=A,e.QueryEncoder=O,e.URLSearchParams=C,e.VERSION=oe,Object.defineProperty(e,"__esModule",{value:!0})}); |
@@ -16,4 +16,4 @@ /** | ||
@type {?} */ | ||
export const VERSION = new Version('6.1.7'); | ||
export const VERSION = new Version('6.1.8'); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2h0dHAvc3JjL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFjQSxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sZUFBZSxDQUFDOzs7O0FBSXRDLGFBQWEsT0FBTyxHQUFHLElBQUksT0FBTyxDQUFDLG1CQUFtQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBjb21tb24gcGFja2FnZS5cbiAqL1xuXG5pbXBvcnQge1ZlcnNpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuLyoqXG4gKiBAZGVwcmVjYXRlZCBzZWUgaHR0cHM6Ly9hbmd1bGFyLmlvL2d1aWRlL2h0dHBcbiAqL1xuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ== |
@@ -8,2 +8,3 @@ /** | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { Injectable } from '@angular/core'; | ||
@@ -48,5 +49,5 @@ var _nextRequestId = 0; | ||
}; | ||
BrowserJsonp.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
BrowserJsonp = tslib_1.__decorate([ | ||
Injectable() | ||
], BrowserJsonp); | ||
return BrowserJsonp; | ||
@@ -56,2 +57,2 @@ }()); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJvd3Nlcl9qc29ucC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2h0dHAvc3JjL2JhY2tlbmRzL2Jyb3dzZXJfanNvbnAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV6QyxJQUFJLGNBQWMsR0FBRyxDQUFDLENBQUM7QUFDdkIsTUFBTSxDQUFDLElBQU0sVUFBVSxHQUFHLGNBQWMsQ0FBQztBQUN6QyxJQUFJLGlCQUFpQixHQUE4QixJQUFJLENBQUM7QUFFeEQ7SUFDRSxJQUFNLENBQUMsR0FBeUIsT0FBTyxNQUFNLElBQUksUUFBUSxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQztJQUN4RSxJQUFJLG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lIDxzY3JpcHQ+IGVsZW1lbnQgZnJvbSB0aGUgRE9NXG4gIGNsZWFudXAobm9kZTogYW55KSB7XG4gICAgaWYgKG5vZGUucGFyZW50Tm9kZSkge1xuICAgICAgbm9kZS5wYXJlbnROb2RlLnJlbW92ZUNoaWxkKDxOb2RlPihub2RlKSk7XG4gICAgfVxuICB9XG59XG4iXX0= |
@@ -8,2 +8,3 @@ /** | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { Injectable } from '@angular/core'; | ||
@@ -21,7 +22,6 @@ /** | ||
BrowserXhr.prototype.build = function () { return (new XMLHttpRequest()); }; | ||
BrowserXhr.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** @nocollapse */ | ||
BrowserXhr.ctorParameters = function () { return []; }; | ||
BrowserXhr = tslib_1.__decorate([ | ||
Injectable(), | ||
tslib_1.__metadata("design:paramtypes", []) | ||
], BrowserXhr); | ||
return BrowserXhr; | ||
@@ -31,2 +31,2 @@ }()); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJvd3Nlcl94aHIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9odHRwL3NyYy9iYWNrZW5kcy9icm93c2VyX3hoci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXpDOzs7Ozs7R0FNRztBQUNIO0lBRUU7SUFBZSxDQUFDO0lBQ2hCLDBCQUFLLEdBQUwsY0FBZSxPQUFZLENBQUMsSUFBSSxjQUFjLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQzs7Z0JBSHJELFVBQVU7Ozs7SUFJWCxpQkFBQztDQUFBLEFBSkQsSUFJQztTQUhZLFVBQVUiLCJzb3VyY2V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cbiJdfQ== |
@@ -123,10 +123,6 @@ /** | ||
}; | ||
JSONPBackend.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** @nocollapse */ | ||
JSONPBackend.ctorParameters = function () { return [ | ||
{ type: BrowserJsonp }, | ||
{ type: ResponseOptions } | ||
]; }; | ||
JSONPBackend = tslib_1.__decorate([ | ||
Injectable(), | ||
tslib_1.__metadata("design:paramtypes", [BrowserJsonp, ResponseOptions]) | ||
], JSONPBackend); | ||
return JSONPBackend; | ||
@@ -136,2 +132,2 @@ }(ConnectionBackend)); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianNvbnBfYmFja2VuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2h0dHAvc3JjL2JhY2tlbmRzL2pzb25wX2JhY2tlbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HOztBQUVILE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFDLFVBQVUsRUFBVyxNQUFNLE1BQU0sQ0FBQztBQUUxQyxPQUFPLEVBQUMsZUFBZSxFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFDekQsT0FBTyxFQUFDLFVBQVUsRUFBRSxhQUFhLEVBQUUsWUFBWSxFQUFDLE1BQU0sVUFBVSxDQUFDO0FBQ2pFLE9BQU8sRUFBYSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUU1RCxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sb0JBQW9CLENBQUM7QUFFNUMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBRTdDLElBQU0scUJBQXFCLEdBQUcsZ0RBQWdELENBQUM7QUFDL0UsSUFBTSxzQkFBc0I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IEJyb3dzZXJKc29ucCwgcHJpdmF0ZSBfYmFzZVJlc3BvbnNlT3B0aW9uczogUmVzcG9uc2VPcHRpb25zKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuXG4gIGNyZWF0ZUNvbm5lY3Rpb24ocmVxdWVzdDogUmVxdWVzdCk6IEpTT05QQ29ubmVjdGlvbiB7XG4gICAgcmV0dXJuIG5ldyBKU09OUENvbm5lY3Rpb24ocmVxdWVzdCwgdGhpcy5fYnJvd3NlckpTT05QLCB0aGlzLl9iYXNlUmVzcG9uc2VPcHRpb25zKTtcbiAgfVxufVxuIl19 |
@@ -8,2 +8,3 @@ /** | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { Injectable } from '@angular/core'; | ||
@@ -222,11 +223,7 @@ import { ɵgetDOM as getDOM } from '@angular/platform-browser'; | ||
}; | ||
XHRBackend.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** @nocollapse */ | ||
XHRBackend.ctorParameters = function () { return [ | ||
{ type: BrowserXhr }, | ||
{ type: ResponseOptions }, | ||
{ type: XSRFStrategy } | ||
]; }; | ||
XHRBackend = tslib_1.__decorate([ | ||
Injectable(), | ||
tslib_1.__metadata("design:paramtypes", [BrowserXhr, ResponseOptions, | ||
XSRFStrategy]) | ||
], XHRBackend); | ||
return XHRBackend; | ||
@@ -236,2 +233,2 @@ }()); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieGhyX2JhY2tlbmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9odHRwL3NyYy9iYWNrZW5kcy94aHJfYmFja2VuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFB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ywnKSkpO1xuXG4gICAgICAvLyBTZWxlY3QgdGhlIGNvcnJlY3QgYnVmZmVyIHR5cGUgdG8gc3RvcmUgdGhlIHJlc3BvbnNlXG4gICAgICBpZiAocmVxLnJlc3BvbnNlVHlwZSAhPSBudWxsICYmIF94aHIucmVzcG9uc2VUeXBlICE9IG51bGwpIHtcbiAgICAgICAgc3dpdGNoIChyZXEucmVzcG9uc2VUeXBlKSB7XG4gICAgICAgICAgY2FzZSBSZXNwb25zZUNvbnRlbnRUeXBlLkFycmF5QnVmZmVyOlxuICAgICAgICAgICAgX3hoci5yZXNwb25zZVR5cGUgPSAnYXJyYXlidWZmZXInO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgY2FzZSBSZXNwb25zZUNvbnRlbnRUeXBlLkpzb246XG4gICAgICAgICAgICBfeGhyLnJlc3BvbnNlVHlwZSA9ICdqc29uJztcbiAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgIGNhc2UgUmVzcG9uc2VDb250ZW50VHlwZS5UZXh0OlxuICAgICAgICAgICAgX3hoci5yZXNwb25zZVR5cGUgPSAndGV4dCc7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgICBjYXNlIFJlc3BvbnNlQ29udGVudFR5cGUuQmxvYjpcbiAgICAgICAgICAgIF94aHIucmVzcG9uc2VUeXBlID0gJ2Jsb2InO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcignVGhlIHNlbGVjdGVkIHJlc3BvbnNlVHlwZSBpcyBub3Qgc3VwcG9ydGVkJyk7XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgX3hoci5hZGRFdmVudExpc3RlbmVyKCdsb2FkJywgb25Mb2FkKTtcbiAgICAgIF94aHIuYWRkRXZlbnRMaXN0ZW5lcignZXJyb3InLCBvbkVycm9yKTtcblxuICAgICAgX3hoci5zZW5kKHRoaXMucmVxdWVzdC5nZXR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iBSZXF1ZXN0KTogWEhSQ29ubmVjdGlvbiB7XG4gICAgdGhpcy5feHNyZlN0cmF0ZWd5LmNvbmZpZ3VyZVJlcXVlc3QocmVxdWVzdCk7XG4gICAgcmV0dXJuIG5ldyBYSFJDb25uZWN0aW9uKHJlcXVlc3QsIHRoaXMuX2Jyb3dzZXJYSFIsIHRoaXMuX2Jhc2VSZXNwb25zZU9wdGlvbnMpO1xuICB9XG59XG4iXX0= |
@@ -178,7 +178,6 @@ /** | ||
} | ||
BaseRequestOptions.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** @nocollapse */ | ||
BaseRequestOptions.ctorParameters = function () { return []; }; | ||
BaseRequestOptions = tslib_1.__decorate([ | ||
Injectable(), | ||
tslib_1.__metadata("design:paramtypes", []) | ||
], BaseRequestOptions); | ||
return BaseRequestOptions; | ||
@@ -188,2 +187,2 @@ }(RequestOptions)); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZV9yZXF1ZXN0X29wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9odHRwL3NyYy9iYXNlX3JlcXVlc3Rfb3B0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7O0FBRUgsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUMsYUFBYSxFQUFzQixNQUFNLFNBQVMsQ0FBQztBQUMzRCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sV0FBVyxDQUFDO0FBQ2xDLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLGNBQWMsQ0FBQztBQUVqRCxPQUFPLEVBQUMsZUFBZSxFQUFDLE1BQU0scUJBQXFCLENBQUM7QUFHcEQ7Ozs7Ozs7Ozs7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LmhlYWRlcnMgIT0gbnVsbCA/IG9wdGlvbnMuaGVhZGVycyA6IG5ldyBIZWFkZXJzKHRoaXMuaGVhZGVycyksXG4gICAgICBib2R5OiBvcHRpb25zICYmIG9wdGlvbnMuYm9keSAhPSBudWxsID8gb3B0aW9ucy5ib2R5IDogdGhpcy5ib2R5LFxuICAgICAgdXJsOiBvcHRpb25zICYmIG9wdGlvbnMudXJsICE9IG51bGwgPyBvcHRpb25zLnVybCA6IHRoaXMudXJsLFxuICAgICAgcGFyYW1zOiBvcHRpb25zICYmIHRoaXMuX21lcmdlU2VhcmNoUGFyYW1zKG9wdGlvbnMucGFyYW1zIHx8IG9wdGlvbnMuc2VhcmNoKSxcbiAgICAgIHdpdGhDcmVkZW50aWFsczogb3B0aW9ucyAmJiBvcHRpb25zLndpdGhDcmVkZW50aWFscyAhPSBudWxsID8gb3B0aW9ucy53aXRoQ3JlZGVudGlhbHMgOlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLndpdGhDcmVkZW50aWFscyxcbiAgICAgIHJlc3BvbnNlVHlwZTogb3B0aW9ucyAmJiBvcHRpb25zLnJlc3BvbnNlVHlwZSAhPSBudWxsID8gb3B0aW9ucy5yZXNwb25zZVR5cGUgOlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnJlc3BvbnNlVHlwZVxuICAgIH0pO1xuICB9XG5cbiAgcHJpdmF0ZSBfbWVyZ2VTZWFyY2hQYXJhbXMocGFyYW1zPzogc3RyaW5nfFVSTFNlYXJjaFBhcmFtc3x7W2tleTogc3RyaW5nXTogYW55IHwgYW55W119fFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBudWxsKTogVVJMU2VhcmNoUGFyYW1zIHtcbiAgICBpZiAoIXBhcmFtcykgcmV0dXJuIHRoaXMucGFyYW1zO1xuXG4gICAgaWYgK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ge0BsaW5rIFJlcXVlc3R9XG4gKiBvYmplY3QuXG4gKlxuICogYGBgXG4gKiBpbXBvcnQge0Jhc2VSZXF1ZXN0T3B0aW9ucywgUmVxdWVzdCwgUmVxdWVzdE1ldGhvZH0gZnJvbSAnQGFuZ3VsYXIvaHR0cCc7XG4gKlxuICogY29uc3Qgb3B0aW9ucyA9IG5ldyBCYXNlUmVxdWVzdE9wdGlvbnMoKTtcbiAqIGNvbnN0IHJlcSA9IG5ldyBSZXF1ZXN0KG9wdGlvbnMubWVyZ2Uoe1xuICogICBtZXRob2Q6IFJlcXVlc3RNZXRob2QuUG9zdCxcbiAqICAgdXJsOiAnaHR0cHM6Ly9nb29nbGUuY29tJ1xuICogfSkpO1xuICogY29uc29sZS5sb2coJ3JlcS5tZXRob2Q6JywgUmVxdWVzdE1ldGhvZFtyZXEubWV0aG9kXSk7IC8vIFBvc3RcbiAqIGNvbnNvbGUubG9nKCdvcHRpb25zLnVybDonLCBvcHRpb25zLnVybCk7IC8vIG51bGxcbiAqIGNvbnNvbGUubG9nKCdyZXEudXJsOicsIHJlcS51cmwpOyAvLyBodHRwczovL2dvb2dsZS5jb21cbiAqIGBgYFxuICpcbiAqIEBkZXByZWNhdGVkIHNlZSBodHRwczovL2FuZ3VsYXIuaW8vZ3VpZGUvaHR0cFxuICovXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgQmFzZVJlcXVlc3RPcHRpb25zIGV4dGVuZHMgUmVxdWVzdE9wdGlvbnMge1xuICBjb25zdHJ1Y3RvcigpIHsgc3VwZXIoe21ldGhvZDogUmVxdWVzdE1ldGhvZC5HZXQsIGhlYWRlcnM6IG5ldyBIZWFkZXJzKCl9KTsgfVxufVxuIl19 |
@@ -140,7 +140,6 @@ /** | ||
} | ||
BaseResponseOptions.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** @nocollapse */ | ||
BaseResponseOptions.ctorParameters = function () { return []; }; | ||
BaseResponseOptions = tslib_1.__decorate([ | ||
Injectable(), | ||
tslib_1.__metadata("design:paramtypes", []) | ||
], BaseResponseOptions); | ||
return BaseResponseOptions; | ||
@@ -150,2 +149,2 @@ }(ResponseOptions)); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZV9yZXNwb25zZV9vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvaHR0cC9zcmMvYmFzZV9yZXNwb25zZV9vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRzs7QUFFSCxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxTQUFTLENBQUM7QUFDckMsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLFdBQVcsQ0FBQztBQUlsQzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBMkJHO0FBQ0g7SUF3QkUseUJBQVksSUFBOEI7UUFBOUIscUJBQUEsRUFBQSxTQUE4QjtRQUNqQyxJQUFBLGdCQUFJLEVBQUUsb0JBQU0sRUFBRSxzQkFBTyxFQUFFLDRCQUFVLEVBQUUsZ0JBQUksRUFBRSxjQUFHLENBQVM7UUFDNUQsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksSUFBSSxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQztRQUN2QyxJQUFJLENBQUMsTUFBTSxHQUFHLE1BQU0sSUFBSSxJQUFJLENBQUMsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDO1FBQzdDLElBQUksQ0FBQyxPQUFPLEdBQUcsT0FBTyxJQUFJLElBQUksQ0FBQyxDQUFDLENB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VycygpfSk7XG4gIH1cbn1cbiJdfQ== |
@@ -8,2 +8,3 @@ /** | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
/** | ||
@@ -41,16 +42,16 @@ * @module | ||
} | ||
HttpModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
providers: [ | ||
// TODO(pascal): use factory type annotations once supported in DI | ||
// issue: https://github.com/angular/angular/issues/3183 | ||
{ provide: Http, useFactory: httpFactory, deps: [XHRBackend, RequestOptions] }, | ||
BrowserXhr, | ||
{ provide: RequestOptions, useClass: BaseRequestOptions }, | ||
{ provide: ResponseOptions, useClass: BaseResponseOptions }, | ||
XHRBackend, | ||
{ provide: XSRFStrategy, useFactory: _createDefaultCookieXSRFStrategy }, | ||
], | ||
},] } | ||
]; | ||
HttpModule = tslib_1.__decorate([ | ||
NgModule({ | ||
providers: [ | ||
// TODO(pascal): use factory type annotations once supported in DI | ||
// issue: https://github.com/angular/angular/issues/3183 | ||
{ provide: Http, useFactory: httpFactory, deps: [XHRBackend, RequestOptions] }, | ||
BrowserXhr, | ||
{ provide: RequestOptions, useClass: BaseRequestOptions }, | ||
{ provide: ResponseOptions, useClass: BaseResponseOptions }, | ||
XHRBackend, | ||
{ provide: XSRFStrategy, useFactory: _createDefaultCookieXSRFStrategy }, | ||
], | ||
}) | ||
], HttpModule); | ||
return HttpModule; | ||
@@ -67,15 +68,15 @@ }()); | ||
} | ||
JsonpModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
providers: [ | ||
// TODO(pascal): use factory type annotations once supported in DI | ||
// issue: https://github.com/angular/angular/issues/3183 | ||
{ provide: Jsonp, useFactory: jsonpFactory, deps: [JSONPBackend, RequestOptions] }, | ||
BrowserJsonp, | ||
{ provide: RequestOptions, useClass: BaseRequestOptions }, | ||
{ provide: ResponseOptions, useClass: BaseResponseOptions }, | ||
JSONPBackend, | ||
], | ||
},] } | ||
]; | ||
JsonpModule = tslib_1.__decorate([ | ||
NgModule({ | ||
providers: [ | ||
// TODO(pascal): use factory type annotations once supported in DI | ||
// issue: https://github.com/angular/angular/issues/3183 | ||
{ provide: Jsonp, useFactory: jsonpFactory, deps: [JSONPBackend, RequestOptions] }, | ||
BrowserJsonp, | ||
{ provide: RequestOptions, useClass: BaseRequestOptions }, | ||
{ provide: ResponseOptions, useClass: BaseResponseOptions }, | ||
JSONPBackend, | ||
], | ||
}) | ||
], JsonpModule); | ||
return JsonpModule; | ||
@@ -85,2 +86,2 @@ }()); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cF9tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9odHRwL3NyYy9odHRwX21vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSDs7Ozs7R0FLRztBQUNILE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBQ3RELE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUNsRCxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFDdEQsT0FBTyxFQUFDLGtCQUFrQixFQUFFLFVBQVUsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBQ3RFLE9BQU8sRUFBQyxrQkFBa0IsRUFBRSxjQUFjLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUMxRSxPQUFPLEVBQUMsbUJBQW1CLEVBQUUsZUFBZSxFQUFDLE1BQU0seUJBQXlCLENBQUM7QUFDN0UsT0FBTyxFQUFDLElBQUksRUFBRSxLQUFLLEVBQUMsTUFBTSxRQUFRLENBQUM7QUFDbkMsT0FBTyxFQUFDLFlBQVksRUFBQyx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ZWd5LCB1c2VGYWN0b3J5OiBfY3JlYXRlRGVmYXVsdENvb2tpZVhTUkZTdHJhdGVneX0sXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIEh0dHBNb2R1bGUge1xufVxuXG4vKipcbiAqIFRoZSBtb2R1bGUgdGhhdCBpbmNsdWRlcyBqc29ucCdzIHByb3ZpZGVyc1xuICpcbiAqIEBkZXByZWNhdGVkIHNlZSBodHRwczovL2FuZ3VsYXIuaW8vZ3VpZGUvaHR0cFxuICovXG5ATmdNb2R1bGUoe1xuICBwcm92aWRlcnM6IFtcbiAgICAvLyBUT0RPKHBhc2NhbCk6IHVzZSBmYWN0b3J5IHR5cGUgYW5ub3RhdGlvbnMgb25jZSBzdXBwb3J0ZWQgaW4gRElcbiAgICAvLyBpc3N1ZTogaHR0cHM6Ly9naXRodWIuY29tL2FuZ3VsYXIvYW5ndWxhci9pc3N1ZXMvMzE4M1xuICAgIHtwcm92aWRlOiBKc29ucCwgdXNlRmFjdG9yeToganNvbnBGYWN0b3J5LCBkZXBzOiBbSlNPTlBCYWNrZW5kLCBSZXF1ZXN0T3B0aW9uc119LFxuICAgIEJyb3dzZXJKc29ucCxcbiAgICB7cHJvdmlkZTogUmVxdWVzdE9wdGlvbnMsIHVzZUNsYXNzOiBCYXNlUmVxdWVzdE9wdGlvbnN9LFxuICAgIHtwcm92aWRlOiBSZXNwb25zZU9wdGlvbnMsIHVzZUNsYXNzOiBCYXNlUmVzcG9uc2VPcHRpb25zfSxcbiAgICBKU09OUEJhY2tlbmQsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIEpzb25wTW9kdWxlIHtcbn1cbiJdfQ== |
@@ -161,10 +161,6 @@ /** | ||
}; | ||
Http.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** @nocollapse */ | ||
Http.ctorParameters = function () { return [ | ||
{ type: ConnectionBackend }, | ||
{ type: RequestOptions } | ||
]; }; | ||
Http = tslib_1.__decorate([ | ||
Injectable(), | ||
tslib_1.__metadata("design:paramtypes", [ConnectionBackend, RequestOptions]) | ||
], Http); | ||
return Http; | ||
@@ -212,10 +208,6 @@ }()); | ||
}; | ||
Jsonp.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** @nocollapse */ | ||
Jsonp.ctorParameters = function () { return [ | ||
{ type: ConnectionBackend }, | ||
{ type: RequestOptions } | ||
]; }; | ||
Jsonp = tslib_1.__decorate([ | ||
Injectable(), | ||
tslib_1.__metadata("design:paramtypes", [ConnectionBackend, RequestOptions]) | ||
], Jsonp); | ||
return Jsonp; | ||
@@ -225,2 +217,2 @@ }(Http)); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2h0dHAvc3JjL2h0dHAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HOztBQUVILE9BQU8sRUFBQyxVQUFVLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFHekMsT0FBTyxFQUFxQixjQUFjLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUMxRSxPQUFPLEVBQUMsYUFBYSxFQUFDLE1BQU0sU0FBUyxDQUFDO0FBQ3RDLE9BQU8sRUFBQyxpQkFBaUIsRUFBa0MsTUFBTSxjQUFjLENBQUM7QUFDaEYsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLGtCQUFrQixDQUFDO0FBR3pDLHFCQUFxQixPQUEwQixFQUFFLE9BQWdCO0lBQy9ELE9BQU8sT0FBTyxDQUFDLGdCQUFnQixDQUFDLE9BQU8sQ0FBQyxDQUFDLFFBQVEsQ0FBQztBQUNwRCxDQUFDO0FBRUQsc0JBQ0ksV0FBK0IsRUFBRSxZQUE0QyxFQUM3RSxNQUFxQixFQUFFLEdBQVc7SUFDcEMsSUFBTSxVQU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5nKS4gIEZvciBtb3JlIGRldGFpbCwgc2VlIHRoZVxuICAgKiBbU2VjdXJpdHkgR3VpZGVdKGh0dHA6Ly9nLmNvL25nL3NlY3VyaXR5KS5cbiAgICovXG4gIHJlcXVlc3QodXJsOiBzdHJpbmd8UmVxdWVzdCwgb3B0aW9ucz86IFJlcXVlc3RPcHRpb25zQXJncyk6IE9ic2VydmFibGU8UmVzcG9uc2U+IHtcbiAgICBsZXQgcmVzcG9uc2VPYnNlcnZhYmxlOiBhbnk7XG4gICAgaWYgKHR5cGVvZiB1cmwgPT09ICdzdHJpbmcnKSB7XG4gICAgICB1cmwgPVxuICAgICAgICAgIG5ldyBSZXF1ZXN0KG1lcmdlT3B0aW9ucyh0aGlzLl9kZWZhdWx0T3B0aW9ucywgb3B0aW9ucywgUmVxdWVzdE1ldGhvZC5HZXQsIDxzdHJpbmc+dXJsKSk7XG4gICAgfVxuICAgIGlmICh1cmwgaW5zdGFuY2VvZiBSZXF1ZXN0KSB7XG4gICAgICBpZiAodXJsLm1ldGhvZCAhPT0gUmVxdWVzdE1ldGhvZC5HZXQpIHtcbiAgICAgICAgdGhyb3cgbmV3IEVycm9yKCdKU09OUCByZXF1ZXN0cyBtdXN0IHVzZSBHRVQgcmVxdWVzdCBtZXRob2QuJyk7XG4gICAgICB9XG4gICAgICByZXNwb25zZU9ic2VydmFibGUgPSBodHRwUmVxdWVzdCh0aGlzLl9iYWNrZW5kLCB1cmwpO1xuICAgIH0gZWxzZSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoJ0ZpcnN0IGFyZ3VtZW50IG11c3QgYmUgYSB1cmwgc3RyaW5nIG9yIFJlcXVlc3QgaW5zdGFuY2UuJyk7XG4gICAgfVxuICAgIHJldHVybiByZXNwb25zZU9ic2VydmFibGU7XG4gIH1cbn1cbiJdfQ== |
@@ -17,4 +17,4 @@ /** | ||
*/ | ||
export var VERSION = new Version('6.1.7'); | ||
export var VERSION = new Version('6.1.8'); | ||
//# sourceMappingURL=data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** | ||
*/ | ||
import * as tslib_1 from "tslib"; | ||
import { Injectable } from '@angular/core'; | ||
@@ -211,7 +212,6 @@ import { ReadyState, Request } from '@angular/http'; | ||
}; | ||
MockBackend.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** @nocollapse */ | ||
MockBackend.ctorParameters = function () { return []; }; | ||
MockBackend = tslib_1.__decorate([ | ||
Injectable(), | ||
tslib_1.__metadata("design:paramtypes", []) | ||
], MockBackend); | ||
return MockBackend; | ||
@@ -221,2 +221,2 @@ }()); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ja19iYWNrZW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvaHR0cC90ZXN0aW5nL3NyYy9tb2NrX2JhY2tlbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsT0FBTyxFQUFDLFVBQVUsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQWdDLFVBQVUsRUFBRSxPQUFPLEVBQVcsTUFBTSxlQUFlLENBQUM7QUFDM0YsT0FBTyxFQUFDLGFBQWEsRUFBRSxPQUFPLEVBQUMsTUFBTSxNQUFNLENBQUM7QUFDNUMsT0FBTyxFQUFDLElBQUksRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBR3BDOzs7OztHQUtHO0FBQ0g7SUFvQkUsd0JBQVksR0FBWTtRQUN0QixJQUFJLENBQUMsUUFBUSxHQUFRLElBQUksYUFBYSxDQUFDLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUN4RCxJQUFJLENBQUMsVUFBVSxHQUFHLFVBQVUsQ0FBQyxJQUFJLENBQUM7UUFDbEMsSUFBSSxDQUFDLE9B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mUoKGM6IE1vY2tDb25uZWN0aW9uKSA9PiBjLnJlYWR5U3RhdGUgPSA0KTsgfVxuXG4gIC8qKlxuICAgKiBDcmVhdGVzIGEgbmV3IHtAbGluayBNb2NrQ29ubmVjdGlvbn0uIFRoaXMgaXMgZXF1aXZhbGVudCB0byBjYWxsaW5nIGBuZXdcbiAgICogTW9ja0Nvbm5lY3Rpb24oKWAsIGV4Y2VwdCB0aGF0IGl0IGFsc28gd2lsbCBlbWl0IHRoZSBuZXcgYENvbm5lY3Rpb25gIHRvIHRoZSBgY29ubmVjdGlvbnNgXG4gICAqIGVtaXR0ZXIgb2YgdGhpcyBgTW9ja0JhY2tlbmRgIGluc3RhbmNlLiBUaGlzIG1ldGhvZCB3aWxsIHVzdWFsbHkgb25seSBiZSB1c2VkIGJ5IHRlc3RzXG4gICAqIGFnYWluc3QgdGhlIGZyYW1ld29yayBpdHNlbGYsIG5vdCBieSBlbmQtdXNlcnMuXG4gICAqL1xuICBjcmVhdGVDb25uZWN0aW9uKHJlcTogUmVxdWVzdCk6IE1vY2tDb25uZWN0aW9uIHtcbiAgICBpZiAoIXJlcSB8fCAhKHJlcSBpbnN0YW5jZW9mIFJlcXVlc3QpKSB7XG4gICAgICB0aHJvdyBuZXcgRXJyb3IoYGNyZWF0ZUNvbm5lY3Rpb24gcmVxdWlyZXMgYW4gaW5zdGFuY2Ugb2YgUmVxdWVzdCwgZ290ICR7cmVxfWApO1xuICAgIH1cbiAgICBjb25zdCBjb25uZWN0aW9uID0gbmV3IE1vY2tDb25uZWN0aW9uKHJlcSk7XG4gICAgdGhpcy5jb25uZWN0aW9ucy5uZXh0KGNvbm5lY3Rpb24pO1xuICAgIHJldHVybiBjb25uZWN0aW9uO1xuICB9XG59XG4iXX0= |
/** | ||
* @license Angular v6.1.7 | ||
* @license Angular v6.1.8 | ||
* (c) 2010-2018 Google, Inc. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license Angular v6.1.7 | ||
* @license Angular v6.1.8 | ||
* (c) 2010-2018 Google, Inc. https://angular.io/ | ||
@@ -7,2 +7,3 @@ * License: MIT | ||
import { __decorate, __metadata } from 'tslib'; | ||
import { Injectable } from '@angular/core'; | ||
@@ -217,7 +218,6 @@ import { ReadyState, Request } from '@angular/http'; | ||
}; | ||
MockBackend.decorators = [ | ||
{ type: Injectable } | ||
]; | ||
/** @nocollapse */ | ||
MockBackend.ctorParameters = function () { return []; }; | ||
MockBackend = __decorate([ | ||
Injectable(), | ||
__metadata("design:paramtypes", []) | ||
], MockBackend); | ||
return MockBackend; | ||
@@ -224,0 +224,0 @@ }()); |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"ɵangular_packages_http_http_a":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"CookieXSRFStrategy"}}},"ɵangular_packages_http_http_b":{"__symbolic":"function","parameters":["xhrBackend","requestOptions"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Http"},"arguments":[{"__symbolic":"reference","name":"xhrBackend"},{"__symbolic":"reference","name":"requestOptions"}]}},"ɵangular_packages_http_http_c":{"__symbolic":"function","parameters":["jsonpBackend","requestOptions"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Jsonp"},"arguments":[{"__symbolic":"reference","name":"jsonpBackend"},{"__symbolic":"reference","name":"requestOptions"}]}},"ɵangular_packages_http_http_d":{"__symbolic":"interface"},"BrowserXhr":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":17,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"build":[{"__symbolic":"method"}]}},"JSONPBackend":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ConnectionBackend"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":143,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵangular_packages_http_http_e"},{"__symbolic":"reference","name":"ResponseOptions"}]}],"createConnection":[{"__symbolic":"method"}]}},"JSONPConnection":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Request"},{"__symbolic":"reference","name":"ɵangular_packages_http_http_e"},{"__symbolic":"reference","name":"ResponseOptions"}]}],"finished":[{"__symbolic":"method"}]}},"CookieXSRFStrategy":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}],"configureRequest":[{"__symbolic":"method"}]}},"XHRBackend":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":230,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"BrowserXhr"},{"__symbolic":"reference","name":"ResponseOptions"},{"__symbolic":"reference","name":"XSRFStrategy"}]}],"createConnection":[{"__symbolic":"method"}]}},"XHRConnection":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Request"},{"__symbolic":"reference","name":"BrowserXhr"},{"__symbolic":"reference","name":"ResponseOptions"}]}],"setDetectedContentType":[{"__symbolic":"method"}]}},"BaseRequestOptions":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"RequestOptions"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":204,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"RequestOptions":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RequestOptionsArgs"}]}],"merge":[{"__symbolic":"method"}],"_mergeSearchParams":[{"__symbolic":"method"}],"_parseParams":[{"__symbolic":"method"}],"_appendParam":[{"__symbolic":"method"}]}},"BaseResponseOptions":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ResponseOptions"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":160,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"ResponseOptions":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ResponseOptionsArgs"}]}],"merge":[{"__symbolic":"method"}]}},"ReadyState":{"Unsent":0,"Open":1,"HeadersReceived":2,"Loading":3,"Done":4,"Cancelled":5},"RequestMethod":{"Get":0,"Post":1,"Put":2,"Delete":3,"Options":4,"Head":5,"Patch":6},"ResponseContentType":{"Text":0,"Json":1,"ArrayBuffer":2,"Blob":3},"ResponseType":{"Basic":0,"Cors":1,"Default":2,"Error":3,"Opaque":4},"Headers":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":43,"character":32,"module":"./src/headers"}]}],"append":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"forEach":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"has":[{"__symbolic":"method"}],"keys":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}],"values":[{"__symbolic":"method"}],"toJSON":[{"__symbolic":"method"}],"getAll":[{"__symbolic":"method"}],"entries":[{"__symbolic":"method"}],"mayBeSetNormalizedName":[{"__symbolic":"method"}]}},"Http":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":103,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ConnectionBackend"},{"__symbolic":"reference","name":"RequestOptions"}]}],"request":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"post":[{"__symbolic":"method"}],"put":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"patch":[{"__symbolic":"method"}],"head":[{"__symbolic":"method"}],"options":[{"__symbolic":"method"}]}},"Jsonp":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Http"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":191,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ConnectionBackend"},{"__symbolic":"reference","name":"RequestOptions"}]}],"request":[{"__symbolic":"method"}]}},"HttpModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":44,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","name":"Http"},"useFactory":{"__symbolic":"reference","name":"ɵangular_packages_http_http_b"},"deps":[{"__symbolic":"reference","name":"XHRBackend"},{"__symbolic":"reference","name":"RequestOptions"}]},{"__symbolic":"reference","name":"BrowserXhr"},{"provide":{"__symbolic":"reference","name":"RequestOptions"},"useClass":{"__symbolic":"reference","name":"BaseRequestOptions"}},{"provide":{"__symbolic":"reference","name":"ResponseOptions"},"useClass":{"__symbolic":"reference","name":"BaseResponseOptions"}},{"__symbolic":"reference","name":"XHRBackend"},{"provide":{"__symbolic":"reference","name":"XSRFStrategy"},"useFactory":{"__symbolic":"reference","name":"ɵangular_packages_http_http_a"}}]}]}],"members":{}},"JsonpModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":64,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","name":"Jsonp"},"useFactory":{"__symbolic":"reference","name":"ɵangular_packages_http_http_c"},"deps":[{"__symbolic":"reference","name":"JSONPBackend"},{"__symbolic":"reference","name":"RequestOptions"}]},{"__symbolic":"reference","name":"ɵangular_packages_http_http_e"},{"provide":{"__symbolic":"reference","name":"RequestOptions"},"useClass":{"__symbolic":"reference","name":"BaseRequestOptions"}},{"provide":{"__symbolic":"reference","name":"ResponseOptions"},"useClass":{"__symbolic":"reference","name":"BaseResponseOptions"}},{"__symbolic":"reference","name":"JSONPBackend"}]}]}],"members":{}},"Connection":{"__symbolic":"class","members":{}},"ConnectionBackend":{"__symbolic":"class","members":{"createConnection":[{"__symbolic":"method"}]}},"RequestOptionsArgs":{"__symbolic":"interface"},"ResponseOptionsArgs":{"__symbolic":"interface"},"XSRFStrategy":{"__symbolic":"class","members":{"configureRequest":[{"__symbolic":"method"}]}},"Request":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵangular_packages_http_http_f"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵangular_packages_http_http_d"}]}],"detectContentType":[{"__symbolic":"method"}],"detectContentTypeFromBody":[{"__symbolic":"method"}],"getBody":[{"__symbolic":"method"}]}},"Response":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵangular_packages_http_http_f"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ResponseOptions"}]}],"toString":[{"__symbolic":"method"}]}},"QueryEncoder":{"__symbolic":"class","members":{"encodeKey":[{"__symbolic":"method"}],"encodeValue":[{"__symbolic":"method"}]}},"URLSearchParams":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"QueryEncoder"}]}],"clone":[{"__symbolic":"method"}],"has":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"getAll":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}],"setAll":[{"__symbolic":"method"}],"append":[{"__symbolic":"method"}],"appendAll":[{"__symbolic":"method"}],"replaceAll":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}]}},"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version","line":18,"character":27},"arguments":["6.1.7"]},"ɵangular_packages_http_http_e":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":23,"character":1}}],"members":{"build":[{"__symbolic":"method"}],"nextRequestID":[{"__symbolic":"method"}],"requestCallback":[{"__symbolic":"method"}],"exposeConnection":[{"__symbolic":"method"}],"removeConnection":[{"__symbolic":"method"}],"send":[{"__symbolic":"method"}],"cleanup":[{"__symbolic":"method"}]}},"ɵangular_packages_http_http_f":{"__symbolic":"class","members":{"json":[{"__symbolic":"method"}],"text":[{"__symbolic":"method"}],"arrayBuffer":[{"__symbolic":"method"}],"blob":[{"__symbolic":"method"}]}}},"origins":{"ɵangular_packages_http_http_a":"./src/http_module","ɵangular_packages_http_http_b":"./src/http_module","ɵangular_packages_http_http_c":"./src/http_module","ɵangular_packages_http_http_d":"./src/interfaces","BrowserXhr":"./src/backends/browser_xhr","JSONPBackend":"./src/backends/jsonp_backend","JSONPConnection":"./src/backends/jsonp_backend","CookieXSRFStrategy":"./src/backends/xhr_backend","XHRBackend":"./src/backends/xhr_backend","XHRConnection":"./src/backends/xhr_backend","BaseRequestOptions":"./src/base_request_options","RequestOptions":"./src/base_request_options","BaseResponseOptions":"./src/base_response_options","ResponseOptions":"./src/base_response_options","ReadyState":"./src/enums","RequestMethod":"./src/enums","ResponseContentType":"./src/enums","ResponseType":"./src/enums","Headers":"./src/headers","Http":"./src/http","Jsonp":"./src/http","HttpModule":"./src/http_module","JsonpModule":"./src/http_module","Connection":"./src/interfaces","ConnectionBackend":"./src/interfaces","RequestOptionsArgs":"./src/interfaces","ResponseOptionsArgs":"./src/interfaces","XSRFStrategy":"./src/interfaces","Request":"./src/static_request","Response":"./src/static_response","QueryEncoder":"./src/url_search_params","URLSearchParams":"./src/url_search_params","VERSION":"./src/version","ɵangular_packages_http_http_e":"./src/backends/browser_jsonp","ɵangular_packages_http_http_f":"./src/body"},"importAs":"@angular/http"} | ||
{"__symbolic":"module","version":4,"metadata":{"ɵangular_packages_http_http_a":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"CookieXSRFStrategy"}}},"ɵangular_packages_http_http_b":{"__symbolic":"function","parameters":["xhrBackend","requestOptions"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Http"},"arguments":[{"__symbolic":"reference","name":"xhrBackend"},{"__symbolic":"reference","name":"requestOptions"}]}},"ɵangular_packages_http_http_c":{"__symbolic":"function","parameters":["jsonpBackend","requestOptions"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Jsonp"},"arguments":[{"__symbolic":"reference","name":"jsonpBackend"},{"__symbolic":"reference","name":"requestOptions"}]}},"ɵangular_packages_http_http_d":{"__symbolic":"interface"},"BrowserXhr":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":17,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"build":[{"__symbolic":"method"}]}},"JSONPBackend":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ConnectionBackend"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":143,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵangular_packages_http_http_e"},{"__symbolic":"reference","name":"ResponseOptions"}]}],"createConnection":[{"__symbolic":"method"}]}},"JSONPConnection":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Request"},{"__symbolic":"reference","name":"ɵangular_packages_http_http_e"},{"__symbolic":"reference","name":"ResponseOptions"}]}],"finished":[{"__symbolic":"method"}]}},"CookieXSRFStrategy":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}],"configureRequest":[{"__symbolic":"method"}]}},"XHRBackend":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":230,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"BrowserXhr"},{"__symbolic":"reference","name":"ResponseOptions"},{"__symbolic":"reference","name":"XSRFStrategy"}]}],"createConnection":[{"__symbolic":"method"}]}},"XHRConnection":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Request"},{"__symbolic":"reference","name":"BrowserXhr"},{"__symbolic":"reference","name":"ResponseOptions"}]}],"setDetectedContentType":[{"__symbolic":"method"}]}},"BaseRequestOptions":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"RequestOptions"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":204,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"RequestOptions":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RequestOptionsArgs"}]}],"merge":[{"__symbolic":"method"}],"_mergeSearchParams":[{"__symbolic":"method"}],"_parseParams":[{"__symbolic":"method"}],"_appendParam":[{"__symbolic":"method"}]}},"BaseResponseOptions":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ResponseOptions"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":160,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor"}]}},"ResponseOptions":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ResponseOptionsArgs"}]}],"merge":[{"__symbolic":"method"}]}},"ReadyState":{"Unsent":0,"Open":1,"HeadersReceived":2,"Loading":3,"Done":4,"Cancelled":5},"RequestMethod":{"Get":0,"Post":1,"Put":2,"Delete":3,"Options":4,"Head":5,"Patch":6},"ResponseContentType":{"Text":0,"Json":1,"ArrayBuffer":2,"Blob":3},"ResponseType":{"Basic":0,"Cors":1,"Default":2,"Error":3,"Opaque":4},"Headers":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":43,"character":32,"module":"./src/headers"}]}],"append":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"forEach":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"has":[{"__symbolic":"method"}],"keys":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}],"values":[{"__symbolic":"method"}],"toJSON":[{"__symbolic":"method"}],"getAll":[{"__symbolic":"method"}],"entries":[{"__symbolic":"method"}],"mayBeSetNormalizedName":[{"__symbolic":"method"}]}},"Http":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":103,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ConnectionBackend"},{"__symbolic":"reference","name":"RequestOptions"}]}],"request":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"post":[{"__symbolic":"method"}],"put":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}],"patch":[{"__symbolic":"method"}],"head":[{"__symbolic":"method"}],"options":[{"__symbolic":"method"}]}},"Jsonp":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"Http"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":191,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ConnectionBackend"},{"__symbolic":"reference","name":"RequestOptions"}]}],"request":[{"__symbolic":"method"}]}},"HttpModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":44,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","name":"Http"},"useFactory":{"__symbolic":"reference","name":"ɵangular_packages_http_http_b"},"deps":[{"__symbolic":"reference","name":"XHRBackend"},{"__symbolic":"reference","name":"RequestOptions"}]},{"__symbolic":"reference","name":"BrowserXhr"},{"provide":{"__symbolic":"reference","name":"RequestOptions"},"useClass":{"__symbolic":"reference","name":"BaseRequestOptions"}},{"provide":{"__symbolic":"reference","name":"ResponseOptions"},"useClass":{"__symbolic":"reference","name":"BaseResponseOptions"}},{"__symbolic":"reference","name":"XHRBackend"},{"provide":{"__symbolic":"reference","name":"XSRFStrategy"},"useFactory":{"__symbolic":"reference","name":"ɵangular_packages_http_http_a"}}]}]}],"members":{}},"JsonpModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":64,"character":1},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","name":"Jsonp"},"useFactory":{"__symbolic":"reference","name":"ɵangular_packages_http_http_c"},"deps":[{"__symbolic":"reference","name":"JSONPBackend"},{"__symbolic":"reference","name":"RequestOptions"}]},{"__symbolic":"reference","name":"ɵangular_packages_http_http_e"},{"provide":{"__symbolic":"reference","name":"RequestOptions"},"useClass":{"__symbolic":"reference","name":"BaseRequestOptions"}},{"provide":{"__symbolic":"reference","name":"ResponseOptions"},"useClass":{"__symbolic":"reference","name":"BaseResponseOptions"}},{"__symbolic":"reference","name":"JSONPBackend"}]}]}],"members":{}},"Connection":{"__symbolic":"class","members":{}},"ConnectionBackend":{"__symbolic":"class","members":{"createConnection":[{"__symbolic":"method"}]}},"RequestOptionsArgs":{"__symbolic":"interface"},"ResponseOptionsArgs":{"__symbolic":"interface"},"XSRFStrategy":{"__symbolic":"class","members":{"configureRequest":[{"__symbolic":"method"}]}},"Request":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵangular_packages_http_http_f"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵangular_packages_http_http_d"}]}],"detectContentType":[{"__symbolic":"method"}],"detectContentTypeFromBody":[{"__symbolic":"method"}],"getBody":[{"__symbolic":"method"}]}},"Response":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵangular_packages_http_http_f"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ResponseOptions"}]}],"toString":[{"__symbolic":"method"}]}},"QueryEncoder":{"__symbolic":"class","members":{"encodeKey":[{"__symbolic":"method"}],"encodeValue":[{"__symbolic":"method"}]}},"URLSearchParams":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"QueryEncoder"}]}],"clone":[{"__symbolic":"method"}],"has":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"getAll":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}],"setAll":[{"__symbolic":"method"}],"append":[{"__symbolic":"method"}],"appendAll":[{"__symbolic":"method"}],"replaceAll":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}],"delete":[{"__symbolic":"method"}]}},"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"Version","line":18,"character":27},"arguments":["6.1.8"]},"ɵangular_packages_http_http_e":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":23,"character":1}}],"members":{"build":[{"__symbolic":"method"}],"nextRequestID":[{"__symbolic":"method"}],"requestCallback":[{"__symbolic":"method"}],"exposeConnection":[{"__symbolic":"method"}],"removeConnection":[{"__symbolic":"method"}],"send":[{"__symbolic":"method"}],"cleanup":[{"__symbolic":"method"}]}},"ɵangular_packages_http_http_f":{"__symbolic":"class","members":{"json":[{"__symbolic":"method"}],"text":[{"__symbolic":"method"}],"arrayBuffer":[{"__symbolic":"method"}],"blob":[{"__symbolic":"method"}]}}},"origins":{"ɵangular_packages_http_http_a":"./src/http_module","ɵangular_packages_http_http_b":"./src/http_module","ɵangular_packages_http_http_c":"./src/http_module","ɵangular_packages_http_http_d":"./src/interfaces","BrowserXhr":"./src/backends/browser_xhr","JSONPBackend":"./src/backends/jsonp_backend","JSONPConnection":"./src/backends/jsonp_backend","CookieXSRFStrategy":"./src/backends/xhr_backend","XHRBackend":"./src/backends/xhr_backend","XHRConnection":"./src/backends/xhr_backend","BaseRequestOptions":"./src/base_request_options","RequestOptions":"./src/base_request_options","BaseResponseOptions":"./src/base_response_options","ResponseOptions":"./src/base_response_options","ReadyState":"./src/enums","RequestMethod":"./src/enums","ResponseContentType":"./src/enums","ResponseType":"./src/enums","Headers":"./src/headers","Http":"./src/http","Jsonp":"./src/http","HttpModule":"./src/http_module","JsonpModule":"./src/http_module","Connection":"./src/interfaces","ConnectionBackend":"./src/interfaces","RequestOptionsArgs":"./src/interfaces","ResponseOptionsArgs":"./src/interfaces","XSRFStrategy":"./src/interfaces","Request":"./src/static_request","Response":"./src/static_response","QueryEncoder":"./src/url_search_params","URLSearchParams":"./src/url_search_params","VERSION":"./src/version","ɵangular_packages_http_http_e":"./src/backends/browser_jsonp","ɵangular_packages_http_http_f":"./src/body"},"importAs":"@angular/http"} |
{ | ||
"name": "@angular/http", | ||
"version": "6.1.7", | ||
"version": "6.1.8", | ||
"description": "Angular - the http service", | ||
@@ -20,4 +20,4 @@ "main": "./bundles/http.umd.js", | ||
"rxjs": "^6.0.0", | ||
"@angular/core": "6.1.7", | ||
"@angular/platform-browser": "6.1.7" | ||
"@angular/core": "6.1.8", | ||
"@angular/platform-browser": "6.1.8" | ||
}, | ||
@@ -24,0 +24,0 @@ "repository": { |
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 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
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
1383471
13526