-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain-A7VWEEXO.js
7 lines (7 loc) · 210 KB
/
main-A7VWEEXO.js
1
2
3
4
5
6
7
var ph=Object.defineProperty,gh=Object.defineProperties;var mh=Object.getOwnPropertyDescriptors;var pc=Object.getOwnPropertySymbols;var vh=Object.prototype.hasOwnProperty,yh=Object.prototype.propertyIsEnumerable;var gc=(e,t,n)=>t in e?ph(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||={})vh.call(t,n)&&gc(e,n,t[n]);if(pc)for(var n of pc(t))yh.call(t,n)&&gc(e,n,t[n]);return e},$=(e,t)=>gh(e,mh(t));var ii=null;var oi=1,mc=Symbol("SIGNAL");function P(e){let t=ii;return ii=e,t}function vc(){return ii}var si={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Dh(e){if(!(di(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===oi)){if(!e.producerMustRecompute(e)&&!ci(e)){e.dirty=!1,e.lastCleanEpoch=oi;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=oi}}function ai(e){return e&&(e.nextProducerIndex=0),P(e)}function yc(e,t){if(P(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(di(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)li(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ci(e){fi(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Dh(n),r!==n.version))return!0}return!1}function ui(e){if(fi(e),di(e))for(let t=0;t<e.producerNode.length;t++)li(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function li(e,t){if(wh(e),e.liveConsumerNode.length===1&&Ch(e))for(let r=0;r<e.producerNode.length;r++)li(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];fi(o),o.producerIndexOfThis[r]=t}}function di(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function fi(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function wh(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Ch(e){return e.producerNode!==void 0}function Ih(){throw new Error}var Eh=Ih;function Dc(e){Eh=e}function w(e){return typeof e=="function"}function Pt(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var gr=Pt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
`)}`:"",this.name="UnsubscriptionError",this.errors=n});function In(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var H=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(w(r))try{r()}catch(i){t=i instanceof gr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{wc(i)}catch(s){t=t??[],s instanceof gr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new gr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)wc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&In(n,t)}remove(t){let{_finalizers:n}=this;n&&In(n,t),t instanceof e&&t._removeParent(this)}};H.EMPTY=(()=>{let e=new H;return e.closed=!0,e})();var hi=H.EMPTY;function mr(e){return e instanceof H||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function wc(e){w(e)?e():e.unsubscribe()}var we={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ft={setTimeout(e,t,...n){let{delegate:r}=Ft;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ft;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function vr(e){Ft.setTimeout(()=>{let{onUnhandledError:t}=we;if(t)t(e);else throw e})}function En(){}var Cc=pi("C",void 0,void 0);function Ic(e){return pi("E",void 0,e)}function Ec(e){return pi("N",e,void 0)}function pi(e,t,n){return{kind:e,value:t,error:n}}var ut=null;function kt(e){if(we.useDeprecatedSynchronousErrorHandling){let t=!ut;if(t&&(ut={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ut;if(ut=null,n)throw r}}else e()}function bc(e){we.useDeprecatedSynchronousErrorHandling&&ut&&(ut.errorThrown=!0,ut.error=e)}var lt=class extends H{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,mr(t)&&t.add(this)):this.destination=Mh}static create(t,n,r){return new Lt(t,n,r)}next(t){this.isStopped?mi(Ec(t),this):this._next(t)}error(t){this.isStopped?mi(Ic(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?mi(Cc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},bh=Function.prototype.bind;function gi(e,t){return bh.call(e,t)}var vi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){yr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){yr(r)}else yr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){yr(n)}}},Lt=class extends lt{constructor(t,n,r){super();let o;if(w(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&we.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&gi(t.next,i),error:t.error&&gi(t.error,i),complete:t.complete&&gi(t.complete,i)}):o=t}this.destination=new vi(o)}};function yr(e){we.useDeprecatedSynchronousErrorHandling?bc(e):vr(e)}function Sh(e){throw e}function mi(e,t){let{onStoppedNotification:n}=we;n&&Ft.setTimeout(()=>n(e,t))}var Mh={closed:!0,next:En,error:Sh,complete:En};var jt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ce(e){return e}function yi(...e){return Di(e)}function Di(e){return e.length===0?ce:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var k=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=_h(n)?n:new Lt(n,r,o);return kt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=Sc(r),new r((o,i)=>{let s=new Lt({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[jt](){return this}pipe(...n){return Di(n)(this)}toPromise(n){return n=Sc(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Sc(e){var t;return(t=e??we.Promise)!==null&&t!==void 0?t:Promise}function xh(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function _h(e){return e&&e instanceof lt||xh(e)&&mr(e)}function wi(e){return w(e?.lift)}function R(e){return t=>{if(wi(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function O(e,t,n,r,o){return new Ci(e,t,n,r,o)}var Ci=class extends lt{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Vt(){return R((e,t)=>{let n=null;e._refCount++;let r=O(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Bt=class extends k{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,wi(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new H;let n=this.getSubject();t.add(this.source.subscribe(O(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=H.EMPTY)}return t}refCount(){return Vt()(this)}};var Mc=Pt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var X=(()=>{class e extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Dr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Mc}next(n){kt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){kt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){kt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?hi:(this.currentObservers=null,i.push(n),new H(()=>{this.currentObservers=null,In(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new k;return n.source=this,n}}return e.create=(t,n)=>new Dr(t,n),e})(),Dr=class extends X{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:hi}};var Z=class extends X{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var ue=new k(e=>e.complete());function xc(e){return e&&w(e.schedule)}function _c(e){return e[e.length-1]}function Tc(e){return w(_c(e))?e.pop():void 0}function Je(e){return xc(_c(e))?e.pop():void 0}function Ac(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=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,t||[])).next())})}function Nc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(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(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function dt(e){return this instanceof dt?(this.v=e,this):new dt(e)}function Rc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),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(f){return function(g){return Promise.resolve(g).then(f,d)}}function a(f,g){r[f]&&(o[f]=function(b){return new Promise(function(j,B){i.push([f,b,j,B])>1||c(f,b)})},g&&(o[f]=g(o[f])))}function c(f,g){try{u(r[f](g))}catch(b){h(i[0][3],b)}}function u(f){f.value instanceof dt?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,g){f(g),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Oc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof Nc=="function"?Nc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,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 wr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Cr(e){return w(e?.then)}function Ir(e){return w(e[jt])}function Er(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function br(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 Th(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Sr=Th();function Mr(e){return w(e?.[Sr])}function xr(e){return Rc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield dt(n.read());if(o)return yield dt(void 0);yield yield dt(r)}}finally{n.releaseLock()}})}function _r(e){return w(e?.getReader)}function W(e){if(e instanceof k)return e;if(e!=null){if(Ir(e))return Nh(e);if(wr(e))return Ah(e);if(Cr(e))return Rh(e);if(Er(e))return Pc(e);if(Mr(e))return Oh(e);if(_r(e))return Ph(e)}throw br(e)}function Nh(e){return new k(t=>{let n=e[jt]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Ah(e){return new k(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Rh(e){return new k(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,vr)})}function Oh(e){return new k(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Pc(e){return new k(t=>{Fh(e,t).catch(n=>t.error(n))})}function Ph(e){return Pc(xr(e))}function Fh(e,t){var n,r,o,i;return Ac(this,void 0,void 0,function*(){try{for(n=Oc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function se(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Tr(e,t=0){return R((n,r)=>{n.subscribe(O(r,o=>se(r,e,()=>r.next(o),t),()=>se(r,e,()=>r.complete(),t),o=>se(r,e,()=>r.error(o),t)))})}function Nr(e,t=0){return R((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Fc(e,t){return W(e).pipe(Nr(t),Tr(t))}function kc(e,t){return W(e).pipe(Nr(t),Tr(t))}function Lc(e,t){return new k(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function jc(e,t){return new k(n=>{let r;return se(n,t,()=>{r=e[Sr](),se(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>w(r?.return)&&r.return()})}function Ar(e,t){if(!e)throw new Error("Iterable cannot be null");return new k(n=>{se(n,t,()=>{let r=e[Symbol.asyncIterator]();se(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Vc(e,t){return Ar(xr(e),t)}function Bc(e,t){if(e!=null){if(Ir(e))return Fc(e,t);if(wr(e))return Lc(e,t);if(Cr(e))return kc(e,t);if(Er(e))return Ar(e,t);if(Mr(e))return jc(e,t);if(_r(e))return Vc(e,t)}throw br(e)}function G(e,t){return t?Bc(e,t):W(e)}function C(...e){let t=Je(e);return G(e,t)}function $t(e,t){let n=w(e)?e:()=>e,r=o=>o.error(n());return new k(t?o=>t.schedule(r,0,o):r)}function Ii(e){return!!e&&(e instanceof k||w(e.lift)&&w(e.subscribe))}var $e=Pt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function T(e,t){return R((n,r)=>{let o=0;n.subscribe(O(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:kh}=Array;function Lh(e,t){return kh(t)?e(...t):e(t)}function $c(e){return T(t=>Lh(e,t))}var{isArray:jh}=Array,{getPrototypeOf:Vh,prototype:Bh,keys:$h}=Object;function Uc(e){if(e.length===1){let t=e[0];if(jh(t))return{args:t,keys:null};if(Uh(t)){let n=$h(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Uh(e){return e&&typeof e=="object"&&Vh(e)===Bh}function Hc(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Rr(...e){let t=Je(e),n=Tc(e),{args:r,keys:o}=Uc(e);if(r.length===0)return G([],t);let i=new k(Hh(r,t,o?s=>Hc(o,s):ce));return n?i.pipe($c(n)):i}function Hh(e,t,n=ce){return r=>{zc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)zc(t,()=>{let u=G(e[c],t),l=!1;u.subscribe(O(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function zc(e,t,n){e?se(n,e,t):t()}function Gc(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=b=>u<r?g(b):c.push(b),g=b=>{i&&t.next(b),u++;let j=!1;W(n(b,l++)).subscribe(O(t,B=>{o?.(B),i?f(B):t.next(B)},()=>{j=!0},void 0,()=>{if(j)try{for(u--;c.length&&u<r;){let B=c.shift();s?se(t,s,()=>g(B)):g(B)}h()}catch(B){t.error(B)}}))};return e.subscribe(O(t,f,()=>{d=!0,h()})),()=>{a?.()}}function q(e,t,n=1/0){return w(t)?q((r,o)=>T((i,s)=>t(r,i,o,s))(W(e(r,o))),n):(typeof t=="number"&&(n=t),R((r,o)=>Gc(r,o,e,n)))}function Ei(e=1/0){return q(ce,e)}function qc(){return Ei(1)}function Ut(...e){return qc()(G(e,Je(e)))}function Or(e){return new k(t=>{W(e()).subscribe(t)})}function Ce(e,t){return R((n,r)=>{let o=0;n.subscribe(O(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Xe(e){return R((t,n)=>{let r=null,o=!1,i;r=t.subscribe(O(n,void 0,void 0,s=>{i=W(e(s,Xe(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Wc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(O(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function Ht(e,t){return w(t)?q(e,t,1):q(e,1)}function et(e){return R((t,n)=>{let r=!1;t.subscribe(O(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Ue(e){return e<=0?()=>ue:R((t,n)=>{let r=0;t.subscribe(O(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function bi(e){return T(()=>e)}function Pr(e=zh){return R((t,n)=>{let r=!1;t.subscribe(O(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function zh(){return new $e}function bn(e){return R((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ae(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ce((o,i)=>e(o,i,r)):ce,Ue(1),n?et(t):Pr(()=>new $e))}function zt(e){return e<=0?()=>ue:R((t,n)=>{let r=[];t.subscribe(O(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Si(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ce((o,i)=>e(o,i,r)):ce,zt(1),n?et(t):Pr(()=>new $e))}function Mi(e,t){return R(Wc(e,t,arguments.length>=2,!0))}function xi(...e){let t=Je(e);return R((n,r)=>{(t?Ut(e,n,t):Ut(e,n)).subscribe(r)})}function Ie(e,t){return R((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(O(r,c=>{o?.unsubscribe();let u=0,l=i++;W(e(c,l)).subscribe(o=O(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function _i(e){return R((t,n)=>{W(e).subscribe(O(n,()=>n.complete(),En)),!n.closed&&t.subscribe(n)})}function Q(e,t,n){let r=w(e)||t||n?{next:e,error:t,complete:n}:e;return r?R((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(O(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)}))}):ce}var Au="https://g.co/ng/security#xss",v=class extends Error{constructor(t,n){super(_s(t,n)),this.code=t}};function _s(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}function ho(e){return{toString:e}.toString()}var Fr="__parameters__";function Gh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Ru(e,t,n){return ho(()=>{let r=Gh(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(Fr)?c[Fr]:Object.defineProperty(c,Fr,{value:[]})[Fr];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function L(e){for(let t in e)if(e[t]===L)return t;throw Error("Could not find renamed property on target object.")}function te(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(te).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
`);return n===-1?t:t.substring(0,n)}function Bi(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var qh=L({__forward_ref__:L});function Ou(e){return e.__forward_ref__=Ou,e.toString=function(){return te(this())},e}function he(e){return Pu(e)?e():e}function Pu(e){return typeof e=="function"&&e.hasOwnProperty(qh)&&e.__forward_ref__===Ou}function D(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function po(e){return Zc(e,ku)||Zc(e,Lu)}function Fu(e){return po(e)!==null}function Zc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Wh(e){let t=e&&(e[ku]||e[Lu]);return t||null}function Qc(e){return e&&(e.hasOwnProperty(Yc)||e.hasOwnProperty(Zh))?e[Yc]:null}var ku=L({\u0275prov:L}),Yc=L({\u0275inj:L}),Lu=L({ngInjectableDef:L}),Zh=L({ngInjectorDef:L}),S=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=D({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ju(e){return e&&!!e.\u0275providers}var Qh=L({\u0275cmp:L}),Yh=L({\u0275dir:L}),Kh=L({\u0275pipe:L}),Jh=L({\u0275mod:L}),Hr=L({\u0275fac:L}),xn=L({__NG_ELEMENT_ID__:L}),Kc=L({__NG_ENV_ID__:L});function Ts(e){return typeof e=="string"?e:e==null?"":String(e)}function Xh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ts(e)}function ep(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new v(-200,e)}function Ns(e,t){throw new v(-201,!1)}var M=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(M||{}),$i;function Vu(){return $i}function fe(e){let t=$i;return $i=e,t}function Bu(e,t,n){let r=po(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&M.Optional)return null;if(t!==void 0)return t;Ns(e,"Injector")}var tp={},_n=tp,Ui="__NG_DI_FLAG__",zr="ngTempTokenPath",np="ngTokenPath",rp=/\n/gm,op="\u0275",Jc="__source",Zt;function ip(){return Zt}function tt(e){let t=Zt;return Zt=e,t}function sp(e,t=M.Default){if(Zt===void 0)throw new v(-203,!1);return Zt===null?Bu(e,void 0,t):Zt.get(e,t&M.Optional?null:void 0,t)}function A(e,t=M.Default){return(Vu()||sp)(he(e),t)}function p(e,t=M.Default){return A(e,go(t))}function go(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Hi(e){let t=[];for(let n=0;n<e.length;n++){let r=he(e[n]);if(Array.isArray(r)){if(r.length===0)throw new v(900,!1);let o,i=M.Default;for(let s=0;s<r.length;s++){let a=r[s],c=ap(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(A(o,i))}else t.push(A(r))}return t}function $u(e,t){return e[Ui]=t,e.prototype[Ui]=t,e}function ap(e){return e[Ui]}function cp(e,t,n,r){let o=e[zr];throw t[Jc]&&o.unshift(t[Jc]),e.message=up(`
`+e.message,o,n,r),e[np]=o,e[zr]=null,e}function up(e,t,n,r=null){e=e&&e.charAt(0)===`
`&&e.charAt(1)==op?e.slice(2):e;let o=te(t);if(Array.isArray(t))o=t.map(te).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):te(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(rp,`
`)}`}var As=$u(Ru("Optional"),8);var Uu=$u(Ru("SkipSelf"),4);function Yt(e,t){let n=e.hasOwnProperty(Hr);return n?e[Hr]:null}function Rs(e,t){e.forEach(n=>Array.isArray(n)?Rs(n,t):t(n))}function Hu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Gr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function lp(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Os(e,t,n){let r=Ln(e,t);return r>=0?e[r|1]=n:(r=~r,lp(e,r,t,n)),r}function Ti(e,t){let n=Ln(e,t);if(n>=0)return e[n|1]}function Ln(e,t){return dp(e,t,1)}function dp(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Tn={},He=[],Kt=new S(""),zu=new S("",-1),Gu=new S(""),qr=class{get(t,n=_n){if(n===_n){let r=new Error(`NullInjectorError: No provider for ${te(t)}!`);throw r.name="NullInjectorError",r}return n}},qu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(qu||{}),Pe=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Pe||{}),rt=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(rt||{});function fp(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function zi(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];pp(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function hp(e){return e===3||e===4||e===6}function pp(e){return e.charCodeAt(0)===64}function Ps(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?Xc(e,n,o,null,t[++r]):Xc(e,n,o,null,null))}}return e}function Xc(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Wu="ng-template";function gp(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&fp(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Fs(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Fs(e){return e.type===4&&e.value!==Wu}function mp(e,t,n){let r=e.type===4&&!n?Wu:e.value;return t===r}function vp(e,t,n){let r=4,o=e.attrs,i=o!==null?wp(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ee(r)&&!Ee(c))return!1;if(s&&Ee(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!mp(e,c,n)||c===""&&t.length===1){if(Ee(r))return!1;s=!0}}else if(r&8){if(o===null||!gp(e,o,c,n)){if(Ee(r))return!1;s=!0}}else{let u=t[++a],l=yp(c,o,Fs(e),n);if(l===-1){if(Ee(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Ee(r))return!1;s=!0}}}}return Ee(r)||s}function Ee(e){return(e&1)===0}function yp(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return Cp(t,e)}function Dp(e,t,n=!1){for(let r=0;r<t.length;r++)if(vp(e,t[r],n))return!0;return!1}function wp(e){for(let t=0;t<e.length;t++){let n=e[t];if(hp(n))return t}return e.length}function Cp(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function eu(e,t){return e?":not("+t.trim()+")":t}function Ip(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ee(s)&&(t+=eu(i,o),o=""),r=s,i=i||!Ee(r);n++}return o!==""&&(t+=eu(i,o)),t}function Ep(e){return e.map(Ip).join(",")}function bp(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Ee(o))break;o=i}r++}return{attrs:t,classes:n}}function mo(e){return ho(()=>{let t=Ju(e),n=$(m({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===qu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Pe.Emulated,styles:e.styles||He,_:null,schemas:e.schemas||null,tView:null,id:""});Xu(n);let r=e.dependencies;return n.directiveDefs=nu(r,!1),n.pipeDefs=nu(r,!0),n.id=xp(n),n})}function Sp(e){return pt(e)||Zu(e)}function Mp(e){return e!==null}function tu(e,t){if(e==null)return Tn;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=rt.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==rt.None?[r,a]:r,t[i]=s):n[i]=r}return n}function jn(e){return ho(()=>{let t=Ju(e);return Xu(t),t})}function pt(e){return e[Qh]||null}function Zu(e){return e[Yh]||null}function Qu(e){return e[Kh]||null}function Yu(e){let t=pt(e)||Zu(e)||Qu(e);return t!==null?t.standalone:!1}function Ku(e,t){let n=e[Jh]||null;if(!n&&t===!0)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}function Ju(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Tn,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||He,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:tu(e.inputs,t),outputs:tu(e.outputs),debugInfo:null}}function Xu(e){e.features?.forEach(t=>t(e))}function nu(e,t){if(!e)return null;let n=t?Qu:Sp;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(Mp)}function xp(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function vo(e){return{\u0275providers:e}}function _p(...e){return{\u0275providers:el(!0,e),\u0275fromNgModule:!0}}function el(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Rs(t,s=>{let a=s;Gi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&tl(o,i),n}function tl(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ks(o,i=>{t(i,r)})}}function Gi(e,t,n,r){if(e=he(e),!e)return!1;let o=null,i=Qc(e),s=!i&&pt(e);if(!i&&!s){let c=e.ngModule;if(i=Qc(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)Gi(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{Rs(i.imports,l=>{Gi(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&tl(u,t)}if(!a){let u=Yt(o)||(()=>new o);t({provide:o,useFactory:u,deps:He},o),t({provide:Gu,useValue:o,multi:!0},o),t({provide:Kt,useValue:()=>A(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;ks(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function ks(e,t){for(let n of e)ju(n)&&(n=n.\u0275providers),Array.isArray(n)?ks(n,t):t(n)}var Tp=L({provide:String,useValue:L});function nl(e){return e!==null&&typeof e=="object"&&Tp in e}function Np(e){return!!(e&&e.useExisting)}function Ap(e){return!!(e&&e.useFactory)}function qi(e){return typeof e=="function"}var yo=new S(""),jr={},Rp={},Ni;function Ls(){return Ni===void 0&&(Ni=new qr),Ni}var me=class{},Nn=class extends me{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Zi(t,s=>this.processProvider(s)),this.records.set(zu,Gt(void 0,this)),o.has("environment")&&this.records.set(me,Gt(void 0,this));let i=this.records.get(yo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Gu,He,M.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=P(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),P(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=tt(this),r=fe(void 0),o;try{return t()}finally{tt(n),fe(r)}}get(t,n=_n,r=M.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(Kc))return t[Kc](this);r=go(r);let o,i=tt(this),s=fe(void 0);try{if(!(r&M.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=jp(t)&&po(t);u&&this.injectableDefInScope(u)?c=Gt(Wi(t),jr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&M.Self?Ls():this.parent;return n=r&M.Optional&&n===_n?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[zr]=a[zr]||[]).unshift(te(t)),i)throw a;return cp(a,t,"R3InjectorError",this.source)}else throw a}finally{fe(s),tt(i)}}resolveInjectorInitializers(){let t=P(null),n=tt(this),r=fe(void 0),o;try{let i=this.get(Kt,He,M.Self);for(let s of i)s()}finally{tt(n),fe(r),P(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(te(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new v(205,!1)}processProvider(t){t=he(t);let n=qi(t)?t:he(t&&t.provide),r=Pp(t);if(!qi(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Gt(void 0,jr,!0),o.factory=()=>Hi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=P(null);try{return n.value===jr&&(n.value=Rp,n.value=n.factory()),typeof n.value=="object"&&n.value&&Lp(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{P(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=he(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Wi(e){let t=po(e),n=t!==null?t.factory:Yt(e);if(n!==null)return n;if(e instanceof S)throw new v(204,!1);if(e instanceof Function)return Op(e);throw new v(204,!1)}function Op(e){if(e.length>0)throw new v(204,!1);let n=Wh(e);return n!==null?()=>n.factory(e):()=>new e}function Pp(e){if(nl(e))return Gt(void 0,e.useValue);{let t=Fp(e);return Gt(t,jr)}}function Fp(e,t,n){let r;if(qi(e)){let o=he(e);return Yt(o)||Wi(o)}else if(nl(e))r=()=>he(e.useValue);else if(Ap(e))r=()=>e.useFactory(...Hi(e.deps||[]));else if(Np(e))r=()=>A(he(e.useExisting));else{let o=he(e&&(e.useClass||e.provide));if(kp(e))r=()=>new o(...Hi(e.deps));else return Yt(o)||Wi(o)}return r}function Gt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kp(e){return!!e.deps}function Lp(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function jp(e){return typeof e=="function"||typeof e=="object"&&e instanceof S}function Zi(e,t){for(let n of e)Array.isArray(n)?Zi(n,t):n&&ju(n)?Zi(n.\u0275providers,t):t(n)}function qe(e,t){e instanceof Nn&&e.assertNotDestroyed();let n,r=tt(e),o=fe(void 0);try{return t()}finally{tt(r),fe(o)}}function Vp(){return Vu()!==void 0||ip()!=null}function Bp(e){return typeof e=="function"}var We=0,N=1,y=2,ne=3,Se=4,xe=5,Wr=6,Zr=7,Me=8,Jt=9,Fe=10,Y=11,An=12,ru=13,sn=14,ke=15,Xt=16,qt=17,en=18,Do=19,rl=20,nt=21,Ai=22,pe=23,ot=25,ol=1;var gt=7,Qr=8,Yr=9,ge=10,Kr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Kr||{});function ft(e){return Array.isArray(e)&&typeof e[ol]=="object"}function Ze(e){return Array.isArray(e)&&e[ol]===!0}function il(e){return(e.flags&4)!==0}function wo(e){return e.componentOffset>-1}function js(e){return(e.flags&1)===1}function Vn(e){return!!e.template}function Qi(e){return(e[y]&512)!==0}var Yi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function sl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Co(){return al}function al(e){return e.type.prototype.ngOnChanges&&(e.setInput=Up),$p}Co.ngInherit=!0;function $p(){let e=ul(this),t=e?.current;if(t){let n=e.previous;if(n===Tn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Up(e,t,n,r,o){let i=this.declaredInputs[r],s=ul(e)||Hp(e,{previous:Tn,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Yi(u&&u.currentValue,n,c===Tn),sl(e,t,o,n)}var cl="__ngSimpleChanges__";function ul(e){return e[cl]||null}function Hp(e,t){return e[cl]=t}var ou=null;var Re=function(e,t,n){ou?.(e,t,n)},ll="svg",zp="math";function Le(e){for(;Array.isArray(e);)e=e[We];return e}function dl(e,t){return Le(t[e])}function _e(e,t){return Le(t[e.index])}function fl(e,t){return e.data[t]}function It(e,t){let n=t[e];return ft(n)?n:n[We]}function Vs(e){return(e[y]&128)===128}function Gp(e){return Ze(e[ne])}function Jr(e,t){return t==null?null:e[t]}function hl(e){e[qt]=0}function pl(e){e[y]&1024||(e[y]|=1024,Vs(e)&&Eo(e))}function qp(e,t){for(;e>0;)t=t[sn],e--;return t}function Io(e){return!!(e[y]&9216||e[pe]?.dirty)}function Ki(e){e[Fe].changeDetectionScheduler?.notify(8),e[y]&64&&(e[y]|=1024),Io(e)&&Eo(e)}function Eo(e){e[Fe].changeDetectionScheduler?.notify(0);let t=mt(e);for(;t!==null&&!(t[y]&8192||(t[y]|=8192,!Vs(t)));)t=mt(t)}function gl(e,t){if((e[y]&256)===256)throw new v(911,!1);e[nt]===null&&(e[nt]=[]),e[nt].push(t)}function Wp(e,t){if(e[nt]===null)return;let n=e[nt].indexOf(t);n!==-1&&e[nt].splice(n,1)}function mt(e){let t=e[ne];return Ze(t)?t[ne]:t}var _={lFrame:Ml(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ml=!1;function Zp(){return _.lFrame.elementDepthCount}function Qp(){_.lFrame.elementDepthCount++}function Yp(){_.lFrame.elementDepthCount--}function vl(){return _.bindingsEnabled}function Kp(){return _.skipHydrationRootTNode!==null}function Jp(e){return _.skipHydrationRootTNode===e}function Xp(){_.skipHydrationRootTNode=null}function U(){return _.lFrame.lView}function je(){return _.lFrame.tView}function Bs(e){return _.lFrame.contextLView=e,e[Me]}function $s(e){return _.lFrame.contextLView=null,e}function Te(){let e=yl();for(;e!==null&&e.type===64;)e=e.parent;return e}function yl(){return _.lFrame.currentTNode}function eg(){let e=_.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Bn(e,t){let n=_.lFrame;n.currentTNode=e,n.isParent=t}function Dl(){return _.lFrame.isParent}function tg(){_.lFrame.isParent=!1}function wl(){return ml}function iu(e){ml=e}function ng(e){return _.lFrame.bindingIndex=e}function Cl(){return _.lFrame.bindingIndex++}function Il(e){let t=_.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function rg(){return _.lFrame.inI18n}function og(e,t){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ji(t)}function ig(){return _.lFrame.currentDirectiveIndex}function Ji(e){_.lFrame.currentDirectiveIndex=e}function sg(e){let t=_.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function El(e){_.lFrame.currentQueryIndex=e}function ag(e){let t=e[N];return t.type===2?t.declTNode:t.type===1?e[xe]:null}function bl(e,t,n){if(n&M.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&M.Host);)if(o=ag(i),o===null||(i=i[sn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_.lFrame=Sl();return r.currentTNode=t,r.lView=e,!0}function Us(e){let t=Sl(),n=e[N];_.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Sl(){let e=_.lFrame,t=e===null?null:e.child;return t===null?Ml(e):t}function Ml(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function xl(){let e=_.lFrame;return _.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var _l=xl;function Hs(){let e=xl();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 cg(e){return(_.lFrame.contextLView=qp(e,_.lFrame.contextLView))[Me]}function Et(){return _.lFrame.selectedIndex}function vt(e){_.lFrame.selectedIndex=e}function Tl(){let e=_.lFrame;return fl(e.tView,e.selectedIndex)}function Nl(){_.lFrame.currentNamespace=ll}function Al(){ug()}function ug(){_.lFrame.currentNamespace=null}function lg(){return _.lFrame.currentNamespace}var Rl=!0;function zs(){return Rl}function Gs(e){Rl=e}function dg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=al(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function qs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Vr(e,t,n){Ol(e,t,3,n)}function Br(e,t,n,r){(e[y]&3)===n&&Ol(e,t,n,r)}function Ri(e,t){let n=e[y];(n&3)===t&&(n&=16383,n+=1,e[y]=n)}function Ol(e,t,n,r){let o=r!==void 0?e[qt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[qt]+=65536),(a<i||i==-1)&&(fg(e,n,t,c),e[qt]=(e[qt]&4294901760)+c+2),c++}function su(e,t){Re(4,e,t);let n=P(null);try{t.call(e)}finally{P(n),Re(5,e,t)}}function fg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[y]>>14<e[qt]>>16&&(e[y]&3)===t&&(e[y]+=16384,su(a,i)):su(a,i)}var Qt=-1,Rn=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function hg(e){return e instanceof Rn}function pg(e){return(e.flags&8)!==0}function gg(e){return(e.flags&16)!==0}var Oi={},Xi=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=go(r);let o=this.injector.get(t,Oi,r);return o!==Oi||n===Oi?o:this.parentInjector.get(t,n,r)}};function Pl(e){return e!==Qt}function Xr(e){return e&32767}function mg(e){return e>>16}function eo(e,t){let n=mg(e),r=t;for(;n>0;)r=r[sn],n--;return r}var es=!0;function au(e){let t=es;return es=e,t}var vg=256,Fl=vg-1,kl=5,yg=0,Oe={};function Dg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(xn)&&(r=n[xn]),r==null&&(r=n[xn]=yg++);let o=r&Fl,i=1<<o;t.data[e+(o>>kl)]|=i}function Ll(e,t){let n=jl(e,t);if(n!==-1)return n;let r=t[N];r.firstCreatePass&&(e.injectorIndex=t.length,Pi(r.data,e),Pi(t,null),Pi(r.blueprint,null));let o=Ws(e,t),i=e.injectorIndex;if(Pl(o)){let s=Xr(o),a=eo(o,t),c=a[N].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function Pi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function jl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ws(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Hl(o),r===null)return Qt;if(n++,o=o[sn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Qt}function wg(e,t,n){Dg(e,t,n)}function Vl(e,t,n){if(n&M.Optional||e!==void 0)return e;Ns(t,"NodeInjector")}function Bl(e,t,n,r){if(n&M.Optional&&r===void 0&&(r=null),!(n&(M.Self|M.Host))){let o=e[Jt],i=fe(void 0);try{return o?o.get(t,r,n&M.Optional):Bu(t,r,n&M.Optional)}finally{fe(i)}}return Vl(r,t,n)}function $l(e,t,n,r=M.Default,o){if(e!==null){if(t[y]&2048&&!(r&M.Self)){let s=Sg(e,t,n,r,Oe);if(s!==Oe)return s}let i=Ul(e,t,n,r,Oe);if(i!==Oe)return i}return Bl(t,n,r,o)}function Ul(e,t,n,r,o){let i=Eg(n);if(typeof i=="function"){if(!bl(t,e,r))return r&M.Host?Vl(o,n,r):Bl(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&M.Optional))Ns(n);else return s}finally{_l()}}else if(typeof i=="number"){let s=null,a=jl(e,t),c=Qt,u=r&M.Host?t[ke][xe]:null;for((a===-1||r&M.SkipSelf)&&(c=a===-1?Ws(e,t):t[a+8],c===Qt||!uu(r,!1)?a=-1:(s=t[N],a=Xr(c),t=eo(c,t)));a!==-1;){let l=t[N];if(cu(i,a,l.data)){let d=Cg(a,t,n,s,r,u);if(d!==Oe)return d}c=t[a+8],c!==Qt&&uu(r,t[N].data[a+8]===u)&&cu(i,a,t)?(s=l,a=Xr(c),t=eo(c,t)):a=-1}}return o}function Cg(e,t,n,r,o,i){let s=t[N],a=s.data[e+8],c=r==null?wo(a)&&es:r!=s&&(a.type&3)!==0,u=o&M.Host&&i===a,l=Ig(a,s,n,c,u);return l!==null?On(t,s,l,a):Oe}function Ig(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let g=s[f];if(f<c&&n===g||f>=c&&g.type===n)return f}if(o){let f=s[c];if(f&&Vn(f)&&f.type===n)return c}return null}function On(e,t,n,r){let o=e[n],i=t.data;if(hg(o)){let s=o;s.resolving&&ep(Xh(i[n]));let a=au(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?fe(s.injectImpl):null,l=bl(e,r,M.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&dg(n,i[n],t)}finally{u!==null&&fe(u),au(a),s.resolving=!1,_l()}}return o}function Eg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(xn)?e[xn]:void 0;return typeof t=="number"?t>=0?t&Fl:bg:t}function cu(e,t,n){let r=1<<e;return!!(n[t+(e>>kl)]&r)}function uu(e,t){return!(e&M.Self)&&!(e&M.Host&&t)}var ht=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return $l(this._tNode,this._lView,t,go(r),n)}};function bg(){return new ht(Te(),U())}function Zs(e){return ho(()=>{let t=e.prototype.constructor,n=t[Hr]||ts(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Hr]||ts(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ts(e){return Pu(e)?()=>{let t=ts(he(e));return t&&t()}:Yt(e)}function Sg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[y]&2048&&!(s[y]&512);){let a=Ul(i,s,n,r|M.Self,Oe);if(a!==Oe)return a;let c=i.parent;if(!c){let u=s[rl];if(u){let l=u.get(n,Oe,r);if(l!==Oe)return l}c=Hl(s),s=s[sn]}i=c}return o}function Hl(e){let t=e[N],n=t.type;return n===2?t.declTNode:n===1?e[xe]:null}function lu(e,t=null,n=null,r){let o=zl(e,t,n,r);return o.resolveInjectorInitializers(),o}function zl(e,t=null,n=null,r,o=new Set){let i=[n||He,_p(e)];return r=r||(typeof e=="object"?void 0:te(e)),new Nn(i,t||Ls(),r||null,o)}var yt=class e{static{this.THROW_IF_NOT_FOUND=_n}static{this.NULL=new qr}static create(t,n){if(Array.isArray(t))return lu({name:""},n,t,"");{let r=t.name??"";return lu({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=D({token:e,providedIn:"any",factory:()=>A(zu)})}static{this.__NG_ELEMENT_ID__=-1}};var Mg=new S("");Mg.__NG_ELEMENT_ID__=e=>{let t=Te();if(t===null)throw new v(204,!1);if(t.type&2)return t.value;if(e&M.Optional)return null;throw new v(204,!1)};var xg="ngOriginalError";function Fi(e){return e[xg]}var Gl=!0,ql=(()=>{class e{static{this.__NG_ELEMENT_ID__=_g}static{this.__NG_ENV_ID__=n=>n}}return e})(),ns=class extends ql{constructor(t){super(),this._lView=t}onDestroy(t){return gl(this._lView,t),()=>Wp(this._lView,t)}};function _g(){return new ns(U())}var an=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Z(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}}return e})();var rs=class extends X{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,Vp()&&(this.destroyRef=p(ql,{optional:!0})??void 0,this.pendingTasks=p(an,{optional:!0})??void 0)}emit(t){let n=P(null);try{super.next(t)}finally{P(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;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 t instanceof H&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},ee=rs;function to(...e){}function Wl(e){let t,n;function r(){e=to;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function du(e){return queueMicrotask(()=>e()),()=>{e=to}}var Qs="isAngularZone",no=Qs+"_ID",Tg=0,z=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ee(!1),this.onMicrotaskEmpty=new ee(!1),this.onStable=new ee(!1),this.onError=new ee(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Gl}=t;if(typeof Zone>"u")throw new v(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)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Rg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Qs)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new v(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new v(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Ng,to,to);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},Ng={};function Ys(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 Ag(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Wl(()=>{e.callbackScheduled=!1,os(e),e.isCheckStableRunning=!0,Ys(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),os(e)}function Rg(e){let t=()=>{Ag(e)},n=Tg++;e._inner=e._inner.fork({name:"angular",properties:{[Qs]:!0,[no]:n,[no+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Og(c))return r.invokeTask(i,s,a,c);try{return fu(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),hu(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return fu(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Pg(c)&&t(),hu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,os(e),Ys(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 os(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function fu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function hu(e){e._nesting--,Ys(e)}var is=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ee,this.onMicrotaskEmpty=new ee,this.onStable=new ee,this.onError=new ee}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Og(e){return Zl(e,"__ignore_ng_zone__")}function Pg(e){return Zl(e,"__scheduler_tick__")}function Zl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var ze=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Fi(t);for(;n&&Fi(n);)n=Fi(n);return n||null}},Fg=new S("",{providedIn:"root",factory:()=>{let e=p(z),t=p(ze);return n=>e.runOutsideAngular(()=>t.handleError(n))}});function kg(){return bo(Te(),U())}function bo(e,t){return new So(_e(e,t))}var So=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=kg}}return e})();function Ql(e){return(e.flags&128)===128}var Yl=new Map,Lg=0;function jg(){return Lg++}function Vg(e){Yl.set(e[Do],e)}function ss(e){Yl.delete(e[Do])}var pu="__ngContext__";function Dt(e,t){ft(t)?(e[pu]=t[Do],Vg(t)):e[pu]=t}function Kl(e){return Xl(e[An])}function Jl(e){return Xl(e[Se])}function Xl(e){for(;e!==null&&!Ze(e);)e=e[Se];return e}var as;function ed(e){as=e}function Bg(){if(as!==void 0)return as;if(typeof document<"u")return document;throw new v(210,!1)}var Ks=new S("",{providedIn:"root",factory:()=>$g}),$g="ng",Js=new S(""),cn=new S("",{providedIn:"platform",factory:()=>"unknown"});var Xs=new S("",{providedIn:"root",factory:()=>Bg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Ug="h",Hg="b";var zg=()=>null;function ea(e,t,n=!1){return zg(e,t,n)}var td=!1,Gg=new S("",{providedIn:"root",factory:()=>td});var ro=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Au})`}};function $n(e){return e instanceof ro?e.changingThisBreaksApplicationSecurity:e}function nd(e,t){let n=qg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Au})`)}return n===t}function qg(e){return e instanceof ro&&e.getTypeName()||null}var Wg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function rd(e){return e=String(e),e.match(Wg)?e:"unsafe:"+e}var ta=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}(ta||{});function na(e){let t=Zg();return t?t.sanitize(ta.URL,e)||"":nd(e,"URL")?$n(e):rd(Ts(e))}function Zg(){let e=U();return e&&e[Fe].sanitizer}function od(e){return e instanceof Function?e():e}var Ge=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ge||{}),Qg;function ra(e,t){return Qg(e,t)}function Wt(e,t,n,r,o){if(r!=null){let i,s=!1;Ze(r)?i=r:ft(r)&&(s=!0,r=r[We]);let a=Le(r);e===0&&n!==null?o==null?ud(t,n,a):oo(t,n,a,o||null,!0):e===1&&n!==null?oo(t,n,a,o||null,!0):e===2?lm(t,a,s):e===3&&t.destroyNode(a),i!=null&&fm(t,e,i,n,o)}}function Yg(e,t){return e.createText(t)}function Kg(e,t,n){e.setValue(t,n)}function id(e,t,n){return e.createElement(t,n)}function Jg(e,t){sd(e,t),t[We]=null,t[xe]=null}function Xg(e,t,n,r,o,i){r[We]=o,r[xe]=t,Mo(e,r,n,1,o,i)}function sd(e,t){t[Fe].changeDetectionScheduler?.notify(9),Mo(e,t,t[Y],2,null,null)}function em(e){let t=e[An];if(!t)return ki(e[N],e);for(;t;){let n=null;if(ft(t))n=t[An];else{let r=t[ge];r&&(n=r)}if(!n){for(;t&&!t[Se]&&t!==e;)ft(t)&&ki(t[N],t),t=t[ne];t===null&&(t=e),ft(t)&&ki(t[N],t),n=t&&t[Se]}t=n}}function tm(e,t,n,r){let o=ge+r,i=n.length;r>0&&(n[o-1][Se]=t),r<i-ge?(t[Se]=n[o],Hu(n,ge+r,t)):(n.push(t),t[Se]=null),t[ne]=n;let s=t[Xt];s!==null&&n!==s&&ad(s,t);let a=t[en];a!==null&&a.insertView(e),Ki(t),t[y]|=128}function ad(e,t){let n=e[Yr],r=t[ne];if(ft(r))e[y]|=Kr.HasTransplantedViews;else{let o=r[ne][ke];t[ke]!==o&&(e[y]|=Kr.HasTransplantedViews)}n===null?e[Yr]=[t]:n.push(t)}function oa(e,t){let n=e[Yr],r=n.indexOf(t);n.splice(r,1)}function cs(e,t){if(e.length<=ge)return;let n=ge+t,r=e[n];if(r){let o=r[Xt];o!==null&&o!==e&&oa(o,r),t>0&&(e[n-1][Se]=r[Se]);let i=Gr(e,ge+t);Jg(r[N],r);let s=i[en];s!==null&&s.detachView(i[N]),r[ne]=null,r[Se]=null,r[y]&=-129}return r}function cd(e,t){if(!(t[y]&256)){let n=t[Y];n.destroyNode&&Mo(e,t,n,3,null,null),em(t)}}function ki(e,t){if(t[y]&256)return;let n=P(null);try{t[y]&=-129,t[y]|=256,t[pe]&&ui(t[pe]),rm(e,t),nm(e,t),t[N].type===1&&t[Y].destroy();let r=t[Xt];if(r!==null&&Ze(t[ne])){r!==t[ne]&&oa(r,t);let o=t[en];o!==null&&o.detachView(e)}ss(t)}finally{P(n)}}function nm(e,t){let n=e.cleanup,r=t[Zr];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Zr]=null);let o=t[nt];if(o!==null){t[nt]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function rm(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof Rn)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];Re(4,a,c);try{c.call(a)}finally{Re(5,a,c)}}else{Re(4,o,i);try{i.call(o)}finally{Re(5,o,i)}}}}}function om(e,t,n){return im(e,t.parent,n)}function im(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[We];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Pe.None||i===Pe.Emulated)return null}return _e(r,n)}}function oo(e,t,n,r,o){e.insertBefore(t,n,r,o)}function ud(e,t,n){e.appendChild(t,n)}function gu(e,t,n,r,o){r!==null?oo(e,t,n,r,o):ud(e,t,n)}function ld(e,t){return e.parentNode(t)}function sm(e,t){return e.nextSibling(t)}function am(e,t,n){return um(e,t,n)}function cm(e,t,n){return e.type&40?_e(e,n):null}var um=cm,mu;function ia(e,t,n,r){let o=om(e,r,t),i=t[Y],s=r.parent||t[xe],a=am(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)gu(i,o,n[c],a,!1);else gu(i,o,n,a,!1);mu!==void 0&&mu(i,r,t,n,o)}function Sn(e,t){if(t!==null){let n=t.type;if(n&3)return _e(t,e);if(n&4)return us(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Sn(e,r);{let o=e[t.index];return Ze(o)?us(-1,o):Le(o)}}else{if(n&128)return Sn(e,t.next);if(n&32)return ra(t,e)()||Le(e[t.index]);{let r=dd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=mt(e[ke]);return Sn(o,r)}else return Sn(e,t.next)}}}return null}function dd(e,t){if(t!==null){let r=e[ke][xe],o=t.projection;return r.projection[o]}return null}function us(e,t){let n=ge+e+1;if(n<t.length){let r=t[n],o=r[N].firstChild;if(o!==null)return Sn(r,o)}return t[gt]}function lm(e,t,n){e.removeChild(null,t,n)}function sa(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Dt(Le(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)sa(e,t,n.child,r,o,i,!1),Wt(t,e,o,a,i);else if(c&32){let u=ra(n,r),l;for(;l=u();)Wt(t,e,o,l,i);Wt(t,e,o,a,i)}else c&16?dm(e,t,r,n,o,i):Wt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Mo(e,t,n,r,o,i){sa(n,r,e.firstChild,t,o,i,!1)}function dm(e,t,n,r,o,i){let s=n[ke],c=s[xe].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Wt(t,e,o,l,i)}else{let u=c,l=s[ne];Ql(r)&&(u.flags|=128),sa(e,t,u,l,o,i,!0)}}function fm(e,t,n,r,o){let i=n[gt],s=Le(n);i!==s&&Wt(t,e,r,i,o);for(let a=ge;a<n.length;a++){let c=n[a];Mo(c[N],c,e,t,r,i)}}function hm(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ge.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ge.Important),e.setStyle(n,r,o,i))}}function pm(e,t,n){e.setAttribute(t,"style",n)}function fd(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function hd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&zi(e,t,r),o!==null&&fd(e,t,o),i!==null&&pm(e,t,i)}var Qe={};function J(e=1){pd(je(),U(),Et()+e,!1)}function pd(e,t,n,r){if(!r)if((t[y]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Vr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Br(t,i,0,n)}vt(n)}function st(e,t=M.Default){let n=U();if(n===null)return A(e,t);let r=Te();return $l(r,n,he(e),t)}function gd(e,t,n,r,o,i){let s=P(null);try{let a=null;o&rt.SignalBased&&(a=t[r][mc]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&rt.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):sl(t,a,r,i)}finally{P(s)}}function gm(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)vt(~o);else{let i=o,s=n[++r],a=n[++r];og(s,i);let c=t[i];a(2,c)}}}finally{vt(-1)}}function xo(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[We]=o,d[y]=r|4|128|8|64,(u!==null||e&&e[y]&2048)&&(d[y]|=2048),hl(d),d[ne]=d[sn]=e,d[Me]=n,d[Fe]=s||e&&e[Fe],d[Y]=a||e&&e[Y],d[Jt]=c||e&&e[Jt]||null,d[xe]=i,d[Do]=jg(),d[Wr]=l,d[rl]=u,d[ke]=t.type==2?e[ke]:d,d}function _o(e,t,n,r,o){let i=e.data[t];if(i===null)i=mm(e,t,n,r,o),rg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=eg();i.injectorIndex=s===null?-1:s.injectorIndex}return Bn(i,!0),i}function mm(e,t,n,r,o){let i=yl(),s=Dl(),a=s?i:i&&i.parent,c=e.data[t]=Cm(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function md(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function vd(e,t,n,r,o){let i=Et(),s=r&2;try{vt(-1),s&&t.length>ot&&pd(e,t,ot,!1),Re(s?2:0,o),n(r,o)}finally{vt(i),Re(s?3:1,o)}}function yd(e,t,n){if(il(t)){let r=P(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{P(r)}}}function Dd(e,t,n){vl()&&(xm(e,t,n,_e(n,t)),(n.flags&64)===64&&Sd(e,t,n))}function wd(e,t,n=_e){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Cd(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=aa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function aa(e,t,n,r,o,i,s,a,c,u,l){let d=ot+r,h=d+o,f=vm(d,h),g=typeof u=="function"?u():u;return f[N]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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 vm(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Qe);return n}function ym(e,t,n,r){let i=r.get(Gg,td)||n===Pe.ShadowDom,s=e.selectRootElement(t,i);return Dm(s),s}function Dm(e){wm(e)}var wm=()=>null;function Cm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Kp()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function vu(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=rt.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?yu(r,n,u,a,c):yu(r,n,u,a)}return r}function yu(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function Im(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l<o;l++){let d=i[l],h=n?n.get(d):null,f=h?h.inputs:null,g=h?h.outputs:null;c=vu(0,d.inputs,l,c,f),u=vu(1,d.outputs,l,u,g);let b=c!==null&&s!==null&&!Fs(t)?km(c,l,s):null;a.push(b)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=u}function Em(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Id(e,t,n,r,o,i,s,a){let c=_e(t,n),u=t.inputs,l;!a&&u!=null&&(l=u[r])?(ca(e,n,l,r,o),wo(t)&&bm(n,t.index)):t.type&3?(r=Em(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function bm(e,t){let n=It(t,e);n[y]&16||(n[y]|=64)}function Ed(e,t,n,r){if(vl()){let o=r===null?null:{"":-1},i=Tm(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&bd(e,t,n,s,o,a),o&&Nm(n,r,o)}n.mergedAttrs=Ps(n.mergedAttrs,n.attrs)}function bd(e,t,n,r,o,i){for(let u=0;u<r.length;u++)wg(Ll(n,t),e,r[u].type);Rm(n,e.data.length,r.length);for(let u=0;u<r.length;u++){let l=r[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=md(e,t,r.length,null);for(let u=0;u<r.length;u++){let l=r[u];n.mergedAttrs=Ps(n.mergedAttrs,l.hostAttrs),Om(e,n,t,c,l),Am(c,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}Im(e,n,i)}function Sm(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Mm(s)!=a&&s.push(a),s.push(n,r,i)}}function Mm(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function xm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;wo(n)&&Pm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Ll(n,t),Dt(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],u=On(t,e,a,n);if(Dt(u,t),s!==null&&Fm(t,a-o,u,c,n,s),Vn(c)){let l=It(n.index,t);l[Me]=On(t,e,a,n)}}}function Sd(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=ig();try{vt(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Ji(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&_m(c,u)}}finally{vt(-1),Ji(s)}}function _m(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Tm(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(Dp(t,s.selectors,!1))if(r||(r=[]),Vn(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;ls(e,t,c)}else r.unshift(s),ls(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function ls(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Nm(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new v(-301,!1);r.push(t[o],i)}}}function Am(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Vn(t)&&(n[""]=e)}}function Rm(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Om(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Yt(o.type,!0)),s=new Rn(i,Vn(o),st);e.blueprint[r]=s,n[r]=s,Sm(e,t,r,md(e,n,o.hostVars,Qe),o)}function Pm(e,t,n){let r=_e(t,e),o=Cd(n),i=e[Fe].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=To(e,xo(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function Fm(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];gd(r,n,c,u,l,d)}}function km(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function Md(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function xd(e,t){let n=e.contentQueries;if(n!==null){let r=P(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];El(i),a.contentQueries(2,t[s],s)}}}finally{P(r)}}}function To(e,t){return e[An]?e[ru][Se]=t:e[An]=t,e[ru]=t,t}function ds(e,t,n){El(0);let r=P(null);try{t(e,n)}finally{P(r)}}function Lm(e){return e[Zr]??=[]}function jm(e){return e.cleanup??=[]}function _d(e,t){let n=e[Jt],r=n?n.get(ze,null):null;r&&r.handleError(t)}function ca(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],u=t[s],l=e.data[s];gd(l,u,r,a,c,o)}}function Vm(e,t,n){let r=dl(t,e);Kg(e[Y],r,n)}function Bm(e,t){let n=It(t,e),r=n[N];$m(r,n);let o=n[We];o!==null&&n[Wr]===null&&(n[Wr]=ea(o,n[Jt])),ua(r,n,n[Me])}function $m(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ua(e,t,n){Us(t);try{let r=e.viewQuery;r!==null&&ds(1,r,n);let o=e.template;o!==null&&vd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[en]?.finishViewCreation(e),e.staticContentQueries&&xd(e,t),e.staticViewQueries&&ds(2,e.viewQuery,n);let i=e.components;i!==null&&Um(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[y]&=-5,Hs()}}function Um(e,t){for(let n=0;n<t.length;n++)Bm(e,t[n])}function Hm(e,t,n,r){let o=P(null);try{let i=t.tView,a=e[y]&4096?4096:16,c=xo(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[Xt]=u;let l=e[en];return l!==null&&(c[en]=l.createEmbeddedView(i)),ua(i,c,n),c}finally{P(o)}}function Du(e,t){return!t||t.firstChild===null||Ql(e)}function zm(e,t,n,r=!0){let o=t[N];if(tm(o,t,e,n),r){let s=us(n,e),a=t[Y],c=ld(a,e[gt]);c!==null&&Xg(o,e[xe],a,t,c,s)}let i=t[Wr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function io(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(Le(i)),Ze(i)&&Gm(i,r);let s=n.type;if(s&8)io(e,t,n.child,r);else if(s&32){let a=ra(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=dd(t,n);if(Array.isArray(a))r.push(...a);else{let c=mt(t[ke]);io(c[N],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Gm(e,t){for(let n=ge;n<e.length;n++){let r=e[n],o=r[N].firstChild;o!==null&&io(r[N],r,o,t)}e[gt]!==e[We]&&t.push(e[gt])}var Td=[];function qm(e){return e[pe]??Wm(e)}function Wm(e){let t=Td.pop()??Object.create(Qm);return t.lView=e,t}function Zm(e){e.lView[pe]!==e&&(e.lView=null,Td.push(e))}var Qm=$(m({},si),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Eo(e.lView)},consumerOnSignalRead(){this.lView[pe]=this}});function Ym(e){let t=e[pe]??Object.create(Km);return t.lView=e,t}var Km=$(m({},si),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=mt(e.lView);for(;t&&!Nd(t[N]);)t=mt(t);t&&pl(t)},consumerOnSignalRead(){this.lView[pe]=this}});function Nd(e){return e.type!==2}var Jm=100;function Ad(e,t=!0,n=0){let r=e[Fe],o=r.rendererFactory,i=!1;i||o.begin?.();try{Xm(e,n)}catch(s){throw t&&_d(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function Xm(e,t){let n=wl();try{iu(!0),fs(e,t);let r=0;for(;Io(e);){if(r===Jm)throw new v(103,!1);r++,fs(e,1)}}finally{iu(n)}}function ev(e,t,n,r){let o=t[y];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Fe].inlineEffectRunner?.flush(),Us(t);let a=!0,c=null,u=null;i||(Nd(e)?(u=qm(t),c=ai(u)):vc()===null?(a=!1,u=Ym(t),c=ai(u)):t[pe]&&(ui(t[pe]),t[pe]=null));try{hl(t),ng(e.bindingStartIndex),n!==null&&vd(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Vr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Br(t,f,0,null),Ri(t,0)}if(s||tv(t),Rd(t,0),e.contentQueries!==null&&xd(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Vr(t,f)}else{let f=e.contentHooks;f!==null&&Br(t,f,1),Ri(t,1)}gm(e,t);let d=e.components;d!==null&&Pd(t,d,0);let h=e.viewQuery;if(h!==null&&ds(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Vr(t,f)}else{let f=e.viewHooks;f!==null&&Br(t,f,2),Ri(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Ai]){for(let f of t[Ai])f();t[Ai]=null}i||(t[y]&=-73)}catch(l){throw i||Eo(t),l}finally{u!==null&&(yc(u,c),a&&Zm(u)),Hs()}}function Rd(e,t){for(let n=Kl(e);n!==null;n=Jl(n))for(let r=ge;r<n.length;r++){let o=n[r];Od(o,t)}}function tv(e){for(let t=Kl(e);t!==null;t=Jl(t)){if(!(t[y]&Kr.HasTransplantedViews))continue;let n=t[Yr];for(let r=0;r<n.length;r++){let o=n[r];pl(o)}}}function nv(e,t,n){let r=It(t,e);Od(r,n)}function Od(e,t){Vs(e)&&fs(e,t)}function fs(e,t){let r=e[N],o=e[y],i=e[pe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&ci(i)),s||=!1,i&&(i.dirty=!1),e[y]&=-9217,s)ev(r,e,r.template,e[Me]);else if(o&8192){Rd(e,1);let a=r.components;a!==null&&Pd(e,a,1)}}function Pd(e,t,n){for(let r=0;r<t.length;r++)nv(e,t[r],n)}function la(e,t){let n=wl()?64:1088;for(e[Fe].changeDetectionScheduler?.notify(t);e;){e[y]|=n;let r=mt(e);if(Qi(e)&&!r)return e;e=r}return null}var wt=class{get rootNodes(){let t=this._lView,n=t[N];return io(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[Me]}set context(t){this._lView[Me]=t}get destroyed(){return(this._lView[y]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ne];if(Ze(t)){let n=t[Qr],r=n?n.indexOf(this):-1;r>-1&&(cs(t,r),Gr(n,r))}this._attachedToViewContainer=!1}cd(this._lView[N],this._lView)}onDestroy(t){gl(this._lView,t)}markForCheck(){la(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[y]&=-129}reattach(){Ki(this._lView),this._lView[y]|=128}detectChanges(){this._lView[y]|=1024,Ad(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new v(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Qi(this._lView),n=this._lView[Xt];n!==null&&!t&&oa(n,this._lView),sd(this._lView[N],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new v(902,!1);this._appRef=t;let n=Qi(this._lView),r=this._lView[Xt];r!==null&&!n&&ad(r,this._lView),Ki(this._lView)}},No=(()=>{class e{static{this.__NG_ELEMENT_ID__=iv}}return e})(),rv=No,ov=class extends rv{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Hm(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new wt(o)}};function iv(){return sv(Te(),U())}function sv(e,t){return e.type&4?new ov(t,e,bo(e,t)):null}var VS=new RegExp(`^(\\d+)*(${Hg}|${Ug})*(.*)`);var av=()=>null;function wu(e,t){return av(e,t)}var tn=class{},Ao=new S("",{providedIn:"root",factory:()=>!1});var Fd=new S(""),kd=new S(""),hs=class{},so=class{};function cv(e){let t=Error(`No component factory found for ${te(e)}.`);return t[uv]=e,t}var uv="ngComponent";var ps=class{resolveComponentFactory(t){throw cv(t)}},nn=class{static{this.NULL=new ps}},rn=class{};var lv=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>null})}}return e})();function gs(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Bi(o,a);else if(i==2){let c=a,u=t[++s];r=Bi(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var ao=class extends nn{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=pt(t);return new Pn(n,this.ngModule)}};function Cu(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:rt.None;t?n.push({propName:s,templateName:r,isSignal:(a&rt.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function dv(e){let t=e.toLowerCase();return t==="svg"?ll:t==="math"?zp:null}var Pn=class extends so{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Cu(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return Cu(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Ep(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=P(null);try{o=o||this.ngModule;let s=o instanceof me?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Xi(t,s):t,c=a.get(rn,null);if(c===null)throw new v(407,!1);let u=a.get(lv,null),l=a.get(tn,null),d={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,changeDetectionScheduler:l},h=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",g=r?ym(h,r,this.componentDef.encapsulation,a):id(h,f,dv(f)),b=512;this.componentDef.signals?b|=4096:this.componentDef.onPush||(b|=16);let j=null;g!==null&&(j=ea(g,a,!0));let B=aa(0,null,null,1,0,null,null,null,null,null,null),oe=xo(null,B,null,b,null,null,d,h,a,null,j);Us(oe);let ie,De,Rt=null;try{let ae=this.componentDef,Ot,ri=null;ae.findHostDirectiveDefs?(Ot=[],ri=new Map,ae.findHostDirectiveDefs(ae,Ot,ri),Ot.push(ae)):Ot=[ae];let hh=fv(oe,g);Rt=hv(hh,g,ae,Ot,oe,d,h),De=fl(B,ot),g&&mv(h,ae,g,r),n!==void 0&&vv(De,this.ngContentSelectors,n),ie=gv(Rt,ae,Ot,ri,oe,[yv]),ua(B,oe,null)}catch(ae){throw Rt!==null&&ss(Rt),ss(oe),ae}finally{Hs()}return new ms(this.componentType,ie,bo(De,oe),oe,De)}finally{P(i)}}},ms=class extends hs{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new wt(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;ca(i[N],i,o,t,n),this.previousInputValues.set(t,n);let s=It(this._tNode.index,i);la(s,1)}}get injector(){return new ht(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function fv(e,t){let n=e[N],r=ot;return e[r]=t,_o(n,r,2,"#host",null)}function hv(e,t,n,r,o,i,s){let a=o[N];pv(r,e,t,s);let c=null;t!==null&&(c=ea(t,o[Jt]));let u=i.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=xo(o,Cd(n),null,l,o[e.index],e,i,u,null,null,c);return a.firstCreatePass&&ls(a,e,r.length-1),To(o,d),o[e.index]=d}function pv(e,t,n,r){for(let o of e)t.mergedAttrs=Ps(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(gs(t,t.mergedAttrs,!0),n!==null&&hd(r,n,t))}function gv(e,t,n,r,o,i){let s=Te(),a=o[N],c=_e(s,o);bd(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,h=On(o,a,d,s);Dt(h,o)}Sd(a,o,s),c&&Dt(c,o);let u=On(o,a,s.directiveStart+s.componentOffset,s);if(e[Me]=o[Me]=u,i!==null)for(let l of i)l(u,t);return yd(a,s,o),u}function mv(e,t,n,r){if(r)zi(e,n,["ng-version","18.2.11"]);else{let{attrs:o,classes:i}=bp(t.selectors[0]);o&&zi(e,n,o),i&&i.length>0&&fd(e,n,i.join(" "))}}function vv(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function yv(){let e=Te();qs(U()[N],e)}var un=(()=>{class e{static{this.__NG_ELEMENT_ID__=Dv}}return e})();function Dv(){let e=Te();return Cv(e,U())}var wv=un,Ld=class extends wv{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return bo(this._hostTNode,this._hostLView)}get injector(){return new ht(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ws(this._hostTNode,this._hostLView);if(Pl(t)){let n=eo(t,this._hostLView),r=Xr(t),o=n[N].data[r+8];return new ht(o,n)}else return new ht(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Iu(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ge}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=wu(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Du(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Bp(t),a;if(s)a=n;else{let g=n||{};a=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}let c=s?t:new Pn(pt(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let b=(s?u:this.parentInjector).get(me,null);b&&(i=b)}let l=pt(c.componentType??{}),d=wu(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,Du(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Gp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ne],u=new Ld(c,c[xe],c[ne]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return zm(s,o,i,r),t.attachToViewContainerRef(),Hu(Li(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Iu(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=cs(this._lContainer,n);r&&(Gr(Li(this._lContainer),n),cd(r[N],r))}detach(t){let n=this._adjustIndex(t,-1),r=cs(this._lContainer,n);return r&&Gr(Li(this._lContainer),n)!=null?new wt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Iu(e){return e[Qr]}function Li(e){return e[Qr]||(e[Qr]=[])}function Cv(e,t){let n,r=t[e.index];return Ze(r)?n=r:(n=Md(r,t,null,e),t[e.index]=n,To(t,n)),Ev(n,t,e,r),new Ld(n,e,t)}function Iv(e,t){let n=e[Y],r=n.createComment(""),o=_e(t,e),i=ld(n,o);return oo(n,i,r,sm(n,o),!1),r}var Ev=Mv,bv=()=>!1;function Sv(e,t,n){return bv(e,t,n)}function Mv(e,t,n,r){if(e[gt])return;let o;n.type&8?o=Le(r):o=Iv(t,n),e[gt]=o}var Eu=new Set;function da(e){Eu.has(e)||(Eu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var it=class{},Fn=class{};var vs=class extends it{constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ao(this);let i=Ku(t);this._bootstrapComponents=od(i.bootstrap),this._r3Injector=zl(t,n,[{provide:it,useValue:this},{provide:nn,useValue:this.componentFactoryResolver},...r],te(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},ys=class extends Fn{constructor(t){super(),this.moduleType=t}create(t){return new vs(this.moduleType,t,[])}};var co=class extends it{constructor(t){super(),this.componentFactoryResolver=new ao(this),this.instance=null;let n=new Nn([...t.providers,{provide:it,useValue:this},{provide:nn,useValue:this.componentFactoryResolver}],t.parent||Ls(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function fa(e,t,n=null){return new co({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function jd(e){return _v(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function xv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function _v(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Ro(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Tv(e){return(e.flags&32)===32}function Nv(e,t,n,r,o,i,s,a,c){let u=t.consts,l=_o(t,e,4,s||null,a||null);Ed(t,n,l,Jr(u,c)),qs(t,l);let d=l.tView=aa(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function Av(e,t,n,r,o,i,s,a,c,u){let l=n+ot,d=t.firstCreatePass?Nv(l,t,e,r,o,i,s,a,c):t.data[l];Bn(d,!1);let h=Rv(t,e,d,n);zs()&&ia(t,e,h,d),Dt(h,e);let f=Md(h,e,h,d);return e[l]=f,To(e,f),Sv(f,d,e),js(d)&&Dd(t,e,d),c!=null&&wd(e,d,u),d}function bt(e,t,n,r,o,i,s,a){let c=U(),u=je(),l=Jr(u.consts,i);return Av(c,u,e,t,n,r,o,l,s,a),bt}var Rv=Ov;function Ov(e,t,n,r){return Gs(!0),t[Y].createComment("")}var Mn=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Mn||{}),Pv=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}}return e})(),bu=class e{constructor(){this.ngZone=p(z),this.scheduler=p(tn),this.errorHandler=p(ze,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[Mn.EarlyRead,Mn.Write,Mn.MixedReadWrite,Mn.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&(this.sequences.delete(t),t.destroy());for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=D({token:e,providedIn:"root",factory:()=>new e})}};function Vd(e,t,n,r){return Ro(e,Cl(),n)?t+Ts(n)+r:Qe}function kr(e,t){return e<<17|t<<2}function Ct(e){return e>>17&32767}function Fv(e){return(e&2)==2}function kv(e,t){return e&131071|t<<17}function Ds(e){return e|2}function on(e){return(e&131068)>>2}function ji(e,t){return e&-131069|t<<2}function Lv(e){return(e&1)===1}function ws(e){return e|1}function jv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ct(s),c=on(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Ln(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=Ct(e[a+1]);e[r+1]=kr(h,a),h!==0&&(e[h+1]=ji(e[h+1],r)),e[a+1]=kv(e[a+1],r)}else e[r+1]=kr(a,0),a!==0&&(e[a+1]=ji(e[a+1],r)),a=r;else e[r+1]=kr(c,0),a===0?a=r:e[c+1]=ji(e[c+1],r),c=r;u&&(e[r+1]=Ds(e[r+1])),Su(e,l,r,!0),Su(e,l,r,!1),Vv(t,l,e,r,i),s=kr(a,c),i?t.classBindings=s:t.styleBindings=s}function Vv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Ln(i,t)>=0&&(n[r+1]=ws(n[r+1]))}function Su(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ct(o):on(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];Bv(c,t)&&(a=!0,e[s+1]=r?ws(u):Ds(u)),s=r?Ct(u):on(u)}a&&(e[n+1]=r?Ds(o):ws(o))}function Bv(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Ln(e,t)>=0:!1}var be={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $v(e){return e.substring(be.key,be.keyEnd)}function Uv(e){return Hv(e),Bd(e,$d(e,0,be.textEnd))}function Bd(e,t){let n=be.textEnd;return n===t?-1:(t=be.keyEnd=zv(e,be.key=t,n),$d(e,t,n))}function Hv(e){be.key=0,be.keyEnd=0,be.value=0,be.valueEnd=0,be.textEnd=e.length}function $d(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function zv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Ve(e,t,n){let r=U(),o=Cl();if(Ro(r,o,t)){let i=je(),s=Tl();Id(i,s,r,e,t,r[Y],n,!1)}return Ve}function Cs(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";ca(e,n,i[s],s,r)}function Un(e,t){return qv(e,t,null,!0),Un}function Ud(e){Wv(Xv,Gv,e,!0)}function Gv(e,t){for(let n=Uv(t);n>=0;n=Bd(t,n))Os(e,$v(t),!0)}function qv(e,t,n,r){let o=U(),i=je(),s=Il(2);if(i.firstUpdatePass&&zd(i,e,s,r),t!==Qe&&Ro(o,s,t)){let a=i.data[Et()];Gd(i,a,o,o[Y],e,o[s+1]=ty(t,n),r,s)}}function Wv(e,t,n,r){let o=je(),i=Il(2);o.firstUpdatePass&&zd(o,null,i,r);let s=U();if(n!==Qe&&Ro(s,i,n)){let a=o.data[Et()];if(qd(a,r)&&!Hd(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Bi(c,n||"")),Cs(o,a,s,n,r)}else ey(o,a,s,s[Y],s[i+1],s[i+1]=Jv(e,t,n),r,i)}}function Hd(e,t){return t>=e.expandoStartIndex}function zd(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Et()],s=Hd(e,n);qd(i,r)&&t===null&&!s&&(t=!1),t=Zv(o,i,t,r),jv(o,i,t,n,s,r)}}function Zv(e,t,n,r){let o=sg(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Vi(null,e,t,n,r),n=kn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Vi(o,e,t,n,r),i===null){let c=Qv(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Vi(null,e,t,c[1],r),c=kn(c,t.attrs,r),Yv(e,t,r,c))}else i=Kv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Qv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(on(r)!==0)return e[Ct(r)]}function Yv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ct(o)]=r}function Kv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=kn(r,s,n)}return kn(r,t.attrs,n)}function Vi(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=kn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function kn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Os(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Jv(e,t,n){if(n==null||n==="")return He;let r=[],o=$n(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Xv(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Os(e,r,n)}function ey(e,t,n,r,o,i,s,a){o===Qe&&(o=He);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 h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,g=null,b;l===d?(c+=2,u+=2,h!==f&&(g=d,b=f)):d===null||l!==null&&l<d?(c+=2,g=l):(u+=2,g=d,b=f),g!==null&&Gd(e,t,n,r,g,b,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Gd(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=Lv(u)?Mu(c,t,n,o,on(u),s):void 0;if(!uo(l)){uo(i)||Fv(u)&&(i=Mu(c,null,n,o,a,s));let d=dl(Et(),n);hm(r,s,d,o,i)}}function Mu(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[o+1];h===Qe&&(h=d?He:void 0);let f=d?Ti(h,r):l===r?h:void 0;if(u&&!uo(f)&&(f=Ti(c,r)),uo(f)&&(a=f,s))return a;let g=e[o+1];o=s?Ct(g):on(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ti(c,r))}return a}function uo(e){return e!==void 0}function ty(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=te($n(e)))),e}function qd(e,t){return(e.flags&(t?8:16))!==0}function ny(e,t,n,r,o,i){let s=t.consts,a=Jr(s,o),c=_o(t,e,2,r,a);return Ed(t,n,c,Jr(s,i)),c.attrs!==null&&gs(c,c.attrs,!1),c.mergedAttrs!==null&&gs(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function I(e,t,n,r){let o=U(),i=je(),s=ot+e,a=o[Y],c=i.firstCreatePass?ny(s,i,o,t,n,r):i.data[s],u=ry(i,o,c,a,t,e);o[s]=u;let l=js(c);return Bn(c,!0),hd(a,u,c),!Tv(c)&&zs()&&ia(i,o,u,c),Zp()===0&&Dt(u,o),Qp(),l&&(Dd(i,o,c),yd(i,c,o)),r!==null&&wd(o,c),I}function x(){let e=Te();Dl()?tg():(e=e.parent,Bn(e,!1));let t=e;Jp(t)&&Xp(),Yp();let n=je();return n.firstCreatePass&&(qs(n,e),il(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&pg(t)&&Cs(n,t,U(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&gg(t)&&Cs(n,t,U(),t.stylesWithoutHost,!1),x}function re(e,t,n,r){return I(e,t,n,r),x(),re}var ry=(e,t,n,r,o,i)=>(Gs(!0),id(r,o,lg()));function ha(){return U()}var lo="en-US";var oy=lo;function iy(e){typeof e=="string"&&(oy=e.toLowerCase().replace(/_/g,"-"))}var sy=(e,t,n)=>{};function St(e,t,n,r){let o=U(),i=je(),s=Te();return cy(i,o,o[Y],s,e,t,r),St}function ay(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Zr],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function cy(e,t,n,r,o,i,s){let a=js(r),u=e.firstCreatePass&&jm(e),l=t[Me],d=Lm(t),h=!0;if(r.type&3||s){let b=_e(r,t),j=s?s(b):b,B=d.length,oe=s?De=>s(Le(De[r.index])):r.index,ie=null;if(!s&&a&&(ie=ay(e,t,o,r.index)),ie!==null){let De=ie.__ngLastListenerFn__||ie;De.__ngNextListenerFn__=i,ie.__ngLastListenerFn__=i,h=!1}else{i=_u(r,t,l,i),sy(b,o,i);let De=n.listen(j,o,i);d.push(i,De),u&&u.push(o,oe,B,B+1)}}else i=_u(r,t,l,i);let f=r.outputs,g;if(h&&f!==null&&(g=f[o])){let b=g.length;if(b)for(let j=0;j<b;j+=2){let B=g[j],oe=g[j+1],Rt=t[B][oe].subscribe(i),ae=d.length;d.push(i,Rt),u&&u.push(o,r.index,ae,-(ae+1))}}}function xu(e,t,n,r){let o=P(null);try{return Re(6,t,n),n(r)!==!1}catch(i){return _d(e,i),!1}finally{Re(7,t,n),P(o)}}function _u(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?It(e.index,t):t;la(s,5);let a=xu(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=xu(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function Hn(e=1){return cg(e)}function pa(e,t,n,r,o){let i=U(),s=Vd(i,t,n,r);if(s!==Qe){let a=je(),c=Tl();Id(a,c,i,e,s,i[Y],o,!1)}return pa}function V(e,t=""){let n=U(),r=je(),o=e+ot,i=r.firstCreatePass?_o(r,o,1,t,null):r.data[o],s=uy(r,n,i,t,e);n[o]=s,zs()&&ia(r,n,s,i),Bn(i,!1)}var uy=(e,t,n,r,o)=>(Gs(!0),Yg(t[Y],r));function ga(e){return at("",e,""),ga}function at(e,t,n){let r=U(),o=Vd(r,e,t,n);return o!==Qe&&Vm(r,Et(),o),at}var ly=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=el(!1,n.type),o=r.length>0?fa([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=D({token:e,providedIn:"environment",factory:()=>new e(A(me))})}}return e})();function Oo(e){da("NgStandalone"),e.getStandaloneInjector=t=>t.get(ly).getOrCreateStandaloneInjector(e)}var Po=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var Wd=new S("");function zn(e){return!!e&&typeof e.then=="function"}function Zd(e){return!!e&&typeof e.subscribe=="function"}var Qd=new S(""),Yd=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=p(Qd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=o();if(zn(i))n.push(i);else if(Zd(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),ma=new S("");function dy(){Dc(()=>{throw new v(600,!1)})}function fy(e){return e.isBoundToModule}var hy=10;function py(e,t,n){try{let r=n();return zn(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Mt=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=p(Fg),this.afterRenderManager=p(Pv),this.zonelessEnabled=p(Ao),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new X,this.afterTick=new X,this.componentTypes=[],this.components=[],this.isStable=p(an).hasPendingTasks.pipe(T(n=>!n)),this._injector=p(me)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof so;if(!this._injector.get(Yd).done){let h=!o&&Yu(n),f=!1;throw new v(405,f)}let s;o?s=n:s=this._injector.get(nn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=fy(s)?void 0:this._injector.get(it),c=r||s.selector,u=s.create(yt.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(Wd,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),$r(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new v(101,!1);let n=P(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,P(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(rn,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++<hy;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:o,notifyErrorHandler:i}of this._views)gy(o,i,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else n?.begin?.(),n?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Io(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;$r(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(ma,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>$r(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new v(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function $r(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function gy(e,t,n,r){if(!n&&!Io(e))return;Ad(e,t,n&&!r?0:1)}var Is=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},va=(()=>{class e{compileModuleSync(n){return new ys(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ku(n),i=od(o.declarations).reduce((s,a)=>{let c=pt(a);return c&&s.push(new Pn(c)),s},[]);return new Is(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var my=(()=>{class e{constructor(){this.zone=p(z),this.changeDetectionScheduler=p(tn),this.applicationRef=p(Mt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),vy=new S("",{factory:()=>!1});function Kd({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new z($(m({},Xd()),{scheduleInRootZone:n})),[{provide:z,useFactory:e},{provide:Kt,multi:!0,useFactory:()=>{let r=p(my,{optional:!0});return()=>r.initialize()}},{provide:Kt,multi:!0,useFactory:()=>{let r=p(yy);return()=>{r.initialize()}}},t===!0?{provide:Fd,useValue:!0}:[],{provide:kd,useValue:n??Gl}]}function Jd(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=Kd({ngZoneFactory:()=>{let o=Xd(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&da("NgZone_CoalesceEvent"),new z(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return vo([{provide:vy,useValue:!0},{provide:Ao,useValue:!1},r])}function Xd(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var yy=(()=>{class e{constructor(){this.subscription=new H,this.initialized=!1,this.zone=p(z),this.pendingTasks=p(an)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{z.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Dy=(()=>{class e{constructor(){this.appRef=p(Mt),this.taskService=p(an),this.ngZone=p(z),this.zonelessEnabled=p(Ao),this.disableScheduling=p(Fd,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new H,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(no):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(kd,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof is||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?du:Wl;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.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(no+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,du(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function wy(){return typeof $localize<"u"&&$localize.locale||lo}var ya=new S("",{providedIn:"root",factory:()=>p(ya,M.Optional|M.SkipSelf)||wy()});var Es=new S("");function Lr(e){return!e.moduleRef}function Cy(e){let t=Lr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(z);return n.run(()=>{Lr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(ze,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Lr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Es);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Es);s.add(i),e.moduleRef.onDestroy(()=>{$r(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return py(r,n,()=>{let i=t.get(Yd);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(ya,lo);if(iy(s||lo),Lr(e)){let a=t.get(Mt);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return Iy(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Iy(e,t){let n=e.injector.get(Mt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new v(-403,!1);t.push(e)}var Ur=null;function Ey(e=[],t){return yt.create({name:t,providers:[{provide:yo,useValue:"platform"},{provide:Es,useValue:new Set([()=>Ur=null])},...e]})}function by(e=[]){if(Ur)return Ur;let t=Ey(e);return Ur=t,dy(),Sy(t),t}function Sy(e){e.get(Js,null)?.forEach(n=>n())}var Gn=(()=>{class e{static{this.__NG_ELEMENT_ID__=My}}return e})();function My(e){return xy(Te(),U(),(e&16)===16)}function xy(e,t,n){if(wo(e)&&!n){let r=It(e.index,t);return new wt(r,r)}else if(e.type&175){let r=t[ke];return new wt(r,t)}return null}var bs=class{constructor(){}supports(t){return jd(t)}create(t){return new Ss(t)}},_y=(e,t)=>t,Ss=class{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||_y}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<Tu(r,o,i)?n:r,a=Tu(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let h=0;h<u;h++){let f=h<i.length?i[h]:i[h]=0,g=f+h;l<=g&&g<u&&(i[h]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!jd(t))throw new v(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,xv(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new Ms(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new fo),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new fo),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},Ms=class{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},xs=class{constructor(){this._head=null,this._tail=null}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},fo=class{constructor(){this.map=new Map}put(t){let n=t.trackById,r=this.map.get(n);r||(r=new xs,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Tu(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function Nu(){return new Da([new bs])}var Da=(()=>{class e{static{this.\u0275prov=D({token:e,providedIn:"root",factory:Nu})}constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Nu()),deps:[[e,new Uu,new As]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new v(901,!1)}}return e})();function ef(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=by(r),i=[Kd({}),{provide:tn,useExisting:Dy},...n||[]],s=new co({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return Cy({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}var lf=null;function ln(){return lf}function df(e){lf??=e}var ko=class{};var ve=new S(""),ff=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>p(Ry),providedIn:"platform"})}}return e})();var Ry=(()=>{class e extends ff{constructor(){super(),this._doc=p(ve),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ln().getBaseHref(this._doc)}onPopState(n){let r=ln().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=ln().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function hf(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function tf(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function xt(e){return e&&e[0]!=="?"?"?"+e:e}var jo=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>p(pf),providedIn:"root"})}}return e})(),Oy=new S(""),pf=(()=>{class e extends jo{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(ve).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return hf(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+xt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+xt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+xt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)(A(ff),A(Oy,8))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var qn=(()=>{class e{constructor(n){this._subject=new ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=ky(tf(nf(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+xt(r))}normalize(n){return e.stripTrailingSlash(Fy(this._basePath,nf(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+xt(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+xt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static{this.normalizeQueryParams=xt}static{this.joinWithSlash=hf}static{this.stripTrailingSlash=tf}static{this.\u0275fac=function(r){return new(r||e)(A(jo))}}static{this.\u0275prov=D({token:e,factory:()=>Py(),providedIn:"root"})}}return e})();function Py(){return new qn(A(jo))}function Fy(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function nf(e){return e.replace(/\/index.html$/,"")}function ky(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}function gf(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var wa=class{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},mf=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new wa(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),rf(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);rf(i,o)})}static ngTemplateContextGuard(n,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(st(un),st(No),st(Da))}}static{this.\u0275dir=jn({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return e})();function rf(e,t){e.context.$implicit=t.item}var vf=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new Ca,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){of("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){of("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(st(un),st(No))}}static{this.\u0275dir=jn({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return e})(),Ca=class{constructor(){this.$implicit=null,this.ngIf=null}};function of(e,t){if(!!!(!t||t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${te(t)}'.`)}var yf="browser",Ly="server";function Ia(e){return e===Ly}var Lo=class{};var Sa=class extends ko{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ma=class e extends Sa{static makeCurrent(){df(new e)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n==="window"?window:n==="document"?t:n==="body"?t.body:null}getBaseHref(t){let n=jy();return n==null?null:Vy(n)}resetBaseElement(){Wn=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return gf(document.cookie,t)}},Wn=null;function jy(){return Wn=Wn||document.querySelector("base"),Wn?Wn.getAttribute("href"):null}function Vy(e){return new URL(e,document.baseURI).pathname}var By=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),xa=new S(""),If=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new v(5101,!1);return this._eventNameToPlugin.set(n,r),r}static{this.\u0275fac=function(r){return new(r||e)(A(xa),A(z))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),Vo=class{constructor(t){this._doc=t}},Ea="ng-app-id",Ef=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Ia(i),this.resetHostNodes()}addStyles(n){for(let r of n)this.changeUsageCount(r,1)===1&&this.onStyleAdded(r)}removeStyles(n){for(let r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(let r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){let r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${Ea}="${this.appId}"]`);if(n?.length){let r=new Map;return n.forEach(o=>{o.textContent!=null&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){let o=this.styleRef;if(o.has(n)){let i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){let o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(Ea),i;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Ea,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){let o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(A(ve),A(Ks),A(Xs,8),A(cn))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),ba={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"},Ta=/%COMP%/g,bf="%COMP%",$y=`_nghost-${bf}`,Uy=`_ngcontent-${bf}`,Hy=!0,zy=new S("",{providedIn:"root",factory:()=>Hy});function Gy(e){return Uy.replace(Ta,e)}function qy(e){return $y.replace(Ta,e)}function Sf(e,t){return t.map(n=>n.replace(Ta,e))}var Df=(()=>{class e{constructor(n,r,o,i,s,a,c,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=Ia(a),this.defaultRenderer=new Zn(n,s,c,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Pe.ShadowDom&&(r=$(m({},r),{encapsulation:Pe.Emulated}));let o=this.getOrCreateRenderer(n,r);return o instanceof Bo?o.applyToHost(n):o instanceof Qn&&o.applyStyles(),o}getOrCreateRenderer(n,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.platformIsServer;switch(r.encapsulation){case Pe.Emulated:i=new Bo(c,u,r,this.appId,l,s,a,d);break;case Pe.ShadowDom:return new _a(c,u,n,r,s,a,this.nonce,d);default:i=new Qn(c,u,r,l,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(A(If),A(Ef),A(Ks),A(zy),A(ve),A(cn),A(z),A(Xs))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),Zn=class{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(ba[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(wf(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(wf(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new v(-5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;let i=ba[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=ba[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Ge.DashCase|Ge.Important)?t.style.setProperty(n,r,o&Ge.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ge.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r){if(typeof t=="string"&&(t=ln().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))===!1&&n.preventDefault()}}};function wf(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var _a=class extends Zn{constructor(t,n,r,o,i,s,a,c){super(t,i,s,c),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Sf(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Qn=class extends Zn{constructor(t,n,r,o,i,s,a,c){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=c?Sf(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Bo=class extends Qn{constructor(t,n,r,o,i,s,a,c){let u=o+"-"+r.id;super(t,n,r,i,s,a,c,u),this.contentAttr=Gy(u),this.hostAttr=qy(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}},Wy=(()=>{class e extends Vo{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static{this.\u0275fac=function(r){return new(r||e)(A(ve))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})(),Cf=["alt","control","meta","shift"],Zy={"\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"},Qy={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Yy=(()=>{class e extends Vo{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o){let i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ln().onAndCancel(n,i.domEventName,s))}static parseEventName(n){let r=n.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."),Cf.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(n,r){let o=Zy[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Cf.forEach(s=>{if(s!==o){let a=Qy[s];a(n)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n==="esc"?"escape":n}static{this.\u0275fac=function(r){return new(r||e)(A(ve))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac})}}return e})();function Mf(e,t){return ef(m({rootComponent:e},Ky(t)))}function Ky(e){return{appProviders:[...nD,...e?.providers??[]],platformProviders:tD}}function Jy(){Ma.makeCurrent()}function Xy(){return new ze}function eD(){return ed(document),document}var tD=[{provide:cn,useValue:yf},{provide:Js,useValue:Jy,multi:!0},{provide:ve,useFactory:eD,deps:[]}];var nD=[{provide:yo,useValue:"root"},{provide:ze,useFactory:Xy,deps:[]},{provide:xa,useClass:Wy,multi:!0,deps:[ve,z,cn]},{provide:xa,useClass:Yy,multi:!0,deps:[ve]},Df,Ef,If,{provide:rn,useExisting:Df},{provide:Lo,useClass:By,deps:[]},[]];var xf=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static{this.\u0275fac=function(r){return new(r||e)(A(ve))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var E="primary",fr=Symbol("RouteTitle"),Pa=class{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){let n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function mn(e){return new Pa(e)}function oD(e,t,n){let r=n.path.split("/");if(r.length>e.length||n.pathMatch==="full"&&(t.hasChildren()||r.length<e.length))return null;let o={};for(let i=0;i<r.length;i++){let s=r[i],a=e[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}function iD(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Be(e[n],t[n]))return!1;return!0}function Be(e,t){let n=e?Fa(e):void 0,r=t?Fa(t):void 0;if(!n||!r||n.length!=r.length)return!1;let o;for(let i=0;i<n.length;i++)if(o=n[i],!Ff(e[o],t[o]))return!1;return!0}function Fa(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function Ff(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;let n=[...e].sort(),r=[...t].sort();return n.every((o,i)=>r[i]===o)}else return e===t}function kf(e){return e.length>0?e[e.length-1]:null}function ct(e){return Ii(e)?e:zn(e)?G(Promise.resolve(e)):C(e)}var sD={exact:jf,subset:Vf},Lf={exact:aD,subset:cD,ignored:()=>!0};function _f(e,t,n){return sD[n.paths](e.root,t.root,n.matrixParams)&&Lf[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function aD(e,t){return Be(e,t)}function jf(e,t,n){if(!Tt(e.segments,t.segments)||!Ho(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!jf(e.children[r],t.children[r],n))return!1;return!0}function cD(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Ff(e[n],t[n]))}function Vf(e,t,n){return Bf(e,t,t.segments,n)}function Bf(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!Tt(o,n)||t.hasChildren()||!Ho(o,n,r))}else if(e.segments.length===n.length){if(!Tt(e.segments,n)||!Ho(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!Vf(e.children[o],t.children[o],r))return!1;return!0}else{let o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!Tt(e.segments,o)||!Ho(e.segments,o,r)||!e.children[E]?!1:Bf(e.children[E],t,i,r)}}function Ho(e,t,n){return t.every((r,o)=>Lf[n](e[o].parameters,r.parameters))}var Ke=class{constructor(t=new F([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=mn(this.queryParams),this._queryParamMap}toString(){return dD.serialize(this)}},F=class{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return zo(this)}},_t=class{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=mn(this.parameters),this._parameterMap}toString(){return Uf(this)}};function uD(e,t){return Tt(e,t)&&e.every((n,r)=>Be(n.parameters,t[r].parameters))}function Tt(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function lD(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===E&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==E&&(n=n.concat(t(o,r)))}),n}var ac=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>new nr,providedIn:"root"})}}return e})(),nr=class{parse(t){let n=new La(t);return new Ke(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${Yn(t.root,!0)}`,r=pD(t.queryParams),o=typeof t.fragment=="string"?`#${fD(t.fragment)}`:"";return`${n}${r}${o}`}},dD=new nr;function zo(e){return e.segments.map(t=>Uf(t)).join("/")}function Yn(e,t){if(!e.hasChildren())return zo(e);if(t){let n=e.children[E]?Yn(e.children[E],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==E&&r.push(`${o}:${Yn(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=lD(e,(r,o)=>o===E?[Yn(e.children[E],!1)]:[`${o}:${Yn(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[E]!=null?`${zo(e)}/${n[0]}`:`${zo(e)}/(${n.join("//")})`}}function $f(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function $o(e){return $f(e).replace(/%3B/gi,";")}function fD(e){return encodeURI(e)}function ka(e){return $f(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Go(e){return decodeURIComponent(e)}function Tf(e){return Go(e.replace(/\+/g,"%20"))}function Uf(e){return`${ka(e.path)}${hD(e.parameters)}`}function hD(e){return Object.entries(e).map(([t,n])=>`;${ka(t)}=${ka(n)}`).join("")}function pD(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${$o(n)}=${$o(o)}`).join("&"):`${$o(n)}=${$o(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var gD=/^[^\/()?;#]+/;function Na(e){let t=e.match(gD);return t?t[0]:""}var mD=/^[^\/()?;=#]+/;function vD(e){let t=e.match(mD);return t?t[0]:""}var yD=/^[^=?&#]+/;function DD(e){let t=e.match(yD);return t?t[0]:""}var wD=/^[^&#]+/;function CD(e){let t=e.match(wD);return t?t[0]:""}var La=class{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new F([],{}):new F([],this.parseChildren())}parseQueryParams(){let t={};if(this.consumeOptional("?"))do this.parseQueryParam(t);while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){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 n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[E]=new F(t,n)),r}parseSegment(){let t=Na(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new v(4009,!1);return this.capture(t),new _t(Go(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=vD(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Na(this.remaining);o&&(r=o,this.capture(r))}t[Go(n)]=Go(r)}parseQueryParam(t){let n=DD(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=CD(this.remaining);s&&(r=s,this.capture(r))}let o=Tf(n),i=Tf(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=Na(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new v(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=E);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[E]:new F([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return this.peekStartsWith(t)?(this.remaining=this.remaining.substring(t.length),!0):!1}capture(t){if(!this.consumeOptional(t))throw new v(4011,!1)}};function Hf(e){return e.segments.length>0?new F([],{[E]:e}):e}function zf(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=zf(o);if(r===E&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}let n=new F(e.segments,t);return ID(n)}function ID(e){if(e.numberOfChildren===1&&e.children[E]){let t=e.children[E];return new F(e.segments.concat(t.segments),t.children)}return e}function rr(e){return e instanceof Ke}function ED(e,t,n=null,r=null){let o=Gf(e);return qf(o,t,n,r)}function Gf(e){let t;function n(i){let s={};for(let c of i.children){let u=n(c);s[c.outlet]=u}let a=new F(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=Hf(r);return t??o}function qf(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Aa(o,o,o,n,r);let i=bD(t);if(i.toRoot())return Aa(o,o,new F([],{}),n,r);let s=SD(i,o,e),a=s.processChildren?Xn(s.segmentGroup,s.index,i.commands):Zf(s.segmentGroup,s.index,i.commands);return Aa(o,s.segmentGroup,a,n,r)}function qo(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function or(e){return typeof e=="object"&&e!=null&&e.outlets}function Aa(e,t,n,r,o){let i={};r&&Object.entries(r).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;e===t?s=n:s=Wf(e,t,n);let a=Hf(zf(s));return new Ke(a,i,o)}function Wf(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=Wf(i,t,n)}),new F(e.segments,r)}var Wo=class{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&qo(r[0]))throw new v(4003,!1);let o=r.find(or);if(o&&o!==kf(r))throw new v(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function bD(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new Wo(!0,0,e);let t=0,n=!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===""?n=!0:a===".."?t++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Wo(n,t,r)}var hn=class{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function SD(e,t,n){if(e.isAbsolute)return new hn(t,!0,0);if(!n)return new hn(t,!1,NaN);if(n.parent===null)return new hn(n,!0,0);let r=qo(e.commands[0])?0:1,o=n.segments.length-1+r;return MD(n,o,e.numberOfDoubleDots)}function MD(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new v(4005,!1);o=r.segments.length}return new hn(r,!1,o-i)}function xD(e){return or(e[0])?e[0].outlets:{[E]:e}}function Zf(e,t,n){if(e??=new F([],{}),e.segments.length===0&&e.hasChildren())return Xn(e,t,n);let r=_D(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new F(e.segments.slice(0,r.pathIndex),{});return i.children[E]=new F(e.segments.slice(r.pathIndex),e.children),Xn(i,0,o)}else return r.match&&o.length===0?new F(e.segments,{}):r.match&&!e.hasChildren()?ja(e,t,n):r.match?Xn(e,0,o):ja(e,t,n)}function Xn(e,t,n){if(n.length===0)return new F(e.segments,{});{let r=xD(n),o={};if(Object.keys(r).some(i=>i!==E)&&e.children[E]&&e.numberOfChildren===1&&e.children[E].segments.length===0){let i=Xn(e.children[E],t,n);return new F(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=Zf(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new F(e.segments,o)}}function _D(e,t,n){let r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};for(;o<e.segments.length;){if(r>=n.length)return i;let s=e.segments[o],a=n[r];if(or(a))break;let c=`${a}`,u=r<n.length-1?n[r+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Af(c,u,s))return i;r+=2}else{if(!Af(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function ja(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(or(i)){let c=TD(i.outlets);return new F(r,c)}if(o===0&&qo(n[0])){let c=e.segments[t];r.push(new _t(c.path,Nf(n[0]))),o++;continue}let s=or(i)?i.outlets[E]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&qo(a)?(r.push(new _t(s,Nf(a))),o+=2):(r.push(new _t(s,{})),o++)}return new F(r,{})}function TD(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=ja(new F([],{}),0,r))}),t}function Nf(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function Af(e,t,n){return e==n.path&&Be(t,n.parameters)}var er="imperative",K=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.ResolveStart=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}(K||{}),ye=class{constructor(t,n){this.id=t,this.url=n}},ir=class extends ye{constructor(t,n,r="imperative",o=null){super(t,n),this.type=K.NavigationStart,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Nt=class extends ye{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=K.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},de=function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e}(de||{}),Va=function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e}(Va||{}),Ye=class extends ye{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=K.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},At=class extends ye{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=K.NavigationSkipped}},sr=class extends ye{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=K.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Zo=class extends ye{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=K.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ba=class extends ye{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=K.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},$a=class extends ye{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=K.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ua=class extends ye{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=K.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ha=class extends ye{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=K.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},za=class{constructor(t){this.route=t,this.type=K.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Ga=class{constructor(t){this.route=t,this.type=K.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},qa=class{constructor(t){this.snapshot=t,this.type=K.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wa=class{constructor(t){this.snapshot=t,this.type=K.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Za=class{constructor(t){this.snapshot=t,this.type=K.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Qa=class{constructor(t){this.snapshot=t,this.type=K.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var ar=class{},vn=class{constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function ND(e,t){return e.providers&&!e._injector&&(e._injector=fa(e.providers,t,`Route: ${e.path}`)),e._injector??t}function Ne(e){return e.outlet||E}function AD(e,t){let n=e.filter(r=>Ne(r)===t);return n.push(...e.filter(r=>Ne(r)!==t)),n}function hr(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){let n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Ya=class{get injector(){return hr(this.route?.snapshot)??this.rootInjector}set injector(t){}constructor(t){this.rootInjector=t,this.outlet=null,this.route=null,this.children=new ti(this.rootInjector),this.attachRef=null}},ti=(()=>{class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,r){let o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){let r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Ya(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static{this.\u0275fac=function(r){return new(r||e)(A(me))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Qo=class{constructor(t){this._root=t}get root(){return this._root.value}parent(t){let n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){let n=Ka(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=Ka(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Ja(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Ja(t,this._root).map(n=>n.value)}};function Ka(e,t){if(e===t.value)return t;for(let n of t.children){let r=Ka(e,n);if(r)return r}return null}function Ja(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Ja(e,n);if(r.length)return r.unshift(t),r}return[]}var le=class{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function fn(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Yo=class extends Qo{constructor(t,n){super(t),this.snapshot=n,cc(this,t)}toString(){return this.snapshot.toString()}};function Qf(e){let t=RD(e),n=new Z([new _t("",{})]),r=new Z({}),o=new Z({}),i=new Z({}),s=new Z(""),a=new yn(n,r,i,s,o,E,e,t.root);return a.snapshot=t.root,new Yo(new le(a,[]),t)}function RD(e){let t={},n={},r={},o="",i=new pn([],t,r,o,n,E,e,null,{});return new Jo("",new le(i,[]))}var yn=class{constructor(t,n,r,o,i,s,a,c){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(T(u=>u[fr]))??C(void 0),this.url=t,this.params=n,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(T(t=>mn(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(T(t=>mn(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ko(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:m(m({},t.params),e.params),data:m(m({},t.data),e.data),resolve:m(m(m(m({},e.data),t.data),o?.data),e._resolvedData)}:r={params:m({},e.params),data:m({},e.data),resolve:m(m({},e.data),e._resolvedData??{})},o&&Kf(o)&&(r.resolve[fr]=o.title),r}var pn=class{get title(){return this.data?.[fr]}constructor(t,n,r,o,i,s,a,c,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}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??=mn(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=mn(this.queryParams),this._queryParamMap}toString(){let t=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${t}', path:'${n}')`}},Jo=class extends Qo{constructor(t,n){super(n),this.url=t,cc(this,n)}toString(){return Yf(this._root)}};function cc(e,t){t.value._routerState=e,t.children.forEach(n=>cc(e,n))}function Yf(e){let t=e.children.length>0?` { ${e.children.map(Yf).join(", ")} } `:"";return`${e.value}${t}`}function Ra(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Be(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Be(t.params,n.params)||e.paramsSubject.next(n.params),iD(t.url,n.url)||e.urlSubject.next(n.url),Be(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Xa(e,t){let n=Be(e.params,t.params)&&uD(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Xa(e.parent,t.parent))}function Kf(e){return typeof e.title=="string"||e.title===null}var OD=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=E,this.activateEvents=new ee,this.deactivateEvents=new ee,this.attachEvents=new ee,this.detachEvents=new ee,this.parentContexts=p(ti),this.location=p(un),this.changeDetector=p(Gn),this.inputBinder=p(uc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:r,previousValue:o}=n.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(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new v(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new v(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new v(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new v(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new ec(n,a,o.injector);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{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=jn({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Co]})}}return e})(),ec=class e{__ngOutletInjector(t){return new e(this.route,this.childContexts,t)}constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===yn?this.route:t===ti?this.childContexts:this.parent.get(t,n)}},uc=new S("");function PD(e,t,n){let r=cr(e,t._root,n?n._root:void 0);return new Yo(r,t)}function cr(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=FD(e,t,n);return new le(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>cr(e,a)),s}}let r=kD(t.value),o=t.children.map(i=>cr(e,i));return new le(r,o)}}function FD(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return cr(e,r,o);return cr(e,r)})}function kD(e){return new yn(new Z(e.url),new Z(e.params),new Z(e.queryParams),new Z(e.fragment),new Z(e.data),e.outlet,e.component,e)}var ur=class{constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},Jf="ngNavigationCancelingError";function Xo(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=rr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=Xf(!1,de.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function Xf(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[Jf]=!0,n.cancellationCode=t,n}function LD(e){return eh(e)&&rr(e.url)}function eh(e){return!!e&&e[Jf]}var jD=(e,t,n,r)=>T(o=>(new tc(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),tc=class{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),Ra(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=fn(n);t.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(t,n,r){let o=t.value,i=n?n.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=fn(t);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(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){let r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=fn(t);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(t,n,r){let o=fn(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Qa(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Wa(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Ra(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,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),Ra(a.route.value),this.activateChildRoutes(t,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}else this.activateChildRoutes(t,null,r)}},ei=class{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},gn=class{constructor(t,n){this.component=t,this.route=n}};function VD(e,t,n){let r=e._root,o=t?t._root:null;return Kn(r,o,n,[r.value])}function BD(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function wn(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Fu(e)?e:t.get(e):r}function Kn(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=fn(t);return e.children.forEach(s=>{$D(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>tr(a,n.getContext(s),o)),o}function $D(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=UD(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new ei(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Kn(e,t,a?a.children:null,r,o):Kn(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new gn(a.outlet.component,s))}else s&&tr(t,a,o),o.canActivateChecks.push(new ei(r)),i.component?Kn(e,null,a?a.children:null,r,o):Kn(e,null,n,r,o);return o}function UD(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!Tt(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Tt(e.url,t.url)||!Be(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Xa(e,t)||!Be(e.queryParams,t.queryParams);case"paramsChange":default:return!Xa(e,t)}}function tr(e,t,n){let r=fn(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?tr(s,t.children.getContext(i),n):tr(s,null,n):tr(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new gn(t.outlet.component,o)):n.canDeactivateChecks.push(new gn(null,o)):n.canDeactivateChecks.push(new gn(null,o))}function pr(e){return typeof e=="function"}function HD(e){return typeof e=="boolean"}function zD(e){return e&&pr(e.canLoad)}function GD(e){return e&&pr(e.canActivate)}function qD(e){return e&&pr(e.canActivateChild)}function WD(e){return e&&pr(e.canDeactivate)}function ZD(e){return e&&pr(e.canMatch)}function th(e){return e instanceof $e||e?.name==="EmptyError"}var Uo=Symbol("INITIAL_VALUE");function Dn(){return Ie(e=>Rr(e.map(t=>t.pipe(Ue(1),xi(Uo)))).pipe(T(t=>{for(let n of t)if(n!==!0){if(n===Uo)return Uo;if(n===!1||QD(n))return n}return!0}),Ce(t=>t!==Uo),Ue(1)))}function QD(e){return rr(e)||e instanceof ur}function YD(e,t){return q(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?C($(m({},n),{guardsResult:!0})):KD(s,r,o,e).pipe(q(a=>a&&HD(a)?JD(r,i,e,t):C(a)),T(a=>$(m({},n),{guardsResult:a})))})}function KD(e,t,n,r){return G(e).pipe(q(o=>rw(o.component,o.route,n,t,r)),Ae(o=>o!==!0,!0))}function JD(e,t,n,r){return G(t).pipe(Ht(o=>Ut(ew(o.route.parent,r),XD(o.route,r),nw(e,o.path,n),tw(e,o.route,n))),Ae(o=>o!==!0,!0))}function XD(e,t){return e!==null&&t&&t(new Za(e)),C(!0)}function ew(e,t){return e!==null&&t&&t(new qa(e)),C(!0)}function tw(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return C(!0);let o=r.map(i=>Or(()=>{let s=hr(t)??n,a=wn(i,s),c=GD(a)?a.canActivate(t,e):qe(s,()=>a(t,e));return ct(c).pipe(Ae())}));return C(o).pipe(Dn())}function nw(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>BD(s)).filter(s=>s!==null).map(s=>Or(()=>{let a=s.guards.map(c=>{let u=hr(s.node)??n,l=wn(c,u),d=qD(l)?l.canActivateChild(r,e):qe(u,()=>l(r,e));return ct(d).pipe(Ae())});return C(a).pipe(Dn())}));return C(i).pipe(Dn())}function rw(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return C(!0);let s=i.map(a=>{let c=hr(t)??o,u=wn(a,c),l=WD(u)?u.canDeactivate(e,t,n,r):qe(c,()=>u(e,t,n,r));return ct(l).pipe(Ae())});return C(s).pipe(Dn())}function ow(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return C(!0);let i=o.map(s=>{let a=wn(s,e),c=zD(a)?a.canLoad(t,n):qe(e,()=>a(t,n));return ct(c)});return C(i).pipe(Dn(),nh(r))}function nh(e){return yi(Q(t=>{if(typeof t!="boolean")throw Xo(e,t)}),T(t=>t===!0))}function iw(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return C(!0);let i=o.map(s=>{let a=wn(s,e),c=ZD(a)?a.canMatch(t,n):qe(e,()=>a(t,n));return ct(c)});return C(i).pipe(Dn(),nh(r))}var lr=class{constructor(t){this.segmentGroup=t||null}},dr=class extends Error{constructor(t){super(),this.urlTree=t}};function dn(e){return $t(new lr(e))}function sw(e){return $t(new v(4e3,!1))}function aw(e){return $t(Xf(!1,de.GuardRejected))}var nc=class{constructor(t,n){this.urlSerializer=t,this.urlTree=n}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return C(r);if(o.numberOfChildren>1||!o.children[E])return sw(`${t.redirectTo}`);o=o.children[E]}}applyRedirectCommands(t,n,r,o,i){if(typeof n!="string"){let a=n,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:g,title:b}=o,j=qe(i,()=>a({params:f,data:g,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:b}));if(j instanceof Ke)throw new dr(j);n=j}let s=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r);if(n[0]==="/")throw new dr(s);return s}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new Ke(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){let r={};return Object.entries(t).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){let i=this.createSegments(t,n.segments,r,o),s={};return Object.entries(n.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(t,c,r,o)}),new F(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path[0]===":"?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){let o=r[n.path.substring(1)];if(!o)throw new v(4001,!1);return o}findOrReturn(t,n){let r=0;for(let o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}},rc={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function cw(e,t,n,r,o){let i=rh(e,t,n);return i.matched?(r=ND(t,r),iw(r,t,n,o).pipe(T(s=>s===!0?i:m({},rc)))):C(i)}function rh(e,t,n){if(t.path==="**")return uw(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?m({},rc):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||oD)(n,e,t);if(!o)return m({},rc);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:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function uw(e){return{matched:!0,parameters:e.length>0?kf(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function Rf(e,t,n,r){return n.length>0&&fw(e,n,r)?{segmentGroup:new F(t,dw(r,new F(n,e.children))),slicedSegments:[]}:n.length===0&&hw(e,n,r)?{segmentGroup:new F(e.segments,lw(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new F(e.segments,e.children),slicedSegments:n}}function lw(e,t,n,r){let o={};for(let i of n)if(ni(e,t,i)&&!r[Ne(i)]){let s=new F([],{});o[Ne(i)]=s}return m(m({},r),o)}function dw(e,t){let n={};n[E]=t;for(let r of e)if(r.path===""&&Ne(r)!==E){let o=new F([],{});n[Ne(r)]=o}return n}function fw(e,t,n){return n.some(r=>ni(e,t,r)&&Ne(r)!==E)}function hw(e,t,n){return n.some(r=>ni(e,t,r))}function ni(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function pw(e,t,n){return t.length===0&&!e.children[n]}var oc=class{};function gw(e,t,n,r,o,i,s="emptyOnly"){return new ic(e,t,n,r,o,s,i).recognize()}var mw=31,ic=class{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new nc(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(t){return new v(4002,`'${t.segmentGroup}'`)}recognize(){let t=Rf(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(T(({children:n,rootSnapshot:r})=>{let o=new le(r,n),i=new Jo("",o),s=ED(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(t){let n=new pn([],Object.freeze({}),Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),E,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,E,n).pipe(T(r=>({children:r,rootSnapshot:n})),Xe(r=>{if(r instanceof dr)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof lr?this.noMatchError(r):r}))}processSegmentGroup(t,n,r,o,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(t,n,r,i):this.processSegment(t,n,r,r.segments,o,!0,i).pipe(T(s=>s instanceof le?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return G(i).pipe(Ht(s=>{let a=r.children[s],c=AD(n,s);return this.processSegmentGroup(t,c,a,s,o)}),Mi((s,a)=>(s.push(...a),s)),et(null),Si(),q(s=>{if(s===null)return dn(r);let a=oh(s);return vw(a),C(a)}))}processSegment(t,n,r,o,i,s,a){return G(n).pipe(Ht(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(Xe(u=>{if(u instanceof lr)return C(null);throw u}))),Ae(c=>!!c),Xe(c=>{if(th(c))return pw(r,o,i)?C(new oc):dn(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return Ne(r)!==s&&(s===E||!ni(o,i,r))?dn(o):r.redirectTo===void 0?this.matchSegmentAgainstRoute(t,o,r,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s,c):dn(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=rh(n,o,i);if(!c)return dn(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>mw&&(this.allowRedirects=!1));let f=new pn(i,u,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Of(o),Ne(o),o.component??o._loadedComponent??null,o,Pf(o)),g=Ko(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(g.params),f.data=Object.freeze(g.data);let b=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t);return this.applyRedirects.lineralizeSegments(o,b).pipe(q(j=>this.processSegment(t,r,n,j.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=cw(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(Ie(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(Ie(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new pn(h,d,Object.freeze(m({},this.urlTree.queryParams)),this.urlTree.fragment,Of(r),Ne(r),r.component??r._loadedComponent??null,r,Pf(r)),b=Ko(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(b.params),g.data=Object.freeze(b.data);let{segmentGroup:j,slicedSegments:B}=Rf(n,h,f,u);if(B.length===0&&j.hasChildren())return this.processChildren(l,u,j,g).pipe(T(ie=>new le(g,ie)));if(u.length===0&&B.length===0)return C(new le(g,[]));let oe=Ne(r)===i;return this.processSegment(l,u,j,B,oe?E:i,!0,g).pipe(T(ie=>new le(g,ie instanceof le?[ie]:[])))}))):dn(n)))}getChildConfig(t,n,r){return n.children?C({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?C({routes:n._loadedRoutes,injector:n._loadedInjector}):ow(t,n,r,this.urlSerializer).pipe(q(o=>o?this.configLoader.loadChildren(t,n).pipe(Q(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):aw(n))):C({routes:[],injector:t})}};function vw(e){e.sort((t,n)=>t.value.outlet===E?-1:n.value.outlet===E?1:t.value.outlet.localeCompare(n.value.outlet))}function yw(e){let t=e.value.routeConfig;return t&&t.path===""}function oh(e){let t=[],n=new Set;for(let r of e){if(!yw(r)){t.push(r);continue}let o=t.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),n.add(o)):t.push(r)}for(let r of n){let o=oh(r.children);t.push(new le(r.value,o))}return t.filter(r=>!n.has(r))}function Of(e){return e.data||{}}function Pf(e){return e.resolve||{}}function Dw(e,t,n,r,o,i){return q(s=>gw(e,t,n,r,s.extractedUrl,o,i).pipe(T(({state:a,tree:c})=>$(m({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function ww(e,t){return q(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return C(n);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of ih(c))s.add(u);let a=0;return G(s).pipe(Ht(c=>i.has(c)?Cw(c,r,e,t):(c.data=Ko(c,c.parent,e).resolve,C(void 0))),Q(()=>a++),zt(1),q(c=>a===s.size?C(n):ue))})}function ih(e){let t=e.children.map(n=>ih(n)).flat();return[e,...t]}function Cw(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!Kf(o)&&(i[fr]=o.title),Iw(i,e,t,r).pipe(T(s=>(e._resolvedData=s,e.data=Ko(e,e.parent,n).resolve,null)))}function Iw(e,t,n,r){let o=Fa(e);if(o.length===0)return C({});let i={};return G(o).pipe(q(s=>Ew(e[s],t,n,r).pipe(Ae(),Q(a=>{if(a instanceof ur)throw Xo(new nr,a);i[s]=a}))),zt(1),bi(i),Xe(s=>th(s)?ue:$t(s)))}function Ew(e,t,n,r){let o=hr(t)??r,i=wn(e,o),s=i.resolve?i.resolve(t,n):qe(o,()=>i(t,n));return ct(s)}function Oa(e){return Ie(t=>{let n=e(t);return n?G(n).pipe(T(()=>t)):C(t)})}var sh=(()=>{class e{buildTitle(n){let r,o=n.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===E);return r}getResolvedTitleForRoute(n){return n.data[fr]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>p(bw),providedIn:"root"})}}return e})(),bw=(()=>{class e extends sh{constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(A(xf))}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),lc=new S("",{providedIn:"root",factory:()=>({})}),Sw=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=mo({type:e,selectors:[["ng-component"]],standalone:!0,features:[Oo],decls:1,vars:0,template:function(r,o){r&1&&re(0,"router-outlet")},dependencies:[OD],encapsulation:2})}}return e})();function dc(e){let t=e.children&&e.children.map(dc),n=t?$(m({},e),{children:t}):m({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==E&&(n.component=Sw),n}var fc=new S(""),Mw=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=p(va)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return C(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=ct(n.loadComponent()).pipe(T(ah),Q(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),bn(()=>{this.componentLoaders.delete(n)})),o=new Bt(r,()=>new X).pipe(Vt());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return C({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=xw(r,this.compiler,n,this.onLoadEndListener).pipe(bn(()=>{this.childrenLoaders.delete(r)})),s=new Bt(i,()=>new X).pipe(Vt());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function xw(e,t,n,r){return ct(e.loadChildren()).pipe(T(ah),q(o=>o instanceof Fn||Array.isArray(o)?C(o):G(t.compileModuleAsync(o))),T(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(n).injector,s=i.get(fc,[],{optional:!0,self:!0}).flat()),{routes:s.map(dc),injector:i}}))}function _w(e){return e&&typeof e=="object"&&"default"in e}function ah(e){return _w(e)?e.default:e}var hc=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>p(Tw),providedIn:"root"})}}return e})(),Tw=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Nw=new S("");var Aw=new S(""),Rw=(()=>{class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new X,this.transitionAbortSubject=new X,this.configLoader=p(Mw),this.environmentInjector=p(me),this.urlSerializer=p(ac),this.rootContexts=p(ti),this.location=p(qn),this.inputBindingEnabled=p(uc,{optional:!0})!==null,this.titleStrategy=p(sh),this.options=p(lc,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=p(hc),this.createViewTransition=p(Nw,{optional:!0}),this.navigationErrorHandler=p(Aw,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>C(void 0),this.rootComponentType=null;let n=o=>this.events.next(new za(o)),r=o=>this.events.next(new Ga(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;this.transitions?.next($(m(m({},this.transitions.value),n),{id:r}))}setupNavigations(n,r,o){return this.transitions=new Z({id:0,currentUrlTree:r,currentRawUrl:r,extractedUrl:this.urlHandlingStrategy.extract(r),urlAfterRedirects:this.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:er,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ce(i=>i.id!==0),T(i=>$(m({},i),{extractedUrl:this.urlHandlingStrategy.extract(i.rawUrl)})),Ie(i=>{let s=!1,a=!1;return C(i).pipe(Ie(c=>{if(this.navigationId>i.id)return this.cancelNavigationTransition(i,"",de.SupersededByNewNavigation),ue;this.currentTransition=i,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,targetBrowserUrl:typeof c.extras.browserUrl=="string"?this.urlSerializer.parse(c.extras.browserUrl):c.extras.browserUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?$(m({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let u=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),l=c.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!u&&l!=="reload"){let d="";return this.events.next(new At(c.id,this.urlSerializer.serialize(c.rawUrl),d,Va.IgnoredSameUrlNavigation)),c.resolve(!1),ue}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return C(c).pipe(Ie(d=>{let h=this.transitions?.getValue();return this.events.next(new ir(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),h!==this.transitions?.getValue()?ue:Promise.resolve(d)}),Dw(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),Q(d=>{i.targetSnapshot=d.targetSnapshot,i.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation=$(m({},this.currentNavigation),{finalUrl:d.urlAfterRedirects});let h=new Zo(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(h)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:d,extractedUrl:h,source:f,restoredState:g,extras:b}=c,j=new ir(d,this.urlSerializer.serialize(h),f,g);this.events.next(j);let B=Qf(this.rootComponentType).snapshot;return this.currentTransition=i=$(m({},c),{targetSnapshot:B,urlAfterRedirects:h,extras:$(m({},b),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,C(i)}else{let d="";return this.events.next(new At(c.id,this.urlSerializer.serialize(c.extractedUrl),d,Va.IgnoredByUrlHandlingStrategy)),c.resolve(!1),ue}}),Q(c=>{let u=new Ba(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}),T(c=>(this.currentTransition=i=$(m({},c),{guards:VD(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),i)),YD(this.environmentInjector,c=>this.events.next(c)),Q(c=>{if(i.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Xo(this.urlSerializer,c.guardsResult);let u=new $a(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(u)}),Ce(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",de.GuardRejected),!1)),Oa(c=>{if(c.guards.canActivateChecks.length)return C(c).pipe(Q(u=>{let l=new Ua(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),Ie(u=>{let l=!1;return C(u).pipe(ww(this.paramsInheritanceStrategy,this.environmentInjector),Q({next:()=>l=!0,complete:()=>{l||this.cancelNavigationTransition(u,"",de.NoDataFromResolver)}}))}),Q(u=>{let l=new Ha(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}))}),Oa(c=>{let u=l=>{let d=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(l.routeConfig).pipe(Q(h=>{l.component=h}),T(()=>{})));for(let h of l.children)d.push(...u(h));return d};return Rr(u(c.targetSnapshot.root)).pipe(et(null),Ue(1))}),Oa(()=>this.afterPreactivation()),Ie(()=>{let{currentSnapshot:c,targetSnapshot:u}=i,l=this.createViewTransition?.(this.environmentInjector,c.root,u.root);return l?G(l).pipe(T(()=>i)):C(i)}),T(c=>{let u=PD(n.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=i=$(m({},c),{targetRouterState:u}),this.currentNavigation.targetRouterState=u,i}),Q(()=>{this.events.next(new ar)}),jD(this.rootContexts,n.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ue(1),Q({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Nt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),_i(this.transitionAbortSubject.pipe(Q(c=>{throw c}))),bn(()=>{!s&&!a&&this.cancelNavigationTransition(i,"",de.SupersededByNewNavigation),this.currentTransition?.id===i.id&&(this.currentNavigation=null,this.currentTransition=null)}),Xe(c=>{if(a=!0,eh(c))this.events.next(new Ye(i.id,this.urlSerializer.serialize(i.extractedUrl),c.message,c.cancellationCode)),LD(c)?this.events.next(new vn(c.url,c.navigationBehaviorOptions)):i.resolve(!1);else{let u=new sr(i.id,this.urlSerializer.serialize(i.extractedUrl),c,i.targetSnapshot??void 0);try{let l=qe(this.environmentInjector,()=>this.navigationErrorHandler?.(u));if(l instanceof ur){let{message:d,cancellationCode:h}=Xo(this.urlSerializer,l);this.events.next(new Ye(i.id,this.urlSerializer.serialize(i.extractedUrl),d,h)),this.events.next(new vn(l.redirectTo,l.navigationBehaviorOptions))}else{this.events.next(u);let d=n.errorHandler(c);i.resolve(!!d)}}catch(l){this.options.resolveNavigationPromiseOnError?i.resolve(!1):i.reject(l)}}return ue}))}))}cancelNavigationTransition(n,r,o){let i=new Ye(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==r?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function Ow(e){return e!==er}var Pw=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>p(Fw),providedIn:"root"})}}return e})(),sc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},Fw=(()=>{class e extends sc{static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Zs(e)))(o||e)}})()}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),ch=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:()=>p(kw),providedIn:"root"})}}return e})(),kw=(()=>{class e extends ch{constructor(){super(...arguments),this.location=p(qn),this.urlSerializer=p(ac),this.options=p(lc,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=p(hc),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ke,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Qf(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&n(r.url,r.state)})}handleRouterEvent(n,r){if(n instanceof ir)this.stateMemento=this.createStateMemento();else if(n instanceof At)this.rawUrlTree=r.initialUrl;else if(n instanceof Zo){if(this.urlUpdateStrategy==="eager"&&!r.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl);this.setBrowserUrl(r.targetBrowserUrl??o,r)}}else n instanceof ar?(this.currentUrlTree=r.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(r.finalUrl,r.initialUrl),this.routerState=r.targetRouterState,this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(r.targetBrowserUrl??this.rawUrlTree,r)):n instanceof Ye&&(n.code===de.GuardRejected||n.code===de.NoDataFromResolver)?this.restoreHistory(r):n instanceof sr?this.restoreHistory(r,!0):n instanceof Nt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,r){let o=n instanceof Ke?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){let i=this.browserPageId,s=m(m({},r.extras.state),this.generateNgRouterState(r.id,i));this.location.replaceState(o,"",s)}else{let i=m(m({},r.extras.state),this.generateNgRouterState(r.id,this.browserPageId+1));this.location.go(o,"",i)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.currentUrlTree===n.finalUrl&&i===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static{this.\u0275fac=(()=>{let n;return function(o){return(n||(n=Zs(e)))(o||e)}})()}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),Jn=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(Jn||{});function Lw(e,t){e.events.pipe(Ce(n=>n instanceof Nt||n instanceof Ye||n instanceof sr||n instanceof At),T(n=>n instanceof Nt||n instanceof At?Jn.COMPLETE:(n instanceof Ye?n.code===de.Redirect||n.code===de.SupersededByNewNavigation:!1)?Jn.REDIRECTING:Jn.FAILED),Ce(n=>n!==Jn.REDIRECTING),Ue(1)).subscribe(()=>{t()})}function jw(e){throw e}var Vw={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Bw={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},uh=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=p(Po),this.stateManager=p(ch),this.options=p(lc,{optional:!0})||{},this.pendingTasks=p(an),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=p(Rw),this.urlSerializer=p(ac),this.location=p(qn),this.urlHandlingStrategy=p(hc),this._events=new X,this.errorHandler=this.options.errorHandler||jw,this.navigated=!1,this.routeReuseStrategy=p(Pw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=p(fc,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!p(uc,{optional:!0}),this.eventsSubscription=new H,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=this.navigationTransitions.currentNavigation;if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Ye&&r.code!==de.Redirect&&r.code!==de.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Nt)this.navigated=!0;else if(r instanceof vn){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=m({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Ow(o.source)},s);this.scheduleNavigation(a,er,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Uw(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),er,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",r)},0)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=m({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(i.state=c)}let a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(dc),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,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 h=o?o.snapshot:this.routerState.snapshot.root;d=Gf(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return qf(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=rr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,er,null,r)}navigate(n,r={skipLocationChange:!1}){return $w(n),this.navigateByUrl(this.createUrlTree(n,r),r)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,r){let o;if(r===!0?o=m({},Vw):r===!1?o=m({},Bw):o=r,rr(n))return _f(this.currentUrlTree,n,o);let i=this.parseUrl(n);return _f(this.currentUrlTree,i,o)}removeEmptyProps(n){return Object.entries(n).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(n,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,h)=>{a=d,c=h});let l=this.pendingTasks.add();return Lw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:c,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=D({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function $w(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new v(4008,!1)}function Uw(e){return!(e instanceof ar)&&!(e instanceof vn)}var Hw=new S("");function lh(e,...t){return vo([{provide:fc,multi:!0,useValue:e},[],{provide:yn,useFactory:zw,deps:[uh]},{provide:ma,multi:!0,useFactory:Gw},t.map(n=>n.\u0275providers)])}function zw(e){return e.routerState.root}function Gw(){let e=p(yt);return t=>{let n=e.get(Mt);if(t!==n.components[0])return;let r=e.get(uh),o=e.get(qw);e.get(Ww)===1&&r.initialNavigation(),e.get(Zw,null,M.Optional)?.setUpPreloading(),e.get(Hw,null,M.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var qw=new S("",{factory:()=>new X}),Ww=new S("",{providedIn:"root",factory:()=>1});var Zw=new S("");function Qw(e,t){if(e&1&&(I(0,"span",62),V(1),x()),e&2){let n=t.$implicit;J(),ga(n)}}function Yw(e,t){if(e&1){let n=ha();I(0,"button",63),St("click",function(){let o=Bs(n).$implicit,i=Hn(3);return $s(i.openLink(o.link))}),V(1),x()}if(e&2){let n=t.$implicit;Ud(n.class),J(),at(" ",n.label," ")}}function Kw(e,t){if(e&1&&(I(0,"div",51)(1,"div",52),bt(2,Qw,2,1,"span",53),x(),I(3,"div")(4,"h3",54),V(5),x(),I(6,"p",55),V(7),x()(),I(8,"div",56)(9,"div",57),re(10,"img",58),x(),re(11,"div",59),I(12,"div",57)(13,"div",60),bt(14,Yw,2,3,"button",61),x()()()()),e&2){let n=t.$implicit;J(2),Ve("ngForOf",n.tags),J(3),at(" ",n.title," "),J(2),at(" ",n.description," "),J(3),Ve("src",n.starsSrc,na),J(4),Ve("ngForOf",n.buttons)}}function Jw(e,t){if(e&1&&(I(0,"div",49),bt(1,Kw,15,5,"div",50),x()),e&2){let n=Hn();J(),Ve("ngForOf",n.paginatedProducts)}}function Xw(e,t){if(e&1){let n=ha();I(0,"button",64),St("click",function(){let o=Bs(n).$implicit,i=Hn();return $s(i.changePage(o))}),V(1),x()}if(e&2){let n=t.$implicit,r=Hn();Un("bg-[#5C527B]",r.currentPage===n)("text-white",r.currentPage===n)("border",r.currentPage!==n)("border-[#5C527B]",r.currentPage!==n)("text-[#5C527B]",r.currentPage!==n),J(),at(" ",n," ")}}var Cn=class e{contactEmail="[email protected]";products=[{title:"Hierarchical Deterministic (HD) Wallet",description:"Python-based library for the implementation of a Hierarchical Deterministic (HD) Wallet generator supporting more than 200 cryptocurrencies.",tags:["Open-Source","New"],starsSrc:"https://img.shields.io/github/stars/meherett/python-hdwallet",buttons:[{label:"Online",class:"bg-[#352F44] text-white py-2 px-4 rounded-lg hover:bg-[#5C527B] transition",link:"https://hdwallet.online"},{label:"Desktop",class:"bg-[#352F44] text-white py-2 px-4 rounded-lg hover:bg-[#5C527B] transition",link:"https://github.com/talonlab/hdwallet-desktop/releases"},{label:"</>",class:"bg-[#352F44] text-white py-2 px-4 rounded-lg hover:bg-[#5C527B] transition",link:"https://github.com/meherett/python-hdwallet"}]},{title:"Bitcoin Improvement Proposal - 0038",description:"A Python library for implementation of Bitcoin Improvement Proposal - 0038 / BIP38 protocol.",tags:["Open-Source","New"],starsSrc:"https://img.shields.io/github/stars/talonlab/python-bip38",buttons:[{label:"Desktop",class:"bg-[#352F44] text-white py-2 px-4 rounded-lg hover:bg-[#5C527B] transition",link:"https://github.com/talonlab/bip38-desktop/releases"},{label:"</>",class:"bg-[#352F44] text-white py-2 px-4 rounded-lg hover:bg-[#5C527B] transition",link:"https://github.com/meherett/python-bip38"}]},{title:"Atomic Swap",description:"Cross-chain atomic swap between the networks of two cryptocurrencies based on Hash Time Lock Contracts (HTLCs) protocol.",tags:["Open-Source"],starsSrc:"https://img.shields.io/github/stars/movnetwork/swap",buttons:[{label:"</>",class:"bg-[#352F44] text-white py-2 px-4 rounded-lg hover:bg-[#5C527B] transition",link:"https://github.com/talonlab/hdwallet-bip38/resources"}]},{title:"PyXDC",description:"Python library with tools for XinFin blockchain.",tags:["Open-Source"],starsSrc:"https://img.shields.io/github/stars/talonlab/pyxdc",buttons:[{label:"</>",class:"bg-[#352F44] text-white py-2 px-4 rounded-lg hover:bg-[#5C527B] transition",link:"https://github.com/talonlab/pyxdc"}]},{title:"Cobra Framework",description:"A fast, flexible and simple development environment framework for Ethereum smart contract, testing and deployment on EVM.",tags:["Public Archive","Open-Source"],starsSrc:"https://img.shields.io/github/stars/cobraframework/cobra",buttons:[{label:"</>",class:"bg-[#352F44] text-white py-2 px-4 rounded-lg hover:bg-[#5C527B] transition",link:"https://github.com/cobraframework/cobra"}]},{title:"PyBytom",description:"Python library with tools for Bytom mainchain and sidechain protocols.",tags:["Open-Source"],starsSrc:"https://img.shields.io/github/stars/meherett/pybytom",buttons:[{label:"</>",class:"bg-[#352F44] text-white py-2 px-4 rounded-lg hover:bg-[#5C527B] transition",link:"https://github.com/talonlab/pybytom"}]},{title:"Qtum Exporter",description:"A Prometheus exporter for Qtum nodes.",tags:["Open-Source"],starsSrc:"https://img.shields.io/github/stars/qtumproject/qtum-exporter",buttons:[{label:"</>",class:"bg-[#352F44] text-white py-2 px-4 rounded-lg hover:bg-[#5C527B] transition",link:"https://github.com/qtumproject/qtum-exporter"}]}];currentPage=1;itemsPerPage=3;get totalPages(){return Math.ceil(this.products.length/this.itemsPerPage)}get paginatedProducts(){let t=(this.currentPage-1)*this.itemsPerPage;return this.products.slice(t,t+this.itemsPerPage)}get pageNumbers(){return Array.from({length:this.totalPages},(t,n)=>n+1)}changePage(t){t>=1&&t<=this.totalPages&&(this.currentPage=t)}openLink(t){window.open(t,"_blank")}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=mo({type:e,selectors:[["app-root"]],standalone:!0,features:[Oo],decls:78,vars:27,consts:[[1,"grid","grid-flow-row","w-full","max-w-[600px]","mx-auto","px-4","sm:px-2","lg:px-4","py-10","sm:py-20","gap-5"],[1,"text-center","pb-5"],["src","svg/eagle-face-transparent.svg","alt","Talon Lab",1,"w-[100px]","sm:w-[150px]","h-auto","mx-auto","mb-2.5"],[1,"text-3xl","sm:text-4xl","lg:text-5xl","font-extrabold"],[1,"text-xl","sm:text-2xl","lg:text-3xl","font-bold","my-3","sm:my-5"],[1,"text-base","sm:text-lg","lg:text-xl","text-justify"],[1,"text-left"],[1,"text-2xl","sm:text-2xl","font-semibold","mb-3","sm:mb-5"],[1,"grid","grid-cols-1","sm:grid-cols-2","gap-6","sm:gap-8"],[1,"bg-gradient-to-r","from-[#B9B4C7]","to-[#FAFDE6]","hover:bg-[#E5E1EE]","p-4","rounded-lg","cursor-pointer"],[1,"text-lg","sm:text-xl","font-semibold","text-[#5C5470]","transition","hover:text-[#352F44]"],[1,"text-[#352F44]","mt-2","transition","hover:text-[#5C5470]","text-sm","sm:text-base"],[1,"bg-gradient-to-r","from-[#FAFDE6]","to-[#B9B4C7]","hover:bg-[#E5E1EE]","p-4","rounded-lg","cursor-pointer"],["src","svg/hands-transparent.svg","alt","Talon Lab",1,"w-[200px]","sm:w-[300px]","h-auto","mx-auto","my-6","sm:my-10"],[1,"text-xl","sm:text-2xl","font-semibold","mb-3","sm:mb-5"],["class","grid grid-flow-row gap-7",4,"ngIf"],[1,"mt-6","sm:mt-8","flex","justify-center","sm:justify-end","items-center","gap-4","sm:gap-2"],[1,"py-2","px-4","rounded-lg","hover:bg-[#5C527B]","hover:text-white","transition","disabled:opacity-50","disabled:cursor-not-allowed","text-sm","sm:text-base","w-full","sm:w-auto",3,"click","disabled"],[1,"flex","gap-2"],["class","w-8 h-8 sm:w-10 sm:h-10 rounded-lg hover:bg-[#5C527B] hover:text-white transition flex items-center justify-center text-sm sm:text-base",3,"bg-[#5C527B]","text-white","border","border-[#5C527B]","text-[#5C527B]","click",4,"ngFor","ngForOf"],[1,"text-justify"],[1,"bg-gradient-to-r","from-[#B9B4C7]","to-[#FAFDE6]","hover:from-[#FAFDE6]","hover:to-[#B9B4C7]","transition","p-4","rounded-lg"],[1,"flex","items-start","justify-between"],[1,"text-base","sm:text-lg","mt-4","text-black"],[1,"flex","items-center","mt-4"],["src","png/meherett.png",1,"w-16","h-16","bg-[#352F44]","rounded-full","object-cover","border-2","border-[#5C5470]"],[1,"ml-4"],[1,"font-bold","text-[#352F44]"],[1,"text-sm","text-[#5C5470]"],[1,"fa","fa-quote-right","text-gray-500","text-2xl","sm:text-3xl","ml-4"],[1,"pt-8","sm:pt-16"],[1,"container","mx-auto","px-4","text-center"],[1,"text-2xl","sm:text-4xl","font-bold","text-white","mb-4","sm:mb-8"],[1,"inline-flex","items-center","bg-gradient-to-r","from-[#B9B4C7]","to-[#FAFDE6]","hover:bg-[#E5E1EE]","rounded-lg","px-14","sm:px-24","py-4","space-x-3"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke","currentColor",1,"h-5","w-5","sm:h-6","sm:w-6","text-[#5C5470]"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"],[1,"text-base","sm:text-lg","text-[#352F44]","hover:text-[#5C5470]","transition-colors","duration-300",3,"href"],[1,"w-full","pb-4","sm:pb-8","bg-[#352F44]","text-[#FAFDE6]"],[1,"container","mx-auto","text-center","px-4"],[1,"mt-4","flex","justify-center","gap-4","sm:gap-6"],["href","https://github.com/talonlab","target","_blank",1,"text-lg","sm:text-xl","hover:text-[#B9B4C7]"],[1,"fab","fa-github"],["href","https://www.linkedin.com/in/talonlab/","target","_blank",1,"text-lg","sm:text-xl","hover:text-[#B9B4C7]"],[1,"fab","fa-linkedin"],["href","https://t.me/talonlab","target","_blank",1,"text-lg","sm:text-xl","hover:text-[#B9B4C7]"],[1,"fab","fa-telegram-plane"],["href","https://twitter.com/talonlab","target","_blank",1,"text-lg","sm:text-xl","hover:text-[#B9B4C7]"],[1,"fa-brands","fa-x-twitter"],[1,"text-xs","sm:text-sm","pt-3"],[1,"grid","grid-flow-row","gap-7"],["class","bg-[#B9B4C7] p-4 rounded-lg shadow-lg transition transform hover:bg-[#E5E1EE] hover:shadow-2xl flex flex-col justify-between relative",4,"ngFor","ngForOf"],[1,"bg-[#B9B4C7]","p-4","rounded-lg","shadow-lg","transition","transform","hover:bg-[#E5E1EE]","hover:shadow-2xl","flex","flex-col","justify-between","relative"],[1,"absolute","-top-3","right-5","grid","grid-flow-col","gap-2.5"],["class","bg-[#5C5470] text-white px-3 py-1.5 rounded-lg text-xs font-bold sm:text-sm shadow-lg",4,"ngFor","ngForOf"],[1,"text-lg","sm:text-xl","font-semibold","text-[#352F44]"],[1,"text-[#352F44]","mt-2","text-sm","sm:text-base"],[1,"mt-4","flex","flex-row","items-center"],[1,"flex-none"],["alt","Stars",1,"w-auto","h-[25px]","max-sm:h-[23px]",3,"src"],[1,"grow"],[1,"flex","flex-row","gap-2.5","max-sm:gap-2","w-full"],["class","text-base max-sm:text-sm max-sm:px-3",3,"class","click",4,"ngFor","ngForOf"],[1,"bg-[#5C5470]","text-white","px-3","py-1.5","rounded-lg","text-xs","font-bold","sm:text-sm","shadow-lg"],[1,"text-base","max-sm:text-sm","max-sm:px-3",3,"click"],[1,"w-8","h-8","sm:w-10","sm:h-10","rounded-lg","hover:bg-[#5C527B]","hover:text-white","transition","flex","items-center","justify-center","text-sm","sm:text-base",3,"click"]],template:function(n,r){n&1&&(I(0,"section",0)(1,"section",1),re(2,"img",2),I(3,"h1",3),V(4,"Talon Laboratory"),x(),I(5,"p",4),V(6,"Pioneering advancements in blockchain and cryptography"),x(),I(7,"p",5),V(8," We specialize in creating innovative tools and systems for secure, scalable digital ecosystems. Through cutting-edge research and open-source solutions, we are shaping the future of decentralized technology. "),x()(),I(9,"section",6)(10,"h2",7),V(11,"Our Focus"),x(),I(12,"div",8)(13,"div",9)(14,"h3",10),V(15,"Blockchain Development"),x(),I(16,"p",11),V(17," Designing transformative blockchain solutions that prioritize scalability, decentralization, and security. "),x()(),I(18,"div",12)(19,"h3",10),V(20,"Wallet Protocols"),x(),I(21,"p",11),V(22," Developing secure and innovative cryptocurrency wallet solutions with advanced encryption and seamless blockchain integration. "),x()(),I(23,"div",9)(24,"h3",10),V(25,"Smart Contracts"),x(),I(26,"p",11),V(27," Building reliable, tamper-proof smart contracts tailored to industry-specific needs, ensuring automation, transparency, and trust in dapps. "),x()()()(),re(28,"img",13),I(29,"section",6)(30,"h2",14),V(31,"Our Products"),x(),bt(32,Jw,2,1,"div",15),I(33,"div",16)(34,"button",17),St("click",function(){return r.changePage(r.currentPage-1)}),V(35," Previous "),x(),I(36,"div",18),bt(37,Xw,2,11,"button",19),x(),I(38,"button",17),St("click",function(){return r.changePage(r.currentPage+1)}),V(39," Next "),x()()(),I(40,"section",20)(41,"h2",7),V(42,"Mission"),x(),I(43,"div",21)(44,"div",22)(45,"div")(46,"p",23),V(47," At Talon Lab, we are dedicated to advancing the fields of blockchain technology and cryptography. Our mission is to deliver secure, efficient, and innovative solutions for the modern world. "),x(),I(48,"div",24),re(49,"img",25),I(50,"div",26)(51,"h3",27),V(52,"Meheret T. Batu"),x(),I(53,"p",28),V(54,"Founder"),x()()()(),re(55,"i",29),x()()(),I(56,"section",30)(57,"div",31)(58,"h2",32),V(59,"Ask Us Anything!"),x(),I(60,"div",33),Nl(),I(61,"svg",34),re(62,"path",35),x(),Al(),I(63,"a",36),V(64),x()()()()(),I(65,"footer",37)(66,"div",38)(67,"div",39)(68,"a",40),re(69,"i",41),x(),I(70,"a",42),re(71,"i",43),x(),I(72,"a",44),re(73,"i",45),x(),I(74,"a",46),re(75,"i",47),x()(),I(76,"p",48),V(77,"\xA9 2024 Talon Lab. All rights reserved."),x()()()),n&2&&(J(32),Ve("ngIf",r.paginatedProducts.length>0),J(2),Un("bg-[#5C527B]",r.currentPage>1)("text-white",r.currentPage>1)("border",r.currentPage===1)("border-[#5C527B]",r.currentPage===1)("text-[#5C527B]",r.currentPage===1),Ve("disabled",r.currentPage===1),J(3),Ve("ngForOf",r.pageNumbers),J(),Un("bg-[#5C527B]",r.currentPage<r.totalPages)("text-white",r.currentPage<r.totalPages)("border",r.currentPage===r.totalPages)("border-[#5C527B]",r.currentPage===r.totalPages)("text-[#5C527B]",r.currentPage===r.totalPages),Ve("disabled",r.currentPage===r.totalPages),J(25),pa("href","mailto:",r.contactEmail,"",na),J(),at(" ",r.contactEmail," "))},dependencies:[vf,mf]})};var dh=[{path:"",component:Cn},{path:"**",redirectTo:""}];var fh={providers:[Jd({eventCoalescing:!0}),lh(dh)]};Mf(Cn,fh).then(()=>{let e=document.getElementById("splash-screen"),t=document.getElementById("app-root");e&&(e.style.opacity="0",setTimeout(()=>{e.remove(),t&&t.classList.add("visible")},500))}).catch(e=>console.error(e));