D:\a\Morpho\Morpho\proje
| 0 | 77 | | { |
| 0 | 78 | | string characters = @"[^\s()_<>/,\.A-Za-z0-9=""\P{IsBasicLatin}]+"; |
| | 79 | |
|
- | 0 | 80 | | if (!System.IO.File.Exists(file)) |
- | 0 | 81 | | throw new Exception($"{file} not found."); |
- | 0 | 82 | | string text = System.IO.File.ReadAllText(file); |
- | 0 | 83 | | string res = Regex.Replace(text, characters, ""); |
- | | 84 | |
|
- | 0 | 85 | | return res; |
- | 0 | 86 | | } |
- | | 87 | |
|
- | | 88 | | private void SetLibrary(string file, string type, string keyword) |
- | 0 | 89 | | { |
- | 0 | 90 | | string innerText = GetCompatibleText(file); |
- | | 91 | |
|
- | 0 | 92 | | string word = (type != GREENING) ? "Description" : "Name"; |
- | | 93 | |
|
- | 0 | 94 | | XmlDocument xmlDcoument = new XmlDocument(); |
- | 0 | 95 | | xmlDcoument.LoadXml(innerText); |
- | 0 | 96 | | XmlNodeList data = xmlDcoument.DocumentElement.SelectNodes(type); |
- | | 97 | |
|
- | 0 | 98 | | var idContainer = new string[data.Count]; |
- | 0 | 99 | | var descriptionContainer = new string[data.Count]; |
- | 0 | 100 | | var dataContainer = new string[data.Count]; |
- | | 101 | |
|
- | 0 | 102 | | Parallel.For(0, data.Count, i => |
- | 0 | 103 | | { |
- | 0 | 104 | | var description = data[i].SelectSingleNode(word).InnerText; |
- | 0 | 105 | | if (keyword != null) |
- | 0 | 106 | | if (!description.ToUpper() |
- | 0 | 107 | | .Contains(keyword?.ToUpper())) return; |
- | 0 | 108 | |
|
- | 0 | 109 | | dataContainer[i] = data[i].OuterXml; |
- | 0 | 110 | | descriptionContainer[i]= description; |
- | 0 | 111 | | var id = data[i].SelectSingleNode("ID").InnerText; |
- | 0 | 112 | | idContainer[i] = id.Replace(" ", ""); |
- | 0 | 113 | | }); |
- | | 114 | |
|
- | 0 | 115 | | Code.AddRange(idContainer.Where(_ => _ != null)); |
- | 0 | 116 | | Description.AddRange(descriptionContainer.Where(_ => _ != null)); |
- | 0 | 117 | | Detail.AddRange(dataContainer.Where(_ => _ != null)); |
- | 0 | 118 | | } |
- | | 119 | | } |
- | | 120 | | } |
+ | 0 | 80 | | Encoding iso = Encoding.GetEncoding("ISO-8859-1"); |
+ | 0 | 81 | | if (!System.IO.File.Exists(file)) |
+ | 0 | 82 | | throw new Exception($"{file} not found."); |
+ | 0 | 83 | | string text = System.IO.File.ReadAllText(file, iso); |
+ | 0 | 84 | | string res = Regex.Replace(text, characters, ""); |
+ | | 85 | |
|
+ | 0 | 86 | | return res; |
+ | 0 | 87 | | } |
+ | | 88 | |
|
+ | | 89 | | private void SetLibrary(string file, string type, string keyword) |
+ | 0 | 90 | | { |
+ | 0 | 91 | | string innerText = GetCompatibleText(file); |
+ | | 92 | |
|
+ | 0 | 93 | | string word = (type != GREENING) ? "Description" : "Name"; |
+ | | 94 | |
|
+ | 0 | 95 | | XmlDocument xmlDcoument = new XmlDocument(); |
+ | 0 | 96 | | xmlDcoument.LoadXml(innerText); |
+ | 0 | 97 | | XmlNodeList data = xmlDcoument.DocumentElement.SelectNodes(type); |
+ | | 98 | |
|
+ | 0 | 99 | | var idContainer = new string[data.Count]; |
+ | 0 | 100 | | var descriptionContainer = new string[data.Count]; |
+ | 0 | 101 | | var dataContainer = new string[data.Count]; |
+ | | 102 | |
|
+ | 0 | 103 | | Parallel.For(0, data.Count, i => |
+ | 0 | 104 | | { |
+ | 0 | 105 | | var description = data[i].SelectSingleNode(word).InnerText; |
+ | 0 | 106 | | if (keyword != null) |
+ | 0 | 107 | | if (!description.ToUpper() |
+ | 0 | 108 | | .Contains(keyword?.ToUpper())) return; |
+ | 0 | 109 | |
|
+ | 0 | 110 | | dataContainer[i] = data[i].OuterXml; |
+ | 0 | 111 | | descriptionContainer[i]= description; |
+ | 0 | 112 | | var id = data[i].SelectSingleNode("ID").InnerText; |
+ | 0 | 113 | | idContainer[i] = id.Replace(" ", ""); |
+ | 0 | 114 | | }); |
+ | | 115 | |
|
+ | 0 | 116 | | Code.AddRange(idContainer.Where(_ => _ != null)); |
+ | 0 | 117 | | Description.AddRange(descriptionContainer.Where(_ => _ != null)); |
+ | 0 | 118 | | Detail.AddRange(dataContainer.Where(_ => _ != null)); |
+ | 0 | 119 | | } |
+ | | 120 | | } |
+ | | 121 | | } |
-
+
+"use strict";(self.webpackChunkcoverage_app=self.webpackChunkcoverage_app||[]).push([[179],{316:()=>{let Me=null,hr=1;function we(e){const n=Me;return Me=e,n}function Nf(e){if((!yo(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==hr)){if(!e.producerMustRecompute(e)&&!sl(e))return e.dirty=!1,void(e.lastCleanEpoch=hr);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=hr}}function sl(e){pr(e);for(let n=0;n0}function pr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let Vf=null;function xe(e){return"function"==typeof e}function jf(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const cl=jf(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function ul(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class kt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const i of t)i.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(xe(r))try{r()}catch(i){n=i instanceof cl?i.errors:[i]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const i of o)try{zf(i)}catch(s){n=n??[],s instanceof cl?n=[...n,...s.errors]:n.push(s)}}if(n)throw new cl(n)}}add(n){var t;if(n&&n!==this)if(this.closed)zf(n);else{if(n instanceof kt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&ul(t,n)}remove(n){const{_teardowns:t}=this;t&&ul(t,n),n instanceof kt&&n._removeParent(this)}}kt.EMPTY=(()=>{const e=new kt;return e.closed=!0,e})();const $f=kt.EMPTY;function Uf(e){return e instanceof kt||e&&"closed"in e&&xe(e.remove)&&xe(e.add)&&xe(e.unsubscribe)}function zf(e){xe(e)?e():e.unsubscribe()}const Hn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ji={setTimeout(...e){const{delegate:n}=ji;return(n?.setTimeout||setTimeout)(...e)},clearTimeout(e){const{delegate:n}=ji;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Gf(e){ji.setTimeout(()=>{const{onUnhandledError:n}=Hn;if(!n)throw e;n(e)})}function $i(){}const Cw=dl("C",void 0,void 0);function dl(e,n,t){return{kind:e,value:n,error:t}}let Bn=null;function Ui(e){if(Hn.useDeprecatedSynchronousErrorHandling){const n=!Bn;if(n&&(Bn={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=Bn;if(Bn=null,t)throw r}}else e()}class fl extends kt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Uf(n)&&n.add(this)):this.destination=Ew}static create(n,t,r){return new hl(n,t,r)}next(n){this.isStopped?gl(function ww(e){return dl("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?gl(function Dw(e){return dl("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?gl(Cw,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class hl extends fl{constructor(n,t,r){let o;if(super(),xe(n))o=n;else if(n){let i;({next:o,error:t,complete:r}=n),this&&Hn.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe()):i=n,o=o?.bind(i),t=t?.bind(i),r=r?.bind(i)}this.destination={next:o?pl(o):$i,error:pl(t??qf),complete:r?pl(r):$i}}}function pl(e,n){return(...t)=>{try{e(...t)}catch(r){Hn.useDeprecatedSynchronousErrorHandling?function bw(e){Hn.useDeprecatedSynchronousErrorHandling&&Bn&&(Bn.errorThrown=!0,Bn.error=e)}(r):Gf(r)}}}function qf(e){throw e}function gl(e,n){const{onStoppedNotification:t}=Hn;t&&ji.setTimeout(()=>t(e,n))}const Ew={closed:!0,next:$i,error:qf,complete:$i},ml="function"==typeof Symbol&&Symbol.observable||"@@observable";function vl(e){return e}let Ke=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){const i=function Mw(e){return e&&e instanceof fl||function Iw(e){return e&&xe(e.next)&&xe(e.error)&&xe(e.complete)}(e)&&Uf(e)}(t)?t:new hl(t,r,o);return Ui(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Zf(r))((o,i)=>{let s;s=this.subscribe(a=>{try{t(a)}catch(l){i(l),s?.unsubscribe()}},i,o)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[ml](){return this}pipe(...t){return function Wf(e){return 0===e.length?vl:1===e.length?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}(t)(this)}toPromise(t){return new(t=Zf(t))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Zf(e){var n;return null!==(n=e??Hn.Promise)&&void 0!==n?n:Promise}const Sw=jf(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let zi=(()=>{class e extends Ke{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Qf(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Sw}next(t){Ui(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const o of r)o.next(t)}})}error(t){Ui(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Ui(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:o,observers:i}=this;return r||o?$f:(i.push(t),new kt(()=>ul(i,t)))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){const t=new Ke;return t.source=this,t}}return e.create=(n,t)=>new Qf(n,t),e})();class Qf extends zi{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:$f}}function mn(e){return n=>{if(function Tw(e){return xe(e?.lift)}(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}class Xt extends fl{constructor(n,t,r,o,i){super(n),this.onFinalize=i,this._next=t?function(s){try{t(s)}catch(a){n.error(a)}}:super._next,this._error=o?function(s){try{o(s)}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){n.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}function _l(e,n){return mn((t,r)=>{let o=0;t.subscribe(new Xt(r,i=>{r.next(e.call(n,i,o++))}))})}function jn(e){return this instanceof jn?(this.v=e,this):new jn(e)}function Ow(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Jf(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(c){i({value:c,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const Xf=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function eh(e){return xe(e?.then)}function th(e){return xe(e[ml])}function nh(e){return Symbol.asyncIterator&&xe(e?.[Symbol.asyncIterator])}function rh(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const oh=function Fw(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function ih(e){return xe(e?.[oh])}function sh(e){return function xw(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=t.apply(e,n||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(h){r[h]&&(o[h]=function(p){return new Promise(function(m,C){i.push([h,p,m,C])>1||a(h,p)})})}function a(h,p){try{!function l(h){h.value instanceof jn?Promise.resolve(h.value.v).then(c,u):d(i[0][2],h)}(r[h](p))}catch(m){d(i[0][3],m)}}function c(h){a("next",h)}function u(h){a("throw",h)}function d(h,p){h(p),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:o}=yield jn(t.read());if(o)return yield jn(void 0);yield yield jn(r)}}finally{t.releaseLock()}})}function ah(e){return xe(e?.getReader)}function vn(e){if(e instanceof Ke)return e;if(null!=e){if(th(e))return function Pw(e){return new Ke(n=>{const t=e[ml]();if(xe(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Xf(e))return function kw(e){return new Ke(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Gf)})}(e);if(nh(e))return lh(e);if(ih(e))return function Vw(e){return new Ke(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(ah(e))return function Hw(e){return lh(sh(e))}(e)}throw rh(e)}function lh(e){return new Ke(n=>{(function Bw(e,n){var t,r,o,i;return function Aw(e,n,t,r){return new(t||(t=Promise))(function(i,s){function a(u){try{c(r.next(u))}catch(d){s(d)}}function l(u){try{c(r.throw(u))}catch(d){s(d)}}function c(u){u.done?i(u.value):function o(i){return i instanceof t?i:new t(function(s){s(i)})}(u.value).then(a,l)}c((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=Ow(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function _n(e,n,t,r=0,o=!1){const i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ch(e,n,t=1/0){return xe(n)?ch((r,o)=>_l((i,s)=>n(r,i,o,s))(vn(e(r,o))),t):("number"==typeof n&&(t=n),mn((r,o)=>function jw(e,n,t,r,o,i,s,a){const l=[];let c=0,u=0,d=!1;const h=()=>{d&&!l.length&&!c&&n.complete()},p=C=>c{i&&n.next(C),c++;let E=!1;vn(t(C,u++)).subscribe(new Xt(n,T=>{o?.(T),i?p(T):n.next(T)},()=>{E=!0},void 0,()=>{if(E)try{for(c--;l.length&&cm(T)):m(T)}h()}catch(T){n.error(T)}}))};return e.subscribe(new Xt(n,p,()=>{d=!0,h()})),()=>{a?.()}}(r,o,e,t)))}const Cl=new Ke(e=>e.complete());function Dl(e){return e[e.length-1]}function uh(e){return function zw(e){return e&&xe(e.schedule)}(Dl(e))?e.pop():void 0}function dh(e,n=0){return mn((t,r)=>{t.subscribe(new Xt(r,o=>_n(r,e,()=>r.next(o),n),()=>_n(r,e,()=>r.complete(),n),o=>_n(r,e,()=>r.error(o),n)))})}function fh(e,n=0){return mn((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function hh(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ke(t=>{_n(t,n,()=>{const r=e[Symbol.asyncIterator]();_n(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Gi(e,n){return n?function Jw(e,n){if(null!=e){if(th(e))return function Ww(e,n){return vn(e).pipe(fh(n),dh(n))}(e,n);if(Xf(e))return function Qw(e,n){return new Ke(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(eh(e))return function Zw(e,n){return vn(e).pipe(fh(n),dh(n))}(e,n);if(nh(e))return hh(e,n);if(ih(e))return function Yw(e,n){return new Ke(t=>{let r;return _n(t,n,()=>{r=e[oh](),_n(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void t.error(s)}i?t.complete():t.next(o)},0,!0)}),()=>xe(r?.return)&&r.return()})}(e,n);if(ah(e))return function Kw(e,n){return hh(sh(e),n)}(e,n)}throw rh(e)}(e,n):vn(e)}function Xw(...e){const n=uh(e),t=function qw(e,n){return"number"==typeof Dl(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?vn(r[0]):function $w(e=1/0){return ch(vl,e)}(t)(Gi(r,n)):Cl}class eb extends zi{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function ph(e={}){const{connector:n=(()=>new zi),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s=null,a=null,l=null,c=0,u=!1,d=!1;const h=()=>{a?.unsubscribe(),a=null},p=()=>{h(),s=l=null,u=d=!1},m=()=>{const C=s;p(),C?.unsubscribe()};return mn((C,E)=>{c++,!d&&!u&&h();const T=l=l??n();E.add(()=>{c--,0===c&&!d&&!u&&(a=wl(m,o))}),T.subscribe(E),s||(s=new hl({next:D=>T.next(D),error:D=>{d=!0,h(),a=wl(p,t,D),T.error(D)},complete:()=>{u=!0,h(),a=wl(p,r),T.complete()}}),Gi(C).subscribe(s))})(i)}}function wl(e,n,...t){return!0===n?(e(),null):!1===n?null:n(...t).pipe(function nb(e){return e<=0?()=>Cl:mn((n,t)=>{let r=0;n.subscribe(new Xt(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}(1)).subscribe(()=>e())}function ib(e,n){return e===n}function ae(e){for(let n in e)if(e[n]===ae)return n;throw Error("Could not find renamed property on target object.")}function qi(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Oe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Oe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function bl(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const sb=ae({__forward_ref__:ae});function de(e){return e.__forward_ref__=de,e.toString=function(){return Oe(this())},e}function F(e){return Wi(e)?e():e}function Wi(e){return"function"==typeof e&&e.hasOwnProperty(sb)&&e.__forward_ref__===de}function El(e){return e&&!!e.\u0275providers}const gh="https://g.co/ng/security#xss";class S extends Error{constructor(n,t){super(function gr(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}const Co=ae({\u0275cmp:ae}),Il=ae({\u0275dir:ae}),Ml=ae({\u0275pipe:ae}),mh=ae({\u0275mod:ae}),en=ae({\u0275fac:ae}),Do=ae({__NG_ELEMENT_ID__:ae}),vh=ae({__NG_ENV_ID__:ae});function B(e){return"string"==typeof e?e:null==e?"":String(e)}function Sl(e,n){throw new S(-201,!1)}function at(e,n){null==e&&function R(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function te(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function tn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Zi(e){return _h(e,Yi)||_h(e,yh)}function _h(e,n){return e.hasOwnProperty(n)?e[n]:null}function Qi(e){return e&&(e.hasOwnProperty(Tl)||e.hasOwnProperty(pb))?e[Tl]:null}const Yi=ae({\u0275prov:ae}),Tl=ae({\u0275inj:ae}),yh=ae({ngInjectableDef:ae}),pb=ae({ngInjectorDef:ae});var J=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}(J||{});let Al;function lt(e){const n=Al;return Al=e,n}function Dh(e,n,t){const r=Zi(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&J.Optional?null:void 0!==n?n:void Sl(Oe(e))}const fe=globalThis;class O{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=te({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const wo={},Fl="__NG_DI_FLAG__",Ki="ngTempTokenPath",vb=/\n/gm,bh="__source";let mr;function Cn(e){const n=mr;return mr=e,n}function Cb(e,n=J.Default){if(void 0===mr)throw new S(-203,!1);return null===mr?Dh(e,void 0,n):mr.get(e,n&J.Optional?null:void 0,n)}function ee(e,n=J.Default){return(function Ch(){return Al}()||Cb)(F(e),n)}function oe(e,n=J.Default){return ee(e,Ji(n))}function Ji(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Pl(e){const n=[];for(let t=0;tn){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const p=8&r?h:null;if(p&&-1!==Ih(p,c,0)||2&r&&c!==h){if(St(r))return!1;s=!0}}}}else{if(!s&&!St(r)&&!St(l))return!1;if(s&&St(l))continue;s=!1,r=l|1&r}}return St(r)||s}function St(e){return 0==(1&e)}function Sb(e,n,t,r){if(null===n)return-1;let o=0;if(r||!t){let i=!1;for(;o-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!St(s)&&(n+=Oh(i,o),o=""),r=s,i=i||!St(r);t++}return""!==o&&(n+=Oh(i,o)),n}function rn(e){return nn(()=>{const n=Fh(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Xi.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Mt.Emulated,styles:e.styles||ne,_:null,schemas:e.schemas||null,tView:null,id:""};Ph(t);const r=e.dependencies;return t.directiveDefs=es(r,!1),t.pipeDefs=es(r,!0),t.id=function Vb(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of t)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function Pb(e){return Z(e)||ke(e)}function kb(e){return null!==e}function Dn(e){return nn(()=>({type:e.type,bootstrap:e.bootstrap||ne,declarations:e.declarations||ne,imports:e.imports||ne,exports:e.exports||ne,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Rh(e,n){if(null==e)return Lt;const t={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),t[o]=r,n&&(n[o]=i)}return t}function $(e){return nn(()=>{const n=Fh(e);return Ph(n),n})}function ct(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Z(e){return e[Co]||null}function ke(e){return e[Il]||null}function ze(e){return e[Ml]||null}function Fh(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||Lt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||ne,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Rh(e.inputs,n),outputs:Rh(e.outputs),debugInfo:null}}function Ph(e){e.features?.forEach(n=>n(e))}function es(e,n){if(!e)return null;const t=n?ze:Pb;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(kb)}const be=0,I=1,L=2,_e=3,Tt=4,We=5,Vt=6,vr=7,he=8,Je=9,_r=10,j=11,Io=12,kh=13,yr=14,De=15,Mo=16,Cr=17,Ht=18,So=19,Lh=20,wn=21,ts=22,Un=23,V=25,Ll=1,Vh=2,Vl=6,Bt=7,Dr=9,Se=11;function Ge(e){return Array.isArray(e)&&"object"==typeof e[Ll]}function je(e){return Array.isArray(e)&&!0===e[Ll]}function Hl(e){return 0!=(4&e.flags)}function zn(e){return e.componentOffset>-1}function rs(e){return 1==(1&e.flags)}function At(e){return!!e.template}function Bl(e){return 0!=(512&e[L])}function Gn(e,n){return e.hasOwnProperty(en)?e[en]:null}class $b{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function on(){return $h}function $h(e){return e.type.prototype.ngOnChanges&&(e.setInput=zb),Ub}function Ub(){const e=zh(this),n=e?.current;if(n){const t=e.previous;if(t===Lt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function zb(e,n,t,r){const o=this.declaredInputs[t],i=zh(e)||function Gb(e,n){return e[Uh]=n}(e,{previous:Lt,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new $b(l&&l.currentValue,n,a===Lt),e[r]=n}on.ngInherit=!0;const Uh="__ngSimpleChanges__";function zh(e){return e[Uh]||null}const jt=function(e,n,t){};function pe(e){for(;Array.isArray(e);)e=e[be];return e}function Ao(e,n){return pe(n[e])}function Xe(e,n){return pe(n[e.index])}function No(e,n){return e.data[n]}function pt(e,n){const t=n[e];return Ge(t)?t:t[be]}function Gl(e){return 128==(128&e[L])}function $t(e,n){return null==n?null:e[n]}function Wh(e){e[Cr]=0}function Yb(e){1024&e[L]||(e[L]|=1024,Gl(e)&&os(e))}function Qh(e){9216&e[L]&&os(e)}function os(e){let n=e[_e];for(;null!==n&&!(je(n)&&n[Vl]||Ge(n)&&8192&n[L]);){if(je(n))n[Vl]=!0;else if(n[L]|=8192,!Gl(n))break;n=n[_e]}}const H={lFrame:ip(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Kh(){return H.bindingsEnabled}function w(){return H.lFrame.lView}function X(){return H.lFrame.tView}function q(e){return H.lFrame.contextLView=e,e[he]}function W(e){return H.lFrame.contextLView=null,e}function ce(){let e=Jh();for(;null!==e&&64===e.type;)e=e.parent;return e}function Jh(){return H.lFrame.currentTNode}function Ut(e,n){const t=H.lFrame;t.currentTNode=e,t.isParent=n}function Wl(){return H.lFrame.isParent}function Zl(){H.lFrame.isParent=!1}function et(){const e=H.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function zt(){return H.lFrame.bindingIndex++}function an(e){const n=H.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function aE(e,n){const t=H.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ql(n)}function Ql(e){H.lFrame.currentDirectiveIndex=e}function Kl(e){H.lFrame.currentQueryIndex=e}function cE(e){const n=e[I];return 2===n.type?n.declTNode:1===n.type?e[We]:null}function rp(e,n,t){if(t&J.SkipSelf){let o=n,i=e;for(;!(o=o.parent,null!==o||t&J.Host||(o=cE(i),null===o||(i=i[yr],10&o.type))););if(null===o)return!1;n=o,e=i}const r=H.lFrame=op();return r.currentTNode=n,r.lView=e,!0}function Jl(e){const n=op(),t=e[I];H.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function op(){const e=H.lFrame,n=null===e?null:e.child;return null===n?ip(e):n}function ip(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function sp(){const e=H.lFrame;return H.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const ap=sp;function Xl(){const e=sp();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function tt(){return H.lFrame.selectedIndex}function qn(e){H.lFrame.selectedIndex=e}function ve(){const e=H.lFrame;return No(e.tView,e.selectedIndex)}let up=!0;function ss(){return up}function bn(e){up=e}function as(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[l]<0&&(e[Cr]+=65536),(a>14>16&&(3&e[L])===n&&(e[L]+=16384,fp(a,i)):fp(a,i)}const Er=-1;class Oo{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function nc(e){return e!==Er}function Ro(e){return 32767&e}function Fo(e,n){let t=function CE(e){return e>>16}(e),r=n;for(;t>0;)r=r[yr],t--;return r}let rc=!0;function us(e){const n=rc;return rc=e,n}const hp=255,pp=5;let DE=0;const Gt={};function ds(e,n){const t=gp(e,n);if(-1!==t)return t;const r=n[I];r.firstCreatePass&&(e.injectorIndex=n.length,oc(r.data,e),oc(n,null),oc(r.blueprint,null));const o=fs(e,n),i=e.injectorIndex;if(nc(o)){const s=Ro(o),a=Fo(o,n),l=a[I].data;for(let c=0;c<8;c++)n[i+c]=a[s+c]|l[s+c]}return n[i+8]=o,i}function oc(e,n){e.push(0,0,0,0,0,0,0,0,n)}function gp(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function fs(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;null!==o;){if(r=wp(o),null===r)return Er;if(t++,o=o[yr],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Er}function ic(e,n,t){!function wE(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(Do)&&(r=t[Do]),null==r&&(r=t[Do]=DE++);const o=r&hp;n.data[e+(o>>pp)]|=1<=0?n&hp:ME:n}(t);if("function"==typeof i){if(!rp(n,e,r))return r&J.Host?mp(o,0,r):vp(n,t,r,o);try{let s;if(s=i(r),null!=s||r&J.Optional)return s;Sl()}finally{ap()}}else if("number"==typeof i){let s=null,a=gp(e,n),l=Er,c=r&J.Host?n[De][We]:null;for((-1===a||r&J.SkipSelf)&&(l=-1===a?fs(e,n):n[a+8],l!==Er&&Dp(r,!1)?(s=n[I],a=Ro(l),n=Fo(l,n)):a=-1);-1!==a;){const u=n[I];if(Cp(i,a,u.data)){const d=EE(a,n,t,s,r,c);if(d!==Gt)return d}l=n[a+8],l!==Er&&Dp(r,n[I].data[a+8]===c)&&Cp(i,a,n)?(s=u,a=Ro(l),n=Fo(l,n)):a=-1}}return o}function EE(e,n,t,r,o,i){const s=n[I],a=s.data[e+8],u=function hs(e,n,t,r,o){const i=e.providerIndexes,s=n.data,a=1048575&i,l=e.directiveStart,u=i>>20,h=o?a+u:e.directiveEnd;for(let p=r?a:a+u;p=l&&m.type===t)return p}if(o){const p=s[l];if(p&&At(p)&&p.type===t)return l}return null}(a,s,t,null==r?zn(a)&&rc:r!=s&&0!=(3&a.type),o&J.Host&&i===a);return null!==u?Wn(n,s,u,a):Gt}function Wn(e,n,t,r){let o=e[t];const i=n.data;if(function mE(e){return e instanceof Oo}(o)){const s=o;s.resolving&&function lb(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new S(-200,`Circular dependency in DI detected for ${e}${t}`)}(function re(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():B(e)}(i[t]));const a=us(s.canSeeViewProviders);s.resolving=!0;const c=s.injectImpl?lt(s.injectImpl):null;rp(e,r,J.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&function pE(e,n,t){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){const s=$h(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}(t,i[t],n)}finally{null!==c&<(c),us(a),s.resolving=!1,ap()}}return o}function Cp(e,n,t){return!!(t[n+(e>>pp)]&1<{const n=e.prototype.constructor,t=n[en]||sc(n),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[en]||sc(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function sc(e){return Wi(e)?()=>{const n=sc(F(e));return n&&n()}:Gn(e)}function wp(e){const n=e[I],t=n.type;return 2===t?n.declTNode:1===t?e[We]:null}const Tr="__parameters__";function Nr(e,n,t){return nn(()=>{const r=function lc(e){return function(...t){if(e){const r=e(...t);for(const o in r)this[o]=r[o]}}}(n);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,c,u){const d=l.hasOwnProperty(Tr)?l[Tr]:Object.defineProperty(l,Tr,{value:[]})[Tr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),l}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Or(e,n){e.forEach(t=>Array.isArray(t)?Or(t,n):n(t))}function Ep(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function ps(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function gt(e,n,t){let r=Rr(e,n);return r>=0?e[1|r]=t:(r=~r,function Ip(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(1===o)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function uc(e,n){const t=Rr(e,n);if(t>=0)return e[1|t]}function Rr(e,n){return function Mp(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){const i=r+(o-r>>1),s=e[i<n?o=i:r=i+1}return~(o<{t.push(s)};return Or(n,s=>{const a=s;_s(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Rp(o,i),t}function Rp(e,n){for(let t=0;t{n(i,r)})}}function _s(e,n,t,r){if(!(e=F(e)))return!1;let o=null,i=Qi(e);const s=!i&&Z(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=Qi(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const c of l)_s(c,n,t,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let c;r.add(o);try{Or(i.imports,u=>{_s(u,n,t,r)&&(c||=[],c.push(u))})}finally{}void 0!==c&&Rp(c,n)}if(!a){const c=Gn(o)||(()=>new o);n({provide:o,useFactory:c,deps:ne},o),n({provide:gc,useValue:o,multi:!0},o),n({provide:Vo,useValue:()=>ee(o),multi:!0},o)}const l=i.providers;if(null!=l&&!a){const c=e;mc(l,u=>{n(u,c)})}}}return o!==e&&void 0!==e.providers}function mc(e,n){for(let t of e)El(t)&&(t=t.\u0275providers),Array.isArray(t)?mc(t,n):n(t)}const YE=ae({provide:String,useValue:ae});function vc(e){return null!==e&&"object"==typeof e&&YE in e}function Zn(e){return"function"==typeof e}const _c=new O("Set Injector scope."),ys={},JE={};let yc;function Cs(){return void 0===yc&&(yc=new vs),yc}class ln{}class Qn extends ln{get destroyed(){return this._destroyed}constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Dc(n,s=>this.processProvider(s)),this.records.set(Np,Pr(void 0,this)),o.has("environment")&&this.records.set(ln,Pr(void 0,this));const i=this.records.get(_c);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(gc,ne,J.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=Cn(this),r=lt(void 0);try{return n()}finally{Cn(t),lt(r)}}get(n,t=wo,r=J.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(vh))return n[vh](this);r=Ji(r);const i=Cn(this),s=lt(void 0);try{if(!(r&J.SkipSelf)){let l=this.records.get(n);if(void 0===l){const c=function rI(e){return"function"==typeof e||"object"==typeof e&&e instanceof O}(n)&&Zi(n);l=c&&this.injectableDefInScope(c)?Pr(Cc(n),ys):null,this.records.set(n,l)}if(null!=l)return this.hydrate(n,l)}return(r&J.Self?Cs():this.parent).get(n,t=r&J.Optional&&t===wo?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[Ki]=a[Ki]||[]).unshift(Oe(n)),i)throw a;return function wb(e,n,t,r){const o=e[Ki];throw n[bh]&&o.unshift(n[bh]),e.message=function bb(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Oe(n);if(Array.isArray(n))o=n.map(Oe).join(" -> ");else if("object"==typeof n){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Oe(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(vb,"\n ")}`}("\n"+e.message,o,t,r),e.ngTokenPath=o,e[Ki]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{lt(s),Cn(i)}}resolveInjectorInitializers(){const n=Cn(this),t=lt(void 0);try{const o=this.get(Vo,ne,J.Self);for(const i of o)i()}finally{Cn(n),lt(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(Oe(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new S(205,!1)}processProvider(n){let t=Zn(n=F(n))?n:F(n&&n.provide);const r=function eI(e){return vc(e)?Pr(void 0,e.useValue):Pr(kp(e),ys)}(n);if(Zn(n)||!0!==n.multi)this.records.get(t);else{let o=this.records.get(t);o||(o=Pr(void 0,ys,!0),o.factory=()=>Pl(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===ys&&(t.value=JE,t.value=t.factory()),"object"==typeof t.value&&t.value&&function nI(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=F(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Cc(e){const n=Zi(e),t=null!==n?n.factory:Gn(e);if(null!==t)return t;if(e instanceof O)throw new S(204,!1);if(e instanceof Function)return function XE(e){const n=e.length;if(n>0)throw function ko(e,n){const t=[];for(let r=0;rt.factory(e):()=>new e}(e);throw new S(204,!1)}function kp(e,n,t){let r;if(Zn(e)){const o=F(e);return Gn(o)||Cc(o)}if(vc(e))r=()=>F(e.useValue);else if(function Pp(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Pl(e.deps||[]));else if(function Fp(e){return!(!e||!e.useExisting)}(e))r=()=>ee(F(e.useExisting));else{const o=F(e&&(e.useClass||e.provide));if(!function tI(e){return!!e.deps}(e))return Gn(o)||Cc(o);r=()=>new o(...Pl(e.deps))}return r}function Pr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Dc(e,n){for(const t of e)Array.isArray(t)?Dc(t,n):t&&El(t)?Dc(t.\u0275providers,n):n(t)}function Bp(e,n=null,t=null,r){const o=jp(e,n,t,r);return o.resolveInjectorInitializers(),o}function jp(e,n=null,t=null,r,o=new Set){const i=[t||ne,QE(e)];return r=r||("object"==typeof e?void 0:Oe(e)),new Qn(i,n||Cs(),r||null,o)}let Ec,Ct=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=wo;static#t=this.NULL=new vs;static create(t,r){if(Array.isArray(t))return Bp({name:""},r,t,"");{const o=t.name??"";return Bp({name:o},t.parent,t.providers,o)}}static#n=this.\u0275prov=te({token:e,providedIn:"any",factory:()=>ee(Np)});static#r=this.__NG_ELEMENT_ID__=-1}return e})();const ws=new O("AppId",{providedIn:"root",factory:()=>fI}),fI="ng",Up=new O("Platform Initializer"),kr=new O("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),zp=new O("CSP nonce",{providedIn:"root",factory:()=>function En(){if(void 0!==Ec)return Ec;if(typeof document<"u")return document;throw new S(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function Ic(e){return e.ownerDocument.defaultView}function Ms(e){return 128==(128&e.flags)}var Sn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Sn||{});const DI=/^>|^->||--!>|)/g,bI="\u200b$1\u200b";const Nc=new Map;let EI=0;const Oc="__ngContext__";function Qe(e,n){Ge(n)?(e[Oc]=n[So],function MI(e){Nc.set(e[So],e)}(n)):e[Oc]=n}let Rc;function Fc(e,n){return Rc(e,n)}function Uo(e){const n=e[_e];return je(n)?n[_e]:n}function lg(e){return ug(e[Io])}function cg(e){return ug(e[Tt])}function ug(e){for(;null!==e&&!je(e);)e=e[Tt];return e}function Vr(e,n,t,r,o){if(null!=r){let i,s=!1;je(r)?i=r:Ge(r)&&(s=!0,r=r[be]);const a=pe(r);0===e&&null!==t?null==o?pg(n,t,a):Kn(n,t,a,o||null,!0):1===e&&null!==t?Kn(n,t,a,o||null,!0):2===e?function Rs(e,n,t){const r=xs(e,n);r&&function GI(e,n,t,r){e.removeChild(n,t,r)}(e,r,n,t)}(n,a,s):3===e&&n.destroyNode(a),null!=i&&function ZI(e,n,t,r,o){const i=t[Bt];i!==pe(t)&&Vr(n,e,r,i,o);for(let a=Se;an.replace(wI,bI))}(n))}function As(e,n,t){return e.createElement(n,t)}function fg(e,n){const t=e[Dr],r=t.indexOf(n);t.splice(r,1)}function zo(e,n){if(e.length<=Se)return;const t=Se+n,r=e[t];if(r){const o=r[Mo];null!==o&&o!==e&&fg(o,r),n>0&&(e[t-1][Tt]=r[Tt]);const i=ps(e,Se+n);!function LI(e,n){qo(e,n,n[j],2,null,null),n[be]=null,n[We]=null}(r[I],r);const s=i[Ht];null!==s&&s.detachView(i[I]),r[_e]=null,r[Tt]=null,r[L]&=-129}return r}function Ns(e,n){if(!(256&n[L])){const t=n[j];n[Un]&&function Pf(e){if(pr(e),yo(e))for(let n=0;n=0?r[s]():r[-s].unsubscribe(),i+=2}else t[i].call(r[t[i+1]]);null!==r&&(n[vr]=null);const o=n[wn];if(null!==o){n[wn]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Mt.None||i===Mt.Emulated)return null}return Xe(r,t)}}(e,n.parent,t)}function Kn(e,n,t,r,o){e.insertBefore(n,t,r,o)}function pg(e,n,t){e.appendChild(n,t)}function gg(e,n,t,r,o){null!==r?Kn(e,n,t,r,o):pg(e,n,t)}function xs(e,n){return e.parentNode(n)}let Vc,_g=function vg(e,n,t){return 40&e.type?Xe(e,t):null};function Os(e,n,t,r){const o=Lc(e,r,n),i=n[j],a=function mg(e,n,t){return _g(e,n,t)}(r.parent||n[We],r,n);if(null!=o)if(Array.isArray(t))for(let l=0;lnull;function eu(e,n,t=!1){return kg(e,n,t)}class xM{}class Hg{}class RM{resolveComponentFactory(n){throw function OM(e){const n=Error(`No component factory found for ${Oe(e)}.`);return n.ngComponent=e,n}(n)}}let $s=(()=>{class e{static#e=this.NULL=new RM}return e})();function FM(){return Ur(ce(),w())}function Ur(e,n){return new Nt(Xe(e,n))}let Nt=(()=>{class e{constructor(t){this.nativeElement=t}static#e=this.__NG_ELEMENT_ID__=FM}return e})();class jg{}let Jn=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function kM(){const e=w(),t=pt(ce().index,e);return(Ge(t)?t:e)[j]}()}return e})(),LM=(()=>{class e{static#e=this.\u0275prov=te({token:e,providedIn:"root",factory:()=>null})}return e})();class Us{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const VM=new Us("17.0.2"),ru={};function zs(e){return!!ou(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function ou(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class Ug{constructor(){}supports(n){return zs(n)}create(n){return new UM(n)}}const $M=(e,n)=>n;class UM{constructor(n){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=n||$M}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(o,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),r=!0),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return null===n?i=this._itTail:(i=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new zM(t,r),i,o),n}_verifyReinsertion(n,t,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=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(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,i=n._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new zg),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new zg),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class zM{constructor(n,t){this.item=n,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 GM{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class zg{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new GM,this.map.set(t,r)),r.add(n)}get(n,t){const o=this.map.get(n);return o?o.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Gg(e,n,t){const r=e.previousIndex;if(null===r)return r;let o=0;return t&&r{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const o=this._records.get(n);this._maybeAddToChanges(o,t);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new WM(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}}class WM{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Wg(){return new Gs([new Ug])}let Gs=(()=>{class e{static#e=this.\u0275prov=te({token:e,providedIn:"root",factory:Wg});constructor(t){this.factories=t}static create(t,r){if(null!=r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Wg()),deps:[[e,new hc,new fc]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(null!=r)return r;throw new S(901,!1)}}return e})();function Zg(){return new Jo([new qg])}let Jo=(()=>{class e{static#e=this.\u0275prov=te({token:e,providedIn:"root",factory:Zg});constructor(t){this.factories=t}static create(t,r){if(r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||Zg()),deps:[[e,new hc,new fc]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(r)return r;throw new S(901,!1)}}return e})();function Xo(e,n,t,r,o=!1){for(;null!==t;){const i=n[t.index];null!==i&&r.push(pe(i)),je(i)&&Qg(i,r);const s=t.type;if(8&s)Xo(e,n,t.child,r);else if(32&s){const a=Fc(t,n);let l;for(;l=a();)r.push(l)}else if(16&s){const a=Cg(n,t);if(Array.isArray(a))r.push(...a);else{const l=Uo(n[De]);Xo(l[I],l,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Qg(e,n){for(let t=Se;t!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{os(e.lView)},consumerOnSignalRead(){this.lView[Un]=this}};function iu(e){return e.ngOriginalError}class un{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&iu(n);for(;t&&iu(t);)t=iu(t);return t||null}}const Xg=new O("",{providedIn:"root",factory:()=>!1}),U={};function f(e){rm(X(),w(),tt()+e,!1)}function rm(e,n,t,r){if(!r)if(3==(3&n[L])){const i=e.preOrderCheckHooks;null!==i&&ls(n,i,t)}else{const i=e.preOrderHooks;null!==i&&cs(n,i,0,t)}qn(t)}function M(e,n=J.Default){const t=w();return null===t?ee(e,n):_p(ce(),t,F(e),n)}function Ws(e,n,t,r,o,i,s,a,l,c,u){const d=n.blueprint.slice();return d[be]=o,d[L]=140|r,(null!==c||e&&2048&e[L])&&(d[L]|=2048),Wh(d),d[_e]=d[yr]=e,d[he]=t,d[_r]=s||e&&e[_r],d[j]=a||e&&e[j],d[Je]=l||e&&e[Je]||null,d[We]=i,d[So]=function II(){return EI++}(),d[Vt]=u,d[Lh]=c,d[De]=2==n.type?e[De]:d,d}function zr(e,n,t,r,o){let i=e.data[n];if(null===i)i=function su(e,n,t,r,o){const i=Jh(),s=Wl(),l=e.data[n]=function h0(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return function br(){return null!==H.skipHydrationRootTNode}()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,t,n,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,n,t,r,o),function sE(){return H.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=t,i.value=r,i.attrs=o;const s=function xo(){const e=H.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Ut(i,!0),i}function ei(e,n,t,r){if(0===t)return-1;const o=n.length;for(let i=0;iV&&rm(e,n,V,!1),jt(s?2:0,o),t(r,o)}finally{qn(i),jt(s?3:1,o)}}function au(e,n,t){if(Hl(n)){const r=we(null);try{const i=n.directiveEnd;for(let s=n.directiveStart;snull;function am(e,n,t,r){for(let o in e)if(e.hasOwnProperty(o)){t=null===t?{}:t;const i=e[o];null===r?lm(t,n,o,i):r.hasOwnProperty(o)&&lm(t,n,r[o],i)}return t}function lm(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function vt(e,n,t,r,o,i,s,a){const l=Xe(n,t);let u,c=n.inputs;!a&&null!=c&&(u=c[r])?(gu(e,t,u,r,o),zn(n)&&function m0(e,n){const t=pt(n,e);16&t[L]||(t[L]|=64)}(t,n.index)):3&n.type&&(r=function g0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,n.value||"",r):o,i.setProperty(l,r,o))}function du(e,n,t,r){if(Kh()){const o=null===r?null:{"":-1},i=function w0(e,n){const t=e.directiveRegistry;let r=null,o=null;if(t)for(let i=0;i0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,i)}}(e,n,r,ei(e,t,o.hostVars,U),o)}function qt(e,n,t,r,o,i){const s=Xe(e,n);!function hu(e,n,t,r,o,i,s){if(null==i)e.removeAttribute(n,o,t);else{const a=null==s?B(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}(n[j],s,i,e.value,t,r,o)}function T0(e,n,t,r,o,i){const s=i[n];if(null!==s)for(let a=0;ae.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,s),function KM(e){e.lView[Un]!==e&&(e.lView=null,Yg.push(e))}(a)),Xl()}}function _m(e,n){for(let t=lg(e);null!==t;t=cg(t)){t[Vl]=!1;for(let r=Se;r-1&&(zo(n,r),ps(t,r))}this._attachedToViewContainer=!1}Ns(this._lView[I],this._lView)}onDestroy(n){!function is(e,n){if(256==(256&e[L]))throw new S(911,!1);null===e[wn]&&(e[wn]=[]),e[wn].push(n)}(this._lView,n)}markForCheck(){ti(this._cdRefInjectingView||this._lView)}detach(){this._lView[L]&=-129}reattach(){Qh(this._lView),this._lView[L]|=128}detectChanges(){!function mu(e,n,t,r=!0){const o=n[_r],i=o.rendererFactory,s=o.afterRenderEventManager;i.begin?.(),s?.begin();try{vm(e,n,e.template,t),function x0(e){let n=0;for(;9216&e[L]||e[Un]?.dirty;){if(100===n)throw new S(103,!1);n++,Cm(e,1)}}(n)}catch(l){throw r&&Qs(n,l),l}finally{i.end?.(),o.inlineEffectRunner?.flush(),s?.end()}}(this._lView[I],this._lView,this.context,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new S(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function HI(e,n){qo(e,n,n[j],2,null,null)}(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new S(902,!1);this._appRef=n}}let vu=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=k0}return e})();function k0(e){return function L0(e,n,t){if(zn(e)&&!t){const r=pt(e.index,n);return new ni(r,r)}return 47&e.type?new ni(n[De],n):null}(ce(),w(),16==(16&e))}function yu(e){return n=>{setTimeout(e,void 0,n)}}const Te=class W0 extends zi{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&"object"==typeof n){const l=n;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=yu(i),o&&(o=yu(o)),s&&(s=yu(s)));const a=super.subscribe({next:o,error:i,complete:s});return n instanceof kt&&n.add(a),a}};function bm(...e){}class ye{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Te(!1),this.onMicrotaskEmpty=new Te(!1),this.onStable=new Te(!1),this.onError=new Te(!1),typeof Zone>"u")throw new S(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&t,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function Z0(){const e="function"==typeof fe.requestAnimationFrame;let n=fe[e?"requestAnimationFrame":"setTimeout"],t=fe[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function K0(e){const n=()=>{!function Y0(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(fe,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Du(e),e.isCheckStableRunning=!0,Cu(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Du(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,o,i,s,a)=>{if(function X0(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(o,i,s,a);try{return Em(e),t.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&n(),Im(e)}},onInvoke:(t,r,o,i,s,a,l)=>{try{return Em(e),t.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&n(),Im(e)}},onHasTask:(t,r,o,i)=>{t.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Du(e),Cu(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,o,i)=>(t.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ye.isInAngularZone())throw new S(909,!1)}static assertNotInAngularZone(){if(ye.isInAngularZone())throw new S(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,Q0,bm,bm);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const Q0={};function Cu(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 Du(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Em(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Im(e){e._nesting--,Cu(e)}class J0{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Te,this.onMicrotaskEmpty=new Te,this.onStable=new Te,this.onError=new Te}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}}const Mm=new O("",{providedIn:"root",factory:Sm});function Sm(){const e=oe(ye);let n=!0;return Xw(new Ke(o=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(n),o.complete()})}),new Ke(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{ye.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{ye.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(ph()))}let Ys=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const t of this.internalCallbacks)t();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=te({token:e,providedIn:"root",factory:()=>new e})}return e})();function n1(e,n){const t=pt(n,e),r=t[I];!function r1(e,n){for(let t=n.length;t0&&bg(e,t,i.join(" "))}}(d,Ue,p,r),void 0!==t&&function h1(e,n,t){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=Eo(o.hostAttrs,t=Eo(t,o.hostAttrs))}}(r)}function Js(e){return e===Lt?{}:e===ne?[]:e}function m1(e,n){const t=e.viewQuery;e.viewQuery=t?(r,o)=>{n(r,o),t(r,o)}:n}function v1(e,n){const t=e.contentQueries;e.contentQueries=t?(r,o,i)=>{n(r,o,i),t(r,o,i)}:n}function _1(e,n){const t=e.hostBindings;e.hostBindings=t?(r,o)=>{n(r,o),t(r,o)}:n}function Wt(e,n,t){return e[n]=t}function Re(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function tr(e,n,t,r){const o=Re(e,n,t);return Re(e,n+1,r)||o}function xt(e,n,t,r){const o=w();return Re(o,zt(),n)&&(X(),qt(ve(),o,e,n,t,r)),xt}function qr(e,n,t,r){return Re(e,zt(),t)?n+B(t)+r:U}function ea(e,n){return e<<17|n<<2}function Nn(e){return e>>17&32767}function bu(e){return 2|e}function nr(e){return(131068&e)>>2}function Eu(e,n){return-131069&e|n<<2}function Iu(e){return 1|e}function Wm(e,n,t,r,o){const i=e[t+1],s=null===n;let a=r?Nn(i):nr(i),l=!1;for(;0!==a&&(!1===l||s);){const u=e[a+1];N1(e[a],n)&&(l=!0,e[a+1]=r?Iu(u):bu(u)),a=r?Nn(u):nr(u)}l&&(e[t+1]=r?bu(i):Iu(i))}function N1(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&Rr(e,n)>=0}const He={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Zm(e){return e.substring(He.key,He.keyEnd)}function Qm(e,n){const t=He.textEnd;return t===n?-1:(n=He.keyEnd=function F1(e,n,t){for(;n32;)n++;return n}(e,He.key=n,t),eo(e,n,t))}function eo(e,n,t){for(;n=0;t=Qm(n,t))gt(e,Zm(n),!0)}function tv(e,n){return n>=e.expandoStartIndex}function nv(e,n,t,r){const o=e.data;if(null===o[t+1]){const i=o[tt()],s=tv(e,t);sv(i,r)&&null===n&&!s&&(n=!1),n=function H1(e,n,t,r){const o=function Yl(e){const n=H.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let i=r?n.residualClasses:n.residualStyles;if(null===o)0===(r?n.classBindings:n.styleBindings)&&(t=ii(t=Su(null,e,n,t,r),n.attrs,r),i=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=Su(o,e,n,t,r),null===i){let l=function B1(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==nr(r))return e[Nn(r)]}(e,n,r);void 0!==l&&Array.isArray(l)&&(l=Su(null,e,n,l[1],r),l=ii(l,n.attrs,r),function j1(e,n,t,r){e[Nn(t?n.classBindings:n.styleBindings)]=r}(e,n,r,l))}else i=function $1(e,n,t){let r;const o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i0)&&(c=!0)):u=t,o)if(0!==l){const h=Nn(e[a+1]);e[r+1]=ea(h,a),0!==h&&(e[h+1]=Eu(e[h+1],r)),e[a+1]=function M1(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=ea(a,0),0!==a&&(e[a+1]=Eu(e[a+1],r)),a=r;else e[r+1]=ea(l,0),0===a?a=r:e[l+1]=Eu(e[l+1],r),l=r;c&&(e[r+1]=bu(e[r+1])),Wm(e,u,r,!0),Wm(e,u,r,!1),function A1(e,n,t,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof n&&Rr(i,n)>=0&&(t[r+1]=Iu(t[r+1]))}(n,u,e,r,i),s=ea(a,l),i?n.classBindings=s:n.styleBindings=s}(o,i,n,t,s,r)}}function Su(e,n,t,r,o){let i=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const l=e[o],c=Array.isArray(l),u=c?l[1]:l,d=null===u;let h=t[o+1];h===U&&(h=d?ne:void 0);let p=d?uc(h,r):u===r?h:void 0;if(c&&!na(p)&&(p=uc(l,r)),na(p)&&(a=p,s))return a;const m=e[o+1];o=s?Nn(m):nr(m)}if(null!==n){let l=i?n.residualClasses:n.residualStyles;null!=l&&(a=uc(l,r))}return a}function na(e){return void 0!==e}function sv(e,n){return 0!=(e.flags&(n?8:16))}function Yt(e,n,t){!function Rt(e,n,t,r){const o=X(),i=an(2);o.firstUpdatePass&&nv(o,null,i,r);const s=w();if(t!==U&&Re(s,i,t)){const a=o.data[tt()];if(sv(a,r)&&!tv(o,i)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(t=bl(l,t||"")),Mu(o,a,s,t,r)}else!function G1(e,n,t,r,o,i,s,a){o===U&&(o=ne);let l=0,c=0,u=00&&(t[o-1][Tt]=n),r{class e{static#e=this.__NG_ELEMENT_ID__=IS}return e})();function IS(){return function yv(e,n){let t;const r=n[e.index];return je(r)?t=r:(t=fm(r,n,null,e),n[e.index]=t,Zs(n,t)),Cv(t,n,e,r),new vv(t,e,n)}(ce(),w())}const MS=Kt,vv=class extends MS{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Ur(this._hostTNode,this._hostLView)}get injector(){return new Le(this._hostTNode,this._hostLView)}get parentInjector(){const n=fs(this._hostTNode,this._hostLView);if(nc(n)){const t=Fo(n,this._hostLView),r=Ro(n);return new Le(t[I].data[r+8],t)}return new Le(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=_v(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-Se}createEmbeddedView(n,t,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=n.createEmbeddedViewImpl(t||{},i,null);return this.insertImpl(a,o,no(this._hostTNode,null)),a}createComponent(n,t,r,o,i){const s=n&&!function Po(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const m=t||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}const l=s?n:new ri(Z(n)),c=r||this.parentInjector;if(!i&&null==l.ngModule){const C=(s?c:this.parentInjector).get(ln,null);C&&(i=C)}Z(l.componentType??{});const p=l.create(c,o,null,i);return this.insertImpl(p.hostView,a,no(this._hostTNode,null)),p}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){const o=n._lView;if(function Qb(e){return je(e[_e])}(o)){const a=this.indexOf(n);if(-1!==a)this.detach(a);else{const l=o[_e],c=new vv(l,l[We],l[_e]);c.detach(c.indexOf(n))}}const i=this._adjustIndex(t),s=this._lContainer;return ui(s,o,i,r),n.attachToViewContainerRef(),Ep(ku(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=_v(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=zo(this._lContainer,t);r&&(ps(ku(this._lContainer),t),Ns(r[I],r))}detach(n){const t=this._adjustIndex(n,-1),r=zo(this._lContainer,t);return r&&null!=ps(ku(this._lContainer),t)?new ni(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function _v(e){return e[8]}function ku(e){return e[8]||(e[8]=[])}let Cv=function wv(e,n,t,r){if(e[Bt])return;let o;o=8&t.type?pe(r):function SS(e,n){const t=e[j],r=t.createComment(""),o=Xe(n,e);return Kn(t,xs(t,o),r,function qI(e,n){return e.nextSibling(n)}(t,o),!1),r}(n,t),e[Bt]=o},Lu=(e,n,t)=>!1;function P(e,n,t,r,o,i,s,a){const l=w(),c=X(),u=e+V,d=c.firstCreatePass?function xS(e,n,t,r,o,i,s,a,l){const c=n.consts,u=zr(n,e,4,s||null,$t(c,a));du(n,t,u,$t(c,l)),as(n,u);const d=u.tView=uu(2,u,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,c,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,c,l,n,t,r,o,i,s):c.data[u];Ut(d,!1);const h=bv(c,l,d,e);ss()&&Os(c,l,h,d),Qe(h,l);const p=fm(h,l,h,d);return l[u]=p,Zs(l,p),function Dv(e,n,t){return Lu(e,n,t)}(p,d,l),rs(d)&&lu(c,l,d),null!=s&&cu(l,d,a),P}let bv=function Ev(e,n,t,r){return bn(!0),n[j].createComment("")};function y(e,n,t,r){const o=w(),i=X(),s=V+e,a=o[j],l=i.firstCreatePass?function CT(e,n,t,r,o,i){const s=n.consts,l=zr(n,e,2,r,$t(s,o));return du(n,t,l,$t(s,i)),null!==l.attrs&&Ks(l,l.attrs,!1),null!==l.mergedAttrs&&Ks(l,l.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,l),l}(s,i,o,n,t,r):i.data[s],c=Wv(i,o,l,a,n,e);o[s]=c;const u=rs(l);return Ut(l,!0),Eg(a,c,l),32!=(32&l.flags)&&ss()&&Os(i,o,c,l),0===function Kb(){return H.lFrame.elementDepthCount}()&&Qe(c,o),function Jb(){H.lFrame.elementDepthCount++}(),u&&(lu(i,o,l),au(i,l,o)),null!==r&&cu(o,l),y}function _(){let e=ce();Wl()?Zl():(e=e.parent,Ut(e,!1));const n=e;(function eE(e){return H.skipHydrationRootTNode===e})(n)&&function oE(){H.skipHydrationRootTNode=null}(),function Xb(){H.lFrame.elementDepthCount--}();const t=X();return t.firstCreatePass&&(as(t,e),Hl(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function _E(e){return 0!=(8&e.flags)}(n)&&Mu(t,n,w(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function yE(e){return 0!=(16&e.flags)}(n)&&Mu(t,n,w(),n.stylesWithoutHost,!1),_}function A(e,n,t,r){return y(e,n,t,r),_(),A}let Wv=(e,n,t,r,o,i)=>(bn(!0),As(r,o,function cp(){return H.lFrame.currentNamespace}()));function Y(e,n,t){const r=w(),o=X(),i=e+V,s=o.firstCreatePass?function bT(e,n,t,r,o){const i=n.consts,s=$t(i,r),a=zr(n,e,8,"ng-container",s);return null!==s&&Ks(a,s,!0),du(n,t,a,$t(i,o)),null!==n.queries&&n.queries.elementStart(n,a),a}(i,o,r,n,t):o.data[i];Ut(s,!0);const a=Qv(o,r,s,e);return r[i]=a,ss()&&Os(o,r,a,s),Qe(a,r),rs(s)&&(lu(o,r,s),au(o,s,r)),null!=t&&cu(r,s),Y}function K(){let e=ce();const n=X();return Wl()?Zl():(e=e.parent,Ut(e,!1)),n.firstCreatePass&&(as(n,e),Hl(e)&&n.queries.elementEnd(e)),K}let Qv=(e,n,t,r)=>(bn(!0),Pc(n[j],""));function Ee(){return w()}const uo="en-US";let e_=uo;function ma(e){return!!e&&"function"==typeof e.then}function I_(e){return!!e&&"function"==typeof e.subscribe}function k(e,n,t,r){const o=w(),i=X(),s=ce();return function S_(e,n,t,r,o,i,s){const a=rs(r),c=e.firstCreatePass&&function gm(e){return e.cleanup||(e.cleanup=[])}(e),u=n[he],d=function pm(e){return e[vr]||(e[vr]=[])}(n);let h=!0;if(3&r.type||s){const C=Xe(r,n),E=s?s(C):C,T=d.length,D=s?z=>s(pe(z[r.index])):r.index;let x=null;if(!s&&a&&(x=function wA(e,n,t,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,n,o,r.index)),null!==x)(x.__ngLastListenerFn__||x).__ngNextListenerFn__=i,x.__ngLastListenerFn__=i,h=!1;else{i=A_(r,n,u,i,!1);const z=t.listen(E,o,i);d.push(i,z),c&&c.push(o,D,T,T+1)}}else i=A_(r,n,u,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const C=m.length;if(C)for(let E=0;E-1?pt(e.index,n):n);let l=T_(n,t,r,s),c=i.__ngNextListenerFn__;for(;c;)l=T_(n,t,c,s)&&l,c=c.__ngNextListenerFn__;return o&&!1===l&&s.preventDefault(),l}}function v(e=1){return function uE(e){return(H.lFrame.contextLView=function Zh(e,n){for(;e>0;)n=n[yr],e--;return n}(e,H.lFrame.contextLView))[he]}(e)}function On(e,n,t){return Yu(e,"",n,"",t),On}function Yu(e,n,t,r,o){const i=w(),s=qr(i,n,t,r);return s!==U&&vt(X(),ve(),i,e,s,i[j],o,!1),Yu}function b(e,n=""){const t=w(),r=X(),o=e+V,i=r.firstCreatePass?zr(r,o,1,n,null):r.data[o],s=W_(r,t,i,n,e);t[o]=s,ss()&&Os(r,t,s,i),Ut(i,!1)}let W_=(e,n,t,r,o)=>(bn(!0),function Ts(e,n){return e.createText(n)}(n[j],r));function N(e){return G("",e,""),N}function G(e,n,t){const r=w(),o=qr(r,e,n,t);return o!==U&&function dn(e,n,t){const r=Ao(n,e);!function dg(e,n,t){e.setValue(n,t)}(e[j],r,t)}(r,tt(),o),G}function Ku(e,n,t,r,o){if(e=F(e),Array.isArray(e))for(let i=0;i>20;if(Zn(e)||!e.multi){const p=new Oo(c,o,M),m=Xu(l,n,o?u:u+h,d);-1===m?(ic(ds(a,s),i,l),Ju(i,e,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(p),s.push(p)):(t[m]=p,s[m]=p)}else{const p=Xu(l,n,u+h,d),m=Xu(l,n,u,u+h),E=m>=0&&t[m];if(o&&!E||!o&&!(p>=0&&t[p])){ic(ds(a,s),i,l);const T=function $A(e,n,t,r,o){const i=new Oo(e,t,M);return i.multi=[],i.index=n,i.componentProviders=0,ny(i,o,r&&!t),i}(o?jA:BA,t.length,o,r,c);!o&&E&&(t[m].providerFactory=T),Ju(i,e,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(T),s.push(T)}else Ju(i,e,p>-1?p:m,ny(t[o?m:p],c,!o&&r));!o&&r&&E&&t[m].componentProviders++}}}function Ju(e,n,t,r){const o=Zn(n),i=function KE(e){return!!e.useClass}(n);if(o||i){const l=(i?F(n.useClass):n).prototype.ngOnDestroy;if(l){const c=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const u=c.indexOf(t);-1===u?c.push(t,[r,l]):c[u+1].push(r,l)}else c.push(t,l)}}}function ny(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Xu(e,n,t,r){for(let o=t;o{t.providersResolver=(r,o)=>function HA(e,n,t){const r=X();if(r.firstCreatePass){const o=At(e);Ku(t,r.data,r.blueprint,o,!0),Ku(n,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,n)}}class ir{}class UA{}class td extends ir{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Om(this);const o=function qe(e,n){const t=e[mh]||null;if(!t&&!0===n)throw new Error(`Type ${Oe(e)} does not have '\u0275mod' property.`);return t}(n);this._bootstrapComponents=function mt(e){return e instanceof Function?e():e}(o.bootstrap),this._r3Injector=jp(n,t,[{provide:ir,useValue:this},{provide:$s,useValue:this.componentFactoryResolver},...r],Oe(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class nd extends UA{constructor(n){super(),this.moduleType=n}create(n){return new td(this.moduleType,n,[])}}function ya(e,n,t,r){return function dy(e,n,t,r,o,i){const s=n+t;return Re(e,s,o)?Wt(e,s+1,i?r.call(i,o):r(o)):yi(e,s+1)}(w(),et(),e,n,t,r)}function od(e,n,t,r,o){return function fy(e,n,t,r,o,i,s){const a=n+t;return tr(e,a,o,i)?Wt(e,a+2,s?r.call(s,o,i):r(o,i)):yi(e,a+2)}(w(),et(),e,n,t,r,o)}function $e(e,n,t,r,o,i){return hy(w(),et(),e,n,t,r,o,i)}function yi(e,n){const t=e[n];return t===U?void 0:t}function hy(e,n,t,r,o,i,s,a){const l=n+t;return function Xs(e,n,t,r,o){const i=tr(e,n,t,r);return Re(e,n+2,o)||i}(e,l,o,i,s)?Wt(e,l+3,a?r.call(a,o,i,s):r(o,i,s)):yi(e,l+3)}function vy(e,n,t,r,o){const i=e+V,s=w(),a=function wr(e,n){return e[n]}(s,i);return function Ci(e,n){return e[I].data[n].pure}(s,i)?hy(s,et(),n,a.transform,t,r,o,a):a.transform(t,r,o)}Symbol;let fn=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=CN}return e})();const _N=fn,yN=class extends _N{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const o=function ci(e,n,t,r){const o=n.tView,a=Ws(e,o,t,4096&e[L]?4096:16,null,n,null,null,null,r?.injector??null,r?.dehydratedView??null);a[Mo]=e[n.index];const c=e[Ht];return null!==c&&(a[Ht]=c.createEmbeddedView(o)),wu(o,a,t),a}(this._declarationLView,this._declarationTContainer,n,{injector:t,dehydratedView:r});return new ni(o)}};function CN(){return function Ca(e,n){return 4&e.type?new yN(n,e,Ur(e,n)):null}(ce(),w())}const XN=new O("Application Initializer");let gd=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=oe(XN,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const i=o();if(ma(i))t.push(i);else if(I_(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),0===t.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const hn=new O("LocaleId",{providedIn:"root",factory:()=>oe(hn,J.Optional|J.SkipSelf)||function tx(){return typeof $localize<"u"&&$localize.locale||uo}()});let ax=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new eb(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Uy=new O(""),ba=new O("");let yd,vd=(()=>{class e{constructor(t,r,o){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,yd||(function Rx(e){yd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?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:()=>{ye.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(ee(ye),ee(_d),ee(ba))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})(),_d=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return yd?.findTestabilityInTree(this,t,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Rn=null;const zy=new O("AllowMultipleToken"),Cd=new O("PlatformDestroyListeners"),Gy=new O("appBootstrapListener");function Zy(e,n,t=[]){const r=`Platform: ${n}`,o=new O(r);return(i=[])=>{let s=Dd();if(!s||s.injector.get(zy,!1)){const a=[...t,...i,{provide:o,useValue:!0}];e?e(a):function kx(e){if(Rn&&!Rn.get(zy,!1))throw new S(400,!1);(function qy(){!function mw(e){Vf=e}(()=>{throw new S(600,!1)})})(),Rn=e;const n=e.get(Yy);(function Wy(e){e.get(Up,null)?.forEach(t=>t())})(e)}(function Qy(e=[],n){return Ct.create({name:n,providers:[{provide:_c,useValue:"platform"},{provide:Cd,useValue:new Set([()=>Rn=null])},...e]})}(a,r))}return function Vx(e){const n=Dd();if(!n)throw new S(401,!1);return n}()}}function Dd(){return Rn?.get(Yy)??null}let Yy=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const o=function Hx(e="zone.js",n){return"noop"===e?new J0:"zone.js"===e?new ye(n):e}(r?.ngZone,function Ky(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function GA(e,n,t){return new td(e,n,t)}(t.moduleType,this.injector,function nC(e){return[{provide:ye,useFactory:e},{provide:Vo,multi:!0,useFactory:()=>{const n=oe(jx,{optional:!0});return()=>n.initialize()}},{provide:tC,useFactory:Bx},{provide:Mm,useFactory:Sm}]}(()=>o)),s=i.injector.get(un,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});i.onDestroy(()=>{Ea(this._modules,i),a.unsubscribe()})}),function Jy(e,n,t){try{const r=t();return ma(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(gd);return a.runInitializers(),a.donePromise.then(()=>(function t_(e){at(e,"Expected localeId to be defined"),"string"==typeof e&&(e_=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(hn,uo)||uo),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,r=[]){const o=Xy({},r);return function Fx(e,n,t){const r=new nd(t);return Promise.resolve(r)}(0,0,t).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(t){const r=t.injector.get(bi);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new S(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new S(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(Cd,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(ee(Ct))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Xy(e,n){return Array.isArray(n)?n.reduce(Xy,e):{...e,...n}}let bi=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=oe(tC),this.zoneIsStable=oe(Mm),this.componentTypes=[],this.components=[],this.isStable=oe(ax).hasPendingTasks.pipe(function rb(e,n){return mn((t,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();t.subscribe(new Xt(r,l=>{o?.unsubscribe();let c=0;const u=i++;vn(e(l,u)).subscribe(o=new Xt(r,d=>r.next(n?n(l,d,u,c++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}(t=>t?function tb(...e){return Gi(e,uh(e))}(!1):this.zoneIsStable),function ob(e,n=vl){return e=e??ib,mn((t,r)=>{let o,i=!0;t.subscribe(new Xt(r,s=>{const a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),ph()),this._injector=oe(ln)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const o=t instanceof Hg;if(!this._injector.get(gd).done)throw!o&&function $n(e){const n=Z(e)||ke(e)||ze(e);return null!==n&&n.standalone}(t),new S(405,!1);let s;s=o?t:this._injector.get($s).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function Px(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ir),c=s.create(Ct.NULL,[],r||s.selector,a),u=c.location.nativeElement,d=c.injector.get(Uy,null);return d?.registerApplication(u),c.onDestroy(()=>{this.detachView(c.hostView),Ea(this.components,c),d?.unregisterApplication(u)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new S(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;Ea(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(Gy,[]);[...this._bootstrapListeners,...r].forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Ea(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new S(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ea(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const tC=new O("",{providedIn:"root",factory:()=>oe(un).handleError.bind(void 0)});function Bx(){const e=oe(ye),n=oe(un);return t=>e.runOutsideAngular(()=>n.handleError(t))}let jx=(()=>{class e{constructor(){this.zone=oe(ye),this.applicationRef=oe(bi)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const Zx=Zy(null,"core",[]);let Qx=(()=>{class e{constructor(t){}static#e=this.\u0275fac=function(r){return new(r||e)(ee(bi))};static#t=this.\u0275mod=Dn({type:e});static#n=this.\u0275inj=tn({})}return e})();let Od=null;function Mi(){return Od}class _O{}const ar=new O("DocumentToken"),$d=/\s+/,RC=[];let Ai=(()=>{class e{constructor(t,r,o,i){this._iterableDiffers=t,this._keyValueDiffers=r,this._ngEl=o,this._renderer=i,this.initialClasses=RC,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split($d):RC}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split($d):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const o=this.stateMap.get(t);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split($d).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(r){return new(r||e)(M(Gs),M(Jo),M(Nt),M(Jn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return e})();class sR{constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}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}}let mo=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new sR(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),PC(a,o)}});for(let o=0,i=r.length;o{PC(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(M(Kt),M(fn),M(Gs))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return e})();function PC(e,n){e.context.$implicit=n.item}let lr=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new aR,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){kC("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){kC("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}static#e=this.\u0275fac=function(r){return new(r||e)(M(Kt),M(fn))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return e})();class aR{constructor(){this.$implicit=null,this.ngIf=null}}function kC(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Oe(n)}'.`)}let HC=(()=>{class e{transform(t,r,o){if(null==t)return null;if(!this.supports(t))throw function Pt(e,n){return new S(2100,!1)}();return t.slice(r,o)}supports(t){return"string"==typeof t||Array.isArray(t)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275pipe=ct({name:"slice",type:e,pure:!1,standalone:!0})}return e})(),RR=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Dn({type:e});static#n=this.\u0275inj=tn({})}return e})();function jC(e){return"server"===e}class aF extends _O{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Qd extends aF{static makeCurrent(){!function vO(e){Od||(Od=e)}(new Qd)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function lF(){return xi=xi||document.querySelector("base"),xi?xi.getAttribute("href"):null}();return null==t?null:function cF(e){za=za||document.createElement("a"),za.setAttribute("href",e);const n=za.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){xi=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return function oR(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[o,i]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}(document.cookie,n)}}let za,xi=null,dF=(()=>{class e{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();const Yd=new O("EventManagerPlugins");let GC=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new S(5101,!1);return this._eventNameToPlugin.set(t,r),r}static#e=this.\u0275fac=function(r){return new(r||e)(ee(Yd),ee(ye))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();class qC{constructor(n){this._doc=n}}const Kd="ng-app-id";let WC=(()=>{class e{constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=jC(i),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(o=>o.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Kd}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(t,r){const o=this.styleRef;if(o.has(t)){const i=o.get(t);return i.usage+=r,i.usage}return o.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===t)return o.delete(r),i.removeAttribute(Kd),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Kd,this.appId),t.appendChild(s),s}}addStyleToHost(t,r){const o=this.getStyleElement(t,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||e)(ee(ar),ee(ws),ee(zp,8),ee(kr))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();const Jd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Xd=/%COMP%/g,gF=new O("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function QC(e,n){return n.map(t=>t.replace(Xd,e))}let YC=(()=>{class e{constructor(t,r,o,i,s,a,l,c=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=c,this.rendererByCompId=new Map,this.platformIsServer=jC(a),this.defaultRenderer=new ef(t,s,l,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Mt.ShadowDom&&(r={...r,encapsulation:Mt.Emulated});const o=this.getOrCreateRenderer(t,r);return o instanceof JC?o.applyToHost(t):o instanceof tf&&o.applyStyles(),o}getOrCreateRenderer(t,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Mt.Emulated:i=new JC(l,c,r,this.appId,u,s,a,d);break;case Mt.ShadowDom:return new yF(l,c,t,r,s,a,this.nonce,d);default:i=new tf(l,c,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||e)(ee(GC),ee(WC),ee(ws),ee(gF),ee(ar),ee(kr),ee(ye),ee(zp))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();class ef{constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(Jd[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(KC(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(KC(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new S(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;const i=Jd[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const o=Jd[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(Sn.DashCase|Sn.Important)?n.style.setProperty(t,r,o&Sn.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&Sn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=Mi().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function KC(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class yF extends ef{constructor(n,t,r,o,i,s,a,l){super(n,i,s,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const c=QC(o.id,o.styles);for(const u of c){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class tf extends ef{constructor(n,t,r,o,i,s,a,l){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=l?QC(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class JC extends tf{constructor(n,t,r,o,i,s,a,l){const c=o+"-"+r.id;super(n,t,r,i,s,a,l,c),this.contentAttr=function mF(e){return"_ngcontent-%COMP%".replace(Xd,e)}(c),this.hostAttr=function vF(e){return"_nghost-%COMP%".replace(Xd,e)}(c)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let CF=(()=>{class e extends qC{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||e)(ee(ar))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();const XC=["alt","control","meta","shift"],DF={"\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"},wF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let bF=(()=>{class e extends qC{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Mi().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),XC.forEach(c=>{const u=r.indexOf(c);u>-1&&(r.splice(u,1),s+=c+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(t,r){let o=DF[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),XC.forEach(s=>{s!==o&&(0,wF[s])(t)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return"esc"===t?"escape":t}static#e=this.\u0275fac=function(r){return new(r||e)(ee(ar))};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})();const SF=Zy(Zx,"browser",[{provide:kr,useValue:"browser"},{provide:Up,useValue:function EF(){Qd.makeCurrent()},multi:!0},{provide:ar,useFactory:function MF(){return function dI(e){Ec=e}(document),document},deps:[]}]),TF=new O(""),nD=[{provide:ba,useClass:class uF{addToWindow(n){fe.getAngularTestability=(r,o=!0)=>{const i=n.findTestabilityInTree(r,o);if(null==i)throw new S(5103,!1);return i},fe.getAllAngularTestabilities=()=>n.getAllTestabilities(),fe.getAllAngularRootElements=()=>n.getAllRootElements(),fe.frameworkStabilizers||(fe.frameworkStabilizers=[]),fe.frameworkStabilizers.push(r=>{const o=fe.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(l=>{l.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Mi().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:Uy,useClass:vd,deps:[ye,_d,ba]},{provide:vd,useClass:vd,deps:[ye,_d,ba]}],rD=[{provide:_c,useValue:"root"},{provide:un,useFactory:function IF(){return new un},deps:[]},{provide:Yd,useClass:CF,multi:!0,deps:[ar,ye,kr]},{provide:Yd,useClass:bF,multi:!0,deps:[ar]},YC,WC,GC,{provide:jg,useExisting:YC},{provide:class VR{},useClass:dF,deps:[]},[]];let AF=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:ws,useValue:t.appId}]}}static#e=this.\u0275fac=function(r){return new(r||e)(ee(TF,12))};static#t=this.\u0275mod=Dn({type:e});static#n=this.\u0275inj=tn({providers:[...rD,...nD],imports:[RR,Qx]})}return e})();typeof window<"u"&&window;const{isArray:kF}=Array,{getPrototypeOf:LF,prototype:VF,keys:HF}=Object;const{isArray:$F}=Array;function GF(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function qF(...e){const n=function Gw(e){return xe(Dl(e))?e.pop():void 0}(e),{args:t,keys:r}=function BF(e){if(1===e.length){const n=e[0];if(kF(n))return{args:n,keys:null};if(function jF(e){return e&&"object"==typeof e&&LF(e)===VF}(n)){const t=HF(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}(e),o=new Ke(i=>{const{length:s}=t;if(!s)return void i.complete();const a=new Array(s);let l=s,c=s;for(let u=0;u{d||(d=!0,c--),a[u]=h},()=>l--,void 0,()=>{(!l||!d)&&(c||i.next(r?GF(r,a):a),i.complete())}))}});return n?o.pipe(function zF(e){return _l(n=>function UF(e,n){return $F(n)?e(...n):e(n)}(e,n))}(n)):o}let aD=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static#e=this.\u0275fac=function(r){return new(r||e)(M(Jn),M(Nt))};static#t=this.\u0275dir=$({type:e})}return e})(),cr=(()=>{class e extends aD{static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ze(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,features:[le]})}return e})();const Jt=new O("NgValueAccessor"),WF={provide:Jt,useExisting:de(()=>rf),multi:!0};let rf=(()=>{class e extends cr{writeValue(t){this.setProperty("checked",t)}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ze(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){1&r&&k("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[Ce([WF]),le]})}return e})();const ZF={provide:Jt,useExisting:de(()=>Oi),multi:!0},YF=new O("CompositionEventMode");let Oi=(()=>{class e extends aD{constructor(t,r,o){super(t,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function QF(){const e=Mi()?Mi().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static#e=this.\u0275fac=function(r){return new(r||e)(M(Jn),M(Nt),M(YF,8))};static#t=this.\u0275dir=$({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&k("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[Ce([ZF]),le]})}return e})();const Ye=new O("NgValidators"),kn=new O("NgAsyncValidators");function vD(e){return null!=e}function _D(e){return ma(e)?Gi(e):e}function yD(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function CD(e,n){return n.map(t=>t(e))}function DD(e){return e.map(n=>function JF(e){return!e.validate}(n)?n:t=>n.validate(t))}function of(e){return null!=e?function wD(e){if(!e)return null;const n=e.filter(vD);return 0==n.length?null:function(t){return yD(CD(t,n))}}(DD(e)):null}function sf(e){return null!=e?function bD(e){if(!e)return null;const n=e.filter(vD);return 0==n.length?null:function(t){return qF(CD(t,n).map(_D)).pipe(_l(yD))}}(DD(e)):null}function ED(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function af(e){return e?Array.isArray(e)?e:[e]:[]}function qa(e,n){return Array.isArray(e)?e.includes(n):e===n}function SD(e,n){const t=af(n);return af(e).forEach(o=>{qa(t,o)||t.push(o)}),t}function TD(e,n){return af(n).filter(t=>!qa(e,t))}class AD{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=of(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=sf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class st extends AD{get formDirective(){return null}get path(){return null}}class Ln extends AD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class ND{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Wa=(()=>{class e extends ND{constructor(t){super(t)}static#e=this.\u0275fac=function(r){return new(r||e)(M(Ln,2))};static#t=this.\u0275dir=$({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&ta("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[le]})}return e})();const Ri="VALID",Qa="INVALID",vo="PENDING",Fi="DISABLED";function Ya(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class FD{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Ri}get invalid(){return this.status===Qa}get pending(){return this.status==vo}get disabled(){return this.status===Fi}get enabled(){return this.status!==Fi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(SD(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(SD(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(TD(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(TD(n,this._rawAsyncValidators))}hasValidator(n){return qa(this._rawValidators,n)}hasAsyncValidator(n){return qa(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=vo,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Fi,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Ri,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ri||this.status===vo)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Fi:Ri}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=vo,this._hasOwnPendingAsyncValidator=!0;const t=_D(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Te,this.statusChanges=new Te}_calculateStatus(){return this._allControlsDisabled()?Fi:this.errors?Qa:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(vo)?vo:this._anyControlsHaveStatus(Qa)?Qa:Ri}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Ya(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function rP(e){return Array.isArray(e)?of(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function oP(e){return Array.isArray(e)?sf(e):e||null}(this._rawAsyncValidators)}}const _o=new O("CallSetDisabledState",{providedIn:"root",factory:()=>Ka}),Ka="always";function Pi(e,n,t=Ka){(function hf(e,n){const t=function ID(e){return e._rawValidators}(e);null!==n.validator?e.setValidators(ED(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=function MD(e){return e._rawAsyncValidators}(e);null!==n.asyncValidator?e.setAsyncValidators(ED(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();el(n._rawValidators,o),el(n._rawAsyncValidators,o)})(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function aP(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&PD(e,n)})}(e,n),function cP(e,n){const t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function lP(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&PD(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function sP(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function el(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function PD(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function VD(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function HD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const BD=class extends FD{constructor(n=null,t,r){super(function uf(e){return(Ya(e)?e.validators:e)||null}(t),function df(e,n){return(Ya(n)?n.asyncValidators:e)||null}(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ya(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=HD(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){VD(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){VD(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){HD(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},vP={provide:Ln,useExisting:de(()=>Li)},UD=(()=>Promise.resolve())();let Li=(()=>{class e extends Ln{constructor(t,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new BD,this._registered=!1,this.name="",this.update=new Te,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function mf(e,n){if(!n)return null;let t,r,o;return Array.isArray(n),n.forEach(i=>{i.constructor===Oi?t=i:function fP(e){return Object.getPrototypeOf(e.constructor)===cr}(i)?r=i:o=i}),o||r||t||null}(0,i)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const r=t.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function gf(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Pi(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){UD.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){const r=t.isDisabled.currentValue,o=0!==r&&function xd(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}(r);UD.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?function Ja(e,n){return[...n.path,e]}(t,this._parent):[t]}static#e=this.\u0275fac=function(r){return new(r||e)(M(st,9),M(Ye,10),M(kn,10),M(Jt,10),M(vu,8),M(_o,8))};static#t=this.\u0275dir=$({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ce([vP]),le,on]})}return e})(),GD=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Dn({type:e});static#n=this.\u0275inj=tn({})}return e})();const wP={provide:Jt,useExisting:de(()=>_f),multi:!0};let _f=(()=>{class e extends cr{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=r=>{t(""==r?null:parseFloat(r))}}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ze(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(r,o){1&r&&k("change",function(s){return o.onChange(s.target.value)})("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},features:[Ce([wP]),le]})}return e})();const TP={provide:Jt,useExisting:de(()=>Vi),multi:!0};function KD(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let Vi=(()=>{class e extends cr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const o=KD(this._getOptionId(t),t);this.setProperty("value",o)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function AP(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}static#e=this.\u0275fac=(()=>{let t;return function(o){return(t||(t=Ze(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&k("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ce([TP]),le]})}return e})(),wf=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(KD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(M(Nt),M(Jn),M(Vi,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})();const NP={provide:Jt,useExisting:de(()=>bf),multi:!0};function JD(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let bf=(()=>{class e extends cr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const o=t.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{let t;return function(o){return(t||(t=Ze(e)))(o||e)}})();static#t=this.\u0275dir=$({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){1&r&&k("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[Ce([NP]),le]})}return e})(),Ef=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(JD(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(JD(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(r){return new(r||e)(M(Nt),M(Jn),M(bf,9))};static#t=this.\u0275dir=$({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return e})(),BP=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Dn({type:e});static#n=this.\u0275inj=tn({imports:[GD]})}return e})(),$P=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:_o,useValue:t.callSetDisabledState??Ka}]}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Dn({type:e});static#n=this.\u0275inj=tn({imports:[BP]})}return e})();class lw{constructor(){this.riskHotspotsSettings=null,this.coverageInfoSettings=null}}class UP{constructor(){this.showLineCoverage=!0,this.showBranchCoverage=!0,this.showMethodCoverage=!0,this.visibleMetrics=[],this.groupingMaximum=0,this.grouping=0,this.historyComparisionDate="",this.historyComparisionType="",this.filter="",this.sortBy="name",this.sortOrder="asc",this.collapseStates=[]}}class zP{constructor(n){this.et="",this.et=n.et,this.cl=n.cl,this.ucl=n.ucl,this.cal=n.cal,this.tl=n.tl,this.lcq=n.lcq,this.cb=n.cb,this.tb=n.tb,this.bcq=n.bcq,this.cm=n.cm,this.tm=n.tm,this.mcq=n.mcq}get coverageRatioText(){return 0===this.tl?"-":this.cl+"/"+this.cal}get branchCoverageRatioText(){return 0===this.tb?"-":this.cb+"/"+this.tb}get methodCoverageRatioText(){return 0===this.tm?"-":this.cm+"/"+this.tm}}class It{static roundNumber(n){return Math.floor(n*Math.pow(10,It.maximumDecimalPlacesForCoverageQuotas))/Math.pow(10,It.maximumDecimalPlacesForCoverageQuotas)}static getNthOrLastIndexOf(n,t,r){let o=0,i=-1,s=-1;for(;o{this.historicCoverages.push(new zP(r))}),this.metrics=n.metrics}get coverage(){return 0===this.coverableLines?NaN:It.roundNumber(100*this.coveredLines/this.coverableLines)}visible(n,t){if(""!==n&&-1===this.name.toLowerCase().indexOf(n.toLowerCase()))return!1;if(""===t||null===this.currentHistoricCoverage)return!0;if("allChanges"===t){if(this.coveredLines===this.currentHistoricCoverage.cl&&this.uncoveredLines===this.currentHistoricCoverage.ucl&&this.coverableLines===this.currentHistoricCoverage.cal&&this.totalLines===this.currentHistoricCoverage.tl&&this.coveredBranches===this.currentHistoricCoverage.cb&&this.totalBranches===this.currentHistoricCoverage.tb&&this.coveredMethods===this.currentHistoricCoverage.cm&&this.totalMethods===this.currentHistoricCoverage.tm)return!1}else if("lineCoverageIncreaseOnly"===t){let r=this.coverage;if(isNaN(r)||r<=this.currentHistoricCoverage.lcq)return!1}else if("lineCoverageDecreaseOnly"===t){let r=this.coverage;if(isNaN(r)||r>=this.currentHistoricCoverage.lcq)return!1}else if("branchCoverageIncreaseOnly"===t){let r=this.branchCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.bcq)return!1}else if("branchCoverageDecreaseOnly"===t){let r=this.branchCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.bcq)return!1}else if("methodCoverageIncreaseOnly"===t){let r=this.methodCoverage;if(isNaN(r)||r<=this.currentHistoricCoverage.mcq)return!1}else if("methodCoverageDecreaseOnly"===t){let r=this.methodCoverage;if(isNaN(r)||r>=this.currentHistoricCoverage.mcq)return!1}return!0}updateCurrentHistoricCoverage(n){if(this.currentHistoricCoverage=null,""!==n)for(let t=0;t-1&&null===t}visible(n,t){if(""!==n&&this.name.toLowerCase().indexOf(n.toLowerCase())>-1)return!0;for(let r=0;r{class e{get nativeWindow(){return function GP(){return window}()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=te({token:e,factory:e.\u0275fac})}return e})(),qP=(()=>{class e{constructor(){this.translations={}}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=rn({type:e,selectors:[["pro-button"]],inputs:{translations:"translations"},decls:3,vars:1,consts:[["href","https://reportgenerator.io/pro","target","_blank",1,"pro-button","pro-button-tiny",3,"title"]],template:function(r,o){1&r&&(b(0,"\xa0"),y(1,"a",0),b(2,"PRO"),_()),2&r&&(f(1),On("title",o.translations.methodCoverageProVersion))},encapsulation:2})}return e})();function WP(e,n){if(1&e){const t=Ee();y(0,"div",3)(1,"label")(2,"input",4),k("ngModelChange",function(o){return q(t),W(v().showBranchCoverage=o)})("change",function(){q(t);const o=v();return W(o.showBranchCoverageChange.emit(o.showBranchCoverage))}),_(),b(3),_()()}if(2&e){const t=v();f(2),g("ngModel",t.showBranchCoverage),f(1),G(" ",t.translations.branchCoverage,"")}}function ZP(e,n){1&e&&A(0,"pro-button",9),2&e&&g("translations",v().translations)}function QP(e,n){1&e&&A(0,"pro-button",9),2&e&&g("translations",v(2).translations)}function YP(e,n){1&e&&(y(0,"a",13),A(1,"i",14),_()),2&e&&g("href",v().$implicit.explanationUrl,An)}function KP(e,n){if(1&e){const t=Ee();y(0,"div",3)(1,"label")(2,"input",11),k("change",function(){const i=q(t).$implicit;return W(v(2).toggleMetric(i))}),_(),b(3),_(),b(4,"\xa0"),P(5,YP,2,1,"a",12),_()}if(2&e){const t=n.$implicit,r=v(2);f(2),g("checked",r.isMetricSelected(t))("disabled",!r.methodCoverageAvailable),f(1),G(" ",t.name,""),f(2),g("ngIf",t.explanationUrl)}}function JP(e,n){if(1&e&&(Y(0),A(1,"br")(2,"br"),y(3,"b"),b(4),_(),P(5,QP,1,1,"pro-button",7)(6,KP,6,4,"div",10),K()),2&e){const t=v();f(4),N(t.translations.metrics),f(1),g("ngIf",!t.methodCoverageAvailable),f(1),g("ngForOf",t.metrics)}}let XP=(()=>{class e{constructor(){this.visible=!1,this.visibleChange=new Te,this.translations={},this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.showLineCoverage=!1,this.showLineCoverageChange=new Te,this.showBranchCoverage=!1,this.showBranchCoverageChange=new Te,this.showMethodCoverage=!1,this.showMethodCoverageChange=new Te,this.visibleMetrics=[],this.visibleMetricsChange=new Te}isMetricSelected(t){return void 0!==this.visibleMetrics.find(r=>r.name===t.name)}toggleMetric(t){let r=this.visibleMetrics.find(o=>o.name===t.name);r?this.visibleMetrics.splice(this.visibleMetrics.indexOf(r),1):this.visibleMetrics.push(t),this.visibleMetrics=[...this.visibleMetrics],this.visibleMetricsChange.emit(this.visibleMetrics)}close(){this.visible=!1,this.visibleChange.emit(this.visible)}cancelEvent(t){t.stopPropagation()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=rn({type:e,selectors:[["popup"]],inputs:{visible:"visible",translations:"translations",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",metrics:"metrics",showLineCoverage:"showLineCoverage",showBranchCoverage:"showBranchCoverage",showMethodCoverage:"showMethodCoverage",visibleMetrics:"visibleMetrics"},outputs:{visibleChange:"visibleChange",showLineCoverageChange:"showLineCoverageChange",showBranchCoverageChange:"showBranchCoverageChange",showMethodCoverageChange:"showMethodCoverageChange",visibleMetricsChange:"visibleMetricsChange"},decls:17,vars:9,consts:[[1,"popup-container",3,"click"],[1,"popup",3,"click"],[1,"close",3,"click"],[1,"mt-1"],["type","checkbox",3,"ngModel","ngModelChange","change"],["class","mt-1",4,"ngIf"],["type","checkbox",3,"ngModel","disabled","ngModelChange","change"],[3,"translations",4,"ngIf"],[4,"ngIf"],[3,"translations"],["class","mt-1",4,"ngFor","ngForOf"],["type","checkbox",3,"checked","disabled","change"],["target","_blank",3,"href",4,"ngIf"],["target","_blank",3,"href"],[1,"icon-info-circled"]],template:function(r,o){1&r&&(y(0,"div",0),k("click",function(){return o.close()}),y(1,"div",1),k("click",function(s){return o.cancelEvent(s)}),y(2,"div",2),k("click",function(){return o.close()}),b(3,"X"),_(),y(4,"b"),b(5),_(),y(6,"div",3)(7,"label")(8,"input",4),k("ngModelChange",function(s){return o.showLineCoverage=s})("change",function(){return o.showLineCoverageChange.emit(o.showLineCoverage)}),_(),b(9),_()(),P(10,WP,4,2,"div",5),y(11,"div",3)(12,"label")(13,"input",6),k("ngModelChange",function(s){return o.showMethodCoverage=s})("change",function(){return o.showMethodCoverageChange.emit(o.showMethodCoverage)}),_(),b(14),_(),P(15,ZP,1,1,"pro-button",7),_(),P(16,JP,7,3,"ng-container",8),_()()),2&r&&(f(5),N(o.translations.coverageTypes),f(3),g("ngModel",o.showLineCoverage),f(1),G(" ",o.translations.coverage,""),f(1),g("ngIf",o.branchCoverageAvailable),f(3),g("ngModel",o.showMethodCoverage)("disabled",!o.methodCoverageAvailable),f(1),G(" ",o.translations.methodCoverage,""),f(1),g("ngIf",!o.methodCoverageAvailable),f(1),g("ngIf",o.metrics.length>0))},dependencies:[mo,lr,rf,Wa,Li,qP],encapsulation:2})}return e})();function ek(e,n){1&e&&A(0,"td",3)}function tk(e,n){1&e&&A(0,"td"),2&e&&Yt("green ",v().greenClass,"")}function nk(e,n){1&e&&A(0,"td"),2&e&&Yt("red ",v().redClass,"")}let uw=(()=>{class e{constructor(){this.grayVisible=!0,this.greenVisible=!1,this.redVisible=!1,this.greenClass="",this.redClass="",this._percentage=NaN}get percentage(){return this._percentage}set percentage(t){this._percentage=t,this.grayVisible=isNaN(t),this.greenVisible=!isNaN(t)&&Math.round(t)>0,this.redVisible=!isNaN(t)&&100-Math.round(t)>0,this.greenClass="covered"+Math.round(t),this.redClass="covered"+(100-Math.round(t))}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=rn({type:e,selectors:[["coverage-bar"]],inputs:{percentage:"percentage"},decls:4,vars:3,consts:[[1,"coverage"],["class","gray covered100",4,"ngIf"],[3,"class",4,"ngIf"],[1,"gray","covered100"]],template:function(r,o){1&r&&(y(0,"table",0),P(1,ek,1,0,"td",1)(2,tk,1,3,"td",2)(3,nk,1,3,"td",2),_()),2&r&&(f(1),g("ngIf",o.grayVisible),f(1),g("ngIf",o.greenVisible),f(1),g("ngIf",o.redVisible))},dependencies:[lr],encapsulation:2,changeDetection:0})}return e})();const rk=["codeelement-row",""];function ok(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(1),N(t.element.coveredLines)}}function ik(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(1),N(t.element.uncoveredLines)}}function sk(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(1),N(t.element.coverableLines)}}function ak(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(1),N(t.element.totalLines)}}function lk(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.coverageRatioText),f(1),N(t.element.coveragePercentage)}}function ck(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(1),g("percentage",t.element.coverage)}}function uk(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(1),N(t.element.coveredBranches)}}function dk(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(1),N(t.element.totalBranches)}}function fk(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.branchCoverageRatioText),f(1),N(t.element.branchCoveragePercentage)}}function hk(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(1),g("percentage",t.element.branchCoverage)}}function pk(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(1),N(t.element.coveredMethods)}}function gk(e,n){if(1&e&&(y(0,"th",5),b(1),_()),2&e){const t=v();f(1),N(t.element.totalMethods)}}function mk(e,n){if(1&e&&(y(0,"th",6),b(1),_()),2&e){const t=v();g("title",t.element.methodCoverageRatioText),f(1),N(t.element.methodCoveragePercentage)}}function vk(e,n){if(1&e&&(y(0,"th",5),A(1,"coverage-bar",7),_()),2&e){const t=v();f(1),g("percentage",t.element.methodCoverage)}}function _k(e,n){1&e&&A(0,"th",5)}const yk=(e,n)=>({"icon-plus":e,"icon-minus":n});let Ck=(()=>{class e{constructor(){this.collapsed=!1,this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[]}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275cmp=rn({type:e,selectors:[["","codeelement-row",""]],inputs:{element:"element",collapsed:"collapsed",lineCoverageAvailable:"lineCoverageAvailable",branchCoverageAvailable:"branchCoverageAvailable",methodCoverageAvailable:"methodCoverageAvailable",visibleMetrics:"visibleMetrics"},attrs:rk,decls:19,vars:20,consts:[["href","#",3,"click"],[3,"ngClass"],["class","right",4,"ngIf"],["class","right",3,"title",4,"ngIf"],["class","right",4,"ngFor","ngForOf"],[1,"right"],[1,"right",3,"title"],[3,"percentage"]],template:function(r,o){1&r&&(y(0,"th")(1,"a",0),k("click",function(s){return o.element.toggleCollapse(s)}),A(2,"i",1),b(3),_()(),P(4,ok,2,1,"th",2)(5,ik,2,1,"th",2)(6,sk,2,1,"th",2)(7,ak,2,1,"th",2)(8,lk,2,2,"th",3)(9,ck,2,1,"th",2)(10,uk,2,1,"th",2)(11,dk,2,1,"th",2)(12,fk,2,2,"th",3)(13,hk,2,1,"th",2)(14,pk,2,1,"th",2)(15,gk,2,1,"th",2)(16,mk,2,2,"th",3)(17,vk,2,1,"th",2)(18,_k,1,0,"th",4)),2&r&&(f(2),g("ngClass",od(17,yk,o.element.collapsed,!o.element.collapsed)),f(1),G(" ",o.element.name,""),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.lineCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.branchCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngIf",o.methodCoverageAvailable),f(1),g("ngForOf",o.visibleMetrics))},dependencies:[Ai,mo,lr,uw],encapsulation:2,changeDetection:0})}return e})();const Dk=["coverage-history-chart",""];let wk=(()=>{class e{constructor(){this.path=null,this._historicCoverages=[]}get historicCoverages(){return this._historicCoverages}set historicCoverages(t){if(this._historicCoverages=t,t.length>1){let r="";for(let o=0;o({historiccoverageoffset:e});function Vk(e,n){if(1&e&&A(0,"div",11),2&e){const t=v(2);On("title",t.translations.history+": "+t.translations.coverage),g("historicCoverages",t.clazz.lineCoverageHistory)("ngClass",ya(3,Tf,null!==t.clazz.currentHistoricCoverage))}}function Hk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(1),Yt("currenthistory ",t.getClassName(t.clazz.coverage,t.clazz.currentHistoricCoverage.lcq),""),f(1),G(" ",t.clazz.coveragePercentage," "),f(1),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.coverageRatioText),f(1),G("",t.clazz.currentHistoricCoverage.lcq,"%")}}function Bk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(1),G(" ",t.clazz.coveragePercentage," ")}}function jk(e,n){if(1&e&&(y(0,"td",9),P(1,Vk,1,5,"div",10)(2,Hk,5,6,"ng-container",1)(3,Bk,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.coverageRatioText),f(1),g("ngIf",t.clazz.lineCoverageHistory.length>1),f(1),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(1),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function $k(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(1),g("percentage",t.clazz.coverage)}}function Uk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(1),Yt("currenthistory ",t.getClassName(t.clazz.coveredBranches,t.clazz.currentHistoricCoverage.cb),""),f(1),G(" ",t.clazz.coveredBranches," "),f(1),g("title",t.clazz.currentHistoricCoverage.et),f(1),G(" ",t.clazz.currentHistoricCoverage.cb," ")}}function zk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(1),G(" ",t.clazz.coveredBranches," ")}}function Gk(e,n){if(1&e&&(y(0,"td",6),P(1,Uk,5,6,"ng-container",1)(2,zk,2,1,"ng-container",1),_()),2&e){const t=v();f(1),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(1),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function qk(e,n){if(1&e&&(Y(0),y(1,"div",8),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(2),N(t.clazz.totalBranches),f(1),g("title",t.clazz.currentHistoricCoverage.et),f(1),N(t.clazz.currentHistoricCoverage.tb)}}function Wk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(1),G(" ",t.clazz.totalBranches," ")}}function Zk(e,n){if(1&e&&(y(0,"td",6),P(1,qk,5,3,"ng-container",1)(2,Wk,2,1,"ng-container",1),_()),2&e){const t=v();f(1),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(1),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Qk(e,n){if(1&e&&A(0,"div",14),2&e){const t=v(2);On("title",t.translations.history+": "+t.translations.branchCoverage),g("historicCoverages",t.clazz.branchCoverageHistory)("ngClass",ya(3,Tf,null!==t.clazz.currentHistoricCoverage))}}function Yk(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(1),Yt("currenthistory ",t.getClassName(t.clazz.branchCoverage,t.clazz.currentHistoricCoverage.bcq),""),f(1),G(" ",t.clazz.branchCoveragePercentage," "),f(1),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.branchCoverageRatioText),f(1),G("",t.clazz.currentHistoricCoverage.bcq,"%")}}function Kk(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(1),G(" ",t.clazz.branchCoveragePercentage," ")}}function Jk(e,n){if(1&e&&(y(0,"td",9),P(1,Qk,1,5,"div",13)(2,Yk,5,6,"ng-container",1)(3,Kk,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.branchCoverageRatioText),f(1),g("ngIf",t.clazz.branchCoverageHistory.length>1),f(1),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(1),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function Xk(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(1),g("percentage",t.clazz.branchCoverage)}}function e2(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(1),Yt("currenthistory ",t.getClassName(t.clazz.coveredMethods,t.clazz.currentHistoricCoverage.cm),""),f(1),G(" ",t.clazz.coveredMethods," "),f(1),g("title",t.clazz.currentHistoricCoverage.et),f(1),G(" ",t.clazz.currentHistoricCoverage.cm," ")}}function t2(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(1),G(" ",t.clazz.coveredMethods," ")}}function n2(e,n){if(1&e&&(y(0,"td",6),P(1,e2,5,6,"ng-container",1)(2,t2,2,1,"ng-container",1),_()),2&e){const t=v();f(1),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(1),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function r2(e,n){if(1&e&&(Y(0),y(1,"div",8),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(2),N(t.clazz.totalMethods),f(1),g("title",t.clazz.currentHistoricCoverage.et),f(1),N(t.clazz.currentHistoricCoverage.tm)}}function o2(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(1),G(" ",t.clazz.totalMethods," ")}}function i2(e,n){if(1&e&&(y(0,"td",6),P(1,r2,5,3,"ng-container",1)(2,o2,2,1,"ng-container",1),_()),2&e){const t=v();f(1),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(1),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function s2(e,n){if(1&e&&A(0,"div",16),2&e){const t=v(2);On("title",t.translations.history+": "+t.translations.methodCoverage),g("historicCoverages",t.clazz.methodCoverageHistory)("ngClass",ya(3,Tf,null!==t.clazz.currentHistoricCoverage))}}function a2(e,n){if(1&e&&(Y(0),y(1,"div"),b(2),_(),y(3,"div",7),b(4),_(),K()),2&e){const t=v(2);f(1),Yt("currenthistory ",t.getClassName(t.clazz.methodCoverage,t.clazz.currentHistoricCoverage.mcq),""),f(1),G(" ",t.clazz.methodCoveragePercentage," "),f(1),g("title",t.clazz.currentHistoricCoverage.et+": "+t.clazz.currentHistoricCoverage.methodCoverageRatioText),f(1),G("",t.clazz.currentHistoricCoverage.mcq,"%")}}function l2(e,n){if(1&e&&(Y(0),b(1),K()),2&e){const t=v(2);f(1),G(" ",t.clazz.methodCoveragePercentage," ")}}function c2(e,n){if(1&e&&(y(0,"td",9),P(1,s2,1,5,"div",15)(2,a2,5,6,"ng-container",1)(3,l2,2,1,"ng-container",1),_()),2&e){const t=v();g("title",t.clazz.methodCoverageRatioText),f(1),g("ngIf",t.clazz.methodCoverageHistory.length>1),f(1),g("ngIf",null!==t.clazz.currentHistoricCoverage),f(1),g("ngIf",null===t.clazz.currentHistoricCoverage)}}function u2(e,n){if(1&e&&(y(0,"td",6),A(1,"coverage-bar",12),_()),2&e){const t=v();f(1),g("percentage",t.clazz.methodCoverage)}}function d2(e,n){if(1&e&&(y(0,"td",6),b(1),_()),2&e){const t=n.$implicit,r=v();f(1),N(r.clazz.metrics[t.abbreviation])}}let f2=(()=>{class e{constructor(){this.translations={},this.lineCoverageAvailable=!1,this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.visibleMetrics=[],this.historyComparisionDate=""}getClassName(t,r){return t>r?"lightgreen":t({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t});function z2(e,n){if(1&e){const t=Ee();y(0,"th",6)(1,"a",3),k("click",function(o){return q(t),W(v(2).updateSorting("covered",o))}),A(2,"i",24),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,yt,"covered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered"!==t.settings.sortBy)),f(1),N(t.translations.covered)}}function G2(e,n){if(1&e){const t=Ee();y(0,"th",6)(1,"a",3),k("click",function(o){return q(t),W(v(2).updateSorting("uncovered",o))}),A(2,"i",24),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,yt,"uncovered"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"uncovered"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"uncovered"!==t.settings.sortBy)),f(1),N(t.translations.uncovered)}}function q2(e,n){if(1&e){const t=Ee();y(0,"th",6)(1,"a",3),k("click",function(o){return q(t),W(v(2).updateSorting("coverable",o))}),A(2,"i",24),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,yt,"coverable"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverable"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverable"!==t.settings.sortBy)),f(1),N(t.translations.coverable)}}function W2(e,n){if(1&e){const t=Ee();y(0,"th",6)(1,"a",3),k("click",function(o){return q(t),W(v(2).updateSorting("total",o))}),A(2,"i",24),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,yt,"total"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total"!==t.settings.sortBy)),f(1),N(t.translations.total)}}function Z2(e,n){if(1&e){const t=Ee();y(0,"th",52)(1,"a",3),k("click",function(o){return q(t),W(v(2).updateSorting("coverage",o))}),A(2,"i",24),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,yt,"coverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"coverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"coverage"!==t.settings.sortBy)),f(1),N(t.translations.percentage)}}function Q2(e,n){if(1&e){const t=Ee();y(0,"th",6)(1,"a",3),k("click",function(o){return q(t),W(v(2).updateSorting("covered_branches",o))}),A(2,"i",24),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,yt,"covered_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_branches"!==t.settings.sortBy)),f(1),N(t.translations.covered)}}function Y2(e,n){if(1&e){const t=Ee();y(0,"th",6)(1,"a",3),k("click",function(o){return q(t),W(v(2).updateSorting("total_branches",o))}),A(2,"i",24),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,yt,"total_branches"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_branches"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_branches"!==t.settings.sortBy)),f(1),N(t.translations.total)}}function K2(e,n){if(1&e){const t=Ee();y(0,"th",52)(1,"a",3),k("click",function(o){return q(t),W(v(2).updateSorting("branchcoverage",o))}),A(2,"i",24),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,yt,"branchcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"branchcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"branchcoverage"!==t.settings.sortBy)),f(1),N(t.translations.percentage)}}function J2(e,n){if(1&e){const t=Ee();y(0,"th",6)(1,"a",3),k("click",function(o){return q(t),W(v(2).updateSorting("covered_methods",o))}),A(2,"i",24),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,yt,"covered_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"covered_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"covered_methods"!==t.settings.sortBy)),f(1),N(t.translations.covered)}}function X2(e,n){if(1&e){const t=Ee();y(0,"th",6)(1,"a",3),k("click",function(o){return q(t),W(v(2).updateSorting("total_methods",o))}),A(2,"i",24),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,yt,"total_methods"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"total_methods"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"total_methods"!==t.settings.sortBy)),f(1),N(t.translations.total)}}function eL(e,n){if(1&e){const t=Ee();y(0,"th",52)(1,"a",3),k("click",function(o){return q(t),W(v(2).updateSorting("methodcoverage",o))}),A(2,"i",24),b(3),_()()}if(2&e){const t=v(2);f(2),g("ngClass",$e(2,yt,"methodcoverage"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"methodcoverage"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"methodcoverage"!==t.settings.sortBy)),f(1),N(t.translations.percentage)}}function tL(e,n){if(1&e){const t=Ee();y(0,"th")(1,"a",3),k("click",function(o){const s=q(t).$implicit;return W(v(2).updateSorting(s.abbreviation,o))}),A(2,"i",24),b(3),_(),y(4,"a",53),A(5,"i",54),_()()}if(2&e){const t=n.$implicit,r=v(2);f(2),g("ngClass",$e(3,yt,r.settings.sortBy===t.abbreviation&&"desc"===r.settings.sortOrder,r.settings.sortBy===t.abbreviation&&"asc"===r.settings.sortOrder,r.settings.sortBy!==t.abbreviation)),f(1),N(t.name),f(1),On("href",t.explanationUrl,An)}}function nL(e,n){if(1&e&&A(0,"tr",56),2&e){const t=v().$implicit,r=v(2);g("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)}}function rL(e,n){if(1&e&&A(0,"tr",58),2&e){const t=v().$implicit,r=v(3);g("clazz",t)("translations",r.translations)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)("historyComparisionDate",r.settings.historyComparisionDate)}}function oL(e,n){if(1&e&&(Y(0),P(1,rL,1,7,"tr",57),K()),2&e){const t=n.$implicit,r=v().$implicit,o=v(2);f(1),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function iL(e,n){if(1&e&&A(0,"tr",61),2&e){const t=v().$implicit,r=v(5);g("clazz",t)("translations",r.translations)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics)("historyComparisionDate",r.settings.historyComparisionDate)}}function sL(e,n){if(1&e&&(Y(0),P(1,iL,1,7,"tr",60),K()),2&e){const t=n.$implicit,r=v(2).$implicit,o=v(3);f(1),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function aL(e,n){if(1&e&&(Y(0),A(1,"tr",59),P(2,sL,2,1,"ng-container",27),K()),2&e){const t=v().$implicit,r=v(3);f(1),g("element",t)("collapsed",t.collapsed)("lineCoverageAvailable",r.settings.showLineCoverage)("branchCoverageAvailable",r.branchCoverageAvailable&&r.settings.showBranchCoverage)("methodCoverageAvailable",r.methodCoverageAvailable&&r.settings.showMethodCoverage)("visibleMetrics",r.settings.visibleMetrics),f(1),g("ngForOf",t.classes)}}function lL(e,n){if(1&e&&(Y(0),P(1,aL,3,7,"ng-container",0),K()),2&e){const t=n.$implicit,r=v().$implicit,o=v(2);f(1),g("ngIf",!r.collapsed&&t.visible(o.settings.filter,o.settings.historyComparisionType))}}function cL(e,n){if(1&e&&(Y(0),P(1,nL,1,6,"tr",55)(2,oL,2,1,"ng-container",27)(3,lL,2,1,"ng-container",27),K()),2&e){const t=n.$implicit,r=v(2);f(1),g("ngIf",t.visible(r.settings.filter,r.settings.historyComparisionType)),f(1),g("ngForOf",t.classes),f(1),g("ngForOf",t.subElements)}}function uL(e,n){if(1&e){const t=Ee();y(0,"div"),P(1,h2,1,9,"popup",1),y(2,"div",2)(3,"div")(4,"a",3),k("click",function(o){return q(t),W(v().collapseAll(o))}),b(5),_(),b(6," | "),y(7,"a",3),k("click",function(o){return q(t),W(v().expandAll(o))}),b(8),_()(),y(9,"div",4),P(10,p2,2,1,"ng-container",0)(11,g2,2,1,"ng-container",0)(12,m2,2,1,"ng-container",0),A(13,"br"),b(14),y(15,"input",5),k("ngModelChange",function(o){return q(t),W(v().settings.grouping=o)})("ngModelChange",function(){return q(t),W(v().updateCoverageInfo())}),_()(),y(16,"div",4),P(17,E2,9,6,"ng-container",0),_(),y(18,"div",6)(19,"div")(20,"button",7),k("click",function(){return q(t),W(v().popupVisible=!0)}),A(21,"i",8),b(22),_()(),A(23,"br"),y(24,"div")(25,"span"),b(26),_(),y(27,"input",9),k("ngModelChange",function(o){return q(t),W(v().settings.filter=o)}),_()()()(),y(28,"div",10)(29,"table",11)(30,"colgroup"),A(31,"col",12),P(32,I2,1,0,"col",13)(33,M2,1,0,"col",14)(34,S2,1,0,"col",15)(35,T2,1,0,"col",16)(36,A2,1,0,"col",17)(37,N2,1,0,"col",18)(38,x2,1,0,"col",13)(39,O2,1,0,"col",16)(40,R2,1,0,"col",17)(41,F2,1,0,"col",18)(42,P2,1,0,"col",13)(43,k2,1,0,"col",16)(44,L2,1,0,"col",17)(45,V2,1,0,"col",18)(46,H2,1,0,"col",19),_(),y(47,"thead")(48,"tr",20),A(49,"th"),P(50,B2,2,1,"th",21)(51,j2,2,1,"th",22)(52,$2,2,1,"th",22)(53,U2,2,2,"th",23),_(),y(54,"tr")(55,"th")(56,"a",3),k("click",function(o){return q(t),W(v().updateSorting("name",o))}),A(57,"i",24),b(58),_()(),P(59,z2,4,6,"th",25)(60,G2,4,6,"th",25)(61,q2,4,6,"th",25)(62,W2,4,6,"th",25)(63,Z2,4,6,"th",26)(64,Q2,4,6,"th",25)(65,Y2,4,6,"th",25)(66,K2,4,6,"th",26)(67,J2,4,6,"th",25)(68,X2,4,6,"th",25)(69,eL,4,6,"th",26)(70,tL,6,7,"th",27),_()(),y(71,"tbody"),P(72,cL,4,3,"ng-container",27),_()()()()}if(2&e){const t=v();f(1),g("ngIf",t.popupVisible),f(4),N(t.translations.collapseAll),f(3),N(t.translations.expandAll),f(2),g("ngIf",-1===t.settings.grouping),f(1),g("ngIf",0===t.settings.grouping),f(1),g("ngIf",t.settings.grouping>0),f(2),G(" ",t.translations.grouping," "),f(1),g("max",t.settings.groupingMaximum)("ngModel",t.settings.grouping),f(2),g("ngIf",t.historicCoverageExecutionTimes.length>0),f(5),N(t.metrics.length>0?t.translations.selectCoverageTypesAndMetrics:t.translations.selectCoverageTypes),f(4),G("",t.translations.filter," "),f(1),g("ngModel",t.settings.filter),f(5),g("ngIf",t.settings.showLineCoverage),f(1),g("ngIf",t.settings.showLineCoverage),f(1),g("ngIf",t.settings.showLineCoverage),f(1),g("ngIf",t.settings.showLineCoverage),f(1),g("ngIf",t.settings.showLineCoverage),f(1),g("ngIf",t.settings.showLineCoverage),f(1),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(1),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(1),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(1),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(1),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(1),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(1),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(1),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(1),g("ngForOf",t.settings.visibleMetrics),f(4),g("ngIf",t.settings.showLineCoverage),f(1),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(1),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(1),g("ngIf",t.settings.visibleMetrics.length>0),f(4),g("ngClass",$e(47,yt,"name"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"name"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"name"!==t.settings.sortBy)),f(1),N(t.translations.name),f(1),g("ngIf",t.settings.showLineCoverage),f(1),g("ngIf",t.settings.showLineCoverage),f(1),g("ngIf",t.settings.showLineCoverage),f(1),g("ngIf",t.settings.showLineCoverage),f(1),g("ngIf",t.settings.showLineCoverage),f(1),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(1),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(1),g("ngIf",t.branchCoverageAvailable&&t.settings.showBranchCoverage),f(1),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(1),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(1),g("ngIf",t.methodCoverageAvailable&&t.settings.showMethodCoverage),f(1),g("ngForOf",t.settings.visibleMetrics),f(2),g("ngForOf",t.codeElements)}}let dL=(()=>{class e{constructor(t){this.queryString="",this.historicCoverageExecutionTimes=[],this.branchCoverageAvailable=!1,this.methodCoverageAvailable=!1,this.metrics=[],this.codeElements=[],this.translations={},this.popupVisible=!1,this.settings=new UP,this.window=t.nativeWindow}ngOnInit(){this.historicCoverageExecutionTimes=this.window.historicCoverageExecutionTimes,this.branchCoverageAvailable=this.window.branchCoverageAvailable,this.methodCoverageAvailable=this.window.methodCoverageAvailable,this.metrics=this.window.metrics,this.translations=this.window.translations,It.maximumDecimalPlacesForCoverageQuotas=this.window.maximumDecimalPlacesForCoverageQuotas;let t=!1;if(void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.coverageInfoSettings)console.log("Coverage info: Restoring from history",this.window.history.state.coverageInfoSettings),t=!0,this.settings=JSON.parse(JSON.stringify(this.window.history.state.coverageInfoSettings));else{let o=0,i=this.window.assemblies;for(let s=0;s-1&&(this.queryString=window.location.href.substring(r)),this.updateCoverageInfo(),t&&this.restoreCollapseState()}onBeforeUnload(){if(this.saveCollapseState(),void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Coverage info: Updating history",this.settings);let t=new lw;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.coverageInfoSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateCoverageInfo(){let t=(new Date).getTime(),r=this.window.assemblies,o=[],i=0;if(0===this.settings.grouping)for(let l=0;l{for(let o=0;o{for(let i=0;it&&(o[i].collapsed=this.settings.collapseStates[t]),t++,r(o[i].subElements)};r(this.codeElements)}static#e=this.\u0275fac=function(r){return new(r||e)(M(Sf))};static#t=this.\u0275cmp=rn({type:e,selectors:[["coverage-info"]],hostBindings:function(r,o){1&r&&k("beforeunload",function(){return o.onBeforeUnload()},0,Ic)},decls:1,vars:1,consts:[[4,"ngIf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange",4,"ngIf"],[1,"customizebox"],["href","#",3,"click"],[1,"center"],["type","range","step","1","min","-1",3,"max","ngModel","ngModelChange"],[1,"right"],["type","button",3,"click"],[1,"icon-cog"],["type","text",3,"ngModel","ngModelChange"],[1,"table-responsive"],[1,"overview","table-fixed","stripped"],[1,"column-min-200"],["class","column90",4,"ngIf"],["class","column105",4,"ngIf"],["class","column100",4,"ngIf"],["class","column70",4,"ngIf"],["class","column98",4,"ngIf"],["class","column112",4,"ngIf"],["class","column112",4,"ngFor","ngForOf"],[1,"header"],["class","center","colspan","6",4,"ngIf"],["class","center","colspan","4",4,"ngIf"],["class","center",4,"ngIf"],[1,"icon-down-dir",3,"ngClass"],["class","right",4,"ngIf"],["class","center","colspan","2",4,"ngIf"],[4,"ngFor","ngForOf"],[3,"visible","translations","branchCoverageAvailable","methodCoverageAvailable","metrics","showLineCoverage","showBranchCoverage","showMethodCoverage","visibleMetrics","visibleChange","showLineCoverageChange","showBranchCoverageChange","showMethodCoverageChange","visibleMetricsChange"],[3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["value","allChanges"],["value","lineCoverageIncreaseOnly"],["value","lineCoverageDecreaseOnly"],["value","branchCoverageIncreaseOnly",4,"ngIf"],["value","branchCoverageDecreaseOnly",4,"ngIf"],["value","methodCoverageIncreaseOnly",4,"ngIf"],["value","methodCoverageDecreaseOnly",4,"ngIf"],["value","branchCoverageIncreaseOnly"],["value","branchCoverageDecreaseOnly"],["value","methodCoverageIncreaseOnly"],["value","methodCoverageDecreaseOnly"],[1,"column90"],[1,"column105"],[1,"column100"],[1,"column70"],[1,"column98"],[1,"column112"],["colspan","6",1,"center"],["colspan","4",1,"center"],["colspan","2",1,"center"],["target","_blank",3,"href"],[1,"icon-info-circled"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics",4,"ngIf"],["codeelement-row","",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"],["codeelement-row","",1,"namespace",3,"element","collapsed","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics"],["class","namespace","class-row","",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate",4,"ngIf"],["class-row","",1,"namespace",3,"clazz","translations","lineCoverageAvailable","branchCoverageAvailable","methodCoverageAvailable","visibleMetrics","historyComparisionDate"]],template:function(r,o){1&r&&P(0,uL,73,51,"div",0),2&r&&g("ngIf",o.codeElements.length>0)},dependencies:[Ai,mo,lr,wf,Ef,Oi,_f,Vi,Wa,Li,XP,Ck,f2],encapsulation:2})}return e})();class fL{constructor(){this.assembly="",this.numberOfRiskHotspots=10,this.filter="",this.sortBy="",this.sortOrder="asc"}}function hL(e,n){if(1&e&&(y(0,"option",15),b(1),_()),2&e){const t=n.$implicit;g("value",t),f(1),N(t)}}function pL(e,n){if(1&e&&(y(0,"span"),b(1),_()),2&e){const t=v(2);f(1),N(t.translations.top)}}function gL(e,n){1&e&&(y(0,"option",22),b(1,"20"),_())}function mL(e,n){1&e&&(y(0,"option",23),b(1,"50"),_())}function vL(e,n){1&e&&(y(0,"option",24),b(1,"100"),_())}function _L(e,n){if(1&e&&(y(0,"option",15),b(1),_()),2&e){const t=v(3);g("value",t.totalNumberOfRiskHotspots),f(1),N(t.translations.all)}}function yL(e,n){if(1&e){const t=Ee();y(0,"select",16),k("ngModelChange",function(o){return q(t),W(v(2).settings.numberOfRiskHotspots=o)}),y(1,"option",17),b(2,"10"),_(),P(3,gL,2,0,"option",18)(4,mL,2,0,"option",19)(5,vL,2,0,"option",20)(6,_L,2,2,"option",21),_()}if(2&e){const t=v(2);g("ngModel",t.settings.numberOfRiskHotspots),f(3),g("ngIf",t.totalNumberOfRiskHotspots>10),f(1),g("ngIf",t.totalNumberOfRiskHotspots>20),f(1),g("ngIf",t.totalNumberOfRiskHotspots>50),f(1),g("ngIf",t.totalNumberOfRiskHotspots>100)}}function CL(e,n){1&e&&A(0,"col",25)}const nl=(e,n,t)=>({"icon-up-dir_active":e,"icon-down-dir_active":n,"icon-down-dir":t});function DL(e,n){if(1&e){const t=Ee();y(0,"th")(1,"a",12),k("click",function(o){const s=q(t).index;return W(v(2).updateSorting(""+s,o))}),A(2,"i",13),b(3),_(),y(4,"a",26),A(5,"i",27),_()()}if(2&e){const t=n.$implicit,r=n.index,o=v(2);f(2),g("ngClass",$e(3,nl,o.settings.sortBy===""+r&&"desc"===o.settings.sortOrder,o.settings.sortBy===""+r&&"asc"===o.settings.sortOrder,o.settings.sortBy!==""+r)),f(1),N(t.name),f(1),On("href",t.explanationUrl,An)}}const wL=(e,n)=>({lightred:e,lightgreen:n});function bL(e,n){if(1&e&&(y(0,"td",31),b(1),_()),2&e){const t=n.$implicit;g("ngClass",od(2,wL,t.exceeded,!t.exceeded)),f(1),N(t.value)}}function EL(e,n){if(1&e&&(y(0,"tr")(1,"td"),b(2),_(),y(3,"td")(4,"a",28),b(5),_()(),y(6,"td",29)(7,"a",28),b(8),_()(),P(9,bL,2,5,"td",30),_()),2&e){const t=n.$implicit,r=v(2);f(2),N(t.assembly),f(2),g("href",t.reportPath+r.queryString,An),f(1),N(t.class),f(1),g("title",t.methodName),f(1),g("href",t.reportPath+r.queryString+"#file"+t.fileIndex+"_line"+t.line,An),f(1),G(" ",t.methodShortName," "),f(1),g("ngForOf",t.metrics)}}function IL(e,n){if(1&e){const t=Ee();y(0,"div")(1,"div",1)(2,"div")(3,"select",2),k("ngModelChange",function(o){return q(t),W(v().settings.assembly=o)})("ngModelChange",function(){return q(t),W(v().updateRiskHotpots())}),y(4,"option",3),b(5),_(),P(6,hL,2,2,"option",4),_()(),y(7,"div",5),P(8,pL,2,1,"span",0)(9,yL,7,5,"select",6),_(),A(10,"div",5),y(11,"div",7)(12,"span"),b(13),_(),y(14,"input",8),k("ngModelChange",function(o){return q(t),W(v().settings.filter=o)})("ngModelChange",function(){return q(t),W(v().updateRiskHotpots())}),_()()(),y(15,"div",9)(16,"table",10)(17,"colgroup"),A(18,"col")(19,"col")(20,"col"),P(21,CL,1,0,"col",11),_(),y(22,"thead")(23,"tr")(24,"th")(25,"a",12),k("click",function(o){return q(t),W(v().updateSorting("assembly",o))}),A(26,"i",13),b(27),_()(),y(28,"th")(29,"a",12),k("click",function(o){return q(t),W(v().updateSorting("class",o))}),A(30,"i",13),b(31),_()(),y(32,"th")(33,"a",12),k("click",function(o){return q(t),W(v().updateSorting("method",o))}),A(34,"i",13),b(35),_()(),P(36,DL,6,7,"th",14),_()(),y(37,"tbody"),P(38,EL,10,7,"tr",14),function my(e,n){const t=X();let r;const o=e+V;t.firstCreatePass?(r=function fN(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];const i=r.factory||(r.factory=Gn(r.type)),a=lt(M);try{const l=us(!1),c=i();return us(l),function MA(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,w(),o,c),c}finally{lt(a)}}(39,"slice"),_()()()()}if(2&e){const t=v();f(3),g("ngModel",t.settings.assembly),f(2),N(t.translations.assembly),f(1),g("ngForOf",t.assemblies),f(2),g("ngIf",t.totalNumberOfRiskHotspots>10),f(1),g("ngIf",t.totalNumberOfRiskHotspots>10),f(4),G("",t.translations.filter," "),f(1),g("ngModel",t.settings.filter),f(7),g("ngForOf",t.riskHotspotMetrics),f(5),g("ngClass",$e(20,nl,"assembly"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"assembly"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"assembly"!==t.settings.sortBy)),f(1),N(t.translations.assembly),f(3),g("ngClass",$e(24,nl,"class"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"class"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"class"!==t.settings.sortBy)),f(1),N(t.translations.class),f(3),g("ngClass",$e(28,nl,"method"===t.settings.sortBy&&"desc"===t.settings.sortOrder,"method"===t.settings.sortBy&&"asc"===t.settings.sortOrder,"method"!==t.settings.sortBy)),f(1),N(t.translations.method),f(1),g("ngForOf",t.riskHotspotMetrics),f(2),g("ngForOf",vy(39,16,t.riskHotspots,0,t.settings.numberOfRiskHotspots))}}let ML=(()=>{class e{constructor(t){this.queryString="",this.riskHotspotMetrics=[],this.riskHotspots=[],this.totalNumberOfRiskHotspots=0,this.assemblies=[],this.translations={},this.settings=new fL,this.window=t.nativeWindow}ngOnInit(){this.riskHotspotMetrics=this.window.riskHotspotMetrics,this.translations=this.window.translations,void 0!==this.window.history&&void 0!==this.window.history.replaceState&&null!==this.window.history.state&&null!=this.window.history.state.riskHotspotsSettings&&(console.log("Risk hotspots: Restoring from history",this.window.history.state.riskHotspotsSettings),this.settings=JSON.parse(JSON.stringify(this.window.history.state.riskHotspotsSettings)));const t=window.location.href.indexOf("?");t>-1&&(this.queryString=window.location.href.substring(t)),this.updateRiskHotpots()}onDonBeforeUnlodad(){if(void 0!==this.window.history&&void 0!==this.window.history.replaceState){console.log("Risk hotspots: Updating history",this.settings);let t=new lw;null!==window.history.state&&(t=JSON.parse(JSON.stringify(this.window.history.state))),t.riskHotspotsSettings=JSON.parse(JSON.stringify(this.settings)),window.history.replaceState(t,"")}}updateRiskHotpots(){const t=this.window.riskHotspots;if(this.totalNumberOfRiskHotspots=t.length,0===this.assemblies.length){let s=[];for(let a=0;a0)},dependencies:[Ai,mo,lr,wf,Ef,Oi,Vi,Wa,Li,HC],encapsulation:2})}return e})(),SL=(()=>{class e{static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275mod=Dn({type:e,bootstrap:[ML,dL]});static#n=this.\u0275inj=tn({providers:[Sf],imports:[AF,$P]})}return e})();SF().bootstrapModule(SL).catch(e=>console.error(e))}},rl=>{rl(rl.s=316)}]); /* ]]> */