@duplicati/ngclient 0.0.85 → 0.0.89

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 (92) hide show
  1. package/{chunk-DNDOALN6.js → chunk-2D7EACVA.js} +1 -1
  2. package/{chunk-UXQIJ2H5.js → chunk-2FAACUDI.js} +1 -1
  3. package/{chunk-JGOWJDLZ.js → chunk-2UJP6WUU.js} +1 -1
  4. package/{chunk-SWGKS3QC.js → chunk-3BNXVXL5.js} +1 -1
  5. package/{chunk-WWJFELTU.js → chunk-453FQ4EQ.js} +1 -1
  6. package/{chunk-C5EHOW7U.js → chunk-4RXMJUN5.js} +1 -1
  7. package/{chunk-DALX7AMG.js → chunk-5JYSV4UD.js} +1 -1
  8. package/chunk-5OX72VKG.js +1 -0
  9. package/chunk-6BPJFTZW.js +1 -0
  10. package/{chunk-IYQIIJKE.js → chunk-6CW3SAXM.js} +1 -1
  11. package/{chunk-XFS2LSEM.js → chunk-76MZP6D5.js} +1 -1
  12. package/{chunk-RGSJ6UVN.js → chunk-7AHZCQM7.js} +1 -1
  13. package/{chunk-W4MEGIZH.js → chunk-AUVMOLMG.js} +1 -1
  14. package/chunk-B6FHJOT5.js +1 -0
  15. package/{chunk-RTVM3BJK.js → chunk-BRWHKZV2.js} +1 -1
  16. package/{chunk-L5D4JLN3.js → chunk-C2JCNHTZ.js} +1 -1
  17. package/chunk-C4CQLUE6.js +1 -0
  18. package/{chunk-7LP2EQ7M.js → chunk-CKQFBLHP.js} +1 -1
  19. package/chunk-CLJTLGUH.js +1 -0
  20. package/chunk-DJWDNTTP.js +1 -0
  21. package/chunk-DJZUZAH5.js +1 -0
  22. package/chunk-DKICGIGJ.js +1 -0
  23. package/{chunk-Y2422GIA.js → chunk-DPNFOEAN.js} +1 -1
  24. package/chunk-DPPV7DVK.js +1 -0
  25. package/{chunk-7QNL2MJX.js → chunk-EAGORY3U.js} +1 -1
  26. package/{chunk-MNR2YI5Q.js → chunk-EMLPXGRD.js} +1 -1
  27. package/chunk-FCQHE46G.js +6 -0
  28. package/{chunk-KIB4MYBL.js → chunk-G76GVTZW.js} +1 -1
  29. package/{chunk-Y5WADXF5.js → chunk-H5V5U4VH.js} +1 -1
  30. package/{chunk-AO6V5EDZ.js → chunk-JCIUBQIN.js} +1 -1
  31. package/{chunk-7G6LF4RE.js → chunk-JFC5Z7YL.js} +1 -1
  32. package/{chunk-4A4CWPH7.js → chunk-K3LOA2DX.js} +1 -1
  33. package/{chunk-YOP6HOXH.js → chunk-KDCTRSPO.js} +1 -1
  34. package/{chunk-G3KME6QI.js → chunk-L2LZKY4R.js} +1 -1
  35. package/chunk-LAGOXMVK.js +1 -0
  36. package/chunk-LBJYPZA5.js +1 -0
  37. package/{chunk-7IPKE42T.js → chunk-LRB2TMMB.js} +1 -1
  38. package/chunk-LVA7V7CT.js +1 -0
  39. package/{chunk-DW725235.js → chunk-MMNUKDWS.js} +1 -1
  40. package/{chunk-XB5GDNN5.js → chunk-MTCSELIF.js} +1 -1
  41. package/chunk-N7DO2BHU.js +1 -0
  42. package/chunk-ODIN2IGP.js +1 -0
  43. package/chunk-PEA355CX.js +1 -0
  44. package/chunk-RS7BKRUH.js +1 -0
  45. package/chunk-S3L5VJJF.js +3 -0
  46. package/{chunk-PHQM25ND.js → chunk-SJBPW65N.js} +1 -1
  47. package/chunk-T7LDHEC3.js +1 -0
  48. package/chunk-U7UIU734.js +1 -0
  49. package/{chunk-PPRHD3ZV.js → chunk-UIOTKB6J.js} +1 -1
  50. package/{chunk-AYWJL6PH.js → chunk-UPW4CQ72.js} +1 -1
  51. package/{chunk-IZYAOMPF.js → chunk-VP3M4CWS.js} +1 -1
  52. package/{chunk-AXHB6A4N.js → chunk-W3VTD2H4.js} +1 -1
  53. package/{chunk-MCLDJCPW.js → chunk-W4YAOQRI.js} +1 -1
  54. package/{chunk-7LRQSKYZ.js → chunk-WJQN3BOF.js} +1 -1
  55. package/{chunk-7IRVNC4S.js → chunk-WYTHNCNI.js} +1 -1
  56. package/chunk-XTSJURO6.js +6 -0
  57. package/{chunk-OQ3EADZK.js → chunk-ZEMCELQ7.js} +1 -1
  58. package/{chunk-NNUHZ2L7.js → chunk-ZHFVGIIO.js} +1 -1
  59. package/chunk-ZI4ZJIB3.js +1 -0
  60. package/chunk-ZIKYV2TR.js +1 -0
  61. package/{chunk-P6HOXQHE.js → chunk-ZSKZUTTA.js} +1 -1
  62. package/{chunk-2M52SFS6.js → chunk-ZSSQBIRK.js} +6 -6
  63. package/chunk-ZZPLRWQP.js +1 -0
  64. package/index.html +2 -2
  65. package/{main-JZ3UOPVL.js → main-NR6TAXFB.js} +1 -1
  66. package/package.json +1 -1
  67. package/styles-OABXKND4.css +1 -0
  68. package/chunk-2VH4NDQH.js +0 -1
  69. package/chunk-2WZR3NHU.js +0 -6
  70. package/chunk-4WK5KLP3.js +0 -1
  71. package/chunk-6RMLOIRD.js +0 -1
  72. package/chunk-CI7PYMKD.js +0 -1
  73. package/chunk-DTCM7OB2.js +0 -1
  74. package/chunk-FMSANFAF.js +0 -1
  75. package/chunk-FQPMHKLD.js +0 -1
  76. package/chunk-FXXGCONI.js +0 -1
  77. package/chunk-G56SHWBZ.js +0 -1
  78. package/chunk-LJ3ULEOG.js +0 -1
  79. package/chunk-MADB4EX7.js +0 -1
  80. package/chunk-OKERRNQC.js +0 -6
  81. package/chunk-PNJEVGID.js +0 -1
  82. package/chunk-R2HH6TYJ.js +0 -1
  83. package/chunk-TO5QMMUQ.js +0 -1
  84. package/chunk-UIC2LGAH.js +0 -1
  85. package/chunk-WLQUMVWA.js +0 -1
  86. package/chunk-WQDSSB2V.js +0 -3
  87. package/chunk-X6SCWL5V.js +0 -1
  88. package/chunk-XKAASYKO.js +0 -1
  89. package/chunk-YO6IQOER.js +0 -1
  90. package/chunk-ZLMSSTXT.js +0 -1
  91. package/chunk-ZNTSJUHI.js +0 -1
  92. package/styles-HDO6WYV2.css +0 -1
