daimon 0.8.1 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/README.md +48 -1
  3. package/dist/cli.js +91 -86
  4. package/dist/dashboard/browser/chunk-3EPFSBJ2.js +2 -0
  5. package/dist/dashboard/browser/{chunk-PJPGLT4T.js → chunk-3ZFFKHPU.js} +1 -1
  6. package/dist/dashboard/browser/{chunk-QSBOKS53.js → chunk-4KVYA2AQ.js} +1 -1
  7. package/dist/dashboard/browser/chunk-55AO3FMG.js +1 -0
  8. package/dist/dashboard/browser/{chunk-V2KNRAE4.js → chunk-66VYPESU.js} +1 -1
  9. package/dist/dashboard/browser/chunk-6MTVWBQQ.js +2 -0
  10. package/dist/dashboard/browser/chunk-6Z4FDREI.js +1 -0
  11. package/dist/dashboard/browser/{chunk-7NPLP3QD.js → chunk-7LKM244H.js} +1 -1
  12. package/dist/dashboard/browser/chunk-ACPSBF55.js +1 -0
  13. package/dist/dashboard/browser/{chunk-OHX55ZU4.js → chunk-AGN2F6JP.js} +1 -1
  14. package/dist/dashboard/browser/chunk-B2DPS6BL.js +1 -0
  15. package/dist/dashboard/browser/{chunk-3WKRVGPT.js → chunk-BBTQXZIS.js} +1 -1
  16. package/dist/dashboard/browser/chunk-CIQNXWDY.js +1 -0
  17. package/dist/dashboard/browser/chunk-EBGPIJ7S.js +1 -0
  18. package/dist/dashboard/browser/{chunk-LBRCWYRN.js → chunk-F3FCHBFQ.js} +1 -1
  19. package/dist/dashboard/browser/chunk-FD3BW2ZN.js +1 -0
  20. package/dist/dashboard/browser/chunk-FRKUCFVI.js +1 -0
  21. package/dist/dashboard/browser/chunk-FZLMX6EY.js +1 -0
  22. package/dist/dashboard/browser/chunk-GMEW64AS.js +1 -0
  23. package/dist/dashboard/browser/chunk-HXX2OUOE.js +1 -0
  24. package/dist/dashboard/browser/chunk-HZNVO3JE.js +1 -0
  25. package/dist/dashboard/browser/chunk-JWXROQJJ.js +2 -0
  26. package/dist/dashboard/browser/chunk-K2SFF47Z.js +5 -0
  27. package/dist/dashboard/browser/chunk-K5WKBG55.js +1 -0
  28. package/dist/dashboard/browser/chunk-K6PUQAFE.js +2 -0
  29. package/dist/dashboard/browser/{chunk-NDSAQ2HK.js → chunk-KRC72WWY.js} +1 -1
  30. package/dist/dashboard/browser/{chunk-H3L4MTG4.js → chunk-LBWOIG7N.js} +1 -1
  31. package/dist/dashboard/browser/chunk-NVL5HFLU.js +1 -0
  32. package/dist/dashboard/browser/chunk-O76B43BY.js +4 -0
  33. package/dist/dashboard/browser/{chunk-EIWOTZT3.js → chunk-PRLUGTKR.js} +1 -1
  34. package/dist/dashboard/browser/chunk-QYIYT4YU.js +1 -0
  35. package/dist/dashboard/browser/{chunk-UC3XMN2Y.js → chunk-R7VSXL63.js} +1 -1
  36. package/dist/dashboard/browser/{chunk-7NRE3SNA.js → chunk-RNUJZTKS.js} +1 -1
  37. package/dist/dashboard/browser/{chunk-2BXIFQGQ.js → chunk-RWXAGDGT.js} +1 -1
  38. package/dist/dashboard/browser/chunk-RXOAYCKI.js +2 -0
  39. package/dist/dashboard/browser/chunk-SR4HVFOB.js +2 -0
  40. package/dist/dashboard/browser/chunk-TGSV7ZHM.js +2 -0
  41. package/dist/dashboard/browser/chunk-UC7AWK4C.js +2 -0
  42. package/dist/dashboard/browser/chunk-UUJWPV5O.js +3 -0
  43. package/dist/dashboard/browser/chunk-VHALTUPL.js +2 -0
  44. package/dist/dashboard/browser/{chunk-6WZJCF24.js → chunk-VMW35ZNT.js} +1 -1
  45. package/dist/dashboard/browser/{chunk-Q772THBA.js → chunk-WOMCRDMJ.js} +1 -2
  46. package/dist/dashboard/browser/chunk-WRX32YWH.js +1 -0
  47. package/dist/dashboard/browser/chunk-X4RGWMLE.js +4 -0
  48. package/dist/dashboard/browser/{chunk-P5IU57TV.js → chunk-YHBNUNU3.js} +1 -1
  49. package/dist/dashboard/browser/index.html +1 -1
  50. package/dist/dashboard/browser/main-YAROJLJV.js +1 -0
  51. package/dist/main.js +49 -48
  52. package/dist/mcp.js +3 -3
  53. package/package.json +6 -3
  54. package/dist/dashboard/browser/chunk-44JIQO3X.js +0 -1
  55. package/dist/dashboard/browser/chunk-4BAKWDAV.js +0 -1
  56. package/dist/dashboard/browser/chunk-4OCNYL7T.js +0 -1
  57. package/dist/dashboard/browser/chunk-7C772RJ3.js +0 -3
  58. package/dist/dashboard/browser/chunk-A4BNXJUT.js +0 -1
  59. package/dist/dashboard/browser/chunk-CILFSVSP.js +0 -2
  60. package/dist/dashboard/browser/chunk-CM4RQF3A.js +0 -5
  61. package/dist/dashboard/browser/chunk-CY5YRTQK.js +0 -1
  62. package/dist/dashboard/browser/chunk-GYWEXV2L.js +0 -3
  63. package/dist/dashboard/browser/chunk-H2N3RBHF.js +0 -1
  64. package/dist/dashboard/browser/chunk-I65I7J5Q.js +0 -2
  65. package/dist/dashboard/browser/chunk-K43KW4K2.js +0 -4
  66. package/dist/dashboard/browser/chunk-K7S4ITPJ.js +0 -2
  67. package/dist/dashboard/browser/chunk-KL6X73FV.js +0 -1
  68. package/dist/dashboard/browser/chunk-KLH6B22T.js +0 -1
  69. package/dist/dashboard/browser/chunk-LBL7Z5BE.js +0 -5
  70. package/dist/dashboard/browser/chunk-LHAMBNO6.js +0 -1
  71. package/dist/dashboard/browser/chunk-NX6DTO32.js +0 -1
  72. package/dist/dashboard/browser/chunk-P5IE6DI6.js +0 -2
  73. package/dist/dashboard/browser/chunk-PMAG4W5W.js +0 -1
  74. package/dist/dashboard/browser/chunk-VM2FOT77.js +0 -1
  75. package/dist/dashboard/browser/chunk-Y6B6X4Y6.js +0 -2
  76. package/dist/dashboard/browser/chunk-YYAZGY5M.js +0 -1
  77. package/dist/dashboard/browser/main-O76X7RMS.js +0 -1
