diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt index 27a51c12..4ee52abd 100644 --- a/docs/3rdpartylicenses.txt +++ b/docs/3rdpartylicenses.txt @@ -1,28 +1,3 @@ -@angular-devkit/build-angular -MIT -The MIT License - -Copyright (c) 2017 Google, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - @angular/common MIT @@ -32,54 +7,6 @@ MIT @angular/platform-browser MIT -core-js -MIT -Copyright (c) 2014-2019 Denis Pushkarev - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -regenerator-runtime -MIT -MIT License - -Copyright (c) 2014-present, Facebook, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - rxjs Apache-2.0 Apache License @@ -286,11 +213,26 @@ Apache-2.0 +tslib +0BSD +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + zone.js MIT The MIT License -Copyright (c) 2010-2019 Google LLC. http://angular.io/license +Copyright (c) 2010-2022 Google LLC. https://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docs/404.html b/docs/404.html index bc751de6..b4f25577 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1,17 +1,15 @@ - - - - + ngx-img-fallback + - - - - + + + + @@ -19,6 +17,12 @@
ngx-img-fallback + +
+ +
@@ -38,6 +42,7 @@ - + + - + \ No newline at end of file diff --git a/docs/favicon.ico b/docs/favicon.ico index 8081c7ce..997406ad 100644 Binary files a/docs/favicon.ico and b/docs/favicon.ico differ diff --git a/docs/index.html b/docs/index.html index bc751de6..b4f25577 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,17 +1,15 @@ - - - - + ngx-img-fallback + - - - - + + + + @@ -19,6 +17,12 @@
ngx-img-fallback + +
+ +
@@ -38,6 +42,7 @@ - + + - + \ No newline at end of file diff --git a/docs/main-es2015.7a1af57a873f48f8ec17.js b/docs/main-es2015.7a1af57a873f48f8ec17.js deleted file mode 100644 index ce013cb9..00000000 --- a/docs/main-es2015.7a1af57a873f48f8ec17.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);let s=!1;const o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");s=e},get useDeprecatedSynchronousErrorHandling(){return s}};function i(e){setTimeout(()=>{throw e},0)}const l={closed:!0,next(e){},error(e){if(o.useDeprecatedSynchronousErrorHandling)throw e;i(e)},complete(){}},a=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function c(e){return null!==e&&"object"==typeof e}const u=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let d=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:s,_subscriptions:o}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;ee.concat(t instanceof u?t.errors:t),[])}const f=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class p extends d{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l;break;case 1:if(!e){this.destination=l;break}if("object"==typeof e){e instanceof p?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,e,t,n)}}[f](){return this}static create(e,t,n){const r=new p(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class g extends p{constructor(e,t,n,s){let o;super(),this._parentSubscriber=e;let i=this;r(t)?o=t:t&&(o=t.next,n=t.error,s=t.complete,t!==l&&(r((i=Object.create(t)).unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=o,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=o;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):i(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;i(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);o.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;i(n)}}__tryOrSetError(e,t,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(i(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const m=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function _(){}let y=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,s=function(e,t,n){if(e){if(e instanceof p)return e;if(e[f])return e[f]()}return e||t||n?new p(e,t,n):new p(l)}(e,t,n);if(s.add(r?r.call(s,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),o.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){o.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof p?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=w(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(s){n(s),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[m](){return this}pipe(...e){return 0===e.length?this:((t=e)?1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)}:_)(this);var t}toPromise(e){return new(e=w(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function w(e){if(e||(e=o.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const b=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class v extends d{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class E extends p{constructor(e){super(e),this.destination=e}}let C=(()=>{class e extends y{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[f](){return new E(this)}lift(e){const t=new x(this,this);return t.operator=e,t}next(e){if(this.closed)throw new b;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;snew x(e,t),e})();class x extends C{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):d.EMPTY}}class k extends p{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const T=e=>t=>{for(let n=0,r=e.length;n{if(e&&"function"==typeof e[m])return(e=>t=>{const n=e[m]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)})(e);if((e=>e&&"number"==typeof e.length&&"function"!=typeof e)(e))return T(e);if(function(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}(e))return(e=>t=>(e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,i),t))(e);if(e&&"function"==typeof e[N])return(e=>t=>{const n=e[N]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t})(e);{const t=c(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}};class A extends p{notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class D{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new R(e,this.project,this.thisArg))}}class R extends p{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}class O{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new M(e,this.project,this.concurrent))}}class M extends A{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function P(e){return e}function V(){return function(e){return e.lift(new H(e))}}class H{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new L(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class L extends p{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class F extends y{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new d).add(this.source.subscribe(new B(this.getSubject(),this))),e.closed&&(this._connection=null,e=d.EMPTY)),e}refCount(){return V()(this)}}const j=(()=>{const e=F.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class B extends E{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function z(){return new C}const U="__parameters__";function $(e,t,n){const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,r){const s=e.hasOwnProperty(U)?e[U]:Object.defineProperty(e,U,{value:[]})[U];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}const Z=$("Inject",e=>({token:e})),q=$("Optional"),Q=$("Self"),W=$("SkipSelf");var G=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function K(e){for(let t in e)if(e[t]===K)return t;throw Error("Could not find renamed property on target object.")}function Y(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function J(e){const t=e[X];return t&&t.token===e?t:null}const X=K({ngInjectableDef:K});function ee(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(ee).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}const te=K({__forward_ref__:K});function ne(e){return e.__forward_ref__=ne,e.toString=function(){return ee(this())},e}function re(e){const t=e;return"function"==typeof t&&t.hasOwnProperty(te)&&t.__forward_ref__===ne?t():e}const se="undefined"!=typeof globalThis&&globalThis,oe="undefined"!=typeof window&&window,ie="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,le="undefined"!=typeof global&&global,ae=se||le||oe||ie;class ce{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=Y({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const ue=new ce("INJECTOR",-1),de=new Object,he="ngTempTokenPath",fe="ngTokenPath",pe=/\n/gm,ge="\u0275",me="__source",_e=K({provide:String,useValue:K});let ye=void 0;function we(e){const t=ye;return ye=e,t}function be(e,t=G.Default){if(void 0===ye)throw new Error("inject() must be called from an injection context");return null===ye?function(e,t,n){const r=J(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&G.Optional)return null;throw new Error(`Injector: NOT_FOUND [${ee(e)}]`)}(e,0,t):ye.get(e,t&G.Optional?null:void 0,t)}class ve{get(e,t=de){if(t===de){const t=new Error(`NullInjectorError: No provider for ${ee(e)}!`);throw t.name="NullInjectorError",t}return t}}function Ee(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==ge?e.substr(2):e;let s=ee(t);if(t instanceof Array)s=t.map(ee).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):ee(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(pe,"\n ")}`}class Ce{}class xe{}function ke(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Te(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const Se=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),Ne=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ae))(),Ie="ngDebugContext",Ae="ngOriginalError",De="ngErrorLogger";function Re(e){return e[Ie]}function Oe(e){return e[Ae]}function Me(e,...t){e.error(...t)}class Pe{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[De]||Me}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Re(e)?Re(e):this._findContext(Oe(e)):null}_findOriginalError(e){let t=Oe(e);for(;t&&Oe(t);)t=Oe(t);return t}}let Ve=!0,He=!1;function Le(){return He=!0,Ve}class Fe{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e=""+e+"";try{e=encodeURI(e)}catch(r){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e=""+e+"";try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0ze(e.trim())).join(", ")),this.buf.push(" ",t,'="',rt(i),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Ge.hasOwnProperty(t)&&!Ze.hasOwnProperty(t)&&(this.buf.push(""))}chars(e){this.buf.push(rt(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const tt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,nt=/([^\#-~ |!])/g;function rt(e){return e.replace(/&/g,"&").replace(tt,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(nt,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}let st;function ot(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const it=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}();class lt{}const at=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),ct=/^url\(([^)]+)\)$/,ut=/([A-Z])/g;function dt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}let ht=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>ft(),e})();const ft=(...e)=>{},pt=new ce("The presence of this token marks an injector as being the root injector."),gt=function(e,t,n){return new Et(e,t,n)};let mt=(()=>{class e{static create(e,t){return Array.isArray(e)?gt(e,t,""):gt(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=de,e.NULL=new ve,e.ngInjectableDef=Y({token:e,providedIn:"any",factory:()=>(function(e,t=G.Default){return be(e,t)})(ue)}),e.__NG_ELEMENT_ID__=-1,e})();const _t=function(e){return e},yt=[],wt=_t,bt=function(){return Array.prototype.slice.call(arguments)},vt="\u0275";class Et{constructor(e,t=mt.NULL,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(mt,{token:mt,fn:_t,deps:yt,value:this,useNew:!1}),r.set(ue,{token:ue,fn:_t,deps:yt,value:this,useNew:!1}),function e(t,n){if(n)if((n=re(n))instanceof Array)for(let r=0;re.push(ee(n))),`StaticInjector[${e.join(", ")}]`}}function Ct(e){return xt("Cannot mix multi providers and regular providers",e)}function xt(e,t){return new Error(Ee(e,t,"StaticInjectorError"))}let kt=null;function Tt(){if(!kt){const e=ae.Symbol;if(e&&e.iterator)kt=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t{class e{}return e.NULL=new Lt,e})();class jt{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;r{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>$t(e),e})();const $t=zt;class Zt{}class qt{}const Qt=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let Wt=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Gt(),e})();const Gt=zt;class Kt{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Yt=new Kt("8.2.13");class Jt{constructor(){}supports(e){return At(e)}create(e){return new en(e)}}const Xt=(e,t)=>t;class en{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Xt}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,s=null;for(;t||n;){const o=!n||t&&t.currentIndex{r=this._trackByFn(t,e),null!==s&&St(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,e,r,t)),St(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),o=!0),s=s._next,t++}),this.length=t;return this._truncate(s),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(St(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(St(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new tn(t,n),s,r),e}_verifyReinsertion(e,t,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,s=e._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new rn),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new rn),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class tn{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class nn{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&St(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class rn{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new nn,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function sn(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new an(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){St(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class an{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let cn=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new W,new q]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.ngInjectableDef=Y({token:e,providedIn:"root",factory:()=>new e([new Jt])}),e})(),un=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new W,new q]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.ngInjectableDef=Y({token:e,providedIn:"root",factory:()=>new e([new on])}),e})();const dn=[new on],hn=new cn([new Jt]),fn=new un(dn);let pn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>gn(e,Ut),e})();const gn=zt;let mn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>_n(e,Ut),e})();const _n=zt;function yn(e,t,n,r){let s=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(s+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return wn(n,t),n}(s,e)}function wn(e,t){e[Ie]=t,e[De]=t.logError.bind(t)}function bn(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function vn(e,t,n){const r=e.state,s=1792&r;return s===t?(e.state=-1793&r|n,e.initIndex=-1,!0):s===n}function En(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Cn(e,t){return e.nodes[t]}function xn(e,t){return e.nodes[t]}function kn(e,t){return e.nodes[t]}function Tn(e,t){return e.nodes[t]}function Sn(e,t){return e.nodes[t]}const Nn={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},In=()=>{},An=new Map;function Dn(e){let t=An.get(e);return t||(t=ee(e)+"_"+An.size,An.set(e,t)),t}const Rn="$$undefined",On="$$empty";function Mn(e){return{id:Rn,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let Pn=0;function Vn(e,t,n,r){return!(!(2&e.state)&&St(e.oldValues[t.bindingIndex+n],r))}function Hn(e,t,n,r){return!!Vn(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Ln(e,t,n,r){const s=e.oldValues[t.bindingIndex+n];if(1&e.state||!Nt(s,r)){const o=t.bindings[n].name;throw yn(Nn.createDebugContext(e,t.nodeIndex),`${o}: ${s}`,`${o}: ${r}`,0!=(1&e.state))}}function Fn(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function jn(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Bn(e,t,n,r){try{return Fn(33554432&e.def.nodes[t].flags?xn(e,t).componentView:e),Nn.handleEvent(e,t,n,r)}catch(s){e.root.errorHandler.handleError(s)}}function zn(e){return e.parent?xn(e.parent,e.parentNodeDef.nodeIndex):null}function Un(e){return e.parent?e.parentNodeDef.parent:null}function $n(e,t){switch(201347067&t.flags){case 1:return xn(e,t.nodeIndex).renderElement;case 2:return Cn(e,t.nodeIndex).renderText}}function Zn(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function qn(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Qn(e){const t={};let n=0;const r={};return e&&e.forEach(([e,s])=>{"number"==typeof e?(t[e]=s,n|=function(e){return 1<{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,me,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Dn(n)}})}function Gn(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Se.Native?xn(e,n.renderParent.nodeIndex).renderElement:void 0:t}const Kn=new WeakMap;function Yn(e){let t=Kn.get(e);return t||((t=e(()=>In)).factory=e,Kn.set(e,t)),t}function Jn(e,t,n,r,s){3===t&&(n=e.renderer.parentNode($n(e,e.def.lastRenderRootNode))),Xn(e,t,0,e.def.nodes.length-1,n,r,s)}function Xn(e,t,n,r,s,o,i){for(let l=n;l<=r;l++){const n=e.def.nodes[l];11&n.flags&&tr(e,n,t,s,o,i),l+=n.childCount}}function er(e,t,n,r,s,o){let i=e;for(;i&&!Zn(i);)i=i.parent;const l=i.parent,a=Un(i),c=a.nodeIndex+a.childCount;for(let u=a.nodeIndex+1;u<=c;u++){const e=l.def.nodes[u];e.ngContentIndex===t&&tr(l,e,n,r,s,o),u+=e.childCount}if(!l.parent){const i=e.root.projectableNodes[t];if(i)for(let t=0;t-1}(s,o.providedIn)||"root"===o.providedIn&&s._def.isRoot))){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:n,token:t.token},e._providers[n]=ir,e._providers[n]=hr(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{we(r)}var s,o}function hr(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(dr(e,n[0]));case 2:return new t(dr(e,n[0]),dr(e,n[1]));case 3:return new t(dr(e,n[0]),dr(e,n[1]),dr(e,n[2]));default:const s=new Array(r);for(let t=0;t=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,Te(n,t),Nn.dirtyParentQueries(r),gr(r),r}function pr(e,t,n){const r=t?$n(t,t.def.lastRenderRootNode):e.renderElement,s=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);Jn(n,2,s,o,void 0)}function gr(e){Jn(e,3,null,null,void 0)}const mr=new Object;function _r(e,t,n,r,s,o){return new yr(e,t,n,r,s,o)}class yr extends Pt{constructor(e,t,n,r,s,o){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=s,this.ngContentSelectors=o,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const s=Yn(this.viewDefFactory),o=s.nodes[0].element.componentProvider.nodeIndex,i=Nn.createRootView(e,t||[],n,s,r,mr),l=kn(i,o).instance;return n&&i.renderer.setAttribute(xn(i,0).renderElement,"ng-version",Yt.full),new wr(i,new Cr(i),l)}}class wr extends Mt{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new Ut(xn(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Sr(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function br(e,t,n){return new vr(e,t,n)}class vr{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Ut(this._data.renderElement)}get injector(){return new Sr(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=Un(e),e=e.parent;return e?new Sr(e,t):new Sr(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=fr(this._data,e);Nn.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new Cr(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const o=n||this.parentInjector;s||e instanceof Bt||(s=o.get(Ce));const i=e.create(o,r,void 0,s);return this.insert(i.hostView,t),i}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,r){let s=t.viewContainer._embeddedViews;null==n&&(n=s.length),r.viewContainerParent=e,ke(s,n,r),function(e,t){const n=zn(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,t){if(4&t.flags)return;e.nodeFlags|=4,t.flags|=4;let n=t.parent;for(;n;)n.childFlags|=4,n=n.parent}(t.parent.def,t.parentNodeDef)}(t,r),Nn.dirtyParentQueries(r),pr(t,n>0?s[n-1]:null,r)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,n){const r=e.viewContainer._embeddedViews,s=r[t];Te(r,t),null==n&&(n=r.length),ke(r,n,s),Nn.dirtyParentQueries(s),gr(s),pr(e,n>0?r[n-1]:null,s)}(this._data,n,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=fr(this._data,e);t&&Nn.destroyView(t)}detach(e){const t=fr(this._data,e);return t?new Cr(t):null}}function Er(e){return new Cr(e)}class Cr{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return Jn(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){Fn(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{Nn.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){Nn.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Nn.destroyView(this._view)}detachFromAppRef(){this._appRef=null,gr(this._view),Nn.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function xr(e,t){return new kr(e,t)}class kr extends pn{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new Cr(Nn.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Ut(xn(this._parentView,this._def.nodeIndex).renderElement)}}function Tr(e,t){return new Sr(e,t)}class Sr{constructor(e,t){this.view=e,this.elDef=t}get(e,t=mt.THROW_IF_NOT_FOUND){return Nn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Dn(e)},t)}}function Nr(e){return new Ir(e.renderer)}class Ir{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,r]=sr(t),s=this.delegate.createElement(r,n);return e&&this.delegate.appendChild(e,s),s}createViewRoot(e){return e}createTemplateAnchor(e){const t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t}createText(e,t){const n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n}projectNodes(e,t){for(let n=0;ne())}onDestroy(e){this._destroyListeners.push(e)}}const Rr=Dn(Zt),Or=Dn(Wt),Mr=Dn(Ut),Pr=Dn(mn),Vr=Dn(pn),Hr=Dn(ht),Lr=Dn(mt),Fr=Dn(ue);function jr(e,t,n,r,s,o,i,l){const a=[];if(i)for(let u in i){const[e,t]=i[u];a[e]={flags:8,name:u,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const c=[];if(l)for(let u in l)c.push({type:1,propName:u,target:null,eventName:l[u]});return function(e,t,n,r,s,o,i,l,a){const{matchedQueries:c,references:u,matchedQueryIds:d}=Qn(n);a||(a=[]),l||(l=[]),o=re(o);const h=Wn(i,ee(s));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:d,references:u,ngContentIndex:-1,childCount:r,bindings:l,bindingFlags:or(l),outputs:a,element:null,provider:{token:s,value:o,deps:h},text:null,query:null,ngContent:null}}(e,t|=16384,n,r,s,s,o,a,c)}function Br(e,t){return Zr(e,t)}function zr(e,t){let n=e;for(;n.parent&&!Zn(n);)n=n.parent;return qr(n.parent,Un(n),!0,t.provider.value,t.provider.deps)}function Ur(e,t){const n=qr(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let s=0;sBn(e,t,n,r)}function Zr(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return qr(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,s){const o=s.length;switch(o){case 0:return r();case 1:return r(Wr(e,t,n,s[0]));case 2:return r(Wr(e,t,n,s[0]),Wr(e,t,n,s[1]));case 3:return r(Wr(e,t,n,s[0]),Wr(e,t,n,s[1]),Wr(e,t,n,s[2]));default:const i=Array(o);for(let r=0;rNe}),ts={},ns=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencySymbol:15,CurrencyName:16,Currencies:17,PluralCase:18,ExtraData:19};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}(),rs=void 0;var ss=["en",[["a","p"],["AM","PM"],rs],[["AM","PM"],rs,rs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],rs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],rs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",rs,"{1} 'at' {0}",rs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];const os="en-US";let is=os;function ls(e){var t;t="Expected localeId to be defined",null==e&&function(e){throw new Error(`ASSERTION ERROR: ${e}`)}(t),"string"==typeof e&&(is=e.toLowerCase().replace(/_/g,"-"))}class as extends C{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,s=e=>null,o=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const i=super.subscribe(r,s,o);return e instanceof d&&e.add(i),i}}function cs(){return this._results[Tt()]()}class us{constructor(){this.dirty=!0,this._results=[],this.changes=new as,this.length=0;const e=Tt(),t=us.prototype;t[e]||(t[e]=cs)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let r=0;r{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}const fs=new ce("AppId");function ps(){return`${gs()}${gs()}${gs()}`}function gs(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const ms=new ce("Platform Initializer"),_s=new ce("Platform ID"),ys=new ce("appBootstrapListener");class ws{log(e){console.log(e)}warn(e){console.warn(e)}}const bs=new ce("LocaleId"),vs=!1;function Es(){throw new Error("Runtime compiler is not loaded")}const Cs=Es,xs=Es,ks=Es,Ts=Es;class Ss{constructor(){this.compileModuleSync=Cs,this.compileModuleAsync=xs,this.compileModuleAndAllComponentsSync=ks,this.compileModuleAndAllComponentsAsync=Ts}clearCache(){}clearCacheFor(e){}getModuleId(e){}}class Ns{}let Is,As;function Ds(){const e=ae.wtf;return!(!e||!(Is=e.trace)||(As=Is.events,0))}const Rs=Ds();function Os(e,t){return null}const Ms=Rs?function(e,t=null){return As.createScope(e,t)}:(e,t)=>Os,Ps=Rs?function(e,t){return Is.leaveScope(e,t),t}:(e,t)=>t,Vs=(()=>Promise.resolve(0))();function Hs(e){"undefined"==typeof Zone?Vs.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ls{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new as(!1),this.onMicrotaskEmpty=new as(!1),this.onStable=new as(!1),this.onError=new as(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var t;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,s,o,i)=>{try{return zs(t),e.invokeTask(r,s,o,i)}finally{Us(t)}},onInvoke:(e,n,r,s,o,i,l)=>{try{return zs(t),e.invoke(r,s,o,i,l)}finally{Us(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t.hasPendingMicrotasks=s.microTask,Bs(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ls.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ls.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,e,js,Fs,Fs);try{return s.runTask(o,t,n)}finally{s.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function Fs(){}const js={};function Bs(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function zs(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Us(e){e._nesting--,Bs(e)}class $s{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new as,this.onMicrotaskEmpty=new as,this.onStable=new as,this.onError=new as}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}class Zs{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ls.assertNotInAngularZone(),Hs(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Hs(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}class qs{constructor(){this._applications=new Map,Gs.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Gs.findTestabilityInTree(this,e,t)}}class Qs{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let Ws,Gs=new Qs,Ks=function(e,t,n){return e.get(Ns).createCompiler([t]).compileModuleAsync(n)},Ys=function(e){return e instanceof Bt};const Js=new ce("AllowMultipleToken");class Xs{constructor(e,t){this.name=e,this.token=t}}function eo(e,t,n=[]){const r=`Platform: ${t}`,s=new ce(r);return(t=[])=>{let o=to();if(!o||o.injector.get(Js,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0});!function(e){if(Ws&&!Ws.destroyed&&!Ws.injector.get(Js,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ws=e.get(no);const t=e.get(ms,null);t&&t.forEach(e=>e())}(mt.create({providers:e,name:r}))}return function(e){const t=to();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function to(){return Ws&&!Ws.destroyed?Ws:null}class no{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n="noop"===(s=t?t.ngZone:void 0)?new $s:("zone.js"===s?void 0:s)||new Ls({enableLongStackTrace:Le()}),r=[{provide:Ls,useValue:n}];var s;return n.run(()=>{const t=mt.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),o=s.injector.get(Pe,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return vs&&ls(s.injector.get(bs,os)||os),s.onDestroy(()=>oo(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const r=n();return Rt(r)?r.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=s.injector.get(hs);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=ro({},t);return Ks(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(so);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ee(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}function ro(e,t){return Array.isArray(t)?t.reduce(ro,e):Object.assign({},e,t)}let so=(()=>{class e{constructor(e,t,n,r,s,o){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Le(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new y(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),l=new y(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Ls.assertNotInAngularZone(),Hs(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ls.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];var s;return(s=r)&&"function"==typeof s.schedule?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof y?e[0]:function(e=Number.POSITIVE_INFINITY){return function e(t,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?s=>s.pipe(e((e,r)=>(function(e,t){return e instanceof y?e:new y(I(e))})(t(e,r)).pipe(function(e,t){return function(t){return t.lift(new D(e,void 0))}}((t,s)=>n(e,t,r,s))),r)):("number"==typeof n&&(r=n),e=>e.lift(new O(t,r)))}(P,e)}(t)(function(e,t){return t?function(e,t){return new y(n=>{const r=new d;let s=0;return r.add(t.schedule((function(){s!==e.length?(n.next(e[s++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}(e,t):new y(T(e))}(e,n))}(i,l.pipe(e=>V()(function(e,t){return function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,j);return r.source=t,r.subjectFactory=n,r}}(z)(e))))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Pt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=Ys(n)?null:this._injector.get(Ce),s=n.create(mt.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const o=s.injector.get(Zs,null);return o&&s.injector.get(qs).registerApplication(s.location.nativeElement,o),this._loadComponent(s),Le()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const t=e._tickScope();try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,Ps(t)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;oo(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(ys,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),oo(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e._tickScope=Ms("ApplicationRef#tick()"),e})();function oo(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class io{constructor(e,t){this.name=e,this.callback=t}}class lo{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof ao&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class ao extends lo{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,r){t.childNodes.forEach(t=>{t instanceof ao&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,r){t instanceof ao&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof ao&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof ao)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}const co=new Map,uo=function(e){return co.get(e)||null};function ho(e){co.set(e.nativeNode,e)}const fo=eo(null,"core",[{provide:_s,useValue:"unknown"},{provide:no,deps:[mt]},{provide:qs,deps:[]},{provide:ws,deps:[]}]);function po(){return hn}function go(){return fn}function mo(e){return e?(vs&&ls(e),e):os}function _o(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}class yo{constructor(e){}}function wo(e,t,n,r,s,o,i=[],l,a,c,u,d){c||(c=In);const{matchedQueries:h,references:f,matchedQueryIds:p}=Qn(n);let g=null,m=null;o&&([g,m]=sr(o)),l=l||[];const _=new Array(l.length);for(let b=0;b{const[n,r]=sr(e);return[n,r,t]});return d=function(e){if(e&&e.id===Rn){const t=null!=e.encapsulation&&e.encapsulation!==Se.None||e.styles.length||Object.keys(e.data).length;e.id=t?`c${Pn++}`:On}return e&&e.id===On&&(e=null),e||null}(d),u&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:p,references:f,ngContentIndex:r,childCount:s,bindings:_,bindingFlags:or(_),outputs:y,element:{ns:g,name:m,attrs:w,template:null,componentProvider:null,componentView:u||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:c||In},provider:null,text:null,query:null,ngContent:null}}function bo(e,t,n){const r=n.element,s=e.root.selectorOrNode,o=e.renderer;let i;if(e.parent||!s){i=r.name?o.createElement(r.name,r.ns):o.createComment("");const s=Gn(e,t,n);s&&o.appendChild(s,i)}else i=o.selectRootElement(s,!!r.componentRendererType&&r.componentRendererType.encapsulation===Se.ShadowDom);if(r.attrs)for(let l=0;lBn(e,t,n,r)}function Co(e,t,n,r){if(!Hn(e,t,n,r))return!1;const s=t.bindings[n],o=xn(e,t.nodeIndex),i=o.renderElement,l=s.name;switch(15&s.flags){case 1:!function(e,t,n,r,s,o){const i=t.securityContext;let l=i?e.root.sanitizer.sanitize(i,o):o;l=null!=l?l.toString():null;const a=e.renderer;null!=o?a.setAttribute(n,s,l,r):a.removeAttribute(n,s,r)}(e,s,i,s.ns,l,r);break;case 2:!function(e,t,n,r){const s=e.renderer;r?s.addClass(t,n):s.removeClass(t,n)}(e,i,l,r);break;case 4:!function(e,t,n,r,s){let o=e.root.sanitizer.sanitize(it.STYLE,s);if(null!=o){o=o.toString();const e=t.suffix;null!=e&&(o+=e)}else o=null;const i=e.renderer;null!=o?i.setStyle(n,r,o):i.removeStyle(n,r)}(e,s,i,l,r);break;case 8:!function(e,t,n,r,s){const o=t.securityContext;let i=o?e.root.sanitizer.sanitize(o,s):s;e.renderer.setProperty(n,r,i)}(33554432&t.flags&&32&s.flags?o.componentView:e,s,i,l,r)}return!0}function xo(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&qn(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let s=0;s<=r;s++){const r=e.def.nodes[s];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&Sn(e,s).setDirty(),!(1&r.flags&&s+r.childCount0)c=e,Oo(e)||(u=e);else for(;c&&p===c.nodeIndex+c.childCount;){const e=c.parent;e&&(e.childFlags|=c.childFlags,e.childMatchedQueries|=c.childMatchedQueries),u=(c=e)&&Oo(c)?c.renderParent:c}}return{factory:null,nodeFlags:i,rootNodeFlags:l,nodeMatchedQueries:a,flags:e,nodes:t,updateDirectives:n||In,updateRenderer:r||In,handleEvent:(e,n,r,s)=>t[n].element.handleEvent(e,r,s),bindingCount:s,outputCount:o,lastRenderRootNode:f}}function Oo(e){return 0!=(1&e.flags)&&null===e.element.name}function Mo(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function Po(e,t,n,r){const s=Lo(e.root,e.renderer,e,t,n);return Fo(s,e.component,r),jo(s),s}function Vo(e,t,n){const r=Lo(e,e.renderer,null,null,t);return Fo(r,n,n),jo(r),r}function Ho(e,t,n,r){const s=t.element.componentRendererType;let o;return o=s?e.root.rendererFactory.createRenderer(r,s):e.root.renderer,Lo(e.root,o,e,t.element.componentProvider,n)}function Lo(e,t,n,r,s){const o=new Array(s.nodes.length),i=s.outputCount?new Array(s.outputCount):null;return{def:s,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(s.bindingCount),disposables:i,initIndex:-1}}function Fo(e,t,n){e.component=t,e.context=n}function jo(e){let t;Zn(e)&&(t=xn(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let s=0;s0&&Co(e,t,0,n)&&(f=!0),h>1&&Co(e,t,1,r)&&(f=!0),h>2&&Co(e,t,2,s)&&(f=!0),h>3&&Co(e,t,3,o)&&(f=!0),h>4&&Co(e,t,4,i)&&(f=!0),h>5&&Co(e,t,5,l)&&(f=!0),h>6&&Co(e,t,6,a)&&(f=!0),h>7&&Co(e,t,7,c)&&(f=!0),h>8&&Co(e,t,8,u)&&(f=!0),h>9&&Co(e,t,9,d)&&(f=!0),f}(e,t,n,r,s,o,i,l,a,c,u,d);case 2:return function(e,t,n,r,s,o,i,l,a,c,u,d){let h=!1;const f=t.bindings,p=f.length;if(p>0&&Hn(e,t,0,n)&&(h=!0),p>1&&Hn(e,t,1,r)&&(h=!0),p>2&&Hn(e,t,2,s)&&(h=!0),p>3&&Hn(e,t,3,o)&&(h=!0),p>4&&Hn(e,t,4,i)&&(h=!0),p>5&&Hn(e,t,5,l)&&(h=!0),p>6&&Hn(e,t,6,a)&&(h=!0),p>7&&Hn(e,t,7,c)&&(h=!0),p>8&&Hn(e,t,8,u)&&(h=!0),p>9&&Hn(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;p>0&&(h+=Do(n,f[0])),p>1&&(h+=Do(r,f[1])),p>2&&(h+=Do(s,f[2])),p>3&&(h+=Do(o,f[3])),p>4&&(h+=Do(i,f[4])),p>5&&(h+=Do(l,f[5])),p>6&&(h+=Do(a,f[6])),p>7&&(h+=Do(c,f[7])),p>8&&(h+=Do(u,f[8])),p>9&&(h+=Do(d,f[9]));const g=Cn(e,t.nodeIndex).renderText;e.renderer.setValue(g,h)}return h}(e,t,n,r,s,o,i,l,a,c,u,d);case 16384:return function(e,t,n,r,s,o,i,l,a,c,u,d){const h=kn(e,t.nodeIndex),f=h.instance;let p=!1,g=void 0;const m=t.bindings.length;return m>0&&Vn(e,t,0,n)&&(p=!0,g=Kr(e,h,t,0,n,g)),m>1&&Vn(e,t,1,r)&&(p=!0,g=Kr(e,h,t,1,r,g)),m>2&&Vn(e,t,2,s)&&(p=!0,g=Kr(e,h,t,2,s,g)),m>3&&Vn(e,t,3,o)&&(p=!0,g=Kr(e,h,t,3,o,g)),m>4&&Vn(e,t,4,i)&&(p=!0,g=Kr(e,h,t,4,i,g)),m>5&&Vn(e,t,5,l)&&(p=!0,g=Kr(e,h,t,5,l,g)),m>6&&Vn(e,t,6,a)&&(p=!0,g=Kr(e,h,t,6,a,g)),m>7&&Vn(e,t,7,c)&&(p=!0,g=Kr(e,h,t,7,c,g)),m>8&&Vn(e,t,8,u)&&(p=!0,g=Kr(e,h,t,8,u,g)),m>9&&Vn(e,t,9,d)&&(p=!0,g=Kr(e,h,t,9,d,g)),g&&f.ngOnChanges(g),65536&t.flags&&En(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,r,s,o,i,l,a,c,u,d);case 32:case 64:case 128:return function(e,t,n,r,s,o,i,l,a,c,u,d){const h=t.bindings;let f=!1;const p=h.length;if(p>0&&Hn(e,t,0,n)&&(f=!0),p>1&&Hn(e,t,1,r)&&(f=!0),p>2&&Hn(e,t,2,s)&&(f=!0),p>3&&Hn(e,t,3,o)&&(f=!0),p>4&&Hn(e,t,4,i)&&(f=!0),p>5&&Hn(e,t,5,l)&&(f=!0),p>6&&Hn(e,t,6,a)&&(f=!0),p>7&&Hn(e,t,7,c)&&(f=!0),p>8&&Hn(e,t,8,u)&&(f=!0),p>9&&Hn(e,t,9,d)&&(f=!0),f){const f=Tn(e,t.nodeIndex);let g;switch(201347067&t.flags){case 32:g=new Array(h.length),p>0&&(g[0]=n),p>1&&(g[1]=r),p>2&&(g[2]=s),p>3&&(g[3]=o),p>4&&(g[4]=i),p>5&&(g[5]=l),p>6&&(g[6]=a),p>7&&(g[7]=c),p>8&&(g[8]=u),p>9&&(g[9]=d);break;case 64:g={},p>0&&(g[h[0].name]=n),p>1&&(g[h[1].name]=r),p>2&&(g[h[2].name]=s),p>3&&(g[h[3].name]=o),p>4&&(g[h[4].name]=i),p>5&&(g[h[5].name]=l),p>6&&(g[h[6].name]=a),p>7&&(g[h[7].name]=c),p>8&&(g[h[8].name]=u),p>9&&(g[h[9].name]=d);break;case 128:const e=n;switch(p){case 1:g=e.transform(n);break;case 2:g=e.transform(r);break;case 3:g=e.transform(r,s);break;case 4:g=e.transform(r,s,o);break;case 5:g=e.transform(r,s,o,i);break;case 6:g=e.transform(r,s,o,i,l);break;case 7:g=e.transform(r,s,o,i,l,a);break;case 8:g=e.transform(r,s,o,i,l,a,c);break;case 9:g=e.transform(r,s,o,i,l,a,c,u);break;case 10:g=e.transform(r,s,o,i,l,a,c,u,d)}}f.value=g}return f}(e,t,n,r,s,o,i,l,a,c,u,d);default:throw"unreachable"}}(e,t,r,s,o,i,l,a,c,u,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let s=0;s0&&Ln(e,t,0,n),h>1&&Ln(e,t,1,r),h>2&&Ln(e,t,2,s),h>3&&Ln(e,t,3,o),h>4&&Ln(e,t,4,i),h>5&&Ln(e,t,5,l),h>6&&Ln(e,t,6,a),h>7&&Ln(e,t,7,c),h>8&&Ln(e,t,8,u),h>9&&Ln(e,t,9,d)}(e,t,r,s,o,i,l,a,c,u,d,h):function(e,t,n){for(let r=0;r{const r=li.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{ai.forEach((r,s)=>{J(s).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e);return t?(function(e){for(let t=0;t0){let t=new Set(e.modules);ai.forEach((r,s)=>{if(t.has(J(s).providedIn)){let t={token:s,flags:r.flags|(n?4096:0),deps:Wn(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[Dn(s)]=t}})}}(e=e.factory(()=>In)),e):e}(r))}const li=new Map,ai=new Map,ci=new Map;function ui(e){let t;li.set(e.token,e),"function"==typeof e.token&&(t=J(e.token))&&"function"==typeof t.providedIn&&ai.set(e.token,e)}function di(e,t){const n=Yn(t.viewDefFactory),r=Yn(n.nodes[0].element.componentView);ci.set(e,r)}function hi(){li.clear(),ai.clear(),ci.clear()}function fi(e){if(0===li.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;rIn);for(let r=0;r"-"+e[1].toLowerCase())}`)]=dt(l))}const r=t.parent,l=xn(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(l,t,r):e.renderer.removeAttribute(l,t)}else e.renderer.setValue(l,`bindings=${JSON.stringify(n,null,2)}`)}}var s,o}function Ni(e,t,n,r){Zo(e,t,n,...r)}function Ii(e,t){for(let n=t;n++o===s?e.error.bind(e,...t):In),onew Di(e,t),handleEvent:xi,updateDirectives:ki,updateRenderer:Ti}:{setCurrentNode:()=>{},createRootView:ti,createEmbeddedView:Po,createComponentView:Ho,createNgModuleRef:Ar,overrideProvider:In,overrideComponentView:In,clearOverrides:In,checkAndUpdateView:zo,checkNoChangesView:Bo,destroyView:Qo,createDebugContext:(e,t)=>new Di(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?pi:gi,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?pi:gi,e)};Nn.setCurrentNode=e.setCurrentNode,Nn.createRootView=e.createRootView,Nn.createEmbeddedView=e.createEmbeddedView,Nn.createComponentView=e.createComponentView,Nn.createNgModuleRef=e.createNgModuleRef,Nn.overrideProvider=e.overrideProvider,Nn.overrideComponentView=e.overrideComponentView,Nn.clearOverrides=e.clearOverrides,Nn.checkAndUpdateView=e.checkAndUpdateView,Nn.checkNoChangesView=e.checkNoChangesView,Nn.destroyView=e.destroyView,Nn.resolveDep=Wr,Nn.createDebugContext=e.createDebugContext,Nn.handleEvent=e.handleEvent,Nn.updateDirectives=e.updateDirectives,Nn.updateRenderer=e.updateRenderer,Nn.dirtyParentQueries=xo}();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const s in e.providersByKey)r[s]=e.providersByKey[s];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(Yn(this._ngModuleDefFactory));return Nn.createNgModuleRef(this.moduleType,e||mt.NULL,this._bootstrapComponents,t)}}class Fi{}class ji{constructor(){this.brokenPlaceholder="broken_placeholder",this.workingPlaceholder="https://via.placeholder.com/100x100"}onLoad(e){console.log(e)}}class Bi{constructor(e,t){this.el=e,this.renderer=t,this.loaded=new as,this.isApplied=!1,this.ERROR_EVENT_TYPE="error",this.LOAD_EVENT_TYPE="load",this.nativeElement=e.nativeElement,this.onError=this.onError.bind(this),this.onLoad=this.onLoad.bind(this),this.addEvents()}ngOnDestroy(){this.removeErrorEvent(),this.removeOnLoadEvent()}onError(){this.nativeElement.getAttribute("src")!==this.imgSrc?(this.isApplied=!0,this.renderer.setAttribute(this.nativeElement,"src",this.imgSrc)):this.removeOnLoadEvent()}onLoad(){this.loaded.emit(this.isApplied)}removeErrorEvent(){this.cancelOnError&&this.cancelOnError()}removeOnLoadEvent(){this.cancelOnLoad&&this.cancelOnLoad()}addEvents(){this.cancelOnError=this.renderer.listen(this.nativeElement,this.ERROR_EVENT_TYPE,this.onError),this.cancelOnLoad=this.renderer.listen(this.nativeElement,this.LOAD_EVENT_TYPE,this.onLoad)}}var zi=Mn({encapsulation:0,styles:[[".short-description[_ngcontent-%COMP%]{color:#a7a7a7;font-size:18px;border-left:5px solid #a7a7a7;padding-left:10px}"]],data:{}});function Ui(e){return Ro(0,[(e()(),wo(0,0,null,null,38,"section",[],null,null,null,null,null)),(e()(),wo(1,0,null,null,9,"div",[["class","main"]],null,null,null,null,null)),(e()(),wo(2,0,null,null,1,"h2",[],null,null,null,null,null)),(e()(),Io(-1,null,["Angular2+ Image Fallback"])),(e()(),wo(4,0,null,null,1,"p",[["class","short-description"]],null,null,null,null,null)),(e()(),Io(-1,null,[" Load placeholder image on image error "])),(e()(),wo(6,0,null,null,4,"p",[],null,null,null,null,null)),(e()(),Io(-1,null,[" For further information see "])),(e()(),wo(8,0,null,null,1,"a",[["href","https://github.com/VadimDez/ngx-img-fallback"]],null,null,null,null,null)),(e()(),Io(-1,null,["github page"])),(e()(),Io(-1,null,[". "])),(e()(),wo(11,0,null,null,9,"div",[],null,null,null,null,null)),(e()(),wo(12,0,null,null,3,"h3",[],null,null,null,null,null)),(e()(),Io(-1,null,["Broken image "])),(e()(),wo(14,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),Io(-1,null,["(default behaviour)"])),(e()(),wo(16,0,null,null,4,"div",[["class","mdl-grid"]],null,null,null,null,null)),(e()(),wo(17,0,null,null,1,"div",[["class","mdl-cell mdl-cell--3-col"]],null,null,null,null,null)),(e()(),wo(18,0,null,null,0,"img",[["alt","not working image"],["src","not-working_image"]],null,null,null,null,null)),(e()(),wo(19,0,null,null,1,"div",[["class","mdl-cell mdl-cell--9-col"]],null,null,null,null,null)),(e()(),Io(-1,null,[' not working image '])),(e()(),wo(21,0,null,null,8,"div",[],null,null,null,null,null)),(e()(),wo(22,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),Io(-1,null,["Broken image with broken fallback"])),(e()(),wo(24,0,null,null,5,"div",[["class","mdl-grid"]],null,null,null,null,null)),(e()(),wo(25,0,null,null,2,"div",[["class","mdl-cell mdl-cell--3-col"]],null,null,null,null,null)),(e()(),wo(26,0,null,null,1,"img",[["alt","not working image with not working fallback"],["src","not-working_image"]],null,null,null,null,null)),jr(27,147456,null,0,Bi,[Ut,Wt],{imgSrc:[0,"imgSrc"]},null),(e()(),wo(28,0,null,null,1,"div",[["class","mdl-cell mdl-cell--9-col"]],null,null,null,null,null)),(e()(),Io(29,null,[' not working image with not working fallback '])),(e()(),wo(30,0,null,null,8,"div",[],null,null,null,null,null)),(e()(),wo(31,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),Io(-1,null,["Broken image with working fallback"])),(e()(),wo(33,0,null,null,5,"div",[["class","mdl-grid"]],null,null,null,null,null)),(e()(),wo(34,0,null,null,2,"div",[["class","mdl-cell mdl-cell--3-col"]],null,null,null,null,null)),(e()(),wo(35,0,null,null,1,"img",[["alt","not working image with working fallback"],["src","not-working-image"]],null,[[null,"loaded"]],(function(e,t,n){var r=!0;return"loaded"===t&&(r=!1!==e.component.onLoad(n)&&r),r}),null,null)),jr(36,147456,null,0,Bi,[Ut,Wt],{imgSrc:[0,"imgSrc"]},{loaded:"loaded"}),(e()(),wo(37,0,null,null,1,"div",[["class","mdl-cell mdl-cell--9-col"]],null,null,null,null,null)),(e()(),Io(38,null,[' not working image with working fallback ']))],(function(e,t){var n=t.component;e(t,27,0,n.brokenPlaceholder),e(t,36,0,n.workingPlaceholder)}),(function(e,t){var n=t.component;e(t,29,0,n.brokenPlaceholder),e(t,38,0,n.workingPlaceholder)}))}function $i(e){return Ro(0,[(e()(),wo(0,0,null,null,1,"app-root",[],null,null,null,Ui,zi)),jr(1,49152,null,0,ji,[],null,null)],null,null)}var Zi=_r("app-root",ji,$i,{},{},[]);class qi{}const Qi=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),Wi=function(e){return function(e){const t=e.toLowerCase().replace(/_/g,"-");let n=ts[t];if(n)return n;const r=t.split("-")[0];if(n=ts[r])return n;if("en"===r)return ss;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[ns.PluralCase]},Gi=new ce("UseV4Plurals");class Ki{}class Yi extends Ki{constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):Wi(t||this.locale)(e)){case Qi.Zero:return"zero";case Qi.One:return"one";case Qi.Two:return"two";case Qi.Few:return"few";case Qi.Many:return"many";default:return"other"}}}class Ji{}const Xi=new ce("DocumentToken"),el="server";let tl=null;function nl(){return tl}class rl{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(e){this._attrToPropMap=e}}class sl extends rl{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const e=this.createElement("div",document);if(null!=this.getStyle(e,"animationName"))this._animationPrefix="";else{const t=["Webkit","Moz","O","ms"];for(let n=0;n{null!=this.getStyle(e,n)&&(this._transitionEnd=t[n])})}catch(e){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(e){return e.getDistributedNodes()}resolveAndSetHref(e,t,n){e.href=null==n?t:t+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}const ol={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},il=3,ll={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},al={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},cl=(()=>{if(ae.Node)return ae.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}})();class ul extends sl{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new ul,tl||(tl=e)}hasProperty(e,t){return t in e}setProperty(e,t,n){e[t]=n}getProperty(e,t){return e[t]}invoke(e,t,n){e[t](...n)}logError(e){window.console&&(console.error?console.error(e):console.log(e))}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return ol}contains(e,t){return cl.call(e,t)}querySelector(e,t){return e.querySelector(t)}querySelectorAll(e,t){return e.querySelectorAll(t)}on(e,t,n){e.addEventListener(t,n,!1)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}createMouseEvent(e){const t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}createEvent(e){const t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t}preventDefault(e){e.preventDefault(),e.returnValue=!1}isPrevented(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue}getInnerHTML(e){return e.innerHTML}getTemplateContent(e){return"content"in e&&this.isTemplateElement(e)?e.content:null}getOuterHTML(e){return e.outerHTML}nodeName(e){return e.nodeName}nodeValue(e){return e.nodeValue}type(e){return e.type}content(e){return this.hasProperty(e,"content")?e.content:e}firstChild(e){return e.firstChild}nextSibling(e){return e.nextSibling}parentElement(e){return e.parentNode}childNodes(e){return e.childNodes}childNodesAsList(e){const t=e.childNodes,n=new Array(t.length);for(let r=0;re.insertBefore(n,t))}insertAfter(e,t,n){e.insertBefore(n,t.nextSibling)}setInnerHTML(e,t){e.innerHTML=t}getText(e){return e.textContent}setText(e,t){e.textContent=t}getValue(e){return e.value}setValue(e,t){e.value=t}getChecked(e){return e.checked}setChecked(e,t){e.checked=t}createComment(e){return this.getDefaultDocument().createComment(e)}createTemplate(e){const t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createElementNS(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)}createTextNode(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)}createScriptTag(e,t,n){const r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r}createStyleElement(e,t){const n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n}createShadowRoot(e){return e.createShadowRoot()}getShadowRoot(e){return e.shadowRoot}getHost(e){return e.host}clone(e){return e.cloneNode(!0)}getElementsByClassName(e,t){return e.getElementsByClassName(t)}getElementsByTagName(e,t){return e.getElementsByTagName(t)}classList(e){return Array.prototype.slice.call(e.classList,0)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}hasClass(e,t){return e.classList.contains(t)}setStyle(e,t,n){e.style[t]=n}removeStyle(e,t){e.style[t]=""}getStyle(e,t){return e.style[t]}hasStyle(e,t,n){const r=this.getStyle(e,t)||"";return n?r==n:r.length>0}tagName(e){return e.tagName}attributeMap(e){const t=new Map,n=e.attributes;for(let r=0;r{n.get(hs).donePromise.then(()=>{const n=nl();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[pl,Xi,mt],multi:!0}];class ml{static init(){var e;e=new ml,Gs=e}addToWindow(e){ae.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},ae.getAllAngularTestabilities=()=>e.getAllTestabilities(),ae.getAllAngularRootElements=()=>e.getAllRootElements(),ae.frameworkStabilizers||(ae.frameworkStabilizers=[]),ae.frameworkStabilizers.push(e=>{const t=ae.getAllAngularTestabilities();let n=t.length,r=!1;const s=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(s)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?nl().isShadowRoot(t)?this.findTestabilityInTree(e,nl().getHost(t),!0):this.findTestabilityInTree(e,nl().parentElement(t),!0):null}}function _l(e,t){"undefined"!=typeof COMPILED&&COMPILED||((ae.ng=ae.ng||{})[e]=t)}const yl=(()=>({ApplicationRef:so,NgZone:Ls}))();function wl(e){return uo(e)}const bl=new ce("EventManagerPlugins");class vl{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}class xl extends Cl{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>nl().remove(e))}}const kl={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Tl=/%COMP%/g,Sl="_nghost-%COMP%",Nl="_ngcontent-%COMP%";function Il(e,t,n){for(let r=0;r{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}class Dl{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Rl(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Se.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Pl(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case Se.Native:case Se.ShadowDom:return new Vl(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Il(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class Rl{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(kl[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;const s=kl[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=kl[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&Qt.DashCase?e.style.setProperty(t,n,r&Qt.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Qt.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){Ml(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return Ml(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Al(n)):this.eventManager.addEventListener(e,t,Al(n))}}const Ol=(()=>"@".charCodeAt(0))();function Ml(e,t){if(e.charCodeAt(0)===Ol)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class Pl extends Rl{constructor(e,t,n,r){super(e),this.component=n;const s=Il(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr=Nl.replace(Tl,r+"-"+n.id),this.hostAttr=Sl.replace(Tl,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Vl extends Rl{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Se.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=Il(r.id,r.styles,[]);for(let o=0;o"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e})(),Ll=Hl("addEventListener"),Fl=Hl("removeEventListener"),jl={},Bl="FALSE",zl="ANGULAR",Ul="addEventListener",$l="removeEventListener",Zl="__zone_symbol__propagationStopped",ql="__zone_symbol__stopImmediatePropagation",Ql=(()=>{const e="undefined"!=typeof Zone&&Zone[Hl("BLACK_LISTED_EVENTS")];if(e){const t={};return e.forEach(e=>{t[e]=e}),t}})(),Wl=function(e){return!!Ql&&Ql.hasOwnProperty(e)},Gl=function(e){const t=jl[e.type];if(!t)return;const n=this[t];if(!n)return;const r=[e];if(1===n.length){const e=n[0];return e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}{const t=n.slice();for(let n=0;n0;s||(s=e[n]=[]);const i=Wl(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:i,handler:r});else{let e=!1;for(let t=0;tthis.removeEventListener(e,t,r)}removeEventListener(e,t,n){let r=e[Fl];if(!r)return e[$l].apply(e,[t,n,!1]);let s=jl[t],o=s&&e[s];if(!o)return e[$l].apply(e,[t,n,!1]);let i=!1;for(let l=0;l{r=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(s=()=>{});r||(s=this.addEventListener(e,t,n))}).catch(()=>{this.console.warn(`The "${t}" event cannot be bound because the custom `+"Hammer.JS loader failed."),s=()=>{}}),()=>{s()}}return r.runOutsideAngular(()=>{const s=this._config.buildHammer(e),o=function(e){r.runGuarded((function(){n(e)}))};return s.on(t,o),()=>{s.off(t,o),"function"==typeof s.destroy&&s.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}const na=["alt","control","meta","shift"],ra={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class sa extends El{constructor(e){super(e)}supports(e){return null!=sa.parseEventName(e)}addEventListener(e,t,n){const r=sa.parseEventName(t),s=sa.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>nl().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const r=sa._normalizeKey(t.pop());let s="";if(na.forEach(e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),s+=e+".")}),s+=r,0!=t.length||0===r.length)return null;const o={};return o.domEventName=n,o.fullKey=s,o}static getEventFullKey(e){let t="",n=nl().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),na.forEach(r=>{r!=n&&(0,ra[r])(e)&&(t+=r+".")}),t+=n}static eventCallback(e,t,n){return r=>{sa.getEventFullKey(r)===e&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}class oa{}class ia extends oa{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case it.NONE:return t;case it.HTML:return t instanceof aa?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){let n=null;try{st=st||new Fe(e);let r=t?String(t):"";n=st.getInertBodyElement(r);let s=5,o=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=o,o=n.innerHTML,n=st.getInertBodyElement(r)}while(r!==o);const i=new et,l=i.sanitizeChildren(ot(n)||n);return Le()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),l}finally{if(n){const e=ot(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}(this._doc,String(t)));case it.STYLE:return t instanceof ca?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";const t=e.match(ct);return t&&ze(t[1])===t[1]||e.match(at)&&function(e){let t=!0,n=!0;for(let r=0;r(e[t.name]=t.token,e),{}))),()=>wl)];var t}),[[2,Xs]]),ur(512,hs,hs,[[2,ds]]),ur(131584,so,so,[Ls,ws,mt,Pe,Ft,hs]),ur(1073742336,yo,yo,[so]),ur(1073742336,ga,ga,[[3,ga]]),ur(1073742336,ma,ma,[]),ur(1073742336,Fi,Fi,[]),ur(256,pt,!0,[])])}));(function(){if(He)throw new Error("Cannot enable prod mode after platform setup.");Ve=!1})(),fa().bootstrapModuleFactory(_a).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]); \ No newline at end of file diff --git a/docs/main-es5.7a1af57a873f48f8ec17.js b/docs/main-es5.7a1af57a873f48f8ec17.js deleted file mode 100644 index dfa6cca3..00000000 --- a/docs/main-es5.7a1af57a873f48f8ec17.js +++ /dev/null @@ -1 +0,0 @@ -var __extends=this&&this.__extends||function(){var e=function(t,n){return(e=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])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);var o=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=e},get useDeprecatedSynchronousErrorHandling(){return o}};function a(e){setTimeout((function(){throw e}),0)}var s={closed:!0,next:function(e){},error:function(e){if(i.useDeprecatedSynchronousErrorHandling)throw e;a(e)},complete:function(){}},u=Array.isArray||function(e){return e&&"number"==typeof e.length};function l(e){return null!==e&&"object"==typeof e}var c,d=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),f=((c=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}return e.prototype.unsubscribe=function(){var t;if(!this.closed){var n=this._parentOrParents,o=this._unsubscribe,i=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var a=0;a0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(O);function j(e){return e}function L(){return function(e){return e.lift(new F(e))}}var H,F=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new B(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),B=function(e){function t(t,n){var r=this;return(r=e.call(this,t)||this).connectable=n,r}return __extends(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(v),z=function(e){function t(t,n){var r=this;return(r=e.call(this)||this).source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return __extends(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new f).add(this.source.subscribe(new Z(this.getSubject(),this))),e.closed&&(this._connection=null,e=f.EMPTY)),e},t.prototype.refCount=function(){return L()(this)},t}(b),U={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(H=z.prototype)._subscribe},_isComplete:{value:H._isComplete,writable:!0},getSubject:{value:H.getSubject},connect:{value:H.connect},refCount:{value:H.refCount}},Z=function(e){function t(t,n){var r=this;return(r=e.call(this,t)||this).connectable=n,r}return __extends(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(k);function q(){return new T}var Q="__parameters__";function W(e,t,n){var r=function(e){return function(){for(var t=[],n=0;n ");else if("object"==typeof t){var i=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];i.push(a+":"+("string"==typeof s?JSON.stringify(s):re(s)))}o="{"+i.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+o+"]: "+e.replace(ve,"\n ")}var Ce=function(){},xe=function(){};function ke(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Te(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}var Se=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),Ne=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(de),Ie="ngDebugContext",Ae="ngOriginalError",De="ngErrorLogger";function Oe(e){return e[Ie]}function Pe(e){return e[Ae]}function Re(e){for(var t=[],n=1;n',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e=""+e+"";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Ye.hasOwnProperty(t)&&!Qe.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(ot(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),nt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rt=/([^\#-~ |!])/g;function ot(e){return e.replace(/&/g,"&").replace(nt,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(rt,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(//g,">")}function it(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var at=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),st=function(){},ut=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),lt=/^url\(([^)]+)\)$/,ct=/([A-Z])/g;function dt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}var ft=function(){var e=function(){};return e.__NG_ELEMENT_ID__=function(){return pt()},e}(),pt=function(){for(var e=[],t=0;t-1}(r,o.providedIn)||"root"===o.providedIn&&r._def.isRoot))){var c=e._providers.length;return e._def.providers[c]=e._def.providersByKey[t.tokenKey]={flags:5120,value:s.factory,deps:[],index:c,token:t.token},e._providers[c]=rr,e._providers[c]=lr(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{be(i)}}function lr(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(ur(e,n[0]));case 2:return new t(ur(e,n[0]),ur(e,n[1]));case 3:return new t(ur(e,n[0]),ur(e,n[1]),ur(e,n[2]));default:for(var o=new Array(r),i=0;i=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,Te(n,t),Tn.dirtyParentQueries(r),fr(r),r}function dr(e,t,n){var r=t?Bn(t,t.def.lastRenderRootNode):e.renderElement,o=n.renderer.parentNode(r),i=n.renderer.nextSibling(r);Kn(n,2,o,i,void 0)}function fr(e){Kn(e,3,null,null,void 0)}var pr=new Object;var hr=function(e){function t(t,n,r,o,i,a){var s=this;return(s=e.call(this)||this).selector=t,s.componentType=n,s._inputs=o,s._outputs=i,s.ngContentSelectors=a,s.viewDefFactory=r,s}return __extends(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=Gn(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=Tn.createRootView(e,t||[],n,o,r,pr),s=Cn(a,i).instance;return n&&a.renderer.setAttribute(En(a,0).renderElement,"ng-version",Kt.full),new vr(a,new _r(a),s)},t}(Rt),vr=function(e){function t(t,n,r){var o=this;return(o=e.call(this)||this)._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return __extends(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new zt(En(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Cr(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(Pt);function yr(e,t,n){return new gr(e,t,n)}var gr=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new zt(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Cr(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Fn(e),e=e.parent;return e?new Cr(e,t):new Cr(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=cr(this._data,e);Tn.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new _r(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof Ft||(o=i.get(Ce));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a,s=e;return n=this._view,r=this._data,o=t,i=s._view,a=r.viewContainer._embeddedViews,null==o&&(o=a.length),i.viewContainerParent=n,ke(a,o,i),function(e,t){var n=Hn(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,t){if(!(4&t.flags)){e.nodeFlags|=4,t.flags|=4;for(var n=t.parent;n;)n.childFlags|=4,n=n.parent}}(t.parent.def,t.parentNodeDef)}}(r,i),Tn.dirtyParentQueries(i),dr(r,o>0?a[o-1]:null,i),s.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,s=this._embeddedViews.indexOf(e._view);return n=this._data,r=s,o=t,i=n.viewContainer._embeddedViews,a=i[r],Te(i,r),null==o&&(o=i.length),ke(i,o,a),Tn.dirtyParentQueries(a),fr(a),dr(n,o>0?i[o-1]:null,a),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=cr(this._data,e);t&&Tn.destroyView(t)},e.prototype.detach=function(e){var t=cr(this._data,e);return t?new _r(t):null},e}();function mr(e){return new _r(e)}var _r=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return Kn(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Vn(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Tn.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Tn.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Tn.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,fr(this._view),Tn.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function br(e,t){return new wr(e,t)}var wr=function(e){function t(t,n){var r=this;return(r=e.call(this)||this)._parentView=t,r._def=n,r}return __extends(t,e),t.prototype.createEmbeddedView=function(e){return new _r(Tn.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new zt(En(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(fn);function Er(e,t){return new Cr(e,t)}var Cr=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=yt.THROW_IF_NOT_FOUND),Tn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:In(e)},t)},e}();function xr(e){return new kr(e.renderer)}var kr=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=tr(t),r=n[0],o=n[1],i=this.delegate.createElement(o,r);return e&&this.delegate.appendChild(e,i),i},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var o=0;o0,r=t.provider;switch(201347067&t.flags){case 512:return zr(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,o){var i=o.length;switch(i){case 0:return r();case 1:return r(Zr(e,t,n,o[0]));case 2:return r(Zr(e,t,n,o[0]),Zr(e,t,n,o[1]));case 3:return r(Zr(e,t,n,o[0]),Zr(e,t,n,o[1]),Zr(e,t,n,o[2]));default:for(var a=Array(i),s=0;s0&&(o=setTimeout((function(){r._callbacks=r._callbacks.filter((function(e){return e.timeoutId!==o})),e(r._didWork,r.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Uo=function(){function e(){this._applications=new Map,Zo.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),Zo.findTestabilityInTree(this,e,t)},e}(),Zo=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),qo=new fe("AllowMultipleToken"),Qo=function(e,t){this.name=e,this.token=t};function Wo(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new fe(r);return function(t){void 0===t&&(t=[]);var i=Go();if(!i||i.injector.get(qo,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});!function(e){if(Fo&&!Fo.destroyed&&!Fo.injector.get(qo,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Fo=e.get(Ko);var t=e.get(fo,null);t&&t.forEach((function(e){return e()}))}(yt.create({providers:a,name:r}))}return function(e){var t=Go();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(o)}}function Go(){return Fo&&!Fo.destroyed?Fo:null}var Ko=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new Bo:("zone.js"===n?void 0:n)||new Ro({enableLongStackTrace:Le()}),i=[{provide:Ro,useValue:o}];return o.run((function(){var t=yt.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),a=n.injector.get(Me,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return go&&no(n.injector.get(yo,to)||to),n.onDestroy((function(){return Xo(r._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(e){a.handleError(e)}})})),function(e,t,o){try{var i=((a=n.injector.get(so)).runInitializers(),a.donePromise.then((function(){return r._moduleDoBootstrap(n),n})));return Dt(i)?i.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):i}catch(s){throw t.runOutsideAngular((function(){return e.handleError(s)})),s}var a}(a,o)}))},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=Yo({},t);return function(e,t,n){return e.get(To).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then((function(e){return n.bootstrapModuleFactory(e,r)}))},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get($o);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+re(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function Yo(e,t){return Array.isArray(t)?t.reduce(Yo,e):Object.assign({},e,t)}var Jo,$o=((Jo=function(){function e(e,t,n,r,o,i){var a=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Le(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run((function(){a.tick()}))}});var s=new b((function(e){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular((function(){e.next(a._stable),e.complete()}))})),u=new b((function(e){var t;a._zone.runOutsideAngular((function(){t=a._zone.onStable.subscribe((function(){Ro.assertNotInAngularZone(),Po((function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))}))}))}));var n=a._zone.onUnstable.subscribe((function(){Ro.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=function(){for(var e=[],t=0;t1&&"number"==typeof e[e.length-1]&&(r=e.pop())):"number"==typeof i&&(r=e.pop()),null===o&&1===e.length&&e[0]instanceof b?e[0]:function(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),function e(t,n,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"function"==typeof n?function(o){return o.pipe(e((function(e,r){return(o=t(e,r),o instanceof b?o:new b(D(o))).pipe(function(e,t){return function(t){return t.lift(new P(e,void 0))}}((function(t,o){return n(e,t,r,o)})));var o}),r))}:("number"==typeof n&&(r=n),function(e){return e.lift(new M(t,r))})}(j,e)}(r)(function(e,t){return t?function(e,t){return new b((function(n){var r=new f,o=0;return r.add(t.schedule((function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}(e,t):new b(I(e))}(e,o))}(s,u.pipe((function(e){return L()((t=q,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,U);return r.source=e,r.subjectFactory=n,r})(e));var t})))}return e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Rt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof Ft?null:this._injector.get(Ce),i=n.create(yt.NULL,[],t||n.selector,o);i.onDestroy((function(){r._unloadComponent(i)}));var a=i.injector.get(zo,null);return a&&i.injector.get(Uo).registerApplication(i.location.nativeElement,a),this._loadComponent(i),Le()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0;for(var r=0,o=this._views;r-1&&e.splice(n,1)}var ei=function(e,t){this.name=e,this.callback=t},ti=function(){function e(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof ni&&t.addChild(this)}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),ni=function(e){function t(t,n,r){var o=this;return(o=e.call(this,t,n,r)||this).properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return __extends(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,o=this.childNodes.indexOf(e);-1!==o&&((n=this.childNodes).splice.apply(n,[o+1,0].concat(t)),t.forEach((function(t){t.parent&&t.parent.removeChild(t),e.parent=r})))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var n=[];return function e(n,r,o){n.childNodes.forEach((function(n){n instanceof t&&(r(n)&&o.push(n),e(n,r,o))}))}(this,e,n),n},t.prototype.queryAllNodes=function(e){var n=[];return function e(n,r,o){n instanceof t&&n.childNodes.forEach((function(n){r(n)&&o.push(n),n instanceof t&&e(n,r,o)}))}(this,e,n),n},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter((function(e){return e instanceof t}))},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach((function(n){n.name==e&&n.callback(t)}))},t}(ti),ri=new Map,oi=function(e){return ri.get(e)||null};function ii(e){ri.set(e.nativeNode,e)}var ai=Wo(null,"core",[{provide:po,useValue:"unknown"},{provide:Ko,deps:[yt]},{provide:Uo,deps:[]},{provide:vo,deps:[]}]);function si(){return cn}function ui(){return dn}function li(e){return e?(go&&no(e),e):to}function ci(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}var di=function(e){};function fi(e,t,n,r,o,i,a,s,u,l,c,d){var f;void 0===a&&(a=[]),l||(l=Sn);var p=Zn(n),h=p.matchedQueries,v=p.references,y=p.matchedQueryIds,g=null,m=null;i&&(g=(f=tr(i))[0],m=f[1]),s=s||[];for(var _=new Array(s.length),b=0;b0)l=v,Ti(v)||(c=v);else for(;l&&h===l.nodeIndex+l.childCount;){var m=l.parent;m&&(m.childFlags|=l.childFlags,m.childMatchedQueries|=l.childMatchedQueries),c=(l=m)&&Ti(l)?l.renderParent:l}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:u,flags:e,nodes:t,updateDirectives:n||Sn,updateRenderer:r||Sn,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:p}}function Ti(e){return 0!=(1&e.flags)&&null===e.element.name}function Si(e,t,n){var r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function Ni(e,t,n,r){var o=Di(e.root,e.renderer,e,t,n);return Oi(o,e.component,r),Pi(o),o}function Ii(e,t,n){var r=Di(e,e.renderer,null,null,t);return Oi(r,n,n),Pi(r),r}function Ai(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Di(e.root,o,e,t.element.componentProvider,n)}function Di(e,t,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Oi(e,t,n){e.component=t,e.context=n}function Pi(e){var t;zn(e)&&(t=En(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o0&&yi(e,t,0,n)&&(p=!0),f>1&&yi(e,t,1,r)&&(p=!0),f>2&&yi(e,t,2,o)&&(p=!0),f>3&&yi(e,t,3,i)&&(p=!0),f>4&&yi(e,t,4,a)&&(p=!0),f>5&&yi(e,t,5,s)&&(p=!0),f>6&&yi(e,t,6,u)&&(p=!0),f>7&&yi(e,t,7,l)&&(p=!0),f>8&&yi(e,t,8,c)&&(p=!0),f>9&&yi(e,t,9,d)&&(p=!0),p}(e,t,n,r,o,i,a,s,u,l,c,d);case 2:return function(e,t,n,r,o,i,a,s,u,l,c,d){var f=!1,p=t.bindings,h=p.length;if(h>0&&Rn(e,t,0,n)&&(f=!0),h>1&&Rn(e,t,1,r)&&(f=!0),h>2&&Rn(e,t,2,o)&&(f=!0),h>3&&Rn(e,t,3,i)&&(f=!0),h>4&&Rn(e,t,4,a)&&(f=!0),h>5&&Rn(e,t,5,s)&&(f=!0),h>6&&Rn(e,t,6,u)&&(f=!0),h>7&&Rn(e,t,7,l)&&(f=!0),h>8&&Rn(e,t,8,c)&&(f=!0),h>9&&Rn(e,t,9,d)&&(f=!0),f){var v=t.text.prefix;h>0&&(v+=xi(n,p[0])),h>1&&(v+=xi(r,p[1])),h>2&&(v+=xi(o,p[2])),h>3&&(v+=xi(i,p[3])),h>4&&(v+=xi(a,p[4])),h>5&&(v+=xi(s,p[5])),h>6&&(v+=xi(u,p[6])),h>7&&(v+=xi(l,p[7])),h>8&&(v+=xi(c,p[8])),h>9&&(v+=xi(d,p[9]));var y=wn(e,t.nodeIndex).renderText;e.renderer.setValue(y,v)}return f}(e,t,n,r,o,i,a,s,u,l,c,d);case 16384:return function(e,t,n,r,o,i,a,s,u,l,c,d){var f=Cn(e,t.nodeIndex),p=f.instance,h=!1,v=void 0,y=t.bindings.length;return y>0&&Pn(e,t,0,n)&&(h=!0,v=Qr(e,f,t,0,n,v)),y>1&&Pn(e,t,1,r)&&(h=!0,v=Qr(e,f,t,1,r,v)),y>2&&Pn(e,t,2,o)&&(h=!0,v=Qr(e,f,t,2,o,v)),y>3&&Pn(e,t,3,i)&&(h=!0,v=Qr(e,f,t,3,i,v)),y>4&&Pn(e,t,4,a)&&(h=!0,v=Qr(e,f,t,4,a,v)),y>5&&Pn(e,t,5,s)&&(h=!0,v=Qr(e,f,t,5,s,v)),y>6&&Pn(e,t,6,u)&&(h=!0,v=Qr(e,f,t,6,u,v)),y>7&&Pn(e,t,7,l)&&(h=!0,v=Qr(e,f,t,7,l,v)),y>8&&Pn(e,t,8,c)&&(h=!0,v=Qr(e,f,t,8,c,v)),y>9&&Pn(e,t,9,d)&&(h=!0,v=Qr(e,f,t,9,d,v)),v&&p.ngOnChanges(v),65536&t.flags&&bn(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),h}(e,t,n,r,o,i,a,s,u,l,c,d);case 32:case 64:case 128:return function(e,t,n,r,o,i,a,s,u,l,c,d){var f=t.bindings,p=!1,h=f.length;if(h>0&&Rn(e,t,0,n)&&(p=!0),h>1&&Rn(e,t,1,r)&&(p=!0),h>2&&Rn(e,t,2,o)&&(p=!0),h>3&&Rn(e,t,3,i)&&(p=!0),h>4&&Rn(e,t,4,a)&&(p=!0),h>5&&Rn(e,t,5,s)&&(p=!0),h>6&&Rn(e,t,6,u)&&(p=!0),h>7&&Rn(e,t,7,l)&&(p=!0),h>8&&Rn(e,t,8,c)&&(p=!0),h>9&&Rn(e,t,9,d)&&(p=!0),p){var v=xn(e,t.nodeIndex),y=void 0;switch(201347067&t.flags){case 32:y=new Array(f.length),h>0&&(y[0]=n),h>1&&(y[1]=r),h>2&&(y[2]=o),h>3&&(y[3]=i),h>4&&(y[4]=a),h>5&&(y[5]=s),h>6&&(y[6]=u),h>7&&(y[7]=l),h>8&&(y[8]=c),h>9&&(y[9]=d);break;case 64:y={},h>0&&(y[f[0].name]=n),h>1&&(y[f[1].name]=r),h>2&&(y[f[2].name]=o),h>3&&(y[f[3].name]=i),h>4&&(y[f[4].name]=a),h>5&&(y[f[5].name]=s),h>6&&(y[f[6].name]=u),h>7&&(y[f[7].name]=l),h>8&&(y[f[8].name]=c),h>9&&(y[f[9].name]=d);break;case 128:var g=n;switch(h){case 1:y=g.transform(n);break;case 2:y=g.transform(r);break;case 3:y=g.transform(r,o);break;case 4:y=g.transform(r,o,i);break;case 5:y=g.transform(r,o,i,a);break;case 6:y=g.transform(r,o,i,a,s);break;case 7:y=g.transform(r,o,i,a,s,u);break;case 8:y=g.transform(r,o,i,a,s,u,l);break;case 9:y=g.transform(r,o,i,a,s,u,l,c);break;case 10:y=g.transform(r,o,i,a,s,u,l,c,d)}}v.value=y}return p}(e,t,n,r,o,i,a,s,u,l,c,d);default:throw"unreachable"}}(e,t,r,o,i,a,s,u,l,c,d,f):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o0&&Mn(e,t,0,n),f>1&&Mn(e,t,1,r),f>2&&Mn(e,t,2,o),f>3&&Mn(e,t,3,i),f>4&&Mn(e,t,4,a),f>5&&Mn(e,t,5,s),f>6&&Mn(e,t,6,u),f>7&&Mn(e,t,7,l),f>8&&Mn(e,t,8,c),f>9&&Mn(e,t,9,d)}(e,t,r,o,i,a,s,u,l,c,d,f):function(e,t,n){for(var r=0;r0){var i=new Set(e.modules);ta.forEach((function(t,n){if(i.has(te(n).providedIn)){var o={token:n,flags:t.flags|(r?4096:0),deps:qn(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[In(n)]=o}}))}}(e=e.factory((function(){return Sn}))),e):e}(r))}var ea=new Map,ta=new Map,na=new Map;function ra(e){var t;ea.set(e.token,e),"function"==typeof e.token&&(t=te(e.token))&&"function"==typeof t.providedIn&&ta.set(e.token,e)}function oa(e,t){var n=Gn(t.viewDefFactory),r=Gn(n.nodes[0].element.componentView);na.set(e,r)}function ia(){ea.clear(),ta.clear(),na.clear()}function aa(e){if(0===ea.size)return e;var t=function(e){for(var t=[],n=null,r=0;r '])),(e()(),fi(21,0,null,null,8,"div",[],null,null,null,null,null)),(e()(),fi(22,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),Ei(-1,null,["Broken image with broken fallback"])),(e()(),fi(24,0,null,null,5,"div",[["class","mdl-grid"]],null,null,null,null,null)),(e()(),fi(25,0,null,null,2,"div",[["class","mdl-cell mdl-cell--3-col"]],null,null,null,null,null)),(e()(),fi(26,0,null,null,1,"img",[["alt","not working image with not working fallback"],["src","not-working_image"]],null,null,null,null,null)),Vr(27,147456,null,0,Ra,[zt,Wt],{imgSrc:[0,"imgSrc"]},null),(e()(),fi(28,0,null,null,1,"div",[["class","mdl-cell mdl-cell--9-col"]],null,null,null,null,null)),(e()(),Ei(29,null,[' not working image with not working fallback '])),(e()(),fi(30,0,null,null,8,"div",[],null,null,null,null,null)),(e()(),fi(31,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),Ei(-1,null,["Broken image with working fallback"])),(e()(),fi(33,0,null,null,5,"div",[["class","mdl-grid"]],null,null,null,null,null)),(e()(),fi(34,0,null,null,2,"div",[["class","mdl-cell mdl-cell--3-col"]],null,null,null,null,null)),(e()(),fi(35,0,null,null,1,"img",[["alt","not working image with working fallback"],["src","not-working-image"]],null,[[null,"loaded"]],(function(e,t,n){var r=!0;return"loaded"===t&&(r=!1!==e.component.onLoad(n)&&r),r}),null,null)),Vr(36,147456,null,0,Ra,[zt,Wt],{imgSrc:[0,"imgSrc"]},{loaded:"loaded"}),(e()(),fi(37,0,null,null,1,"div",[["class","mdl-cell mdl-cell--9-col"]],null,null,null,null,null)),(e()(),Ei(38,null,[' not working image with working fallback ']))],(function(e,t){var n=t.component;e(t,27,0,n.brokenPlaceholder),e(t,36,0,n.workingPlaceholder)}),(function(e,t){var n=t.component;e(t,29,0,n.brokenPlaceholder),e(t,38,0,n.workingPlaceholder)}))}var ja=new hr("app-root",Pa,(function(e){return ki(0,[(e()(),fi(0,0,null,null,1,"app-root",[],null,null,null,Va,Ma)),Vr(1,49152,null,0,Pa,[],null,null)],null,null)}),{},{},[]),La=function(){},Ha=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),Fa=new fe("UseV4Plurals"),Ba=function(){},za=function(e){function t(t,n){var r=this;return(r=e.call(this)||this).locale=t,r.deprecatedPluralFn=n,r}return __extends(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){var t=e.toLowerCase().replace(/_/g,"-"),n=Jr[t];if(n)return n;var r=t.split("-")[0];if(n=Jr[r])return n;if("en"===r)return eo;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[$r.PluralCase]}(t||this.locale)(e)){case Ha.Zero:return"zero";case Ha.One:return"one";case Ha.Two:return"two";case Ha.Few:return"few";case Ha.Many:return"many";default:return"other"}},t}(Ba),Ua=function(){},Za=new fe("DocumentToken"),qa="server",Qa=null;function Wa(){return Qa}var Ga,Ka=function(e){function t(){var t=this;(t=e.call(this)||this)._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],o=0;o0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r0;a||(a=e[i]=[]);var u=Os(t)?Zone.root:Zone.current;if(0===a.length)a.push({zone:u,handler:o});else{for(var l=!1,c=0;c-1},t}(ds),Fs=["alt","control","meta","shift"],Bs={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},zs=function(e){function t(t){return e.call(this,t)||this}return __extends(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,n,r){var o=t.parseEventName(n),i=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return Wa().onAndCancel(e,o.domEventName,i)}))},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=t._normalizeKey(n.pop()),i="";if(Fs.forEach((function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")})),i+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},t.getEventFullKey=function(e){var t="",n=Wa().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Fs.forEach((function(r){r!=n&&(0,Bs[r])(e)&&(t+=r+".")})),t+=n},t.eventCallback=function(e,n,r){return function(o){t.getEventFullKey(o)===e&&r.runGuarded((function(){return n(o)}))}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(ds),Us=function(){},Zs=function(e){function t(t){var n=this;return(n=e.call(this)||this)._doc=t,n}return __extends(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case at.NONE:return t;case at.HTML:return t instanceof Qs?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{qe=qe||new He(e);var r=t?String(t):"";n=qe.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=qe.getInertBodyElement(r)}while(r!==i);var a=new tt,s=a.sanitizeChildren(it(n)||n);return Le()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var u=it(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}(this._doc,String(t)));case at.STYLE:return t instanceof Ws?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(lt);return t&&ze(t[1])===t[1]||e.match(ut)&&function(e){for(var t=!0,n=!0,r=0;r{function K(e){return"function"==typeof e}function Hr(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const $r=Hr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Wn(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class ot{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(K(r))try{r()}catch(i){t=i instanceof $r?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{ku(i)}catch(s){t=null!=t?t:[],s instanceof $r?t=[...t,...s.errors]:t.push(s)}}if(t)throw new $r(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ku(t);else{if(t instanceof ot){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Wn(n,t)}remove(t){const{_finalizers:n}=this;n&&Wn(n,t),t instanceof ot&&t._removeParent(this)}}ot.EMPTY=(()=>{const e=new ot;return e.closed=!0,e})();const Ou=ot.EMPTY;function Lu(e){return e instanceof ot||e&&"closed"in e&&K(e.remove)&&K(e.add)&&K(e.unsubscribe)}function ku(e){K(e)?e():e.unsubscribe()}const Bt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ur={setTimeout(e,t,...n){const{delegate:r}=Ur;return(null==r?void 0:r.setTimeout)?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Ur;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Vu(e){Ur.setTimeout(()=>{const{onUnhandledError:t}=Bt;if(!t)throw e;t(e)})}function Bu(){}const Dg=gi("C",void 0,void 0);function gi(e,t,n){return{kind:e,value:t,error:n}}let jt=null;function Gr(e){if(Bt.useDeprecatedSynchronousErrorHandling){const t=!jt;if(t&&(jt={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=jt;if(jt=null,n)throw r}}else e()}class mi extends ot{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Lu(t)&&t.add(this)):this.destination=Mg}static create(t,n,r){return new qr(t,n,r)}next(t){this.isStopped?Di(function _g(e){return gi("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Di(function vg(e){return gi("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Di(Dg,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Eg=Function.prototype.bind;function yi(e,t){return Eg.call(e,t)}class Cg{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){zr(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){zr(r)}else zr(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){zr(n)}}}class qr extends mi{constructor(t,n,r){let o;if(super(),K(t)||!t)o={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0};else{let i;this&&Bt.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&yi(t.next,i),error:t.error&&yi(t.error,i),complete:t.complete&&yi(t.complete,i)}):o=t}this.destination=new Cg(o)}}function zr(e){Bt.useDeprecatedSynchronousErrorHandling?function wg(e){Bt.useDeprecatedSynchronousErrorHandling&&jt&&(jt.errorThrown=!0,jt.error=e)}(e):Vu(e)}function Di(e,t){const{onStoppedNotification:n}=Bt;n&&Ur.setTimeout(()=>n(e,t))}const Mg={closed:!0,next:Bu,error:function bg(e){throw e},complete:Bu},vi="function"==typeof Symbol&&Symbol.observable||"@@observable";function ju(e){return e}let be=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function Tg(e){return e&&e instanceof mi||function Ig(e){return e&&K(e.next)&&K(e.error)&&K(e.complete)}(e)&&Lu(e)}(n)?n:new qr(n,r,o);return Gr(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=$u(r))((o,i)=>{const s=new qr({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[vi](){return this}pipe(...n){return function Hu(e){return 0===e.length?ju:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=$u(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function $u(e){var t;return null!==(t=null!=e?e:Bt.Promise)&&void 0!==t?t:Promise}const Sg=Hr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let _i=(()=>{class e extends be{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Uu(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Sg}next(n){Gr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Gr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Gr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Ou:(this.currentObservers=null,i.push(n),new ot(()=>{this.currentObservers=null,Wn(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new be;return n.source=this,n}}return e.create=(t,n)=>new Uu(t,n),e})();class Uu extends _i{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Ou}}function tn(e){return t=>{if(function Ag(e){return K(null==e?void 0:e.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Qn(e,t,n,r,o){return new xg(e,t,n,r,o)}class xg extends mi{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function Ht(e){return this instanceof Ht?(this.v=e,this):new Ht(e)}function Rg(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,m){i.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof Ht?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function Og(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function zu(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}const Wu=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Qu(e){return K(null==e?void 0:e.then)}function Zu(e){return K(e[vi])}function Yu(e){return Symbol.asyncIterator&&K(null==e?void 0:e[Symbol.asyncIterator])}function Ku(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Ju=function kg(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Xu(e){return K(null==e?void 0:e[Ju])}function el(e){return Rg(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield Ht(n.read());if(o)return yield Ht(void 0);yield yield Ht(r)}}finally{n.releaseLock()}})}function tl(e){return K(null==e?void 0:e.getReader)}function nn(e){if(e instanceof be)return e;if(null!=e){if(Zu(e))return function Vg(e){return new be(t=>{const n=e[vi]();if(K(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Wu(e))return function Bg(e){return new be(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Vu)})}(e);if(Yu(e))return nl(e);if(Xu(e))return function Hg(e){return new be(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(tl(e))return function $g(e){return nl(el(e))}(e)}throw Ku(e)}function nl(e){return new be(t=>{(function Ug(e,t){var n,r,o,i;return function Ng(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=Og(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Tt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function rl(e,t,n=1/0){return K(t)?rl((r,o)=>function Fg(e,t){return tn((n,r)=>{let o=0;n.subscribe(Qn(r,i=>{r.next(e.call(t,i,o++))}))})}((i,s)=>t(r,i,o,s))(nn(e(r,o))),n):("number"==typeof t&&(n=t),tn((r,o)=>function Gg(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=m=>l{i&&t.next(m),l++;let D=!1;nn(n(m,c++)).subscribe(Qn(t,v=>{null==o||o(v),i?h(v):t.next(v)},()=>{D=!0},void 0,()=>{if(D)try{for(l--;u.length&&lp(v)):p(v)}f()}catch(v){t.error(v)}}))};return e.subscribe(Qn(t,h,()=>{d=!0,f()})),()=>{null==a||a()}}(r,o,e,n)))}const Ei=new be(e=>e.complete());function Ci(e){return e[e.length-1]}function ol(e,t=0){return tn((n,r)=>{n.subscribe(Qn(r,o=>Tt(r,e,()=>r.next(o),t),()=>Tt(r,e,()=>r.complete(),t),o=>Tt(r,e,()=>r.error(o),t)))})}function il(e,t=0){return tn((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function sl(e,t){if(!e)throw new Error("Iterable cannot be null");return new be(n=>{Tt(n,t,()=>{const r=e[Symbol.asyncIterator]();Tt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function al(e,t){return t?function tm(e,t){if(null!=e){if(Zu(e))return function Yg(e,t){return nn(e).pipe(il(t),ol(t))}(e,t);if(Wu(e))return function Jg(e,t){return new be(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Qu(e))return function Kg(e,t){return nn(e).pipe(il(t),ol(t))}(e,t);if(Yu(e))return sl(e,t);if(Xu(e))return function Xg(e,t){return new be(n=>{let r;return Tt(n,t,()=>{r=e[Ju](),Tt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>K(null==r?void 0:r.return)&&r.return()})}(e,t);if(tl(e))return function em(e,t){return sl(el(e),t)}(e,t)}throw Ku(e)}(e,t):nn(e)}function nm(...e){const t=function Qg(e){return function Wg(e){return e&&K(e.schedule)}(Ci(e))?e.pop():void 0}(e),n=function Zg(e,t){return"number"==typeof Ci(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?nn(r[0]):function qg(e=1/0){return rl(ju,e)}(n)(al(r,t)):Ei}function bi(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe(function rm(e){return e<=0?()=>Ei:tn((t,n)=>{let r=0;t.subscribe(Qn(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}(1)).subscribe(()=>e())}function $(e){for(let t in e)if(e[t]===$)return t;throw Error("Could not find renamed property on target object.")}function B(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(B).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ii(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const im=$({__forward_ref__:$});function Ti(e){return e.__forward_ref__=Ti,e.toString=function(){return B(this())},e}function A(e){return function ul(e){return"function"==typeof e&&e.hasOwnProperty(im)&&e.__forward_ref__===Ti}(e)?e():e}class V extends Error{constructor(t,n){super(function Si(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function M(e){return"string"==typeof e?e:null==e?"":String(e)}function fe(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():M(e)}function Wr(e,t){const n=t?` in ${t}`:"";throw new V(-201,`No provider for ${fe(e)} found${n}`)}function xe(e,t){null==e&&function U(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function Z(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function $t(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ai(e){return ll(e,Qr)||ll(e,dl)}function ll(e,t){return e.hasOwnProperty(t)?e[t]:null}function cl(e){return e&&(e.hasOwnProperty(xi)||e.hasOwnProperty(fm))?e[xi]:null}const Qr=$({\u0275prov:$}),xi=$({\u0275inj:$}),dl=$({ngInjectableDef:$}),fm=$({ngInjectorDef:$});var S=(()=>((S=S||{})[S.Default=0]="Default",S[S.Host=1]="Host",S[S.Self=2]="Self",S[S.SkipSelf=4]="SkipSelf",S[S.Optional=8]="Optional",S))();let Fi;function St(e){const t=Fi;return Fi=e,t}function fl(e,t,n){const r=Ai(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&S.Optional?null:void 0!==t?t:void Wr(B(e),"Injector")}function At(e){return{toString:e}.toString()}var We=(()=>((We=We||{})[We.OnPush=0]="OnPush",We[We.Default=1]="Default",We))(),it=(()=>{return(e=it||(it={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",it;var e})();const pm="undefined"!=typeof globalThis&&globalThis,gm="undefined"!=typeof window&&window,mm="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,H=pm||"undefined"!=typeof global&&global||gm||mm,rn={},G=[],Zr=$({\u0275cmp:$}),Ni=$({\u0275dir:$}),Pi=$({\u0275pipe:$}),hl=$({\u0275mod:$}),_t=$({\u0275fac:$}),Zn=$({__NG_ELEMENT_ID__:$});let ym=0;function Ri(e){return At(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===We.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||it.Emulated,id:"c",styles:e.styles||G,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,i=e.features,s=e.pipes;return r.id+=ym++,r.inputs=yl(e.inputs,n),r.outputs=yl(e.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(pl):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(gl):null,r})}function pl(e){return pe(e)||function xt(e){return e[Ni]||null}(e)}function gl(e){return function Ut(e){return e[Pi]||null}(e)}const ml={};function on(e){return At(()=>{const t={type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(ml[e.id]=e.type),t})}function yl(e,t){if(null==e)return rn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const Fe=Ri;function pe(e){return e[Zr]||null}function Be(e,t){const n=e[hl]||null;if(!n&&!0===t)throw new Error(`Type ${B(e)} does not have '\u0275mod' property.`);return n}const x=11,z=20;function st(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ze(e){return Array.isArray(e)&&!0===e[1]}function ki(e){return 0!=(8&e.flags)}function Xr(e){return 2==(2&e.flags)}function eo(e){return 1==(1&e.flags)}function Ye(e){return null!==e.template}function Cm(e){return 0!=(512&e[2])}function Wt(e,t){return e.hasOwnProperty(_t)?e[_t]:null}class Im{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function vl(e){return e.type.prototype.ngOnChanges&&(e.setInput=Sm),Tm}function Tm(){const e=wl(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===rn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Sm(e,t,n,r){const o=wl(e)||function Am(e,t){return e[_l]=t}(e,{previous:rn,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],u=s[a];i[a]=new Im(u&&u.currentValue,t,s===rn),e[r]=t}const _l="__ngSimpleChanges__";function wl(e){return e[_l]||null}let $i;function J(e){return!!e.listen}const El={createRenderer:(e,t)=>function Ui(){return void 0!==$i?$i:"undefined"!=typeof document?document:void 0}()};function re(e){for(;Array.isArray(e);)e=e[0];return e}function $e(e,t){return re(t[e.index])}function Gi(e,t){return e.data[t]}function Pe(e,t){const n=t[e];return st(n)?n:n[0]}function qi(e){return 128==(128&e[2])}function Ft(e,t){return null==t?null:e[t]}function bl(e){e[18]=0}function zi(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const I={lFrame:Pl(null),bindingsEnabled:!0};function Il(){return I.bindingsEnabled}function y(){return I.lFrame.lView}function L(){return I.lFrame.tView}function ae(){let e=Tl();for(;null!==e&&64===e.type;)e=e.parent;return e}function Tl(){return I.lFrame.currentTNode}function at(e,t){const n=I.lFrame;n.currentTNode=e,n.isParent=t}function Wi(){return I.lFrame.isParent}function dn(){return I.lFrame.bindingIndex++}function Wm(e,t){const n=I.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zi(t)}function Zi(e){I.lFrame.currentDirectiveIndex=e}function Ki(e){I.lFrame.currentQueryIndex=e}function Zm(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Fl(e,t,n){if(n&S.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&S.Host||(o=Zm(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=I.lFrame=Nl();return r.currentTNode=t,r.lView=e,!0}function oo(e){const t=Nl(),n=e[1];I.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Nl(){const e=I.lFrame,t=null===e?null:e.child;return null===t?Pl(e):t}function Pl(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Rl(){const e=I.lFrame;return I.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Ol=Rl;function io(){const e=Rl();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function _e(){return I.lFrame.selectedIndex}function Nt(e){I.lFrame.selectedIndex=e}function so(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[u]<0&&(e[18]+=65536),(a>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class er{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function lo(e,t,n){const r=J(e);let o=0;for(;ot){s=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ts=!0;function fo(e){const t=ts;return ts=e,t}let cy=0;function nr(e,t){const n=rs(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ns(r.data,e),ns(t,null),ns(r.blueprint,null));const o=ho(e,t),i=e.injectorIndex;if(function Bl(e){return-1!==e}(o)){const s=fn(o),a=hn(o,t),u=a[1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function ns(e,t){e.push(0,0,0,0,0,0,0,0,t)}function rs(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function ho(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const i=o[1],s=i.type;if(r=2===s?i.declTNode:1===s?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function po(e,t,n){!function dy(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Zn)&&(r=n[Zn]),null==r&&(r=n[Zn]=cy++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:hy:t}(n);if("function"==typeof i){if(!Fl(t,e,r))return r&S.Host?$l(o,n,r):Ul(t,n,r,o);try{const s=i(r);if(null!=s||r&S.Optional)return s;Wr(n)}finally{Ol()}}else if("number"==typeof i){let s=null,a=rs(e,t),u=-1,l=r&S.Host?t[16][6]:null;for((-1===a||r&S.SkipSelf)&&(u=-1===a?ho(e,t):t[a+8],-1!==u&&Wl(r,!1)?(s=t[1],a=fn(u),t=hn(u,t)):a=-1);-1!==a;){const c=t[1];if(zl(i,a,c.data)){const d=py(a,t,n,s,r,l);if(d!==ql)return d}u=t[a+8],-1!==u&&Wl(r,t[1].data[a+8]===l)&&zl(i,a,t)?(s=c,a=fn(u),t=hn(u,t)):a=-1}}}return Ul(t,n,r,o)}const ql={};function hy(){return new pn(ae(),y())}function py(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=function go(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=u&&p.type===n)return h}if(o){const h=s[u];if(h&&Ye(h)&&h.type===n)return u}return null}(a,s,n,null==r?Xr(a)&&ts:r!=s&&0!=(3&a.type),o&S.Host&&i===a);return null!==c?rr(t,s,c,a):ql}function rr(e,t,n,r){let o=e[n];const i=t.data;if(function iy(e){return e instanceof er}(o)){const s=o;s.resolving&&function sm(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new V(-200,`Circular dependency in DI detected for ${e}${n}`)}(fe(i[n]));const a=fo(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?St(s.injectImpl):null;Fl(e,r,S.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ry(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=vl(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==u&&St(u),fo(a),s.resolving=!1,Ol()}}return o}function zl(e,t,n){return!!(n[t+(e>>5)]&1<Array.isArray(n)?ut(n,t):t(n))}function mo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const ar={},Do="ngTempTokenPath",Ty=/\n/gm,ec="__source",Ay=$({provide:String,useValue:$});let ur;function tc(e){const t=ur;return ur=e,t}function xy(e,t=S.Default){if(void 0===ur)throw new V(203,"");return null===ur?fl(e,void 0,t):ur.get(e,t&S.Optional?null:void 0,t)}function q(e,t=S.Default){return(function hm(){return Fi}()||xy)(A(e),t)}const Fy=q;function ds(e){const t=[];for(let n=0;n("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(H))();function ct(e){return e instanceof Function?e():e}var Oe=(()=>((Oe=Oe||{})[Oe.Important=1]="Important",Oe[Oe.DashCase=2]="DashCase",Oe))();function Ms(e,t){return undefined(e,t)}function mr(e){const t=e[3];return Ze(t)?t[3]:t}function Is(e){return xc(e[13])}function Ts(e){return xc(e[4])}function xc(e){for(;null!==e&&!Ze(e);)e=e[4];return e}function Cn(e,t,n,r,o){if(null!=r){let i,s=!1;Ze(r)?i=r:st(r)&&(s=!0,r=r[0]);const a=re(r);0===e&&null!==n?null==o?Lc(t,n,a):Qt(t,n,a,o||null,!0):1===e&&null!==n?Qt(t,n,a,o||null,!0):2===e?function Uc(e,t,n){const r=function Io(e,t){return J(e)?e.parentNode(t):t.parentNode}(e,t);r&&function QD(e,t,n,r){J(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function KD(e,t,n,r,o){const i=n[7];i!==re(n)&&Cn(t,e,r,i,o);for(let a=10;a=0?r[o=l]():r[o=-l].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==zc(h,l,0)||2&r&&l!==f){if(Ke(r))return!1;s=!0}}}}else{if(!s&&!Ke(r)&&!Ke(u))return!1;if(s&&Ke(u))continue;s=!1,r=u|1&r}}return Ke(r)||s}function Ke(e){return 0==(1&e)}function nv(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Ke(s)&&(t+=Yc(i,o),o=""),r=s,i=i||!Ke(r);n++}return""!==o&&(t+=Yc(i,o)),t}const T={};function Dr(e){Kc(L(),y(),_e()+e,!1)}function Kc(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&ao(t,i,n)}else{const i=e.preOrderHooks;null!==i&&uo(t,i,0,n)}Nt(n)}function ud(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;rz&&Kc(e,t,z,!1),n(r,o)}finally{Nt(i)}}function dd(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=No(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function No(e,t,n,r,o,i,s,a,u,l){const c=z+r,d=c+o,f=function bv(e,t){const n=[];for(let r=0;r0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,o,s)}}function Dd(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function vd(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Lv(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&Js(n)}}function Js(e){for(let r=Is(e);null!==r;r=Ts(r))for(let o=10;o0&&Js(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&Js(o)}}function Uv(e,t){const n=Pe(t,e),r=n[1];(function Gv(e,t){for(let n=t.length;nPromise.resolve(null))();function bd(e){return e[7]||(e[7]=[])}function Md(e){return e.cleanup||(e.cleanup=[])}function Td(e,t){const n=e[9],r=n?n.get(gr,null):null;r&&r.handleError(t)}function Sd(e,t,n,r,o){for(let i=0;ithis.processProvider(a,t,n)),ut([t],a=>this.processInjectorType(a,[],i)),this.records.set(ra,Tn(void 0,this));const s=this.records.get(oa);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:B(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=ar,r=S.Default){this.assertNotDestroyed();const o=tc(this),i=St(void 0);try{if(!(r&S.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function o_(e){return"function"==typeof e||"object"==typeof e&&e instanceof j}(t)&&Ai(t);a=u&&this.injectableDefInScope(u)?Tn(sa(t),wr):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&S.Self?xd():this.parent).get(t,n=r&S.Optional&&n===ar?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Do]=s[Do]||[]).unshift(B(t)),o)throw s;return function Py(e,t,n,r){const o=e[Do];throw t[ec]&&o.unshift(t[ec]),e.message=function Ry(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=B(t);if(Array.isArray(t))o=t.map(B).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):B(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Ty,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Do]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{St(i),tc(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,o)=>t.push(B(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new V(205,!1)}processInjectorType(t,n,r){if(!(t=A(t)))return!1;let o=cl(t);const i=null==o&&t.ngModule||void 0,s=void 0===i?t:i,a=-1!==r.indexOf(s);if(void 0!==i&&(o=cl(i)),null==o)return!1;if(null!=o.imports&&!a){let c;r.push(s);try{ut(o.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;dthis.processProvider(p,f,h||G))}}this.injectorDefTypes.add(s);const u=Wt(s)||(()=>new s);this.records.set(s,Tn(u,wr));const l=o.providers;if(null!=l&&!a){const c=t;ut(l,d=>this.processProvider(d,c,l))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let o=Sn(t=A(t))?t:A(t&&t.provide);const i=function Jv(e,t,n){return Rd(e)?Tn(void 0,e.useValue):Tn(function Pd(e,t,n){let r;if(Sn(e)){const o=A(e);return Wt(o)||sa(o)}if(Rd(e))r=()=>A(e.useValue);else if(function e_(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ds(e.deps||[]));else if(function Xv(e){return!(!e||!e.useExisting)}(e))r=()=>q(A(e.useExisting));else{const o=A(e&&(e.useClass||e.provide));if(!function n_(e){return!!e.deps}(e))return Wt(o)||sa(o);r=()=>new o(...ds(e.deps))}return r}(e),wr)}(t);if(Sn(t)||!0!==t.multi)this.records.get(o);else{let s=this.records.get(o);s||(s=Tn(void 0,wr,!0),s.factory=()=>ds(s.multi),this.records.set(o,s)),o=t,s.multi.push(t)}this.records.set(o,i)}hydrate(t,n){return n.value===wr&&(n.value=Zv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function r_(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=A(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function sa(e){const t=Ai(e),n=null!==t?t.factory:Wt(e);if(null!==n)return n;if(e instanceof j)throw new V(204,!1);if(e instanceof Function)return function Kv(e){const t=e.length;if(t>0)throw function sr(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new V(204,!1)}function Tn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Rd(e){return null!==e&&"object"==typeof e&&Ay in e}function Sn(e){return"function"==typeof e}let ft=(()=>{class e{static create(n,r){var o;if(Array.isArray(n))return Fd({name:""},r,n,"");{const i=null!==(o=n.name)&&void 0!==o?o:"";return Fd({name:i},n.parent,n.providers,i)}}}return e.THROW_IF_NOT_FOUND=ar,e.NULL=new Ad,e.\u0275prov=Z({token:e,providedIn:"any",factory:()=>q(ra)}),e.__NG_ELEMENT_ID__=-1,e})();function f_(e,t){so(ws(e)[1],ae())}function ye(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function P(e,t=S.Default){const n=y();return null===n?q(e,t):Gl(ae(),n,A(e),t)}function Vo(e,t,n){const r=y();return ye(r,dn(),t)&&function Le(e,t,n,r,o,i,s,a){const u=$e(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(Sd(e,n,c,r,o),Xr(t)&&function Sv(e,t){const n=Pe(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function Tv(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,J(i)?i.setProperty(u,r,o):es(r)||(u.setProperty?u.setProperty(r,o):u[r]=o))}(L(),function X(){const e=I.lFrame;return Gi(e.tView,e.selectedIndex)}(),r,e,t,r[x],n,!1),Vo}function ga(e,t,n,r,o){const s=o?"class":"style";Sd(e,n,t.inputs[s],s,r)}function he(e,t,n,r){const o=y(),i=L(),s=z+e,a=o[x],u=o[s]=As(a,t,function ny(){return I.lFrame.currentNamespace}()),l=i.firstCreatePass?function W_(e,t,n,r,o,i,s){const a=t.consts,l=bn(t,e,2,o,Ft(a,i));return function Ys(e,t,n,r){let o=!1;if(Il()){const i=function Rv(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let i=0;ia(re(N[r.index])):r.index;if(J(n)){let N=null;if(!a&&u&&(N=function K_(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;iu?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==N)(N.__ngLastListenerFn__||N).__ngNextListenerFn__=i,N.__ngLastListenerFn__=i,h=!1;else{i=_a(r,t,d,i,!1);const k=n.listen(v,o,i);f.push(i,k),c&&c.push(o,E,g,g+1)}}else i=_a(r,t,d,i,!0),v.addEventListener(o,i,s),f.push(i),c&&c.push(o,E,g,s)}else i=_a(r,t,d,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const D=m.length;if(D)for(let v=0;v{class e{}return e.NULL=new $E,e})();function UE(){return Un(ae(),y())}function Un(e,t){return new Kt($e(e,t))}let Kt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=UE,e})();class Bh{}let Aa=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function zE(){const e=y(),n=Pe(ae().index,e);return function qE(e){return e[x]}(st(n)?n:e)}(),e})(),WE=(()=>{class e{}return e.\u0275prov=Z({token:e,providedIn:"root",factory:()=>null}),e})();class xa{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const QE=new xa("13.3.10"),Fa={};function Wo(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(re(i)),Ze(i))for(let a=10;a-1&&(function xs(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&Nc(o,r),t>0&&(e[n-1][4]=r[4]);const i=mo(e,10+t);!function jD(e,t){yr(e,t,t[x],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}(t,r),mo(n,r))}this._attachedToViewContainer=!1}!function Pc(e,t){if(!(256&t[2])){const n=t[x];J(n)&&n.destroyNode&&yr(e,t,n,3,null,null),function UD(e){let t=e[13];if(!t)return Fs(e[1],e);for(;t;){let n=null;if(st(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)st(t)&&Fs(t[1],t),t=t[3];null===t&&(t=e),st(t)&&Fs(t[1],t),n=t&&t[4]}t=n}}(t)}}(this._lView[1],this._lView)}onDestroy(t){!function pd(e,t,n,r){const o=bd(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&Md(e).push(r,o.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){Xs(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function ta(e,t,n){const r=t[10];r.begin&&r.begin();try{In(e,t,e.template,n)}catch(o){throw Td(t,o),o}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new V(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function $D(e,t){yr(e,t,t[x],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new V(902,"");this._appRef=t}}{constructor(t){super(t),this._view=t}detectChanges(){Cd(this._view)}checkNoChanges(){}get context(){return null}}class jh extends zo{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=pe(t);return new Na(n,this.ngModule)}}function Hh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class Na extends kh{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function uv(e){return e.map(av).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Hh(this.componentDef.inputs)}get outputs(){return Hh(this.componentDef.outputs)}create(t,n,r,o){const i=(o=o||this.ngModule)?function KE(e,t){return{get:(n,r,o)=>{const i=e.get(n,Fa,o);return i!==Fa||r===Fa?i:t.get(n,r,o)}}}(t,o.injector):t,s=i.get(Bh,El),a=i.get(WE,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=r?function hd(e,t,n){if(J(e))return e.selectRootElement(t,n===it.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,r,this.componentDef.encapsulation):As(s.createRenderer(null,this.componentDef),l,function YE(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(l)),d=this.componentDef.onPush?576:528,f=function qd(e,t){return{components:[],scheduler:e||RD,clean:zv,playerHandler:t||null,flags:0}}(),h=No(0,null,null,1,0,null,null,null,null,null),p=vr(null,h,f,d,null,null,s,u,a,i);let m,D;oo(p);try{const v=function Ud(e,t,n,r,o,i){const s=n[1];n[20]=e;const u=bn(s,20,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(Ro(u,l,!0),null!==e&&(lo(o,e,l),null!==u.classes&&Os(o,e,u.classes),null!==u.styles&&qc(o,e,u.styles)));const c=r.createRenderer(e,t),d=vr(n,dd(t),null,t.onPush?64:16,n[20],u,r,c,i||null,null);return s.firstCreatePass&&(po(nr(u,n),s,t.type),vd(s,u),_d(u,n.length,1)),Po(n,d),n[20]=d}(c,this.componentDef,p,s,u);if(c)if(r)lo(u,c,["ng-version",QE.full]);else{const{attrs:g,classes:E}=function lv(e){const t=[],n=[];let r=1,o=2;for(;r0&&Os(u,c,E.join(" "))}if(D=Gi(h,z),void 0!==n){const g=D.projection=[];for(let E=0;Eu(s,t)),t.contentQueries){const u=ae();t.contentQueries(1,s,u.directiveStart)}const a=ae();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Nt(a.index),yd(n[1],a,0,a.directiveStart,a.directiveEnd,t),Dd(t,s)),s}(v,this.componentDef,p,f,[f_]),_r(h,p,null)}finally{io()}return new XE(this.componentType,m,Un(D,p),p,D)}}class XE extends class jE{}{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new ZE(o),this.componentType=t}get injector(){return new pn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}class Gn{}const qn=new Map;class Gh extends Gn{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new jh(this);const r=Be(t);this._bootstrapComponents=ct(r.bootstrap),this._r3Injector=Nd(t,n,[{provide:Gn,useValue:this},{provide:zo,useValue:this.componentFactoryResolver}],B(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=ft.THROW_IF_NOT_FOUND,r=S.Default){return t===ft||t===Gn||t===ra?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Pa extends class tC{}{constructor(t){super(),this.moduleType=t,null!==Be(t)&&function nC(e){const t=new Set;!function n(r){const o=Be(r,!0),i=o.id;null!==i&&(function $h(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${B(t)} vs ${B(t.name)}`)}(i,qn.get(i),r),qn.set(i,r));const s=ct(o.imports);for(const a of s)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new Gh(this.moduleType,t)}}function Ra(e){return t=>{setTimeout(e,void 0,t)}}const mt=class _C extends _i{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var o,i,s;let a=t,u=n||(()=>null),l=r;if(t&&"object"==typeof t){const d=t;a=null===(o=d.next)||void 0===o?void 0:o.bind(d),u=null===(i=d.error)||void 0===i?void 0:i.bind(d),l=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(u=Ra(u),a&&(a=Ra(a)),l&&(l=Ra(l)));const c=super.subscribe({next:a,error:u,complete:l});return t instanceof ot&&t.add(c),c}};function Ko(...e){}Symbol;const _p=new j("Application Initializer");let Wa=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ko,this.reject=Ko,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(q(_p,8))},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Rr=new j("AppId",{providedIn:"root",factory:function wp(){return`${Qa()}${Qa()}${Qa()}`}});function Qa(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ep=new j("Platform Initializer"),Cp=new j("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),n0=new j("appBootstrapListener"),kt=new j("LocaleId",{providedIn:"root",factory:()=>Fy(kt,S.Optional|S.SkipSelf)||function r0(){return"undefined"!=typeof $localize&&$localize.locale||Ho}()}),u0=(()=>Promise.resolve(0))();function Za(e){"undefined"==typeof Zone?u0.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Te{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new mt(!1),this.onMicrotaskEmpty=new mt(!1),this.onStable=new mt(!1),this.onError=new mt(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function l0(){let e=H.requestAnimationFrame,t=H.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function f0(e){const t=()=>{!function d0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(H,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ka(e),e.isCheckStableRunning=!0,Ya(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ka(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return bp(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Mp(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return bp(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),Mp(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Ka(e),Ya(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Te.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Te.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,c0,Ko,Ko);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const c0={};function Ya(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Ka(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function bp(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Mp(e){e._nesting--,Ya(e)}class h0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new mt,this.onMicrotaskEmpty=new mt,this.onStable=new mt,this.onError=new mt}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let Ja=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Te.assertNotInAngularZone(),Za(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Za(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(q(Te))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})(),p0=(()=>{class e{constructor(){this._applications=new Map,Xa.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Xa.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();class g0{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let Xa=new g0,Jt=null;const Ip=new j("AllowMultipleToken"),Tp=new j("PlatformOnDestroy");function Sp(e,t,n=[]){const r=`Platform: ${t}`,o=new j(r);return(i=[])=>{let s=eu();if(!s||s.injector.get(Ip,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function v0(e){if(Jt&&!Jt.get(Ip,!1))throw new V(400,"");Jt=e;const t=e.get(Ap),n=e.get(Ep,null);n&&n.forEach(r=>r())}(function w0(e=[],t){return ft.create({name:t,providers:[{provide:oa,useValue:"platform"},{provide:Tp,useValue:()=>Jt=null},...e]})}(a,r))}return function _0(e){const t=eu();if(!t)throw new V(401,"");return t}()}}function eu(){var e;return null!==(e=null==Jt?void 0:Jt.get(Ap))&&void 0!==e?e:null}let Ap=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function E0(e,t){let n;return n="noop"===e?new h0:("zone.js"===e?void 0:e)||new Te({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:Te,useValue:a}];return a.run(()=>{const l=ft.create({providers:u,parent:this.injector,name:n.moduleType.name}),c=n.create(l),d=c.injector.get(gr,null);if(!d)throw new V(402,"");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{tu(this._modules,c),f.unsubscribe()})}),function C0(e,t,n){try{const r=n();return Da(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(Wa);return f.runInitializers(),f.donePromise.then(()=>(function Gw(e){xe(e,"Expected localeId to be defined"),"string"==typeof e&&(fh=e.toLowerCase().replace(/_/g,"-"))}(c.injector.get(kt,Ho)||Ho),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const o=xp({},r);return function y0(e,t,n){const r=new Pa(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Fp);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new V(403,"");n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new V(404,"");this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Tp,null);null==n||n(),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(q(ft))},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function xp(e,t){return Array.isArray(t)?t.reduce(xp,e):Object.assign(Object.assign({},e),t)}let Fp=(()=>{class e{constructor(n,r,o,i){this._zone=n,this._injector=r,this._exceptionHandler=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const s=new be(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),a=new be(u=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{Te.assertNotInAngularZone(),Za(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{Te.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=nm(s,a.pipe(function om(e={}){const{connector:t=(()=>new _i),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,u=null,l=0,c=!1,d=!1;const f=()=>{null==a||a.unsubscribe(),a=null},h=()=>{f(),s=u=null,c=d=!1},p=()=>{const m=s;h(),null==m||m.unsubscribe()};return tn((m,D)=>{l++,!d&&!c&&f();const v=u=null!=u?u:t();D.add(()=>{l--,0===l&&!d&&!c&&(a=bi(p,o))}),v.subscribe(D),s||(s=new qr({next:g=>v.next(g),error:g=>{d=!0,f(),a=bi(h,n,g),v.error(g)},complete:()=>{c=!0,f(),a=bi(h,r),v.complete()}}),al(m).subscribe(s))})(i)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new V(405,"");let o;o=n instanceof kh?n:this._injector.get(zo).resolveComponentFactory(n),this.componentTypes.push(o.componentType);const i=function D0(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Gn),a=o.create(ft.NULL,[],r||o.selector,i),u=a.location.nativeElement,l=a.injector.get(Ja,null),c=l&&a.injector.get(p0);return l&&c&&c.registerApplication(u,l),a.onDestroy(()=>{this.detachView(a.hostView),tu(this.components,a),c&&c.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new V(101,"");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;tu(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(n0,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(q(Te),q(ft),q(gr),q(Wa))},e.\u0275prov=Z({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function tu(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let Pp=!0;const H0=Sp(null,"core",[]);let $0=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(q(Fp))},e.\u0275mod=on({type:e}),e.\u0275inj=$t({}),e})(),ti=null;function Lr(){return ti}const Dt=new j("DocumentToken");let cM=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=on({type:e}),e.\u0275inj=$t({}),e})();class vu extends class mM extends class q0{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function G0(e){ti||(ti=e)}(new vu)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function yM(){return Br=Br||document.querySelector("base"),Br?Br.getAttribute("href"):null}();return null==n?null:function DM(e){di=di||document.createElement("a"),di.setAttribute("href",e);const t=di.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Br=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function Fb(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let di,Br=null;const sg=new j("TRANSITION_ID"),_M=[{provide:_p,useFactory:function vM(e,t,n){return()=>{n.get(Wa).donePromise.then(()=>{const r=Lr(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},H.getAllAngularTestabilities=()=>t.getAllTestabilities(),H.getAllAngularRootElements=()=>t.getAllRootElements(),H.frameworkStabilizers||(H.frameworkStabilizers=[]),H.frameworkStabilizers.push(r=>{const o=H.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const o=t.getTestability(n);return null!=o?o:r?Lr().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let wM=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();const fi=new j("EventManagerPlugins");let hi=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})(),jr=(()=>{class e extends ug{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(lg),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(lg))}}return e.\u0275fac=function(n){return new(n||e)(q(Dt))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();function lg(e){Lr().remove(e)}const wu={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Eu=/%COMP%/g;function pi(e,t,n){for(let r=0;r{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Cu=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new bu(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case it.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new TM(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case it.ShadowDom:return new SM(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=pi(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(q(hi),q(jr),q(Rr))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();class bu{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(wu[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&t.insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=wu[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=wu[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Oe.DashCase|Oe.Important)?t.style.setProperty(n,r,o&Oe.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Oe.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,fg(r)):this.eventManager.addEventListener(t,n,fg(r))}}class TM extends bu{constructor(t,n,r,o){super(t),this.component=r;const i=pi(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function bM(e){return"_ngcontent-%COMP%".replace(Eu,e)}(o+"-"+r.id),this.hostAttr=function MM(e){return"_nghost-%COMP%".replace(Eu,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class SM extends bu{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=pi(o.id,o.styles,[]);for(let s=0;s{class e extends ag{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(q(Dt))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();const pg=["alt","control","meta","shift"],FM={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},gg={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},NM={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let PM=(()=>{class e extends ag{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Lr().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="";if(pg.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const a={};return a.domEventName=o,a.fullKey=s,a}static getEventFullKey(n){let r="",o=function RM(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&gg.hasOwnProperty(t)&&(t=gg[t]))}return FM[t]||t}(n);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),pg.forEach(i=>{i!=o&&NM[i](n)&&(r+=i+".")}),r+=o,r}static eventCallback(n,r,o){return i=>{e.getEventFullKey(i)===n&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(q(Dt))},e.\u0275prov=Z({token:e,factory:e.\u0275fac}),e})();const VM=Sp(H0,"browser",[{provide:Cp,useValue:"browser"},{provide:Ep,useValue:function OM(){vu.makeCurrent(),_u.init()},multi:!0},{provide:Dt,useFactory:function kM(){return function Rm(e){$i=e}(document),document},deps:[]}]),BM=[{provide:oa,useValue:"root"},{provide:gr,useFactory:function LM(){return new gr},deps:[]},{provide:fi,useClass:AM,multi:!0,deps:[Dt,Te,Cp]},{provide:fi,useClass:PM,multi:!0,deps:[Dt]},{provide:Cu,useClass:Cu,deps:[hi,jr,Rr]},{provide:Bh,useExisting:Cu},{provide:ug,useExisting:jr},{provide:jr,useClass:jr,deps:[Dt]},{provide:Ja,useClass:Ja,deps:[Te]},{provide:hi,useClass:hi,deps:[fi,Te]},{provide:class gM{},useClass:wM,deps:[]}];let jM=(()=>{class e{constructor(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(n){return{ngModule:e,providers:[{provide:Rr,useValue:n.appId},{provide:sg,useExisting:Rr},_M]}}}return e.\u0275fac=function(n){return new(n||e)(q(e,12))},e.\u0275mod=on({type:e}),e.\u0275inj=$t({providers:BM,imports:[cM,$0]}),e})();"undefined"!=typeof window&&window;let KM=(()=>{class e{constructor(n,r){this.el=n,this.renderer=r,this.loaded=new mt,this.isApplied=!1,this.ERROR_EVENT_TYPE="error",this.LOAD_EVENT_TYPE="load",this.nativeElement=n.nativeElement,this.onError=this.onError.bind(this),this.onLoad=this.onLoad.bind(this),this.addEvents()}ngOnDestroy(){this.removeErrorEvent(),this.removeOnLoadEvent()}onError(){this.nativeElement.getAttribute("src")!==this.imgSrc?(this.isApplied=!0,this.renderer.setAttribute(this.nativeElement,"src",this.imgSrc)):this.removeOnLoadEvent()}onLoad(){this.loaded.emit(this.isApplied)}removeErrorEvent(){this.cancelOnError&&this.cancelOnError()}removeOnLoadEvent(){this.cancelOnLoad&&this.cancelOnLoad()}addEvents(){this.cancelOnError=this.renderer.listen(this.nativeElement,this.ERROR_EVENT_TYPE,this.onError),this.cancelOnLoad=this.renderer.listen(this.nativeElement,this.LOAD_EVENT_TYPE,this.onLoad)}}return e.\u0275fac=function(n){return new(n||e)(P(Kt),P(Aa))},e.\u0275dir=Fe({type:e,selectors:[["","src-fallback",""]],inputs:{imgSrc:["src-fallback","imgSrc"]},outputs:{loaded:"loaded"}}),e})(),JM=(()=>{class e{constructor(){this.brokenPlaceholder="broken_placeholder",this.workingPlaceholder="https://via.placeholder.com/100x100"}onLoad(n){console.log(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Ri({type:e,selectors:[["app-root"]],decls:37,vars:4,consts:[[1,"main"],[1,"short-description"],["href","https://github.com/VadimDez/ngx-img-fallback"],[1,"mdl-grid"],[1,"mdl-cell","mdl-cell--3-col"],["src","not-working_image","alt","not working image"],[1,"mdl-cell","mdl-cell--9-col"],["src","not-working_image","alt","not working image with not working fallback",3,"src-fallback"],["src","not-working-image","alt","not working image with working fallback",3,"src-fallback","loaded"]],template:function(n,r){1&n&&(he(0,"section")(1,"div",0)(2,"h2"),ke(3,"Angular2+ Image Fallback"),De(),he(4,"p",1),ke(5," Load placeholder image on image error "),De(),he(6,"p"),ke(7," For further information see "),he(8,"a",2),ke(9,"github page"),De(),ke(10,". "),De()(),he(11,"div")(12,"h3"),ke(13,"Broken image "),he(14,"span"),ke(15,"(default behaviour)"),De()(),he(16,"div",3)(17,"div",4),Bo(18,"img",5),De(),he(19,"div",6),ke(20,' not working image '),De()()(),he(21,"div")(22,"h3"),ke(23,"Broken image with broken fallback"),De(),he(24,"div",3)(25,"div",4),Bo(26,"img",7),De(),he(27,"div",6),ke(28),De()()(),he(29,"div")(30,"h3"),ke(31,"Broken image with working fallback"),De(),he(32,"div",3)(33,"div",4)(34,"img",8),va("loaded",function(i){return r.onLoad(i)}),De()(),he(35,"div",6),ke(36),De()()()()),2&n&&(Dr(26),Vo("src-fallback",r.brokenPlaceholder),Dr(2),Mr(' not working image with not working fallback '),Dr(6),Vo("src-fallback",r.workingPlaceholder),Dr(2),Mr(' not working image with working fallback '))},directives:[KM],styles:[".short-description[_ngcontent-%COMP%]{color:#a7a7a7;font-size:18px;border-left:solid 5px #a7a7a7;padding-left:10px}"]}),e})(),XM=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=on({type:e}),e.\u0275inj=$t({}),e})(),eI=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=on({type:e,bootstrap:[JM]}),e.\u0275inj=$t({providers:[],imports:[[jM,XM]]}),e})();(function M0(){Pp=!1})(),VM().bootstrapModule(eI).catch(e=>console.error(e))}},K=>{K(K.s=502)}]); \ No newline at end of file diff --git a/docs/polyfills-es2015.19d5a8530feaf0723965.js b/docs/polyfills-es2015.19d5a8530feaf0723965.js deleted file mode 100644 index 76b53623..00000000 --- a/docs/polyfills-es2015.19d5a8530feaf0723965.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{2:function(e,t,n){e.exports=n("hN/g")},"hN/g":function(e,t,n){"use strict";n.r(t),n("pDpN")},pDpN:function(e,t,n){var o,r;void 0===(r="function"==typeof(o=function(){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function o(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const r=e.__Zone_symbol_prefix||"__zone_symbol__";function s(e){return r+e}const i=!0===e[s("forceDuplicateZoneCheck")];if(e.Zone){if(i||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class a{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"",this._properties=t&&t.properties||{},this._zoneDelegate=new l(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==O.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=a.current;for(;e.parent;)e=e.parent;return e}static get current(){return C.zone}static get currentTask(){return j}static __load_patch(t,r){if(O.hasOwnProperty(t)){if(i)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const s="Zone:"+t;n(s),O[t]=r(e,a,z),o(s,s)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){C={parent:C,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{C=C.parent}}runGuarded(e,t=null,n,o){C={parent:C,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{C=C.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");if(e.state===v&&(e.type===P||e.type===D))return;const o=e.state!=w;o&&e._transitionTo(w,T),e.runCount++;const r=j;j=e,C={parent:C,zone:this};try{e.type==D&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(s){if(this._zoneDelegate.handleError(this,s))throw s}}finally{e.state!==v&&e.state!==Z&&(e.type==P||e.data&&e.data.isPeriodic?o&&e._transitionTo(T,w):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(v,w,v))),C=C.parent,j=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(b,v);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(Z,b,v),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==b&&e._transitionTo(T,b),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new u(S,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new u(D,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new u(P,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");e._transitionTo(E,T,w);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(Z,E),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(v,E),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;oe.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,s)=>e.invokeTask(n,o,r,s),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class l{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new a(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t))||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=S)throw new Error("Task is missing scheduleFn.");_(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class u{constructor(t,n,o,r,s,i){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=s,this.cancelFn=i,!o)throw new Error("callback is not defined");this.callback=o;const a=this;this.invoke=t===P&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(e,a,this,arguments)}}static invokeTask(e,t,n){e||(e=this),I++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==I&&m(),I--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(v,b)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==v&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const h=s("setTimeout"),p=s("Promise"),f=s("then");let d,g=[],k=!1;function _(t){if(0===I&&0===g.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,m)}else e[h](m,0);t&&g.push(t)}function m(){if(!k){for(k=!0;g.length;){const t=g;g=[];for(let n=0;nC,onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:_,showUncaughtError:()=>!a[s("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:R,patchMethod:()=>R,bindArguments:()=>[],patchThen:()=>R,patchMacroTask:()=>R,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(d=e.resolve(0))},patchEventPrototype:()=>R,isIEOrEdge:()=>!1,getGlobalObjects:()=>void 0,ObjectDefineProperty:()=>R,ObjectGetOwnPropertyDescriptor:()=>void 0,ObjectCreate:()=>void 0,ArraySlice:()=>[],patchClass:()=>R,wrapWithCurrentZone:()=>R,filterProperties:()=>[],attachOriginToPatched:()=>R,_redefineProperty:()=>R,patchCallbacks:()=>R};let C={parent:null,zone:new a(null,null)},j=null,I=0;function R(){}o("Zone","Zone"),e.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,s=n.symbol,i=[],a=s("Promise"),c=s("then"),l="__creationTrace__";n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;i.length;)for(;i.length;){const t=i.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){h(e)}}};const u=s("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];n&&"function"==typeof n&&n.call(this,e)}catch(o){}}function p(e){return e&&e.then}function f(e){return e}function d(e){return R.reject(e)}const g=s("state"),k=s("value"),_=s("finally"),m=s("parentPromiseValue"),y=s("parentPromiseState"),v="Promise.then",b=null,T=!0,w=!1,E=0;function Z(e,t){return n=>{try{O(e,t,n)}catch(o){O(e,!1,o)}}}const S=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},D="Promise resolved with itself",P=s("currentTaskTrace");function O(e,o,s){const a=S();if(e===s)throw new TypeError(D);if(e[g]===b){let h=null;try{"object"!=typeof s&&"function"!=typeof s||(h=s&&s.then)}catch(u){return a(()=>{O(e,!1,u)})(),e}if(o!==w&&s instanceof R&&s.hasOwnProperty(g)&&s.hasOwnProperty(k)&&s[g]!==b)C(s),O(e,s[g],s[k]);else if(o!==w&&"function"==typeof h)try{h.call(s,a(Z(e,o)),a(Z(e,!1)))}catch(u){a(()=>{O(e,!1,u)})()}else{e[g]=o;const a=e[k];if(e[k]=s,e[_]===_&&o===T&&(e[g]=e[y],e[k]=e[m]),o===w&&s instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data[l];e&&r(s,P,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t{try{const o=e[k],r=!!n&&_===n[_];r&&(n[m]=o,n[y]=s);const a=t.run(i,void 0,r&&i!==d&&i!==f?[]:[o]);O(n,!0,a)}catch(o){O(n,!1,o)}},n)}const I="function ZoneAwarePromise() { [native code] }";class R{constructor(e){const t=this;if(!(t instanceof R))throw new Error("Must be an instanceof Promise.");t[g]=b,t[k]=[];try{e&&e(Z(t,T),Z(t,w))}catch(n){O(t,!1,n)}}static toString(){return I}static resolve(e){return O(new this(null),T,e)}static reject(e){return O(new this(null),w,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function s(e){n(e)}for(let i of e)p(i)||(i=this.resolve(i)),i.then(r,s);return o}static all(e){return R.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof R?this:R).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,o,r=new this((e,t)=>{n=e,o=t}),s=2,i=0;const a=[];for(let l of e){p(l)||(l=this.resolve(l));const e=i;try{l.then(o=>{a[e]=t?t.thenCallback(o):o,0==--s&&n(a)},r=>{t?(a[e]=t.errorCallback(r),0==--s&&n(a)):o(r)})}catch(c){o(c)}s++,i++}return 0==(s-=2)&&n(a),r}get[Symbol.toStringTag](){return"Promise"}then(e,n){const o=new this.constructor(null),r=t.current;return this[g]==b?this[k].push(r,o,e,n):j(this,r,o,e,n),o}catch(e){return this.then(null,e)}finally(e){const n=new this.constructor(null);n[_]=_;const o=t.current;return this[g]==b?this[k].push(o,n,e,e):j(this,o,n,e,e),n}}R.resolve=R.resolve,R.reject=R.reject,R.race=R.race,R.all=R.all;const N=e[a]=e.Promise,x=t.__symbol__("ZoneAwarePromise");let M=o(e,"Promise");M&&!M.configurable||(M&&delete M.writable,M&&delete M.value,M||(M={configurable:!0,enumerable:!0}),M.get=function(){return e[x]?e[x]:e[a]},M.set=function(t){t===R?e[x]=t:(e[a]=t,t.prototype[c]||A(t),n.setNativePromise(t))},r(e,"Promise",M)),e.Promise=R;const L=s("thenPatched");function A(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[c]=r,e.prototype.then=function(e,t){return new R((e,t)=>{r.call(this,e,t)}).then(e,t)},e[L]=!0}if(n.patchThen=A,N){A(N);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=function(e){return function(){let t=e.apply(this,arguments);if(t instanceof R)return t;let n=t.constructor;return n[L]||A(n),t}}(t))}return Promise[t.__symbol__("uncaughtPromiseErrors")]=i,R});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,o=Object.create,r=Array.prototype.slice,s="addEventListener",i="removeEventListener",a=Zone.__symbol__(s),c=Zone.__symbol__(i),l="true",u="false",h=Zone.__symbol__("");function p(e,t){return Zone.current.wrap(e,t)}function f(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const d=Zone.__symbol__,g="undefined"!=typeof window,k=g?window:void 0,_=g&&k||"object"==typeof self&&self||global,m="removeAttribute",y=[null];function v(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=p(e[n],t+"_"+n));return e}function b(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const T="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,w=!("nw"in _)&&void 0!==_.process&&"[object process]"==={}.toString.call(_.process),E=!w&&!T&&!(!g||!k.HTMLElement),Z=void 0!==_.process&&"[object process]"==={}.toString.call(_.process)&&!T&&!(!g||!k.HTMLElement),S={},D=function(e){if(!(e=e||_.event))return;let t=S[e.type];t||(t=S[e.type]=d("ON_PROPERTY"+e.type));const n=this||e.target||_,o=n[t];let r;if(E&&n===k&&"error"===e.type){const t=e;!0===(r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error))&&e.preventDefault()}else null==(r=o&&o.apply(this,arguments))||r||e.preventDefault();return r};function P(n,o,r){let s=e(n,o);if(!s&&r&&e(r,o)&&(s={enumerable:!0,configurable:!0}),!s||!s.configurable)return;const i=d("on"+o+"patched");if(n.hasOwnProperty(i)&&n[i])return;delete s.writable,delete s.value;const a=s.get,c=s.set,l=o.substr(2);let u=S[l];u||(u=S[l]=d("ON_PROPERTY"+l)),s.set=function(e){let t=this;t||n!==_||(t=_),t&&(t[u]&&t.removeEventListener(l,D),c&&c.apply(t,y),"function"==typeof e?(t[u]=e,t.addEventListener(l,D,!1)):t[u]=null)},s.get=function(){let e=this;if(e||n!==_||(e=_),!e)return null;const t=e[u];if(t)return t;if(a){let t=a&&a.call(this);if(t)return s.set.call(this,t),"function"==typeof e[m]&&e.removeAttribute(o),t}return null},t(n,o,s),n[i]=!0}function O(e,t,n){if(t)for(let o=0;o{const t=Object.getOwnPropertyDescriptor(c,e);Object.defineProperty(l,e,{get:function(){return c[e]},set:function(n){(!t||t.writable&&"function"==typeof t.set)&&(c[e]=n)},enumerable:!t||t.enumerable,configurable:!t||t.configurable})}))}var c,l;return a}function R(e,t,n){let o=null;function r(e){const t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},o.apply(t.target,t.args),e}o=I(e,t,e=>(function(t,o){const s=n(t,o);return s.cbIdx>=0&&"function"==typeof o[s.cbIdx]?f(s.name,o[s.cbIdx],s,r):e.apply(t,o)}))}function N(e,t){e[d("OriginalDelegate")]=t}let x=!1,M=!1;function L(){try{const e=k.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function A(){if(x)return M;x=!0;try{const e=k.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(M=!0)}catch(e){}return M}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=d("OriginalDelegate"),o=d("Promise"),r=d("Error"),s=function(){if("function"==typeof this){const s=this[n];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};s[n]=t,Function.prototype.toString=s;const i=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":i.call(this)}});let H=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){H=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(pe){H=!1}const F={useG:!0},G={},q={},B=new RegExp("^"+h+"(\\w+)(true|false)$"),W=d("propagationStopped");function U(e,t,o){const r=o&&o.add||s,a=o&&o.rm||i,c=o&&o.listeners||"eventListeners",p=o&&o.rmAll||"removeAllListeners",f=d(r),g="."+r+":",k="prependListener",_="."+k+":",m=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=e=>o.handleEvent(e),e.originalDelegate=o),e.invoke(e,t,[n]);const r=e.options;r&&"object"==typeof r&&r.once&&t[a].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},y=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[G[t.type][u]];if(o)if(1===o.length)m(o[0],n,t);else{const e=o.slice();for(let o=0;o(function(t,n){t[W]=!0,e&&e.apply(t,n)}))}function X(e,t,n,o,r){const s=Zone.__symbol__(o);if(t[s])return;const i=t[s]=t[o];t[o]=function(s,a,c){return a&&a.prototype&&r.forEach((function(t){const r=`${n}.${o}::`+t,s=a.prototype;if(s.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(s,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(a.prototype,t,n)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],r))})),i.call(t,s,a,c)},e.attachOriginToPatched(t[o],i)}const Y=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],J=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],K=["load"],Q=["blur","error","focus","load","resize","scroll","messageerror"],ee=["bounce","finish","start"],te=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],ne=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],oe=["close","error","open","message"],re=["error","message"],se=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],Y,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ie(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function ae(e,t,n,o){e&&O(e,ie(e,t,n),o)}function ce(e,t){if(w&&!Z)return;if(Zone[e.symbol("patchEvents")])return;const o="undefined"!=typeof WebSocket,r=t.__Zone_ignore_on_properties;if(E){const e=window,t=L?[{target:e,ignoreProperties:["error"]}]:[];ae(e,se.concat(["messageerror"]),r?r.concat(t):r,n(e)),ae(Document.prototype,se,r),void 0!==e.SVGElement&&ae(e.SVGElement.prototype,se,r),ae(Element.prototype,se,r),ae(HTMLElement.prototype,se,r),ae(HTMLMediaElement.prototype,J,r),ae(HTMLFrameSetElement.prototype,Y.concat(Q),r),ae(HTMLBodyElement.prototype,Y.concat(Q),r),ae(HTMLFrameElement.prototype,K,r),ae(HTMLIFrameElement.prototype,K,r);const o=e.HTMLMarqueeElement;o&&ae(o.prototype,ee,r);const s=e.Worker;s&&ae(s.prototype,re,r)}const s=t.XMLHttpRequest;s&&ae(s.prototype,te,r);const i=t.XMLHttpRequestEventTarget;i&&ae(i&&i.prototype,te,r),"undefined"!=typeof IDBIndex&&(ae(IDBIndex.prototype,ne,r),ae(IDBRequest.prototype,ne,r),ae(IDBOpenDBRequest.prototype,ne,r),ae(IDBDatabase.prototype,ne,r),ae(IDBTransaction.prototype,ne,r),ae(IDBCursor.prototype,ne,r)),o&&ae(WebSocket.prototype,oe,r)}Zone.__load_patch("util",(n,a,c)=>{c.patchOnProperties=O,c.patchMethod=I,c.bindArguments=v,c.patchMacroTask=R;const f=a.__symbol__("BLACK_LISTED_EVENTS"),d=a.__symbol__("UNPATCHED_EVENTS");n[d]&&(n[f]=n[d]),n[f]&&(a[f]=a[d]=n[f]),c.patchEventPrototype=V,c.patchEventTarget=U,c.isIEOrEdge=A,c.ObjectDefineProperty=t,c.ObjectGetOwnPropertyDescriptor=e,c.ObjectCreate=o,c.ArraySlice=r,c.patchClass=C,c.wrapWithCurrentZone=p,c.filterProperties=ie,c.attachOriginToPatched=N,c._redefineProperty=Object.defineProperty,c.patchCallbacks=X,c.getGlobalObjects=()=>({globalSources:q,zoneSymbolEventNames:G,eventNames:se,isBrowser:E,isMix:Z,isNode:w,TRUE_STR:l,FALSE_STR:u,ZONE_SYMBOL_PREFIX:h,ADD_EVENT_LISTENER_STR:s,REMOVE_EVENT_LISTENER_STR:i})});const le=d("zoneTask");function ue(e,t,n,o){let r=null,s=null;n+=o;const i={};function a(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete i[n.handleId]:n.handleId&&(n.handleId[le]=null))}},n.handleId=r.apply(e,n.args),t}function c(e){return s(e.data.handleId)}r=I(e,t+=o,n=>(function(r,s){if("function"==typeof s[0]){const e=f(t,s[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?s[1]||0:void 0,args:s},a,c);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?i[n]=e:n&&(n[le]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,s)})),s=I(e,n,t=>(function(n,o){const r=o[0];let s;"number"==typeof r?s=i[r]:(s=r&&r[le])||(s=r),s&&"string"==typeof s.type?"notScheduled"!==s.state&&(s.cancelFn&&s.data.isPeriodic||0===s.runCount)&&("number"==typeof r?delete i[r]:r&&(r[le]=null),s.zone.cancelTask(s)):t.apply(e,o)}))}function he(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:s,ZONE_SYMBOL_PREFIX:i}=t.getGlobalObjects();for(let c=0;c{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{ue(e,"set","clear","Timeout"),ue(e,"set","clear","Interval"),ue(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ue(e,"request","cancel","AnimationFrame"),ue(e,"mozRequest","mozCancel","AnimationFrame"),ue(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;o(function(o,s){return t.current.run(n,e,s,r)}))}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),he(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),C("MutationObserver"),C("WebKitMutationObserver"),C("IntersectionObserver"),C("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{ce(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const u=e.XMLHttpRequest;if(!u)return;const h=u.prototype;let p=h[a],g=h[c];if(!p){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;p=e[a],g=e[c]}}const k="readystatechange",_="scheduled";function m(e){const o=e.data,i=o.target;i[s]=!1,i[l]=!1;const u=i[r];p||(p=i[a],g=i[c]),u&&g.call(i,k,u);const h=i[r]=()=>{if(i.readyState===i.DONE)if(!o.aborted&&i[s]&&e.state===_){const n=i[t.__symbol__("loadfalse")];if(n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=i[t.__symbol__("loadfalse")];for(let t=0;t(function(e,t){return e[o]=0==t[2],e[i]=t[1],b.apply(e,t)})),T=d("fetchTaskAborting"),w=d("fetchTaskScheduling"),E=I(h,"send",()=>(function(e,n){if(!0===t.current[w])return E.apply(e,n);if(e[o])return E.apply(e,n);{const t={target:e,url:e[i],isPeriodic:!1,args:n,aborted:!1},o=f("XMLHttpRequest.send",y,t,m,v);e&&!0===e[l]&&!t.aborted&&o.state===_&&o.invoke()}})),Z=I(h,"abort",()=>(function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[T])return Z.apply(e,o)}))}(e);const n=d("xhrTask"),o=d("xhrSync"),r=d("xhrListener"),s=d("xhrScheduled"),i=d("xhrURL"),l=d("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,n){const o=t.constructor.name;for(let r=0;r{const t=function(){return e.apply(this,v(arguments,o+"."+s))};return N(t,e),t})(i)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){$(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[d("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[d("rejectionHandledHandler")]=n("rejectionhandled"))})})?o.call(t,n,t,e):o)||(e.exports=r)}},[[2,0]]]); \ No newline at end of file diff --git a/docs/polyfills-es5.c34c91054b52e6b4b841.js b/docs/polyfills-es5.c34c91054b52e6b4b841.js deleted file mode 100644 index 7a5d7954..00000000 --- a/docs/polyfills-es5.c34c91054b52e6b4b841.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"+5Eg":function(t,e,n){var r=n("wA6s"),o=n("6XUM"),i=n("M7Xk").onFreeze,a=n("cZY6"),c=n("rG8t"),u=Object.seal;r({target:"Object",stat:!0,forced:c((function(){u(1)})),sham:!a},{seal:function(t){return u&&o(t)?u(i(t)):t}})},"+IJR":function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},"/AsP":function(t,e,n){var r=n("yIiL"),o=n("SDMg"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"/Ybd":function(t,e,n){var r=n("T69T"),o=n("XdSI"),i=n("F26l"),a=n("LdO1"),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"0Ds2":function(t,e,n){var r=n("m41k")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(o){}}return!1}},"0luR":function(t,e,n){"use strict";var r=n("wA6s"),o=n("T69T"),i=n("ocAm"),a=n("OG5q"),c=n("6XUM"),u=n("/Ybd").f,s=n("NIlc"),f=i.Symbol;if(o&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new f(t):void 0===t?f():f(t);return""===t&&(l[e]=!0),e};s(p,f);var h=p.prototype=f.prototype;h.constructor=p;var v=h.toString,d="Symbol(test)"==String(f("test")),g=/^Symbol\((.*)\)[^)]+$/;u(h,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=v.call(t);if(a(l,t))return"";var n=d?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},1:function(t,e,n){n("mRIq"),n("R0gw"),t.exports=n("hN/g")},"149L":function(t,e,n){var r=n("Ew/G");t.exports=r("document","documentElement")},"1p6F":function(t,e,n){var r=n("6XUM"),o=n("ezU2"),i=n("m41k")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},"2MGJ":function(t,e,n){var r=n("ocAm"),o=n("yIiL"),i=n("HEFl"),a=n("OG5q"),c=n("Fqhe"),u=n("uxAC"),s=n("XH/I"),f=s.get,l=s.enforce,p=String(u).split("toString");o("inspectSource",(function(t){return u.call(t)})),(t.exports=function(t,e,n,o){var u=!!o&&!!o.unsafe,s=!!o&&!!o.enumerable,f=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof e||a(n,"name")||i(n,"name",e),l(n).source=p.join("string"==typeof e?e:"")),t!==r?(u?!f&&t[e]&&(s=!0):delete t[e],s?t[e]=n:i(t,e,n)):s?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||u.call(this)}))},"2RDa":function(t,e,n){var r=n("F26l"),o=n("5y2d"),i=n("aAjO"),a=n("yQMY"),c=n("149L"),u=n("qx7X"),s=n("/AsP")("IE_PROTO"),f=function(){},l=function(){var t,e=u("iframe"),n=i.length;for(e.style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("