@whoz-oss/coday-client 0.105.3 → 0.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/3rdpartylicenses.txt +54 -54
  2. package/browser/chunk-2B5XG6ZC.js +1 -0
  3. package/browser/{chunk-GC5WCXGB.js → chunk-2Q4GTKJ2.js} +1 -1
  4. package/browser/chunk-3PAE676O.js +5 -0
  5. package/browser/chunk-5WM75OPU.js +1 -0
  6. package/browser/chunk-6JUYUYZH.js +1 -0
  7. package/browser/chunk-6Q3JNJG6.js +2 -0
  8. package/browser/chunk-6RMKWFVF.js +2 -0
  9. package/browser/{chunk-DWPCHLTZ.js → chunk-7Z6CCK6M.js} +1 -1
  10. package/browser/chunk-A7523AT7.js +2 -0
  11. package/browser/chunk-AH6TYV5V.js +1 -0
  12. package/browser/chunk-BIUQ3CWO.js +1 -0
  13. package/browser/chunk-ECRX3VCL.js +10 -0
  14. package/browser/{chunk-6ZVZINLP.js → chunk-EJVKODM4.js} +1 -1
  15. package/browser/chunk-EUUZ73WW.js +3 -0
  16. package/browser/chunk-EWWRCRRE.js +1 -0
  17. package/browser/{chunk-LBCXFVPY.js → chunk-F4BEHTG5.js} +1 -1
  18. package/browser/chunk-IRHH5YY3.js +3 -0
  19. package/browser/{chunk-Z7D32IIN.js → chunk-JRTXKFZ4.js} +1 -1
  20. package/browser/chunk-JYIVUOA3.js +1 -0
  21. package/browser/{chunk-UPXODNKN.js → chunk-LD7RXVSY.js} +1 -1
  22. package/browser/chunk-MGZWX34A.js +4 -0
  23. package/browser/chunk-MLXAGMR7.js +1 -0
  24. package/browser/{chunk-EXY553SF.js → chunk-MROX7XZW.js} +1 -1
  25. package/browser/{chunk-YX7RR3OI.js → chunk-PGXMHE2X.js} +1 -1
  26. package/browser/chunk-QCZB5V35.js +1 -0
  27. package/browser/chunk-RFL5X6B6.js +1 -0
  28. package/browser/{chunk-HB5BQ64I.js → chunk-VEECA5F5.js} +1 -1
  29. package/browser/chunk-YLMEJS73.js +10 -0
  30. package/browser/{chunk-TMYMW2LL.js → chunk-ZLBM7VXJ.js} +1 -1
  31. package/browser/index.html +1 -1
  32. package/browser/main-BP7WLMUS.js +361 -0
  33. package/package.json +1 -1
  34. package/browser/chunk-3YYVZC5L.js +0 -1
  35. package/browser/chunk-AGNVVQN3.js +0 -1
  36. package/browser/chunk-DYTHVKS2.js +0 -5
  37. package/browser/chunk-FXQT2NYX.js +0 -10
  38. package/browser/chunk-HEJTD7WZ.js +0 -1
  39. package/browser/chunk-OHWL3KSR.js +0 -1
  40. package/browser/chunk-SZ6SW4SW.js +0 -1
  41. package/browser/chunk-VH2SHG5S.js +0 -1
  42. package/browser/main-6VRGJA5G.js +0 -377
