-
Notifications
You must be signed in to change notification settings - Fork 0
/
main-es2015.3f40e0aefd9cd847bd91.js
1 lines (1 loc) · 143 KB
/
main-es2015.3f40e0aefd9cd847bd91.js
1
(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})}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}function u(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}u.prototype=Object.create(Error.prototype);const d=u;let h=(()=>{class e{constructor(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let e,t=!1;if(this.closed)return;let{_parent:n,_parents:s,_unsubscribe:o,_subscriptions:i}=this;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;let l=-1,u=s?s.length:0;for(;n;)n.remove(this),n=++l<u&&s[l]||null;if(r(o))try{o.call(this)}catch(h){t=!0,e=h instanceof d?f(h.errors):[h]}if(a(i))for(l=-1,u=i.length;++l<u;){const n=i[l];if(c(n))try{n.unsubscribe()}catch(h){t=!0,e=e||[],h instanceof d?e=e.concat(f(h.errors)):e.push(h)}}if(t)throw new d(e)}add(t){let n=t;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;(n=new e)._subscriptions=[t]}break;default:if(!t)return e.EMPTY;throw new Error("unrecognized teardown "+t+" added to Subscription.")}if(n._addParent(this)){const e=this._subscriptions;e?e.push(n):this._subscriptions=[n]}return n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}_addParent(e){let{_parent:t,_parents:n}=this;return t!==e&&(t?n?-1===n.indexOf(e)&&(n.push(e),!0):(this._parents=[e],!0):(this._parent=e,!0))}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function f(e){return e.reduce((e,t)=>e.concat(t instanceof d?t.errors:t),[])}const p="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class g extends h{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 g?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new m(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new m(this,e,t,n)}}[p](){return this}static create(e,t,n){const r=new g(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{_parent:e,_parents:t}=this;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this}}class m extends g{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 _="function"==typeof Symbol&&Symbol.observable||"@@observable";function y(){}let w=(()=>{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 g)return e;if(e[p])return e[p]()}return e||t||n?new g(e,t,n):new g(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 g?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=b(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)}[_](){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)}:y)(this);var t}toPromise(e){return new(e=b(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function b(e){if(e||(e=o.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function v(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}v.prototype=Object.create(Error.prototype);const C=v;class E extends h{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 x extends g{constructor(e){super(e),this.destination=e}}let k=(()=>{class e extends w{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new x(this)}lift(e){const t=new T(this,this);return t.operator=e,t}next(e){if(this.closed)throw new C;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].next(e)}}error(e){if(this.closed)throw new C;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new C;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new C;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new C;return this.hasError?(e.error(this.thrownError),h.EMPTY):this.isStopped?(e.complete(),h.EMPTY):(this.observers.push(e),new E(this,e))}asObservable(){const e=new w;return e.source=this,e}}return e.create=(e,t)=>new T(e,t),e})();class T extends k{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):h.EMPTY}}class I extends g{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 S=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()},N=e=>t=>(e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,i),t);function A(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const D=A(),O=e=>t=>{const n=e[D]();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},R=e=>t=>{const n=e[_]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)},M=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function P(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const V=e=>{if(e instanceof w)return t=>e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t);if(e&&"function"==typeof e[_])return R(e);if(M(e))return S(e);if(P(e))return N(e);if(e&&"function"==typeof e[D])return O(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 F extends g{notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class H{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new j(e,this.project,this.thisArg))}}class j extends g{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)}}function L(e,t){return new w(t?n=>{const r=new h;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}:S(e))}class B{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new z(e,this.project,this.concurrent))}}class z extends F{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.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}_innerSub(e,t,n){const r=new I(this,void 0,void 0);this.destination.add(r),function(e,t,n,r,s=new I(e,n,r)){s.closed||V(t)(s)}(this,e,t,n,r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,r,s){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function $(e){return e}function U(){return function(e){return e.lift(new Z(e))}}class Z{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new Q(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class Q extends g{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()}}const q=class extends w{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 h).add(this.source.subscribe(new G(this.getSubject(),this))),e.closed?(this._connection=null,e=h.EMPTY):this._connection=e),e}refCount(){return U()(this)}}.prototype,W={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:q._subscribe},_isComplete:{value:q._isComplete,writable:!0},getSubject:{value:q.getSubject},connect:{value:q.connect},refCount:{value:q.refCount}};class G extends x{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 K(){return new k}const J="__parameters__";function Y(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(J)?e[J]:Object.defineProperty(e,J,{value:[]})[J];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 X=Y("Inject",e=>({token:e})),ee=Y("Optional"),te=Y("Self"),ne=Y("SkipSelf");var re=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 se(e){for(let t in e)if(e[t]===se)return t;throw Error("Could not find renamed property on target object.")}function oe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ie(e){const t=e[le];return t&&t.token===e?t:null}const le=se({ngInjectableDef:se});function ae(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(ae).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 ce=se({__forward_ref__:se});function ue(e){return e.__forward_ref__=ue,e.toString=function(){return ae(this())},e}function de(e){const t=e;return"function"==typeof t&&t.hasOwnProperty(ce)&&t.__forward_ref__===ue?t():e}const he="undefined"!=typeof globalThis&&globalThis,fe="undefined"!=typeof window&&window,pe="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ge="undefined"!=typeof global&&global,me=he||ge||fe||pe;class _e{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=oe({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const ye=new _e("INJECTOR",-1),we=new Object,be="ngTempTokenPath",ve="ngTokenPath",Ce=/\n/gm,Ee="\u0275",xe="__source",ke=se({provide:String,useValue:se});let Te=void 0;function Ie(e){const t=Te;return Te=e,t}function Se(e,t=re.Default){if(void 0===Te)throw new Error("inject() must be called from an injection context");return null===Te?function(e,t,n){const r=ie(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&re.Optional)return null;throw new Error(`Injector: NOT_FOUND [${ae(e)}]`)}(e,0,t):Te.get(e,t&re.Optional?null:void 0,t)}class Ne{get(e,t=we){if(t===we){const t=new Error(`NullInjectorError: No provider for ${ae(e)}!`);throw t.name="NullInjectorError",t}return t}}function Ae(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Ee?e.substr(2):e;let s=ae(t);if(t instanceof Array)s=t.map(ae).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):ae(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Ce,"\n ")}`}class De{}class Oe{}function Re(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Me(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const Pe=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}(),Ve=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(me))(),Fe="ngDebugContext",He="ngOriginalError",je="ngErrorLogger";function Le(e){return e[Fe]}function Be(e){return e[He]}function ze(e,...t){e.error(...t)}class $e{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[je]||ze}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Le(e)?Le(e):this._findContext(Be(e)):null}_findOriginalError(e){let t=Be(e);for(;t&&Be(t);)t=Be(t);return t}}let Ue=!0,Ze=!1;function Qe(){return Ze=!0,Ue}class qe{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='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',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="<body><remove></remove>"+e+"</body>";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="<body><remove></remove>"+e+"</body>";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;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const We=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ge=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Ke(e){return(e=String(e)).match(We)||e.match(Ge)?e:(Qe()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function Je(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ye(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Xe=Je("area,br,col,hr,img,wbr"),et=Je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),tt=Je("rp,rt"),nt=Ye(tt,et),rt=Ye(Xe,Ye(et,Je("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ye(tt,Je("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),nt),st=Je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ot=Je("srcset"),it=Ye(st,ot,Je("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Je("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),lt=Je("script,style,template");class at{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!rt.hasOwnProperty(t))return this.sanitizedSomething=!0,!lt.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let s=0;s<n.length;s++){const e=n.item(s),t=e.name,o=t.toLowerCase();if(!it.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let i=e.value;st[o]&&(i=Ke(i)),ot[o]&&(r=i,i=(r=String(r)).split(",").map(e=>Ke(e.trim())).join(", ")),this.buf.push(" ",t,'="',dt(i),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();rt.hasOwnProperty(t)&&!Xe.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(dt(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 ct=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ut=/([^\#-~ |!])/g;function dt(e){return e.replace(/&/g,"&").replace(ct,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(ut,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}let ht;function ft(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const pt=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 gt{}const mt=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"),_t=/^url\(([^)]+)\)$/,yt=/([A-Z])/g;function wt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}let bt=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>vt(),e})();const vt=(...e)=>{},Ct=new _e("The presence of this token marks an injector as being the root injector."),Et=function(e,t,n){return new At(e,t,n)};let xt=(()=>{class e{static create(e,t){return Array.isArray(e)?Et(e,t,""):Et(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=we,e.NULL=new Ne,e.ngInjectableDef=oe({token:e,providedIn:"any",factory:()=>(function(e,t=re.Default){return Se(e,t)})(ye)}),e.__NG_ELEMENT_ID__=-1,e})();const kt=function(e){return e},Tt=[],It=kt,St=function(){return Array.prototype.slice.call(arguments)},Nt="\u0275";class At{constructor(e,t=xt.NULL,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(xt,{token:xt,fn:kt,deps:Tt,value:this,useNew:!1}),r.set(ye,{token:ye,fn:kt,deps:Tt,value:this,useNew:!1}),function e(t,n){if(n)if((n=de(n))instanceof Array)for(let r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Ot("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Ot("Unexpected provider",n);{let e=de(n.provide);const r=function(e){const t=function(e){let t=Tt;const n=e.deps;if(n&&n.length){t=[];for(let e=0;e<n.length;e++){let r=6,s=de(n[e]);if(s instanceof Array)for(let e=0,t=s;e<t.length;e++){const n=t[e];n instanceof ee||n==ee?r|=1:n instanceof ne||n==ne?r&=-3:n instanceof te||n==te?r&=-5:s=n instanceof X?n.token:de(n)}t.push({token:s,options:r})}}else if(e.useExisting)t=[{token:de(e.useExisting),options:6}];else if(!(n||ke in e))throw Ot("'deps' required",e);return t}(e);let n=kt,r=Tt,s=!1,o=de(e.provide);if(ke in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)s=!0,n=de(e.useClass);else{if("function"!=typeof o)throw Ot("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);s=!0,n=o}return{deps:t,fn:n,useNew:s,value:r}}(n);if(!0===n.multi){let r=t.get(e);if(r){if(r.fn!==St)throw Dt(e)}else t.set(e,r={token:n.provide,deps:[],useNew:!1,fn:St,value:Tt});r.deps.push({token:e=n,options:6})}const s=t.get(e);if(s&&s.fn==St)throw Dt(e);t.set(e,r)}}}(r,e)}get(e,t,n=re.Default){const r=this._records.get(e);try{return function e(t,n,r,s,o,i){try{return function(t,n,r,s,o,i){let l;if(!n||i&re.SkipSelf)i&re.Self||(l=s.get(t,o,re.Default));else{if((l=n.value)==It)throw Error(Nt+"Circular dependency");if(l===Tt){n.value=It;let t=void 0,o=n.useNew,i=n.fn,a=n.deps,c=Tt;if(a.length){c=[];for(let t=0;t<a.length;t++){const n=a[t],o=n.options,i=2&o?r.get(n.token):void 0;c.push(e(n.token,i,r,i||4&o?s:xt.NULL,1&o?null:xt.THROW_IF_NOT_FOUND,re.Default))}}n.value=l=o?new i(...c):i.apply(t,c)}}return l}(t,n,r,s,o,i)}catch(l){throw l instanceof Error||(l=new Error(l)),(l[be]=l[be]||[]).unshift(t),n&&n.value==It&&(n.value=Tt),l}}(e,r,this._records,this.parent,t,n)}catch(s){return function(e,t,n,r){const s=e[be];throw t[xe]&&s.unshift(t[xe]),e.message=Ae("\n"+e.message,s,"StaticInjectorError",r),e[ve]=s,e[be]=null,e}(s,e,0,this.source)}}toString(){const e=[];return this._records.forEach((t,n)=>e.push(ae(n))),`StaticInjector[${e.join(", ")}]`}}function Dt(e){return Ot("Cannot mix multi providers and regular providers",e)}function Ot(e,t){return new Error(Ae(e,t,"StaticInjectorError"))}let Rt=null;function Mt(){if(!Rt){const e=me.Symbol;if(e&&e.iterator)Rt=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Rt=n)}}}return Rt}function Pt(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Vt(e,t){const n=Ht(e),r=Ht(t);if(n&&r)return function(e,t,n){const r=e[Mt()](),s=t[Mt()]();for(;;){const e=r.next(),t=s.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,Vt);{const s=e&&("object"==typeof e||"function"==typeof e),o=t&&("object"==typeof t||"function"==typeof t);return!(n||!s||r||!o)||Pt(e,t)}}class Ft{constructor(e){this.wrapped=e}static wrap(e){return new Ft(e)}static unwrap(e){return Ft.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof Ft}}function Ht(e){return!!jt(e)&&(Array.isArray(e)||!(e instanceof Map)&&Mt()in e)}function jt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Lt(e){return!!e&&"function"==typeof e.then}class Bt{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}class zt{}class $t{}function Ut(e){const t=Error(`No component factory found for ${ae(e)}. Did you add it to @NgModule.entryComponents?`);return t[Zt]=e,t}const Zt="ngComponent";class Qt{resolveComponentFactory(e){throw Ut(e)}}let qt=(()=>{class e{}return e.NULL=new Qt,e})();class Wt{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;r<e.length;r++){const t=e[r];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Ut(e);return new Gt(t,this._ngModule)}}class Gt extends $t{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}function Kt(...e){}let Jt=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Yt(e),e})();const Yt=Kt;class Xt{}class en{}const tn=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let nn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>rn(),e})();const rn=Kt;class sn{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const on=new sn("8.2.13");class ln{constructor(){}supports(e){return Ht(e)}create(e){return new cn(e)}}const an=(e,t)=>t;class cn{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||an}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<fn(n,r,s)?t:n,i=fn(o,r,s),l=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{s||(s=[]);const e=i-r,t=l-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,o=r+n;t<=o&&o<e&&(s[n]=r+1)}s[o.previousIndex]=t-e}}i!==l&&e(o,i,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Ht(e))throw new Error(`Error trying to diff '${ae(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,s=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)r=this._trackByFn(t,n=e[t]),null!==s&&Pt(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,n,r,t)),Pt(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),o=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Mt()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==s&&Pt(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,e,r,t)),Pt(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))?(Pt(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Pt(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new un(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 hn),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 hn),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 un{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 dn{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)&&Pt(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 hn{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new dn,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 fn(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class pn{constructor(){}supports(e){return e instanceof Map||jt(e)}create(){return new gn}}class gn{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||jt(e)))throw new Error(`Error trying to diff '${ae(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{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 mn(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){Pt(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 mn{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 _n=(()=>{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 ne,new ee]]}}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=oe({token:e,providedIn:"root",factory:()=>new e([new ln])}),e})(),yn=(()=>{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 ne,new ee]]}}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=oe({token:e,providedIn:"root",factory:()=>new e([new pn])}),e})();const wn=[new pn],bn=new _n([new ln]),vn=new yn(wn);let Cn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>En(e,Jt),e})();const En=Kt;let xn=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>kn(e,Jt),e})();const kn=Kt;function Tn(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 In(n,t),n}(s,e)}function In(e,t){e[Fe]=t,e[je]=t.logError.bind(t)}function Sn(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function Nn(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 An(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Dn(e,t){return e.nodes[t]}function On(e,t){return e.nodes[t]}function Rn(e,t){return e.nodes[t]}function Mn(e,t){return e.nodes[t]}function Pn(e,t){return e.nodes[t]}const Vn={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},Fn=()=>{},Hn=new Map;function jn(e){let t=Hn.get(e);return t||(t=ae(e)+"_"+Hn.size,Hn.set(e,t)),t}const Ln="$$undefined",Bn="$$empty";function zn(e){return{id:Ln,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let $n=0;function Un(e,t,n,r){return!(!(2&e.state)&&Pt(e.oldValues[t.bindingIndex+n],r))}function Zn(e,t,n,r){return!!Un(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Qn(e,t,n,r){const s=e.oldValues[t.bindingIndex+n];if(1&e.state||!Vt(s,r)){const o=t.bindings[n].name;throw Tn(Vn.createDebugContext(e,t.nodeIndex),`${o}: ${s}`,`${o}: ${r}`,0!=(1&e.state))}}function qn(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Wn(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Gn(e,t,n,r){try{return qn(33554432&e.def.nodes[t].flags?On(e,t).componentView:e),Vn.handleEvent(e,t,n,r)}catch(s){e.root.errorHandler.handleError(s)}}function Kn(e){return e.parent?On(e.parent,e.parentNodeDef.nodeIndex):null}function Jn(e){return e.parent?e.parentNodeDef.parent:null}function Yn(e,t){switch(201347067&t.flags){case 1:return On(e,t.nodeIndex).renderElement;case 2:return Dn(e,t.nodeIndex).renderText}}function Xn(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function er(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function tr(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<<e%32}(e)):r[e]=s}),{matchedQueries:t,references:r,matchedQueryIds:n}}function nr(e,t){return e.map(e=>{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,xe,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:jn(n)}})}function rr(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Pe.Native?On(e,n.renderParent.nodeIndex).renderElement:void 0:t}const sr=new WeakMap;function or(e){let t=sr.get(e);return t||((t=e(()=>Fn)).factory=e,sr.set(e,t)),t}function ir(e,t,n,r,s){3===t&&(n=e.renderer.parentNode(Yn(e,e.def.lastRenderRootNode))),lr(e,t,0,e.def.nodes.length-1,n,r,s)}function lr(e,t,n,r,s,o,i){for(let l=n;l<=r;l++){const n=e.def.nodes[l];11&n.flags&&cr(e,n,t,s,o,i),l+=n.childCount}}function ar(e,t,n,r,s,o){let i=e;for(;i&&!Xn(i);)i=i.parent;const l=i.parent,a=Jn(i),c=a.nodeIndex+a.childCount;for(let u=a.nodeIndex+1;u<=c;u++){const e=l.def.nodes[u];e.ngContentIndex===t&&cr(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<i.length;t++)ur(e,i[t],n,r,s,o)}}function cr(e,t,n,r,s,o){if(8&t.flags)ar(e,t.ngContent.index,n,r,s,o);else{const i=Yn(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&ur(e,i,n,r,s,o),32&t.bindingFlags&&ur(On(e,t.nodeIndex).componentView,i,n,r,s,o)):ur(e,i,n,r,s,o),16777216&t.flags){const i=On(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<i.length;e++)ir(i[e],n,r,s,o)}1&t.flags&&!t.element.name&&lr(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,s,o)}}function ur(e,t,n,r,s,o){const i=e.renderer;switch(n){case 1:i.appendChild(r,t);break;case 2:i.insertBefore(r,t,s);break;case 3:i.removeChild(r,t);break;case 0:o.push(t)}}const dr=/^:([^:]+):(.+)$/;function hr(e){if(":"===e[0]){const t=e.match(dr);return[t[1],t[2]]}return["",e]}function fr(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}const pr=new Object,gr=jn(xt),mr=jn(ye),_r=jn(De);function yr(e,t,n,r){return n=de(n),{index:-1,deps:nr(r,ae(t)),flags:e,token:t,value:n}}function wr(e,t,n=xt.THROW_IF_NOT_FOUND){const r=Ie(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const i=t.tokenKey;switch(i){case gr:case mr:case _r:return e}const l=e._def.providersByKey[i];let a;if(l){let t=e._providers[l.index];return void 0===t&&(t=e._providers[l.index]=br(e,l)),t===pr?void 0:t}if((a=ie(t.token))&&(s=e,null!=(o=a).providedIn&&(function(e,t){return e._def.modules.indexOf(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]=pr,e._providers[n]=br(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Ie(r)}var s,o}function br(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(wr(e,n[0]));case 2:return new t(wr(e,n[0]),wr(e,n[1]));case 3:return new t(wr(e,n[0]),wr(e,n[1]),wr(e,n[2]));default:const s=new Array(r);for(let t=0;t<r;t++)s[t]=wr(e,n[t]);return new t(...s)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(wr(e,n[0]));case 2:return t(wr(e,n[0]),wr(e,n[1]));case 3:return t(wr(e,n[0]),wr(e,n[1]),wr(e,n[2]));default:const s=Array(r);for(let t=0;t<r;t++)s[t]=wr(e,n[t]);return t(...s)}}(e,t.value,t.deps);break;case 2048:n=wr(e,t.deps[0]);break;case 256:n=t.value}return n===pr||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?pr:n}function vr(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,Me(n,t),Vn.dirtyParentQueries(r),Er(r),r}function Cr(e,t,n){const r=t?Yn(t,t.def.lastRenderRootNode):e.renderElement,s=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);ir(n,2,s,o,void 0)}function Er(e){ir(e,3,null,null,void 0)}const xr=new Object;function kr(e,t,n,r,s,o){return new Tr(e,t,n,r,s,o)}class Tr extends $t{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=or(this.viewDefFactory),o=s.nodes[0].element.componentProvider.nodeIndex,i=Vn.createRootView(e,t||[],n,s,r,xr),l=Rn(i,o).instance;return n&&i.renderer.setAttribute(On(i,0).renderElement,"ng-version",on.full),new Ir(i,new Dr(i),l)}}class Ir extends zt{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 Jt(On(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Pr(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function Sr(e,t,n){return new Nr(e,t,n)}class Nr{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Jt(this._data.renderElement)}get injector(){return new Pr(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=Jn(e),e=e.parent;return e?new Pr(e,t):new Pr(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=vr(this._data,e);Vn.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new Dr(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 Gt||(s=o.get(De));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,Re(s,n,r),function(e,t){const n=Kn(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),Vn.dirtyParentQueries(r),Cr(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];Me(r,t),null==n&&(n=r.length),Re(r,n,s),Vn.dirtyParentQueries(s),Er(s),Cr(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=vr(this._data,e);t&&Vn.destroyView(t)}detach(e){const t=vr(this._data,e);return t?new Dr(t):null}}function Ar(e){return new Dr(e)}class Dr{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return ir(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(){qn(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{Vn.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){Vn.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)),Vn.destroyView(this._view)}detachFromAppRef(){this._appRef=null,Er(this._view),Vn.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 Or(e,t){return new Rr(e,t)}class Rr extends Cn{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new Dr(Vn.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Jt(On(this._parentView,this._def.nodeIndex).renderElement)}}function Mr(e,t){return new Pr(e,t)}class Pr{constructor(e,t){this.view=e,this.elDef=t}get(e,t=xt.THROW_IF_NOT_FOUND){return Vn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:jn(e)},t)}}function Vr(e){return new Fr(e.renderer)}class Fr{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,r]=hr(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;n<t.length;n++)this.delegate.appendChild(e,t[n])}attachViewAfter(e,t){const n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e);for(let s=0;s<t.length;s++)this.delegate.insertBefore(n,t[s],r)}detachView(e){for(let t=0;t<e.length;t++){const n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}}destroyView(e,t){for(let n=0;n<t.length;n++)this.delegate.destroyNode(t[n])}listen(e,t,n){return this.delegate.listen(e,t,n)}listenGlobal(e,t,n){return this.delegate.listen(e,t,n)}setElementProperty(e,t,n){this.delegate.setProperty(e,t,n)}setElementAttribute(e,t,n){const[r,s]=hr(t);null!=n?this.delegate.setAttribute(e,s,n,r):this.delegate.removeAttribute(e,s,r)}setBindingDebugInfo(e,t,n){}setElementClass(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)}setElementStyle(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)}invokeElementMethod(e,t,n){e[t].apply(e,n)}setText(e,t){this.delegate.setValue(e,t)}animate(){throw new Error("Renderer.animate is no longer supported!")}}function Hr(e,t,n,r){return new jr(e,t,n,r)}class jr{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=new Array(t.providers.length);for(let r=0;r<t.providers.length;r++){const s=t.providers[r];4096&s.flags||void 0===n[r]&&(n[r]=br(e,s))}}(this)}get(e,t=xt.THROW_IF_NOT_FOUND,n=re.Default){let r=0;return n&re.SkipSelf?r|=1:n&re.Self&&(r|=4),wr(this,{token:e,tokenKey:jn(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(qt)}destroy(){if(this._destroyed)throw new Error(`The ng module ${ae(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let s=0;s<n.providers.length;s++)if(131072&n.providers[s].flags){const t=e._providers[s];if(t&&t!==pr){const e=t.ngOnDestroy;"function"!=typeof e||r.has(t)||(e.apply(t),r.add(t))}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}const Lr=jn(Xt),Br=jn(nn),zr=jn(Jt),$r=jn(xn),Ur=jn(Cn),Zr=jn(bt),Qr=jn(xt),qr=jn(ye);function Wr(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}=tr(n);a||(a=[]),l||(l=[]),o=de(o);const h=nr(i,ae(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:fr(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 Gr(e,t){return Xr(e,t)}function Kr(e,t){let n=e;for(;n.parent&&!Xn(n);)n=n.parent;return es(n.parent,Jn(n),!0,t.provider.value,t.provider.deps)}function Jr(e,t){const n=es(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let s=0;s<t.outputs.length;s++){const o=t.outputs[s],i=n[o.propName];if(!(r=i)||"function"!=typeof r.subscribe)throw new Error(`@Output ${o.propName} not initialized in '${n.constructor.name}'.`);{const n=i.subscribe(Yr(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+s]=n.unsubscribe.bind(n)}}var r;return n}function Yr(e,t,n){return r=>Gn(e,t,n,r)}function Xr(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return es(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(ns(e,t,n,s[0]));case 2:return r(ns(e,t,n,s[0]),ns(e,t,n,s[1]));case 3:return r(ns(e,t,n,s[0]),ns(e,t,n,s[1]),ns(e,t,n,s[2]));default:const i=Array(o);for(let r=0;r<o;r++)i[r]=ns(e,t,n,s[r]);return r(...i)}}(e,t.parent,n,r.value,r.deps);case 2048:return ns(e,t.parent,n,r.deps[0]);case 256:return r.value}}function es(e,t,n,r,s){const o=s.length;switch(o){case 0:return new r;case 1:return new r(ns(e,t,n,s[0]));case 2:return new r(ns(e,t,n,s[0]),ns(e,t,n,s[1]));case 3:return new r(ns(e,t,n,s[0]),ns(e,t,n,s[1]),ns(e,t,n,s[2]));default:const i=new Array(o);for(let r=0;r<o;r++)i[r]=ns(e,t,n,s[r]);return new r(...i)}}const ts={};function ns(e,t,n,r,s=xt.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const o=e;2&r.flags&&(s=null);const i=r.tokenKey;i===Zr&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let l=e;for(;l;){if(t)switch(i){case Lr:return Vr(rs(l,t,n));case Br:return rs(l,t,n).renderer;case zr:return new Jt(On(l,t.nodeIndex).renderElement);case $r:return On(l,t.nodeIndex).viewContainer;case Ur:if(t.element.template)return On(l,t.nodeIndex).template;break;case Zr:return Ar(rs(l,t,n));case Qr:case qr:return Mr(l,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[i];if(e){let t=Rn(l,e.nodeIndex);return t||(t={instance:Xr(l,e)},l.nodes[e.nodeIndex]=t),t.instance}}n=Xn(l),t=Jn(l),l=l.parent,4&r.flags&&(l=null)}const a=o.root.injector.get(r.token,ts);return a!==ts||s===ts?a:o.root.ngModule.injector.get(r.token,s)}function rs(e,t,n){let r;if(n)r=On(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Xn(r);)r=r.parent;return r}function ss(e,t,n,r,s,o){if(32768&n.flags){const t=On(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[r].name]=s,524288&n.flags){o=o||{};const t=Ft.unwrap(e.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new Bt(t,s,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=s,o}function os(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let s=0;s<n.length;s++){const o=n[s];let i=o.parent;for(!i&&o.flags&t&&ls(e,s,o.flags&t,r++),0==(o.childFlags&t)&&(s+=o.childCount);i&&1&i.flags&&s===i.nodeIndex+i.childCount;)i.directChildFlags&t&&(r=is(e,i,t,r)),i=i.parent}}function is(e,t,n,r){for(let s=t.nodeIndex+1;s<=t.nodeIndex+t.childCount;s++){const t=e.def.nodes[s];t.flags&n&&ls(e,s,t.flags&n,r++),s+=t.childCount}return r}function ls(e,t,n,r){const s=Rn(e,t);if(!s)return;const o=s.instance;o&&(Vn.setCurrentNode(e,t),1048576&n&&An(e,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&An(e,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}const as=new _e("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Ve}),cs={},us=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}(),ds=void 0;var hs=["en",[["a","p"],["AM","PM"],ds],[["AM","PM"],ds,ds],[["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"]],ds,[["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"]],ds,[["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}",ds,"{1} 'at' {0}",ds],[".",",",";","%","+","-","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 fs="en-US";let ps=fs;function gs(e){var t;t="Expected localeId to be defined",null==e&&function(e){throw new Error(`ASSERTION ERROR: ${e}`)}(t),"string"==typeof e&&(ps=e.toLowerCase().replace(/_/g,"-"))}class ms extends k{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 h&&e.add(i),i}}function _s(){return this._results[Mt()]()}class ys{constructor(){this.dirty=!0,this._results=[],this.changes=new ms,this.length=0;const e=Mt(),t=ys.prototype;t[e]||(t[e]=_s)}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<t.length;r++){let s=t[r];Array.isArray(s)?(n===t&&(n=t.slice(0,r)),e(s,n)):n!==t&&n.push(s)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}const ws=new _e("Application Initializer");class bs{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{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<this.appInits.length;n++){const t=this.appInits[n]();Lt(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}const vs=new _e("AppId");function Cs(){return`${Es()}${Es()}${Es()}`}function Es(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const xs=new _e("Platform Initializer"),ks=new _e("Platform ID"),Ts=new _e("appBootstrapListener");class Is{log(e){console.log(e)}warn(e){console.warn(e)}}const Ss=new _e("LocaleId"),Ns=!1;function As(){throw new Error("Runtime compiler is not loaded")}const Ds=As,Os=As,Rs=As,Ms=As;class Ps{constructor(){this.compileModuleSync=Ds,this.compileModuleAsync=Os,this.compileModuleAndAllComponentsSync=Rs,this.compileModuleAndAllComponentsAsync=Ms}clearCache(){}clearCacheFor(e){}getModuleId(e){}}class Vs{}let Fs,Hs;function js(){const e=me.wtf;return!(!e||!(Fs=e.trace)||(Hs=Fs.events,0))}const Ls=js();function Bs(e,t){return null}const zs=Ls?function(e,t=null){return Hs.createScope(e,t)}:(e,t)=>Bs,$s=Ls?function(e,t){return Fs.leaveScope(e,t),t}:(e,t)=>t,Us=(()=>Promise.resolve(0))();function Zs(e){"undefined"==typeof Zone?Us.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Qs{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ms(!1),this.onMicrotaskEmpty=new ms(!1),this.onStable=new ms(!1),this.onError=new ms(!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 Ks(t),e.invokeTask(r,s,o,i)}finally{Js(t)}},onInvoke:(e,n,r,s,o,i,l)=>{try{return Ks(t),e.invoke(r,s,o,i,l)}finally{Js(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t.hasPendingMicrotasks=s.microTask,Gs(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(!Qs.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Qs.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,Ws,qs,qs);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 qs(){}const Ws={};function Gs(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 Ks(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Js(e){e._nesting--,Gs(e)}class Ys{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ms,this.onMicrotaskEmpty=new ms,this.onStable=new ms,this.onError=new ms}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}class Xs{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:()=>{Qs.assertNotInAngularZone(),Zs(()=>{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())Zs(()=>{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 eo{constructor(){this._applications=new Map,ro.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 ro.findTestabilityInTree(this,e,t)}}class to{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let no,ro=new to,so=function(e,t,n){return e.get(Vs).createCompiler([t]).compileModuleAsync(n)},oo=function(e){return e instanceof Gt};const io=new _e("AllowMultipleToken");class lo{constructor(e,t){this.name=e,this.token=t}}function ao(e,t,n=[]){const r=`Platform: ${t}`,s=new _e(r);return(t=[])=>{let o=co();if(!o||o.injector.get(io,!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(no&&!no.destroyed&&!no.injector.get(io,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");no=e.get(uo);const t=e.get(xs,null);t&&t.forEach(e=>e())}(xt.create({providers:e,name:r}))}return function(e){const t=co();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 co(){return no&&!no.destroyed?no:null}class uo{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 Ys:("zone.js"===s?void 0:s)||new Qs({enableLongStackTrace:Qe()}),r=[{provide:Qs,useValue:n}];var s;return n.run(()=>{const t=xt.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),o=s.injector.get($e,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return Ns&&gs(s.injector.get(Ss,fs)||fs),s.onDestroy(()=>po(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const r=n();return Lt(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(bs);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=ho({},t);return so(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(fo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${ae(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 ho(e,t){return Array.isArray(t)?t.reduce(ho,e):Object.assign({},e,t)}let fo=(()=>{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=Qe(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new w(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),l=new w(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Qs.assertNotInAngularZone(),Zs(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Qs.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 w?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 w?e:new w(V(e))})(t(e,r)).pipe(function(e,t){return function(t){return t.lift(new H(e,void 0))}}((t,s)=>n(e,t,r,s))),r)):("number"==typeof n&&(r=n),e=>e.lift(new B(t,r)))}($,e)}(t)(L(e,n))}(i,l.pipe(e=>U()(function(e,t){return function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,W);return r.source=t,r.subjectFactory=n,r}}(K)(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 $t?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=oo(n)?null:this._injector.get(De),s=n.create(xt.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const o=s.injector.get(Xs,null);return o&&s.injector.get(eo).registerApplication(s.location.nativeElement,o),this._loadComponent(s),Qe()&&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,$s(t)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;po(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Ts,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),po(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e._tickScope=zs("ApplicationRef#tick()"),e})();function po(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class go{constructor(e,t){this.name=e,this.callback=t}}class mo{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof _o&&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 _o extends mo{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 _o&&(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 _o&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof _o&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof _o)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}const yo=new Map,wo=function(e){return yo.get(e)||null};function bo(e){yo.set(e.nativeNode,e)}const vo=ao(null,"core",[{provide:ks,useValue:"unknown"},{provide:uo,deps:[xt]},{provide:eo,deps:[]},{provide:Is,deps:[]}]);function Co(){return bn}function Eo(){return vn}function xo(e){return e?(Ns&&gs(e),e):fs}function ko(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}class To{constructor(e){}}function Io(e,t,n,r,s,o){e|=1;const{matchedQueries:i,references:l,matchedQueryIds:a}=tr(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:i,matchedQueryIds:a,references:l,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?or(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:s||Fn},provider:null,text:null,query:null,ngContent:null}}function So(e,t,n,r,s,o,i=[],l,a,c,u,d){c||(c=Fn);const{matchedQueries:h,references:f,matchedQueryIds:p}=tr(n);let g=null,m=null;o&&([g,m]=hr(o)),l=l||[];const _=new Array(l.length);for(let b=0;b<l.length;b++){const[e,t,n]=l[b],[r,s]=hr(t);let o=void 0,i=void 0;switch(15&e){case 4:i=n;break;case 1:case 8:o=n}_[b]={flags:e,ns:r,name:s,nonMinifiedName:s,securityContext:o,suffix:i}}a=a||[];const y=new Array(a.length);for(let b=0;b<a.length;b++){const[e,t]=a[b];y[b]={type:0,target:e,eventName:t,propName:null}}const w=(i=i||[]).map(([e,t])=>{const[n,r]=hr(e);return[n,r,t]});return d=function(e){if(e&&e.id===Ln){const t=null!=e.encapsulation&&e.encapsulation!==Pe.None||e.styles.length||Object.keys(e.data).length;e.id=t?`c${$n++}`:Bn}return e&&e.id===Bn&&(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:fr(_),outputs:y,element:{ns:g,name:m,attrs:w,template:null,componentProvider:null,componentView:u||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:c||Fn},provider:null,text:null,query:null,ngContent:null}}function No(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=rr(e,t,n);s&&o.appendChild(s,i)}else i=o.selectRootElement(s,!!r.componentRendererType&&r.componentRendererType.encapsulation===Pe.ShadowDom);if(r.attrs)for(let l=0;l<r.attrs.length;l++){const[e,t,n]=r.attrs[l];o.setAttribute(i,t,n,e)}return i}function Ao(e,t,n,r){for(let i=0;i<n.outputs.length;i++){const l=n.outputs[i],a=Do(e,n.nodeIndex,(o=l.eventName,(s=l.target)?`${s}:${o}`:o));let c=l.target,u=e;"component"===l.target&&(c=null,u=t);const d=u.renderer.listen(c||r,l.eventName,a);e.disposables[n.outputIndex+i]=d}var s,o}function Do(e,t,n){return r=>Gn(e,t,n,r)}function Oo(e,t,n,r){if(!Zn(e,t,n,r))return!1;const s=t.bindings[n],o=On(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(pt.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 Ro(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&er(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&&Pn(e,s).setDirty(),!(1&r.flags&&s+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(s+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&Pn(e,n).setDirty(),n+=t.childCount}}function Mo(e,t){const n=Pn(e,t.nodeIndex);if(!n.dirty)return;let r,s=void 0;if(67108864&t.flags){const n=t.parent.parent;s=Po(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=Rn(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(s=Po(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(s);const o=t.query.bindings;let i=!1;for(let l=0;l<o.length;l++){const e=o[l];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,i=!0}r[e.propName]=t}i&&n.notifyOnChanges()}function Po(e,t,n,r,s){for(let o=t;o<=n;o++){const t=e.def.nodes[o],n=t.matchedQueries[r.id];if(null!=n&&s.push(Vo(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=On(e,o);if((t.childMatchedQueries&r.filterId)===r.filterId&&(Po(e,o+1,o+t.childCount,r,s),o+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const o=e[t],i=Kn(o);i&&i===n&&Po(o,0,o.def.nodes.length-1,r,s)}}const i=n.template._projectedViews;if(i)for(let e=0;e<i.length;e++){const t=i[e];Po(t,0,t.def.nodes.length-1,r,s)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(o+=t.childCount)}return s}function Vo(e,t,n){if(null!=n)switch(n){case 1:return On(e,t.nodeIndex).renderElement;case 0:return new Jt(On(e,t.nodeIndex).renderElement);case 2:return On(e,t.nodeIndex).template;case 3:return On(e,t.nodeIndex).viewContainer;case 4:return Rn(e,t.nodeIndex).instance}}function Fo(e,t,n){const r=rr(e,t,n);r&&ar(e,n.ngContent.index,1,r,null,void 0)}function Ho(e,t,n){const r=new Array(n.length-1);for(let s=1;s<n.length;s++)r[s-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[s]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function jo(e,t,n){let r;const s=e.renderer;r=s.createText(n.text.prefix);const o=rr(e,t,n);return o&&s.appendChild(o,r),{renderText:r}}function Lo(e,t){return(null!=e?e.toString():"")+t.suffix}function Bo(e,t,n,r){let s=0,o=0,i=0,l=0,a=0,c=null,u=null,d=!1,h=!1,f=null;for(let p=0;p<t.length;p++){const e=t[p];if(e.nodeIndex=p,e.parent=c,e.bindingIndex=s,e.outputIndex=o,e.renderParent=u,i|=e.flags,a|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=c?c.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,d=!1,h=!1,e.element.template&&(a|=e.element.template.nodeMatchedQueries)}if($o(c,e,t.length),s+=e.bindings.length,o+=e.outputs.length,!u&&3&e.flags&&(f=e),20224&e.flags){d||(d=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);const t=0!=(32768&e.flags);0==(8192&e.flags)||t?c.element.publicProviders[jn(e.provider.token)]=e:(h||(h=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[jn(e.provider.token)]=e),t&&(c.element.componentProvider=e)}if(c?(c.childFlags|=e.flags,c.directChildFlags|=e.flags,c.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(c.childMatchedQueries|=e.element.template.nodeMatchedQueries)):l|=e.flags,e.childCount>0)c=e,zo(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)&&zo(c)?c.renderParent:c}}return{factory:null,nodeFlags:i,rootNodeFlags:l,nodeMatchedQueries:a,flags:e,nodes:t,updateDirectives:n||Fn,updateRenderer:r||Fn,handleEvent:(e,n,r,s)=>t[n].element.handleEvent(e,r,s),bindingCount:s,outputCount:o,lastRenderRootNode:f}}function zo(e){return 0!=(1&e.flags)&&null===e.element.name}function $o(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 Uo(e,t,n,r){const s=qo(e.root,e.renderer,e,t,n);return Wo(s,e.component,r),Go(s),s}function Zo(e,t,n){const r=qo(e,e.renderer,null,null,t);return Wo(r,n,n),Go(r),r}function Qo(e,t,n,r){const s=t.element.componentRendererType;let o;return o=s?e.root.rendererFactory.createRenderer(r,s):e.root.renderer,qo(e.root,o,e,t.element.componentProvider,n)}function qo(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 Wo(e,t,n){e.component=t,e.context=n}function Go(e){let t;Xn(e)&&(t=On(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let s=0;s<n.nodes.length;s++){const o=n.nodes[s];let i;switch(Vn.setCurrentNode(e,s),201347067&o.flags){case 1:const n=No(e,t,o);let l=void 0;if(33554432&o.flags){const t=or(o.element.componentView);l=Vn.createComponentView(e,o,t,n)}Ao(e,l,o,n),i={renderElement:n,componentView:l,viewContainer:null,template:o.element.template?Or(e,o):void 0},16777216&o.flags&&(i.viewContainer=Sr(e,o,i));break;case 2:i=jo(e,t,o);break;case 512:case 1024:case 2048:case 256:(i=r[s])||4096&o.flags||(i={instance:Gr(e,o)});break;case 16:i={instance:Kr(e,o)};break;case 16384:(i=r[s])||(i={instance:Jr(e,o)}),32768&o.flags&&Wo(On(e,o.parent.nodeIndex).componentView,i.instance,i.instance);break;case 32:case 64:case 128:i={value:void 0};break;case 67108864:case 134217728:i=new ys;break;case 8:Fo(e,t,o),i=void 0}r[s]=i}si(e,ri.CreateViewNodes),ai(e,201326592,268435456,0)}function Ko(e){Xo(e),Vn.updateDirectives(e,1),oi(e,ri.CheckNoChanges),Vn.updateRenderer(e,1),si(e,ri.CheckNoChanges),e.state&=-97}function Jo(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Nn(e,0,256),Xo(e),Vn.updateDirectives(e,0),oi(e,ri.CheckAndUpdate),ai(e,67108864,536870912,0);let t=Nn(e,256,512);os(e,2097152|(t?1048576:0)),Vn.updateRenderer(e,0),si(e,ri.CheckAndUpdate),ai(e,134217728,536870912,0),os(e,8388608|((t=Nn(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Nn(e,768,1024)}function Yo(e,t,n,r,s,o,i,l,a,c,u,d,h){return 0===n?function(e,t,n,r,s,o,i,l,a,c,u,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,s,o,i,l,a,c,u,d){const h=t.bindings.length;let f=!1;return h>0&&Oo(e,t,0,n)&&(f=!0),h>1&&Oo(e,t,1,r)&&(f=!0),h>2&&Oo(e,t,2,s)&&(f=!0),h>3&&Oo(e,t,3,o)&&(f=!0),h>4&&Oo(e,t,4,i)&&(f=!0),h>5&&Oo(e,t,5,l)&&(f=!0),h>6&&Oo(e,t,6,a)&&(f=!0),h>7&&Oo(e,t,7,c)&&(f=!0),h>8&&Oo(e,t,8,u)&&(f=!0),h>9&&Oo(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&&Zn(e,t,0,n)&&(h=!0),p>1&&Zn(e,t,1,r)&&(h=!0),p>2&&Zn(e,t,2,s)&&(h=!0),p>3&&Zn(e,t,3,o)&&(h=!0),p>4&&Zn(e,t,4,i)&&(h=!0),p>5&&Zn(e,t,5,l)&&(h=!0),p>6&&Zn(e,t,6,a)&&(h=!0),p>7&&Zn(e,t,7,c)&&(h=!0),p>8&&Zn(e,t,8,u)&&(h=!0),p>9&&Zn(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;p>0&&(h+=Lo(n,f[0])),p>1&&(h+=Lo(r,f[1])),p>2&&(h+=Lo(s,f[2])),p>3&&(h+=Lo(o,f[3])),p>4&&(h+=Lo(i,f[4])),p>5&&(h+=Lo(l,f[5])),p>6&&(h+=Lo(a,f[6])),p>7&&(h+=Lo(c,f[7])),p>8&&(h+=Lo(u,f[8])),p>9&&(h+=Lo(d,f[9]));const g=Dn(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=Rn(e,t.nodeIndex),f=h.instance;let p=!1,g=void 0;const m=t.bindings.length;return m>0&&Un(e,t,0,n)&&(p=!0,g=ss(e,h,t,0,n,g)),m>1&&Un(e,t,1,r)&&(p=!0,g=ss(e,h,t,1,r,g)),m>2&&Un(e,t,2,s)&&(p=!0,g=ss(e,h,t,2,s,g)),m>3&&Un(e,t,3,o)&&(p=!0,g=ss(e,h,t,3,o,g)),m>4&&Un(e,t,4,i)&&(p=!0,g=ss(e,h,t,4,i,g)),m>5&&Un(e,t,5,l)&&(p=!0,g=ss(e,h,t,5,l,g)),m>6&&Un(e,t,6,a)&&(p=!0,g=ss(e,h,t,6,a,g)),m>7&&Un(e,t,7,c)&&(p=!0,g=ss(e,h,t,7,c,g)),m>8&&Un(e,t,8,u)&&(p=!0,g=ss(e,h,t,8,u,g)),m>9&&Un(e,t,9,d)&&(p=!0,g=ss(e,h,t,9,d,g)),g&&f.ngOnChanges(g),65536&t.flags&&An(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&&Zn(e,t,0,n)&&(f=!0),p>1&&Zn(e,t,1,r)&&(f=!0),p>2&&Zn(e,t,2,s)&&(f=!0),p>3&&Zn(e,t,3,o)&&(f=!0),p>4&&Zn(e,t,4,i)&&(f=!0),p>5&&Zn(e,t,5,l)&&(f=!0),p>6&&Zn(e,t,6,a)&&(f=!0),p>7&&Zn(e,t,7,c)&&(f=!0),p>8&&Zn(e,t,8,u)&&(f=!0),p>9&&Zn(e,t,9,d)&&(f=!0),f){const f=Mn(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;s<n.length;s++)Oo(e,t,s,n[s])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let s=!1;for(let o=0;o<n.length;o++)Zn(e,t,o,n[o])&&(s=!0);if(s){let s="";for(let e=0;e<n.length;e++)s+=Lo(n[e],r[e]);s=t.text.prefix+s;const o=Dn(e,t.nodeIndex).renderText;e.renderer.setValue(o,s)}return s}(e,t,n);case 16384:return function(e,t,n){const r=Rn(e,t.nodeIndex),s=r.instance;let o=!1,i=void 0;for(let l=0;l<n.length;l++)Un(e,t,l,n[l])&&(o=!0,i=ss(e,r,t,l,n[l],i));return i&&s.ngOnChanges(i),65536&t.flags&&An(e,256,t.nodeIndex)&&s.ngOnInit(),262144&t.flags&&s.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let s=!1;for(let o=0;o<n.length;o++)Zn(e,t,o,n[o])&&(s=!0);if(s){const s=Mn(e,t.nodeIndex);let o;switch(201347067&t.flags){case 32:o=n;break;case 64:o={};for(let s=0;s<n.length;s++)o[r[s].name]=n[s];break;case 128:const e=n[0],t=n.slice(1);o=e.transform(...t)}s.value=o}return s}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Xo(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=On(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,Wn(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function ei(e,t,n,r,s,o,i,l,a,c,u,d,h){return 0===n?function(e,t,n,r,s,o,i,l,a,c,u,d){const h=t.bindings.length;h>0&&Qn(e,t,0,n),h>1&&Qn(e,t,1,r),h>2&&Qn(e,t,2,s),h>3&&Qn(e,t,3,o),h>4&&Qn(e,t,4,i),h>5&&Qn(e,t,5,l),h>6&&Qn(e,t,6,a),h>7&&Qn(e,t,7,c),h>8&&Qn(e,t,8,u),h>9&&Qn(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<n.length;r++)Qn(e,t,r,n[r])}(e,t,r),!1}function ti(e,t){if(Pn(e,t.nodeIndex).dirty)throw Tn(Vn.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function ni(e){if(!(128&e.state)){if(oi(e,ri.Destroy),si(e,ri.Destroy),os(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=Kn(e);if(t){const n=t.template._projectedViews;n&&(Me(n,n.indexOf(e)),Vn.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(On(e,n).renderElement):2&t.flags?e.renderer.destroyNode(Dn(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&Pn(e,n).destroy()}}(e),Xn(e)&&e.renderer.destroy(),e.state|=128}}const ri=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function si(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];33554432&s.flags?ii(On(e,r).componentView,t):0==(33554432&s.childFlags)&&(r+=s.childCount)}}function oi(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];if(16777216&s.flags){const n=On(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)ii(n[e],t)}else 0==(16777216&s.childFlags)&&(r+=s.childCount)}}function ii(e,t){const n=e.state;switch(t){case ri.CheckNoChanges:0==(128&n)&&(12==(12&n)?Ko(e):64&n&&li(e,ri.CheckNoChangesProjectedViews));break;case ri.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Ko(e):64&n&&li(e,t));break;case ri.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Jo(e):64&n&&li(e,ri.CheckAndUpdateProjectedViews));break;case ri.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Jo(e):64&n&&li(e,t));break;case ri.Destroy:ni(e);break;case ri.CreateViewNodes:Go(e)}}function li(e,t){oi(e,t),si(e,t)}function ai(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const s=e.def.nodes.length;for(let o=0;o<s;o++){const s=e.def.nodes[o];if(s.flags&t&&s.flags&n)switch(Vn.setCurrentNode(e,s.nodeIndex),r){case 0:Mo(e,s);break;case 1:ti(e,s)}s.childFlags&t&&s.childFlags&n||(o+=s.childCount)}}let ci=!1;function ui(e,t,n,r,s,o){const i=s.injector.get(en);return Zo(hi(e,s,i,t,n),r,o)}function di(e,t,n,r,s,o){const i=s.injector.get(en),l=hi(e,s,new Ui(i),t,n),a=Ci(r);return zi(Si.create,Zo,null,[l,a,o])}function hi(e,t,n,r,s){const o=t.injector.get(gt),i=t.injector.get($e),l=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:s,sanitizer:o,rendererFactory:n,renderer:l,errorHandler:i}}function fi(e,t,n,r){const s=Ci(n);return zi(Si.create,Uo,null,[e,t,s,r])}function pi(e,t,n,r){return n=yi.get(t.element.componentProvider.provider.token)||Ci(n),zi(Si.create,Qo,null,[e,t,n,r])}function gi(e,t,n,r){return Hr(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===mi.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(e=>{const r=mi.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{_i.forEach((r,s)=>{ie(s).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const s=mi.get(r.token);s&&(r.flags=-3841&r.flags|s.flags,r.deps=nr(s.deps),r.value=s.value)}if(_i.size>0){let t=new Set(e.modules);_i.forEach((r,s)=>{if(t.has(ie(s).providedIn)){let t={token:s,flags:r.flags|(n?4096:0),deps:nr(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[jn(s)]=t}})}}(e=e.factory(()=>Fn)),e):e}(r))}const mi=new Map,_i=new Map,yi=new Map;function wi(e){let t;mi.set(e.token,e),"function"==typeof e.token&&(t=ie(e.token))&&"function"==typeof t.providedIn&&_i.set(e.token,e)}function bi(e,t){const n=or(t.viewDefFactory),r=or(n.nodes[0].element.componentView);yi.set(e,r)}function vi(){mi.clear(),_i.clear(),yi.clear()}function Ci(e){if(0===mi.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const s=e.nodes[r];1&s.flags&&(n=s),n&&3840&s.flags&&mi.has(s.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>Fn);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=mi.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=nr(n.deps),e.value=n.value)}}}}function Ei(e,t,n,r,s,o,i,l,a,c,u,d,h){const f=e.def.nodes[t];return Yo(e,f,n,r,s,o,i,l,a,c,u,d,h),224&f.flags?Mn(e,t).value:void 0}function xi(e,t,n,r,s,o,i,l,a,c,u,d,h){const f=e.def.nodes[t];return ei(e,f,n,r,s,o,i,l,a,c,u,d,h),224&f.flags?Mn(e,t).value:void 0}function ki(e){return zi(Si.detectChanges,Jo,null,[e])}function Ti(e){return zi(Si.checkNoChanges,Ko,null,[e])}function Ii(e){return zi(Si.destroy,ni,null,[e])}const Si=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();let Ni,Ai,Di;function Oi(e,t){Ai=e,Di=t}function Ri(e,t,n,r){return Oi(e,t),zi(Si.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function Mi(e,t){if(128&e.state)throw Sn(Si[Ni]);return Oi(e,Hi(e,0)),e.def.updateDirectives((function(e,n,r,...s){const o=e.def.nodes[n];return 0===t?Vi(e,o,r,s):Fi(e,o,r,s),16384&o.flags&&Oi(e,Hi(e,n)),224&o.flags?Mn(e,o.nodeIndex).value:void 0}),e)}function Pi(e,t){if(128&e.state)throw Sn(Si[Ni]);return Oi(e,ji(e,0)),e.def.updateRenderer((function(e,n,r,...s){const o=e.def.nodes[n];return 0===t?Vi(e,o,r,s):Fi(e,o,r,s),3&o.flags&&Oi(e,ji(e,n)),224&o.flags?Mn(e,o.nodeIndex).value:void 0}),e)}function Vi(e,t,n,r){if(Yo(e,t,n,...r)){const i=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],l=i[e];8&r.flags&&(n[(s=r.nonMinifiedName,o=void 0,o=s.replace(/[$@]/g,"_"),`ng-reflect-${s=o.replace(yt,(...e)=>"-"+e[1].toLowerCase())}`)]=wt(l))}const r=t.parent,l=On(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 Fi(e,t,n,r){ei(e,t,n,...r)}function Hi(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function ji(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class Li{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Jn(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return On(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return Mr(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){Bi(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&Bi(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!Xn(e);)e=e.parent;return e.parent?On(e.parent,Jn(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?Yn(this.view,this.nodeDef):Yn(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const s=function(e,t){let n=-1;for(let r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(n,r);let o=-1;n.factory(()=>++o===s?e.error.bind(e,...t):Fn),o<s&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function Bi(e,t,n){for(let r in t.references)n[r]=Vo(e,t,t.references[r])}function zi(e,t,n,r){const s=Ni,o=Ai,i=Di;try{Ni=e;const l=t.apply(n,r);return Ai=o,Di=i,Ni=s,l}catch(c){if(Le(c)||!Ai)throw c;throw l=c,a=$i(),l instanceof Error||(l=new Error(l.toString())),In(l,a),l}var l,a}function $i(){return Ai?new Li(Ai,Di):null}class Ui{constructor(e){this.delegate=e}createRenderer(e,t){return new Zi(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class Zi{constructor(e){this.delegate=e,this.debugContextFactory=$i,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){const t=wo(e);!function(e){yo.delete(e.nativeNode)}(t),t instanceof mo&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new _o(n,null,r);t.name=e,bo(t)}return n}createComment(e){const t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&bo(new mo(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&bo(new mo(t,null,n)),t}appendChild(e,t){const n=wo(e),r=wo(t);n&&r&&n instanceof _o&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n){const r=wo(e),s=wo(t),o=wo(n);r&&s&&r instanceof _o&&r.insertBefore(o,s),this.delegate.insertBefore(e,t,n)}removeChild(e,t){const n=wo(e),r=wo(t);n&&r&&n instanceof _o&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=$i();return r&&bo(new _o(n,null,r)),n}setAttribute(e,t,n,r){const s=wo(e);s&&s instanceof _o&&(s.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=wo(e);r&&r instanceof _o&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=wo(e);n&&n instanceof _o&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=wo(e);n&&n instanceof _o&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const s=wo(e);s&&s instanceof _o&&(s.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=wo(e);r&&r instanceof _o&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=wo(e);r&&r instanceof _o&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=wo(e);r&&r.listeners.push(new go(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function Qi(e,t,n){return new qi(e,t,n)}class qi extends Oe{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){!function(){if(ci)return;ci=!0;const e=Qe()?{setCurrentNode:Oi,createRootView:di,createEmbeddedView:fi,createComponentView:pi,createNgModuleRef:gi,overrideProvider:wi,overrideComponentView:bi,clearOverrides:vi,checkAndUpdateView:ki,checkNoChangesView:Ti,destroyView:Ii,createDebugContext:(e,t)=>new Li(e,t),handleEvent:Ri,updateDirectives:Mi,updateRenderer:Pi}:{setCurrentNode:()=>{},createRootView:ui,createEmbeddedView:Uo,createComponentView:Qo,createNgModuleRef:Hr,overrideProvider:Fn,overrideComponentView:Fn,clearOverrides:Fn,checkAndUpdateView:Jo,checkNoChangesView:Ko,destroyView:ni,createDebugContext:(e,t)=>new Li(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?Ei:xi,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?Ei:xi,e)};Vn.setCurrentNode=e.setCurrentNode,Vn.createRootView=e.createRootView,Vn.createEmbeddedView=e.createEmbeddedView,Vn.createComponentView=e.createComponentView,Vn.createNgModuleRef=e.createNgModuleRef,Vn.overrideProvider=e.overrideProvider,Vn.overrideComponentView=e.overrideComponentView,Vn.clearOverrides=e.clearOverrides,Vn.checkAndUpdateView=e.checkAndUpdateView,Vn.checkNoChangesView=e.checkNoChangesView,Vn.destroyView=e.destroyView,Vn.resolveDep=ns,Vn.createDebugContext=e.createDebugContext,Vn.handleEvent=e.handleEvent,Vn.updateDirectives=e.updateDirectives,Vn.updateRenderer=e.updateRenderer,Vn.dirtyParentQueries=Ro}();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}}(or(this._ngModuleDefFactory));return Vn.createNgModuleRef(this.moduleType,e||xt.NULL,this._bootstrapComponents,t)}}class Wi{}class Gi{constructor(){this.title="chess-field"}}class Ki{constructor(e){this.chessService=e}ngOnInit(){this.item.subscribe(e=>{this.cell=e})}toggle(){this.chessService.toggle(this.cell.row,this.cell.col)}log(){console.log("render")}}class Ji extends k{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new C;return this._value}next(e){super.next(this._value=e)}}class Yi extends h{constructor(e,t){super()}schedule(e,t=0){return this}}class Xi extends Yi{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,r=void 0;try{this.work(e)}catch(s){n=!0,r=!!s&&s||new Error(s)}if(n)return this.unsubscribe(),r}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let el=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class tl extends el{constructor(e,t=el.now){super(e,()=>tl.delegate&&tl.delegate!==this?tl.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return tl.delegate&&tl.delegate!==this?tl.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}const nl=new tl(Xi);function rl(e){const{subscriber:t,counter:n,period:r}=e;t.next(n),this.schedule({subscriber:t,counter:n+1,period:r},r)}function sl(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}sl.prototype=Object.create(Error.prototype);const ol=sl;class il{constructor(e){if(this.total=e,this.total<0)throw new ol}call(e,t){return t.subscribe(new ll(e,this.total))}}class ll extends g{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}let al=(()=>{class e{constructor(){this.field=new Array(7).fill([],0,7).map((e,t)=>new Array(7).fill(!1,0,7).map((e,n)=>new Ji({row:t,col:n,checked:!1,blink:!1}))),console.log(this.field)}getCell(e,t){return this.field[e][t]}toggle(e,t){const n=this.field[e][t],r=!n.value.checked;if(n.next(Object.assign({},n.value,{checked:r})),!r)return;const s=this.field.length-1;for(let a=0;a<=s;a++)this.checkCell(this.field[e][a],n),this.checkCell(this.field[a][t],n);const o=Math.abs(e-t);for(let a=0;a<=s-o;a++)this.checkCell(e<t?this.field[a][a+o]:this.field[a+o][a],n);const i=e+t,l=i%s;for(let a=0;a<=(i<s?l:s-l);a++)this.checkCell(i<s?this.field[l-a][a]:this.field[s-a][l+a],n)}blink(e){(function(e=0,t=nl){var n;return(a(n=e)||!(n-parseFloat(n)+1>=0)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=nl),new w(n=>(n.add(t.schedule(rl,e,{subscriber:n,counter:0,period:e})),n))})(200).pipe(e=>e.lift(new il(4))).subscribe(()=>e.next(Object.assign({},e.value,{blink:!e.value.blink})))}checkCell(e,t){e!==t&&e.value.checked&&this.blink(e)}}return e.ngInjectableDef=oe({factory:function(){return new e},token:e,providedIn:"root"}),e})();var cl=zn({encapsulation:0,styles:[[".cell[_ngcontent-%COMP%]{width:50px;height:50px;display:flex;justify-content:center;align-items:center;background-color:#f0fff0;border:.5px solid #ccc;transition:background-color .1s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cell[_ngcontent-%COMP%]:hover{background-color:bisque}.cell.checked[_ngcontent-%COMP%]{background-color:#90ee90}.cell.blink[_ngcontent-%COMP%]{background-color:#e9967a}"]],data:{}});function ul(e){return Bo(0,[(e()(),So(0,0,null,null,0,"div",[],[[2,"cell",null],[2,"checked",null],[2,"blink",null]],[[null,"click"]],(function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggle()&&r),r}),null,null))],null,(function(e,t){var n=t.component;e(t,0,0,!0,n.cell.checked,n.cell.blink)}))}class dl{}const hl=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}(),fl=function(e){return function(e){const t=e.toLowerCase().replace(/_/g,"-");let n=cs[t];if(n)return n;const r=t.split("-")[0];if(n=cs[r])return n;if("en"===r)return hs;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[us.PluralCase]},pl=new _e("UseV4Plurals");class gl{}class ml extends gl{constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):fl(t||this.locale)(e)){case hl.Zero:return"zero";case hl.One:return"one";case hl.Two:return"two";case hl.Few:return"few";case hl.Many:return"many";default:return"other"}}}class _l{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}class yl{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Qe()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. `+"See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new _l(null,this._ngForOf,-1,-1),null===r?void 0:r),s=new wl(e,n);t.push(s)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const o=new wl(e,s);t.push(o)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}class wl{constructor(e,t){this.record=e,this.view=t}}class bl{}const vl=new _e("DocumentToken"),Cl="server";class El{constructor(){}ngOnInit(){}}var xl=zn({encapsulation:0,styles:[[".row[_ngcontent-%COMP%]{display:flex;flex-direction:row}"]],data:{}});function kl(e){return Bo(0,[(e()(),So(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),So(1,0,null,null,1,"app-cell",[],null,null,null,ul,cl)),Wr(2,114688,null,0,Ki,[al],{item:[0,"item"]},null)],(function(e,t){e(t,2,0,t.context.$implicit)}),null)}function Tl(e){return Bo(0,[(e()(),So(0,0,null,null,2,"div",[],[[2,"row",null]],null,null,null,null)),(e()(),Io(16777216,null,null,1,null,kl)),Wr(2,278528,null,0,yl,[xn,Cn,_n],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){e(t,2,0,t.component.cells)}),(function(e,t){e(t,0,0,!0)}))}class Il{constructor(e){this.chess=e,this.headCols=new Array(7)}ngOnInit(){}}var Sl=zn({encapsulation:0,styles:[[".wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column}.subwrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row}.left[_ngcontent-%COMP%]{display:flex;flex-direction:column}.top[_ngcontent-%COMP%]{display:flex;flex-direction:row}.headItem[_ngcontent-%COMP%]{width:50px;height:50px;display:flex;justify-content:center;align-items:center}.field[_ngcontent-%COMP%]{display:flex;flex-direction:column;border:1px solid #ccc;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}"]],data:{}});function Nl(e){return Bo(0,[(e()(),So(0,0,null,null,1,"div",[],[[2,"headItem",null]],null,null,null,null)),(e()(),Ho(1,null,[" "," "]))],null,(function(e,t){e(t,0,0,!0),e(t,1,0,1+t.context.index)}))}function Al(e){return Bo(0,[(e()(),So(0,0,null,null,1,"div",[],[[2,"headItem",null]],null,null,null,null)),(e()(),Ho(1,null,[" "," "]))],null,(function(e,t){e(t,0,0,!0),e(t,1,0,1+t.context.index)}))}function Dl(e){return Bo(0,[(e()(),So(0,0,null,null,2,null,null,null,null,null,null,null)),(e()(),So(1,0,null,null,1,"app-row",[],null,null,null,Tl,xl)),Wr(2,114688,null,0,El,[],{cells:[0,"cells"],row:[1,"row"]},null)],(function(e,t){e(t,2,0,t.context.$implicit,t.context.index)}),null)}function Ol(e){return Bo(0,[(e()(),So(0,0,null,null,12,"div",[],[[2,"wrapper",null]],null,null,null,null)),(e()(),So(1,0,null,null,4,"div",[],[[2,"top",null]],null,null,null,null)),(e()(),So(2,0,null,null,1,"div",[],[[2,"headItem",null]],null,null,null,null)),(e()(),Ho(-1,null,[" \xa0 "])),(e()(),Io(16777216,null,null,1,null,Nl)),Wr(5,278528,null,0,yl,[xn,Cn,_n],{ngForOf:[0,"ngForOf"]},null),(e()(),So(6,0,null,null,6,"div",[],[[2,"subwrapper",null]],null,null,null,null)),(e()(),So(7,0,null,null,2,"div",[],[[2,"left",null]],null,null,null,null)),(e()(),Io(16777216,null,null,1,null,Al)),Wr(9,278528,null,0,yl,[xn,Cn,_n],{ngForOf:[0,"ngForOf"]},null),(e()(),So(10,0,null,null,2,"div",[],[[2,"field",null]],null,null,null,null)),(e()(),Io(16777216,null,null,1,null,Dl)),Wr(12,278528,null,0,yl,[xn,Cn,_n],{ngForOf:[0,"ngForOf"]},null)],(function(e,t){var n=t.component;e(t,5,0,n.headCols),e(t,9,0,n.headCols),e(t,12,0,n.chess.field)}),(function(e,t){e(t,0,0,!0),e(t,1,0,!0),e(t,2,0,!0),e(t,6,0,!0),e(t,7,0,!0),e(t,10,0,!0)}))}var Rl=zn({encapsulation:0,styles:[[""]],data:{}});function Ml(e){return Bo(0,[(e()(),So(0,0,null,null,7,"html",[["lang","en"]],null,null,null,null,null)),(e()(),So(1,0,null,null,3,"head",[],null,null,null,null,null)),(e()(),So(2,0,null,null,0,"meta",[["charset","UTF-8"]],null,null,null,null,null)),(e()(),So(3,0,null,null,1,"title",[],null,null,null,null,null)),(e()(),Ho(-1,null,["Title"])),(e()(),So(5,0,null,null,2,"body",[],null,null,null,null,null)),(e()(),So(6,0,null,null,1,"app-field",[],null,null,null,Ol,Sl)),Wr(7,114688,null,0,Il,[al],null,null)],(function(e,t){e(t,7,0)}),null)}function Pl(e){return Bo(0,[(e()(),So(0,0,null,null,1,"app-root",[],null,null,null,Ml,Rl)),Wr(1,49152,null,0,Gi,[],null,null)],null,null)}var Vl=kr("app-root",Gi,Pl,{},{},[]);let Fl=null;function Hl(){return Fl}class jl{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(e){this._attrToPropMap=e}}class Ll extends jl{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<t.length;n++)if(null!=this.getStyle(e,t[n]+"AnimationName")){this._animationPrefix="-"+t[n].toLowerCase()+"-";break}}const t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(t).forEach(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 Bl={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},zl=3,$l={"\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"},Ul={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"},Zl=(()=>{if(me.Node)return me.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}})();class Ql extends Ll{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new Ql,Fl||(Fl=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 Bl}contains(e,t){return Zl.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;r<t.length;r++)n[r]=t[r];return n}clearNodes(e){for(;e.firstChild;)e.removeChild(e.firstChild)}appendChild(e,t){e.appendChild(t)}removeChild(e,t){e.removeChild(t)}replaceChild(e,t,n){e.replaceChild(t,n)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}insertBefore(e,t,n){e.insertBefore(n,t)}insertAllBefore(e,t,n){n.forEach(n=>e.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.length;r++){const e=n.item(r);t.set(e.name,e.value)}return t}hasAttribute(e,t){return e.hasAttribute(t)}hasAttributeNS(e,t,n){return e.hasAttributeNS(t,n)}getAttribute(e,t){return e.getAttribute(t)}getAttributeNS(e,t,n){return e.getAttributeNS(t,n)}setAttribute(e,t,n){e.setAttribute(t,n)}setAttributeNS(e,t,n,r){e.setAttributeNS(t,n,r)}removeAttribute(e,t){e.removeAttribute(t)}removeAttributeNS(e,t,n){e.removeAttributeNS(t,n)}templateAwareRoot(e){return this.isTemplateElement(e)?this.content(e):e}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}getBoundingClientRect(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}getTitle(e){return e.title}setTitle(e,t){e.title=t||""}elementMatches(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}isTemplateElement(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName}isTextNode(e){return e.nodeType===Node.TEXT_NODE}isCommentNode(e){return e.nodeType===Node.COMMENT_NODE}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}hasShadowRoot(e){return null!=e.shadowRoot&&e instanceof HTMLElement}isShadowRoot(e){return e instanceof DocumentFragment}importIntoDoc(e){return document.importNode(this.templateAwareRoot(e),!0)}adoptNode(e){return document.adoptNode(e)}getHref(e){return e.getAttribute("href")}getEventKey(e){let t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),e.location===zl&&Ul.hasOwnProperty(t)&&(t=Ul[t]))}return $l[t]||t}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=Wl||(Wl=document.querySelector("base"))?Wl.getAttribute("href"):null;return null==t?null:(n=t,ql||(ql=document.createElement("a")),ql.setAttribute("href",n),"/"===ql.pathname.charAt(0)?ql.pathname:"/"+ql.pathname);var n}resetBaseElement(){Wl=null}getUserAgent(){return window.navigator.userAgent}setData(e,t,n){this.setAttribute(e,"data-"+t,n)}getData(e,t){return this.getAttribute(e,"data-"+t)}getComputedStyle(e){return getComputedStyle(e)}supportsWebAnimation(){return"function"==typeof Element.prototype.animate}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}(document.cookie,e)}setCookie(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)}}let ql,Wl=null;function Gl(){return!!window.history.pushState}const Kl=new _e("TRANSITION_ID"),Jl=[{provide:ws,useFactory:function(e,t,n){return()=>{n.get(bs).donePromise.then(()=>{const n=Hl();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[Kl,vl,xt],multi:!0}];class Yl{static init(){var e;e=new Yl,ro=e}addToWindow(e){me.getAngularTestability=(t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},me.getAllAngularTestabilities=()=>e.getAllTestabilities(),me.getAllAngularRootElements=()=>e.getAllRootElements(),me.frameworkStabilizers||(me.frameworkStabilizers=[]),me.frameworkStabilizers.push(e=>{const t=me.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?Hl().isShadowRoot(t)?this.findTestabilityInTree(e,Hl().getHost(t),!0):this.findTestabilityInTree(e,Hl().parentElement(t),!0):null}}function Xl(e,t){"undefined"!=typeof COMPILED&&COMPILED||((me.ng=me.ng||{})[e]=t)}const ea=(()=>({ApplicationRef:fo,NgZone:Qs}))();function ta(e){return wo(e)}const na=new _e("EventManagerPlugins");class ra{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<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error(`No event manager plugin found for event ${e}`)}}class sa{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=Hl().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}class oa{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}class ia extends oa{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=>Hl().remove(e))}}const la={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/"},aa=/%COMP%/g,ca="_nghost-%COMP%",ua="_ngcontent-%COMP%";function da(e,t,n){for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?da(e,s,n):(s=s.replace(aa,e),n.push(s))}return n}function ha(e){return t=>{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}class fa{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new pa(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Pe.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new _a(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case Pe.Native:case Pe.ShadowDom:return new ya(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=da(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}class pa{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(la[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=la[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=la[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&tn.DashCase?e.style.setProperty(t,n,r&tn.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&tn.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){ma(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return ma(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,ha(n)):this.eventManager.addEventListener(e,t,ha(n))}}const ga=(()=>"@".charCodeAt(0))();function ma(e,t){if(e.charCodeAt(0)===ga)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class _a extends pa{constructor(e,t,n,r){super(e),this.component=n;const s=da(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr=ua.replace(aa,r+"-"+n.id),this.hostAttr=ca.replace(aa,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 ya extends pa{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Pe.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=da(r.id,r.styles,[]);for(let o=0;o<s.length;o++){const e=document.createElement("style");e.textContent=s[o],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}const wa=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e})(),ba=wa("addEventListener"),va=wa("removeEventListener"),Ca={},Ea="FALSE",xa="ANGULAR",ka="addEventListener",Ta="removeEventListener",Ia="__zone_symbol__propagationStopped",Sa="__zone_symbol__stopImmediatePropagation",Na=(()=>{const e="undefined"!=typeof Zone&&Zone[wa("BLACK_LISTED_EVENTS")];if(e){const t={};return e.forEach(e=>{t[e]=e}),t}})(),Aa=function(e){return!!Na&&Na.hasOwnProperty(e)},Da=function(e){const t=Ca[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;n<t.length&&!0!==e[Ia];n++){const e=t[n];e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}}};class Oa extends sa{constructor(e,t,n){super(e),this.ngZone=t,n&&function(e){return e===Cl}(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype[Sa])return;const e=Event.prototype[Sa]=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Ia]=!0),e&&e.apply(this,arguments)}}supports(e){return!0}addEventListener(e,t,n){let r=n;if(!e[ba]||Qs.isInAngularZone()&&!Aa(t))e[ka](t,r,!1);else{let n=Ca[t];n||(n=Ca[t]=wa(xa+t+Ea));let s=e[n];const o=s&&s.length>0;s||(s=e[n]=[]);const i=Aa(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:i,handler:r});else{let e=!1;for(let t=0;t<s.length;t++)if(s[t].handler===r){e=!0;break}e||s.push({zone:i,handler:r})}o||e[ba](t,Da,!1)}return()=>this.removeEventListener(e,t,r)}removeEventListener(e,t,n){let r=e[va];if(!r)return e[Ta].apply(e,[t,n,!1]);let s=Ca[t],o=s&&e[s];if(!o)return e[Ta].apply(e,[t,n,!1]);let i=!1;for(let l=0;l<o.length;l++)if(o[l].handler===n){i=!0,o.splice(l,1);break}i?0===o.length&&r.apply(e,[t,Da,!1]):e[Ta].apply(e,[t,n,!1])}}const Ra={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},Ma=new _e("HammerGestureConfig"),Pa=new _e("HammerLoader");class Va{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}class Fa extends sa{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r}supports(e){return!(!Ra.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not `+"loaded and no custom loader has been specified."),1))}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){let r=!1,s=()=>{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 Ha=["alt","control","meta","shift"],ja={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class La extends sa{constructor(e){super(e)}supports(e){return null!=La.parseEventName(e)}addEventListener(e,t,n){const r=La.parseEventName(t),s=La.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Hl().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=La._normalizeKey(t.pop());let s="";if(Ha.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=Hl().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Ha.forEach(r=>{r!=n&&(0,ja[r])(e)&&(t+=r+".")}),t+=n}static eventCallback(e,t,n){return r=>{La.getEventFullKey(r)===e&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}class Ba{}class za extends Ba{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case pt.NONE:return t;case pt.HTML:return t instanceof Ua?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){let n=null;try{ht=ht||new qe(e);let r=t?String(t):"";n=ht.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=ht.getInertBodyElement(r)}while(r!==o);const i=new at,l=i.sanitizeChildren(ft(n)||n);return Qe()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),l}finally{if(n){const e=ft(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}(this._doc,String(t)));case pt.STYLE:return t instanceof Za?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";const t=e.match(_t);return t&&Ke(t[1])===t[1]||e.match(mt)&&function(e){let t=!0,n=!0;for(let r=0;r<e.length;r++){const s=e.charAt(r);"'"===s&&n?t=!t:'"'===s&&t&&(n=!n)}return t&&n}(e)?e:(Qe()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}(t));case pt.SCRIPT:if(t instanceof Qa)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case pt.URL:return t instanceof Wa||t instanceof qa?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Ke(String(t)));case pt.RESOURCE_URL:if(t instanceof Wa)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(e,t){if(e instanceof $a)throw new Error(`Required a safe ${t}, got a ${e.getTypeName()} `+"(see http://g.co/ng/security#xss)")}bypassSecurityTrustHtml(e){return new Ua(e)}bypassSecurityTrustStyle(e){return new Za(e)}bypassSecurityTrustScript(e){return new Qa(e)}bypassSecurityTrustUrl(e){return new qa(e)}bypassSecurityTrustResourceUrl(e){return new Wa(e)}}class $a{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class Ua extends $a{getTypeName(){return"HTML"}}class Za extends $a{getTypeName(){return"Style"}}class Qa extends $a{getTypeName(){return"Script"}}class qa extends $a{getTypeName(){return"URL"}}class Wa extends $a{getTypeName(){return"ResourceURL"}}const Ga=ao(vo,"browser",[{provide:ks,useValue:"browser"},{provide:xs,useValue:function(){Ql.makeCurrent(),Yl.init()},multi:!0},{provide:dl,useClass:class extends dl{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=Hl().getLocation(),this._history=Hl().getHistory()}getBaseHrefFromDOM(){return Hl().getBaseHref(this._doc)}onPopState(e){Hl().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){Hl().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){Gl()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){Gl()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}},deps:[vl]},{provide:vl,useFactory:function(){return document},deps:[]}]);function Ka(){return new $e}class Ja{constructor(e){if(e)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(e){return{ngModule:Ja,providers:[{provide:vs,useValue:e.appId},{provide:Kl,useExisting:vs},Jl]}}}"undefined"!=typeof window&&window;var Ya=Qi(Wi,[Gi],(function(e){return function(e){const t={},n=[];let r=!1;for(let s=0;s<e.length;s++){const o=e[s];o.token===Ct&&!0===o.value&&(r=!0),1073741824&o.flags&&n.push(o.token),o.index=s,t[jn(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([yr(512,qt,Wt,[[8,[Vl]],[3,qt],De]),yr(5120,Ss,xo,[[3,Ss]]),yr(4608,gl,ml,[Ss,[2,pl]]),yr(5120,as,ko,[Qs]),yr(4608,Ps,Ps,[]),yr(5120,vs,Cs,[]),yr(5120,_n,Co,[]),yr(5120,yn,Eo,[]),yr(4608,Ba,za,[vl]),yr(6144,gt,null,[Ba]),yr(4608,Ma,Va,[]),yr(5120,na,(function(e,t,n,r,s,o,i,l){return[new Oa(e,t,n),new La(r),new Fa(s,o,i,l)]}),[vl,Qs,ks,vl,vl,Ma,Is,[2,Pa]]),yr(4608,ra,ra,[na,Qs]),yr(135680,ia,ia,[vl]),yr(4608,fa,fa,[ra,ia,vs]),yr(6144,en,null,[fa]),yr(6144,oa,null,[ia]),yr(4608,Xs,Xs,[Qs]),yr(1073742336,bl,bl,[]),yr(1024,$e,Ka,[]),yr(1024,ws,(function(e){return[(t=e,Xl("probe",ta),Xl("coreTokens",Object.assign({},ea,(t||[]).reduce((e,t)=>(e[t.name]=t.token,e),{}))),()=>ta)];var t}),[[2,lo]]),yr(512,bs,bs,[[2,ws]]),yr(131584,fo,fo,[Qs,Is,xt,$e,qt,bs]),yr(1073742336,To,To,[fo]),yr(1073742336,Ja,Ja,[[3,Ja]]),yr(1073742336,Wi,Wi,[]),yr(256,Ct,!0,[])])}));(function(){if(Ze)throw new Error("Cannot enable prod mode after platform setup.");Ue=!1})(),Ga().bootstrapModuleFactory(Ya).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]]]);