vendor: 4,420 bytes, lines 1-3
1var rv=Object.defineProperty,ov=Object.defineProperties;var iv=Object.getOwnPropertyDescriptors;var pf=Object.getOwnPropertySymbols;var sv=Object.prototype.hasOwnProperty,av=Object.prototype.propertyIsEnumerable;var gf=(e,n,t)=>n in e?rv(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,m=(e,n)=>{for(var t in n||={})sv.call(n,t)&&gf(e,t,n[t]);if(pf)for(var t of pf(n))av.call(n,t)&&gf(e,t,n[t]);return e},O=(e,n)=>ov(e,iv(n));function R(e){return typeof e=="function"}function cv(e){return R(e?.lift)}function k(e){return n=>{if(cv(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")}}function tr(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var Ei=tr(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription: 2${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(` 3 `)}`:"",this.name="UnsubscriptionError",this.errors=t});function eo(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var oe=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(R(r))try{r()}catch(i){n=i instanceof Ei?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{mf(i)}catch(s){n=n??[],s instanceof Ei?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Ei(n)}}add(n){var t;if(n&&n!==this)if(this.closed)mf(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&eo(t,n)}remove(n){let{_finalizers:t}=this;t&&eo(t,n),n instanceof e&&n._removeParent(this)}};oe.EMPTY=(()=>{let e=new oe;return e.closed=!0,e})();var gc=oe.EMPTY;function Ci(e){return e instanceof oe||e&&"closed"in e&&R(e.remove)&&R(e.add)&&R(e.unsubscribe)}function mf(e){R(e)?e():e.unsubscribe()}var Be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var nr={setTimeout(e,n,...t){let{delegate:r}=nr;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=nr;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function wi(e){nr.setTimeout(()=>{let{onUnhandledError:n}=Be;if(n)n(e);else throw e})}function to(){}var yf=mc("C",void 0,void 0);function vf(e){return mc("E",void 0,e)}function Df(e){return mc("N",e,void 0)}function mc(e,n,t){return{kind:e,value:n,error:t}}var ln=null;function rr(e){if(Be.useDeprecatedSynchronousErrorHandling){let n=!ln;if(n&&(ln={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=ln;if(ln=null,t)throw r}}else e()}function Ef(e){Be.useDeprecatedSynchronousErrorHandling&&ln&&(ln.errorThrown=!0,ln.error=e)}var dn=class extends oe{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ci(n)&&n.add(this)):this.destination=dv}static create(n,t,r){return new Ve(n,t,r)}next(n){this.isStopped?vc(Df(n),this):this._next(n)}error(n){this.isStopped?vc(vf(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?vc(yf,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()}}},uv=Function.prototype.bind;function yc(e,n){return uv.call(e,n)}var Dc=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Ii(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Ii(r)}else Ii(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Ii(t)}}},Ve=class extends dn{constructor(n,t,r){super();let o;if(R(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;
vendor: 10,517 bytes, line 3
3this&&Be.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&yc(n.next,i),error:n.error&&yc(n.error,i),complete:n.complete&&yc(n.complete,i)}):o=n}this.destination=new Dc(o)}};function Ii(e){Be.useDeprecatedSynchronousErrorHandling?Ef(e):wi(e)}function lv(e){throw e}function vc(e,n){let{onStoppedNotification:t}=Be;t&&nr.setTimeout(()=>t(e,n))}var dv={closed:!0,next:to,error:lv,complete:to};function j(e,n,t,r,o){return new Ec(e,n,t,r,o)}var Ec=class extends dn{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function P(e,n){return k((t,r)=>{let o=0;t.subscribe(j(r,i=>{r.next(e.call(n,i,o++))}))})}var ue=null,bi=!1,Cc=1,fv=null,ie=Symbol("SIGNAL");function C(e){let n=ue;return ue=e,n}function Ti(){return ue}var Ft={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function pn(e){if(bi)throw new Error("");if(ue===null)return;ue.consumerOnSignalRead(e);let n=ue.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=ue.recomputing;if(r&&(t=n!==void 0?n.nextProducer:ue.producers,t!==void 0&&t.producer===e)){ue.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ue&&(!r||pv(o,ue)))return;let i=ir(ue),s={producer:e,consumer:ue,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ue.producersTail=s,n!==void 0?n.nextProducer=s:ue.producers=s,i&&bf(e,s)}function Cf(){Cc++}function gn(e){if(!(ir(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Cc)){if(!e.producerMustRecompute(e)&&!no(e)){or(e);return}e.producerRecomputeValue(e),or(e)}}function wc(e){if(e.consumers===void 0)return;let n=bi;bi=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||hv(r)}}finally{bi=n}}function Ic(){return ue?.consumerAllowSignalWrites!==!1}function hv(e){e.dirty=!0,wc(e),e.consumerMarkedDirty?.(e)}function or(e){e.dirty=!1,e.lastCleanEpoch=Cc}function Lt(e){return e&&wf(e),C(e)}function wf(e){e.producersTail=void 0,e.recomputing=!0}function mn(e,n){C(n),e&&If(e)}function If(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(ir(e))do t=bc(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function no(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||(gn(t),r!==t.version))return!0}return!1}function yn(e){if(ir(e)){let n=e.producers;for(;n!==void 0;)n=bc(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function bf(e,n){let t=e.consumersTail,r=ir(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)bf(o.producer,o)}function bc(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!ir(n)){let i=n.producers;for(;i!==void 0;)i=bc(i)}return t}function ir(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ro(e){fv?.(e)}function pv(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function oo(e,n){return Object.is(e,n)}function Si(e,n){let t=Object.create(gv);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if(gn(t),pn(t),t.value===nt)throw t.error;return t.value};return r[ie]=t,ro(t),r}var fn=Symbol("UNSET"),hn=Symbol("COMPUTING"),nt=Symbol("ERRORED"),gv=O(m({},Ft),{value:fn,dirty:!0,error:null,equal:oo,kind:"computed",producerMustRecompute(e){return e.value===fn||e.value===hn},producerRecomputeValue(e){if(e.value===hn)throw new Error("");let n=e.value;e.value=hn;let t=Lt(e),r,o=!1;try{r=e.computation(),C(null),o=n!==fn&&n!==nt&&r!==nt&&e.equal(n,r)}catch(i){r=nt,e.error=i}finally{mn(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function mv(){throw new Error}var Tf=mv;function Sf(e){Tf(e)}function Tc(e){Tf=e}var yv=null;function Sc(e,n){let t=Object.create(Mi);t.value=e,n!==void 0&&(t.equal=n);let r=()=>_f(t);return r[ie]=t,ro(t),[r,s=>vn(t,s),s=>_i(t,s)]}function _f(e){return pn(e),e.value}function vn(e,n){Ic()||Sf(e),e.equal(e.value,n)||(e.value=n,vv(e))}function _i(e,n){Ic()||Sf(e),vn(e,n(e.value))}var Mi=O(m({},Ft),{equal:oo,value:void 0,kind:"signal"});function vv(e){e.version++,Cf(),wc(e),yv?.(e)}var _c=O(m({},Ft),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Mc(e){if(e.dirty=!1,e.version>0&&!no(e))return;e.version++;let n=Lt(e);try{e.cleanup(),e.fn()}finally{mn(e,n)}}var sr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function He(e){return e}function Nc(...e){return Rc(e)}function Rc(e){return e.length===0?He:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var x=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=Ev(t)?t:new Ve(t,r,o);return rr(()=>{let{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 r=Mf(r),new r((o,i)=>{let s=new Ve({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[sr](){return this}pipe(...t){return Rc(t)(this)}toPromise(t){return t=Mf(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Mf(e){var n;return(n=e??Be.Promise)!==null&&n!==void 0?n:Promise}function Dv(e){return e&&R(e.next)&&R(e.error)&&R(e.complete)}function Ev(e){return e&&e instanceof dn||Dv(e)&&Ci(e)}var Nf=tr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var H=(()=>{class e extends x{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new Ni(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Nf}next(t){rr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){rr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){rr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?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){let{hasError:r,isStopped:o,observers:i}=this;return r||o?gc:(this.currentObservers=null,i.push(t),new oe(()=>{this.currentObservers=null,eo(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new x;return t.source=this,t}}return e.create=(n,t)=>new Ni(n,t),e})(),Ni=class extends H{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:gc}};var se=class extends H{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var Ac={now(){return(Ac.delegate||Date).now()},delegate:void 0};var io=class extends H{constructor(n=1/0,t=1/0,r=Ac){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;t||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!n.closed;s+=r?1:2)n.next(i[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=t.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var ae=new x(e=>e.complete());function Rf(e){return e&&R(e.schedule)}function Af(e){return e[e.length-1]}function Ri(e){return R(Af(e))?e.pop():void 0}function jt(e){return Rf(Af(e))?e.pop():void 0}function Of(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,n||[])).next())})}function xf(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);
vendor: 5,933 bytes, line 3
3if(e&&typeof e.length=="number")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.")}function Dn(e){return this instanceof Dn?(this.v=e,this):new Dn(e)}function kf(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(h){return function(g){return Promise.resolve(g).then(h,d)}}function a(h,g){r[h]&&(o[h]=function(w){return new Promise(function(E,b){i.push([h,w,E,b])>1||c(h,w)})},g&&(o[h]=g(o[h])))}function c(h,g){try{u(r[h](g))}catch(w){f(i[0][3],w)}}function u(h){h.value instanceof Dn?Promise.resolve(h.value.v).then(l,d):f(i[0][2],h)}function l(h){c("next",h)}function d(h){c("throw",h)}function f(h,g){h(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Pf(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof xf=="function"?xf(e):e[Symbol.iterator](),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,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Ai=e=>e&&typeof e.length=="number"&&typeof e!="function";function xi(e){return R(e?.then)}function Oi(e){return R(e[sr])}function ki(e){return Symbol.asyncIterator&&R(e?.[Symbol.asyncIterator])}function Pi(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Cv(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Fi=Cv();function Li(e){return R(e?.[Fi])}function ji(e){return kf(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield Dn(t.read());if(o)return yield Dn(void 0);yield yield Dn(r)}}finally{t.releaseLock()}})}function Ui(e){return R(e?.getReader)}function W(e){if(e instanceof x)return e;if(e!=null){if(Oi(e))return wv(e);if(Ai(e))return Iv(e);if(xi(e))return bv(e);if(ki(e))return Ff(e);if(Li(e))return Tv(e);if(Ui(e))return Sv(e)}throw Pi(e)}function wv(e){return new x(n=>{let t=e[sr]();if(R(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Iv(e){return new x(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function bv(e){return new x(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,wi)})}function Tv(e){return new x(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function Ff(e){return new x(n=>{_v(e,n).catch(t=>n.error(t))})}function Sv(e){return Ff(ji(e))}function _v(e,n){var t,r,o,i;return Of(this,void 0,void 0,function*(){try{for(t=Pf(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),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()})}function we(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Bi(e,n=0){return k((t,r)=>{t.subscribe(j(r,o=>we(r,e,()=>r.next(o),n),()=>we(r,e,()=>r.complete(),n),o=>we(r,e,()=>r.error(o),n)))})}function Vi(e,n=0){return k((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Lf(e,n){return W(e).pipe(Vi(n),Bi(n))}function jf(e,n){return W(e).pipe(Vi(n),Bi(n))}function Uf(e,n){return new x(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Bf(e,n){return new x(t=>{let r;return we(t,n,()=>{r=e[Fi](),we(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>R(r?.return)&&r.return()})}function Hi(e,n){if(!e)throw new Error("Iterable cannot be null");return new x(t=>{we(t,n,()=>{let r=e[Symbol.asyncIterator]();we(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Vf(e,n){return Hi(ji(e),n)}function Hf(e,n){if(e!=null){if(Oi(e))return Lf(e,n);if(Ai(e))return Uf(e,n);if(xi(e))return jf(e,n);if(ki(e))return Hi(e,n);if(Li(e))return Bf(e,n);if(Ui(e))return Vf(e,n)}throw Pi(e)}function K(e,n){return n?Hf(e,n):W(e)}function S(...e){let n=jt(e);return K(e,n)}function xc(e,n){let t=R(e)?e:()=>e,r=o=>o.error(t());return new x(n?o=>n.schedule(r,0,o):r)}function $e(e){return!!e&&(e instanceof x||R(e.lift)&&R(e.subscribe))}var ft=tr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Mv(e,n){let t=typeof n=="object";return new Promise((r,o)=>{let i=new Ve({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{t?r(n.defaultValue):o(new ft)}});e.subscribe(i)})}var{isArray:Nv}=Array;function Rv(e,n){return Nv(n)?e(...n):e(n)}function $i(e){return P(n=>Rv(e,n))}var{isArray:Av}=Array,{getPrototypeOf:xv,prototype:Ov,keys:kv}=Object;function zi(e){if(e.length===1){let n=e[0];if(Av(n))return{args:n,keys:null};if(Pv(n)){let t=kv(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function Pv(e){return e&&typeof e=="object"&&xv(e)===Ov}function Gi(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Oc(...e){let n=jt(e),t=Ri(e),{args:r,keys:o}=zi(e);if(r.length===0)return K([],n);let i=new x(Fv(r,n,o?s=>Gi(o,s):He));return t?i.pipe($i(t)):i}function Fv(e,n,t=He){return r=>{$f(n,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)$f(n,()=>{let u=K(e[c],n),l=!1;u.subscribe(j(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}
vendor: 11,949 bytes, lines 3-4
3))},r)},r)}}function $f(e,n,t){e?we(t,e,n):n()}function zf(e,n,t,r,o,i,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&n.complete()},h=w=>u<r?g(w):c.push(w),g=w=>{i&&n.next(w),u++;let E=!1;W(t(w,l++)).subscribe(j(n,b=>{o?.(b),i?h(b):n.next(b)},()=>{E=!0},void 0,()=>{if(E)try{for(u--;c.length&&u<r;){let b=c.shift();s?we(n,s,()=>g(b)):g(b)}f()}catch(b){n.error(b)}}))};return e.subscribe(j(n,h,()=>{d=!0,f()})),()=>{a?.()}}function le(e,n,t=1/0){return R(n)?le((r,o)=>P((i,s)=>n(r,i,o,s))(W(e(r,o))),t):(typeof n=="number"&&(t=n),k((r,o)=>zf(r,o,e,t)))}function ar(e=1/0){return le(He,e)}function Gf(){return ar(1)}function ht(...e){return Gf()(K(e,jt(e)))}function Ut(e){return new x(n=>{W(e()).subscribe(n)})}function kc(...e){let n=Ri(e),{args:t,keys:r}=zi(e),o=new x(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;W(t[l]).subscribe(j(i,f=>{d||(d=!0,u--),a[l]=f},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?Gi(r,a):a),i.complete())}))}});return n?o.pipe($i(n)):o}function xe(e,n){return k((t,r)=>{let o=0;t.subscribe(j(r,i=>e.call(n,i,o++)&&r.next(i)))})}function cr(e){return k((n,t)=>{let r=null,o=!1,i;r=n.subscribe(j(t,void 0,void 0,s=>{i=W(e(s,cr(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function pt(e,n){return R(n)?le(e,n,1):le(e,1)}function Wf(e){return k((n,t)=>{let r=!1;n.subscribe(j(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function Ie(e){return e<=0?()=>ae:k((n,t)=>{let r=0;n.subscribe(j(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function qf(e=Lv){return k((n,t)=>{let r=!1;n.subscribe(j(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function Lv(){return new ft}function so(e){return k((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}function gt(e,n){let t=arguments.length>=2;return r=>r.pipe(e?xe((o,i)=>e(o,i,r)):He,Ie(1),t?Wf(n):qf(()=>new ft))}function Wi(e){return e<=0?()=>ae:k((n,t)=>{let r=[];n.subscribe(j(t,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function Zf(e={}){let{connector:n=()=>new H,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=c=void 0,l=d=!1},g=()=>{let w=s;h(),w?.unsubscribe()};return k((w,E)=>{u++,!d&&!l&&f();let b=c=c??n();E.add(()=>{u--,u===0&&!d&&!l&&(a=Pc(g,o))}),b.subscribe(E),!s&&u>0&&(s=new Ve({next:V=>b.next(V),error:V=>{d=!0,f(),a=Pc(h,t,V),b.error(V)},complete:()=>{l=!0,f(),a=Pc(h,r),b.complete()}}),W(w).subscribe(s))})(i)}}function Pc(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new Ve({next:()=>{r.unsubscribe(),e()}});return W(n(...t)).subscribe(r)}function qi(e,n,t){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:t}=e:r=e??1/0,Zf({connector:()=>new io(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Fc(...e){let n=jt(e);return k((t,r)=>{(n?ht(e,t,n):ht(e,t)).subscribe(r)})}function de(e,n){return k((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(j(r,c=>{o?.unsubscribe();let u=0,l=i++;W(e(c,l)).subscribe(o=j(r,d=>r.next(n?n(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function En(e){return k((n,t)=>{W(e).subscribe(j(t,()=>t.complete(),to)),!t.closed&&n.subscribe(t)})}function Oe(e,n,t){let r=R(e)||n||t?{next:e,error:n,complete:t}:e;return r?k((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(j(i,c=>{var u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):He}var Lc;function Zi(){return Lc}function rt(e){let n=Lc;return Lc=e,n}var Yf=Symbol("NotFound");function ur(e){return e===Yf||e?.name==="\u0275NotFound"}function jc(e,n,t){let r=Object.create(jv);r.source=e,r.computation=n,t!=null&&(r.equal=t);let i=()=>{if(gn(r),pn(r),r.value===nt)throw r.error;return r.value};return i[ie]=r,ro(r),i}function Qf(e,n){gn(e),vn(e,n),or(e)}function Kf(e,n){if(gn(e),e.value===nt)throw e.error;_i(e,n),or(e)}var jv=O(m({},Ft),{value:fn,dirty:!0,error:null,equal:oo,kind:"linkedSignal",producerMustRecompute(e){return e.value===fn||e.value===hn},producerRecomputeValue(e){if(e.value===hn)throw new Error("");let n=e.value;e.value=hn;let t=Lt(e),r,o=!1;try{let i=e.source(),s=n!==fn&&n!==nt,a=s?{source:e.sourceValue,value:n}:void 0;r=e.computation(i,a),e.sourceValue=i,C(null),o=s&&r!==nt&&e.equal(n,r)}catch(i){r=nt,e.error=i}finally{mn(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function Jf(e){let n=C(null);try{return e()}finally{C(n)}}var ns="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",y=class extends Error{code;constructor(n,t){super(ot(n,t)),this.code=n}};function Uv(e){return`NG0${Math.abs(e)}`}function ot(e,n){return`${Uv(e)}${n?": "+n:""}`}var zt=globalThis;function U(e){for(let n in e)if(e[n]===U)return n;throw Error("")}function po(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(po).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(` 4`);return r>=0?t.slice(0,r):t}function rs(e,n){return e?n?`${e} ${n}`:e:n||""}var Bv=U({__forward_ref__:U});function os(e){return e.__forward_ref__=os,e}function be(e){return Kc(e)?e():e}function Kc(e){return typeof e=="function"&&e.hasOwnProperty(Bv)&&e.__forward_ref__===os}function v(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function it(e){return{providers:e.providers||[],imports:e.imports||[]}}function go(e){return Vv(e,is)}function Jc(e){return go(e)!==null}function Vv(e,n){return e.hasOwnProperty(n)&&e[n]||null}function Hv(e){let n=e?.[is]??null;return n||null}function Bc(e){return e&&e.hasOwnProperty(Qi)?e[Qi]:null}var is=U({\u0275prov:U}),Qi=U({\u0275inj:U}),D=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=v({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Xc(e){return e&&!!e.\u0275providers}var eu=U({\u0275cmp:U}),tu=U({\u0275dir:U}),nu=U({\u0275pipe:U}),ru=U({\u0275mod:U}),co=U({\u0275fac:U}),bn=U({__NG_ELEMENT_ID__:U}),Xf=U({__NG_ENV_ID__:U});function ou(e){return ss(e,"@NgModule"),e[ru]||null}function Gt(e){return ss(e,"@Component"),e[eu]||null}function iu(e){return ss(e,"@Directive"),e[tu]||null}function rh(e){return ss(e,"@Pipe"),e[nu]||null}function ss(e,n){if(e==null)throw new y(-919,!1)}function mo(e){return typeof e=="string"?e:e==null?"":String(e)}var oh=U({ngErrorCode:U}),$v=U({ngErrorMessage:U}),zv=U({ngTokenPath:U});function su(e,n){return ih("",-200,n)}function as(e,n){throw new y(-201,!1)}function ih(e,n,t){let r=new y(n,e);return r[oh]=n,r[$v]=e,t&&(r[zv]=t),r}function Gv(e){return e[oh]}var Vc;function sh(){return Vc}function ye(e){let n=Vc;return Vc=e,n}function au(e,n,t){let r=go(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;as(e,"")}var Wv={},Cn=Wv,qv="__NG_DI_FLAG__",Hc=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=wn(t)||0;try{return this.injector.get(n,r&8?null:Cn,r)}catch(o){if(ur(o))return o;throw o}}};function Zv(e,n=0){let t=Zi();if(t===void 0)throw new y(-203,!1);if(t===null)return au(e,void 0,n);{let r=Yv(n),o=t.retrieve(e,r);if(ur(o)){if(r.optional)return null;throw o}return o}}function T(e,n=0){return(sh()||Zv)(be(e),n)}function p(e,n){return T(e,wn(n))}function wn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Yv(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function $c(e){let n=[];for(let t=0;t<e.length;t++){let r=be(e[t]);if(Array.isArray(r)){if(r.length===0)throw new y(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Qv(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(T(o,i))}else n.push(T(r))}return n}function Qv(e){return e[qv]}function Bt(e,n){let t=e.hasOwnProperty(co);return t?e[co]:null}function ah(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function ch(e){return e.flat(Number.POSITIVE_INFINITY)}function cs(e,n){e.forEach(t=>Array.isArray(t)?cs(t,n):n(t))}function cu(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function yo(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function uh(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function lh(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function us(e,n,t){let r=dr(e,n);return r>=0?e[r|1]=t:(r=~r,lh(e,r,n,t)),r}function ls(e,n){let t=dr(e,n);if(t>=0)return e[t|1]}function dr(e,n){return Kv(e,n,1)}function Kv(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var Tn={},Te=[],Wt=new D(""),uu=new D("",-1),lu=new D(""),uo=class{get(n,t=Cn){if(t===Cn){let o=ih("",-201);throw o.name="\u0275NotFound",o}return t}};function yt(e){return{\u0275providers:e}}function dh(e){return yt([{provide:Wt,multi:!0,useValue:e}])}function fh(...e){return{\u0275providers:du(!0,e),\u0275fromNgModule:!0}}function du(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return cs(n,s=>{let a=s;Ki(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&hh(o,i),t}function hh(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];fu(o,i=>{n(i,r)})}}function Ki(e,n,t,r){if(e=be(e),!e)return!1;let o=null,i=Bc(e),s=!i&&Gt(e);if(!i&&!s){let c=e.ngModule;if(i=Bc(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Ki(u,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;cs(i.imports,l=>{Ki(l,n,t,r)&&(u||=[],u.push(l))}),u!==void 0&&hh(u,n)}if(!a){let u=Bt(o)||(()=>new o);n({provide:o,useFactory:u,deps:Te},o),n({provide:lu,useValue:o,multi:!0},o),n({provide:Wt,useValue:()=>T(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;fu(c,l=>{n(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function fu(e,n){for(let t of e)Xc(t)&&(t=t.\u0275providers),Array.isArray(t)?fu(t,n):n(t)}var Jv=U({provide:String,useValue:U});function ph(e){return e!==null&&typeof e=="object"&&Jv in e}function Xv(e){return!!(e&&e.useExisting)}function eD(e){return!!(e&&e.useFactory)}function Ji(e){return typeof e=="function"}var vo=new D(""),Yi={},eh={},Uc;function Do(){return Uc===void 0&&(Uc=new uo),Uc}var q=class{},In=class extends q{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Gc(n,s=>this.processProvider(s)),this.records.set(uu,lr(void 0,this)),o.has("environment")&&this.records.set(q,lr(void 0,this));let i=this.records.get(vo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(lu,Te,{self:!0}))}retrieve(n,t){let r=wn(t)||0;try{return this.get(n,Cn,r)}catch(o){if(ur(o))return o;throw o}}destroy(){ao(this),this._destroyed=!0;let n=C(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),
vendor: 4,867 bytes, line 4
4C(n)}}onDestroy(n){return ao(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){ao(this);let t=rt(this),r=ye(void 0),o;try{return n()}finally{rt(t),ye(r)}}get(n,t=Cn,r){if(ao(this),n.hasOwnProperty(Xf))return n[Xf](this);let o=wn(r),i,s=rt(this),a=ye(void 0);try{if(!(o&4)){let u=this.records.get(n);if(u===void 0){let l=iD(n)&&go(n);l&&this.injectableDefInScope(l)?u=lr(zc(n),Yi):u=null,this.records.set(n,u)}if(u!=null)return this.hydrate(n,u,o)}let c=o&2?Do():this.parent;return t=o&8&&t===Cn?null:t,c.get(n,t)}catch(c){let u=Gv(c);throw u===-200||u===-201?new y(u,null):c}finally{ye(a),rt(s)}}resolveInjectorInitializers(){let n=C(null),t=rt(this),r=ye(void 0),o;try{let i=this.get(Wt,Te,{self:!0});for(let s of i)s()}finally{rt(t),ye(r),C(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=be(n);let t=Ji(n)?n:be(n&&n.provide),r=nD(n);if(!Ji(n)&&n.multi===!0){let o=this.records.get(t);o||(o=lr(void 0,Yi,!0),o.factory=()=>$c(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=C(null);try{if(t.value===eh)throw su("");return t.value===Yi&&(t.value=eh,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&oD(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{C(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=be(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function zc(e){let n=go(e),t=n!==null?n.factory:Bt(e);if(t!==null)return t;if(e instanceof D)throw new y(-204,!1);if(e instanceof Function)return tD(e);throw new y(-204,!1)}function tD(e){if(e.length>0)throw new y(-204,!1);let t=Hv(e);return t!==null?()=>t.factory(e):()=>new e}function nD(e){if(ph(e))return lr(void 0,e.useValue);{let n=gh(e);return lr(n,Yi)}}function gh(e,n,t){let r;if(Ji(e)){let o=be(e);return Bt(o)||zc(o)}else if(ph(e))r=()=>be(e.useValue);else if(eD(e))r=()=>e.useFactory(...$c(e.deps||[]));else if(Xv(e))r=(o,i)=>T(be(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=be(e&&(e.useClass||e.provide));if(rD(e))r=()=>new o(...$c(e.deps));else return Bt(o)||zc(o)}return r}function ao(e){if(e.destroyed)throw new y(-205,!1)}function lr(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function rD(e){return!!e.deps}function oD(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function iD(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Gc(e,n){for(let t of e)Array.isArray(t)?Gc(t,n):t&&Xc(t)?Gc(t.\u0275providers,n):n(t)}function ne(e,n){let t;e instanceof In?(ao(e),t=e):t=new Hc(e);let r,o=rt(t),i=ye(void 0);try{return n()}finally{rt(o),ye(i)}}function mh(){return sh()!==void 0||Zi()!=null}var Ge=0,I=1,M=2,ee=3,ke=4,ve=5,Sn=6,fr=7,J=8,vt=9,We=10,$=11,hr=12,hu=13,_n=14,De=15,qt=16,Mn=17,st=18,Dt=19,pu=20,mt=21,ds=22,Vt=23,Me=24,fs=25,Zt=26,z=27,yh=1,gu=6,Yt=7,Eo=8,Nn=9,Y=10;function Et(e){return Array.isArray(e)&&typeof e[yh]=="object"}function qe(e){return Array.isArray(e)&&e[yh]===!0}function mu(e){return(e.flags&4)!==0}function Ct(e){return e.componentOffset>-1}function pr(e){return(e.flags&1)===1}function Rn(e){return!!e.template}function gr(e){return(e[M]&512)!==0}function An(e){return(e[M]&256)===256}var yu="svg",vh="math";function Pe(e){for(;Array.isArray(e);)e=e[Ge];return e}function vu(e,n){return Pe(n[e])}function Ze(e,n){return Pe(n[e.index])}function hs(e,n){return e.data[n]}function Du(e,n){return e[n]}function Eu(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Fe(e,n){let t=n[e];return Et(t)?t:t[Ge]}function Dh(e){return(e[M]&4)===4}function ps(e){return(e[M]&128)===128}function Eh(e){return qe(e[ee])}function Le(e,n){return n==null?null:e[n]}function Cu(e){e[Mn]=0}function wu(e){e[M]&1024||(e[M]|=1024,ps(e)&&mr(e))}function Ch(e,n){for(;e>0;)n=n[_n],e--;return n}function Co(e){return!!(e[M]&9216||e[Me]?.dirty)}function gs(e){e[We].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),Co(e)&&mr(e)}function mr(e){e[We].changeDetectionScheduler?.notify(0);let n=Ht(e);for(;n!==null&&!(n[M]&8192||(n[M]|=8192,!ps(n)));)n=Ht(n)}function Iu(e,n){if(An(e))throw new y(911,!1);e[mt]===null&&(e[mt]=[]),e[mt].push(n)}function wh(e,n){if(e[mt]===null)return;let t=e[mt].indexOf(n);t!==-1&&e[mt].splice(t,1)}function Ht(e){let n=e[ee];return qe(n)?n[ee]:n}function bu(e){return e[fr]??=[]}function Tu(e){return e.cleanup??=[]}function Ih(e,n,t,r){let o=bu(n);o.push(t),e.firstCreatePass&&Tu(e).push(r,o.length-1)}var A={lFrame:Fh(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Wc=!1;function bh(){return A.lFrame.elementDepthCount}function Th(){A.lFrame.elementDepthCount++}function Su(){A.lFrame.elementDepthCount--}function ms(){return A.bindingsEnabled}
vendor: 5,912 bytes, line 4
4function _u(){return A.skipHydrationRootTNode!==null}function Mu(e){return A.skipHydrationRootTNode===e}function Nu(){A.skipHydrationRootTNode=null}function _(){return A.lFrame.lView}function X(){return A.lFrame.tView}function Sh(e){return A.lFrame.contextLView=e,e[J]}function _h(e){return A.lFrame.contextLView=null,e}function ce(){let e=Ru();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ru(){return A.lFrame.currentTNode}function Mh(){let e=A.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function yr(e,n){let t=A.lFrame;t.currentTNode=e,t.isParent=n}function Au(){return A.lFrame.isParent}function xu(){A.lFrame.isParent=!1}function Nh(){return A.lFrame.contextLView}function Ou(){return Wc}function lo(e){let n=Wc;return Wc=e,n}function ys(){let e=A.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Rh(e){return A.lFrame.bindingIndex=e}function Qt(){return A.lFrame.bindingIndex++}function ku(e){let n=A.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function Ah(){return A.lFrame.inI18n}function xh(e,n){let t=A.lFrame;t.bindingIndex=t.bindingRootIndex=e,vs(n)}function Oh(){return A.lFrame.currentDirectiveIndex}function vs(e){A.lFrame.currentDirectiveIndex=e}function kh(e){let n=A.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function Pu(){return A.lFrame.currentQueryIndex}function Ds(e){A.lFrame.currentQueryIndex=e}function sD(e){let n=e[I];return n.type===2?n.declTNode:n.type===1?e[ve]:null}function Fu(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=sD(i),o===null||(i=i[_n],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=A.lFrame=Ph();return r.currentTNode=n,r.lView=e,!0}function Es(e){let n=Ph(),t=e[I];A.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Ph(){let e=A.lFrame,n=e===null?null:e.child;return n===null?Fh(e):n}function Fh(e){let 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 e!==null&&(e.child=n),n}function Lh(){let e=A.lFrame;return A.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Lu=Lh;function Cs(){let e=Lh();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 jh(e){return(A.lFrame.contextLView=Ch(e,A.lFrame.contextLView))[J]}function wt(){return A.lFrame.selectedIndex}function Kt(e){A.lFrame.selectedIndex=e}function ws(){let e=A.lFrame;return hs(e.tView,e.selectedIndex)}function Is(){A.lFrame.currentNamespace=yu}function Uh(){aD()}function aD(){A.lFrame.currentNamespace=null}function ju(){return A.lFrame.currentNamespace}var Bh=!0;function bs(){return Bh}function wo(e){Bh=e}function qc(e,n=null,t=null,r){let o=Uu(e,n,t,r);return o.resolveInjectorInitializers(),o}function Uu(e,n=null,t=null,r,o=new Set){let i=[t||Te,fh(e)],s;return new In(i,n||Do(),s||null,o)}var he=class e{static THROW_IF_NOT_FOUND=Cn;static NULL=new uo;static create(n,t){if(Array.isArray(n))return qc({name:""},t,n,"");{let r=n.name??"";return qc({name:r},n.parent,n.providers,r)}}static \u0275prov=v({token:e,providedIn:"any",factory:()=>T(uu)});static __NG_ELEMENT_ID__=-1},Q=new D(""),pe=(()=>{class e{static __NG_ELEMENT_ID__=cD;static __NG_ENV_ID__=t=>t}return e})(),Xi=class extends pe{_lView;constructor(n){super(),this._lView=n}get destroyed(){return An(this._lView)}onDestroy(n){let t=this._lView;return Iu(t,n),()=>wh(t,n)}};function cD(){return new Xi(_())}var Vh=!1,Hh=new D(""),It=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new se(!1);debugTaskTracker=p(Hh,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new x(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zc=class extends H{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,mh()&&(this.destroyRef=p(pe,{optional:!0})??void 0,this.pendingTasks=p(It,{optional:!0})??void 0)}emit(n){let t=C(null);try{super.next(n)}finally{C(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof oe&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},fe=Zc;function es(...e){}function Bu(e){let n,t;function r(){e=es;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function $h(e){return queueMicrotask(()=>e()),()=>{e=es}}var Vu="isAngularZone",fo=Vu+"_ID",uD=0,Se=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new fe(!1);onMicrotaskEmpty=new fe(!1);onStable=new fe(!1);
4onError=new fe(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Vh}=n;if(typeof Zone>"u")throw new y(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,fD(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Vu)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,lD,es,es);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)}},lD={};function Hu(e){if(e._nesting==0&&!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 dD(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){Bu(()=>{e.callbackScheduled=!1,Yc(e),e.isCheckStableRunning=!0,Hu(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),Yc(e)}function fD(e){let n=()=>{dD(e)},t=uD++;e._inner=e._inner.fork({name:"angular",properties:{[Vu]:!0,[fo]:t,[fo+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(hD(c))return r.invokeTask(i,s,a,c);try{return th(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),nh(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return th(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!pD(c)&&n(),nh(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Yc(e),Hu(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function Yc(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function th(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function nh(e){e._nesting--,Hu(e)}var ho=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new fe;onMicrotaskEmpty=new fe;onStable=new fe;onError=new fe;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)}};function hD(e){return zh(e,"__ignore_ng_zone__")}function pD(e){return zh(e,"__scheduler_tick__")}function zh(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var ze=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Ne=new D("",{factory:()=>{let e=p(Se),n=p(q),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(ze),t.handleError(r))})}}}),Gh={provide:Wt,useValue:()=>{let e=p(ze,{optional:!0})},multi:!0},gD=new D("",{factory:()=>{let e=p(Q).defaultView;if(!e)return;let n=p(Ne),t=i=>{n(i.reason),i.preventDefault()},r=i=>{i.error?n(i.error):n(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",t),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),p(pe).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",t)})}});function mD(){return yt([dh(()=>{p(gD)})])}function G(e,n){let[t,r,o]=Sc(e,n?.equal),i=t,s=i[ie];return i.set=r,i.update=o,i.asReadonly=Ts.bind(i),i}function Ts(){let e=this[ie];if(e.readonlyFn===void 0){let n=()=>this();n[ie]=e,e.readonlyFn=n}return e.readonlyFn}var Ss=(()=>{class e{view;node;
vendor: 15,648 bytes, line 4
4constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=yD}return e})();function yD(){return new Ss(_(),ce())}var $t=class{},Io=new D("",{factory:()=>!0});var $u=new D(""),vr=(()=>{class e{internalPendingTasks=p(It);scheduler=p($t);errorHandler=p(Ne);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let r=this.add();t().catch(this.errorHandler).finally(r)}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),_s=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>new Qc})}return e})(),Qc=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},ts=class{[ie];constructor(n){this[ie]=n}destroy(){this[ie].destroy()}};function zu(e,n){let t=n?.injector??p(he),r=n?.manualCleanup!==!0?t.get(pe):null,o,i=t.get(Ss,null,{optional:!0}),s=t.get($t);return i!==null?(o=ED(i.view,s,e),r instanceof Xi&&r._lView===i.view&&(r=null)):o=CD(e,t.get(_s),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new ts(o)}var Wh=O(m({},_c),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=lo(!1);try{Mc(this)}finally{lo(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=C(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],C(e)}}}),vD=O(m({},Wh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(yn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),DD=O(m({},Wh),{consumerMarkedDirty(){this.view[M]|=8192,mr(this.view),this.notifier.notify(13)},destroy(){if(yn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[Vt]?.delete(this)}});function ED(e,n,t){let r=Object.create(DD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=qh(r,t),e[Vt]??=new Set,e[Vt].add(r),r.consumerMarkedDirty(r),r}function CD(e,n,t){let r=Object.create(vD);return r.fn=qh(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function qh(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function Oo(e){return{toString:e}.toString()}function MD(e){return typeof e=="function"}function Sp(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var Ls=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},Xt=(()=>{let e=()=>_p;return e.ngInherit=!0,e})();function _p(e){return e.type.prototype.ngOnChanges&&(e.setInput=RD),ND}function ND(){let e=Np(this),n=e?.current;if(n){let t=e.previous;if(t===Tn)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function RD(e,n,t,r,o){let i=this.declaredInputs[r],s=Np(e)||AD(e,{previous:Tn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Ls(u&&u.currentValue,t,c===Tn),Sp(e,n,o,t)}var Mp="__ngSimpleChanges__";function Np(e){return e[Mp]||null}function AD(e,n){return e[Mp]=n}var Zh=[];var B=function(e,n=null,t){for(let r=0;r<Zh.length;r++){let o=Zh[r];o(e,n,t)}},F=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(F||{});function xD(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=_p(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))}function Rp(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),u&&((e.viewHooks??=[]).push(t,u),(e.viewCheckHooks??=[]).push(t,u)),l!=null&&(e.destroyHooks??=[]).push(t,l)}}function xs(e,n,t){Ap(e,n,3,t)}function Os(e,n,t,r){(e[M]&3)===t&&Ap(e,n,t,r)}function Gu(e,n){let t=e[M];(t&3)===n&&(t&=16383,t+=1,e[M]=t)}function Ap(e,n,t,r){let o=r!==void 0?e[Mn]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[Mn]+=65536),(a<i||i==-1)&&(OD(e,t,n,c),e[Mn]=(e[Mn]&4294901760)+c+2),c++}function Yh(e,n){B(F.LifecycleHookStart,e,n);let t=C(null);try{n.call(e)}finally{C(t),B(F.LifecycleHookEnd,e,n)}}function OD(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[M]>>14<e[Mn]>>16&&(e[M]&3)===n&&(e[M]+=16384,Yh(a,i)):Yh(a,i)}var Er=-1,_o=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function kD(e){return(e.flags&8)!==0}function PD(e){return(e.flags&16)!==0}function FD(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];LD(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function xp(e){return e===3||e===4||e===6}function LD(e){return e.charCodeAt(0)===64}function ta(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?Qh(e,t,o,null,n[++r]):Qh(e,t,o,null,null))}}return e}function Qh(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function Op(e){return e!==Er}function js(e){return e&32767}function jD(e){return e>>16}function Us(e,n){let t=jD(e),r=n;for(;t>0;)r=r[_n],t--;return r}var Ju=!0;function Bs(e){let n=Ju;return Ju=e,n}var UD=256,kp=UD-1,Pp=5,BD=0,at={};function VD(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(bn)&&(r=t[bn]),r==null&&(r=t[bn]=BD++);let o=r&kp,i=1<<o;n.data[e+(o>>Pp)]|=i}function Fp(e,n){let t=Lp(e,n);if(t!==-1)return t;let r=n[I];r.firstCreatePass&&(e.injectorIndex=n.length,Wu(r.data,e),Wu(n,null),Wu(r.blueprint,null));let o=Ol(e,n),i=e.injectorIndex;if(Op(o)){let s=js(o),a=Us(o,n),c=a[I].data;for(let u=0;u<8;u++)n[i+u]=a[s+u]|c[s+u]}return n[i+8]=o,i}function Wu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Lp(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ol(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=Hp(o),r===null)return Er;if(t++,o=o[_n],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return Er}function HD(e,n,t){VD(e,n,t)}function $D(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(xp(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function jp(e,n,t){if(t&8||e!==void 0)return e;as(n,"NodeInjector")}function Up(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[vt],i=ye(void 0);try{return o?o.get(n,r,t&8):au(n,r,t&8)}finally{ye(i)}}return jp(r,n,t)}function Bp(e,n,t,r=0,o){if(e!==null){if(n[M]&2048&&!(r&2)){let s=qD(e,n,t,r,at);if(s!==at)return s}let i=Vp(e,n,t,r,at);if(i!==at)return i}return Up(n,t,r,o)}function Vp(e,n,t,r,o){let i=GD(t);if(typeof i=="function"){if(!Fu(n,e,r))return r&1?jp(o,t,r):Up(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))as(t);else return s}finally{Lu()}}else if(typeof i=="number"){let s=null,a=Lp(e,n),c=Er,u=r&1?n[De][ve]:null;for((a===-1||r&4)&&(c=a===-1?Ol(e,n):n[a+8],c===Er||!Jh(r,!1)?a=-1:(s=n[I],a=js(c),n=Us(c,n)));a!==-1;){let l=n[I];if(Kh(i,a,l.data)){let d=zD(a,n,t,s,r,u);if(d!==at)return d}c=n[a+8],c!==Er&&Jh(r,n[I].data[a+8]===u)&&Kh(i,a,n)?(s=l,a=js(c),n=Us(c,n)):a=-1}}return o}function zD(e,n,t,r,o,i){let s=n[I],a=s.data[e+8],c=r==null?Ct(a)&&Ju:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=ks(a,s,t,c,u);return l!==null?Vs(n,s,l,a,o):at}function ks(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,f=o?a+l:u;for(let h=d;h<f;h++){let g=s[h];if(h<c&&t===g||h>=c&&g.type===t)return h}if(o){let h=s[c];if(h&&Rn(h)&&h.type===t)return c}return null}function Vs(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof _o){let a=i;if(a.resolving)throw su("");let c=Bs(a.canSeeViewProviders);a.resolving=!0;let u=s[t].type||s[t],l,d=a.injectImpl?ye(a.injectImpl):null,f=Fu(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&xD(t,s[t],n)}finally{d!==null&&ye(d),Bs(c),a.resolving=!1,Lu()}}return i}function GD(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(bn)?e[bn]:void 0;return typeof n=="number"?n>=0?n&kp:WD:n}function Kh(e,n,t){let r=1<<e;return!!(t[n+(e>>Pp)]&r)}function Jh(e,n){return!(e&2)&&!(e&1&&n)}var xn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Bp(this._tNode,this._lView,n,wn(r),t)}};function WD(){return new xn(ce(),_())}function Tt(e){return Oo(()=>{let n=e.prototype.constructor,t=n[co]||Xu(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[co]||Xu(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Xu(e){return Kc(e)?()=>{let n=Xu(be(e));return n&&n()}:Bt(e)}function qD(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[M]&2048&&!gr(s);){let a=Vp(i,s,t,r|2,at);if(a!==at)return a;let c=i.parent;if(!c){let u=s[pu];if(u){let l=u.get(t,at,r&-5);if(l!==at)return l}c=Hp(s),s=s[_n]}i=c}return o}function Hp(e){let n=e[I],t=n.type;return t===2?n.declTNode:t===1?e[ve]:null}function ko(e){return $D(ce(),e)}function ZD(){return Sr(ce(),_())}function Sr(e,n){return new ut(Ze(e,n))}var ut=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=ZD}return e})();function YD(e){return e instanceof ut?e.nativeElement:e}function QD(){return this._results[Symbol.iterator]()}var Hs=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new H}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=ch(n);(this._changesDetected=!ah(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=QD};function $p(e){return(e.flags&128)===128}var kl=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(kl||{}),zp=new Map,KD=0;function JD(){return KD++}function XD(e){zp.set(e[Dt],e)}function el(e){zp.delete(e[Dt])}var Xh="__ngContext__";function Cr(e,n){Et(n)?(e[Xh]=n[Dt],XD(n)):e[Xh]=n}function Gp(e){return qp(e[hr])}function Wp(e){return qp(e[ke])}function qp(e){for(;e!==null&&!qe(e);)e=e[ke];return e}var eE;function Pl(e){eE=e}var na=new D("",{factory:()=>tE}),tE="ng";var ra=new D(""),Po=new D("",{providedIn:"platform",factory:()=>"unknown"});var Fo=new D("",{factory:()=>p(Q).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Zp="r";var Yp="di";var Qp=!1,Kp=new D("",{factory:()=>Qp});var ep=new WeakMap;function nE(e,n){if(e==null||typeof e!="object")return;let t=ep.get(e);t||(t=new WeakSet,ep.set(e,t)),t.add(n)}var rE=(e,n,t,r)=>{};function oE(e,n,t,r){rE(e,n,t,r)}function oa(e){return(e.flags&32)===32}var iE=()=>null;function Jp(e,n,t=!1){return iE(e,n,t)}function Xp(e,n){let t=e.contentQueries;if(t!==null){let r=C(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];Ds(i),a.contentQueries(2,n[s],s)}}}finally{C(r)}}}function tl(e,n,t){Ds(0);let r=C(null);try{n(e,t)}finally{C(r)}}function Fl(e,n,t){if(mu(n)){let r=C(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{C(r)}}}var Ke=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Ke||{});var Ms;function sE(){if(Ms===void 0&&(Ms=null,zt.trustedTypes))try{Ms=zt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ms}function ia(e){return sE()?.createHTML(e)||e}var Ns;function aE(){if(Ns===void 0&&(Ns=null,zt.trustedTypes))try{Ns=zt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ns}function tp(e){return aE()?.createScriptURL(e)||e}var bt=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ns})`}},nl=class extends bt{getTypeName(){return"HTML"}},rl=class extends bt{getTypeName(){return"Style"}}
vendor: 5,683 bytes, line 4
4,ol=class extends bt{getTypeName(){return"Script"}},il=class extends bt{getTypeName(){return"URL"}},sl=class extends bt{getTypeName(){return"ResourceURL"}};function Je(e){return e instanceof bt?e.changingThisBreaksApplicationSecurity:e}function St(e,n){let t=eg(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${ns})`)}return t===n}function eg(e){return e instanceof bt&&e.getTypeName()||null}function Ll(e){return new nl(e)}function jl(e){return new rl(e)}function Ul(e){return new ol(e)}function Bl(e){return new il(e)}function Vl(e){return new sl(e)}function cE(e){let n=new cl(e);return uE()?new al(n):n}var al=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(ia(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},cl=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=ia(n),t}};function uE(){try{return!!new window.DOMParser().parseFromString(ia(""),"text/html")}catch{return!1}}var lE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Lo(e){return e=String(e),e.match(lE)?e:"unsafe:"+e}function _t(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function jo(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var tg=_t("area,br,col,hr,img,wbr"),ng=_t("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rg=_t("rp,rt"),dE=jo(rg,ng),fE=jo(ng,_t("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),hE=jo(rg,_t("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),np=jo(tg,fE,hE,dE),og=_t("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),pE=_t("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),gE=_t("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),mE=jo(og,pE,gE),yE=_t("script,style,template");var ul=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=EE(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=DE(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=rp(n).toLowerCase();if(!np.hasOwnProperty(t))return this.sanitizedSomething=!0,!yE.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!mE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;og[a]&&(c=Lo(c)),this.buf.push(" ",s,'="',op(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=rp(n).toLowerCase();np.hasOwnProperty(t)&&!tg.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(op(n))}};function vE(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function DE(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw ig(n);return n}function EE(e){let n=e.firstChild;if(n&&vE(e,n))throw ig(n);return n}function rp(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function ig(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var CE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wE=/([^\#-~ |!])/g;function op(e){return e.replace(/&/g,"&").replace(CE,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(wE,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Rs;function Hl(e,n){let t=null;try{Rs=Rs||cE(e);let r=n?String(n):"";t=Rs.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=Rs.getInertBodyElement(r)}while(r!==i);let a=new ul().sanitizeChildren(ip(t)||t);return ia(a)}finally{if(t){let r=ip(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function ip(e){return"content"in e&&IE(e)?e.content:null}
vendor: 58,229 bytes, line 4
4function IE(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var bE=/^>|^->|<!--|-->|--!>|<!-$/g,TE=/(<|>)/g,SE="\u200B$1\u200B";function _E(e){return e.replace(bE,n=>n.replace(TE,SE))}function ME(e,n){return e.createText(n)}function NE(e,n,t){e.setValue(n,t)}function RE(e,n){return e.createComment(_E(n))}function sg(e,n,t){return e.createElement(n,t)}function $s(e,n,t,r,o){e.insertBefore(n,t,r,o)}function ag(e,n,t){e.appendChild(n,t)}function sp(e,n,t,r,o){r!==null?$s(e,n,t,r,o):ag(e,n,t)}function cg(e,n,t,r){e.removeChild(null,n,t,r)}function AE(e,n,t){e.setAttribute(n,"style",t)}function xE(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function ug(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&FD(e,n,r),o!==null&&xE(e,n,o),i!==null&&AE(e,n,i)}var Xe=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(Xe||{});function sa(e){let n=dg();return n?n.sanitize(Xe.URL,e)||"":St(e,"URL")?Je(e):Lo(mo(e))}function lg(e){let n=dg();if(n)return tp(n.sanitize(Xe.RESOURCE_URL,e)||"");if(St(e,"ResourceURL"))return tp(Je(e));throw new y(904,!1)}var OE={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function kE(e,n){return OE[e.toLowerCase()]?.[n.toLowerCase()]===!0?lg:sa}function $l(e,n,t){return kE(n,t)(e)}function dg(){let e=_();return e&&e[We].sanitizer}function PE(e){return e.ownerDocument.defaultView}function FE(e){return e.ownerDocument}function fg(e){return e instanceof Function?e():e}function LE(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var hg="ng-template";function jE(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&LE(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if(zl(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function zl(e){return e.type===4&&e.value!==hg}function UE(e,n,t){let r=e.type===4&&!t?hg:e.value;return n===r}function BE(e,n,t){let r=4,o=e.attrs,i=o!==null?$E(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!Ye(r)&&!Ye(c))return!1;if(s&&Ye(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!UE(e,c,t)||c===""&&n.length===1){if(Ye(r))return!1;s=!0}}else if(r&8){if(o===null||!jE(e,o,c,t)){if(Ye(r))return!1;s=!0}}else{let u=n[++a],l=VE(c,o,zl(e),t);if(l===-1){if(Ye(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ye(r))return!1;s=!0}}}}return Ye(r)||s}function Ye(e){return(e&1)===0}function VE(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return zE(n,e)}function pg(e,n,t=!1){for(let r=0;r<n.length;r++)if(BE(e,n[r],t))return!0;return!1}function HE(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function $E(e){for(let n=0;n<e.length;n++){let t=e[n];if(xp(t))return n}return e.length}function zE(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function GE(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function ap(e,n){return e?":not("+n.trim()+")":n}function WE(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ye(s)&&(n+=ap(i,o),o=""),r=s,i=i||!Ye(r);t++}return o!==""&&(n+=ap(i,o)),n}function qE(e){return e.map(WE).join(",")}function ZE(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!Ye(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var _e={};function Gl(e,n,t,r,o,i,s,a,c,u,l){let d=z+r,f=d+o,h=YE(d,f),g=typeof u=="function"?u():u;return h[I]={type:e,blueprint:h,template:t,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:g,incompleteFirstPass:!1,ssrId:l}}function YE(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:_e);return t}function QE(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=Gl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Wl(e,n,t,r,o,i,s,a,c,u,l){let d=n.blueprint.slice();return d[Ge]=o,d[M]=r|4|128|8|64|1024,(u!==null||e&&e[M]&2048)&&(d[M]|=2048),Cu(d),d[ee]=d[_n]=e,d[J]=t,d[We]=s||e&&e[We],d[$]=a||e&&e[$],d[vt]=c||e&&e[vt]||null,d[ve]=i,d[Dt]=JD(),d[Sn]=l,d[pu]=u,d[De]=n.type==2?e[De]:d,d}function KE(e,n,t){let r=Ze(n,e),o=QE(t),i=e[We].rendererFactory,s=ql(e,Wl(e,o,null,gg(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function gg(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function mg(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function ql(e,n){return e[hr]?e[hu][ke]=n:e[hr]=n,e[hu]=n,n}function Ln(e=1){yg(X(),_(),wt()+e,!1)}function yg(e,n,t,r){if(!r)if((n[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&xs(n,i,t)}else{let i=e.preOrderHooks;i!==null&&Os(n,i,0,t)}Kt(t)}var aa=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(aa||{});function ll(e,n,t,r){let o=C(null);try{let[i,s,a]=e.inputs[t],c=null;(s&aa.SignalBased)!==0&&(c=n[i][ie]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):Sp(n,c,i,r)}finally{C(o)}}var ct=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(ct||{}),JE;function Zl(e,n){return JE(e,n)}var kO=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var dl=new WeakMap,bo=new WeakSet;function XE(e,n){let t=dl.get(e);if(!t||t.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=t.length-1;i>=0;i--){let s=t[i],a=s.parentNode;s===n?(t.splice(i,1),bo.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(t.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function eC(e,n){let t=dl.get(e);t?t.includes(n)||t.push(n):dl.set(e,[n])}var On=new Set,Yl=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Yl||{}),en=new D(""),cp=new Set;function jn(e){cp.has(e)||(cp.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var vg=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})();var Dg=new D("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:p(q)})});function Eg(e,n,t){let r=e.get(Dg);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function tC(e,n){let t=e.get(Dg);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function nC(e,n){for(let[t,r]of n)Eg(e,r.animateFns)}function up(e,n,t,r){let o=e?.[Zt]?.enter;n!==null&&o&&o.has(t.index)&&nC(r,o)}function Dr(e,n,t,r,o,i,s,a){if(o!=null){let c,u=!1;qe(o)?c=o:Et(o)&&(u=!0,o=o[Ge]);let l=Pe(o);e===0&&r!==null?(up(a,r,i,t),s==null?ag(n,r,l):$s(n,r,l,s||null,!0)):e===1&&r!==null?(up(a,r,i,t),$s(n,r,l,s||null,!0),XE(i,l)):e===2?(a?.[Zt]?.leave?.has(i.index)&&eC(i,l),bo.delete(l),lp(a,i,t,d=>{if(bo.has(l)){bo.delete(l);return}cg(n,l,u,d)})):e===3&&(bo.delete(l),lp(a,i,t,()=>{n.destroyNode(l)})),c!=null&&hC(n,e,t,c,i,r,s)}}function rC(e,n){Cg(e,n),n[Ge]=null,n[ve]=null}function oC(e,n,t,r,o,i){r[Ge]=o,r[ve]=n,ua(e,r,t,1,o,i)}function Cg(e,n){n[We].changeDetectionScheduler?.notify(9),ua(e,n,n[$],2,null,null)}function iC(e){let n=e[hr];if(!n)return qu(e[I],e);for(;n;){let t=null;if(Et(n))t=n[hr];else{let r=n[Y];r&&(t=r)}if(!t){for(;n&&!n[ke]&&n!==e;)Et(n)&&qu(n[I],n),n=n[ee];n===null&&(n=e),Et(n)&&qu(n[I],n),t=n&&n[ke]}n=t}}function Ql(e,n){let t=e[Nn],r=t.indexOf(n);t.splice(r,1)}function ca(e,n){if(An(n))return;let t=n[$];t.destroyNode&&ua(e,n,t,3,null,null),iC(n)}function qu(e,n){if(An(n))return;let t=C(null);try{n[M]&=-129,n[M]|=256,n[Me]&&yn(n[Me]),cC(e,n),aC(e,n),n[I].type===1&&n[$].destroy();let r=n[qt];if(r!==null&&qe(n[ee])){r!==n[ee]&&Ql(r,n);let o=n[st];o!==null&&o.detachView(e)}el(n)}finally{C(t)}}function lp(e,n,t,r){let o=e?.[Zt];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&On.add(e[Dt]),Eg(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),sC(e,r)}else e&&On.delete(e[Dt]),r(!1)},o)}function sC(e,n){let t=e[Zt]?.running;if(t){t.then(()=>{e[Zt].running=void 0,On.delete(e[Dt]),n(!0)});return}n(!1)}function aC(e,n){let t=e.cleanup,r=n[fr];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[fr]=null);let o=n[mt];if(o!==null){n[mt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[Vt];if(i!==null){n[Vt]=null;for(let s of i)s.destroy()}}function cC(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof _o)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];B(F.LifecycleHookStart,a,c);try{c.call(a)}finally{B(F.LifecycleHookEnd,a,c)}}else{B(F.LifecycleHookStart,o,i);try{i.call(o)}finally{B(F.LifecycleHookEnd,o,i)}}}}}function wg(e,n,t){return uC(e,n.parent,t)}function uC(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[Ge];if(Ct(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ke.None||o===Ke.Emulated)return null}return Ze(r,t)}function Ig(e,n,t){return dC(e,n,t)}function lC(e,n,t){return e.type&40?Ze(e,t):null}var dC=lC,dp;function Kl(e,n,t,r){let o=wg(e,r,n),i=n[$],s=r.parent||n[ve],a=Ig(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)sp(i,o,t[c],a,!1);else sp(i,o,t,a,!1);dp!==void 0&&dp(i,r,n,t,o)}function To(e,n){if(n!==null){let t=n.type;if(t&3)return Ze(n,e);if(t&4)return fl(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return To(e,r);{let o=e[n.index];return qe(o)?fl(-1,o):Pe(o)}}else{if(t&128)return To(e,n.next);if(t&32)return Zl(n,e)()||Pe(e[n.index]);{let r=bg(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=Ht(e[De]);return To(o,r)}else return To(e,n.next)}}}return null}function bg(e,n){if(n!==null){let r=e[De][ve],o=n.projection;return r.projection[o]}return null}function fl(e,n){let t=Y+e+1;if(t<n.length){let r=n[t],o=r[I].firstChild;if(o!==null)return To(r,o)}return n[Yt]}function Jl(e,n,t,r,o,i,s){for(;t!=null;){let a=r[vt];if(t.type===128){t=t.next;continue}let c=r[t.index],u=t.type;if(s&&n===0&&(c&&Cr(Pe(c),r),t.flags|=2),!oa(t))if(u&8)Jl(e,n,t.child,r,o,i,!1),Dr(n,e,a,o,c,t,i,r);else if(u&32){let l=Zl(t,r),d;for(;d=l();)Dr(n,e,a,o,d,t,i,r);Dr(n,e,a,o,c,t,i,r)}else u&16?Tg(e,n,r,t,o,i):Dr(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function ua(e,n,t,r,o,i){Jl(t,r,e.firstChild,n,o,i,!1)}function fC(e,n,t){let r=n[$],o=wg(e,t,n),i=t.parent||n[ve],s=Ig(i,t,n);Tg(r,0,n,t,o,s)}function Tg(e,n,t,r,o,i){let s=t[De],c=s[ve].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Dr(n,e,t[vt],o,l,r,i,t)}else{let u=c,l=s[ee];$p(r)&&(u.flags|=128),Jl(e,n,u,l,o,i,!0)}}function hC(e,n,t,r,o,i,s){let a=r[Yt],c=Pe(r);a!==c&&Dr(n,e,t,i,a,o,s);for(let u=Y;u<r.length;u++){let l=r[u];ua(l[I],l,e,n,i,a)}}function pC(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:ct.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ct.Important),e.setStyle(t,r,o,i))}}function Sg(e,n,t,r,o){let i=wt(),s=r&2;try{Kt(-1),s&&n.length>z&&yg(e,n,z,!1);let a=s?F.TemplateUpdateStart:F.TemplateCreateStart;B(a,o,t),t(r,o)}finally{Kt(i);let a=s?F.TemplateUpdateEnd:F.TemplateCreateEnd;B(a,o,t)}}function la(e,n,t){CC(e,n,t),(t.flags&64)===64&&wC(e,n,t)}function Uo(e,n,t=Ze){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function gC(e,n,t,r){let i=r.get(Kp,Qp)||t===Ke.ShadowDom||t===Ke.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);if(s.tagName.toLowerCase()==="script")throw new y(905,!1);return mC(s),s}function mC(e){yC(e)}var yC=()=>null;function vC(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function DC(e,n,t,r,o,i){let s=n[I];if(nd(e,s,n,t,r)){Ct(e)&&EC(n,e.index);return}e.type&3&&(t=vC(t)),_g(e,n,t,r,o,i)}function _g(e,n,t,r,o,i){if(e.type&3){let s=Ze(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function EC(e,n){let t=Fe(n,e);t[M]&16||(t[M]|=64)}function CC(e,n,t){let r=t.directiveStart,o=t.directiveEnd;Ct(t)&&KE(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||Fp(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Vs(n,e,s,t);if(Cr(c,n),i!==null&&SC(n,s-r,c,a,t,i),Rn(a)){let u=Fe(t.index,n);u[J]=Vs(n,e,s,t)}}}function wC(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=Oh();try{Kt(i);for(let a=r;a<o;a++){let c=e.data[a],u=n[a];vs(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&IC(c,u)}}finally{Kt(-1),vs(s)}}function IC(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Xl(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];pg(n,i.selectors,!1)&&(r??=[],Rn(i)?r.unshift(i):r.push(i))}return r}function bC(e,n,t,r,o,i){let s=Ze(e,n);TC(n[$],s,i,e.value,t,r,o)}function TC(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?mo(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function SC(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];ll(r,t,c,u)}}function ed(e,n,t,r,o){let i=z+t,s=n[I],a=o(s,n,e,r,t);n[i]=a,yr(e,!0);let c=e.type===2;return c?(ug(n[$],a,e),(bh()===0||pr(e))&&Cr(a,n),Th()):Cr(a,n),bs()&&(!c||!oa(e))&&Kl(s,n,a,e),e}function td(e){let n=e;return Au()?xu():(n=n.parent,yr(n,!1)),n}function _C(e,n){let t=e[vt];if(!t)return;let r;try{r=t.get(Ne,null)}catch{r=null}r?.(n)}function nd(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=n.data[u];ll(d,t[u],l,o),a=!0}if(i)for(let c of i){let u=t[c],l=n.data[c];ll(l,u,r,o),a=!0}return a}function MC(e,n){let t=Fe(n,e),r=t[I];NC(r,t);let o=t[Ge];o!==null&&t[Sn]===null&&(t[Sn]=Jp(o,t[vt])),B(F.ComponentStart);try{rd(r,t,t[J])}finally{B(F.ComponentEnd,t[J])}}function NC(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function rd(e,n,t){Es(n);try{let r=e.viewQuery;r!==null&&tl(1,r,t);let o=e.template;o!==null&&Sg(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[st]?.finishViewCreation(e),e.staticContentQueries&&Xp(e,n),e.staticViewQueries&&tl(2,e.viewQuery,t);let i=e.components;i!==null&&RC(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[M]&=-5,Cs()}}function RC(e,n){for(let t=0;t<n.length;t++)MC(e,n[t])}function Bo(e,n,t,r){let o=C(null);try{let i=n.tView,a=e[M]&4096?4096:16,c=Wl(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[n.index];c[qt]=u;let l=e[st];return l!==null&&(c[st]=l.createEmbeddedView(i)),rd(i,c,t),c}finally{C(o)}}function wr(e,n){return!n||n.firstChild===null||$p(e)}function Mo(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(Pe(i)),qe(i)&&Mg(i,r);let s=t.type;if(s&8)Mo(e,n,t.child,r);else if(s&32){let a=Zl(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=bg(n,t);if(Array.isArray(a))r.push(...a);else{let c=Ht(n[De]);Mo(c[I],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Mg(e,n){for(let t=Y;t<e.length;t++){let r=e[t],o=r[I].firstChild;o!==null&&Mo(r[I],r,o,n)}e[Yt]!==e[Ge]&&n.push(e[Yt])}function Ng(e){if(e[fs]!==null){for(let n of e[fs])n.impl.addSequence(n);e[fs].length=0}}var Rg=[];function AC(e){return e[Me]??xC(e)}function xC(e){let n=Rg.pop()??Object.create(kC);return n.lView=e,n}function OC(e){e.lView[Me]!==e&&(e.lView=null,Rg.push(e))}var kC=O(m({},Ft),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{mr(e.lView)},consumerOnSignalRead(){this.lView[Me]=this}});function PC(e){let n=e[Me]??Object.create(FC);return n.lView=e,n}var FC=O(m({},Ft),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Ht(e.lView);for(;n&&!Ag(n[I]);)n=Ht(n);n&&wu(n)},consumerOnSignalRead(){this.lView[Me]=this}});function Ag(e){return e.type!==2}function xg(e){if(e[Vt]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[Vt])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[M]&8192)}}var LC=100;function Og(e,n=0){let r=e[We].rendererFactory,o=!1;o||r.begin?.();try{jC(e,n)}finally{o||r.end?.()}}function jC(e,n){let t=Ou();try{lo(!0),hl(e,n);let r=0;for(;Co(e);){if(r===LC)throw new y(103,!1);r++,hl(e,1)}}finally{lo(t)}}function UC(e,n,t,r){if(An(n))return;let o=n[M],i=!1,s=!1;Es(n);let a=!0,c=null,u=null;i||(Ag(e)?(u=AC(n),c=Lt(u)):Ti()===null?(a=!1,u=PC(n),c=Lt(u)):n[Me]&&(yn(n[Me]),n[Me]=null));try{Cu(n),Rh(e.bindingStartIndex),t!==null&&Sg(e,n,t,2,r);let l=(o&3)===3;if(!i)if(l){let h=e.preOrderCheckHooks;h!==null&&xs(n,h,null)}else{let h=e.preOrderHooks;h!==null&&Os(n,h,0,null),Gu(n,0)}if(s||BC(n),xg(n),kg(n,0),e.contentQueries!==null&&Xp(e,n),!i)if(l){let h=e.contentCheckHooks;h!==null&&xs(n,h)}else{let h=e.contentHooks;h!==null&&Os(n,h,1),Gu(n,1)}HC(e,n);let d=e.components;d!==null&&Fg(n,d,0);let f=e.viewQuery;if(f!==null&&tl(2,f,r),!i)if(l){let h=e.viewCheckHooks;h!==null&&xs(n,h)}else{let h=e.viewHooks;h!==null&&Os(n,h,2),Gu(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[ds]){for(let h of n[ds])h();n[ds]=null}i||(Ng(n),n[M]&=-73)}catch(l){throw i||mr(n),l}finally{u!==null&&(mn(u,c),a&&OC(u)),Cs()}}function kg(e,n){for(let t=Gp(e);t!==null;t=Wp(t))for(let r=Y;r<t.length;r++){let o=t[r];Pg(o,n)}}function BC(e){for(let n=Gp(e);n!==null;n=Wp(n)){if(!(n[M]&2))continue;let t=n[Nn];for(let r=0;r<t.length;r++){let o=t[r];wu(o)}}}function VC(e,n,t){B(F.ComponentStart);let r=Fe(n,e);try{Pg(r,t)}finally{B(F.ComponentEnd,r[J])}}function Pg(e,n){ps(e)&&hl(e,n)}function hl(e,n){let r=e[I],o=e[M],i=e[Me],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&no(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)UC(r,e,r.template,e[J]);else if(o&8192){let a=C(null);try{xg(e),kg(e,1);let c=r.components;c!==null&&Fg(e,c,1),Ng(e)}finally{C(a)}}}function Fg(e,n,t){for(let r=0;r<n.length;r++)VC(e,n[r],t)}function HC(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)Kt(~o);else{let i=o,s=t[++r],a=t[++r];xh(s,i);let c=n[i];B(F.HostBindingsUpdateStart,c);try{a(2,c)}finally{B(F.HostBindingsUpdateEnd,c)}}}}finally{Kt(-1)}}function od(e,n){let t=Ou()?64:1088;for(e[We].changeDetectionScheduler?.notify(n);e;){e[M]|=t;let r=Ht(e);if(gr(e)&&!r)return e;e=r}return null}function Lg(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function jg(e,n){let t=Y+n;if(t<e.length)return e[t]}function Vo(e,n,t,r=!0){let o=n[I];if($C(o,n,e,t),r){let s=fl(t,e),a=n[$],c=a.parentNode(e[Yt]);c!==null&&oC(o,e[ve],a,n,c,s)}let i=n[Sn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Ug(e,n){let t=No(e,n);return t!==void 0&&ca(t[I],t),t}function No(e,n){if(e.length<=Y)return;let t=Y+n,r=e[t];if(r){let o=r[qt];o!==null&&o!==e&&Ql(o,r),n>0&&(e[t-1][ke]=r[ke]);let i=yo(e,Y+n);rC(r[I],r);let s=i[st];s!==null&&s.detachView(i[I]),r[ee]=null,r[ke]=null,r[M]&=-129}return r}function $C(e,n,t,r){let o=Y+r,i=t.length;r>0&&(t[o-1][ke]=n),r<i-Y?(n[ke]=t[o],cu(t,Y+r,n)):(t.push(n),n[ke]=null),n[ee]=t;let s=n[qt];s!==null&&t!==s&&Bg(s,n);let a=n[st];a!==null&&a.insertView(e),gs(n),n[M]|=128}function Bg(e,n){let t=e[Nn],r=n[ee];if(Et(r))e[M]|=2;else{let o=r[ee][De];n[De]!==o&&(e[M]|=2)}t===null?e[Nn]=[n]:t.push(n)}var Jt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[I];return Mo(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[J]}set context(n){this._lView[J]=n}get destroyed(){return An(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ee];if(qe(n)){let t=n[Eo],r=t?t.indexOf(this):-1;r>-1&&(No(n,r),yo(t,r))}this._attachedToViewContainer=!1}ca(this._lView[I],this._lView)}onDestroy(n){Iu(this._lView,n)}markForCheck(){od(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){gs(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Og(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=gr(this._lView),t=this._lView[qt];t!==null&&!n&&Ql(t,this._lView),Cg(this._lView[I],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=n;let t=gr(this._lView),r=this._lView[qt];r!==null&&!t&&Bg(r,this._lView),gs(this._lView)}};var Ir=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=zC;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=Bo(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new Jt(i)}}return e})();function zC(){return da(ce(),_())}function da(e,n){return e.type&4?new Ir(n,e,Sr(e,n)):null}function _r(e,n,t,r,o){let i=e.data[n];if(i===null)i=GC(e,n,t,r,o),Ah()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=Mh();i.injectorIndex=s===null?-1:s.injectorIndex}return yr(i,!0),i}function GC(e,n,t,r,o){let i=Ru(),s=Au(),a=s?i:i&&i.parent,c=e.data[n]=qC(e,a,t,n,r,o);return WC(e,c,i,s),c}function WC(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function qC(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return _u()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:ju(),attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex: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}}function ZC(e){let n=e[gu]??[],r=e[ee][$],o=[];for(let i of n)i.data[Yp]!==void 0?o.push(i):YC(i,r);e[gu]=o}function YC(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[Zp];for(;t<o;){let i=r.nextSibling;cg(n,r,!1),r=i,t++}}}var QC=()=>null,KC=()=>null;function zs(e,n){return QC(e,n)}function Vg(e,n,t){return KC(e,n,t)}var Hg=class{},fa=class{},pl=class{resolveComponentFactory(n){throw new y(917,!1)}},Ho=class{static NULL=new pl},kn=class{},$o=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>JC()}return e})();function JC(){let e=_(),n=ce(),t=Fe(n.index,e);return(Et(t)?t:e)[$]}var $g=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>null})}return e})();var Ps={},gl=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,Ps,r);return o!==Ps||t===Ps?o:this.parentInjector.get(n,t,r)}};function Gs(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=rs(o,a);else if(i==2){let c=a,u=n[++s];r=rs(r,c+": "+u+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function Ee(e,n=0){let t=_();if(t===null)return T(e,n);let r=ce();return Bp(r,t,be(e),n)}function zg(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}tw(e,n,t,a,i,c,u)}i!==null&&r!==null&&XC(t,r,i)}function XC(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new y(-301,!1);r.push(n[o],i)}}function ew(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function tw(e,n,t,r,o,i,s){let a=r.length,c=null;for(let f=0;f<a;f++){let h=r[f];c===null&&Rn(h)&&(c=h,ew(e,t,f)),HD(Fp(t,n),e,h.type)}aw(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let f=0;f<a;f++){let h=r[f];h.providersResolver&&h.providersResolver(h)}let u=!1,l=!1,d=mg(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let f=0;f<a;f++){let h=r[f];if(t.mergedAttrs=ta(t.mergedAttrs,h.hostAttrs),rw(e,t,n,d,h),sw(d,h,o),s!==null&&s.has(h)){let[w,E]=s.get(h);t.directiveToIndex.set(h.type,[d,w+t.directiveStart,E+t.directiveStart])}else(i===null||!i.has(h))&&t.directiveToIndex.set(h.type,d);h.contentQueries!==null&&(t.flags|=4),(h.hostBindings!==null||h.hostAttrs!==null||h.hostVars!==0)&&(t.flags|=64);let g=h.type.prototype;!u&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),u=!0),!l&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),l=!0),d++}nw(e,t,i)}function nw(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))fp(0,n,o,r),fp(1,n,o,r),pp(n,r,!1);else{let i=t.get(o);hp(0,n,i,r),hp(1,n,i,r),pp(n,r,!0)}}}function fp(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),Gg(n,i)}}function hp(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Gg(n,s)}}function Gg(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function pp(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||zl(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===n){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function rw(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Bt(o.type,!0)),s=new _o(i,Rn(o),Ee,null);e.blueprint[r]=s,t[r]=s,ow(e,n,r,mg(e,t,o.hostVars,_e),o)}function ow(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;iw(s)!=a&&s.push(a),s.push(t,r,i)}}function iw(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function sw(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;Rn(n)&&(t[""]=e)}}function aw(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function id(e,n,t,r,o,i,s,a){let c=n[I],u=c.consts,l=Le(u,s),d=_r(c,e,t,r,l);return i&&zg(c,n,d,Le(u,a),o),d.mergedAttrs=ta(d.mergedAttrs,d.attrs),d.attrs!==null&&Gs(d,d.attrs,!1),d.mergedAttrs!==null&&Gs(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function sd(e,n){Rp(e,n),mu(n)&&e.queries.elementEnd(n)}function cw(e,n,t,r,o,i){let s=n.consts,a=Le(s,o),c=_r(n,e,t,r,a);if(c.mergedAttrs=ta(c.mergedAttrs,c.attrs),i!=null){let u=Le(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&Gs(c,c.attrs,!1),c.mergedAttrs!==null&&Gs(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function Wg(e,n,t){return e[n]=t}function uw(e,n){return e[n]}function lt(e,n,t){if(t===_e)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function Fs(e,n,t){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&nE(o,i);let s=Ct(e)?Fe(e.index,n):n;od(s,5);let a=n[J],c=gp(n,a,t,o),u=r.__ngNextListenerFn__;for(;u;)c=gp(n,a,u,o)&&c,u=u.__ngNextListenerFn__;return c}}function gp(e,n,t,r){let o=C(null);try{return B(F.OutputStart,n,t),t(r)!==!1}catch(i){return _C(e,i),!1}finally{B(F.OutputEnd,n,t),C(o)}}function qg(e,n,t,r,o,i,s,a){let c=pr(e),u=!1,l=null;if(!r&&c&&(l=dw(n,t,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=Ze(e,t),f=r?r(d):d;oE(t,f,i,a),r||(a.__ngNativeEl__=d);let h=o.listen(f,i,a);if(!lw(i)){let g=r?w=>r(Pe(w[e.index])):e.index;Zg(g,n,t,i,a,h,!1)}}return u}function lw(e){return e.startsWith("animation")||e.startsWith("transition")}function dw(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[fr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Zg(e,n,t,r,o,i,s){let a=n.firstCreatePass?Tu(n):null,c=bu(t),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function mp(e,n,t,r,o,i){let s=n[t],a=n[I],u=a.data[t].outputs[r],d=s[u].subscribe(i);Zg(e.index,a,n,o,i,d,!0)}var ml=Symbol("BINDING");function Yg(e){return e.debugInfo?.className||e.type.name||null}var Ws=class extends Ho{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=Gt(n);return new br(t,this.ngModule)}};function fw(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&aa.SignalBased)!==0};return o&&(i.transform=o),i})}function hw(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function pw(e,n,t){let r=n instanceof q?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new gl(t,r):t}function gw(e){let n=e.get(kn,null);if(n===null)throw new y(407,!1);let t=e.get($g,null),r=e.get($t,null),o=e.get(en,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function mw(e,n){let t=Qg(e);return sg(n,t,t==="svg"?yu:t==="math"?vh:null)}function Qg(e){return(e.selectors[0][0]||"div").toLowerCase()}var br=class extends fa{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=fw(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=hw(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=qE(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){B(F.DynamicComponentStart);let a=C(null);try{let c=this.componentDef,u=pw(c,o||this.ngModule,n),l=gw(u),d=l.tracingService;return d&&d.componentCreate?d.componentCreate(Yg(c),()=>this.createComponentRef(l,u,t,r,i,s)):this.createComponentRef(l,u,t,r,i,s)}finally{C(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=yw(o,a,s,i),u=n.rendererFactory.createRenderer(null,a),l=o?gC(u,o,a.encapsulation,t):mw(a,u),d=s?.some(yp)||i?.some(g=>typeof g!="function"&&g.bindings.some(yp)),f=Wl(null,c,null,512|gg(a),null,null,n,u,t,null,Jp(l,t,!0));f[z]=l,Es(f);let h=null;try{let g=id(z,f,2,"#host",()=>c.directiveRegistry,!0,0);ug(u,l,g),Cr(l,f),la(c,f,g),Fl(c,g,f),sd(c,g),r!==void 0&&Dw(g,this.ngContentSelectors,r),h=Fe(g.index,f),f[J]=h[J],rd(c,f,null)}catch(g){throw h!==null&&el(h),el(f),g}finally{B(F.DynamicComponentEnd),Cs()}return new qs(this.componentType,f,!!d)}};function yw(e,n,t,r){let o=e?["ng-version","21.2.14"]:ZE(n.selectors[0]),i=null,s=null,a=0;if(t)for(let l of t)a+=l[ml].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let f of d.bindings){a+=f[ml].requiredVars;let h=l+1;f.create&&(f.targetIdx=h,(i??=[]).push(f)),f.update&&(f.targetIdx=h,(s??=[]).push(f))}}let c=[n];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,f=iu(d);c.push(f)}return Gl(0,null,vw(i,s),1,a,c,null,null,null,[o],null)}function vw(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function yp(e){let n=e[ml].kind;return n==="input"||n==="twoWay"}var qs=class extends Hg{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=hs(t[I],z),this.location=Sr(this._tNode,t),this.instance=Fe(this._tNode.index,t)[J],this.hostView=this.changeDetectorRef=new Jt(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=nd(r,o[I],o,n,t);this.previousInputValues.set(n,t);let s=Fe(r.index,o);od(s,1)}get injector(){return new xn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function Dw(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var tn=(()=>{class e{static __NG_ELEMENT_ID__=Ew}return e})();function Ew(){let e=ce();return Kg(e,_())}var yl=class e extends tn{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return Sr(this._hostTNode,this._hostLView)}get injector(){return new xn(this._hostTNode,this._hostLView)}get parentInjector(){let n=Ol(this._hostTNode,this._hostLView);if(Op(n)){let t=Us(n,this._hostLView),r=js(n),o=t[I].data[r+8];return new xn(o,t)}else return new xn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=vp(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Y}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=zs(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,wr(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!MD(n),u;if(c)u=t;else{let E=t||{};u=E.index,r=E.injector,o=E.projectableNodes,i=E.environmentInjector||E.ngModuleRef,s=E.directives,a=E.bindings}let l=c?n:new br(Gt(n)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let b=(c?d:this.parentInjector).get(q,null);b&&(i=b)}let f=Gt(l.componentType??{}),h=zs(this._lContainer,f?.id??null),g=h?.firstChild??null,w=l.create(d,o,g,i,s,a);return this.insertImpl(w.hostView,u,wr(this._hostTNode,h)),w}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(Eh(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[ee],u=new e(c,c[ve],c[ee]);u.detach(u.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return Vo(s,o,i,r),n.attachToViewContainerRef(),cu(Zu(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=vp(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=No(this._lContainer,t);r&&(yo(Zu(this._lContainer),t),ca(r[I],r))}detach(n){let t=this._adjustIndex(n,-1),r=No(this._lContainer,t);return r&&yo(Zu(this._lContainer),t)!=null?new Jt(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function vp(e){return e[Eo]}function Zu(e){return e[Eo]||(e[Eo]=[])}function Kg(e,n){let t,r=n[e.index];return qe(r)?t=r:(t=Lg(r,n,null,e),n[e.index]=t,ql(n,t)),ww(t,n,e,r),new yl(t,e,n)}function Cw(e,n){let t=e[$],r=t.createComment(""),o=Ze(n,e),i=t.parentNode(o);return $s(t,i,r,t.nextSibling(o),!1),r}var ww=Tw,Iw=()=>!1;function bw(e,n,t){return Iw(e,n,t)}function Tw(e,n,t,r){if(e[Yt])return;let o;t.type&8?o=Pe(r):o=Cw(n,t),e[Yt]=o}var vl=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Dl=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)ad(n,t).matches!==null&&this.queries[t].setDirty()}},El=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=Ow(n):this.predicate=n}},Cl=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},wl=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,Sw(t,i)),this.matchTNodeWithReadOption(n,t,ks(t,n,i,!1,!1))}else r===Ir?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,ks(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===ut||o===tn||o===Ir&&t.type&4)this.addMatch(t.index,-2);else{let i=ks(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function Sw(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function _w(e,n){return e.type&11?Sr(e,n):e.type&4?da(e,n):null}function Mw(e,n,t,r){return t===-1?_w(n,e):t===-2?Nw(e,n,r):Vs(e,e[I],t,n)}function Nw(e,n,t){if(t===ut)return Sr(n,e);if(t===Ir)return da(n,e);if(t===tn)return Kg(n,e)}function Jg(e,n,t,r){let o=n[st].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(Mw(n,l,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function Il(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=Jg(e,n,o,t);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=n[-c];for(let d=Y;d<l.length;d++){let f=l[d];f[qt]===f[ee]&&Il(f[I],f,u,r)}if(l[Nn]!==null){let d=l[Nn];for(let f=0;f<d.length;f++){let h=d[f];Il(h[I],h,u,r)}}}}}return r}function Rw(e,n){return e[st].queries[n].queryList}function Aw(e,n,t){let r=new Hs((t&4)===4);return Ih(e,n,r,r.destroy),(n[st]??=new Dl).queries.push(new vl(r))-1}function xw(e,n,t,r){let o=X();if(o.firstCreatePass){let i=ce();kw(o,new El(n,t,r),i.index),Pw(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return Aw(o,_(),t)}function Ow(e){return e.split(",").map(n=>n.trim())}function kw(e,n,t){e.queries===null&&(e.queries=new Cl),e.queries.track(new wl(n,t))}function Pw(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function ad(e,n){return e.queries.getByIndex(n)}function Fw(e,n){let t=e[I],r=ad(t,n);return r.crossesNgTemplate?Il(t,e,n,[]):Jg(t,e,r,n)}var Pn=class{},ha=class{};var Zs=class extends Pn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Ws(this);constructor(n,t,r,o=!0){super(),this.ngModuleType=n,this._parent=t;let i=ou(n);this._bootstrapComponents=fg(i.bootstrap),this._r3Injector=Uu(n,t,[{provide:Pn,useValue:this},{provide:Ho,useValue:this.componentFactoryResolver},...r],po(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},Ys=class extends ha{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new Zs(this.moduleType,n,[])}};var Ro=class extends Pn{injector;componentFactoryResolver=new Ws(this);instance=null;constructor(n){super();let t=new In([...n.providers,{provide:Pn,useValue:this},{provide:Ho,useValue:this.componentFactoryResolver}],n.parent||Do(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function zo(e,n,t=null){return new Ro({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var Lw=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=du(!1,t.type),o=r.length>0?zo([r],this._injector,""):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:e,providedIn:"environment",factory:()=>new e(T(q))})}return e})();function Un(e){return Oo(()=>{let n=Xg(e),t=O(m({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===kl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(Lw).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ke.Emulated,styles:e.styles||Te,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&jn("NgStandalone"),em(t);let r=e.dependencies;return t.directiveDefs=Dp(r,jw),t.pipeDefs=Dp(r,rh),t.id=Vw(t),t})}function jw(e){return Gt(e)||iu(e)}function Mt(e){return Oo(()=>({type:e.type,bootstrap:e.bootstrap||Te,declarations:e.declarations||Te,imports:e.imports||Te,exports:e.exports||Te,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Uw(e,n){if(e==null)return Tn;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=aa.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function Bw(e){if(e==null)return Tn;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function Nt(e){return Oo(()=>{let n=Xg(e);return em(n),n})}function pa(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Xg(e){let n={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||Tn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Te,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:Uw(e.inputs,n),outputs:Bw(e.outputs),debugInfo:null}}function em(e){e.features?.forEach(n=>n(e))}function Dp(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function Vw(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,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];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function tm(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=ta(e.mergedAttrs,e.attrs);let l=e.tView=Gl(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),l.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),yr(e,!1);let c=$w(t,n,e,r);bs()&&Kl(t,n,c,e),Cr(c,n);let u=Lg(c,n,c,e);n[r+z]=u,ql(n,u),bw(u,e,n)}function Hw(e,n,t,r,o,i,s,a,c,u,l){let d=t+z,f;return n.firstCreatePass?(f=_r(n,d,4,s||null,a||null),ms()&&zg(n,e,f,Le(n.consts,u),Xl),Rp(n,f)):f=n.data[d],tm(f,e,n,t,r,o,i,c),pr(f)&&la(n,e,f),u!=null&&Uo(e,f,l),f}function Ao(e,n,t,r,o,i,s,a,c,u,l){let d=t+z,f;if(n.firstCreatePass){if(f=_r(n,d,4,s||null,a||null),u!=null){let h=Le(n.consts,u);f.localNames=[];for(let g=0;g<h.length;g+=2)f.localNames.push(h[g],-1)}}else f=n.data[d];return tm(f,e,n,t,r,o,i,c),u!=null&&Uo(e,f,l),f}function nm(e,n,t,r,o,i,s,a){let c=_(),u=X(),l=Le(u.consts,i);return Hw(c,u,e,n,t,r,o,l,void 0,s,a),nm}var $w=zw;function zw(e,n,t,r){return wo(!0),n[$].createComment("")}var ga=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var cd=new D("");function Mr(e){return!!e&&typeof e.then=="function"}function ud(e){return!!e&&typeof e.subscribe=="function"}var rm=new D("");var ld=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=p(rm,{optional:!0})??[];injector=p(he);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=ne(this.injector,o);if(Mr(i))t.push(i);else if(ud(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ma=new D("");function om(){Tc(()=>{let e="";throw new y(600,e)})}function im(e){return e.isBoundToModule}var Gw=10;var Bn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Ne);afterRenderManager=p(vg);zonelessEnabled=p(Io);rootEffectScheduler=p(_s);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new H;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(It);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(P(t=>!t))}constructor(){p(en,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=p(q);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=he.NULL){return this._injector.get(Se).run(()=>{B(F.BootstrapComponentStart);let s=t instanceof fa;if(!this._injector.get(ld).done){let g="";throw new y(405,g)}let c;s?c=t:c=this._injector.get(Ho).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let u=im(c)?void 0:this._injector.get(Pn),l=r||c.selector,d=c.create(o,[],l,u),f=d.location.nativeElement,h=d.injector.get(cd,null);return h?.registerApplication(f),d.onDestroy(()=>{this.detachView(d.hostView),So(this.components,d),h?.unregisterApplication(f)}),this._loadComponent(d),B(F.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){B(F.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Yl.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw B(F.ChangeDetectionEnd),new y(101,!1);let t=C(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,C(t),this.afterTick.next(),B(F.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(kn,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<Gw;){B(F.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{B(F.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Co(o))continue;let i=r&&!this.zonelessEnabled?0:1;Og(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>Co(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;So(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(ma,[]).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._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>So(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new y(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function So(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function Vn(e,n,t,r){let o=_(),i=Qt();if(lt(o,i,n)){let s=X(),a=ws();bC(a,o,e,n,t,r)}return Vn}var bl=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(n,t){this.attach(t,this.detach(n))}};function Yu(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function Ww(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){C(r);let u=n.length-1;for(C(null);s<=a&&s<=u;){let l=e.at(s),d=n[s],f=Yu(s,l,s,d,t);if(f!==0){f<0&&e.updateValue(s,d),s++;continue}let h=e.at(a),g=n[u],w=Yu(a,h,u,g,t);if(w!==0){w<0&&e.updateValue(a,g),a--,u--;continue}let E=t(s,l),b=t(a,h),V=t(s,d);if(Object.is(V,b)){let me=t(u,g);Object.is(me,E)?(e.swap(s,a),e.updateValue(a,g),u--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Qs,i??=Cp(e,s,a,t),Tl(e,o,s,V))e.updateValue(s,d),s++,a++;else if(i.has(V))o.set(E,e.detach(s)),a--;else{let me=e.create(s,n[s]);e.attach(s,me),s++,a++}}for(;s<=u;)Ep(e,o,t,s,n[s]),s++}else if(n!=null){C(r);let u=n[Symbol.iterator]();C(null);let l=u.next();for(;!l.done&&s<=a;){let d=e.at(s),f=l.value,h=Yu(s,d,s,f,t);if(h!==0)h<0&&e.updateValue(s,f),s++,l=u.next();else{o??=new Qs,i??=Cp(e,s,a,t);let g=t(s,f);if(Tl(e,o,s,g))e.updateValue(s,f),s++,a++,l=u.next();else if(!i.has(g))e.attach(s,e.create(s,f)),s++,a++,l=u.next();else{let w=t(s,d);o.set(w,e.detach(s)),a--}}}for(;!l.done;)Ep(e,o,t,e.length,l.value),l=u.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(u=>{e.destroy(u)})}function Tl(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function Ep(e,n,t,r,o){if(Tl(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Cp(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var Qs=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function qw(e,n,t,r,o,i,s,a){jn("NgControlFlow");let c=_(),u=X(),l=Le(u.consts,i);return Ao(c,u,e,n,t,r,o,l,256,s,a),dd}function dd(e,n,t,r,o,i,s,a){jn("NgControlFlow");let c=_(),u=X(),l=Le(u.consts,i);return Ao(c,u,e,n,t,r,o,l,512,s,a),dd}function Zw(e,n){jn("NgControlFlow");let t=_(),r=Qt(),o=t[r]!==_e?t[r]:-1,i=o!==-1?Ks(t,z+o):void 0,s=0;if(lt(t,r,e)){let a=C(null);try{if(i!==void 0&&Ug(i,s),e!==-1){let c=z+e,u=Ks(t,c),l=Nl(t[I],c),d=Vg(u,l,t),f=Bo(t,l,n,{dehydratedView:d});Vo(u,f,s,wr(l,d))}}finally{C(a)}}else if(i!==void 0){let a=jg(i,s);a!==void 0&&(a[J]=n)}}var Sl=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Y}};function Yw(e){return e}var _l=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function Qw(e,n,t,r,o,i,s,a,c,u,l,d,f){jn("NgControlFlow");let h=_(),g=X(),w=c!==void 0,E=_(),b=a?s.bind(E[De][J]):s,V=new _l(w,b);E[z+e]=V,Ao(h,g,e+1,n,t,r,o,Le(g.consts,i),256),w&&Ao(h,g,e+2,c,u,l,d,Le(g.consts,f),512)}var Ml=class extends bl{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-Y}at(n){return this.getLView(n)[J].$implicit}attach(n,t){let r=t[Sn];this.needsIndexUpdate||=n!==this.length,Vo(this.lContainer,t,n,wr(this.templateTNode,r)),Jw(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,Xw(this.lContainer,n),eI(this.lContainer,n)}create(n,t){let r=zs(this.lContainer,this.templateTNode.tView.ssrId);return Bo(this.hostLView,this.templateTNode,new Sl(this.lContainer,t,n),{dehydratedView:r})}destroy(n){ca(n[I],n)}updateValue(n,t){this.getLView(n)[J].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[J].$index=n}getLView(n){return tI(this.lContainer,n)}};function Kw(e){let n=C(null),t=wt();try{let r=_(),o=r[I],i=r[t],s=t+1,a=Ks(r,s);if(i.liveCollection===void 0){let u=Nl(o,s);i.liveCollection=new Ml(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(Ww(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let u=Qt(),l=c.length===0;if(lt(r,u,l)){let d=t+2,f=Ks(r,d);if(l){let h=Nl(o,d),g=Vg(f,h,r),w=Bo(r,h,void 0,{dehydratedView:g});Vo(f,w,0,wr(h,g))}else o.firstUpdatePass&&ZC(f),Ug(f,0)}}}finally{C(n)}}function Ks(e,n){return e[n]}function Jw(e,n){if(e.length<=Y)return;let t=Y+n,r=e[t],o=r?r[Zt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[vt];tC(i,o),On.delete(r[Dt]),o.detachedLeaveAnimationFns=void 0}}function Xw(e,n){if(e.length<=Y)return;let t=Y+n,r=e[t],o=r?r[Zt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function eI(e,n){return No(e,n)}function tI(e,n){return jg(e,n)}function Nl(e,n){return hs(e,n)}function sm(e,n,t){let r=_(),o=Qt();if(lt(r,o,n)){let i=X(),s=ws();DC(s,r,e,n,r[$],t)}return sm}function Rl(e,n,t,r,o){nd(n,e,t,o?"class":"style",r)}function Js(e,n,t,r){let o=_(),i=o[I],s=e+z,a=i.firstCreatePass?id(s,o,2,n,Xl,ms(),t,r):i.data[s];if(Ct(a)){let c=o[We].tracingService;if(c&&c.componentCreate){let u=i.data[a.directiveStart+a.componentOff
vendor: 8,896 bytes, line 4
4set];return c.componentCreate(Yg(u),()=>(wp(e,n,o,a,r),Js))}}return wp(e,n,o,a,r),Js}function wp(e,n,t,r,o){if(ed(r,t,e,n,am),pr(r)){let i=t[I];la(i,t,r),Fl(i,r,t)}o!=null&&Uo(t,r)}function fd(){let e=X(),n=ce(),t=td(n);return e.firstCreatePass&&sd(e,t),Mu(t)&&Nu(),Su(),t.classesWithoutHost!=null&&kD(t)&&Rl(e,t,_(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&PD(t)&&Rl(e,t,_(),t.stylesWithoutHost,!1),fd}function ya(e,n,t,r){return Js(e,n,t,r),fd(),ya}function Hn(e,n,t,r){let o=_(),i=o[I],s=e+z,a=i.firstCreatePass?cw(s,i,2,n,t,r):i.data[s];return ed(a,o,e,n,am),r!=null&&Uo(o,a),Hn}function $n(){let e=ce(),n=td(e);return Mu(n)&&Nu(),Su(),$n}function Nr(e,n,t,r){return Hn(e,n,t,r),$n(),Nr}var am=(e,n,t,r,o)=>(wo(!0),sg(n[$],r,ju()));function hd(e,n,t){let r=_(),o=r[I],i=e+z,s=o.firstCreatePass?id(i,r,8,"ng-container",Xl,ms(),n,t):o.data[i];if(ed(s,r,e,"ng-container",nI),pr(s)){let a=r[I];la(a,r,s),Fl(a,s,r)}return t!=null&&Uo(r,s),hd}function pd(){let e=X(),n=ce(),t=td(n);return e.firstCreatePass&&sd(e,t),pd}function cm(e,n,t){return hd(e,n,t),pd(),cm}var nI=(e,n,t,r,o)=>(wo(!0),RE(n[$],""));function rI(){return _()}function Rr(e,n,t){let r=_(),o=Qt();if(lt(r,o,n)){let i=X(),s=ws();_g(s,r,e,n,r[$],t)}return Rr}var Go="en-US";var oI=Go;function um(e){typeof e=="string"&&(oI=e.toLowerCase().replace(/_/g,"-"))}function va(e,n,t){let r=_(),o=X(),i=ce();return iI(o,r,r[$],i,e,n,t),va}function lm(e,n,t){let r=_(),o=X(),i=ce();return(i.type&3||t)&&qg(i,o,r,t,r[$],e,n,Fs(i,r,n)),lm}function iI(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=Fs(r,n,i),qg(r,e,n,s,t,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let f=l[d],h=l[d+1];c??=Fs(r,n,i),mp(r,n,f,h,o,c)}if(u&&u.length)for(let d of u)c??=Fs(r,n,i),mp(r,n,d,o,o,c)}}function sI(e=1){return jh(e)}function aI(e,n){let t=null,r=HE(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?pg(e,i,!0):GE(r,i))return o}return t}function cI(e){let n=_()[De][ve];if(!n.projection){let t=e?e.length:1,r=n.projection=uh(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?aI(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function uI(e,n=0,t,r,o,i){let s=_(),a=X(),c=r?e+1:null;c!==null&&Ao(s,a,c,r,o,i,null,t);let u=_r(a,z+e,16,null,t||null);u.projection===null&&(u.projection=n),xu();let d=!s[Sn]||_u();s[De][ve].projection[u.projection]===null&&c!==null?lI(s,a,c):d&&!oa(u)&&fC(a,s,u)}function lI(e,n,t){let r=z+t,o=n.data[r],i=e[r],s=zs(i,o.tView.ssrId),a=Bo(e,o,void 0,{dehydratedView:s});Vo(i,a,0,wr(o,s))}function Da(e,n,t,r){return xw(e,n,t,r),Da}function gd(e){let n=_(),t=X(),r=Pu();Ds(r+1);let o=ad(t,r);if(e.dirty&&Dh(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Fw(n,r);e.reset(i,YD),e.notifyOnChanges()}return!0}return!1}function md(){return Rw(_(),Pu())}function dI(e){let n=Nh();return Du(n,z+e)}function As(e,n){return e<<17|n<<2}function Fn(e){return e>>17&32767}function fI(e){return(e&2)==2}function hI(e,n){return e&131071|n<<17}function Al(e){return e|2}function Tr(e){return(e&131068)>>2}function Qu(e,n){return e&-131069|n<<2}function pI(e){return(e&1)===1}function xl(e){return e|1}function gI(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Fn(s),c=Tr(s);e[r]=t;let u=!1,l;if(Array.isArray(t)){let d=t;l=d[1],(l===null||dr(d,l)>0)&&(u=!0)}else l=t;if(o)if(c!==0){let f=Fn(e[a+1]);e[r+1]=As(f,a),f!==0&&(e[f+1]=Qu(e[f+1],r)),e[a+1]=hI(e[a+1],r)}else e[r+1]=As(a,0),a!==0&&(e[a+1]=Qu(e[a+1],r)),a=r;else e[r+1]=As(c,0),a===0?a=r:e[c+1]=Qu(e[c+1],r),c=r;u&&(e[r+1]=Al(e[r+1])),Ip(e,l,r,!0),Ip(e,l,r,!1),mI(n,l,e,r,i),s=As(a,c),i?n.classBindings=s:n.styleBindings=s}function mI(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&dr(i,n)>=0&&(t[r+1]=xl(t[r+1]))}function Ip(e,n,t,r){let o=e[t+1],i=n===null,s=r?Fn(o):Tr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];yI(c,n)&&(a=!0,e[s+1]=r?xl(u):Al(u)),s=r?Fn(u):Tr(u)}a&&(e[t+1]=r?Al(o):xl(o))}function yI(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?dr(e,n)>=0:!1}var Qe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function vI(e){return e.substring(Qe.key,Qe.keyEnd)}function DI(e){return EI(e),dm(e,fm(e,0,Qe.textEnd))}function dm(e,n){let t=Qe.textEnd;return t===n?-1:(n=Qe.keyEnd=CI(e,Qe.key=n,t),fm(e,n,t))}function EI(e){Qe.key=0,Qe.keyEnd=0,Qe.value=0,Qe.valueEnd=0,Qe.textEnd=e.length}function fm(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function CI(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function Ea(e,n,t){return hm(e,n,t,!1),Ea}function Ca(e,n){return hm(e,n,null,!0),Ca}function wI(e){bI(RI,II,e,!0)}function II(e,n){for(let t=DI(n);t>=0;t=dm(n,t))us(e,vI(n),!0)}function hm(e,n,t,r){let o=_(),i=X(),s=ku(2);if(i.firstUpdatePass&&gm(i,e,s,r),n!==_e&<(o,s,n)){let a=i.data[wt()];mm(i,a,o,o[$],e,o[s+1]=xI(n,t),r,s)}}function bI(e,n,t,r){let o=X(),i=ku(2);o.firstUpdatePass&&gm(o,null,i,r);let s=_();if(t!==_e&<(s,i,t)){let a=o.data[wt()];if(ym(a,r)&&!pm(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=rs(c,t||"")),Rl(o,a,s,t,r)}else AI(o,a,s,s[$],s[i+1],s[i+1]=NI(e,n,t),r,i)}}function pm(e,n){return n>=e.expandoStartIndex}function gm(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[wt()],s=pm(e,t);ym(i,r)&&n===null&&!s&&(n=!1),n=TI(o,i,n,r),gI(o,i,n,t,s,r)}}function TI(e,n,t,r){let o=kh(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Ku(null,e,n,t,r),t=xo(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Ku(o,e,n,t,r),i===null){let c=SI(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Ku(null,e,n,c[1],r),c=xo(c,n.attrs,r),_I(e,n,r,c))}else i=MI(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function SI(e,n,t){let r=t?n.classBindings:n.styleBindings;if(Tr(r)!==0)return e[Fn(r)]}function _I(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[Fn(o)]=r}function MI(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=xo(r,s,t)}return xo(r,n.attrs,t)}function Ku(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=xo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function xo(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),us(e,s,t?!0:n[++i]))}return e===void 0?null:e}function NI(e,n,t){if(t==null||t==="")return Te;let r=[],o=Je(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function RI(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&us(e,r,t)}function AI(e,n,t,r,o,i,s,a){o===_e&&(o=Te);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let f=c<o.length?o[c+1]:void 0,h=u<i.length?i[u+1]:void 0,g=null,w;l===d?(c+=2,u+=2,f!==h&&(g=d,w=h)):d===null||l!==null&&l<d?(c+=2,g=l):(u+=2,g=d,w=h),g!==null&&mm(e,n,t,r,g,w,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function mm(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,u=c[a+1],l=pI(u)?bp(c,n,t,o,Tr(u),s):void 0;if(!Xs(l)){Xs(i)||fI(u)&&(i=bp(c,null,t,o,a,s));let d=vu(wt(),t);pC(r,s,d,o,i)}}function bp(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=t[o+1];f===_e&&(f=d?Te:void 0);let h=d?ls(f,r):l===r?f:void 0;if(u&&!Xs(h)&&(h=ls(c,r)),Xs(h)&&(a=h,s))return a;let g=e[o+1];o=s?Fn(g):Tr(g)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=ls(c,r))}return a}function Xs(e){return e!==void 0}function xI(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=po(Je(e)))),e}function ym(e,n){return(e.flags&(n?8:16))!==0}function OI(e,n=""){let t=_(),r=X(),o=e+z,i=r.firstCreatePass?_r(r,o,1,n,null):r.data[o],s=kI(r,t,i,n);t[o]=s,bs()&&Kl(r,t,s,i),yr(i,!1)}var kI=(e,n,t,r)=>(wo(!0),ME(n[$],r));function vm(e,n,t,r=""){return lt(e,Qt(),t)?n+mo(t)+r:_e}function Dm(e){return yd("",e),Dm}function yd(e,n,t){let r=_(),o=vm(r,e,n,t);return o!==_e&&PI(r,wt(),o),yd}function PI(e,n,t){let r=vu(n,e);NE(e[$],r,t)}function FI(e){return lt(_(),Qt(),e)?mo(e):_e}function LI(e,n,t=""){return vm(_(),e,n,t)}function jI(e,n){let t=ys()+e,r=_();return r[t]===_e?Wg(r,t,n()):uw(r,t)}function UI(e,n,t){return Em(_(),ys(),e,n,t)}function BI(e,n){let t=e[n];return t===_e?void 0:t}function Em(e,n,t,r,o,i){let s=n+t;return lt(e,s,o)?Wg(e,s+1,i?r.call(i,o):r(o)):BI(e,s+1)}function VI(e,n){let t=X(),r,o=e+z;t.firstCreatePass?(r=HI(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];
4let i=r.factory||(r.factory=Bt(r.type,!0)),s,a=ye(Ee);try{let c=Bs(!1),u=i();return Bs(c),Eu(t,_(),o,u),u}finally{ye(a)}}function HI(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function $I(e,n,t){let r=e+z,o=_(),i=Du(o,r);return zI(o,r)?Em(o,ys(),n,i.transform,t,i):i.transform(t)}function zI(e,n){return e[I].data[n].pure}function GI(e,n){return da(e,n)}var ea=class{ngModuleFactory;componentFactories;constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}},vd=(()=>{class e{compileModuleSync(t){return new Ys(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let r=this.compileModuleSync(t),o=ou(t),i=fg(o.declarations).reduce((s,a)=>{let c=Gt(a);return c&&s.push(new br(c)),s},[]);return new ea(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Cm=(()=>{class e{applicationErrorHandler=p(Ne);appRef=p(Bn);taskService=p(It);ngZone=p(Se);zonelessEnabled=p(Io);tracing=p(en,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new oe;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(fo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p($u,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?$h:Bu;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(fo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function wm(){return[{provide:$t,useExisting:Cm},{provide:Se,useClass:ho},{provide:Io,useValue:!0}]}function WI(){return typeof $localize<"u"&&$localize.locale||Go}var wa=new D("",{factory:()=>p(wa,{optional:!0,skipSelf:!0})||WI()});var Ia=class{destroyed=!1;listeners=null;errorHandler=p(ze,{optional:!0});destroyRef=p(pe);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new y(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(ot(953,!1));return}if(this.listeners===null)return;let t=C(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{C(t)}}};function Z(e){return Jf(e)}function zn(e,n){return Si(e,n?.equal)}var qI=e=>e;
4function Dd(e,n){if(typeof e=="function"){let t=jc(e,qI,n?.equal);return Im(t,n?.debugName)}else{let t=jc(e.source,e.computation,e.equal);return Im(t,e.debugName)}}function Im(e,n){let t=e[ie],r=e;return r.set=o=>Qf(t,o),r.update=o=>Kf(t,o),r.asReadonly=Ts.bind(e),r}var Mm=Symbol("InputSignalNode#UNSET"),gb=O(m({},Mi),{transformFn:void 0,applyValueToInputSignal(e,n){vn(e,n)}});function Nm(e,n){let t=Object.create(gb);t.value=e,t.transformFn=n?.transform;function r(){if(pn(t),t.value===Mm){let o=null;throw new y(-950,o)}return t.value}return r[ie]=t,r}var Ta=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>ko(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function Uj(e){return new Ia}function bm(e,n){return Nm(e,n)}function mb(e){return Nm(Mm,e)}var Rm=(bm.required=mb,bm);var Ed=new D(""),yb=new D("");function Wo(e){return!e.moduleRef}function vb(e){let n=Wo(e)?e.r3Injector:e.moduleRef.injector,t=n.get(Se);return t.run(()=>{Wo(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(Ne),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),Wo(e)){let i=()=>n.destroy(),s=e.platformInjector.get(Ed);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Ed);s.add(i),e.moduleRef.onDestroy(()=>{So(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Eb(r,t,()=>{let i=n.get(It),s=i.add(),a=n.get(ld);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(wa,Go);if(um(c||Go),!n.get(yb,!0))return Wo(e)?n.get(Bn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Wo(e)){let l=n.get(Bn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Db?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var Db;function Eb(e,n,t){try{let r=t();return Mr(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var ba=null;function Cb(e=[],n){return he.create({name:n,providers:[{provide:vo,useValue:"platform"},{provide:Ed,useValue:new Set([()=>ba=null])},...e]})}function wb(e=[]){if(ba)return ba;let n=Cb(e);return ba=n,om(),Ib(n),n}function Ib(e){let n=e.get(ra,null);ne(e,()=>{n?.forEach(t=>t())})}var bb=1e4;var Bj=bb-1e3;var Gn=(()=>{class e{static __NG_ELEMENT_ID__=Tb}return e})();function Tb(e){return Sb(ce(),_(),(e&16)===16)}function Sb(e,n,t){if(Ct(e)&&!t){let r=Fe(e.index,n);return new Jt(r,r)}else if(e.type&175){let r=n[De];return new Jt(r,n)}return null}function Am(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;B(F.BootstrapApplicationStart);try{let i=o?.injector??wb(r),s=[wm(),Gh,...t||[]],a=new Ro({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return vb({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{B(F.BootstrapApplicationEnd)}}function Sa(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}var xm=null;function Rt(){return xm}function Cd(e){xm??=e}var qo=class{},Ar=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(Om),providedIn:"platform"})}return e})();var Om=(()=>{class e extends Ar{_location;_history;_doc=p(Q);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Rt().getBaseHref(this._doc)}onPopState(t){let r=Rt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=Rt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Fm(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function km(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function nn(e){return e&&e[0]!=="?"?`?${e}`:e}var xr=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(Mb),providedIn:"root"})}return e})(),_b=new D(""),Mb=(()=>{class e extends xr{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(Q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.on
vendor: 32,364 bytes, lines 4-5
4HashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Fm(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+nn(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+nn(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+nn(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(T(Ar),T(_b,8))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Or=(()=>{class e{_subject=new H;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=Ab(km(Pm(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+nn(r))}normalize(t){return e.stripTrailingSlash(Rb(this._basePath,Pm(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+nn(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+nn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=nn;static joinWithSlash=Fm;static stripTrailingSlash=km;static \u0275fac=function(r){return new(r||e)(T(xr))};static \u0275prov=v({token:e,factory:()=>Nb(),providedIn:"root"})}return e})();function Nb(){return new Or(T(xr))}function Rb(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Pm(e){return e.replace(/\/index.html$/,"")}function Ab(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var xb=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=p(he);constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(Ee(tn))};static \u0275dir=Nt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Xt]})}return e})();var _a=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=Mt({type:e});static \u0275inj=it({})}return e})();function Zo(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var Wn=class{};var Lm="browser";var Yo=class{_doc;constructor(n){this._doc=n}manager},Ma=(()=>{class e extends Yo{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(T(Q))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Aa=new D(""),Td=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof Ma));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof Ma);i&&this._plugins.push(i)}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}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 y(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(T(Aa),T(Se))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),wd="ng-app-id";function jm(e){for(let n of e)n.remove()}function Um(e,n){let t=n.createElement("style");return t.textContent=e,t}function Pb(e,n,t,r){let o=e.head?.querySelectorAll(`style[${wd}="${n}"],link[${wd}="${n}"]`);if(o)for(let i of o)i.removeAttribute(wd),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function bd(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Sd=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,Pb(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,Um);r?.forEach(o=>this.addUsage(o,this.external,bd))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(jm(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])jm(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,Um(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,bd(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(T(Q),T(na),T(Fo,8),T(Po))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Id={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/Math/MathML"},_d=/%COMP%/g;var Vm="%COMP%",Fb=`_nghost-${Vm}`,Lb=`_ngcontent-${Vm}`,jb=!0,Ub=new D("",{factory:()=>jb});function Bb(e){return Lb.replace(_d,e)}function Vb(e){return Fb.replace(_d,e)}function Hm(e,n){return n.map(t=>t.replace(_d,e))}var Md=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,u=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=u,this.defaultRenderer=new Qo(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof Ra?o.applyToHost(t):o instanceof Ko&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case Ke.Emulated:i=new Ra(c,u,r,this.appId,l,s,a,d);break;case Ke.ShadowDom:return new Na(c,t,r,s,a,this.nonce,d,u);case Ke.ExperimentalIsolatedShadowDom:return new Na(c,t,r,s,a,this.nonce,d);default:i=new Ko(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(T(Td),T(Sd),T(na),T(Ub),T(Q),T(Se),T(Fo),T(en,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Qo=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Id[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(Bm(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(Bm(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new y(-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;let i=Id[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Id[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&(ct.DashCase|ct.Important)?n.style.setProperty(t,r,o&ct.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&ct.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=Rt().getGlobalEventTarget(this.doc,n),!n))throw new y(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function Bm(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Na=class extends Qo{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Hm(r.id,u);for(let d of u){let f=document.createElement("style");s&&f.setAttribute("nonce",s),f.textContent=d,this.shadowRoot.appendChild(f)}let l=r.getExternalStyles?.();if(l)for(let d of l){let f=bd(d,o);s&&f.setAttribute("nonce",s),this.shadowRoot.appendChild(f)}}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(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Ko=class extends Qo{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let u=r.styles;this.styles=c?Hm(c,u):u,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&On.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Ra=class extends Ko{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let u=o+"-"+r.id;super(n,t,r,i,s,a,c,u),this.contentAttr=Bb(u),this.hostAttr=Vb(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var xa=class e extends qo{supportsDOMEvents=!0;static makeCurrent(){Cd(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.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 t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=Hb();return t==null?null:$b(t)}resetBaseElement(){Jo=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Zo(document.cookie,n)}},Jo=null;function Hb(){return Jo=Jo||document.head.querySelector("base"),Jo?Jo.getAttribute("href"):null}function $b(e){return new URL(e,document.baseURI).pathname}var zb=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),$m=["alt","control","meta","shift"],Gb={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Wb={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},zm=(()=>{class e extends Yo{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Rt().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),$m.forEach(u=>{let l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=Gb[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),$m.forEach(s=>{if(s!==o){let a=Wb[s];a(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 t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(T(Q))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();async function qb(e,n,t){let r=m({rootComponent:e},Zb(n,t));return Am(r)}function Zb(e,n){return{platformRef:n?.platformRef,appProviders:[...Xb,...e?.providers??[]],platformProviders:Jb}}function Yb(){xa.makeCurrent()}function Qb(){return new ze}function Kb(){return Pl(document),document}var Jb=[{provide:Po,useValue:Lm},{provide:ra,useValue:Yb,multi:!0},{provide:Q,useFactory:Kb}];var Xb=[{provide:vo,useValue:"root"},{provide:ze,useFactory:Qb},{provide:Aa,useClass:Ma,multi:!0},{provide:Aa,useClass:zm,multi:!0},Md,Sd,Td,{provide:kn,useExisting:Md},{provide:Wn,useClass:zb},[]];var rn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` 5`).forEach(t=>{let r=t.indexOf(":");if(r>0){let o=t.slice(0,r),i=t.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.addHeaderEntry(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){let t=new e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){let t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,t);let o=(n.op==="a"?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":let i=n.value;if(!i)this.headers.delete(t),this.normalizedNames.delete(t);else{let s=this.headers.get(t);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}break}}addHeaderEntry(n,t){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(n,t){let r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}};var ka=class{map=new Map;set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},Pa=class{encodeKey(n){return Gm(n)}encodeValue(n){return Gm(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function eT(e,n){let t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}var tT=/%(\d[a-f0-9])/gi,nT={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Gm(e){return encodeURIComponent(e).replace(tT,(n,t)=>nT[t]??n)}function Oa(e){return`${e}`}var At=class e{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Pa,n.fromString){if(n.fromObject)throw new y(2805,!1);this.map=eT(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{let r=n.fromObject[t],o=Array.isArray(r)?r.map(Oa):[Oa(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){let t=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let t=new e({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let t=(n.op==="a"?this.map.get(n.param):void 0)||[];t.push(Oa(n.value)),this.map.set(n.param,t);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],o=r.indexOf(Oa(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function rT(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Wm(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function qm(e){return typeof Blob<"u"&&e instanceof Blob}function Zm(e){return typeof FormData<"u"&&e instanceof FormData}function oT(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Ym="Content-Type",Qm="Accept",Km="text/plain",Jm="application/json",iT=`${Jm}, ${Km}, */*`,kr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,t,r,o){this.url=t,this.method=n.toUpperCase();let i;if(rT(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new y(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new rn,this.context??=new ka,!this.params)this.params=new At,this.urlWithParams=t;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=t;else{let a=t.indexOf("?"),c=a===-1?"?":a<t.length-1?"&":"";this.urlWithParams=t+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Wm(this.body)||qm(this.body)||Zm(this.body)||oT(this.body)?this.body:this.body instanceof At?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Zm(this.body)?null:qm(this.body)?this.body.type||null:Wm(this.body)?null:typeof this.body=="string"?Km:this.body instanceof At?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Jm:null}clone(n={}){let t=n.method||this.method,r=n.url||this.url,o=n.responseType||this.responseType,i=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,c=n.mode||this.mode,u=n.redirect||this.redirect,l=n.credentials||this.credentials,d=n.referrer||this.referrer,f=n.integrity||this.integrity,h=n.referrerPolicy||this.referrerPolicy,g=n.transferCache??this.transferCache,w=n.timeout??this.timeout,E=n.body!==void 0?n.body:this.body,b=n.withCredentials??this.withCredentials,V=n.reportProgress??this.reportProgress,me=n.headers||this.headers,te=n.params||this.params,Jr=n.context??this.context;return n.setHeaders!==void 0&&(me=Object.keys(n.setHeaders).reduce((Xr,un)=>Xr.set(un,n.setHeaders[un]),me)),n.setParams&&(te=Object.keys(n.setParams).reduce((Xr,un)=>Xr.set(un,n.setParams[un]),te)),new e(t,r,E,{params:te,headers:me,context:Jr,reportProgress:V,responseType:o,withCredentials:b,transferCache:g,keepalive:i,cache:a,priority:s,timeout:w,mode:c,redirect:u,credentials:l,referrer:d,integrity:f,referrerPolicy:h})}},qn=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(qn||{}),Fr=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,t=200,r="OK"){this.headers=n.headers||new rn,this.status=n.status!==void 0?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},Fa=class e extends Fr{constructor(n={}){super(n)}type=qn.ResponseHeader;clone(n={}){return new e({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},Xo=class e extends Fr{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=qn.Response;clone(n={}){return new e({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},Pr=class extends Fr{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},sT=200,aT=204;var cT=new D("");var uT=/^\)\]\}',?\n/;var Rd=(()=>{class e{xhrFactory;tracingService=p(en,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new y(-2800,!1);let r=this.xhrFactory;return S(null).pipe(de(()=>new x(i=>{let s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((E,b)=>s.setRequestHeader(E,b.join(","))),t.headers.has(Qm)||s.setRequestHeader(Qm,iT),!t.headers.has(Ym)){let E=t.detectContentTypeHeader();E!==null&&s.setRequestHeader(Ym,E)}if(t.timeout&&(s.timeout=t.timeout),t.responseType){let E=t.responseType.toLowerCase();s.responseType=E!=="json"?E:"text"}let a=t.serializeBody(),c=null,u=()=>{if(c!==null)return c;let E=s.statusText||"OK",b=new rn(s.getAllResponseHeaders()),V=s.responseURL||t.url;return c=new Fa({headers:b,status:s.status,statusText:E,url:V}),c},l=this.maybePropagateTrace(()=>{let{headers:E,status:b,statusText:V,url:me}=u(),te=null;b!==aT&&(te=typeof s.response>"u"?s.responseText:s.response),b===0&&(b=te?sT:0);let Jr=b>=200&&b<300;if(t.responseType==="json"&&typeof te=="string"){let Xr=te;te=te.replace(uT,"");try{te=te!==""?JSON.parse(te):null}catch(un){te=Xr,Jr&&(Jr=!1,te={error:un,text:te})}}Jr?(i.next(new Xo({body:te,headers:E,status:b,statusText:V,url:me||void 0})),i.complete()):i.error(new Pr({error:te,headers:E,status:b,statusText:V,url:me||void 0}))}),d=this.maybePropagateTrace(E=>{let{url:b}=u(),V=new Pr({error:E,status:s.status||0,statusText:s.statusText||"Unknown Error",url:b||void 0});i.error(V)}),f=d;t.timeout&&(f=this.maybePropagateTrace(E=>{let{url:b}=u(),V=new Pr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:b||void 0});i.error(V)}));let h=!1,g=this.maybePropagateTrace(E=>{h||(i.next(u()),h=!0);let b={type:qn.DownloadProgress,loaded:E.loaded};E.lengthComputable&&(b.total=E.total),t.responseType==="text"&&s.responseText&&(b.partialText=s.responseText),i.next(b)}),w=this.maybePropagateTrace(E=>{let b={type:qn.UploadProgress,loaded:E.loaded};E.lengthComputable&&(b.total=E.total),i.next(b)});return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",f),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",w)),s.send(a),i.next({type:qn.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",f),t.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",w)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(T(Wn))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function lT(e,n){return n(e)}function dT(e,n,t){return(r,o)=>ne(t,()=>n(r,i=>e(i,o)))}var Ad=new D("",{factory:()=>[]}),Xm=new D(""),ey=new D("",{factory:()=>!0});var xd=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(Rd),o},providedIn:"root"})}return e})();var La=(()=>{class e{backend;injector;chain=null;pendingTasks=p(vr);contributeToStability=p(ey);constructor(t,r){this.backend=t,this.injector=r}handle(t){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Ad),...this.injector.get(Xm,[])]));this.chain=r.reduceRight((o,i)=>dT(o,i,this.injector),lT)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(so(r))}else return this.chain(t,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(T(xd),T(q))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Od=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(La),o},providedIn:"root"})}return e})();function Nd(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer,referrerPolicy:e.referrerPolicy}}var ty=(()=>{class e{handler;constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof kr)i=t;else{let c;o.headers instanceof rn?c=o.headers:c=new rn(o.headers);let u;o.params&&(o.params instanceof At?u=o.params:u=new At({fromObject:o.params})),i=new kr(t,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=S(i).pipe(pt(c=>this.handler.handle(c)));if(t instanceof kr||o.observe==="events")return s;let a=s.pipe(xe(c=>c instanceof Xo));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(P(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new y(2806,!1);return c.body}));case"blob":return a.pipe(P(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new y(2807,!1);return c.body}));case"text":return a.pipe(P(c=>{if(c.body!==null&&typeof c.body!="string")throw new y(2808,!1);return c.body}));default:return a.pipe(P(c=>c.body))}case"response":return a;default:throw new y(2809,!1)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:new At().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,Nd(o,r))}post(t,r,o={}
5){return this.request("POST",t,Nd(o,r))}put(t,r,o={}){return this.request("PUT",t,Nd(o,r))}static \u0275fac=function(r){return new(r||e)(T(Od))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var fT=new D("",{factory:()=>!0}),hT="XSRF-TOKEN",pT=new D("",{factory:()=>hT}),gT="X-XSRF-TOKEN",mT=new D("",{factory:()=>gT}),yT=(()=>{class e{cookieName=p(pT);doc=p(Q);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Zo(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ny=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(yT),o},providedIn:"root"})}return e})();function vT(e,n){if(!p(fT)||e.method==="GET"||e.method==="HEAD")return n(e);try{let o=p(Ar).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return n(e)}catch{return n(e)}let t=p(ny).getToken(),r=p(mT);return t!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,t)})),n(e)}var kd=(function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e})(kd||{});function DT(e,n){return{\u0275kind:e,\u0275providers:n}}function ET(...e){let n=[ty,La,{provide:Od,useExisting:La},{provide:xd,useFactory:()=>p(cT,{optional:!0})??p(Rd)},{provide:Ad,useValue:vT,multi:!0}];for(let t of e)n.push(...t.\u0275providers);return yt(n)}function CT(e){return DT(kd.Interceptors,e.map(n=>({provide:Ad,useValue:n,multi:!0})))}var ry=(()=>{class e{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(r){return new(r||e)(T(Q))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var wT=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=T(IT),o},providedIn:"root"})}return e})(),IT=(()=>{class e extends wT{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case Xe.NONE:return r;case Xe.HTML:return St(r,"HTML")?Je(r):Hl(this._doc,String(r)).toString();case Xe.STYLE:return St(r,"Style")?Je(r):r;case Xe.SCRIPT:if(St(r,"Script"))return Je(r);throw new y(5200,!1);case Xe.URL:return St(r,"URL")?Je(r):Lo(String(r));case Xe.RESOURCE_URL:if(St(r,"ResourceURL"))return Je(r);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(t){return Ll(t)}bypassSecurityTrustStyle(t){return jl(t)}bypassSecurityTrustScript(t){return Ul(t)}bypassSecurityTrustUrl(t){return Bl(t)}bypassSecurityTrustResourceUrl(t){return Vl(t)}static \u0275fac=function(r){return new(r||e)(T(Q))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var N="primary",pi=Symbol("RouteTitle"),Ud=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){let t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function Yn(e){return new Ud(e)}function Pd(e,n,t){for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(o[0]===":")t[o.substring(1)]=i;else if(o!==i.path)return!1}return!0}function ly(e,n,t){let r=t.path.split("/"),o=r.indexOf("**");if(o===-1){if(r.length>e.length||t.pathMatch==="full"&&(n.hasChildren()||r.length<e.length))return null;let c={},u=e.slice(0,r.length);return Pd(r,u,c)?{consumed:u,posParams:c}:null}if(o!==r.lastIndexOf("**"))return null;let i=r.slice(0,o),s=r.slice(o+1);if(i.length+s.length>e.length||t.pathMatch==="full"&&n.hasChildren()&&t.path!=="**")return null;let a={};return!Pd(i,e.slice(0,i.length),a)||!Pd(s,e.slice(e.length-s.length),a)?null:{consumed:e,posParams:a}}function $a(e){return new Promise((n,t)=>{e.pipe(gt()).subscribe({next:r=>n(r),error:r=>t(r)})})}function TT(e,n){if(e.length!==n.length)return!1;for(let t=0;t<e.length;++t)if(!dt(e[t],n[t]))return!1;return!0}function dt(e,n){let t=e?Bd(e):void 0,r=n?Bd(n):void 0;if(!t||!r||t.length!=r.length)return!1;let o;for(let i=0;i<t.length;i++)if(o=t[i],!dy(e[o],n[o]))return!1;return!0}function Bd(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function dy(e,n){if(Array.isArray(e)&&Array.isArray(n)){if(e.length!==n.length)return!1;let t=[...e].sort(),r=[...n].sort();return t.every((o,i)=>r[i]===o)}else return e===n}function ST(e){return e.length>0?e[e.length-1]:null}function Jn(e){return $e(e)?e:Mr(e)?K(Promise.resolve(e)):S(e)}function fy(e){return $e(e)?$a(e):Promise.resolve(e)}var _T={exact:py,subset:gy},hy={exact:MT,subset:NT,ignored:()=>!0},ef={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ii={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function tf(e,n,t){let r=e instanceof Ce?e:n.parseUrl(e);return zn(()=>Vd(n.lastSuccessfulNavigation()?.finalUrl??new Ce,r,m(m({},ii),t)))}function Vd(e,n,t){return _T[t.paths](e.root,n.root,t.matrixParams)&&hy[t.queryParams](e.queryParams,n.queryParams)&&!(t.fragment==="exact"&&e.fragment!==n.fragment)}function MT(e,n){return dt(e,n)}function py(e,n,t){if(!Zn(e.segments,n.segments)||!Ba(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!e.children[r]||!py(e.children[r],n.children[r],t))return!1;return!0}function NT(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>dy(e[t],n[t]))}function gy(e,n,t){return my(e,n,n.segments,t)}function my(e,n,t,r){if(e.segments.length>t.length){let o=e.segments.slice(0,t.length);
vendor: 10,876 bytes, line 5
5return!(!Zn(o,t)||n.hasChildren()||!Ba(o,t,r))}else if(e.segments.length===t.length){if(!Zn(e.segments,t)||!Ba(e.segments,t,r))return!1;for(let o in n.children)if(!e.children[o]||!gy(e.children[o],n.children[o],r))return!1;return!0}else{let o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!Zn(e.segments,o)||!Ba(e.segments,o,r)||!e.children[N]?!1:my(e.children[N],n,i,r)}}function Ba(e,n,t){return n.every((r,o)=>hy[t](e[o].parameters,r.parameters))}var Ce=class{root;queryParams;fragment;_queryParamMap;constructor(n=new L([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap??=Yn(this.queryParams),this._queryParamMap}toString(){return xT.serialize(this)}},L=class{segments;children;parent=null;constructor(n,t){this.segments=n,this.children=t,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Va(this)}},on=class{path;parameters;_parameterMap;constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap??=Yn(this.parameters),this._parameterMap}toString(){return vy(this)}};function RT(e,n){return Zn(e,n)&&e.every((t,r)=>dt(t.parameters,n[r].parameters))}function Zn(e,n){return e.length!==n.length?!1:e.every((t,r)=>t.path===n[r].path)}function AT(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===N&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==N&&(t=t.concat(n(o,r)))}),t}var Gr=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>new sn,providedIn:"root"})}return e})(),sn=class{parse(n){let t=new $d(n);return new Ce(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){let t=`/${ei(n.root,!0)}`,r=PT(n.queryParams),o=typeof n.fragment=="string"?`#${OT(n.fragment)}`:"";return`${t}${r}${o}`}},xT=new sn;function Va(e){return e.segments.map(n=>vy(n)).join("/")}function ei(e,n){if(!e.hasChildren())return Va(e);if(n){let t=e.children[N]?ei(e.children[N],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==N&&r.push(`${o}:${ei(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}else{let t=AT(e,(r,o)=>o===N?[ei(e.children[N],!1)]:[`${o}:${ei(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[N]!=null?`${Va(e)}/${t[0]}`:`${Va(e)}/(${t.join("//")})`}}function yy(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ja(e){return yy(e).replace(/%3B/gi,";")}function OT(e){return encodeURI(e)}function Hd(e){return yy(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ha(e){return decodeURIComponent(e)}function oy(e){return Ha(e.replace(/\+/g,"%20"))}function vy(e){return`${Hd(e.path)}${kT(e.parameters)}`}function kT(e){return Object.entries(e).map(([n,t])=>`;${Hd(n)}=${Hd(t)}`).join("")}function PT(e){let n=Object.entries(e).map(([t,r])=>Array.isArray(r)?r.map(o=>`${ja(t)}=${ja(o)}`).join("&"):`${ja(t)}=${ja(r)}`).filter(t=>t);return n.length?`?${n.join("&")}`:""}var FT=/^[^\/()?;#]+/;function Fd(e){let n=e.match(FT);return n?n[0]:""}var LT=/^[^\/()?;=#]+/;function jT(e){let n=e.match(LT);return n?n[0]:""}var UT=/^[^=?&#]+/;function BT(e){let n=e.match(UT);return n?n[0]:""}var VT=/^[^&#]+/;function HT(e){let n=e.match(VT);return n?n[0]:""}var $d=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new L([],{}):new L([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new y(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,n));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,n)),(t.length>0||Object.keys(r).length>0)&&(o[N]=new L(t,r)),o}parseSegment(){let n=Fd(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new y(4009,!1);return this.capture(n),new on(Ha(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let t=jT(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let o=Fd(this.remaining);o&&(r=o,this.capture(r))}n[Ha(t)]=Ha(r)}parseQueryParam(n){let t=BT(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){let s=HT(this.remaining);s&&(r=s,this.capture(r))}let o=oy(t),i=oy(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n,t){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=Fd(this.remaining),i=this.remaining[o.length];if(i!=="/"&&i!==")"&&i!==";")throw new y(4010,!1);let s;o.indexOf(":")>-1?(s=o.slice(0,o.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=N);let a=this.parseChildren(t+1);r[s??N]=Object.keys(a).length===1&&a[N]?a[N]:new L([],a),this.consumeOptional("//")}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new y(4011,!1)}};function Dy(e){return e.segments.length>0?new L([],{[N]:e}):e}function Ey(e){let n={};for(let[r,o]of Object.entries(e.children)){let i=Ey(o);if(r===N&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let t=new L(e.segments,n);return $T(t)}function $T(e){if(e.numberOfChildren===1&&e.children[N]){let n=e.children[N];return new L(e.segments.concat(n.segments),n.children)}return e}function an(e){return e instanceof Ce}function Cy(e,n,t=null,r=null,o=new sn){let i=wy(e);return Iy(i,n,t,r,o)}function wy(e){let n;function t(i){let s={};for(let c of i.children){let u=t(c);s[c.outlet]=u}let a=new L(i.url,s);return i===e&&(n=a),a}let r=t(e.root),o=Dy(r);return n??o}function Iy(e,n,t,r,o){let i=e;for(;i.parent;)i=i.parent;if(n.length===0)return Ld(i,i,i,t,r,o);let s=zT(n);if(s.toRoot())return Ld(i,i,new L([],{}),t,r,o);let a=GT(s,i,e),c=a.processChildren?ni(a.segmentGroup,a.index,s.commands):Ty(a.segmentGroup,a.index,s.commands);return Ld(i,a.segmentGroup,c,t,r,o)}function za(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function si(e){return typeof e=="object"&&e!=null&&e.outlets}function iy(e,n,t){e||="\u0275";let r=new Ce;return r.queryParams={[e]:n},t.parse(t.serialize(r)).queryParams[e]}function Ld(e,n,t,r,o,i){let s={};for(let[u,l]of Object.entries(r??{}))s[u]=Array.isArray(l)?l.map(d=>iy(u,d,i)):iy(u,l,i);let a;e===n?a=t:a=by(e,n,t);let c=Dy(Ey(a));return new Ce(c,s,o)}function by(e,n,t){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===n?r[o]=t:r[o]=by(i,n,t)}),new L(e.segments,r)}var Ga=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&za(r[0]))throw new y(4003,!1);let o=r.find(si);if(o&&o!==ST(r))throw new y(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function zT(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Ga(!0,0,e);let n=0,t=!1,r=e.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?t=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Ga(t,n,r)}var jr=class{segmentGroup;processChildren;index;constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}};function GT(e,n,t){if(e.isAbsolute)return new jr(n,!0,0);if(!t)return new jr(n,!1,NaN);if(t.parent===null)return new jr(t,!0,0);let r=za(e.commands[0])?0:1,o=t.segments.length-1+r;return WT(t,o,e.numberOfDoubleDots)}function WT(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new y(4005,!1);o=r.segments.length}return new jr(r,!1,o-i)}function qT(e){return si(e[0])?e[0].outlets:{[N]:e}}function Ty(e,n,t){if(e??=new L([],{}),e.segments.length===0&&e.hasChildren())return ni(e,n,t);let r=ZT(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new L(e.segments.slice(0,r.pathIndex),{});return i.children[N]=new L(e.segments.slice(r.pathIndex),e.children),ni(i,0,o)}else return r.match&&o.length===0?new L(e.segments,{}):r.match&&!e.hasChildren()?zd(e,n,t):r.match?ni(e,0,o):zd(e,n,t)}function ni(e,n,t){if(t.length===0)return new L(e.segments,{});{let r=qT(t),o={};if(Object.keys(r).some(i=>i!==N)&&e.children[N]&&e.numberOfChildren===1&&e.children[N].segments.length===0){let i=ni(e.children[N],n,t);return new L(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Ty(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new L(e.segments,o)}}function ZT(e,n,t){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=t.length)return i;let s=e.segments[o],a=t[r];if(si(a))break;let c=`${a}`,u=r<t.length-1?t[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!ay(c,u,s))return i;r+=2}else{if(!ay(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function zd(e,n,t){let r=e.segments.slice(0,n),o=0;for(;o<t.length;){let i=t[o];if(si(i)){let c=YT(i.outlets);return new L(r,c)}if(o===0&&za(t[0])){let c=e.segments[n];r.push(new on(c.path,sy(t[0]))),o++;continue}let s=si(i)?i.outlets[N]:`${i}`,a=o<t.length-1?t[o+1]:null;s&&a&&za(a)?(r.push(new on(s,sy(a))),o+=2):(r.push(new on(s,{})),o++)}return new L(r,{})}function YT(e){let n={};return Object.entries(e).forEach(([t,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(n[t]=zd(new L([],{}),0,r))}),n}function sy(e){let n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function ay(e,n,t){return e==t.path&&dt(n,t.parameters)}var ri="imperative",re=(function(e){return e[e.NavigationStart=0]="NavigationStart",e[e.NavigationEnd=1]="NavigationEnd",e[e.NavigationCancel=2]="NavigationCancel",e[e.NavigationError=3]="NavigationError",e[e.RoutesRecognized=4]="RoutesRecognized",e[e.Re
5solveStart=5]="ResolveStart",e[e.ResolveEnd=6]="ResolveEnd",e[e.GuardsCheckStart=7]="GuardsCheckStart",e[e.GuardsCheckEnd=8]="GuardsCheckEnd",e[e.RouteConfigLoadStart=9]="RouteConfigLoadStart",e[e.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",e[e.ChildActivationStart=11]="ChildActivationStart",e[e.ChildActivationEnd=12]="ChildActivationEnd",e[e.ActivationStart=13]="ActivationStart",e[e.ActivationEnd=14]="ActivationEnd",e[e.Scroll=15]="Scroll",e[e.NavigationSkipped=16]="NavigationSkipped",e})(re||{}),Ae=class{id;url;constructor(n,t){this.id=n,this.url=t}},Qn=class extends Ae{type=re.NavigationStart;navigationTrigger;restoredState;constructor(n,t,r="imperative",o=null){super(n,t),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},tt=class extends Ae{urlAfterRedirects;type=re.NavigationEnd;constructor(n,t,r){super(n,t),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ge=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(ge||{}),ai=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(ai||{}),Ue=class extends Ae{reason;code;type=re.NavigationCancel;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function Sy(e){return e instanceof Ue&&(e.code===ge.Redirect||e.code===ge.SupersededByNewNavigation)}var Ot=class extends Ae{reason;code;type=re.NavigationSkipped;constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o}},Kn=class extends Ae{error;target;type=re.NavigationError;constructor(n,t,r,o){super(n,t),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},ci=class extends Ae{urlAfterRedirects;state;type=re.RoutesRecognized;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wa=class extends Ae{urlAfterRedirects;state;type=re.GuardsCheckStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qa=class extends Ae{urlAfterRedirects;state;shouldActivate;type=re.GuardsCheckEnd;constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Za=class extends Ae{urlAfterRedirects;state;type=re.ResolveStart;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ya=class extends Ae{urlAfterRedirects;state;type=re.ResolveEnd;constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Qa=class{route;type=re.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ka=class{route;type=re.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ja=class{snapshot;type=re.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xa=class{snapshot;type=re.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ec=class{snapshot;type=re.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},tc=class{snapshot;type=re.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Br=class{},ui=class{},Vr=class{url;navigationBehaviorOptions;constructor(n,t){this.url=n,this.navigationBehaviorOptions=t}};function QT(e){return!(e instanceof Br)&&!(e instanceof Vr)&&!(e instanceof ui)}var nc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new Wr(this.rootInjector)}},Wr=(()=>{class e{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,r){let o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){let r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new nc(this.rootInjector),this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(r){return new(r||e)(T(q))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),rc=class{_root;constructor(n){this._root=n}get root(){return this._root.value}
vendor: 21,003 bytes, line 5
5parent(n){let t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){let t=Gd(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){let t=Gd(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){let t=Wd(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Wd(n,this._root).map(t=>t.value)}};function Gd(e,n){if(e===n.value)return n;for(let t of n.children){let r=Gd(e,t);if(r)return r}return null}function Wd(e,n){if(e===n.value)return[n];for(let t of n.children){let r=Wd(e,t);if(r.length)return r.unshift(n),r}return[]}var Re=class{value;children;constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}};function Lr(e){let n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}var li=class extends rc{snapshot;constructor(n,t){super(n),this.snapshot=t,rf(this,n)}toString(){return this.snapshot.toString()}};function _y(e,n){let t=KT(e,n),r=new se([new on("",{})]),o=new se({}),i=new se({}),s=new se({}),a=new se(""),c=new kt(r,o,s,a,i,N,e,t.root);return c.snapshot=t.root,new li(new Re(c,[]),t)}function KT(e,n){let t={},r={},o={},s=new Hr([],t,o,"",r,N,e,null,{},n);return new di("",new Re(s,[]))}var kt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,t,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(P(u=>u[pi]))??S(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(P(n=>Yn(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(P(n=>Yn(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function nf(e,n,t="emptyOnly"){let r,{routeConfig:o}=e;return n!==null&&(t==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:m(m({},n.params),e.params),data:m(m({},n.data),e.data),resolve:m(m(m(m({},e.data),n.data),o?.data),e._resolvedData)}:r={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&Ny(o)&&(r.resolve[pi]=o.title),r}var Hr=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[pi]}constructor(n,t,r,o,i,s,a,c,u,l){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u,this._environmentInjector=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Yn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Yn(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${t}')`}},di=class extends rc{url;constructor(n,t){super(t),this.url=n,rf(this,t)}toString(){return My(this._root)}};function rf(e,n){n.value._routerState=e,n.children.forEach(t=>rf(e,t))}function My(e){let n=e.children.length>0?` { ${e.children.map(My).join(", ")} } `:"";return`${e.value}${n}`}function jd(e){if(e.snapshot){let n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,dt(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),dt(n.params,t.params)||e.paramsSubject.next(t.params),TT(n.url,t.url)||e.urlSubject.next(t.url),dt(n.data,t.data)||e.dataSubject.next(t.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function qd(e,n){let t=dt(e.params,n.params)&&RT(e.url,n.url),r=!e.parent!=!n.parent;return t&&!r&&(!e.parent||qd(e.parent,n.parent))}function Ny(e){return typeof e.title=="string"||e.title===null}var Ry=new D(""),of=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=N;activateEvents=new fe;deactivateEvents=new fe;attachEvents=new fe;detachEvents=new fe;routerOutletData=Rm();parentContexts=p(Wr);location=p(tn);changeDetector=p(Gn);inputBinder=p(ac,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new y(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new y(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new y(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new y(4013,!1);this._activatedRoute=t;let o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Zd(t,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=Nt({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Xt]})}return e})(),Zd=class{route;childContexts;parent;outletData;constructor(n,t,r,o){this.route=n,this.childContexts=t,this.parent=r,this.outletData=o}get(n,t){return n===kt?this.route:n===Wr?this.childContexts:n===Ry?this.outletData:this.parent.get(n,t)}},ac=new D("");var sf=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Un({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&ya(0,"router-outlet")},dependencies:[of],encapsulation:2})}return e})();function af(e){let n=e.children&&e.children.map(af),t=n?O(m({},e),{children:n}):m({},e);return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==N&&(t.component=sf),t}function JT(e,n,t){let r=fi(e,n._root,t?t._root:void 0);return new li(r,n)}function fi(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){let r=t.value;r._futureSnapshot=n.value;let o=XT(e,n,t);return new Re(r,o)}else{if(e.shouldAttach(n.value)){let i=e.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>fi(e,a)),s}}let r=eS(n.value),o=n.children.map(i=>fi(e,i));return new Re(r,o)}}function XT(e,n,t){return n.children.map(r=>{for(let o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return fi(e,r,o);return fi(e,r)})}function eS(e){return new kt(new se(e.url),new se(e.params),new se(e.queryParams),new se(e.fragment),new se(e.data),e.outlet,e.component,e)}var $r=class{redirectTo;navigationBehaviorOptions;constructor(n,t){this.redirectTo=n,this.navigationBehaviorOptions=t}},Ay="ngNavigationCancelingError";function oc(e,n){let{redirectTo:t,navigationBehaviorOptions:r}=an(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=xy(!1,ge.Redirect);return o.url=t,o.navigationBehaviorOptions=r,o}function xy(e,n){let t=new Error(`NavigationCancelingError: ${e||""}`);return t[Ay]=!0,t.cancellationCode=n,t}function tS(e){return Oy(e)&&an(e.url)}function Oy(e){return!!e&&e[Ay]}var Yd=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),jd(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){let o=Lr(t);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Lr(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){let r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Lr(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){let o=Lr(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new tc(i.value.snapshot))}),n.children.length&&this.forwardEvent(new Xa(n.value.snapshot))}activateRoutes(n,t,r){let o=n.value,i=t?t.value:null;if(jd(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),jd(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},ic=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Ur=class{component;route;constructor(n,t){this.component=n,this.route=t}};function nS(e,n,t){let r=e._root,o=n?n._root:null;return ti(r,o,t,[r.value])}function rS(e){let n=e.routeConfig?e.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:e,guards:n}}function qr(e,n){let t=Symbol(),r=n.get(e,t);return r===t?typeof e=="function"&&!Jc(e)?e:n.get(e):r}function ti(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Lr(n);return e.children.forEach(s=>{oS(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>oi(a,t.getContext(s),o)),o}function oS(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=iS(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ic(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ti(e,n,a?a.children:null,r,o):ti(e,n,t,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ur(a.outlet.component,s))}else s&&oi(n,a,o),o.canActivateChecks.push(new ic(r)),i.component?ti(e,null,a?a.children:null,r,o):ti(e,null,t,r,o);return o}function iS(e,n,t){if(typeof t=="function")return ne(n._environmentInjector,()=>t(e,n));switch(t){case"pathParamsChange":return!Zn(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Zn(e.url,n.url)||!dt(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!qd(e,n)||!dt(e.queryParams,n.queryParams);default:return!qd(e,n)}}function oi(e,n,t){let r=Lr(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?n?oi(s,n.children.getContext(i),t):oi(s,null,t):oi(s,n,t)}),o.component?n&&n.outlet&&n.outlet.isActivated?t.canDeactivateChecks.push(new Ur(n.outlet.component,o)):t.canDeactivateChecks.push(new Ur(null,o)):t.canDeactivateChecks.push(new Ur(null,o))}function gi(e){return typeof e=="function"}function sS(e){return typeof e=="boolean"}function aS(e){return e&&gi(e.canLoad)}function cS(e){return e&&gi(e.canActivate)}function uS(e){return e&&gi(e.canActivateChild)}function lS(e){return e&&gi(e.canDeactivate)}function dS(e){return e&&gi(e.canMatch)}function ky(e){return e instanceof ft||e?.name==="EmptyError"}var Ua=Symbol("INITIAL_VALUE");function zr(){return de(e=>Oc(e.map(n=>n.pipe(Ie(1),Fc(Ua)))).pipe(P(n=>{for(let t of n)if(t!==!0){if(t===Ua)return Ua;if(t===!1||fS(t))return t}return!0}),xe(n=>n!==Ua),Ie(1)))}function fS(e){return an(e)||e instanceof $r}function Py(e){return e.aborted?S(void 0).pipe(Ie(1)):new x(n=>{let t=()=>{n.next(),n.complete()};return e.addEventListener("abort",t),()=>e.removeEventListener("abort",t)})}function Fy(e){return En(Py(e))}function hS(e){return le(n=>{let{targetSnapshot:t,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=n;return i.length===0&&o.length===0?S(O(m({},n),{guardsResult:!0})):pS(i,t,r).pipe(le(s=>s&&sS(s)?gS(t,o,e):S(s)),P(s=>O(m({},n),{guardsResult:s})))})}function pS(e,n,t){return K(e).pipe(le(r=>ES(r.component,r.route,t,n)),gt(r=>r!==!0,!0))}function gS(e,n,t){return K(n).pipe(pt(r=>ht(yS(r.route.parent,t),mS(r.route,t),DS(e,r.path),vS(e,r.route))),gt(r=>r!==!0,!0))}function mS(e,n){return e!==null&&n&&n(new ec(e)),S(!0)}function yS(e,n){return e!==null&&n&&n(new Ja(e)),S(!0)}function vS(e,n){let t=n.routeConfig?n.routeConfig.canActivate:null;if(!t||t.length===0)return S(!0);let r=t.map(o=>Ut(()=>{let i=n._environmentInjector,s=qr(o,i),a=cS(s)?s.canActivate(n,e):ne(i,()=>s(n,e));return Jn(a).pipe(gt())}));return S(r).pipe(zr())}function DS(e,n){let t=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(i=>rS(i)).filter(i=>i!==null).map(i=>Ut(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,u=qr(a,c),l=uS(u)?u.canActivateChild(t,e):ne(c,()=>u(t,e));return Jn(l).pipe(gt())});return S(s).pipe(zr())}));return S(o).pipe(zr())}function ES(e,n,t,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return S(!0);let i=o.map(s=>{let a=n._environmentInjector,c=qr(s,a),u=lS(c)?c.canDeactivate(e,n,t,r):ne(a,()=>c(e,n,t,r));return Jn(u).pipe(gt())});return S(i).pipe(zr())}function CS(e,n,t,r,o){let i=n.canLoad;if(i===void 0||i.length===0)return S(!0);let s=i.map(a=>{let c=qr(a,e),u=aS(c)?c.canLoad(n,t):ne(e,()=>c(n,t)),l=Jn(u);return o?l.pipe(Fy(o)):l});return S(s).pipe(zr(),Ly(r))}function Ly(e){return Nc(Oe(n=>{if(typeof n!="boolean")throw oc(e,n)}),P(n=>n===!0))}function wS(e,n,t,r,o,i){let s=n.canMatch;if(!s||s.length===0)return S(!0);let a=s.map(c=>{let u=qr(c,e),l=dS(u)?u.canMatch(n,t,o):ne(e,()=>u(n,t,o));return Jn(l).pipe(Fy(i))});return S(a).pipe(zr(),Ly(r))}var xt=class e extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,e.prototype)}},hi=class e extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,e.prototype)}};function IS(e){throw new y(4e3,!1)}function bS(e){throw xy(!1,ge.GuardRejected)}var Qd=class{urlSerializer;urlTree;constructor(n,t){this.urlSerializer=n,this.urlTree=t}async lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[N])throw IS(`${n.redirectTo}`);o=o.children[N]}}async applyRedirectCommands(n,t,r,o,i){let s=await TS(t,o,i);if(s instanceof Ce)throw new hi(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new hi(a);return a}applyRedirectCreateUrlTree(n,t,r,o){let i=this.createSegmentGroup(n,t.root,r,o);return new Ce(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){let i=this.createSegments(n,t.segments,r,o),s={};return Object.entries(t.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new L(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){let o=r[t.path.substring(1)];if(!o)throw new y(4001,!1);return o}findOrReturn(n,t){let r=0;for(let o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}};function TS(e,n,t){if(typeof e=="string")return Promise.resolve(e);let r=e;return $a(Jn(ne(t,()=>r(n))))}function SS(e,n){return e.providers&&!e._injector&&(e._injector=zo(e.providers,n,`Route: ${e.path}`)),e._injector??n}function et(e){return e.outlet||N}function _S(e,n){let t=e.filter(r=>et(r)===n);return t.push(...e.filter(r=>et(r)!==n)),t}var Kd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function jy(e){return{routeConfig:e.routeConfig,url:e.url,params:e.params,queryParams:e.queryParams,fragment:e.fragment,data:e.data,outlet:e.outlet,title:e.title,paramMap:e.paramMap,queryParamMap:e.queryParamMap}}function MS(e,n,t,r,o,i,s){let a=Uy(e,n,t);if(!a.matched)return S(a);let c=jy(i(a));return r=SS(n,r),wS(r,n,t,o,c,s).pipe(P(u=>u===!0?a:m({},Kd)))}function Uy(e,n,t){if(n.path==="")return n.pathMatch==="full"&&(e.hasChildren()||t.length>0)?m({},Kd):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let o=(n.matcher||ly)(t,e,n);if(!o)return m({},Kd);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?m(m({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function cy(e,n,t,r,o){return t.length>0&&AS(e,t,r,o)?{segmentGroup:new L(n,RS(r,new L(t,e.children))),slicedSegments:[]}:t.length===0&&xS(e,t,r)?{segmentGroup:new L(e.segments,NS(e,t,r,e.children)),slicedSegments:t}:{segmentGroup:new L(e.segments,e.children),slicedSegments:t}}function NS(e,n,t,r){let o={};for(let i of t)if(cc(e,n,i)&&!r[et(i)]){let s=new L([],{});o[et(i)]=s}return m(m({},r),o)}function RS(e,n){let t={};t[N]=n;for(let r of e)if(r.path===""&&et(r)!==N){let o=new L([],{});t[et(r)]=o}return t}function AS(e,n,t,r){return t.some(o=>!cc(e,n,o)||!(et(o)!==N)?!1:!(r!==void 0&&et(o)===r))}function xS(e,n,t){return t.some(r=>cc(e,n,r))}function cc(e,n,t){return(e.hasChildren()||n.length>0)&&t.pathMatch==="full"?!1:t.path===""}function OS(e,n,t){return n.length===0&&!e.children[t]}var Jd=class{};async function kS(e,n,t,r,o,i,s="emptyOnly",a){return new Xd(e,n,t,r,o,s,i,a).recognize()}var PS=31,Xd=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,t,r,o,i,s,a,c){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer
5=a,this.abortSignal=c,this.applyRedirects=new Qd(this.urlSerializer,this.urlTree)}noMatchError(n){return new y(4002,`'${n.segmentGroup}'`)}async recognize(){let n=cy(this.urlTree.root,[],[],this.config).segmentGroup,{children:t,rootSnapshot:r}=await this.match(n),o=new Re(r,t),i=new di("",o),s=Cy(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}async match(n){let t=new Hr([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),N,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,N,t),rootSnapshot:t}}catch(r){if(r instanceof hi)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof xt?this.noMatchError(r):r}}async processSegmentGroup(n,t,r,o,i){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,t,r,i);let s=await this.processSegment(n,t,r,r.segments,o,!0,i);return s instanceof Re?[s]:[]}async processChildren(n,t,r,o){let i=[];for(let c of Object.keys(r.children))c==="primary"?i.unshift(c):i.push(c);let s=[];for(let c of i){let u=r.children[c],l=_S(t,c),d=await this.processSegmentGroup(n,l,u,c,o);s.push(...d)}let a=By(s);return FS(a),a}async processSegment(n,t,r,o,i,s,a){for(let c of t)try{return await this.processSegmentAgainstRoute(c._injector??n,t,c,r,o,i,s,a)}catch(u){if(u instanceof xt||ky(u))continue;throw u}if(OS(r,o,i))return new Jd;throw new xt(r)}async processSegmentAgainstRoute(n,t,r,o,i,s,a,c){if(et(r)!==s&&(s===N||!cc(o,i,r)))throw new xt(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s,c);throw new xt(o)}async expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=Uy(t,o,i);if(!c)throw new xt(t);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>PS&&(this.allowRedirects=!1));let h=this.createSnapshot(n,o,i,u,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let g=await this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,jy(h),n),w=await this.applyRedirects.lineralizeSegments(o,g);return this.processSegment(n,r,t,w.concat(f),s,!1,a)}createSnapshot(n,t,r,o,i){let s=new Hr(r,o,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,jS(t),et(t),t.component??t._loadedComponent??null,t,US(t),n),a=nf(s,i,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}async matchSegmentAgainstRoute(n,t,r,o,i,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=me=>this.createSnapshot(n,r,me.consumedSegments,me.parameters,s),c=await $a(MS(t,r,o,n,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(t.children={}),!c?.matched)throw new xt(t);n=r._injector??n;let{routes:u}=await this.getChildConfig(n,r,o),l=r._loadedInjector??n,{parameters:d,consumedSegments:f,remainingSegments:h}=c,g=this.createSnapshot(n,r,f,d,s),{segmentGroup:w,slicedSegments:E}=cy(t,f,h,u,i);if(E.length===0&&w.hasChildren()){let me=await this.processChildren(l,u,w,g);return new Re(g,me)}if(u.length===0&&E.length===0)return new Re(g,[]);let b=et(r)===i,V=await this.processSegment(l,u,w,E,b?N:i,!0,g);return new Re(g,V instanceof Re?[V]:[])}async getChildConfig(n,t,r){if(t.children)return{routes:t.children,injector:n};if(t.loadChildren){if(t._loadedRoutes!==void 0){let i=t._loadedNgModuleFactory;return i&&!t._loadedInjector&&(t._loadedInjector=i.create(n).injector),{routes:t._loadedRoutes,injector:t._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await $a(CS(n,t,r,this.urlSerializer,this.abortSignal))){let i=await this.configLoader.loadChildren(n,t);return t._loadedRoutes=i.routes,t._loadedInjector=i.injector,t._loadedNgModuleFactory=i.factory,i}throw bS(t)}return{routes:[],injector:n}}};function FS(e){e.sort((n,t)=>n.value.outlet===N?-1:t.value.outlet===N?1:n.value.outlet.localeCompare(t.value.outlet))}function LS(e){let n=e.value.routeConfig;return n&&n.path===""}function By(e){let n=[],t=new Set;for(let r of e){if(!LS(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),t.add(o)):n.push(r)}for(let r of t){let o=By(r.children);n.push(new Re(r.value,o))}return n.filter(r=>!t.has(r))}function jS(e){return e.data||{}}function US(e){return e.resolve||{}}
vendor: 3,104 bytes, line 5
5function BS(e,n,t,r,o,i,s){return le(async a=>{let{state:c,tree:u}=await kS(e,n,t,r,a.extractedUrl,o,i,s);return O(m({},a),{targetSnapshot:c,urlAfterRedirects:u})})}function VS(e){return le(n=>{let{targetSnapshot:t,guards:{canActivateChecks:r}}=n;if(!r.length)return S(n);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of Vy(a))i.add(c);let s=0;return K(i).pipe(pt(a=>o.has(a)?HS(a,t,e):(a.data=nf(a,a.parent,e).resolve,S(void 0))),Oe(()=>s++),Wi(1),le(a=>s===i.size?S(n):ae))})}function Vy(e){let n=e.children.map(t=>Vy(t)).flat();return[e,...n]}function HS(e,n,t){let r=e.routeConfig,o=e._resolve;return r?.title!==void 0&&!Ny(r)&&(o[pi]=r.title),Ut(()=>(e.data=nf(e,e.parent,t).resolve,$S(o,e,n).pipe(P(i=>(e._resolvedData=i,e.data=m(m({},e.data),i),null)))))}function $S(e,n,t){let r=Bd(e);if(r.length===0)return S({});let o={};return K(r).pipe(le(i=>zS(e[i],n,t).pipe(gt(),Oe(s=>{if(s instanceof $r)throw oc(new sn,s);o[i]=s}))),Wi(1),P(()=>o),cr(i=>ky(i)?ae:xc(i)))}function zS(e,n,t){let r=n._environmentInjector,o=qr(e,r),i=o.resolve?o.resolve(n,t):ne(r,()=>o(n,t));return Jn(i)}function uy(e){return de(n=>{let t=e(n);return t?K(t).pipe(P(()=>n)):S(n)})}var cf=(()=>{class e{buildTitle(t){let r,o=t.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===N);return r}getResolvedTitleForRoute(t){return t.data[pi]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(Hy),providedIn:"root"})}return e})(),Hy=(()=>{class e extends cf{title;constructor(t){super(),this.title=t}updateTitle(t){let r=this.buildTitle(t);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(T(ry))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Zr=new D("",{factory:()=>({})}),mi=new D(""),$y=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(vd);async loadComponent(t,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await fy(ne(t,()=>r.loadComponent())),s=await Wy(Gy(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}})();return this.componentLoaders.set(r,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await zy(r,this.compiler,t,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}})();return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();async function zy(e,n,t,r){let o=await fy(ne(t,()=>
5e.loadChildren())),i=await Wy(Gy(o)),s;i instanceof ha||Array.isArray(i)?s=i:s=await n.compileModuleAsync(i),r&&r(e);let a,c,u=!1,l;return Array.isArray(s)?(c=s,u=!0):(a=s.create(t).injector,l=s,c=a.get(mi,[],{optional:!0,self:!0}).flat()),{routes:c.map(af),injector:a,factory:l}}function GS(e){return e&&typeof e=="object"&&"default"in e}function Gy(e){return GS(e)?e.default:e}async function Wy(e){return e}var uc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(WS),providedIn:"root"})}return e})(),WS=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),qy=new D("");var qS=()=>{},Zy=new D(""),Yy=(()=>{class e{currentNavigation=G(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=G(null);events=new H;transitionAbortWithErrorSubject=new H;configLoader=p($y);environmentInjector=p(q);destroyRef=p(pe);urlSerializer=p(Gr);rootContexts=p(Wr);location=p(Or);inputBindingEnabled=p(ac,{optional:!0})!==null;titleStrategy=p(cf);options=p(Zr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(uc);createViewTransition=p(qy,{optional:!0});navigationErrorHandler=p(Zy,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>S(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=o=>this.events.next(new Qa(o)),r=o=>this.events.next(new Ka(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let r=++this.navigationId;Z(()=>{this.transitions?.next(O(m({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(t){return this.transitions=new se(null),this.transitions.pipe(xe(r=>r!==null),de(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return S(r).pipe(de(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",ge.SupersededByNewNavigation),ae;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?O(m({},c),{previousNavigation:null}):null,abort:()=>i.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let u=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=a.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!u&&l!=="reload")return this.events.next(new Ot(a.id,this.urlSerializer.serialize(a.rawUrl),"",ai.IgnoredSameUrlNavigation)),a.resolve(!1),ae;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return S(a).pipe(de(d=>(this.events.next(new Qn(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?ae:Promise.resolve(d))),BS(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),Oe(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(f=>(f.finalUrl=d.urlAfterRedirects,f)),this.events.next(new ui)}),de(d=>K(r.routesRecognizeHandler.deferredHandle??S(void 0)).pipe(P(()=>d))),Oe(()=>{let d=new ci(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:f,source:h,restoredState:g,extras:w}=a,E=new Qn(d,this.urlSerializer.serialize(f),h,g);this.events.next(E);let b=_y(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=O(m({}
5,a),{targetSnapshot:b,urlAfterRedirects:f,extras:O(m({},w),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(V=>(V.finalUrl=f,V)),S(r)}else return this.events.next(new Ot(a.id,this.urlSerializer.serialize(a.extractedUrl),"",ai.IgnoredByUrlHandlingStrategy)),a.resolve(!1),ae}),P(a=>{let c=new Wa(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=O(m({},a),{guards:nS(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),hS(a=>this.events.next(a)),de(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw oc(this.urlSerializer,a.guardsResult);let c=new qa(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return ae;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",ge.GuardRejected),ae;if(a.guards.canActivateChecks.length===0)return S(a);let u=new Za(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(u),!s())return ae;let l=!1;return S(a).pipe(VS(this.paramsInheritanceStrategy),Oe({next:()=>{l=!0;let d=new Ya(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{l||this.cancelNavigationTransition(a,"",ge.NoDataFromResolver)}}))}),uy(a=>{let c=l=>{let d=[];if(l.routeConfig?._loadedComponent)l.component=l.routeConfig?._loadedComponent;else if(l.routeConfig?.loadComponent){let f=l._environmentInjector;d.push(this.configLoader.loadComponent(f,l.routeConfig).then(h=>{l.component=h}))}for(let f of l.children)d.push(...c(f));return d},u=c(a.targetSnapshot.root);return u.length===0?S(a):K(Promise.all(u).then(()=>a))}),uy(()=>this.afterPreactivation()),de(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,u=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return u?K(u).pipe(P(()=>r)):S(r)}),Ie(1),de(a=>{let c=JT(t.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=O(m({},a),{targetRouterState:c}),this.currentNavigation.update(l=>(l.targetRouterState=c,l)),this.events.next(new Br);let u=r.beforeActivateHandler.deferredHandle;return u?K(u.then(()=>a)):S(a)}),Oe(a=>{new Yd(t.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(o=!0,this.currentNavigation.update(c=>(c.abort=qS,c)),this.lastSuccessfulNavigation.set(Z(this.currentNavigation)),this.events.next(new tt(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),En(Py(i.signal).pipe(xe(()=>!o&&!r.targetRouterState),Oe(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",ge.Aborted)}))),Oe({complete:()=>{o=!0}}),En(this.transitionAbortWithErrorSubject.pipe(Oe(a=>{throw a}))),so(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",ge.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),cr(a=>{if(o=!0,this.destroyed)return r.resolve(!1),ae;if(Oy(a))this.events.next(new Ue(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),tS(a)?this.events.next(new Vr(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new Kn(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let u=ne(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(u instanceof $r){let{message:l,cancellationCode:d}=oc(this.urlSerializer,u);this.events.next(new Ue(r.id,this.urlSerializer.serialize(r.extractedUrl),l,d)),this.events.next(new Vr(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(u){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(u)}}return ae}))}))}cancelNavigationTransition(t,r,o){let i=new Ue(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=Z(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return t.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ZS(e){return e!==ri}var Qy=new D("");var Ky=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(YS),providedIn:"root"})}return e})(),sc=class{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}
5shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}shouldDestroyInjector(n){return!0}},YS=(()=>{class e extends sc{static \u0275fac=(()=>{let t;return function(o){return(t||(t=Tt(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lc=(()=>{class e{urlSerializer=p(Gr);options=p(Zr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(Or);urlHandlingStrategy=p(uc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new Ce;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:r,targetBrowserUrl:o}){let i=t!==void 0?this.urlHandlingStrategy.merge(t,r):r,s=o??i;return s instanceof Ce?this.urlSerializer.serialize(s):s}routerUrlState(t){return t?.targetBrowserUrl===void 0||t?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(t.finalUrl)}}commitTransition({targetRouterState:t,finalUrl:r,initialUrl:o}){r&&t?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=t):this.rawUrlTree=o}routerState=_y(null,p(q));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>p(QS),providedIn:"root"})}return e})(),QS=(()=>{class e extends lc{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{t(r.url,r.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(t,r){t instanceof Qn?this.updateStateMemento():t instanceof Ot?this.commitTransition(r):t instanceof ci?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof Br?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):t instanceof Ue&&!Sy(t)?this.restoreHistory(r):t instanceof Kn?this.restoreHistory(r,!0):t instanceof tt&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,r){let{extras:o,id:i}=r,{replaceUrl:s,state:a}=o;if(this.location.isCurrentPathEqualTo(t)||s){let c=this.browserPageId,u=m(m({},a),this.generateNgRouterState(i,c,r));this.location.replaceState(t,"",u)}else{let c=m(m({},a),this.generateNgRouterState(i,this.browserPageId+1,r));this.location.go(t,"",c)}}restoreHistory(t,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===t.finalUrl&&i===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r,o){return this.canceledNavigationResolution==="computed"?m({navigationId:t,\u0275routerPageId:r},this.routerUrlState(o)):m({navigationId:t},this.routerUrlState(o))}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Tt(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function uf(e,n){e.events.pipe(xe(t=>t instanceof tt||t instanceof Ue||t instanceof Kn||t instanceof Ot),P(t=>t instanceof tt||t instanceof Ot?0:(t instanceof Ue?t.code===ge.Redirect||t.code===ge.SupersededByNewNavigation:!1)?2:1),xe(t=>t!==2),Ie(1)).subscribe(()=>{n()})}var Xn=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(ga);stateManager=p(lc);options=p(Zr,{optional:!0})||{};pendingTasks=p(It);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(Yy);
5urlSerializer=p(Gr);location=p(Or);urlHandlingStrategy=p(uc);injector=p(q);_events=new H;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(Ky);injectorCleanup=p(Qy,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(mi,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(ac,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new oe;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=Z(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Ue&&r.code!==ge.Redirect&&r.code!==ge.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof tt)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof Vr){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=m({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||ZS(o.source)},s);this.scheduleNavigation(a,ri,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}QT(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),ri,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,r,o,i)=>{this.navigateToSyncWithBrowser(t,o,r,i)})}navigateToSyncWithBrowser(t,r,o,i){let s=o?.navigationId?o:null,a=o?.\u0275routerUrl??t;if(o?.\u0275routerUrl&&(i=O(m({},i),{browserUrl:t})),o){let u=m({},o);delete u.navigationId,delete u.\u0275routerPageId,delete u.\u0275routerUrl,Object.keys(u).length!==0&&(i.state=u)}let c=this.parseUrl(a);this.scheduleNavigation(c,r,s,i).catch(u=>{this.disposed||this.injector.get(Ne)(u)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Z(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(af),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,u=c?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=m(m({},this.currentUrlTree.queryParams),i);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=i||null}l!==null&&(l=this.removeEmptyProps(l));let d;try{let f=o?o.snapshot:this.routerState.snapshot.root;d=wy(f)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),d=this.currentUrlTree.root}return Iy(d,t,l,u??null,this.urlSerializer)}navigateByUrl(t,r={skipLocationChange:!1}){let o=an(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ri,null,r)}navigate(t,r={skipLocationChange:!1}){return KS(t),this.navigateByUrl(this.createUrlTree(t,r),r)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.console.warn(ot(4018,!1)),this.urlSerializer.parse("/")}}isActive(t,r){let o;if(r===!0?o=m({},ef):r===!1?o=m({},ii):o=m(m({},ii),r),an(t))return Vd(this.currentUrlTree,t,o);let i=this.parseUrl(t);return Vd(this.currentUrlTree,i,o)}removeEmptyProps(t){return Object.entries(t).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,u;s?(a=s.resolve,c=s.reject,u=s.promise):u=new Promise((d,f)=>{a=d,c=f});let l=this.pendingTasks.add();return uf(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}
5),u.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function KS(e){for(let n=0;n<e.length;n++)if(e[n]==null)throw new y(4008,!1)}var XS=(()=>{class e{router=p(Xn);stateManager=p(lc);fragment=G("");queryParams=G({});path=G("");serializer=p(Gr);constructor(){this.updateState(),this.router.events?.subscribe(t=>{t instanceof tt&&this.updateState()})}updateState(){let{fragment:t,root:r,queryParams:o}=this.stateManager.getCurrentUrlTree();this.fragment.set(t),this.queryParams.set(o),this.path.set(this.serializer.serialize(new Ce(r)))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),dc=(()=>{class e{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=p(new Ta("href"),{optional:!0});reactiveHref=Dd(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return Z(this.reactiveHref)}set href(t){this.reactiveHref.set(t)}set target(t){this._target.set(t)}get target(){return Z(this._target)}_target=G(void 0);set queryParams(t){this._queryParams.set(t)}get queryParams(){return Z(this._queryParams)}_queryParams=G(void 0,{equal:()=>!1});set fragment(t){this._fragment.set(t)}get fragment(){return Z(this._fragment)}_fragment=G(void 0);set queryParamsHandling(t){this._queryParamsHandling.set(t)}get queryParamsHandling(){return Z(this._queryParamsHandling)}_queryParamsHandling=G(void 0);set state(t){this._state.set(t)}get state(){return Z(this._state)}_state=G(void 0,{equal:()=>!1});set info(t){this._info.set(t)}get info(){return Z(this._info)}_info=G(void 0,{equal:()=>!1});set relativeTo(t){this._relativeTo.set(t)}get relativeTo(){return Z(this._relativeTo)}_relativeTo=G(void 0);set preserveFragment(t){this._preserveFragment.set(t)}get preserveFragment(){return Z(this._preserveFragment)}_preserveFragment=G(!1);set skipLocationChange(t){this._skipLocationChange.set(t)}get skipLocationChange(){return Z(this._skipLocationChange)}_skipLocationChange=G(!1);set replaceUrl(t){this._replaceUrl.set(t)}get replaceUrl(){return Z(this._replaceUrl)}_replaceUrl=G(!1);isAnchorElement;onChanges=new H;applicationErrorHandler=p(Ne);options=p(Zr,{optional:!0});reactiveRouterState=p(XS);constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.onChanges.next(this)}routerLinkInput=G(null);set routerLink(t){t==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(an(t)?this.routerLinkInput.set(t):this.routerLinkInput.set(Array.isArray(t)?t:[t]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(t,r,o,i,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(t!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(u=>{this.applicationErrorHandler(u)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(t,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,t,r):o.removeAttribute(i,t)}_urlTree=zn(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let t=o=>o==="preserve"||o==="merge";(t(this._queryParamsHandling())||t(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:an(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(t,r)=>this.computeHref(t)===this.computeHref(r)});get urlTree(){return Z(this._urlTree)}computeHref(t){return t!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(t))??"":null}
5static \u0275fac=function(r){return new(r||e)(Ee(Xn),Ee(kt),ko("tabindex"),Ee($o),Ee(ut),Ee(xr))};static \u0275dir=Nt({type:e,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&va("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&Vn("href",o.reactiveHref(),$l)("target",o._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Sa],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Sa],replaceUrl:[2,"replaceUrl","replaceUrl",Sa],routerLink:"routerLink"},features:[Xt]})}return e})(),e_=(()=>{class e{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new fe;link=p(dc,{optional:!0});constructor(t,r,o,i){this.router=t,this.element=r,this.renderer=o,this.cdr=i,this.routerEventsSubscription=t.events.subscribe(s=>{s instanceof tt&&this.update()})}ngAfterContentInit(){S(this.links.changes,S(null)).pipe(ar()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let t=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=K(t).pipe(ar()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(t){let r=Array.isArray(t)?t:t.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(t){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let t=this.hasActiveLinks();this.classes.forEach(r=>{t?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),t&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==t&&(this._isActive=t,this.cdr.markForCheck(),this.isActiveChange.emit(t))})}isLinkActive(t){let r=t_(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?m({},ef):m({},ii);return o=>{let i=o.urlTree;return i?Z(tf(i,t,r)):!1}}hasActiveLinks(){let t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}static \u0275fac=function(r){return new(r||e)(Ee(Xn),Ee(ut),Ee($o),Ee(Gn))};static \u0275dir=Nt({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if
5(r&1&&Da(i,dc,5),r&2){let s;gd(s=md())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[Xt]})}return e})();function t_(e){let n=e;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var n_=new D("");function r_(e,...n){return yt([{provide:mi,multi:!0,useValue:e},[],{provide:kt,useFactory:o_},{provide:ma,multi:!0,useFactory:i_},n.map(t=>t.\u0275providers)])}function o_(){return p(Xn).routerState.root}function i_(){let e=p(he);return n=>{let t=e.get(Bn);if(n!==t.components[0])return;let r=e.get(Xn),o=e.get(s_);e.get(a_)===1&&r.initialNavigation(),e.get(c_,null,{optional:!0})?.setUpPreloading(),e.get(n_,null,{optional:!0})?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var s_=new D("",{factory:()=>new H}),a_=new D("",{factory:()=>1});var c_=new D("");var Di=class{},u_=(()=>{class e{handle(t){return t.key}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Yr=class{},l_=(()=>{class e extends Yr{compile(t,r){return t}compileTranslations(t,r){return t}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Tt(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Qr=class{},d_=(()=>{class e extends Qr{getTranslation(t){return S({})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Tt(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();
5function fc(e,n){if(e===n)return!0;if(e===null||n===null)return!1;if(e!==e&&n!==n)return!0;let t=typeof e,r=typeof n,o;if(t==r&&t=="object")if(Array.isArray(e)){if(!Array.isArray(n))return!1;if((o=e.length)==n.length){for(let i=0;i<o;i++)if(!fc(e[i],n[i]))return!1;return!0}}else{if(Array.isArray(n))return!1;if(Pt(e)&&Pt(n)){let i=Object.create(null);for(let s in e){if(!fc(e[s],n[s]))return!1;i[s]=!0}for(let s in n)if(!(s in i)&&typeof n[s]<"u")return!1;return!0}}return!1}function cn(e){return typeof e<"u"&&e!==null}function Jy(e){return e!==void 0}function Pt(e){return vi(e)&&!er(e)&&e!==null}function vi(e){return typeof e=="object"&&e!==null}function er(e){return Array.isArray(e)}function hc(e){return typeof e=="string"}function f_(e){return typeof e=="function"}function pc(e){if(er(e))return e.map(n=>pc(n));if(Pt(e)){let n={};return Object.keys(e).forEach(t=>{n[t]=pc(e[t])}),n}else return e}function hf(e,n){if(!vi(e))return pc(n);let t=pc(e);return vi(t)&&vi(n)&&Object.keys(n).forEach(r=>{Pt(n[r])?r in e?t[r]=hf(e[r],n[r]):Object.assign(t,{[r]:n[r]}):Object.assign(t,{[r]:n[r]})}),t}function ev(e,n){let t=n.split(".");n="";do{n+=t.shift();let r=!t.length;if(cn(e)){if(Pt(e)&&Jy(e[n])&&(Pt(e[n])||er(e[n])||r)){e=e[n],n="";continue}if(er(e)){let o=parseInt(n,10);if(Jy(e[o])&&(Pt(e[o])||er(e[o])||r)){e=e[o],n="";continue}}}if(r){e=void 0;continue}n+="."}while(t.length);return e}function h_(e,n,t){return hf(e,p_(n,t))}function p_(e,n){return e.split(".").reduceRight((t,r)=>({[r]:t}),n)}var Kr=class{},g_=(()=>{class e extends Kr{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(t,r){if(hc(t))return this.interpolateString(t,r);if(f_(t))return this.interpolateFunction(t,r)}interpolateFunction(t,r){return t(r)}interpolateString(t,r){return r?t.replace(this.templateMatcher,(o,i)=>{let s=this.getInterpolationReplacement(r,i);return s!==void 0?s:o}):t}getInterpolationReplacement(t,r){return this.formatValue(ev(t,r))}formatValue(t){if(hc(t))return t;if(typeof t=="number"||typeof t=="boolean")return t.toString();if(t===null)return"null";if(er(t))return t.join(", ");if(vi(t))return typeof t.toString=="function"&&t.toString!==Object.prototype.toString?t.toString():JSON.stringify(t)}static \u0275fac=(()=>{let t;return function(o){return(t||(t=Tt(e)))(o||e)}})();static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),lf=(()=>{class e{_onTranslationChange=new H;_onLangChange=new H;_onFallbackLangChange=new H;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(t){return this.translations[t]}setTranslations(t,r,o){this.translations[t]=o&&this.hasTranslationFor(t)?hf(this.translations[t],r):r,this.addLanguages([t]),this._onTranslationChange.next({lang:t,translations:this.getTranslations(t)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(t,r=!0){this.fallbackLang=t,r&&this._onFallbackLangChange.next({lang:t,translations:this.translations[t]})}setCurrentLang(t,r=!0){this.currentLang=t,r&&this._onLangChange.next({lang:t,translations:this.translations[t]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(t){this.languages=Array.from(new Set([...this.languages,...t]))}hasTranslationFor(t){return typeof this.translations[t]<"u"}deleteTranslations(t){delete this.translations[t]}getTranslation(t){let r=this.getValue(this.currentLang,t);return r===void 0&&this.fallbackLang!=null&&this.fallbackLang!==this.currentLang&&(r=this.getValue(this.fallbackLang,t)),r}getValue(t,r){return ev(this.getTranslations(t),r)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),df=new D("TRANSLATE_CONFIG"),yi=e=>$e(e)?e:S(e);var ff=(()=>{class e{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=p(Qr);compiler=p(Yr);parser=p(Kr);missingTranslationHandler=p(Di);store=p(lf);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){let t=m({extend:!1,fallbackLang:null},p(df,{optional:!0}));t.lang&&this.use(t.lang),t.fallbackLang&&this.setFallbackLang(t.fallbackLang),t.extend&&(this.extend=!0)}setFallbackLang(t){this.getFallbackLang()||this.store.setFallbackLang(t,!1);let r=this.loadOrExtendLanguage(t);return $e(r)?(r.pipe(Ie(1)).subscribe({next:()=>{this.store.setFallbackLang(t)},error:()=>{}}),r):(this.store.setFallbackLang(t),S(this.store.getTranslations(t)))}use(t){this.lastUseLanguage=t,this.getCurrentLang()||this.store.setCurrentLang(t,!1);let r=this.loadOrExtendLanguage(t);return $e(r)?(r.pipe(Ie(1)).subscribe({next:()=>{this.changeLang(t)},error:()=>{}}),r):(this.changeLang(t),S(this.store.getTranslations(t)))}loadOrExtendLanguage(t){if(!this.store.hasTranslationFor(t)||this.extend)return this._translationRequests[t]=this._translationRequests[t]||this.loadAndCompileTranslations(t),this._translationRequests[t]}changeLang(t){t===this.lastUseLanguage&&this.store.setCurrentLang(t)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(t){this.pending=!0;let r=this.currentLoader.getTranslation(t).pipe(qi(1),Ie(1));return this.loadingTranslations=r.pipe(P(o=>this.compiler.compileTranslations(o,t)),qi(1),Ie(1)),this.loadingTranslations.subscribe({next:o=>{this.store.setTranslations(t,o,this.extend),this.pending=!1},error:o=>{this.pending=!1}}),r}setTranslation(t,r,o=!1){let i=this.compiler.compileTranslations(r,t);this.store.setTranslations(t,i,o||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(t){this.store.addLanguages(t)}getParsedResultForKey(t,r){let o=this.getTextToInterpolate(t);if(cn(o))return this.runInterpolation(o,r);let i=this.missingTranslationHandler.handle(m({key:t,translateService:this},r!==void 0&&{interpolateParams:r}));return i!==void 0?i:t}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(t){return this.store.getTranslation(t)}runInterpolation(t,r){if(cn(t))return er(t)?this.runInterpolationOnArray(t,r):Pt(t)?this.runInterpolationOnDict(t,r):this.parser.interpolate(t,r)}runInterpolationOnArray(t,r){return t.map(o=>this.runInterpolation(o,r))}runInterpolationOnDict(t,r){let o={};for(let i in t){let s=this.runInterpolation(t[i],r);s!==void 0&&(o[i]=s)}return o}getParsedResult(t,r){return t instanceof Array?this.getParsedResultForArray(t,r):this.getParsedResultForKey(t,r)}getParsedResultForArray(t,r){let o={},i=!1;for(let a of t)o[a]=this.getParsedResultForKey(a,r),i=i||$e(o[a]);if(!i)return o;let s=t.map(a=>yi(o[a]));return kc(s).pipe(P(a=>{let c={};return a.forEach((u,l)=>{c[t[l]]=u}),c}))}get(t,r){if(!cn(t)||!t.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(pt(()=>yi(this.getParsedResult(t,r)))):yi(this.getParsedResult(t,r))}getStreamOnTranslationChange(t,r){if(!cn(t)||!t.length)throw new Error('Parameter "key" is required and cannot be empty');return ht(Ut(()=>this.get(t,r)),this.onTranslationChange.pipe(de(()=>{let o=this.getParsedResult(t,r);return yi(o)})))}stream(t,r){if(!cn(t)||!t.length)throw new Error('Parameter "key" required');return ht(Ut(()=>this.get(t,r)),this.onLangChange.pipe(de(()=>{let o=this.getParsedResult(t,r);return yi(o)})))}instant(t,r){if(!cn(t)||t.length===0)throw new Error('Parameter "key" is required and cannot be empty');let o=this.getParsedResult(t,r);return $e(o)?Array.isArray(t)?t.reduce((i,s)=>(i[s]=s,i),{}):t:o}set(t,r,o=this.getCurrentLang()){this.store.setTranslations(o,h_(this.store.getTranslations(o),t,hc(r)?this.compiler.compile(r,o):this.compiler.compileTranslations(r,o)),!1)}reloadLang(t){return this.resetLang(t),this.loadAndCompileTranslations(t)}resetLang(t){delete this._translationRequests[t],this.store.deleteTranslations(t)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let t=this.getBrowserCultureLang();return t?t.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return e.getBrowserLang()}getBrowserCultureLang(){return e.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(t){return this.setFallbackLang(t)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();var i$=(()=>{class e{translate=p(ff);_ref=p(Gn);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;
5updateValue(t,r,o){let i=s=>{this.value=s!==void 0?s:t,this.lastKey=t,this._ref.markForCheck()};if(o){let s=this.translate.getParsedResult(t,r);$e(s)?s.subscribe(i):i(s)}this.translate.get(t,r).subscribe(i)}transform(t,...r){if(!t||!t.length)return t;if(fc(t,this.lastKey)&&fc(r,this.lastParams))return this.value;let o;if(cn(r[0])&&r.length)if(hc(r[0])&&r[0].length){let i=r[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{o=JSON.parse(i)}catch(s){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${r[0]}`)}}else Pt(r[0])&&(o=r[0]);return this.lastKey=t,this.lastParams=r,this.updateValue(t,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(i=>{(this.lastKey&&i.lang===this.translate.getCurrentLang()||i.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(t,o,i.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(i=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,o,i.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(t,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=pa({name:"translate",type:e,pure:!1});static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();function m_(e){return{provide:Qr,useClass:e}}function y_(e){return{provide:Yr,useClass:e}}function v_(e){return{provide:Kr,useClass:e}}function D_(e){return{provide:Di,useClass:e}}function Xy(e={},n){let t=[];e.loader&&t.push(e.loader),e.compiler&&t.push(e.compiler),e.parser&&t.push(e.parser),e.missingTranslationHandler&&t.push(e.missingTranslationHandler),n&&t.push(lf),(e.useDefaultLang||e.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),e.useDefaultLang===!0&&e.defaultLanguage&&(e.fallbackLang=e.defaultLanguage));let r={fallbackLang:e.fallbackLang??null,lang:e.lang,extend:e.extend??!1};return t.push({provide:df,useValue:r}),t.push({provide:ff,useClass:ff,deps:[lf,Qr,Yr,Kr,Di,df]}),t}var s$=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[...Xy(m({compiler:y_(l_),parser:v_(g_),loader:m_(d_),missingTranslationHandler:D_(u_)},t),!0)]}}static forChild(t={}){return{ngModule:e,providers:[...Xy(t,t.isolate??!1)]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=Mt({type:e});static \u0275inj=it({})}return e})();function g$(e){e||(e=p(pe));let n=new x(t=>{if(e.destroyed){t.next();return}return e.onDestroy(t.next.bind(t))});return t=>t.pipe(En(n))}function m$(e,n){let r=!n?.manualCleanup?n?.injector?.get(pe)??p(pe):null,o=E_(n?.equal),i;n?.requireSync?i=G({kind:0},{equal:o}):i=G({kind:1,value:n?.initialValue},{equal:o});let s,a=e.subscribe({next:c=>i.set({kind:1,value:c}),error:c=>{i.set({kind:2,error:c}),s?.()},complete:()=>{s?.()}});if(n?.requireSync&&i().kind===0)throw new y(601,!1);return s=r?.onDestroy(a.unsubscribe.bind(a)),zn(()=>{let c=i();switch(c.kind){case 1:return c.value;case 2:throw c.error;case 0:throw new y(601,!1)}},{equal:n?.equal})}function E_(e=Object.is){return(n,t)=>n.kind===1&&t.kind===1&&e(n.value,t.value)}var tv=class e{cover=!1;mobileWebp;tabletWebp;desktopWebp;alt="";loading="lazy";static \u0275fac=function(t){return new(t||e)};static \u0275cmp=Un({type:e,selectors:[["app-responsive-image"]],inputs:{cover:"cover",mobileWebp:"mobileWebp",tabletWebp:"tabletWebp",desktopWebp:"desktopWebp",alt:"alt",loading:"loading"},decls:4,vars:7,consts:[["media","(min-width: 960px)","type","image/webp",3,"srcset"],["media","(min-width: 640px)","type","image/webp",3,"srcset"],[3,"src","alt","loading"]],template:function(t,r){t&1&&(Hn(0,"picture"),Nr(1,"source",0)(2,"source",1)(3,"img",2),$n()),t&2&&(Ca("cover",r.cover),Ln(),Rr("srcset",r.desktopWebp),Ln(),Rr("srcset",r.tabletWebp),Ln(),Rr("src",r.mobileWebp,sa)("alt",r.alt)("loading",r.loading))},dependencies:[_a],styles:["[_nghost-%COMP%]{display:block;width:100%;height:auto;border-radius:var(--radius-s)}picture[_ngcontent-%COMP%]{display:block;width:100%;height:auto;border-radius:var(--radius-s)}picture[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;width:100%;height:auto;border-radius:var(--radius-s)}picture.cover[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:auto;object-fit:cover;border-radius:var(--radius-s)}"]})};var nv=class e{direction="right";size=20;strokeWidth=1.25;get rotation(){switch(this.direction){case"left":return"rotate(180deg)";case"up":return"rotate(-90deg)";case"down":return"rotate(90deg)";default:return"rotate(0deg)"}}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=Un({type:e,selectors:[["app-icon-arrow"]],inputs:{direction:"direction",size:"size",strokeWidth:"strokeWidth"},decls:2,vars:5,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","fill","none"],["d","M11.1735 14.4083L15.8777 9.70417L11.1735 5M15.8777 9.70417L3.33325 9.70416","stroke","currentColor","stroke-linecap","round","stroke-linejoin","round"]],template:function(t,r){t&1&&(Is(),Hn(0,"svg",0),Nr(1,"path",1),$n()),t&2&&(Ea("transform",r.rotation),Vn("width",r.size)("height",r.size),Ln(),Vn("stroke-width",r.strokeWidth))},styles:["[_nghost-%COMP%]{display:inline-flex;align-items:center;justify-content:center}svg[_ngcontent-%COMP%]{transition:transform .2s ease}"]})};var w$=[{id:"s1",heroImage:"assets/images/actions/amazon/hero.webp",gallery:["assets/images/actions/amazon/1.webp","assets/images/actions/amazon/2.webp","assets/images/actions/amazon/3.webp"]},{id:"s2",heroImage:"assets/images/actions/wetlands/hero.webp",gallery:["assets/images/actions/wetlands/1.webp","assets/images/actions/wetlands/2.webp"]},{id:"s3",heroImage:"assets/images/actions/wetlands/hero.webp",gallery:["assets/images/actions/wetlands/1.webp","assets/images/actions/wetlands/2.webp"]},{id:"s4",heroImage:"assets/images/actions/wetlands/hero.webp",gallery:["assets/images/actions/wetlands/1.webp","assets/images/actions/wetlands/2.webp"]},{id:"s5",heroImage:"assets/images/actions/wetlands/hero.webp",gallery:["assets/images/actions/wetlands/1.webp","assets/images/actions/wetlands/2.webp"]}];export{m as a,O as b,S as c,Mv as d,P as e,cr as f,v as g,D as h,T as i,p as j,fh as k,Sh as l,_h as m,Is as n,Uh as o,pe as p,mD as q,G as r,zu as s,ut as t,sa as u,lg as v,PE as w,FE as x,Ln as y,Ee as z,Un as A,Nt as B,nm as C,rm as D,qw as E,Zw as F,Yw as G,Qw as H,Kw as I,sm as J,Js as K,fd as L,ya as M,Hn as N,$n as O,Nr as P,cm as Q,rI as R,Rr as S,va as T,lm as U,sI as V,cI as W,uI as X,dI as Y,Ea as Z,Ca as _,wI as $,OI as aa,Dm as ba,yd as ca,FI as da,LI as ea,jI as fa,UI as ga,VI as ha,$I as ia,GI as ja,zn as ka,Uj as la,Rm as ma,xb as na,_a as oa,qb as pa,xd as qa,ty as ra,ET as sa,CT as ta,wT as ua,kt as va,of as wa,Xn as xa,dc as ya,e_ as za,r_ as Aa,Qr as Ba,ff as Ca,i$ as Da,s$ as Ea,g$ as Fa,m$ as Ga,tv as Ha,nv as Ia,w$ as Ja};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.