@whoz-oss/coday-client 0.85.0 → 0.87.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 (36) hide show
  1. package/3rdpartylicenses.txt +2 -2
  2. package/browser/{chunk-TOMK63FE.js → chunk-6DFCBHHF.js} +1 -1
  3. package/browser/chunk-AYUFWSWZ.js +1 -0
  4. package/browser/chunk-E3T5JJR5.js +1 -0
  5. package/browser/chunk-GBTE3TIN.js +1 -0
  6. package/browser/chunk-KBLUNDHF.js +1 -0
  7. package/browser/{chunk-64ZRWATH.js → chunk-NFPIT5IF.js} +1 -1
  8. package/browser/chunk-NYZS626O.js +1 -0
  9. package/browser/chunk-ODM275WP.js +1 -0
  10. package/browser/chunk-P3BYIXZM.js +1 -0
  11. package/browser/chunk-QITHUHCN.js +1 -0
  12. package/browser/chunk-VEM5V6G6.js +1 -0
  13. package/browser/chunk-WEVA7DKF.js +1 -0
  14. package/browser/chunk-WG23DARU.js +5 -0
  15. package/browser/chunk-WSC62DRG.js +1 -0
  16. package/browser/chunk-XR7PEJ4F.js +1 -0
  17. package/browser/{chunk-TYN7G4PU.js → chunk-Y5DXUE3H.js} +1 -1
  18. package/browser/{chunk-LOONCJBU.js → chunk-ZWSN3GAA.js} +1 -1
  19. package/browser/index.html +2 -2
  20. package/browser/main-2PDLAJ3P.js +377 -0
  21. package/browser/styles-I3V5BO4R.css +1 -0
  22. package/package.json +1 -1
  23. package/browser/chunk-3I3KTCJW.js +0 -1
  24. package/browser/chunk-6U5IOML5.js +0 -1
  25. package/browser/chunk-75SUNMNL.js +0 -1
  26. package/browser/chunk-GNNRWNIY.js +0 -1
  27. package/browser/chunk-HV577N5Z.js +0 -1
  28. package/browser/chunk-J577MYXL.js +0 -1
  29. package/browser/chunk-JJVDNH6V.js +0 -1
  30. package/browser/chunk-LU3TJP27.js +0 -5
  31. package/browser/chunk-NLYUDEOW.js +0 -1
  32. package/browser/chunk-OXQ5NGLD.js +0 -1
  33. package/browser/chunk-WWXMC743.js +0 -1
  34. package/browser/chunk-YELZ433M.js +0 -1
  35. package/browser/main-JYZJSM5L.js +0 -377
  36. package/browser/styles-VBFEGZOM.css +0 -1