@@ -0,0 +1,4 @@
1
+ var Mh=Object.defineProperty,Nh=Object.defineProperties;var xh=Object.getOwnPropertyDescriptors;var Er=Object.getOwnPropertySymbols;var sl=Object.prototype.hasOwnProperty,al=Object.prototype.propertyIsEnumerable;var il=(e,t,n)=>t in e?Mh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,G=(e,t)=>{for(var n in t||={})sl.call(t,n)&&il(e,n,t[n]);if(Er)for(var n of Er(t))al.call(t,n)&&il(e,n,t[n]);return e},z=(e,t)=>Nh(e,xh(t));var EC=(e,t)=>{var n={};for(var r in e)sl.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Er)for(var r of Er(e))t.indexOf(r)<0&&al.call(e,r)&&(n[r]=e[r]);return n};function Ut(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 Le=Ut(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function b(e){return typeof e=="function"}var Dr=Ut(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function lt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=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(b(r))try{r()}catch(i){t=i instanceof Dr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{cl(i)}catch(s){t=t??[],s instanceof Dr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Dr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)cl(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)&&lt(n,t)}remove(t){let{_finalizers:n}=this;n&&lt(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var ki=L.EMPTY;function Cr(e){return e instanceof L||e&&"closed"in e&&b(e.remove)&&b(e.add)&&b(e.unsubscribe)}function cl(e){b(e)?e():e.unsubscribe()}var ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var qt={setTimeout(e,t,...n){let{delegate:r}=qt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=qt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function wr(e){qt.setTimeout(()=>{let{onUnhandledError:t}=ye;if(t)t(e);else throw e})}function Nn(){}var ll=Pi("C",void 0,void 0);function ul(e){return Pi("E",void 0,e)}function dl(e){return Pi("N",e,void 0)}function Pi(e,t,n){return{kind:e,value:t,error:n}}var ut=null;function Wt(e){if(ye.useDeprecatedSynchronousErrorHandling){let t=!ut;if(t&&(ut={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ut;if(ut=null,n)throw r}}else e()}function fl(e){ye.useDeprecatedSynchronousErrorHandling&&ut&&(ut.errorThrown=!0,ut.error=e)}var dt=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Cr(t)&&t.add(this)):this.destination=Rh}static create(t,n,r){return new ve(t,n,r)}next(t){this.isStopped?Fi(dl(t),this):this._next(t)}error(t){this.isStopped?Fi(ul(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Fi(ll,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()}}},Sh=Function.prototype.bind;function Li(e,t){return Sh.call(e,t)}var ji=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Tr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Tr(r)}else Tr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Tr(n)}}},ve=class extends dt{constructor(t,n,r){super();let o;if(b(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Li(t.next,i),error:t.error&&Li(t.error,i),complete:t.complete&&Li(t.complete,i)}):o=t}this.destination=new ji(o)}};function Tr(e){ye.useDeprecatedSynchronousErrorHandling?fl(e):wr(e)}function Ah(e){throw e}function Fi(e,t){let{onStoppedNotification:n}=ye;n&&qt.setTimeout(()=>n(e,t))}var Rh={closed:!0,next:Nn,error:Ah,complete:Nn};function Oh(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new ve({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new Le)}});e.subscribe(i)})}var Gt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function J(e){return e}function kh(...e){return Vi(e)}function Vi(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=Lh(n)?n:new ve(n,r,o);return Wt(()=>{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=pl(r),new r((o,i)=>{let s=new ve({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)}[Gt](){return this}pipe(...n){return Vi(n)(this)}toPromise(n){return n=pl(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 pl(e){var t;return(t=e??ye.Promise)!==null&&t!==void 0?t:Promise}function Ph(e){return e&&b(e.next)&&b(e.error)&&b(e.complete)}function Lh(e){return e&&e instanceof dt||Ph(e)&&Cr(e)}function Hi(e){return b(e?.lift)}function w(e){return t=>{if(Hi(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 C(e,t,n,r,o){return new Bi(e,t,n,r,o)}var Bi=class extends dt{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 $i(){return w((e,t)=>{let n=null;e._refCount++;let r=C(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 Ui=class extends N{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Hi(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 L;let n=this.getSubject();t.add(this.source.subscribe(C(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return $i()(this)}};var zt={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=zt;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new L(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=zt;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=zt;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var hl=Ut(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 br(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new hl}next(n){Wt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Wt(()=>{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(){Wt(()=>{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?ki:(this.currentObservers=null,i.push(n),new L(()=>{this.currentObservers=null,lt(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 br(t,n),e})(),br=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:ki}};var xn=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 Sn={now(){return(Sn.delegate||Date).now()},delegate:void 0};var _r=class extends de{constructor(t=1/0,n=1/0,r=Sn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Mr=class extends L{constructor(t,n){super()}schedule(t,n=0){return this}};var An={setInterval(e,t,...n){let{delegate:r}=An;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=An;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var ze=class extends Mr{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 An.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&&An.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,lt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Fh=1,qi,Wi={};function gl(e){return e in Wi?(delete Wi[e],!0):!1}var ml={setImmediate(e){let t=Fh++;return Wi[t]=!0,qi||(qi=Promise.resolve()),qi.then(()=>gl(t)&&e()),t},clearImmediate(e){gl(e)}};var{setImmediate:jh,clearImmediate:Vh}=ml,Rn={setImmediate(...e){let{delegate:t}=Rn;return(t?.setImmediate||jh)(...e)},clearImmediate(e){let{delegate:t}=Rn;return(t?.clearImmediate||Vh)(e)},delegate:void 0};var Nr=class extends ze{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Rn.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Rn.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var Qt=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)}};Qt.now=Sn.now;var Qe=class extends Qt{constructor(t,n=Qt.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 xr=class extends Qe{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Hh=new xr(Nr);var On=new Qe(ze),yl=On;var Sr=class extends ze{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=zt.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(zt.cancelAnimationFrame(n),t._scheduled=void 0)}};var Ar=class extends Qe{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Bh=new Ar(Sr);var ft=new N(e=>e.complete());function Rr(e){return e&&b(e.schedule)}function Gi(e){return e[e.length-1]}function Or(e){return b(Gi(e))?e.pop():void 0}function Me(e){return Rr(Gi(e))?e.pop():void 0}function vl(e,t){return typeof Gi(e)=="number"?e.pop():t}function El(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 Il(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 pt(e){return this instanceof pt?(this.v=e,this):new pt(e)}function Dl(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(E,v){i.push([f,g,E,v])>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 pt?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 Cl(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 Il=="function"?Il(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 kr=e=>e&&typeof e.length=="number"&&typeof e!="function";function Pr(e){return b(e?.then)}function Lr(e){return b(e[Gt])}function Fr(e){return Symbol.asyncIterator&&b(e?.[Symbol.asyncIterator])}function jr(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 $h(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Vr=$h();function Hr(e){return b(e?.[Vr])}function Br(e){return Dl(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield pt(n.read());if(o)return yield pt(void 0);yield yield pt(r)}}finally{n.releaseLock()}})}function $r(e){return b(e?.getReader)}function O(e){if(e instanceof N)return e;if(e!=null){if(Lr(e))return Uh(e);if(kr(e))return qh(e);if(Pr(e))return Wh(e);if(Fr(e))return wl(e);if(Hr(e))return Gh(e);if($r(e))return zh(e)}throw jr(e)}function Uh(e){return new N(t=>{let n=e[Gt]();if(b(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function qh(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Wh(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,wr)})}function Gh(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function wl(e){return new N(t=>{Qh(e,t).catch(n=>t.error(n))})}function zh(e){return wl(Br(e))}function Qh(e,t){var n,r,o,i;return El(this,void 0,void 0,function*(){try{for(n=Cl(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 Ur(e,t=0){return w((n,r)=>{n.subscribe(C(r,o=>re(r,e,()=>r.next(o),t),()=>re(r,e,()=>r.complete(),t),o=>re(r,e,()=>r.error(o),t)))})}function qr(e,t=0){return w((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Tl(e,t){return O(e).pipe(qr(t),Ur(t))}function bl(e,t){return O(e).pipe(qr(t),Ur(t))}function _l(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 Ml(e,t){return new N(n=>{let r;return re(n,t,()=>{r=e[Vr](),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)}),()=>b(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 Nl(e,t){return Wr(Br(e),t)}function xl(e,t){if(e!=null){if(Lr(e))return Tl(e,t);if(kr(e))return _l(e,t);if(Pr(e))return bl(e,t);if(Fr(e))return Wr(e,t);if(Hr(e))return Ml(e,t);if($r(e))return Nl(e,t)}throw jr(e)}function Ne(e,t){return t?xl(e,t):O(e)}function Zh(...e){let t=Me(e);return Ne(e,t)}function Yh(e,t){let n=b(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function Kh(e){return!!e&&(e instanceof N||b(e.lift)&&b(e.subscribe))}function Sl(e){return e instanceof Date&&!isNaN(e)}function ht(e,t){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Jh}=Array;function Xh(e,t){return Jh(t)?e(...t):e(t)}function Gr(e){return ht(t=>Xh(e,t))}var{isArray:eg}=Array,{getPrototypeOf:tg,prototype:ng,keys:rg}=Object;function zr(e){if(e.length===1){let t=e[0];if(eg(t))return{args:t,keys:null};if(og(t)){let n=rg(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function og(e){return e&&typeof e=="object"&&tg(e)===ng}function Qr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ig(...e){let t=Me(e),n=Or(e),{args:r,keys:o}=zr(e);if(r.length===0)return Ne([],t);let i=new N(sg(r,t,o?s=>Qr(o,s):J));return n?i.pipe(Gr(n)):i}function sg(e,t,n=J){return r=>{Al(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Al(t,()=>{let l=Ne(e[c],t),u=!1;l.subscribe(C(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Al(e,t,n){e?re(n,e,t):t()}function Rl(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 E=!1;O(n(g,u++)).subscribe(C(t,v=>{o?.(v),i?f(v):t.next(v)},()=>{E=!0},void 0,()=>{if(E)try{for(l--;c.length&&l<r;){let v=c.shift();s?re(t,s,()=>h(v)):h(v)}p()}catch(v){t.error(v)}}))};return e.subscribe(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function gt(e,t,n=1/0){return b(t)?gt((r,o)=>ht((i,s)=>t(r,i,o,s))(O(e(r,o))),n):(typeof t=="number"&&(n=t),w((r,o)=>Rl(r,o,e,n)))}function kn(e=1/0){return gt(J,e)}function Ol(){return kn(1)}function Zr(...e){return Ol()(Ne(e,Me(e)))}function ag(e){return new N(t=>{O(e()).subscribe(t)})}function cg(...e){let t=Or(e),{args:n,keys:r}=zr(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;O(n[u]).subscribe(C(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Qr(r,a):a),i.complete())}))}});return t?o.pipe(Gr(t)):o}function zi(e=0,t,n=yl){let r=-1;return t!=null&&(Rr(t)?n=t:r=t),new N(o=>{let i=Sl(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function lg(...e){let t=Me(e),n=vl(e,1/0),r=e;return r.length?r.length===1?O(r[0]):kn(n)(Ne(r,t)):ft}function mt(e,t){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function kl(e){return w((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(C(n,l=>{r=!0,o=l,i||O(e(l)).subscribe(i=C(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function ug(e,t=On){return kl(()=>zi(e,t))}function Pl(e){return w((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=O(e(s,Pl(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Ll(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(C(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 dg(e,t){return b(t)?gt(e,t,1):gt(e,1)}function fg(e,t=On){return w((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(C(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function Pn(e){return w((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Qi(e){return e<=0?()=>ft:w((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function pg(e,t=J){return e=e??hg,w((n,r)=>{let o,i=!0;n.subscribe(C(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function hg(e,t){return e===t}function Yr(e=gg){return w((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function gg(){return new Le}function mg(e){return w((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function yg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?mt((o,i)=>e(o,i,r)):J,Qi(1),n?Pn(t):Yr(()=>new Le))}function Zi(e){return e<=0?()=>ft:w((t,n)=>{let r=[];t.subscribe(C(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 vg(e,t){let n=arguments.length>=2;return r=>r.pipe(e?mt((o,i)=>e(o,i,r)):J,Zi(1),n?Pn(t):Yr(()=>new Le))}function Ig(){return w((e,t)=>{let n,r=!1;e.subscribe(C(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Eg(e,t){return w(Ll(e,t,arguments.length>=2,!0))}function Ki(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 w((g,E)=>{l++,!d&&!u&&p();let v=c=c??t();E.add(()=>{l--,l===0&&!d&&!u&&(a=Yi(h,o))}),v.subscribe(E),!s&&l>0&&(s=new ve({next:Z=>v.next(Z),error:Z=>{d=!0,p(),a=Yi(f,n,Z),v.error(Z)},complete:()=>{u=!0,p(),a=Yi(f,r),v.complete()}}),O(g).subscribe(s))})(i)}}function Yi(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new ve({next:()=>{r.unsubscribe(),e()}});return O(t(...n)).subscribe(r)}function Dg(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,Ki({connector:()=>new _r(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Cg(e){return mt((t,n)=>e<=n)}function wg(...e){let t=Me(e);return w((n,r)=>{(t?Zr(e,n,t):Zr(e,n)).subscribe(r)})}function Tg(e,t){return w((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let l=0,u=i++;O(e(c,u)).subscribe(o=C(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function bg(e){return w((t,n)=>{O(e).subscribe(C(n,()=>n.complete(),Nn)),!n.closed&&t.subscribe(n)})}function _g(e,t=!1){return w((n,r)=>{let o=0;n.subscribe(C(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Mg(e,t,n){let r=b(e)||t||n?{next:e,error:t,complete:n}:e;return r?w((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(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}var Ji;function Kr(){return Ji}function xe(e){let t=Ji;return Ji=e,t}var Fl=Symbol("NotFound");function Zt(e){return e===Fl||e?.name==="\u0275NotFound"}var Y=null,Jr=!1,Xi=1,Ng=null,U=Symbol("SIGNAL");function I(e){let t=Y;return Y=e,t}function no(){return Y}var yt={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function vt(e){if(Jr)throw new Error("");if(Y===null)return;Y.consumerOnSignalRead(e);let t=Y.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=Y.recomputing;if(r&&(n=t!==void 0?t.nextProducer:Y.producers,n!==void 0&&n.producer===e)){Y.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Y&&(!r||Sg(o,Y)))return;let i=Yt(Y),s={producer:e,consumer:Y,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};Y.producersTail=s,t!==void 0?t.nextProducer=s:Y.producers=s,i&&Bl(e,s)}function jl(){Xi++}function ro(e){if(!(Yt(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Xi)){if(!e.producerMustRecompute(e)&&!Et(e)){to(e);return}e.producerRecomputeValue(e),to(e)}}function es(e){if(e.consumers===void 0)return;let t=Jr;Jr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||xg(r)}}finally{Jr=t}}function ts(){return Y?.consumerAllowSignalWrites!==!1}function xg(e){e.dirty=!0,es(e),e.consumerMarkedDirty?.(e)}function to(e){e.dirty=!1,e.lastCleanEpoch=Xi}function Ze(e){return e&&Vl(e),I(e)}function Vl(e){e.producersTail=void 0,e.recomputing=!0}function It(e,t){I(t),e&&Hl(e)}function Hl(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Yt(e))do n=ns(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Et(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(ro(n),r!==n.version))return!0}return!1}function Ye(e){if(Yt(e)){let t=e.producers;for(;t!==void 0;)t=ns(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Bl(e,t){let n=e.consumersTail,r=Yt(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Bl(o.producer,o)}function ns(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Yt(t)){let i=t.producers;for(;i!==void 0;)i=ns(i)}return n}function Yt(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function oo(e){Ng?.(e)}function Sg(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function io(e,t){return Object.is(e,t)}function Fn(e,t){let n=Object.create(Ag);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(ro(n),vt(n),n.value===Ln)throw n.error;return n.value};return r[U]=n,oo(n),r}var Xr=Symbol("UNSET"),eo=Symbol("COMPUTING"),Ln=Symbol("ERRORED"),Ag=z(G({},yt),{value:Xr,dirty:!0,error:null,equal:io,kind:"computed",producerMustRecompute(e){return e.value===Xr||e.value===eo},producerRecomputeValue(e){if(e.value===eo)throw new Error("");let t=e.value;e.value=eo;let n=Ze(e),r,o=!1;try{r=e.computation(),I(null),o=t!==Xr&&t!==Ln&&r!==Ln&&e.equal(t,r)}catch(i){r=Ln,e.error=i}finally{It(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Rg(){throw new Error}var $l=Rg;function Ul(e){$l(e)}function rs(e){$l=e}var Og=null;function os(e,t){let n=Object.create(jn);n.value=e,t!==void 0&&(n.equal=t);let r=()=>ql(n);return r[U]=n,oo(n),[r,s=>Kt(n,s),s=>is(n,s)]}function ql(e){return vt(e),e.value}function Kt(e,t){ts()||Ul(e),e.equal(e.value,t)||(e.value=t,kg(e))}function is(e,t){ts()||Ul(e),Kt(e,t(e.value))}var jn=z(G({},yt),{equal:io,value:void 0,kind:"signal"});function kg(e){e.version++,jl(),es(e),Og?.(e)}function Wl(e){let t=I(null);try{return e()}finally{I(t)}}var Gl=z(G({},yt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function zl(e){if(e.dirty=!1,e.version>0&&!Et(e))return;e.version++;let t=Ze(e);try{e.cleanup(),e.fn()}finally{It(e,t)}}var lo="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",M=class extends Error{code;constructor(t,n){super(uo(t,n)),this.code=t}};function Pg(e){return`NG0${Math.abs(e)}`}function uo(e,t){return`${Pg(e)}${t?": "+t:""}`}var Xt=globalThis;function A(e){for(let t in e)if(e[t]===A)return t;throw Error("")}function Yl(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function je(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(je).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 fo(e,t){return e?t?`${e} ${t}`:e:t||""}var Lg=A({__forward_ref__:A});function po(e){return e.__forward_ref__=po,e.toString=function(){return je(this())},e}function q(e){return ys(e)?e():e}function ys(e){return typeof e=="function"&&e.hasOwnProperty(Lg)&&e.__forward_ref__===po}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Kl(e){return{providers:e.providers||[],imports:e.imports||[]}}function Un(e){return jg(e,ho)}function Fg(e){return Un(e)!==null}function jg(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Vg(e){let t=e?.[ho]??null;return t||null}function as(e){return e&&e.hasOwnProperty(ao)?e[ao]:null}var ho=A({\u0275prov:A}),ao=A({\u0275inj:A}),x=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=B({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function vs(e){return e&&!!e.\u0275providers}var Is=A({\u0275cmp:A}),Es=A({\u0275dir:A}),Ds=A({\u0275pipe:A}),Cs=A({\u0275mod:A}),Hn=A({\u0275fac:A}),_t=A({__NG_ELEMENT_ID__:A}),Ql=A({__NG_ENV_ID__:A});function W(e){return typeof e=="string"?e:e==null?"":String(e)}function Jl(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():W(e)}var Xl=A({ngErrorCode:A}),Hg=A({ngErrorMessage:A}),Bg=A({ngTokenPath:A});function ws(e,t){return eu("",-200,t)}function go(e,t){throw new M(-201,!1)}function eu(e,t,n){let r=new M(t,e);return r[Xl]=t,r[Hg]=e,n&&(r[Bg]=n),r}function $g(e){return e[Xl]}var cs;function tu(){return cs}function se(e){let t=cs;return cs=e,t}function Ts(e,t,n){let r=Un(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;go(e,"Injector")}var Ug={},Dt=Ug,ls="__NG_DI_FLAG__",us=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Ct(n)||0;try{return this.injector.get(t,r&8?null:Dt,r)}catch(o){if(Zt(o))return o;throw o}}};function qg(e,t=0){let n=Kr();if(n===void 0)throw new M(-203,!1);if(n===null)return Ts(e,void 0,t);{let r=Wg(t),o=n.retrieve(e,r);if(Zt(o)){if(r.optional)return null;throw o}return o}}function Se(e,t=0){return(tu()||qg)(q(e),t)}function T(e,t){return Se(e,Ct(t))}function Ct(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Wg(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ds(e){let t=[];for(let n=0;n<e.length;n++){let r=q(e[n]);if(Array.isArray(r)){if(r.length===0)throw new M(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=Gg(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Se(o,i))}else t.push(Se(r))}return t}function bs(e,t){return e[ls]=t,e.prototype[ls]=t,e}function Gg(e){return e[ls]}function wt(e,t){let n=e.hasOwnProperty(Hn);return n?e[Hn]:null}function nu(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 ru(e){return e.flat(Number.POSITIVE_INFINITY)}function mo(e,t){e.forEach(n=>Array.isArray(n)?mo(n,t):t(n))}function _s(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function qn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ou(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function iu(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 yo(e,t,n){let r=en(e,t);return r>=0?e[r|1]=n:(r=~r,iu(e,r,t,n)),r}function vo(e,t){let n=en(e,t);if(n>=0)return e[n|1]}function en(e,t){return zg(e,t,1)}function zg(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 Ee={},K=[],Mt=new x(""),Ms=new x("",-1),Ns=new x(""),Bn=class{get(t,n=Dt){if(n===Dt){let o=eu("",-201);throw o.name="\u0275NotFound",o}return n}};function xs(e){return e[Cs]||null}function De(e){return e[Is]||null}function Wn(e){return e[Es]||null}function Ss(e){return e[Ds]||null}function As(e){return{\u0275providers:e}}function su(...e){return{\u0275providers:Io(!0,e),\u0275fromNgModule:!0}}function Io(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return mo(t,s=>{let a=s;co(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&au(o,i),n}function au(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Rs(o,i=>{t(i,r)})}}function co(e,t,n,r){if(e=q(e),!e)return!1;let o=null,i=as(e),s=!i&&De(e);if(!i&&!s){let c=e.ngModule;if(i=as(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)co(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;mo(i.imports,u=>{co(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&au(l,t)}if(!a){let l=wt(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:Ns,useValue:o,multi:!0},o),t({provide:Mt,useValue:()=>Se(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Rs(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Rs(e,t){for(let n of e)vs(n)&&(n=n.\u0275providers),Array.isArray(n)?Rs(n,t):t(n)}var Qg=A({provide:String,useValue:A});function cu(e){return e!==null&&typeof e=="object"&&Qg in e}function Zg(e){return!!(e&&e.useExisting)}function Yg(e){return!!(e&&e.useFactory)}function Tt(e){return typeof e=="function"}function lu(e){return!!e.useClass}var Os=new x(""),so={},Zl={},ss;function tn(){return ss===void 0&&(ss=new Bn),ss}var ae=class{},bt=class extends ae{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,ps(t,s=>this.processProvider(s)),this.records.set(Ms,Jt(void 0,this)),o.has("environment")&&this.records.set(ae,Jt(void 0,this));let i=this.records.get(Os);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ns,K,{self:!0}))}retrieve(t,n){let r=Ct(n)||0;try{return this.get(t,Dt,r)}catch(o){if(Zt(o))return o;throw o}}destroy(){Vn(this),this._destroyed=!0;let t=I(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(),I(t)}}onDestroy(t){return Vn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Vn(this);let n=xe(this),r=se(void 0),o;try{return t()}finally{xe(n),se(r)}}get(t,n=Dt,r){if(Vn(this),t.hasOwnProperty(Ql))return t[Ql](this);let o=Ct(r),i,s=xe(this),a=se(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=tm(t)&&Un(t);u&&this.injectableDefInScope(u)?l=Jt(fs(t),so):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?tn():this.parent;return n=o&8&&n===Dt?null:n,c.get(t,n)}catch(c){let l=$g(c);throw l===-200||l===-201?new M(l,null):c}finally{se(a),xe(s)}}resolveInjectorInitializers(){let t=I(null),n=xe(this),r=se(void 0),o;try{let i=this.get(Mt,K,{self:!0});for(let s of i)s()}finally{xe(n),se(r),I(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(je(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=q(t);let n=Tt(t)?t:q(t&&t.provide),r=Jg(t);if(!Tt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Jt(void 0,so,!0),o.factory=()=>ds(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=I(null);try{if(n.value===Zl)throw ws(je(t));return n.value===so&&(n.value=Zl,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&em(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{I(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=q(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 fs(e){let t=Un(e),n=t!==null?t.factory:wt(e);if(n!==null)return n;if(e instanceof x)throw new M(204,!1);if(e instanceof Function)return Kg(e);throw new M(204,!1)}function Kg(e){if(e.length>0)throw new M(204,!1);let n=Vg(e);return n!==null?()=>n.factory(e):()=>new e}function Jg(e){if(cu(e))return Jt(void 0,e.useValue);{let t=ks(e);return Jt(t,so)}}function ks(e,t,n){let r;if(Tt(e)){let o=q(e);return wt(o)||fs(o)}else if(cu(e))r=()=>q(e.useValue);else if(Yg(e))r=()=>e.useFactory(...ds(e.deps||[]));else if(Zg(e))r=(o,i)=>Se(q(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=q(e&&(e.useClass||e.provide));if(Xg(e))r=()=>new o(...ds(e.deps));else return wt(o)||fs(o)}return r}function Vn(e){if(e.destroyed)throw new M(205,!1)}function Jt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Xg(e){return!!e.deps}function em(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function tm(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function ps(e,t){for(let n of e)Array.isArray(n)?ps(n,t):n&&vs(n)?ps(n.\u0275providers,t):t(n)}function Eo(e,t){let n;e instanceof bt?(Vn(e),n=e):n=new us(e);let r,o=xe(n),i=se(void 0);try{return t()}finally{xe(o),se(i)}}function uu(){return tu()!==void 0||Kr()!=null}var Ce=0,m=1,D=2,H=3,fe=4,X=5,Nt=6,nn=7,j=8,oe=9,Ae=10,R=11,rn=12,Ps=13,xt=14,ee=15,Je=16,St=17,Re=18,Gn=19,Ls=20,Fe=21,Do=22,He=23,le=24,At=25,Rt=26,P=27,du=1,Xe=6,et=7,zn=8,Ot=9,F=10;function Oe(e){return Array.isArray(e)&&typeof e[du]=="object"}function we(e){return Array.isArray(e)&&e[du]===!0}function Fs(e){return(e.flags&4)!==0}function Be(e){return e.componentOffset>-1}function on(e){return(e.flags&1)===1}function Te(e){return!!e.template}function sn(e){return(e[D]&512)!==0}function tt(e){return(e[D]&256)===256}var js="svg",fu="math";function pe(e){for(;Array.isArray(e);)e=e[Ce];return e}function Vs(e,t){return pe(t[e])}function he(e,t){return pe(t[e.index])}function kt(e,t){return e.data[t]}function pu(e,t){return e[t]}function ge(e,t){let n=t[e];return Oe(n)?n:n[Ce]}function hu(e){return(e[D]&4)===4}function Co(e){return(e[D]&128)===128}function gu(e){return we(e[H])}function ue(e,t){return t==null?null:e[t]}function Hs(e){e[St]=0}function Bs(e){e[D]&1024||(e[D]|=1024,Co(e)&&nt(e))}function mu(e,t){for(;e>0;)t=t[xt],e--;return t}function Qn(e){return!!(e[D]&9216||e[le]?.dirty)}function wo(e){e[Ae].changeDetectionScheduler?.notify(8),e[D]&64&&(e[D]|=1024),Qn(e)&&nt(e)}function nt(e){e[Ae].changeDetectionScheduler?.notify(0);let t=Ke(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!Co(t)));)t=Ke(t)}function To(e,t){if(tt(e))throw new M(911,!1);e[Fe]===null&&(e[Fe]=[]),e[Fe].push(t)}function $s(e,t){if(e[Fe]===null)return;let n=e[Fe].indexOf(t);n!==-1&&e[Fe].splice(n,1)}function Ke(e){let t=e[H];return we(t)?t[H]:t}function Us(e){return e[nn]??=[]}function qs(e){return e.cleanup??=[]}function yu(e,t,n,r){let o=Us(t);o.push(n),e.firstCreatePass&&qs(e).push(r,o.length-1)}var _={lFrame:Au(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var hs=!1;function vu(){return _.lFrame.elementDepthCount}function Iu(){_.lFrame.elementDepthCount++}function Ws(){_.lFrame.elementDepthCount--}function bo(){return _.bindingsEnabled}function Gs(){return _.skipHydrationRootTNode!==null}function zs(e){return _.skipHydrationRootTNode===e}function Qs(){_.skipHydrationRootTNode=null}function y(){return _.lFrame.lView}function k(){return _.lFrame.tView}function Eu(e){return _.lFrame.contextLView=e,e[j]}function Du(e){return _.lFrame.contextLView=null,e}function $(){let e=Zs();for(;e!==null&&e.type===64;)e=e.parent;return e}function Zs(){return _.lFrame.currentTNode}function Cu(){let e=_.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function an(e,t){let n=_.lFrame;n.currentTNode=e,n.isParent=t}function Ys(){return _.lFrame.isParent}function Ks(){_.lFrame.isParent=!1}function wu(){return _.lFrame.contextLView}function Js(){return hs}function cn(e){let t=hs;return hs=e,t}function Tu(){let e=_.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function _o(){return _.lFrame.bindingIndex}function bu(e){return _.lFrame.bindingIndex=e}function ke(){return _.lFrame.bindingIndex++}function ln(e){let t=_.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function _u(){return _.lFrame.inI18n}function Mu(e,t){let n=_.lFrame;n.bindingIndex=n.bindingRootIndex=e,Mo(t)}function Nu(){return _.lFrame.currentDirectiveIndex}function Mo(e){_.lFrame.currentDirectiveIndex=e}function xu(e){let t=_.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function No(){return _.lFrame.currentQueryIndex}function Zn(e){_.lFrame.currentQueryIndex=e}function nm(e){let t=e[m];return t.type===2?t.declTNode:t.type===1?e[X]:null}function Xs(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=nm(i),o===null||(i=i[xt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=_.lFrame=Su();return r.currentTNode=t,r.lView=e,!0}function xo(e){let t=Su(),n=e[m];_.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Su(){let e=_.lFrame,t=e===null?null:e.child;return t===null?Au(e):t}function Au(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 Ru(){let e=_.lFrame;return _.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ea=Ru;function So(){let e=Ru();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 Ou(e){return(_.lFrame.contextLView=mu(e,_.lFrame.contextLView))[j]}function me(){return _.lFrame.selectedIndex}function rt(e){_.lFrame.selectedIndex=e}function Pt(){let e=_.lFrame;return kt(e.tView,e.selectedIndex)}function ku(){_.lFrame.currentNamespace=js}function Pu(){rm()}function rm(){_.lFrame.currentNamespace=null}function Lu(){return _.lFrame.currentNamespace}var Fu=!0;function Ao(){return Fu}function Yn(e){Fu=e}function gs(e,t=null,n=null,r){let o=ta(e,t,n,r);return o.resolveInjectorInitializers(),o}function ta(e,t=null,n=null,r,o=new Set){let i=[n||K,su(e)];return r=r||(typeof e=="object"?void 0:je(e)),new bt(i,t||tn(),r||null,o)}var Ie=class e{static THROW_IF_NOT_FOUND=Dt;static NULL=new Bn;static create(t,n){if(Array.isArray(t))return gs({name:""},n,t,"");{let r=t.name??"";return gs({name:r},t.parent,t.providers,r)}}static \u0275prov=B({token:e,providedIn:"any",factory:()=>Se(Ms)});static __NG_ELEMENT_ID__=-1},om=new x(""),ot=(()=>{class e{static __NG_ELEMENT_ID__=im;static __NG_ENV_ID__=n=>n}return e})(),$n=class extends ot{_lView;constructor(t){super(),this._lView=t}get destroyed(){return tt(this._lView)}onDestroy(t){let n=this._lView;return To(n,t),()=>$s(n,t)}};function im(){return new $n(y())}var Ve=class{_console=console;handleError(t){this._console.error("ERROR",t)}},$e=new x("",{providedIn:"root",factory:()=>{let e=T(ae),t;return n=>{e.destroyed&&!t?setTimeout(()=>{throw n}):(t??=e.get(Ve),t.handleError(n))}}}),ju={provide:Mt,useValue:()=>{T(Ve)},multi:!0};function na(e){return typeof e=="function"&&e[U]!==void 0}function Ro(e,t){let[n,r,o]=os(e,t?.equal),i=n,s=i[U];return i.set=r,i.update=o,i.asReadonly=ra.bind(i),i}function ra(){let e=this[U];if(e.readonlyFn===void 0){let t=()=>this();t[U]=e,e.readonlyFn=t}return e.readonlyFn}function oa(e){return na(e)&&typeof e.set=="function"}var Lt=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=sm}return e})();function sm(){return new Lt(y(),$())}var ce=class{},Kn=new x("",{providedIn:"root",factory:()=>!1});var ia=new x(""),Oo=new x(""),it=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new xn(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})(),ko=(()=>{class e{internalPendingTasks=T(it);scheduler=T(ce);errorHandler=T($e);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ft(...e){}var Jn=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:()=>new ms})}return e})(),ms=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};function vn(e){return{toString:e}.toString()}var Po="__parameters__";function hm(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Md(e,t,n){return vn(()=>{let r=hm(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(Po)?c[Po]:Object.defineProperty(c,Po,{value:[]})[Po];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var gm=bs(Md("Inject",e=>({token:e})),-1),mm=bs(Md("Optional"),8);function ym(e){return typeof e=="function"}var Go=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Nd(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var vm=(()=>{let e=()=>xd;return e.ngInherit=!0,e})();function xd(e){return e.type.prototype.ngOnChanges&&(e.setInput=Em),Im}function Im(){let e=Ad(this),t=e?.current;if(t){let n=e.previous;if(n===Ee)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Em(e,t,n,r,o){let i=this.declaredInputs[r],s=Ad(e)||Dm(e,{previous:Ee,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Go(l&&l.currentValue,n,c===Ee),Nd(e,t,o,n)}var Sd="__ngSimpleChanges__";function Ad(e){return e[Sd]||null}function Dm(e,t){return e[Sd]=t}var Vu=[];var S=function(e,t=null,n){for(let r=0;r<Vu.length;r++){let o=Vu[r];o(e,t,n)}};function Cm(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=xd(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 Rd(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 Ho(e,t,n){Od(e,t,3,n)}function Bo(e,t,n,r){(e[D]&3)===n&&Od(e,t,n,r)}function sa(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function Od(e,t,n,r){let o=r!==void 0?e[St]&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[St]+=65536),(a<i||i==-1)&&(wm(e,n,t,c),e[St]=(e[St]&4294901760)+c+2),c++}function Hu(e,t){S(4,e,t);let n=I(null);try{t.call(e)}finally{I(n),S(5,e,t)}}function wm(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[D]>>14<e[St]>>16&&(e[D]&3)===t&&(e[D]+=16384,Hu(a,i)):Hu(a,i)}var dn=-1,Vt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function Tm(e){return(e.flags&8)!==0}function bm(e){return(e.flags&16)!==0}function _m(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];Mm(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function kd(e){return e===3||e===4||e===6}function Mm(e){return e.charCodeAt(0)===64}function pn(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?Bu(e,n,o,null,t[++r]):Bu(e,n,o,null,null))}}return e}function Bu(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Pd(e){return e!==dn}function zo(e){return e&32767}function Nm(e){return e>>16}function Qo(e,t){let n=Nm(e),r=t;for(;n>0;)r=r[xt],n--;return r}var va=!0;function $u(e){let t=va;return va=e,t}var xm=256,Ld=xm-1,Fd=5,Sm=0,Pe={};function Am(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(_t)&&(r=n[_t]),r==null&&(r=n[_t]=Sm++);let o=r&Ld,i=1<<o;t.data[e+(o>>Fd)]|=i}function Zo(e,t){let n=jd(e,t);if(n!==-1)return n;let r=t[m];r.firstCreatePass&&(e.injectorIndex=t.length,aa(r.data,e),aa(t,null),aa(r.blueprint,null));let o=nc(e,t),i=e.injectorIndex;if(Pd(o)){let s=zo(o),a=Qo(o,t),c=a[m].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function aa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function jd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function nc(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=Ud(o),r===null)return dn;if(n++,o=o[xt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return dn}function Ia(e,t,n){Am(e,t,n)}function Rm(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(kd(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 Vd(e,t,n){if(n&8||e!==void 0)return e;go(t,"NodeInjector")}function Hd(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[oe],i=se(void 0);try{return o?o.get(t,r,n&8):Ts(t,r,n&8)}finally{se(i)}}return Vd(r,t,n)}function Bd(e,t,n,r=0,o){if(e!==null){if(t[D]&2048&&!(r&2)){let s=Fm(e,t,n,r,Pe);if(s!==Pe)return s}let i=$d(e,t,n,r,Pe);if(i!==Pe)return i}return Hd(t,n,r,o)}function $d(e,t,n,r,o){let i=km(n);if(typeof i=="function"){if(!Xs(t,e,r))return r&1?Vd(o,n,r):Hd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))go(n);else return s}finally{ea()}}else if(typeof i=="number"){let s=null,a=jd(e,t),c=dn,l=r&1?t[ee][X]:null;for((a===-1||r&4)&&(c=a===-1?nc(e,t):t[a+8],c===dn||!qu(r,!1)?a=-1:(s=t[m],a=zo(c),t=Qo(c,t)));a!==-1;){let u=t[m];if(Uu(i,a,u.data)){let d=Om(a,t,n,s,r,l);if(d!==Pe)return d}c=t[a+8],c!==dn&&qu(r,t[m].data[a+8]===l)&&Uu(i,a,t)?(s=u,a=zo(c),t=Qo(c,t)):a=-1}}return o}function Om(e,t,n,r,o,i){let s=t[m],a=s.data[e+8],c=r==null?Be(a)&&va:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=$o(a,s,n,c,l);return u!==null?tr(t,s,u,a,o):Pe}function $o(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&&Te(f)&&f.type===n)return c}return null}function tr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Vt){let a=i;if(a.resolving){let f=Jl(s[n]);throw ws(f)}let c=$u(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?se(a.injectImpl):null,p=Xs(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Cm(n,s[n],t)}finally{d!==null&&se(d),$u(c),a.resolving=!1,ea()}}return i}function km(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(_t)?e[_t]:void 0;return typeof t=="number"?t>=0?t&Ld:Pm:t}function Uu(e,t,n){let r=1<<e;return!!(n[t+(e>>Fd)]&r)}function qu(e,t){return!(e&2)&&!(e&1&&t)}var jt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Bd(this._tNode,this._lView,t,Ct(r),n)}};function Pm(){return new jt($(),y())}function Lm(e){return vn(()=>{let t=e.prototype.constructor,n=t[Hn]||Ea(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Hn]||Ea(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ea(e){return ys(e)?()=>{let t=Ea(q(e));return t&&t()}:wt(e)}function Fm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!sn(s);){let a=$d(i,s,n,r|2,Pe);if(a!==Pe)return a;let c=i.parent;if(!c){let l=s[Ls];if(l){let u=l.get(n,Pe,r);if(u!==Pe)return u}c=Ud(s),s=s[xt]}i=c}return o}function Ud(e){let t=e[m],n=t.type;return n===2?t.declTNode:n===1?e[X]:null}function qd(e){return Rm($(),e)}function jm(){return In($(),y())}function In(e,t){return new dr(he(e,t))}var dr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=jm}return e})();function Wd(e){return e instanceof dr?e.nativeElement:e}function Vm(){return this._results[Symbol.iterator]()}var Yo=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=ru(t);(this._changesDetected=!nu(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]=Vm};function Gd(e){return(e.flags&128)===128}var rc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(rc||{}),zd=new Map,Hm=0;function Bm(){return Hm++}function $m(e){zd.set(e[Gn],e)}function Da(e){zd.delete(e[Gn])}var Wu="__ngContext__";function hn(e,t){Oe(t)?(e[Wu]=t[Gn],$m(t)):e[Wu]=t}function Qd(e){return Yd(e[rn])}function Zd(e){return Yd(e[fe])}function Yd(e){for(;e!==null&&!we(e);)e=e[fe];return e}var Ca;function Um(e){Ca=e}function oc(){if(Ca!==void 0)return Ca;if(typeof document<"u")return document;throw new M(210,!1)}var qm=new x("",{providedIn:"root",factory:()=>Wm}),Wm="ng",Kd=new x(""),Gm=new x("",{providedIn:"platform",factory:()=>"unknown"});var zm=new x(""),Qm=new x("",{providedIn:"root",factory:()=>oc().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Zm="h",Ym="b";var Jd="r";var ic="di",sc="s";var Xd=!1,ef=new x("",{providedIn:"root",factory:()=>Xd});var tf=new x("");var Km=(e,t,n,r)=>{};function Jm(e,t,n,r){Km(e,t,n,r)}var nf=new x("");function pi(e){return(e.flags&32)===32}var Xm=()=>null;function rf(e,t,n=!1){return Xm(e,t,n)}function ac(e){return e.get(tf,!1,{optional:!0})}function of(e,t){let n=e.contentQueries;if(n!==null){let r=I(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];Zn(i),a.contentQueries(2,t[s],s)}}}finally{I(r)}}}function wa(e,t,n){Zn(0);let r=I(null);try{t(e,n)}finally{I(r)}}function cc(e,t,n){if(Fs(t)){let r=I(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{I(r)}}}var gn=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e})(gn||{});var Lo;function ey(){if(Lo===void 0&&(Lo=null,Xt.trustedTypes))try{Lo=Xt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Lo}function hi(e){return ey()?.createHTML(e)||e}var Fo;function sf(){if(Fo===void 0&&(Fo=null,Xt.trustedTypes))try{Fo=Xt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Fo}function Gu(e){return sf()?.createHTML(e)||e}function zu(e){return sf()?.createScriptURL(e)||e}var qe=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${lo})`}},Ta=class extends qe{getTypeName(){return"HTML"}},ba=class extends qe{getTypeName(){return"Style"}},_a=class extends qe{getTypeName(){return"Script"}},Ma=class extends qe{getTypeName(){return"URL"}},Na=class extends qe{getTypeName(){return"ResourceURL"}};function En(e){return e instanceof qe?e.changingThisBreaksApplicationSecurity:e}function gi(e,t){let n=af(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${lo})`)}return n===t}function af(e){return e instanceof qe&&e.getTypeName()||null}function ty(e){return new Ta(e)}function ny(e){return new ba(e)}function ry(e){return new _a(e)}function oy(e){return new Ma(e)}function iy(e){return new Na(e)}function sy(e){let t=new Sa(e);return ay()?new xa(t):t}var xa=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(hi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Sa=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=hi(t),n}};function ay(){try{return!!new window.DOMParser().parseFromString(hi(""),"text/html")}catch{return!1}}var cy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function lc(e){return e=String(e),e.match(cy)?e:"unsafe:"+e}function We(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function fr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var cf=We("area,br,col,hr,img,wbr"),lf=We("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),uf=We("rp,rt"),ly=fr(uf,lf),uy=fr(lf,We("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")),dy=fr(uf,We("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")),Qu=fr(cf,uy,dy,ly),df=We("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),fy=We("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"),py=We("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"),hy=fr(df,fy,py),gy=We("script,style,template");var Aa=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=vy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=yy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Zu(t).toLowerCase();if(!Qu.hasOwnProperty(n))return this.sanitizedSomething=!0,!gy.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(!hy.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;df[a]&&(c=lc(c)),this.buf.push(" ",s,'="',Yu(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Zu(t).toLowerCase();Qu.hasOwnProperty(n)&&!cf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Yu(t))}};function my(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function yy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw ff(t);return t}function vy(e){let t=e.firstChild;if(t&&my(e,t))throw ff(t);return t}function Zu(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function ff(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Iy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ey=/([^\#-~ |!])/g;function Yu(e){return e.replace(/&/g,"&amp;").replace(Iy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Ey,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var jo;function pf(e,t){let n=null;try{jo=jo||sy(e);let r=t?String(t):"";n=jo.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=jo.getInertBodyElement(r)}while(r!==i);let a=new Aa().sanitizeChildren(Ku(n)||n);return hi(a)}finally{if(n){let r=Ku(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Ku(e){return"content"in e&&Dy(e)?e.content:null}function Dy(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Cy=/^>|^->|<!--|-->|--!>|<!-$/g,wy=/(<|>)/g,Ty="\u200B$1\u200B";function by(e){return e.replace(Cy,t=>t.replace(wy,Ty))}function _y(e,t){return e.createText(t)}function My(e,t,n){e.setValue(t,n)}function Ny(e,t){return e.createComment(by(t))}function hf(e,t,n){return e.createElement(t,n)}function Ko(e,t,n,r,o){e.insertBefore(t,n,r,o)}function gf(e,t,n){e.appendChild(t,n)}function Ju(e,t,n,r,o){r!==null?Ko(e,t,n,r,o):gf(e,t,n)}function mf(e,t,n,r){e.removeChild(null,t,n,r)}function xy(e,t,n){e.setAttribute(t,"style",n)}function Sy(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function yf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&_m(e,t,r),o!==null&&Sy(e,t,o),i!==null&&xy(e,t,i)}var pr=(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})(pr||{});function Ay(e){let t=uc();return t?Gu(t.sanitize(pr.HTML,e)||""):gi(e,"HTML")?Gu(En(e)):pf(oc(),W(e))}function vf(e){let t=uc();return t?t.sanitize(pr.URL,e)||"":gi(e,"URL")?En(e):lc(W(e))}function If(e){let t=uc();if(t)return zu(t.sanitize(pr.RESOURCE_URL,e)||"");if(gi(e,"ResourceURL"))return zu(En(e));throw new M(904,!1)}var Ry=new Set(["embed","frame","iframe","media","script"]),Oy=new Set(["base","link","script"]);function ky(e,t){return t==="src"&&Ry.has(e)||t==="href"&&Oy.has(e)||t==="xlink:href"&&e==="script"?If:vf}function Py(e,t,n){return ky(t,n)(e)}function uc(){let e=y();return e&&e[Ae].sanitizer}function Ly(e){return e.ownerDocument.defaultView}function Fy(e){return e.ownerDocument}function Ef(e){return e instanceof Function?e():e}function jy(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 Df="ng-template";function Vy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&jy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(dc(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 dc(e){return e.type===4&&e.value!==Df}function Hy(e,t,n){let r=e.type===4&&!n?Df:e.value;return t===r}function By(e,t,n){let r=4,o=e.attrs,i=o!==null?qy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!be(r)&&!be(c))return!1;if(s&&be(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Hy(e,c,n)||c===""&&t.length===1){if(be(r))return!1;s=!0}}else if(r&8){if(o===null||!Vy(e,o,c,n)){if(be(r))return!1;s=!0}}else{let l=t[++a],u=$y(c,o,dc(e),n);if(u===-1){if(be(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(be(r))return!1;s=!0}}}}return be(r)||s}function be(e){return(e&1)===0}function $y(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 Wy(t,e)}function Cf(e,t,n=!1){for(let r=0;r<t.length;r++)if(By(e,t[r],n))return!0;return!1}function Uy(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function qy(e){for(let t=0;t<e.length;t++){let n=e[t];if(kd(n))return t}return e.length}function Wy(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 Gy(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 Xu(e,t){return e?":not("+t.trim()+")":t}function zy(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!==""&&!be(s)&&(t+=Xu(i,o),o=""),r=s,i=i||!be(r);n++}return o!==""&&(t+=Xu(i,o)),t}function Qy(e){return e.map(zy).join(",")}function Zy(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(!be(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Q={};function fc(e,t,n,r,o,i,s,a,c,l,u){let d=P+r,p=d+o,f=Yy(d,p),h=typeof l=="function"?l():l;return f[m]={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 Yy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Q);return n}function Ky(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=fc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function pc(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Ce]=o,d[D]=r|4|128|8|64|1024,(l!==null||e&&e[D]&2048)&&(d[D]|=2048),Hs(d),d[H]=d[xt]=e,d[j]=n,d[Ae]=s||e&&e[Ae],d[R]=a||e&&e[R],d[oe]=c||e&&e[oe]||null,d[X]=i,d[Gn]=Bm(),d[Nt]=u,d[Ls]=l,d[ee]=t.type==2?e[ee]:d,d}function Jy(e,t,n){let r=he(t,e),o=Ky(n),i=e[Ae].rendererFactory,s=hc(e,pc(e,o,null,wf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function wf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Tf(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 hc(e,t){return e[rn]?e[Ps][fe]=t:e[rn]=t,e[Ps]=t,t}function Xy(e=1){bf(k(),y(),me()+e,!1)}function bf(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ho(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Bo(t,i,0,n)}rt(n)}var mi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(mi||{});function Ra(e,t,n,r){let o=I(null);try{let[i,s,a]=e.inputs[n],c=null;(s&mi.SignalBased)!==0&&(c=t[i][U]),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):Nd(t,c,i,r)}finally{I(o)}}var Jo=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Jo||{}),ev;function gc(e,t){return ev(e,t)}var nr=new Set,yi=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(yi||{}),Dn=new x(""),ed=new Set;function Ge(e){ed.has(e)||(ed.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var _f=!1,Oa=class extends de{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,uu()&&(this.destroyRef=T(ot,{optional:!0})??void 0,this.pendingTasks=T(it,{optional:!0})??void 0)}emit(t){let n=I(null);try{super.next(t)}finally{I(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 L&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},Ue=Oa;function Mf(e){let t,n;function r(){e=Ft;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 td(e){return queueMicrotask(()=>e()),()=>{e=Ft}}var mc="isAngularZone",Xo=mc+"_ID",tv=0,te=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new Ue(!1);onMicrotaskEmpty=new Ue(!1);onStable=new Ue(!1);onError=new Ue(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=_f}=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,ov(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(mc)===!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,nv,Ft,Ft);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)}},nv={};function yc(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 rv(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Mf(()=>{e.callbackScheduled=!1,ka(e),e.isCheckStableRunning=!0,yc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ka(e)}function ov(e){let t=()=>{rv(e)},n=tv++;e._inner=e._inner.fork({name:"angular",properties:{[mc]:!0,[Xo]:n,[Xo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(iv(c))return r.invokeTask(i,s,a,c);try{return nd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),rd(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return nd(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!sv(c)&&t(),rd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ka(e),yc(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 ka(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function nd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function rd(e){e._nesting--,yc(e)}var rr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new Ue;onMicrotaskEmpty=new Ue;onStable=new Ue;onError=new Ue;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 iv(e){return Nf(e,"__ignore_ng_zone__")}function sv(e){return Nf(e,"__scheduler_tick__")}function Nf(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var vi=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})(),vc=[0,1,2,3],Ic=(()=>{class e{ngZone=T(te);scheduler=T(ce);errorHandler=T(Ve,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){T(Dn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&S(16),this.executing=!0;for(let r of vc)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),n&&S(17)}register(n){let{view:r}=n;r!==void 0?((r[At]??=[]).push(n),nt(r),r[D]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(yi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})(),or=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let t=this.view?.[At];t&&(this.view[At]=t.filter(n=>n!==this))}};function av(e,t){let n=t?.injector??T(Ie);return Ge("NgAfterNextRender"),lv(e,n,t,!0)}function cv(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function lv(e,t,n,r){let o=t.get(vi);o.impl??=t.get(Ic);let i=t.get(Dn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(ot):null,a=t.get(Lt,null,{optional:!0}),c=new or(o.impl,cv(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var xf=new x("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})});function Sf(e,t,n){let r=e.get(xf);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function uv(e,t){let n=e.get(xf);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function dv(e,t){for(let[n,r]of t)Sf(e,r.animateFns)}function od(e,t,n,r){let o=e?.[Rt]?.enter;t!==null&&o&&o.has(n.index)&&dv(r,o)}function un(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;we(o)?c=o:Oe(o)&&(l=!0,o=o[Ce]);let u=pe(o);e===0&&r!==null?(od(a,r,i,n),s==null?gf(t,r,u):Ko(t,r,u,s||null,!0)):e===1&&r!==null?(od(a,r,i,n),Ko(t,r,u,s||null,!0)):e===2?id(a,i,n,d=>{mf(t,u,l,d)}):e===3&&id(a,i,n,()=>{t.destroyNode(u)}),c!=null&&Cv(t,e,n,c,i,r,s)}}function fv(e,t){Af(e,t),t[Ce]=null,t[X]=null}function pv(e,t,n,r,o,i){r[Ce]=o,r[X]=t,Ei(e,r,n,1,o,i)}function Af(e,t){t[Ae].changeDetectionScheduler?.notify(9),Ei(e,t,t[R],2,null,null)}function hv(e){let t=e[rn];if(!t)return ca(e[m],e);for(;t;){let n=null;if(Oe(t))n=t[rn];else{let r=t[F];r&&(n=r)}if(!n){for(;t&&!t[fe]&&t!==e;)Oe(t)&&ca(t[m],t),t=t[H];t===null&&(t=e),Oe(t)&&ca(t[m],t),n=t&&t[fe]}t=n}}function Ec(e,t){let n=e[Ot],r=n.indexOf(t);n.splice(r,1)}function Ii(e,t){if(tt(t))return;let n=t[R];n.destroyNode&&Ei(e,t,n,3,null,null),hv(t)}function ca(e,t){if(tt(t))return;let n=I(null);try{t[D]&=-129,t[D]|=256,t[le]&&Ye(t[le]),yv(e,t),mv(e,t),t[m].type===1&&t[R].destroy();let r=t[Je];if(r!==null&&we(t[H])){r!==t[H]&&Ec(r,t);let o=t[Re];o!==null&&o.detachView(e)}Da(t)}finally{I(n)}}function id(e,t,n,r){let o=e?.[Rt];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&nr.add(e),Sf(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),gv(e,r)}else e&&nr.delete(e),r(!1)},o)}function gv(e,t){let n=e[Rt]?.running;if(n){n.then(()=>{e[Rt].running=void 0,nr.delete(e),t(!0)});return}t(!1)}function mv(e,t){let n=e.cleanup,r=t[nn];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[nn]=null);let o=t[Fe];if(o!==null){t[Fe]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[He];if(i!==null){t[He]=null;for(let s of i)s.destroy()}}function yv(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 Vt)){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];S(4,a,c);try{c.call(a)}finally{S(5,a,c)}}else{S(4,o,i);try{i.call(o)}finally{S(5,o,i)}}}}}function Rf(e,t,n){return vv(e,t.parent,n)}function vv(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Ce];if(Be(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===gn.None||o===gn.Emulated)return null}return he(r,n)}function Of(e,t,n){return Ev(e,t,n)}function Iv(e,t,n){return e.type&40?he(e,n):null}var Ev=Iv,sd;function Dc(e,t,n,r){let o=Rf(e,r,t),i=t[R],s=r.parent||t[X],a=Of(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Ju(i,o,n[c],a,!1);else Ju(i,o,n,a,!1);sd!==void 0&&sd(i,r,t,n,o)}function Xn(e,t){if(t!==null){let n=t.type;if(n&3)return he(t,e);if(n&4)return Pa(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Xn(e,r);{let o=e[t.index];return we(o)?Pa(-1,o):pe(o)}}else{if(n&128)return Xn(e,t.next);if(n&32)return gc(t,e)()||pe(e[t.index]);{let r=kf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Ke(e[ee]);return Xn(o,r)}else return Xn(e,t.next)}}}return null}function kf(e,t){if(t!==null){let r=e[ee][X],o=t.projection;return r.projection[o]}return null}function Pa(e,t){let n=F+e+1;if(n<t.length){let r=t[n],o=r[m].firstChild;if(o!==null)return Xn(r,o)}return t[et]}function Cc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[oe];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&hn(pe(c),r),n.flags|=2),!pi(n))if(l&8)Cc(e,t,n.child,r,o,i,!1),un(t,e,a,o,c,n,i,r);else if(l&32){let u=gc(n,r),d;for(;d=u();)un(t,e,a,o,d,n,i,r);un(t,e,a,o,c,n,i,r)}else l&16?Pf(e,t,r,n,o,i):un(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Ei(e,t,n,r,o,i){Cc(n,r,e.firstChild,t,o,i,!1)}function Dv(e,t,n){let r=t[R],o=Rf(e,n,t),i=n.parent||t[X],s=Of(i,n,t);Pf(r,0,t,n,o,s)}function Pf(e,t,n,r,o,i){let s=n[ee],c=s[X].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];un(t,e,n[oe],o,u,r,i,n)}else{let l=c,u=s[H];Gd(r)&&(l.flags|=128),Cc(e,t,l,u,o,i,!0)}}function Cv(e,t,n,r,o,i,s){let a=r[et],c=pe(r);a!==c&&un(t,e,n,i,a,o,s);for(let l=F;l<r.length;l++){let u=r[l];Ei(u[m],u,e,t,i,a)}}function wv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Jo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Jo.Important),e.setStyle(n,r,o,i))}}function Lf(e,t,n,r,o){let i=me(),s=r&2;try{rt(-1),s&&t.length>P&&bf(e,t,P,!1),S(s?2:0,o,n),n(r,o)}finally{rt(i),S(s?3:1,o,n)}}function Di(e,t,n){Nv(e,t,n),(n.flags&64)===64&&xv(e,t,n)}function hr(e,t,n=he){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 Tv(e,t,n,r){let i=r.get(ef,Xd)||n===gn.ShadowDom,s=e.selectRootElement(t,i);return bv(s),s}function bv(e){_v(e)}var _v=()=>null;function Mv(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Ff(e,t,n,r,o,i){let s=t[m];if(Ci(e,s,t,n,r)){Be(e)&&Vf(t,e.index);return}e.type&3&&(n=Mv(n)),jf(e,t,n,r,o,i)}function jf(e,t,n,r,o,i){if(e.type&3){let s=he(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function Vf(e,t){let n=ge(t,e);n[D]&16||(n[D]|=64)}function Nv(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Be(n)&&Jy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Zo(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=tr(t,e,s,n);if(hn(c,t),i!==null&&Rv(t,s-r,c,a,n,i),Te(a)){let l=ge(n.index,t);l[j]=tr(t,e,s,n)}}}function xv(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Nu();try{rt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Mo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Sv(c,l)}}finally{rt(-1),Mo(s)}}function Sv(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function wc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Cf(t,i.selectors,!1)&&(r??=[],Te(i)?r.unshift(i):r.push(i))}return r}function Av(e,t,n,r,o,i){let s=he(e,t);Hf(t[R],s,i,e.value,n,r,o)}function Hf(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?W(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Rv(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];Ra(r,n,c,l)}}function Tc(e,t,n,r,o){let i=P+n,s=t[m],a=o(s,t,e,r,n);t[i]=a,an(e,!0);let c=e.type===2;return c?(yf(t[R],a,e),(vu()===0||on(e))&&hn(a,t),Iu()):hn(a,t),Ao()&&(!c||!pi(e))&&Dc(s,t,a,e),e}function bc(e){let t=e;return Ys()?Ks():(t=t.parent,an(t,!1)),t}function _c(e,t){let n=e[oe];if(!n)return;let r;try{r=n.get($e,null)}catch{r=null}r?.(t)}function Ci(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];Ra(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];Ra(u,l,r,o),a=!0}return a}function Ov(e,t){let n=ge(t,e),r=n[m];kv(r,n);let o=n[Ce];o!==null&&n[Nt]===null&&(n[Nt]=rf(o,n[oe])),S(18),Mc(r,n,n[j]),S(19,n[j])}function kv(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Mc(e,t,n){xo(t);try{let r=e.viewQuery;r!==null&&wa(1,r,n);let o=e.template;o!==null&&Lf(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Re]?.finishViewCreation(e),e.staticContentQueries&&of(e,t),e.staticViewQueries&&wa(2,e.viewQuery,n);let i=e.components;i!==null&&Pv(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,So()}}function Pv(e,t){for(let n=0;n<t.length;n++)Ov(e,t[n])}function Cn(e,t,n,r){let o=I(null);try{let i=t.tView,a=e[D]&4096?4096:16,c=pc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[Je]=l;let u=e[Re];return u!==null&&(c[Re]=u.createEmbeddedView(i)),Mc(i,c,n),c}finally{I(o)}}function Ht(e,t){return!t||t.firstChild===null||Gd(e)}function ir(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(pe(i)),we(i)&&Bf(i,r);let s=n.type;if(s&8)ir(e,t,n.child,r);else if(s&32){let a=gc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=kf(t,n);if(Array.isArray(a))r.push(...a);else{let c=Ke(t[ee]);ir(c[m],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Bf(e,t){for(let n=F;n<e.length;n++){let r=e[n],o=r[m].firstChild;o!==null&&ir(r[m],r,o,t)}e[et]!==e[Ce]&&t.push(e[et])}function $f(e){if(e[At]!==null){for(let t of e[At])t.impl.addSequence(t);e[At].length=0}}var Uf=[];function Lv(e){return e[le]??Fv(e)}function Fv(e){let t=Uf.pop()??Object.create(Vv);return t.lView=e,t}function jv(e){e.lView[le]!==e&&(e.lView=null,Uf.push(e))}var Vv=z(G({},yt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{nt(e.lView)},consumerOnSignalRead(){this.lView[le]=this}});function Hv(e){let t=e[le]??Object.create(Bv);return t.lView=e,t}var Bv=z(G({},yt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=Ke(e.lView);for(;t&&!qf(t[m]);)t=Ke(t);t&&Bs(t)},consumerOnSignalRead(){this.lView[le]=this}});function qf(e){return e.type!==2}function Wf(e){if(e[He]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[He])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var $v=100;function Gf(e,t=0){let r=e[Ae].rendererFactory,o=!1;o||r.begin?.();try{Uv(e,t)}finally{o||r.end?.()}}function Uv(e,t){let n=Js();try{cn(!0),La(e,t);let r=0;for(;Qn(e);){if(r===$v)throw new M(103,!1);r++,La(e,1)}}finally{cn(n)}}function qv(e,t,n,r){if(tt(t))return;let o=t[D],i=!1,s=!1;xo(t);let a=!0,c=null,l=null;i||(qf(e)?(l=Lv(t),c=Ze(l)):no()===null?(a=!1,l=Hv(t),c=Ze(l)):t[le]&&(Ye(t[le]),t[le]=null));try{Hs(t),bu(e.bindingStartIndex),n!==null&&Lf(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Ho(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Bo(t,f,0,null),sa(t,0)}if(s||Wv(t),Wf(t),zf(t,0),e.contentQueries!==null&&of(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Ho(t,f)}else{let f=e.contentHooks;f!==null&&Bo(t,f,1),sa(t,1)}zv(e,t);let d=e.components;d!==null&&Zf(t,d,0);let p=e.viewQuery;if(p!==null&&wa(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Ho(t,f)}else{let f=e.viewHooks;f!==null&&Bo(t,f,2),sa(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Do]){for(let f of t[Do])f();t[Do]=null}i||($f(t),t[D]&=-73)}catch(u){throw i||nt(t),u}finally{l!==null&&(It(l,c),a&&jv(l)),So()}}function zf(e,t){for(let n=Qd(e);n!==null;n=Zd(n))for(let r=F;r<n.length;r++){let o=n[r];Qf(o,t)}}function Wv(e){for(let t=Qd(e);t!==null;t=Zd(t)){if(!(t[D]&2))continue;let n=t[Ot];for(let r=0;r<n.length;r++){let o=n[r];Bs(o)}}}function Gv(e,t,n){S(18);let r=ge(t,e);Qf(r,n),S(19,r[j])}function Qf(e,t){Co(e)&&La(e,t)}function La(e,t){let r=e[m],o=e[D],i=e[le],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Et(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)qv(r,e,r.template,e[j]);else if(o&8192){let a=I(null);try{Wf(e),zf(e,1);let c=r.components;c!==null&&Zf(e,c,1),$f(e)}finally{I(a)}}}function Zf(e,t,n){for(let r=0;r<t.length;r++)Gv(e,t[r],n)}function zv(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)rt(~o);else{let i=o,s=n[++r],a=n[++r];Mu(s,i);let c=t[i];S(24,c),a(2,c),S(25,c)}}}finally{rt(-1)}}function wi(e,t){let n=Js()?64:1088;for(e[Ae].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=Ke(e);if(sn(e)&&!r)return e;e=r}return null}function Yf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Kf(e,t){let n=F+t;if(n<e.length)return e[n]}function wn(e,t,n,r=!0){let o=t[m];if(Qv(o,t,e,n),r){let s=Pa(n,e),a=t[R],c=a.parentNode(e[et]);c!==null&&pv(o,e[X],a,t,c,s)}let i=t[Nt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Nc(e,t){let n=sr(e,t);return n!==void 0&&Ii(n[m],n),n}function sr(e,t){if(e.length<=F)return;let n=F+t,r=e[n];if(r){let o=r[Je];o!==null&&o!==e&&Ec(o,r),t>0&&(e[n-1][fe]=r[fe]);let i=qn(e,F+t);fv(r[m],r);let s=i[Re];s!==null&&s.detachView(i[m]),r[H]=null,r[fe]=null,r[D]&=-129}return r}function Qv(e,t,n,r){let o=F+r,i=n.length;r>0&&(n[o-1][fe]=t),r<i-F?(t[fe]=n[o],_s(n,F+r,t)):(n.push(t),t[fe]=null),t[H]=n;let s=t[Je];s!==null&&n!==s&&Jf(s,t);let a=t[Re];a!==null&&a.insertView(e),wo(t),t[D]|=128}function Jf(e,t){let n=e[Ot],r=t[H];if(Oe(r))e[D]|=2;else{let o=r[H][ee];t[ee]!==o&&(e[D]|=2)}n===null?e[Ot]=[t]:n.push(t)}var at=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[m];return ir(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[j]}set context(t){this._lView[j]=t}get destroyed(){return tt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[H];if(we(t)){let n=t[zn],r=n?n.indexOf(this):-1;r>-1&&(sr(t,r),qn(n,r))}this._attachedToViewContainer=!1}Ii(this._lView[m],this._lView)}onDestroy(t){To(this._lView,t)}markForCheck(){wi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[D]&=-129}reattach(){wo(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,Gf(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=sn(this._lView),n=this._lView[Je];n!==null&&!t&&Ec(n,this._lView),Af(this._lView[m],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=sn(this._lView),r=this._lView[Je];r!==null&&!n&&Jf(r,this._lView),wo(this._lView)}};var ar=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Zv;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Cn(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new at(i)}}return e})();function Zv(){return Ti($(),y())}function Ti(e,t){return e.type&4?new ar(t,e,In(e,t)):null}function Tn(e,t,n,r,o){let i=e.data[t];if(i===null)i=Yv(e,t,n,r,o),_u()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Cu();i.injectorIndex=s===null?-1:s.injectorIndex}return an(i,!0),i}function Yv(e,t,n,r,o){let i=Zs(),s=Ys(),a=s?i:i&&i.parent,c=e.data[t]=Jv(e,a,n,t,r,o);return Kv(e,c,i,s),c}function Kv(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 Jv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Gs()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var NA=new RegExp(`^(\\d+)*(${Ym}|${Zm})*(.*)`);function Xv(e){let t=e[Xe]??[],r=e[H][R],o=[];for(let i of t)i.data[ic]!==void 0?o.push(i):eI(i,r);e[Xe]=o}function eI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Jd];for(;n<o;){let i=r.nextSibling;mf(t,r,!1),r=i,n++}}}var tI=()=>null,nI=()=>null;function ei(e,t){return tI(e,t)}function Xf(e,t,n){return nI(e,t,n)}var ep=class{},bi=class{},Fa=class{resolveComponentFactory(t){throw new M(917,!1)}},gr=class{static NULL=new Fa},cr=class{},rI=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>oI()}return e})();function oI(){let e=y(),t=$(),n=ge(t.index,e);return(Oe(n)?n:e)[R]}var tp=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:()=>null})}return e})();var Uo={},fn=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Uo,r);return o!==Uo||n===Uo?o:this.parentInjector.get(t,n,r)}};function ti(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=fo(o,a);else if(i==2){let c=a,l=t[++s];r=fo(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function _i(e,t=0){let n=y();if(n===null)return Se(e,t);let r=$();return Bd(r,n,q(e),t)}function iI(){let e="invalid";throw new Error(e)}function np(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}cI(e,t,n,a,i,c,l)}i!==null&&r!==null&&sI(n,r,i)}function sI(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 aI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function cI(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&Te(f)&&(c=!0,aI(e,n,p)),Ia(Zo(n,t),e,f.type)}hI(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Tf(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=pn(n.mergedAttrs,f.hostAttrs),uI(e,n,t,d,f),pI(d,f,o),s!==null&&s.has(f)){let[g,E]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,E+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}lI(e,n,i)}function lI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))ad(0,t,o,r),ad(1,t,o,r),ld(t,r,!1);else{let i=n.get(o);cd(0,t,i,r),cd(1,t,i,r),ld(t,r,!0)}}}function ad(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),rp(t,i)}}function cd(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),rp(t,s)}}function rp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function ld(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||dc(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function uI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=wt(o.type,!0)),s=new Vt(i,Te(o),_i,null);e.blueprint[r]=s,n[r]=s,dI(e,t,r,Tf(e,n,o.hostVars,Q),o)}function dI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;fI(s)!=a&&s.push(a),s.push(n,r,i)}}function fI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function pI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Te(t)&&(n[""]=e)}}function hI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function xc(e,t,n,r,o,i,s,a){let c=t[m],l=c.consts,u=ue(l,s),d=Tn(c,e,n,r,u);return i&&np(c,t,d,ue(l,a),o),d.mergedAttrs=pn(d.mergedAttrs,d.attrs),d.attrs!==null&&ti(d,d.attrs,!1),d.mergedAttrs!==null&&ti(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Sc(e,t){Rd(e,t),Fs(t)&&e.queries.elementEnd(t)}function gI(e,t,n,r,o,i){let s=t.consts,a=ue(s,o),c=Tn(t,e,n,r,a);if(c.mergedAttrs=pn(c.mergedAttrs,c.attrs),i!=null){let l=ue(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&ti(c,c.attrs,!1),c.mergedAttrs!==null&&ti(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function Ac(e){return ip(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function op(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 ip(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function mI(e,t,n){return e[t]=n}function ne(e,t,n){if(n===Q)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function ni(e,t,n,r){let o=ne(e,t,n);return ne(e,t+1,r)||o}function yI(e,t,n,r,o){let i=ni(e,t,n,r);return ne(e,t+2,o)||i}function sp(e,t,n,r,o,i){let s=ni(e,t,n,r);return ni(e,t+2,o,i)||s}function qo(e,t,n){return function r(o){let i=Be(e)?ge(e.index,t):t;wi(i,5);let s=t[j],a=ud(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=ud(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function ud(e,t,n,r){let o=I(null);try{return S(6,t,n),n(r)!==!1}catch(i){return _c(e,i),!1}finally{S(7,t,n),I(o)}}function ap(e,t,n,r,o,i,s,a){let c=on(e),l=!1,u=null;if(!r&&c&&(u=II(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=he(e,n),p=r?r(d):d;Jm(n,p,i,a);let f=o.listen(p,i,a);if(!vI(i)){let h=r?g=>r(pe(g[e.index])):e.index;cp(h,t,n,i,a,f,!1)}}return l}function vI(e){return e.startsWith("animation")||e.startsWith("transition")}function II(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[nn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function cp(e,t,n,r,o,i,s){let a=t.firstCreatePass?qs(t):null,c=Us(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function dd(e,t,n,r,o,i){let s=t[n],a=t[m],l=a.data[n].outputs[r],d=s[l].subscribe(i);cp(e.index,a,t,o,i,d,!0)}var ja=Symbol("BINDING");var ri=class extends gr{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=De(t);return new ct(n,this.ngModule)}};function EI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&mi.SignalBased)!==0};return o&&(i.transform=o),i})}function DI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function CI(e,t,n){let r=t instanceof ae?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new fn(n,r):n}function wI(e){let t=e.get(cr,null);if(t===null)throw new M(407,!1);let n=e.get(tp,null),r=e.get(ce,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function TI(e,t){let n=lp(e);return hf(t,n,n==="svg"?js:n==="math"?fu:null)}function lp(e){return(e.selectors[0][0]||"div").toLowerCase()}var ct=class extends bi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=EI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=DI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Qy(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){S(22);let a=I(null);try{let c=this.componentDef,l=bI(r,c,s,i),u=CI(c,o||this.ngModule,t),d=wI(u),p=d.rendererFactory.createRenderer(null,c),f=r?Tv(p,r,c.encapsulation,u):TI(c,p),h=s?.some(fd)||i?.some(v=>typeof v!="function"&&v.bindings.some(fd)),g=pc(null,l,null,512|wf(c),null,null,d,p,u,null,rf(f,u,!0));g[P]=f,xo(g);let E=null;try{let v=xc(P,g,2,"#host",()=>l.directiveRegistry,!0,0);yf(p,f,v),hn(f,g),Di(l,g,v),cc(l,v,g),Sc(l,v),n!==void 0&&MI(v,this.ngContentSelectors,n),E=ge(v.index,g),g[j]=E[j],Mc(l,g,null)}catch(v){throw E!==null&&Da(E),Da(g),v}finally{S(23),So()}return new oi(this.componentType,g,!!h)}finally{I(a)}}};function bI(e,t,n,r){let o=e?["ng-version","20.3.21"]:Zy(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[ja].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[ja].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=Wn(d);c.push(p)}return fc(0,null,_I(i,s),1,a,c,null,null,null,[o],null)}function _I(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function fd(e){let t=e[ja].kind;return t==="input"||t==="twoWay"}var oi=class extends ep{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=kt(n[m],P),this.location=In(this._tNode,n),this.instance=ge(this._tNode.index,n)[j],this.hostView=this.changeDetectorRef=new at(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Ci(r,o[m],o,t,n);this.previousInputValues.set(t,n);let s=ge(r.index,o);wi(s,1)}get injector(){return new jt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function MI(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 Mi=(()=>{class e{static __NG_ELEMENT_ID__=NI}return e})();function NI(){let e=$();return dp(e,y())}var xI=Mi,up=class extends xI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return In(this._hostTNode,this._hostLView)}get injector(){return new jt(this._hostTNode,this._hostLView)}get parentInjector(){let t=nc(this._hostTNode,this._hostLView);if(Pd(t)){let n=Qo(t,this._hostLView),r=zo(t),o=n[m].data[r+8];return new jt(o,n)}else return new jt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=pd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-F}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ei(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Ht(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!ym(t),l;if(c)l=n;else{let E=n||{};l=E.index,r=E.injector,o=E.projectableNodes,i=E.environmentInjector||E.ngModuleRef,s=E.directives,a=E.bindings}let u=c?t:new ct(De(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let v=(c?d:this.parentInjector).get(ae,null);v&&(i=v)}let p=De(u.componentType??{}),f=ei(this._lContainer,p?.id??null),h=f?.firstChild??null,g=u.create(d,o,h,i,s,a);return this.insertImpl(g.hostView,l,Ht(this._hostTNode,f)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(gu(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[H],l=new up(c,c[X],c[H]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return wn(s,o,i,r),t.attachToViewContainerRef(),_s(la(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=pd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=sr(this._lContainer,n);r&&(qn(la(this._lContainer),n),Ii(r[m],r))}detach(t){let n=this._adjustIndex(t,-1),r=sr(this._lContainer,n);return r&&qn(la(this._lContainer),n)!=null?new at(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function pd(e){return e[zn]}function la(e){return e[zn]||(e[zn]=[])}function dp(e,t){let n,r=t[e.index];return we(r)?n=r:(n=Yf(r,t,null,e),t[e.index]=n,hc(t,n)),AI(n,t,e,r),new up(n,e,t)}function SI(e,t){let n=e[R],r=n.createComment(""),o=he(t,e),i=n.parentNode(o);return Ko(n,i,r,n.nextSibling(o),!1),r}var AI=OI,RI=()=>!1;function fp(e,t,n){return RI(e,t,n)}function OI(e,t,n,r){if(e[et])return;let o;n.type&8?o=pe(r):o=SI(t,n),e[et]=o}var Va=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ha=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++)Oc(t,n).matches!==null&&this.queries[n].setDirty()}},ii=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=jI(t):this.predicate=t}},Ba=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)}},$a=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,kI(n,i)),this.matchTNodeWithReadOption(t,n,$o(n,t,i,!1,!1))}else r===ar?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,$o(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===dr||o===Mi||o===ar&&n.type&4)this.addMatch(n.index,-2);else{let i=$o(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 kI(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 PI(e,t){return e.type&11?In(e,t):e.type&4?Ti(e,t):null}function LI(e,t,n,r){return n===-1?PI(t,e):n===-2?FI(e,t,r):tr(e,e[m],n,t)}function FI(e,t,n){if(n===dr)return In(t,e);if(n===ar)return Ti(t,e);if(n===Mi)return dp(t,e)}function pp(e,t,n,r){let o=t[Re].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(LI(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Ua(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=pp(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=F;d<u.length;d++){let p=u[d];p[Je]===p[H]&&Ua(p[m],p,l,r)}if(u[Ot]!==null){let d=u[Ot];for(let p=0;p<d.length;p++){let f=d[p];Ua(f[m],f,l,r)}}}}}return r}function Rc(e,t){return e[Re].queries[t].queryList}function hp(e,t,n){let r=new Yo((n&4)===4);return yu(e,t,r,r.destroy),(t[Re]??=new Ha).queries.push(new Va(r))-1}function gp(e,t,n){let r=k();return r.firstCreatePass&&(yp(r,new ii(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),hp(r,y(),t)}function mp(e,t,n,r){let o=k();if(o.firstCreatePass){let i=$();yp(o,new ii(t,n,r),i.index),VI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return hp(o,y(),n)}function jI(e){return e.split(",").map(t=>t.trim())}function yp(e,t,n){e.queries===null&&(e.queries=new Ba),e.queries.track(new $a(t,n))}function VI(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 Oc(e,t){return e.queries.getByIndex(t)}function vp(e,t){let n=e[m],r=Oc(n,t);return r.crossesNgTemplate?Ua(n,e,t,[]):pp(n,e,r,t)}function Ip(e,t,n){let r,o=Fn(()=>{r._dirtyCounter();let i=HI(r,e);if(t&&i===void 0)throw new M(-951,!1);return i});return r=o[U],r._dirtyCounter=Ro(0),r._flatValue=void 0,o}function kc(e){return Ip(!0,!1,e)}function Pc(e){return Ip(!0,!0,e)}function Ep(e,t){let n=e[U];n._lView=y(),n._queryIndex=t,n._queryList=Rc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function HI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[D]&4)return t?void 0:K;let o=Rc(n,r),i=vp(n,r);return o.reset(i,Wd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var mn=class{},Dp=class{};var si=class extends mn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new ri(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=xs(t);this._bootstrapComponents=Ef(i.bootstrap),this._r3Injector=ta(t,n,[{provide:mn,useValue:this},{provide:gr,useValue:this.componentFactoryResolver},...r],je(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)}},ai=class extends Dp{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new si(this.moduleType,t,[])}};var lr=class extends mn{injector;componentFactoryResolver=new ri(this);instance=null;constructor(t){super();let n=new bt([...t.providers,{provide:mn,useValue:this},{provide:gr,useValue:this.componentFactoryResolver}],t.parent||tn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Lc(e,t,n=null){return new lr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var BI=(()=>{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=Io(!1,n.type),o=r.length>0?Lc([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=B({token:e,providedIn:"environment",factory:()=>new e(Se(ae))})}return e})();function $I(e){return vn(()=>{let t=Cp(e),n=z(G({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===rc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(BI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||gn.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ge("NgStandalone"),wp(n);let r=e.dependencies;return n.directiveDefs=hd(r,UI),n.pipeDefs=hd(r,Ss),n.id=QI(n),n})}function UI(e){return De(e)||Wn(e)}function qI(e){return vn(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function WI(e,t){if(e==null)return Ee;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=mi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function GI(e){if(e==null)return Ee;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function zI(e){return vn(()=>{let t=Cp(e);return wp(t),t})}function Cp(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||Ee,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:WI(e.inputs,t),outputs:GI(e.outputs),debugInfo:null}}function wp(e){e.features?.forEach(t=>t(e))}function hd(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function QI(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 ZI(e){return Object.getPrototypeOf(e.prototype).constructor}function Tp(e){let t=ZI(e.type),n=!0,r=[e];for(;t;){let o;if(Te(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=ua(e.inputs),s.declaredInputs=ua(e.declaredInputs),s.outputs=ua(e.outputs);let a=o.hostBindings;a&&eE(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&JI(e,c),l&&XI(e,l),YI(e,o),Yl(e.outputs,o.outputs),Te(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===Tp&&(n=!1)}}t=Object.getPrototypeOf(t)}KI(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 KI(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=pn(o.hostAttrs,n=pn(n,o.hostAttrs))}}function ua(e){return e===Ee?{}:e===K?[]:e}function JI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function XI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function eE(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function tE(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=nE,n.hostDirectives=r?e.map(qa):[e]):r?n.hostDirectives.unshift(...e.map(qa)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function nE(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,bp(s,t,r),o.set(s,[a,t.length-1])}i===0&&Te(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return[t,r,o]}function bp(e,t,n){if(e.hostDirectives!==null)for(let r of e.hostDirectives)if(typeof r=="function"){let o=r();for(let i of o)gd(qa(i),t,n)}else gd(r,t,n)}function gd(e,t,n){let r=Wn(e.directive);rE(r.declaredInputs,e.inputs),bp(r,t,n),n.set(r,e),t.push(r)}function qa(e){return typeof e=="function"?{directive:q(e),inputs:Ee,outputs:Ee}:{directive:q(e.directive),inputs:md(e.inputs),outputs:md(e.outputs)}}function md(e){if(e===void 0||e.length===0)return Ee;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function rE(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function _p(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=pn(e.mergedAttrs,e.attrs);let u=e.tView=fc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),an(e,!1);let c=iE(n,t,e,r);Ao()&&Dc(n,t,c,e),hn(c,t);let l=Yf(c,t,c,e);t[r+P]=l,hc(t,l),fp(l,e,t)}function oE(e,t,n,r,o,i,s,a,c,l,u){let d=n+P,p;return t.firstCreatePass?(p=Tn(t,d,4,s||null,a||null),bo()&&np(t,e,p,ue(t.consts,l),wc),Rd(t,p)):p=t.data[d],_p(p,e,t,n,r,o,i,c),on(p)&&Di(t,e,p),l!=null&&hr(e,p,u),p}function Bt(e,t,n,r,o,i,s,a,c,l,u){let d=n+P,p;if(t.firstCreatePass){if(p=Tn(t,d,4,s||null,a||null),l!=null){let f=ue(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return _p(p,e,t,n,r,o,i,c),l!=null&&hr(e,p,u),p}function Mp(e,t,n,r,o,i,s,a){let c=y(),l=k(),u=ue(l.consts,i);return oE(c,l,e,t,n,r,o,u,void 0,s,a),Mp}function Np(e,t,n,r,o,i,s,a){let c=y(),l=k(),u=ue(l.consts,i);return Bt(c,l,e,t,n,r,o,u,void 0,s,a),Np}var iE=sE;function sE(e,t,n,r){return Yn(!0),t[R].createComment("")}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||{}),yd=0,aE=1,V=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(V||{}),ci=(function(e){return e[e.Initial=-1]="Initial",e})(ci||{}),cE=0,mr=1;var lE=4,uE=5,dE=6,fE=7,da=8,pE=9,Fc=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(Fc||{});function hE(e,t,n){let r=Sp(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function Wo(e,t){let n=Sp(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function xp(e){Wo(1,e),Wo(0,e),Wo(2,e)}function Sp(e){let t=lE;return e===1?t=uE:e===2&&(t=pE),t}function Ni(e){return e+1}function bn(e,t){let n=e[m],r=Ni(t.index);return e[r]}function gE(e,t,n){let r=e[m],o=Ni(t);e[o]=n}function _n(e,t){let n=Ni(t.index);return e.data[n]}function mE(e,t,n){let r=Ni(t);e.data[r]=n}function yE(e,t,n){let r=t[m],o=_n(r,n);switch(e){case V.Complete:return o.primaryTmplIndex;case V.Loading:return o.loadingTmplIndex;case V.Error:return o.errorTmplIndex;case V.Placeholder:return o.placeholderTmplIndex;default:return null}}function vd(e,t){return t===V.Placeholder?e.placeholderBlockConfig?.[yd]??null:t===V.Loading?e.loadingBlockConfig?.[yd]??null:null}function vE(e){return e.loadingBlockConfig?.[aE]??null}function Id(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 IE(e,t){let n=t.primaryTmplIndex+P;return kt(e,n)}var EE=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Lc(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=B({token:e,providedIn:"environment",factory:()=>new e})}return e})();var Ap=new x("");function fa(e,t,n){return e.get(EE).getOrCreateInjector(t,e,n,"")}function DE(e,t,n){if(e instanceof fn){let o=e.injector,i=e.parentInjector,s=fa(i,t,n);return new fn(o,s)}let r=e.get(ae);if(r!==e){let o=fa(r,t,n);return new fn(e,o)}return fa(e,t,n)}function st(e,t,n,r=!1){let o=n[H],i=o[m];if(tt(o))return;let s=bn(o,t),a=s[mr],c=s[fE];if(!(c!==null&&e<c)&&Ed(a,e)&&Ed(s[cE]??-1,e)){let l=_n(i,t),d=!r&&!0&&(vE(l)!==null||vd(l,V.Loading)!==null||vd(l,V.Placeholder))?bE:wE;try{d(e,s,n,t,o)}catch(p){_c(o,p)}}}function CE(e,t){let n=e[Xe]?.findIndex(o=>o.data[sc]===t[mr])??-1;return{dehydratedView:n>-1?e[Xe][n]:null,dehydratedViewIx:n}}function wE(e,t,n,r,o){S(20);let i=yE(e,o,r);if(i!==null){t[mr]=e;let s=o[m],a=i+P,c=kt(s,a),l=0;Nc(n,l);let u;if(e===V.Complete){let h=_n(s,r),g=h.providers;g&&g.length>0&&(u=DE(o[oe],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=CE(n,t),f=Cn(o,c,null,{injector:u,dehydratedView:d});if(wn(n,f,l,Ht(c,d)),wi(f,2),p>-1&&n[Xe]?.splice(p,1),(e===V.Complete||e===V.Error)&&Array.isArray(t[da])){for(let h of t[da])h();t[da]=null}}S(21)}function Ed(e,t){return e<t}function TE(e,t){let n=e[t.index];st(V.Placeholder,t,n)}function Dd(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ie.COMPLETE?st(V.Complete,t,n):e.loadingState===ie.FAILED&&st(V.Error,t,n)})}var bE=null;var _E=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var Rp=new x("");function jc(e){return!!e&&typeof e.then=="function"}function Op(e){return!!e&&typeof e.subscribe=="function"}var kp=new x("");var Vc=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=T(kp,{optional:!0})??[];injector=T(Ie);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Eo(this.injector,o);if(jc(i))n.push(i);else if(Op(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=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pp=new x("");function Lp(){rs(()=>{let e="";throw new M(600,e)})}function Fp(e){return e.isBoundToModule}var ME=10;var yr=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=T($e);afterRenderManager=T(vi);zonelessEnabled=T(Kn);rootEffectScheduler=T(Jn);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new de;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=T(it);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ht(n=>!n))}constructor(){T(Dn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=T(ae);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ie.NULL){return this._injector.get(te).run(()=>{S(10);let s=n instanceof bi;if(!this._injector.get(Vc).done){let h="";throw new M(405,h)}let c;s?c=n:c=this._injector.get(gr).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=Fp(c)?void 0:this._injector.get(mn),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(Rp,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),er(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),S(11,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){S(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(yi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new M(101,!1);let n=I(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,I(n),this.afterTick.next(),S(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(cr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<ME;)S(14),this.synchronizeOnce(),S(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Qn(o))continue;let i=r&&!this.zonelessEnabled?0:1;Gf(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Qn(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;er(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Pp,[]).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),()=>er(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=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function er(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function jp(e,t,n){let r=t[oe],o=t[m];if(e.loadingState!==ie.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=bn(t,n),s=IE(o,e);e.loadingState=ie.IN_PROGRESS,Wo(1,i);let a=e.dependencyResolverFn,c=r.get(ko).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=[],p=[];for(let f of l)if(f.status==="fulfilled"){let h=f.value,g=De(h)||Wn(h);if(g)d.push(g);else{let E=Ss(h);E&&p.push(E)}}else{u=!0;break}if(u){if(e.loadingState=ie.FAILED,e.errorTmplIndex===null){let h=new M(-750,!1);_c(t,h)}}else{e.loadingState=ie.COMPLETE;let f=s.tView;if(d.length>0){f.directiveRegistry=Id(f.directiveRegistry,d);let h=d.map(E=>E.type),g=Io(!1,...h);e.providers=g}p.length>0&&(f.pipeRegistry=Id(f.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ie.COMPLETE,c()}),e.loadingPromise)}function NE(e,t){return t[oe].get(Ap,null,{optional:!0})?.behavior!==Fc.Manual}function xE(e,t,n){let r=t[m],o=t[n.index];if(!NE(e,t))return;let i=bn(t,n),s=_n(r,n);switch(xp(i),s.loadingState){case ie.NOT_STARTED:st(V.Loading,n,o),jp(s,t,n),s.loadingState===ie.IN_PROGRESS&&Dd(s,n,o);break;case ie.IN_PROGRESS:st(V.Loading,n,o),Dd(s,n,o);break;case ie.COMPLETE:st(V.Complete,n,o);break;case ie.FAILED:st(V.Error,n,o);break;default:}}function SE(e,t,n){return e===0?Cd(t,n):e===2?!Cd(t,n):!0}function AE(e){return e!=null&&(e&1)===1}function Cd(e,t){let n=e[oe],r=_n(e[m],t),o=ac(n),i=AE(r.flags),a=bn(e,t)[dE]!==null;return!(i&&a&&o)}function RE(e,t,n,r,o,i,s,a,c,l){let u=y(),d=k(),p=e+P,f=Bt(u,d,e,null,0,0),h=u[oe],g=ac(h);if(d.firstCreatePass){Ge("NgDefer");let Mn={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,Mn,a,s),mE(d,p,Mn)}let E=u[p];fp(E,f,u);let v=null,Z=null;if(E[Xe]?.length>0){let Mn=E[Xe][0].data;Z=Mn[ic]??null,v=Mn[sc]}let Ri=[null,ci.Initial,null,null,null,null,Z,v,null,null];gE(u,p,Ri);let Oi=null;Z!==null&&g&&(Oi=h.get(nf),Oi.add(Z,{lView:u,tNode:f,lContainer:E}));let ol=()=>{xp(Ri),Z!==null&&Oi?.cleanup([Z])};hE(0,Ri,()=>$s(u,ol)),To(u,ol)}function OE(e){let t=y(),n=Pt();if(!SE(0,t,n))return;let r=ke();if(ne(t,r,e)){let o=I(null);try{let i=!!e,a=bn(t,n)[mr];i===!1&&a===ci.Initial?TE(t,n):i===!0&&(a===ci.Initial||a===V.Placeholder)&&xE(0,t,n)}finally{I(o)}}}function Vp(e,t){let n=y(),r=ke();if(ne(n,r,t)){let o=k(),i=Pt();if(Ci(i,o,n,e,t))Be(i)&&Vf(n,i.index);else{let a=he(i,n);Hf(n[R],a,null,i.value,e,t,null)}}return Vp}function Hp(e,t,n,r){let o=y(),i=ke();if(ne(o,i,t)){let s=k(),a=Pt();Av(a,o,e,t,n,r)}return Hp}var PA=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Wa=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 pa(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function kE(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=pa(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=pa(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),E=n(s,p),v=n(i,u);if(Object.is(v,E)){let Z=n(c,f);Object.is(Z,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new li,o??=Td(e,i,s,n),Ga(e,r,i,v))e.updateValue(i,u),i++,s++;else if(o.has(v))r.set(g,e.detach(i)),s--;else{let Z=e.create(i,t[i]);e.attach(i,Z),i++,s++}}for(;i<=c;)wd(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=pa(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new li,o??=Td(e,i,s,n);let f=n(i,d);if(Ga(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;)wd(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 Ga(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function wd(e,t,n,r,o){if(Ga(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Td(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 li=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 PE(e,t,n,r,o,i,s,a){Ge("NgControlFlow");let c=y(),l=k(),u=ue(l.consts,i);return Bt(c,l,e,t,n,r,o,u,256,s,a),Hc}function Hc(e,t,n,r,o,i,s,a){Ge("NgControlFlow");let c=y(),l=k(),u=ue(l.consts,i);return Bt(c,l,e,t,n,r,o,u,512,s,a),Hc}function LE(e,t){Ge("NgControlFlow");let n=y(),r=ke(),o=n[r]!==Q?n[r]:-1,i=o!==-1?ui(n,P+o):void 0,s=0;if(ne(n,r,e)){let a=I(null);try{if(i!==void 0&&Nc(i,s),e!==-1){let c=P+e,l=ui(n,c),u=Ya(n[m],c),d=Xf(l,u,n),p=Cn(n,u,t,{dehydratedView:d});wn(l,p,s,Ht(u,d))}}finally{I(a)}}else if(i!==void 0){let a=Kf(i,s);a!==void 0&&(a[j]=t)}}var za=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-F}};function FE(e){return e}function jE(e,t){return t}var Qa=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function VE(e,t,n,r,o,i,s,a,c,l,u,d,p){Ge("NgControlFlow");let f=y(),h=k(),g=c!==void 0,E=y(),v=a?s.bind(E[ee][j]):s,Z=new Qa(g,v);E[P+e]=Z,Bt(f,h,e+1,t,n,r,o,ue(h.consts,i),256),g&&Bt(f,h,e+2,c,l,u,d,ue(h.consts,p),512)}var Za=class extends Wa{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-F}at(t){return this.getLView(t)[j].$implicit}attach(t,n){let r=n[Nt];this.needsIndexUpdate||=t!==this.length,wn(this.lContainer,n,t,Ht(this.templateTNode,r)),BE(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,$E(this.lContainer,t),UE(this.lContainer,t)}create(t,n){let r=ei(this.lContainer,this.templateTNode.tView.ssrId),o=Cn(this.hostLView,this.templateTNode,new za(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Ii(t[m],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[j].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[j].$index=t}getLView(t){return qE(this.lContainer,t)}};function HE(e){let t=I(null),n=me();try{let r=y(),o=r[m],i=r[n],s=n+1,a=ui(r,s);if(i.liveCollection===void 0){let l=Ya(o,s);i.liveCollection=new Za(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(kE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=ke(),u=c.length===0;if(ne(r,l,u)){let d=n+2,p=ui(r,d);if(u){let f=Ya(o,d),h=Xf(p,f,r),g=Cn(r,f,void 0,{dehydratedView:h});wn(p,g,0,Ht(f,h))}else o.firstUpdatePass&&Xv(p),Nc(p,0)}}}finally{I(t)}}function ui(e,t){return e[t]}function BE(e,t){if(e.length<=F)return;let n=F+t,r=e[n],o=r?r[Rt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[oe];uv(i,o),nr.delete(r),o.detachedLeaveAnimationFns=void 0}}function $E(e,t){if(e.length<=F)return;let n=F+t,r=e[n],o=r?r[Rt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function UE(e,t){return sr(e,t)}function qE(e,t){return Kf(e,t)}function Ya(e,t){return kt(e,t)}function Bp(e,t,n){let r=y(),o=ke();if(ne(r,o,t)){let i=k(),s=Pt();Ff(s,r,e,t,r[R],n)}return Bp}function Ka(e,t,n,r,o){Ci(t,e,n,o?"class":"style",r)}function Bc(e,t,n,r){let o=y(),i=o[m],s=e+P,a=i.firstCreatePass?xc(s,o,2,t,wc,bo(),n,r):i.data[s];if(Tc(a,o,e,t,qp),on(a)){let c=o[m];Di(c,o,a),cc(c,a,o)}return r!=null&&hr(o,a),Bc}function $c(){let e=k(),t=$(),n=bc(t);return e.firstCreatePass&&Sc(e,n),zs(n)&&Qs(),Ws(),n.classesWithoutHost!=null&&Tm(n)&&Ka(e,n,y(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&bm(n)&&Ka(e,n,y(),n.stylesWithoutHost,!1),$c}function $p(e,t,n,r){return Bc(e,t,n,r),$c(),$p}function Uc(e,t,n,r){let o=y(),i=o[m],s=e+P,a=i.firstCreatePass?gI(s,i,2,t,n,r):i.data[s];return Tc(a,o,e,t,qp),r!=null&&hr(o,a),Uc}function qc(){let e=$(),t=bc(e);return zs(t)&&Qs(),Ws(),qc}function Up(e,t,n,r){return Uc(e,t,n,r),qc(),Up}var qp=(e,t,n,r,o)=>(Yn(!0),hf(t[R],r,Lu()));function Wc(e,t,n){let r=y(),o=r[m],i=e+P,s=o.firstCreatePass?xc(i,r,8,"ng-container",wc,bo(),t,n):o.data[i];if(Tc(s,r,e,"ng-container",WE),on(s)){let a=r[m];Di(a,r,s),cc(a,s,r)}return n!=null&&hr(r,s),Wc}function Gc(){let e=k(),t=$(),n=bc(t);return e.firstCreatePass&&Sc(e,n),Gc}function Wp(e,t,n){return Wc(e,t,n),Gc(),Wp}var WE=(e,t,n,r,o)=>(Yn(!0),Ny(t[R],""));function GE(){return y()}function Gp(e,t,n){let r=y(),o=ke();if(ne(r,o,t)){let i=k(),s=Pt();jf(s,r,e,t,r[R],n)}return Gp}var vr="en-US";var zE=vr;function zp(e){typeof e=="string"&&(zE=e.toLowerCase().replace(/_/g,"-"))}function Qp(e,t,n){let r=y(),o=k(),i=$();return Yp(o,r,r[R],i,e,t,n),Qp}function Zp(e,t,n){let r=y(),o=k(),i=$();return(i.type&3||n)&&ap(i,o,r,n,r[R],e,t,qo(i,r,t)),Zp}function Yp(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=qo(r,t,i),ap(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=qo(r,t,i),dd(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=qo(r,t,i),dd(r,t,d,o,o,c)}}function QE(e=1){return Ou(e)}function ZE(e,t){let n=null,r=Uy(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Cf(e,i,!0):Gy(r,i))return o}return n}function YE(e){let t=y()[ee][X];if(!t.projection){let n=e?e.length:1,r=t.projection=ou(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?ZE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function KE(e,t=0,n,r,o,i){let s=y(),a=k(),c=r?e+1:null;c!==null&&Bt(s,a,c,r,o,i,null,n);let l=Tn(a,P+e,16,null,n||null);l.projection===null&&(l.projection=t),Ks();let d=!s[Nt]||Gs();s[ee][X].projection[l.projection]===null&&c!==null?JE(s,a,c):d&&!pi(l)&&Dv(a,s,l)}function JE(e,t,n){let r=P+n,o=t.data[r],i=e[r],s=ei(i,o.tView.ssrId),a=Cn(e,o,void 0,{dehydratedView:s});wn(i,a,0,Ht(o,s))}function XE(e,t,n,r){mp(e,t,n,r)}function eD(e,t,n){gp(e,t,n)}function tD(e){let t=y(),n=k(),r=No();Zn(r+1);let o=Oc(n,r);if(e.dirty&&hu(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=vp(t,r);e.reset(i,Wd),e.notifyOnChanges()}return!0}return!1}function nD(){return Rc(y(),No())}function rD(e,t,n,r,o){Ep(t,mp(e,n,r,o))}function oD(e,t,n,r){Ep(e,gp(t,n,r))}function iD(e=1){Zn(No()+e)}function sD(e){let t=wu();return pu(t,P+e)}function Vo(e,t){return e<<17|t<<2}function $t(e){return e>>17&32767}function aD(e){return(e&2)==2}function cD(e,t){return e&131071|t<<17}function Ja(e){return e|2}function yn(e){return(e&131068)>>2}function ha(e,t){return e&-131069|t<<2}function lD(e){return(e&1)===1}function Xa(e){return e|1}function uD(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=$t(s),c=yn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||en(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=$t(e[a+1]);e[r+1]=Vo(p,a),p!==0&&(e[p+1]=ha(e[p+1],r)),e[a+1]=cD(e[a+1],r)}else e[r+1]=Vo(a,0),a!==0&&(e[a+1]=ha(e[a+1],r)),a=r;else e[r+1]=Vo(c,0),a===0?a=r:e[c+1]=ha(e[c+1],r),c=r;l&&(e[r+1]=Ja(e[r+1])),bd(e,u,r,!0),bd(e,u,r,!1),dD(t,u,e,r,i),s=Vo(a,c),i?t.classBindings=s:t.styleBindings=s}function dD(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&en(i,t)>=0&&(n[r+1]=Xa(n[r+1]))}function bd(e,t,n,r){let o=e[n+1],i=t===null,s=r?$t(o):yn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];fD(c,t)&&(a=!0,e[s+1]=r?Xa(l):Ja(l)),s=r?$t(l):yn(l)}a&&(e[n+1]=r?Ja(o):Xa(o))}function fD(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?en(e,t)>=0:!1}var _e={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function pD(e){return e.substring(_e.key,_e.keyEnd)}function hD(e){return gD(e),Kp(e,Jp(e,0,_e.textEnd))}function Kp(e,t){let n=_e.textEnd;return n===t?-1:(t=_e.keyEnd=mD(e,_e.key=t,n),Jp(e,t,n))}function gD(e){_e.key=0,_e.keyEnd=0,_e.value=0,_e.valueEnd=0,_e.textEnd=e.length}function Jp(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function mD(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Xp(e,t,n){return th(e,t,n,!1),Xp}function eh(e,t){return th(e,t,null,!0),eh}function yD(e){ID(bD,vD,e,!0)}function vD(e,t){for(let n=hD(t);n>=0;n=Kp(t,n))yo(e,pD(t),!0)}function th(e,t,n,r){let o=y(),i=k(),s=ln(2);if(i.firstUpdatePass&&rh(i,e,s,r),t!==Q&&ne(o,s,t)){let a=i.data[me()];oh(i,a,o,o[R],e,o[s+1]=MD(t,n),r,s)}}function ID(e,t,n,r){let o=k(),i=ln(2);o.firstUpdatePass&&rh(o,null,i,r);let s=y();if(n!==Q&&ne(s,i,n)){let a=o.data[me()];if(ih(a,r)&&!nh(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=fo(c,n||"")),Ka(o,a,s,n,r)}else _D(o,a,s,s[R],s[i+1],s[i+1]=TD(e,t,n),r,i)}}function nh(e,t){return t>=e.expandoStartIndex}function rh(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[me()],s=nh(e,n);ih(i,r)&&t===null&&!s&&(t=!1),t=ED(o,i,t,r),uD(o,i,t,n,s,r)}}function ED(e,t,n,r){let o=xu(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=ga(null,e,t,n,r),n=ur(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=ga(o,e,t,n,r),i===null){let c=DD(e,t,r);c!==void 0&&Array.isArray(c)&&(c=ga(null,e,t,c[1],r),c=ur(c,t.attrs,r),CD(e,t,r,c))}else i=wD(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function DD(e,t,n){let r=n?t.classBindings:t.styleBindings;if(yn(r)!==0)return e[$t(r)]}function CD(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[$t(o)]=r}function wD(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=ur(r,s,n)}return ur(r,t.attrs,n)}function ga(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=ur(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function ur(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]),yo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function TD(e,t,n){if(n==null||n==="")return K;let r=[],o=En(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 bD(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&yo(e,r,n)}function _D(e,t,n,r,o,i,s,a){o===Q&&(o=K);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&&oh(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function oh(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=lD(l)?_d(c,t,n,o,yn(l),s):void 0;if(!di(u)){di(i)||aD(l)&&(i=_d(c,null,n,o,a,s));let d=Vs(me(),n);wv(r,s,d,o,i)}}function _d(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?K:void 0);let f=d?vo(p,r):u===r?p:void 0;if(l&&!di(f)&&(f=vo(c,r)),di(f)&&(a=f,s))return a;let h=e[o+1];o=s?$t(h):yn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=vo(c,r))}return a}function di(e){return e!==void 0}function MD(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=je(En(e)))),e}function ih(e,t){return(e.flags&(t?8:16))!==0}function ND(e,t=""){let n=y(),r=k(),o=e+P,i=r.firstCreatePass?Tn(r,o,1,t,null):r.data[o],s=xD(r,n,i,t,e);n[o]=s,Ao()&&Dc(r,n,s,i),an(i,!1)}var xD=(e,t,n,r,o)=>(Yn(!0),_y(t[R],r));function sh(e,t,n,r=""){return ne(e,ke(),n)?t+W(n)+r:Q}function SD(e,t,n,r,o,i=""){let s=_o(),a=ni(e,s,n,o);return ln(2),a?t+W(n)+r+W(o)+i:Q}function AD(e,t,n,r,o,i,s,a,c,l=""){let u=_o(),d=sp(e,u,n,o,s,c);return ln(4),d?t+W(n)+r+W(o)+i+W(s)+a+W(c)+l:Q}function RD(e,t,n,r,o,i,s,a,c,l,u,d,p,f,h,g=""){let E=_o(),v=sp(e,E,n,o,s,c);return v=yI(e,E+4,u,p,h)||v,ln(7),v?t+W(n)+r+W(o)+i+W(s)+a+W(c)+l+W(u)+d+W(p)+f+W(h)+g:Q}function ah(e){return zc("",e),ah}function zc(e,t,n){let r=y(),o=sh(r,e,t,n);return o!==Q&&xi(r,me(),o),zc}function ch(e,t,n,r,o){let i=y(),s=SD(i,e,t,n,r,o);return s!==Q&&xi(i,me(),s),ch}function lh(e,t,n,r,o,i,s,a,c){let l=y(),u=AD(l,e,t,n,r,o,i,s,a,c);return u!==Q&&xi(l,me(),u),lh}function uh(e,t,n,r,o,i,s,a,c,l,u,d,p,f,h){let g=y(),E=RD(g,e,t,n,r,o,i,s,a,c,l,u,d,p,f,h);return E!==Q&&xi(g,me(),E),uh}function xi(e,t,n){let r=Vs(t,e);My(e[R],r,n)}function dh(e,t,n){oa(t)&&(t=t());let r=y(),o=ke();if(ne(r,o,t)){let i=k(),s=Pt();Ff(s,r,e,t,r[R],n)}return dh}function OD(e,t){let n=oa(e);return n&&e.set(t),n}function fh(e,t){let n=y(),r=k(),o=$();return Yp(r,n,n[R],o,e,t),fh}function kD(e,t,n=""){return sh(y(),e,t,n)}function PD(e,t,n){let r=k();if(r.firstCreatePass){let o=Te(e);ec(n,r.data,r.blueprint,o,!0),ec(t,r.data,r.blueprint,o,!1)}}function ec(e,t,n,r,o){if(e=q(e),Array.isArray(e))for(let i=0;i<e.length;i++)ec(e[i],t,n,r,o);else{let i=k(),s=y(),a=$(),c=Tt(e)?e:q(e.provide),l=ks(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Tt(e)||!e.multi){let f=new Vt(l,o,_i,null),h=ya(c,t,o?u:u+p,d);h===-1?(Ia(Zo(a,s),i,c),ma(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=ya(c,t,u+p,d),h=ya(c,t,u,u+p),g=f>=0&&n[f],E=h>=0&&n[h];if(o&&!E||!o&&!g){Ia(Zo(a,s),i,c);let v=jD(o?FD:LD,n.length,o,r,l,e);!o&&E&&(n[h].providerFactory=v),ma(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(v),s.push(v)}else{let v=ph(n[o?h:f],l,!o&&r);ma(i,e,f>-1?f:h,v)}!o&&r&&E&&n[h].componentProviders++}}}function ma(e,t,n,r){let o=Tt(t),i=lu(t);if(o||i){let c=(i?q(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 ph(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function ya(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function LD(e,t,n,r,o){return tc(this.multi,[])}function FD(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=tr(r,r[m],this.providerFactory.index,o);s=c.slice(0,a),tc(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],tc(i,s);return s}function tc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function jD(e,t,n,r,o,i){let s=new Vt(e,n,_i,null);return s.multi=[],s.index=t,s.componentProviders=0,ph(s,o,r&&!n),s}function VD(e,t=[]){return n=>{n.providersResolver=(r,o)=>PD(r,o?o(e):e,t)}}function HD(e,t,n,r){return $D(y(),Tu(),e,t,n,r)}function BD(e,t){let n=e[t];return n===Q?void 0:n}function $D(e,t,n,r,o,i){let s=t+n;return ne(e,s,o)?mI(e,s+1,i?r.call(i,o):r(o)):BD(e,s+1)}function UD(e,t){return Ti(e,t)}var fi=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},qD=(()=>{class e{compileModuleSync(n){return new ai(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=xs(n),i=Ef(o.declarations).reduce((s,a)=>{let c=De(a);return c&&s.push(new ct(c)),s},[]);return new fi(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=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var WD=(()=>{class e{zone=T(te);changeDetectionScheduler=T(ce);applicationRef=T(yr);applicationErrorHandler=T($e);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(n){this.applicationErrorHandler(n)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function hh({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new te(z(G({},gh()),{scheduleInRootZone:n})),[{provide:te,useFactory:e},{provide:Mt,multi:!0,useFactory:()=>{let r=T(WD,{optional:!0});return()=>r.initialize()}},{provide:Mt,multi:!0,useFactory:()=>{let r=T(GD);return()=>{r.initialize()}}},t===!0?{provide:ia,useValue:!0}:[],{provide:Oo,useValue:n??_f},{provide:$e,useFactory:()=>{let r=T(te),o=T(ae),i;return s=>{r.runOutsideAngular(()=>{o.destroyed&&!i?setTimeout(()=>{throw s}):(i??=o.get(Ve),i.handleError(s))})}}}]}function gh(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var GD=(()=>{class e{subscription=new L;initialized=!1;zone=T(te);pendingTasks=T(it);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(()=>{te.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{te.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Qc=(()=>{class e{applicationErrorHandler=T($e);appRef=T(yr);taskService=T(it);ngZone=T(te);zonelessEnabled=T(Kn);tracing=T(Dn,{optional:!0});disableScheduling=T(ia,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new L;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Xo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(T(Oo,{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 rr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?td:Mf;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(Xo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(n),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,td(()=>{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=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zD(){return Ge("NgZoneless"),As([{provide:ce,useExisting:Qc},{provide:te,useClass:rr},{provide:Kn,useValue:!0},{provide:Oo,useValue:!1},[]])}function QD(){return typeof $localize<"u"&&$localize.locale||vr}var Zc=new x("",{providedIn:"root",factory:()=>T(Zc,{optional:!0,skipSelf:!0})||QD()});function ZD(e){return Wl(e)}function YD(e,t){return Fn(e,t?.equal)}var Yc=class{[U];constructor(t){this[U]=t}destroy(){this[U].destroy()}};function KD(e,t){let n=t?.injector??T(Ie),r=t?.manualCleanup!==!0?n.get(ot):null,o,i=n.get(Lt,null,{optional:!0}),s=n.get(ce);return i!==null?(o=eC(i.view,s,e),r instanceof $n&&r._lView===i.view&&(r=null)):o=tC(e,n.get(Jn),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Yc(o)}var mh=z(G({},Gl),{cleanupFns:void 0,zone:null,onDestroyFn:Ft,run(){let e=cn(!1);try{zl(this)}finally{cn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=I(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],I(e)}}}),JD=z(G({},mh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Ye(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),XD=z(G({},mh),{consumerMarkedDirty(){this.view[D]|=8192,nt(this.view),this.notifier.notify(13)},destroy(){Ye(this),this.onDestroyFn(),this.cleanup(),this.view[He]?.delete(this)}});function eC(e,t,n){let r=Object.create(XD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=yh(r,n),e[He]??=new Set,e[He].add(r),r.consumerMarkedDirty(r),r}function tC(e,t,n){let r=Object.create(JD);return r.fn=yh(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function yh(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}var Th=Symbol("InputSignalNode#UNSET"),rC=z(G({},jn),{transformFn:void 0,applyValueToInputSignal(e,t){Kt(e,t)}});function bh(e,t){let n=Object.create(rC);n.value=e,n.transformFn=t?.transform;function r(){if(vt(n),n.value===Th){let o=null;throw new M(-950,o)}return n.value}return r[U]=n,r}var vh=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>qd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},oC=new x("");oC.__NG_ELEMENT_ID__=e=>{let t=$();if(t===null)throw new M(204,!1);if(t.type&2)return t.value;if(e&8)return null;throw new M(204,!1)};function Ih(e,t){return bh(e,t)}function iC(e){return bh(Th,e)}var TF=(Ih.required=iC,Ih);function Eh(e,t){return kc(t)}function sC(e,t){return Pc(t)}var bF=(Eh.required=sC,Eh);function Dh(e,t){return kc(t)}function aC(e,t){return Pc(t)}var _F=(Dh.required=aC,Dh);var Jc=new x(""),cC=new x("");function Ir(e){return!e.moduleRef}function lC(e){let t=Ir(e)?e.r3Injector:e.moduleRef.injector,n=t.get(te);return n.run(()=>{Ir(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get($e),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Ir(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Jc);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Jc);s.add(i),e.moduleRef.onDestroy(()=>{er(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return dC(r,n,()=>{let i=t.get(it),s=i.add(),a=t.get(Vc);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Zc,vr);if(zp(c||vr),!t.get(cC,!0))return Ir(e)?t.get(yr):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ir(e)){let u=t.get(yr);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return uC?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var uC;function dC(e,t,n){try{let r=n();return jc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Si=null;function fC(e=[],t){return Ie.create({name:t,providers:[{provide:Os,useValue:"platform"},{provide:Jc,useValue:new Set([()=>Si=null])},...e]})}function pC(e=[]){if(Si)return Si;let t=fC(e);return Si=t,Lp(),hC(t),t}function hC(e){let t=e.get(Kd,null);Eo(e,()=>{t?.forEach(n=>n())})}var MF=(()=>{class e{static __NG_ELEMENT_ID__=gC}return e})();function gC(e){return mC($(),y(),(e&16)===16)}function mC(e,t,n){if(Be(e)&&!n){let r=ge(e.index,t);return new at(r,r)}else if(e.type&175){let r=t[ee];return new at(r,t)}return null}var Xc=class{constructor(){}supports(t){return Ac(t)}create(t){return new el(t)}},yC=(e,t)=>t,el=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||yC}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<Ch(r,o,i)?n:r,a=Ch(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=[]),!Ac(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,op(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 tl(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 Ai),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 Ai),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}},tl=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}},nl=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}},Ai=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new nl,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 Ch(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function wh(){return new vC([new Xc])}var vC=(()=>{class e{factories;static \u0275prov=B({token:e,providedIn:"root",factory:wh});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=T(e,{optional:!0,skipSelf:!0});return e.create(n,r||wh())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new M(901,!1)}}return e})();function NF(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;S(8);try{let i=o?.injector??pC(r),s=[hh({}),{provide:ce,useExisting:Qc},ju,...n||[]],a=new lr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return lC({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{S(9)}}function xF(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function SF(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var Kc=Symbol("NOT_SET"),_h=new Set,IC=z(G({},jn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Kc,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Kc&&!Et(this))return this.signal;try{for(let o of this.cleanup??_h)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=Ze(this),r;try{r=this.userFn.apply(null,t)}finally{It(this,n)}return(this.value===Kc||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),rl=class extends or{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(ot),s),this.scheduler=o;for(let a of vc){let c=n[a];if(c===void 0)continue;let l=Object.create(IC);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(vt(l),l.value),l.signal[U]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??_h)n()}finally{Ye(t)}}};function AF(e,t){let n=t?.injector??T(Ie),r=n.get(ce),o=n.get(vi),i=n.get(Dn,null,{optional:!0});o.impl??=n.get(Ic);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=n.get(Lt,null,{optional:!0}),c=new rl(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function RF(e,t){let n=De(e),r=t.elementInjector||tn();return new ct(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function OF(e){let t=De(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{G as a,z as b,EC as c,L as d,kh as e,N as f,$i as g,Ui as h,de as i,xn as j,Hh as k,Bh as l,ft as m,Ne as n,Zh as o,Yh as p,Kh as q,Le as r,Oh as s,ht as t,ig as u,gt as v,kn as w,Zr as x,ag as y,cg as z,zi as A,lg as B,mt as C,ug as D,Pl as E,dg as F,fg as G,Pn as H,Qi as I,pg as J,mg as K,yg as L,Zi as M,vg as N,Ig as O,Eg as P,Ki as Q,Dg as R,Cg as S,wg as T,Tg as U,bg as V,_g as W,Mg as X,M as Y,uo as Z,po as _,B as $,Kl as aa,Fg as ba,x as ca,Se as da,T as ea,As as fa,Os as ga,ae as ha,Eo as ia,Eu as ja,Du as ka,ku as la,Pu as ma,Ie as na,om as oa,ot as pa,Ve as qa,$e as ra,na as sa,Ro as ta,ce as ua,it as va,ko as wa,gm as xa,mm as ya,vm as za,Lm as Aa,qd as Ba,dr as Ca,Yo as Da,Um as Ea,qm as Fa,Kd as Ga,Gm as Ha,zm as Ia,Qm as Ja,gn as Ka,En as La,gi as Ma,ty as Na,ny as Oa,ry as Pa,oy as Qa,iy as Ra,lc as Sa,pf as Ta,pr as Ua,Ay as Va,vf as Wa,Py as Xa,Ly as Ya,Fy as Za,Xy as _a,Jo as $a,nr as ab,Dn as bb,Ge as cb,Ue as db,te as eb,av as fb,ar as gb,cr as hb,rI as ib,_i as jb,iI as kb,Mi as lb,mn as mb,Dp as nb,Lc as ob,$I as pb,qI as qb,zI as rb,Tp as sb,tE as tb,Mp as ub,Np as vb,_E as wb,jc as xb,Pp as yb,yr as zb,RE as Ab,OE as Bb,Vp as Cb,Hp as Db,PE as Eb,LE as Fb,FE as Gb,jE as Hb,VE as Ib,HE as Jb,Bp as Kb,Bc as Lb,$c as Mb,$p as Nb,Uc as Ob,qc as Pb,Up as Qb,Wp as Rb,GE as Sb,Gp as Tb,Qp as Ub,Zp as Vb,QE as Wb,YE as Xb,KE as Yb,XE as Zb,eD as _b,tD as $b,nD as ac,rD as bc,oD as cc,iD as dc,sD as ec,Xp as fc,eh as gc,yD as hc,ND as ic,ah as jc,zc as kc,ch as lc,lh as mc,uh as nc,dh as oc,OD as pc,fh as qc,kD as rc,VD as sc,HD as tc,UD as uc,qD as vc,zD as wc,ZD as xc,YD as yc,KD as zc,vh as Ac,oC as Bc,TF as Cc,bF as Dc,_F as Ec,MF as Fc,vC as Gc,NF as Hc,xF as Ic,SF as Jc,AF as Kc,RF as Lc,OF as Mc};