@@ -0,0 +1,5 @@
1
+ var iE=Object.defineProperty,sE=Object.defineProperties;var aE=Object.getOwnPropertyDescriptors;var Ui=Object.getOwnPropertySymbols;var hh=Object.prototype.hasOwnProperty,ph=Object.prototype.propertyIsEnumerable;var fh=(e,t,n)=>t in e?iE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||={})hh.call(t,n)&&fh(e,n,t[n]);if(Ui)for(var n of Ui(t))ph.call(t,n)&&fh(e,n,t[n]);return e},F=(e,t)=>sE(e,aE(t));var cE=(e,t)=>{var n={};for(var r in e)hh.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ui)for(var r of Ui(e))t.indexOf(r)<0&&ph.call(e,r)&&(n[r]=e[r]);return n};var dr=(e,t,n)=>new Promise((r,o)=>{var i=c=>{try{a(n.next(c))}catch(u){o(u)}},s=c=>{try{a(n.throw(c))}catch(u){o(u)}},a=c=>c.done?r(c.value):Promise.resolve(c.value).then(i,s);a((n=n.apply(e,t)).next())});function S(e){return typeof e=="function"}function fr(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 $i=fr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function bn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var K=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(S(r))try{r()}catch(i){t=i instanceof $i?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{gh(i)}catch(s){t=t??[],s instanceof $i?t=[...t,...s.errors]:t.push(s)}}if(t)throw new $i(t)}}add(t){var n;if(t&&t!==this)if(this.closed)gh(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)&&bn(n,t)}remove(t){let{_finalizers:n}=this;n&&bn(n,t),t instanceof e&&t._removeParent(this)}};K.EMPTY=(()=>{let e=new K;return e.closed=!0,e})();var jc=K.EMPTY;function Hi(e){return e instanceof K||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function gh(e){S(e)?e():e.unsubscribe()}var Ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var hr={setTimeout(e,t,...n){let{delegate:r}=hr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=hr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function zi(e){hr.setTimeout(()=>{let{onUnhandledError:t}=Ye;if(t)t(e);else throw e})}function yo(){}var mh=Bc("C",void 0,void 0);function yh(e){return Bc("E",void 0,e)}function vh(e){return Bc("N",e,void 0)}function Bc(e,t,n){return{kind:e,value:t,error:n}}var Tn=null;function pr(e){if(Ye.useDeprecatedSynchronousErrorHandling){let t=!Tn;if(t&&(Tn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Tn;if(Tn=null,n)throw r}}else e()}function Dh(e){Ye.useDeprecatedSynchronousErrorHandling&&Tn&&(Tn.errorThrown=!0,Tn.error=e)}var _n=class extends K{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Hi(t)&&t.add(this)):this.destination=dE}static create(t,n,r){return new Qe(t,n,r)}next(t){this.isStopped?Uc(vh(t),this):this._next(t)}error(t){this.isStopped?Uc(yh(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Uc(mh,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()}}},uE=Function.prototype.bind;function Vc(e,t){return uE.call(e,t)}var $c=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Gi(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Gi(r)}else Gi(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Gi(n)}}},Qe=class extends _n{constructor(t,n,r){super();let o;if(S(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Vc(t.next,i),error:t.error&&Vc(t.error,i),complete:t.complete&&Vc(t.complete,i)}):o=t}this.destination=new $c(o)}};function Gi(e){Ye.useDeprecatedSynchronousErrorHandling?Dh(e):zi(e)}function lE(e){throw e}function Uc(e,t){let{onStoppedNotification:n}=Ye;n&&hr.setTimeout(()=>n(e,t))}var dE={closed:!0,next:yo,error:lE,complete:yo};var gr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Ie(e){return e}function Hc(...e){return zc(e)}function zc(e){return e.length===0?Ie: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=hE(n)?n:new Qe(n,r,o);return pr(()=>{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=Eh(r),new r((o,i)=>{let s=new Qe({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)}[gr](){return this}pipe(...n){return zc(n)(this)}toPromise(n){return n=Eh(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 Eh(e){var t;return(t=e??Ye.Promise)!==null&&t!==void 0?t:Promise}function fE(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function hE(e){return e&&e instanceof _n||fE(e)&&Hi(e)}var Ih=fr(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var J=(()=>{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 qi(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ih}next(n){pr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){pr(()=>{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(){pr(()=>{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?jc:(this.currentObservers=null,i.push(n),new K(()=>{this.currentObservers=null,bn(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 qi(t,n),e})(),qi=class extends J{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:jc}};var pe=class extends J{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)}};function Ch(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 wh(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 Sn(e){return this instanceof Sn?(this.v=e,this):new Sn(e)}function bh(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(E){return new Promise(function(D,v){i.push([f,E,D,v])>1||c(f,E)})},g&&(o[f]=g(o[f])))}function c(f,g){try{u(r[f](g))}catch(E){h(i[0][3],E)}}function u(f){f.value instanceof Sn?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 Th(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 wh=="function"?wh(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 mr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Wi(e){return S(e?.then)}function Zi(e){return S(e[gr])}function Yi(e){return Symbol.asyncIterator&&S(e?.[Symbol.asyncIterator])}function Qi(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 pE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ki=pE();function Ji(e){return S(e?.[Ki])}function Xi(e){return bh(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Sn(n.read());if(o)return yield Sn(void 0);yield yield Sn(r)}}finally{n.releaseLock()}})}function es(e){return S(e?.getReader)}function V(e){if(e instanceof k)return e;if(e!=null){if(Zi(e))return gE(e);if(mr(e))return mE(e);if(Wi(e))return yE(e);if(Yi(e))return _h(e);if(Ji(e))return vE(e);if(es(e))return DE(e)}throw Qi(e)}function gE(e){return new k(t=>{let n=e[gr]();if(S(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function mE(e){return new k(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function yE(e){return new k(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,zi)})}function vE(e){return new k(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function _h(e){return new k(t=>{EE(e,t).catch(n=>t.error(n))})}function DE(e){return _h(Xi(e))}function EE(e,t){var n,r,o,i;return Ch(this,void 0,void 0,function*(){try{for(n=Th(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 Gc(e){return S(e?.lift)}function A(e){return t=>{if(Gc(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 N(e,t,n,r,o){return new qc(e,t,n,r,o)}var qc=class extends _n{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 de(e,t){return A((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(N(r,c=>{o?.unsubscribe();let u=0,l=i++;V(e(c,l)).subscribe(o=N(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function yr(){return A((e,t)=>{let n=null;e._refCount++;let r=N(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 vr=class extends k{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Gc(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 K;let n=this.getSubject();t.add(this.source.subscribe(N(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=K.EMPTY)}return t}refCount(){return yr()(this)}};var vo={now(){return(vo.delegate||Date).now()},delegate:void 0};var ts=class extends J{constructor(t=1/0,n=1/0,r=vo){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var ns=class extends K{constructor(t,n){super()}schedule(t,n=0){return this}};var Do={setInterval(e,t,...n){let{delegate:r}=Do;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Do;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var rs=class extends ns{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Do.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Do.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,bn(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Dr=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Dr.now=vo.now;var os=class extends Dr{constructor(t,n=Dr.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Eo=new os(rs),Sh=Eo;var me=new k(e=>e.complete());function is(e){return e&&S(e.schedule)}function Wc(e){return e[e.length-1]}function ss(e){return S(Wc(e))?e.pop():void 0}function ht(e){return is(Wc(e))?e.pop():void 0}function Mh(e,t){return typeof Wc(e)=="number"?e.pop():t}function Re(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 as(e,t=0){return A((n,r)=>{n.subscribe(N(r,o=>Re(r,e,()=>r.next(o),t),()=>Re(r,e,()=>r.complete(),t),o=>Re(r,e,()=>r.error(o),t)))})}function cs(e,t=0){return A((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Nh(e,t){return V(e).pipe(cs(t),as(t))}function Rh(e,t){return V(e).pipe(cs(t),as(t))}function Ah(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 xh(e,t){return new k(n=>{let r;return Re(n,t,()=>{r=e[Ki](),Re(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)}),()=>S(r?.return)&&r.return()})}function us(e,t){if(!e)throw new Error("Iterable cannot be null");return new k(n=>{Re(n,t,()=>{let r=e[Symbol.asyncIterator]();Re(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Oh(e,t){return us(Xi(e),t)}function Ph(e,t){if(e!=null){if(Zi(e))return Nh(e,t);if(mr(e))return Ah(e,t);if(Wi(e))return Rh(e,t);if(Yi(e))return us(e,t);if(Ji(e))return xh(e,t);if(es(e))return Oh(e,t)}throw Qi(e)}function W(e,t){return t?Ph(e,t):V(e)}function _(...e){let t=ht(e);return W(e,t)}function Er(e,t){let n=S(e)?e:()=>e,r=o=>o.error(n());return new k(t?o=>t.schedule(r,0,o):r)}function Zc(e){return!!e&&(e instanceof k||S(e.lift)&&S(e.subscribe))}var Pe=fr(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function IE(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=!1,s;e.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?r(s):n?r(t.defaultValue):o(new Pe)}})})}function wE(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new Qe({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Pe)}});e.subscribe(i)})}function kh(e){return e instanceof Date&&!isNaN(e)}function x(e,t){return A((n,r)=>{let o=0;n.subscribe(N(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:CE}=Array;function bE(e,t){return CE(t)?e(...t):e(t)}function Ir(e){return x(t=>bE(e,t))}var{isArray:TE}=Array,{getPrototypeOf:_E,prototype:SE,keys:ME}=Object;function ls(e){if(e.length===1){let t=e[0];if(TE(t))return{args:t,keys:null};if(NE(t)){let n=ME(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function NE(e){return e&&typeof e=="object"&&_E(e)===SE}function ds(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Io(...e){let t=ht(e),n=ss(e),{args:r,keys:o}=ls(e);if(r.length===0)return W([],t);let i=new k(RE(r,t,o?s=>ds(o,s):Ie));return n?i.pipe(Ir(n)):i}function RE(e,t,n=Ie){return r=>{Fh(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Fh(t,()=>{let u=W(e[c],t),l=!1;u.subscribe(N(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Fh(e,t,n){e?Re(n,e,t):t()}function Lh(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=E=>u<r?g(E):c.push(E),g=E=>{i&&t.next(E),u++;let D=!1;V(n(E,l++)).subscribe(N(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{D=!0},void 0,()=>{if(D)try{for(u--;c.length&&u<r;){let v=c.shift();s?Re(t,s,()=>g(v)):g(v)}h()}catch(v){t.error(v)}}))};return e.subscribe(N(t,f,()=>{d=!0,h()})),()=>{a?.()}}function Y(e,t,n=1/0){return S(t)?Y((r,o)=>x((i,s)=>t(r,i,o,s))(V(e(r,o))),n):(typeof t=="number"&&(n=t),A((r,o)=>Lh(r,o,e,n)))}function Qt(e=1/0){return Y(Ie,e)}function jh(){return Qt(1)}function wr(...e){return jh()(W(e,ht(e)))}function wo(e){return new k(t=>{V(e()).subscribe(t)})}function AE(...e){let t=ss(e),{args:n,keys:r}=ls(e),o=new k(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;V(n[l]).subscribe(N(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?ds(r,a):a),i.complete())}))}});return t?o.pipe(Ir(t)):o}var xE=["addListener","removeListener"],OE=["addEventListener","removeEventListener"],PE=["on","off"];function Yc(e,t,n,r){if(S(n)&&(r=n,n=void 0),r)return Yc(e,t,n).pipe(Ir(r));let[o,i]=LE(e)?OE.map(s=>a=>e[s](t,a,n)):kE(e)?xE.map(Bh(e,t)):FE(e)?PE.map(Bh(e,t)):[];if(!o&&mr(e))return Y(s=>Yc(s,t,n))(V(e));if(!o)throw new TypeError("Invalid event target");return new k(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Bh(e,t){return n=>r=>e[n](t,r)}function kE(e){return S(e.addListener)&&S(e.removeListener)}function FE(e){return S(e.on)&&S(e.off)}function LE(e){return S(e.addEventListener)&&S(e.removeEventListener)}function Vh(e=0,t,n=Sh){let r=-1;return t!=null&&(is(t)?n=t:r=t),new k(o=>{let i=kh(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function jE(...e){let t=ht(e),n=Mh(e,1/0),r=e;return r.length?r.length===1?V(r[0]):Qt(n)(W(r,t)):me}function se(e,t){return A((n,r)=>{let o=0;n.subscribe(N(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Uh(e){return A((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let u=o;o=null,n.next(u)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(N(n,u=>{r=!0,o=u,i||V(e(u)).subscribe(i=N(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function BE(e,t=Eo){return Uh(()=>Vh(e,t))}function pt(e){return A((t,n)=>{let r=null,o=!1,i;r=t.subscribe(N(n,void 0,void 0,s=>{i=V(e(s,pt(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function $h(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(N(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 gt(e,t){return S(t)?Y(e,t,1):Y(e,1)}function Hh(e,t=Eo){return A((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,r.next(u)}};function c(){let u=s+e,l=t.now();if(l<u){o=this.schedule(void 0,u-l),r.add(o);return}a()}n.subscribe(N(r,u=>{i=u,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Kt(e){return A((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function mt(e){return e<=0?()=>me:A((t,n)=>{let r=0;t.subscribe(N(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function VE(e){return x(()=>e)}function zh(e,t=Ie){return e=e??UE,A((n,r)=>{let o,i=!0;n.subscribe(N(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function UE(e,t){return e===t}function fs(e=$E){return A((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function $E(){return new Pe}function Mn(e){return A((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function yt(e,t){let n=arguments.length>=2;return r=>r.pipe(e?se((o,i)=>e(o,i,r)):Ie,mt(1),n?Kt(t):fs(()=>new Pe))}function Cr(e){return e<=0?()=>me:A((t,n)=>{let r=[];t.subscribe(N(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 Qc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?se((o,i)=>e(o,i,r)):Ie,Cr(1),n?Kt(t):fs(()=>new Pe))}function HE(){return A((e,t)=>{let n,r=!1;e.subscribe(N(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Kc(e,t){return A($h(e,t,arguments.length>=2,!0))}function Xc(e={}){let{connector:t=()=>new J,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},g=()=>{let E=s;f(),E?.unsubscribe()};return A((E,D)=>{u++,!d&&!l&&h();let v=c=c??t();D.add(()=>{u--,u===0&&!d&&!l&&(a=Jc(g,o))}),v.subscribe(D),!s&&u>0&&(s=new Qe({next:L=>v.next(L),error:L=>{d=!0,h(),a=Jc(f,n,L),v.error(L)},complete:()=>{l=!0,h(),a=Jc(f,r),v.complete()}}),V(E).subscribe(s))})(i)}}function Jc(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Qe({next:()=>{r.unsubscribe(),e()}});return V(t(...n)).subscribe(r)}function Gh(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Xc({connector:()=>new ts(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function zE(e){return se((t,n)=>e<=n)}function hs(...e){let t=ht(e);return A((n,r)=>{(t?wr(e,n,t):wr(e,n)).subscribe(r)})}function ps(e){return A((t,n)=>{V(e).subscribe(N(n,()=>n.complete(),yo)),!n.closed&&t.subscribe(n)})}function GE(e,t=!1){return A((n,r)=>{let o=0;n.subscribe(N(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function fe(e,t,n){let r=S(e)||t||n?{next:e,error:t,complete:n}:e;return r?A((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(N(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)}))}):Ie}var eu;function gs(){return eu}function vt(e){let t=eu;return eu=e,t}var qh=Symbol("NotFound");function br(e){return e===qh||e?.name==="\u0275NotFound"}var ye=null,ms=!1,tu=1,qE=null,ae=Symbol("SIGNAL");function R(e){let t=ye;return ye=e,t}function Es(){return ye}var Nn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Rn(e){if(ms)throw new Error("");if(ye===null)return;ye.consumerOnSignalRead(e);let t=ye.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ye.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ye.producers,n!==void 0&&n.producer===e)){ye.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ye&&(!r||ZE(o,ye)))return;let i=Tr(ye),s={producer:e,consumer:ye,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ye.producersTail=s,t!==void 0?t.nextProducer=s:ye.producers=s,i&&Qh(e,s)}function Wh(){tu++}function Is(e){if(!(Tr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===tu)){if(!e.producerMustRecompute(e)&&!xn(e)){Ds(e);return}e.producerRecomputeValue(e),Ds(e)}}function nu(e){if(e.consumers===void 0)return;let t=ms;ms=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||WE(r)}}finally{ms=t}}function ru(){return ye?.consumerAllowSignalWrites!==!1}function WE(e){e.dirty=!0,nu(e),e.consumerMarkedDirty?.(e)}function Ds(e){e.dirty=!1,e.lastCleanEpoch=tu}function Jt(e){return e&&Zh(e),R(e)}function Zh(e){e.producersTail=void 0,e.recomputing=!0}function An(e,t){R(t),e&&Yh(e)}function Yh(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Tr(e))do n=ou(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function xn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Is(n),r!==n.version))return!0}return!1}function Xt(e){if(Tr(e)){let t=e.producers;for(;t!==void 0;)t=ou(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Qh(e,t){let n=e.consumersTail,r=Tr(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Qh(o.producer,o)}function ou(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Tr(t)){let i=t.producers;for(;i!==void 0;)i=ou(i)}return n}function Tr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ws(e){qE?.(e)}function ZE(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function Cs(e,t){return Object.is(e,t)}function bo(e,t){let n=Object.create(YE);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Is(n),Rn(n),n.value===Co)throw n.error;return n.value};return r[ae]=n,ws(n),r}var ys=Symbol("UNSET"),vs=Symbol("COMPUTING"),Co=Symbol("ERRORED"),YE=F(y({},Nn),{value:ys,dirty:!0,error:null,equal:Cs,kind:"computed",producerMustRecompute(e){return e.value===ys||e.value===vs},producerRecomputeValue(e){if(e.value===vs)throw new Error("");let t=e.value;e.value=vs;let n=Jt(e),r,o=!1;try{r=e.computation(),R(null),o=t!==ys&&t!==Co&&r!==Co&&e.equal(t,r)}catch(i){r=Co,e.error=i}finally{An(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function QE(){throw new Error}var Kh=QE;function Jh(e){Kh(e)}function iu(e){Kh=e}var KE=null;function su(e,t){let n=Object.create(To);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Xh(n);return r[ae]=n,ws(n),[r,s=>_r(n,s),s=>au(n,s)]}function Xh(e){return Rn(e),e.value}function _r(e,t){ru()||Jh(e),e.equal(e.value,t)||(e.value=t,JE(e))}function au(e,t){ru()||Jh(e),_r(e,t(e.value))}var To=F(y({},Nn),{equal:Cs,value:void 0,kind:"signal"});function JE(e){e.version++,Wh(),nu(e),KE?.(e)}function ep(e){let t=R(null);try{return e()}finally{R(t)}}var tp=F(y({},Nn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function np(e){if(e.dirty=!1,e.version>0&&!xn(e))return;e.version++;let t=Jt(e);try{e.cleanup(),e.fn()}finally{An(e,t)}}var Ss="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(kt(t,n)),this.code=t}};function XE(e){return`NG0${Math.abs(e)}`}function kt(e,t){return`${XE(e)}${t?": "+t:""}`}var $e=globalThis;function B(e){for(let t in e)if(e[t]===B)return t;throw Error("")}function ip(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Pt(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Pt).join(", ")}]`;if(e==null)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return""+n;let r=n.indexOf(`
4
+ `);return r>=0?n.slice(0,r):n}function Ms(e,t){return e?t?`${e} ${t}`:e:t||""}var eI=B({__forward_ref__:B});function Ns(e){return e.__forward_ref__=Ns,e.toString=function(){return Pt(this())},e}function ce(e){return vu(e)?e():e}function vu(e){return typeof e=="function"&&e.hasOwnProperty(eI)&&e.__forward_ref__===Ns}function w(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ft(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ro(e){return tI(e,Rs)}function Du(e){return Ro(e)!==null}function tI(e,t){return e.hasOwnProperty(t)&&e[t]||null}function nI(e){let t=e?.[Rs]??null;return t||null}function uu(e){return e&&e.hasOwnProperty(Ts)?e[Ts]:null}var Rs=B({\u0275prov:B}),Ts=B({\u0275inj:B}),I=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=w({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Eu(e){return e&&!!e.\u0275providers}var Iu=B({\u0275cmp:B}),wu=B({\u0275dir:B}),Cu=B({\u0275pipe:B}),bu=B({\u0275mod:B}),So=B({\u0275fac:B}),Ln=B({__NG_ELEMENT_ID__:B}),rp=B({__NG_ENV_ID__:B});function nn(e){return typeof e=="string"?e:e==null?"":String(e)}function sp(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():nn(e)}var ap=B({ngErrorCode:B}),rI=B({ngErrorMessage:B}),oI=B({ngTokenPath:B});function Tu(e,t){return cp("",-200,t)}function As(e,t){throw new m(-201,!1)}function cp(e,t,n){let r=new m(t,e);return r[ap]=t,r[rI]=e,n&&(r[oI]=n),r}function iI(e){return e[ap]}var lu;function up(){return lu}function we(e){let t=lu;return lu=e,t}function _u(e,t,n){let r=Ro(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;As(e,"Injector")}var sI={},On=sI,aI="__NG_DI_FLAG__",du=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Pn(n)||0;try{return this.injector.get(t,r&8?null:On,r)}catch(o){if(br(o))return o;throw o}}};function cI(e,t=0){let n=gs();if(n===void 0)throw new m(-203,!1);if(n===null)return _u(e,void 0,t);{let r=uI(t),o=n.retrieve(e,r);if(br(o)){if(r.optional)return null;throw o}return o}}function C(e,t=0){return(up()||cI)(ce(e),t)}function p(e,t){return C(e,Pn(t))}function Pn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function uI(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function fu(e){let t=[];for(let n=0;n<e.length;n++){let r=ce(e[n]);if(Array.isArray(r)){if(r.length===0)throw new m(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=lI(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(C(o,i))}else t.push(C(r))}return t}function lI(e){return e[aI]}function en(e,t){let n=e.hasOwnProperty(So);return n?e[So]:null}function lp(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function dp(e){return e.flat(Number.POSITIVE_INFINITY)}function xs(e,t){e.forEach(n=>Array.isArray(n)?xs(n,t):t(n))}function Su(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ao(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function fp(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function hp(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=Mr(e,t);return r>=0?e[r|1]=n:(r=~r,hp(e,r,t,n)),r}function Ps(e,t){let n=Mr(e,t);if(n>=0)return e[n|1]}function Mr(e,t){return dI(e,t,1)}function dI(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 Ke={},ve=[],Dt=new I(""),Mu=new I("",-1),Nu=new I(""),Mo=class{get(t,n=On){if(n===On){let o=cp("",-201);throw o.name="\u0275NotFound",o}return n}};function Ru(e){return e[bu]||null}function Et(e){return e[Iu]||null}function ks(e){return e[wu]||null}function pp(e){return e[Cu]||null}function Je(e){return{\u0275providers:e}}function gp(e){return Je([{provide:Dt,multi:!0,useValue:e}])}function mp(...e){return{\u0275providers:Au(!0,e),\u0275fromNgModule:!0}}function Au(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return xs(t,s=>{let a=s;_s(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&yp(o,i),n}function yp(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];xu(o,i=>{t(i,r)})}}function _s(e,t,n,r){if(e=ce(e),!e)return!1;let o=null,i=uu(e),s=!i&&Et(e);if(!i&&!s){let c=e.ngModule;if(i=uu(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)_s(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{xs(i.imports,l=>{_s(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&yp(u,t)}if(!a){let u=en(o)||(()=>new o);t({provide:o,useFactory:u,deps:ve},o),t({provide:Nu,useValue:o,multi:!0},o),t({provide:Dt,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;xu(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function xu(e,t){for(let n of e)Eu(n)&&(n=n.\u0275providers),Array.isArray(n)?xu(n,t):t(n)}var fI=B({provide:String,useValue:B});function vp(e){return e!==null&&typeof e=="object"&&fI in e}function hI(e){return!!(e&&e.useExisting)}function pI(e){return!!(e&&e.useFactory)}function kn(e){return typeof e=="function"}function Dp(e){return!!e.useClass}var xo=new I(""),bs={},op={},cu;function Nr(){return cu===void 0&&(cu=new Mo),cu}var te=class{},Fn=class extends te{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,pu(t,s=>this.processProvider(s)),this.records.set(Mu,Sr(void 0,this)),o.has("environment")&&this.records.set(te,Sr(void 0,this));let i=this.records.get(xo);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Nu,ve,{self:!0}))}retrieve(t,n){let r=Pn(n)||0;try{return this.get(t,On,r)}catch(o){if(br(o))return o;throw o}}destroy(){_o(this),this._destroyed=!0;let t=R(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(),R(t)}}onDestroy(t){return _o(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){_o(this);let n=vt(this),r=we(void 0),o;try{return t()}finally{vt(n),we(r)}}get(t,n=On,r){if(_o(this),t.hasOwnProperty(rp))return t[rp](this);let o=Pn(r),i,s=vt(this),a=we(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=DI(t)&&Ro(t);l&&this.injectableDefInScope(l)?u=Sr(hu(t),bs):u=null,this.records.set(t,u)}if(u!=null)return this.hydrate(t,u,o)}let c=o&2?Nr():this.parent;return n=o&8&&n===On?null:n,c.get(t,n)}catch(c){let u=iI(c);throw u===-200||u===-201?new m(u,null):c}finally{we(a),vt(s)}}resolveInjectorInitializers(){let t=R(null),n=vt(this),r=we(void 0),o;try{let i=this.get(Dt,ve,{self:!0});for(let s of i)s()}finally{vt(n),we(r),R(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(Pt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ce(t);let n=kn(t)?t:ce(t&&t.provide),r=mI(t);if(!kn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Sr(void 0,bs,!0),o.factory=()=>fu(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=R(null);try{if(n.value===op)throw Tu(Pt(t));return n.value===bs&&(n.value=op,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&vI(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{R(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ce(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 hu(e){let t=Ro(e),n=t!==null?t.factory:en(e);if(n!==null)return n;if(e instanceof I)throw new m(204,!1);if(e instanceof Function)return gI(e);throw new m(204,!1)}function gI(e){if(e.length>0)throw new m(204,!1);let n=nI(e);return n!==null?()=>n.factory(e):()=>new e}function mI(e){if(vp(e))return Sr(void 0,e.useValue);{let t=Ou(e);return Sr(t,bs)}}function Ou(e,t,n){let r;if(kn(e)){let o=ce(e);return en(o)||hu(o)}else if(vp(e))r=()=>ce(e.useValue);else if(pI(e))r=()=>e.useFactory(...fu(e.deps||[]));else if(hI(e))r=(o,i)=>C(ce(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ce(e&&(e.useClass||e.provide));if(yI(e))r=()=>new o(...fu(e.deps));else return en(o)||hu(o)}return r}function _o(e){if(e.destroyed)throw new m(205,!1)}function Sr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function yI(e){return!!e.deps}function vI(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function DI(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function pu(e,t){for(let n of e)Array.isArray(n)?pu(n,t):n&&Eu(n)?pu(n.\u0275providers,t):t(n)}function he(e,t){let n;e instanceof Fn?(_o(e),n=e):n=new du(e);let r,o=vt(n),i=we(void 0);try{return t()}finally{vt(o),we(i)}}function Ep(){return up()!==void 0||gs()!=null}var Xe=0,T=1,M=2,ue=3,He=4,Ce=5,jn=6,Rr=7,X=8,rn=9,It=10,$=11,Ar=12,Pu=13,Bn=14,De=15,on=16,Vn=17,wt=18,Oo=19,ku=20,Ot=21,Fs=22,Lt=23,ke=24,Un=25,$n=26,z=27,Ip=1,Fu=6,sn=7,Po=8,Hn=9,re=10;function Ct(e){return Array.isArray(e)&&typeof e[Ip]=="object"}function et(e){return Array.isArray(e)&&e[Ip]===!0}function Lu(e){return(e.flags&4)!==0}function an(e){return e.componentOffset>-1}function xr(e){return(e.flags&1)===1}function tt(e){return!!e.template}function Or(e){return(e[M]&512)!==0}function zn(e){return(e[M]&256)===256}var ju="svg",wp="math";function ze(e){for(;Array.isArray(e);)e=e[Xe];return e}function Bu(e,t){return ze(t[e])}function nt(e,t){return ze(t[e.index])}function ko(e,t){return e.data[t]}function Fo(e,t){return e[t]}function Vu(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ge(e,t){let n=t[e];return Ct(n)?n:n[Xe]}function Cp(e){return(e[M]&4)===4}function Ls(e){return(e[M]&128)===128}function bp(e){return et(e[ue])}function Fe(e,t){return t==null?null:e[t]}function Uu(e){e[Vn]=0}function $u(e){e[M]&1024||(e[M]|=1024,Ls(e)&&cn(e))}function Tp(e,t){for(;e>0;)t=t[Bn],e--;return t}function Lo(e){return!!(e[M]&9216||e[ke]?.dirty)}function js(e){e[It].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),Lo(e)&&cn(e)}function cn(e){e[It].changeDetectionScheduler?.notify(0);let t=tn(e);for(;t!==null&&!(t[M]&8192||(t[M]|=8192,!Ls(t)));)t=tn(t)}function Hu(e,t){if(zn(e))throw new m(911,!1);e[Ot]===null&&(e[Ot]=[]),e[Ot].push(t)}function _p(e,t){if(e[Ot]===null)return;let n=e[Ot].indexOf(t);n!==-1&&e[Ot].splice(n,1)}function tn(e){let t=e[ue];return et(t)?t[ue]:t}function zu(e){return e[Rr]??=[]}function Gu(e){return e.cleanup??=[]}function Sp(e,t,n,r){let o=zu(t);o.push(n),e.firstCreatePass&&Gu(e).push(r,o.length-1)}var O={lFrame:Up(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var gu=!1;function Mp(){return O.lFrame.elementDepthCount}function Np(){O.lFrame.elementDepthCount++}function qu(){O.lFrame.elementDepthCount--}function Bs(){return O.bindingsEnabled}function Wu(){return O.skipHydrationRootTNode!==null}function Zu(e){return O.skipHydrationRootTNode===e}function Yu(){O.skipHydrationRootTNode=null}function b(){return O.lFrame.lView}function G(){return O.lFrame.tView}function Rp(e){return O.lFrame.contextLView=e,e[X]}function Ap(e){return O.lFrame.contextLView=null,e}function oe(){let e=Qu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Qu(){return O.lFrame.currentTNode}function xp(){let e=O.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Pr(e,t){let n=O.lFrame;n.currentTNode=e,n.isParent=t}function Ku(){return O.lFrame.isParent}function Ju(){O.lFrame.isParent=!1}function Op(){return O.lFrame.contextLView}function Xu(){return gu}function kr(e){let t=gu;return gu=e,t}function Gn(){let e=O.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Pp(){return O.lFrame.bindingIndex}function kp(e){return O.lFrame.bindingIndex=e}function un(){return O.lFrame.bindingIndex++}function Vs(e){let t=O.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Fp(){return O.lFrame.inI18n}function Lp(e,t){let n=O.lFrame;n.bindingIndex=n.bindingRootIndex=e,Us(t)}function jp(){return O.lFrame.currentDirectiveIndex}function Us(e){O.lFrame.currentDirectiveIndex=e}function Bp(e){let t=O.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function $s(){return O.lFrame.currentQueryIndex}function jo(e){O.lFrame.currentQueryIndex=e}function EI(e){let t=e[T];return t.type===2?t.declTNode:t.type===1?e[Ce]:null}function el(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=EI(i),o===null||(i=i[Bn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=O.lFrame=Vp();return r.currentTNode=t,r.lView=e,!0}function Hs(e){let t=Vp(),n=e[T];O.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Vp(){let e=O.lFrame,t=e===null?null:e.child;return t===null?Up(e):t}function Up(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 $p(){let e=O.lFrame;return O.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var tl=$p;function zs(){let e=$p();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 Hp(e){return(O.lFrame.contextLView=Tp(e,O.lFrame.contextLView))[X]}function bt(){return O.lFrame.selectedIndex}function ln(e){O.lFrame.selectedIndex=e}function Bo(){let e=O.lFrame;return ko(e.tView,e.selectedIndex)}function zp(){O.lFrame.currentNamespace=ju}function Gp(){II()}function II(){O.lFrame.currentNamespace=null}function qp(){return O.lFrame.currentNamespace}var Wp=!0;function Gs(){return Wp}function Vo(e){Wp=e}function mu(e,t=null,n=null,r){let o=nl(e,t,n,r);return o.resolveInjectorInitializers(),o}function nl(e,t=null,n=null,r,o=new Set){let i=[n||ve,mp(e)];return r=r||(typeof e=="object"?void 0:Pt(e)),new Fn(i,t||Nr(),r||null,o)}var ge=class e{static THROW_IF_NOT_FOUND=On;static NULL=new Mo;static create(t,n){if(Array.isArray(t))return mu({name:""},n,t,"");{let r=t.name??"";return mu({name:r},t.parent,t.providers,r)}}static \u0275prov=w({token:e,providedIn:"any",factory:()=>C(Mu)});static __NG_ELEMENT_ID__=-1},Z=new I(""),qe=(()=>{class e{static __NG_ELEMENT_ID__=wI;static __NG_ENV_ID__=n=>n}return e})(),No=class extends qe{_lView;constructor(t){super(),this._lView=t}get destroyed(){return zn(this._lView)}onDestroy(t){let n=this._lView;return Hu(n,t),()=>_p(n,t)}};function wI(){return new No(b())}var Ve=class{_console=console;handleError(t){this._console.error("ERROR",t)}},be=new I("",{providedIn:"root",factory:()=>{let e=p(te),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Ve),t.handleError(n))}}}),Zp={provide:Dt,useValue:()=>void p(Ve),multi:!0},CI=new I("",{providedIn:"root",factory:()=>{let e=p(Z).defaultView;if(!e)return;let t=p(be),n=i=>{t(i.reason),i.preventDefault()},r=i=>{i.error?t(i.error):t(new Error(i.message,{cause:i})),i.preventDefault()},o=()=>{e.addEventListener("unhandledrejection",n),e.addEventListener("error",r)};typeof Zone<"u"?Zone.root.run(o):o(),p(qe).onDestroy(()=>{e.removeEventListener("error",r),e.removeEventListener("unhandledrejection",n)})}});function bI(){return Je([gp(()=>void p(CI))])}function rl(e){return typeof e=="function"&&e[ae]!==void 0}function qn(e,t){let[n,r,o]=su(e,t?.equal),i=n,s=i[ae];return i.set=r,i.update=o,i.asReadonly=ol.bind(i),i}function ol(){let e=this[ae];if(e.readonlyFn===void 0){let t=()=>this();t[ae]=e,e.readonlyFn=t}return e.readonlyFn}function il(e){return rl(e)&&typeof e.set=="function"}var Ue=class{},Fr=new I("",{providedIn:"root",factory:()=>!1});var sl=new I(""),al=new I("");var Wn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=TI}return e})();function TI(){return new Wn(b(),oe())}var Tt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new pe(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new k(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Uo=(()=>{class e{internalPendingTasks=p(Tt);scheduler=p(Ue);errorHandler=p(be);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})();function Zn(...e){}var $o=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new yu})}return e})(),yu=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function Ko(e){return{toString:e}.toString()}function AI(e){return typeof e=="function"}var na=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Ag(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Gr=(()=>{let e=()=>xg;return e.ngInherit=!0,e})();function xg(e){return e.type.prototype.ngOnChanges&&(e.setInput=OI),xI}function xI(){let e=Pg(this),t=e?.current;if(t){let n=e.previous;if(n===Ke)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function OI(e,t,n,r,o){let i=this.declaredInputs[r],s=Pg(e)||PI(e,{previous:Ke,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new na(u&&u.currentValue,n,c===Ke),Ag(e,t,o,n)}var Og="__ngSimpleChanges__";function Pg(e){return e[Og]||null}function PI(e,t){return e[Og]=t}var Yp=[];var U=function(e,t=null,n){for(let r=0;r<Yp.length;r++){let o=Yp[r];o(e,t,n)}};function kI(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=xg(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 kg(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 Ks(e,t,n){Fg(e,t,3,n)}function Js(e,t,n,r){(e[M]&3)===n&&Fg(e,t,n,r)}function cl(e,t){let n=e[M];(n&3)===t&&(n&=16383,n+=1,e[M]=n)}function Fg(e,t,n,r){let o=r!==void 0?e[Vn]&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[Vn]+=65536),(a<i||i==-1)&&(FI(e,n,t,c),e[Vn]=(e[Vn]&4294901760)+c+2),c++}function Qp(e,t){U(4,e,t);let n=R(null);try{t.call(e)}finally{R(n),U(5,e,t)}}function FI(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[M]>>14<e[Vn]>>16&&(e[M]&3)===t&&(e[M]+=16384,Qp(a,i)):Qp(a,i)}var jr=-1,Qn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function LI(e){return(e.flags&8)!==0}function jI(e){return(e.flags&16)!==0}function BI(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];VI(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Lg(e){return e===3||e===4||e===6}function VI(e){return e.charCodeAt(0)===64}function Br(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?Kp(e,n,o,null,t[++r]):Kp(e,n,o,null,null))}}return e}function Kp(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){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function jg(e){return e!==jr}function ra(e){return e&32767}function UI(e){return e>>16}function oa(e,t){let n=UI(e),r=t;for(;n>0;)r=r[Bn],n--;return r}var Dl=!0;function ia(e){let t=Dl;return Dl=e,t}var $I=256,Bg=$I-1,Vg=5,HI=0,_t={};function zI(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ln)&&(r=n[Ln]),r==null&&(r=n[Ln]=HI++);let o=r&Bg,i=1<<o;t.data[e+(o>>Vg)]|=i}function sa(e,t){let n=Ug(e,t);if(n!==-1)return n;let r=t[T];r.firstCreatePass&&(e.injectorIndex=t.length,ul(r.data,e),ul(t,null),ul(r.blueprint,null));let o=od(e,t),i=e.injectorIndex;if(jg(o)){let s=ra(o),a=oa(o,t),c=a[T].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function ul(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ug(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function od(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=qg(o),r===null)return jr;if(n++,o=o[Bn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return jr}function El(e,t,n){zI(e,t,n)}function GI(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Lg(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function $g(e,t,n){if(n&8||e!==void 0)return e;As(t,"NodeInjector")}function Hg(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[rn],i=we(void 0);try{return o?o.get(t,r,n&8):_u(t,r,n&8)}finally{we(i)}}return $g(r,t,n)}function zg(e,t,n,r=0,o){if(e!==null){if(t[M]&2048&&!(r&2)){let s=YI(e,t,n,r,_t);if(s!==_t)return s}let i=Gg(e,t,n,r,_t);if(i!==_t)return i}return Hg(t,n,r,o)}function Gg(e,t,n,r,o){let i=WI(n);if(typeof i=="function"){if(!el(t,e,r))return r&1?$g(o,n,r):Hg(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))As(n);else return s}finally{tl()}}else if(typeof i=="number"){let s=null,a=Ug(e,t),c=jr,u=r&1?t[De][Ce]:null;for((a===-1||r&4)&&(c=a===-1?od(e,t):t[a+8],c===jr||!Xp(r,!1)?a=-1:(s=t[T],a=ra(c),t=oa(c,t)));a!==-1;){let l=t[T];if(Jp(i,a,l.data)){let d=qI(a,t,n,s,r,u);if(d!==_t)return d}c=t[a+8],c!==jr&&Xp(r,t[T].data[a+8]===u)&&Jp(i,a,t)?(s=l,a=ra(c),t=oa(c,t)):a=-1}}return o}function qI(e,t,n,r,o,i){let s=t[T],a=s.data[e+8],c=r==null?an(a)&&Dl:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Xs(a,s,n,c,u);return l!==null?Go(t,s,l,a,o):_t}function Xs(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&&tt(f)&&f.type===n)return c}return null}function Go(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Qn){let a=i;if(a.resolving){let f=sp(s[n]);throw Tu(f)}let c=ia(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?we(a.injectImpl):null,h=el(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&kI(n,s[n],t)}finally{d!==null&&we(d),ia(c),a.resolving=!1,tl()}}return i}function WI(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ln)?e[Ln]:void 0;return typeof t=="number"?t>=0?t&Bg:ZI:t}function Jp(e,t,n){let r=1<<e;return!!(n[t+(e>>Vg)]&r)}function Xp(e,t){return!(e&2)&&!(e&1&&t)}var Yn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return zg(this._tNode,this._lView,t,Pn(r),n)}};function ZI(){return new Yn(oe(),b())}function wa(e){return Ko(()=>{let t=e.prototype.constructor,n=t[So]||Il(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[So]||Il(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Il(e){return vu(e)?()=>{let t=Il(ce(e));return t&&t()}:en(e)}function YI(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[M]&2048&&!Or(s);){let a=Gg(i,s,n,r|2,_t);if(a!==_t)return a;let c=i.parent;if(!c){let u=s[ku];if(u){let l=u.get(n,_t,r);if(l!==_t)return l}c=qg(s),s=s[Bn]}i=c}return o}function qg(e){let t=e[T],n=t.type;return n===2?t.declTNode:n===1?e[Ce]:null}function Ca(e){return GI(oe(),e)}function QI(){return qr(oe(),b())}function qr(e,t){return new Vt(nt(e,t))}var Vt=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=QI}return e})();function Wg(e){return e instanceof Vt?e.nativeElement:e}function KI(){return this._results[Symbol.iterator]()}var aa=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new J}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=dp(t);(this._changesDetected=!lp(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=KI};function Zg(e){return(e.flags&128)===128}var id=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(id||{}),Yg=new Map,JI=0;function XI(){return JI++}function ew(e){Yg.set(e[Oo],e)}function wl(e){Yg.delete(e[Oo])}var eg="__ngContext__";function Vr(e,t){Ct(t)?(e[eg]=t[Oo],ew(t)):e[eg]=t}function Qg(e){return Jg(e[Ar])}function Kg(e){return Jg(e[He])}function Jg(e){for(;e!==null&&!et(e);)e=e[He];return e}var Cl;function sd(e){Cl=e}function ad(){if(Cl!==void 0)return Cl;if(typeof document<"u")return document;throw new m(210,!1)}var ba=new I("",{providedIn:"root",factory:()=>tw}),tw="ng",Ta=new I(""),Wr=new I("",{providedIn:"platform",factory:()=>"unknown"});var nw=new I(""),_a=new I("",{providedIn:"root",factory:()=>ad().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var rw="h",ow="b";var Xg="r";var em="di";var tm=!1,nm=new I("",{providedIn:"root",factory:()=>tm});var Sa=new I("");var iw=(e,t,n,r)=>{};function sw(e,t,n,r){iw(e,t,n,r)}function Ma(e){return(e.flags&32)===32}var aw=()=>null;function rm(e,t,n=!1){return aw(e,t,n)}function om(e,t){let n=e.contentQueries;if(n!==null){let r=R(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];jo(i),a.contentQueries(2,t[s],s)}}}finally{R(r)}}}function bl(e,t,n){jo(0);let r=R(null);try{t(e,n)}finally{R(r)}}function cd(e,t,n){if(Lu(t)){let r=R(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{R(r)}}}var jt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(jt||{}),qs;function cw(){if(qs===void 0&&(qs=null,$e.trustedTypes))try{qs=$e.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return qs}function Na(e){return cw()?.createHTML(e)||e}var Ws;function uw(){if(Ws===void 0&&(Ws=null,$e.trustedTypes))try{Ws=$e.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ws}function tg(e){return uw()?.createHTML(e)||e}var Bt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ss})`}},Tl=class extends Bt{getTypeName(){return"HTML"}},_l=class extends Bt{getTypeName(){return"Style"}},Sl=class extends Bt{getTypeName(){return"Script"}},Ml=class extends Bt{getTypeName(){return"URL"}},Nl=class extends Bt{getTypeName(){return"ResourceURL"}};function We(e){return e instanceof Bt?e.changingThisBreaksApplicationSecurity:e}function Ut(e,t){let n=im(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ss})`)}return n===t}function im(e){return e instanceof Bt&&e.getTypeName()||null}function ud(e){return new Tl(e)}function ld(e){return new _l(e)}function dd(e){return new Sl(e)}function fd(e){return new Ml(e)}function hd(e){return new Nl(e)}function lw(e){let t=new Al(e);return dw()?new Rl(t):t}var Rl=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Na(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Al=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=Na(t),n}};function dw(){try{return!!new window.DOMParser().parseFromString(Na(""),"text/html")}catch{return!1}}var fw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jo(e){return e=String(e),e.match(fw)?e:"unsafe:"+e}function $t(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Xo(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var sm=$t("area,br,col,hr,img,wbr"),am=$t("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),cm=$t("rp,rt"),hw=Xo(cm,am),pw=Xo(am,$t("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),gw=Xo(cm,$t("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),ng=Xo(sm,pw,gw,hw),um=$t("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),mw=$t("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),yw=$t("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),vw=Xo(um,mw,yw),Dw=$t("script,style,template"),xl=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=ww(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Iw(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=rg(t).toLowerCase();if(!ng.hasOwnProperty(n))return this.sanitizedSomething=!0,!Dw.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!vw.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;um[a]&&(c=Jo(c)),this.buf.push(" ",s,'="',og(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=rg(t).toLowerCase();ng.hasOwnProperty(n)&&!sm.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(og(t))}};function Ew(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Iw(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw lm(t);return t}function ww(e){let t=e.firstChild;if(t&&Ew(e,t))throw lm(t);return t}function rg(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function lm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Cw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bw=/([^\#-~ |!])/g;function og(e){return e.replace(/&/g,"&amp;").replace(Cw,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(bw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Zs;function Ra(e,t){let n=null;try{Zs=Zs||lw(e);let r=t?String(t):"";n=Zs.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Zs.getInertBodyElement(r)}while(r!==i);let a=new xl().sanitizeChildren(ig(n)||n);return Na(a)}finally{if(n){let r=ig(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function ig(e){return"content"in e&&Tw(e)?e.content:null}function Tw(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var it=(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})(it||{});function _w(e){let t=dm();return t?tg(t.sanitize(it.HTML,e)||""):Ut(e,"HTML")?tg(We(e)):Ra(ad(),nn(e))}function Sw(e){let t=dm();return t?t.sanitize(it.URL,e)||"":Ut(e,"URL")?We(e):Jo(nn(e))}function dm(){let e=b();return e&&e[It].sanitizer}var Mw=/^>|^->|<!--|-->|--!>|<!-$/g,Nw=/(<|>)/g,Rw="\u200B$1\u200B";function Aw(e){return e.replace(Mw,t=>t.replace(Nw,Rw))}function xw(e){return e.ownerDocument}function fm(e){return e instanceof Function?e():e}function Ow(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}}var hm="ng-template";function Pw(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Ow(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(pd(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 pd(e){return e.type===4&&e.value!==hm}function kw(e,t,n){let r=e.type===4&&!n?hm:e.value;return t===r}function Fw(e,t,n){let r=4,o=e.attrs,i=o!==null?Bw(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!rt(r)&&!rt(c))return!1;if(s&&rt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!kw(e,c,n)||c===""&&t.length===1){if(rt(r))return!1;s=!0}}else if(r&8){if(o===null||!Pw(e,o,c,n)){if(rt(r))return!1;s=!0}}else{let u=t[++a],l=Lw(c,o,pd(e),n);if(l===-1){if(rt(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(rt(r))return!1;s=!0}}}}return rt(r)||s}function rt(e){return(e&1)===0}function Lw(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 Vw(t,e)}function pm(e,t,n=!1){for(let r=0;r<t.length;r++)if(Fw(e,t[r],n))return!0;return!1}function jw(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Bw(e){for(let t=0;t<e.length;t++){let n=e[t];if(Lg(n))return t}return e.length}function Vw(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 Uw(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function sg(e,t){return e?":not("+t.trim()+")":t}function $w(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!==""&&!rt(s)&&(t+=sg(i,o),o=""),r=s,i=i||!rt(r);n++}return o!==""&&(t+=sg(i,o)),t}function Hw(e){return e.map($w).join(",")}function zw(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(!rt(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var _e={};function Gw(e,t){return e.createText(t)}function qw(e,t,n){e.setValue(t,n)}function Ww(e,t){return e.createComment(Aw(t))}function gm(e,t,n){return e.createElement(t,n)}function ca(e,t,n,r,o){e.insertBefore(t,n,r,o)}function mm(e,t,n){e.appendChild(t,n)}function ag(e,t,n,r,o){r!==null?ca(e,t,n,r,o):mm(e,t,n)}function ym(e,t,n,r){e.removeChild(null,t,n,r)}function Zw(e,t,n){e.setAttribute(t,"style",n)}function Yw(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function vm(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&BI(e,t,r),o!==null&&Yw(e,t,o),i!==null&&Zw(e,t,i)}function gd(e,t,n,r,o,i,s,a,c,u,l){let d=z+r,h=d+o,f=Qw(d,h),g=typeof u=="function"?u():u;return f[T]={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 Qw(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:_e);return n}function Kw(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=gd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function md(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Xe]=o,d[M]=r|4|128|8|64|1024,(u!==null||e&&e[M]&2048)&&(d[M]|=2048),Uu(d),d[ue]=d[Bn]=e,d[X]=n,d[It]=s||e&&e[It],d[$]=a||e&&e[$],d[rn]=c||e&&e[rn]||null,d[Ce]=i,d[Oo]=XI(),d[jn]=l,d[ku]=u,d[De]=t.type==2?e[De]:d,d}function Jw(e,t,n){let r=nt(t,e),o=Kw(n),i=e[It].rendererFactory,s=yd(e,md(e,o,null,Dm(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Dm(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Em(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 yd(e,t){return e[Ar]?e[Pu][He]=t:e[Ar]=t,e[Pu]=t,t}function Xw(e=1){Im(G(),b(),bt()+e,!1)}function Im(e,t,n,r){if(!r)if((t[M]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ks(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Js(t,i,0,n)}ln(n)}var Aa=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Aa||{});function Ol(e,t,n,r){let o=R(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Aa.SignalBased)!==0&&(c=t[i][ae]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):Ag(t,c,i,r)}finally{R(o)}}var St=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(St||{}),eC;function vd(e,t){return eC(e,t)}var ei=new Set;var wm=new I("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1})});function cg(e,t,n,r){let o=e?.[$n]?.enter;if(t!==null&&o&&o.has(n.index)){let i=r.get(wm);for(let s of o.get(n.index).animateFns)i.queue.add(s)}}function Lr(e,t,n,r,o,i,s,a){if(o!=null){let c,u=!1;et(o)?c=o:Ct(o)&&(u=!0,o=o[Xe]);let l=ze(o);e===0&&r!==null?(cg(a,r,i,n),s==null?mm(t,r,l):ca(t,r,l,s||null,!0)):e===1&&r!==null?(cg(a,r,i,n),ca(t,r,l,s||null,!0)):e===2?ug(a,i,n,d=>{ym(t,l,u,d)}):e===3&&ug(a,i,n,()=>{t.destroyNode(l)}),c!=null&&fC(t,e,n,c,i,r,s)}}function tC(e,t){let n=e.get(wm);if(Array.isArray(t))for(let r of t)n.queue.add(r);else n.queue.add(t)}function nC(e,t){Cm(e,t),t[Xe]=null,t[Ce]=null}function rC(e,t,n,r,o,i){r[Xe]=o,r[Ce]=t,Oa(e,r,n,1,o,i)}function Cm(e,t){t[It].changeDetectionScheduler?.notify(9),Oa(e,t,t[$],2,null,null)}function oC(e){let t=e[Ar];if(!t)return ll(e[T],e);for(;t;){let n=null;if(Ct(t))n=t[Ar];else{let r=t[re];r&&(n=r)}if(!n){for(;t&&!t[He]&&t!==e;)Ct(t)&&ll(t[T],t),t=t[ue];t===null&&(t=e),Ct(t)&&ll(t[T],t),n=t&&t[He]}t=n}}function Dd(e,t){let n=e[Hn],r=n.indexOf(t);n.splice(r,1)}function xa(e,t){if(zn(t))return;let n=t[$];n.destroyNode&&Oa(e,t,n,3,null,null),oC(t)}function ll(e,t){if(zn(t))return;let n=R(null);try{t[M]&=-129,t[M]|=256,t[ke]&&Xt(t[ke]),aC(e,t),sC(e,t),t[T].type===1&&t[$].destroy();let r=t[on];if(r!==null&&et(t[ue])){r!==t[ue]&&Dd(r,t);let o=t[wt];o!==null&&o.detachView(e)}wl(t)}finally{R(n)}}function ug(e,t,n,r){let o=e?.[$n];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);if(o.skipLeaveAnimations)return o.skipLeaveAnimations=!1,r(!1);tC(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s)for(let c=0;c<s.animateFns.length;c++){let u=s.animateFns[c],{promise:l}=u();a.push(l)}o.running=Promise.allSettled(a),iC(e,r)}else e&&ei.delete(e),r(!1)})}function iC(e,t){let n=e[$n]?.running;if(n){n.then(()=>{e[$n].running=void 0,ei.delete(e),t(!0)});return}t(!1)}function sC(e,t){let n=e.cleanup,r=t[Rr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Rr]=null);let o=t[Ot];if(o!==null){t[Ot]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[Lt];if(i!==null){t[Lt]=null;for(let s of i)s.destroy()}}function aC(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 Qn)){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];U(4,a,c);try{c.call(a)}finally{U(5,a,c)}}else{U(4,o,i);try{i.call(o)}finally{U(5,o,i)}}}}}function bm(e,t,n){return cC(e,t.parent,n)}function cC(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Xe];if(an(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===jt.None||o===jt.Emulated)return null}return nt(r,n)}function Tm(e,t,n){return lC(e,t,n)}function uC(e,t,n){return e.type&40?nt(e,n):null}var lC=uC,lg;function Ed(e,t,n,r){let o=bm(e,r,t),i=t[$],s=r.parent||t[Ce],a=Tm(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)ag(i,o,n[c],a,!1);else ag(i,o,n,a,!1);lg!==void 0&&lg(i,r,t,n,o)}function Ho(e,t){if(t!==null){let n=t.type;if(n&3)return nt(t,e);if(n&4)return Pl(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Ho(e,r);{let o=e[t.index];return et(o)?Pl(-1,o):ze(o)}}else{if(n&128)return Ho(e,t.next);if(n&32)return vd(t,e)()||ze(e[t.index]);{let r=_m(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=tn(e[De]);return Ho(o,r)}else return Ho(e,t.next)}}}return null}function _m(e,t){if(t!==null){let r=e[De][Ce],o=t.projection;return r.projection[o]}return null}function Pl(e,t){let n=re+e+1;if(n<t.length){let r=t[n],o=r[T].firstChild;if(o!==null)return Ho(r,o)}return t[sn]}function Id(e,t,n,r,o,i,s){for(;n!=null;){let a=r[rn];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Vr(ze(c),r),n.flags|=2),!Ma(n))if(u&8)Id(e,t,n.child,r,o,i,!1),Lr(t,e,a,o,c,n,i,r);else if(u&32){let l=vd(n,r),d;for(;d=l();)Lr(t,e,a,o,d,n,i,r);Lr(t,e,a,o,c,n,i,r)}else u&16?Sm(e,t,r,n,o,i):Lr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Oa(e,t,n,r,o,i){Id(n,r,e.firstChild,t,o,i,!1)}function dC(e,t,n){let r=t[$],o=bm(e,n,t),i=n.parent||t[Ce],s=Tm(i,n,t);Sm(r,0,t,n,o,s)}function Sm(e,t,n,r,o,i){let s=n[De],c=s[Ce].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Lr(t,e,n[rn],o,l,r,i,n)}else{let u=c,l=s[ue];Zg(r)&&(u.flags|=128),Id(e,t,u,l,o,i,!0)}}function fC(e,t,n,r,o,i,s){let a=r[sn],c=ze(r);a!==c&&Lr(t,e,n,i,a,o,s);for(let u=re;u<r.length;u++){let l=r[u];Oa(l[T],l,e,t,i,a)}}function hC(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:St.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=St.Important),e.setStyle(n,r,o,i))}}function Mm(e,t,n,r,o){let i=bt(),s=r&2;try{ln(-1),s&&t.length>z&&Im(e,t,z,!1),U(s?2:0,o,n),n(r,o)}finally{ln(i),U(s?3:1,o,n)}}function Pa(e,t,n){DC(e,t,n),(n.flags&64)===64&&EC(e,t,n)}function ti(e,t,n=nt){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 pC(e,t,n,r){let i=r.get(nm,tm)||n===jt.ShadowDom,s=e.selectRootElement(t,i);return gC(s),s}function gC(e){mC(e)}var mC=()=>null;function yC(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Nm(e,t,n,r,o,i){let s=t[T];if(Td(e,s,t,n,r)){an(e)&&vC(t,e.index);return}e.type&3&&(n=yC(n)),Rm(e,t,n,r,o,i)}function Rm(e,t,n,r,o,i){if(e.type&3){let s=nt(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function vC(e,t){let n=Ge(t,e);n[M]&16||(n[M]|=64)}function DC(e,t,n){let r=n.directiveStart,o=n.directiveEnd;an(n)&&Jw(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||sa(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Go(t,e,s,n);if(Vr(c,t),i!==null&&bC(t,s-r,c,a,n,i),tt(a)){let u=Ge(n.index,t);u[X]=Go(t,e,s,n)}}}function EC(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=jp();try{ln(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Us(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&IC(c,u)}}finally{ln(-1),Us(s)}}function IC(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function wd(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];pm(t,i.selectors,!1)&&(r??=[],tt(i)?r.unshift(i):r.push(i))}return r}function wC(e,t,n,r,o,i){let s=nt(e,t);CC(t[$],s,i,e.value,n,r,o)}function CC(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?nn(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function bC(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],u=s[a+1];Ol(r,n,c,u)}}function Cd(e,t,n,r,o){let i=z+n,s=t[T],a=o(s,t,e,r,n);t[i]=a,Pr(e,!0);let c=e.type===2;return c?(vm(t[$],a,e),(Mp()===0||xr(e))&&Vr(a,t),Np()):Vr(a,t),Gs()&&(!c||!Ma(e))&&Ed(s,t,a,e),e}function bd(e){let t=e;return Ku()?Ju():(t=t.parent,Pr(t,!1)),t}function TC(e,t){let n=e[rn];if(!n)return;let r;try{r=n.get(be,null)}catch{r=null}r?.(t)}function Td(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let u=s[c],l=s[c+1],d=t.data[u];Ol(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];Ol(l,u,r,o),a=!0}return a}function _C(e,t){let n=Ge(t,e),r=n[T];SC(r,n);let o=n[Xe];o!==null&&n[jn]===null&&(n[jn]=rm(o,n[rn])),U(18),_d(r,n,n[X]),U(19,n[X])}function SC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function _d(e,t,n){Hs(t);try{let r=e.viewQuery;r!==null&&bl(1,r,n);let o=e.template;o!==null&&Mm(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[wt]?.finishViewCreation(e),e.staticContentQueries&&om(e,t),e.staticViewQueries&&bl(2,e.viewQuery,n);let i=e.components;i!==null&&MC(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[M]&=-5,zs()}}function MC(e,t){for(let n=0;n<t.length;n++)_C(e,t[n])}function ni(e,t,n,r){let o=R(null);try{let i=t.tView,a=e[M]&4096?4096:16,c=md(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[on]=u;let l=e[wt];return l!==null&&(c[wt]=l.createEmbeddedView(i)),_d(i,c,n),c}finally{R(o)}}function Ur(e,t){return!t||t.firstChild===null||Zg(e)}function qo(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(ze(i)),et(i)&&Am(i,r);let s=n.type;if(s&8)qo(e,t,n.child,r);else if(s&32){let a=vd(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=_m(t,n);if(Array.isArray(a))r.push(...a);else{let c=tn(t[De]);qo(c[T],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Am(e,t){for(let n=re;n<e.length;n++){let r=e[n],o=r[T].firstChild;o!==null&&qo(r[T],r,o,t)}e[sn]!==e[Xe]&&t.push(e[sn])}function xm(e){if(e[Un]!==null){for(let t of e[Un])t.impl.addSequence(t);e[Un].length=0}}var Om=[];function NC(e){return e[ke]??RC(e)}function RC(e){let t=Om.pop()??Object.create(xC);return t.lView=e,t}function AC(e){e.lView[ke]!==e&&(e.lView=null,Om.push(e))}var xC=F(y({},Nn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{cn(e.lView)},consumerOnSignalRead(){this.lView[ke]=this}});function OC(e){let t=e[ke]??Object.create(PC);return t.lView=e,t}var PC=F(y({},Nn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=tn(e.lView);for(;t&&!Pm(t[T]);)t=tn(t);t&&$u(t)},consumerOnSignalRead(){this.lView[ke]=this}});function Pm(e){return e.type!==2}function km(e){if(e[Lt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[Lt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[M]&8192)}}var kC=100;function Fm(e,t=0){let r=e[It].rendererFactory,o=!1;o||r.begin?.();try{FC(e,t)}finally{o||r.end?.()}}function FC(e,t){let n=Xu();try{kr(!0),kl(e,t);let r=0;for(;Lo(e);){if(r===kC)throw new m(103,!1);r++,kl(e,1)}}finally{kr(n)}}function LC(e,t,n,r){if(zn(t))return;let o=t[M],i=!1,s=!1;Hs(t);let a=!0,c=null,u=null;i||(Pm(e)?(u=NC(t),c=Jt(u)):Es()===null?(a=!1,u=OC(t),c=Jt(u)):t[ke]&&(Xt(t[ke]),t[ke]=null));try{Uu(t),kp(e.bindingStartIndex),n!==null&&Mm(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Ks(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Js(t,f,0,null),cl(t,0)}if(s||jC(t),km(t),Lm(t,0),e.contentQueries!==null&&om(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Ks(t,f)}else{let f=e.contentHooks;f!==null&&Js(t,f,1),cl(t,1)}VC(e,t);let d=e.components;d!==null&&Bm(t,d,0);let h=e.viewQuery;if(h!==null&&bl(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Ks(t,f)}else{let f=e.viewHooks;f!==null&&Js(t,f,2),cl(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Fs]){for(let f of t[Fs])f();t[Fs]=null}i||(xm(t),t[M]&=-73)}catch(l){throw i||cn(t),l}finally{u!==null&&(An(u,c),a&&AC(u)),zs()}}function Lm(e,t){for(let n=Qg(e);n!==null;n=Kg(n))for(let r=re;r<n.length;r++){let o=n[r];jm(o,t)}}function jC(e){for(let t=Qg(e);t!==null;t=Kg(t)){if(!(t[M]&2))continue;let n=t[Hn];for(let r=0;r<n.length;r++){let o=n[r];$u(o)}}}function BC(e,t,n){U(18);let r=Ge(t,e);jm(r,n),U(19,r[X])}function jm(e,t){Ls(e)&&kl(e,t)}function kl(e,t){let r=e[T],o=e[M],i=e[ke],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&xn(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)LC(r,e,r.template,e[X]);else if(o&8192){let a=R(null);try{km(e),Lm(e,1);let c=r.components;c!==null&&Bm(e,c,1),xm(e)}finally{R(a)}}}function Bm(e,t,n){for(let r=0;r<t.length;r++)BC(e,t[r],n)}function VC(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)ln(~o);else{let i=o,s=n[++r],a=n[++r];Lp(s,i);let c=t[i];U(24,c),a(2,c),U(25,c)}}}finally{ln(-1)}}function Sd(e,t){let n=Xu()?64:1088;for(e[It].changeDetectionScheduler?.notify(t);e;){e[M]|=n;let r=tn(e);if(Or(e)&&!r)return e;e=r}return null}function Vm(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Um(e,t){let n=re+t;if(n<e.length)return e[n]}function ri(e,t,n,r=!0){let o=t[T];if(UC(o,t,e,n),r){let s=Pl(n,e),a=t[$],c=a.parentNode(e[sn]);c!==null&&rC(o,e[Ce],a,t,c,s)}let i=t[jn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function $m(e,t){let n=Wo(e,t);return n!==void 0&&xa(n[T],n),n}function Wo(e,t){if(e.length<=re)return;let n=re+t,r=e[n];if(r){let o=r[on];o!==null&&o!==e&&Dd(o,r),t>0&&(e[n-1][He]=r[He]);let i=Ao(e,re+t);nC(r[T],r);let s=i[wt];s!==null&&s.detachView(i[T]),r[ue]=null,r[He]=null,r[M]&=-129}return r}function UC(e,t,n,r){let o=re+r,i=n.length;r>0&&(n[o-1][He]=t),r<i-re?(t[He]=n[o],Su(n,re+r,t)):(n.push(t),t[He]=null),t[ue]=n;let s=t[on];s!==null&&n!==s&&Hm(s,t);let a=t[wt];a!==null&&a.insertView(e),js(t),t[M]|=128}function Hm(e,t){let n=e[Hn],r=t[ue];if(Ct(r))e[M]|=2;else{let o=r[ue][De];t[De]!==o&&(e[M]|=2)}n===null?e[Hn]=[t]:n.push(t)}var dn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[T];return qo(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[X]}set context(t){this._lView[X]=t}get destroyed(){return zn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ue];if(et(t)){let n=t[Po],r=n?n.indexOf(this):-1;r>-1&&(Wo(t,r),Ao(n,r))}this._attachedToViewContainer=!1}xa(this._lView[T],this._lView)}onDestroy(t){Hu(this._lView,t)}markForCheck(){Sd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){js(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,Fm(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new m(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Or(this._lView),n=this._lView[on];n!==null&&!t&&Dd(n,this._lView),Cm(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=Or(this._lView),r=this._lView[on];r!==null&&!n&&Hm(r,this._lView),js(this._lView)}};var $r=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=$C;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=ni(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new dn(i)}}return e})();function $C(){return ka(oe(),b())}function ka(e,t){return e.type&4?new $r(t,e,qr(e,t)):null}function Zr(e,t,n,r,o){let i=e.data[t];if(i===null)i=HC(e,t,n,r,o),Fp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=xp();i.injectorIndex=s===null?-1:s.injectorIndex}return Pr(i,!0),i}function HC(e,t,n,r,o){let i=Qu(),s=Ku(),a=s?i:i&&i.parent,c=e.data[t]=GC(e,a,n,t,r,o);return zC(e,c,i,s),c}function zC(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function GC(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Wu()&&(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:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex: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}}var y1=new RegExp(`^(\\d+)*(${ow}|${rw})*(.*)`);function qC(e){let t=e[Fu]??[],r=e[ue][$],o=[];for(let i of t)i.data[em]!==void 0?o.push(i):WC(i,r);e[Fu]=o}function WC(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Xg];for(;n<o;){let i=r.nextSibling;ym(t,r,!1),r=i,n++}}}var ZC=()=>null,YC=()=>null;function ua(e,t){return ZC(e,t)}function zm(e,t,n){return YC(e,t,n)}var Gm=class{},Fa=class{},Fl=class{resolveComponentFactory(t){throw new m(917,!1)}},oi=class{static NULL=new Fl},Kn=class{},ii=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>QC()}return e})();function QC(){let e=b(),t=oe(),n=Ge(t.index,e);return(Ct(n)?n:e)[$]}var qm=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>null})}return e})();var ea={},Ll=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ea,r);return o!==ea||n===ea?o:this.parentInjector.get(t,n,r)}};function la(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=Ms(o,a);else if(i==2){let c=a,u=t[++s];r=Ms(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Se(e,t=0){let n=b();if(n===null)return C(e,t);let r=oe();return zg(r,n,ce(e),t)}function Md(){let e="invalid";throw new Error(e)}function Wm(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,u=null;for(let l of s)if(l.resolveHostDirectives!==null){[a,c,u]=l.resolveHostDirectives(s);break}XC(e,t,n,a,i,c,u)}i!==null&&r!==null&&KC(n,r,i)}function KC(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new m(-301,!1);r.push(t[o],i)}}function JC(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function XC(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let h=0;h<a;h++){let f=r[h];!c&&tt(f)&&(c=!0,JC(e,n,h)),El(sa(n,t),e,f.type)}ib(n,e.data.length,a);for(let h=0;h<a;h++){let f=r[h];f.providersResolver&&f.providersResolver(f)}let u=!1,l=!1,d=Em(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let h=0;h<a;h++){let f=r[h];if(n.mergedAttrs=Br(n.mergedAttrs,f.hostAttrs),tb(e,n,t,d,f),ob(d,f,o),s!==null&&s.has(f)){let[E,D]=s.get(f);n.directiveToIndex.set(f.type,[d,E+n.directiveStart,D+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let g=f.type.prototype;!u&&(g.ngOnChanges||g.ngOnInit||g.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),u=!0),!l&&(g.ngOnChanges||g.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),l=!0),d++}eb(e,n,i)}function eb(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))dg(0,t,o,r),dg(1,t,o,r),hg(t,r,!1);else{let i=n.get(o);fg(0,t,i,r),fg(1,t,i,r),hg(t,r,!0)}}}function dg(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Zm(t,i)}}function fg(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Zm(t,s)}}function Zm(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function hg(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||pd(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let u=o[c];for(let l of u)if(l===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let u=i[c];for(let l=0;l<u.length;l+=2)if(u[l]===t){s??=[],s.push(u[l+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function tb(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=en(o.type,!0)),s=new Qn(i,tt(o),Se,null);e.blueprint[r]=s,n[r]=s,nb(e,t,r,Em(e,n,o.hostVars,_e),o)}function nb(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;rb(s)!=a&&s.push(a),s.push(n,r,i)}}function rb(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function ob(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;tt(t)&&(n[""]=e)}}function ib(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Nd(e,t,n,r,o,i,s,a){let c=t[T],u=c.consts,l=Fe(u,s),d=Zr(c,e,n,r,l);return i&&Wm(c,t,d,Fe(u,a),o),d.mergedAttrs=Br(d.mergedAttrs,d.attrs),d.attrs!==null&&la(d,d.attrs,!1),d.mergedAttrs!==null&&la(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Rd(e,t){kg(e,t),Lu(t)&&e.queries.elementEnd(t)}function sb(e,t,n,r,o,i){let s=t.consts,a=Fe(s,o),c=Zr(t,e,n,r,a);if(c.mergedAttrs=Br(c.mergedAttrs,c.attrs),i!=null){let u=Fe(s,i);c.localNames=[];for(let l=0;l<u.length;l+=2)c.localNames.push(u[l],-1)}return c.attrs!==null&&la(c,c.attrs,!1),c.mergedAttrs!==null&&la(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function La(e,t,n){return e[t]=n}function ab(e,t){return e[t]}function Le(e,t,n){if(n===_e)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Ad(e,t,n,r){let o=Le(e,t,n);return Le(e,t+1,r)||o}function cb(e,t,n,r,o){let i=Ad(e,t,n,r);return Le(e,t+2,o)||i}function ta(e,t,n){return function r(o){let i=an(e)?Ge(e.index,t):t;Sd(i,5);let s=t[X],a=pg(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=pg(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function pg(e,t,n,r){let o=R(null);try{return U(6,t,n),n(r)!==!1}catch(i){return TC(e,i),!1}finally{U(7,t,n),R(o)}}function Ym(e,t,n,r,o,i,s,a){let c=xr(e),u=!1,l=null;if(!r&&c&&(l=lb(t,n,i,e.index)),l!==null){let d=l.__ngLastListenerFn__||l;d.__ngNextListenerFn__=s,l.__ngLastListenerFn__=s,u=!0}else{let d=nt(e,n),h=r?r(d):d;sw(n,h,i,a);let f=o.listen(h,i,a);if(!ub(i)){let g=r?E=>r(ze(E[e.index])):e.index;Qm(g,t,n,i,a,f,!1)}}return u}function ub(e){return e.startsWith("animation")||e.startsWith("transition")}function lb(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[Rr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Qm(e,t,n,r,o,i,s){let a=t.firstCreatePass?Gu(t):null,c=zu(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function gg(e,t,n,r,o,i){let s=t[n],a=t[T],u=a.data[n].outputs[r],d=s[u].subscribe(i);Qm(e.index,a,t,o,i,d,!0)}var jl=Symbol("BINDING");var da=class extends oi{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Et(t);return new fn(n,this.ngModule)}};function db(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Aa.SignalBased)!==0};return o&&(i.transform=o),i})}function fb(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function hb(e,t,n){let r=t instanceof te?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Ll(n,r):n}function pb(e){let t=e.get(Kn,null);if(t===null)throw new m(407,!1);let n=e.get(qm,null),r=e.get(Ue,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function gb(e,t){let n=Km(e);return gm(t,n,n==="svg"?ju:n==="math"?wp:null)}function Km(e){return(e.selectors[0][0]||"div").toLowerCase()}var fn=class extends Fa{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=db(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=fb(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Hw(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){U(22);let a=R(null);try{let c=this.componentDef,u=mb(r,c,s,i),l=hb(c,o||this.ngModule,t),d=pb(l),h=d.rendererFactory.createRenderer(null,c),f=r?pC(h,r,c.encapsulation,l):gb(c,h),g=s?.some(mg)||i?.some(v=>typeof v!="function"&&v.bindings.some(mg)),E=md(null,u,null,512|Dm(c),null,null,d,h,l,null,rm(f,l,!0));E[z]=f,Hs(E);let D=null;try{let v=Nd(z,E,2,"#host",()=>u.directiveRegistry,!0,0);vm(h,f,v),Vr(f,E),Pa(u,E,v),cd(u,v,E),Rd(u,v),n!==void 0&&vb(v,this.ngContentSelectors,n),D=Ge(v.index,E),E[X]=D[X],_d(u,E,null)}catch(v){throw D!==null&&wl(D),wl(E),v}finally{U(23),zs()}return new fa(this.componentType,E,!!g)}finally{R(a)}}};function mb(e,t,n,r){let o=e?["ng-version","20.3.4"]:zw(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[jl].requiredVars,l.create&&(l.targetIdx=0,(i??=[]).push(l)),l.update&&(l.targetIdx=0,(s??=[]).push(l));if(r)for(let l=0;l<r.length;l++){let d=r[l];if(typeof d!="function")for(let h of d.bindings){a+=h[jl].requiredVars;let f=l+1;h.create&&(h.targetIdx=f,(i??=[]).push(h)),h.update&&(h.targetIdx=f,(s??=[]).push(h))}}let c=[t];if(r)for(let l of r){let d=typeof l=="function"?l:l.type,h=ks(d);c.push(h)}return gd(0,null,yb(i,s),1,a,c,null,null,null,[o],null)}function yb(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function mg(e){let t=e[jl].kind;return t==="input"||t==="twoWay"}var fa=class extends Gm{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=ko(n[T],z),this.location=qr(this._tNode,n),this.instance=Ge(this._tNode.index,n)[X],this.hostView=this.changeDetectorRef=new dn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Td(r,o[T],o,t,n);this.previousInputValues.set(t,n);let s=Ge(r.index,o);Sd(s,1)}get injector(){return new Yn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function vb(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var hn=(()=>{class e{static __NG_ELEMENT_ID__=Db}return e})();function Db(){let e=oe();return Xm(e,b())}var Eb=hn,Jm=class extends Eb{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return qr(this._hostTNode,this._hostLView)}get injector(){return new Yn(this._hostTNode,this._hostLView)}get parentInjector(){let t=od(this._hostTNode,this._hostLView);if(jg(t)){let n=oa(t,this._hostLView),r=ra(t),o=n[T].data[r+8];return new Yn(o,n)}else return new Yn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=yg(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-re}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ua(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Ur(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!AI(t),u;if(c)u=n;else{let D=n||{};u=D.index,r=D.injector,o=D.projectableNodes,i=D.environmentInjector||D.ngModuleRef,s=D.directives,a=D.bindings}let l=c?t:new fn(Et(t)),d=r||this.parentInjector;if(!i&&l.ngModule==null){let v=(c?d:this.parentInjector).get(te,null);v&&(i=v)}let h=Et(l.componentType??{}),f=ua(this._lContainer,h?.id??null),g=f?.firstChild??null,E=l.create(d,o,g,i,s,a);return this.insertImpl(E.hostView,u,Ur(this._hostTNode,f)),E}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(bp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[ue],u=new Jm(c,c[Ce],c[ue]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ri(s,o,i,r),t.attachToViewContainerRef(),Su(dl(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=yg(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Wo(this._lContainer,n);r&&(Ao(dl(this._lContainer),n),xa(r[T],r))}detach(t){let n=this._adjustIndex(t,-1),r=Wo(this._lContainer,n);return r&&Ao(dl(this._lContainer),n)!=null?new dn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function yg(e){return e[Po]}function dl(e){return e[Po]||(e[Po]=[])}function Xm(e,t){let n,r=t[e.index];return et(r)?n=r:(n=Vm(r,t,null,e),t[e.index]=n,yd(t,n)),wb(n,t,e,r),new Jm(n,e,t)}function Ib(e,t){let n=e[$],r=n.createComment(""),o=nt(t,e),i=n.parentNode(o);return ca(n,i,r,n.nextSibling(o),!1),r}var wb=Tb,Cb=()=>!1;function bb(e,t,n){return Cb(e,t,n)}function Tb(e,t,n,r){if(e[sn])return;let o;n.type&8?o=ze(r):o=Ib(t,n),e[sn]=o}var Bl=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Vl=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)Od(t,n).matches!==null&&this.queries[n].setDirty()}},ha=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Rb(t):this.predicate=t}},Ul=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},$l=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,_b(n,i)),this.matchTNodeWithReadOption(t,n,Xs(n,t,i,!1,!1))}else r===$r?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Xs(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Vt||o===hn||o===$r&&n.type&4)this.addMatch(n.index,-2);else{let i=Xs(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function _b(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Sb(e,t){return e.type&11?qr(e,t):e.type&4?ka(e,t):null}function Mb(e,t,n,r){return n===-1?Sb(t,e):n===-2?Nb(e,t,r):Go(e,e[T],n,t)}function Nb(e,t,n){if(n===Vt)return qr(t,e);if(n===$r)return ka(t,e);if(n===hn)return Xm(t,e)}function ey(e,t,n,r){let o=t[wt].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(Mb(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Hl(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=ey(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let u=i[a+1],l=t[-c];for(let d=re;d<l.length;d++){let h=l[d];h[on]===h[ue]&&Hl(h[T],h,u,r)}if(l[Hn]!==null){let d=l[Hn];for(let h=0;h<d.length;h++){let f=d[h];Hl(f[T],f,u,r)}}}}}return r}function xd(e,t){return e[wt].queries[t].queryList}function ty(e,t,n){let r=new aa((n&4)===4);return Sp(e,t,r,r.destroy),(t[wt]??=new Vl).queries.push(new Bl(r))-1}function ny(e,t,n){let r=G();return r.firstCreatePass&&(oy(r,new ha(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),ty(r,b(),t)}function ry(e,t,n,r){let o=G();if(o.firstCreatePass){let i=oe();oy(o,new ha(t,n,r),i.index),Ab(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return ty(o,b(),n)}function Rb(e){return e.split(",").map(t=>t.trim())}function oy(e,t,n){e.queries===null&&(e.queries=new Ul),e.queries.track(new $l(t,n))}function Ab(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function Od(e,t){return e.queries.getByIndex(t)}function iy(e,t){let n=e[T],r=Od(n,t);return r.crossesNgTemplate?Hl(n,e,t,[]):ey(n,e,r,t)}function sy(e,t,n){let r,o=bo(()=>{r._dirtyCounter();let i=xb(r,e);if(t&&i===void 0)throw new m(-951,!1);return i});return r=o[ae],r._dirtyCounter=qn(0),r._flatValue=void 0,o}function Pd(e){return sy(!0,!1,e)}function kd(e){return sy(!0,!0,e)}function ay(e,t){let n=e[ae];n._lView=b(),n._queryIndex=t,n._queryList=xd(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function xb(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[M]&4)return t?void 0:ve;let o=xd(n,r),i=iy(n,r);return o.reset(i,Wg),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var vg=new Set;function st(e){vg.has(e)||(vg.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Jn=class{},ja=class{};var pa=class extends Jn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new da(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ru(t);this._bootstrapComponents=fm(i.bootstrap),this._r3Injector=nl(t,n,[{provide:Jn,useValue:this},{provide:oi,useValue:this.componentFactoryResolver},...r],Pt(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)}},ga=class extends ja{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new pa(this.moduleType,t,[])}};var Zo=class extends Jn{injector;componentFactoryResolver=new da(this);instance=null;constructor(t){super();let n=new Fn([...t.providers,{provide:Jn,useValue:this},{provide:oi,useValue:this.componentFactoryResolver}],t.parent||Nr(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Yr(e,t,n=null){return new Zo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var Ob=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Au(!1,n.type),o=r.length>0?Yr([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 \u0275prov=w({token:e,providedIn:"environment",factory:()=>new e(C(te))})}return e})();function Fd(e){return Ko(()=>{let t=cy(e),n=F(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===id.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(Ob).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||jt.Emulated,styles:e.styles||ve,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&st("NgStandalone"),uy(n);let r=e.dependencies;return n.directiveDefs=Dg(r,Pb),n.pipeDefs=Dg(r,pp),n.id=Lb(n),n})}function Pb(e){return Et(e)||ks(e)}function pn(e){return Ko(()=>({type:e.type,bootstrap:e.bootstrap||ve,declarations:e.declarations||ve,imports:e.imports||ve,exports:e.exports||ve,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function kb(e,t){if(e==null)return Ke;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Aa.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Fb(e){if(e==null)return Ke;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function er(e){return Ko(()=>{let t=cy(e);return uy(t),t})}function si(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function cy(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,inputConfig:e.inputs||Ke,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||ve,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:kb(e.inputs,t),outputs:Fb(e.outputs),debugInfo:null}}function uy(e){e.features?.forEach(t=>t(e))}function Dg(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function Lb(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function jb(e){return Object.getPrototypeOf(e.prototype).constructor}function ly(e){let t=jb(e.type),n=!0,r=[e];for(;t;){let o;if(tt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new m(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=fl(e.inputs),s.declaredInputs=fl(e.declaredInputs),s.outputs=fl(e.outputs);let a=o.hostBindings;a&&Hb(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&Ub(e,c),u&&$b(e,u),Bb(e,o),ip(e.outputs,o.outputs),tt(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===ly&&(n=!1)}}t=Object.getPrototypeOf(t)}Vb(r)}function Bb(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function Vb(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Br(o.hostAttrs,n=Br(n,o.hostAttrs))}}function fl(e){return e===Ke?{}:e===ve?[]:e}function Ub(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function $b(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Hb(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function zb(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=Gb,n.hostDirectives=r?e.map(zl):[e]):r?n.hostDirectives.unshift(...e.map(zl)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Gb(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,dy(s,t,r),o.set(s,[a,t.length-1])}i===0&&tt(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function dy(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)Eg(zl(i),t,n)}else Eg(r,t,n)}function Eg(e,t,n){let r=ks(e.directive);qb(r.declaredInputs,e.inputs),dy(r,t,n),n.set(r,e),t.push(r)}function zl(e){return typeof e=="function"?{directive:ce(e),inputs:Ke,outputs:Ke}:{directive:ce(e.directive),inputs:Ig(e.inputs),outputs:Ig(e.outputs)}}function Ig(e){if(e===void 0||e.length===0)return Ke;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function qb(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function fy(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Br(e.mergedAttrs,e.attrs);let l=e.tView=gd(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),l.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Pr(e,!1);let c=Zb(n,t,e,r);Gs()&&Ed(n,t,c,e),Vr(c,t);let u=Vm(c,t,c,e);t[r+z]=u,yd(t,u),bb(u,e,t)}function Wb(e,t,n,r,o,i,s,a,c,u,l){let d=n+z,h;return t.firstCreatePass?(h=Zr(t,d,4,s||null,a||null),Bs()&&Wm(t,e,h,Fe(t.consts,u),wd),kg(t,h)):h=t.data[d],fy(h,e,t,n,r,o,i,c),xr(h)&&Pa(t,e,h),u!=null&&ti(e,h,l),h}function Hr(e,t,n,r,o,i,s,a,c,u,l){let d=n+z,h;if(t.firstCreatePass){if(h=Zr(t,d,4,s||null,a||null),u!=null){let f=Fe(t.consts,u);h.localNames=[];for(let g=0;g<f.length;g+=2)h.localNames.push(f[g],-1)}}else h=t.data[d];return fy(h,e,t,n,r,o,i,c),u!=null&&ti(e,h,l),h}function hy(e,t,n,r,o,i,s,a){let c=b(),u=G(),l=Fe(u.consts,i);return Wb(c,u,e,t,n,r,o,l,void 0,s,a),hy}function py(e,t,n,r,o,i,s,a){let c=b(),u=G(),l=Fe(u.consts,i);return Hr(c,u,e,t,n,r,o,l,void 0,s,a),py}var Zb=Yb;function Yb(e,t,n,r){return Vo(!0),t[$].createComment("")}var Ba=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Ba||{}),gn=new I(""),gy=!1,Gl=class extends J{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Ep()&&(this.destroyRef=p(qe,{optional:!0})??void 0,this.pendingTasks=p(Tt,{optional:!0})??void 0)}emit(t){let n=R(null);try{super.next(t)}finally{R(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 K&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Te=Gl;function my(e){let t,n;function r(){e=Zn;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 wg(e){return queueMicrotask(()=>e()),()=>{e=Zn}}var Ld="isAngularZone",ma=Ld+"_ID",Qb=0,Q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Te(!1);onMicrotaskEmpty=new Te(!1);onStable=new Te(!1);onError=new Te(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=gy}=t;if(typeof Zone>"u")throw new m(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,Xb(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ld)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new m(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new m(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,Kb,Zn,Zn);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)}},Kb={};function jd(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 Jb(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){my(()=>{e.callbackScheduled=!1,ql(e),e.isCheckStableRunning=!0,jd(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ql(e)}function Xb(e){let t=()=>{Jb(e)},n=Qb++;e._inner=e._inner.fork({name:"angular",properties:{[Ld]:!0,[ma]:n,[ma+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(eT(c))return r.invokeTask(i,s,a,c);try{return Cg(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),bg(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Cg(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!tT(c)&&t(),bg(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ql(e),jd(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 ql(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Cg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function bg(e){e._nesting--,jd(e)}var ya=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Te;onMicrotaskEmpty=new Te;onStable=new Te;onError=new Te;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 eT(e){return yy(e,"__ignore_ng_zone__")}function tT(e){return yy(e,"__scheduler_tick__")}function yy(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Va=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Bd=[0,1,2,3],Vd=(()=>{class e{ngZone=p(Q);scheduler=p(Ue);errorHandler=p(Ve,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(gn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&U(16),this.executing=!0;for(let r of Bd)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&U(17)}register(n){let{view:r}=n;r!==void 0?((r[Un]??=[]).push(n),cn(r),r[M]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ba.AFTER_NEXT_RENDER,n):n()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Yo=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[Un];t&&(this.view[Un]=t.filter(n=>n!==this))}};function Ud(e,t){let n=t?.injector??p(ge);return st("NgAfterNextRender"),rT(e,n,t,!0)}function nT(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function rT(e,t,n,r){let o=t.get(Va);o.impl??=t.get(Vd);let i=t.get(gn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(qe):null,a=t.get(Wn,null,{optional:!0}),c=new Yo(o.impl,nT(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ua=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var $d=new I("");function tr(e){return!!e&&typeof e.then=="function"}function $a(e){return!!e&&typeof e.subscribe=="function"}var Hd=new I("");function Ha(e){return Je([{provide:Hd,multi:!0,useValue:e}])}var zd=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=p(Hd,{optional:!0})??[];injector=p(ge);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=he(this.injector,o);if(tr(i))n.push(i);else if($a(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 \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ai=new I("");function vy(){iu(()=>{let e="";throw new m(600,e)})}function Dy(e){return e.isBoundToModule}var oT=10;var mn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(be);afterRenderManager=p(Va);zonelessEnabled=p(Fr);rootEffectScheduler=p($o);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new J;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=p(Tt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(x(n=>!n))}constructor(){p(gn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=p(te);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ge.NULL){return this._injector.get(Q).run(()=>{U(10);let s=n instanceof Fa;if(!this._injector.get(zd).done){let g="";throw new m(405,g)}let c;s?c=n:c=this._injector.get(oi).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let u=Dy(c)?void 0:this._injector.get(Jn),l=r||c.selector,d=c.create(o,[],l,u),h=d.location.nativeElement,f=d.injector.get($d,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),zo(this.components,d),f?.unregisterApplication(h)}),this._loadComponent(d),U(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){U(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Ba.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new m(101,!1);let n=R(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,R(n),this.afterTick.next(),U(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Kn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<oT;)U(14),this.synchronizeOnce(),U(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Lo(o))continue;let i=r&&!this.zonelessEnabled?0:1;Fm(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Lo(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;zo(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(ai,[]).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._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>zo(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new m(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zo(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Gd(e,t,n,r){let o=b(),i=un();if(Le(o,i,t)){let s=G(),a=Bo();wC(a,o,e,t,n,r)}return Gd}var b1=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function iT(){return b()[De][X]}var Wl=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t,!0))}};function hl(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function sT(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let u=e.at(i),l=t[i],d=hl(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=t[c],g=hl(s,h,c,f,n);if(g!==0){g<0&&e.updateValue(s,f),s--,c--;continue}let E=n(i,u),D=n(s,h),v=n(i,l);if(Object.is(v,D)){let L=n(c,f);Object.is(L,E)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new va,o??=_g(e,i,s,n),Zl(e,r,i,v))e.updateValue(i,l),i++,s++;else if(o.has(v))r.set(E,e.detach(i)),s--;else{let L=e.create(i,t[i]);e.attach(i,L),i++,s++}}for(;i<=c;)Tg(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,h=hl(i,l,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new va,o??=_g(e,i,s,n);let f=n(i,d);if(Zl(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let g=n(i,l);r.set(g,e.detach(i)),s--}}}for(;!u.done;)Tg(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Zl(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Tg(e,t,n,r,o){if(Zl(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function _g(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var va=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function aT(e,t,n,r,o,i,s,a){st("NgControlFlow");let c=b(),u=G(),l=Fe(u.consts,i);return Hr(c,u,e,t,n,r,o,l,256,s,a),qd}function qd(e,t,n,r,o,i,s,a){st("NgControlFlow");let c=b(),u=G(),l=Fe(u.consts,i);return Hr(c,u,e,t,n,r,o,l,512,s,a),qd}function cT(e,t){st("NgControlFlow");let n=b(),r=un(),o=n[r]!==_e?n[r]:-1,i=o!==-1?Da(n,z+o):void 0,s=0;if(Le(n,r,e)){let a=R(null);try{if(i!==void 0&&$m(i,s),e!==-1){let c=z+e,u=Da(n,c),l=Jl(n[T],c),d=zm(u,l,n),h=ni(n,l,t,{dehydratedView:d});ri(u,h,s,Ur(l,d))}}finally{R(a)}}else if(i!==void 0){let a=Um(i,s);a!==void 0&&(a[X]=t)}}var Yl=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-re}};function uT(e){return e}function lT(e,t){return t}var Ql=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function dT(e,t,n,r,o,i,s,a,c,u,l,d,h){st("NgControlFlow");let f=b(),g=G(),E=c!==void 0,D=b(),v=a?s.bind(D[De][X]):s,L=new Ql(E,v);D[z+e]=L,Hr(f,g,e+1,t,n,r,o,Fe(g.consts,i),256),E&&Hr(f,g,e+2,c,u,l,d,Fe(g.consts,h),512)}var Kl=class extends Wl{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-re}at(t){return this.getLView(t)[X].$implicit}attach(t,n){let r=n[jn];this.needsIndexUpdate||=t!==this.length,ri(this.lContainer,n,t,Ur(this.templateTNode,r))}detach(t,n){return this.needsIndexUpdate||=t!==this.length-1,n&&hT(this.lContainer,t),pT(this.lContainer,t)}create(t,n){let r=ua(this.lContainer,this.templateTNode.tView.ssrId),o=ni(this.hostLView,this.templateTNode,new Yl(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){xa(t[T],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[X].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[X].$index=t}getLView(t){return gT(this.lContainer,t)}};function fT(e){let t=R(null),n=bt();try{let r=b(),o=r[T],i=r[n],s=n+1,a=Da(r,s);if(i.liveCollection===void 0){let u=Jl(o,s);i.liveCollection=new Kl(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(sT(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=un(),l=c.length===0;if(Le(r,u,l)){let d=n+2,h=Da(r,d);if(l){let f=Jl(o,d),g=zm(h,f,r),E=ni(r,f,void 0,{dehydratedView:g});ri(h,E,0,Ur(f,g))}else o.firstUpdatePass&&qC(h),$m(h,0)}}}finally{R(t)}}function Da(e,t){return e[t]}function hT(e,t){if(e.length<=re)return;let n=re+t,r=e[n];r&&r[$n]&&(r[$n].skipLeaveAnimations=!0)}function pT(e,t){return Wo(e,t)}function gT(e,t){return Um(e,t)}function Jl(e,t){return ko(e,t)}function Ey(e,t,n){let r=b(),o=un();if(Le(r,o,t)){let i=G(),s=Bo();Nm(s,r,e,t,r[$],n)}return Ey}function Xl(e,t,n,r,o){Td(t,e,n,o?"class":"style",r)}function Wd(e,t,n,r){let o=b(),i=o[T],s=e+z,a=i.firstCreatePass?Nd(s,o,2,t,wd,Bs(),n,r):i.data[s];if(Cd(a,o,e,t,wy),xr(a)){let c=o[T];Pa(c,o,a),cd(c,a,o)}return r!=null&&ti(o,a),Wd}function Zd(){let e=G(),t=oe(),n=bd(t);return e.firstCreatePass&&Rd(e,n),Zu(n)&&Yu(),qu(),n.classesWithoutHost!=null&&LI(n)&&Xl(e,n,b(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&jI(n)&&Xl(e,n,b(),n.stylesWithoutHost,!1),Zd}function za(e,t,n,r){return Wd(e,t,n,r),Zd(),za}function Yd(e,t,n,r){let o=b(),i=o[T],s=e+z,a=i.firstCreatePass?sb(s,i,2,t,n,r):i.data[s];return Cd(a,o,e,t,wy),r!=null&&ti(o,a),Yd}function Qd(){let e=oe(),t=bd(e);return Zu(t)&&Yu(),qu(),Qd}function Iy(e,t,n,r){return Yd(e,t,n,r),Qd(),Iy}var wy=(e,t,n,r,o)=>(Vo(!0),gm(t[$],r,qp()));function Kd(e,t,n){let r=b(),o=r[T],i=e+z,s=o.firstCreatePass?Nd(i,r,8,"ng-container",wd,Bs(),t,n):o.data[i];if(Cd(s,r,e,"ng-container",mT),xr(s)){let a=r[T];Pa(a,r,s),cd(a,s,r)}return n!=null&&ti(r,s),Kd}function Jd(){let e=G(),t=oe(),n=bd(t);return e.firstCreatePass&&Rd(e,n),Jd}function Cy(e,t,n){return Kd(e,t,n),Jd(),Cy}var mT=(e,t,n,r,o)=>(Vo(!0),Ww(t[$],""));function yT(){return b()}function by(e,t,n){let r=b(),o=un();if(Le(r,o,t)){let i=G(),s=Bo();Rm(s,r,e,t,r[$],n)}return by}var Ys=void 0;function vT(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var DT=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ys,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ys,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ys,"{1} 'at' {0}",Ys],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",vT],pl={};function Ae(e){let t=ET(e),n=Sg(t);if(n)return n;let r=t.split("-")[0];if(n=Sg(r),n)return n;if(r==="en")return DT;throw new m(701,!1)}function Sg(e){return e in pl||(pl[e]=$e.ng&&$e.ng.common&&$e.ng.common.locales&&$e.ng.common.locales[e]),pl[e]}var ee=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(ee||{});function ET(e){return e.toLowerCase().replace(/_/g,"-")}var ci="en-US";var IT=ci;function Ty(e){typeof e=="string"&&(IT=e.toLowerCase().replace(/_/g,"-"))}function Xd(e,t,n){let r=b(),o=G(),i=oe();return Sy(o,r,r[$],i,e,t,n),Xd}function _y(e,t,n){let r=b(),o=G(),i=oe();return(i.type&3||n)&&Ym(i,o,r,n,r[$],e,t,ta(i,r,t)),_y}function Sy(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ta(r,t,i),Ym(r,e,t,s,n,o,i,c)&&(a=!1)),a){let u=r.outputs?.[o],l=r.hostDirectiveOutputs?.[o];if(l&&l.length)for(let d=0;d<l.length;d+=2){let h=l[d],f=l[d+1];c??=ta(r,t,i),gg(r,t,h,f,o,c)}if(u&&u.length)for(let d of u)c??=ta(r,t,i),gg(r,t,d,o,o,c)}}function wT(e=1){return Hp(e)}function CT(e,t){let n=null,r=jw(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?pm(e,i,!0):Uw(r,i))return o}return n}function bT(e){let t=b()[De][Ce];if(!t.projection){let n=e?e.length:1,r=t.projection=fp(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?CT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function TT(e,t=0,n,r,o,i){let s=b(),a=G(),c=r?e+1:null;c!==null&&Hr(s,a,c,r,o,i,null,n);let u=Zr(a,z+e,16,null,n||null);u.projection===null&&(u.projection=t),Ju();let d=!s[jn]||Wu();s[De][Ce].projection[u.projection]===null&&c!==null?_T(s,a,c):d&&!Ma(u)&&dC(a,s,u)}function _T(e,t,n){let r=z+n,o=t.data[r],i=e[r],s=ua(i,o.tView.ssrId),a=ni(e,o,void 0,{dehydratedView:s});ri(i,a,0,Ur(o,s))}function My(e,t,n,r){ry(e,t,n,r)}function ST(e,t,n){ny(e,t,n)}function Ny(e){let t=b(),n=G(),r=$s();jo(r+1);let o=Od(n,r);if(e.dirty&&Cp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=iy(t,r);e.reset(i,Wg),e.notifyOnChanges()}return!0}return!1}function Ry(){return xd(b(),$s())}function MT(e,t,n,r,o){ay(t,ry(e,n,r,o))}function NT(e,t,n,r){ay(e,ny(t,n,r))}function RT(e=1){jo($s()+e)}function AT(e){let t=Op();return Fo(t,z+e)}function Qs(e,t){return e<<17|t<<2}function Xn(e){return e>>17&32767}function xT(e){return(e&2)==2}function OT(e,t){return e&131071|t<<17}function ed(e){return e|2}function zr(e){return(e&131068)>>2}function gl(e,t){return e&-131069|t<<2}function PT(e){return(e&1)===1}function td(e){return e|1}function kT(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Xn(s),c=zr(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||Mr(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=Xn(e[a+1]);e[r+1]=Qs(h,a),h!==0&&(e[h+1]=gl(e[h+1],r)),e[a+1]=OT(e[a+1],r)}else e[r+1]=Qs(a,0),a!==0&&(e[a+1]=gl(e[a+1],r)),a=r;else e[r+1]=Qs(c,0),a===0?a=r:e[c+1]=gl(e[c+1],r),c=r;u&&(e[r+1]=ed(e[r+1])),Mg(e,l,r,!0),Mg(e,l,r,!1),FT(t,l,e,r,i),s=Qs(a,c),i?t.classBindings=s:t.styleBindings=s}function FT(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Mr(i,t)>=0&&(n[r+1]=td(n[r+1]))}function Mg(e,t,n,r){let o=e[n+1],i=t===null,s=r?Xn(o):zr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];LT(c,t)&&(a=!0,e[s+1]=r?td(u):ed(u)),s=r?Xn(u):zr(u)}a&&(e[n+1]=r?ed(o):td(o))}function LT(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Mr(e,t)>=0:!1}var ot={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function jT(e){return e.substring(ot.key,ot.keyEnd)}function BT(e){return VT(e),Ay(e,xy(e,0,ot.textEnd))}function Ay(e,t){let n=ot.textEnd;return n===t?-1:(t=ot.keyEnd=UT(e,ot.key=t,n),xy(e,t,n))}function VT(e){ot.key=0,ot.keyEnd=0,ot.value=0,ot.valueEnd=0,ot.textEnd=e.length}function xy(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function UT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Oy(e,t,n){return ky(e,t,n,!1),Oy}function Py(e,t){return ky(e,t,null,!0),Py}function $T(e){zT(QT,HT,e,!0)}function HT(e,t){for(let n=BT(t);n>=0;n=Ay(t,n))Os(e,jT(t),!0)}function ky(e,t,n,r){let o=b(),i=G(),s=Vs(2);if(i.firstUpdatePass&&Ly(i,e,s,r),t!==_e&&Le(o,s,t)){let a=i.data[bt()];jy(i,a,o,o[$],e,o[s+1]=JT(t,n),r,s)}}function zT(e,t,n,r){let o=G(),i=Vs(2);o.firstUpdatePass&&Ly(o,null,i,r);let s=b();if(n!==_e&&Le(s,i,n)){let a=o.data[bt()];if(By(a,r)&&!Fy(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ms(c,n||"")),Xl(o,a,s,n,r)}else KT(o,a,s,s[$],s[i+1],s[i+1]=YT(e,t,n),r,i)}}function Fy(e,t){return t>=e.expandoStartIndex}function Ly(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[bt()],s=Fy(e,n);By(i,r)&&t===null&&!s&&(t=!1),t=GT(o,i,t,r),kT(o,i,t,n,s,r)}}function GT(e,t,n,r){let o=Bp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ml(null,e,t,n,r),n=Qo(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ml(o,e,t,n,r),i===null){let c=qT(e,t,r);c!==void 0&&Array.isArray(c)&&(c=ml(null,e,t,c[1],r),c=Qo(c,t.attrs,r),WT(e,t,r,c))}else i=ZT(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function qT(e,t,n){let r=n?t.classBindings:t.styleBindings;if(zr(r)!==0)return e[Xn(r)]}function WT(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Xn(o)]=r}function ZT(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Qo(r,s,n)}return Qo(r,t.attrs,n)}function ml(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=Qo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Qo(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 YT(e,t,n){if(n==null||n==="")return ve;let r=[],o=We(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 QT(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Os(e,r,n)}function KT(e,t,n,r,o,i,s,a){o===_e&&(o=ve);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,E;l===d?(c+=2,u+=2,h!==f&&(g=d,E=f)):d===null||l!==null&&l<d?(c+=2,g=l):(u+=2,g=d,E=f),g!==null&&jy(e,t,n,r,g,E,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function jy(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=PT(u)?Ng(c,t,n,o,zr(u),s):void 0;if(!Ea(l)){Ea(i)||xT(u)&&(i=Ng(c,null,n,o,a,s));let d=Bu(bt(),n);hC(r,s,d,o,i)}}function Ng(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===_e&&(h=d?ve:void 0);let f=d?Ps(h,r):l===r?h:void 0;if(u&&!Ea(f)&&(f=Ps(c,r)),Ea(f)&&(a=f,s))return a;let g=e[o+1];o=s?Xn(g):zr(g)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ps(c,r))}return a}function Ea(e){return e!==void 0}function JT(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=Pt(We(e)))),e}function By(e,t){return(e.flags&(t?8:16))!==0}function XT(e,t=""){let n=b(),r=G(),o=e+z,i=r.firstCreatePass?Zr(r,o,1,t,null):r.data[o],s=e_(r,n,i,t,e);n[o]=s,Gs()&&Ed(r,n,s,i),Pr(i,!1)}var e_=(e,t,n,r,o)=>(Vo(!0),Gw(t[$],r));function Vy(e,t,n,r=""){return Le(e,un(),n)?t+nn(n)+r:_e}function t_(e,t,n,r,o,i=""){let s=Pp(),a=Ad(e,s,n,o);return Vs(2),a?t+nn(n)+r+nn(o)+i:_e}function Uy(e){return ef("",e),Uy}function ef(e,t,n){let r=b(),o=Vy(r,e,t,n);return o!==_e&&Hy(r,bt(),o),ef}function $y(e,t,n,r,o){let i=b(),s=t_(i,e,t,n,r,o);return s!==_e&&Hy(i,bt(),s),$y}function Hy(e,t,n){let r=Bu(t,e);qw(e[$],r,n)}function zy(e,t,n){il(t)&&(t=t());let r=b(),o=un();if(Le(r,o,t)){let i=G(),s=Bo();Nm(s,r,e,t,r[$],n)}return zy}function n_(e,t){let n=il(e);return n&&e.set(t),n}function Gy(e,t){let n=b(),r=G(),o=oe();return Sy(r,n,n[$],o,e,t),Gy}function r_(e,t,n=""){return Vy(b(),e,t,n)}function o_(e,t,n){let r=G();if(r.firstCreatePass){let o=tt(e);nd(n,r.data,r.blueprint,o,!0),nd(t,r.data,r.blueprint,o,!1)}}function nd(e,t,n,r,o){if(e=ce(e),Array.isArray(e))for(let i=0;i<e.length;i++)nd(e[i],t,n,r,o);else{let i=G(),s=b(),a=oe(),c=kn(e)?e:ce(e.provide),u=Ou(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(kn(e)||!e.multi){let f=new Qn(u,o,Se,null),g=vl(c,t,o?l:l+h,d);g===-1?(El(sa(a,s),i,c),yl(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[g]=f,s[g]=f)}else{let f=vl(c,t,l+h,d),g=vl(c,t,l,l+h),E=f>=0&&n[f],D=g>=0&&n[g];if(o&&!D||!o&&!E){El(sa(a,s),i,c);let v=a_(o?s_:i_,n.length,o,r,u,e);!o&&D&&(n[g].providerFactory=v),yl(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=qy(n[o?g:f],u,!o&&r);yl(i,e,f>-1?f:g,v)}!o&&r&&D&&n[g].componentProviders++}}}function yl(e,t,n,r){let o=kn(t),i=Dp(t);if(o||i){let c=(i?ce(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function qy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function vl(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function i_(e,t,n,r,o){return rd(this.multi,[])}function s_(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Go(r,r[T],this.providerFactory.index,o);s=c.slice(0,a),rd(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],rd(i,s);return s}function rd(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function a_(e,t,n,r,o,i){let s=new Qn(e,n,Se,null);return s.multi=[],s.index=t,s.componentProviders=0,qy(s,o,r&&!n),s}function c_(e,t=[]){return n=>{n.providersResolver=(r,o)=>o_(r,o?o(e):e,t)}}function u_(e,t,n){let r=Gn()+e,o=b();return o[r]===_e?La(o,r,n?t.call(n):t()):ab(o,r)}function l_(e,t,n,r){return Wy(b(),Gn(),e,t,n,r)}function d_(e,t,n,r,o){return Zy(b(),Gn(),e,t,n,r,o)}function tf(e,t){let n=e[t];return n===_e?void 0:n}function Wy(e,t,n,r,o,i){let s=t+n;return Le(e,s,o)?La(e,s+1,i?r.call(i,o):r(o)):tf(e,s+1)}function Zy(e,t,n,r,o,i,s){let a=t+n;return Ad(e,a,o,i)?La(e,a+2,s?r.call(s,o,i):r(o,i)):tf(e,a+2)}function f_(e,t,n,r,o,i,s,a){let c=t+n;return cb(e,c,o,i,s)?La(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):tf(e,c+3)}function h_(e,t){let n=G(),r,o=e+z;n.firstCreatePass?(r=p_(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=en(r.type,!0)),s,a=we(Se);try{let c=ia(!1),u=i();return ia(c),Vu(n,b(),o,u),u}finally{we(a)}}function p_(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function g_(e,t,n){let r=e+z,o=b(),i=Fo(o,r);return nf(o,r)?Wy(o,Gn(),t,i.transform,n,i):i.transform(n)}function m_(e,t,n,r){let o=e+z,i=b(),s=Fo(i,o);return nf(i,o)?Zy(i,Gn(),t,s.transform,n,r,s):s.transform(n,r)}function y_(e,t,n,r,o){let i=e+z,s=b(),a=Fo(s,i);return nf(s,i)?f_(s,Gn(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function nf(e,t){return e[T].data[t].pure}function v_(e,t){return ka(e,t)}var Ia=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},rf=(()=>{class e{compileModuleSync(n){return new ga(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ru(n),i=fm(o.declarations).reduce((s,a)=>{let c=Et(a);return c&&s.push(new fn(c)),s},[]);return new Ia(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var D_=(()=>{class e{zone=p(Q);changeDetectionScheduler=p(Ue);applicationRef=p(mn);applicationErrorHandler=p(be);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Yy=new I("",{factory:()=>!1});function of({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Q(F(y({},sf()),{scheduleInRootZone:n})),[{provide:Q,useFactory:e},{provide:Dt,multi:!0,useFactory:()=>{let r=p(D_,{optional:!0});return()=>r.initialize()}},{provide:Dt,multi:!0,useFactory:()=>{let r=p(I_);return()=>{r.initialize()}}},t===!0?{provide:sl,useValue:!0}:[],{provide:al,useValue:n??gy},{provide:be,useFactory:()=>{let r=p(Q),o=p(te),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Ve),i.handleError(s))})}}}]}function E_(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=of({ngZoneFactory:()=>{let o=sf(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&st("NgZone_CoalesceEvent"),new Q(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Je([{provide:Yy,useValue:!0},{provide:Fr,useValue:!1},r])}function sf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var I_=(()=>{class e{subscription=new K;initialized=!1;zone=p(Q);pendingTasks=p(Tt);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(()=>{Q.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Q.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Qy=(()=>{class e{applicationErrorHandler=p(be);appRef=p(mn);taskService=p(Tt);ngZone=p(Q);zonelessEnabled=p(Fr);tracing=p(gn,{optional:!0});disableScheduling=p(sl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new K;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ma):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(p(al,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){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 ya||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;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 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?wg:my;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(ma+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,wg(()=>{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 \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function w_(){return typeof $localize<"u"&&$localize.locale||ci}var Qr=new I("",{providedIn:"root",factory:()=>p(Qr,{optional:!0,skipSelf:!0})||w_()});function at(e){return ep(e)}function C_(e,t){return bo(e,t?.equal)}var af=class{[ae];constructor(t){this[ae]=t}destroy(){this[ae].destroy()}};function b_(e,t){let n=t?.injector??p(ge),r=t?.manualCleanup!==!0?n.get(qe):null,o,i=n.get(Wn,null,{optional:!0}),s=n.get(Ue);return i!==null?(o=S_(i.view,s,e),r instanceof No&&r._lView===i.view&&(r=null)):o=M_(e,n.get($o),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new af(o)}var Ky=F(y({},tp),{cleanupFns:void 0,zone:null,onDestroyFn:Zn,run(){let e=kr(!1);try{np(this)}finally{kr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=R(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],R(e)}}}),T_=F(y({},Ky),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Xt(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),__=F(y({},Ky),{consumerMarkedDirty(){this.view[M]|=8192,cn(this.view),this.notifier.notify(13)},destroy(){Xt(this),this.onDestroyFn(),this.cleanup(),this.view[Lt]?.delete(this)}});function S_(e,t,n){let r=Object.create(__);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Jy(r,n),e[Lt]??=new Set,e[Lt].add(r),r.consumerMarkedDirty(r),r}function M_(e,t,n){let r=Object.create(T_);return r.fn=Jy(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Jy(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var ov=Symbol("InputSignalNode#UNSET"),$_=F(y({},To),{transformFn:void 0,applyValueToInputSignal(e,t){_r(e,t)}});function iv(e,t){let n=Object.create($_);n.value=e,n.transformFn=t?.transform;function r(){if(Rn(n),n.value===ov){let o=null;throw new m(-950,o)}return n.value}return r[ae]=n,r}var uf=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Ca(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},H_=new I("");H_.__NG_ELEMENT_ID__=e=>{let t=oe();if(t===null)throw new m(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new m(204,!1)};function Xy(e,t){return iv(e,t)}function z_(e){return iv(ov,e)}var sv=(Xy.required=z_,Xy);function ev(e,t){return Pd(t)}function G_(e,t){return kd(t)}var c$=(ev.required=G_,ev);function tv(e,t){return Pd(t)}function q_(e,t){return kd(t)}var u$=(tv.required=q_,tv);var lf=new I(""),W_=new I("");function ui(e){return!e.moduleRef}function Z_(e){let t=ui(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Q);return n.run(()=>{ui(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(be),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),ui(e)){let i=()=>t.destroy(),s=e.platformInjector.get(lf);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(lf);s.add(i),e.moduleRef.onDestroy(()=>{zo(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return Q_(r,n,()=>{let i=t.get(Tt),s=i.add(),a=t.get(zd);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Qr,ci);if(Ty(c||ci),!t.get(W_,!0))return ui(e)?t.get(mn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ui(e)){let l=t.get(mn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return Y_?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var Y_;function Q_(e,t,n){try{let r=n();return tr(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Ga=null;function K_(e=[],t){return ge.create({name:t,providers:[{provide:xo,useValue:"platform"},{provide:lf,useValue:new Set([()=>Ga=null])},...e]})}function J_(e=[]){if(Ga)return Ga;let t=K_(e);return Ga=t,vy(),X_(t),t}function X_(e){let t=e.get(Ta,null);he(e,()=>{t?.forEach(n=>n())})}var Kr=(()=>{class e{static __NG_ELEMENT_ID__=eS}return e})();function eS(e){return tS(oe(),b(),(e&16)===16)}function tS(e,t,n){if(an(e)&&!n){let r=Ge(e.index,t);return new dn(r,r)}else if(e.type&175){let r=t[De];return new dn(r,t)}return null}function av(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;U(8);try{let i=o?.injector??J_(r),s=[of({}),{provide:Ue,useExisting:Qy},Zp,...n||[]],a=new Zo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return Z_({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{U(9)}}function cv(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function nS(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var cf=Symbol("NOT_SET"),uv=new Set,rS=F(y({},To),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:cf,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==cf&&!xn(this))return this.signal;try{for(let o of this.cleanup??uv)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Jt(this),r;try{r=this.userFn.apply(null,t)}finally{An(this,n)}return(this.value===cf||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),df=class extends Yo{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(qe),s),this.scheduler=o;for(let a of Bd){let c=n[a];if(c===void 0)continue;let u=Object.create(rS);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(Rn(u),u.value),u.signal[ae]=u,u.registerCleanupFn=l=>(u.cleanup??=new Set).add(l),this.nodes[a]=u,this.hooks[a]=l=>u.phaseFn(l)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??uv)n()}finally{Xt(t)}}};function l$(e,t){let n=t?.injector??p(ge),r=n.get(Ue),o=n.get(Va),i=n.get(gn,null,{optional:!0});o.impl??=n.get(Vd);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Wn,null,{optional:!0}),c=new df(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function d$(e,t){let n=Et(e),r=t.elementInjector||Nr();return new fn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function lv(e){let t=Et(e);if(!t)return null;let n=new fn(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var hv=null;function Ht(){return hv}function ff(e){hv??=e}var li=class{},di=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(pv),providedIn:"platform"})}return e})(),hf=new I(""),pv=(()=>{class e extends di{_location;_history;_doc=p(Z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ht().getBaseHref(this._doc)}onPopState(n){let r=Ht().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ht().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 \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function qa(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function dv(e){let t=e.search(/#|\?|$/);return e[t-1]==="/"?e.slice(0,t-1)+e.slice(t):e}function ct(e){return e&&e[0]!=="?"?`?${e}`:e}var zt=(()=>{class e{historyGo(n){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(Za),providedIn:"root"})}return e})(),Wa=new I(""),Za=(()=>{class e extends zt{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??p(Z).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 qa(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+ct(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(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 \u0275fac=function(r){return new(r||e)(C(di),C(Wa,8))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vn=(()=>{class e{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=sS(dv(fv(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+ct(r))}normalize(n){return e.stripTrailingSlash(iS(this._basePath,fv(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+ct(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ct(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??void 0,complete:o??void 0})}static normalizeQueryParams=ct;static joinWithSlash=qa;static stripTrailingSlash=dv;static \u0275fac=function(r){return new(r||e)(C(zt))};static \u0275prov=w({token:e,factory:()=>oS(),providedIn:"root"})}return e})();function oS(){return new vn(C(zt))}function iS(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function fv(e){return e.replace(/\/index.html$/,"")}function sS(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var wf=(()=>{class e extends zt{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}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}path(n=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=qa(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+ct(i))||this._platformLocation.pathname;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 \u0275fac=function(r){return new(r||e)(C(di),C(Wa,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var Cf=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(Cf||{});var Ee=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Ee||{}),H=(function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e})(H||{}),xe=(function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e})(xe||{}),Oe={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function vv(e){return Ae(e)[ee.LocaleId]}function Dv(e,t,n){let r=Ae(e),o=[r[ee.DayPeriodsFormat],r[ee.DayPeriodsStandalone]],i=Ze(o,t);return Ze(i,n)}function Ev(e,t,n){let r=Ae(e),o=[r[ee.DaysFormat],r[ee.DaysStandalone]],i=Ze(o,t);return Ze(i,n)}function Iv(e,t,n){let r=Ae(e),o=[r[ee.MonthsFormat],r[ee.MonthsStandalone]],i=Ze(o,t);return Ze(i,n)}function wv(e,t){let r=Ae(e)[ee.Eras];return Ze(r,t)}function fi(e,t){let n=Ae(e);return Ze(n[ee.DateFormat],t)}function hi(e,t){let n=Ae(e);return Ze(n[ee.TimeFormat],t)}function pi(e,t){let r=Ae(e)[ee.DateTimeFormat];return Ze(r,t)}function Mt(e,t){let n=Ae(e),r=n[ee.NumberSymbols][t];if(typeof r>"u"){if(t===Oe.CurrencyDecimal)return n[ee.NumberSymbols][Oe.Decimal];if(t===Oe.CurrencyGroup)return n[ee.NumberSymbols][Oe.Group]}return r}function Cv(e,t){return Ae(e)[ee.NumberFormats][t]}function bv(e){if(!e[ee.ExtraData])throw new m(2303,!1)}function Tv(e){let t=Ae(e);return bv(t),(t[ee.ExtraData][2]||[]).map(r=>typeof r=="string"?pf(r):[pf(r[0]),pf(r[1])])}function _v(e,t,n){let r=Ae(e);bv(r);let o=[r[ee.ExtraData][0],r[ee.ExtraData][1]],i=Ze(o,t)||[];return Ze(i,n)||[]}function Ze(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new m(2304,!1)}function pf(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var aS=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ya={},cS=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Sv(e,t,n,r){let o=yS(e);t=Gt(n,t)||t;let s=[],a;for(;t;)if(a=cS.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Nv(r,c),o=mS(o,r));let u="";return s.forEach(l=>{let d=pS(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ec(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Gt(e,t){let n=vv(e);if(Ya[n]??={},Ya[n][t])return Ya[n][t];let r="";switch(t){case"shortDate":r=fi(e,xe.Short);break;case"mediumDate":r=fi(e,xe.Medium);break;case"longDate":r=fi(e,xe.Long);break;case"fullDate":r=fi(e,xe.Full);break;case"shortTime":r=hi(e,xe.Short);break;case"mediumTime":r=hi(e,xe.Medium);break;case"longTime":r=hi(e,xe.Long);break;case"fullTime":r=hi(e,xe.Full);break;case"short":let o=Gt(e,"shortTime"),i=Gt(e,"shortDate");r=Qa(pi(e,xe.Short),[o,i]);break;case"medium":let s=Gt(e,"mediumTime"),a=Gt(e,"mediumDate");r=Qa(pi(e,xe.Medium),[s,a]);break;case"long":let c=Gt(e,"longTime"),u=Gt(e,"longDate");r=Qa(pi(e,xe.Long),[c,u]);break;case"full":let l=Gt(e,"fullTime"),d=Gt(e,"fullDate");r=Qa(pi(e,xe.Full),[l,d]);break}return r&&(Ya[n][t]=r),r}function Qa(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function ut(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function uS(e,t){return ut(e,3).substring(0,t)}function ie(e,t,n=0,r=!1,o=!1){return function(i,s){let a=lS(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return uS(a,t);let c=Mt(s,Oe.MinusSign);return ut(a,t,c,r,o)}}function lS(e,t){switch(e){case 0:return t.getFullYear();case 1:return t.getMonth();case 2:return t.getDate();case 3:return t.getHours();case 4:return t.getMinutes();case 5:return t.getSeconds();case 6:return t.getMilliseconds();case 7:return t.getDay();default:throw new m(2301,!1)}}function q(e,t,n=Ee.Format,r=!1){return function(o,i){return dS(o,i,e,t,n,r)}}function dS(e,t,n,r,o,i){switch(n){case 2:return Iv(t,o,r)[e.getMonth()];case 1:return Ev(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Tv(t),l=_v(t,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,g]=h,E=s>=f.hours&&a>=f.minutes,D=s<g.hours||s===g.hours&&a<g.minutes;if(f.hours<g.hours){if(E&&D)return!0}else if(E||D)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return Dv(t,o,r)[s<12?0:1];case 3:return wv(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new m(2302,!1)}}function Ka(e){return function(t,n,r){let o=-1*r,i=Mt(n,Oe.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case 0:return(o>=0?"+":"")+ut(s,2,i)+ut(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+ut(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+ut(s,2,i)+":"+ut(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+ut(s,2,i)+":"+ut(Math.abs(o%60),2,i);default:throw new m(2310,!1)}}}var fS=0,Xa=4;function hS(e){let t=ec(e,fS,1).getDay();return ec(e,0,1+(t<=Xa?Xa:Xa+7)-t)}function Mv(e){let t=e.getDay(),n=t===0?-3:Xa-t;return ec(e.getFullYear(),e.getMonth(),e.getDate()+n)}function gf(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Mv(n),s=hS(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return ut(o,e,Mt(r,Oe.MinusSign))}}function Ja(e,t=!1){return function(n,r){let i=Mv(n).getFullYear();return ut(i,e,Mt(r,Oe.MinusSign),t)}}var mf={};function pS(e){if(mf[e])return mf[e];let t;switch(e){case"G":case"GG":case"GGG":t=q(3,H.Abbreviated);break;case"GGGG":t=q(3,H.Wide);break;case"GGGGG":t=q(3,H.Narrow);break;case"y":t=ie(0,1,0,!1,!0);break;case"yy":t=ie(0,2,0,!0,!0);break;case"yyy":t=ie(0,3,0,!1,!0);break;case"yyyy":t=ie(0,4,0,!1,!0);break;case"Y":t=Ja(1);break;case"YY":t=Ja(2,!0);break;case"YYY":t=Ja(3);break;case"YYYY":t=Ja(4);break;case"M":case"L":t=ie(1,1,1);break;case"MM":case"LL":t=ie(1,2,1);break;case"MMM":t=q(2,H.Abbreviated);break;case"MMMM":t=q(2,H.Wide);break;case"MMMMM":t=q(2,H.Narrow);break;case"LLL":t=q(2,H.Abbreviated,Ee.Standalone);break;case"LLLL":t=q(2,H.Wide,Ee.Standalone);break;case"LLLLL":t=q(2,H.Narrow,Ee.Standalone);break;case"w":t=gf(1);break;case"ww":t=gf(2);break;case"W":t=gf(1,!0);break;case"d":t=ie(2,1);break;case"dd":t=ie(2,2);break;case"c":case"cc":t=ie(7,1);break;case"ccc":t=q(1,H.Abbreviated,Ee.Standalone);break;case"cccc":t=q(1,H.Wide,Ee.Standalone);break;case"ccccc":t=q(1,H.Narrow,Ee.Standalone);break;case"cccccc":t=q(1,H.Short,Ee.Standalone);break;case"E":case"EE":case"EEE":t=q(1,H.Abbreviated);break;case"EEEE":t=q(1,H.Wide);break;case"EEEEE":t=q(1,H.Narrow);break;case"EEEEEE":t=q(1,H.Short);break;case"a":case"aa":case"aaa":t=q(0,H.Abbreviated);break;case"aaaa":t=q(0,H.Wide);break;case"aaaaa":t=q(0,H.Narrow);break;case"b":case"bb":case"bbb":t=q(0,H.Abbreviated,Ee.Standalone,!0);break;case"bbbb":t=q(0,H.Wide,Ee.Standalone,!0);break;case"bbbbb":t=q(0,H.Narrow,Ee.Standalone,!0);break;case"B":case"BB":case"BBB":t=q(0,H.Abbreviated,Ee.Format,!0);break;case"BBBB":t=q(0,H.Wide,Ee.Format,!0);break;case"BBBBB":t=q(0,H.Narrow,Ee.Format,!0);break;case"h":t=ie(3,1,-12);break;case"hh":t=ie(3,2,-12);break;case"H":t=ie(3,1);break;case"HH":t=ie(3,2);break;case"m":t=ie(4,1);break;case"mm":t=ie(4,2);break;case"s":t=ie(5,1);break;case"ss":t=ie(5,2);break;case"S":t=ie(6,1);break;case"SS":t=ie(6,2);break;case"SSS":t=ie(6,3);break;case"Z":case"ZZ":case"ZZZ":t=Ka(0);break;case"ZZZZZ":t=Ka(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ka(1);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ka(2);break;default:return null}return mf[e]=t,t}function Nv(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function gS(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function mS(e,t,n){let o=e.getTimezoneOffset(),i=Nv(t,o);return gS(e,-1*(i-o))}function yS(e){if(gv(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return ec(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(aS))return vS(r)}let t=new Date(e);if(!gv(t))throw new m(2311,!1);return t}function vS(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function gv(e){return e instanceof Date&&!isNaN(e.valueOf())}var DS=/^(\d+)?\.((\d+)(-(\d+))?)?$/,mv=22,tc=".",gi="0",ES=";",IS=",",yf="#";function wS(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=Mt(n,Oe.Infinity);else{let u=TS(e);s&&(u=bS(u));let l=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){let L=i.match(DS);if(L===null)throw new m(2306,!1);let Ne=L[1],ne=L[3],ft=L[5];Ne!=null&&(l=vf(Ne)),ne!=null&&(d=vf(ne)),ft!=null?h=vf(ft):ne!=null&&d>h&&(h=d)}_S(u,d,h);let f=u.digits,g=u.integerLen,E=u.exponent,D=[];for(c=f.every(L=>!L);g<l;g++)f.unshift(0);for(;g<0;g++)f.unshift(0);g>0?D=f.splice(g,f.length):(D=f,f=[0]);let v=[];for(f.length>=t.lgSize&&v.unshift(f.splice(-t.lgSize,f.length).join(""));f.length>t.gSize;)v.unshift(f.splice(-t.gSize,f.length).join(""));f.length&&v.unshift(f.join("")),a=v.join(Mt(n,r)),D.length&&(a+=Mt(n,o)+D.join("")),E&&(a+=Mt(n,Oe.Exponential)+"+"+E)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function Rv(e,t,n){let r=Cv(t,Cf.Decimal),o=CS(r,Mt(t,Oe.MinusSign));return wS(e,o,t,Oe.Group,Oe.Decimal,n)}function CS(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(ES),o=r[0],i=r[1],s=o.indexOf(tc)!==-1?o.split(tc):[o.substring(0,o.lastIndexOf(gi)+1),o.substring(o.lastIndexOf(gi)+1)],a=s[0],c=s[1]||"";n.posPre=a.substring(0,a.indexOf(yf));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===gi?n.minFrac=n.maxFrac=l+1:d===yf?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(IS);if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(yf);n.negPre=i.substring(0,d).replace(/'/g,""),n.negSuf=i.slice(d+l).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function bS(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function TS(e){let t=Math.abs(e)+"",n=0,r,o,i,s,a;for((o=t.indexOf(tc))>-1&&(t=t.replace(tc,"")),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===gi;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===gi;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>mv&&(r=r.splice(0,mv-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function _S(e,t,n){if(t>n)throw new m(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,u=t+e.integerLen,l=r.reduceRight(function(d,h,f,g){return h=h+d,g[f]=h<10?h:h-10,c&&(g[f]===0&&f>=u?g.pop():c=!1),h>=10?1:0},0);l&&(r.unshift(l),e.integerLen++)}function vf(e){let t=parseInt(e);if(isNaN(t))throw new m(2305,!1);return t}var Df=/\s+/,yv=[],SS=(()=>{class e{_ngEl;_renderer;initialClasses=yv;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Df):yv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Df):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Df).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(Se(Vt),Se(ii))};static \u0275dir=er({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var MS=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(Se(hn))};static \u0275dir=er({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Gr]})}return e})();function bf(e,t){return new m(2100,!1)}var Ef=class{createSubscription(t,n,r){return at(()=>t.subscribe({next:n,error:r}))}dispose(t){at(()=>t.unsubscribe())}},If=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},NS=new If,RS=new Ef,AS=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=p(be);constructor(n){this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,r=>this._updateLatestValue(n,r),r=>this.applicationErrorHandler(r))}_selectStrategy(n){if(tr(n))return NS;if($a(n))return RS;throw bf(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,r){n===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||e)(Se(Kr,16))};static \u0275pipe=si({name:"async",type:e,pure:!1})}return e})();var xS="mediumDate",Av=new I(""),xv=new I(""),OS=(()=>{class e{locale;defaultTimezone;defaultOptions;constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??xS,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Sv(n,s,i||this.locale,a)}catch(s){throw bf(e,s.message)}}static \u0275fac=function(r){return new(r||e)(Se(Qr,16),Se(Av,24),Se(xv,24))};static \u0275pipe=si({name:"date",type:e,pure:!0})}return e})();var PS=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!kS(n))return null;o||=this._locale;try{let i=FS(n);return Rv(i,o,r)}catch(i){throw bf(e,i.message)}}static \u0275fac=function(r){return new(r||e)(Se(Qr,16))};static \u0275pipe=si({name:"number",type:e,pure:!0})}return e})();function kS(e){return!(e==null||e===""||e!==e)}function FS(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new m(2309,!1);return e}var Ov=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=pn({type:e});static \u0275inj=Ft({})}return e})();function mi(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 nr=class{};var _f="browser";function _H(e){return e===_f}var Pv=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new Tf(p(Z),window)})}return e})(),Tf=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(F(y({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=jS(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(kt(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(F(y({},n),{left:o-s[0],top:i-s[1]}))}};function jS(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker=="function"&&e.body&&typeof e.body.attachShadow=="function"){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}var rc=new I(""),Af=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}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 m(5101,!1);return this._eventNameToPlugin.set(n,r),r}static \u0275fac=function(r){return new(r||e)(C(rc),C(Q))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),yi=class{_doc;constructor(t){this._doc=t}manager},Sf="ng-app-id";function kv(e){for(let t of e)t.remove()}function Fv(e,t){let n=t.createElement("style");return n.textContent=e,n}function BS(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Sf}="${t}"],link[${Sf}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Sf),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]})}function Nf(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var xf=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,BS(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Fv);r?.forEach(o=>this.addUsage(o,this.external,Nf))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(kv(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])kv(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Fv(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Nf(r,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,r){return this.nonce&&r.setAttribute("nonce",this.nonce),n.appendChild(r)}static \u0275fac=function(r){return new(r||e)(C(Z),C(ba),C(_a,8),C(Wr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Mf={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"},Of=/%COMP%/g;var jv="%COMP%",VS=`_nghost-${jv}`,US=`_ngcontent-${jv}`,$S=!0,HS=new I("",{providedIn:"root",factory:()=>$S});function zS(e){return US.replace(Of,e)}function GS(e){return VS.replace(Of,e)}function Bv(e,t){return t.map(n=>n.replace(Of,e))}var Pf=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(n,r,o,i,s,a,c,u=null,l=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.tracingService=l,this.platformIsServer=!1,this.defaultRenderer=new vi(n,s,c,this.platformIsServer,this.tracingService)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof nc?o.applyToHost(n):o instanceof Di&&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,h=this.tracingService;switch(r.encapsulation){case jt.Emulated:i=new nc(c,u,r,this.appId,l,s,a,d,h);break;case jt.ShadowDom:return new Rf(c,u,n,r,s,a,this.nonce,d,h);default:i=new Di(c,u,r,l,s,a,d,h);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static \u0275fac=function(r){return new(r||e)(C(Af),C(xf),C(ba),C(HS),C(Z),C(Wr),C(Q),C(_a),C(gn,8))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),vi=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.tracingService=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(Mf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Lv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Lv(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 m(-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=Mf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Mf[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&(St.DashCase|St.Important)?t.style.setProperty(n,r,o&St.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&St.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,o){if(typeof t=="string"&&(t=Ht().getGlobalEventTarget(this.doc,t),!t))throw new m(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n==="__ngUnwrap__")return t;t(n)===!1&&n.preventDefault()}}};function Lv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Rf=class extends vi{sharedStylesHost;hostEl;shadowRoot;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,c,u),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=Bv(o.id,l);for(let h of l){let f=document.createElement("style");a&&f.setAttribute("nonce",a),f.textContent=h,this.shadowRoot.appendChild(f)}let d=o.getExternalStyles?.();if(d)for(let h of d){let f=Nf(h,i);a&&f.setAttribute("nonce",a),this.shadowRoot.appendChild(f)}}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)}},Di=class extends vi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,u){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=u?Bv(u,l):l,this.styleUrls=r.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&ei.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},nc=class extends Di{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,u){let l=o+"-"+r.id;super(t,n,r,i,s,a,c,u,l),this.contentAttr=zS(l),this.hostAttr=GS(l)}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}};var oc=class e extends li{supportsDOMEvents=!0;static makeCurrent(){ff(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}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=qS();return n==null?null:WS(n)}resetBaseElement(){Ei=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return mi(document.cookie,t)}},Ei=null;function qS(){return Ei=Ei||document.head.querySelector("base"),Ei?Ei.getAttribute("href"):null}function WS(e){return new URL(e,document.baseURI).pathname}var ZS=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Uv=(()=>{class e extends yi{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Vv=["alt","control","meta","shift"],YS={"\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"},QS={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},$v=(()=>{class e extends yi{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ht().onAndCancel(n,s.domEventName,a,i))}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."),Vv.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=YS[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"),Vv.forEach(s=>{if(s!==o){let a=QS[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 \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function KS(e,t,n){let r=y({rootComponent:e,platformRef:n?.platformRef},JS(t));return av(r)}function JS(e){return{appProviders:[...rM,...e?.providers??[]],platformProviders:nM}}function XS(){oc.makeCurrent()}function eM(){return new Ve}function tM(){return sd(document),document}var nM=[{provide:Wr,useValue:_f},{provide:Ta,useValue:XS,multi:!0},{provide:Z,useFactory:tM}];var rM=[{provide:xo,useValue:"root"},{provide:Ve,useFactory:eM},{provide:rc,useClass:Uv,multi:!0,deps:[Z]},{provide:rc,useClass:$v,multi:!0,deps:[Z]},Pf,xf,Af,{provide:Kn,useExisting:Pf},{provide:nr,useClass:ZS},[]];var eo=class{},Ii=class{},Dn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
5
+ `).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var sc=class{encodeKey(t){return Hv(t)}encodeValue(t){return Hv(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function oM(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var iM=/%(\d[a-f0-9])/gi,sM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Hv(e){return encodeURIComponent(e).replace(iM,(t,n)=>sM[n]??t)}function ic(e){return`${e}`}var qt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new sc,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=oM(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(ic):[ic(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(ic(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(ic(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var ac=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function aM(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function zv(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Gv(e){return typeof Blob<"u"&&e instanceof Blob}function qv(e){return typeof FormData<"u"&&e instanceof FormData}function cM(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Wv="Content-Type",Zv="Accept",Yv="X-Request-URL",Qv="text/plain",Kv="application/json",uM=`${Kv}, ${Qv}, */*`,Jr=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(aM(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout=="number"){if(i.timeout<1||!Number.isInteger(i.timeout))throw new m(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),this.transferCache=i.transferCache}if(this.headers??=new Dn,this.context??=new ac,!this.params)this.params=new qt,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||zv(this.body)||Gv(this.body)||qv(this.body)||cM(this.body)?this.body:this.body instanceof qt?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||qv(this.body)?null:Gv(this.body)?this.body.type||null:zv(this.body)?null:typeof this.body=="string"?Qv:this.body instanceof qt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Kv:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,u=t.redirect||this.redirect,l=t.credentials||this.credentials,d=t.referrer||this.referrer,h=t.integrity||this.integrity,f=t.transferCache??this.transferCache,g=t.timeout??this.timeout,E=t.body!==void 0?t.body:this.body,D=t.withCredentials??this.withCredentials,v=t.reportProgress??this.reportProgress,L=t.headers||this.headers,Ne=t.params||this.params,ne=t.context??this.context;return t.setHeaders!==void 0&&(L=Object.keys(t.setHeaders).reduce((ft,Cn)=>ft.set(Cn,t.setHeaders[Cn]),L)),t.setParams&&(Ne=Object.keys(t.setParams).reduce((ft,Cn)=>ft.set(Cn,t.setParams[Cn]),Ne)),new e(n,r,E,{params:Ne,headers:L,context:ne,reportProgress:v,responseType:o,withCredentials:D,transferCache:f,keepalive:i,cache:a,priority:s,timeout:g,mode:c,redirect:u,credentials:l,referrer:d,integrity:h})}},rr=(function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e})(rr||{}),to=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new Dn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.ok=this.status>=200&&this.status<300}},cc=class e extends to{constructor(t={}){super(t)}type=rr.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},wi=class e extends to{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=rr.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Xr=class extends to{name="HttpErrorResponse";message;error;ok=!1;constructor(t){super(t,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},lM=200,dM=204;function kf(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}var Jv=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Jr)i=n;else{let c;o.headers instanceof Dn?c=o.headers:c=new Dn(o.headers);let u;o.params&&(o.params instanceof qt?u=o.params:u=new qt({fromObject:o.params})),i=new Jr(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,integrity:o.integrity,timeout:o.timeout})}let s=_(i).pipe(gt(c=>this.handler.handle(c)));if(n instanceof Jr||o.observe==="events")return s;let a=s.pipe(se(c=>c instanceof wi));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new m(2806,!1);return c.body}));case"blob":return a.pipe(x(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new m(2807,!1);return c.body}));case"text":return a.pipe(x(c=>{if(c.body!==null&&typeof c.body!="string")throw new m(2808,!1);return c.body}));case"json":default:return a.pipe(x(c=>c.body))}case"response":return a;default:throw new m(2809,!1)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new qt().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,kf(o,r))}post(n,r,o={}){return this.request("POST",n,kf(o,r))}put(n,r,o={}){return this.request("PUT",n,kf(o,r))}static \u0275fac=function(r){return new(r||e)(C(eo))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var fM=new I("");function hM(e,t){return t(e)}function pM(e,t,n){return(r,o)=>he(n,()=>t(r,i=>e(i,o)))}var Xv=new I(""),eD=new I(""),tD=new I("",{providedIn:"root",factory:()=>!0});var uc=(()=>{class e extends eo{backend;injector;chain=null;pendingTasks=p(Uo);contributeToStability=p(tD);constructor(n,r){super(),this.backend=n,this.injector=r}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Xv),...this.injector.get(eD,[])]));this.chain=r.reduceRight((o,i)=>pM(o,i,this.injector),hM)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Mn(r))}else return this.chain(n,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||e)(C(Ii),C(te))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var gM=/^\)\]\}',?\n/,mM=RegExp(`^${Yv}:`,"m");function yM(e){return"responseURL"in e&&e.responseURL?e.responseURL:mM.test(e.getAllResponseHeaders())?e.getResponseHeader(Yv):null}var Ff=(()=>{class e{xhrFactory;constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new m(-2800,!1);let r=this.xhrFactory;return _(null).pipe(de(()=>new k(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((D,v)=>s.setRequestHeader(D,v.join(","))),n.headers.has(Zv)||s.setRequestHeader(Zv,uM),!n.headers.has(Wv)){let D=n.detectContentTypeHeader();D!==null&&s.setRequestHeader(Wv,D)}if(n.timeout&&(s.timeout=n.timeout),n.responseType){let D=n.responseType.toLowerCase();s.responseType=D!=="json"?D:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let D=s.statusText||"OK",v=new Dn(s.getAllResponseHeaders()),L=yM(s)||n.url;return c=new cc({headers:v,status:s.status,statusText:D,url:L}),c},l=()=>{let{headers:D,status:v,statusText:L,url:Ne}=u(),ne=null;v!==dM&&(ne=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=ne?lM:0);let ft=v>=200&&v<300;if(n.responseType==="json"&&typeof ne=="string"){let Cn=ne;ne=ne.replace(gM,"");try{ne=ne!==""?JSON.parse(ne):null}catch(oE){ne=Cn,ft&&(ft=!1,ne={error:oE,text:ne})}}ft?(i.next(new wi({body:ne,headers:D,status:v,statusText:L,url:Ne||void 0})),i.complete()):i.error(new Xr({error:ne,headers:D,status:v,statusText:L,url:Ne||void 0}))},d=D=>{let{url:v}=u(),L=new Xr({error:D,status:s.status||0,statusText:s.statusText||"Unknown Error",url:v||void 0});i.error(L)},h=d;n.timeout&&(h=D=>{let{url:v}=u(),L=new Xr({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:v||void 0});i.error(L)});let f=!1,g=D=>{f||(i.next(u()),f=!0);let v={type:rr.DownloadProgress,loaded:D.loaded};D.lengthComputable&&(v.total=D.total),n.responseType==="text"&&s.responseText&&(v.partialText=s.responseText),i.next(v)},E=D=>{let v={type:rr.UploadProgress,loaded:D.loaded};D.lengthComputable&&(v.total=D.total),i.next(v)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",E)),s.send(a),i.next({type:rr.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",h),n.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",E)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||e)(C(nr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),nD=new I(""),vM="XSRF-TOKEN",DM=new I("",{providedIn:"root",factory:()=>vM}),EM="X-XSRF-TOKEN",IM=new I("",{providedIn:"root",factory:()=>EM}),Ci=class{},wM=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(n,r){this.doc=n,this.cookieName=r}getToken(){let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=mi(n,this.cookieName),this.lastCookieString=n),this.lastToken}static \u0275fac=function(r){return new(r||e)(C(Z),C(DM))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function CM(e,t){let n=e.url.toLowerCase();if(!p(nD)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=p(Ci).getToken(),o=p(IM);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}function bM(...e){let t=[Jv,Ff,uc,{provide:eo,useExisting:uc},{provide:Ii,useFactory:()=>p(fM,{optional:!0})??p(Ff)},{provide:Xv,useValue:CM,multi:!0},{provide:nD,useValue:!0},{provide:Ci,useClass:wM}];for(let n of e)t.push(...n.\u0275providers);return Je(t)}var rD=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var TM=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=C(_M),o},providedIn:"root"})}return e})(),_M=(()=>{class e extends TM{_doc;constructor(n){super(),this._doc=n}sanitize(n,r){if(r==null)return null;switch(n){case it.NONE:return r;case it.HTML:return Ut(r,"HTML")?We(r):Ra(this._doc,String(r)).toString();case it.STYLE:return Ut(r,"Style")?We(r):r;case it.SCRIPT:if(Ut(r,"Script"))return We(r);throw new m(5200,!1);case it.URL:return Ut(r,"URL")?We(r):Jo(String(r));case it.RESOURCE_URL:if(Ut(r,"ResourceURL"))return We(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return ud(n)}bypassSecurityTrustStyle(n){return ld(n)}bypassSecurityTrustScript(n){return dd(n)}bypassSecurityTrustUrl(n){return fd(n)}bypassSecurityTrustResourceUrl(n){return hd(n)}static \u0275fac=function(r){return new(r||e)(C(Z))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var P="primary",Fi=Symbol("RouteTitle"),Uf=class{params;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 sr(e){return new Uf(e)}function dD(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 MM(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Nt(e[n],t[n]))return!1;return!0}function Nt(e,t){let n=e?$f(e):void 0,r=t?$f(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],!fD(e[o],t[o]))return!1;return!0}function $f(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function fD(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 hD(e){return e.length>0?e[e.length-1]:null}function Zt(e){return Zc(e)?e:tr(e)?W(Promise.resolve(e)):_(e)}var NM={exact:gD,subset:mD},pD={exact:RM,subset:AM,ignored:()=>!0};function oD(e,t,n){return NM[n.paths](e.root,t.root,n.matrixParams)&&pD[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function RM(e,t){return Nt(e,t)}function gD(e,t,n){if(!or(e.segments,t.segments)||!fc(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!gD(e.children[r],t.children[r],n))return!1;return!0}function AM(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>fD(e[n],t[n]))}function mD(e,t,n){return yD(e,t,t.segments,n)}function yD(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!or(o,n)||t.hasChildren()||!fc(o,n,r))}else if(e.segments.length===n.length){if(!or(e.segments,n)||!fc(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!mD(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!or(e.segments,o)||!fc(e.segments,o,r)||!e.children[P]?!1:yD(e.children[P],t,i,r)}}function fc(e,t,n){return t.every((r,o)=>pD[n](e[o].parameters,r.parameters))}var At=class{root;queryParams;fragment;_queryParamMap;constructor(t=new j([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap??=sr(this.queryParams),this._queryParamMap}toString(){return PM.serialize(this)}},j=class{segments;children;parent=null;constructor(t,n){this.segments=t,this.children=n,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return hc(this)}},En=class{path;parameters;_parameterMap;constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap??=sr(this.parameters),this._parameterMap}toString(){return DD(this)}};function xM(e,t){return or(e,t)&&e.every((n,r)=>Nt(n.parameters,t[r].parameters))}function or(e,t){return e.length!==t.length?!1:e.every((n,r)=>n.path===t[r].path)}function OM(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===P&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==P&&(n=n.concat(t(o,r)))}),n}var ar=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>new In,providedIn:"root"})}return e})(),In=class{parse(t){let n=new zf(t);return new At(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${bi(t.root,!0)}`,r=LM(t.queryParams),o=typeof t.fragment=="string"?`#${kM(t.fragment)}`:"";return`${n}${r}${o}`}},PM=new In;function hc(e){return e.segments.map(t=>DD(t)).join("/")}function bi(e,t){if(!e.hasChildren())return hc(e);if(t){let n=e.children[P]?bi(e.children[P],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==P&&r.push(`${o}:${bi(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=OM(e,(r,o)=>o===P?[bi(e.children[P],!1)]:[`${o}:${bi(r,!1)}`]);return Object.keys(e.children).length===1&&e.children[P]!=null?`${hc(e)}/${n[0]}`:`${hc(e)}/(${n.join("//")})`}}function vD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function lc(e){return vD(e).replace(/%3B/gi,";")}function kM(e){return encodeURI(e)}function Hf(e){return vD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function pc(e){return decodeURIComponent(e)}function iD(e){return pc(e.replace(/\+/g,"%20"))}function DD(e){return`${Hf(e.path)}${FM(e.parameters)}`}function FM(e){return Object.entries(e).map(([t,n])=>`;${Hf(t)}=${Hf(n)}`).join("")}function LM(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${lc(n)}=${lc(o)}`).join("&"):`${lc(n)}=${lc(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var jM=/^[^\/()?;#]+/;function Lf(e){let t=e.match(jM);return t?t[0]:""}var BM=/^[^\/()?;=#]+/;function VM(e){let t=e.match(BM);return t?t[0]:""}var UM=/^[^=?&#]+/;function $M(e){let t=e.match(UM);return t?t[0]:""}var HM=/^[^&#]+/;function zM(e){let t=e.match(HM);return t?t[0]:""}var zf=class{url;remaining;constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new j([],{}):new j([],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[P]=new j(t,n)),r}parseSegment(){let t=Lf(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new m(4009,!1);return this.capture(t),new En(pc(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=VM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=Lf(this.remaining);o&&(r=o,this.capture(r))}t[pc(n)]=pc(r)}parseQueryParam(t){let n=$M(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=zM(this.remaining);s&&(r=s,this.capture(r))}let o=iD(n),i=iD(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=Lf(this.remaining),o=this.remaining[r.length];if(o!=="/"&&o!==")"&&o!==";")throw new m(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=P);let s=this.parseChildren();n[i]=Object.keys(s).length===1?s[P]:new j([],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 m(4011,!1)}};function ED(e){return e.segments.length>0?new j([],{[P]:e}):e}function ID(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=ID(o);if(r===P&&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 j(e.segments,t);return GM(n)}function GM(e){if(e.numberOfChildren===1&&e.children[P]){let t=e.children[P];return new j(e.segments.concat(t.segments),t.children)}return e}function ao(e){return e instanceof At}function wD(e,t,n=null,r=null){let o=CD(e);return bD(o,t,n,r)}function CD(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 j(i.url,s);return i===e&&(t=a),a}let r=n(e.root),o=ED(r);return t??o}function bD(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return jf(o,o,o,n,r);let i=qM(t);if(i.toRoot())return jf(o,o,new j([],{}),n,r);let s=WM(i,o,e),a=s.processChildren?_i(s.segmentGroup,s.index,i.commands):_D(s.segmentGroup,s.index,i.commands);return jf(o,s.segmentGroup,a,n,r)}function gc(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Mi(e){return typeof e=="object"&&e!=null&&e.outlets}function jf(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=TD(e,t,n);let a=ED(ID(s));return new At(a,i,o)}function TD(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=TD(i,t,n)}),new j(e.segments,r)}var mc=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&gc(r[0]))throw new m(4003,!1);let o=r.find(Mi);if(o&&o!==hD(r))throw new m(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function qM(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new mc(!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 mc(n,t,r)}var oo=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function WM(e,t,n){if(e.isAbsolute)return new oo(t,!0,0);if(!n)return new oo(t,!1,NaN);if(n.parent===null)return new oo(n,!0,0);let r=gc(e.commands[0])?0:1,o=n.segments.length-1+r;return ZM(n,o,e.numberOfDoubleDots)}function ZM(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new m(4005,!1);o=r.segments.length}return new oo(r,!1,o-i)}function YM(e){return Mi(e[0])?e[0].outlets:{[P]:e}}function _D(e,t,n){if(e??=new j([],{}),e.segments.length===0&&e.hasChildren())return _i(e,t,n);let r=QM(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){let i=new j(e.segments.slice(0,r.pathIndex),{});return i.children[P]=new j(e.segments.slice(r.pathIndex),e.children),_i(i,0,o)}else return r.match&&o.length===0?new j(e.segments,{}):r.match&&!e.hasChildren()?Gf(e,t,n):r.match?_i(e,0,o):Gf(e,t,n)}function _i(e,t,n){if(n.length===0)return new j(e.segments,{});{let r=YM(n),o={};if(Object.keys(r).some(i=>i!==P)&&e.children[P]&&e.numberOfChildren===1&&e.children[P].segments.length===0){let i=_i(e.children[P],t,n);return new j(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=_D(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new j(e.segments,o)}}function QM(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(Mi(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(!aD(c,u,s))return i;r+=2}else{if(!aD(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function Gf(e,t,n){let r=e.segments.slice(0,t),o=0;for(;o<n.length;){let i=n[o];if(Mi(i)){let c=KM(i.outlets);return new j(r,c)}if(o===0&&gc(n[0])){let c=e.segments[t];r.push(new En(c.path,sD(n[0]))),o++;continue}let s=Mi(i)?i.outlets[P]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&gc(a)?(r.push(new En(s,sD(a))),o+=2):(r.push(new En(s,{})),o++)}return new j(r,{})}function KM(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=Gf(new j([],{}),0,r))}),t}function sD(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function aD(e,t,n){return e==n.path&&Nt(t,n.parameters)}var io="imperative",le=(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})(le||{}),Be=class{id;url;constructor(t,n){this.id=t,this.url=n}},wn=class extends Be{type=le.NavigationStart;navigationTrigger;restoredState;constructor(t,n,r="imperative",o=null){super(t,n),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},dt=class extends Be{urlAfterRedirects;type=le.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Me=(function(e){return e[e.Redirect=0]="Redirect",e[e.SupersededByNewNavigation=1]="SupersededByNewNavigation",e[e.NoDataFromResolver=2]="NoDataFromResolver",e[e.GuardRejected=3]="GuardRejected",e[e.Aborted=4]="Aborted",e})(Me||{}),co=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(co||{}),Rt=class extends Be{reason;code;type=le.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},xt=class extends Be{reason;code;type=le.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},uo=class extends Be{error;target;type=le.NavigationError;constructor(t,n,r,o){super(t,n),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ni=class extends Be{urlAfterRedirects;state;type=le.RoutesRecognized;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yc=class extends Be{urlAfterRedirects;state;type=le.GuardsCheckStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},vc=class extends Be{urlAfterRedirects;state;shouldActivate;type=le.GuardsCheckEnd;constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Dc=class extends Be{urlAfterRedirects;state;type=le.ResolveStart;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ec=class extends Be{urlAfterRedirects;state;type=le.ResolveEnd;constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ic=class{route;type=le.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},wc=class{route;type=le.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Cc=class{snapshot;type=le.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},bc=class{snapshot;type=le.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Tc=class{snapshot;type=le.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_c=class{snapshot;type=le.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},lo=class{routerEvent;position;anchor;type=le.Scroll;constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r}toString(){let t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}},Ri=class{},fo=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function JM(e){return!(e instanceof Ri)&&!(e instanceof fo)}function XM(e,t){return e.providers&&!e._injector&&(e._injector=Yr(e.providers,t,`Route: ${e.path}`)),e._injector??t}function lt(e){return e.outlet||P}function eN(e,t){let n=e.filter(r=>lt(r)===t);return n.push(...e.filter(r=>lt(r)!==t)),n}function go(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 Sc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return go(this.route?.snapshot)??this.rootInjector}constructor(t){this.rootInjector=t,this.children=new cr(this.rootInjector)}},cr=(()=>{class e{rootInjector;contexts=new Map;constructor(n){this.rootInjector=n}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 Sc(this.rootInjector),this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}static \u0275fac=function(r){return new(r||e)(C(te))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Mc=class{_root;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=qf(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=qf(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=Wf(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return Wf(t,this._root).map(n=>n.value)}};function qf(e,t){if(e===t.value)return t;for(let n of t.children){let r=qf(e,n);if(r)return r}return null}function Wf(e,t){if(e===t.value)return[t];for(let n of t.children){let r=Wf(e,n);if(r.length)return r.unshift(t),r}return[]}var je=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function ro(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Ai=class extends Mc{snapshot;constructor(t,n){super(t),this.snapshot=n,th(this,t)}toString(){return this.snapshot.toString()}};function SD(e){let t=tN(e),n=new pe([new En("",{})]),r=new pe({}),o=new pe({}),i=new pe({}),s=new pe(""),a=new Wt(n,r,i,s,o,P,e,t.root);return a.snapshot=t.root,new Ai(new je(a,[]),t)}function tN(e){let t={},n={},r={},i=new ir([],t,r,"",n,P,e,null,{});return new xi("",new je(i,[]))}var Wt=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;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(x(u=>u[Fi]))??_(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(x(t=>sr(t))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(x(t=>sr(t))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Nc(e,t,n="emptyOnly"){let r,{routeConfig:o}=e;return t!==null&&(n==="always"||o?.path===""||!t.component&&!t.routeConfig?.loadComponent)?r={params:y(y({},t.params),e.params),data:y(y({},t.data),e.data),resolve:y(y(y(y({},e.data),t.data),o?.data),e._resolvedData)}:r={params:y({},e.params),data:y({},e.data),resolve:y(y({},e.data),e._resolvedData??{})},o&&ND(o)&&(r.resolve[Fi]=o.title),r}var ir=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Fi]}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??=sr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=sr(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}')`}},xi=class extends Mc{url;constructor(t,n){super(n),this.url=t,th(this,n)}toString(){return MD(this._root)}};function th(e,t){t.value._routerState=e,t.children.forEach(n=>th(e,n))}function MD(e){let t=e.children.length>0?` { ${e.children.map(MD).join(", ")} } `:"";return`${e.value}${t}`}function Bf(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Nt(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Nt(t.params,n.params)||e.paramsSubject.next(n.params),MM(t.url,n.url)||e.urlSubject.next(n.url),Nt(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function Zf(e,t){let n=Nt(e.params,t.params)&&xM(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||Zf(e.parent,t.parent))}function ND(e){return typeof e.title=="string"||e.title===null}var RD=new I(""),nh=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=P;activateEvents=new Te;deactivateEvents=new Te;attachEvents=new Te;detachEvents=new Te;routerOutletData=sv(void 0);parentContexts=p(cr);location=p(hn);changeDetector=p(Kr);inputBinder=p(Li,{optional:!0});supportsBindingToComponentInputs=!0;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 m(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new m(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new m(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 m(4013,!1);this._activatedRoute=n;let o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new Yf(n,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=er({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Gr]})}return e})(),Yf=class{route;childContexts;parent;outletData;constructor(t,n,r,o){this.route=t,this.childContexts=n,this.parent=r,this.outletData=o}get(t,n){return t===Wt?this.route:t===cr?this.childContexts:t===RD?this.outletData:this.parent.get(t,n)}},Li=new I(""),rh=(()=>{class e{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:r}=n,o=Io([r.queryParams,r.params,r.data]).pipe(de(([i,s,a],c)=>(a=y(y(y({},i),s),a),c===0?_(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(n);return}let s=lv(r.component);if(!s){this.unsubscribeFromRouteData(n);return}for(let{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(n,o)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),oh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Fd({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&za(0,"router-outlet")},dependencies:[nh],encapsulation:2})}return e})();function ih(e){let t=e.children&&e.children.map(ih),n=t?F(y({},e),{children:t}):y({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==P&&(n.component=oh),n}function nN(e,t,n){let r=Oi(e,t._root,n?n._root:void 0);return new Ai(r,t)}function Oi(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=t.value;let o=rN(e,t,n);return new je(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=>Oi(e,a)),s}}let r=oN(t.value),o=t.children.map(i=>Oi(e,i));return new je(r,o)}}function rN(e,t,n){return t.children.map(r=>{for(let o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return Oi(e,r,o);return Oi(e,r)})}function oN(e){return new Wt(new pe(e.url),new pe(e.params),new pe(e.queryParams),new pe(e.fragment),new pe(e.data),e.outlet,e.component,e)}var ho=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},AD="ngNavigationCancelingError";function Rc(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=ao(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=xD(!1,Me.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function xD(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[AD]=!0,n.cancellationCode=t,n}function iN(e){return OD(e)&&ao(e.url)}function OD(e){return!!e&&e[AD]}var sN=(e,t,n,r)=>x(o=>(new Qf(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),Qf=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;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),Bf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=ro(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=ro(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=ro(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=ro(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new _c(i.value.snapshot))}),t.children.length&&this.forwardEvent(new bc(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Bf(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),Bf(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)}},Ac=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},so=class{component;route;constructor(t,n){this.component=t,this.route=n}};function aN(e,t,n){let r=e._root,o=t?t._root:null;return Ti(r,o,n,[r.value])}function cN(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function mo(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Du(e)?e:t.get(e):r}function Ti(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=ro(t);return e.children.forEach(s=>{uN(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Si(a,n.getContext(s),o)),o}function uN(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=lN(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Ac(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Ti(e,t,a?a.children:null,r,o):Ti(e,t,n,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new so(a.outlet.component,s))}else s&&Si(t,a,o),o.canActivateChecks.push(new Ac(r)),i.component?Ti(e,null,a?a.children:null,r,o):Ti(e,null,n,r,o);return o}function lN(e,t,n){if(typeof n=="function")return n(e,t);switch(n){case"pathParamsChange":return!or(e.url,t.url);case"pathParamsOrQueryParamsChange":return!or(e.url,t.url)||!Nt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Zf(e,t)||!Nt(e.queryParams,t.queryParams);case"paramsChange":default:return!Zf(e,t)}}function Si(e,t,n){let r=ro(e),o=e.value;Object.entries(r).forEach(([i,s])=>{o.component?t?Si(s,t.children.getContext(i),n):Si(s,null,n):Si(s,t,n)}),o.component?t&&t.outlet&&t.outlet.isActivated?n.canDeactivateChecks.push(new so(t.outlet.component,o)):n.canDeactivateChecks.push(new so(null,o)):n.canDeactivateChecks.push(new so(null,o))}function ji(e){return typeof e=="function"}function dN(e){return typeof e=="boolean"}function fN(e){return e&&ji(e.canLoad)}function hN(e){return e&&ji(e.canActivate)}function pN(e){return e&&ji(e.canActivateChild)}function gN(e){return e&&ji(e.canDeactivate)}function mN(e){return e&&ji(e.canMatch)}function PD(e){return e instanceof Pe||e?.name==="EmptyError"}var dc=Symbol("INITIAL_VALUE");function po(){return de(e=>Io(e.map(t=>t.pipe(mt(1),hs(dc)))).pipe(x(t=>{for(let n of t)if(n!==!0){if(n===dc)return dc;if(n===!1||yN(n))return n}return!0}),se(t=>t!==dc),mt(1)))}function yN(e){return ao(e)||e instanceof ho}function vN(e,t){return Y(n=>{let{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return s.length===0&&i.length===0?_(F(y({},n),{guardsResult:!0})):DN(s,r,o,e).pipe(Y(a=>a&&dN(a)?EN(r,i,e,t):_(a)),x(a=>F(y({},n),{guardsResult:a})))})}function DN(e,t,n,r){return W(e).pipe(Y(o=>TN(o.component,o.route,n,t,r)),yt(o=>o!==!0,!0))}function EN(e,t,n,r){return W(t).pipe(gt(o=>wr(wN(o.route.parent,r),IN(o.route,r),bN(e,o.path,n),CN(e,o.route,n))),yt(o=>o!==!0,!0))}function IN(e,t){return e!==null&&t&&t(new Tc(e)),_(!0)}function wN(e,t){return e!==null&&t&&t(new Cc(e)),_(!0)}function CN(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return _(!0);let o=r.map(i=>wo(()=>{let s=go(t)??n,a=mo(i,s),c=hN(a)?a.canActivate(t,e):he(s,()=>a(t,e));return Zt(c).pipe(yt())}));return _(o).pipe(po())}function bN(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>cN(s)).filter(s=>s!==null).map(s=>wo(()=>{let a=s.guards.map(c=>{let u=go(s.node)??n,l=mo(c,u),d=pN(l)?l.canActivateChild(r,e):he(u,()=>l(r,e));return Zt(d).pipe(yt())});return _(a).pipe(po())}));return _(i).pipe(po())}function TN(e,t,n,r,o){let i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||i.length===0)return _(!0);let s=i.map(a=>{let c=go(t)??o,u=mo(a,c),l=gN(u)?u.canDeactivate(e,t,n,r):he(c,()=>u(e,t,n,r));return Zt(l).pipe(yt())});return _(s).pipe(po())}function _N(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return _(!0);let i=o.map(s=>{let a=mo(s,e),c=fN(a)?a.canLoad(t,n):he(e,()=>a(t,n));return Zt(c)});return _(i).pipe(po(),kD(r))}function kD(e){return Hc(fe(t=>{if(typeof t!="boolean")throw Rc(e,t)}),x(t=>t===!0))}function SN(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return _(!0);let i=o.map(s=>{let a=mo(s,e),c=mN(a)?a.canMatch(t,n):he(e,()=>a(t,n));return Zt(c)});return _(i).pipe(po(),kD(r))}var Pi=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},ki=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function no(e){return Er(new Pi(e))}function MN(e){return Er(new m(4e3,!1))}function NN(e){return Er(xD(!1,Me.GuardRejected))}var Kf=class{urlSerializer;urlTree;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 _(r);if(o.numberOfChildren>1||!o.children[P])return MN(`${t.redirectTo}`);o=o.children[P]}}applyRedirectCommands(t,n,r,o,i){return RN(n,o,i).pipe(x(s=>{if(s instanceof At)throw new ki(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),t,r);if(s[0]==="/")throw new ki(a);return a}))}applyRedirectCreateUrlTree(t,n,r,o){let i=this.createSegmentGroup(t,n.root,r,o);return new At(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 j(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 m(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}};function RN(e,t,n){if(typeof e=="string")return _(e);let r=e,{queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,params:u,data:l,title:d}=t;return Zt(he(n,()=>r({params:u,data:l,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var Jf={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function AN(e,t,n,r,o){let i=FD(e,t,n);return i.matched?(r=XM(t,r),SN(r,t,n,o).pipe(x(s=>s===!0?i:y({},Jf)))):_(i)}function FD(e,t,n){if(t.path==="**")return xN(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?y({},Jf):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||dD)(n,e,t);if(!o)return y({},Jf);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?y(y({},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 xN(e){return{matched:!0,parameters:e.length>0?hD(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function cD(e,t,n,r){return n.length>0&&kN(e,n,r)?{segmentGroup:new j(t,PN(r,new j(n,e.children))),slicedSegments:[]}:n.length===0&&FN(e,n,r)?{segmentGroup:new j(e.segments,ON(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new j(e.segments,e.children),slicedSegments:n}}function ON(e,t,n,r){let o={};for(let i of n)if(Oc(e,t,i)&&!r[lt(i)]){let s=new j([],{});o[lt(i)]=s}return y(y({},r),o)}function PN(e,t){let n={};n[P]=t;for(let r of e)if(r.path===""&&lt(r)!==P){let o=new j([],{});n[lt(r)]=o}return n}function kN(e,t,n){return n.some(r=>Oc(e,t,r)&&lt(r)!==P)}function FN(e,t,n){return n.some(r=>Oc(e,t,r))}function Oc(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function LN(e,t,n){return t.length===0&&!e.children[n]}var Xf=class{};function jN(e,t,n,r,o,i,s="emptyOnly"){return new eh(e,t,n,r,o,s,i).recognize()}var BN=31,eh=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;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 Kf(this.urlSerializer,this.urlTree)}noMatchError(t){return new m(4002,`'${t.segmentGroup}'`)}recognize(){let t=cD(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(x(({children:n,rootSnapshot:r})=>{let o=new je(r,n),i=new xi("",o),s=wD(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 ir([],Object.freeze({}),Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),P,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,t,P,n).pipe(x(r=>({children:r,rootSnapshot:n})),pt(r=>{if(r instanceof ki)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Pi?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(x(s=>s instanceof je?[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 W(i).pipe(gt(s=>{let a=r.children[s],c=eN(n,s);return this.processSegmentGroup(t,c,a,s,o)}),Kc((s,a)=>(s.push(...a),s)),Kt(null),Qc(),Y(s=>{if(s===null)return no(r);let a=LD(s);return VN(a),_(a)}))}processSegment(t,n,r,o,i,s,a){return W(n).pipe(gt(c=>this.processSegmentAgainstRoute(c._injector??t,n,c,r,o,i,s,a).pipe(pt(u=>{if(u instanceof Pi)return _(null);throw u}))),yt(c=>!!c),pt(c=>{if(PD(c))return LN(r,o,i)?_(new Xf):no(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return lt(r)!==s&&(s===P||!Oc(o,i,r))?no(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):no(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=FD(n,o,i);if(!c)return no(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>BN&&(this.allowRedirects=!1));let f=new ir(i,u,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,uD(o),lt(o),o.component??o._loadedComponent??null,o,lD(o)),g=Nc(f,a,this.paramsInheritanceStrategy);return f.params=Object.freeze(g.params),f.data=Object.freeze(g.data),this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,t).pipe(de(D=>this.applyRedirects.lineralizeSegments(o,D)),Y(D=>this.processSegment(t,r,n,D.concat(h),s,!1,a)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a=AN(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(de(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(de(({routes:u})=>{let l=r._loadedInjector??t,{parameters:d,consumedSegments:h,remainingSegments:f}=c,g=new ir(h,d,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,uD(r),lt(r),r.component??r._loadedComponent??null,r,lD(r)),E=Nc(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(E.params),g.data=Object.freeze(E.data);let{segmentGroup:D,slicedSegments:v}=cD(n,h,f,u);if(v.length===0&&D.hasChildren())return this.processChildren(l,u,D,g).pipe(x(Ne=>new je(g,Ne)));if(u.length===0&&v.length===0)return _(new je(g,[]));let L=lt(r)===i;return this.processSegment(l,u,D,v,L?P:i,!0,g).pipe(x(Ne=>new je(g,Ne instanceof je?[Ne]:[])))}))):no(n)))}getChildConfig(t,n,r){return n.children?_({routes:n.children,injector:t}):n.loadChildren?n._loadedRoutes!==void 0?_({routes:n._loadedRoutes,injector:n._loadedInjector}):_N(t,n,r,this.urlSerializer).pipe(Y(o=>o?this.configLoader.loadChildren(t,n).pipe(fe(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):NN(n))):_({routes:[],injector:t})}};function VN(e){e.sort((t,n)=>t.value.outlet===P?-1:n.value.outlet===P?1:t.value.outlet.localeCompare(n.value.outlet))}function UN(e){let t=e.value.routeConfig;return t&&t.path===""}function LD(e){let t=[],n=new Set;for(let r of e){if(!UN(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=LD(r.children);t.push(new je(r.value,o))}return t.filter(r=>!n.has(r))}function uD(e){return e.data||{}}function lD(e){return e.resolve||{}}function $N(e,t,n,r,o,i){return Y(s=>jN(e,t,n,r,s.extractedUrl,o,i).pipe(x(({state:a,tree:c})=>F(y({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function HN(e,t){return Y(n=>{let{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return _(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 jD(c))s.add(u);let a=0;return W(s).pipe(gt(c=>i.has(c)?zN(c,r,e,t):(c.data=Nc(c,c.parent,e).resolve,_(void 0))),fe(()=>a++),Cr(1),Y(c=>a===s.size?_(n):me))})}function jD(e){let t=e.children.map(n=>jD(n)).flat();return[e,...t]}function zN(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!ND(o)&&(i[Fi]=o.title),wo(()=>(e.data=Nc(e,e.parent,n).resolve,GN(i,e,t,r).pipe(x(s=>(e._resolvedData=s,e.data=y(y({},e.data),s),null)))))}function GN(e,t,n,r){let o=$f(e);if(o.length===0)return _({});let i={};return W(o).pipe(Y(s=>qN(e[s],t,n,r).pipe(yt(),fe(a=>{if(a instanceof ho)throw Rc(new In,a);i[s]=a}))),Cr(1),x(()=>i),pt(s=>PD(s)?me:Er(s)))}function qN(e,t,n,r){let o=go(t)??r,i=mo(e,o),s=i.resolve?i.resolve(t,n):he(o,()=>i(t,n));return Zt(s)}function Vf(e){return de(t=>{let n=e(t);return n?W(n).pipe(x(()=>t)):_(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===P);return r}getResolvedTitleForRoute(n){return n.data[Fi]}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(BD),providedIn:"root"})}return e})(),BD=(()=>{class e extends sh{title;constructor(n){super(),this.title=n}updateTitle(n){let r=this.buildTitle(n);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||e)(C(rD))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ur=new I("",{providedIn:"root",factory:()=>({})}),lr=new I(""),Pc=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(rf);loadComponent(n,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return _(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=Zt(he(n,()=>r.loadComponent())).pipe(x(UD),de($D),fe(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Mn(()=>{this.componentLoaders.delete(r)})),i=new vr(o,()=>new J).pipe(yr());return this.componentLoaders.set(r,i),i}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return _({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let i=VD(r,this.compiler,n,this.onLoadEndListener).pipe(Mn(()=>{this.childrenLoaders.delete(r)})),s=new vr(i,()=>new J).pipe(yr());return this.childrenLoaders.set(r,s),s}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function VD(e,t,n,r){return Zt(he(n,()=>e.loadChildren())).pipe(x(UD),de($D),Y(o=>o instanceof ja||Array.isArray(o)?_(o):W(t.compileModuleAsync(o))),x(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(lr,[],{optional:!0,self:!0}).flat()),{routes:s.map(ih),injector:i}}))}function WN(e){return e&&typeof e=="object"&&"default"in e}function UD(e){return WN(e)?e.default:e}function $D(e){return _(e)}var kc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(ZN),providedIn:"root"})}return e})(),ZN=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ah=new I(""),ch=new I("");function HD(e,t,n){let r=e.get(ch),o=e.get(Z);if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),YN(e)));a.ready.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&he(e,()=>c({transition:a,from:t,to:n})),s}function YN(e){return new Promise(t=>{Ud({read:()=>setTimeout(t)},{injector:e})})}var uh=new I(""),Fc=(()=>{class e{currentNavigation=qn(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new J;transitionAbortWithErrorSubject=new J;configLoader=p(Pc);environmentInjector=p(te);destroyRef=p(qe);urlSerializer=p(ar);rootContexts=p(cr);location=p(vn);inputBindingEnabled=p(Li,{optional:!0})!==null;titleStrategy=p(sh);options=p(ur,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(kc);createViewTransition=p(ah,{optional:!0});navigationErrorHandler=p(uh,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>_(void 0);rootComponentType=null;destroyed=!1;constructor(){let n=o=>this.events.next(new Ic(o)),r=o=>this.events.next(new wc(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=n,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(n){let r=++this.navigationId;at(()=>{this.transitions?.next(F(y({},n),{extractedUrl:this.urlHandlingStrategy.extract(n.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:r}))})}setupNavigations(n){return this.transitions=new pe(null),this.transitions.pipe(se(r=>r!==null),de(r=>{let o=!1;return _(r).pipe(de(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Me.SupersededByNewNavigation),me;this.currentTransition=r,this.currentNavigation.set({id:i.id,initialUrl:i.rawUrl,extractedUrl:i.extractedUrl,targetBrowserUrl:typeof i.extras.browserUrl=="string"?this.urlSerializer.parse(i.extras.browserUrl):i.extras.browserUrl,trigger:i.source,extras:i.extras,previousNavigation:this.lastSuccessfulNavigation?F(y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>i.abortController.abort()});let s=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),a=i.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!s&&a!=="reload")return this.events.next(new xt(i.id,this.urlSerializer.serialize(i.rawUrl),"",co.IgnoredSameUrlNavigation)),i.resolve(!1),me;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return _(i).pipe(de(c=>(this.events.next(new wn(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?me:Promise.resolve(c))),$N(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),fe(c=>{r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation.update(l=>(l.finalUrl=c.urlAfterRedirects,l));let u=new Ni(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(u)}));if(s&&this.urlHandlingStrategy.shouldProcessUrl(i.currentRawUrl)){let{id:c,extractedUrl:u,source:l,restoredState:d,extras:h}=i,f=new wn(c,this.urlSerializer.serialize(u),l,d);this.events.next(f);let g=SD(this.rootComponentType).snapshot;return this.currentTransition=r=F(y({},i),{targetSnapshot:g,urlAfterRedirects:u,extras:F(y({},h),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(E=>(E.finalUrl=u,E)),_(r)}else return this.events.next(new xt(i.id,this.urlSerializer.serialize(i.extractedUrl),"",co.IgnoredByUrlHandlingStrategy)),i.resolve(!1),me}),fe(i=>{let s=new yc(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot);this.events.next(s)}),x(i=>(this.currentTransition=r=F(y({},i),{guards:aN(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),vN(this.environmentInjector,i=>this.events.next(i)),fe(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw Rc(this.urlSerializer,i.guardsResult);let s=new vc(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),se(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",Me.GuardRejected),!1)),Vf(i=>{if(i.guards.canActivateChecks.length!==0)return _(i).pipe(fe(s=>{let a=new Dc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),de(s=>{let a=!1;return _(s).pipe(HN(this.paramsInheritanceStrategy,this.environmentInjector),fe({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Me.NoDataFromResolver)}}))}),fe(s=>{let a=new Ec(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Vf(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let u=go(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(u,a.routeConfig).pipe(fe(l=>{a.component=l}),x(()=>{})))}for(let u of a.children)c.push(...s(u));return c};return Io(s(i.targetSnapshot.root)).pipe(Kt(null),mt(1))}),Vf(()=>this.afterPreactivation()),de(()=>{let{currentSnapshot:i,targetSnapshot:s}=r,a=this.createViewTransition?.(this.environmentInjector,i.root,s.root);return a?W(a).pipe(x(()=>r)):_(r)}),x(i=>{let s=nN(n.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=F(y({},i),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),fe(()=>{this.events.next(new Ri)}),sN(this.rootContexts,n.routeReuseStrategy,i=>this.events.next(i),this.inputBindingEnabled),mt(1),ps(new k(i=>{let s=r.abortController.signal,a=()=>i.next();return s.addEventListener("abort",a),()=>s.removeEventListener("abort",a)}).pipe(se(()=>!o&&!r.targetRouterState),fe(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",Me.Aborted)}))),fe({next:i=>{o=!0,this.lastSuccessfulNavigation=at(this.currentNavigation),this.events.next(new dt(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects))),this.titleStrategy?.updateTitle(i.targetRouterState.snapshot),i.resolve(!0)},complete:()=>{o=!0}}),ps(this.transitionAbortWithErrorSubject.pipe(fe(i=>{throw i}))),Mn(()=>{o||this.cancelNavigationTransition(r,"",Me.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),pt(i=>{if(this.destroyed)return r.resolve(!1),me;if(o=!0,OD(i))this.events.next(new Rt(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),iN(i)?this.events.next(new fo(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new uo(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=he(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof ho){let{message:c,cancellationCode:u}=Rc(this.urlSerializer,a);this.events.next(new Rt(r.id,this.urlSerializer.serialize(r.extractedUrl),c,u)),this.events.next(new fo(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return me}))}))}cancelNavigationTransition(n,r,o){let i=new Rt(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=at(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return n.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QN(e){return e!==io}var zD=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(KN),providedIn:"root"})}return e})(),xc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},KN=(()=>{class e extends xc{static \u0275fac=(()=>{let n;return function(o){return(n||(n=wa(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),GD=(()=>{class e{urlSerializer=p(ar);options=p(ur,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(vn);urlHandlingStrategy=p(kc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new At;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:n,initialUrl:r,targetBrowserUrl:o}){let i=n!==void 0?this.urlHandlingStrategy.merge(n,r):r,s=o??i;return s instanceof At?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:n,finalUrl:r,initialUrl:o}){r&&n?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=n):this.rawUrlTree=o}routerState=SD(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:n}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n??this.rawUrlTree)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(JN),providedIn:"root"})}return e})(),JN=(()=>{class e extends GD{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{n(r.url,r.state,"popstate")})})}handleRouterEvent(n,r){n instanceof wn?this.updateStateMemento():n instanceof xt?this.commitTransition(r):n instanceof Ni?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Ri?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):n instanceof Rt&&n.code!==Me.SupersededByNewNavigation&&n.code!==Me.Redirect?this.restoreHistory(r):n instanceof uo?this.restoreHistory(r,!0):n instanceof dt&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,{extras:r,id:o}){let{replaceUrl:i,state:s}=r;if(this.location.isCurrentPathEqualTo(n)||i){let a=this.browserPageId,c=y(y({},s),this.generateNgRouterState(o,a));this.location.replaceState(n,"",c)}else{let a=y(y({},s),this.generateNgRouterState(o,this.browserPageId+1));this.location.go(n,"",a)}}restoreHistory(n,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===n.finalUrl&&i===0&&(this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(n),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}static \u0275fac=(()=>{let n;return function(o){return(n||(n=wa(e)))(o||e)}})();static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Lc(e,t){e.events.pipe(se(n=>n instanceof dt||n instanceof Rt||n instanceof uo||n instanceof xt),x(n=>n instanceof dt||n instanceof xt?0:(n instanceof Rt?n.code===Me.Redirect||n.code===Me.SupersededByNewNavigation:!1)?2:1),se(n=>n!==2),mt(1)).subscribe(()=>{t()})}var XN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},eR={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Yt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Ua);stateManager=p(GD);options=p(ur,{optional:!0})||{};pendingTasks=p(Tt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(Fc);urlSerializer=p(ar);location=p(vn);urlHandlingStrategy=p(kc);injector=p(te);_events=new J;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(zD);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=p(lr,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!p(Li,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}eventsSubscription=new K;subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=at(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Rt&&r.code!==Me.Redirect&&r.code!==Me.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof dt)this.navigated=!0;else if(r instanceof fo){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=y({browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||QN(o.source)},s);this.scheduleNavigation(a,io,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}JM(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.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),io,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,r,o)=>{this.navigateToSyncWithBrowser(n,o,r)})}navigateToSyncWithBrowser(n,r,o){let i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=y({},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).catch(c=>{this.disposed||this.injector.get(be)(c)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return at(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(ih),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),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=y(y({},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=CD(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return bD(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=ao(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,io,null,r)}navigate(n,r={skipLocationChange:!1}){return tR(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=y({},XN):r===!1?o=y({},eR):o=r,ao(n))return oD(this.currentUrlTree,n,o);let i=this.parseUrl(n);return oD(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 Lc(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 \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function tR(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new m(4008,!1)}var Bi=class{};var qD=(()=>{class e{router;injector;preloadingStrategy;loader;subscription;constructor(n,r,o,i){this.router=n,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(se(n=>n instanceof dt),gt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=Yr(i.providers,n,`Route: ${i.path}`));let s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return W(o).pipe(Qt())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;r.loadChildren&&r.canLoad===void 0?o=this.loader.loadChildren(n,r):o=_(null);let i=o.pipe(Y(s=>s===null?_(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(n,r);return W([i,s]).pipe(Qt())}else return i})}static \u0275fac=function(r){return new(r||e)(C(Yt),C(te),C(Bi),C(Pc))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),WD=new I(""),nR=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=io;restoredId=0;store={};constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof wn?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof dt?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof xt&&n.code===co.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof lo&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>dr(this,null,function*(){yield new Promise(o=>{setTimeout(o),typeof requestAnimationFrame<"u"&&requestAnimationFrame(o)}),this.zone.run(()=>{this.transitions.events.next(new lo(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Md()};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function rR(e,...t){return Je([{provide:lr,multi:!0,useValue:e},[],{provide:Wt,useFactory:ZD,deps:[Yt]},{provide:ai,multi:!0,useFactory:YD},t.map(n=>n.\u0275providers)])}function ZD(e){return e.routerState.root}function Vi(e,t){return{\u0275kind:e,\u0275providers:t}}function YD(){let e=p(ge);return t=>{let n=e.get(mn);if(t!==n.components[0])return;let r=e.get(Yt),o=e.get(QD);e.get(dh)===1&&r.initialNavigation(),e.get(XD,null,{optional:!0})?.setUpPreloading(),e.get(WD,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var QD=new I("",{factory:()=>new J}),dh=new I("",{providedIn:"root",factory:()=>1});function KD(){let e=[{provide:Sa,useValue:!0},{provide:dh,useValue:0},Ha(()=>{let t=p(ge);return t.get(hf,Promise.resolve()).then(()=>new Promise(r=>{let o=t.get(Yt),i=t.get(QD);Lc(o,()=>{r(!0)}),t.get(Fc).afterPreactivation=()=>(r(!0),i.closed?_(void 0):i),o.initialNavigation()}))})];return Vi(2,e)}function JD(){let e=[Ha(()=>{p(Yt).setUpLocationChangeListener()}),{provide:dh,useValue:2}];return Vi(3,e)}var XD=new I("");function eE(e){return Vi(0,[{provide:XD,useExisting:qD},{provide:Bi,useExisting:e}])}function tE(){return Vi(8,[rh,{provide:Li,useExisting:rh}])}function nE(e){st("NgRouterViewTransitions");let t=[{provide:ah,useValue:HD},{provide:ch,useValue:y({skipNextTransition:!!e?.skipInitialTransition},e)}];return Vi(9,t)}var rE=[vn,{provide:ar,useClass:In},Yt,cr,{provide:Wt,useFactory:ZD,deps:[Yt]},Pc,[]],oR=(()=>{class e{constructor(){}static forRoot(n,r){return{ngModule:e,providers:[rE,[],{provide:lr,multi:!0,useValue:n},[],r?.errorHandler?{provide:uh,useValue:r.errorHandler}:[],{provide:ur,useValue:r||{}},r?.useHash?sR():aR(),iR(),r?.preloadingStrategy?eE(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?cR(r):[],r?.bindToComponentInputs?tE().\u0275providers:[],r?.enableViewTransitions?nE().\u0275providers:[],uR()]}}static forChild(n){return{ngModule:e,providers:[{provide:lr,multi:!0,useValue:n}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=pn({type:e});static \u0275inj=Ft({})}return e})();function iR(){return{provide:WD,useFactory:()=>{let e=p(Pv),t=p(Q),n=p(ur),r=p(Fc),o=p(ar);return n.scrollOffset&&e.setOffset(n.scrollOffset),new nR(o,r,e,t,n)}}}function sR(){return{provide:zt,useClass:wf}}function aR(){return{provide:zt,useClass:Za}}function cR(e){return[e.initialNavigation==="disabled"?JD().\u0275providers:[],e.initialNavigation==="enabledBlocking"?KD().\u0275providers:[]]}var lh=new I("");function uR(){return[{provide:lh,useFactory:YD},{provide:ai,multi:!0,useExisting:lh}]}export{y as a,F as b,cE as c,dr as d,K as e,k as f,J as g,pe as h,me as i,W as j,_ as k,Er as l,IE as m,wE as n,x as o,Io as p,wr as q,wo as r,AE as s,Yc as t,jE as u,se as v,BE as w,pt as x,Hh as y,mt as z,VE as A,zh as B,Mn as C,yt as D,HE as E,Xc as F,Gh as G,zE as H,hs as I,de as J,ps as K,GE as L,fe as M,m as N,Ns as O,w as P,Ft as Q,I as R,C as S,p as T,Je as U,mp as V,te as W,Rp as X,Ap as Y,zp as Z,Gp as _,ge as $,Z as aa,qe as ba,Ve as ca,bI as da,rl as ea,qn as fa,Gr as ga,wa as ha,Vt as ia,aa as ja,ba as ka,Wr as la,nw as ma,_a as na,it as oa,_w as pa,Sw as qa,xw as ra,Xw as sa,$r as ta,Kn as ua,ii as va,Se as wa,Md as xa,hn as ya,st as za,Jn as Aa,Fd as Ba,pn as Ca,er as Da,si as Ea,ly as Fa,zb as Ga,hy as Ha,py as Ia,Te as Ja,Q as Ka,Ud as La,tr as Ma,Hd as Na,mn as Oa,Gd as Pa,iT as Qa,aT as Ra,cT as Sa,uT as Ta,lT as Ua,dT as Va,fT as Wa,Ey as Xa,Wd as Ya,Zd as Za,za as _a,Yd as $a,Qd as ab,Iy as bb,Kd as cb,Jd as db,Cy as eb,yT as fb,by as gb,Xd as hb,_y as ib,wT as jb,bT as kb,TT as lb,My as mb,ST as nb,Ny as ob,Ry as pb,MT as qb,NT as rb,RT as sb,AT as tb,Oy as ub,Py as vb,$T as wb,XT as xb,Uy as yb,ef as zb,$y as Ab,zy as Bb,n_ as Cb,Gy as Db,r_ as Eb,c_ as Fb,u_ as Gb,l_ as Hb,d_ as Ib,h_ as Jb,g_ as Kb,m_ as Lb,y_ as Mb,v_ as Nb,E_ as Ob,at as Pb,C_ as Qb,b_ as Rb,uf as Sb,c$ as Tb,u$ as Ub,Kr as Vb,cv as Wb,nS as Xb,l$ as Yb,d$ as Zb,Ht as _b,vn as $b,SS as ac,MS as bc,AS as cc,OS as dc,PS as ec,Ov as fc,_H as gc,Pf as hc,KS as ic,Dn as jc,qt as kc,ac as lc,Jv as mc,bM as nc,TM as oc,Wt as pc,nh as qc,Yt as rc,rR as sc,oR as tc};