@@ -0,0 +1,5 @@
1
+ var vE=Object.defineProperty,DE=Object.defineProperties;var EE=Object.getOwnPropertyDescriptors;var Ui=Object.getOwnPropertySymbols;var wh=Object.prototype.hasOwnProperty,Ch=Object.prototype.propertyIsEnumerable;var Ih=(e,t,n)=>t in e?vE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||={})wh.call(t,n)&&Ih(e,n,t[n]);if(Ui)for(var n of Ui(t))Ch.call(t,n)&&Ih(e,n,t[n]);return e},F=(e,t)=>DE(e,EE(t));var IE=(e,t)=>{var n={};for(var r in e)wh.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&&Ch.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 _n(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{bh(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)bh(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)&&_n(n,t)}remove(t){let{_finalizers:n}=this;n&&_n(n,t),t instanceof e&&t._removeParent(this)}};K.EMPTY=(()=>{let e=new K;return e.closed=!0,e})();var Vc=K.EMPTY;function Hi(e){return e instanceof K||e&&"closed"in e&&S(e.remove)&&S(e.add)&&S(e.unsubscribe)}function bh(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 go(){}var Th=Uc("C",void 0,void 0);function _h(e){return Uc("E",void 0,e)}function Sh(e){return Uc("N",e,void 0)}function Uc(e,t,n){return{kind:e,value:t,error:n}}var Sn=null;function pr(e){if(Ye.useDeprecatedSynchronousErrorHandling){let t=!Sn;if(t&&(Sn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Sn;if(Sn=null,n)throw r}}else e()}function Mh(e){Ye.useDeprecatedSynchronousErrorHandling&&Sn&&(Sn.errorThrown=!0,Sn.error=e)}var Mn=class extends K{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Hi(t)&&t.add(this)):this.destination=bE}static create(t,n,r){return new Qe(t,n,r)}next(t){this.isStopped?Hc(Sh(t),this):this._next(t)}error(t){this.isStopped?Hc(_h(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Hc(Th,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()}}},wE=Function.prototype.bind;function $c(e,t){return wE.call(e,t)}var zc=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 Mn{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&&$c(t.next,i),error:t.error&&$c(t.error,i),complete:t.complete&&$c(t.complete,i)}):o=t}this.destination=new zc(o)}};function Gi(e){Ye.useDeprecatedSynchronousErrorHandling?Mh(e):zi(e)}function CE(e){throw e}function Hc(e,t){let{onStoppedNotification:n}=Ye;n&&hr.setTimeout(()=>n(e,t))}var bE={closed:!0,next:go,error:CE,complete:go};var gr=typeof Symbol=="function"&&Symbol.observable||"@@observable";function we(e){return e}function Gc(...e){return qc(e)}function qc(e){return e.length===0?we: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=_E(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=Nh(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 qc(n)(this)}toPromise(n){return n=Nh(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 Nh(e){var t;return(t=e??Ye.Promise)!==null&&t!==void 0?t:Promise}function TE(e){return e&&S(e.next)&&S(e.error)&&S(e.complete)}function _E(e){return e&&e instanceof Mn||TE(e)&&Hi(e)}var Rh=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 Rh}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?Vc:(this.currentObservers=null,i.push(n),new K(()=>{this.currentObservers=null,_n(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:Vc}};var ge=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 xh(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 Ah(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 Nn(e){return this instanceof Nn?(this.v=e,this):new Nn(e)}function Oh(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 Nn?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 Ph(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 Ah=="function"?Ah(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 SE(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ki=SE();function Ji(e){return S(e?.[Ki])}function Xi(e){return Oh(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield Nn(n.read());if(o)return yield Nn(void 0);yield yield Nn(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 ME(e);if(mr(e))return NE(e);if(Wi(e))return RE(e);if(Yi(e))return kh(e);if(Ji(e))return AE(e);if(es(e))return xE(e)}throw Qi(e)}function ME(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 NE(e){return new k(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function RE(e){return new k(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,zi)})}function AE(e){return new k(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function kh(e){return new k(t=>{OE(e,t).catch(n=>t.error(n))})}function xE(e){return kh(Xi(e))}function OE(e,t){var n,r,o,i;return xh(this,void 0,void 0,function*(){try{for(n=Ph(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 Wc(e){return S(e?.lift)}function A(e){return t=>{if(Wc(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 Zc(e,t,n,r,o)}var Zc=class extends Mn{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 fe(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,Wc(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 mo={now(){return(mo.delegate||Date).now()},delegate:void 0};var ts=class extends J{constructor(t=1/0,n=1/0,r=mo){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 yo={setInterval(e,t,...n){let{delegate:r}=yo;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=yo;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 yo.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&&yo.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,_n(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=mo.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 vo=new os(rs),Fh=vo;var ye=new k(e=>e.complete());function is(e){return e&&S(e.schedule)}function Yc(e){return e[e.length-1]}function ss(e){return S(Yc(e))?e.pop():void 0}function ht(e){return is(Yc(e))?e.pop():void 0}function Lh(e,t){return typeof Yc(e)=="number"?e.pop():t}function Ne(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=>Ne(r,e,()=>r.next(o),t),()=>Ne(r,e,()=>r.complete(),t),o=>Ne(r,e,()=>r.error(o),t)))})}function cs(e,t=0){return A((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function jh(e,t){return V(e).pipe(cs(t),as(t))}function Bh(e,t){return V(e).pipe(cs(t),as(t))}function Vh(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 Uh(e,t){return new k(n=>{let r;return Ne(n,t,()=>{r=e[Ki](),Ne(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=>{Ne(n,t,()=>{let r=e[Symbol.asyncIterator]();Ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function $h(e,t){return us(Xi(e),t)}function Hh(e,t){if(e!=null){if(Zi(e))return jh(e,t);if(mr(e))return Vh(e,t);if(Wi(e))return Bh(e,t);if(Yi(e))return us(e,t);if(Ji(e))return Uh(e,t);if(es(e))return $h(e,t)}throw Qi(e)}function W(e,t){return t?Hh(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 Qc(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 PE(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 kE(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 zh(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:FE}=Array;function LE(e,t){return FE(t)?e(...t):e(t)}function Ir(e){return x(t=>LE(e,t))}var{isArray:jE}=Array,{getPrototypeOf:BE,prototype:VE,keys:UE}=Object;function ls(e){if(e.length===1){let t=e[0];if(jE(t))return{args:t,keys:null};if($E(t)){let n=UE(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function $E(e){return e&&typeof e=="object"&&BE(e)===VE}function ds(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Do(...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(HE(r,t,o?s=>ds(o,s):we));return n?i.pipe(Ir(n)):i}function HE(e,t,n=we){return r=>{Gh(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Gh(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 Gh(e,t,n){e?Ne(n,e,t):t()}function qh(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?Ne(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)=>qh(r,o,e,n)))}function Jt(e=1/0){return Y(we,e)}function Wh(){return Jt(1)}function wr(...e){return Wh()(W(e,ht(e)))}function Eo(e){return new k(t=>{V(e()).subscribe(t)})}function zE(...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 GE=["addListener","removeListener"],qE=["addEventListener","removeEventListener"],WE=["on","off"];function Kc(e,t,n,r){if(S(n)&&(r=n,n=void 0),r)return Kc(e,t,n).pipe(Ir(r));let[o,i]=QE(e)?qE.map(s=>a=>e[s](t,a,n)):ZE(e)?GE.map(Zh(e,t)):YE(e)?WE.map(Zh(e,t)):[];if(!o&&mr(e))return Y(s=>Kc(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 Zh(e,t){return n=>r=>e[n](t,r)}function ZE(e){return S(e.addListener)&&S(e.removeListener)}function YE(e){return S(e.on)&&S(e.off)}function QE(e){return S(e.addEventListener)&&S(e.removeEventListener)}function Yh(e=0,t,n=Fh){let r=-1;return t!=null&&(is(t)?n=t:r=t),new k(o=>{let i=zh(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 KE(...e){let t=ht(e),n=Lh(e,1/0),r=e;return r.length?r.length===1?V(r[0]):Jt(n)(W(r,t)):ye}function ae(e,t){return A((n,r)=>{let o=0;n.subscribe(N(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Qh(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 JE(e,t=vo){return Qh(()=>Yh(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 Kh(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 XE(e,t=vo){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 Xt(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?()=>ye:A((t,n)=>{let r=0;t.subscribe(N(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function eI(e){return x(()=>e)}function Jh(e,t=we){return e=e??tI,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 tI(e,t){return e===t}function fs(e=nI){return A((t,n)=>{let r=!1;t.subscribe(N(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function nI(){return new Pe}function Rn(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?ae((o,i)=>e(o,i,r)):we,mt(1),n?Xt(t):fs(()=>new Pe))}function Cr(e){return e<=0?()=>ye: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 Jc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?ae((o,i)=>e(o,i,r)):we,Cr(1),n?Xt(t):fs(()=>new Pe))}function rI(){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 Xc(e,t){return A(Kh(e,t,arguments.length>=2,!0))}function tu(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=eu(g,o))}),v.subscribe(D),!s&&u>0&&(s=new Qe({next:L=>v.next(L),error:L=>{d=!0,h(),a=eu(f,n,L),v.error(L)},complete:()=>{l=!0,h(),a=eu(f,r),v.complete()}}),V(E).subscribe(s))})(i)}}function eu(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 Xh(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,tu({connector:()=>new ts(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function oI(e){return ae((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(),go)),!n.closed&&t.subscribe(n)})}function iI(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 he(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)}))}):we}var nu;function gs(){return nu}function vt(e){let t=nu;return nu=e,t}var ep=Symbol("NotFound");function br(e){return e===ep||e?.name==="\u0275NotFound"}var ve=null,ms=!1,ru=1,sI=null,ce=Symbol("SIGNAL");function R(e){let t=ve;return ve=e,t}function Es(){return ve}var An={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 xn(e){if(ms)throw new Error("");if(ve===null)return;ve.consumerOnSignalRead(e);let t=ve.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=ve.recomputing;if(r&&(n=t!==void 0?t.nextProducer:ve.producers,n!==void 0&&n.producer===e)){ve.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ve&&(!r||cI(o,ve)))return;let i=Tr(ve),s={producer:e,consumer:ve,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ve.producersTail=s,t!==void 0?t.nextProducer=s:ve.producers=s,i&&op(e,s)}function tp(){ru++}function Is(e){if(!(Tr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ru)){if(!e.producerMustRecompute(e)&&!Pn(e)){Ds(e);return}e.producerRecomputeValue(e),Ds(e)}}function ou(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||aI(r)}}finally{ms=t}}function iu(){return ve?.consumerAllowSignalWrites!==!1}function aI(e){e.dirty=!0,ou(e),e.consumerMarkedDirty?.(e)}function Ds(e){e.dirty=!1,e.lastCleanEpoch=ru}function en(e){return e&&np(e),R(e)}function np(e){e.producersTail=void 0,e.recomputing=!0}function On(e,t){R(t),e&&rp(e)}function rp(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=su(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Pn(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 tn(e){if(Tr(e)){let t=e.producers;for(;t!==void 0;)t=su(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function op(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)op(o.producer,o)}function su(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=su(i)}return n}function Tr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ws(e){sI?.(e)}function cI(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 wo(e,t){let n=Object.create(uI);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Is(n),xn(n),n.value===Io)throw n.error;return n.value};return r[ce]=n,ws(n),r}var ys=Symbol("UNSET"),vs=Symbol("COMPUTING"),Io=Symbol("ERRORED"),uI=F(y({},An),{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=en(e),r,o=!1;try{r=e.computation(),R(null),o=t!==ys&&t!==Io&&r!==Io&&e.equal(t,r)}catch(i){r=Io,e.error=i}finally{On(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function lI(){throw new Error}var ip=lI;function sp(e){ip(e)}function au(e){ip=e}var dI=null;function cu(e,t){let n=Object.create(Co);n.value=e,t!==void 0&&(n.equal=t);let r=()=>ap(n);return r[ce]=n,ws(n),[r,s=>_r(n,s),s=>uu(n,s)]}function ap(e){return xn(e),e.value}function _r(e,t){iu()||sp(e),e.equal(e.value,t)||(e.value=t,fI(e))}function uu(e,t){iu()||sp(e),_r(e,t(e.value))}var Co=F(y({},An),{equal:Cs,value:void 0,kind:"signal"});function fI(e){e.version++,tp(),ou(e),dI?.(e)}function cp(e){let t=R(null);try{return e()}finally{R(t)}}var up=F(y({},An),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function lp(e){if(e.dirty=!1,e.version>0&&!Pn(e))return;e.version++;let t=en(e);try{e.cleanup(),e.fn()}finally{On(e,t)}}var Ss="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",m=class extends Error{code;constructor(t,n){super(Ft(t,n)),this.code=t}};function hI(e){return`NG0${Math.abs(e)}`}function Ft(e,t){return`${hI(e)}${t?": "+t:""}`}var Ue=globalThis;function B(e){for(let t in e)if(e[t]===B)return t;throw Error("")}function hp(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function kt(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(kt).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 pI=B({__forward_ref__:B});function Ns(e){return e.__forward_ref__=Ns,e.toString=function(){return kt(this())},e}function ue(e){return Eu(e)?e():e}function Eu(e){return typeof e=="function"&&e.hasOwnProperty(pI)&&e.__forward_ref__===Ns}function w(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Lt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Mo(e){return gI(e,Rs)}function Iu(e){return Mo(e)!==null}function gI(e,t){return e.hasOwnProperty(t)&&e[t]||null}function mI(e){let t=e?.[Rs]??null;return t||null}function du(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 wu(e){return e&&!!e.\u0275providers}var Cu=B({\u0275cmp:B}),bu=B({\u0275dir:B}),Tu=B({\u0275pipe:B}),_u=B({\u0275mod:B}),To=B({\u0275fac:B}),Bn=B({__NG_ELEMENT_ID__:B}),dp=B({__NG_ENV_ID__:B});function on(e){return typeof e=="string"?e:e==null?"":String(e)}function pp(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():on(e)}var gp=B({ngErrorCode:B}),yI=B({ngErrorMessage:B}),vI=B({ngTokenPath:B});function Su(e,t){return mp("",-200,t)}function As(e,t){throw new m(-201,!1)}function mp(e,t,n){let r=new m(t,e);return r[gp]=t,r[yI]=e,n&&(r[vI]=n),r}function DI(e){return e[gp]}var fu;function yp(){return fu}function Ce(e){let t=fu;return fu=e,t}function Mu(e,t,n){let r=Mo(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 EI={},kn=EI,II="__NG_DI_FLAG__",hu=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Fn(n)||0;try{return this.injector.get(t,r&8?null:kn,r)}catch(o){if(br(o))return o;throw o}}};function wI(e,t=0){let n=gs();if(n===void 0)throw new m(-203,!1);if(n===null)return Mu(e,void 0,t);{let r=CI(t),o=n.retrieve(e,r);if(br(o)){if(r.optional)return null;throw o}return o}}function C(e,t=0){return(yp()||wI)(ue(e),t)}function p(e,t){return C(e,Fn(t))}function Fn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function CI(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function pu(e){let t=[];for(let n=0;n<e.length;n++){let r=ue(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=bI(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 bI(e){return e[II]}function nn(e,t){let n=e.hasOwnProperty(To);return n?e[To]:null}function vp(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 Nu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function No(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ep(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ip(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,Ip(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 TI(e,t,1)}function TI(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={},De=[],Dt=new I(""),Ru=new I("",-1),Au=new I(""),_o=class{get(t,n=kn){if(n===kn){let o=mp("",-201);throw o.name="\u0275NotFound",o}return n}};function xu(e){return e[_u]||null}function Et(e){return e[Cu]||null}function ks(e){return e[bu]||null}function wp(e){return e[Tu]||null}function Je(e){return{\u0275providers:e}}function Cp(e){return Je([{provide:Dt,multi:!0,useValue:e}])}function bp(...e){return{\u0275providers:Ou(!0,e),\u0275fromNgModule:!0}}function Ou(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&&Tp(o,i),n}function Tp(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Pu(o,i=>{t(i,r)})}}function _s(e,t,n,r){if(e=ue(e),!e)return!1;let o=null,i=du(e),s=!i&&Et(e);if(!i&&!s){let c=e.ngModule;if(i=du(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&&Tp(u,t)}if(!a){let u=nn(o)||(()=>new o);t({provide:o,useFactory:u,deps:De},o),t({provide:Au,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;Pu(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Pu(e,t){for(let n of e)wu(n)&&(n=n.\u0275providers),Array.isArray(n)?Pu(n,t):t(n)}var _I=B({provide:String,useValue:B});function _p(e){return e!==null&&typeof e=="object"&&_I in e}function SI(e){return!!(e&&e.useExisting)}function MI(e){return!!(e&&e.useFactory)}function Ln(e){return typeof e=="function"}function Sp(e){return!!e.useClass}var Ro=new I(""),bs={},fp={},lu;function Nr(){return lu===void 0&&(lu=new _o),lu}var te=class{},jn=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,mu(t,s=>this.processProvider(s)),this.records.set(Ru,Sr(void 0,this)),o.has("environment")&&this.records.set(te,Sr(void 0,this));let i=this.records.get(Ro);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Au,De,{self:!0}))}retrieve(t,n){let r=Fn(n)||0;try{return this.get(t,kn,r)}catch(o){if(br(o))return o;throw o}}destroy(){bo(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 bo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){bo(this);let n=vt(this),r=Ce(void 0),o;try{return t()}finally{vt(n),Ce(r)}}get(t,n=kn,r){if(bo(this),t.hasOwnProperty(dp))return t[dp](this);let o=Fn(r),i,s=vt(this),a=Ce(void 0);try{if(!(o&4)){let u=this.records.get(t);if(u===void 0){let l=OI(t)&&Mo(t);l&&this.injectableDefInScope(l)?u=Sr(gu(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===kn?null:n,c.get(t,n)}catch(c){let u=DI(c);throw u===-200||u===-201?new m(u,null):c}finally{Ce(a),vt(s)}}resolveInjectorInitializers(){let t=R(null),n=vt(this),r=Ce(void 0),o;try{let i=this.get(Dt,De,{self:!0});for(let s of i)s()}finally{vt(n),Ce(r),R(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(kt(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=ue(t);let n=Ln(t)?t:ue(t&&t.provide),r=RI(t);if(!Ln(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Sr(void 0,bs,!0),o.factory=()=>pu(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===fp)throw Su(kt(t));return n.value===bs&&(n.value=fp,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&xI(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{R(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ue(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 gu(e){let t=Mo(e),n=t!==null?t.factory:nn(e);if(n!==null)return n;if(e instanceof I)throw new m(204,!1);if(e instanceof Function)return NI(e);throw new m(204,!1)}function NI(e){if(e.length>0)throw new m(204,!1);let n=mI(e);return n!==null?()=>n.factory(e):()=>new e}function RI(e){if(_p(e))return Sr(void 0,e.useValue);{let t=ku(e);return Sr(t,bs)}}function ku(e,t,n){let r;if(Ln(e)){let o=ue(e);return nn(o)||gu(o)}else if(_p(e))r=()=>ue(e.useValue);else if(MI(e))r=()=>e.useFactory(...pu(e.deps||[]));else if(SI(e))r=(o,i)=>C(ue(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ue(e&&(e.useClass||e.provide));if(AI(e))r=()=>new o(...pu(e.deps));else return nn(o)||gu(o)}return r}function bo(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 AI(e){return!!e.deps}function xI(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function OI(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function mu(e,t){for(let n of e)Array.isArray(n)?mu(n,t):n&&wu(n)?mu(n.\u0275providers,t):t(n)}function pe(e,t){let n;e instanceof jn?(bo(e),n=e):n=new hu(e);let r,o=vt(n),i=Ce(void 0);try{return t()}finally{vt(o),Ce(i)}}function Mp(){return yp()!==void 0||gs()!=null}var Xe=0,b=1,M=2,le=3,$e=4,be=5,Vn=6,Rr=7,X=8,sn=9,It=10,$=11,Ar=12,Fu=13,Un=14,Ee=15,an=16,$n=17,wt=18,Ao=19,Lu=20,Pt=21,Fs=22,jt=23,ke=24,Hn=25,zn=26,z=27,Np=1,ju=6,cn=7,xo=8,Gn=9,re=10;function Ct(e){return Array.isArray(e)&&typeof e[Np]=="object"}function et(e){return Array.isArray(e)&&e[Np]===!0}function Bu(e){return(e.flags&4)!==0}function un(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 qn(e){return(e[M]&256)===256}var Vu="svg",Rp="math";function He(e){for(;Array.isArray(e);)e=e[Xe];return e}function Uu(e,t){return He(t[e])}function nt(e,t){return He(t[e.index])}function Oo(e,t){return e.data[t]}function Po(e,t){return e[t]}function $u(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ze(e,t){let n=t[e];return Ct(n)?n:n[Xe]}function Ap(e){return(e[M]&4)===4}function Ls(e){return(e[M]&128)===128}function xp(e){return et(e[le])}function Ge(e,t){return t==null?null:e[t]}function Hu(e){e[$n]=0}function zu(e){e[M]&1024||(e[M]|=1024,Ls(e)&&ln(e))}function Op(e,t){for(;e>0;)t=t[Un],e--;return t}function ko(e){return!!(e[M]&9216||e[ke]?.dirty)}function js(e){e[It].changeDetectionScheduler?.notify(8),e[M]&64&&(e[M]|=1024),ko(e)&&ln(e)}function ln(e){e[It].changeDetectionScheduler?.notify(0);let t=rn(e);for(;t!==null&&!(t[M]&8192||(t[M]|=8192,!Ls(t)));)t=rn(t)}function Gu(e,t){if(qn(e))throw new m(911,!1);e[Pt]===null&&(e[Pt]=[]),e[Pt].push(t)}function Pp(e,t){if(e[Pt]===null)return;let n=e[Pt].indexOf(t);n!==-1&&e[Pt].splice(n,1)}function rn(e){let t=e[le];return et(t)?t[le]:t}function qu(e){return e[Rr]??=[]}function Wu(e){return e.cleanup??=[]}function kp(e,t,n,r){let o=qu(t);o.push(n),e.firstCreatePass&&Wu(e).push(r,o.length-1)}var O={lFrame:Yp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var yu=!1;function Fp(){return O.lFrame.elementDepthCount}function Lp(){O.lFrame.elementDepthCount++}function Zu(){O.lFrame.elementDepthCount--}function Bs(){return O.bindingsEnabled}function Yu(){return O.skipHydrationRootTNode!==null}function Qu(e){return O.skipHydrationRootTNode===e}function Ku(){O.skipHydrationRootTNode=null}function T(){return O.lFrame.lView}function q(){return O.lFrame.tView}function jp(e){return O.lFrame.contextLView=e,e[X]}function Bp(e){return O.lFrame.contextLView=null,e}function oe(){let e=Ju();for(;e!==null&&e.type===64;)e=e.parent;return e}function Ju(){return O.lFrame.currentTNode}function Vp(){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 Xu(){return O.lFrame.isParent}function el(){O.lFrame.isParent=!1}function Up(){return O.lFrame.contextLView}function tl(){return yu}function kr(e){let t=yu;return yu=e,t}function Fo(){let e=O.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function $p(){return O.lFrame.bindingIndex}function Hp(e){return O.lFrame.bindingIndex=e}function dn(){return O.lFrame.bindingIndex++}function Vs(e){let t=O.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function zp(){return O.lFrame.inI18n}function Gp(e,t){let n=O.lFrame;n.bindingIndex=n.bindingRootIndex=e,Us(t)}function qp(){return O.lFrame.currentDirectiveIndex}function Us(e){O.lFrame.currentDirectiveIndex=e}function Wp(e){let t=O.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function $s(){return O.lFrame.currentQueryIndex}function Lo(e){O.lFrame.currentQueryIndex=e}function PI(e){let t=e[b];return t.type===2?t.declTNode:t.type===1?e[be]:null}function nl(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=PI(i),o===null||(i=i[Un],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=O.lFrame=Zp();return r.currentTNode=t,r.lView=e,!0}function Hs(e){let t=Zp(),n=e[b];O.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Zp(){let e=O.lFrame,t=e===null?null:e.child;return t===null?Yp(e):t}function Yp(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 Qp(){let e=O.lFrame;return O.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var rl=Qp;function zs(){let e=Qp();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 Kp(e){return(O.lFrame.contextLView=Op(e,O.lFrame.contextLView))[X]}function bt(){return O.lFrame.selectedIndex}function fn(e){O.lFrame.selectedIndex=e}function jo(){let e=O.lFrame;return Oo(e.tView,e.selectedIndex)}function Jp(){O.lFrame.currentNamespace=Vu}function Xp(){kI()}function kI(){O.lFrame.currentNamespace=null}function eg(){return O.lFrame.currentNamespace}var tg=!0;function Gs(){return tg}function Bo(e){tg=e}function vu(e,t=null,n=null,r){let o=ol(e,t,n,r);return o.resolveInjectorInitializers(),o}function ol(e,t=null,n=null,r,o=new Set){let i=[n||De,bp(e)];return r=r||(typeof e=="object"?void 0:kt(e)),new jn(i,t||Nr(),r||null,o)}var me=class e{static THROW_IF_NOT_FOUND=kn;static NULL=new _o;static create(t,n){if(Array.isArray(t))return vu({name:""},n,t,"");{let r=t.name??"";return vu({name:r},t.parent,t.providers,r)}}static \u0275prov=w({token:e,providedIn:"any",factory:()=>C(Ru)});static __NG_ELEMENT_ID__=-1},Z=new I(""),qe=(()=>{class e{static __NG_ELEMENT_ID__=FI;static __NG_ENV_ID__=n=>n}return e})(),So=class extends qe{_lView;constructor(t){super(),this._lView=t}get destroyed(){return qn(this._lView)}onDestroy(t){let n=this._lView;return Gu(n,t),()=>Pp(n,t)}};function FI(){return new So(T())}var Be=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Te=new I("",{providedIn:"root",factory:()=>{let e=p(te),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Be),t.handleError(n))}}}),ng={provide:Dt,useValue:()=>void p(Be),multi:!0},LI=new I("",{providedIn:"root",factory:()=>{let e=p(Z).defaultView;if(!e)return;let t=p(Te),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 jI(){return Je([Cp(()=>void p(LI))])}function il(e){return typeof e=="function"&&e[ce]!==void 0}function Wn(e,t){let[n,r,o]=cu(e,t?.equal),i=n,s=i[ce];return i.set=r,i.update=o,i.asReadonly=sl.bind(i),i}function sl(){let e=this[ce];if(e.readonlyFn===void 0){let t=()=>this();t[ce]=e,e.readonlyFn=t}return e.readonlyFn}function al(e){return il(e)&&typeof e.set=="function"}var Ve=class{},Fr=new I("",{providedIn:"root",factory:()=>!1});var cl=new I(""),ul=new I("");var Zn=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=BI}return e})();function BI(){return new Zn(T(),oe())}var Tt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new ge(!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})(),Vo=(()=>{class e{internalPendingTasks=p(Tt);scheduler=p(Ve);errorHandler=p(Te);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 Yn(...e){}var Uo=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new Du})}return e})(),Du=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 GI(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 Bg(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Hr=(()=>{let e=()=>Vg;return e.ngInherit=!0,e})();function Vg(e){return e.type.prototype.ngOnChanges&&(e.setInput=WI),qI}function qI(){let e=$g(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 WI(e,t,n,r,o){let i=this.declaredInputs[r],s=$g(e)||ZI(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),Bg(e,t,o,n)}var Ug="__ngSimpleChanges__";function $g(e){return e[Ug]||null}function ZI(e,t){return e[Ug]=t}var rg=[];var U=function(e,t=null,n){for(let r=0;r<rg.length;r++){let o=rg[r];o(e,t,n)}};function YI(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Vg(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 Hg(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){zg(e,t,3,n)}function Js(e,t,n,r){(e[M]&3)===n&&zg(e,t,n,r)}function ll(e,t){let n=e[M];(n&3)===t&&(n&=16383,n+=1,e[M]=n)}function zg(e,t,n,r){let o=r!==void 0?e[$n]&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[$n]+=65536),(a<i||i==-1)&&(QI(e,n,t,c),e[$n]=(e[$n]&4294901760)+c+2),c++}function og(e,t){U(4,e,t);let n=R(null);try{t.call(e)}finally{R(n),U(5,e,t)}}function QI(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[$n]>>16&&(e[M]&3)===t&&(e[M]+=16384,og(a,i)):og(a,i)}var jr=-1,Kn=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 KI(e){return(e.flags&8)!==0}function JI(e){return(e.flags&16)!==0}function XI(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];ew(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Gg(e){return e===3||e===4||e===6}function ew(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?ig(e,n,o,null,t[++r]):ig(e,n,o,null,null))}}return e}function ig(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 qg(e){return e!==jr}function ra(e){return e&32767}function tw(e){return e>>16}function oa(e,t){let n=tw(e),r=t;for(;n>0;)r=r[Un],n--;return r}var Il=!0;function ia(e){let t=Il;return Il=e,t}var nw=256,Wg=nw-1,Zg=5,rw=0,_t={};function ow(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Bn)&&(r=n[Bn]),r==null&&(r=n[Bn]=rw++);let o=r&Wg,i=1<<o;t.data[e+(o>>Zg)]|=i}function sa(e,t){let n=Yg(e,t);if(n!==-1)return n;let r=t[b];r.firstCreatePass&&(e.injectorIndex=t.length,dl(r.data,e),dl(t,null),dl(r.blueprint,null));let o=sd(e,t),i=e.injectorIndex;if(qg(o)){let s=ra(o),a=oa(o,t),c=a[b].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function dl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Yg(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function sd(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=em(o),r===null)return jr;if(n++,o=o[Un],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return jr}function wl(e,t,n){ow(e,t,n)}function iw(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(Gg(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 Qg(e,t,n){if(n&8||e!==void 0)return e;As(t,"NodeInjector")}function Kg(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[sn],i=Ce(void 0);try{return o?o.get(t,r,n&8):Mu(t,r,n&8)}finally{Ce(i)}}return Qg(r,t,n)}function Jg(e,t,n,r=0,o){if(e!==null){if(t[M]&2048&&!(r&2)){let s=uw(e,t,n,r,_t);if(s!==_t)return s}let i=Xg(e,t,n,r,_t);if(i!==_t)return i}return Kg(t,n,r,o)}function Xg(e,t,n,r,o){let i=aw(n);if(typeof i=="function"){if(!nl(t,e,r))return r&1?Qg(o,n,r):Kg(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))As(n);else return s}finally{rl()}}else if(typeof i=="number"){let s=null,a=Yg(e,t),c=jr,u=r&1?t[Ee][be]:null;for((a===-1||r&4)&&(c=a===-1?sd(e,t):t[a+8],c===jr||!ag(r,!1)?a=-1:(s=t[b],a=ra(c),t=oa(c,t)));a!==-1;){let l=t[b];if(sg(i,a,l.data)){let d=sw(a,t,n,s,r,u);if(d!==_t)return d}c=t[a+8],c!==jr&&ag(r,t[b].data[a+8]===u)&&sg(i,a,t)?(s=l,a=ra(c),t=oa(c,t)):a=-1}}return o}function sw(e,t,n,r,o,i){let s=t[b],a=s.data[e+8],c=r==null?un(a)&&Il:r!=s&&(a.type&3)!==0,u=o&1&&i===a,l=Xs(a,s,n,c,u);return l!==null?zo(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 zo(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Kn){let a=i;if(a.resolving){let f=pp(s[n]);throw Su(f)}let c=ia(a.canSeeViewProviders);a.resolving=!0;let u=s[n].type||s[n],l,d=a.injectImpl?Ce(a.injectImpl):null,h=nl(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&YI(n,s[n],t)}finally{d!==null&&Ce(d),ia(c),a.resolving=!1,rl()}}return i}function aw(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Bn)?e[Bn]:void 0;return typeof t=="number"?t>=0?t&Wg:cw:t}function sg(e,t,n){let r=1<<e;return!!(n[t+(e>>Zg)]&r)}function ag(e,t){return!(e&2)&&!(e&1&&t)}var Qn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Jg(this._tNode,this._lView,t,Fn(r),n)}};function cw(){return new Qn(oe(),T())}function wa(e){return Ko(()=>{let t=e.prototype.constructor,n=t[To]||Cl(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[To]||Cl(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Cl(e){return Eu(e)?()=>{let t=Cl(ue(e));return t&&t()}:nn(e)}function uw(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[M]&2048&&!Or(s);){let a=Xg(i,s,n,r|2,_t);if(a!==_t)return a;let c=i.parent;if(!c){let u=s[Lu];if(u){let l=u.get(n,_t,r);if(l!==_t)return l}c=em(s),s=s[Un]}i=c}return o}function em(e){let t=e[b],n=t.type;return n===2?t.declTNode:n===1?e[be]:null}function Ca(e){return iw(oe(),e)}function lw(){return zr(oe(),T())}function zr(e,t){return new Ut(nt(e,t))}var Ut=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=lw}return e})();function tm(e){return e instanceof Ut?e.nativeElement:e}function dw(){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=!vp(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]=dw};function nm(e){return(e.flags&128)===128}var ad=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(ad||{}),rm=new Map,fw=0;function hw(){return fw++}function pw(e){rm.set(e[Ao],e)}function bl(e){rm.delete(e[Ao])}var cg="__ngContext__";function Vr(e,t){Ct(t)?(e[cg]=t[Ao],pw(t)):e[cg]=t}function om(e){return sm(e[Ar])}function im(e){return sm(e[$e])}function sm(e){for(;e!==null&&!et(e);)e=e[$e];return e}var Tl;function cd(e){Tl=e}function ud(){if(Tl!==void 0)return Tl;if(typeof document<"u")return document;throw new m(210,!1)}var ba=new I("",{providedIn:"root",factory:()=>gw}),gw="ng",Ta=new I(""),Gr=new I("",{providedIn:"platform",factory:()=>"unknown"});var mw=new I(""),_a=new I("",{providedIn:"root",factory:()=>ud().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var yw="h",vw="b";var am="r";var cm="di";var um=!1,lm=new I("",{providedIn:"root",factory:()=>um});var Sa=new I("");var Dw=(e,t,n,r)=>{};function Ew(e,t,n,r){Dw(e,t,n,r)}function Ma(e){return(e.flags&32)===32}var Iw=()=>null;function dm(e,t,n=!1){return Iw(e,t,n)}function fm(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];Lo(i),a.contentQueries(2,t[s],s)}}}finally{R(r)}}}function _l(e,t,n){Lo(0);let r=R(null);try{t(e,n)}finally{R(r)}}function ld(e,t,n){if(Bu(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 Bt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(Bt||{}),qs;function ww(){if(qs===void 0&&(qs=null,Ue.trustedTypes))try{qs=Ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return qs}function Na(e){return ww()?.createHTML(e)||e}var Ws;function Cw(){if(Ws===void 0&&(Ws=null,Ue.trustedTypes))try{Ws=Ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ws}function ug(e){return Cw()?.createHTML(e)||e}var Vt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ss})`}},Sl=class extends Vt{getTypeName(){return"HTML"}},Ml=class extends Vt{getTypeName(){return"Style"}},Nl=class extends Vt{getTypeName(){return"Script"}},Rl=class extends Vt{getTypeName(){return"URL"}},Al=class extends Vt{getTypeName(){return"ResourceURL"}};function We(e){return e instanceof Vt?e.changingThisBreaksApplicationSecurity:e}function $t(e,t){let n=hm(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 hm(e){return e instanceof Vt&&e.getTypeName()||null}function dd(e){return new Sl(e)}function fd(e){return new Ml(e)}function hd(e){return new Nl(e)}function pd(e){return new Rl(e)}function gd(e){return new Al(e)}function bw(e){let t=new Ol(e);return Tw()?new xl(t):t}var xl=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}}},Ol=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 Tw(){try{return!!new window.DOMParser().parseFromString(Na(""),"text/html")}catch{return!1}}var _w=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Jo(e){return e=String(e),e.match(_w)?e:"unsafe:"+e}function Ht(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 pm=Ht("area,br,col,hr,img,wbr"),gm=Ht("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mm=Ht("rp,rt"),Sw=Xo(mm,gm),Mw=Xo(gm,Ht("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")),Nw=Xo(mm,Ht("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")),lg=Xo(pm,Mw,Nw,Sw),ym=Ht("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Rw=Ht("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"),Aw=Ht("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"),xw=Xo(ym,Rw,Aw),Ow=Ht("script,style,template"),Pl=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=Fw(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=kw(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=dg(t).toLowerCase();if(!lg.hasOwnProperty(n))return this.sanitizedSomething=!0,!Ow.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(!xw.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;ym[a]&&(c=Jo(c)),this.buf.push(" ",s,'="',fg(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=dg(t).toLowerCase();lg.hasOwnProperty(n)&&!pm.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(fg(t))}};function Pw(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function kw(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw vm(t);return t}function Fw(e){let t=e.firstChild;if(t&&Pw(e,t))throw vm(t);return t}function dg(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function vm(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Lw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jw=/([^\#-~ |!])/g;function fg(e){return e.replace(/&/g,"&amp;").replace(Lw,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(jw,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Zs;function Ra(e,t){let n=null;try{Zs=Zs||bw(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 Pl().sanitizeChildren(hg(n)||n);return Na(a)}finally{if(n){let r=hg(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function hg(e){return"content"in e&&Bw(e)?e.content:null}function Bw(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 Vw(e){let t=Dm();return t?ug(t.sanitize(it.HTML,e)||""):$t(e,"HTML")?ug(We(e)):Ra(ud(),on(e))}function Uw(e){let t=Dm();return t?t.sanitize(it.URL,e)||"":$t(e,"URL")?We(e):Jo(on(e))}function Dm(){let e=T();return e&&e[It].sanitizer}var $w=/^>|^->|<!--|-->|--!>|<!-$/g,Hw=/(<|>)/g,zw="\u200B$1\u200B";function Gw(e){return e.replace($w,t=>t.replace(Hw,zw))}function qw(e){return e.ownerDocument}function Em(e){return e instanceof Function?e():e}function Ww(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 Im="ng-template";function Zw(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Ww(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(md(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 md(e){return e.type===4&&e.value!==Im}function Yw(e,t,n){let r=e.type===4&&!n?Im:e.value;return t===r}function Qw(e,t,n){let r=4,o=e.attrs,i=o!==null?Xw(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!==""&&!Yw(e,c,n)||c===""&&t.length===1){if(rt(r))return!1;s=!0}}else if(r&8){if(o===null||!Zw(e,o,c,n)){if(rt(r))return!1;s=!0}}else{let u=t[++a],l=Kw(c,o,md(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 Kw(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 eC(t,e)}function wm(e,t,n=!1){for(let r=0;r<t.length;r++)if(Qw(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 Xw(e){for(let t=0;t<e.length;t++){let n=e[t];if(Gg(n))return t}return e.length}function eC(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 tC(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 pg(e,t){return e?":not("+t.trim()+")":t}function nC(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+=pg(i,o),o=""),r=s,i=i||!rt(r);n++}return o!==""&&(t+=pg(i,o)),t}function rC(e){return e.map(nC).join(",")}function oC(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 Re={};function iC(e,t){return e.createText(t)}function sC(e,t,n){e.setValue(t,n)}function aC(e,t){return e.createComment(Gw(t))}function Cm(e,t,n){return e.createElement(t,n)}function ca(e,t,n,r,o){e.insertBefore(t,n,r,o)}function bm(e,t,n){e.appendChild(t,n)}function gg(e,t,n,r,o){r!==null?ca(e,t,n,r,o):bm(e,t,n)}function Tm(e,t,n,r){e.removeChild(null,t,n,r)}function cC(e,t,n){e.setAttribute(t,"style",n)}function uC(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function _m(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&XI(e,t,r),o!==null&&uC(e,t,o),i!==null&&cC(e,t,i)}function yd(e,t,n,r,o,i,s,a,c,u,l){let d=z+r,h=d+o,f=lC(d,h),g=typeof u=="function"?u():u;return f[b]={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 lC(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Re);return n}function dC(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=yd(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function vd(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),Hu(d),d[le]=d[Un]=e,d[X]=n,d[It]=s||e&&e[It],d[$]=a||e&&e[$],d[sn]=c||e&&e[sn]||null,d[be]=i,d[Ao]=hw(),d[Vn]=l,d[Lu]=u,d[Ee]=t.type==2?e[Ee]:d,d}function fC(e,t,n){let r=nt(t,e),o=dC(n),i=e[It].rendererFactory,s=Dd(e,vd(e,o,null,Sm(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Sm(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Mm(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 Dd(e,t){return e[Ar]?e[Fu][$e]=t:e[Ar]=t,e[Fu]=t,t}function hC(e=1){Nm(q(),T(),bt()+e,!1)}function Nm(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)}fn(n)}var Aa=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Aa||{});function kl(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][ce]),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):Bg(t,c,i,r)}finally{R(o)}}var St=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(St||{}),pC;function Ed(e,t){return pC(e,t)}var ei=new Set;var Rm=new I("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1})});function mg(e,t,n,r){let o=e?.[zn]?.enter;if(t!==null&&o&&o.has(n.index)){let i=r.get(Rm);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=He(o);e===0&&r!==null?(mg(a,r,i,n),s==null?bm(t,r,l):ca(t,r,l,s||null,!0)):e===1&&r!==null?(mg(a,r,i,n),ca(t,r,l,s||null,!0)):e===2?yg(a,i,n,d=>{Tm(t,l,u,d)}):e===3&&yg(a,i,n,()=>{t.destroyNode(l)}),c!=null&&_C(t,e,n,c,i,r,s)}}function gC(e,t){let n=e.get(Rm);if(Array.isArray(t))for(let r of t)n.queue.add(r);else n.queue.add(t)}function mC(e,t){Am(e,t),t[Xe]=null,t[be]=null}function yC(e,t,n,r,o,i){r[Xe]=o,r[be]=t,Oa(e,r,n,1,o,i)}function Am(e,t){t[It].changeDetectionScheduler?.notify(9),Oa(e,t,t[$],2,null,null)}function vC(e){let t=e[Ar];if(!t)return fl(e[b],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[$e]&&t!==e;)Ct(t)&&fl(t[b],t),t=t[le];t===null&&(t=e),Ct(t)&&fl(t[b],t),n=t&&t[$e]}t=n}}function Id(e,t){let n=e[Gn],r=n.indexOf(t);n.splice(r,1)}function xa(e,t){if(qn(t))return;let n=t[$];n.destroyNode&&Oa(e,t,n,3,null,null),vC(t)}function fl(e,t){if(qn(t))return;let n=R(null);try{t[M]&=-129,t[M]|=256,t[ke]&&tn(t[ke]),IC(e,t),EC(e,t),t[b].type===1&&t[$].destroy();let r=t[an];if(r!==null&&et(t[le])){r!==t[le]&&Id(r,t);let o=t[wt];o!==null&&o.detachView(e)}bl(t)}finally{R(n)}}function yg(e,t,n,r){let o=e?.[zn];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);if(o.skipLeaveAnimations)return o.skipLeaveAnimations=!1,r(!1);gC(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),DC(e,r)}else e&&ei.delete(e),r(!1)})}function DC(e,t){let n=e[zn]?.running;if(n){n.then(()=>{e[zn].running=void 0,ei.delete(e),t(!0)});return}t(!1)}function EC(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[Pt];if(o!==null){t[Pt]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[jt];if(i!==null){t[jt]=null;for(let s of i)s.destroy()}}function IC(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 Kn)){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 xm(e,t,n){return wC(e,t.parent,n)}function wC(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Xe];if(un(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Bt.None||o===Bt.Emulated)return null}return nt(r,n)}function Om(e,t,n){return bC(e,t,n)}function CC(e,t,n){return e.type&40?nt(e,n):null}var bC=CC,vg;function wd(e,t,n,r){let o=xm(e,r,t),i=t[$],s=r.parent||t[be],a=Om(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)gg(i,o,n[c],a,!1);else gg(i,o,n,a,!1);vg!==void 0&&vg(i,r,t,n,o)}function $o(e,t){if(t!==null){let n=t.type;if(n&3)return nt(t,e);if(n&4)return Fl(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return $o(e,r);{let o=e[t.index];return et(o)?Fl(-1,o):He(o)}}else{if(n&128)return $o(e,t.next);if(n&32)return Ed(t,e)()||He(e[t.index]);{let r=Pm(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=rn(e[Ee]);return $o(o,r)}else return $o(e,t.next)}}}return null}function Pm(e,t){if(t!==null){let r=e[Ee][be],o=t.projection;return r.projection[o]}return null}function Fl(e,t){let n=re+e+1;if(n<t.length){let r=t[n],o=r[b].firstChild;if(o!==null)return $o(r,o)}return t[cn]}function Cd(e,t,n,r,o,i,s){for(;n!=null;){let a=r[sn];if(n.type===128){n=n.next;continue}let c=r[n.index],u=n.type;if(s&&t===0&&(c&&Vr(He(c),r),n.flags|=2),!Ma(n))if(u&8)Cd(e,t,n.child,r,o,i,!1),Lr(t,e,a,o,c,n,i,r);else if(u&32){let l=Ed(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?km(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){Cd(n,r,e.firstChild,t,o,i,!1)}function TC(e,t,n){let r=t[$],o=xm(e,n,t),i=n.parent||t[be],s=Om(i,n,t);km(r,0,t,n,o,s)}function km(e,t,n,r,o,i){let s=n[Ee],c=s[be].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];Lr(t,e,n[sn],o,l,r,i,n)}else{let u=c,l=s[le];nm(r)&&(u.flags|=128),Cd(e,t,u,l,o,i,!0)}}function _C(e,t,n,r,o,i,s){let a=r[cn],c=He(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[b],l,e,t,i,a)}}function SC(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 Fm(e,t,n,r,o){let i=bt(),s=r&2;try{fn(-1),s&&t.length>z&&Nm(e,t,z,!1),U(s?2:0,o,n),n(r,o)}finally{fn(i),U(s?3:1,o,n)}}function Pa(e,t,n){OC(e,t,n),(n.flags&64)===64&&PC(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 MC(e,t,n,r){let i=r.get(lm,um)||n===Bt.ShadowDom,s=e.selectRootElement(t,i);return NC(s),s}function NC(e){RC(e)}var RC=()=>null;function AC(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Lm(e,t,n,r,o,i){let s=t[b];if(Sd(e,s,t,n,r)){un(e)&&xC(t,e.index);return}e.type&3&&(n=AC(n)),jm(e,t,n,r,o,i)}function jm(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 xC(e,t){let n=ze(t,e);n[M]&16||(n[M]|=64)}function OC(e,t,n){let r=n.directiveStart,o=n.directiveEnd;un(n)&&fC(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=zo(t,e,s,n);if(Vr(c,t),i!==null&&jC(t,s-r,c,a,n,i),tt(a)){let u=ze(n.index,t);u[X]=zo(t,e,s,n)}}}function PC(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=qp();try{fn(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)&&kC(c,u)}}finally{fn(-1),Us(s)}}function kC(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function bd(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];wm(t,i.selectors,!1)&&(r??=[],tt(i)?r.unshift(i):r.push(i))}return r}function FC(e,t,n,r,o,i){let s=nt(e,t);LC(t[$],s,i,e.value,n,r,o)}function LC(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?on(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function jC(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];kl(r,n,c,u)}}function Td(e,t,n,r,o){let i=z+n,s=t[b],a=o(s,t,e,r,n);t[i]=a,Pr(e,!0);let c=e.type===2;return c?(_m(t[$],a,e),(Fp()===0||xr(e))&&Vr(a,t),Lp()):Vr(a,t),Gs()&&(!c||!Ma(e))&&wd(s,t,a,e),e}function _d(e){let t=e;return Xu()?el():(t=t.parent,Pr(t,!1)),t}function BC(e,t){let n=e[sn];if(!n)return;let r;try{r=n.get(Te,null)}catch{r=null}r?.(t)}function Sd(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];kl(d,n[u],l,o),a=!0}if(i)for(let c of i){let u=n[c],l=t.data[c];kl(l,u,r,o),a=!0}return a}function VC(e,t){let n=ze(t,e),r=n[b];UC(r,n);let o=n[Xe];o!==null&&n[Vn]===null&&(n[Vn]=dm(o,n[sn])),U(18),Md(r,n,n[X]),U(19,n[X])}function UC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Md(e,t,n){Hs(t);try{let r=e.viewQuery;r!==null&&_l(1,r,n);let o=e.template;o!==null&&Fm(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[wt]?.finishViewCreation(e),e.staticContentQueries&&fm(e,t),e.staticViewQueries&&_l(2,e.viewQuery,n);let i=e.components;i!==null&&$C(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[M]&=-5,zs()}}function $C(e,t){for(let n=0;n<t.length;n++)VC(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=vd(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[an]=u;let l=e[wt];return l!==null&&(c[wt]=l.createEmbeddedView(i)),Md(i,c,n),c}finally{R(o)}}function Ur(e,t){return!t||t.firstChild===null||nm(e)}function Go(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(He(i)),et(i)&&Bm(i,r);let s=n.type;if(s&8)Go(e,t,n.child,r);else if(s&32){let a=Ed(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Pm(t,n);if(Array.isArray(a))r.push(...a);else{let c=rn(t[Ee]);Go(c[b],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Bm(e,t){for(let n=re;n<e.length;n++){let r=e[n],o=r[b].firstChild;o!==null&&Go(r[b],r,o,t)}e[cn]!==e[Xe]&&t.push(e[cn])}function Vm(e){if(e[Hn]!==null){for(let t of e[Hn])t.impl.addSequence(t);e[Hn].length=0}}var Um=[];function HC(e){return e[ke]??zC(e)}function zC(e){let t=Um.pop()??Object.create(qC);return t.lView=e,t}function GC(e){e.lView[ke]!==e&&(e.lView=null,Um.push(e))}var qC=F(y({},An),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{ln(e.lView)},consumerOnSignalRead(){this.lView[ke]=this}});function WC(e){let t=e[ke]??Object.create(ZC);return t.lView=e,t}var ZC=F(y({},An),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=rn(e.lView);for(;t&&!$m(t[b]);)t=rn(t);t&&zu(t)},consumerOnSignalRead(){this.lView[ke]=this}});function $m(e){return e.type!==2}function Hm(e){if(e[jt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[jt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[M]&8192)}}var YC=100;function zm(e,t=0){let r=e[It].rendererFactory,o=!1;o||r.begin?.();try{QC(e,t)}finally{o||r.end?.()}}function QC(e,t){let n=tl();try{kr(!0),Ll(e,t);let r=0;for(;ko(e);){if(r===YC)throw new m(103,!1);r++,Ll(e,1)}}finally{kr(n)}}function KC(e,t,n,r){if(qn(t))return;let o=t[M],i=!1,s=!1;Hs(t);let a=!0,c=null,u=null;i||($m(e)?(u=HC(t),c=en(u)):Es()===null?(a=!1,u=WC(t),c=en(u)):t[ke]&&(tn(t[ke]),t[ke]=null));try{Hu(t),Hp(e.bindingStartIndex),n!==null&&Fm(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),ll(t,0)}if(s||JC(t),Hm(t),Gm(t,0),e.contentQueries!==null&&fm(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),ll(t,1)}eb(e,t);let d=e.components;d!==null&&Wm(t,d,0);let h=e.viewQuery;if(h!==null&&_l(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),ll(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Fs]){for(let f of t[Fs])f();t[Fs]=null}i||(Vm(t),t[M]&=-73)}catch(l){throw i||ln(t),l}finally{u!==null&&(On(u,c),a&&GC(u)),zs()}}function Gm(e,t){for(let n=om(e);n!==null;n=im(n))for(let r=re;r<n.length;r++){let o=n[r];qm(o,t)}}function JC(e){for(let t=om(e);t!==null;t=im(t)){if(!(t[M]&2))continue;let n=t[Gn];for(let r=0;r<n.length;r++){let o=n[r];zu(o)}}}function XC(e,t,n){U(18);let r=ze(t,e);qm(r,n),U(19,r[X])}function qm(e,t){Ls(e)&&Ll(e,t)}function Ll(e,t){let r=e[b],o=e[M],i=e[ke],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Pn(i)),s||=!1,i&&(i.dirty=!1),e[M]&=-9217,s)KC(r,e,r.template,e[X]);else if(o&8192){let a=R(null);try{Hm(e),Gm(e,1);let c=r.components;c!==null&&Wm(e,c,1),Vm(e)}finally{R(a)}}}function Wm(e,t,n){for(let r=0;r<t.length;r++)XC(e,t[r],n)}function eb(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)fn(~o);else{let i=o,s=n[++r],a=n[++r];Gp(s,i);let c=t[i];U(24,c),a(2,c),U(25,c)}}}finally{fn(-1)}}function Nd(e,t){let n=tl()?64:1088;for(e[It].changeDetectionScheduler?.notify(t);e;){e[M]|=n;let r=rn(e);if(Or(e)&&!r)return e;e=r}return null}function Zm(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Ym(e,t){let n=re+t;if(n<e.length)return e[n]}function ri(e,t,n,r=!0){let o=t[b];if(tb(o,t,e,n),r){let s=Fl(n,e),a=t[$],c=a.parentNode(e[cn]);c!==null&&yC(o,e[be],a,t,c,s)}let i=t[Vn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Qm(e,t){let n=qo(e,t);return n!==void 0&&xa(n[b],n),n}function qo(e,t){if(e.length<=re)return;let n=re+t,r=e[n];if(r){let o=r[an];o!==null&&o!==e&&Id(o,r),t>0&&(e[n-1][$e]=r[$e]);let i=No(e,re+t);mC(r[b],r);let s=i[wt];s!==null&&s.detachView(i[b]),r[le]=null,r[$e]=null,r[M]&=-129}return r}function tb(e,t,n,r){let o=re+r,i=n.length;r>0&&(n[o-1][$e]=t),r<i-re?(t[$e]=n[o],Nu(n,re+r,t)):(n.push(t),t[$e]=null),t[le]=n;let s=t[an];s!==null&&n!==s&&Km(s,t);let a=t[wt];a!==null&&a.insertView(e),js(t),t[M]|=128}function Km(e,t){let n=e[Gn],r=t[le];if(Ct(r))e[M]|=2;else{let o=r[le][Ee];t[Ee]!==o&&(e[M]|=2)}n===null?e[Gn]=[t]:n.push(t)}var hn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[b];return Go(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 qn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[le];if(et(t)){let n=t[xo],r=n?n.indexOf(this):-1;r>-1&&(qo(t,r),No(n,r))}this._attachedToViewContainer=!1}xa(this._lView[b],this._lView)}onDestroy(t){Gu(this._lView,t)}markForCheck(){Nd(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[M]&=-129}reattach(){js(this._lView),this._lView[M]|=128}detectChanges(){this._lView[M]|=1024,zm(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[an];n!==null&&!t&&Id(n,this._lView),Am(this._lView[b],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new m(902,!1);this._appRef=t;let n=Or(this._lView),r=this._lView[an];r!==null&&!n&&Km(r,this._lView),js(this._lView)}};var pn=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=nb;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 hn(i)}}return e})();function nb(){return ka(oe(),T())}function ka(e,t){return e.type&4?new pn(t,e,zr(e,t)):null}function qr(e,t,n,r,o){let i=e.data[t];if(i===null)i=rb(e,t,n,r,o),zp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Vp();i.injectorIndex=s===null?-1:s.injectorIndex}return Pr(i,!0),i}function rb(e,t,n,r,o){let i=Ju(),s=Xu(),a=s?i:i&&i.parent,c=e.data[t]=ib(e,a,n,t,r,o);return ob(e,c,i,s),c}function ob(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 ib(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Yu()&&(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 N1=new RegExp(`^(\\d+)*(${vw}|${yw})*(.*)`);function sb(e){let t=e[ju]??[],r=e[le][$],o=[];for(let i of t)i.data[cm]!==void 0?o.push(i):ab(i,r);e[ju]=o}function ab(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[am];for(;n<o;){let i=r.nextSibling;Tm(t,r,!1),r=i,n++}}}var cb=()=>null,ub=()=>null;function ua(e,t){return cb(e,t)}function Jm(e,t,n){return ub(e,t,n)}var Xm=class{},Fa=class{},jl=class{resolveComponentFactory(t){throw new m(917,!1)}},oi=class{static NULL=new jl},Jn=class{},ii=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>lb()}return e})();function lb(){let e=T(),t=oe(),n=ze(t.index,e);return(Ct(n)?n:e)[$]}var ey=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>null})}return e})();var ea={},Bl=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 ie(e,t=0){let n=T();if(n===null)return C(e,t);let r=oe();return Jg(r,n,ue(e),t)}function Rd(){let e="invalid";throw new Error(e)}function ty(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}hb(e,t,n,a,i,c,u)}i!==null&&r!==null&&db(n,r,i)}function db(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 fb(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function hb(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,fb(e,n,h)),wl(sa(n,t),e,f.type)}Db(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=Mm(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),gb(e,n,t,d,f),vb(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++}pb(e,n,i)}function pb(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),Ig(t,r,!1);else{let i=n.get(o);Eg(0,t,i,r),Eg(1,t,i,r),Ig(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),ny(t,i)}}function Eg(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),ny(t,s)}}function ny(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Ig(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||md(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 gb(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=nn(o.type,!0)),s=new Kn(i,tt(o),ie,null);e.blueprint[r]=s,n[r]=s,mb(e,t,r,Mm(e,n,o.hostVars,Re),o)}function mb(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;yb(s)!=a&&s.push(a),s.push(n,r,i)}}function yb(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function vb(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 Db(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ad(e,t,n,r,o,i,s,a){let c=t[b],u=c.consts,l=Ge(u,s),d=qr(c,e,n,r,l);return i&&ty(c,t,d,Ge(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 xd(e,t){Hg(e,t),Bu(t)&&e.queries.elementEnd(t)}function Eb(e,t,n,r,o,i){let s=t.consts,a=Ge(s,o),c=qr(t,e,n,r,a);if(c.mergedAttrs=Br(c.mergedAttrs,c.attrs),i!=null){let u=Ge(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 Od(e){return oy(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function ry(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function oy(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Pd(e,t,n){return e[t]=n}function Fe(e,t,n){if(n===Re)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function kd(e,t,n,r){let o=Fe(e,t,n);return Fe(e,t+1,r)||o}function Ib(e,t,n,r,o){let i=kd(e,t,n,r);return Fe(e,t+2,o)||i}function ta(e,t,n){return function r(o){let i=un(e)?ze(e.index,t):t;Nd(i,5);let s=t[X],a=wg(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=wg(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function wg(e,t,n,r){let o=R(null);try{return U(6,t,n),n(r)!==!1}catch(i){return BC(e,i),!1}finally{U(7,t,n),R(o)}}function iy(e,t,n,r,o,i,s,a){let c=xr(e),u=!1,l=null;if(!r&&c&&(l=Cb(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;Ew(n,h,i,a);let f=o.listen(h,i,a);if(!wb(i)){let g=r?E=>r(He(E[e.index])):e.index;sy(g,t,n,i,a,f,!1)}}return u}function wb(e){return e.startsWith("animation")||e.startsWith("transition")}function Cb(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 sy(e,t,n,r,o,i,s){let a=t.firstCreatePass?Wu(t):null,c=qu(n),u=c.length;c.push(o,i),a&&a.push(r,e,u,(u+1)*(s?-1:1))}function Cg(e,t,n,r,o,i){let s=t[n],a=t[b],u=a.data[n].outputs[r],d=s[u].subscribe(i);sy(e.index,a,t,o,i,d,!0)}var Vl=Symbol("BINDING");var da=class extends oi{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Et(t);return new gn(n,this.ngModule)}};function bb(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 Tb(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function _b(e,t,n){let r=t instanceof te?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Bl(n,r):n}function Sb(e){let t=e.get(Jn,null);if(t===null)throw new m(407,!1);let n=e.get(ey,null),r=e.get(Ve,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function Mb(e,t){let n=ay(e);return Cm(t,n,n==="svg"?Vu:n==="math"?Rp:null)}function ay(e){return(e.selectors[0][0]||"div").toLowerCase()}var gn=class extends Fa{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=bb(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Tb(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=rC(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=Nb(r,c,s,i),l=_b(c,o||this.ngModule,t),d=Sb(l),h=d.rendererFactory.createRenderer(null,c),f=r?MC(h,r,c.encapsulation,l):Mb(c,h),g=s?.some(bg)||i?.some(v=>typeof v!="function"&&v.bindings.some(bg)),E=vd(null,u,null,512|Sm(c),null,null,d,h,l,null,dm(f,l,!0));E[z]=f,Hs(E);let D=null;try{let v=Ad(z,E,2,"#host",()=>u.directiveRegistry,!0,0);_m(h,f,v),Vr(f,E),Pa(u,E,v),ld(u,v,E),xd(u,v),n!==void 0&&Ab(v,this.ngContentSelectors,n),D=ze(v.index,E),E[X]=D[X],Md(u,E,null)}catch(v){throw D!==null&&bl(D),bl(E),v}finally{U(23),zs()}return new fa(this.componentType,E,!!g)}finally{R(a)}}};function Nb(e,t,n,r){let o=e?["ng-version","20.3.4"]:oC(t.selectors[0]),i=null,s=null,a=0;if(n)for(let l of n)a+=l[Vl].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[Vl].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 yd(0,null,Rb(i,s),1,a,c,null,null,null,[o],null)}function Rb(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 bg(e){let t=e[Vl].kind;return t==="input"||t==="twoWay"}var fa=class extends Xm{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Oo(n[b],z),this.location=zr(this._tNode,n),this.instance=ze(this._tNode.index,n)[X],this.hostView=this.changeDetectorRef=new hn(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=Sd(r,o[b],o,t,n);this.previousInputValues.set(t,n);let s=ze(r.index,o);Nd(s,1)}get injector(){return new Qn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Ab(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 Mt=(()=>{class e{static __NG_ELEMENT_ID__=xb}return e})();function xb(){let e=oe();return uy(e,T())}var Ob=Mt,cy=class extends Ob{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return zr(this._hostTNode,this._hostLView)}get injector(){return new Qn(this._hostTNode,this._hostLView)}get parentInjector(){let t=sd(this._hostTNode,this._hostLView);if(qg(t)){let n=oa(t,this._hostLView),r=ra(t),o=n[b].data[r+8];return new Qn(o,n)}else return new Qn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Tg(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&&!GI(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 gn(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(xp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[le],u=new cy(c,c[be],c[le]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return ri(s,o,i,r),t.attachToViewContainerRef(),Nu(hl(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Tg(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=qo(this._lContainer,n);r&&(No(hl(this._lContainer),n),xa(r[b],r))}detach(t){let n=this._adjustIndex(t,-1),r=qo(this._lContainer,n);return r&&No(hl(this._lContainer),n)!=null?new hn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Tg(e){return e[xo]}function hl(e){return e[xo]||(e[xo]=[])}function uy(e,t){let n,r=t[e.index];return et(r)?n=r:(n=Zm(r,t,null,e),t[e.index]=n,Dd(t,n)),kb(n,t,e,r),new cy(n,e,t)}function Pb(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 kb=jb,Fb=()=>!1;function Lb(e,t,n){return Fb(e,t,n)}function jb(e,t,n,r){if(e[cn])return;let o;n.type&8?o=He(r):o=Pb(t,n),e[cn]=o}var Ul=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},$l=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++)Ld(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=Hb(t):this.predicate=t}},Hl=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)}},zl=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,Bb(n,i)),this.matchTNodeWithReadOption(t,n,Xs(n,t,i,!1,!1))}else r===pn?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===Ut||o===Mt||o===pn&&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 Bb(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 Vb(e,t){return e.type&11?zr(e,t):e.type&4?ka(e,t):null}function Ub(e,t,n,r){return n===-1?Vb(t,e):n===-2?$b(e,t,r):zo(e,e[b],n,t)}function $b(e,t,n){if(n===Ut)return zr(t,e);if(n===pn)return ka(t,e);if(n===Mt)return uy(t,e)}function ly(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(Ub(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Gl(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=ly(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[an]===h[le]&&Gl(h[b],h,u,r)}if(l[Gn]!==null){let d=l[Gn];for(let h=0;h<d.length;h++){let f=d[h];Gl(f[b],f,u,r)}}}}}return r}function Fd(e,t){return e[wt].queries[t].queryList}function dy(e,t,n){let r=new aa((n&4)===4);return kp(e,t,r,r.destroy),(t[wt]??=new $l).queries.push(new Ul(r))-1}function fy(e,t,n){let r=q();return r.firstCreatePass&&(py(r,new ha(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),dy(r,T(),t)}function hy(e,t,n,r){let o=q();if(o.firstCreatePass){let i=oe();py(o,new ha(t,n,r),i.index),zb(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return dy(o,T(),n)}function Hb(e){return e.split(",").map(t=>t.trim())}function py(e,t,n){e.queries===null&&(e.queries=new Hl),e.queries.track(new zl(t,n))}function zb(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 Ld(e,t){return e.queries.getByIndex(t)}function gy(e,t){let n=e[b],r=Ld(n,t);return r.crossesNgTemplate?Gl(n,e,t,[]):ly(n,e,r,t)}function my(e,t,n){let r,o=wo(()=>{r._dirtyCounter();let i=Gb(r,e);if(t&&i===void 0)throw new m(-951,!1);return i});return r=o[ce],r._dirtyCounter=Wn(0),r._flatValue=void 0,o}function jd(e){return my(!0,!1,e)}function Bd(e){return my(!0,!0,e)}function yy(e,t){let n=e[ce];n._lView=T(),n._queryIndex=t,n._queryList=Fd(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Gb(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[M]&4)return t?void 0:De;let o=Fd(n,r),i=gy(n,r);return o.reset(i,tm),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var _g=new Set;function st(e){_g.has(e)||(_g.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Xn=class{},La=class{};var pa=class extends Xn{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=xu(t);this._bootstrapComponents=Em(i.bootstrap),this._r3Injector=ol(t,n,[{provide:Xn,useValue:this},{provide:oi,useValue:this.componentFactoryResolver},...r],kt(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 La{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new pa(this.moduleType,t,[])}};var Wo=class extends Xn{injector;componentFactoryResolver=new da(this);instance=null;constructor(t){super();let n=new jn([...t.providers,{provide:Xn,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 Wr(e,t,n=null){return new Wo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var qb=(()=>{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=Ou(!1,n.type),o=r.length>0?Wr([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 Vd(e){return Ko(()=>{let t=vy(e),n=F(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===ad.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(qb).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Bt.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&st("NgStandalone"),Dy(n);let r=e.dependencies;return n.directiveDefs=Sg(r,Wb),n.pipeDefs=Sg(r,wp),n.id=Qb(n),n})}function Wb(e){return Et(e)||ks(e)}function mn(e){return Ko(()=>({type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Zb(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 Yb(e){if(e==null)return Ke;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function zt(e){return Ko(()=>{let t=vy(e);return Dy(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 vy(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||De,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:Zb(e.inputs,t),outputs:Yb(e.outputs),debugInfo:null}}function Dy(e){e.features?.forEach(t=>t(e))}function Sg(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 Qb(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 Kb(e){return Object.getPrototypeOf(e.prototype).constructor}function Ey(e){let t=Kb(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=pl(e.inputs),s.declaredInputs=pl(e.declaredInputs),s.outputs=pl(e.outputs);let a=o.hostBindings;a&&nT(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&eT(e,c),u&&tT(e,u),Jb(e,o),hp(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===Ey&&(n=!1)}}t=Object.getPrototypeOf(t)}Xb(r)}function Jb(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 Xb(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 pl(e){return e===Ke?{}:e===De?[]:e}function eT(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function tT(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function nT(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function rT(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=oT,n.hostDirectives=r?e.map(ql):[e]):r?n.hostDirectives.unshift(...e.map(ql)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function oT(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,Iy(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 Iy(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)Mg(ql(i),t,n)}else Mg(r,t,n)}function Mg(e,t,n){let r=ks(e.directive);iT(r.declaredInputs,e.inputs),Iy(r,t,n),n.set(r,e),t.push(r)}function ql(e){return typeof e=="function"?{directive:ue(e),inputs:Ke,outputs:Ke}:{directive:ue(e.directive),inputs:Ng(e.inputs),outputs:Ng(e.outputs)}}function Ng(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 iT(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function wy(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=Br(e.mergedAttrs,e.attrs);let l=e.tView=yd(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=aT(n,t,e,r);Gs()&&wd(n,t,c,e),Vr(c,t);let u=Zm(c,t,c,e);t[r+z]=u,Dd(t,u),Lb(u,e,t)}function sT(e,t,n,r,o,i,s,a,c,u,l){let d=n+z,h;return t.firstCreatePass?(h=qr(t,d,4,s||null,a||null),Bs()&&ty(t,e,h,Ge(t.consts,u),bd),Hg(t,h)):h=t.data[d],wy(h,e,t,n,r,o,i,c),xr(h)&&Pa(t,e,h),u!=null&&ti(e,h,l),h}function Zo(e,t,n,r,o,i,s,a,c,u,l){let d=n+z,h;if(t.firstCreatePass){if(h=qr(t,d,4,s||null,a||null),u!=null){let f=Ge(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 wy(h,e,t,n,r,o,i,c),u!=null&&ti(e,h,l),h}function Cy(e,t,n,r,o,i,s,a){let c=T(),u=q(),l=Ge(u.consts,i);return sT(c,u,e,t,n,r,o,l,void 0,s,a),Cy}var aT=cT;function cT(e,t,n,r){return Bo(!0),t[$].createComment("")}var ja=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ja||{}),yn=new I(""),by=!1,Wl=class extends J{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Mp()&&(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)}})}}},_e=Wl;function Ty(e){let t,n;function r(){e=Yn;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 Rg(e){return queueMicrotask(()=>e()),()=>{e=Yn}}var Ud="isAngularZone",ma=Ud+"_ID",uT=0,Q=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new _e(!1);onMicrotaskEmpty=new _e(!1);onStable=new _e(!1);onError=new _e(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=by}=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,fT(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ud)===!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,lT,Yn,Yn);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)}},lT={};function $d(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 dT(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ty(()=>{e.callbackScheduled=!1,Zl(e),e.isCheckStableRunning=!0,$d(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Zl(e)}function fT(e){let t=()=>{dT(e)},n=uT++;e._inner=e._inner.fork({name:"angular",properties:{[Ud]:!0,[ma]:n,[ma+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(hT(c))return r.invokeTask(i,s,a,c);try{return Ag(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),xg(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Ag(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!pT(c)&&t(),xg(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Zl(e),$d(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 Zl(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ag(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xg(e){e._nesting--,$d(e)}var ya=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new _e;onMicrotaskEmpty=new _e;onStable=new _e;onError=new _e;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 hT(e){return _y(e,"__ignore_ng_zone__")}function pT(e){return _y(e,"__scheduler_tick__")}function _y(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Ba=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=w({token:e,providedIn:"root",factory:()=>new e})}return e})(),Hd=[0,1,2,3],zd=(()=>{class e{ngZone=p(Q);scheduler=p(Ve);errorHandler=p(Be,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){p(yn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&U(16),this.executing=!0;for(let r of Hd)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[Hn]??=[]).push(n),ln(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(ja.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?.[Hn];t&&(this.view[Hn]=t.filter(n=>n!==this))}};function Gd(e,t){let n=t?.injector??p(me);return st("NgAfterNextRender"),mT(e,n,t,!0)}function gT(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function mT(e,t,n,r){let o=t.get(Ba);o.impl??=t.get(zd);let i=t.get(yn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(qe):null,a=t.get(Zn,null,{optional:!0}),c=new Yo(o.impl,gT(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Va=(()=>{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 qd=new I("");function tr(e){return!!e&&typeof e.then=="function"}function Ua(e){return!!e&&typeof e.subscribe=="function"}var Wd=new I("");function $a(e){return Je([{provide:Wd,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(Wd,{optional:!0})??[];injector=p(me);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=pe(this.injector,o);if(tr(i))n.push(i);else if(Ua(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 Sy(){au(()=>{let e="";throw new m(600,e)})}function My(e){return e.isBoundToModule}var yT=10;var vn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=p(Te);afterRenderManager=p(Ba);zonelessEnabled=p(Fr);rootEffectScheduler=p(Uo);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(yn,{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=me.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=My(c)?void 0:this._injector.get(Xn),l=r||c.selector,d=c.create(o,[],l,u),h=d.location.nativeElement,f=d.injector.get(qd,null);return f?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Ho(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(ja.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(Jn,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<yT;)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&&!ko(o))continue;let i=r&&!this.zonelessEnabled?0:1;zm(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})=>ko(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;Ho(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),()=>Ho(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 Ho(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Yd(e,t,n,r){let o=T(),i=dn();if(Fe(o,i,t)){let s=q(),a=jo();FC(a,o,e,t,n,r)}return Yd}var F1=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";function vT(){return T()[Ee][X]}var Yl=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 gl(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function DT(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=gl(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=gl(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??=Pg(e,i,s,n),Ql(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;)Og(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=gl(i,l,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new va,o??=Pg(e,i,s,n);let f=n(i,d);if(Ql(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;)Og(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 Ql(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Og(e,t,n,r,o){if(Ql(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Pg(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 ET(e,t,n,r,o,i,s,a){st("NgControlFlow");let c=T(),u=q(),l=Ge(u.consts,i);return Zo(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=T(),u=q(),l=Ge(u.consts,i);return Zo(c,u,e,t,n,r,o,l,512,s,a),Qd}function IT(e,t){st("NgControlFlow");let n=T(),r=dn(),o=n[r]!==Re?n[r]:-1,i=o!==-1?Da(n,z+o):void 0,s=0;if(Fe(n,r,e)){let a=R(null);try{if(i!==void 0&&Qm(i,s),e!==-1){let c=z+e,u=Da(n,c),l=ed(n[b],c),d=Jm(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=Ym(i,s);a!==void 0&&(a[X]=t)}}var Kl=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 wT(e){return e}function CT(e,t){return t}var Jl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function bT(e,t,n,r,o,i,s,a,c,u,l,d,h){st("NgControlFlow");let f=T(),g=q(),E=c!==void 0,D=T(),v=a?s.bind(D[Ee][X]):s,L=new Jl(E,v);D[z+e]=L,Zo(f,g,e+1,t,n,r,o,Ge(g.consts,i),256),E&&Zo(f,g,e+2,c,u,l,d,Ge(g.consts,h),512)}var Xl=class extends Yl{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[Vn];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&&_T(this.lContainer,t),ST(this.lContainer,t)}create(t,n){let r=ua(this.lContainer,this.templateTNode.tView.ssrId),o=ni(this.hostLView,this.templateTNode,new Kl(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){xa(t[b],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 MT(this.lContainer,t)}};function TT(e){let t=R(null),n=bt();try{let r=T(),o=r[b],i=r[n],s=n+1,a=Da(r,s);if(i.liveCollection===void 0){let u=ed(o,s);i.liveCollection=new Xl(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(DT(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=dn(),l=c.length===0;if(Fe(r,u,l)){let d=n+2,h=Da(r,d);if(l){let f=ed(o,d),g=Jm(h,f,r),E=ni(r,f,void 0,{dehydratedView:g});ri(h,E,0,Ur(f,g))}else o.firstUpdatePass&&sb(h),Qm(h,0)}}}finally{R(t)}}function Da(e,t){return e[t]}function _T(e,t){if(e.length<=re)return;let n=re+t,r=e[n];r&&r[zn]&&(r[zn].skipLeaveAnimations=!0)}function ST(e,t){return qo(e,t)}function MT(e,t){return Ym(e,t)}function ed(e,t){return Oo(e,t)}function Ny(e,t,n){let r=T(),o=dn();if(Fe(r,o,t)){let i=q(),s=jo();Lm(s,r,e,t,r[$],n)}return Ny}function td(e,t,n,r,o){Sd(t,e,n,o?"class":"style",r)}function Kd(e,t,n,r){let o=T(),i=o[b],s=e+z,a=i.firstCreatePass?Ad(s,o,2,t,bd,Bs(),n,r):i.data[s];if(Td(a,o,e,t,Ay),xr(a)){let c=o[b];Pa(c,o,a),ld(c,a,o)}return r!=null&&ti(o,a),Kd}function Jd(){let e=q(),t=oe(),n=_d(t);return e.firstCreatePass&&xd(e,n),Qu(n)&&Ku(),Zu(),n.classesWithoutHost!=null&&KI(n)&&td(e,n,T(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&JI(n)&&td(e,n,T(),n.stylesWithoutHost,!1),Jd}function Ha(e,t,n,r){return Kd(e,t,n,r),Jd(),Ha}function Xd(e,t,n,r){let o=T(),i=o[b],s=e+z,a=i.firstCreatePass?Eb(s,i,2,t,n,r):i.data[s];return Td(a,o,e,t,Ay),r!=null&&ti(o,a),Xd}function ef(){let e=oe(),t=_d(e);return Qu(t)&&Ku(),Zu(),ef}function Ry(e,t,n,r){return Xd(e,t,n,r),ef(),Ry}var Ay=(e,t,n,r,o)=>(Bo(!0),Cm(t[$],r,eg()));function tf(e,t,n){let r=T(),o=r[b],i=e+z,s=o.firstCreatePass?Ad(i,r,8,"ng-container",bd,Bs(),t,n):o.data[i];if(Td(s,r,e,"ng-container",NT),xr(s)){let a=r[b];Pa(a,r,s),ld(a,s,r)}return n!=null&&ti(r,s),tf}function nf(){let e=q(),t=oe(),n=_d(t);return e.firstCreatePass&&xd(e,n),nf}function xy(e,t,n){return tf(e,t,n),nf(),xy}var NT=(e,t,n,r,o)=>(Bo(!0),aC(t[$],""));function RT(){return T()}function Oy(e,t,n){let r=T(),o=dn();if(Fe(r,o,t)){let i=q(),s=jo();jm(s,r,e,t,r[$],n)}return Oy}var Ys=void 0;function AT(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var xT=["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",AT],ml={};function Ae(e){let t=OT(e),n=kg(t);if(n)return n;let r=t.split("-")[0];if(n=kg(r),n)return n;if(r==="en")return xT;throw new m(701,!1)}function kg(e){return e in ml||(ml[e]=Ue.ng&&Ue.ng.common&&Ue.ng.common.locales&&Ue.ng.common.locales[e]),ml[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 OT(e){return e.toLowerCase().replace(/_/g,"-")}var ci="en-US";var PT=ci;function Py(e){typeof e=="string"&&(PT=e.toLowerCase().replace(/_/g,"-"))}function rf(e,t,n){let r=T(),o=q(),i=oe();return Fy(o,r,r[$],i,e,t,n),rf}function ky(e,t,n){let r=T(),o=q(),i=oe();return(i.type&3||n)&&iy(i,o,r,n,r[$],e,t,ta(i,r,t)),ky}function Fy(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=ta(r,t,i),iy(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),Cg(r,t,h,f,o,c)}if(u&&u.length)for(let d of u)c??=ta(r,t,i),Cg(r,t,d,o,o,c)}}function kT(e=1){return Kp(e)}function FT(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?wm(e,i,!0):tC(r,i))return o}return n}function LT(e){let t=T()[Ee][be];if(!t.projection){let n=e?e.length:1,r=t.projection=Ep(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?FT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function jT(e,t=0,n,r,o,i){let s=T(),a=q(),c=r?e+1:null;c!==null&&Zo(s,a,c,r,o,i,null,n);let u=qr(a,z+e,16,null,n||null);u.projection===null&&(u.projection=t),el();let d=!s[Vn]||Yu();s[Ee][be].projection[u.projection]===null&&c!==null?BT(s,a,c):d&&!Ma(u)&&TC(a,s,u)}function BT(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 Ly(e,t,n,r){hy(e,t,n,r)}function VT(e,t,n){fy(e,t,n)}function jy(e){let t=T(),n=q(),r=$s();Lo(r+1);let o=Ld(n,r);if(e.dirty&&Ap(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=gy(t,r);e.reset(i,tm),e.notifyOnChanges()}return!0}return!1}function By(){return Fd(T(),$s())}function UT(e,t,n,r,o){yy(t,hy(e,n,r,o))}function $T(e,t,n,r){yy(e,fy(t,n,r))}function HT(e=1){Lo($s()+e)}function zT(e){let t=Up();return Po(t,z+e)}function Qs(e,t){return e<<17|t<<2}function er(e){return e>>17&32767}function GT(e){return(e&2)==2}function qT(e,t){return e&131071|t<<17}function nd(e){return e|2}function $r(e){return(e&131068)>>2}function yl(e,t){return e&-131069|t<<2}function WT(e){return(e&1)===1}function rd(e){return e|1}function ZT(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=er(s),c=$r(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=er(e[a+1]);e[r+1]=Qs(h,a),h!==0&&(e[h+1]=yl(e[h+1],r)),e[a+1]=qT(e[a+1],r)}else e[r+1]=Qs(a,0),a!==0&&(e[a+1]=yl(e[a+1],r)),a=r;else e[r+1]=Qs(c,0),a===0?a=r:e[c+1]=yl(e[c+1],r),c=r;u&&(e[r+1]=nd(e[r+1])),Fg(e,l,r,!0),Fg(e,l,r,!1),YT(t,l,e,r,i),s=Qs(a,c),i?t.classBindings=s:t.styleBindings=s}function YT(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Mr(i,t)>=0&&(n[r+1]=rd(n[r+1]))}function Fg(e,t,n,r){let o=e[n+1],i=t===null,s=r?er(o):$r(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];QT(c,t)&&(a=!0,e[s+1]=r?rd(u):nd(u)),s=r?er(u):$r(u)}a&&(e[n+1]=r?nd(o):rd(o))}function QT(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 KT(e){return e.substring(ot.key,ot.keyEnd)}function JT(e){return XT(e),Vy(e,Uy(e,0,ot.textEnd))}function Vy(e,t){let n=ot.textEnd;return n===t?-1:(t=ot.keyEnd=e_(e,ot.key=t,n),Uy(e,t,n))}function XT(e){ot.key=0,ot.keyEnd=0,ot.value=0,ot.valueEnd=0,ot.textEnd=e.length}function Uy(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function e_(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function $y(e,t,n){return zy(e,t,n,!1),$y}function Hy(e,t){return zy(e,t,null,!0),Hy}function t_(e){r_(u_,n_,e,!0)}function n_(e,t){for(let n=JT(t);n>=0;n=Vy(t,n))Os(e,KT(t),!0)}function zy(e,t,n,r){let o=T(),i=q(),s=Vs(2);if(i.firstUpdatePass&&qy(i,e,s,r),t!==Re&&Fe(o,s,t)){let a=i.data[bt()];Wy(i,a,o,o[$],e,o[s+1]=d_(t,n),r,s)}}function r_(e,t,n,r){let o=q(),i=Vs(2);o.firstUpdatePass&&qy(o,null,i,r);let s=T();if(n!==Re&&Fe(s,i,n)){let a=o.data[bt()];if(Zy(a,r)&&!Gy(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ms(c,n||"")),td(o,a,s,n,r)}else l_(o,a,s,s[$],s[i+1],s[i+1]=c_(e,t,n),r,i)}}function Gy(e,t){return t>=e.expandoStartIndex}function qy(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[bt()],s=Gy(e,n);Zy(i,r)&&t===null&&!s&&(t=!1),t=o_(o,i,t,r),ZT(o,i,t,n,s,r)}}function o_(e,t,n,r){let o=Wp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=vl(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=vl(o,e,t,n,r),i===null){let c=i_(e,t,r);c!==void 0&&Array.isArray(c)&&(c=vl(null,e,t,c[1],r),c=Qo(c,t.attrs,r),s_(e,t,r,c))}else i=a_(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function i_(e,t,n){let r=n?t.classBindings:t.styleBindings;if($r(r)!==0)return e[er(r)]}function s_(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[er(o)]=r}function a_(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 vl(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 c_(e,t,n){if(n==null||n==="")return De;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 u_(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Os(e,r,n)}function l_(e,t,n,r,o,i,s,a){o===Re&&(o=De);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&&Wy(e,t,n,r,g,E,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Wy(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=WT(u)?Lg(c,t,n,o,$r(u),s):void 0;if(!Ea(l)){Ea(i)||GT(u)&&(i=Lg(c,null,n,o,a,s));let d=Uu(bt(),n);SC(r,s,d,o,i)}}function Lg(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===Re&&(h=d?De: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?er(g):$r(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 d_(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=kt(We(e)))),e}function Zy(e,t){return(e.flags&(t?8:16))!==0}function f_(e,t=""){let n=T(),r=q(),o=e+z,i=r.firstCreatePass?qr(r,o,1,t,null):r.data[o],s=h_(r,n,i,t,e);n[o]=s,Gs()&&wd(r,n,s,i),Pr(i,!1)}var h_=(e,t,n,r,o)=>(Bo(!0),iC(t[$],r));function Yy(e,t,n,r=""){return Fe(e,dn(),n)?t+on(n)+r:Re}function p_(e,t,n,r,o,i=""){let s=$p(),a=kd(e,s,n,o);return Vs(2),a?t+on(n)+r+on(o)+i:Re}function Qy(e){return of("",e),Qy}function of(e,t,n){let r=T(),o=Yy(r,e,t,n);return o!==Re&&Jy(r,bt(),o),of}function Ky(e,t,n,r,o){let i=T(),s=p_(i,e,t,n,r,o);return s!==Re&&Jy(i,bt(),s),Ky}function Jy(e,t,n){let r=Uu(t,e);sC(e[$],r,n)}function Xy(e,t,n){al(t)&&(t=t());let r=T(),o=dn();if(Fe(r,o,t)){let i=q(),s=jo();Lm(s,r,e,t,r[$],n)}return Xy}function g_(e,t){let n=al(e);return n&&e.set(t),n}function ev(e,t){let n=T(),r=q(),o=oe();return Fy(r,n,n[$],o,e,t),ev}function m_(e,t,n=""){return Yy(T(),e,t,n)}function y_(e,t,n){let r=q();if(r.firstCreatePass){let o=tt(e);od(n,r.data,r.blueprint,o,!0),od(t,r.data,r.blueprint,o,!1)}}function od(e,t,n,r,o){if(e=ue(e),Array.isArray(e))for(let i=0;i<e.length;i++)od(e[i],t,n,r,o);else{let i=q(),s=T(),a=oe(),c=Ln(e)?e:ue(e.provide),u=ku(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Ln(e)||!e.multi){let f=new Kn(u,o,ie,null),g=El(c,t,o?l:l+h,d);g===-1?(wl(sa(a,s),i,c),Dl(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=El(c,t,l+h,d),g=El(c,t,l,l+h),E=f>=0&&n[f],D=g>=0&&n[g];if(o&&!D||!o&&!E){wl(sa(a,s),i,c);let v=E_(o?D_:v_,n.length,o,r,u,e);!o&&D&&(n[g].providerFactory=v),Dl(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=tv(n[o?g:f],u,!o&&r);Dl(i,e,f>-1?f:g,v)}!o&&r&&D&&n[g].componentProviders++}}}function Dl(e,t,n,r){let o=Ln(t),i=Sp(t);if(o||i){let c=(i?ue(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 tv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function El(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function v_(e,t,n,r,o){return id(this.multi,[])}function D_(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=zo(r,r[b],this.providerFactory.index,o);s=c.slice(0,a),id(i,s);for(let u=a;u<c.length;u++)s.push(c[u])}else s=[],id(i,s);return s}function id(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function E_(e,t,n,r,o,i){let s=new Kn(e,n,ie,null);return s.multi=[],s.index=t,s.componentProviders=0,tv(s,o,r&&!n),s}function I_(e,t=[]){return n=>{n.providersResolver=(r,o)=>y_(r,o?o(e):e,t)}}function w_(e,t,n,r){return nv(T(),Fo(),e,t,n,r)}function sf(e,t){let n=e[t];return n===Re?void 0:n}function nv(e,t,n,r,o,i){let s=t+n;return Fe(e,s,o)?Pd(e,s+1,i?r.call(i,o):r(o)):sf(e,s+1)}function C_(e,t,n,r,o,i,s){let a=t+n;return kd(e,a,o,i)?Pd(e,a+2,s?r.call(s,o,i):r(o,i)):sf(e,a+2)}function b_(e,t,n,r,o,i,s,a){let c=t+n;return Ib(e,c,o,i,s)?Pd(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):sf(e,c+3)}function T_(e,t){let n=q(),r,o=e+z;n.firstCreatePass?(r=__(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=nn(r.type,!0)),s,a=Ce(ie);try{let c=ia(!1),u=i();return ia(c),$u(n,T(),o,u),u}finally{Ce(a)}}function __(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function S_(e,t,n){let r=e+z,o=T(),i=Po(o,r);return af(o,r)?nv(o,Fo(),t,i.transform,n,i):i.transform(n)}function M_(e,t,n,r){let o=e+z,i=T(),s=Po(i,o);return af(i,o)?C_(i,Fo(),t,s.transform,n,r,s):s.transform(n,r)}function N_(e,t,n,r,o){let i=e+z,s=T(),a=Po(s,i);return af(s,i)?b_(s,Fo(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function af(e,t){return e[b].data[t].pure}function R_(e,t){return ka(e,t)}var Ia=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},cf=(()=>{class e{compileModuleSync(n){return new ga(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=xu(n),i=Em(o.declarations).reduce((s,a)=>{let c=Et(a);return c&&s.push(new gn(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 A_=(()=>{class e{zone=p(Q);changeDetectionScheduler=p(Ve);applicationRef=p(vn);applicationErrorHandler=p(Te);_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})(),rv=new I("",{factory:()=>!1});function uf({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new Q(F(y({},lf()),{scheduleInRootZone:n})),[{provide:Q,useFactory:e},{provide:Dt,multi:!0,useFactory:()=>{let r=p(A_,{optional:!0});return()=>r.initialize()}},{provide:Dt,multi:!0,useFactory:()=>{let r=p(O_);return()=>{r.initialize()}}},t===!0?{provide:cl,useValue:!0}:[],{provide:ul,useValue:n??by},{provide:Te,useFactory:()=>{let r=p(Q),o=p(te),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Be),i.handleError(s))})}}}]}function x_(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=uf({ngZoneFactory:()=>{let o=lf(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&st("NgZone_CoalesceEvent"),new Q(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Je([{provide:rv,useValue:!0},{provide:Fr,useValue:!1},r])}function lf(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var O_=(()=>{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 ov=(()=>{class e{applicationErrorHandler=p(Te);appRef=p(vn);taskService=p(Tt);ngZone=p(Q);zonelessEnabled=p(Fr);tracing=p(yn,{optional:!0});disableScheduling=p(cl,{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(ul,{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?Rg:Ty;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,Rg(()=>{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 P_(){return typeof $localize<"u"&&$localize.locale||ci}var Zr=new I("",{providedIn:"root",factory:()=>p(Zr,{optional:!0,skipSelf:!0})||P_()});function at(e){return cp(e)}function k_(e,t){return wo(e,t?.equal)}var df=class{[ce];constructor(t){this[ce]=t}destroy(){this[ce].destroy()}};function F_(e,t){let n=t?.injector??p(me),r=t?.manualCleanup!==!0?n.get(qe):null,o,i=n.get(Zn,null,{optional:!0}),s=n.get(Ve);return i!==null?(o=B_(i.view,s,e),r instanceof So&&r._lView===i.view&&(r=null)):o=V_(e,n.get(Uo),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new df(o)}var iv=F(y({},up),{cleanupFns:void 0,zone:null,onDestroyFn:Yn,run(){let e=kr(!1);try{lp(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)}}}),L_=F(y({},iv),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){tn(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),j_=F(y({},iv),{consumerMarkedDirty(){this.view[M]|=8192,ln(this.view),this.notifier.notify(13)},destroy(){tn(this),this.onDestroyFn(),this.cleanup(),this.view[jt]?.delete(this)}});function B_(e,t,n){let r=Object.create(j_);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=sv(r,n),e[jt]??=new Set,e[jt].add(r),r.consumerMarkedDirty(r),r}function V_(e,t,n){let r=Object.create(L_);return r.fn=sv(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 sv(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var pv=Symbol("InputSignalNode#UNSET"),eS=F(y({},Co),{transformFn:void 0,applyValueToInputSignal(e,t){_r(e,t)}});function gv(e,t){let n=Object.create(eS);n.value=e,n.transformFn=t?.transform;function r(){if(xn(n),n.value===pv){let o=null;throw new m(-950,o)}return n.value}return r[ce]=n,r}var hf=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Ca(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},tS=new I("");tS.__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 av(e,t){return gv(e,t)}function nS(e){return gv(pv,e)}var mv=(av.required=nS,av);function cv(e,t){return jd(t)}function rS(e,t){return Bd(t)}var E$=(cv.required=rS,cv);function uv(e,t){return jd(t)}function oS(e,t){return Bd(t)}var I$=(uv.required=oS,uv);var pf=new I(""),iS=new I("");function ui(e){return!e.moduleRef}function sS(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(Te),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),ui(e)){let i=()=>t.destroy(),s=e.platformInjector.get(pf);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(pf);s.add(i),e.moduleRef.onDestroy(()=>{Ho(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return cS(r,n,()=>{let i=t.get(Tt),s=i.add(),a=t.get(Zd);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Zr,ci);if(Py(c||ci),!t.get(iS,!0))return ui(e)?t.get(vn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(ui(e)){let l=t.get(vn);return e.rootComponent!==void 0&&l.bootstrap(e.rootComponent),l}else return aS?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>void i.remove(s))})})}var aS;function cS(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 za=null;function uS(e=[],t){return me.create({name:t,providers:[{provide:Ro,useValue:"platform"},{provide:pf,useValue:new Set([()=>za=null])},...e]})}function lS(e=[]){if(za)return za;let t=uS(e);return za=t,Sy(),dS(t),t}function dS(e){let t=e.get(Ta,null);pe(e,()=>{t?.forEach(n=>n())})}var Yr=(()=>{class e{static __NG_ELEMENT_ID__=fS}return e})();function fS(e){return hS(oe(),T(),(e&16)===16)}function hS(e,t,n){if(un(e)&&!n){let r=ze(e.index,t);return new hn(r,r)}else if(e.type&175){let r=t[Ee];return new hn(r,t)}return null}var gf=class{constructor(){}supports(t){return Od(t)}create(t){return new mf(t)}},pS=(e,t)=>t,mf=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||pS}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<lv(r,o,i)?n:r,a=lv(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let h=0;h<u;h++){let f=h<i.length?i[h]:i[h]=0,g=f+h;l<=g&&g<u&&(i[h]=f+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Od(t))throw new m(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,ry(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new yf(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Ga),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ga),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},yf=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},vf=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Ga=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new vf,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function lv(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function dv(){return new Ef([new gf])}var Ef=(()=>{class e{factories;static \u0275prov=w({token:e,providedIn:"root",factory:dv});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=p(e,{optional:!0,skipSelf:!0});return e.create(n,r||dv())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new m(901,!1)}}return e})();function yv(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;U(8);try{let i=o?.injector??lS(r),s=[uf({}),{provide:Ve,useExisting:ov},ng,...n||[]],a=new Wo({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return sS({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{U(9)}}function vv(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function gS(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var ff=Symbol("NOT_SET"),Dv=new Set,mS=F(y({},Co),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:ff,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!==ff&&!Pn(this))return this.signal;try{for(let o of this.cleanup??Dv)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=en(this),r;try{r=this.userFn.apply(null,t)}finally{On(this,n)}return(this.value===ff||!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 Hd){let c=n[a];if(c===void 0)continue;let u=Object.create(mS);u.sequence=this,u.phase=a,u.userFn=c,u.dirty=!0,u.signal=()=>(xn(u),u.value),u.signal[ce]=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??Dv)n()}finally{tn(t)}}};function w$(e,t){let n=t?.injector??p(me),r=n.get(Ve),o=n.get(Ba),i=n.get(yn,null,{optional:!0});o.impl??=n.get(zd);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Zn,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 C$(e,t){let n=Et(e),r=t.elementInjector||Nr();return new gn(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function Ev(e){let t=Et(e);if(!t)return null;let n=new gn(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 Cv=null;function Gt(){return Cv}function If(e){Cv??=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(bv),providedIn:"platform"})}return e})(),wf=new I(""),bv=(()=>{class e extends di{_location;_history;_doc=p(Z);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Gt().getBaseHref(this._doc)}onPopState(n){let r=Gt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Gt().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 Iv(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 qt=(()=>{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 qt{_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})(),En=(()=>{class e{_subject=new J;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=DS(Iv(wv(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(vS(this._basePath,wv(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=Iv;static \u0275fac=function(r){return new(r||e)(C(qt))};static \u0275prov=w({token:e,factory:()=>yS(),providedIn:"root"})}return e})();function yS(){return new En(C(qt))}function vS(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function wv(e){return e.replace(/\/index.html$/,"")}function DS(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var Af=(()=>{class e extends qt{_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 xf=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(xf||{});var Ie=(function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e})(Ie||{}),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 Rv(e){return Ae(e)[ee.LocaleId]}function Av(e,t,n){let r=Ae(e),o=[r[ee.DayPeriodsFormat],r[ee.DayPeriodsStandalone]],i=Ze(o,t);return Ze(i,n)}function xv(e,t,n){let r=Ae(e),o=[r[ee.DaysFormat],r[ee.DaysStandalone]],i=Ze(o,t);return Ze(i,n)}function Ov(e,t,n){let r=Ae(e),o=[r[ee.MonthsFormat],r[ee.MonthsStandalone]],i=Ze(o,t);return Ze(i,n)}function Pv(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 Nt(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 kv(e,t){return Ae(e)[ee.NumberFormats][t]}function Fv(e){if(!e[ee.ExtraData])throw new m(2303,!1)}function Lv(e){let t=Ae(e);return Fv(t),(t[ee.ExtraData][2]||[]).map(r=>typeof r=="string"?Cf(r):[Cf(r[0]),Cf(r[1])])}function jv(e,t,n){let r=Ae(e);Fv(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 Cf(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var ES=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ya={},IS=/((?:[^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 Bv(e,t,n,r){let o=RS(e);t=Wt(n,t)||t;let s=[],a;for(;t;)if(a=IS.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=Uv(r,c),o=NS(o,r));let u="";return s.forEach(l=>{let d=SS(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 Wt(e,t){let n=Rv(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=Wt(e,"shortTime"),i=Wt(e,"shortDate");r=Qa(pi(e,xe.Short),[o,i]);break;case"medium":let s=Wt(e,"mediumTime"),a=Wt(e,"mediumDate");r=Qa(pi(e,xe.Medium),[s,a]);break;case"long":let c=Wt(e,"longTime"),u=Wt(e,"longDate");r=Qa(pi(e,xe.Long),[c,u]);break;case"full":let l=Wt(e,"fullTime"),d=Wt(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 wS(e,t){return ut(e,3).substring(0,t)}function se(e,t,n=0,r=!1,o=!1){return function(i,s){let a=CS(e,i);if((n>0||a>-n)&&(a+=n),e===3)a===0&&n===-12&&(a=12);else if(e===6)return wS(a,t);let c=Nt(s,Oe.MinusSign);return ut(a,t,c,r,o)}}function CS(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 G(e,t,n=Ie.Format,r=!1){return function(o,i){return bS(o,i,e,t,n,r)}}function bS(e,t,n,r,o,i){switch(n){case 2:return Ov(t,o,r)[e.getMonth()];case 1:return xv(t,o,r)[e.getDay()];case 0:let s=e.getHours(),a=e.getMinutes();if(i){let u=Lv(t),l=jv(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 Av(t,o,r)[s<12?0:1];case 3:return Pv(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=Nt(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 TS=0,Xa=4;function _S(e){let t=ec(e,TS,1).getDay();return ec(e,0,1+(t<=Xa?Xa:Xa+7)-t)}function Vv(e){let t=e.getDay(),n=t===0?-3:Xa-t;return ec(e.getFullYear(),e.getMonth(),e.getDate()+n)}function bf(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=Vv(n),s=_S(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return ut(o,e,Nt(r,Oe.MinusSign))}}function Ja(e,t=!1){return function(n,r){let i=Vv(n).getFullYear();return ut(i,e,Nt(r,Oe.MinusSign),t)}}var Tf={};function SS(e){if(Tf[e])return Tf[e];let t;switch(e){case"G":case"GG":case"GGG":t=G(3,H.Abbreviated);break;case"GGGG":t=G(3,H.Wide);break;case"GGGGG":t=G(3,H.Narrow);break;case"y":t=se(0,1,0,!1,!0);break;case"yy":t=se(0,2,0,!0,!0);break;case"yyy":t=se(0,3,0,!1,!0);break;case"yyyy":t=se(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=se(1,1,1);break;case"MM":case"LL":t=se(1,2,1);break;case"MMM":t=G(2,H.Abbreviated);break;case"MMMM":t=G(2,H.Wide);break;case"MMMMM":t=G(2,H.Narrow);break;case"LLL":t=G(2,H.Abbreviated,Ie.Standalone);break;case"LLLL":t=G(2,H.Wide,Ie.Standalone);break;case"LLLLL":t=G(2,H.Narrow,Ie.Standalone);break;case"w":t=bf(1);break;case"ww":t=bf(2);break;case"W":t=bf(1,!0);break;case"d":t=se(2,1);break;case"dd":t=se(2,2);break;case"c":case"cc":t=se(7,1);break;case"ccc":t=G(1,H.Abbreviated,Ie.Standalone);break;case"cccc":t=G(1,H.Wide,Ie.Standalone);break;case"ccccc":t=G(1,H.Narrow,Ie.Standalone);break;case"cccccc":t=G(1,H.Short,Ie.Standalone);break;case"E":case"EE":case"EEE":t=G(1,H.Abbreviated);break;case"EEEE":t=G(1,H.Wide);break;case"EEEEE":t=G(1,H.Narrow);break;case"EEEEEE":t=G(1,H.Short);break;case"a":case"aa":case"aaa":t=G(0,H.Abbreviated);break;case"aaaa":t=G(0,H.Wide);break;case"aaaaa":t=G(0,H.Narrow);break;case"b":case"bb":case"bbb":t=G(0,H.Abbreviated,Ie.Standalone,!0);break;case"bbbb":t=G(0,H.Wide,Ie.Standalone,!0);break;case"bbbbb":t=G(0,H.Narrow,Ie.Standalone,!0);break;case"B":case"BB":case"BBB":t=G(0,H.Abbreviated,Ie.Format,!0);break;case"BBBB":t=G(0,H.Wide,Ie.Format,!0);break;case"BBBBB":t=G(0,H.Narrow,Ie.Format,!0);break;case"h":t=se(3,1,-12);break;case"hh":t=se(3,2,-12);break;case"H":t=se(3,1);break;case"HH":t=se(3,2);break;case"m":t=se(4,1);break;case"mm":t=se(4,2);break;case"s":t=se(5,1);break;case"ss":t=se(5,2);break;case"S":t=se(6,1);break;case"SS":t=se(6,2);break;case"SSS":t=se(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 Tf[e]=t,t}function Uv(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function MS(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function NS(e,t,n){let o=e.getTimezoneOffset(),i=Uv(t,o);return MS(e,-1*(i-o))}function RS(e){if(Tv(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(ES))return AS(r)}let t=new Date(e);if(!Tv(t))throw new m(2311,!1);return t}function AS(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 Tv(e){return e instanceof Date&&!isNaN(e.valueOf())}var xS=/^(\d+)?\.((\d+)(-(\d+))?)?$/,_v=22,tc=".",gi="0",OS=";",PS=",",_f="#";function kS(e,t,n,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=Nt(n,Oe.Infinity);else{let u=jS(e);s&&(u=LS(u));let l=t.minInt,d=t.minFrac,h=t.maxFrac;if(i){let L=i.match(xS);if(L===null)throw new m(2306,!1);let Me=L[1],ne=L[3],ft=L[5];Me!=null&&(l=Sf(Me)),ne!=null&&(d=Sf(ne)),ft!=null?h=Sf(ft):ne!=null&&d>h&&(h=d)}BS(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(Nt(n,r)),D.length&&(a+=Nt(n,o)+D.join("")),E&&(a+=Nt(n,Oe.Exponential)+"+"+E)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function $v(e,t,n){let r=kv(t,xf.Decimal),o=FS(r,Nt(t,Oe.MinusSign));return kS(e,o,t,Oe.Group,Oe.Decimal,n)}function FS(e,t="-"){let n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(OS),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(_f));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===gi?n.minFrac=n.maxFrac=l+1:d===_f?n.maxFrac=l+1:n.posSuf+=d}let u=a.split(PS);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(_f);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 LS(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 jS(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>_v&&(r=r.splice(0,_v-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function BS(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 Sf(e){let t=parseInt(e);if(isNaN(t))throw new m(2305,!1);return t}var Mf=/\s+/,Sv=[],VS=(()=>{class e{_ngEl;_renderer;initialClasses=Sv;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Mf):Sv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Mf):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(Mf).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)(ie(Ut),ie(ii))};static \u0275dir=zt({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var nc=class{$implicit;ngForOf;index;count;constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Hv=(()=>{class e{_viewContainer;_template;_differs;set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new nc(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),Mv(a,o)}});for(let o=0,i=r.length;o<i;o++){let a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{let i=r.get(o.currentIndex);Mv(i,o)})}static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(ie(Mt),ie(pn),ie(Ef))};static \u0275dir=zt({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return e})();function Mv(e,t){e.context.$implicit=t.item}var US=(()=>{class e{_viewContainer;_context=new rc;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){Nv(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Nv(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static \u0275fac=function(r){return new(r||e)(ie(Mt),ie(pn))};static \u0275dir=zt({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return e})(),rc=class{$implicit=null;ngIf=null};function Nv(e,t){if(e&&!e.createEmbeddedView)throw new m(2020,!1)}var $S=(()=>{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)(ie(Mt))};static \u0275dir=zt({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Hr]})}return e})();function Of(e,t){return new m(2100,!1)}var Nf=class{createSubscription(t,n,r){return at(()=>t.subscribe({next:n,error:r}))}dispose(t){at(()=>t.unsubscribe())}},Rf=class{createSubscription(t,n,r){return t.then(o=>n?.(o),o=>r?.(o)),{unsubscribe:()=>{n=null,r=null}}}dispose(t){t.unsubscribe()}},HS=new Rf,zS=new Nf,GS=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=p(Te);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 HS;if(Ua(n))return zS;throw Of(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)(ie(Yr,16))};static \u0275pipe=si({name:"async",type:e,pure:!1})}return e})();var qS="mediumDate",zv=new I(""),Gv=new I(""),WS=(()=>{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??qS,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Bv(n,s,i||this.locale,a)}catch(s){throw Of(e,s.message)}}static \u0275fac=function(r){return new(r||e)(ie(Zr,16),ie(zv,24),ie(Gv,24))};static \u0275pipe=si({name:"date",type:e,pure:!0})}return e})();var ZS=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!YS(n))return null;o||=this._locale;try{let i=QS(n);return $v(i,o,r)}catch(i){throw Of(e,i.message)}}static \u0275fac=function(r){return new(r||e)(ie(Zr,16))};static \u0275pipe=si({name:"number",type:e,pure:!0})}return e})();function YS(e){return!(e==null||e===""||e!==e)}function QS(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 qv=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=mn({type:e});static \u0275inj=Lt({})}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 kf="browser";function PH(e){return e===kf}var Wv=(()=>{class e{static \u0275prov=w({token:e,providedIn:"root",factory:()=>new Pf(p(Z),window)})}return e})(),Pf=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=KS(this.document,t);r&&(this.scrollToElement(r,n),r.focus())}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch{console.warn(Ft(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 KS(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 ic=new I(""),Vf=(()=>{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(ic),C(Q))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),yi=class{_doc;constructor(t){this._doc=t}manager},Ff="ng-app-id";function Zv(e){for(let t of e)t.remove()}function Yv(e,t){let n=t.createElement("style");return n.textContent=e,n}function JS(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Ff}="${t}"],link[${Ff}="${t}"]`);if(o)for(let i of o)i.removeAttribute(Ff),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 jf(e,t){let n=t.createElement("link");return n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),n}var Uf=(()=>{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,JS(n,r,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Yv);r?.forEach(o=>this.addUsage(o,this.external,jf))}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&&(Zv(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Zv(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Yv(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,jf(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(Gr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),Lf={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"},$f=/%COMP%/g;var Kv="%COMP%",XS=`_nghost-${Kv}`,eM=`_ngcontent-${Kv}`,tM=!0,nM=new I("",{providedIn:"root",factory:()=>tM});function rM(e){return eM.replace($f,e)}function oM(e){return XS.replace($f,e)}function Jv(e,t){return t.map(n=>n.replace($f,e))}var Hf=(()=>{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 oc?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 Bt.Emulated:i=new oc(c,u,r,this.appId,l,s,a,d,h);break;case Bt.ShadowDom:return new Bf(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(Vf),C(Uf),C(ba),C(nM),C(Z),C(Gr),C(Q),C(_a),C(yn,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(Lf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Qv(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Qv(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=Lf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=Lf[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=Gt().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 Qv(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var Bf=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=Jv(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=jf(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?Jv(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)}},oc=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=rM(l),this.hostAttr=oM(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 sc=class e extends li{supportsDOMEvents=!0;static makeCurrent(){If(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=iM();return n==null?null:sM(n)}resetBaseElement(){Ei=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return mi(document.cookie,t)}},Ei=null;function iM(){return Ei=Ei||document.head.querySelector("base"),Ei?Ei.getAttribute("href"):null}function sM(e){return new URL(e,document.baseURI).pathname}var aM=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})(),eD=(()=>{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})(),Xv=["alt","control","meta","shift"],cM={"\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"},uM={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},tD=(()=>{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(()=>Gt().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."),Xv.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=cM[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"),Xv.forEach(s=>{if(s!==o){let a=uM[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 lM(e,t,n){let r=y({rootComponent:e,platformRef:n?.platformRef},dM(t));return yv(r)}function dM(e){return{appProviders:[...mM,...e?.providers??[]],platformProviders:gM}}function fM(){sc.makeCurrent()}function hM(){return new Be}function pM(){return cd(document),document}var gM=[{provide:Gr,useValue:kf},{provide:Ta,useValue:fM,multi:!0},{provide:Z,useFactory:pM}];var mM=[{provide:Ro,useValue:"root"},{provide:Be,useFactory:hM},{provide:ic,useClass:eD,multi:!0,deps:[Z]},{provide:ic,useClass:tD,multi:!0,deps:[Z]},Hf,Uf,Vf,{provide:Jn,useExisting:Hf},{provide:nr,useClass:aM},[]];var Jr=class{},Ii=class{},In=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 cc=class{encodeKey(t){return nD(t)}encodeValue(t){return nD(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function yM(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 vM=/%(\d[a-f0-9])/gi,DM={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function nD(e){return encodeURIComponent(e).replace(vM,(t,n)=>DM[n]??t)}function ac(e){return`${e}`}var Zt=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new cc,t.fromString){if(t.fromObject)throw new m(2805,!1);this.map=yM(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(ac):[ac(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(ac(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(ac(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 uc=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 EM(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function rD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function oD(e){return typeof Blob<"u"&&e instanceof Blob}function iD(e){return typeof FormData<"u"&&e instanceof FormData}function IM(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var sD="Content-Type",aD="Accept",cD="X-Request-URL",uD="text/plain",lD="application/json",wM=`${lD}, ${uD}, */*`,Qr=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(EM(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 In,this.context??=new uc,!this.params)this.params=new Zt,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"||rD(this.body)||oD(this.body)||iD(this.body)||IM(this.body)?this.body:this.body instanceof Zt?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||iD(this.body)?null:oD(this.body)?this.body.type||null:rD(this.body)?null:typeof this.body=="string"?uD:this.body instanceof Zt?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?lD: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,Me=t.params||this.params,ne=t.context??this.context;return t.setHeaders!==void 0&&(L=Object.keys(t.setHeaders).reduce((ft,Tn)=>ft.set(Tn,t.setHeaders[Tn]),L)),t.setParams&&(Me=Object.keys(t.setParams).reduce((ft,Tn)=>ft.set(Tn,t.setParams[Tn]),Me)),new e(n,r,E,{params:Me,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||{}),Xr=class{headers;status;statusText;url;ok;type;redirected;constructor(t,n=200,r="OK"){this.headers=t.headers||new In,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}},lc=class e extends Xr{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 Xr{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})}},Kr=class extends Xr{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}},CM=200,bM=204;function zf(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 dD=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Qr)i=n;else{let c;o.headers instanceof In?c=o.headers:c=new In(o.headers);let u;o.params&&(o.params instanceof Zt?u=o.params:u=new Zt({fromObject:o.params})),i=new Qr(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 Qr||o.observe==="events")return s;let a=s.pipe(ae(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 Zt().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,zf(o,r))}post(n,r,o={}){return this.request("POST",n,zf(o,r))}put(n,r,o={}){return this.request("PUT",n,zf(o,r))}static \u0275fac=function(r){return new(r||e)(C(Jr))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();var TM=new I("");function _M(e,t){return t(e)}function SM(e,t,n){return(r,o)=>pe(n,()=>t(r,i=>e(i,o)))}var fD=new I(""),hD=new I(""),pD=new I("",{providedIn:"root",factory:()=>!0});var dc=(()=>{class e extends Jr{backend;injector;chain=null;pendingTasks=p(Vo);contributeToStability=p(pD);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(fD),...this.injector.get(hD,[])]));this.chain=r.reduceRight((o,i)=>SM(o,i,this.injector),_M)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(Rn(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 MM=/^\)\]\}',?\n/,NM=RegExp(`^${cD}:`,"m");function RM(e){return"responseURL"in e&&e.responseURL?e.responseURL:NM.test(e.getAllResponseHeaders())?e.getResponseHeader(cD):null}var Gf=(()=>{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(fe(()=>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(aD)||s.setRequestHeader(aD,wM),!n.headers.has(sD)){let D=n.detectContentTypeHeader();D!==null&&s.setRequestHeader(sD,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 In(s.getAllResponseHeaders()),L=RM(s)||n.url;return c=new lc({headers:v,status:s.status,statusText:D,url:L}),c},l=()=>{let{headers:D,status:v,statusText:L,url:Me}=u(),ne=null;v!==bM&&(ne=typeof s.response>"u"?s.responseText:s.response),v===0&&(v=ne?CM:0);let ft=v>=200&&v<300;if(n.responseType==="json"&&typeof ne=="string"){let Tn=ne;ne=ne.replace(MM,"");try{ne=ne!==""?JSON.parse(ne):null}catch(yE){ne=Tn,ft&&(ft=!1,ne={error:yE,text:ne})}}ft?(i.next(new wi({body:ne,headers:D,status:v,statusText:L,url:Me||void 0})),i.complete()):i.error(new Kr({error:ne,headers:D,status:v,statusText:L,url:Me||void 0}))},d=D=>{let{url:v}=u(),L=new Kr({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 Kr({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})(),gD=new I(""),AM="XSRF-TOKEN",xM=new I("",{providedIn:"root",factory:()=>AM}),OM="X-XSRF-TOKEN",PM=new I("",{providedIn:"root",factory:()=>OM}),Ci=class{},kM=(()=>{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(xM))};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function FM(e,t){let n=e.url.toLowerCase();if(!p(gD)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=p(Ci).getToken(),o=p(PM);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}function LM(...e){let t=[dD,Gf,dc,{provide:Jr,useExisting:dc},{provide:Ii,useFactory:()=>p(TM,{optional:!0})??p(Gf)},{provide:fD,useValue:FM,multi:!0},{provide:gD,useValue:!0},{provide:Ci,useClass:kM}];for(let n of e)t.push(...n.\u0275providers);return Je(t)}var mD=(()=>{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 jM=(()=>{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(BM),o},providedIn:"root"})}return e})(),BM=(()=>{class e extends jM{_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 $t(r,"HTML")?We(r):Ra(this._doc,String(r)).toString();case it.STYLE:return $t(r,"Style")?We(r):r;case it.SCRIPT:if($t(r,"Script"))return We(r);throw new m(5200,!1);case it.URL:return $t(r,"URL")?We(r):Jo(String(r));case it.RESOURCE_URL:if($t(r,"ResourceURL"))return We(r);throw new m(5201,!1);default:throw new m(5202,!1)}}bypassSecurityTrustHtml(n){return dd(n)}bypassSecurityTrustStyle(n){return fd(n)}bypassSecurityTrustScript(n){return hd(n)}bypassSecurityTrustUrl(n){return pd(n)}bypassSecurityTrustResourceUrl(n){return gd(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"),Qf=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 Qf(e)}function bD(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 UM(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Rt(e[n],t[n]))return!1;return!0}function Rt(e,t){let n=e?Kf(e):void 0,r=t?Kf(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],!TD(e[o],t[o]))return!1;return!0}function Kf(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}function TD(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 _D(e){return e.length>0?e[e.length-1]:null}function Qt(e){return Qc(e)?e:tr(e)?W(Promise.resolve(e)):_(e)}var $M={exact:MD,subset:ND},SD={exact:HM,subset:zM,ignored:()=>!0};function yD(e,t,n){return $M[n.paths](e.root,t.root,n.matrixParams)&&SD[n.queryParams](e.queryParams,t.queryParams)&&!(n.fragment==="exact"&&e.fragment!==t.fragment)}function HM(e,t){return Rt(e,t)}function MD(e,t,n){if(!or(e.segments,t.segments)||!pc(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(let r in t.children)if(!e.children[r]||!MD(e.children[r],t.children[r],n))return!1;return!0}function zM(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>TD(e[n],t[n]))}function ND(e,t,n){return RD(e,t,t.segments,n)}function RD(e,t,n,r){if(e.segments.length>n.length){let o=e.segments.slice(0,n.length);return!(!or(o,n)||t.hasChildren()||!pc(o,n,r))}else if(e.segments.length===n.length){if(!or(e.segments,n)||!pc(e.segments,n,r))return!1;for(let o in t.children)if(!e.children[o]||!ND(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)||!pc(e.segments,o,r)||!e.children[P]?!1:RD(e.children[P],t,i,r)}}function pc(e,t,n){return t.every((r,o)=>SD[n](e[o].parameters,r.parameters))}var xt=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 WM.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 gc(this)}},wn=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 xD(this)}};function GM(e,t){return or(e,t)&&e.every((n,r)=>Rt(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 qM(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 Cn,providedIn:"root"})}return e})(),Cn=class{parse(t){let n=new Xf(t);return new xt(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){let n=`/${bi(t.root,!0)}`,r=QM(t.queryParams),o=typeof t.fragment=="string"?`#${ZM(t.fragment)}`:"";return`${n}${r}${o}`}},WM=new Cn;function gc(e){return e.segments.map(t=>xD(t)).join("/")}function bi(e,t){if(!e.hasChildren())return gc(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=qM(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?`${gc(e)}/${n[0]}`:`${gc(e)}/(${n.join("//")})`}}function AD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fc(e){return AD(e).replace(/%3B/gi,";")}function ZM(e){return encodeURI(e)}function Jf(e){return AD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function mc(e){return decodeURIComponent(e)}function vD(e){return mc(e.replace(/\+/g,"%20"))}function xD(e){return`${Jf(e.path)}${YM(e.parameters)}`}function YM(e){return Object.entries(e).map(([t,n])=>`;${Jf(t)}=${Jf(n)}`).join("")}function QM(e){let t=Object.entries(e).map(([n,r])=>Array.isArray(r)?r.map(o=>`${fc(n)}=${fc(o)}`).join("&"):`${fc(n)}=${fc(r)}`).filter(n=>n);return t.length?`?${t.join("&")}`:""}var KM=/^[^\/()?;#]+/;function qf(e){let t=e.match(KM);return t?t[0]:""}var JM=/^[^\/()?;=#]+/;function XM(e){let t=e.match(JM);return t?t[0]:""}var eN=/^[^=?&#]+/;function tN(e){let t=e.match(eN);return t?t[0]:""}var nN=/^[^&#]+/;function rN(e){let t=e.match(nN);return t?t[0]:""}var Xf=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=qf(this.remaining);if(t===""&&this.peekStartsWith(";"))throw new m(4009,!1);return this.capture(t),new wn(mc(t),this.parseMatrixParams())}parseMatrixParams(){let t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){let n=XM(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let o=qf(this.remaining);o&&(r=o,this.capture(r))}t[mc(n)]=mc(r)}parseQueryParam(t){let n=tN(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let s=rN(this.remaining);s&&(r=s,this.capture(r))}let o=vD(n),i=vD(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=qf(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 OD(e){return e.segments.length>0?new j([],{[P]:e}):e}function PD(e){let t={};for(let[r,o]of Object.entries(e.children)){let i=PD(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 oN(n)}function oN(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 io(e){return e instanceof xt}function kD(e,t,n=null,r=null){let o=FD(e);return LD(o,t,n,r)}function FD(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=OD(r);return t??o}function LD(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(t.length===0)return Wf(o,o,o,n,r);let i=iN(t);if(i.toRoot())return Wf(o,o,new j([],{}),n,r);let s=sN(i,o,e),a=s.processChildren?_i(s.segmentGroup,s.index,i.commands):BD(s.segmentGroup,s.index,i.commands);return Wf(o,s.segmentGroup,a,n,r)}function yc(e){return typeof e=="object"&&e!=null&&!e.outlets&&!e.segmentPath}function Mi(e){return typeof e=="object"&&e!=null&&e.outlets}function Wf(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=jD(e,t,n);let a=OD(PD(s));return new xt(a,i,o)}function jD(e,t,n){let r={};return Object.entries(e.children).forEach(([o,i])=>{i===t?r[o]=n:r[o]=jD(i,t,n)}),new j(e.segments,r)}var vc=class{isAbsolute;numberOfDoubleDots;commands;constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&yc(r[0]))throw new m(4003,!1);let o=r.find(Mi);if(o&&o!==_D(r))throw new m(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function iN(e){if(typeof e[0]=="string"&&e.length===1&&e[0]==="/")return new vc(!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 vc(n,t,r)}var no=class{segmentGroup;processChildren;index;constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}};function sN(e,t,n){if(e.isAbsolute)return new no(t,!0,0);if(!n)return new no(t,!1,NaN);if(n.parent===null)return new no(n,!0,0);let r=yc(e.commands[0])?0:1,o=n.segments.length-1+r;return aN(n,o,e.numberOfDoubleDots)}function aN(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 no(r,!1,o-i)}function cN(e){return Mi(e[0])?e[0].outlets:{[P]:e}}function BD(e,t,n){if(e??=new j([],{}),e.segments.length===0&&e.hasChildren())return _i(e,t,n);let r=uN(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()?eh(e,t,n):r.match?_i(e,0,o):eh(e,t,n)}function _i(e,t,n){if(n.length===0)return new j(e.segments,{});{let r=cN(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]=BD(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 uN(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(!ED(c,u,s))return i;r+=2}else{if(!ED(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function eh(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=lN(i.outlets);return new j(r,c)}if(o===0&&yc(n[0])){let c=e.segments[t];r.push(new wn(c.path,DD(n[0]))),o++;continue}let s=Mi(i)?i.outlets[P]:`${i}`,a=o<n.length-1?n[o+1]:null;s&&a&&yc(a)?(r.push(new wn(s,DD(a))),o+=2):(r.push(new wn(s,{})),o++)}return new j(r,{})}function lN(e){let t={};return Object.entries(e).forEach(([n,r])=>{typeof r=="string"&&(r=[r]),r!==null&&(t[n]=eh(new j([],{}),0,r))}),t}function DD(e){let t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function ED(e,t,n){return e==n.path&&Rt(t,n.parameters)}var ro="imperative",de=(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})(de||{}),je=class{id;url;constructor(t,n){this.id=t,this.url=n}},bn=class extends je{type=de.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 je{urlAfterRedirects;type=de.NavigationEnd;constructor(t,n,r){super(t,n),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Se=(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})(Se||{}),so=(function(e){return e[e.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",e[e.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",e})(so||{}),At=class extends je{reason;code;type=de.NavigationCancel;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ot=class extends je{reason;code;type=de.NavigationSkipped;constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o}},ao=class extends je{error;target;type=de.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 je{urlAfterRedirects;state;type=de.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})`}},Dc=class extends je{urlAfterRedirects;state;type=de.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})`}},Ec=class extends je{urlAfterRedirects;state;shouldActivate;type=de.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})`}},Ic=class extends je{urlAfterRedirects;state;type=de.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})`}},wc=class extends je{urlAfterRedirects;state;type=de.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})`}},Cc=class{route;type=de.RouteConfigLoadStart;constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},bc=class{route;type=de.RouteConfigLoadEnd;constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Tc=class{snapshot;type=de.ChildActivationStart;constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},_c=class{snapshot;type=de.ChildActivationEnd;constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sc=class{snapshot;type=de.ActivationStart;constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Mc=class{snapshot;type=de.ActivationEnd;constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},co=class{routerEvent;position;anchor;type=de.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{},uo=class{url;navigationBehaviorOptions;constructor(t,n){this.url=t,this.navigationBehaviorOptions=n}};function dN(e){return!(e instanceof Ri)&&!(e instanceof uo)}function fN(e,t){return e.providers&&!e._injector&&(e._injector=Wr(e.providers,t,`Route: ${e.path}`)),e._injector??t}function lt(e){return e.outlet||P}function hN(e,t){let n=e.filter(r=>lt(r)===t);return n.push(...e.filter(r=>lt(r)!==t)),n}function ho(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 Nc=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return ho(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 Nc(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})(),Rc=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=th(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){let n=th(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){let n=nh(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return nh(t,this._root).map(n=>n.value)}};function th(e,t){if(e===t.value)return t;for(let n of t.children){let r=th(e,n);if(r)return r}return null}function nh(e,t){if(e===t.value)return[t];for(let n of t.children){let r=nh(e,n);if(r.length)return r.unshift(t),r}return[]}var Le=class{value;children;constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}};function to(e){let t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}var Ai=class extends Rc{snapshot;constructor(t,n){super(t),this.snapshot=n,lh(this,t)}toString(){return this.snapshot.toString()}};function VD(e){let t=pN(e),n=new ge([new wn("",{})]),r=new ge({}),o=new ge({}),i=new ge({}),s=new ge(""),a=new Yt(n,r,i,s,o,P,e,t.root);return a.snapshot=t.root,new Ai(new Le(a,[]),t)}function pN(e){let t={},n={},r={},i=new ir([],t,r,"",n,P,e,null,{});return new xi("",new Le(i,[]))}var Yt=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 Ac(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&&$D(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 Rc{url;constructor(t,n){super(n),this.url=t,lh(this,n)}toString(){return UD(this._root)}};function lh(e,t){t.value._routerState=e,t.children.forEach(n=>lh(e,n))}function UD(e){let t=e.children.length>0?` { ${e.children.map(UD).join(", ")} } `:"";return`${e.value}${t}`}function Zf(e){if(e.snapshot){let t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Rt(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),Rt(t.params,n.params)||e.paramsSubject.next(n.params),UM(t.url,n.url)||e.urlSubject.next(n.url),Rt(t.data,n.data)||e.dataSubject.next(n.data)}else e.snapshot=e._futureSnapshot,e.dataSubject.next(e._futureSnapshot.data)}function rh(e,t){let n=Rt(e.params,t.params)&&GM(e.url,t.url),r=!e.parent!=!t.parent;return n&&!r&&(!e.parent||rh(e.parent,t.parent))}function $D(e){return typeof e.title=="string"||e.title===null}var HD=new I(""),dh=(()=>{class e{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=P;activateEvents=new _e;deactivateEvents=new _e;attachEvents=new _e;detachEvents=new _e;routerOutletData=mv(void 0);parentContexts=p(cr);location=p(Mt);changeDetector=p(Yr);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 oh(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=zt({type:e,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[Hr]})}return e})(),oh=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===Yt?this.route:t===cr?this.childContexts:t===HD?this.outletData:this.parent.get(t,n)}},Li=new I(""),fh=(()=>{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=Do([r.queryParams,r.params,r.data]).pipe(fe(([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=Ev(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})(),hh=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Vd({type:e,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&Ha(0,"router-outlet")},dependencies:[dh],encapsulation:2})}return e})();function ph(e){let t=e.children&&e.children.map(ph),n=t?F(y({},e),{children:t}):y({},e);return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==P&&(n.component=hh),n}function gN(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=mN(e,t,n);return new Le(r,o)}else{if(e.shouldAttach(t.value)){let i=e.retrieve(t.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>Oi(e,a)),s}}let r=yN(t.value),o=t.children.map(i=>Oi(e,i));return new Le(r,o)}}function mN(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 yN(e){return new Yt(new ge(e.url),new ge(e.params),new ge(e.queryParams),new ge(e.fragment),new ge(e.data),e.outlet,e.component,e)}var lo=class{redirectTo;navigationBehaviorOptions;constructor(t,n){this.redirectTo=t,this.navigationBehaviorOptions=n}},zD="ngNavigationCancelingError";function xc(e,t){let{redirectTo:n,navigationBehaviorOptions:r}=io(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=GD(!1,Se.Redirect);return o.url=n,o.navigationBehaviorOptions=r,o}function GD(e,t){let n=new Error(`NavigationCancelingError: ${e||""}`);return n[zD]=!0,n.cancellationCode=t,n}function vN(e){return qD(e)&&io(e.url)}function qD(e){return!!e&&e[zD]}var DN=(e,t,n,r)=>x(o=>(new ih(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)),ih=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),Zf(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){let o=to(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=to(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=to(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=to(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Mc(i.value.snapshot))}),t.children.length&&this.forwardEvent(new _c(t.value.snapshot))}activateRoutes(t,n,r){let o=t.value,i=n?n.value:null;if(Zf(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),Zf(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)}},Oc=class{path;route;constructor(t){this.path=t,this.route=this.path[this.path.length-1]}},oo=class{component;route;constructor(t,n){this.component=t,this.route=n}};function EN(e,t,n){let r=e._root,o=t?t._root:null;return Ti(r,o,n,[r.value])}function IN(e){let t=e.routeConfig?e.routeConfig.canActivateChild:null;return!t||t.length===0?null:{node:e,guards:t}}function po(e,t){let n=Symbol(),r=t.get(e,n);return r===n?typeof e=="function"&&!Iu(e)?e:t.get(e):r}function Ti(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=to(t);return e.children.forEach(s=>{wN(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 wN(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=CN(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Oc(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 oo(a.outlet.component,s))}else s&&Si(t,a,o),o.canActivateChecks.push(new Oc(r)),i.component?Ti(e,null,a?a.children:null,r,o):Ti(e,null,n,r,o);return o}function CN(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)||!Rt(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rh(e,t)||!Rt(e.queryParams,t.queryParams);case"paramsChange":default:return!rh(e,t)}}function Si(e,t,n){let r=to(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 oo(t.outlet.component,o)):n.canDeactivateChecks.push(new oo(null,o)):n.canDeactivateChecks.push(new oo(null,o))}function ji(e){return typeof e=="function"}function bN(e){return typeof e=="boolean"}function TN(e){return e&&ji(e.canLoad)}function _N(e){return e&&ji(e.canActivate)}function SN(e){return e&&ji(e.canActivateChild)}function MN(e){return e&&ji(e.canDeactivate)}function NN(e){return e&&ji(e.canMatch)}function WD(e){return e instanceof Pe||e?.name==="EmptyError"}var hc=Symbol("INITIAL_VALUE");function fo(){return fe(e=>Do(e.map(t=>t.pipe(mt(1),hs(hc)))).pipe(x(t=>{for(let n of t)if(n!==!0){if(n===hc)return hc;if(n===!1||RN(n))return n}return!0}),ae(t=>t!==hc),mt(1)))}function RN(e){return io(e)||e instanceof lo}function AN(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})):xN(s,r,o,e).pipe(Y(a=>a&&bN(a)?ON(r,i,e,t):_(a)),x(a=>F(y({},n),{guardsResult:a})))})}function xN(e,t,n,r){return W(e).pipe(Y(o=>jN(o.component,o.route,n,t,r)),yt(o=>o!==!0,!0))}function ON(e,t,n,r){return W(t).pipe(gt(o=>wr(kN(o.route.parent,r),PN(o.route,r),LN(e,o.path,n),FN(e,o.route,n))),yt(o=>o!==!0,!0))}function PN(e,t){return e!==null&&t&&t(new Sc(e)),_(!0)}function kN(e,t){return e!==null&&t&&t(new Tc(e)),_(!0)}function FN(e,t,n){let r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||r.length===0)return _(!0);let o=r.map(i=>Eo(()=>{let s=ho(t)??n,a=po(i,s),c=_N(a)?a.canActivate(t,e):pe(s,()=>a(t,e));return Qt(c).pipe(yt())}));return _(o).pipe(fo())}function LN(e,t,n){let r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>IN(s)).filter(s=>s!==null).map(s=>Eo(()=>{let a=s.guards.map(c=>{let u=ho(s.node)??n,l=po(c,u),d=SN(l)?l.canActivateChild(r,e):pe(u,()=>l(r,e));return Qt(d).pipe(yt())});return _(a).pipe(fo())}));return _(i).pipe(fo())}function jN(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=ho(t)??o,u=po(a,c),l=MN(u)?u.canDeactivate(e,t,n,r):pe(c,()=>u(e,t,n,r));return Qt(l).pipe(yt())});return _(s).pipe(fo())}function BN(e,t,n,r){let o=t.canLoad;if(o===void 0||o.length===0)return _(!0);let i=o.map(s=>{let a=po(s,e),c=TN(a)?a.canLoad(t,n):pe(e,()=>a(t,n));return Qt(c)});return _(i).pipe(fo(),ZD(r))}function ZD(e){return Gc(he(t=>{if(typeof t!="boolean")throw xc(e,t)}),x(t=>t===!0))}function VN(e,t,n,r){let o=t.canMatch;if(!o||o.length===0)return _(!0);let i=o.map(s=>{let a=po(s,e),c=NN(a)?a.canMatch(t,n):pe(e,()=>a(t,n));return Qt(c)});return _(i).pipe(fo(),ZD(r))}var Pi=class{segmentGroup;constructor(t){this.segmentGroup=t||null}},ki=class extends Error{urlTree;constructor(t){super(),this.urlTree=t}};function eo(e){return Er(new Pi(e))}function UN(e){return Er(new m(4e3,!1))}function $N(e){return Er(GD(!1,Se.GuardRejected))}var sh=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 UN(`${t.redirectTo}`);o=o.children[P]}}applyRedirectCommands(t,n,r,o,i){return HN(n,o,i).pipe(x(s=>{if(s instanceof xt)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 xt(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 HN(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 Qt(pe(n,()=>r({params:u,data:l,queryParams:o,fragment:i,routeConfig:s,url:a,outlet:c,title:d})))}var ah={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function zN(e,t,n,r,o){let i=YD(e,t,n);return i.matched?(r=fN(t,r),VN(r,t,n,o).pipe(x(s=>s===!0?i:y({},ah)))):_(i)}function YD(e,t,n){if(t.path==="**")return GN(n);if(t.path==="")return t.pathMatch==="full"&&(e.hasChildren()||n.length>0)?y({},ah):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let o=(t.matcher||bD)(n,e,t);if(!o)return y({},ah);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 GN(e){return{matched:!0,parameters:e.length>0?_D(e).parameters:{},consumedSegments:e,remainingSegments:[],positionalParamSegments:{}}}function ID(e,t,n,r){return n.length>0&&ZN(e,n,r)?{segmentGroup:new j(t,WN(r,new j(n,e.children))),slicedSegments:[]}:n.length===0&&YN(e,n,r)?{segmentGroup:new j(e.segments,qN(e,n,r,e.children)),slicedSegments:n}:{segmentGroup:new j(e.segments,e.children),slicedSegments:n}}function qN(e,t,n,r){let o={};for(let i of n)if(kc(e,t,i)&&!r[lt(i)]){let s=new j([],{});o[lt(i)]=s}return y(y({},r),o)}function WN(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 ZN(e,t,n){return n.some(r=>kc(e,t,r)&&lt(r)!==P)}function YN(e,t,n){return n.some(r=>kc(e,t,r))}function kc(e,t,n){return(e.hasChildren()||t.length>0)&&n.pathMatch==="full"?!1:n.path===""}function QN(e,t,n){return t.length===0&&!e.children[n]}var ch=class{};function KN(e,t,n,r,o,i,s="emptyOnly"){return new uh(e,t,n,r,o,s,i).recognize()}var JN=31,uh=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 sh(this.urlSerializer,this.urlTree)}noMatchError(t){return new m(4002,`'${t.segmentGroup}'`)}recognize(){let t=ID(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(t).pipe(x(({children:n,rootSnapshot:r})=>{let o=new Le(r,n),i=new xi("",o),s=kD(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 Le?[s]:[]))}processChildren(t,n,r,o){let i=[];for(let s of Object.keys(r.children))s==="primary"?i.unshift(s):i.push(s);return W(i).pipe(gt(s=>{let a=r.children[s],c=hN(n,s);return this.processSegmentGroup(t,c,a,s,o)}),Xc((s,a)=>(s.push(...a),s)),Xt(null),Jc(),Y(s=>{if(s===null)return eo(r);let a=QD(s);return XN(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(WD(c))return QN(r,o,i)?_(new ch):eo(r);throw c}))}processSegmentAgainstRoute(t,n,r,o,i,s,a,c){return lt(r)!==s&&(s===P||!kc(o,i,r))?eo(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):eo(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=YD(n,o,i);if(!c)return eo(n);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>JN&&(this.allowRedirects=!1));let f=new ir(i,u,Object.freeze(y({},this.urlTree.queryParams)),this.urlTree.fragment,wD(o),lt(o),o.component??o._loadedComponent??null,o,CD(o)),g=Ac(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(fe(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=zN(n,r,o,t,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(fe(c=>c.matched?(t=r._injector??t,this.getChildConfig(t,r,o).pipe(fe(({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,wD(r),lt(r),r.component??r._loadedComponent??null,r,CD(r)),E=Ac(g,s,this.paramsInheritanceStrategy);g.params=Object.freeze(E.params),g.data=Object.freeze(E.data);let{segmentGroup:D,slicedSegments:v}=ID(n,h,f,u);if(v.length===0&&D.hasChildren())return this.processChildren(l,u,D,g).pipe(x(Me=>new Le(g,Me)));if(u.length===0&&v.length===0)return _(new Le(g,[]));let L=lt(r)===i;return this.processSegment(l,u,D,v,L?P:i,!0,g).pipe(x(Me=>new Le(g,Me instanceof Le?[Me]:[])))}))):eo(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}):BN(t,n,r,this.urlSerializer).pipe(Y(o=>o?this.configLoader.loadChildren(t,n).pipe(he(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):$N(n))):_({routes:[],injector:t})}};function XN(e){e.sort((t,n)=>t.value.outlet===P?-1:n.value.outlet===P?1:t.value.outlet.localeCompare(n.value.outlet))}function eR(e){let t=e.value.routeConfig;return t&&t.path===""}function QD(e){let t=[],n=new Set;for(let r of e){if(!eR(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=QD(r.children);t.push(new Le(r.value,o))}return t.filter(r=>!n.has(r))}function wD(e){return e.data||{}}function CD(e){return e.resolve||{}}function tR(e,t,n,r,o,i){return Y(s=>KN(e,t,n,r,s.extractedUrl,o,i).pipe(x(({state:a,tree:c})=>F(y({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function nR(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 KD(c))s.add(u);let a=0;return W(s).pipe(gt(c=>i.has(c)?rR(c,r,e,t):(c.data=Ac(c,c.parent,e).resolve,_(void 0))),he(()=>a++),Cr(1),Y(c=>a===s.size?_(n):ye))})}function KD(e){let t=e.children.map(n=>KD(n)).flat();return[e,...t]}function rR(e,t,n,r){let o=e.routeConfig,i=e._resolve;return o?.title!==void 0&&!$D(o)&&(i[Fi]=o.title),Eo(()=>(e.data=Ac(e,e.parent,n).resolve,oR(i,e,t,r).pipe(x(s=>(e._resolvedData=s,e.data=y(y({},e.data),s),null)))))}function oR(e,t,n,r){let o=Kf(e);if(o.length===0)return _({});let i={};return W(o).pipe(Y(s=>iR(e[s],t,n,r).pipe(yt(),he(a=>{if(a instanceof lo)throw xc(new Cn,a);i[s]=a}))),Cr(1),x(()=>i),pt(s=>WD(s)?ye:Er(s)))}function iR(e,t,n,r){let o=ho(t)??r,i=po(e,o),s=i.resolve?i.resolve(t,n):pe(o,()=>i(t,n));return Qt(s)}function Yf(e){return fe(t=>{let n=e(t);return n?W(n).pipe(x(()=>t)):_(t)})}var gh=(()=>{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(JD),providedIn:"root"})}return e})(),JD=(()=>{class e extends gh{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(mD))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ur=new I("",{providedIn:"root",factory:()=>({})}),lr=new I(""),Fc=(()=>{class e{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=p(cf);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=Qt(pe(n,()=>r.loadComponent())).pipe(x(eE),fe(tE),he(s=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s}),Rn(()=>{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=XD(r,this.compiler,n,this.onLoadEndListener).pipe(Rn(()=>{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 XD(e,t,n,r){return Qt(pe(n,()=>e.loadChildren())).pipe(x(eE),fe(tE),Y(o=>o instanceof La||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(ph),injector:i}}))}function sR(e){return e&&typeof e=="object"&&"default"in e}function eE(e){return sR(e)?e.default:e}function tE(e){return _(e)}var Lc=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(aR),providedIn:"root"})}return e})(),aR=(()=>{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})(),mh=new I(""),yh=new I("");function nE(e,t,n){let r=e.get(yh),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(),cR(e)));a.ready.catch(u=>{});let{onViewTransitionCreated:c}=r;return c&&pe(e,()=>c({transition:a,from:t,to:n})),s}function cR(e){return new Promise(t=>{Gd({read:()=>setTimeout(t)},{injector:e})})}var vh=new I(""),jc=(()=>{class e{currentNavigation=Wn(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=null;events=new J;transitionAbortWithErrorSubject=new J;configLoader=p(Fc);environmentInjector=p(te);destroyRef=p(qe);urlSerializer=p(ar);rootContexts=p(cr);location=p(En);inputBindingEnabled=p(Li,{optional:!0})!==null;titleStrategy=p(gh);options=p(ur,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=p(Lc);createViewTransition=p(mh,{optional:!0});navigationErrorHandler=p(vh,{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 Cc(o)),r=o=>this.events.next(new bc(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 ge(null),this.transitions.pipe(ae(r=>r!==null),fe(r=>{let o=!1;return _(r).pipe(fe(i=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",Se.SupersededByNewNavigation),ye;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 Ot(i.id,this.urlSerializer.serialize(i.rawUrl),"",so.IgnoredSameUrlNavigation)),i.resolve(!1),ye;if(this.urlHandlingStrategy.shouldProcessUrl(i.rawUrl))return _(i).pipe(fe(c=>(this.events.next(new bn(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?ye:Promise.resolve(c))),tR(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),he(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 bn(c,this.urlSerializer.serialize(u),l,d);this.events.next(f);let g=VD(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 Ot(i.id,this.urlSerializer.serialize(i.extractedUrl),"",so.IgnoredByUrlHandlingStrategy)),i.resolve(!1),ye}),he(i=>{let s=new Dc(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:EN(i.targetSnapshot,i.currentSnapshot,this.rootContexts)}),r)),AN(this.environmentInjector,i=>this.events.next(i)),he(i=>{if(r.guardsResult=i.guardsResult,i.guardsResult&&typeof i.guardsResult!="boolean")throw xc(this.urlSerializer,i.guardsResult);let s=new Ec(i.id,this.urlSerializer.serialize(i.extractedUrl),this.urlSerializer.serialize(i.urlAfterRedirects),i.targetSnapshot,!!i.guardsResult);this.events.next(s)}),ae(i=>i.guardsResult?!0:(this.cancelNavigationTransition(i,"",Se.GuardRejected),!1)),Yf(i=>{if(i.guards.canActivateChecks.length!==0)return _(i).pipe(he(s=>{let a=new Ic(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),fe(s=>{let a=!1;return _(s).pipe(nR(this.paramsInheritanceStrategy,this.environmentInjector),he({next:()=>a=!0,complete:()=>{a||this.cancelNavigationTransition(s,"",Se.NoDataFromResolver)}}))}),he(s=>{let a=new wc(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}))}),Yf(i=>{let s=a=>{let c=[];if(a.routeConfig?.loadComponent){let u=ho(a)??this.environmentInjector;c.push(this.configLoader.loadComponent(u,a.routeConfig).pipe(he(l=>{a.component=l}),x(()=>{})))}for(let u of a.children)c.push(...s(u));return c};return Do(s(i.targetSnapshot.root)).pipe(Xt(null),mt(1))}),Yf(()=>this.afterPreactivation()),fe(()=>{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=gN(n.routeReuseStrategy,i.targetSnapshot,i.currentRouterState);return this.currentTransition=r=F(y({},i),{targetRouterState:s}),this.currentNavigation.update(a=>(a.targetRouterState=s,a)),r}),he(()=>{this.events.next(new Ri)}),DN(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(ae(()=>!o&&!r.targetRouterState),he(()=>{this.cancelNavigationTransition(r,r.abortController.signal.reason+"",Se.Aborted)}))),he({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(he(i=>{throw i}))),Rn(()=>{o||this.cancelNavigationTransition(r,"",Se.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),pt(i=>{if(this.destroyed)return r.resolve(!1),ye;if(o=!0,qD(i))this.events.next(new At(r.id,this.urlSerializer.serialize(r.extractedUrl),i.message,i.cancellationCode)),vN(i)?this.events.next(new uo(i.url,i.navigationBehaviorOptions)):r.resolve(!1);else{let s=new ao(r.id,this.urlSerializer.serialize(r.extractedUrl),i,r.targetSnapshot??void 0);try{let a=pe(this.environmentInjector,()=>this.navigationErrorHandler?.(s));if(a instanceof lo){let{message:c,cancellationCode:u}=xc(this.urlSerializer,a);this.events.next(new At(r.id,this.urlSerializer.serialize(r.extractedUrl),c,u)),this.events.next(new uo(a.redirectTo,a.navigationBehaviorOptions))}else throw this.events.next(s),i}catch(a){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(a)}}return ye}))}))}cancelNavigationTransition(n,r,o){let i=new At(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 uR(e){return e!==ro}var rE=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=w({token:e,factory:()=>p(lR),providedIn:"root"})}return e})(),Pc=class{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}},lR=(()=>{class e extends Pc{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})(),oE=(()=>{class e{urlSerializer=p(ar);options=p(ur,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=p(En);urlHandlingStrategy=p(Lc);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new xt;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 xt?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=VD(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(dR),providedIn:"root"})}return e})(),dR=(()=>{class e extends oE{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 bn?this.updateStateMemento():n instanceof Ot?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 At&&n.code!==Se.SupersededByNewNavigation&&n.code!==Se.Redirect?this.restoreHistory(r):n instanceof ao?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 Bc(e,t){e.events.pipe(ae(n=>n instanceof dt||n instanceof At||n instanceof ao||n instanceof Ot),x(n=>n instanceof dt||n instanceof Ot?0:(n instanceof At?n.code===Se.Redirect||n.code===Se.SupersededByNewNavigation:!1)?2:1),ae(n=>n!==2),mt(1)).subscribe(()=>{t()})}var fR={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},hR={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Kt=(()=>{class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=p(Va);stateManager=p(oE);options=p(ur,{optional:!0})||{};pendingTasks=p(Tt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=p(jc);urlSerializer=p(ar);location=p(En);urlHandlingStrategy=p(Lc);injector=p(te);_events=new J;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=p(rE);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 At&&r.code!==Se.Redirect&&r.code!==Se.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof dt)this.navigated=!0;else if(r instanceof uo){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"||uR(o.source)},s);this.scheduleNavigation(a,ro,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}dN(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),ro,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(Te)(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(ph),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=FD(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),d=this.currentUrlTree.root}return LD(d,n,l,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){let o=io(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ro,null,r)}navigate(n,r={skipLocationChange:!1}){return pR(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({},fR):r===!1?o=y({},hR):o=r,io(n))return yD(this.currentUrlTree,n,o);let i=this.parseUrl(n);return yD(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 Bc(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 pR(e){for(let t=0;t<e.length;t++)if(e[t]==null)throw new m(4008,!1)}var Bi=class{};var iE=(()=>{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(ae(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=Wr(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(Jt())}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(Jt())}else return i})}static \u0275fac=function(r){return new(r||e)(C(Kt),C(te),C(Bi),C(Fc))};static \u0275prov=w({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sE=new I(""),gR=(()=>{class e{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=ro;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 bn?(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 Ot&&n.code===so.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 co&&(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 co(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,r))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Rd()};static \u0275prov=w({token:e,factory:e.\u0275fac})}return e})();function mR(e,...t){return Je([{provide:lr,multi:!0,useValue:e},[],{provide:Yt,useFactory:aE,deps:[Kt]},{provide:ai,multi:!0,useFactory:cE},t.map(n=>n.\u0275providers)])}function aE(e){return e.routerState.root}function Vi(e,t){return{\u0275kind:e,\u0275providers:t}}function cE(){let e=p(me);return t=>{let n=e.get(vn);if(t!==n.components[0])return;let r=e.get(Kt),o=e.get(uE);e.get(Eh)===1&&r.initialNavigation(),e.get(fE,null,{optional:!0})?.setUpPreloading(),e.get(sE,null,{optional:!0})?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var uE=new I("",{factory:()=>new J}),Eh=new I("",{providedIn:"root",factory:()=>1});function lE(){let e=[{provide:Sa,useValue:!0},{provide:Eh,useValue:0},$a(()=>{let t=p(me);return t.get(wf,Promise.resolve()).then(()=>new Promise(r=>{let o=t.get(Kt),i=t.get(uE);Bc(o,()=>{r(!0)}),t.get(jc).afterPreactivation=()=>(r(!0),i.closed?_(void 0):i),o.initialNavigation()}))})];return Vi(2,e)}function dE(){let e=[$a(()=>{p(Kt).setUpLocationChangeListener()}),{provide:Eh,useValue:2}];return Vi(3,e)}var fE=new I("");function hE(e){return Vi(0,[{provide:fE,useExisting:iE},{provide:Bi,useExisting:e}])}function pE(){return Vi(8,[fh,{provide:Li,useExisting:fh}])}function gE(e){st("NgRouterViewTransitions");let t=[{provide:mh,useValue:nE},{provide:yh,useValue:y({skipNextTransition:!!e?.skipInitialTransition},e)}];return Vi(9,t)}var mE=[En,{provide:ar,useClass:Cn},Kt,cr,{provide:Yt,useFactory:aE,deps:[Kt]},Fc,[]],yR=(()=>{class e{constructor(){}static forRoot(n,r){return{ngModule:e,providers:[mE,[],{provide:lr,multi:!0,useValue:n},[],r?.errorHandler?{provide:vh,useValue:r.errorHandler}:[],{provide:ur,useValue:r||{}},r?.useHash?DR():ER(),vR(),r?.preloadingStrategy?hE(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?IR(r):[],r?.bindToComponentInputs?pE().\u0275providers:[],r?.enableViewTransitions?gE().\u0275providers:[],wR()]}}static forChild(n){return{ngModule:e,providers:[{provide:lr,multi:!0,useValue:n}]}}static \u0275fac=function(r){return new(r||e)};static \u0275mod=mn({type:e});static \u0275inj=Lt({})}return e})();function vR(){return{provide:sE,useFactory:()=>{let e=p(Wv),t=p(Q),n=p(ur),r=p(jc),o=p(ar);return n.scrollOffset&&e.setOffset(n.scrollOffset),new gR(o,r,e,t,n)}}}function DR(){return{provide:qt,useClass:Af}}function ER(){return{provide:qt,useClass:Za}}function IR(e){return[e.initialNavigation==="disabled"?dE().\u0275providers:[],e.initialNavigation==="enabledBlocking"?lE().\u0275providers:[]]}var Dh=new I("");function wR(){return[{provide:Dh,useFactory:cE},{provide:ai,multi:!0,useExisting:Dh}]}export{y as a,F as b,IE as c,dr as d,K as e,k as f,J as g,ge as h,ye as i,W as j,_ as k,Er as l,PE as m,kE as n,x as o,Do as p,wr as q,Eo as r,zE as s,Kc as t,KE as u,ae as v,JE as w,pt as x,XE as y,mt as z,eI as A,Jh as B,Rn as C,yt as D,rI as E,tu as F,Xh as G,oI as H,hs as I,fe as J,ps as K,iI as L,he as M,m as N,Ns as O,w as P,Lt as Q,I as R,C as S,p as T,Je as U,bp as V,te as W,jp as X,Bp as Y,Jp as Z,Xp as _,me as $,Z as aa,qe as ba,Be as ca,jI as da,il as ea,Wn as fa,Hr as ga,wa as ha,Ut as ia,aa as ja,ba as ka,Gr as la,mw as ma,_a as na,it as oa,Vw as pa,Uw as qa,qw as ra,hC as sa,pn as ta,Jn as ua,ii as va,ie as wa,Mt as xa,st as ya,Xn as za,Vd as Aa,mn as Ba,zt as Ca,si as Da,Ey as Ea,rT as Fa,Cy as Ga,_e as Ha,Q as Ia,Gd as Ja,tr as Ka,Wd as La,vn as Ma,Yd as Na,vT as Oa,ET as Pa,IT as Qa,wT as Ra,CT as Sa,bT as Ta,TT as Ua,Ny as Va,Kd as Wa,Jd as Xa,Ha as Ya,Xd as Za,ef as _a,Ry as $a,xy as ab,RT as bb,Oy as cb,rf as db,ky as eb,kT as fb,LT as gb,jT as hb,Ly as ib,VT as jb,jy as kb,By as lb,UT as mb,$T as nb,HT as ob,zT as pb,$y as qb,Hy as rb,t_ as sb,f_ as tb,Qy as ub,of as vb,Ky as wb,Xy as xb,g_ as yb,ev as zb,m_ as Ab,I_ as Bb,w_ as Cb,T_ as Db,S_ as Eb,M_ as Fb,N_ as Gb,R_ as Hb,x_ as Ib,at as Jb,k_ as Kb,F_ as Lb,hf as Mb,E$ as Nb,I$ as Ob,Yr as Pb,vv as Qb,gS as Rb,w$ as Sb,C$ as Tb,Gt as Ub,En as Vb,VS as Wb,Hv as Xb,US as Yb,$S as Zb,GS as _b,WS as $b,ZS as ac,qv as bc,PH as cc,Hf as dc,lM as ec,In as fc,Zt as gc,uc as hc,dD as ic,LM as jc,jM as kc,Yt as lc,dh as mc,Kt as nc,mR as oc,yR as pc};