@@ -1,7 +1,7 @@
1
- import{a as te,b as ne}from"./chunk-C6Q5SG76.js";function q(e){return e}function kp(...e){return ii(e)}function ii(e){return e.length===0?q:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}function D(e){return typeof e=="function"}function Rt(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 or=Rt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
1
+ import{a as te,b as ne}from"./chunk-C6Q5SG76.js";function w(e){return typeof e=="function"}function Rt(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 or=Rt(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
2
  ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function et(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var V=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(D(r))try{r()}catch(i){t=i instanceof or?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{lc(i)}catch(s){t=t??[],s instanceof or?t=[...t,...s.errors]:t.push(s)}}if(t)throw new or(t)}}add(t){var n;if(t&&t!==this)if(this.closed)lc(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)&&et(n,t)}remove(t){let{_finalizers:n}=this;n&&et(n,t),t instanceof e&&t._removeParent(this)}};V.EMPTY=(()=>{let e=new V;return e.closed=!0,e})();var si=V.EMPTY;function ir(e){return e instanceof V||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function lc(e){D(e)?e():e.unsubscribe()}var ge={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ot={setTimeout(e,t,...n){let{delegate:r}=Ot;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ot;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function sr(e){Ot.setTimeout(()=>{let{onUnhandledError:t}=ge;if(t)t(e);else throw e})}function hn(){}var uc=ai("C",void 0,void 0);function dc(e){return ai("E",void 0,e)}function fc(e){return ai("N",e,void 0)}function ai(e,t,n){return{kind:e,value:t,error:n}}var tt=null;function At(e){if(ge.useDeprecatedSynchronousErrorHandling){let t=!tt;if(t&&(tt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=tt;if(tt=null,n)throw r}}else e()}function pc(e){ge.useDeprecatedSynchronousErrorHandling&&tt&&(tt.errorThrown=!0,tt.error=e)}var nt=class extends V{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ir(t)&&t.add(this)):this.destination=Ap}static create(t,n,r){return new xe(t,n,r)}next(t){this.isStopped?li(fc(t),this):this._next(t)}error(t){this.isStopped?li(dc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?li(uc,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()}}},Rp=Function.prototype.bind;function ci(e,t){return Rp.call(e,t)}var ui=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ar(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ar(r)}else ar(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ar(n)}}},xe=class extends nt{constructor(t,n,r){super();let o;if(D(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ge.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ci(t.next,i),error:t.error&&ci(t.error,i),complete:t.complete&&ci(t.complete,i)}):o=t}this.destination=new ui(o)}};function ar(e){ge.useDeprecatedSynchronousErrorHandling?pc(e):sr(e)}function Op(e){throw e}function li(e,t){let{onStoppedNotification:n}=ge;n&&Ot.setTimeout(()=>n(e,t))}var Ap={closed:!0,next:hn,error:Op,complete:hn};var Pt=typeof Symbol=="function"&&Symbol.observable||"@@observable";var N=(()=>{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=Lp(n)?n:new xe(n,r,o);return At(()=>{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=hc(r),new r((o,i)=>{let s=new xe({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)}[Pt](){return this}pipe(...n){return ii(n)(this)}toPromise(n){return n=hc(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 hc(e){var t;return(t=e??ge.Promise)!==null&&t!==void 0?t:Promise}function Pp(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function Lp(e){return e&&e instanceof nt||Pp(e)&&ir(e)}var gc=Rt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var de=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new cr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new gc}next(n){At(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){At(()=>{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(){At(()=>{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?si:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,et(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new cr(t,n),e})(),cr=class extends de{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:si}};function lr(e){return e&&D(e.schedule)}function mc(e){return e[e.length-1]}function Lt(e){return D(mc(e))?e.pop():void 0}function je(e){return lr(mc(e))?e.pop():void 0}function vc(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(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function yc(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 rt(e){return this instanceof rt?(this.v=e,this):new rt(e)}function Ic(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(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(I,m){i.push([f,g,I,m])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof rt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ec(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 yc=="function"?yc(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(l){i({value:l,done:a})},s)}}var ur=e=>e&&typeof e.length=="number"&&typeof e!="function";function dr(e){return D(e?.then)}function fr(e){return D(e[Pt])}function pr(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function hr(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 Fp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var gr=Fp();function mr(e){return D(e?.[gr])}function yr(e){return Ic(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield rt(n.read());if(o)return yield rt(void 0);yield yield rt(r)}}finally{n.releaseLock()}})}function vr(e){return D(e?.getReader)}function A(e){if(e instanceof N)return e;if(e!=null){if(fr(e))return Vp(e);if(ur(e))return jp(e);if(dr(e))return Hp(e);if(pr(e))return wc(e);if(mr(e))return $p(e);if(vr(e))return Bp(e)}throw hr(e)}function Vp(e){return new N(t=>{let n=e[Pt]();if(D(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function jp(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Hp(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,sr)})}function $p(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function wc(e){return new N(t=>{Up(e,t).catch(n=>t.error(n))})}function Bp(e){return wc(yr(e))}function Up(e,t){var n,r,o,i;return vc(this,void 0,void 0,function*(){try{for(n=Ec(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 re(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function di(e){return D(e?.lift)}function b(e){return t=>{if(di(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 w(e,t,n,r,o){return new fi(e,t,n,r,o)}var fi=class extends nt{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 Ir(e,t=0){return b((n,r)=>{n.subscribe(w(r,o=>re(r,e,()=>r.next(o),t),()=>re(r,e,()=>r.complete(),t),o=>re(r,e,()=>r.error(o),t)))})}function Er(e,t=0){return b((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Dc(e,t){return A(e).pipe(Er(t),Ir(t))}function bc(e,t){return A(e).pipe(Er(t),Ir(t))}function Mc(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Cc(e,t){return new N(n=>{let r;return re(n,t,()=>{r=e[gr](),re(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>D(r?.return)&&r.return()})}function wr(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{re(n,t,()=>{let r=e[Symbol.asyncIterator]();re(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function _c(e,t){return wr(yr(e),t)}function xc(e,t){if(e!=null){if(fr(e))return Dc(e,t);if(ur(e))return Mc(e,t);if(dr(e))return bc(e,t);if(pr(e))return wr(e,t);if(mr(e))return Cc(e,t);if(vr(e))return _c(e,t)}throw hr(e)}function He(e,t){return t?xc(e,t):A(e)}function qp(...e){let t=je(e);return He(e,t)}function $e(e,t){return b((n,r)=>{let o=0;n.subscribe(w(r,i=>{r.next(e.call(t,i,o++))}))})}function pi(e){return b((t,n)=>{let r=null,o=!1,i;r=t.subscribe(w(n,void 0,void 0,s=>{i=A(e(s,pi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var Dr=class extends V{constructor(t,n){super()}schedule(t,n=0){return this}};var gn={setInterval(e,t,...n){let{delegate:r}=gn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=gn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var br=class extends Dr{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 gn.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&&gn.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,et(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var mn={now(){return(mn.delegate||Date).now()},delegate:void 0};var Ft=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)}};Ft.now=mn.now;var Mr=class extends Ft{constructor(t,n=Ft.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 hi=new Mr(br),Tc=hi;function Wp(e,t=hi){return b((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(w(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var ot=new N(e=>e.complete());function Cr(e){return e<=0?()=>ot:b((t,n)=>{let r=0;t.subscribe(w(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Nc(e){return b((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Sc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let I=!1;A(n(g,u++)).subscribe(w(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{I=!0},void 0,()=>{if(I)try{for(l--;c.length&&l<r;){let m=c.shift();s?re(t,s,()=>h(m)):h(m)}p()}catch(m){t.error(m)}}))};return e.subscribe(w(t,f,()=>{d=!0,p()})),()=>{a?.()}}function it(e,t,n=1/0){return D(t)?it((r,o)=>$e((i,s)=>t(r,i,o,s))(A(e(r,o))),n):(typeof t=="number"&&(n=t),b((r,o)=>Sc(r,o,e,n)))}function gi(e=1/0){return it(q,e)}function kc(){return gi(1)}function _r(...e){return kc()(He(e,je(e)))}function Rc(...e){let t=je(e);return b((n,r)=>{(t?_r(e,n,t):_r(e,n)).subscribe(r)})}function Oc(e,t){return b((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(w(r,c=>{o?.unsubscribe();let l=0,u=i++;A(e(c,u)).subscribe(o=w(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function mi(){return b((e,t)=>{let n=null;e._refCount++;let r=w(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 yi=class extends N{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,di(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 V;let n=this.getSubject();t.add(this.source.subscribe(w(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=V.EMPTY)}return t}refCount(){return mi()(this)}};var yn=class extends de{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var vn=class extends de{constructor(t=1/0,n=1/0,r=mn){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)}}};function zp(e,t){let n=D(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function Gp(e){return!!e&&(e instanceof N||D(e.lift)&&D(e.subscribe))}var st=Rt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Ac(e){return e instanceof Date&&!isNaN(e)}var{isArray:Qp}=Array;function Zp(e,t){return Qp(t)?e(...t):e(t)}function xr(e){return $e(t=>Zp(e,t))}var{isArray:Yp}=Array,{getPrototypeOf:Jp,prototype:Kp,keys:Xp}=Object;function Tr(e){if(e.length===1){let t=e[0];if(Yp(t))return{args:t,keys:null};if(eh(t)){let n=Xp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function eh(e){return e&&typeof e=="object"&&Jp(e)===Kp}function Nr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function th(...e){let t=je(e),n=Lt(e),{args:r,keys:o}=Tr(e);if(r.length===0)return He([],t);let i=new N(nh(r,t,o?s=>Nr(o,s):q));return n?i.pipe(xr(n)):i}function nh(e,t,n=q){return r=>{Pc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Pc(t,()=>{let l=He(e[c],t),u=!1;l.subscribe(w(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Pc(e,t,n){e?re(n,e,t):t()}function rh(e){return new N(t=>{A(e()).subscribe(t)})}function oh(...e){let t=Lt(e),{args:n,keys:r}=Tr(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;A(n[u]).subscribe(w(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Nr(r,a):a),i.complete())}))}});return t?o.pipe(xr(t)):o}function Lc(e=0,t,n=Tc){let r=-1;return t!=null&&(lr(t)?n=t:r=t),new N(o=>{let i=Ac(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)})}var{isArray:ih}=Array;function Fc(e){return e.length===1&&ih(e[0])?e[0]:e}function In(e,t){return b((n,r)=>{let o=0;n.subscribe(w(r,i=>e.call(t,i,o++)&&r.next(i)))})}function sh(...e){let t=Lt(e),n=Fc(e);return n.length?new N(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)A(n[s]).subscribe(w(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):ot}function Vc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(w(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function ah(e,t){return D(t)?it(e,t,1):it(e,1)}function En(e){return b((t,n)=>{let r=!1;t.subscribe(w(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ch(e,t=q){return e=e??lh,b((n,r)=>{let o,i=!0;n.subscribe(w(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function lh(e,t){return e===t}function Sr(e=uh){return b((t,n)=>{let r=!1;t.subscribe(w(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function uh(){return new st}function dh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?In((o,i)=>e(o,i,r)):q,Cr(1),n?En(t):Sr(()=>new st))}function vi(e){return e<=0?()=>ot:b((t,n)=>{let r=[];t.subscribe(w(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 fh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?In((o,i)=>e(o,i,r)):q,vi(1),n?En(t):Sr(()=>new st))}function ph(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?q:b((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(w(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++<n){let p=()=>{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let f=typeof r=="number"?Lc(r):A(r(d,a)),h=w(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function hh(e,t){return b(Vc(e,t,arguments.length>=2,!0))}function jc(e={}){let{connector:t=()=>new de,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return b((g,I)=>{l++,!d&&!u&&p();let m=c=c??t();I.add(()=>{l--,l===0&&!d&&!u&&(a=Ii(h,o))}),m.subscribe(I),!s&&l>0&&(s=new xe({next:k=>m.next(k),error:k=>{d=!0,p(),a=Ii(f,n,k),m.error(k)},complete:()=>{u=!0,p(),a=Ii(f,r),m.complete()}}),A(g).subscribe(s))})(i)}}function Ii(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new xe({next:()=>{r.unsubscribe(),e()}});return A(t(...n)).subscribe(r)}function gh(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,jc({connector:()=>new vn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function mh(e){return b((t,n)=>{A(e).subscribe(w(n,()=>n.complete(),hn)),!n.closed&&t.subscribe(n)})}function Hc(e,t,n){let r=D(e)||t||n?{next:e,error:t,complete:n}:e;return r?b((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(w(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):q}function wi(e,t){return Object.is(e,t)}var H=null,wn=!1,Di=1,$=Symbol("SIGNAL");function M(e){let t=H;return H=e,t}function $c(){return H}function yh(){return wn}var Ue={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function jt(e){if(wn)throw new Error("");if(H===null)return;H.consumerOnSignalRead(e);let t=H.nextProducerIndex++;if(Or(H),t<H.producerNode.length&&H.producerNode[t]!==e&&Dn(H)){let n=H.producerNode[t];Rr(n,H.producerIndexOfThis[t])}H.producerNode[t]!==e&&(H.producerNode[t]=e,H.producerIndexOfThis[t]=Dn(H)?Wc(e,H,t):0),H.producerLastReadVersion[t]=e.version}function vh(){Di++}function bn(e){if(!(Dn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Di)){if(!e.producerMustRecompute(e)&&!Mn(e)){kr(e);return}e.producerRecomputeValue(e),kr(e)}}function Bc(e){if(e.liveConsumerNode===void 0)return;let t=wn;wn=!0;try{for(let n of e.liveConsumerNode)n.dirty||qc(n)}finally{wn=t}}function Uc(){return H?.consumerAllowSignalWrites!==!1}function qc(e){e.dirty=!0,Bc(e),e.consumerMarkedDirty?.(e)}function kr(e){e.dirty=!1,e.lastCleanEpoch=Di}function ct(e){return e&&(e.nextProducerIndex=0),M(e)}function Ht(e,t){if(M(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Dn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Rr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Mn(e){Or(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(bn(n),r!==n.version))return!0}return!1}function $t(e){if(Or(e),Dn(e))for(let t=0;t<e.producerNode.length;t++)Rr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Wc(e,t,n){if(zc(e),e.liveConsumerNode.length===0&&Gc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Wc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Rr(e,t){if(zc(e),e.liveConsumerNode.length===1&&Gc(e))for(let r=0;r<e.producerNode.length;r++)Rr(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Or(o),o.producerIndexOfThis[r]=t}}function Dn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Or(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function zc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Gc(e){return e.producerNode!==void 0}function bi(e){let t=Object.create(Ih);t.computation=e;let n=()=>{if(bn(t),jt(t),t.value===Be)throw t.error;return t.value};return n[$]=t,n}var at=Symbol("UNSET"),Vt=Symbol("COMPUTING"),Be=Symbol("ERRORED"),Ih=ne(te({},Ue),{value:at,dirty:!0,error:null,equal:wi,kind:"computed",producerMustRecompute(e){return e.value===at||e.value===Vt},producerRecomputeValue(e){if(e.value===Vt)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Vt;let n=ct(e),r,o=!1;try{r=e.computation(),M(null),o=t!==at&&t!==Be&&r!==Be&&e.equal(t,r)}catch(i){r=Be,e.error=i}finally{Ht(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Eh(){throw new Error}var Qc=Eh;function Zc(){Qc()}function Yc(e){Qc=e}var wh=null;function Jc(e){let t=Object.create(Ci);t.value=e;let n=()=>(jt(t),t.value);return n[$]=t,n}function Bt(e,t){Uc()||Zc(),e.equal(e.value,t)||(e.value=t,Dh(e))}function Mi(e,t){Uc()||Zc(),Bt(e,t(e.value))}var Ci=ne(te({},Ue),{equal:wi,value:void 0,kind:"signal"});function Dh(e){e.version++,vh(),Bc(e),wh?.()}function _i(e,t,n){let r=Object.create(bh);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(bn(r),jt(r),r.value===Be)throw r.error;return r.value};return i[$]=r,i}function Kc(e,t){bn(e),Bt(e,t),kr(e)}function Xc(e,t){bn(e),Mi(e,t),kr(e)}var bh=ne(te({},Ue),{value:at,dirty:!0,error:null,equal:wi,producerMustRecompute(e){return e.value===at||e.value===Vt},producerRecomputeValue(e){if(e.value===Vt)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Vt;let n=ct(e),r;try{let o=e.source(),i=t===at||t===Be?void 0:{source:e.sourceValue,value:t};r=e.computation(o,i),e.sourceValue=o}catch(o){r=Be,e.error=o}finally{Ht(e,n)}if(t!==at&&r!==Be&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function el(e,t,n){let r=Object.create(Mh);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||($t(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Ei)}let a=()=>{if(r.fn===null)return;if(yh())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Mn(r))return;r.hasRun=!0;let c=ct(r);try{r.cleanupFn(),r.cleanupFn=Ei,r.fn(o)}finally{Ht(r,c)}};return r.ref={notify:()=>qc(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[$]:r},r.ref}var Ei=()=>{},Mh=ne(te({},Ue),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Ei});var ru="https://g.co/ng/security#xss",C=class extends Error{code;constructor(t,n){super(Ch(t,n)),this.code=t}};function Ch(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var So=Symbol("InputSignalNode#UNSET"),ou=ne(te({},Ci),{transformFn:void 0,applyValueToInputSignal(e,t){Bt(e,t)}});function iu(e,t){let n=Object.create(ou);n.value=e,n.transformFn=t?.transform;function r(){if(jt(n),n.value===So)throw new C(-950,!1);return n.value}return r[$]=n,r}function Qn(e){return{toString:e}.toString()}var Ar="__parameters__";function _h(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function su(e,t,n){return Qn(()=>{let r=_h(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Ar)?c[Ar]:Object.defineProperty(c,Ar,{value:[]})[Ar];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var We=globalThis;function P(e){for(let t in e)if(e[t]===P)return t;throw Error("Could not find renamed property on target object.")}function xh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ce(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ce).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 Ui(e,t){return e?t?`${e} ${t}`:e:t||""}var Th=P({__forward_ref__:P});function au(e){return e.__forward_ref__=au,e.toString=function(){return ce(this())},e}function K(e){return cu(e)?e():e}function cu(e){return typeof e=="function"&&e.hasOwnProperty(Th)&&e.__forward_ref__===au}function Nh(e,t,n){e!=t&&Sh(n,e,t,"==")}function Sh(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function mN(e){return{providers:e.providers||[],imports:e.imports||[]}}function ko(e){return tl(e,lu)||tl(e,uu)}function yN(e){return ko(e)!==null}function tl(e,t){return e.hasOwnProperty(t)?e[t]:null}function kh(e){let t=e&&(e[lu]||e[uu]);return t||null}function nl(e){return e&&(e.hasOwnProperty(rl)||e.hasOwnProperty(Rh))?e[rl]:null}var lu=P({\u0275prov:P}),rl=P({\u0275inj:P}),uu=P({ngInjectableDef:P}),Rh=P({ngInjectorDef:P}),R=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=U({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function du(e){return e&&!!e.\u0275providers}var Oh=P({\u0275cmp:P}),Ah=P({\u0275dir:P}),Ph=P({\u0275pipe:P}),Lh=P({\u0275mod:P}),Zr=P({\u0275fac:P}),Nn=P({__NG_ELEMENT_ID__:P}),ol=P({__NG_ENV_ID__:P});function ye(e){return typeof e=="string"?e:e==null?"":String(e)}function Fh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ye(e)}function Vh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,e)}function aa(e,t){throw new C(-201,!1)}var T=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(T||{}),qi;function fu(){return qi}function oe(e){let t=qi;return qi=e,t}function pu(e,t,n){let r=ko(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(t!==void 0)return t;aa(e,"Injector")}var jh={},An=jh,Wi="__NG_DI_FLAG__",Yr="ngTempTokenPath",Hh="ngTokenPath",$h=/\n/gm,Bh="\u0275",il="__source",zt;function Uh(){return zt}function qe(e){let t=zt;return zt=e,t}function qh(e,t=T.Default){if(zt===void 0)throw new C(-203,!1);return zt===null?pu(e,void 0,t):zt.get(e,t&T.Optional?null:void 0,t)}function Ze(e,t=T.Default){return(fu()||qh)(K(e),t)}function x(e,t=T.Default){return Ze(e,Ro(t))}function Ro(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function zi(e){let t=[];for(let n=0;n<e.length;n++){let r=K(e[n]);if(Array.isArray(r)){if(r.length===0)throw new C(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Wh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Ze(o,i))}else t.push(Ze(r))}return t}function hu(e,t){return e[Wi]=t,e.prototype[Wi]=t,e}function Wh(e){return e[Wi]}function zh(e,t,n,r){let o=e[Yr];throw t[il]&&o.unshift(t[il]),e.message=Gh(`
5
- `+e.message,o,n,r),e[Hh]=o,e[Yr]=null,e}function Gh(e,t,n,r=null){e=e&&e.charAt(0)===`
6
- `&&e.charAt(1)==Bh?e.slice(2):e;let o=ce(t);if(Array.isArray(t))o=t.map(ce).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ce(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace($h,`
7
- `)}`}var gu=hu(su("Optional"),8);var mu=hu(su("SkipSelf"),4);function pt(e,t){let n=e.hasOwnProperty(Zr);return n?e[Zr]:null}function Qh(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 Zh(e){return e.flat(Number.POSITIVE_INFINITY)}function ca(e,t){e.forEach(n=>Array.isArray(n)?ca(n,t):t(n))}function yu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Jr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Yh(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Jh(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 Oo(e,t,n){let r=Zn(e,t);return r>=0?e[r|1]=n:(r=~r,Jh(e,r,t,n)),r}function xi(e,t){let n=Zn(e,t);if(n>=0)return e[n|1]}function Zn(e,t){return Kh(e,t,1)}function Kh(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 ht={},Q=[],Kr=new R(""),vu=new R("",-1),Iu=new R(""),Xr=class{get(t,n=An){if(n===An){let r=new Error(`NullInjectorError: No provider for ${ce(t)}!`);throw r.name="NullInjectorError",r}return n}};function Eu(e,t){let n=e[Lh]||null;if(!n&&t===!0)throw new Error(`Type ${ce(e)} does not have '\u0275mod' property.`);return n}function Me(e){return e[Oh]||null}function la(e){return e[Ah]||null}function ua(e){return e[Ph]||null}function Xh(e){let t=Me(e)||la(e)||ua(e);return t!==null&&t.standalone}function eg(e){return{\u0275providers:e}}function tg(...e){return{\u0275providers:da(!0,e),\u0275fromNgModule:!0}}function da(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ca(t,s=>{let a=s;Gi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&wu(o,i),n}function wu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];fa(o,i=>{t(i,r)})}}function Gi(e,t,n,r){if(e=K(e),!e)return!1;let o=null,i=nl(e),s=!i&&Me(e);if(!i&&!s){let c=e.ngModule;if(i=nl(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 l of c)Gi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{ca(i.imports,u=>{Gi(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&wu(l,t)}if(!a){let l=pt(o)||(()=>new o);t({provide:o,useFactory:l,deps:Q},o),t({provide:Iu,useValue:o,multi:!0},o),t({provide:Kr,useValue:()=>Ze(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;fa(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function fa(e,t){for(let n of e)du(n)&&(n=n.\u0275providers),Array.isArray(n)?fa(n,t):t(n)}var ng=P({provide:String,useValue:P});function Du(e){return e!==null&&typeof e=="object"&&ng in e}function rg(e){return!!(e&&e.useExisting)}function og(e){return!!(e&&e.useFactory)}function Zt(e){return typeof e=="function"}function ig(e){return!!e.useClass}var bu=new R(""),jr={},sg={},Ti;function Ao(){return Ti===void 0&&(Ti=new Xr),Ti}var Ne=class{},Pn=class extends Ne{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,Zi(t,s=>this.processProvider(s)),this.records.set(vu,Ut(void 0,this)),o.has("environment")&&this.records.set(Ne,Ut(void 0,this));let i=this.records.get(bu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Iu,Q,T.Self))}destroy(){_n(this),this._destroyed=!0;let t=M(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(),M(t)}}onDestroy(t){return _n(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){_n(this);let n=qe(this),r=oe(void 0),o;try{return t()}finally{qe(n),oe(r)}}get(t,n=An,r=T.Default){if(_n(this),t.hasOwnProperty(ol))return t[ol](this);r=Ro(r);let o,i=qe(this),s=oe(void 0);try{if(!(r&T.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=dg(t)&&ko(t);l&&this.injectableDefInScope(l)?c=Ut(Qi(t),jr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&T.Self?Ao():this.parent;return n=r&T.Optional&&n===An?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Yr]=a[Yr]||[]).unshift(ce(t)),i)throw a;return zh(a,t,"R3InjectorError",this.source)}else throw a}finally{oe(s),qe(i)}}resolveInjectorInitializers(){let t=M(null),n=qe(this),r=oe(void 0),o;try{let i=this.get(Kr,Q,T.Self);for(let s of i)s()}finally{qe(n),oe(r),M(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ce(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=K(t);let n=Zt(t)?t:K(t&&t.provide),r=cg(t);if(!Zt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ut(void 0,jr,!0),o.factory=()=>zi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=M(null);try{return n.value===jr&&(n.value=sg,n.value=n.factory()),typeof n.value=="object"&&n.value&&ug(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=K(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 Qi(e){let t=ko(e),n=t!==null?t.factory:pt(e);if(n!==null)return n;if(e instanceof R)throw new C(204,!1);if(e instanceof Function)return ag(e);throw new C(204,!1)}function ag(e){if(e.length>0)throw new C(204,!1);let n=kh(e);return n!==null?()=>n.factory(e):()=>new e}function cg(e){if(Du(e))return Ut(void 0,e.useValue);{let t=Mu(e);return Ut(t,jr)}}function Mu(e,t,n){let r;if(Zt(e)){let o=K(e);return pt(o)||Qi(o)}else if(Du(e))r=()=>K(e.useValue);else if(og(e))r=()=>e.useFactory(...zi(e.deps||[]));else if(rg(e))r=()=>Ze(K(e.useExisting));else{let o=K(e&&(e.useClass||e.provide));if(lg(e))r=()=>new o(...zi(e.deps));else return pt(o)||Qi(o)}return r}function _n(e){if(e.destroyed)throw new C(205,!1)}function Ut(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function lg(e){return!!e.deps}function ug(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function dg(e){return typeof e=="function"||typeof e=="object"&&e instanceof R}function Zi(e,t){for(let n of e)Array.isArray(n)?Zi(n,t):n&&du(n)?Zi(n.\u0275providers,t):t(n)}function Cu(e,t){e instanceof Pn&&_n(e);let n,r=qe(e),o=oe(void 0);try{return t()}finally{qe(r),oe(o)}}function _u(){return fu()!==void 0||Uh()!=null}function pa(e){if(!_u())throw new C(-203,!1)}function fg(e){return typeof e=="function"}var Le=0,v=1,E=2,G=3,ve=4,X=5,Yt=6,eo=7,z=8,Ce=9,Se=10,S=11,Ln=12,sl=13,rn=14,se=15,gt=16,qt=17,ke=18,Po=19,xu=20,Ge=21,Hr=22,mt=23,le=24,L=25,Tu=1,to=6,yt=7,no=8,Jt=9,Z=10;function Qe(e){return Array.isArray(e)&&typeof e[Tu]=="object"}function Fe(e){return Array.isArray(e)&&e[Tu]===!0}function ha(e){return(e.flags&4)!==0}function Tt(e){return e.componentOffset>-1}function Lo(e){return(e.flags&1)===1}function Re(e){return!!e.template}function ro(e){return(e[E]&512)!==0}function on(e){return(e[E]&256)===256}var Yi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Nu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var vN=(()=>{let e=()=>Su;return e.ngInherit=!0,e})();function Su(e){return e.type.prototype.ngOnChanges&&(e.setInput=hg),pg}function pg(){let e=Ru(this),t=e?.current;if(t){let n=e.previous;if(n===ht)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function hg(e,t,n,r,o){let i=this.declaredInputs[r],s=Ru(e)||gg(e,{previous:ht,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Yi(l&&l.currentValue,n,c===ht),Nu(e,t,o,n)}var ku="__ngSimpleChanges__";function Ru(e){return e[ku]||null}function gg(e,t){return e[ku]=t}var al=null;var fe=function(e,t,n){al?.(e,t,n)},Ou="svg",mg="math";function he(e){for(;Array.isArray(e);)e=e[Le];return e}function Fo(e,t){return he(t[e])}function Ee(e,t){return he(t[e.index])}function Yn(e,t){return e.data[t]}function Vo(e,t){return e[t]}function _e(e,t){let n=t[e];return Qe(n)?n:n[Le]}function yg(e){return(e[E]&4)===4}function ga(e){return(e[E]&128)===128}function vg(e){return Fe(e[G])}function Oe(e,t){return t==null?null:e[t]}function Au(e){e[qt]=0}function ma(e){e[E]&1024||(e[E]|=1024,ga(e)&&Jn(e))}function Ig(e,t){for(;e>0;)t=t[rn],e--;return t}function jo(e){return!!(e[E]&9216||e[le]?.dirty)}function Ji(e){e[Se].changeDetectionScheduler?.notify(9),e[E]&64&&(e[E]|=1024),jo(e)&&Jn(e)}function Jn(e){e[Se].changeDetectionScheduler?.notify(0);let t=vt(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!ga(t)));)t=vt(t)}function ya(e,t){if(on(e))throw new C(911,!1);e[Ge]===null&&(e[Ge]=[]),e[Ge].push(t)}function Pu(e,t){if(e[Ge]===null)return;let n=e[Ge].indexOf(t);n!==-1&&e[Ge].splice(n,1)}function vt(e){let t=e[G];return Fe(t)?t[G]:t}function Lu(e){return e[eo]??=[]}function Fu(e){return e.cleanup??=[]}function Eg(e,t,n,r){let o=Lu(t);o.push(n),e.firstCreatePass&&Fu(e).push(r,o.length-1)}var _={lFrame:Wu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ki=!1;function wg(){return _.lFrame.elementDepthCount}function Dg(){_.lFrame.elementDepthCount++}function bg(){_.lFrame.elementDepthCount--}function Ho(){return _.bindingsEnabled}function Vu(){return _.skipHydrationRootTNode!==null}function Mg(e){return _.skipHydrationRootTNode===e}function Cg(){_.skipHydrationRootTNode=null}function y(){return _.lFrame.lView}function O(){return _.lFrame.tView}function IN(e){return _.lFrame.contextLView=e,e[z]}function EN(e){return _.lFrame.contextLView=null,e}function Y(){let e=ju();for(;e!==null&&e.type===64;)e=e.parent;return e}function ju(){return _.lFrame.currentTNode}function Fn(){let e=_.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ie(e,t){let n=_.lFrame;n.currentTNode=e,n.isParent=t}function va(){return _.lFrame.isParent}function Ia(){_.lFrame.isParent=!1}function Hu(){return _.lFrame.contextLView}function $u(){return Ki}function oo(e){let t=Ki;return Ki=e,t}function sn(){let e=_.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ea(){return _.lFrame.bindingIndex}function _g(e){return _.lFrame.bindingIndex=e}function Ke(){return _.lFrame.bindingIndex++}function $o(e){let t=_.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function xg(){return _.lFrame.inI18n}function Bu(e){_.lFrame.inI18n=e}function Tg(e,t){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=e,Xi(t)}function Ng(){return _.lFrame.currentDirectiveIndex}function Xi(e){_.lFrame.currentDirectiveIndex=e}function Sg(e){let t=_.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function wa(){return _.lFrame.currentQueryIndex}function Bo(e){_.lFrame.currentQueryIndex=e}function kg(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[X]:null}function Uu(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=kg(i),o===null||(i=i[rn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_.lFrame=qu();return r.currentTNode=t,r.lView=e,!0}function Da(e){let t=qu(),n=e[v];_.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function qu(){let e=_.lFrame,t=e===null?null:e.child;return t===null?Wu(e):t}function Wu(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 zu(){let e=_.lFrame;return _.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Gu=zu;function ba(){let e=zu();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 Rg(e){return(_.lFrame.contextLView=Ig(e,_.lFrame.contextLView))[z]}function we(){return _.lFrame.selectedIndex}function It(e){_.lFrame.selectedIndex=e}function Nt(){let e=_.lFrame;return Yn(e.tView,e.selectedIndex)}function wN(){_.lFrame.currentNamespace=Ou}function Og(){return _.lFrame.currentNamespace}var Qu=!0;function Kn(){return Qu}function Xn(e){Qu=e}function Ag(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Su(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 Ma(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:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function $r(e,t,n){Zu(e,t,3,n)}function Br(e,t,n,r){(e[E]&3)===n&&Zu(e,t,n,r)}function Ni(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function Zu(e,t,n,r){let o=r!==void 0?e[qt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[qt]+=65536),(a<i||i==-1)&&(Pg(e,n,t,c),e[qt]=(e[qt]&4294901760)+c+2),c++}function cl(e,t){fe(4,e,t);let n=M(null);try{t.call(e)}finally{M(n),fe(5,e,t)}}function Pg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[qt]>>16&&(e[E]&3)===t&&(e[E]+=16384,cl(a,i)):cl(a,i)}var Gt=-1,Et=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Lg(e){return e instanceof Et}function Fg(e){return(e.flags&8)!==0}function Vg(e){return(e.flags&16)!==0}function jg(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];Hg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Yu(e){return e===3||e===4||e===6}function Hg(e){return e.charCodeAt(0)===64}function Kt(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?ll(e,n,o,null,t[++r]):ll(e,n,o,null,null))}}return e}function ll(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Si={},Qt=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Ro(r);let o=this.injector.get(t,Si,r);return o!==Si||n===Si?o:this.parentInjector.get(t,n,r)}};function Ju(e){return e!==Gt}function io(e){return e&32767}function $g(e){return e>>16}function so(e,t){let n=$g(e),r=t;for(;n>0;)r=r[rn],n--;return r}var es=!0;function ao(e){let t=es;return es=e,t}var Bg=256,Ku=Bg-1,Xu=5,Ug=0,be={};function qg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Nn)&&(r=n[Nn]),r==null&&(r=n[Nn]=Ug++);let o=r&Ku,i=1<<o;t.data[e+(o>>Xu)]|=i}function co(e,t){let n=ed(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,ki(r.data,e),ki(t,null),ki(r.blueprint,null));let o=Ca(e,t),i=e.injectorIndex;if(Ju(o)){let s=io(o),a=so(o,t),c=a[v].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function ki(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ed(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ca(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=id(o),r===null)return Gt;if(n++,o=o[rn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Gt}function ts(e,t,n){qg(e,t,n)}function Wg(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(Yu(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 td(e,t,n){if(n&T.Optional||e!==void 0)return e;aa(t,"NodeInjector")}function nd(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),!(n&(T.Self|T.Host))){let o=e[Ce],i=oe(void 0);try{return o?o.get(t,r,n&T.Optional):pu(t,r,n&T.Optional)}finally{oe(i)}}return td(r,t,n)}function rd(e,t,n,r=T.Default,o){if(e!==null){if(t[E]&2048&&!(r&T.Self)){let s=Zg(e,t,n,r,be);if(s!==be)return s}let i=od(e,t,n,r,be);if(i!==be)return i}return nd(t,n,r,o)}function od(e,t,n,r,o){let i=Gg(n);if(typeof i=="function"){if(!Uu(t,e,r))return r&T.Host?td(o,n,r):nd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))aa(n);else return s}finally{Gu()}}else if(typeof i=="number"){let s=null,a=ed(e,t),c=Gt,l=r&T.Host?t[se][X]:null;for((a===-1||r&T.SkipSelf)&&(c=a===-1?Ca(e,t):t[a+8],c===Gt||!dl(r,!1)?a=-1:(s=t[v],a=io(c),t=so(c,t)));a!==-1;){let u=t[v];if(ul(i,a,u.data)){let d=zg(a,t,n,s,r,l);if(d!==be)return d}c=t[a+8],c!==Gt&&dl(r,t[v].data[a+8]===l)&&ul(i,a,t)?(s=u,a=io(c),t=so(c,t)):a=-1}}return o}function zg(e,t,n,r,o,i){let s=t[v],a=s.data[e+8],c=r==null?Tt(a)&&es:r!=s&&(a.type&3)!==0,l=o&T.Host&&i===a,u=Ur(a,s,n,c,l);return u!==null?Vn(t,s,u,a):be}function Ur(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Re(f)&&f.type===n)return c}return null}function Vn(e,t,n,r){let o=e[n],i=t.data;if(Lg(o)){let s=o;s.resolving&&Vh(Fh(i[n]));let a=ao(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?oe(s.injectImpl):null,u=Uu(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Ag(n,i[n],t)}finally{l!==null&&oe(l),ao(a),s.resolving=!1,Gu()}}return o}function Gg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Nn)?e[Nn]:void 0;return typeof t=="number"?t>=0?t&Ku:Qg:t}function ul(e,t,n){let r=1<<e;return!!(n[t+(e>>Xu)]&r)}function dl(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var ft=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return rd(this._tNode,this._lView,t,Ro(r),n)}};function Qg(){return new ft(Y(),y())}function DN(e){return Qn(()=>{let t=e.prototype.constructor,n=t[Zr]||ns(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Zr]||ns(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ns(e){return cu(e)?()=>{let t=ns(K(e));return t&&t()}:pt(e)}function Zg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!ro(s);){let a=od(i,s,n,r|T.Self,be);if(a!==be)return a;let c=i.parent;if(!c){let l=s[xu];if(l){let u=l.get(n,be,r);if(u!==be)return u}c=id(s),s=s[rn]}i=c}return o}function id(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[X]:null}function bN(e){return Wg(Y(),e)}function fl(e,t=null,n=null,r){let o=sd(e,t,n,r);return o.resolveInjectorInitializers(),o}function sd(e,t=null,n=null,r,o=new Set){let i=[n||Q,tg(e)];return r=r||(typeof e=="object"?void 0:ce(e)),new Pn(i,t||Ao(),r||null,o)}var Ye=class e{static THROW_IF_NOT_FOUND=An;static NULL=new Xr;static create(t,n){if(Array.isArray(t))return fl({name:""},n,t,"");{let r=t.name??"";return fl({name:r},t.parent,t.providers,r)}}static \u0275prov=U({token:e,providedIn:"any",factory:()=>Ze(vu)});static __NG_ELEMENT_ID__=-1};var Yg=new R("");Yg.__NG_ELEMENT_ID__=e=>{let t=Y();if(t===null)throw new C(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new C(204,!1)};var ad=!1,an=(()=>{class e{static __NG_ELEMENT_ID__=Jg;static __NG_ENV_ID__=n=>n}return e})(),lo=class extends an{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return ya(this._lView,t),()=>Pu(this._lView,t)}};function Jg(){return new lo(y())}var Je=class{},_a=new R("",{providedIn:"root",factory:()=>!1});var cd=new R(""),xa=new R(""),St=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new yn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.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.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),Kg=(()=>{class e{internalPendingTasks=x(St);scheduler=x(Je);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(12),this.internalPendingTasks.remove(n))}}async run(n){let r=this.add();try{return await n()}finally{r()}}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),rs=class extends de{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,_u()&&(this.destroyRef=x(an,{optional:!0})??void 0,this.pendingTasks=x(St,{optional:!0})??void 0)}emit(t){let n=M(null);try{super.next(t)}finally{M(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 V&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},ze=rs;function jn(...e){}function ld(e){let t,n;function r(){e=jn;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 pl(e){return queueMicrotask(()=>e()),()=>{e=jn}}var Ta="isAngularZone",uo=Ta+"_ID",Xg=0,pe=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ze(!1);onMicrotaskEmpty=new ze(!1);onStable=new ze(!1);onError=new ze(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=ad}=t;if(typeof Zone>"u")throw new C(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,nm(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ta)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(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,em,jn,jn);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)}},em={};function Na(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 tm(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ld(()=>{e.callbackScheduled=!1,os(e),e.isCheckStableRunning=!0,Na(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),os(e)}function nm(e){let t=()=>{tm(e)},n=Xg++;e._inner=e._inner.fork({name:"angular",properties:{[Ta]:!0,[uo]:n,[uo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(rm(c))return r.invokeTask(i,s,a,c);try{return hl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),gl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return hl(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!om(c)&&t(),gl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,os(e),Na(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function os(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function hl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function gl(e){e._nesting--,Na(e)}var fo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ze;onMicrotaskEmpty=new ze;onStable=new ze;onError=new ze;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 rm(e){return ud(e,"__ignore_ng_zone__")}function om(e){return ud(e,"__scheduler_tick__")}function ud(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var wt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},im=new R("",{providedIn:"root",factory:()=>{let e=x(pe),t=x(wt);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),po=class{destroyed=!1;listeners=null;errorHandler=x(wt,{optional:!0});destroyRef=x(an);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new C(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new C(953,!1);if(this.listeners===null)return;let n=M(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{M(n)}}};function MN(e){return new po}function ml(e,t){return iu(e,t)}function sm(e){return iu(So,e)}var CN=(ml.required=sm,ml);function am(){return cn(Y(),y())}function cn(e,t){return new Uo(Ee(e,t))}var Uo=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=am}return e})();function dd(e){return e instanceof Uo?e.nativeElement:e}var yl=new Set;function De(e){yl.has(e)||(yl.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function cm(e){return typeof e=="function"&&e[$]!==void 0}function fd(e,t){De("NgSignals");let n=Jc(e),r=n[$];return t?.equal&&(r.equal=t.equal),n.set=o=>Bt(r,o),n.update=o=>Mi(r,o),n.asReadonly=qo.bind(n),n}function qo(){let e=this[$];if(e.readonlyFn===void 0){let t=()=>this();t[$]=e,e.readonlyFn=t}return e.readonlyFn}function pd(e){return cm(e)&&typeof e.set=="function"}function lm(){return this._results[Symbol.iterator]()}var is=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 de}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=Zh(t);(this._changesDetected=!Qh(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]=lm};function hd(e){return(e.flags&128)===128}var gd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(gd||{}),md=new Map,um=0;function dm(){return um++}function fm(e){md.set(e[Po],e)}function ss(e){md.delete(e[Po])}var vl="__ngContext__";function Ae(e,t){Qe(t)?(e[vl]=t[Po],fm(t)):e[vl]=t}function yd(e){return Id(e[Ln])}function vd(e){return Id(e[ve])}function Id(e){for(;e!==null&&!Fe(e);)e=e[ve];return e}var as;function _N(e){as=e}function Sa(){if(as!==void 0)return as;if(typeof document<"u")return document;throw new C(210,!1)}var xN=new R("",{providedIn:"root",factory:()=>pm}),pm="ng",hm=new R(""),TN=new R("",{providedIn:"platform",factory:()=>"unknown"});var NN=new R("",{providedIn:"root",factory:()=>Sa().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),gm={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},SN=new R("",{providedIn:"root",factory:()=>gm});var mm="h",ym="b";var vm="di",Ed="s";var wd=!1,Im=new R("",{providedIn:"root",factory:()=>wd});var Em=new R("");var Dd=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Dd||{}),bd=new R("");var wm=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})();var ie=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(ie||{}),Il=0,Dm=1,j=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(j||{}),ho=function(e){return e[e.Initial=-1]="Initial",e}(ho||{}),bm=0,Wo=1;var Mm=4,Cm=5,_m=6,xm=7,Ri=8,Tm=9,Md=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Md||{});function Nm(e,t,n){let r=_d(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function qr(e,t){let n=_d(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Cd(e){qr(1,e),qr(0,e),qr(2,e)}function _d(e){let t=Mm;return e===1?t=Cm:e===2&&(t=Tm),t}function zo(e){return e+1}function er(e,t){let n=e[v],r=zo(t.index);return e[r]}function Sm(e,t,n){let r=e[v],o=zo(t);e[o]=n}function tr(e,t){let n=zo(t.index);return e.data[n]}function km(e,t,n){let r=zo(t);e.data[r]=n}function Rm(e,t,n){let r=t[v],o=tr(r,n);switch(e){case j.Complete:return o.primaryTmplIndex;case j.Loading:return o.loadingTmplIndex;case j.Error:return o.errorTmplIndex;case j.Placeholder:return o.placeholderTmplIndex;default:return null}}function El(e,t){return t===j.Placeholder?e.placeholderBlockConfig?.[Il]??null:t===j.Loading?e.loadingBlockConfig?.[Il]??null:null}function Om(e){return e.loadingBlockConfig?.[Dm]??null}function wl(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function Am(e,t){let n=t.primaryTmplIndex+L;return Yn(e,n)}var Pm=new R("");var Lm=()=>null;function xd(e,t,n=!1){return Lm(e,t,n)}function Fm(e){return e.get(Em,!1,{optional:!0})}function Td(e,t){let n=e.contentQueries;if(n!==null){let r=M(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];Bo(i),a.contentQueries(2,t[s],s)}}}finally{M(r)}}}function cs(e,t,n){Bo(0);let r=M(null);try{t(e,n)}finally{M(r)}}function ka(e,t,n){if(ha(t)){let r=M(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{M(r)}}}var Hn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Hn||{}),Pr;function Vm(){if(Pr===void 0&&(Pr=null,We.trustedTypes))try{Pr=We.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Pr}function Go(e){return Vm()?.createHTML(e)||e}var Lr;function Nd(){if(Lr===void 0&&(Lr=null,We.trustedTypes))try{Lr=We.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Lr}function Dl(e){return Nd()?.createHTML(e)||e}function bl(e){return Nd()?.createScriptURL(e)||e}var Pe=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ru})`}},ls=class extends Pe{getTypeName(){return"HTML"}},us=class extends Pe{getTypeName(){return"Style"}},ds=class extends Pe{getTypeName(){return"Script"}},fs=class extends Pe{getTypeName(){return"URL"}},ps=class extends Pe{getTypeName(){return"ResourceURL"}};function ln(e){return e instanceof Pe?e.changingThisBreaksApplicationSecurity:e}function Ra(e,t){let n=jm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ru})`)}return n===t}function jm(e){return e instanceof Pe&&e.getTypeName()||null}function kN(e){return new ls(e)}function RN(e){return new us(e)}function ON(e){return new ds(e)}function AN(e){return new fs(e)}function PN(e){return new ps(e)}function Sd(e){let t=new gs(e);return Hm()?new hs(t):t}var hs=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Go(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},gs=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=Go(t),n}};function Hm(){try{return!!new window.DOMParser().parseFromString(Go(""),"text/html")}catch{return!1}}var $m=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Oa(e){return e=String(e),e.match($m)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function nr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var kd=Ve("area,br,col,hr,img,wbr"),Rd=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Od=Ve("rp,rt"),Bm=nr(Od,Rd),Um=nr(Rd,Ve("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")),qm=nr(Od,Ve("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")),ms=nr(kd,Um,qm,Bm),Aa=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Wm=Ve("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"),zm=Ve("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"),Ad=nr(Aa,Wm,zm),Gm=Ve("script,style,template"),ys=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=Ym(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Zm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Ml(t).toLowerCase();if(!ms.hasOwnProperty(n))return this.sanitizedSomething=!0,!Gm.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(!Ad.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Aa[a]&&(c=Oa(c)),this.buf.push(" ",s,'="',Cl(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Ml(t).toLowerCase();ms.hasOwnProperty(n)&&!kd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Cl(t))}};function Qm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Zm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Pd(t);return t}function Ym(e){let t=e.firstChild;if(t&&Qm(e,t))throw Pd(t);return t}function Ml(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Pd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Jm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Km=/([^\#-~ |!])/g;function Cl(e){return e.replace(/&/g,"&amp;").replace(Jm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Km,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Fr;function Xm(e,t){let n=null;try{Fr=Fr||Sd(e);let r=t?String(t):"";n=Fr.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=Fr.getInertBodyElement(r)}while(r!==i);let a=new ys().sanitizeChildren(vs(n)||n);return Go(a)}finally{if(n){let r=vs(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function vs(e){return"content"in e&&ey(e)?e.content:null}function ey(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Qo=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}(Qo||{});function LN(e){let t=Pa();return t?Dl(t.sanitize(Qo.HTML,e)||""):Ra(e,"HTML")?Dl(ln(e)):Xm(Sa(),ye(e))}function ty(e){let t=Pa();return t?t.sanitize(Qo.URL,e)||"":Ra(e,"URL")?ln(e):Oa(ye(e))}function ny(e){let t=Pa();if(t)return bl(t.sanitize(Qo.RESOURCE_URL,e)||"");if(Ra(e,"ResourceURL"))return bl(ln(e));throw new C(904,!1)}function ry(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?ny:ty}function FN(e,t,n){return ry(t,n)(e)}function Pa(){let e=y();return e&&e[Se].sanitizer}var oy=/^>|^->|<!--|-->|--!>|<!-$/g,iy=/(<|>)/g,sy="\u200B$1\u200B";function ay(e){return e.replace(oy,t=>t.replace(iy,sy))}function Ld(e){return e instanceof Function?e():e}function cy(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 Fd="ng-template";function ly(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&cy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(La(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 La(e){return e.type===4&&e.value!==Fd}function uy(e,t,n){let r=e.type===4&&!n?Fd:e.value;return t===r}function dy(e,t,n){let r=4,o=e.attrs,i=o!==null?hy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!me(r)&&!me(c))return!1;if(s&&me(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!uy(e,c,n)||c===""&&t.length===1){if(me(r))return!1;s=!0}}else if(r&8){if(o===null||!ly(e,o,c,n)){if(me(r))return!1;s=!0}}else{let l=t[++a],u=fy(c,o,La(e),n);if(u===-1){if(me(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(me(r))return!1;s=!0}}}}return me(r)||s}function me(e){return(e&1)===0}function fy(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 gy(t,e)}function Vd(e,t,n=!1){for(let r=0;r<t.length;r++)if(dy(e,t[r],n))return!0;return!1}function py(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function hy(e){for(let t=0;t<e.length;t++){let n=e[t];if(Yu(n))return t}return e.length}function gy(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 my(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 _l(e,t){return e?":not("+t.trim()+")":t}function yy(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!==""&&!me(s)&&(t+=_l(i,o),o=""),r=s,i=i||!me(r);n++}return o!==""&&(t+=_l(i,o)),t}function vy(e){return e.map(yy).join(",")}function Iy(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(!me(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var W={};function jd(e,t){return e.createText(t)}function Hd(e,t,n){e.setValue(t,n)}function $d(e,t){return e.createComment(ay(t))}function Fa(e,t,n){return e.createElement(t,n)}function Dt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Bd(e,t,n){e.appendChild(t,n)}function xl(e,t,n,r,o){r!==null?Dt(e,t,n,r,o):Bd(e,t,n)}function Ud(e,t,n){e.removeChild(null,t,n)}function Ey(e,t,n){e.setAttribute(t,"style",n)}function wy(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function qd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&jg(e,t,r),o!==null&&wy(e,t,o),i!==null&&Ey(e,t,i)}function Va(e,t,n,r,o,i,s,a,c,l,u){let d=L+r,p=d+o,f=Dy(d,p),h=typeof l=="function"?l():l;return f[v]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,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:h,incompleteFirstPass:!1,ssrId:u}}function Dy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:W);return n}function by(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Va(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ja(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Le]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),Au(d),d[G]=d[rn]=e,d[z]=n,d[Se]=s||e&&e[Se],d[S]=a||e&&e[S],d[Ce]=c||e&&e[Ce]||null,d[X]=i,d[Po]=dm(),d[Yt]=u,d[xu]=l,d[se]=t.type==2?e[se]:d,d}function My(e,t,n){let r=Ee(t,e),o=by(n),i=e[Se].rendererFactory,s=Ha(e,ja(e,o,null,Wd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Wd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function rr(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 Ha(e,t){return e[Ln]?e[sl][ve]=t:e[Ln]=t,e[sl]=t,t}function VN(e=1){zd(O(),y(),we()+e,!1)}function zd(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&$r(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Br(t,i,0,n)}It(n)}var Zo=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Zo||{});function Gd(e,t,n,r){let o=M(null);try{let[i,s,a]=e.inputs[n],c=null;s&Zo.SignalBased&&(c=t[i][$]),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):Nu(t,c,i,r)}finally{M(o)}}function Qd(e,t,n,r,o){let i=we(),s=r&2;try{It(-1),s&&t.length>L&&zd(e,t,L,!1),fe(s?2:0,o),n(r,o)}finally{It(i),fe(s?3:1,o)}}function $a(e,t,n){Ho()&&(Ae(Ee(n,t),t),Zd(e,t,n))}function Zd(e,t,n){Sy(e,t,n),(n.flags&64)===64&&ky(e,t,n)}function Ba(e,t,n=Ee){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 Cy(e,t,n,r){let i=r.get(Im,wd)||n===Hn.ShadowDom,s=e.selectRootElement(t,i);return _y(s),s}function _y(e){xy(e)}var xy=()=>null;function Ty(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function un(e,t,n,r,o,i,s,a){let c=t.inputs,l;if(!a&&c!=null&&(l=c[r]))Wa(e,n,l,r,o),Tt(t)&&Ny(n,t.index);else if(t.type&3){let u=Ee(t,n);r=Ty(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)}else t.type&12}function Ny(e,t){let n=_e(t,e);n[E]&16||(n[E]|=64)}function Sy(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Tt(n)&&My(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||co(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Vn(t,e,s,n);if(Ae(c,t),i!==null&&Ay(t,s-r,c,a,n,i),Re(a)){let l=_e(n.index,t);l[z]=Vn(t,e,s,n)}}}function ky(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Ng();try{It(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Xi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Ry(c,l)}}finally{It(-1),Xi(s)}}function Ry(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Ua(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Vd(t,i.selectors,!1)&&(r??=[],Re(i)?r.unshift(i):r.push(i))}return r}function Oy(e,t,n,r,o,i){let s=Ee(e,t);qa(t[S],s,i,e.value,n,r,o)}function qa(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?ye(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Ay(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],l=s[a+1];Gd(r,n,c,l)}}function Yo(e,t){let n=e[Ce],r=n?n.get(wt,null):null;r&&r.handleError(t)}function Wa(e,t,n,r,o){for(let i=0;i<n.length;i+=2){let s=n[i],a=n[i+1],c=t[s],l=e.data[s];Gd(l,c,a,o)}}function Py(e,t){let n=_e(t,e),r=n[v];Ly(r,n);let o=n[Le];o!==null&&n[Yt]===null&&(n[Yt]=xd(o,n[Ce])),za(r,n,n[z])}function Ly(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function za(e,t,n){Da(t);try{let r=e.viewQuery;r!==null&&cs(1,r,n);let o=e.template;o!==null&&Qd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ke]?.finishViewCreation(e),e.staticContentQueries&&Td(e,t),e.staticViewQueries&&cs(2,e.viewQuery,n);let i=e.components;i!==null&&Fy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,ba()}}function Fy(e,t){for(let n=0;n<t.length;n++)Py(e,t[n])}function dn(e,t,n,r){let o=M(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=ja(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[gt]=l;let u=e[ke];return u!==null&&(c[ke]=u.createEmbeddedView(i)),za(i,c,n),c}finally{M(o)}}function bt(e,t){return!t||t.firstChild===null||hd(e)}var Is;function Ga(e,t){return Is(e,t)}function Vy(e){Is===void 0&&(Is=e())}var Es=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Es||{});function Qa(e){return(e.flags&32)===32}function Wt(e,t,n,r,o){if(r!=null){let i,s=!1;Fe(r)?i=r:Qe(r)&&(s=!0,r=r[Le]);let a=he(r);e===0&&n!==null?o==null?Bd(t,n,a):Dt(t,n,a,o||null,!0):e===1&&n!==null?Dt(t,n,a,o||null,!0):e===2?Ud(t,a,s):e===3&&t.destroyNode(a),i!=null&&Wy(t,e,i,n,o)}}function jy(e,t){Yd(e,t),t[Le]=null,t[X]=null}function Hy(e,t,n,r,o,i){r[Le]=o,r[X]=t,Xo(e,r,n,1,o,i)}function Yd(e,t){t[Se].changeDetectionScheduler?.notify(10),Xo(e,t,t[S],2,null,null)}function $y(e){let t=e[Ln];if(!t)return Oi(e[v],e);for(;t;){let n=null;if(Qe(t))n=t[Ln];else{let r=t[Z];r&&(n=r)}if(!n){for(;t&&!t[ve]&&t!==e;)Qe(t)&&Oi(t[v],t),t=t[G];t===null&&(t=e),Qe(t)&&Oi(t[v],t),n=t&&t[ve]}t=n}}function Za(e,t){let n=e[Jt],r=n.indexOf(t);n.splice(r,1)}function Jo(e,t){if(on(t))return;let n=t[S];n.destroyNode&&Xo(e,t,n,3,null,null),$y(t)}function Oi(e,t){if(on(t))return;let n=M(null);try{t[E]&=-129,t[E]|=256,t[le]&&$t(t[le]),Uy(e,t),By(e,t),t[v].type===1&&t[S].destroy();let r=t[gt];if(r!==null&&Fe(t[G])){r!==t[G]&&Za(r,t);let o=t[ke];o!==null&&o.detachView(e)}ss(t)}finally{M(n)}}function By(e,t){let n=e.cleanup,r=t[eo];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[eo]=null);let o=t[Ge];if(o!==null){t[Ge]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[mt];if(i!==null){t[mt]=null;for(let s of i)s.destroy()}}function Uy(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 Et)){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];fe(4,a,c);try{c.call(a)}finally{fe(5,a,c)}}else{fe(4,o,i);try{i.call(o)}finally{fe(5,o,i)}}}}}function Jd(e,t,n){return Kd(e,t.parent,n)}function Kd(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Le];if(Tt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Hn.None||o===Hn.Emulated)return null}return Ee(r,n)}function Xd(e,t,n){return tf(e,t,n)}function ef(e,t,n){return e.type&40?Ee(e,n):null}var tf=ef,ws;function nf(e,t){tf=e,ws=t}function Ko(e,t,n,r){let o=Jd(e,r,t),i=t[S],s=r.parent||t[X],a=Xd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)xl(i,o,n[c],a,!1);else xl(i,o,n,a,!1);ws!==void 0&&ws(i,r,t,n,o)}function xn(e,t){if(t!==null){let n=t.type;if(n&3)return Ee(t,e);if(n&4)return Ds(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return xn(e,r);{let o=e[t.index];return Fe(o)?Ds(-1,o):he(o)}}else{if(n&128)return xn(e,t.next);if(n&32)return Ga(t,e)()||he(e[t.index]);{let r=rf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=vt(e[se]);return xn(o,r)}else return xn(e,t.next)}}}return null}function rf(e,t){if(t!==null){let r=e[se][X],o=t.projection;return r.projection[o]}return null}function Ds(e,t){let n=Z+e+1;if(n<t.length){let r=t[n],o=r[v].firstChild;if(o!==null)return xn(r,o)}return t[yt]}function Ya(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Ae(he(a),r),n.flags|=2),!Qa(n))if(c&8)Ya(e,t,n.child,r,o,i,!1),Wt(t,e,o,a,i);else if(c&32){let l=Ga(n,r),u;for(;u=l();)Wt(t,e,o,u,i);Wt(t,e,o,a,i)}else c&16?of(e,t,r,n,o,i):Wt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Xo(e,t,n,r,o,i){Ya(n,r,e.firstChild,t,o,i,!1)}function qy(e,t,n){let r=t[S],o=Jd(e,n,t),i=n.parent||t[X],s=Xd(i,n,t);of(r,0,t,n,o,s)}function of(e,t,n,r,o,i){let s=n[se],c=s[X].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Wt(t,e,o,u,i)}else{let l=c,u=s[G];hd(r)&&(l.flags|=128),Ya(e,t,l,u,o,i,!0)}}function Wy(e,t,n,r,o){let i=n[yt],s=he(n);i!==s&&Wt(t,e,r,i,o);for(let a=Z;a<n.length;a++){let c=n[a];Xo(c[v],c,e,t,r,i)}}function zy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Es.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Es.Important),e.setStyle(n,r,o,i))}}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)),Fe(i)&&Gy(i,r);let s=n.type;if(s&8)go(e,t,n.child,r);else if(s&32){let a=Ga(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=rf(t,n);if(Array.isArray(a))r.push(...a);else{let c=vt(t[se]);go(c[v],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Gy(e,t){for(let n=Z;n<e.length;n++){let r=e[n],o=r[v].firstChild;o!==null&&go(r[v],r,o,t)}e[yt]!==e[Le]&&t.push(e[yt])}var sf=[];function Qy(e){return e[le]??Zy(e)}function Zy(e){let t=sf.pop()??Object.create(Jy);return t.lView=e,t}function Yy(e){e.lView[le]!==e&&(e.lView=null,sf.push(e))}var Jy=ne(te({},Ue),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Jn(e.lView)},consumerOnSignalRead(){this.lView[le]=this}});function Ky(e){let t=e[le]??Object.create(Xy);return t.lView=e,t}var Xy=ne(te({},Ue),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=vt(e.lView);for(;t&&!af(t[v]);)t=vt(t);t&&ma(t)},consumerOnSignalRead(){this.lView[le]=this}});function af(e){return e.type!==2}function cf(e){if(e[mt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[mt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var ev=100;function lf(e,t=!0,n=0){let o=e[Se].rendererFactory,i=!1;i||o.begin?.();try{tv(e,n)}catch(s){throw t&&Yo(e,s),s}finally{i||o.end?.()}}function tv(e,t){let n=$u();try{oo(!0),bs(e,t);let r=0;for(;jo(e);){if(r===ev)throw new C(103,!1);r++,bs(e,1)}}finally{oo(n)}}function nv(e,t,n,r){if(on(t))return;let o=t[E],i=!1,s=!1;Da(t);let a=!0,c=null,l=null;i||(af(e)?(l=Qy(t),c=ct(l)):$c()===null?(a=!1,l=Ky(t),c=ct(l)):t[le]&&($t(t[le]),t[le]=null));try{Au(t),_g(e.bindingStartIndex),n!==null&&Qd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&$r(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Br(t,f,0,null),Ni(t,0)}if(s||rv(t),cf(t),uf(t,0),e.contentQueries!==null&&Td(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&$r(t,f)}else{let f=e.contentHooks;f!==null&&Br(t,f,1),Ni(t,1)}iv(e,t);let d=e.components;d!==null&&ff(t,d,0);let p=e.viewQuery;if(p!==null&&cs(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&$r(t,f)}else{let f=e.viewHooks;f!==null&&Br(t,f,2),Ni(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Hr]){for(let f of t[Hr])f();t[Hr]=null}i||(t[E]&=-73)}catch(u){throw i||Jn(t),u}finally{l!==null&&(Ht(l,c),a&&Yy(l)),ba()}}function uf(e,t){for(let n=yd(e);n!==null;n=vd(n))for(let r=Z;r<n.length;r++){let o=n[r];df(o,t)}}function rv(e){for(let t=yd(e);t!==null;t=vd(t)){if(!(t[E]&2))continue;let n=t[Jt];for(let r=0;r<n.length;r++){let o=n[r];ma(o)}}}function ov(e,t,n){let r=_e(t,e);df(r,n)}function df(e,t){ga(e)&&bs(e,t)}function bs(e,t){let r=e[v],o=e[E],i=e[le],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Mn(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)nv(r,e,r.template,e[z]);else if(o&8192){cf(e),uf(e,1);let a=r.components;a!==null&&ff(e,a,1)}}function ff(e,t,n){for(let r=0;r<t.length;r++)ov(e,t[r],n)}function iv(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)It(~o);else{let i=o,s=n[++r],a=n[++r];Tg(s,i);let c=t[i];fe(24,c),a(2,c),fe(25,c)}}}finally{It(-1)}}function ei(e,t){let n=$u()?64:1088;for(e[Se].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=vt(e);if(ro(e)&&!r)return e;e=r}return null}function pf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function hf(e,t){let n=Z+t;if(n<e.length)return e[n]}function fn(e,t,n,r=!0){let o=t[v];if(sv(o,t,e,n),r){let s=Ds(n,e),a=t[S],c=a.parentNode(e[yt]);c!==null&&Hy(o,e[X],a,t,c,s)}let i=t[Yt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Ja(e,t){let n=$n(e,t);return n!==void 0&&Jo(n[v],n),n}function $n(e,t){if(e.length<=Z)return;let n=Z+t,r=e[n];if(r){let o=r[gt];o!==null&&o!==e&&Za(o,r),t>0&&(e[n-1][ve]=r[ve]);let i=Jr(e,Z+t);jy(r[v],r);let s=i[ke];s!==null&&s.detachView(i[v]),r[G]=null,r[ve]=null,r[E]&=-129}return r}function sv(e,t,n,r){let o=Z+r,i=n.length;r>0&&(n[o-1][ve]=t),r<i-Z?(t[ve]=n[o],yu(n,Z+r,t)):(n.push(t),t[ve]=null),t[G]=n;let s=t[gt];s!==null&&n!==s&&gf(s,t);let a=t[ke];a!==null&&a.insertView(e),Ji(t),t[E]|=128}function gf(e,t){let n=e[Jt],r=t[G];if(Qe(r))e[E]|=2;else{let o=r[G][se];t[se]!==o&&(e[E]|=2)}n===null?e[Jt]=[t]:n.push(t)}var Mt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[v];return go(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[z]}get dirty(){return!!(this._lView[E]&9280)||!!this._lView[le]?.dirty}set context(t){this._lView[z]=t}get destroyed(){return on(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[G];if(Fe(t)){let n=t[no],r=n?n.indexOf(this):-1;r>-1&&($n(t,r),Jr(n,r))}this._attachedToViewContainer=!1}Jo(this._lView[v],this._lView)}onDestroy(t){ya(this._lView,t)}markForCheck(){ei(this._cdRefInjectingView||this._lView,4)}markForRefresh(){ma(this._cdRefInjectingView||this._lView)}detach(){this._lView[E]&=-129}reattach(){Ji(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,lf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ro(this._lView),n=this._lView[gt];n!==null&&!t&&Za(n,this._lView),Yd(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;let n=ro(this._lView),r=this._lView[gt];r!==null&&!n&&gf(r,this._lView),Ji(this._lView)}},mo=(()=>{class e{static __NG_ELEMENT_ID__=lv}return e})(),av=mo,cv=class extends av{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=dn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Mt(o)}};function lv(){return ti(Y(),y())}function ti(e,t){return e.type&4?new cv(t,e,cn(e,t)):null}function mf(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?ef(e,t,n):he(n[o])}function yf(e,t,n,r,o){let i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(t.type&3||(a=s,s=o),s!==null&&t.componentOffset===-1)for(let c=1;c<i.length;c++){let l=n[i[c]];Dt(e,s,l,a,!1)}}}function pn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Ka(e,t,n,r,o),xg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Fn();i.injectorIndex=s===null?-1:s.injectorIndex}return Ie(i,!0),i}function Ka(e,t,n,r,o){let i=ju(),s=va(),a=s?i:i&&i.parent,c=e.data[t]=dv(e,a,n,t,r,o);return uv(e,c,i,s),c}function uv(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 dv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Vu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function vf(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];If(r)||fv(r,t)&&pv(r)===null&&hv(r,t.index)}}function If(e){return!(e.type&64)}function fv(e,t){return If(t)||e.index>t.index}function pv(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function hv(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(nf(mf,yf),e.insertBeforeIndex=t)}function Sn(e,t){let n=e.data[t];return n===null||typeof n=="string"?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function gv(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function mv(e,t){let n=e.insertBeforeIndex;n===null?(nf(mf,yf),n=e.insertBeforeIndex=[null,t]):(Nh(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function yv(e,t,n){let r=Ka(e,n,64,null,null);return vf(t,r),r}function ni(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function vv(e){return e>>>17}function Iv(e){return(e&131070)>>>1}function Ev(e,t,n){return e|t<<17|n<<1}function wv(e){return e===-1}function Ef(e,t,n){e.index=0;let r=ni(t,n);r!==null?e.removes=t.remove[r]:e.removes=Q}function Ms(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[v].data[n];return Ef(e,r,e.lView),Ms(e)}}else return e.stack.length===0?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),Ms(e))}function Dv(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return Ef(e,n.value,r),Ms.bind(null,e)}return t}var HN=new RegExp(`^(\\d+)*(${ym}|${mm})*(.*)`);var bv=()=>{};function Mv(e,t,n,r){bv(e,t,n,r)}var Cv=()=>{};function _v(e,t,n){Cv(e,t,n)}var xv=()=>null;function Xt(e,t){return xv(e,t)}var Cs=class{},yo=class{},_s=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ce(t)}.`)}},en=class{static NULL=new _s},vo=class{},$N=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Tv()}return e})();function Tv(){let e=y(),t=Y(),n=_e(t.index,e);return(Qe(n)?n:e)[S]}var Nv=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>null})}return e})();function xs(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=Ui(o,a);else if(i==2){let c=a,l=t[++s];r=Ui(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ri(e,t=T.Default){let n=y();if(n===null)return Ze(e,t);let r=Y();return rd(r,n,K(e),t)}function Xa(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let[a,c]=kv(e,n,s);Ov(e,t,n,a,i,c)}i!==null&&r!==null&&Sv(n,r,i)}function Sv(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 C(-301,!1);r.push(t[o],i)}}function kv(e,t,n){let r=[],o=null;for(let i of n)i.findHostDirectiveDefs!==null&&(o??=new Map,i.findHostDirectiveDefs(i,r,o)),Re(i)&&(r.push(i),Rv(e,t,r.length-1));return Tt(t)?r.push(...n.slice(1)):r.push(...n),[r,o]}function Rv(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Ov(e,t,n,r,o,i){for(let l=0;l<r.length;l++)ts(co(n,t),e,r[l].type);Hv(n,e.data.length,r.length);for(let l=0;l<r.length;l++){let u=r[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=rr(e,t,r.length,null);for(let l=0;l<r.length;l++){let u=r[l];n.mergedAttrs=Kt(n.mergedAttrs,u.hostAttrs),Lv(e,n,t,c,u),jv(c,u,o),u.contentQueries!==null&&(n.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(n.flags|=64);let d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}Av(e,n,i)}function Av(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u<o;u++){let d=i[u],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;c=Tl(0,d.inputs,u,c,f),l=Tl(1,d.outputs,u,l,h);let g=c!==null&&s!==null&&!La(t)?Pv(c,u,s):null;a.push(g)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}function Tl(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a=i;if(o!==null){if(!o.hasOwnProperty(i))continue;a=o[i]}e===0?Nl(r,n,a,i):Nl(r,n,a,s)}return r}function Nl(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Pv(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){let s=e[i];for(let a=0;a<s.length;a+=2)if(s[a]===t){r??=[],r.push(s[a+1],n[o+1]);break}}o+=2}return r}function Lv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=pt(o.type,!0)),s=new Et(i,Re(o),ri);e.blueprint[r]=s,n[r]=s,Fv(e,t,r,rr(e,n,o.hostVars,W),o)}function Fv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Vv(s)!=a&&s.push(a),s.push(n,r,i)}}function Vv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function jv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Re(t)&&(n[""]=e)}}function Hv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function wf(e,t,n,r,o,i,s,a){let c=t.consts,l=Oe(c,s),u=pn(t,e,2,r,l);return i&&Xa(t,n,u,Oe(c,a),o),u.mergedAttrs=Kt(u.mergedAttrs,u.attrs),u.attrs!==null&&xs(u,u.attrs,!1),u.mergedAttrs!==null&&xs(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Df(e,t){Ma(e,t),ha(t)&&e.queries.elementEnd(t)}var Io=class extends en{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Me(t);return new Ct(n,this.ngModule)}};function $v(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Zo.SignalBased)!==0};return o&&(i.transform=o),i})}function Bv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Uv(e,t,n){let r=t instanceof Ne?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Qt(n,r):n}function qv(e){let t=e.get(vo,null);if(t===null)throw new C(407,!1);let n=e.get(Nv,null),r=e.get(Je,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function Wv(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Fa(t,n,n==="svg"?Ou:n==="math"?mg:null)}var Ct=class extends yo{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return $v(this.componentDef.inputs)}get outputs(){return Bv(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=vy(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){let i=M(null);try{let s=this.componentDef,a=r?["ng-version","19.1.7"]:Iy(this.componentDef.selectors[0]),c=Va(0,null,null,1,0,null,null,null,null,[a],null),l=Uv(s,o||this.ngModule,t),u=qv(l),d=u.rendererFactory.createRenderer(null,s),p=r?Cy(d,r,s.encapsulation,l):Wv(s,d),f=ja(null,c,null,512|Wd(s),null,null,u,d,l,null,xd(p,l,!0));f[L]=p,Da(f);let h=null;try{let g=wf(L,c,f,"#host",()=>[this.componentDef],!0,0);p&&(qd(d,p,g),Ae(p,f)),Zd(c,f,g),ka(c,g,f),Df(c,g),n!==void 0&&zv(g,this.ngContentSelectors,n),h=_e(g.index,f),f[z]=h[z],za(c,f,null)}catch(g){throw h!==null&&ss(h),ss(f),g}finally{ba()}return new Ts(this.componentType,f)}finally{M(i)}}},Ts=class extends Cs{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=Yn(n[v],L),this.location=cn(this._tNode,n),this.instance=_e(this._tNode.index,n)[z],this.hostView=this.changeDetectorRef=new Mt(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Wa(i[v],i,o,t,n),this.previousInputValues.set(t,n);let s=_e(this._tNode.index,i);ei(s,1)}}get injector(){return new ft(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function zv(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 ec=(()=>{class e{static __NG_ELEMENT_ID__=Gv}return e})();function Gv(){let e=Y();return Mf(e,y())}var Qv=ec,bf=class extends Qv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return cn(this._hostTNode,this._hostLView)}get injector(){return new ft(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ca(this._hostTNode,this._hostLView);if(Ju(t)){let n=so(t,this._hostLView),r=io(t),o=n[v].data[r+8];return new ft(o,n)}else return new ft(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Sl(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Z}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Xt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,bt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!fg(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new Ct(Me(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?l:this.parentInjector).get(Ne,null);g&&(i=g)}let u=Me(c.componentType??{}),d=Xt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,bt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(vg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[G],l=new bf(c,c[X],c[G]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return fn(s,o,i,r),t.attachToViewContainerRef(),yu(Ai(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Sl(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=$n(this._lContainer,n);r&&(Jr(Ai(this._lContainer),n),Jo(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=$n(this._lContainer,n);return r&&Jr(Ai(this._lContainer),n)!=null?new Mt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Sl(e){return e[no]}function Ai(e){return e[no]||(e[no]=[])}function Mf(e,t){let n,r=t[e.index];return Fe(r)?n=r:(n=pf(r,t,null,e),t[e.index]=n,Ha(t,n)),Yv(n,t,e,r),new bf(n,e,t)}function Zv(e,t){let n=e[S],r=n.createComment(""),o=Ee(t,e),i=n.parentNode(o);return Dt(n,i,r,n.nextSibling(o),!1),r}var Yv=Kv,Jv=()=>!1;function Cf(e,t,n){return Jv(e,t,n)}function Kv(e,t,n,r){if(e[yt])return;let o;n.type&8?o=he(r):o=Zv(t,n),e[yt]=o}var Ns=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ss=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++)nc(t,n).matches!==null&&this.queries[n].setDirty()}},Eo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=oI(t):this.predicate=t}},ks=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)}},Rs=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,Xv(n,i)),this.matchTNodeWithReadOption(t,n,Ur(n,t,i,!1,!1))}else r===mo?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ur(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Uo||o===ec||o===mo&&n.type&4)this.addMatch(n.index,-2);else{let i=Ur(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 Xv(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 eI(e,t){return e.type&11?cn(e,t):e.type&4?ti(e,t):null}function tI(e,t,n,r){return n===-1?eI(t,e):n===-2?nI(e,t,r):Vn(e,e[v],n,t)}function nI(e,t,n){if(n===Uo)return cn(t,e);if(n===mo)return ti(t,e);if(n===ec)return Mf(t,e)}function _f(e,t,n,r){let o=t[ke].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 l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(tI(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Os(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=_f(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 l=i[a+1],u=t[-c];for(let d=Z;d<u.length;d++){let p=u[d];p[gt]===p[G]&&Os(p[v],p,l,r)}if(u[Jt]!==null){let d=u[Jt];for(let p=0;p<d.length;p++){let f=d[p];Os(f[v],f,l,r)}}}}}return r}function tc(e,t){return e[ke].queries[t].queryList}function xf(e,t,n){let r=new is((n&4)===4);return Eg(e,t,r,r.destroy),(t[ke]??=new Ss).queries.push(new Ns(r))-1}function rI(e,t,n){let r=O();return r.firstCreatePass&&(Nf(r,new Eo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),xf(r,y(),t)}function Tf(e,t,n,r){let o=O();if(o.firstCreatePass){let i=Y();Nf(o,new Eo(t,n,r),i.index),iI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return xf(o,y(),n)}function oI(e){return e.split(",").map(t=>t.trim())}function Nf(e,t,n){e.queries===null&&(e.queries=new ks),e.queries.track(new Rs(t,n))}function iI(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 nc(e,t){return e.queries.getByIndex(t)}function Sf(e,t){let n=e[v],r=nc(n,t);return r.crossesNgTemplate?Os(n,e,t,[]):_f(n,e,r,t)}function rc(e,t,n){let r,o=bi(()=>{r._dirtyCounter();let i=aI(r,e);if(t&&i===void 0)throw new C(-951,!1);return i});return r=o[$],r._dirtyCounter=fd(0),r._flatValue=void 0,o}function kf(e){return rc(!0,!1,e)}function Rf(e){return rc(!0,!0,e)}function sI(e){return rc(!1,!1,e)}function Of(e,t){let n=e[$];n._lView=y(),n._queryIndex=t,n._queryList=tc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function aI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:Q;let o=tc(n,r),i=Sf(n,r);return o.reset(i,dd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function kl(e,t){return kf(t)}function cI(e,t){return Rf(t)}var UN=(kl.required=cI,kl);function Rl(e,t){return kf(t)}function lI(e,t){return Rf(t)}var qN=(Rl.required=lI,Rl);function WN(e,t){return sI(t)}function Af(e,t){let n=Object.create(ou),r=new po;n.value=e;function o(){return jt(n),Ol(n.value),n.value}return o[$]=n,o.asReadonly=qo.bind(o),o.set=i=>{n.equal(n.value,i)||(Bt(n,i),r.emit(i))},o.update=i=>{Ol(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Ol(e){if(e===So)throw new C(952,!1)}function Al(e,t){return Af(e,t)}function uI(e){return Af(So,e)}var zN=(Al.required=uI,Al);var _t=class{},As=class{};function GN(e,t){return new wo(e,t??null,[])}var wo=class extends _t{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Io(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Eu(t);this._bootstrapComponents=Ld(i.bootstrap),this._r3Injector=sd(t,n,[{provide:_t,useValue:this},{provide:en,useValue:this.componentFactoryResolver},...r],ce(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)}},Ps=class extends As{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new wo(this.moduleType,t,[])}};var Do=class extends _t{injector;componentFactoryResolver=new Io(this);instance=null;constructor(t){super();let n=new Pn([...t.providers,{provide:_t,useValue:this},{provide:en,useValue:this.componentFactoryResolver}],t.parent||Ao(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Pf(e,t,n=null){return new Do({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var dI=(()=>{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=da(!1,n.type),o=r.length>0?Pf([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=U({token:e,providedIn:"environment",factory:()=>new e(Ze(Ne))})}return e})();function QN(e){return Qn(()=>{let t=Lf(e),n=ne(te({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(dI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Hn.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&De("NgStandalone"),Ff(n);let r=e.dependencies;return n.directiveDefs=Pl(r,!1),n.pipeDefs=Pl(r,!0),n.id=mI(n),n})}function fI(e){return Me(e)||la(e)}function pI(e){return e!==null}function ZN(e){return Qn(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function hI(e,t){if(e==null)return ht;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=Zo.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function gI(e){if(e==null)return ht;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function YN(e){return Qn(()=>{let t=Lf(e);return Ff(t),t})}function JN(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 Lf(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||ht,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:hI(e.inputs,t),outputs:gI(e.outputs),debugInfo:null}}function Ff(e){e.features?.forEach(t=>t(e))}function Pl(e,t){if(!e)return null;let n=t?ua:fI;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(pI)}function mI(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 yI(e){return Object.getPrototypeOf(e.prototype).constructor}function vI(e){let t=yI(e.type),n=!0,r=[e];for(;t;){let o;if(Re(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Pi(e.inputs),s.declaredInputs=Pi(e.declaredInputs),s.outputs=Pi(e.outputs);let a=o.hostBindings;a&&bI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&wI(e,c),l&&DI(e,l),II(e,o),xh(e.outputs,o.outputs),Re(o)&&o.data.animation){let u=e.data;u.animation=(u.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===vI&&(n=!1)}}t=Object.getPrototypeOf(t)}EI(r)}function II(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 EI(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=Kt(o.hostAttrs,n=Kt(n,o.hostAttrs))}}function Pi(e){return e===ht?{}:e===Q?[]:e}function wI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function DI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function bI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Vf(e){return oc(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function MI(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 oc(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function oi(e,t,n){return e[t]=n}function CI(e,t){return e[t]}function ae(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Bn(e,t,n,r){let o=ae(e,t,n);return ae(e,t+1,r)||o}function _I(e,t,n,r,o){let i=Bn(e,t,n,r);return ae(e,t+2,o)||i}function xI(e,t,n,r,o,i){let s=Bn(e,t,n,r);return Bn(e,t+2,o,i)||s}function TI(e,t,n,r,o,i,s,a,c){let l=t.consts,u=pn(t,e,4,s||null,a||null);Ho()&&Xa(t,n,u,Oe(l,c),Ua),u.mergedAttrs=Kt(u.mergedAttrs,u.attrs),Ma(t,u);let d=u.tView=Va(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function Un(e,t,n,r,o,i,s,a,c,l){let u=n+L,d=t.firstCreatePass?TI(u,t,e,r,o,i,s,a,c):t.data[u];Ie(d,!1);let p=SI(t,e,d,n);Kn()&&Ko(t,e,p,d),Ae(p,e);let f=pf(p,e,p,d);return e[u]=f,Ha(e,f),Cf(f,d,e),Lo(d)&&$a(t,e,d),c!=null&&Ba(e,d,l),d}function NI(e,t,n,r,o,i,s,a){let c=y(),l=O(),u=Oe(l.consts,i);return Un(c,l,e,t,n,r,o,u,s,a),NI}var SI=kI;function kI(e,t,n,r){return Xn(!0),t[S].createComment("")}var RI=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Pf(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=U({token:e,providedIn:"environment",factory:()=>new e})}return e})();var OI=new R("");function Li(e,t,n){return e.get(RI).getOrCreateInjector(t,e,n,"")}function AI(e,t,n){if(e instanceof Qt){let o=e.injector,i=e.parentInjector,s=Li(i,t,n);return new Qt(o,s)}let r=e.get(Ne);if(r!==e){let o=Li(r,t,n);return new Qt(e,o)}return Li(e,t,n)}function dt(e,t,n,r=!1){let o=n[G],i=o[v];if(on(o))return;let s=er(o,t),a=s[Wo],c=s[xm];if(!(c!==null&&e<c)&&Ll(a,e)&&Ll(s[bm]??-1,e)){let l=tr(i,t),d=!r&&!0&&(Om(l)!==null||El(l,j.Loading)!==null||El(l,j.Placeholder))?VI:LI;try{d(e,s,n,t,o)}catch(p){Yo(o,p)}}}function PI(e,t){return e[to]?.find(n=>n.data[Ed]===t[Wo])??null}function LI(e,t,n,r,o){let i=Rm(e,o,r);if(i!==null){t[Wo]=e;let s=o[v],a=i+L,c=Yn(s,a),l=0;Ja(n,l);let u;if(e===j.Complete){let f=tr(s,r),h=f.providers;h&&h.length>0&&(u=AI(o[Ce],f,h))}let d=PI(n,t);n[to]=null;let p=dn(o,c,null,{injector:u,dehydratedView:d});if(fn(n,p,l,bt(c,d)),ei(p,2),(e===j.Complete||e===j.Error)&&Array.isArray(t[Ri])){for(let f of t[Ri])f();t[Ri]=null}}}function Ll(e,t){return e<t}function FI(e,t){let n=e[t.index];dt(j.Placeholder,t,n)}function Fl(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ie.COMPLETE?dt(j.Complete,t,n):e.loadingState===ie.FAILED&&dt(j.Error,t,n)})}var VI=null;var KN=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var jI=new R("");function jf(e){return!!e&&typeof e.then=="function"}function HI(e){return!!e&&typeof e.subscribe=="function"}var $I=new R("");var Hf=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=x($I,{optional:!0})??[];injector=x(Ye);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Cu(this.injector,o);if(jf(i))n.push(i);else if(HI(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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$f=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>new bo})}return e})(),bo=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}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)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},BI=new R("");function UI(){Yc(()=>{throw new C(600,!1)})}function qI(e){return e.isBoundToModule}var WI=10;var qn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=x(im);afterRenderManager=x(wm);zonelessEnabled=x(_a);rootEffectScheduler=x($f);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new de;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=x(St).hasPendingTasks.pipe($e(n=>!n));constructor(){x(bd,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=x(Ne);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof yo;if(!this._injector.get(Hf).done){let p=!o&&Xh(n),f=!1;throw new C(405,f)}let s;o?s=n:s=this._injector.get(en).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=qI(s)?void 0:this._injector.get(_t),c=r||s.selector,l=s.create(Ye.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(jI,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),Wr(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(Dd.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new C(101,!1);let n=M(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,M(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(vo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<WI;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)zI(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>jo(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;Wr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(BI,[]).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),()=>Wr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function zI(e,t,n,r){if(!n&&!jo(e))return;lf(e,t,n&&!r?0:1)}function GI(e,t,n){let r=t[Ce],o=t[v];if(e.loadingState!==ie.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=er(t,n),s=Am(o,e);e.loadingState=ie.IN_PROGRESS,qr(1,i);let a=e.dependencyResolverFn,c=r.get(St),l=c.add();return a?(e.loadingPromise=Promise.allSettled(a()).then(u=>{let d=!1,p=[],f=[];for(let h of u)if(h.status==="fulfilled"){let g=h.value,I=Me(g)||la(g);if(I)p.push(I);else{let m=ua(g);m&&f.push(m)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(l),d){if(e.loadingState=ie.FAILED,e.errorTmplIndex===null){let h="",g=new C(-750,!1);Yo(t,g)}}else{e.loadingState=ie.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=wl(h.directiveRegistry,p);let g=p.map(m=>m.type),I=da(!1,...g);e.providers=I}f.length>0&&(h.pipeRegistry=wl(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ie.COMPLETE,c.remove(l)}),e.loadingPromise)}function QI(e,t){return t[Ce].get(OI,null,{optional:!0})?.behavior!==Md.Manual}function ZI(e,t,n){let r=t[v],o=t[n.index];if(!QI(e,t))return;let i=er(t,n),s=tr(r,n);switch(Cd(i),s.loadingState){case ie.NOT_STARTED:dt(j.Loading,n,o),GI(s,t,n),s.loadingState===ie.IN_PROGRESS&&Fl(s,n,o);break;case ie.IN_PROGRESS:dt(j.Loading,n,o),Fl(s,n,o);break;case ie.COMPLETE:dt(j.Complete,n,o);break;case ie.FAILED:dt(j.Error,n,o);break;default:}}function YI(e,t,n){return e===0?Vl(t,n):e===2?!Vl(t,n):!0}function Vl(e,t){let n=e[Ce],r=tr(e[v],t),o=Fm(n),i=r.flags!==null&&(r.flags&1)===1,a=er(e,t)[_m]!==null;return!(i&&a&&o)}function XN(e,t,n,r,o,i,s,a,c,l){let u=y(),d=O(),p=e+L,f=Un(u,d,e,null,0,0),h=u[Ce];if(d.firstCreatePass){De("NgDefer");let ue={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ie.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,ue,a,s),km(d,p,ue)}let g=u[p];Cf(g,f,u);let I=null,m=null;if(g[to]?.length>0){let ue=g[to][0].data;m=ue[vm]??null,I=ue[Ed]}let k=[null,ho.Initial,null,null,null,null,m,I,null,null];Sm(u,p,k);let J=null;m!==null&&(J=h.get(Pm),J.add(m,{lView:u,tNode:f,lContainer:g}));let ee=()=>{Cd(k),m!==null&&J?.cleanup([m])};Nm(0,k,()=>Pu(u,ee)),ya(u,ee)}function eS(e){let t=y(),n=Nt();if(!YI(0,t,n))return;let r=Ke();if(ae(t,r,e)){let o=M(null);try{let i=!!e,a=er(t,n)[Wo];i===!1&&a===ho.Initial?FI(t,n):i===!0&&(a===ho.Initial||a===j.Placeholder)&&ZI(0,t,n)}finally{M(o)}}}function JI(e,t,n,r){let o=y(),i=Ke();if(ae(o,i,t)){let s=O(),a=Nt();Oy(a,o,e,t,n,r)}return JI}function Bf(e,t,n,r){return ae(e,Ke(),n)?t+ye(n)+r:W}function Uf(e,t,n,r,o,i){let s=Ea(),a=Bn(e,s,n,o);return $o(2),a?t+ye(n)+r+ye(o)+i:W}function qf(e,t,n,r,o,i,s,a){let c=Ea(),l=_I(e,c,n,o,s);return $o(3),l?t+ye(n)+r+ye(o)+i+ye(s)+a:W}function Vr(e,t){return e<<17|t<<2}function xt(e){return e>>17&32767}function KI(e){return(e&2)==2}function XI(e,t){return e&131071|t<<17}function Ls(e){return e|2}function tn(e){return(e&131068)>>2}function Fi(e,t){return e&-131069|t<<2}function eE(e){return(e&1)===1}function Fs(e){return e|1}function tE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=xt(s),c=tn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Zn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=xt(e[a+1]);e[r+1]=Vr(p,a),p!==0&&(e[p+1]=Fi(e[p+1],r)),e[a+1]=XI(e[a+1],r)}else e[r+1]=Vr(a,0),a!==0&&(e[a+1]=Fi(e[a+1],r)),a=r;else e[r+1]=Vr(c,0),a===0?a=r:e[c+1]=Fi(e[c+1],r),c=r;l&&(e[r+1]=Ls(e[r+1])),jl(e,u,r,!0),jl(e,u,r,!1),nE(t,u,e,r,i),s=Vr(a,c),i?t.classBindings=s:t.styleBindings=s}function nE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Zn(i,t)>=0&&(n[r+1]=Fs(n[r+1]))}function jl(e,t,n,r){let o=e[n+1],i=t===null,s=r?xt(o):tn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];rE(c,t)&&(a=!0,e[s+1]=r?Fs(l):Ls(l)),s=r?xt(l):tn(l)}a&&(e[n+1]=r?Ls(o):Fs(o))}function rE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Zn(e,t)>=0:!1}var B={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Wf(e){return e.substring(B.key,B.keyEnd)}function oE(e){return e.substring(B.value,B.valueEnd)}function iE(e){return Qf(e),zf(e,nn(e,0,B.textEnd))}function zf(e,t){let n=B.textEnd;return n===t?-1:(t=B.keyEnd=aE(e,B.key=t,n),nn(e,t,n))}function sE(e){return Qf(e),Gf(e,nn(e,0,B.textEnd))}function Gf(e,t){let n=B.textEnd,r=B.key=nn(e,t,n);return n===r?-1:(r=B.keyEnd=cE(e,r,n),r=Hl(e,r,n,58),r=B.value=nn(e,r,n),r=B.valueEnd=lE(e,r,n),Hl(e,r,n,59))}function Qf(e){B.key=0,B.keyEnd=0,B.value=0,B.valueEnd=0,B.textEnd=e.length}function nn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function aE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function cE(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Hl(e,t,n,r){return t=nn(e,t,n),t<n&&t++,t}function lE(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=$l(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=$l(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function $l(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function uE(e,t,n){let r=y(),o=Ke();if(ae(r,o,t)){let i=O(),s=Nt();un(i,s,r,e,t,r[S],n,!1)}return uE}function Vs(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Wa(e,n,i[s],s,r)}function dE(e,t,n){return Zf(e,t,n,!1),dE}function fE(e,t){return Zf(e,t,null,!0),fE}function tS(e){Yf(Xf,pE,e,!1)}function pE(e,t){for(let n=sE(t);n>=0;n=Gf(t,n))Xf(e,Wf(t),oE(t))}function nS(e){Yf(EE,hE,e,!0)}function hE(e,t){for(let n=iE(t);n>=0;n=zf(t,n))Oo(e,Wf(t),!0)}function Zf(e,t,n,r){let o=y(),i=O(),s=$o(2);if(i.firstUpdatePass&&Kf(i,e,s,r),t!==W&&ae(o,s,t)){let a=i.data[we()];ep(i,a,o,o[S],e,o[s+1]=DE(t,n),r,s)}}function Yf(e,t,n,r){let o=O(),i=$o(2);o.firstUpdatePass&&Kf(o,null,i,r);let s=y();if(n!==W&&ae(s,i,n)){let a=o.data[we()];if(tp(a,r)&&!Jf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ui(c,n||"")),Vs(o,a,s,n,r)}else wE(o,a,s,s[S],s[i+1],s[i+1]=IE(e,t,n),r,i)}}function Jf(e,t){return t>=e.expandoStartIndex}function Kf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[we()],s=Jf(e,n);tp(i,r)&&t===null&&!s&&(t=!1),t=gE(o,i,t,r),tE(o,i,t,n,s,r)}}function gE(e,t,n,r){let o=Sg(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Vi(null,e,t,n,r),n=Wn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Vi(o,e,t,n,r),i===null){let c=mE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Vi(null,e,t,c[1],r),c=Wn(c,t.attrs,r),yE(e,t,r,c))}else i=vE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function mE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(tn(r)!==0)return e[xt(r)]}function yE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[xt(o)]=r}function vE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Wn(r,s,n)}return Wn(r,t.attrs,n)}function Vi(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Wn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Wn(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]),Oo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function IE(e,t,n){if(n==null||n==="")return Q;let r=[],o=ln(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 Xf(e,t,n){Oo(e,t,ln(n))}function EE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Oo(e,r,n)}function wE(e,t,n,r,o,i,s,a){o===W&&(o=Q);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&ep(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function ep(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=eE(l)?Bl(c,t,n,o,tn(l),s):void 0;if(!Mo(u)){Mo(i)||KI(l)&&(i=Bl(c,null,n,o,a,s));let d=Fo(we(),n);zy(r,s,d,o,i)}}function Bl(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===W&&(p=d?Q:void 0);let f=d?xi(p,r):u===r?p:void 0;if(l&&!Mo(f)&&(f=xi(c,r)),Mo(f)&&(a=f,s))return a;let h=e[o+1];o=s?xt(h):tn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=xi(c,r))}return a}function Mo(e){return e!==void 0}function DE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ce(ln(e)))),e}function tp(e,t){return(e.flags&(t?8:16))!==0}var js=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))}};function ji(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function bE(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 l=e.at(i),u=t[i],d=ji(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=ji(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),I=n(s,p),m=n(i,u);if(Object.is(m,I)){let k=n(c,f);Object.is(k,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Co,o??=ql(e,i,s,n),Hs(e,r,i,m))e.updateValue(i,u),i++,s++;else if(o.has(m))r.set(g,e.detach(i)),s--;else{let k=e.create(i,t[i]);e.attach(i,k),i++,s++}}for(;i<=c;)Ul(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=ji(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Co,o??=ql(e,i,s,n);let f=n(i,d);if(Hs(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Ul(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Hs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ul(e,t,n,r,o){if(Hs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ql(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 Co=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 rS(e,t){De("NgControlFlow");let n=y(),r=Ke(),o=n[r]!==W?n[r]:-1,i=o!==-1?_o(n,L+o):void 0,s=0;if(ae(n,r,e)){let a=M(null);try{if(i!==void 0&&Ja(i,s),e!==-1){let c=L+e,l=_o(n,c),u=qs(n[v],c),d=Xt(l,u.tView.ssrId),p=dn(n,u,t,{dehydratedView:d});fn(l,p,s,bt(u,d))}}finally{M(a)}}else if(i!==void 0){let a=hf(i,s);a!==void 0&&(a[z]=t)}}var $s=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Z}};function oS(e){return e}var Bs=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function iS(e,t,n,r,o,i,s,a,c,l,u,d,p){De("NgControlFlow");let f=y(),h=O(),g=c!==void 0,I=y(),m=a?s.bind(I[se][z]):s,k=new Bs(g,m);I[L+e]=k,Un(f,h,e+1,t,n,r,o,Oe(h.consts,i)),g&&Un(f,h,e+2,c,l,u,d,Oe(h.consts,p))}var Us=class extends js{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-Z}at(t){return this.getLView(t)[z].$implicit}attach(t,n){let r=n[Yt];this.needsIndexUpdate||=t!==this.length,fn(this.lContainer,n,t,bt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,ME(this.lContainer,t)}create(t,n){let r=Xt(this.lContainer,this.templateTNode.tView.ssrId),o=dn(this.hostLView,this.templateTNode,new $s(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Jo(t[v],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[z].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[z].$index=t}getLView(t){return CE(this.lContainer,t)}};function sS(e){let t=M(null),n=we();try{let r=y(),o=r[v],i=r[n],s=n+1,a=_o(r,s);if(i.liveCollection===void 0){let l=qs(o,s);i.liveCollection=new Us(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(bE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ke(),u=c.length===0;if(ae(r,l,u)){let d=n+2,p=_o(r,d);if(u){let f=qs(o,d),h=Xt(p,f.tView.ssrId),g=dn(r,f,void 0,{dehydratedView:h});fn(p,g,0,bt(f,h))}else Ja(p,0)}}}finally{M(t)}}function _o(e,t){return e[t]}function ME(e,t){return $n(e,t)}function CE(e,t){return hf(e,t)}function qs(e,t){return Yn(e,t)}function np(e,t,n,r){let o=y(),i=O(),s=L+e,a=o[S],c=i.firstCreatePass?wf(s,i,o,t,Ua,Ho(),n,r):i.data[s],l=xE(i,o,c,a,t,e);o[s]=l;let u=Lo(c);return Ie(c,!0),qd(a,l,c),!Qa(c)&&Kn()&&Ko(i,o,l,c),wg()===0&&Ae(l,o),Dg(),u&&($a(i,o,c),ka(i,c,o)),r!==null&&Ba(o,c),np}function rp(){let e=Y();va()?Ia():(e=e.parent,Ie(e,!1));let t=e;Mg(t)&&Cg(),bg();let n=O();return n.firstCreatePass&&Df(n,t),t.classesWithoutHost!=null&&Fg(t)&&Vs(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Vg(t)&&Vs(n,t,y(),t.stylesWithoutHost,!1),rp}function _E(e,t,n,r){return np(e,t,n,r),rp(),_E}var xE=(e,t,n,r,o,i)=>(Xn(!0),Fa(r,o,Og()));function TE(e,t,n,r,o){let i=t.consts,s=Oe(i,r),a=pn(t,e,8,"ng-container",s);s!==null&&xs(a,s,!0);let c=Oe(i,o);return Ho()&&Xa(t,n,a,c,Ua),a.mergedAttrs=Kt(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function op(e,t,n){let r=y(),o=O(),i=e+L,s=o.firstCreatePass?TE(i,o,r,t,n):o.data[i];Ie(s,!0);let a=SE(o,r,s,e);return r[i]=a,Kn()&&Ko(o,r,a,s),Ae(a,r),Lo(s)&&($a(o,r,s),ka(o,s,r)),n!=null&&Ba(r,s),op}function ip(){let e=Y(),t=O();return va()?Ia():(e=e.parent,Ie(e,!1)),t.firstCreatePass&&(Ma(t,e),ha(e)&&t.queries.elementEnd(e)),ip}function NE(e,t,n){return op(e,t,n),ip(),NE}var SE=(e,t,n,r)=>(Xn(!0),$d(t[S],""));function aS(){return y()}var lt=void 0;function kE(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var RE=["en",[["a","p"],["AM","PM"],lt],[["AM","PM"],lt,lt],[["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"]],lt,[["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"]],lt,[["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}",lt,"{1} 'at' {0}",lt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",kE],kn={};function cS(e,t,n){typeof t!="string"&&(n=t,t=e[zn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),kn[t]=e,n&&(kn[t][zn.ExtraData]=n)}function sp(e){let t=AE(e),n=Wl(t);if(n)return n;let r=t.split("-")[0];if(n=Wl(r),n)return n;if(r==="en")return RE;throw new C(701,!1)}function lS(e){return sp(e)[zn.CurrencyCode]||null}function OE(e){return sp(e)[zn.PluralCase]}function Wl(e){return e in kn||(kn[e]=We.ng&&We.ng.common&&We.ng.common.locales&&We.ng.common.locales[e]),kn[e]}var zn=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}(zn||{});function AE(e){return e.toLowerCase().replace(/_/g,"-")}var PE=["zero","one","two","few","many"];function LE(e,t){let n=OE(t)(parseInt(e,10)),r=PE[n];return r!==void 0?r:"other"}var xo="en-US",FE="USD",ap={marker:"element"},cp={marker:"ICU"},Te=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Te||{}),lp=xo;function VE(e){typeof e=="string"&&(lp=e.toLowerCase().replace(/_/g,"-"))}function jE(){return lp}var Gn=0,Rn=0;function HE(e){e&&(Gn=Gn|1<<Math.min(Rn,31)),Rn++}function $E(e,t,n){if(Rn>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=Ea()-Rn-1;dp(e,t,o,i,Gn)}Gn=0,Rn=0}function BE(e,t,n){let r=e[S];switch(n){case Node.COMMENT_NODE:return $d(r,t);case Node.TEXT_NODE:return jd(r,t);case Node.ELEMENT_NODE:return Fa(r,t,null)}}var zr=(e,t,n,r)=>(Xn(!0),BE(e,n,r));function UE(e,t,n,r){let o=e[S];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s&Te.COMMENT)===Te.COMMENT,l=(s&Te.APPEND_EAGERLY)===Te.APPEND_EAGERLY,u=s>>>Te.SHIFT,d=e[u],p=!1;d===null&&(d=e[u]=zr(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=Kn()),l&&n!==null&&p&&Dt(o,n,d,r,!1)}}function up(e,t,n,r){let o=n[S],i=null,s;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="string"){let l=t[++a];n[l]===null&&(n[l]=zr(n,l,c,Node.TEXT_NODE))}else if(typeof c=="number")switch(c&1){case 0:let l=vv(c);i===null&&(i=l,s=o.parentNode(r));let u,d;if(l===i?(u=r,d=s):(u=null,d=he(n[l])),d!==null){let g=Iv(c),I=n[g];Dt(o,d,I,u,!1);let m=Sn(e,g);if(m!==null&&typeof m=="object"){let k=ni(m,n);k!==null&&up(e,m.create[k],n,n[m.anchorIdx])}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];qa(o,Fo(p,n),null,null,f,h,null);break;default:}else switch(c){case cp:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=zr(n,u,l,Node.COMMENT_NODE);Ae(f,n)}break;case ap:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=zr(n,p,d,Node.ELEMENT_NODE);Ae(f,n)}break;default:}}}function dp(e,t,n,r,o){for(let i=0;i<n.length;i++){let s=n[i],a=n[++i];if(s&o){let c="";for(let l=i+1;l<=i+a;l++){let u=n[l];if(typeof u=="string")c+=u;else if(typeof u=="number")if(u<0)c+=ye(t[r-u]);else{let d=u>>>2;switch(u&3){case 1:let p=n[++l],f=n[++l],h=e.data[d];typeof h=="string"?qa(t[S],t[d],null,h,p,c,f):un(e,h,t,p,c,t[S],f,!1);break;case 0:let g=t[d];g!==null&&Hd(t[S],g,c);break;case 2:qE(e,Sn(e,d),t,c);break;case 3:zl(e,Sn(e,d),r,t);break}}}}else{let c=n[i+1];if(c>0&&(c&3)===3){let l=c>>>2,u=Sn(e,l);t[u.currentCaseLViewIndex]<0&&zl(e,u,r,t)}}i+=a}}function zl(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=Gn;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),dp(e,r,t.update[o],n,i)}}function qE(e,t,n,r){let o=WE(t,r);if(ni(t,n)!==o&&(fp(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&up(e,t.create[o],n,s),_v(n,t.anchorIdx,o)}}function fp(e,t,n){let r=ni(t,n);if(r!==null){let o=t.remove[r];for(let i=0;i<o.length;i++){let s=o[i];if(s>0){let a=Fo(s,n);a!==null&&Ud(n[S],a)}else fp(e,Sn(e,~s),n)}}}function WE(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=LE(t,jE());n=e.cases.indexOf(r),n===-1&&r!=="other"&&(n=e.cases.indexOf("other"));break}case 0:{n=e.cases.indexOf("other");break}}return n===-1?null:n}var To=/�(\d+):?\d*�/gi;var zE=/�(\d+)�/,pp=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,On="\uFFFD",GE=/�\/?\*(\d+:\d+)�/gi,QE=/�(\/?[#*]\d+):?\d*�/gi,ZE=/\uE500/g;function YE(e){return e.replace(ZE," ")}function JE(e,t,n,r,o,i){let s=Fn(),a=[],c=[],l=[[]],u=[[]];o=XE(o,i);let d=YE(o).split(QE);for(let p=0;p<d.length;p++){let f=d[p];if(p&1){let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),I=L+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),Ie(Fn(),!1);else{let m=yv(e,l[0],I);l.unshift([]),Ie(m,!0);let k={kind:2,index:I,children:[],type:g===35?0:1};u[0].push(k),u.unshift(k.children)}}else{let h=Ws(f);for(let g=0;g<h.length;g++){let I=h[g];if(g&1){let m=I;if(typeof m!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let J=hp(e,s,l[0],n,a,"",!0).index;mp(u[0],e,n,c,t,m,J)}else{let m=I;m!==""&&KE(u[0],e,s,l[0],a,c,n,m)}}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function hp(e,t,n,r,o,i,s){let a=rr(e,r,1,null),c=a<<Te.SHIFT,l=Fn();t===l&&(l=null),l===null&&(c|=Te.APPEND_EAGERLY),s&&(c|=Te.COMMENT,Vy(Dv)),o.push(c,i===null?"":i);let u=Ka(e,a,s?32:1,i===null?"":i,null);vf(n,u);let d=u.index;return Ie(u,!1),l!==null&&t!==l&&mv(l,d),u}function KE(e,t,n,r,o,i,s,a){let c=a.match(To),u=hp(t,n,r,s,o,c?null:a,!1).index;c&&Gr(i,a,u,null,0,null),e.push({kind:0,index:u})}function Gr(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(To),u=0;for(let d=0;d<l.length;d++){let p=l[d];if(d&1){let f=o+parseInt(p,10);e.push(-1-f),u=u|gp(f)}else p!==""&&e.push(p)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=u,e[a]=e.length-c,u}function gp(e){return 1<<Math.min(e,31)}function Gl(e){let t,n="",r=0,o=!1,i;for(;(t=GE.exec(e))!==null;)o?t[0]===`${On}/*${i}${On}`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],o=!0);return n+=e.slice(r),n}function XE(e,t){if(wv(t))return Gl(e);{let n=e.indexOf(`:${t}${On}`)+2+t.toString().length,r=e.search(new RegExp(`${On}\\/\\*\\d+:${t}${On}`));return Gl(e.substring(n,r))}}function mp(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:rr(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};rw(r,i,s),gv(t,s,c);let l=i.values,u=[];for(let d=0;d<l.length;d++){let p=l[d],f=[];for(let g=0;g<p.length;g++){let I=p[g];if(typeof I!="string"){let m=f.push(I)-1;p[g]=`<!--\uFFFD${m}\uFFFD-->`}}let h=[];u.push(h),a=tw(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a}a&&ow(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function ew(e){let t=[],n=[],r=1,o=0;e=e.replace(pp,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=Ws(e);for(let s=0;s<i.length;){let a=i[s++].trim();r===1&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&t.push(a);let c=Ws(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function Ws(e){if(!e)return[];let t=0,n=[],r=[],o=/[{}]/g;o.lastIndex=0;let i;for(;i=o.exec(e);){let a=i.index;if(i[0]=="}"){if(n.pop(),n.length==0){let c=e.substring(t,a);pp.test(c)?r.push(ew(c)):r.push(c),t=a+1}}else{if(n.length==0){let c=e.substring(t,a);r.push(c),t=a+1}n.push("{")}}let s=e.substring(t);return r.push(s),r}function tw(e,t,n,r,o,i,s,a,c){let l=[],u=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(u),n.update.push(d);let f=Sd(Sa()).getInertBodyElement(a),h=vs(f)||f;return h?yp(e,t,n,r,o,l,u,d,h,i,c,0):0}function yp(e,t,n,r,o,i,s,a,c,l,u,d){let p=0,f=c.firstChild;for(;f;){let h=rr(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,I=g.tagName.toLowerCase();if(ms.hasOwnProperty(I)){Hi(i,ap,I,l,h),t.data[h]=I;let ee=g.attributes;for(let kt=0;kt<ee.length;kt++){let Xe=ee.item(kt),cc=Xe.name.toLowerCase();!!Xe.value.match(To)?Ad.hasOwnProperty(cc)&&(Aa[cc]?Gr(a,Xe.value,h,Xe.name,0,Oa):Gr(a,Xe.value,h,Xe.name,0,null)):iw(i,h,Xe)}let ue={kind:1,index:h,children:[]};e.push(ue),p=yp(ue.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,Ql(s,h,d)}break;case Node.TEXT_NODE:let m=f.textContent||"",k=m.match(To);Hi(i,null,k?"":m,l,h),Ql(s,h,d),k&&(p=Gr(a,m,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let J=zE.exec(f.textContent||"");if(J){let ee=parseInt(J[1],10),ue=u[ee];Hi(i,cp,"",l,h),mp(e,t,r,o,l,ue,h),nw(s,h,d)}break}f=f.nextSibling}return p}function Ql(e,t,n){n===0&&e.push(t)}function nw(e,t,n){n===0&&(e.push(~t),e.push(t))}function rw(e,t,n){e.push(gp(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function ow(e,t,n){e.push(t,1,n<<2|3)}function Hi(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,Ev(0,r,o))}function iw(e,t,n){e.push(t<<1|1,n.name,n.value)}var Zl=0,sw=/\[(�.+?�?)\]/,aw=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,cw=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,lw=/{([A-Z0-9_]+)}/g,uw=/�I18N_EXP_(ICU(_\d+)?)�/g,dw=/\/\*/,fw=/\d+\:(\d+)/;function pw(e,t={}){let n=e;if(sw.test(e)){let r={},o=[Zl];n=n.replace(aw,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let I=g.match(fw),m=I?parseInt(I[1],10):Zl,k=dw.test(g);l.push([m,k,g])}),r[c]=l),!l.length)throw new Error(`i18n postprocess: unmatched placeholder - ${c}`);let u=o[o.length-1],d=0;for(let g=0;g<l.length;g++)if(l[g][0]===u){d=g;break}let[p,f,h]=l[d];return f?o.pop():u!==p&&o.push(p),l.splice(d,1),h})}return Object.keys(t).length&&(n=n.replace(cw,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace(lw,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(uw,(r,o)=>{if(t.hasOwnProperty(o)){let i=t[o];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return i.shift()}return r})),n}function hw(e,t,n=-1){let r=O(),o=y(),i=L+e,s=Oe(r.consts,t),a=Fn();if(r.firstCreatePass&&JE(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[se];p[E]|=32}else o[E]|=32;let c=r.data[i],l=a===o[X]?null:a,u=Kd(r,l,o),d=a&&a.type&8?o[a.index]:null;Mv(o,i,a,n),UE(o,c.create,u,d),Bu(!0)}function gw(){Bu(!1)}function uS(e,t,n){hw(e,t,n),gw()}function mw(e){let t=y();return HE(ae(t,Ke(),e)),mw}function dS(e){$E(O(),y(),e+L)}function fS(e,t={}){return pw(e,t)}var yw=(e,t,n)=>{};function vw(e,t,n,r){let o=y(),i=O(),s=Y();return vp(i,o,o[S],s,e,t,r),vw}function Iw(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[eo],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function vp(e,t,n,r,o,i,s){let a=Lo(r),l=e.firstCreatePass&&Fu(e),u=t[z],d=Lu(t),p=!0;if(r.type&3||s){let g=Ee(r,t),I=s?s(g):g,m=d.length,k=s?ee=>s(he(ee[r.index])):r.index,J=null;if(!s&&a&&(J=Iw(e,t,o,r.index)),J!==null){let ee=J.__ngLastListenerFn__||J;ee.__ngNextListenerFn__=i,J.__ngLastListenerFn__=i,p=!1}else{i=Jl(r,t,u,i),yw(g,o,i);let ee=n.listen(I,o,i);d.push(i,ee),l&&l.push(o,k,m,m+1)}}else i=Jl(r,t,u,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let I=0;I<g;I+=2){let m=h[I],k=h[I+1],ue=t[m][k].subscribe(i),kt=d.length;d.push(i,ue),l&&l.push(o,r.index,kt,-(kt+1))}}}function Yl(e,t,n,r){let o=M(null);try{return fe(6,t,n),n(r)!==!1}catch(i){return Yo(e,i),!1}finally{fe(7,t,n),M(o)}}function Jl(e,t,n,r){return function o(i){if(i===Function)return r;let s=Tt(e)?_e(e.index,t):t;ei(s,5);let a=Yl(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Yl(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function pS(e=1){return Rg(e)}function Ew(e,t){let n=null,r=py(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Vd(e,i,!0):my(r,i))return o}return n}function hS(e){let t=y()[se][X];if(!t.projection){let n=e?e.length:1,r=t.projection=Yh(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Ew(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function gS(e,t=0,n,r,o,i){let s=y(),a=O(),c=r?e+1:null;c!==null&&Un(s,a,c,r,o,i,null,n);let l=pn(a,L+e,16,null,n||null);l.projection===null&&(l.projection=t),Ia();let d=!s[Yt]||Vu();s[se][X].projection[l.projection]===null&&c!==null?ww(s,a,c):d&&!Qa(l)&&qy(a,s,l)}function ww(e,t,n){let r=L+n,o=t.data[r],i=e[r],s=Xt(i,o.tView.ssrId),a=dn(e,o,void 0,{dehydratedView:s});fn(i,a,0,bt(o,s))}function Dw(e,t,n){return Ip(e,"",t,"",n),Dw}function Ip(e,t,n,r,o){let i=y(),s=Bf(i,t,n,r);if(s!==W){let a=O(),c=Nt();un(a,c,i,e,s,i[S],o,!1)}return Ip}function bw(e,t,n,r,o,i,s){let a=y(),c=Uf(a,t,n,r,o,i);if(c!==W){let l=O(),u=Nt();un(l,u,a,e,c,a[S],s,!1)}return bw}function Mw(e,t,n,r,o,i,s,a,c){let l=y(),u=qf(l,t,n,r,o,i,s,a);if(u!==W){let d=O(),p=Nt();un(d,p,l,e,u,l[S],c,!1)}return Mw}function mS(e,t,n,r){Tf(e,t,n,r)}function yS(e){let t=y(),n=O(),r=wa();Bo(r+1);let o=nc(n,r);if(e.dirty&&yg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Sf(t,r);e.reset(i,dd),e.notifyOnChanges()}return!0}return!1}function vS(){return tc(y(),wa())}function IS(e,t,n,r,o){Of(t,Tf(e,n,r,o))}function ES(e,t,n,r){Of(e,rI(t,n,r))}function wS(e=1){Bo(wa()+e)}function ic(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function DS(e){let t=Hu();return Vo(t,L+e)}function bS(e,t=""){let n=y(),r=O(),o=e+L,i=r.firstCreatePass?pn(r,o,1,t,null):r.data[o],s=Cw(r,n,i,t,e);n[o]=s,Kn()&&Ko(r,n,s,i),Ie(i,!1)}var Cw=(e,t,n,r,o)=>(Xn(!0),jd(t[S],r));function _w(e){return Ep("",e,""),_w}function Ep(e,t,n){let r=y(),o=Bf(r,e,t,n);return o!==W&&sc(r,we(),o),Ep}function xw(e,t,n,r,o){let i=y(),s=Uf(i,e,t,n,r,o);return s!==W&&sc(i,we(),s),xw}function Tw(e,t,n,r,o,i,s){let a=y(),c=qf(a,e,t,n,r,o,i,s);return c!==W&&sc(a,we(),c),Tw}function sc(e,t,n){let r=Fo(t,e);Hd(e[S],r,n)}function Nw(e,t,n){pd(t)&&(t=t());let r=y(),o=Ke();if(ae(r,o,t)){let i=O(),s=Nt();un(i,s,r,e,t,r[S],n,!1)}return Nw}function MS(e,t){let n=pd(e);return n&&e.set(t),n}function Sw(e,t){let n=y(),r=O(),o=Y();return vp(r,n,n[S],o,e,t),Sw}var wp={};function kw(e){let t=O(),n=y(),r=e+L,o=pn(t,r,128,null,null);return Ie(o,!1),ic(t,n,r,wp),kw}function CS(e){De("NgLet");let t=O(),n=y(),r=we();return ic(t,n,r,e),e}function _S(e){let t=Hu(),n=Vo(t,L+e);if(n===wp)throw new C(314,!1);return n}function Rw(e,t,n){let r=O();if(r.firstCreatePass){let o=Re(e);zs(n,r.data,r.blueprint,o,!0),zs(t,r.data,r.blueprint,o,!1)}}function zs(e,t,n,r,o){if(e=K(e),Array.isArray(e))for(let i=0;i<e.length;i++)zs(e[i],t,n,r,o);else{let i=O(),s=y(),a=Y(),c=Zt(e)?e:K(e.provide),l=Mu(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Zt(e)||!e.multi){let f=new Et(l,o,ri),h=Bi(c,t,o?u:u+p,d);h===-1?(ts(co(a,s),i,c),$i(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Bi(c,t,u+p,d),h=Bi(c,t,u,u+p),g=f>=0&&n[f],I=h>=0&&n[h];if(o&&!I||!o&&!g){ts(co(a,s),i,c);let m=Pw(o?Aw:Ow,n.length,o,r,l);!o&&I&&(n[h].providerFactory=m),$i(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(m),s.push(m)}else{let m=Dp(n[o?h:f],l,!o&&r);$i(i,e,f>-1?f:h,m)}!o&&r&&I&&n[h].componentProviders++}}}function $i(e,t,n,r){let o=Zt(t),i=ig(t);if(o||i){let c=(i?K(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Dp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Bi(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Ow(e,t,n,r){return Gs(this.multi,[])}function Aw(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Vn(n,n[v],this.providerFactory.index,r);i=a.slice(0,s),Gs(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Gs(o,i);return i}function Gs(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Pw(e,t,n,r,o){let i=new Et(e,n,ri);return i.multi=[],i.index=t,i.componentProviders=0,Dp(i,o,r&&!n),i}function xS(e,t=[]){return n=>{n.providersResolver=(r,o)=>Rw(r,o?o(e):e,t)}}function TS(e,t,n){let r=sn()+e,o=y();return o[r]===W?oi(o,r,n?t.call(n):t()):CI(o,r)}function NS(e,t,n,r){return bp(y(),sn(),e,t,n,r)}function SS(e,t,n,r,o){return Mp(y(),sn(),e,t,n,r,o)}function kS(e,t,n,r,o,i,s){return Lw(y(),sn(),e,t,n,r,o,i,s)}function ac(e,t){let n=e[t];return n===W?void 0:n}function bp(e,t,n,r,o,i){let s=t+n;return ae(e,s,o)?oi(e,s+1,i?r.call(i,o):r(o)):ac(e,s+1)}function Mp(e,t,n,r,o,i,s){let a=t+n;return Bn(e,a,o,i)?oi(e,a+2,s?r.call(s,o,i):r(o,i)):ac(e,a+2)}function Lw(e,t,n,r,o,i,s,a,c){let l=t+n;return xI(e,l,o,i,s,a)?oi(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):ac(e,l+4)}function RS(e,t){let n=O(),r,o=e+L;n.firstCreatePass?(r=Fw(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=pt(r.type,!0)),s,a=oe(ri);try{let c=ao(!1),l=i();return ao(c),ic(n,y(),o,l),l}finally{oe(a)}}function Fw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function OS(e,t,n){let r=e+L,o=y(),i=Vo(o,r);return Cp(o,r)?bp(o,sn(),t,i.transform,n,i):i.transform(n)}function AS(e,t,n,r){let o=e+L,i=y(),s=Vo(i,o);return Cp(i,o)?Mp(i,sn(),t,s.transform,n,r,s):s.transform(n,r)}function Cp(e,t){return e[v].data[t].pure}function PS(e,t){return ti(e,t)}var Kl=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}};var Qs=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},LS=(()=>{class e{compileModuleSync(n){return new Ps(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Eu(n),i=Ld(o.declarations).reduce((s,a)=>{let c=Me(a);return c&&s.push(new Ct(c)),s},[]);return new Qs(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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Vw=(()=>{class e{zone=x(pe);changeDetectionScheduler=x(Je);applicationRef=x(qn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jw({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new pe(ne(te({},Hw()),{scheduleInRootZone:n})),[{provide:pe,useFactory:e},{provide:Kr,multi:!0,useFactory:()=>{let r=x(Vw,{optional:!0});return()=>r.initialize()}},{provide:Kr,multi:!0,useFactory:()=>{let r=x($w);return()=>{r.initialize()}}},t===!0?{provide:cd,useValue:!0}:[],{provide:xa,useValue:n??ad}]}function Hw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var $w=(()=>{class e{subscription=new V;initialized=!1;zone=x(pe);pendingTasks=x(St);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(()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{pe.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var _p=(()=>{class e{appRef=x(qn);taskService=x(St);ngZone=x(pe);zonelessEnabled=x(_a);tracing=x(bd,{optional:!0});disableScheduling=x(cd,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new V;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(uo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(x(xa,{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 fo||!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 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?pl:ld;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(uo+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){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,pl(()=>{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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function FS(){return De("NgZoneless"),eg([{provide:Je,useExisting:_p},{provide:pe,useClass:fo},{provide:_a,useValue:!0},{provide:xa,useValue:!1},[]])}function Bw(){return typeof $localize<"u"&&$localize.locale||xo}var xp=new R("",{providedIn:"root",factory:()=>x(xp,T.Optional|T.SkipSelf)||Bw()}),VS=new R("",{providedIn:"root",factory:()=>FE});var Zs=new R(""),Uw=new R("");function Cn(e){return!e.moduleRef}function qw(e){let t=Cn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(pe);return n.run(()=>{Cn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(wt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Cn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Zs);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Zs);s.add(i),e.moduleRef.onDestroy(()=>{Wr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return zw(r,n,()=>{let i=t.get(Hf);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(xp,xo);if(VE(s||xo),!t.get(Uw,!0))return Cn(e)?t.get(qn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Cn(e)){let c=t.get(qn);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return Ww(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Ww(e,t){let n=e.injector.get(qn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new C(-403,!1);t.push(e)}function zw(e,t,n){try{let r=n();return jf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Qr=null;function Gw(e=[],t){return Ye.create({name:t,providers:[{provide:bu,useValue:"platform"},{provide:Zs,useValue:new Set([()=>Qr=null])},...e]})}function Qw(e=[]){if(Qr)return Qr;let t=Gw(e);return Qr=t,UI(),Zw(t),t}function Zw(e){let t=e.get(hm,null);Cu(e,()=>{t?.forEach(n=>n())})}var Yw=(()=>{class e{static __NG_ELEMENT_ID__=Jw}return e})();function Jw(e){return Kw(Y(),y(),(e&16)===16)}function Kw(e,t,n){if(Tt(e)&&!n){let r=_e(e.index,t);return new Mt(r,r)}else if(e.type&175){let r=t[se];return new Mt(r,t)}return null}var Ys=class{constructor(){}supports(t){return Vf(t)}create(t){return new Js(t)}},Xw=(e,t)=>t,Js=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||Xw}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<Xl(r,o,i)?n:r,a=Xl(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 l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}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=[]),!Vf(t))throw new C(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,MI(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 Ks(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 No),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 No),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}},Ks=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}},Xs=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}},No=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Xs,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Xl(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}var ea=class{constructor(){}supports(t){return t instanceof Map||oc(t)}create(){return new ta}},ta=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||oc(t)))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new na(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},na=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function eu(){return new eD([new Ys])}var eD=(()=>{class e{factories;static \u0275prov=U({token:e,providedIn:"root",factory:eu});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||eu()),deps:[[e,new mu,new gu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new C(901,!1)}}return e})();function tu(){return new tD([new ea])}var tD=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:tu});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||tu()),deps:[[e,new mu,new gu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e})();function jS(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=Qw(r),i=[jw({}),{provide:Je,useExisting:_p},...n||[]],s=new Do({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return qw({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function HS(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function $S(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Tn(e,t){De("NgSignals");let n=bi(e);return t?.equal&&(n[$].equal=t.equal),n}var nD=e=>e;function rD(e,t){if(De("NgSignals"),typeof e=="function"){let n=_i(e,nD,t?.equal);return nu(n)}else{let n=_i(e.source,e.computation,e.equal);return nu(n)}}function nu(e){let t=e[$],n=e;return n.set=r=>Kc(t,r),n.update=r=>Xc(t,r),n.asReadonly=qo.bind(e),n}function ut(e){let t=M(null);try{return e()}finally{M(t)}}var Tp=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=oD}return e})();function oD(){return new Tp(y(),Y())}var iD=!1,sD=(()=>{class e extends bo{pendingTasks=x(St);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),ra=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=el(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(wt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function aD(){}function cD(e,t){De("NgSignals"),!t?.injector&&pa(aD);let n=t?.injector??x(Ye),r=t?.manualCleanup!==!0?n.get(an):null,o=new ra(n.get(sD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Yw,null,{optional:!0});return!i||!(i._lView[E]&8)?o.watcher.notify():(i._lView[Hr]??=[]).push(o.watcher.notify),o}var lD=iD;var oa=class{[$];constructor(t){this[$]=t}destroy(){this[$].destroy()}};function Np(e,t){if(lD)return cD(e,t);De("NgSignals"),!t?.injector&&pa(Np);let n=t?.injector??x(Ye),r=t?.manualCleanup!==!0?n.get(an):null,o,i=n.get(Tp,null,{optional:!0}),s=n.get(Je);return i!==null&&!t?.forceRoot?(o=fD(i.view,s,e),r instanceof lo&&r._lView===i.view&&(r=null)):o=pD(e,n.get($f),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new oa(o)}var Sp=ne(te({},Ue),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:jn,run(){if(this.dirty=!1,this.hasRun&&!Mn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=ct(this),n=oo(!1);try{this.maybeCleanup(),this.fn(e)}finally{oo(n),Ht(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),uD=ne(te({},Sp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){$t(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),dD=ne(te({},Sp),{consumerMarkedDirty(){this.view[E]|=8192,Jn(this.view),this.notifier.notify(14)},destroy(){$t(this),this.onDestroyFn(),this.maybeCleanup(),this.view[mt]?.delete(this)}});function fD(e,t,n){let r=Object.create(dD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[mt]??=new Set,e[mt].add(r),r.consumerMarkedDirty(r),r}function pD(e,t,n){let r=Object.create(uD);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}var F=function(e){return e[e.Idle=0]="Idle",e[e.Error=1]="Error",e[e.Loading=2]="Loading",e[e.Reloading=3]="Reloading",e[e.Resolved=4]="Resolved",e[e.Local=5]="Local",e}(F||{});function hD(e){e?.injector||pa(hD);let t=e.request??(()=>null);return new sa(t,e.loader,void 0,e.equal?gD(e.equal):void 0,e.injector??x(Ye))}var ia=class{value;constructor(t){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=qo}update(t){this.set(t(ut(this.value)))}isLoading=Tn(()=>this.status()===F.Loading||this.status()===F.Reloading);hasValue(){return this.value()!==void 0}asReadonly(){return this}},sa=class extends ia{loaderFn;defaultValue;equal;state;extendedRequest;pendingTasks;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;constructor(t,n,r,o,i){super(Tn(()=>this.state().value,{equal:o})),this.loaderFn=n,this.defaultValue=r,this.equal=o,this.pendingTasks=i.get(Kg),this.extendedRequest=Tn(()=>({request:t(),reload:fd(0)})),this.state=rD({source:()=>{let{request:s,reload:a}=this.extendedRequest();return s===void 0||this.destroyed?F.Idle:a()===0?F.Loading:F.Reloading},computation:(s,a)=>({status:s,previousStatus:a?.value.status??F.Idle,value:a&&s===F.Reloading?a.value.value:this.defaultValue,error:void 0})}),this.effectRef=Np(this.loadEffect.bind(this),{injector:i,manualCleanup:!0}),i.get(an).onDestroy(()=>this.destroy())}status=Tn(()=>this.state().status);error=Tn(()=>this.state().error);set(t){if(this.destroyed)return;let n=ut(this.state);(this.equal?this.equal(n.value,t):n.value===t)||(this.state.set({status:F.Local,previousStatus:F.Local,value:t,error:void 0}),this.abortInProgressLoad())}reload(){let t=ut(this.status);return t===F.Idle||t===F.Loading||t===F.Reloading?!1:(ut(this.extendedRequest).reload.update(n=>n+1),!0)}destroy(){this.destroyed=!0,this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({status:F.Idle,previousStatus:F.Idle,value:this.defaultValue,error:void 0})}async loadEffect(){let{status:t}=ut(this.state),{request:n,reload:r}=this.extendedRequest();if(r(),n===void 0)return;if(t!==F.Loading&&t!==F.Reloading)return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=await ut(()=>this.loaderFn({abortSignal:i,request:n,previous:{status:t}}));if(i.aborted)return;this.state.set({status:F.Resolved,previousStatus:F.Resolved,value:s,error:void 0})}catch(s){if(i.aborted)return;this.state.set({status:F.Error,previousStatus:F.Error,value:this.defaultValue,error:s})}finally{o(),this.pendingController=void 0}}abortInProgressLoad(){ut(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function gD(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function BS(e,t){let n=Me(e),r=t.elementInjector||Ao();return new Ct(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function US(e){let t=Me(e);if(!t)return null;let n=new Ct(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}}}export{V as a,q as b,kp as c,N as d,mi as e,yi as f,de as g,yn as h,vn as i,ot as j,He as k,qp as l,zp as m,Gp as n,st as o,$e as p,th as q,it as r,gi as s,_r as t,rh as u,oh as v,In as w,sh as x,pi as y,ah as z,Wp as A,En as B,Cr as C,ch as D,Nc as E,dh as F,vi as G,fh as H,ph as I,hh as J,gh as K,Rc as L,Oc as M,mh as N,Hc as O,C as P,ce as Q,au as R,U as S,mN as T,yN as U,R as V,T as W,Ze as X,x as Y,eg as Z,bu as _,Ne as $,Cu as aa,pa as ba,vN as ca,IN as da,EN as ea,wN as fa,DN as ga,bN as ha,Ye as ia,an as ja,St as ka,ze as la,pe as ma,wt as na,po as oa,MN as pa,CN as qa,Uo as ra,De as sa,cm as ta,fd as ua,_N as va,xN as wa,hm as xa,TN as ya,NN as za,gm as Aa,SN as Ba,bd as Ca,Hn as Da,ln as Ea,Ra as Fa,kN as Ga,RN as Ha,ON as Ia,AN as Ja,PN as Ka,Oa as La,Xm as Ma,Qo as Na,LN as Oa,ty as Pa,FN as Qa,VN as Ra,Es as Sa,mo as Ta,vo as Ua,$N as Va,ri as Wa,ec as Xa,UN as Ya,qN as Za,WN as _a,zN as $a,_t as ab,As as bb,GN as cb,Pf as db,QN as eb,ZN as fb,YN as gb,JN as hb,vI as ib,NI as jb,KN as kb,jf as lb,HI as mb,BI as nb,qn as ob,XN as pb,eS as qb,JI as rb,uE as sb,dE as tb,fE as ub,tS as vb,nS as wb,rS as xb,oS as yb,iS as zb,sS as Ab,np as Bb,rp as Cb,_E as Db,op as Eb,ip as Fb,NE as Gb,aS as Hb,cS as Ib,sp as Jb,lS as Kb,OE as Lb,zn as Mb,hw as Nb,gw as Ob,uS as Pb,mw as Qb,dS as Rb,fS as Sb,vw as Tb,pS as Ub,hS as Vb,gS as Wb,Dw as Xb,Ip as Yb,bw as Zb,Mw as _b,mS as $b,yS as ac,vS as bc,IS as cc,ES as dc,wS as ec,DS as fc,bS as gc,_w as hc,Ep as ic,xw as jc,Tw as kc,Nw as lc,MS as mc,Sw as nc,kw as oc,CS as pc,_S as qc,xS as rc,TS as sc,NS as tc,SS as uc,kS as vc,RS as wc,OS as xc,AS as yc,PS as zc,Kl as Ac,LS as Bc,FS as Cc,xp as Dc,VS as Ec,Yw as Fc,eD as Gc,tD as Hc,jS as Ic,HS as Jc,$S as Kc,Tn as Lc,ut as Mc,Np as Nc,hD as Oc,BS as Pc,US as Qc};
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function et(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var V=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(w(r))try{r()}catch(i){t=i instanceof or?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{lc(i)}catch(s){t=t??[],s instanceof or?t=[...t,...s.errors]:t.push(s)}}if(t)throw new or(t)}}add(t){var n;if(t&&t!==this)if(this.closed)lc(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)&&et(n,t)}remove(t){let{_finalizers:n}=this;n&&et(n,t),t instanceof e&&t._removeParent(this)}};V.EMPTY=(()=>{let e=new V;return e.closed=!0,e})();var ii=V.EMPTY;function ir(e){return e instanceof V||e&&"closed"in e&&w(e.remove)&&w(e.add)&&w(e.unsubscribe)}function lc(e){w(e)?e():e.unsubscribe()}var ge={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ot={setTimeout(e,t,...n){let{delegate:r}=Ot;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ot;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function sr(e){Ot.setTimeout(()=>{let{onUnhandledError:t}=ge;if(t)t(e);else throw e})}function hn(){}var uc=si("C",void 0,void 0);function dc(e){return si("E",void 0,e)}function fc(e){return si("N",e,void 0)}function si(e,t,n){return{kind:e,value:t,error:n}}var tt=null;function At(e){if(ge.useDeprecatedSynchronousErrorHandling){let t=!tt;if(t&&(tt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=tt;if(tt=null,n)throw r}}else e()}function pc(e){ge.useDeprecatedSynchronousErrorHandling&&tt&&(tt.errorThrown=!0,tt.error=e)}var nt=class extends V{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ir(t)&&t.add(this)):this.destination=Op}static create(t,n,r){return new xe(t,n,r)}next(t){this.isStopped?ci(fc(t),this):this._next(t)}error(t){this.isStopped?ci(dc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ci(uc,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()}}},kp=Function.prototype.bind;function ai(e,t){return kp.call(e,t)}var li=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ar(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ar(r)}else ar(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ar(n)}}},xe=class extends nt{constructor(t,n,r){super();let o;if(w(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ge.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ai(t.next,i),error:t.error&&ai(t.error,i),complete:t.complete&&ai(t.complete,i)}):o=t}this.destination=new li(o)}};function ar(e){ge.useDeprecatedSynchronousErrorHandling?pc(e):sr(e)}function Rp(e){throw e}function ci(e,t){let{onStoppedNotification:n}=ge;n&&Ot.setTimeout(()=>n(e,t))}var Op={closed:!0,next:hn,error:Rp,complete:hn};var Pt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function J(e){return e}function Ap(...e){return ui(e)}function ui(e){return e.length===0?J:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{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=Lp(n)?n:new xe(n,r,o);return At(()=>{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=hc(r),new r((o,i)=>{let s=new xe({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)}[Pt](){return this}pipe(...n){return ui(n)(this)}toPromise(n){return n=hc(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 hc(e){var t;return(t=e??ge.Promise)!==null&&t!==void 0?t:Promise}function Pp(e){return e&&w(e.next)&&w(e.error)&&w(e.complete)}function Lp(e){return e&&e instanceof nt||Pp(e)&&ir(e)}var gc=Rt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var de=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new cr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new gc}next(n){At(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){At(()=>{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(){At(()=>{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?ii:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,et(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new cr(t,n),e})(),cr=class extends de{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:ii}};function lr(e){return e&&w(e.schedule)}function mc(e){return e[e.length-1]}function Lt(e){return w(mc(e))?e.pop():void 0}function je(e){return lr(mc(e))?e.pop():void 0}function vc(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(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function yc(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 rt(e){return this instanceof rt?(this.v=e,this):new rt(e)}function Ic(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(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(I,m){i.push([f,g,I,m])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof rt?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ec(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 yc=="function"?yc(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(l){i({value:l,done:a})},s)}}var ur=e=>e&&typeof e.length=="number"&&typeof e!="function";function dr(e){return w(e?.then)}function fr(e){return w(e[Pt])}function pr(e){return Symbol.asyncIterator&&w(e?.[Symbol.asyncIterator])}function hr(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 Fp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var gr=Fp();function mr(e){return w(e?.[gr])}function yr(e){return Ic(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield rt(n.read());if(o)return yield rt(void 0);yield yield rt(r)}}finally{n.releaseLock()}})}function vr(e){return w(e?.getReader)}function A(e){if(e instanceof N)return e;if(e!=null){if(fr(e))return Vp(e);if(ur(e))return jp(e);if(dr(e))return Hp(e);if(pr(e))return wc(e);if(mr(e))return $p(e);if(vr(e))return Bp(e)}throw hr(e)}function Vp(e){return new N(t=>{let n=e[Pt]();if(w(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function jp(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Hp(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,sr)})}function $p(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function wc(e){return new N(t=>{Up(e,t).catch(n=>t.error(n))})}function Bp(e){return wc(yr(e))}function Up(e,t){var n,r,o,i;return vc(this,void 0,void 0,function*(){try{for(n=Ec(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 re(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function di(e){return w(e?.lift)}function _(e){return t=>{if(di(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 D(e,t,n,r,o){return new fi(e,t,n,r,o)}var fi=class extends nt{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 Ir(e,t=0){return _((n,r)=>{n.subscribe(D(r,o=>re(r,e,()=>r.next(o),t),()=>re(r,e,()=>r.complete(),t),o=>re(r,e,()=>r.error(o),t)))})}function Er(e,t=0){return _((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Dc(e,t){return A(e).pipe(Er(t),Ir(t))}function bc(e,t){return A(e).pipe(Er(t),Ir(t))}function Mc(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Cc(e,t){return new N(n=>{let r;return re(n,t,()=>{r=e[gr](),re(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>w(r?.return)&&r.return()})}function wr(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{re(n,t,()=>{let r=e[Symbol.asyncIterator]();re(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function _c(e,t){return wr(yr(e),t)}function xc(e,t){if(e!=null){if(fr(e))return Dc(e,t);if(ur(e))return Mc(e,t);if(dr(e))return bc(e,t);if(pr(e))return wr(e,t);if(mr(e))return Cc(e,t);if(vr(e))return _c(e,t)}throw hr(e)}function He(e,t){return t?xc(e,t):A(e)}function qp(...e){let t=je(e);return He(e,t)}function $e(e,t){return _((n,r)=>{let o=0;n.subscribe(D(r,i=>{r.next(e.call(t,i,o++))}))})}function pi(e){return _((t,n)=>{let r=null,o=!1,i;r=t.subscribe(D(n,void 0,void 0,s=>{i=A(e(s,pi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var Dr=class extends V{constructor(t,n){super()}schedule(t,n=0){return this}};var gn={setInterval(e,t,...n){let{delegate:r}=gn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=gn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var br=class extends Dr{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 gn.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&&gn.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,et(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var mn={now(){return(mn.delegate||Date).now()},delegate:void 0};var Ft=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)}};Ft.now=mn.now;var Mr=class extends Ft{constructor(t,n=Ft.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 hi=new Mr(br),Tc=hi;function Wp(e,t=hi){return _((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(D(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var ot=new N(e=>e.complete());function Cr(e){return e<=0?()=>ot:_((t,n)=>{let r=0;t.subscribe(D(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Nc(e){return _((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Sc(e,t){return _((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(D(r,c=>{o?.unsubscribe();let l=0,u=i++;A(e(c,u)).subscribe(o=D(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function kc(e){return _((t,n)=>{A(e).subscribe(D(n,()=>n.complete(),hn)),!n.closed&&t.subscribe(n)})}function gi(){return _((e,t)=>{let n=null;e._refCount++;let r=D(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 mi=class extends N{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,di(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 V;let n=this.getSubject();t.add(this.source.subscribe(D(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=V.EMPTY)}return t}refCount(){return gi()(this)}};var yn=class extends de{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var vn=class extends de{constructor(t=1/0,n=1/0,r=mn){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)}}};function zp(e,t){let n=w(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function Gp(e){return!!e&&(e instanceof N||w(e.lift)&&w(e.subscribe))}var it=Rt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Rc(e){return e instanceof Date&&!isNaN(e)}var{isArray:Qp}=Array;function Zp(e,t){return Qp(t)?e(...t):e(t)}function _r(e){return $e(t=>Zp(e,t))}var{isArray:Yp}=Array,{getPrototypeOf:Jp,prototype:Kp,keys:Xp}=Object;function xr(e){if(e.length===1){let t=e[0];if(Yp(t))return{args:t,keys:null};if(eh(t)){let n=Xp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function eh(e){return e&&typeof e=="object"&&Jp(e)===Kp}function Tr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function th(...e){let t=je(e),n=Lt(e),{args:r,keys:o}=xr(e);if(r.length===0)return He([],t);let i=new N(nh(r,t,o?s=>Tr(o,s):J));return n?i.pipe(_r(n)):i}function nh(e,t,n=J){return r=>{Oc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Oc(t,()=>{let l=He(e[c],t),u=!1;l.subscribe(D(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Oc(e,t,n){e?re(n,e,t):t()}function Ac(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let I=!1;A(n(g,u++)).subscribe(D(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{I=!0},void 0,()=>{if(I)try{for(l--;c.length&&l<r;){let m=c.shift();s?re(t,s,()=>h(m)):h(m)}p()}catch(m){t.error(m)}}))};return e.subscribe(D(t,f,()=>{d=!0,p()})),()=>{a?.()}}function st(e,t,n=1/0){return w(t)?st((r,o)=>$e((i,s)=>t(r,i,o,s))(A(e(r,o))),n):(typeof t=="number"&&(n=t),_((r,o)=>Ac(r,o,e,n)))}function yi(e=1/0){return st(J,e)}function Pc(){return yi(1)}function Nr(...e){return Pc()(He(e,je(e)))}function rh(e){return new N(t=>{A(e()).subscribe(t)})}function oh(...e){let t=Lt(e),{args:n,keys:r}=xr(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;A(n[u]).subscribe(D(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Tr(r,a):a),i.complete())}))}});return t?o.pipe(_r(t)):o}function Lc(e=0,t,n=Tc){let r=-1;return t!=null&&(lr(t)?n=t:r=t),new N(o=>{let i=Rc(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)})}var{isArray:ih}=Array;function Fc(e){return e.length===1&&ih(e[0])?e[0]:e}function In(e,t){return _((n,r)=>{let o=0;n.subscribe(D(r,i=>e.call(t,i,o++)&&r.next(i)))})}function sh(...e){let t=Lt(e),n=Fc(e);return n.length?new N(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)A(n[s]).subscribe(D(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):ot}function Vc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(D(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function ah(e,t){return w(t)?st(e,t,1):st(e,1)}function En(e){return _((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Sr(e=ch){return _((t,n)=>{let r=!1;t.subscribe(D(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function ch(){return new it}function lh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?In((o,i)=>e(o,i,r)):J,Cr(1),n?En(t):Sr(()=>new it))}function vi(e){return e<=0?()=>ot:_((t,n)=>{let r=[];t.subscribe(D(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 uh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?In((o,i)=>e(o,i,r)):J,vi(1),n?En(t):Sr(()=>new it))}function dh(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?J:_((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(D(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++<n){let p=()=>{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let f=typeof r=="number"?Lc(r):A(r(d,a)),h=D(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function fh(e,t){return _(Vc(e,t,arguments.length>=2,!0))}function jc(e={}){let{connector:t=()=>new de,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return _((g,I)=>{l++,!d&&!u&&p();let m=c=c??t();I.add(()=>{l--,l===0&&!d&&!u&&(a=Ii(h,o))}),m.subscribe(I),!s&&l>0&&(s=new xe({next:k=>m.next(k),error:k=>{d=!0,p(),a=Ii(f,n,k),m.error(k)},complete:()=>{u=!0,p(),a=Ii(f,r),m.complete()}}),A(g).subscribe(s))})(i)}}function Ii(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new xe({next:()=>{r.unsubscribe(),e()}});return A(t(...n)).subscribe(r)}function ph(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,jc({connector:()=>new vn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function hh(...e){let t=je(e);return _((n,r)=>{(t?Nr(e,n,t):Nr(e,n)).subscribe(r)})}function Hc(e,t,n){let r=w(e)||t||n?{next:e,error:t,complete:n}:e;return r?_((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(D(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):J}function wi(e,t){return Object.is(e,t)}var H=null,wn=!1,Di=1,$=Symbol("SIGNAL");function b(e){let t=H;return H=e,t}function $c(){return H}function gh(){return wn}var Ue={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function jt(e){if(wn)throw new Error("");if(H===null)return;H.consumerOnSignalRead(e);let t=H.nextProducerIndex++;if(Or(H),t<H.producerNode.length&&H.producerNode[t]!==e&&Dn(H)){let n=H.producerNode[t];Rr(n,H.producerIndexOfThis[t])}H.producerNode[t]!==e&&(H.producerNode[t]=e,H.producerIndexOfThis[t]=Dn(H)?Wc(e,H,t):0),H.producerLastReadVersion[t]=e.version}function mh(){Di++}function bn(e){if(!(Dn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Di)){if(!e.producerMustRecompute(e)&&!Mn(e)){kr(e);return}e.producerRecomputeValue(e),kr(e)}}function Bc(e){if(e.liveConsumerNode===void 0)return;let t=wn;wn=!0;try{for(let n of e.liveConsumerNode)n.dirty||qc(n)}finally{wn=t}}function Uc(){return H?.consumerAllowSignalWrites!==!1}function qc(e){e.dirty=!0,Bc(e),e.consumerMarkedDirty?.(e)}function kr(e){e.dirty=!1,e.lastCleanEpoch=Di}function ct(e){return e&&(e.nextProducerIndex=0),b(e)}function Ht(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Dn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Rr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Mn(e){Or(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(bn(n),r!==n.version))return!0}return!1}function $t(e){if(Or(e),Dn(e))for(let t=0;t<e.producerNode.length;t++)Rr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Wc(e,t,n){if(zc(e),e.liveConsumerNode.length===0&&Gc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Wc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Rr(e,t){if(zc(e),e.liveConsumerNode.length===1&&Gc(e))for(let r=0;r<e.producerNode.length;r++)Rr(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Or(o),o.producerIndexOfThis[r]=t}}function Dn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Or(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function zc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Gc(e){return e.producerNode!==void 0}function bi(e){let t=Object.create(yh);t.computation=e;let n=()=>{if(bn(t),jt(t),t.value===Be)throw t.error;return t.value};return n[$]=t,n}var at=Symbol("UNSET"),Vt=Symbol("COMPUTING"),Be=Symbol("ERRORED"),yh=ne(te({},Ue),{value:at,dirty:!0,error:null,equal:wi,kind:"computed",producerMustRecompute(e){return e.value===at||e.value===Vt},producerRecomputeValue(e){if(e.value===Vt)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Vt;let n=ct(e),r,o=!1;try{r=e.computation(),b(null),o=t!==at&&t!==Be&&r!==Be&&e.equal(t,r)}catch(i){r=Be,e.error=i}finally{Ht(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function vh(){throw new Error}var Qc=vh;function Zc(){Qc()}function Yc(e){Qc=e}var Ih=null;function Jc(e){let t=Object.create(Ci);t.value=e;let n=()=>(jt(t),t.value);return n[$]=t,n}function Bt(e,t){Uc()||Zc(),e.equal(e.value,t)||(e.value=t,Eh(e))}function Mi(e,t){Uc()||Zc(),Bt(e,t(e.value))}var Ci=ne(te({},Ue),{equal:wi,value:void 0,kind:"signal"});function Eh(e){e.version++,mh(),Bc(e),Ih?.()}function _i(e,t,n){let r=Object.create(wh);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(bn(r),jt(r),r.value===Be)throw r.error;return r.value};return i[$]=r,i}function Kc(e,t){bn(e),Bt(e,t),kr(e)}function Xc(e,t){bn(e),Mi(e,t),kr(e)}var wh=ne(te({},Ue),{value:at,dirty:!0,error:null,equal:wi,producerMustRecompute(e){return e.value===at||e.value===Vt},producerRecomputeValue(e){if(e.value===Vt)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Vt;let n=ct(e),r;try{let o=e.source(),i=t===at||t===Be?void 0:{source:e.sourceValue,value:t};r=e.computation(o,i),e.sourceValue=o}catch(o){r=Be,e.error=o}finally{Ht(e,n)}if(t!==at&&r!==Be&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function el(e,t,n){let r=Object.create(Dh);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||($t(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Ei)}let a=()=>{if(r.fn===null)return;if(gh())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Mn(r))return;r.hasRun=!0;let c=ct(r);try{r.cleanupFn(),r.cleanupFn=Ei,r.fn(o)}finally{Ht(r,c)}};return r.ref={notify:()=>qc(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[$]:r},r.ref}var Ei=()=>{},Dh=ne(te({},Ue),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Ei});var ru="https://g.co/ng/security#xss",M=class extends Error{code;constructor(t,n){super(bh(t,n)),this.code=t}};function bh(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var So=Symbol("InputSignalNode#UNSET"),ou=ne(te({},Ci),{transformFn:void 0,applyValueToInputSignal(e,t){Bt(e,t)}});function iu(e,t){let n=Object.create(ou);n.value=e,n.transformFn=t?.transform;function r(){if(jt(n),n.value===So)throw new M(-950,!1);return n.value}return r[$]=n,r}function Qn(e){return{toString:e}.toString()}var Ar="__parameters__";function Mh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function su(e,t,n){return Qn(()=>{let r=Mh(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Ar)?c[Ar]:Object.defineProperty(c,Ar,{value:[]})[Ar];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var We=globalThis;function P(e){for(let t in e)if(e[t]===P)return t;throw Error("Could not find renamed property on target object.")}function Ch(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ce(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ce).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 Ui(e,t){return e?t?`${e} ${t}`:e:t||""}var _h=P({__forward_ref__:P});function au(e){return e.__forward_ref__=au,e.toString=function(){return ce(this())},e}function K(e){return cu(e)?e():e}function cu(e){return typeof e=="function"&&e.hasOwnProperty(_h)&&e.__forward_ref__===au}function xh(e,t,n){e!=t&&Th(n,e,t,"==")}function Th(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function cN(e){return{providers:e.providers||[],imports:e.imports||[]}}function ko(e){return tl(e,lu)||tl(e,uu)}function lN(e){return ko(e)!==null}function tl(e,t){return e.hasOwnProperty(t)?e[t]:null}function Nh(e){let t=e&&(e[lu]||e[uu]);return t||null}function nl(e){return e&&(e.hasOwnProperty(rl)||e.hasOwnProperty(Sh))?e[rl]:null}var lu=P({\u0275prov:P}),rl=P({\u0275inj:P}),uu=P({ngInjectableDef:P}),Sh=P({ngInjectorDef:P}),R=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=U({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function du(e){return e&&!!e.\u0275providers}var kh=P({\u0275cmp:P}),Rh=P({\u0275dir:P}),Oh=P({\u0275pipe:P}),Ah=P({\u0275mod:P}),Zr=P({\u0275fac:P}),Nn=P({__NG_ELEMENT_ID__:P}),ol=P({__NG_ENV_ID__:P});function ye(e){return typeof e=="string"?e:e==null?"":String(e)}function Ph(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():ye(e)}function Lh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function aa(e,t){throw new M(-201,!1)}var T=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(T||{}),qi;function fu(){return qi}function oe(e){let t=qi;return qi=e,t}function pu(e,t,n){let r=ko(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(t!==void 0)return t;aa(e,"Injector")}var Fh={},An=Fh,Wi="__NG_DI_FLAG__",Yr="ngTempTokenPath",Vh="ngTokenPath",jh=/\n/gm,Hh="\u0275",il="__source",zt;function $h(){return zt}function qe(e){let t=zt;return zt=e,t}function Bh(e,t=T.Default){if(zt===void 0)throw new M(-203,!1);return zt===null?pu(e,void 0,t):zt.get(e,t&T.Optional?null:void 0,t)}function Ze(e,t=T.Default){return(fu()||Bh)(K(e),t)}function x(e,t=T.Default){return Ze(e,Ro(t))}function Ro(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function zi(e){let t=[];for(let n=0;n<e.length;n++){let r=K(e[n]);if(Array.isArray(r)){if(r.length===0)throw new M(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Uh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Ze(o,i))}else t.push(Ze(r))}return t}function hu(e,t){return e[Wi]=t,e.prototype[Wi]=t,e}function Uh(e){return e[Wi]}function qh(e,t,n,r){let o=e[Yr];throw t[il]&&o.unshift(t[il]),e.message=Wh(`
5
+ `+e.message,o,n,r),e[Vh]=o,e[Yr]=null,e}function Wh(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==Hh?e.slice(2):e;let o=ce(t);if(Array.isArray(t))o=t.map(ce).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ce(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(jh,`
7
+ `)}`}var gu=hu(su("Optional"),8);var mu=hu(su("SkipSelf"),4);function pt(e,t){let n=e.hasOwnProperty(Zr);return n?e[Zr]:null}function zh(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 Gh(e){return e.flat(Number.POSITIVE_INFINITY)}function ca(e,t){e.forEach(n=>Array.isArray(n)?ca(n,t):t(n))}function yu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Jr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Qh(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Zh(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 Oo(e,t,n){let r=Zn(e,t);return r>=0?e[r|1]=n:(r=~r,Zh(e,r,t,n)),r}function xi(e,t){let n=Zn(e,t);if(n>=0)return e[n|1]}function Zn(e,t){return Yh(e,t,1)}function Yh(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 ht={},G=[],Kr=new R(""),vu=new R("",-1),Iu=new R(""),Xr=class{get(t,n=An){if(n===An){let r=new Error(`NullInjectorError: No provider for ${ce(t)}!`);throw r.name="NullInjectorError",r}return n}};function Eu(e,t){let n=e[Ah]||null;if(!n&&t===!0)throw new Error(`Type ${ce(e)} does not have '\u0275mod' property.`);return n}function Me(e){return e[kh]||null}function la(e){return e[Rh]||null}function ua(e){return e[Oh]||null}function Jh(e){let t=Me(e)||la(e)||ua(e);return t!==null&&t.standalone}function Kh(e){return{\u0275providers:e}}function Xh(...e){return{\u0275providers:da(!0,e),\u0275fromNgModule:!0}}function da(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ca(t,s=>{let a=s;Gi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&wu(o,i),n}function wu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];fa(o,i=>{t(i,r)})}}function Gi(e,t,n,r){if(e=K(e),!e)return!1;let o=null,i=nl(e),s=!i&&Me(e);if(!i&&!s){let c=e.ngModule;if(i=nl(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 l of c)Gi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{ca(i.imports,u=>{Gi(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&wu(l,t)}if(!a){let l=pt(o)||(()=>new o);t({provide:o,useFactory:l,deps:G},o),t({provide:Iu,useValue:o,multi:!0},o),t({provide:Kr,useValue:()=>Ze(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;fa(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function fa(e,t){for(let n of e)du(n)&&(n=n.\u0275providers),Array.isArray(n)?fa(n,t):t(n)}var eg=P({provide:String,useValue:P});function Du(e){return e!==null&&typeof e=="object"&&eg in e}function tg(e){return!!(e&&e.useExisting)}function ng(e){return!!(e&&e.useFactory)}function Zt(e){return typeof e=="function"}function rg(e){return!!e.useClass}var bu=new R(""),jr={},og={},Ti;function Ao(){return Ti===void 0&&(Ti=new Xr),Ti}var Ne=class{},Pn=class extends Ne{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,Zi(t,s=>this.processProvider(s)),this.records.set(vu,Ut(void 0,this)),o.has("environment")&&this.records.set(Ne,Ut(void 0,this));let i=this.records.get(bu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Iu,G,T.Self))}destroy(){_n(this),this._destroyed=!0;let t=b(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(),b(t)}}onDestroy(t){return _n(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){_n(this);let n=qe(this),r=oe(void 0),o;try{return t()}finally{qe(n),oe(r)}}get(t,n=An,r=T.Default){if(_n(this),t.hasOwnProperty(ol))return t[ol](this);r=Ro(r);let o,i=qe(this),s=oe(void 0);try{if(!(r&T.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=lg(t)&&ko(t);l&&this.injectableDefInScope(l)?c=Ut(Qi(t),jr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&T.Self?Ao():this.parent;return n=r&T.Optional&&n===An?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Yr]=a[Yr]||[]).unshift(ce(t)),i)throw a;return qh(a,t,"R3InjectorError",this.source)}else throw a}finally{oe(s),qe(i)}}resolveInjectorInitializers(){let t=b(null),n=qe(this),r=oe(void 0),o;try{let i=this.get(Kr,G,T.Self);for(let s of i)s()}finally{qe(n),oe(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ce(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=K(t);let n=Zt(t)?t:K(t&&t.provide),r=sg(t);if(!Zt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ut(void 0,jr,!0),o.factory=()=>zi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===jr&&(n.value=og,n.value=n.factory()),typeof n.value=="object"&&n.value&&cg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=K(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 Qi(e){let t=ko(e),n=t!==null?t.factory:pt(e);if(n!==null)return n;if(e instanceof R)throw new M(204,!1);if(e instanceof Function)return ig(e);throw new M(204,!1)}function ig(e){if(e.length>0)throw new M(204,!1);let n=Nh(e);return n!==null?()=>n.factory(e):()=>new e}function sg(e){if(Du(e))return Ut(void 0,e.useValue);{let t=Mu(e);return Ut(t,jr)}}function Mu(e,t,n){let r;if(Zt(e)){let o=K(e);return pt(o)||Qi(o)}else if(Du(e))r=()=>K(e.useValue);else if(ng(e))r=()=>e.useFactory(...zi(e.deps||[]));else if(tg(e))r=()=>Ze(K(e.useExisting));else{let o=K(e&&(e.useClass||e.provide));if(ag(e))r=()=>new o(...zi(e.deps));else return pt(o)||Qi(o)}return r}function _n(e){if(e.destroyed)throw new M(205,!1)}function Ut(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ag(e){return!!e.deps}function cg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function lg(e){return typeof e=="function"||typeof e=="object"&&e instanceof R}function Zi(e,t){for(let n of e)Array.isArray(n)?Zi(n,t):n&&du(n)?Zi(n.\u0275providers,t):t(n)}function Cu(e,t){e instanceof Pn&&_n(e);let n,r=qe(e),o=oe(void 0);try{return t()}finally{qe(r),oe(o)}}function _u(){return fu()!==void 0||$h()!=null}function pa(e){if(!_u())throw new M(-203,!1)}function ug(e){return typeof e=="function"}var Le=0,v=1,E=2,z=3,ve=4,X=5,Yt=6,eo=7,W=8,Ce=9,Se=10,S=11,Ln=12,sl=13,rn=14,se=15,gt=16,qt=17,ke=18,Po=19,xu=20,Ge=21,Hr=22,mt=23,le=24,L=25,Tu=1,to=6,yt=7,no=8,Jt=9,Q=10;function Qe(e){return Array.isArray(e)&&typeof e[Tu]=="object"}function Fe(e){return Array.isArray(e)&&e[Tu]===!0}function ha(e){return(e.flags&4)!==0}function Tt(e){return e.componentOffset>-1}function Lo(e){return(e.flags&1)===1}function Re(e){return!!e.template}function ro(e){return(e[E]&512)!==0}function on(e){return(e[E]&256)===256}var Yi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Nu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var uN=(()=>{let e=()=>Su;return e.ngInherit=!0,e})();function Su(e){return e.type.prototype.ngOnChanges&&(e.setInput=fg),dg}function dg(){let e=Ru(this),t=e?.current;if(t){let n=e.previous;if(n===ht)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fg(e,t,n,r,o){let i=this.declaredInputs[r],s=Ru(e)||pg(e,{previous:ht,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Yi(l&&l.currentValue,n,c===ht),Nu(e,t,o,n)}var ku="__ngSimpleChanges__";function Ru(e){return e[ku]||null}function pg(e,t){return e[ku]=t}var al=null;var fe=function(e,t,n){al?.(e,t,n)},Ou="svg",hg="math";function he(e){for(;Array.isArray(e);)e=e[Le];return e}function Fo(e,t){return he(t[e])}function Ee(e,t){return he(t[e.index])}function Yn(e,t){return e.data[t]}function Vo(e,t){return e[t]}function _e(e,t){let n=t[e];return Qe(n)?n:n[Le]}function gg(e){return(e[E]&4)===4}function ga(e){return(e[E]&128)===128}function mg(e){return Fe(e[z])}function Oe(e,t){return t==null?null:e[t]}function Au(e){e[qt]=0}function ma(e){e[E]&1024||(e[E]|=1024,ga(e)&&Jn(e))}function yg(e,t){for(;e>0;)t=t[rn],e--;return t}function jo(e){return!!(e[E]&9216||e[le]?.dirty)}function Ji(e){e[Se].changeDetectionScheduler?.notify(9),e[E]&64&&(e[E]|=1024),jo(e)&&Jn(e)}function Jn(e){e[Se].changeDetectionScheduler?.notify(0);let t=vt(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!ga(t)));)t=vt(t)}function ya(e,t){if(on(e))throw new M(911,!1);e[Ge]===null&&(e[Ge]=[]),e[Ge].push(t)}function Pu(e,t){if(e[Ge]===null)return;let n=e[Ge].indexOf(t);n!==-1&&e[Ge].splice(n,1)}function vt(e){let t=e[z];return Fe(t)?t[z]:t}function Lu(e){return e[eo]??=[]}function Fu(e){return e.cleanup??=[]}function vg(e,t,n,r){let o=Lu(t);o.push(n),e.firstCreatePass&&Fu(e).push(r,o.length-1)}var C={lFrame:Wu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ki=!1;function Ig(){return C.lFrame.elementDepthCount}function Eg(){C.lFrame.elementDepthCount++}function wg(){C.lFrame.elementDepthCount--}function Ho(){return C.bindingsEnabled}function Vu(){return C.skipHydrationRootTNode!==null}function Dg(e){return C.skipHydrationRootTNode===e}function bg(){C.skipHydrationRootTNode=null}function y(){return C.lFrame.lView}function O(){return C.lFrame.tView}function dN(e){return C.lFrame.contextLView=e,e[W]}function fN(e){return C.lFrame.contextLView=null,e}function Z(){let e=ju();for(;e!==null&&e.type===64;)e=e.parent;return e}function ju(){return C.lFrame.currentTNode}function Fn(){let e=C.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Ie(e,t){let n=C.lFrame;n.currentTNode=e,n.isParent=t}function va(){return C.lFrame.isParent}function Ia(){C.lFrame.isParent=!1}function Hu(){return C.lFrame.contextLView}function $u(){return Ki}function oo(e){let t=Ki;return Ki=e,t}function sn(){let e=C.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ea(){return C.lFrame.bindingIndex}function Mg(e){return C.lFrame.bindingIndex=e}function Ke(){return C.lFrame.bindingIndex++}function $o(e){let t=C.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Cg(){return C.lFrame.inI18n}function Bu(e){C.lFrame.inI18n=e}function _g(e,t){let n=C.lFrame;n.bindingIndex=n.bindingRootIndex=e,Xi(t)}function xg(){return C.lFrame.currentDirectiveIndex}function Xi(e){C.lFrame.currentDirectiveIndex=e}function Tg(e){let t=C.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function wa(){return C.lFrame.currentQueryIndex}function Bo(e){C.lFrame.currentQueryIndex=e}function Ng(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[X]:null}function Uu(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=Ng(i),o===null||(i=i[rn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=C.lFrame=qu();return r.currentTNode=t,r.lView=e,!0}function Da(e){let t=qu(),n=e[v];C.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function qu(){let e=C.lFrame,t=e===null?null:e.child;return t===null?Wu(e):t}function Wu(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 zu(){let e=C.lFrame;return C.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Gu=zu;function ba(){let e=zu();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 Sg(e){return(C.lFrame.contextLView=yg(e,C.lFrame.contextLView))[W]}function we(){return C.lFrame.selectedIndex}function It(e){C.lFrame.selectedIndex=e}function Nt(){let e=C.lFrame;return Yn(e.tView,e.selectedIndex)}function pN(){C.lFrame.currentNamespace=Ou}function kg(){return C.lFrame.currentNamespace}var Qu=!0;function Kn(){return Qu}function Xn(e){Qu=e}function Rg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Su(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 Ma(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:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function $r(e,t,n){Zu(e,t,3,n)}function Br(e,t,n,r){(e[E]&3)===n&&Zu(e,t,n,r)}function Ni(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function Zu(e,t,n,r){let o=r!==void 0?e[qt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[qt]+=65536),(a<i||i==-1)&&(Og(e,n,t,c),e[qt]=(e[qt]&4294901760)+c+2),c++}function cl(e,t){fe(4,e,t);let n=b(null);try{t.call(e)}finally{b(n),fe(5,e,t)}}function Og(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[qt]>>16&&(e[E]&3)===t&&(e[E]+=16384,cl(a,i)):cl(a,i)}var Gt=-1,Et=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Ag(e){return e instanceof Et}function Pg(e){return(e.flags&8)!==0}function Lg(e){return(e.flags&16)!==0}function Fg(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];Vg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Yu(e){return e===3||e===4||e===6}function Vg(e){return e.charCodeAt(0)===64}function Kt(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?ll(e,n,o,null,t[++r]):ll(e,n,o,null,null))}}return e}function ll(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Si={},Qt=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Ro(r);let o=this.injector.get(t,Si,r);return o!==Si||n===Si?o:this.parentInjector.get(t,n,r)}};function Ju(e){return e!==Gt}function io(e){return e&32767}function jg(e){return e>>16}function so(e,t){let n=jg(e),r=t;for(;n>0;)r=r[rn],n--;return r}var es=!0;function ao(e){let t=es;return es=e,t}var Hg=256,Ku=Hg-1,Xu=5,$g=0,be={};function Bg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Nn)&&(r=n[Nn]),r==null&&(r=n[Nn]=$g++);let o=r&Ku,i=1<<o;t.data[e+(o>>Xu)]|=i}function co(e,t){let n=ed(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,ki(r.data,e),ki(t,null),ki(r.blueprint,null));let o=Ca(e,t),i=e.injectorIndex;if(Ju(o)){let s=io(o),a=so(o,t),c=a[v].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function ki(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ed(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ca(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=id(o),r===null)return Gt;if(n++,o=o[rn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Gt}function ts(e,t,n){Bg(e,t,n)}function Ug(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(Yu(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 td(e,t,n){if(n&T.Optional||e!==void 0)return e;aa(t,"NodeInjector")}function nd(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),!(n&(T.Self|T.Host))){let o=e[Ce],i=oe(void 0);try{return o?o.get(t,r,n&T.Optional):pu(t,r,n&T.Optional)}finally{oe(i)}}return td(r,t,n)}function rd(e,t,n,r=T.Default,o){if(e!==null){if(t[E]&2048&&!(r&T.Self)){let s=Gg(e,t,n,r,be);if(s!==be)return s}let i=od(e,t,n,r,be);if(i!==be)return i}return nd(t,n,r,o)}function od(e,t,n,r,o){let i=Wg(n);if(typeof i=="function"){if(!Uu(t,e,r))return r&T.Host?td(o,n,r):nd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))aa(n);else return s}finally{Gu()}}else if(typeof i=="number"){let s=null,a=ed(e,t),c=Gt,l=r&T.Host?t[se][X]:null;for((a===-1||r&T.SkipSelf)&&(c=a===-1?Ca(e,t):t[a+8],c===Gt||!dl(r,!1)?a=-1:(s=t[v],a=io(c),t=so(c,t)));a!==-1;){let u=t[v];if(ul(i,a,u.data)){let d=qg(a,t,n,s,r,l);if(d!==be)return d}c=t[a+8],c!==Gt&&dl(r,t[v].data[a+8]===l)&&ul(i,a,t)?(s=u,a=io(c),t=so(c,t)):a=-1}}return o}function qg(e,t,n,r,o,i){let s=t[v],a=s.data[e+8],c=r==null?Tt(a)&&es:r!=s&&(a.type&3)!==0,l=o&T.Host&&i===a,u=Ur(a,s,n,c,l);return u!==null?Vn(t,s,u,a):be}function Ur(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Re(f)&&f.type===n)return c}return null}function Vn(e,t,n,r){let o=e[n],i=t.data;if(Ag(o)){let s=o;s.resolving&&Lh(Ph(i[n]));let a=ao(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?oe(s.injectImpl):null,u=Uu(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Rg(n,i[n],t)}finally{l!==null&&oe(l),ao(a),s.resolving=!1,Gu()}}return o}function Wg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Nn)?e[Nn]:void 0;return typeof t=="number"?t>=0?t&Ku:zg:t}function ul(e,t,n){let r=1<<e;return!!(n[t+(e>>Xu)]&r)}function dl(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var ft=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return rd(this._tNode,this._lView,t,Ro(r),n)}};function zg(){return new ft(Z(),y())}function hN(e){return Qn(()=>{let t=e.prototype.constructor,n=t[Zr]||ns(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Zr]||ns(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ns(e){return cu(e)?()=>{let t=ns(K(e));return t&&t()}:pt(e)}function Gg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!ro(s);){let a=od(i,s,n,r|T.Self,be);if(a!==be)return a;let c=i.parent;if(!c){let l=s[xu];if(l){let u=l.get(n,be,r);if(u!==be)return u}c=id(s),s=s[rn]}i=c}return o}function id(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[X]:null}function gN(e){return Ug(Z(),e)}function fl(e,t=null,n=null,r){let o=sd(e,t,n,r);return o.resolveInjectorInitializers(),o}function sd(e,t=null,n=null,r,o=new Set){let i=[n||G,Xh(e)];return r=r||(typeof e=="object"?void 0:ce(e)),new Pn(i,t||Ao(),r||null,o)}var Ye=class e{static THROW_IF_NOT_FOUND=An;static NULL=new Xr;static create(t,n){if(Array.isArray(t))return fl({name:""},n,t,"");{let r=t.name??"";return fl({name:r},t.parent,t.providers,r)}}static \u0275prov=U({token:e,providedIn:"any",factory:()=>Ze(vu)});static __NG_ELEMENT_ID__=-1};var Qg=new R("");Qg.__NG_ELEMENT_ID__=e=>{let t=Z();if(t===null)throw new M(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new M(204,!1)};var ad=!1,an=(()=>{class e{static __NG_ELEMENT_ID__=Zg;static __NG_ENV_ID__=n=>n}return e})(),lo=class extends an{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return ya(this._lView,t),()=>Pu(this._lView,t)}};function Zg(){return new lo(y())}var Je=class{},_a=new R("",{providedIn:"root",factory:()=>!1});var cd=new R(""),xa=new R(""),St=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new yn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.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.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),Yg=(()=>{class e{internalPendingTasks=x(St);scheduler=x(Je);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(12),this.internalPendingTasks.remove(n))}}async run(n){let r=this.add();try{return await n()}finally{r()}}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),rs=class extends de{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,_u()&&(this.destroyRef=x(an,{optional:!0})??void 0,this.pendingTasks=x(St,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(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 V&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},ze=rs;function jn(...e){}function ld(e){let t,n;function r(){e=jn;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 pl(e){return queueMicrotask(()=>e()),()=>{e=jn}}var Ta="isAngularZone",uo=Ta+"_ID",Jg=0,pe=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ze(!1);onMicrotaskEmpty=new ze(!1);onStable=new ze(!1);onError=new ze(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=ad}=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,em(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ta)===!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,Kg,jn,jn);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)}},Kg={};function Na(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 Xg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ld(()=>{e.callbackScheduled=!1,os(e),e.isCheckStableRunning=!0,Na(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),os(e)}function em(e){let t=()=>{Xg(e)},n=Jg++;e._inner=e._inner.fork({name:"angular",properties:{[Ta]:!0,[uo]:n,[uo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(tm(c))return r.invokeTask(i,s,a,c);try{return hl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),gl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return hl(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!nm(c)&&t(),gl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,os(e),Na(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function os(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function hl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function gl(e){e._nesting--,Na(e)}var fo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ze;onMicrotaskEmpty=new ze;onStable=new ze;onError=new ze;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 tm(e){return ud(e,"__ignore_ng_zone__")}function nm(e){return ud(e,"__scheduler_tick__")}function ud(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var wt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},rm=new R("",{providedIn:"root",factory:()=>{let e=x(pe),t=x(wt);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),po=class{destroyed=!1;listeners=null;errorHandler=x(wt,{optional:!0});destroyRef=x(an);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new M(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new M(953,!1);if(this.listeners===null)return;let n=b(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{b(n)}}};function mN(e){return new po}function ml(e,t){return iu(e,t)}function om(e){return iu(So,e)}var yN=(ml.required=om,ml);function im(){return cn(Z(),y())}function cn(e,t){return new Uo(Ee(e,t))}var Uo=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=im}return e})();function dd(e){return e instanceof Uo?e.nativeElement:e}var yl=new Set;function De(e){yl.has(e)||(yl.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function sm(e){return typeof e=="function"&&e[$]!==void 0}function fd(e,t){De("NgSignals");let n=Jc(e),r=n[$];return t?.equal&&(r.equal=t.equal),n.set=o=>Bt(r,o),n.update=o=>Mi(r,o),n.asReadonly=qo.bind(n),n}function qo(){let e=this[$];if(e.readonlyFn===void 0){let t=()=>this();t[$]=e,e.readonlyFn=t}return e.readonlyFn}function pd(e){return sm(e)&&typeof e.set=="function"}function am(){return this._results[Symbol.iterator]()}var is=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 de}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=Gh(t);(this._changesDetected=!zh(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]=am};function hd(e){return(e.flags&128)===128}var gd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(gd||{}),md=new Map,cm=0;function lm(){return cm++}function um(e){md.set(e[Po],e)}function ss(e){md.delete(e[Po])}var vl="__ngContext__";function Ae(e,t){Qe(t)?(e[vl]=t[Po],um(t)):e[vl]=t}function yd(e){return Id(e[Ln])}function vd(e){return Id(e[ve])}function Id(e){for(;e!==null&&!Fe(e);)e=e[ve];return e}var as;function vN(e){as=e}function Sa(){if(as!==void 0)return as;if(typeof document<"u")return document;throw new M(210,!1)}var IN=new R("",{providedIn:"root",factory:()=>dm}),dm="ng",fm=new R(""),EN=new R("",{providedIn:"platform",factory:()=>"unknown"});var wN=new R("",{providedIn:"root",factory:()=>Sa().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),pm={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},DN=new R("",{providedIn:"root",factory:()=>pm});var hm="h",gm="b";var mm="di",Ed="s";var wd=!1,ym=new R("",{providedIn:"root",factory:()=>wd});var vm=new R("");var Dd=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Dd||{}),bd=new R("");var Im=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})();var ie=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(ie||{}),Il=0,Em=1,j=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(j||{}),ho=function(e){return e[e.Initial=-1]="Initial",e}(ho||{}),wm=0,Wo=1;var Dm=4,bm=5,Mm=6,Cm=7,Ri=8,_m=9,Md=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Md||{});function xm(e,t,n){let r=_d(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function qr(e,t){let n=_d(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Cd(e){qr(1,e),qr(0,e),qr(2,e)}function _d(e){let t=Dm;return e===1?t=bm:e===2&&(t=_m),t}function zo(e){return e+1}function er(e,t){let n=e[v],r=zo(t.index);return e[r]}function Tm(e,t,n){let r=e[v],o=zo(t);e[o]=n}function tr(e,t){let n=zo(t.index);return e.data[n]}function Nm(e,t,n){let r=zo(t);e.data[r]=n}function Sm(e,t,n){let r=t[v],o=tr(r,n);switch(e){case j.Complete:return o.primaryTmplIndex;case j.Loading:return o.loadingTmplIndex;case j.Error:return o.errorTmplIndex;case j.Placeholder:return o.placeholderTmplIndex;default:return null}}function El(e,t){return t===j.Placeholder?e.placeholderBlockConfig?.[Il]??null:t===j.Loading?e.loadingBlockConfig?.[Il]??null:null}function km(e){return e.loadingBlockConfig?.[Em]??null}function wl(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function Rm(e,t){let n=t.primaryTmplIndex+L;return Yn(e,n)}var Om=new R("");var Am=()=>null;function xd(e,t,n=!1){return Am(e,t,n)}function Pm(e){return e.get(vm,!1,{optional:!0})}function Td(e,t){let n=e.contentQueries;if(n!==null){let r=b(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];Bo(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function cs(e,t,n){Bo(0);let r=b(null);try{t(e,n)}finally{b(r)}}function ka(e,t,n){if(ha(t)){let r=b(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{b(r)}}}var Hn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Hn||{}),Pr;function Lm(){if(Pr===void 0&&(Pr=null,We.trustedTypes))try{Pr=We.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Pr}function Go(e){return Lm()?.createHTML(e)||e}var Lr;function Nd(){if(Lr===void 0&&(Lr=null,We.trustedTypes))try{Lr=We.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Lr}function Dl(e){return Nd()?.createHTML(e)||e}function bl(e){return Nd()?.createScriptURL(e)||e}var Pe=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ru})`}},ls=class extends Pe{getTypeName(){return"HTML"}},us=class extends Pe{getTypeName(){return"Style"}},ds=class extends Pe{getTypeName(){return"Script"}},fs=class extends Pe{getTypeName(){return"URL"}},ps=class extends Pe{getTypeName(){return"ResourceURL"}};function ln(e){return e instanceof Pe?e.changingThisBreaksApplicationSecurity:e}function Ra(e,t){let n=Fm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ru})`)}return n===t}function Fm(e){return e instanceof Pe&&e.getTypeName()||null}function bN(e){return new ls(e)}function MN(e){return new us(e)}function CN(e){return new ds(e)}function _N(e){return new fs(e)}function xN(e){return new ps(e)}function Sd(e){let t=new gs(e);return Vm()?new hs(t):t}var hs=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Go(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},gs=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=Go(t),n}};function Vm(){try{return!!new window.DOMParser().parseFromString(Go(""),"text/html")}catch{return!1}}var jm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Oa(e){return e=String(e),e.match(jm)?e:"unsafe:"+e}function Ve(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function nr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var kd=Ve("area,br,col,hr,img,wbr"),Rd=Ve("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Od=Ve("rp,rt"),Hm=nr(Od,Rd),$m=nr(Rd,Ve("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")),Bm=nr(Od,Ve("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")),ms=nr(kd,$m,Bm,Hm),Aa=Ve("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Um=Ve("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"),qm=Ve("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"),Ad=nr(Aa,Um,qm),Wm=Ve("script,style,template"),ys=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=Qm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Gm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Ml(t).toLowerCase();if(!ms.hasOwnProperty(n))return this.sanitizedSomething=!0,!Wm.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(!Ad.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Aa[a]&&(c=Oa(c)),this.buf.push(" ",s,'="',Cl(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Ml(t).toLowerCase();ms.hasOwnProperty(n)&&!kd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Cl(t))}};function zm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Gm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Pd(t);return t}function Qm(e){let t=e.firstChild;if(t&&zm(e,t))throw Pd(t);return t}function Ml(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Pd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Zm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ym=/([^\#-~ |!])/g;function Cl(e){return e.replace(/&/g,"&amp;").replace(Zm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Ym,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Fr;function Jm(e,t){let n=null;try{Fr=Fr||Sd(e);let r=t?String(t):"";n=Fr.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=Fr.getInertBodyElement(r)}while(r!==i);let a=new ys().sanitizeChildren(vs(n)||n);return Go(a)}finally{if(n){let r=vs(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function vs(e){return"content"in e&&Km(e)?e.content:null}function Km(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Qo=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}(Qo||{});function TN(e){let t=Pa();return t?Dl(t.sanitize(Qo.HTML,e)||""):Ra(e,"HTML")?Dl(ln(e)):Jm(Sa(),ye(e))}function Xm(e){let t=Pa();return t?t.sanitize(Qo.URL,e)||"":Ra(e,"URL")?ln(e):Oa(ye(e))}function ey(e){let t=Pa();if(t)return bl(t.sanitize(Qo.RESOURCE_URL,e)||"");if(Ra(e,"ResourceURL"))return bl(ln(e));throw new M(904,!1)}function ty(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?ey:Xm}function NN(e,t,n){return ty(t,n)(e)}function Pa(){let e=y();return e&&e[Se].sanitizer}var ny=/^>|^->|<!--|-->|--!>|<!-$/g,ry=/(<|>)/g,oy="\u200B$1\u200B";function iy(e){return e.replace(ny,t=>t.replace(ry,oy))}function Ld(e){return e instanceof Function?e():e}function sy(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 Fd="ng-template";function ay(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&sy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(La(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 La(e){return e.type===4&&e.value!==Fd}function cy(e,t,n){let r=e.type===4&&!n?Fd:e.value;return t===r}function ly(e,t,n){let r=4,o=e.attrs,i=o!==null?fy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!me(r)&&!me(c))return!1;if(s&&me(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!cy(e,c,n)||c===""&&t.length===1){if(me(r))return!1;s=!0}}else if(r&8){if(o===null||!ay(e,o,c,n)){if(me(r))return!1;s=!0}}else{let l=t[++a],u=uy(c,o,La(e),n);if(u===-1){if(me(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(me(r))return!1;s=!0}}}}return me(r)||s}function me(e){return(e&1)===0}function uy(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 py(t,e)}function Vd(e,t,n=!1){for(let r=0;r<t.length;r++)if(ly(e,t[r],n))return!0;return!1}function dy(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function fy(e){for(let t=0;t<e.length;t++){let n=e[t];if(Yu(n))return t}return e.length}function py(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 hy(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 _l(e,t){return e?":not("+t.trim()+")":t}function gy(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!==""&&!me(s)&&(t+=_l(i,o),o=""),r=s,i=i||!me(r);n++}return o!==""&&(t+=_l(i,o)),t}function my(e){return e.map(gy).join(",")}function yy(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(!me(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var q={};function jd(e,t){return e.createText(t)}function Hd(e,t,n){e.setValue(t,n)}function $d(e,t){return e.createComment(iy(t))}function Fa(e,t,n){return e.createElement(t,n)}function Dt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Bd(e,t,n){e.appendChild(t,n)}function xl(e,t,n,r,o){r!==null?Dt(e,t,n,r,o):Bd(e,t,n)}function Ud(e,t,n){e.removeChild(null,t,n)}function vy(e,t,n){e.setAttribute(t,"style",n)}function Iy(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function qd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Fg(e,t,r),o!==null&&Iy(e,t,o),i!==null&&vy(e,t,i)}function Va(e,t,n,r,o,i,s,a,c,l,u){let d=L+r,p=d+o,f=Ey(d,p),h=typeof l=="function"?l():l;return f[v]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,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:h,incompleteFirstPass:!1,ssrId:u}}function Ey(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:q);return n}function wy(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Va(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ja(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Le]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),Au(d),d[z]=d[rn]=e,d[W]=n,d[Se]=s||e&&e[Se],d[S]=a||e&&e[S],d[Ce]=c||e&&e[Ce]||null,d[X]=i,d[Po]=lm(),d[Yt]=u,d[xu]=l,d[se]=t.type==2?e[se]:d,d}function Dy(e,t,n){let r=Ee(t,e),o=wy(n),i=e[Se].rendererFactory,s=Ha(e,ja(e,o,null,Wd(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Wd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function rr(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 Ha(e,t){return e[Ln]?e[sl][ve]=t:e[Ln]=t,e[sl]=t,t}function SN(e=1){zd(O(),y(),we()+e,!1)}function zd(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&$r(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Br(t,i,0,n)}It(n)}var Zo=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Zo||{});function Gd(e,t,n,r){let o=b(null);try{let[i,s,a]=e.inputs[n],c=null;s&Zo.SignalBased&&(c=t[i][$]),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):Nu(t,c,i,r)}finally{b(o)}}function Qd(e,t,n,r,o){let i=we(),s=r&2;try{It(-1),s&&t.length>L&&zd(e,t,L,!1),fe(s?2:0,o),n(r,o)}finally{It(i),fe(s?3:1,o)}}function $a(e,t,n){Ho()&&(Ae(Ee(n,t),t),Zd(e,t,n))}function Zd(e,t,n){Ty(e,t,n),(n.flags&64)===64&&Ny(e,t,n)}function Ba(e,t,n=Ee){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 by(e,t,n,r){let i=r.get(ym,wd)||n===Hn.ShadowDom,s=e.selectRootElement(t,i);return My(s),s}function My(e){Cy(e)}var Cy=()=>null;function _y(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function un(e,t,n,r,o,i,s,a){let c=t.inputs,l;if(!a&&c!=null&&(l=c[r]))Wa(e,n,l,r,o),Tt(t)&&xy(n,t.index);else if(t.type&3){let u=Ee(t,n);r=_y(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(u,r,o)}else t.type&12}function xy(e,t){let n=_e(t,e);n[E]&16||(n[E]|=64)}function Ty(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Tt(n)&&Dy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||co(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Vn(t,e,s,n);if(Ae(c,t),i!==null&&Ry(t,s-r,c,a,n,i),Re(a)){let l=_e(n.index,t);l[W]=Vn(t,e,s,n)}}}function Ny(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=xg();try{It(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Xi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Sy(c,l)}}finally{It(-1),Xi(s)}}function Sy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Ua(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Vd(t,i.selectors,!1)&&(r??=[],Re(i)?r.unshift(i):r.push(i))}return r}function ky(e,t,n,r,o,i){let s=Ee(e,t);qa(t[S],s,i,e.value,n,r,o)}function qa(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?ye(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Ry(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],l=s[a+1];Gd(r,n,c,l)}}function Yo(e,t){let n=e[Ce],r=n?n.get(wt,null):null;r&&r.handleError(t)}function Wa(e,t,n,r,o){for(let i=0;i<n.length;i+=2){let s=n[i],a=n[i+1],c=t[s],l=e.data[s];Gd(l,c,a,o)}}function Oy(e,t){let n=_e(t,e),r=n[v];Ay(r,n);let o=n[Le];o!==null&&n[Yt]===null&&(n[Yt]=xd(o,n[Ce])),za(r,n,n[W])}function Ay(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function za(e,t,n){Da(t);try{let r=e.viewQuery;r!==null&&cs(1,r,n);let o=e.template;o!==null&&Qd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ke]?.finishViewCreation(e),e.staticContentQueries&&Td(e,t),e.staticViewQueries&&cs(2,e.viewQuery,n);let i=e.components;i!==null&&Py(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,ba()}}function Py(e,t){for(let n=0;n<t.length;n++)Oy(e,t[n])}function dn(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=ja(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[gt]=l;let u=e[ke];return u!==null&&(c[ke]=u.createEmbeddedView(i)),za(i,c,n),c}finally{b(o)}}function bt(e,t){return!t||t.firstChild===null||hd(e)}var Is;function Ga(e,t){return Is(e,t)}function Ly(e){Is===void 0&&(Is=e())}var Es=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Es||{});function Qa(e){return(e.flags&32)===32}function Wt(e,t,n,r,o){if(r!=null){let i,s=!1;Fe(r)?i=r:Qe(r)&&(s=!0,r=r[Le]);let a=he(r);e===0&&n!==null?o==null?Bd(t,n,a):Dt(t,n,a,o||null,!0):e===1&&n!==null?Dt(t,n,a,o||null,!0):e===2?Ud(t,a,s):e===3&&t.destroyNode(a),i!=null&&Uy(t,e,i,n,o)}}function Fy(e,t){Yd(e,t),t[Le]=null,t[X]=null}function Vy(e,t,n,r,o,i){r[Le]=o,r[X]=t,Xo(e,r,n,1,o,i)}function Yd(e,t){t[Se].changeDetectionScheduler?.notify(10),Xo(e,t,t[S],2,null,null)}function jy(e){let t=e[Ln];if(!t)return Oi(e[v],e);for(;t;){let n=null;if(Qe(t))n=t[Ln];else{let r=t[Q];r&&(n=r)}if(!n){for(;t&&!t[ve]&&t!==e;)Qe(t)&&Oi(t[v],t),t=t[z];t===null&&(t=e),Qe(t)&&Oi(t[v],t),n=t&&t[ve]}t=n}}function Za(e,t){let n=e[Jt],r=n.indexOf(t);n.splice(r,1)}function Jo(e,t){if(on(t))return;let n=t[S];n.destroyNode&&Xo(e,t,n,3,null,null),jy(t)}function Oi(e,t){if(on(t))return;let n=b(null);try{t[E]&=-129,t[E]|=256,t[le]&&$t(t[le]),$y(e,t),Hy(e,t),t[v].type===1&&t[S].destroy();let r=t[gt];if(r!==null&&Fe(t[z])){r!==t[z]&&Za(r,t);let o=t[ke];o!==null&&o.detachView(e)}ss(t)}finally{b(n)}}function Hy(e,t){let n=e.cleanup,r=t[eo];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[eo]=null);let o=t[Ge];if(o!==null){t[Ge]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[mt];if(i!==null){t[mt]=null;for(let s of i)s.destroy()}}function $y(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 Et)){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];fe(4,a,c);try{c.call(a)}finally{fe(5,a,c)}}else{fe(4,o,i);try{i.call(o)}finally{fe(5,o,i)}}}}}function Jd(e,t,n){return Kd(e,t.parent,n)}function Kd(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Le];if(Tt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Hn.None||o===Hn.Emulated)return null}return Ee(r,n)}function Xd(e,t,n){return tf(e,t,n)}function ef(e,t,n){return e.type&40?Ee(e,n):null}var tf=ef,ws;function nf(e,t){tf=e,ws=t}function Ko(e,t,n,r){let o=Jd(e,r,t),i=t[S],s=r.parent||t[X],a=Xd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)xl(i,o,n[c],a,!1);else xl(i,o,n,a,!1);ws!==void 0&&ws(i,r,t,n,o)}function xn(e,t){if(t!==null){let n=t.type;if(n&3)return Ee(t,e);if(n&4)return Ds(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return xn(e,r);{let o=e[t.index];return Fe(o)?Ds(-1,o):he(o)}}else{if(n&128)return xn(e,t.next);if(n&32)return Ga(t,e)()||he(e[t.index]);{let r=rf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=vt(e[se]);return xn(o,r)}else return xn(e,t.next)}}}return null}function rf(e,t){if(t!==null){let r=e[se][X],o=t.projection;return r.projection[o]}return null}function Ds(e,t){let n=Q+e+1;if(n<t.length){let r=t[n],o=r[v].firstChild;if(o!==null)return xn(r,o)}return t[yt]}function Ya(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Ae(he(a),r),n.flags|=2),!Qa(n))if(c&8)Ya(e,t,n.child,r,o,i,!1),Wt(t,e,o,a,i);else if(c&32){let l=Ga(n,r),u;for(;u=l();)Wt(t,e,o,u,i);Wt(t,e,o,a,i)}else c&16?of(e,t,r,n,o,i):Wt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Xo(e,t,n,r,o,i){Ya(n,r,e.firstChild,t,o,i,!1)}function By(e,t,n){let r=t[S],o=Jd(e,n,t),i=n.parent||t[X],s=Xd(i,n,t);of(r,0,t,n,o,s)}function of(e,t,n,r,o,i){let s=n[se],c=s[X].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Wt(t,e,o,u,i)}else{let l=c,u=s[z];hd(r)&&(l.flags|=128),Ya(e,t,l,u,o,i,!0)}}function Uy(e,t,n,r,o){let i=n[yt],s=he(n);i!==s&&Wt(t,e,r,i,o);for(let a=Q;a<n.length;a++){let c=n[a];Xo(c[v],c,e,t,r,i)}}function qy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Es.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Es.Important),e.setStyle(n,r,o,i))}}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)),Fe(i)&&Wy(i,r);let s=n.type;if(s&8)go(e,t,n.child,r);else if(s&32){let a=Ga(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=rf(t,n);if(Array.isArray(a))r.push(...a);else{let c=vt(t[se]);go(c[v],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Wy(e,t){for(let n=Q;n<e.length;n++){let r=e[n],o=r[v].firstChild;o!==null&&go(r[v],r,o,t)}e[yt]!==e[Le]&&t.push(e[yt])}var sf=[];function zy(e){return e[le]??Gy(e)}function Gy(e){let t=sf.pop()??Object.create(Zy);return t.lView=e,t}function Qy(e){e.lView[le]!==e&&(e.lView=null,sf.push(e))}var Zy=ne(te({},Ue),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Jn(e.lView)},consumerOnSignalRead(){this.lView[le]=this}});function Yy(e){let t=e[le]??Object.create(Jy);return t.lView=e,t}var Jy=ne(te({},Ue),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=vt(e.lView);for(;t&&!af(t[v]);)t=vt(t);t&&ma(t)},consumerOnSignalRead(){this.lView[le]=this}});function af(e){return e.type!==2}function cf(e){if(e[mt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[mt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var Ky=100;function lf(e,t=!0,n=0){let o=e[Se].rendererFactory,i=!1;i||o.begin?.();try{Xy(e,n)}catch(s){throw t&&Yo(e,s),s}finally{i||o.end?.()}}function Xy(e,t){let n=$u();try{oo(!0),bs(e,t);let r=0;for(;jo(e);){if(r===Ky)throw new M(103,!1);r++,bs(e,1)}}finally{oo(n)}}function ev(e,t,n,r){if(on(t))return;let o=t[E],i=!1,s=!1;Da(t);let a=!0,c=null,l=null;i||(af(e)?(l=zy(t),c=ct(l)):$c()===null?(a=!1,l=Yy(t),c=ct(l)):t[le]&&($t(t[le]),t[le]=null));try{Au(t),Mg(e.bindingStartIndex),n!==null&&Qd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&$r(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Br(t,f,0,null),Ni(t,0)}if(s||tv(t),cf(t),uf(t,0),e.contentQueries!==null&&Td(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&$r(t,f)}else{let f=e.contentHooks;f!==null&&Br(t,f,1),Ni(t,1)}rv(e,t);let d=e.components;d!==null&&ff(t,d,0);let p=e.viewQuery;if(p!==null&&cs(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&$r(t,f)}else{let f=e.viewHooks;f!==null&&Br(t,f,2),Ni(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Hr]){for(let f of t[Hr])f();t[Hr]=null}i||(t[E]&=-73)}catch(u){throw i||Jn(t),u}finally{l!==null&&(Ht(l,c),a&&Qy(l)),ba()}}function uf(e,t){for(let n=yd(e);n!==null;n=vd(n))for(let r=Q;r<n.length;r++){let o=n[r];df(o,t)}}function tv(e){for(let t=yd(e);t!==null;t=vd(t)){if(!(t[E]&2))continue;let n=t[Jt];for(let r=0;r<n.length;r++){let o=n[r];ma(o)}}}function nv(e,t,n){let r=_e(t,e);df(r,n)}function df(e,t){ga(e)&&bs(e,t)}function bs(e,t){let r=e[v],o=e[E],i=e[le],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Mn(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)ev(r,e,r.template,e[W]);else if(o&8192){cf(e),uf(e,1);let a=r.components;a!==null&&ff(e,a,1)}}function ff(e,t,n){for(let r=0;r<t.length;r++)nv(e,t[r],n)}function rv(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)It(~o);else{let i=o,s=n[++r],a=n[++r];_g(s,i);let c=t[i];fe(24,c),a(2,c),fe(25,c)}}}finally{It(-1)}}function ei(e,t){let n=$u()?64:1088;for(e[Se].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=vt(e);if(ro(e)&&!r)return e;e=r}return null}function pf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function hf(e,t){let n=Q+t;if(n<e.length)return e[n]}function fn(e,t,n,r=!0){let o=t[v];if(ov(o,t,e,n),r){let s=Ds(n,e),a=t[S],c=a.parentNode(e[yt]);c!==null&&Vy(o,e[X],a,t,c,s)}let i=t[Yt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Ja(e,t){let n=$n(e,t);return n!==void 0&&Jo(n[v],n),n}function $n(e,t){if(e.length<=Q)return;let n=Q+t,r=e[n];if(r){let o=r[gt];o!==null&&o!==e&&Za(o,r),t>0&&(e[n-1][ve]=r[ve]);let i=Jr(e,Q+t);Fy(r[v],r);let s=i[ke];s!==null&&s.detachView(i[v]),r[z]=null,r[ve]=null,r[E]&=-129}return r}function ov(e,t,n,r){let o=Q+r,i=n.length;r>0&&(n[o-1][ve]=t),r<i-Q?(t[ve]=n[o],yu(n,Q+r,t)):(n.push(t),t[ve]=null),t[z]=n;let s=t[gt];s!==null&&n!==s&&gf(s,t);let a=t[ke];a!==null&&a.insertView(e),Ji(t),t[E]|=128}function gf(e,t){let n=e[Jt],r=t[z];if(Qe(r))e[E]|=2;else{let o=r[z][se];t[se]!==o&&(e[E]|=2)}n===null?e[Jt]=[t]:n.push(t)}var Mt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[v];return go(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[W]}get dirty(){return!!(this._lView[E]&9280)||!!this._lView[le]?.dirty}set context(t){this._lView[W]=t}get destroyed(){return on(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[z];if(Fe(t)){let n=t[no],r=n?n.indexOf(this):-1;r>-1&&($n(t,r),Jr(n,r))}this._attachedToViewContainer=!1}Jo(this._lView[v],this._lView)}onDestroy(t){ya(this._lView,t)}markForCheck(){ei(this._cdRefInjectingView||this._lView,4)}markForRefresh(){ma(this._cdRefInjectingView||this._lView)}detach(){this._lView[E]&=-129}reattach(){Ji(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,lf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ro(this._lView),n=this._lView[gt];n!==null&&!t&&Za(n,this._lView),Yd(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=ro(this._lView),r=this._lView[gt];r!==null&&!n&&gf(r,this._lView),Ji(this._lView)}},mo=(()=>{class e{static __NG_ELEMENT_ID__=av}return e})(),iv=mo,sv=class extends iv{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=dn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Mt(o)}};function av(){return ti(Z(),y())}function ti(e,t){return e.type&4?new sv(t,e,cn(e,t)):null}function mf(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?ef(e,t,n):he(n[o])}function yf(e,t,n,r,o){let i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(t.type&3||(a=s,s=o),s!==null&&t.componentOffset===-1)for(let c=1;c<i.length;c++){let l=n[i[c]];Dt(e,s,l,a,!1)}}}function pn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Ka(e,t,n,r,o),Cg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Fn();i.injectorIndex=s===null?-1:s.injectorIndex}return Ie(i,!0),i}function Ka(e,t,n,r,o){let i=ju(),s=va(),a=s?i:i&&i.parent,c=e.data[t]=lv(e,a,n,t,r,o);return cv(e,c,i,s),c}function cv(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 lv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Vu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function vf(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];If(r)||uv(r,t)&&dv(r)===null&&fv(r,t.index)}}function If(e){return!(e.type&64)}function uv(e,t){return If(t)||e.index>t.index}function dv(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function fv(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(nf(mf,yf),e.insertBeforeIndex=t)}function Sn(e,t){let n=e.data[t];return n===null||typeof n=="string"?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function pv(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function hv(e,t){let n=e.insertBeforeIndex;n===null?(nf(mf,yf),n=e.insertBeforeIndex=[null,t]):(xh(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function gv(e,t,n){let r=Ka(e,n,64,null,null);return vf(t,r),r}function ni(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function mv(e){return e>>>17}function yv(e){return(e&131070)>>>1}function vv(e,t,n){return e|t<<17|n<<1}function Iv(e){return e===-1}function Ef(e,t,n){e.index=0;let r=ni(t,n);r!==null?e.removes=t.remove[r]:e.removes=G}function Ms(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[v].data[n];return Ef(e,r,e.lView),Ms(e)}}else return e.stack.length===0?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),Ms(e))}function Ev(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return Ef(e,n.value,r),Ms.bind(null,e)}return t}var RN=new RegExp(`^(\\d+)*(${gm}|${hm})*(.*)`);var wv=()=>{};function Dv(e,t,n,r){wv(e,t,n,r)}var bv=()=>{};function Mv(e,t,n){bv(e,t,n)}var Cv=()=>null;function Xt(e,t){return Cv(e,t)}var Cs=class{},yo=class{},_s=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ce(t)}.`)}},en=class{static NULL=new _s},vo=class{},ON=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>_v()}return e})();function _v(){let e=y(),t=Z(),n=_e(t.index,e);return(Qe(n)?n:e)[S]}var xv=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>null})}return e})();function xs(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=Ui(o,a);else if(i==2){let c=a,l=t[++s];r=Ui(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ri(e,t=T.Default){let n=y();if(n===null)return Ze(e,t);let r=Z();return rd(r,n,K(e),t)}function Xa(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let[a,c]=Nv(e,n,s);kv(e,t,n,a,i,c)}i!==null&&r!==null&&Tv(n,r,i)}function Tv(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 Nv(e,t,n){let r=[],o=null;for(let i of n)i.findHostDirectiveDefs!==null&&(o??=new Map,i.findHostDirectiveDefs(i,r,o)),Re(i)&&(r.push(i),Sv(e,t,r.length-1));return Tt(t)?r.push(...n.slice(1)):r.push(...n),[r,o]}function Sv(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function kv(e,t,n,r,o,i){for(let l=0;l<r.length;l++)ts(co(n,t),e,r[l].type);Vv(n,e.data.length,r.length);for(let l=0;l<r.length;l++){let u=r[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=rr(e,t,r.length,null);for(let l=0;l<r.length;l++){let u=r[l];n.mergedAttrs=Kt(n.mergedAttrs,u.hostAttrs),Av(e,n,t,c,u),Fv(c,u,o),u.contentQueries!==null&&(n.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(n.flags|=64);let d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}Rv(e,n,i)}function Rv(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u<o;u++){let d=i[u],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;c=Tl(0,d.inputs,u,c,f),l=Tl(1,d.outputs,u,l,h);let g=c!==null&&s!==null&&!La(t)?Ov(c,u,s):null;a.push(g)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}function Tl(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a=i;if(o!==null){if(!o.hasOwnProperty(i))continue;a=o[i]}e===0?Nl(r,n,a,i):Nl(r,n,a,s)}return r}function Nl(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function Ov(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){let s=e[i];for(let a=0;a<s.length;a+=2)if(s[a]===t){r??=[],r.push(s[a+1],n[o+1]);break}}o+=2}return r}function Av(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=pt(o.type,!0)),s=new Et(i,Re(o),ri);e.blueprint[r]=s,n[r]=s,Pv(e,t,r,rr(e,n,o.hostVars,q),o)}function Pv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Lv(s)!=a&&s.push(a),s.push(n,r,i)}}function Lv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Fv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Re(t)&&(n[""]=e)}}function Vv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function wf(e,t,n,r,o,i,s,a){let c=t.consts,l=Oe(c,s),u=pn(t,e,2,r,l);return i&&Xa(t,n,u,Oe(c,a),o),u.mergedAttrs=Kt(u.mergedAttrs,u.attrs),u.attrs!==null&&xs(u,u.attrs,!1),u.mergedAttrs!==null&&xs(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Df(e,t){Ma(e,t),ha(t)&&e.queries.elementEnd(t)}var Io=class extends en{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Me(t);return new Ct(n,this.ngModule)}};function jv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Zo.SignalBased)!==0};return o&&(i.transform=o),i})}function Hv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function $v(e,t,n){let r=t instanceof Ne?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Qt(n,r):n}function Bv(e){let t=e.get(vo,null);if(t===null)throw new M(407,!1);let n=e.get(xv,null),r=e.get(Je,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function Uv(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Fa(t,n,n==="svg"?Ou:n==="math"?hg:null)}var Ct=class extends yo{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){return jv(this.componentDef.inputs)}get outputs(){return Hv(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=my(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){let i=b(null);try{let s=this.componentDef,a=r?["ng-version","19.1.7"]:yy(this.componentDef.selectors[0]),c=Va(0,null,null,1,0,null,null,null,null,[a],null),l=$v(s,o||this.ngModule,t),u=Bv(l),d=u.rendererFactory.createRenderer(null,s),p=r?by(d,r,s.encapsulation,l):Uv(s,d),f=ja(null,c,null,512|Wd(s),null,null,u,d,l,null,xd(p,l,!0));f[L]=p,Da(f);let h=null;try{let g=wf(L,c,f,"#host",()=>[this.componentDef],!0,0);p&&(qd(d,p,g),Ae(p,f)),Zd(c,f,g),ka(c,g,f),Df(c,g),n!==void 0&&qv(g,this.ngContentSelectors,n),h=_e(g.index,f),f[W]=h[W],za(c,f,null)}catch(g){throw h!==null&&ss(h),ss(f),g}finally{ba()}return new Ts(this.componentType,f)}finally{b(i)}}},Ts=class extends Cs{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=Yn(n[v],L),this.location=cn(this._tNode,n),this.instance=_e(this._tNode.index,n)[W],this.hostView=this.changeDetectorRef=new Mt(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Wa(i[v],i,o,t,n),this.previousInputValues.set(t,n);let s=_e(this._tNode.index,i);ei(s,1)}}get injector(){return new ft(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function qv(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 ec=(()=>{class e{static __NG_ELEMENT_ID__=Wv}return e})();function Wv(){let e=Z();return Mf(e,y())}var zv=ec,bf=class extends zv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return cn(this._hostTNode,this._hostLView)}get injector(){return new ft(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ca(this._hostTNode,this._hostLView);if(Ju(t)){let n=so(t,this._hostLView),r=io(t),o=n[v].data[r+8];return new ft(o,n)}else return new ft(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Sl(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Xt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,bt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!ug(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new Ct(Me(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?l:this.parentInjector).get(Ne,null);g&&(i=g)}let u=Me(c.componentType??{}),d=Xt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,bt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(mg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[z],l=new bf(c,c[X],c[z]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return fn(s,o,i,r),t.attachToViewContainerRef(),yu(Ai(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Sl(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=$n(this._lContainer,n);r&&(Jr(Ai(this._lContainer),n),Jo(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=$n(this._lContainer,n);return r&&Jr(Ai(this._lContainer),n)!=null?new Mt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Sl(e){return e[no]}function Ai(e){return e[no]||(e[no]=[])}function Mf(e,t){let n,r=t[e.index];return Fe(r)?n=r:(n=pf(r,t,null,e),t[e.index]=n,Ha(t,n)),Qv(n,t,e,r),new bf(n,e,t)}function Gv(e,t){let n=e[S],r=n.createComment(""),o=Ee(t,e),i=n.parentNode(o);return Dt(n,i,r,n.nextSibling(o),!1),r}var Qv=Yv,Zv=()=>!1;function Cf(e,t,n){return Zv(e,t,n)}function Yv(e,t,n,r){if(e[yt])return;let o;n.type&8?o=he(r):o=Gv(t,n),e[yt]=o}var Ns=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ss=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++)nc(t,n).matches!==null&&this.queries[n].setDirty()}},Eo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=nI(t):this.predicate=t}},ks=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)}},Rs=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,Jv(n,i)),this.matchTNodeWithReadOption(t,n,Ur(n,t,i,!1,!1))}else r===mo?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ur(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Uo||o===ec||o===mo&&n.type&4)this.addMatch(n.index,-2);else{let i=Ur(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 Jv(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 Kv(e,t){return e.type&11?cn(e,t):e.type&4?ti(e,t):null}function Xv(e,t,n,r){return n===-1?Kv(t,e):n===-2?eI(e,t,r):Vn(e,e[v],n,t)}function eI(e,t,n){if(n===Uo)return cn(t,e);if(n===mo)return ti(t,e);if(n===ec)return Mf(t,e)}function _f(e,t,n,r){let o=t[ke].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 l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(Xv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Os(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=_f(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 l=i[a+1],u=t[-c];for(let d=Q;d<u.length;d++){let p=u[d];p[gt]===p[z]&&Os(p[v],p,l,r)}if(u[Jt]!==null){let d=u[Jt];for(let p=0;p<d.length;p++){let f=d[p];Os(f[v],f,l,r)}}}}}return r}function tc(e,t){return e[ke].queries[t].queryList}function xf(e,t,n){let r=new is((n&4)===4);return vg(e,t,r,r.destroy),(t[ke]??=new Ss).queries.push(new Ns(r))-1}function tI(e,t,n){let r=O();return r.firstCreatePass&&(Nf(r,new Eo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),xf(r,y(),t)}function Tf(e,t,n,r){let o=O();if(o.firstCreatePass){let i=Z();Nf(o,new Eo(t,n,r),i.index),rI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return xf(o,y(),n)}function nI(e){return e.split(",").map(t=>t.trim())}function Nf(e,t,n){e.queries===null&&(e.queries=new ks),e.queries.track(new Rs(t,n))}function rI(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 nc(e,t){return e.queries.getByIndex(t)}function Sf(e,t){let n=e[v],r=nc(n,t);return r.crossesNgTemplate?Os(n,e,t,[]):_f(n,e,r,t)}function rc(e,t,n){let r,o=bi(()=>{r._dirtyCounter();let i=iI(r,e);if(t&&i===void 0)throw new M(-951,!1);return i});return r=o[$],r._dirtyCounter=fd(0),r._flatValue=void 0,o}function kf(e){return rc(!0,!1,e)}function Rf(e){return rc(!0,!0,e)}function oI(e){return rc(!1,!1,e)}function Of(e,t){let n=e[$];n._lView=y(),n._queryIndex=t,n._queryList=tc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function iI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:G;let o=tc(n,r),i=Sf(n,r);return o.reset(i,dd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function kl(e,t){return kf(t)}function sI(e,t){return Rf(t)}var PN=(kl.required=sI,kl);function Rl(e,t){return kf(t)}function aI(e,t){return Rf(t)}var LN=(Rl.required=aI,Rl);function FN(e,t){return oI(t)}function Af(e,t){let n=Object.create(ou),r=new po;n.value=e;function o(){return jt(n),Ol(n.value),n.value}return o[$]=n,o.asReadonly=qo.bind(o),o.set=i=>{n.equal(n.value,i)||(Bt(n,i),r.emit(i))},o.update=i=>{Ol(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Ol(e){if(e===So)throw new M(952,!1)}function Al(e,t){return Af(e,t)}function cI(e){return Af(So,e)}var VN=(Al.required=cI,Al);var _t=class{},As=class{};function jN(e,t){return new wo(e,t??null,[])}var wo=class extends _t{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Io(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Eu(t);this._bootstrapComponents=Ld(i.bootstrap),this._r3Injector=sd(t,n,[{provide:_t,useValue:this},{provide:en,useValue:this.componentFactoryResolver},...r],ce(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)}},Ps=class extends As{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new wo(this.moduleType,t,[])}};var Do=class extends _t{injector;componentFactoryResolver=new Io(this);instance=null;constructor(t){super();let n=new Pn([...t.providers,{provide:_t,useValue:this},{provide:en,useValue:this.componentFactoryResolver}],t.parent||Ao(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Pf(e,t,n=null){return new Do({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var lI=(()=>{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=da(!1,n.type),o=r.length>0?Pf([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=U({token:e,providedIn:"environment",factory:()=>new e(Ze(Ne))})}return e})();function HN(e){return Qn(()=>{let t=Lf(e),n=ne(te({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===gd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(lI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Hn.Emulated,styles:e.styles||G,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&De("NgStandalone"),Ff(n);let r=e.dependencies;return n.directiveDefs=Pl(r,!1),n.pipeDefs=Pl(r,!0),n.id=hI(n),n})}function uI(e){return Me(e)||la(e)}function dI(e){return e!==null}function $N(e){return Qn(()=>({type:e.type,bootstrap:e.bootstrap||G,declarations:e.declarations||G,imports:e.imports||G,exports:e.exports||G,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function fI(e,t){if(e==null)return ht;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=Zo.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function pI(e){if(e==null)return ht;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function BN(e){return Qn(()=>{let t=Lf(e);return Ff(t),t})}function UN(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 Lf(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||ht,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||G,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:fI(e.inputs,t),outputs:pI(e.outputs),debugInfo:null}}function Ff(e){e.features?.forEach(t=>t(e))}function Pl(e,t){if(!e)return null;let n=t?ua:uI;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(dI)}function hI(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 gI(e){return Object.getPrototypeOf(e.prototype).constructor}function mI(e){let t=gI(e.type),n=!0,r=[e];for(;t;){let o;if(Re(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=Pi(e.inputs),s.declaredInputs=Pi(e.declaredInputs),s.outputs=Pi(e.outputs);let a=o.hostBindings;a&&wI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&II(e,c),l&&EI(e,l),yI(e,o),Ch(e.outputs,o.outputs),Re(o)&&o.data.animation){let u=e.data;u.animation=(u.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===mI&&(n=!1)}}t=Object.getPrototypeOf(t)}vI(r)}function yI(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 vI(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=Kt(o.hostAttrs,n=Kt(n,o.hostAttrs))}}function Pi(e){return e===ht?{}:e===G?[]:e}function II(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function EI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function wI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Vf(e){return oc(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function DI(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 oc(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function oi(e,t,n){return e[t]=n}function bI(e,t){return e[t]}function ae(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Bn(e,t,n,r){let o=ae(e,t,n);return ae(e,t+1,r)||o}function MI(e,t,n,r,o){let i=Bn(e,t,n,r);return ae(e,t+2,o)||i}function CI(e,t,n,r,o,i){let s=Bn(e,t,n,r);return Bn(e,t+2,o,i)||s}function _I(e,t,n,r,o,i,s,a,c){let l=t.consts,u=pn(t,e,4,s||null,a||null);Ho()&&Xa(t,n,u,Oe(l,c),Ua),u.mergedAttrs=Kt(u.mergedAttrs,u.attrs),Ma(t,u);let d=u.tView=Va(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function Un(e,t,n,r,o,i,s,a,c,l){let u=n+L,d=t.firstCreatePass?_I(u,t,e,r,o,i,s,a,c):t.data[u];Ie(d,!1);let p=TI(t,e,d,n);Kn()&&Ko(t,e,p,d),Ae(p,e);let f=pf(p,e,p,d);return e[u]=f,Ha(e,f),Cf(f,d,e),Lo(d)&&$a(t,e,d),c!=null&&Ba(e,d,l),d}function xI(e,t,n,r,o,i,s,a){let c=y(),l=O(),u=Oe(l.consts,i);return Un(c,l,e,t,n,r,o,u,s,a),xI}var TI=NI;function NI(e,t,n,r){return Xn(!0),t[S].createComment("")}var SI=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Pf(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=U({token:e,providedIn:"environment",factory:()=>new e})}return e})();var kI=new R("");function Li(e,t,n){return e.get(SI).getOrCreateInjector(t,e,n,"")}function RI(e,t,n){if(e instanceof Qt){let o=e.injector,i=e.parentInjector,s=Li(i,t,n);return new Qt(o,s)}let r=e.get(Ne);if(r!==e){let o=Li(r,t,n);return new Qt(e,o)}return Li(e,t,n)}function dt(e,t,n,r=!1){let o=n[z],i=o[v];if(on(o))return;let s=er(o,t),a=s[Wo],c=s[Cm];if(!(c!==null&&e<c)&&Ll(a,e)&&Ll(s[wm]??-1,e)){let l=tr(i,t),d=!r&&!0&&(km(l)!==null||El(l,j.Loading)!==null||El(l,j.Placeholder))?LI:AI;try{d(e,s,n,t,o)}catch(p){Yo(o,p)}}}function OI(e,t){return e[to]?.find(n=>n.data[Ed]===t[Wo])??null}function AI(e,t,n,r,o){let i=Sm(e,o,r);if(i!==null){t[Wo]=e;let s=o[v],a=i+L,c=Yn(s,a),l=0;Ja(n,l);let u;if(e===j.Complete){let f=tr(s,r),h=f.providers;h&&h.length>0&&(u=RI(o[Ce],f,h))}let d=OI(n,t);n[to]=null;let p=dn(o,c,null,{injector:u,dehydratedView:d});if(fn(n,p,l,bt(c,d)),ei(p,2),(e===j.Complete||e===j.Error)&&Array.isArray(t[Ri])){for(let f of t[Ri])f();t[Ri]=null}}}function Ll(e,t){return e<t}function PI(e,t){let n=e[t.index];dt(j.Placeholder,t,n)}function Fl(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ie.COMPLETE?dt(j.Complete,t,n):e.loadingState===ie.FAILED&&dt(j.Error,t,n)})}var LI=null;var qN=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var FI=new R("");function jf(e){return!!e&&typeof e.then=="function"}function VI(e){return!!e&&typeof e.subscribe=="function"}var jI=new R("");var Hf=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=x(jI,{optional:!0})??[];injector=x(Ye);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Cu(this.injector,o);if(jf(i))n.push(i);else if(VI(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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),$f=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>new bo})}return e})(),bo=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}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)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},HI=new R("");function $I(){Yc(()=>{throw new M(600,!1)})}function BI(e){return e.isBoundToModule}var UI=10;var qn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=x(rm);afterRenderManager=x(Im);zonelessEnabled=x(_a);rootEffectScheduler=x($f);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new de;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=x(St).hasPendingTasks.pipe($e(n=>!n));constructor(){x(bd,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=x(Ne);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof yo;if(!this._injector.get(Hf).done){let p=!o&&Jh(n),f=!1;throw new M(405,f)}let s;o?s=n:s=this._injector.get(en).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=BI(s)?void 0:this._injector.get(_t),c=r||s.selector,l=s.create(Ye.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(FI,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),Wr(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(Dd.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new M(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,b(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(vo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<UI;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)qI(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>jo(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;Wr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(HI,[]).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),()=>Wr(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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function qI(e,t,n,r){if(!n&&!jo(e))return;lf(e,t,n&&!r?0:1)}function WI(e,t,n){let r=t[Ce],o=t[v];if(e.loadingState!==ie.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=er(t,n),s=Rm(o,e);e.loadingState=ie.IN_PROGRESS,qr(1,i);let a=e.dependencyResolverFn,c=r.get(St),l=c.add();return a?(e.loadingPromise=Promise.allSettled(a()).then(u=>{let d=!1,p=[],f=[];for(let h of u)if(h.status==="fulfilled"){let g=h.value,I=Me(g)||la(g);if(I)p.push(I);else{let m=ua(g);m&&f.push(m)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(l),d){if(e.loadingState=ie.FAILED,e.errorTmplIndex===null){let h="",g=new M(-750,!1);Yo(t,g)}}else{e.loadingState=ie.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=wl(h.directiveRegistry,p);let g=p.map(m=>m.type),I=da(!1,...g);e.providers=I}f.length>0&&(h.pipeRegistry=wl(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ie.COMPLETE,c.remove(l)}),e.loadingPromise)}function zI(e,t){return t[Ce].get(kI,null,{optional:!0})?.behavior!==Md.Manual}function GI(e,t,n){let r=t[v],o=t[n.index];if(!zI(e,t))return;let i=er(t,n),s=tr(r,n);switch(Cd(i),s.loadingState){case ie.NOT_STARTED:dt(j.Loading,n,o),WI(s,t,n),s.loadingState===ie.IN_PROGRESS&&Fl(s,n,o);break;case ie.IN_PROGRESS:dt(j.Loading,n,o),Fl(s,n,o);break;case ie.COMPLETE:dt(j.Complete,n,o);break;case ie.FAILED:dt(j.Error,n,o);break;default:}}function QI(e,t,n){return e===0?Vl(t,n):e===2?!Vl(t,n):!0}function Vl(e,t){let n=e[Ce],r=tr(e[v],t),o=Pm(n),i=r.flags!==null&&(r.flags&1)===1,a=er(e,t)[Mm]!==null;return!(i&&a&&o)}function WN(e,t,n,r,o,i,s,a,c,l){let u=y(),d=O(),p=e+L,f=Un(u,d,e,null,0,0),h=u[Ce];if(d.firstCreatePass){De("NgDefer");let ue={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ie.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,ue,a,s),Nm(d,p,ue)}let g=u[p];Cf(g,f,u);let I=null,m=null;if(g[to]?.length>0){let ue=g[to][0].data;m=ue[mm]??null,I=ue[Ed]}let k=[null,ho.Initial,null,null,null,null,m,I,null,null];Tm(u,p,k);let Y=null;m!==null&&(Y=h.get(Om),Y.add(m,{lView:u,tNode:f,lContainer:g}));let ee=()=>{Cd(k),m!==null&&Y?.cleanup([m])};xm(0,k,()=>Pu(u,ee)),ya(u,ee)}function zN(e){let t=y(),n=Nt();if(!QI(0,t,n))return;let r=Ke();if(ae(t,r,e)){let o=b(null);try{let i=!!e,a=er(t,n)[Wo];i===!1&&a===ho.Initial?PI(t,n):i===!0&&(a===ho.Initial||a===j.Placeholder)&&GI(0,t,n)}finally{b(o)}}}function ZI(e,t,n,r){let o=y(),i=Ke();if(ae(o,i,t)){let s=O(),a=Nt();ky(a,o,e,t,n,r)}return ZI}function Bf(e,t,n,r){return ae(e,Ke(),n)?t+ye(n)+r:q}function Uf(e,t,n,r,o,i){let s=Ea(),a=Bn(e,s,n,o);return $o(2),a?t+ye(n)+r+ye(o)+i:q}function qf(e,t,n,r,o,i,s,a){let c=Ea(),l=MI(e,c,n,o,s);return $o(3),l?t+ye(n)+r+ye(o)+i+ye(s)+a:q}function Vr(e,t){return e<<17|t<<2}function xt(e){return e>>17&32767}function YI(e){return(e&2)==2}function JI(e,t){return e&131071|t<<17}function Ls(e){return e|2}function tn(e){return(e&131068)>>2}function Fi(e,t){return e&-131069|t<<2}function KI(e){return(e&1)===1}function Fs(e){return e|1}function XI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=xt(s),c=tn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Zn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=xt(e[a+1]);e[r+1]=Vr(p,a),p!==0&&(e[p+1]=Fi(e[p+1],r)),e[a+1]=JI(e[a+1],r)}else e[r+1]=Vr(a,0),a!==0&&(e[a+1]=Fi(e[a+1],r)),a=r;else e[r+1]=Vr(c,0),a===0?a=r:e[c+1]=Fi(e[c+1],r),c=r;l&&(e[r+1]=Ls(e[r+1])),jl(e,u,r,!0),jl(e,u,r,!1),eE(t,u,e,r,i),s=Vr(a,c),i?t.classBindings=s:t.styleBindings=s}function eE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Zn(i,t)>=0&&(n[r+1]=Fs(n[r+1]))}function jl(e,t,n,r){let o=e[n+1],i=t===null,s=r?xt(o):tn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];tE(c,t)&&(a=!0,e[s+1]=r?Fs(l):Ls(l)),s=r?xt(l):tn(l)}a&&(e[n+1]=r?Ls(o):Fs(o))}function tE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Zn(e,t)>=0:!1}var B={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Wf(e){return e.substring(B.key,B.keyEnd)}function nE(e){return e.substring(B.value,B.valueEnd)}function rE(e){return Qf(e),zf(e,nn(e,0,B.textEnd))}function zf(e,t){let n=B.textEnd;return n===t?-1:(t=B.keyEnd=iE(e,B.key=t,n),nn(e,t,n))}function oE(e){return Qf(e),Gf(e,nn(e,0,B.textEnd))}function Gf(e,t){let n=B.textEnd,r=B.key=nn(e,t,n);return n===r?-1:(r=B.keyEnd=sE(e,r,n),r=Hl(e,r,n,58),r=B.value=nn(e,r,n),r=B.valueEnd=aE(e,r,n),Hl(e,r,n,59))}function Qf(e){B.key=0,B.keyEnd=0,B.value=0,B.valueEnd=0,B.textEnd=e.length}function nn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function iE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function sE(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Hl(e,t,n,r){return t=nn(e,t,n),t<n&&t++,t}function aE(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=$l(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=$l(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function $l(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function cE(e,t,n){let r=y(),o=Ke();if(ae(r,o,t)){let i=O(),s=Nt();un(i,s,r,e,t,r[S],n,!1)}return cE}function Vs(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Wa(e,n,i[s],s,r)}function lE(e,t,n){return Zf(e,t,n,!1),lE}function uE(e,t){return Zf(e,t,null,!0),uE}function GN(e){Yf(Xf,dE,e,!1)}function dE(e,t){for(let n=oE(t);n>=0;n=Gf(t,n))Xf(e,Wf(t),nE(t))}function QN(e){Yf(vE,fE,e,!0)}function fE(e,t){for(let n=rE(t);n>=0;n=zf(t,n))Oo(e,Wf(t),!0)}function Zf(e,t,n,r){let o=y(),i=O(),s=$o(2);if(i.firstUpdatePass&&Kf(i,e,s,r),t!==q&&ae(o,s,t)){let a=i.data[we()];ep(i,a,o,o[S],e,o[s+1]=EE(t,n),r,s)}}function Yf(e,t,n,r){let o=O(),i=$o(2);o.firstUpdatePass&&Kf(o,null,i,r);let s=y();if(n!==q&&ae(s,i,n)){let a=o.data[we()];if(tp(a,r)&&!Jf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ui(c,n||"")),Vs(o,a,s,n,r)}else IE(o,a,s,s[S],s[i+1],s[i+1]=yE(e,t,n),r,i)}}function Jf(e,t){return t>=e.expandoStartIndex}function Kf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[we()],s=Jf(e,n);tp(i,r)&&t===null&&!s&&(t=!1),t=pE(o,i,t,r),XI(o,i,t,n,s,r)}}function pE(e,t,n,r){let o=Tg(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Vi(null,e,t,n,r),n=Wn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Vi(o,e,t,n,r),i===null){let c=hE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Vi(null,e,t,c[1],r),c=Wn(c,t.attrs,r),gE(e,t,r,c))}else i=mE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function hE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(tn(r)!==0)return e[xt(r)]}function gE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[xt(o)]=r}function mE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Wn(r,s,n)}return Wn(r,t.attrs,n)}function Vi(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Wn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Wn(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]),Oo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function yE(e,t,n){if(n==null||n==="")return G;let r=[],o=ln(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 Xf(e,t,n){Oo(e,t,ln(n))}function vE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Oo(e,r,n)}function IE(e,t,n,r,o,i,s,a){o===q&&(o=G);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&ep(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function ep(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=KI(l)?Bl(c,t,n,o,tn(l),s):void 0;if(!Mo(u)){Mo(i)||YI(l)&&(i=Bl(c,null,n,o,a,s));let d=Fo(we(),n);qy(r,s,d,o,i)}}function Bl(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===q&&(p=d?G:void 0);let f=d?xi(p,r):u===r?p:void 0;if(l&&!Mo(f)&&(f=xi(c,r)),Mo(f)&&(a=f,s))return a;let h=e[o+1];o=s?xt(h):tn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=xi(c,r))}return a}function Mo(e){return e!==void 0}function EE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ce(ln(e)))),e}function tp(e,t){return(e.flags&(t?8:16))!==0}var js=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))}};function ji(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function wE(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 l=e.at(i),u=t[i],d=ji(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=ji(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),I=n(s,p),m=n(i,u);if(Object.is(m,I)){let k=n(c,f);Object.is(k,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Co,o??=ql(e,i,s,n),Hs(e,r,i,m))e.updateValue(i,u),i++,s++;else if(o.has(m))r.set(g,e.detach(i)),s--;else{let k=e.create(i,t[i]);e.attach(i,k),i++,s++}}for(;i<=c;)Ul(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=ji(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Co,o??=ql(e,i,s,n);let f=n(i,d);if(Hs(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Ul(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Hs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Ul(e,t,n,r,o){if(Hs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ql(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 Co=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 ZN(e,t){De("NgControlFlow");let n=y(),r=Ke(),o=n[r]!==q?n[r]:-1,i=o!==-1?_o(n,L+o):void 0,s=0;if(ae(n,r,e)){let a=b(null);try{if(i!==void 0&&Ja(i,s),e!==-1){let c=L+e,l=_o(n,c),u=qs(n[v],c),d=Xt(l,u.tView.ssrId),p=dn(n,u,t,{dehydratedView:d});fn(l,p,s,bt(u,d))}}finally{b(a)}}else if(i!==void 0){let a=hf(i,s);a!==void 0&&(a[W]=t)}}var $s=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Q}};function YN(e){return e}var Bs=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function JN(e,t,n,r,o,i,s,a,c,l,u,d,p){De("NgControlFlow");let f=y(),h=O(),g=c!==void 0,I=y(),m=a?s.bind(I[se][W]):s,k=new Bs(g,m);I[L+e]=k,Un(f,h,e+1,t,n,r,o,Oe(h.consts,i)),g&&Un(f,h,e+2,c,l,u,d,Oe(h.consts,p))}var Us=class extends js{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-Q}at(t){return this.getLView(t)[W].$implicit}attach(t,n){let r=n[Yt];this.needsIndexUpdate||=t!==this.length,fn(this.lContainer,n,t,bt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,DE(this.lContainer,t)}create(t,n){let r=Xt(this.lContainer,this.templateTNode.tView.ssrId),o=dn(this.hostLView,this.templateTNode,new $s(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Jo(t[v],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[W].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[W].$index=t}getLView(t){return bE(this.lContainer,t)}};function KN(e){let t=b(null),n=we();try{let r=y(),o=r[v],i=r[n],s=n+1,a=_o(r,s);if(i.liveCollection===void 0){let l=qs(o,s);i.liveCollection=new Us(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(wE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ke(),u=c.length===0;if(ae(r,l,u)){let d=n+2,p=_o(r,d);if(u){let f=qs(o,d),h=Xt(p,f.tView.ssrId),g=dn(r,f,void 0,{dehydratedView:h});fn(p,g,0,bt(f,h))}else Ja(p,0)}}}finally{b(t)}}function _o(e,t){return e[t]}function DE(e,t){return $n(e,t)}function bE(e,t){return hf(e,t)}function qs(e,t){return Yn(e,t)}function np(e,t,n,r){let o=y(),i=O(),s=L+e,a=o[S],c=i.firstCreatePass?wf(s,i,o,t,Ua,Ho(),n,r):i.data[s],l=CE(i,o,c,a,t,e);o[s]=l;let u=Lo(c);return Ie(c,!0),qd(a,l,c),!Qa(c)&&Kn()&&Ko(i,o,l,c),Ig()===0&&Ae(l,o),Eg(),u&&($a(i,o,c),ka(i,c,o)),r!==null&&Ba(o,c),np}function rp(){let e=Z();va()?Ia():(e=e.parent,Ie(e,!1));let t=e;Dg(t)&&bg(),wg();let n=O();return n.firstCreatePass&&Df(n,t),t.classesWithoutHost!=null&&Pg(t)&&Vs(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Lg(t)&&Vs(n,t,y(),t.stylesWithoutHost,!1),rp}function ME(e,t,n,r){return np(e,t,n,r),rp(),ME}var CE=(e,t,n,r,o,i)=>(Xn(!0),Fa(r,o,kg()));function _E(e,t,n,r,o){let i=t.consts,s=Oe(i,r),a=pn(t,e,8,"ng-container",s);s!==null&&xs(a,s,!0);let c=Oe(i,o);return Ho()&&Xa(t,n,a,c,Ua),a.mergedAttrs=Kt(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function op(e,t,n){let r=y(),o=O(),i=e+L,s=o.firstCreatePass?_E(i,o,r,t,n):o.data[i];Ie(s,!0);let a=TE(o,r,s,e);return r[i]=a,Kn()&&Ko(o,r,a,s),Ae(a,r),Lo(s)&&($a(o,r,s),ka(o,s,r)),n!=null&&Ba(r,s),op}function ip(){let e=Z(),t=O();return va()?Ia():(e=e.parent,Ie(e,!1)),t.firstCreatePass&&(Ma(t,e),ha(e)&&t.queries.elementEnd(e)),ip}function xE(e,t,n){return op(e,t,n),ip(),xE}var TE=(e,t,n,r)=>(Xn(!0),$d(t[S],""));function XN(){return y()}var lt=void 0;function NE(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var SE=["en",[["a","p"],["AM","PM"],lt],[["AM","PM"],lt,lt],[["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"]],lt,[["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"]],lt,[["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}",lt,"{1} 'at' {0}",lt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",NE],kn={};function eS(e,t,n){typeof t!="string"&&(n=t,t=e[zn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),kn[t]=e,n&&(kn[t][zn.ExtraData]=n)}function sp(e){let t=RE(e),n=Wl(t);if(n)return n;let r=t.split("-")[0];if(n=Wl(r),n)return n;if(r==="en")return SE;throw new M(701,!1)}function tS(e){return sp(e)[zn.CurrencyCode]||null}function kE(e){return sp(e)[zn.PluralCase]}function Wl(e){return e in kn||(kn[e]=We.ng&&We.ng.common&&We.ng.common.locales&&We.ng.common.locales[e]),kn[e]}var zn=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}(zn||{});function RE(e){return e.toLowerCase().replace(/_/g,"-")}var OE=["zero","one","two","few","many"];function AE(e,t){let n=kE(t)(parseInt(e,10)),r=OE[n];return r!==void 0?r:"other"}var xo="en-US",PE="USD",ap={marker:"element"},cp={marker:"ICU"},Te=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Te||{}),lp=xo;function LE(e){typeof e=="string"&&(lp=e.toLowerCase().replace(/_/g,"-"))}function FE(){return lp}var Gn=0,Rn=0;function VE(e){e&&(Gn=Gn|1<<Math.min(Rn,31)),Rn++}function jE(e,t,n){if(Rn>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=Ea()-Rn-1;dp(e,t,o,i,Gn)}Gn=0,Rn=0}function HE(e,t,n){let r=e[S];switch(n){case Node.COMMENT_NODE:return $d(r,t);case Node.TEXT_NODE:return jd(r,t);case Node.ELEMENT_NODE:return Fa(r,t,null)}}var zr=(e,t,n,r)=>(Xn(!0),HE(e,n,r));function $E(e,t,n,r){let o=e[S];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s&Te.COMMENT)===Te.COMMENT,l=(s&Te.APPEND_EAGERLY)===Te.APPEND_EAGERLY,u=s>>>Te.SHIFT,d=e[u],p=!1;d===null&&(d=e[u]=zr(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=Kn()),l&&n!==null&&p&&Dt(o,n,d,r,!1)}}function up(e,t,n,r){let o=n[S],i=null,s;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="string"){let l=t[++a];n[l]===null&&(n[l]=zr(n,l,c,Node.TEXT_NODE))}else if(typeof c=="number")switch(c&1){case 0:let l=mv(c);i===null&&(i=l,s=o.parentNode(r));let u,d;if(l===i?(u=r,d=s):(u=null,d=he(n[l])),d!==null){let g=yv(c),I=n[g];Dt(o,d,I,u,!1);let m=Sn(e,g);if(m!==null&&typeof m=="object"){let k=ni(m,n);k!==null&&up(e,m.create[k],n,n[m.anchorIdx])}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];qa(o,Fo(p,n),null,null,f,h,null);break;default:}else switch(c){case cp:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=zr(n,u,l,Node.COMMENT_NODE);Ae(f,n)}break;case ap:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=zr(n,p,d,Node.ELEMENT_NODE);Ae(f,n)}break;default:}}}function dp(e,t,n,r,o){for(let i=0;i<n.length;i++){let s=n[i],a=n[++i];if(s&o){let c="";for(let l=i+1;l<=i+a;l++){let u=n[l];if(typeof u=="string")c+=u;else if(typeof u=="number")if(u<0)c+=ye(t[r-u]);else{let d=u>>>2;switch(u&3){case 1:let p=n[++l],f=n[++l],h=e.data[d];typeof h=="string"?qa(t[S],t[d],null,h,p,c,f):un(e,h,t,p,c,t[S],f,!1);break;case 0:let g=t[d];g!==null&&Hd(t[S],g,c);break;case 2:BE(e,Sn(e,d),t,c);break;case 3:zl(e,Sn(e,d),r,t);break}}}}else{let c=n[i+1];if(c>0&&(c&3)===3){let l=c>>>2,u=Sn(e,l);t[u.currentCaseLViewIndex]<0&&zl(e,u,r,t)}}i+=a}}function zl(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=Gn;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),dp(e,r,t.update[o],n,i)}}function BE(e,t,n,r){let o=UE(t,r);if(ni(t,n)!==o&&(fp(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&up(e,t.create[o],n,s),Mv(n,t.anchorIdx,o)}}function fp(e,t,n){let r=ni(t,n);if(r!==null){let o=t.remove[r];for(let i=0;i<o.length;i++){let s=o[i];if(s>0){let a=Fo(s,n);a!==null&&Ud(n[S],a)}else fp(e,Sn(e,~s),n)}}}function UE(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=AE(t,FE());n=e.cases.indexOf(r),n===-1&&r!=="other"&&(n=e.cases.indexOf("other"));break}case 0:{n=e.cases.indexOf("other");break}}return n===-1?null:n}var To=/�(\d+):?\d*�/gi;var qE=/�(\d+)�/,pp=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,On="\uFFFD",WE=/�\/?\*(\d+:\d+)�/gi,zE=/�(\/?[#*]\d+):?\d*�/gi,GE=/\uE500/g;function QE(e){return e.replace(GE," ")}function ZE(e,t,n,r,o,i){let s=Fn(),a=[],c=[],l=[[]],u=[[]];o=JE(o,i);let d=QE(o).split(zE);for(let p=0;p<d.length;p++){let f=d[p];if(p&1){let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),I=L+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),Ie(Fn(),!1);else{let m=gv(e,l[0],I);l.unshift([]),Ie(m,!0);let k={kind:2,index:I,children:[],type:g===35?0:1};u[0].push(k),u.unshift(k.children)}}else{let h=Ws(f);for(let g=0;g<h.length;g++){let I=h[g];if(g&1){let m=I;if(typeof m!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let Y=hp(e,s,l[0],n,a,"",!0).index;mp(u[0],e,n,c,t,m,Y)}else{let m=I;m!==""&&YE(u[0],e,s,l[0],a,c,n,m)}}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function hp(e,t,n,r,o,i,s){let a=rr(e,r,1,null),c=a<<Te.SHIFT,l=Fn();t===l&&(l=null),l===null&&(c|=Te.APPEND_EAGERLY),s&&(c|=Te.COMMENT,Ly(Ev)),o.push(c,i===null?"":i);let u=Ka(e,a,s?32:1,i===null?"":i,null);vf(n,u);let d=u.index;return Ie(u,!1),l!==null&&t!==l&&hv(l,d),u}function YE(e,t,n,r,o,i,s,a){let c=a.match(To),u=hp(t,n,r,s,o,c?null:a,!1).index;c&&Gr(i,a,u,null,0,null),e.push({kind:0,index:u})}function Gr(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(To),u=0;for(let d=0;d<l.length;d++){let p=l[d];if(d&1){let f=o+parseInt(p,10);e.push(-1-f),u=u|gp(f)}else p!==""&&e.push(p)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=u,e[a]=e.length-c,u}function gp(e){return 1<<Math.min(e,31)}function Gl(e){let t,n="",r=0,o=!1,i;for(;(t=WE.exec(e))!==null;)o?t[0]===`${On}/*${i}${On}`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],o=!0);return n+=e.slice(r),n}function JE(e,t){if(Iv(t))return Gl(e);{let n=e.indexOf(`:${t}${On}`)+2+t.toString().length,r=e.search(new RegExp(`${On}\\/\\*\\d+:${t}${On}`));return Gl(e.substring(n,r))}}function mp(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:rr(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};tw(r,i,s),pv(t,s,c);let l=i.values,u=[];for(let d=0;d<l.length;d++){let p=l[d],f=[];for(let g=0;g<p.length;g++){let I=p[g];if(typeof I!="string"){let m=f.push(I)-1;p[g]=`<!--\uFFFD${m}\uFFFD-->`}}let h=[];u.push(h),a=XE(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a}a&&nw(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function KE(e){let t=[],n=[],r=1,o=0;e=e.replace(pp,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=Ws(e);for(let s=0;s<i.length;){let a=i[s++].trim();r===1&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&t.push(a);let c=Ws(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function Ws(e){if(!e)return[];let t=0,n=[],r=[],o=/[{}]/g;o.lastIndex=0;let i;for(;i=o.exec(e);){let a=i.index;if(i[0]=="}"){if(n.pop(),n.length==0){let c=e.substring(t,a);pp.test(c)?r.push(KE(c)):r.push(c),t=a+1}}else{if(n.length==0){let c=e.substring(t,a);r.push(c),t=a+1}n.push("{")}}let s=e.substring(t);return r.push(s),r}function XE(e,t,n,r,o,i,s,a,c){let l=[],u=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(u),n.update.push(d);let f=Sd(Sa()).getInertBodyElement(a),h=vs(f)||f;return h?yp(e,t,n,r,o,l,u,d,h,i,c,0):0}function yp(e,t,n,r,o,i,s,a,c,l,u,d){let p=0,f=c.firstChild;for(;f;){let h=rr(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,I=g.tagName.toLowerCase();if(ms.hasOwnProperty(I)){Hi(i,ap,I,l,h),t.data[h]=I;let ee=g.attributes;for(let kt=0;kt<ee.length;kt++){let Xe=ee.item(kt),cc=Xe.name.toLowerCase();!!Xe.value.match(To)?Ad.hasOwnProperty(cc)&&(Aa[cc]?Gr(a,Xe.value,h,Xe.name,0,Oa):Gr(a,Xe.value,h,Xe.name,0,null)):rw(i,h,Xe)}let ue={kind:1,index:h,children:[]};e.push(ue),p=yp(ue.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,Ql(s,h,d)}break;case Node.TEXT_NODE:let m=f.textContent||"",k=m.match(To);Hi(i,null,k?"":m,l,h),Ql(s,h,d),k&&(p=Gr(a,m,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let Y=qE.exec(f.textContent||"");if(Y){let ee=parseInt(Y[1],10),ue=u[ee];Hi(i,cp,"",l,h),mp(e,t,r,o,l,ue,h),ew(s,h,d)}break}f=f.nextSibling}return p}function Ql(e,t,n){n===0&&e.push(t)}function ew(e,t,n){n===0&&(e.push(~t),e.push(t))}function tw(e,t,n){e.push(gp(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function nw(e,t,n){e.push(t,1,n<<2|3)}function Hi(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,vv(0,r,o))}function rw(e,t,n){e.push(t<<1|1,n.name,n.value)}var Zl=0,ow=/\[(�.+?�?)\]/,iw=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,sw=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,aw=/{([A-Z0-9_]+)}/g,cw=/�I18N_EXP_(ICU(_\d+)?)�/g,lw=/\/\*/,uw=/\d+\:(\d+)/;function dw(e,t={}){let n=e;if(ow.test(e)){let r={},o=[Zl];n=n.replace(iw,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let I=g.match(uw),m=I?parseInt(I[1],10):Zl,k=lw.test(g);l.push([m,k,g])}),r[c]=l),!l.length)throw new Error(`i18n postprocess: unmatched placeholder - ${c}`);let u=o[o.length-1],d=0;for(let g=0;g<l.length;g++)if(l[g][0]===u){d=g;break}let[p,f,h]=l[d];return f?o.pop():u!==p&&o.push(p),l.splice(d,1),h})}return Object.keys(t).length&&(n=n.replace(sw,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace(aw,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(cw,(r,o)=>{if(t.hasOwnProperty(o)){let i=t[o];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return i.shift()}return r})),n}function fw(e,t,n=-1){let r=O(),o=y(),i=L+e,s=Oe(r.consts,t),a=Fn();if(r.firstCreatePass&&ZE(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[se];p[E]|=32}else o[E]|=32;let c=r.data[i],l=a===o[X]?null:a,u=Kd(r,l,o),d=a&&a.type&8?o[a.index]:null;Dv(o,i,a,n),$E(o,c.create,u,d),Bu(!0)}function pw(){Bu(!1)}function nS(e,t,n){fw(e,t,n),pw()}function hw(e){let t=y();return VE(ae(t,Ke(),e)),hw}function rS(e){jE(O(),y(),e+L)}function oS(e,t={}){return dw(e,t)}var gw=(e,t,n)=>{};function mw(e,t,n,r){let o=y(),i=O(),s=Z();return vp(i,o,o[S],s,e,t,r),mw}function yw(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[eo],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function vp(e,t,n,r,o,i,s){let a=Lo(r),l=e.firstCreatePass&&Fu(e),u=t[W],d=Lu(t),p=!0;if(r.type&3||s){let g=Ee(r,t),I=s?s(g):g,m=d.length,k=s?ee=>s(he(ee[r.index])):r.index,Y=null;if(!s&&a&&(Y=yw(e,t,o,r.index)),Y!==null){let ee=Y.__ngLastListenerFn__||Y;ee.__ngNextListenerFn__=i,Y.__ngLastListenerFn__=i,p=!1}else{i=Jl(r,t,u,i),gw(g,o,i);let ee=n.listen(I,o,i);d.push(i,ee),l&&l.push(o,k,m,m+1)}}else i=Jl(r,t,u,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let I=0;I<g;I+=2){let m=h[I],k=h[I+1],ue=t[m][k].subscribe(i),kt=d.length;d.push(i,ue),l&&l.push(o,r.index,kt,-(kt+1))}}}function Yl(e,t,n,r){let o=b(null);try{return fe(6,t,n),n(r)!==!1}catch(i){return Yo(e,i),!1}finally{fe(7,t,n),b(o)}}function Jl(e,t,n,r){return function o(i){if(i===Function)return r;let s=Tt(e)?_e(e.index,t):t;ei(s,5);let a=Yl(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Yl(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function iS(e=1){return Sg(e)}function vw(e,t){let n=null,r=dy(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Vd(e,i,!0):hy(r,i))return o}return n}function sS(e){let t=y()[se][X];if(!t.projection){let n=e?e.length:1,r=t.projection=Qh(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?vw(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function aS(e,t=0,n,r,o,i){let s=y(),a=O(),c=r?e+1:null;c!==null&&Un(s,a,c,r,o,i,null,n);let l=pn(a,L+e,16,null,n||null);l.projection===null&&(l.projection=t),Ia();let d=!s[Yt]||Vu();s[se][X].projection[l.projection]===null&&c!==null?Iw(s,a,c):d&&!Qa(l)&&By(a,s,l)}function Iw(e,t,n){let r=L+n,o=t.data[r],i=e[r],s=Xt(i,o.tView.ssrId),a=dn(e,o,void 0,{dehydratedView:s});fn(i,a,0,bt(o,s))}function Ew(e,t,n){return Ip(e,"",t,"",n),Ew}function Ip(e,t,n,r,o){let i=y(),s=Bf(i,t,n,r);if(s!==q){let a=O(),c=Nt();un(a,c,i,e,s,i[S],o,!1)}return Ip}function ww(e,t,n,r,o,i,s){let a=y(),c=Uf(a,t,n,r,o,i);if(c!==q){let l=O(),u=Nt();un(l,u,a,e,c,a[S],s,!1)}return ww}function Dw(e,t,n,r,o,i,s,a,c){let l=y(),u=qf(l,t,n,r,o,i,s,a);if(u!==q){let d=O(),p=Nt();un(d,p,l,e,u,l[S],c,!1)}return Dw}function cS(e,t,n,r){Tf(e,t,n,r)}function lS(e){let t=y(),n=O(),r=wa();Bo(r+1);let o=nc(n,r);if(e.dirty&&gg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Sf(t,r);e.reset(i,dd),e.notifyOnChanges()}return!0}return!1}function uS(){return tc(y(),wa())}function dS(e,t,n,r,o){Of(t,Tf(e,n,r,o))}function fS(e,t,n,r){Of(e,tI(t,n,r))}function pS(e=1){Bo(wa()+e)}function ic(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function hS(e){let t=Hu();return Vo(t,L+e)}function gS(e,t=""){let n=y(),r=O(),o=e+L,i=r.firstCreatePass?pn(r,o,1,t,null):r.data[o],s=bw(r,n,i,t,e);n[o]=s,Kn()&&Ko(r,n,s,i),Ie(i,!1)}var bw=(e,t,n,r,o)=>(Xn(!0),jd(t[S],r));function Mw(e){return Ep("",e,""),Mw}function Ep(e,t,n){let r=y(),o=Bf(r,e,t,n);return o!==q&&sc(r,we(),o),Ep}function Cw(e,t,n,r,o){let i=y(),s=Uf(i,e,t,n,r,o);return s!==q&&sc(i,we(),s),Cw}function _w(e,t,n,r,o,i,s){let a=y(),c=qf(a,e,t,n,r,o,i,s);return c!==q&&sc(a,we(),c),_w}function sc(e,t,n){let r=Fo(t,e);Hd(e[S],r,n)}function xw(e,t,n){pd(t)&&(t=t());let r=y(),o=Ke();if(ae(r,o,t)){let i=O(),s=Nt();un(i,s,r,e,t,r[S],n,!1)}return xw}function mS(e,t){let n=pd(e);return n&&e.set(t),n}function Tw(e,t){let n=y(),r=O(),o=Z();return vp(r,n,n[S],o,e,t),Tw}var wp={};function Nw(e){let t=O(),n=y(),r=e+L,o=pn(t,r,128,null,null);return Ie(o,!1),ic(t,n,r,wp),Nw}function yS(e){De("NgLet");let t=O(),n=y(),r=we();return ic(t,n,r,e),e}function vS(e){let t=Hu(),n=Vo(t,L+e);if(n===wp)throw new M(314,!1);return n}function Sw(e,t,n){let r=O();if(r.firstCreatePass){let o=Re(e);zs(n,r.data,r.blueprint,o,!0),zs(t,r.data,r.blueprint,o,!1)}}function zs(e,t,n,r,o){if(e=K(e),Array.isArray(e))for(let i=0;i<e.length;i++)zs(e[i],t,n,r,o);else{let i=O(),s=y(),a=Z(),c=Zt(e)?e:K(e.provide),l=Mu(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Zt(e)||!e.multi){let f=new Et(l,o,ri),h=Bi(c,t,o?u:u+p,d);h===-1?(ts(co(a,s),i,c),$i(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Bi(c,t,u+p,d),h=Bi(c,t,u,u+p),g=f>=0&&n[f],I=h>=0&&n[h];if(o&&!I||!o&&!g){ts(co(a,s),i,c);let m=Ow(o?Rw:kw,n.length,o,r,l);!o&&I&&(n[h].providerFactory=m),$i(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(m),s.push(m)}else{let m=Dp(n[o?h:f],l,!o&&r);$i(i,e,f>-1?f:h,m)}!o&&r&&I&&n[h].componentProviders++}}}function $i(e,t,n,r){let o=Zt(t),i=rg(t);if(o||i){let c=(i?K(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Dp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Bi(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function kw(e,t,n,r){return Gs(this.multi,[])}function Rw(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Vn(n,n[v],this.providerFactory.index,r);i=a.slice(0,s),Gs(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Gs(o,i);return i}function Gs(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Ow(e,t,n,r,o){let i=new Et(e,n,ri);return i.multi=[],i.index=t,i.componentProviders=0,Dp(i,o,r&&!n),i}function IS(e,t=[]){return n=>{n.providersResolver=(r,o)=>Sw(r,o?o(e):e,t)}}function ES(e,t,n){let r=sn()+e,o=y();return o[r]===q?oi(o,r,n?t.call(n):t()):bI(o,r)}function wS(e,t,n,r){return bp(y(),sn(),e,t,n,r)}function DS(e,t,n,r,o){return Mp(y(),sn(),e,t,n,r,o)}function bS(e,t,n,r,o,i,s){return Aw(y(),sn(),e,t,n,r,o,i,s)}function ac(e,t){let n=e[t];return n===q?void 0:n}function bp(e,t,n,r,o,i){let s=t+n;return ae(e,s,o)?oi(e,s+1,i?r.call(i,o):r(o)):ac(e,s+1)}function Mp(e,t,n,r,o,i,s){let a=t+n;return Bn(e,a,o,i)?oi(e,a+2,s?r.call(s,o,i):r(o,i)):ac(e,a+2)}function Aw(e,t,n,r,o,i,s,a,c){let l=t+n;return CI(e,l,o,i,s,a)?oi(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):ac(e,l+4)}function MS(e,t){let n=O(),r,o=e+L;n.firstCreatePass?(r=Pw(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=pt(r.type,!0)),s,a=oe(ri);try{let c=ao(!1),l=i();return ao(c),ic(n,y(),o,l),l}finally{oe(a)}}function Pw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function CS(e,t,n){let r=e+L,o=y(),i=Vo(o,r);return Cp(o,r)?bp(o,sn(),t,i.transform,n,i):i.transform(n)}function _S(e,t,n,r){let o=e+L,i=y(),s=Vo(i,o);return Cp(i,o)?Mp(i,sn(),t,s.transform,n,r,s):s.transform(n,r)}function Cp(e,t){return e[v].data[t].pure}function xS(e,t){return ti(e,t)}var Kl=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}};var Qs=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},TS=(()=>{class e{compileModuleSync(n){return new Ps(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Eu(n),i=Ld(o.declarations).reduce((s,a)=>{let c=Me(a);return c&&s.push(new Ct(c)),s},[]);return new Qs(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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Lw=(()=>{class e{zone=x(pe);changeDetectionScheduler=x(Je);applicationRef=x(qn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Fw({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new pe(ne(te({},Vw()),{scheduleInRootZone:n})),[{provide:pe,useFactory:e},{provide:Kr,multi:!0,useFactory:()=>{let r=x(Lw,{optional:!0});return()=>r.initialize()}},{provide:Kr,multi:!0,useFactory:()=>{let r=x(jw);return()=>{r.initialize()}}},t===!0?{provide:cd,useValue:!0}:[],{provide:xa,useValue:n??ad}]}function Vw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var jw=(()=>{class e{subscription=new V;initialized=!1;zone=x(pe);pendingTasks=x(St);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(()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{pe.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var _p=(()=>{class e{appRef=x(qn);taskService=x(St);ngZone=x(pe);zonelessEnabled=x(_a);tracing=x(bd,{optional:!0});disableScheduling=x(cd,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new V;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(uo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(x(xa,{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 fo||!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 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?pl:ld;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(uo+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){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,pl(()=>{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=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function NS(){return De("NgZoneless"),Kh([{provide:Je,useExisting:_p},{provide:pe,useClass:fo},{provide:_a,useValue:!0},{provide:xa,useValue:!1},[]])}function Hw(){return typeof $localize<"u"&&$localize.locale||xo}var xp=new R("",{providedIn:"root",factory:()=>x(xp,T.Optional|T.SkipSelf)||Hw()}),SS=new R("",{providedIn:"root",factory:()=>PE});var Zs=new R(""),$w=new R("");function Cn(e){return!e.moduleRef}function Bw(e){let t=Cn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(pe);return n.run(()=>{Cn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(wt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Cn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Zs);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Zs);s.add(i),e.moduleRef.onDestroy(()=>{Wr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return qw(r,n,()=>{let i=t.get(Hf);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(xp,xo);if(LE(s||xo),!t.get($w,!0))return Cn(e)?t.get(qn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Cn(e)){let c=t.get(qn);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return Uw(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Uw(e,t){let n=e.injector.get(qn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new M(-403,!1);t.push(e)}function qw(e,t,n){try{let r=n();return jf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Qr=null;function Ww(e=[],t){return Ye.create({name:t,providers:[{provide:bu,useValue:"platform"},{provide:Zs,useValue:new Set([()=>Qr=null])},...e]})}function zw(e=[]){if(Qr)return Qr;let t=Ww(e);return Qr=t,$I(),Gw(t),t}function Gw(e){let t=e.get(fm,null);Cu(e,()=>{t?.forEach(n=>n())})}var Qw=(()=>{class e{static __NG_ELEMENT_ID__=Zw}return e})();function Zw(e){return Yw(Z(),y(),(e&16)===16)}function Yw(e,t,n){if(Tt(e)&&!n){let r=_e(e.index,t);return new Mt(r,r)}else if(e.type&175){let r=t[se];return new Mt(r,t)}return null}var Ys=class{constructor(){}supports(t){return Vf(t)}create(t){return new Js(t)}},Jw=(e,t)=>t,Js=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||Jw}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<Xl(r,o,i)?n:r,a=Xl(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 l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}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=[]),!Vf(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,DI(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 Ks(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 No),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 No),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}},Ks=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}},Xs=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}},No=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Xs,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Xl(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}var ea=class{constructor(){}supports(t){return t instanceof Map||oc(t)}create(){return new ta}},ta=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||oc(t)))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new na(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},na=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function eu(){return new Kw([new Ys])}var Kw=(()=>{class e{factories;static \u0275prov=U({token:e,providedIn:"root",factory:eu});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||eu()),deps:[[e,new mu,new gu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new M(901,!1)}}return e})();function tu(){return new Xw([new ea])}var Xw=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:tu});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||tu()),deps:[[e,new mu,new gu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new M(901,!1)}}return e})();function kS(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=zw(r),i=[Fw({}),{provide:Je,useExisting:_p},...n||[]],s=new Do({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return Bw({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function RS(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function OS(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Tn(e,t){De("NgSignals");let n=bi(e);return t?.equal&&(n[$].equal=t.equal),n}var eD=e=>e;function tD(e,t){if(De("NgSignals"),typeof e=="function"){let n=_i(e,eD,t?.equal);return nu(n)}else{let n=_i(e.source,e.computation,e.equal);return nu(n)}}function nu(e){let t=e[$],n=e;return n.set=r=>Kc(t,r),n.update=r=>Xc(t,r),n.asReadonly=qo.bind(e),n}function ut(e){let t=b(null);try{return e()}finally{b(t)}}var Tp=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=nD}return e})();function nD(){return new Tp(y(),Z())}var rD=!1,oD=(()=>{class e extends bo{pendingTasks=x(St);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),ra=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=el(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(wt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function iD(){}function sD(e,t){De("NgSignals"),!t?.injector&&pa(iD);let n=t?.injector??x(Ye),r=t?.manualCleanup!==!0?n.get(an):null,o=new ra(n.get(oD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Qw,null,{optional:!0});return!i||!(i._lView[E]&8)?o.watcher.notify():(i._lView[Hr]??=[]).push(o.watcher.notify),o}var aD=rD;var oa=class{[$];constructor(t){this[$]=t}destroy(){this[$].destroy()}};function Np(e,t){if(aD)return sD(e,t);De("NgSignals"),!t?.injector&&pa(Np);let n=t?.injector??x(Ye),r=t?.manualCleanup!==!0?n.get(an):null,o,i=n.get(Tp,null,{optional:!0}),s=n.get(Je);return i!==null&&!t?.forceRoot?(o=uD(i.view,s,e),r instanceof lo&&r._lView===i.view&&(r=null)):o=dD(e,n.get($f),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new oa(o)}var Sp=ne(te({},Ue),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:jn,run(){if(this.dirty=!1,this.hasRun&&!Mn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=ct(this),n=oo(!1);try{this.maybeCleanup(),this.fn(e)}finally{oo(n),Ht(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),cD=ne(te({},Sp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){$t(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),lD=ne(te({},Sp),{consumerMarkedDirty(){this.view[E]|=8192,Jn(this.view),this.notifier.notify(14)},destroy(){$t(this),this.onDestroyFn(),this.maybeCleanup(),this.view[mt]?.delete(this)}});function uD(e,t,n){let r=Object.create(lD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[mt]??=new Set,e[mt].add(r),r.consumerMarkedDirty(r),r}function dD(e,t,n){let r=Object.create(cD);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}var F=function(e){return e[e.Idle=0]="Idle",e[e.Error=1]="Error",e[e.Loading=2]="Loading",e[e.Reloading=3]="Reloading",e[e.Resolved=4]="Resolved",e[e.Local=5]="Local",e}(F||{});function fD(e){e?.injector||pa(fD);let t=e.request??(()=>null);return new sa(t,e.loader,void 0,e.equal?pD(e.equal):void 0,e.injector??x(Ye))}var ia=class{value;constructor(t){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=qo}update(t){this.set(t(ut(this.value)))}isLoading=Tn(()=>this.status()===F.Loading||this.status()===F.Reloading);hasValue(){return this.value()!==void 0}asReadonly(){return this}},sa=class extends ia{loaderFn;defaultValue;equal;state;extendedRequest;pendingTasks;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;constructor(t,n,r,o,i){super(Tn(()=>this.state().value,{equal:o})),this.loaderFn=n,this.defaultValue=r,this.equal=o,this.pendingTasks=i.get(Yg),this.extendedRequest=Tn(()=>({request:t(),reload:fd(0)})),this.state=tD({source:()=>{let{request:s,reload:a}=this.extendedRequest();return s===void 0||this.destroyed?F.Idle:a()===0?F.Loading:F.Reloading},computation:(s,a)=>({status:s,previousStatus:a?.value.status??F.Idle,value:a&&s===F.Reloading?a.value.value:this.defaultValue,error:void 0})}),this.effectRef=Np(this.loadEffect.bind(this),{injector:i,manualCleanup:!0}),i.get(an).onDestroy(()=>this.destroy())}status=Tn(()=>this.state().status);error=Tn(()=>this.state().error);set(t){if(this.destroyed)return;let n=ut(this.state);(this.equal?this.equal(n.value,t):n.value===t)||(this.state.set({status:F.Local,previousStatus:F.Local,value:t,error:void 0}),this.abortInProgressLoad())}reload(){let t=ut(this.status);return t===F.Idle||t===F.Loading||t===F.Reloading?!1:(ut(this.extendedRequest).reload.update(n=>n+1),!0)}destroy(){this.destroyed=!0,this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({status:F.Idle,previousStatus:F.Idle,value:this.defaultValue,error:void 0})}async loadEffect(){let{status:t}=ut(this.state),{request:n,reload:r}=this.extendedRequest();if(r(),n===void 0)return;if(t!==F.Loading&&t!==F.Reloading)return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=await ut(()=>this.loaderFn({abortSignal:i,request:n,previous:{status:t}}));if(i.aborted)return;this.state.set({status:F.Resolved,previousStatus:F.Resolved,value:s,error:void 0})}catch(s){if(i.aborted)return;this.state.set({status:F.Error,previousStatus:F.Error,value:this.defaultValue,error:s})}finally{o(),this.pendingController=void 0}}abortInProgressLoad(){ut(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function pD(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function AS(e,t){let n=Me(e),r=t.elementInjector||Ao();return new Ct(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function PS(e){let t=Me(e);if(!t)return null;let n=new Ct(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}}}export{V as a,Ap as b,N as c,gi as d,mi as e,de as f,yn as g,vn as h,ot as i,He as j,qp as k,zp as l,Gp as m,it as n,$e as o,th as p,st as q,yi as r,Nr as s,rh as t,oh as u,In as v,sh as w,pi as x,ah as y,Wp as z,En as A,Cr as B,Nc as C,lh as D,vi as E,uh as F,dh as G,fh as H,ph as I,hh as J,Sc as K,kc as L,Hc as M,M as N,ce as O,au as P,U as Q,cN as R,lN as S,R as T,T as U,Ze as V,x as W,Kh as X,bu as Y,Ne as Z,Cu as _,pa as $,uN as aa,dN as ba,fN as ca,pN as da,hN as ea,gN as fa,Ye as ga,an as ha,St as ia,ze as ja,pe as ka,wt as la,po as ma,mN as na,yN as oa,Uo as pa,De as qa,sm as ra,fd as sa,vN as ta,IN as ua,fm as va,EN as wa,wN as xa,pm as ya,DN as za,bd as Aa,Hn as Ba,ln as Ca,Ra as Da,bN as Ea,MN as Fa,CN as Ga,_N as Ha,xN as Ia,Oa as Ja,Jm as Ka,Qo as La,TN as Ma,Xm as Na,NN as Oa,SN as Pa,Es as Qa,mo as Ra,vo as Sa,ON as Ta,ri as Ua,ec as Va,PN as Wa,LN as Xa,FN as Ya,VN as Za,_t as _a,As as $a,jN as ab,Pf as bb,HN as cb,$N as db,BN as eb,UN as fb,mI as gb,xI as hb,qN as ib,jf as jb,VI as kb,HI as lb,qn as mb,WN as nb,zN as ob,ZI as pb,cE as qb,lE as rb,uE as sb,GN as tb,QN as ub,ZN as vb,YN as wb,JN as xb,KN as yb,np as zb,rp as Ab,ME as Bb,op as Cb,ip as Db,xE as Eb,XN as Fb,eS as Gb,sp as Hb,tS as Ib,kE as Jb,zn as Kb,fw as Lb,pw as Mb,nS as Nb,hw as Ob,rS as Pb,oS as Qb,mw as Rb,iS as Sb,sS as Tb,aS as Ub,Ew as Vb,Ip as Wb,ww as Xb,Dw as Yb,cS as Zb,lS as _b,uS as $b,dS as ac,fS as bc,pS as cc,hS as dc,gS as ec,Mw as fc,Ep as gc,Cw as hc,_w as ic,xw as jc,mS as kc,Tw as lc,Nw as mc,yS as nc,vS as oc,IS as pc,ES as qc,wS as rc,DS as sc,bS as tc,MS as uc,CS as vc,_S as wc,xS as xc,Kl as yc,TS as zc,NS as Ac,xp as Bc,SS as Cc,Qw as Dc,Kw as Ec,Xw as Fc,kS as Gc,RS as Hc,OS as Ic,Tn as Jc,ut as Kc,Np as Lc,fD as Mc,AS as Nc,PS as Oc};