(window.webpackJsonpNVIV=window.webpackJsonpNVIV||[]).push([[2],{1709:function(t,e,n){"use strict";n.r(e),n.d(e,"ICON_REGISTRY_PROVIDER",(function(){return O})),n.d(e,"ICON_REGISTRY_PROVIDER_FACTORY",(function(){return E})),n.d(e,"MAT_ICON_LOCATION",(function(){return k})),n.d(e,"MAT_ICON_LOCATION_FACTORY",(function(){return x})),n.d(e,"MatIcon",(function(){return L})),n.d(e,"MatIconModule",(function(){return U})),n.d(e,"MatIconRegistry",(function(){return j})),n.d(e,"getMatIconFailedToSanitizeLiteralError",(function(){return C})),n.d(e,"getMatIconFailedToSanitizeUrlError",(function(){return w})),n.d(e,"getMatIconNameNotFoundError",(function(){return _})),n.d(e,"getMatIconNoHttpProviderError",(function(){return S})),n.d(e,"ɵ0",(function(){return M}));var r=n(0),o=n(47),i=n(1),s=n(23),a=n(3),c=n(535),u=n(62),p=n(637),l=n(1930),d=n(632),f=n(221),h=n(1892),m=n(125),y=n(93),v=n(306),g=n(228),b=["*"];function _(t){return Error('Unable to find icon with the name "'+t+'"')}function S(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function w(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+t+'".')}function C(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \""+t+'".')}var I=function(t,e){this.options=e,t.nodeName?this.svgElement=t:this.url=t},j=function(){function t(t,e,n,r){this._httpClient=t,this._sanitizer=e,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}return t.prototype.addSvgIcon=function(t,e,n){return this.addSvgIconInNamespace("",t,e,n)},t.prototype.addSvgIconLiteral=function(t,e,n){return this.addSvgIconLiteralInNamespace("",t,e,n)},t.prototype.addSvgIconInNamespace=function(t,e,n,r){return this._addSvgIconConfig(t,e,new I(n,r))},t.prototype.addSvgIconLiteralInNamespace=function(t,e,n,o){var i=this._sanitizer.sanitize(r.SecurityContext.HTML,n);if(!i)throw C(n);var s=this._createSvgElementForSingleIcon(i,o);return this._addSvgIconConfig(t,e,new I(s,o))},t.prototype.addSvgIconSet=function(t,e){return this.addSvgIconSetInNamespace("",t,e)},t.prototype.addSvgIconSetLiteral=function(t,e){return this.addSvgIconSetLiteralInNamespace("",t,e)},t.prototype.addSvgIconSetInNamespace=function(t,e,n){return this._addSvgIconSetConfig(t,new I(e,n))},t.prototype.addSvgIconSetLiteralInNamespace=function(t,e,n){var o=this._sanitizer.sanitize(r.SecurityContext.HTML,e);if(!o)throw C(e);var i=this._svgElementFromString(o);return this._addSvgIconSetConfig(t,new I(i,n))},t.prototype.registerFontClassAlias=function(t,e){return void 0===e&&(e=t),this._fontCssClassesByAlias.set(t,e),this},t.prototype.classNameForFontAlias=function(t){return this._fontCssClassesByAlias.get(t)||t},t.prototype.setDefaultFontSetClass=function(t){return this._defaultFontSetClass=t,this},t.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},t.prototype.getSvgIconFromUrl=function(t){var e=this,n=this._sanitizer.sanitize(r.SecurityContext.RESOURCE_URL,t);if(!n)throw w(t);var o=this._cachedIconsByUrl.get(n);return o?Object(y.a)(N(o)):this._loadSvgIconFromConfig(new I(t)).pipe(Object(c.a)((function(t){return e._cachedIconsByUrl.set(n,t)})),Object(u.a)((function(t){return N(t)})))},t.prototype.getNamedSvgIcon=function(t,e){void 0===e&&(e="");var n=T(e,t),r=this._svgIconConfigs.get(n);if(r)return this._getSvgFromConfig(r);var o=this._iconSetConfigs.get(e);return o?this._getSvgFromIconSetConfigs(t,o):Object(v.a)(_(n))},t.prototype.ngOnDestroy=function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()},t.prototype._getSvgFromConfig=function(t){return t.svgElement?Object(y.a)(N(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(Object(c.a)((function(e){return t.svgElement=e})),Object(u.a)((function(t){return N(t)})))},t.prototype._getSvgFromIconSetConfigs=function(t,e){var n=this,o=this._extractIconWithNameFromAnySet(t,e);if(o)return Object(y.a)(o);var i=e.filter((function(t){return!t.svgElement})).map((function(t){return n._loadSvgIconSetFromConfig(t).pipe(Object(p.a)((function(e){var o="Loading icon set URL: "+n._sanitizer.sanitize(r.SecurityContext.RESOURCE_URL,t.url)+" failed: "+e.message;return n._errorHandler?n._errorHandler.handleError(new Error(o)):console.error(o),Object(y.a)(null)})))}));return Object(g.a)(i).pipe(Object(u.a)((function(){var r=n._extractIconWithNameFromAnySet(t,e);if(!r)throw _(t);return r})))},t.prototype._extractIconWithNameFromAnySet=function(t,e){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.svgElement){var o=this._extractSvgIconFromSet(r.svgElement,t,r.options);if(o)return o}}return null},t.prototype._loadSvgIconFromConfig=function(t){var e=this;return this._fetchUrl(t.url).pipe(Object(u.a)((function(n){return e._createSvgElementForSingleIcon(n,t.options)})))},t.prototype._loadSvgIconSetFromConfig=function(t){var e=this;return t.svgElement?Object(y.a)(t.svgElement):this._fetchUrl(t.url).pipe(Object(u.a)((function(n){return t.svgElement||(t.svgElement=e._svgElementFromString(n)),t.svgElement})))},t.prototype._createSvgElementForSingleIcon=function(t,e){var n=this._svgElementFromString(t);return this._setSvgAttributes(n,e),n},t.prototype._extractSvgIconFromSet=function(t,e,n){var r=t.querySelector('[id="'+e+'"]');if(!r)return null;var o=r.cloneNode(!0);if(o.removeAttribute("id"),"svg"===o.nodeName.toLowerCase())return this._setSvgAttributes(o,n);if("symbol"===o.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(o),n);var i=this._svgElementFromString("");return i.appendChild(o),this._setSvgAttributes(i,n)},t.prototype._svgElementFromString=function(t){var e=this._document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n},t.prototype._toSvgElement=function(t){for(var e=this._svgElementFromString(""),n=t.attributes,r=0;r0){var r=t.slice(0,n),o=r.toLowerCase(),i=t.slice(n+1).trim();e.maybeSetNormalizedName(r,o),e.headers.has(o)?e.headers.get(o).push(i):e.headers.set(o,[i])}}))}:function(){e.headers=new Map,Object.keys(t).forEach((function(n){var r=t[n],o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(o,r),e.maybeSetNormalizedName(n,o))}))}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(t){return e.applyUpdate(t)})),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach((function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))}))},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var o=("a"===t.op?this.headers.get(e):void 0)||[];o.push.apply(o,Object(r.h)(n)),this.headers.set(e,o);break;case"d":var i=t.value;if(i){var s=this.headers.get(e);if(!s)return;0===(s=s.filter((function(t){return-1===i.indexOf(t)}))).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return t(e.normalizedNames.get(n),e.headers.get(n))}))},t}(),h=function(){function t(){}return t.prototype.encodeKey=function(t){return m(t)},t.prototype.encodeValue=function(t){return m(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function m(t){return encodeURIComponent(t).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 y=function(){function t(t){var e,n,o,i=this;if(void 0===t&&(t={}),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new h,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,o=new Map,e.length>0&&e.split("&").forEach((function(t){var e=t.indexOf("="),i=Object(r.f)(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),s=i[0],a=i[1],c=o.get(s)||[];c.push(a),o.set(s,c)})),o)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach((function(e){var n=t.fromObject[e];i.map.set(e,Array.isArray(n)?n:[n])}))):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map((function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map((function(e){return n+"="+t.encoder.encodeValue(e)})).join("&")})).filter((function(t){return""!==t})).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(e){return t.map.set(e,t.cloneFrom.map.get(e))})),this.updates.forEach((function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],o=r.indexOf(e.value);-1!==o&&r.splice(o,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}})),this.cloneFrom=this.updates=null)},t}(); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */function v(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function g(t){return"undefined"!=typeof Blob&&t instanceof Blob}function b(t){return"undefined"!=typeof FormData&&t instanceof FormData}var _,S=function(){function t(t,e,n,r){var o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new f),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=e;else{var s=e.indexOf("?"),a=-1===s?"?":s=200&&this.status<300},C=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=_.ResponseHeader,n}return Object(r.c)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(w),I=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=_.Response,n.body=void 0!==e.body?e.body:null,n}return Object(r.c)(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(w),j=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.status>=200&&n.status<300?n.message="Http failure during parsing for "+(e.url||"(unknown url)"):n.message="Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return Object(r.c)(e,t),e}(w); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function E(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var O=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,o=this;if(void 0===n&&(n={}),t instanceof S)r=t;else{var s=void 0;s=n.headers instanceof f?n.headers:new f(n.headers);var p=void 0;n.params&&(p=n.params instanceof y?n.params:new y({fromObject:n.params})),r=new S(t,e,void 0!==n.body?n.body:null,{headers:s,params:p,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var l=Object(i.a)(r).pipe(Object(a.a)((function(t){return o.handler.handle(t)})));if(t instanceof S||"events"===n.observe)return l;var d=l.pipe(Object(c.a)((function(t){return t instanceof I})));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return d.pipe(Object(u.a)((function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return d.pipe(Object(u.a)((function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return d.pipe(Object(u.a)((function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body})));case"json":default:return d.pipe(Object(u.a)((function(t){return t.body})))}case"response":return d;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new y).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,E(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,E(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,E(n,e))},(t=Object(r.b)([Object(r.d)("design:paramtypes",[l])],t)).ɵfac=function(e){return new(e||t)(o["ɵɵinject"](l))},t.ɵprov=o["ɵɵdefineInjectable"]({token:t,factory:function(e){return t.ɵfac(e)}}),t}(),N=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),T=new o.InjectionToken("HTTP_INTERCEPTORS"),R=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t.ɵfac=function(e){return new(e||t)},t.ɵprov=o["ɵɵdefineInjectable"]({token:t,factory:function(e){return t.ɵfac(e)}}),t}(),F=0,k=function(){},x=function(){function t(t,e){this.callbackMap=t,this.document=e}return t.prototype.nextCallback=function(){return"ng_jsonp_callback_"+F++},t.prototype.handle=function(t){var e=this;if("JSONP"!==t.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==t.responseType)throw new Error("JSONP requests must use Json response type.");return new s.a((function(n){var r=e.nextCallback(),o=t.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,"="+r+"$1"),i=e.document.createElement("script");i.src=o;var s=null,a=!1,c=!1;e.callbackMap[r]=function(t){delete e.callbackMap[r],c||(s=t,a=!0)};var u=function(){i.parentNode&&i.parentNode.removeChild(i),delete e.callbackMap[r]},p=function(t){c||(u(),a?(n.next(new I({body:s,status:200,statusText:"OK",url:o})),n.complete()):n.error(new j({url:o,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")})))},l=function(t){c||(u(),n.error(new j({error:t,status:0,statusText:"JSONP Error",url:o})))};return i.addEventListener("load",p),i.addEventListener("error",l),e.document.body.appendChild(i),n.next({type:_.Sent}),function(){c=!0,i.removeEventListener("load",p),i.removeEventListener("error",l),u()}}))},(t=Object(r.b)([Object(r.e)(1,Object(o.Inject)(p.DOCUMENT)),Object(r.d)("design:paramtypes",[k,Object])],t)).ɵfac=function(e){return new(e||t)(o["ɵɵinject"](k),o["ɵɵinject"](p.DOCUMENT))},t.ɵprov=o["ɵɵdefineInjectable"]({token:t,factory:function(e){return t.ɵfac(e)}}),t}(),A=function(){function t(t){this.jsonp=t}return t.prototype.intercept=function(t,e){return"JSONP"===t.method?this.jsonp.handle(t):e.handle(t)},(t=Object(r.b)([Object(r.d)("design:paramtypes",[x])],t)).ɵfac=function(e){return new(e||t)(o["ɵɵinject"](x))},t.ɵprov=o["ɵɵdefineInjectable"]({token:t,factory:function(e){return t.ɵfac(e)}}),t}(),M=/^\)\]\}',?\n/; /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */var P=function(){},H=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},(t=Object(r.b)([Object(r.d)("design:paramtypes",[])],t)).ɵfac=function(e){return new(e||t)},t.ɵprov=o["ɵɵdefineInjectable"]({token:t,factory:function(e){return t.ɵfac(e)}}),t}(),L=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new s.a((function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach((function(t,e){return r.setRequestHeader(t,e.join(","))})),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var o=t.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(t.responseType){var i=t.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var s=t.serializeBody(),a=null,c=function(){if(null!==a)return a;var e=1223===r.status?204:r.status,n=r.statusText||"OK",o=new f(r.getAllResponseHeaders()),i=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return a=new C({headers:o,status:e,statusText:n,url:i})},u=function(){var e=c(),o=e.headers,i=e.status,s=e.statusText,a=e.url,u=null;204!==i&&(u=void 0===r.response?r.responseText:r.response),0===i&&(i=u?200:0);var p=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof u){var l=u;u=u.replace(M,"");try{u=""!==u?JSON.parse(u):null}catch(t){u=l,p&&(p=!1,u={error:t,text:u})}}p?(n.next(new I({body:u,headers:o,status:i,statusText:s,url:a||void 0})),n.complete()):n.error(new j({error:u,headers:o,status:i,statusText:s,url:a||void 0}))},p=function(t){var e=c().url,o=new j({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error",url:e||void 0});n.error(o)},l=!1,d=function(e){l||(n.next(c()),l=!0);var o={type:_.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(o.total=e.total),"text"===t.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},h=function(t){var e={type:_.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",u),r.addEventListener("error",p),t.reportProgress&&(r.addEventListener("progress",d),null!==s&&r.upload&&r.upload.addEventListener("progress",h)),r.send(s),n.next({type:_.Sent}),function(){r.removeEventListener("error",p),r.removeEventListener("load",u),t.reportProgress&&(r.removeEventListener("progress",d),null!==s&&r.upload&&r.upload.removeEventListener("progress",h)),r.abort()}}))},(t=Object(r.b)([Object(r.d)("design:paramtypes",[P])],t)).ɵfac=function(e){return new(e||t)(o["ɵɵinject"](P))},t.ɵprov=o["ɵɵdefineInjectable"]({token:t,factory:function(e){return t.ɵfac(e)}}),t}(),U=new o.InjectionToken("XSRF_COOKIE_NAME"),z=new o.InjectionToken("XSRF_HEADER_NAME"),D=function(){},B=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(p["ɵparseCookieValue"])(t,this.cookieName),this.lastCookieString=t),this.lastToken},(t=Object(r.b)([Object(r.e)(0,Object(o.Inject)(p.DOCUMENT)),Object(r.e)(1,Object(o.Inject)(o.PLATFORM_ID)),Object(r.e)(2,Object(o.Inject)(U)),Object(r.d)("design:paramtypes",[Object,String,String])],t)).ɵfac=function(e){return new(e||t)(o["ɵɵinject"](p.DOCUMENT),o["ɵɵinject"](o.PLATFORM_ID),o["ɵɵinject"](U))},t.ɵprov=o["ɵɵdefineInjectable"]({token:t,factory:function(e){return t.ɵfac(e)}}),t}(),J=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},(t=Object(r.b)([Object(r.e)(1,Object(o.Inject)(z)),Object(r.d)("design:paramtypes",[D,String])],t)).ɵfac=function(e){return new(e||t)(o["ɵɵinject"](D),o["ɵɵinject"](z))},t.ɵprov=o["ɵɵdefineInjectable"]({token:t,factory:function(e){return t.ɵfac(e)}}),t}(),q=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(T,[]);this.chain=e.reduceRight((function(t,e){return new N(t,e)}),this.backend)}return this.chain.handle(t)},(t=Object(r.b)([Object(r.d)("design:paramtypes",[d,o.Injector])],t)).ɵfac=function(e){return new(e||t)(o["ɵɵinject"](d),o["ɵɵinject"](o.Injector))},t.ɵprov=o["ɵɵdefineInjectable"]({token:t,factory:function(e){return t.ɵfac(e)}}),t}();function V(){return"object"==typeof window?window:{}}var W=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:J,useClass:R}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:U,useValue:t.cookieName}:[],t.headerName?{provide:z,useValue:t.headerName}:[]]}},t.ɵmod=o["ɵɵdefineNgModule"]({type:t}),t.ɵinj=o["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},providers:[J,{provide:T,useExisting:J,multi:!0},{provide:D,useClass:B},{provide:U,useValue:"XSRF-TOKEN"},{provide:z,useValue:"X-XSRF-TOKEN"}]}),t}(),K=function(){function t(){}return t.ɵmod=o["ɵɵdefineNgModule"]({type:t}),t.ɵinj=o["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},providers:[O,{provide:l,useClass:q},L,{provide:d,useExisting:L},H,{provide:P,useExisting:H}],imports:[[W.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),("undefined"==typeof ngJitMode||ngJitMode)&&o["ɵɵsetNgModuleScope"](t,{imports:[W]}),t}(),X=function(){function t(){}return t.ɵmod=o["ɵɵdefineNgModule"]({type:t}),t.ɵinj=o["ɵɵdefineInjector"]({factory:function(e){return new(e||t)},providers:[x,{provide:k,useFactory:V},{provide:T,useClass:A,multi:!0}]}),t}()},1930:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(1),o=n(26),i=n(33);function s(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.callback))},t}(),c=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new i.a(n)),r}return r.c(e,t),e}(o.a)}}]);