dealposbooks 1.9.6 → 1.9.7

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 (134) hide show
  1. package/3rdpartylicenses.txt +26 -26
  2. package/assets/scss/style.scss +30 -0
  3. package/{chunk-RBDJZRHY.js → chunk-27P5HOS3.js} +1 -1
  4. package/chunk-2HOHR6C5.js +1 -0
  5. package/{chunk-CSMMP7XG.js → chunk-35ER6BC7.js} +1 -1
  6. package/{chunk-BNI5KUDE.js → chunk-3GHEXAAZ.js} +3 -3
  7. package/chunk-3HGVSC6D.js +7 -0
  8. package/{chunk-TC43COAE.js → chunk-3RM5CDGW.js} +1 -1
  9. package/{chunk-G6FJQBZZ.js → chunk-3ZFQSQVU.js} +1 -1
  10. package/chunk-45VFBAOS.js +1 -0
  11. package/{chunk-46TNY5N4.js → chunk-4V5YFD3N.js} +1 -1
  12. package/chunk-6332DY2I.js +82 -0
  13. package/chunk-6EL7TGVK.js +1 -0
  14. package/{chunk-OVCTOPAO.js → chunk-6PS3NJ62.js} +1 -1
  15. package/{chunk-J2SK4PGN.js → chunk-77BBQI2T.js} +1 -1
  16. package/{chunk-PGECEXRR.js → chunk-7ET5CSOO.js} +1 -1
  17. package/{chunk-6ZZARVQO.js → chunk-7IPVVF6Y.js} +1 -1
  18. package/chunk-7JGGV5FX.js +1 -0
  19. package/chunk-7TOJMYLE.js +1 -0
  20. package/chunk-AQRLC7NB.js +1 -0
  21. package/chunk-AZWJMXL6.js +449 -0
  22. package/chunk-BDJHC5O6.js +2 -0
  23. package/{chunk-IIB2DZLA.js → chunk-BPFL7VRT.js} +1 -1
  24. package/{chunk-EXVUABTO.js → chunk-BX74ZLQG.js} +1 -1
  25. package/chunk-C32DCO2H.js +1 -0
  26. package/chunk-C3N6HRIE.js +1 -0
  27. package/{chunk-TFV5QZKR.js → chunk-CEZEYAWZ.js} +1 -1
  28. package/chunk-CGUMUBB7.js +1 -0
  29. package/chunk-CIG34QJJ.js +129 -0
  30. package/{chunk-JDW35ZB5.js → chunk-CNLYDNON.js} +1 -1
  31. package/chunk-CUDRSVFH.js +1 -0
  32. package/{chunk-JP3F2QND.js → chunk-CZWWMQFD.js} +1 -1
  33. package/{chunk-BYD3JK4R.js → chunk-DAQCANBV.js} +1 -1
  34. package/{chunk-OZACNHDP.js → chunk-DJAICZNR.js} +1 -1
  35. package/chunk-DXIZC3FM.js +87 -0
  36. package/chunk-EJCLRSB2.js +1 -0
  37. package/chunk-EVVQ2SFY.js +1 -0
  38. package/{chunk-OEOAUJY5.js → chunk-FDZFCC3N.js} +1 -1
  39. package/{chunk-4S33ZRKF.js → chunk-FTI2QPWV.js} +1 -1
  40. package/{chunk-ASK2IVMC.js → chunk-H6BPUKCW.js} +1 -1
  41. package/{chunk-TK3G2BVM.js → chunk-HFUW7PYZ.js} +1 -1
  42. package/chunk-I3BTHUK3.js +160 -0
  43. package/chunk-IY6KCAQ4.js +1 -0
  44. package/{chunk-JMLETF7Y.js → chunk-J6H5UCJR.js} +1 -1
  45. package/chunk-JL2CIZE7.js +1 -0
  46. package/{chunk-J77A3DFB.js → chunk-JO3SI6HU.js} +1 -1
  47. package/{chunk-32BR7AQL.js → chunk-JZTK7BS7.js} +1 -1
  48. package/{chunk-P6CJ2ONT.js → chunk-K4ALA724.js} +1 -1
  49. package/{chunk-NF3TF3LT.js → chunk-KANHSSLO.js} +1 -1
  50. package/chunk-L5AUQL23.js +1 -0
  51. package/chunk-L66QS3IX.js +81 -0
  52. package/{chunk-YOEPO6LK.js → chunk-LMI4DLB5.js} +1 -1
  53. package/{chunk-GJXWL5XV.js → chunk-LWYZZP3I.js} +1 -1
  54. package/chunk-MF7TC5KB.js +1 -0
  55. package/chunk-NC6RBSOA.js +1 -0
  56. package/{chunk-3L7IWFXM.js → chunk-NR3EHEG3.js} +1 -1
  57. package/chunk-NXCHPBCH.js +1 -0
  58. package/chunk-OXGCSUUS.js +2 -0
  59. package/{chunk-LTZA6IIO.js → chunk-PDNXU4MC.js} +1 -1
  60. package/chunk-QVQOBBLJ.js +1 -0
  61. package/chunk-R6NK3ROE.js +1 -0
  62. package/{chunk-54OPMMIM.js → chunk-R6XNFCQM.js} +1 -1
  63. package/{chunk-HRQJ5DXP.js → chunk-RLR2HFSC.js} +1 -1
  64. package/{chunk-HFFH2WIX.js → chunk-RNOSD5RO.js} +1 -1
  65. package/chunk-RQ52IUQY.js +130 -0
  66. package/{chunk-DOM7WYRM.js → chunk-RSGEQTNJ.js} +1 -1
  67. package/{chunk-35CWG2OK.js → chunk-RYHNURUZ.js} +2 -2
  68. package/{chunk-3DN7TZCI.js → chunk-SH4ALZVS.js} +1 -1
  69. package/{chunk-3HW557B7.js → chunk-TDMJ2M6W.js} +1 -1
  70. package/chunk-TE7Y3LKA.js +1 -0
  71. package/{chunk-AKMHO3LC.js → chunk-TIX3GAPF.js} +1 -1
  72. package/{chunk-XKEV5AED.js → chunk-TLLNQB5C.js} +1 -1
  73. package/{chunk-C5GEP4MM.js → chunk-U75O34AW.js} +1 -1
  74. package/{chunk-I3HFXOYS.js → chunk-UNWDCLFZ.js} +1 -1
  75. package/chunk-UWWFSGE7.js +1 -0
  76. package/{chunk-6TA77CRR.js → chunk-V4IY7RIP.js} +1 -1
  77. package/chunk-VDBXI7BY.js +1 -0
  78. package/{chunk-RT5PUZ5F.js → chunk-VJLO7GNT.js} +1 -1
  79. package/chunk-VP6GWJ6D.js +1 -0
  80. package/{chunk-LKZL77YR.js → chunk-W4KTL6Y6.js} +1 -1
  81. package/{chunk-ZWHB7NI7.js → chunk-W6LBFCQQ.js} +1 -1
  82. package/{chunk-YVEUYFCE.js → chunk-WCXWWANV.js} +5 -5
  83. package/chunk-WVPOYMTO.js +1 -0
  84. package/{chunk-LR2DJRRL.js → chunk-WWWY3VE7.js} +1 -1
  85. package/{chunk-7WXXPCRV.js → chunk-XYU65DNE.js} +1 -1
  86. package/{chunk-34XRAZFC.js → chunk-Y45TAHWD.js} +1 -1
  87. package/chunk-YGADGNDB.js +1 -0
  88. package/chunk-YJ3CWPO4.js +1 -0
  89. package/{chunk-3WB76KQC.js → chunk-YVGWGEPX.js} +1 -1
  90. package/chunk-YXXRJV2N.js +1 -0
  91. package/{chunk-TQZNJ5WF.js → chunk-Z3SHAW6W.js} +1 -1
  92. package/{chunk-AOSPVPK7.js → chunk-ZHU3HOWQ.js} +1 -1
  93. package/chunk-ZWA7RUAY.js +1 -0
  94. package/index.html +2 -2
  95. package/{main-U5PC2W2C.js → main-VZEZO7AT.js} +1 -1
  96. package/package.json +1 -1
  97. package/{styles-GTUKYMN7.css → styles-XXVTW56A.css} +1 -1
  98. package/chunk-27SWEVDU.js +0 -1
  99. package/chunk-2DV653RD.js +0 -1
  100. package/chunk-2OECREUZ.js +0 -1
  101. package/chunk-35KDUCM3.js +0 -1
  102. package/chunk-3G3QSUWH.js +0 -1
  103. package/chunk-43WCLYRX.js +0 -1
  104. package/chunk-4FGQ5T64.js +0 -2
  105. package/chunk-4KXSM3HP.js +0 -1
  106. package/chunk-4QKRWFW4.js +0 -1
  107. package/chunk-6HQX2SM2.js +0 -1
  108. package/chunk-B7JILYJO.js +0 -1
  109. package/chunk-BX3CRF44.js +0 -1
  110. package/chunk-C4LZX33Q.js +0 -449
  111. package/chunk-C7UZ6ZYF.js +0 -1
  112. package/chunk-CTCQB63H.js +0 -1
  113. package/chunk-DNK2GUDB.js +0 -1
  114. package/chunk-ELWFWCNU.js +0 -246
  115. package/chunk-GNP7WGSH.js +0 -1
  116. package/chunk-GTGRV7IH.js +0 -1
  117. package/chunk-HRPP75N7.js +0 -1
  118. package/chunk-JYNZPVLW.js +0 -1
  119. package/chunk-K6753MGR.js +0 -7
  120. package/chunk-LD4G6ND6.js +0 -130
  121. package/chunk-M7MFX6BW.js +0 -1
  122. package/chunk-MCDQ2TIS.js +0 -1
  123. package/chunk-MJVSTWYY.js +0 -1
  124. package/chunk-N2RYBZK7.js +0 -1
  125. package/chunk-N6JCA3CN.js +0 -2
  126. package/chunk-OEJBOFI5.js +0 -1
  127. package/chunk-QPKNYNLC.js +0 -210
  128. package/chunk-UEOO2LYA.js +0 -82
  129. package/chunk-WEWEITR7.js +0 -1
  130. package/chunk-WGZN6AN2.js +0 -1
  131. package/chunk-WZO2ZLBL.js +0 -1
  132. package/chunk-X34Y3TVX.js +0 -1
  133. package/chunk-XFSZDZPJ.js +0 -1
  134. package/chunk-XZGFG6E3.js +0 -1
@@ -1,7 +1,7 @@
1
1
  import{a as re,b as oe}from"./chunk-YQFG5XE2.js";function v(e){return typeof e=="function"}function Ve(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 qn=Ve(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
2
  ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ke(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var F=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(v(r))try{r()}catch(i){t=i instanceof qn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ya(i)}catch(s){t=t??[],s instanceof qn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new qn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ya(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)&&Ke(n,t)}remove(t){let{_finalizers:n}=this;n&&Ke(n,t),t instanceof e&&t._removeParent(this)}};F.EMPTY=(()=>{let e=new F;return e.closed=!0,e})();var $o=F.EMPTY;function Wn(e){return e instanceof F||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function Ya(e){v(e)?e():e.unsubscribe()}var ue={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var It={setTimeout(e,t,...n){let{delegate:r}=It;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=It;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function zn(e){It.setTimeout(()=>{let{onUnhandledError:t}=ue;if(t)t(e);else throw e})}function ve(){}var Ja=Uo("C",void 0,void 0);function Ka(e){return Uo("E",void 0,e)}function Xa(e){return Uo("N",e,void 0)}function Uo(e,t,n){return{kind:e,value:t,error:n}}var Xe=null;function Et(e){if(ue.useDeprecatedSynchronousErrorHandling){let t=!Xe;if(t&&(Xe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Xe;if(Xe=null,n)throw r}}else e()}function ec(e){ue.useDeprecatedSynchronousErrorHandling&&Xe&&(Xe.errorThrown=!0,Xe.error=e)}var et=class extends F{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Wn(t)&&t.add(this)):this.destination=ap}static create(t,n,r){return new Ne(t,n,r)}next(t){this.isStopped?Wo(Xa(t),this):this._next(t)}error(t){this.isStopped?Wo(Ka(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Wo(Ja,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()}}},ip=Function.prototype.bind;function qo(e,t){return ip.call(e,t)}var zo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Gn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Gn(r)}else Gn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Gn(n)}}},Ne=class extends et{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ue.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&qo(t.next,i),error:t.error&&qo(t.error,i),complete:t.complete&&qo(t.complete,i)}):o=t}this.destination=new zo(o)}};function Gn(e){ue.useDeprecatedSynchronousErrorHandling?ec(e):zn(e)}function sp(e){throw e}function Wo(e,t){let{onStoppedNotification:n}=ue;n&&It.setTimeout(()=>n(e,t))}var ap={closed:!0,next:ve,error:sp,complete:ve};var wt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function $(e){return e}function cp(...e){return Go(e)}function Go(e){return e.length===0?$:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var _=(()=>{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=up(n)?n:new Ne(n,r,o);return Et(()=>{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=tc(r),new r((o,i)=>{let s=new Ne({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)}[wt](){return this}pipe(...n){return Go(n)(this)}toPromise(n){return n=tc(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 tc(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function lp(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function up(e){return e&&e instanceof et||lp(e)&&Wn(e)}var nc=Ve(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var se=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Zn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new nc}next(n){Et(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Et(()=>{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(){Et(()=>{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?$o:(this.currentObservers=null,i.push(n),new F(()=>{this.currentObservers=null,Ke(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new _;return n.source=this,n}}return e.create=(t,n)=>new Zn(t,n),e})(),Zn=class extends se{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:$o}};var on=class extends se{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function Qn(e){return e&&v(e.schedule)}function Zo(e){return e[e.length-1]}function He(e){return v(Zo(e))?e.pop():void 0}function Ie(e){return Qn(Zo(e))?e.pop():void 0}function rc(e,t){return typeof Zo(e)=="number"?e.pop():t}function ic(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 oc(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 tt(e){return this instanceof tt?(this.v=e,this):new tt(e)}function sc(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(y){return new Promise(function(A,N){i.push([f,y,A,N])>1||c(f,y)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(y){p(i[0][3],y)}}function l(f){f.value instanceof tt?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 ac(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 oc=="function"?oc(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 Dt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Yn(e){return v(e?.then)}function Jn(e){return v(e[wt])}function Kn(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function Xn(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 dp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var er=dp();function tr(e){return v(e?.[er])}function nr(e){return sc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield tt(n.read());if(o)return yield tt(void 0);yield yield tt(r)}}finally{n.releaseLock()}})}function rr(e){return v(e?.getReader)}function D(e){if(e instanceof _)return e;if(e!=null){if(Jn(e))return fp(e);if(Dt(e))return pp(e);if(Yn(e))return hp(e);if(Kn(e))return cc(e);if(tr(e))return gp(e);if(rr(e))return mp(e)}throw Xn(e)}function fp(e){return new _(t=>{let n=e[wt]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function pp(e){return new _(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function hp(e){return new _(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,zn)})}function gp(e){return new _(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function cc(e){return new _(t=>{yp(e,t).catch(n=>t.error(n))})}function mp(e){return cc(nr(e))}function yp(e,t){var n,r,o,i;return ic(this,void 0,void 0,function*(){try{for(n=ac(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 z(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 Qo(e){return v(e?.lift)}function I(e){return t=>{if(Qo(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 m(e,t,n,r,o){return new Yo(e,t,n,r,o)}var Yo=class extends et{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 or(e,t=0){return I((n,r)=>{n.subscribe(m(r,o=>z(r,e,()=>r.next(o),t),()=>z(r,e,()=>r.complete(),t),o=>z(r,e,()=>r.error(o),t)))})}function ir(e,t=0){return I((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function lc(e,t){return D(e).pipe(ir(t),or(t))}function uc(e,t){return D(e).pipe(ir(t),or(t))}function dc(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function fc(e,t){return new _(n=>{let r;return z(n,t,()=>{r=e[er](),z(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)}),()=>v(r?.return)&&r.return()})}function sr(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{z(n,t,()=>{let r=e[Symbol.asyncIterator]();z(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function pc(e,t){return sr(nr(e),t)}function hc(e,t){if(e!=null){if(Jn(e))return lc(e,t);if(Dt(e))return dc(e,t);if(Yn(e))return uc(e,t);if(Kn(e))return sr(e,t);if(tr(e))return fc(e,t);if(rr(e))return pc(e,t)}throw Xn(e)}function Ee(e,t){return t?hc(e,t):D(e)}function Jo(...e){let t=Ie(e);return Ee(e,t)}function Be(e,t){return I((n,r)=>{let o=0;n.subscribe(m(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:vp}=Array,{getPrototypeOf:Ip,prototype:Ep,keys:wp}=Object;function ar(e){if(e.length===1){let t=e[0];if(vp(t))return{args:t,keys:null};if(Dp(t)){let n=wp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Dp(e){return e&&typeof e=="object"&&Ip(e)===Ep}var{isArray:bp}=Array;function Mp(e,t){return bp(t)?e(...t):e(t)}function bt(e){return Be(t=>Mp(e,t))}function cr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Cp(...e){let t=Ie(e),n=He(e),{args:r,keys:o}=ar(e);if(r.length===0)return Ee([],t);let i=new _(xp(r,t,o?s=>cr(o,s):$));return n?i.pipe(bt(n)):i}function xp(e,t,n=$){return r=>{gc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)gc(t,()=>{let l=Ee(e[c],t),u=!1;l.subscribe(m(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function gc(e,t,n){e?z(n,e,t):t()}function Ko(e){return I((t,n)=>{let r=null,o=!1,i;r=t.subscribe(m(n,void 0,void 0,s=>{i=D(e(s,Ko(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var lr=class extends F{constructor(t,n){super()}schedule(t,n=0){return this}};var sn={setInterval(e,t,...n){let{delegate:r}=sn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=sn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Mt=class extends lr{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 sn.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&&sn.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,Ke(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var an={now(){return(an.delegate||Date).now()},delegate:void 0};var Ct=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)}};Ct.now=an.now;var xt=class extends Ct{constructor(t,n=Ct.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 Se=new xt(Mt),mc=Se;function _p(e,t=Se){return I((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(m(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 yc(e,t=$){return e=e??Tp,I((n,r)=>{let o,i=!0;n.subscribe(m(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Tp(e,t){return e===t}var cn=class extends se{constructor(t=1/0,n=1/0,r=an){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function vc(e={}){let{connector:t=()=>new se,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 y=s;f(),y?.unsubscribe()};return I((y,A)=>{l++,!d&&!u&&p();let N=c=c??t();A.add(()=>{l--,l===0&&!d&&!u&&(a=Xo(h,o))}),N.subscribe(A),!s&&l>0&&(s=new Ne({next:ye=>N.next(ye),error:ye=>{d=!0,p(),a=Xo(f,n,ye),N.error(ye)},complete:()=>{u=!0,p(),a=Xo(f,r),N.complete()}}),D(y).subscribe(s))})(i)}}function Xo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ne({next:()=>{r.unsubscribe(),e()}});return D(t(...n)).subscribe(r)}function Ic(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,vc({connector:()=>new cn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ec(e,t){return I((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(m(r,c=>{o?.unsubscribe();let l=0,u=i++;D(e(c,u)).subscribe(o=m(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function wc(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?I((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(m(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)}))}):$}function ei(){return I((e,t)=>{let n=null;e._refCount++;let r=m(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 ti=class extends _{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Qo(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 F;let n=this.getSubject();t.add(this.source.subscribe(m(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=F.EMPTY)}return t}refCount(){return ei()(this)}};var _t={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=_t;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new F(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=_t;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=_t;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var ur=class extends Mt{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=_t.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&&(_t.cancelAnimationFrame(n),t._scheduled=void 0)}};var dr=class extends xt{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 Np=new dr(ur);var ke=new _(e=>e.complete());function Sp(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new _(t?o=>t.schedule(r,0,o):r)}function kp(e){return!!e&&(e instanceof _||v(e.lift)&&v(e.subscribe))}var nt=Ve(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function fr(e){return e instanceof Date&&!isNaN(e)}var Dc=Ve(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function bc(e,t){let{first:n,each:r,with:o=Rp,scheduler:i=t??Se,meta:s=null}=fr(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return I((a,c)=>{let l,u,d=null,p=0,f=h=>{u=z(c,i,()=>{try{l.unsubscribe(),D(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(y){c.error(y)}},h)};l=a.subscribe(m(c,h=>{u?.unsubscribe(),p++,c.next(d=h),r>0&&f(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function Rp(e){throw new Dc(e)}function Mc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=y=>l<r?h(y):c.push(y),h=y=>{i&&t.next(y),l++;let A=!1;D(n(y,u++)).subscribe(m(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{A=!0},void 0,()=>{if(A)try{for(l--;c.length&&l<r;){let N=c.shift();s?z(t,s,()=>h(N)):h(N)}p()}catch(N){t.error(N)}}))};return e.subscribe(m(t,f,()=>{d=!0,p()})),()=>{a?.()}}function we(e,t,n=1/0){return v(t)?we((r,o)=>Be((i,s)=>t(r,i,o,s))(D(e(r,o))),n):(typeof t=="number"&&(n=t),I((r,o)=>Mc(r,o,e,n)))}function ln(e=1/0){return we($,e)}function Cc(){return ln(1)}function Tt(...e){return Cc()(Ee(e,Ie(e)))}function Op(e){return new _(t=>{D(e()).subscribe(t)})}function Ap(...e){let t=He(e),{args:n,keys:r}=ar(e),o=new _(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;D(n[u]).subscribe(m(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?cr(r,a):a),i.complete())}))}});return t?o.pipe(bt(t)):o}var Pp=["addListener","removeListener"],Lp=["addEventListener","removeEventListener"],Fp=["on","off"];function ni(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return ni(e,t,n).pipe(bt(r));let[o,i]=Hp(e)?Lp.map(s=>a=>e[s](t,a,n)):jp(e)?Pp.map(xc(e,t)):Vp(e)?Fp.map(xc(e,t)):[];if(!o&&Dt(e))return we(s=>ni(s,t,n))(D(e));if(!o)throw new TypeError("Invalid event target");return new _(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function xc(e,t){return n=>r=>e[n](t,r)}function jp(e){return v(e.addListener)&&v(e.removeListener)}function Vp(e){return v(e.on)&&v(e.off)}function Hp(e){return v(e.addEventListener)&&v(e.removeEventListener)}function un(e=0,t,n=mc){let r=-1;return t!=null&&(Qn(t)?n=t:r=t),new _(o=>{let i=fr(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 Bp(e=0,t=Se){return e<0&&(e=0),un(e,e,t)}function $p(...e){let t=Ie(e),n=rc(e,1/0),r=e;return r.length?r.length===1?D(r[0]):ln(n)(Ee(r,t)):ke}var{isArray:Up}=Array;function pr(e){return e.length===1&&Up(e[0])?e[0]:e}function _c(e,t){return(n,r)=>!e.call(t,n,r)}function Re(e,t){return I((n,r)=>{let o=0;n.subscribe(m(r,i=>e.call(t,i,o++)&&r.next(i)))})}function qp(e,t,n){return[Re(t,n)(D(e)),Re(_c(t,n))(D(e))]}function Wp(...e){return e=pr(e),e.length===1?D(e[0]):new _(zp(e))}function zp(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(D(e[r]).subscribe(m(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function Gp(...e){let t=He(e),n=pr(e);return n.length?new _(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)D(n[s]).subscribe(m(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):ke}function Tc(e){return I((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(m(n,l=>{r=!0,o=l,i||D(e(l)).subscribe(i=m(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Zp(e,t=Se){return Tc(()=>un(e,t))}function Nc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(m(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 Sc(e,t){return v(t)?we(e,t,1):we(e,1)}function Qp(e){return I((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(m(n,a=>{i?.unsubscribe(),r=!0,o=a,i=m(n,s,ve),D(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function dn(e){return I((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ri(e){return e<=0?()=>ke:I((t,n)=>{let r=0;t.subscribe(m(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function hr(e=Yp){return I((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Yp(){return new nt}function Jp(...e){return t=>Tt(t,Jo(...e))}function Kp(e){return I((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Xp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Re((o,i)=>e(o,i,r)):$,ri(1),n?dn(t):hr(()=>new nt))}function oi(e){return e<=0?()=>ke:I((t,n)=>{let r=[];t.subscribe(m(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 eh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Re((o,i)=>e(o,i,r)):$,oi(1),n?dn(t):hr(()=>new nt))}function th(e,t){return I(Nc(e,t,arguments.length>=2,!0))}function kc(...e){let t=Ie(e);return I((n,r)=>{(t?Tt(e,n,t):Tt(e,n)).subscribe(r)})}function nh(e){return I((t,n)=>{D(e).subscribe(m(n,()=>n.complete(),ve)),!n.closed&&t.subscribe(n)})}function rh(...e){let t=He(e);return I((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)D(e[c]).subscribe(m(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every($))&&(s=null))},ve));n.subscribe(m(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}function ci(e,t){return Object.is(e,t)}var j=null,gr=!1,li=1,Y=Symbol("SIGNAL");function M(e){let t=j;return j=e,t}function ui(){return j}var Nt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function St(e){if(gr)throw new Error("");if(j===null)return;j.consumerOnSignalRead(e);let t=j.nextProducerIndex++;if(Er(j),t<j.producerNode.length&&j.producerNode[t]!==e&&fn(j)){let n=j.producerNode[t];Ir(n,j.producerIndexOfThis[t])}j.producerNode[t]!==e&&(j.producerNode[t]=e,j.producerIndexOfThis[t]=fn(j)?Oc(e,j,t):0),j.producerLastReadVersion[t]=e.version}function Rc(){li++}function di(e){if(!(fn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===li)){if(!e.producerMustRecompute(e)&&!vr(e)){ai(e);return}e.producerRecomputeValue(e),ai(e)}}function fi(e){if(e.liveConsumerNode===void 0)return;let t=gr;gr=!0;try{for(let n of e.liveConsumerNode)n.dirty||oh(n)}finally{gr=t}}function pi(){return j?.consumerAllowSignalWrites!==!1}function oh(e){e.dirty=!0,fi(e),e.consumerMarkedDirty?.(e)}function ai(e){e.dirty=!1,e.lastCleanEpoch=li}function pn(e){return e&&(e.nextProducerIndex=0),M(e)}function yr(e,t){if(M(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(fn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Ir(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function vr(e){Er(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(di(n),r!==n.version))return!0}return!1}function hn(e){if(Er(e),fn(e))for(let t=0;t<e.producerNode.length;t++)Ir(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Oc(e,t,n){if(Ac(e),e.liveConsumerNode.length===0&&Pc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Oc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Ir(e,t){if(Ac(e),e.liveConsumerNode.length===1&&Pc(e))for(let r=0;r<e.producerNode.length;r++)Ir(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Er(o),o.producerIndexOfThis[r]=t}}function fn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Er(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Ac(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Pc(e){return e.producerNode!==void 0}function wr(e,t){let n=Object.create(ih);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(di(n),St(n),n.value===mr)throw n.error;return n.value};return r[Y]=n,r}var ii=Symbol("UNSET"),si=Symbol("COMPUTING"),mr=Symbol("ERRORED"),ih=oe(re({},Nt),{value:ii,dirty:!0,error:null,equal:ci,kind:"computed",producerMustRecompute(e){return e.value===ii||e.value===si},producerRecomputeValue(e){if(e.value===si)throw new Error("Detected cycle in computations.");let t=e.value;e.value=si;let n=pn(e),r,o=!1;try{r=e.computation(),M(null),o=t!==ii&&t!==mr&&r!==mr&&e.equal(t,r)}catch(i){r=mr,e.error=i}finally{yr(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function sh(){throw new Error}var Lc=sh;function Fc(e){Lc(e)}function hi(e){Lc=e}var ah=null;function gi(e,t){let n=Object.create(Dr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>(St(n),n.value);return r[Y]=n,r}function kt(e,t){pi()||Fc(e),e.equal(e.value,t)||(e.value=t,ch(e))}function mi(e,t){pi()||Fc(e),kt(e,t(e.value))}var Dr=oe(re({},Nt),{equal:ci,value:void 0,kind:"signal"});function ch(e){e.version++,Rc(),fi(e),ah?.()}function yi(e){let t=M(null);try{return e()}finally{M(t)}}var vi;function gn(){return vi}function Oe(e){let t=vi;return vi=e,t}var br=Symbol("NotFound");var Fl="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",x=class extends Error{code;constructor(t,n){super(jl(t,n)),this.code=t}};function fh(e){return`NG0${Math.abs(e)}`}function jl(e,t){return`${fh(e)}${t?": "+t:""}`}var go=Symbol("InputSignalNode#UNSET"),Vl=oe(re({},Dr),{transformFn:void 0,applyValueToInputSignal(e,t){kt(e,t)}});function Hl(e,t){let n=Object.create(Vl);n.value=e,n.transformFn=t?.transform;function r(){if(St(n),n.value===go){let o=null;throw new x(-950,o)}return n.value}return r[Y]=n,r}function Rn(e){return{toString:e}.toString()}var Mr="__parameters__";function ph(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Bl(e,t,n){return Rn(()=>{let r=ph(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(Mr)?c[Mr]:Object.defineProperty(c,Mr,{value:[]})[Mr];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 $e=globalThis;function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function hh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ee(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ee).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 Fi(e,t){return e?t?`${e} ${t}`:e:t||""}var gh=O({__forward_ref__:O});function $l(e){return e.__forward_ref__=$l,e.toString=function(){return ee(this())},e}function U(e){return Ul(e)?e():e}function Ul(e){return typeof e=="function"&&e.hasOwnProperty(gh)&&e.__forward_ref__===$l}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function dS(e){return{providers:e.providers||[],imports:e.imports||[]}}function mo(e){return jc(e,ql)||jc(e,Wl)}function fS(e){return mo(e)!==null}function jc(e,t){return e.hasOwnProperty(t)?e[t]:null}function mh(e){let t=e&&(e[ql]||e[Wl]);return t||null}function Vc(e){return e&&(e.hasOwnProperty(Hc)||e.hasOwnProperty(yh))?e[Hc]:null}var ql=O({\u0275prov:O}),Hc=O({\u0275inj:O}),Wl=O({ngInjectableDef:O}),yh=O({ngInjectorDef:O}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=B({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function zl(e){return e&&!!e.\u0275providers}var vh=O({\u0275cmp:O}),Ih=O({\u0275dir:O}),Eh=O({\u0275pipe:O}),wh=O({\u0275mod:O}),Lr=O({\u0275fac:O}),In=O({__NG_ELEMENT_ID__:O}),Bc=O({__NG_ENV_ID__:O});function be(e){return typeof e=="string"?e:e==null?"":String(e)}function Dh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():be(e)}function Gl(e,t){throw new x(-200,e)}function Js(e,t){throw new x(-201,!1)}var T=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(T||{}),ji;function Zl(){return ji}function X(e){let t=ji;return ji=e,t}function Ql(e,t,n){let r=mo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(t!==void 0)return t;Js(e,"Injector")}var bh={},ot=bh,Vi="__NG_DI_FLAG__",Fr=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=n;return this.injector.get(t,r.optional?br:ot,r)}},jr="ngTempTokenPath",Mh="ngTokenPath",Ch=/\n/gm,xh="\u0275",$c="__source";function _h(e,t=T.Default){if(gn()===void 0)throw new x(-203,!1);if(gn()===null)return Ql(e,void 0,t);{let n=gn(),r;return n instanceof Fr?r=n.injector:r=n,r.get(e,t&T.Optional?null:void 0,t)}}function We(e,t=T.Default){return(Zl()||_h)(U(e),t)}function C(e,t=T.Default){return We(e,yo(t))}function yo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Hi(e){let t=[];for(let n=0;n<e.length;n++){let r=U(e[n]);if(Array.isArray(r)){if(r.length===0)throw new x(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Th(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(We(o,i))}else t.push(We(r))}return t}function Yl(e,t){return e[Vi]=t,e.prototype[Vi]=t,e}function Th(e){return e[Vi]}function Nh(e,t,n,r){let o=e[jr];throw t[$c]&&o.unshift(t[$c]),e.message=Sh(`
5
- `+e.message,o,n,r),e[Mh]=o,e[jr]=null,e}function Sh(e,t,n,r=null){e=e&&e.charAt(0)===`
6
- `&&e.charAt(1)==xh?e.slice(2):e;let o=ee(t);if(Array.isArray(t))o=t.map(ee).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ee(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Ch,`
7
- `)}`}var Jl=Yl(Bl("Optional"),8);var Kl=Yl(Bl("SkipSelf"),4);function st(e,t){let n=e.hasOwnProperty(Lr);return n?e[Lr]:null}function kh(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 Rh(e){return e.flat(Number.POSITIVE_INFINITY)}function Ks(e,t){e.forEach(n=>Array.isArray(n)?Ks(n,t):t(n))}function Xl(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Vr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Oh(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ah(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 vo(e,t,n){let r=On(e,t);return r>=0?e[r|1]=n:(r=~r,Ah(e,r,t,n)),r}function Ii(e,t){let n=On(e,t);if(n>=0)return e[n|1]}function On(e,t){return Ph(e,t,1)}function Ph(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 Me={},J=[],En=new R(""),eu=new R("",-1),tu=new R(""),Hr=class{get(t,n=ot){if(n===ot){let r=new Error(`NullInjectorError: No provider for ${ee(t)}!`);throw r.name="NullInjectorError",r}return n}};function nu(e,t){let n=e[wh]||null;if(!n&&t===!0)throw new Error(`Type ${ee(e)} does not have '\u0275mod' property.`);return n}function ze(e){return e[vh]||null}function ru(e){return e[Ih]||null}function Lh(e){return e[Eh]||null}function Xs(e){return{\u0275providers:e}}function Fh(...e){return{\u0275providers:ou(!0,e),\u0275fromNgModule:!0}}function ou(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ks(t,s=>{let a=s;Bi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&iu(o,i),n}function iu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ea(o,i=>{t(i,r)})}}function Bi(e,t,n,r){if(e=U(e),!e)return!1;let o=null,i=Vc(e),s=!i&&ze(e);if(!i&&!s){let c=e.ngModule;if(i=Vc(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)Bi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Ks(i.imports,u=>{Bi(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&iu(l,t)}if(!a){let l=st(o)||(()=>new o);t({provide:o,useFactory:l,deps:J},o),t({provide:tu,useValue:o,multi:!0},o),t({provide:En,useValue:()=>We(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ea(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ea(e,t){for(let n of e)zl(n)&&(n=n.\u0275providers),Array.isArray(n)?ea(n,t):t(n)}var jh=O({provide:String,useValue:O});function su(e){return e!==null&&typeof e=="object"&&jh in e}function Vh(e){return!!(e&&e.useExisting)}function Hh(e){return!!(e&&e.useFactory)}function jt(e){return typeof e=="function"}function Bh(e){return!!e.useClass}var au=new R(""),Sr={},Uc={},Ei;function Io(){return Ei===void 0&&(Ei=new Hr),Ei}var Ge=class{},wn=class extends Ge{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,Ui(t,s=>this.processProvider(s)),this.records.set(eu,Rt(void 0,this)),o.has("environment")&&this.records.set(Ge,Rt(void 0,this));let i=this.records.get(au);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(tu,J,T.Self))}retrieve(t,n){let r=n;return this.get(t,r.optional?br:ot,r)}destroy(){yn(this),this._destroyed=!0;let t=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(t)}}onDestroy(t){return yn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){yn(this);let n=Oe(this),r=X(void 0),o;try{return t()}finally{Oe(n),X(r)}}get(t,n=ot,r=T.Default){if(yn(this),t.hasOwnProperty(Bc))return t[Bc](this);r=yo(r);let o,i=Oe(this),s=X(void 0);try{if(!(r&T.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=zh(t)&&mo(t);l&&this.injectableDefInScope(l)?c=Rt($i(t),Sr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let a=r&T.Self?Io():this.parent;return n=r&T.Optional&&n===ot?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[jr]=a[jr]||[]).unshift(ee(t)),i)throw a;return Nh(a,t,"R3InjectorError",this.source)}else throw a}finally{X(s),Oe(i)}}resolveInjectorInitializers(){let t=M(null),n=Oe(this),r=X(void 0),o;try{let i=this.get(En,J,T.Self);for(let s of i)s()}finally{Oe(n),X(r),M(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ee(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=U(t);let n=jt(t)?t:U(t&&t.provide),r=Uh(t);if(!jt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Rt(void 0,Sr,!0),o.factory=()=>Hi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=M(null);try{return n.value===Uc?Gl(ee(t)):n.value===Sr&&(n.value=Uc,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&Wh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=U(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 $i(e){let t=mo(e),n=t!==null?t.factory:st(e);if(n!==null)return n;if(e instanceof R)throw new x(204,!1);if(e instanceof Function)return $h(e);throw new x(204,!1)}function $h(e){if(e.length>0)throw new x(204,!1);let n=mh(e);return n!==null?()=>n.factory(e):()=>new e}function Uh(e){if(su(e))return Rt(void 0,e.useValue);{let t=cu(e);return Rt(t,Sr)}}function cu(e,t,n){let r;if(jt(e)){let o=U(e);return st(o)||$i(o)}else if(su(e))r=()=>U(e.useValue);else if(Hh(e))r=()=>e.useFactory(...Hi(e.deps||[]));else if(Vh(e))r=(o,i)=>We(U(e.useExisting),i!==void 0&&i&T.Optional?T.Optional:void 0);else{let o=U(e&&(e.useClass||e.provide));if(qh(e))r=()=>new o(...Hi(e.deps));else return st(o)||$i(o)}return r}function yn(e){if(e.destroyed)throw new x(205,!1)}function Rt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function qh(e){return!!e.deps}function Wh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function zh(e){return typeof e=="function"||typeof e=="object"&&e instanceof R}function Ui(e,t){for(let n of e)Array.isArray(n)?Ui(n,t):n&&zl(n)?Ui(n.\u0275providers,t):t(n)}function lu(e,t){let n;e instanceof wn?(yn(e),n=e):n=new Fr(e);let r,o=Oe(n),i=X(void 0);try{return t()}finally{Oe(o),X(i)}}function uu(){return Zl()!==void 0||gn()!=null}function du(e){if(!uu())throw new x(-203,!1)}function Gh(e){return typeof e=="function"}var te=0,w=1,E=2,W=3,fe=4,ne=5,ce=6,Br=7,H=8,Vt=9,Ae=10,S=11,Dn=12,qc=13,Qt=14,K=15,at=16,Ot=17,Pe=18,Eo=19,fu=20,qe=21,wi=22,ct=23,ae=24,Lt=25,P=26,ta=1,bn=6,Le=7,$r=8,Ht=9,q=10;function pe(e){return Array.isArray(e)&&typeof e[ta]=="object"}function xe(e){return Array.isArray(e)&&e[ta]===!0}function na(e){return(e.flags&4)!==0}function mt(e){return e.componentOffset>-1}function wo(e){return(e.flags&1)===1}function he(e){return!!e.template}function Mn(e){return(e[E]&512)!==0}function Yt(e){return(e[E]&256)===256}var qi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function pu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var pS=(()=>{let e=()=>hu;return e.ngInherit=!0,e})();function hu(e){return e.type.prototype.ngOnChanges&&(e.setInput=Qh),Zh}function Zh(){let e=mu(this),t=e?.current;if(t){let n=e.previous;if(n===Me)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Qh(e,t,n,r,o){let i=this.declaredInputs[r],s=mu(e)||Yh(e,{previous:Me,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new qi(l&&l.currentValue,n,c===Me),pu(e,t,o,n)}var gu="__ngSimpleChanges__";function mu(e){return e[gu]||null}function Yh(e,t){return e[gu]=t}var Wc=null;var k=function(e,t=null,n){Wc?.(e,t,n)},yu="svg",Jh="math";function ge(e){for(;Array.isArray(e);)e=e[te];return e}function Kh(e){for(;Array.isArray(e);){if(typeof e[ta]=="object")return e;e=e[te]}return null}function vu(e,t){return ge(t[e])}function me(e,t){return ge(t[e.index])}function ra(e,t){return e.data[t]}function oa(e,t){return e[t]}function Xh(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ce(e,t){let n=t[e];return pe(n)?n:n[te]}function eg(e){return(e[E]&4)===4}function ia(e){return(e[E]&128)===128}function tg(e){return xe(e[W])}function Ze(e,t){return t==null?null:e[t]}function Iu(e){e[Ot]=0}function Eu(e){e[E]&1024||(e[E]|=1024,ia(e)&&Jt(e))}function ng(e,t){for(;e>0;)t=t[Qt],e--;return t}function Do(e){return!!(e[E]&9216||e[ae]?.dirty)}function Wi(e){e[Ae].changeDetectionScheduler?.notify(8),e[E]&64&&(e[E]|=1024),Do(e)&&Jt(e)}function Jt(e){e[Ae].changeDetectionScheduler?.notify(0);let t=lt(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!ia(t)));)t=lt(t)}function wu(e,t){if(Yt(e))throw new x(911,!1);e[qe]===null&&(e[qe]=[]),e[qe].push(t)}function rg(e,t){if(e[qe]===null)return;let n=e[qe].indexOf(t);n!==-1&&e[qe].splice(n,1)}function lt(e){let t=e[W];return xe(t)?t[W]:t}function sa(e){return e[Br]??=[]}function aa(e){return e.cleanup??=[]}function og(e,t,n,r){let o=sa(t);o.push(n),e.firstCreatePass&&aa(e).push(r,o.length-1)}var b={lFrame:Tu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var zi=!1;function ig(){return b.lFrame.elementDepthCount}function sg(){b.lFrame.elementDepthCount++}function ag(){b.lFrame.elementDepthCount--}function ca(){return b.bindingsEnabled}function Kt(){return b.skipHydrationRootTNode!==null}function cg(e){return b.skipHydrationRootTNode===e}function lg(e){b.skipHydrationRootTNode=e}function ug(){b.skipHydrationRootTNode=null}function g(){return b.lFrame.lView}function L(){return b.lFrame.tView}function hS(e){return b.lFrame.contextLView=e,e[H]}function gS(e){return b.lFrame.contextLView=null,e}function Z(){let e=Du();for(;e!==null&&e.type===64;)e=e.parent;return e}function Du(){return b.lFrame.currentTNode}function dg(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function yt(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function la(){return b.lFrame.isParent}function ua(){b.lFrame.isParent=!1}function fg(){return b.lFrame.contextLView}function bu(){return zi}function Ur(e){let t=zi;return zi=e,t}function le(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Mu(){return b.lFrame.bindingIndex}function pg(e){return b.lFrame.bindingIndex=e}function Ye(){return b.lFrame.bindingIndex++}function bo(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function hg(){return b.lFrame.inI18n}function gg(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,Gi(t)}function mg(){return b.lFrame.currentDirectiveIndex}function Gi(e){b.lFrame.currentDirectiveIndex=e}function Cu(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function da(){return b.lFrame.currentQueryIndex}function Mo(e){b.lFrame.currentQueryIndex=e}function yg(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[ne]:null}function xu(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=yg(i),o===null||(i=i[Qt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=_u();return r.currentTNode=t,r.lView=e,!0}function fa(e){let t=_u(),n=e[w];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function _u(){let e=b.lFrame,t=e===null?null:e.child;return t===null?Tu(e):t}function Tu(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 Nu(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Su=Nu;function pa(){let e=Nu();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 vg(e){return(b.lFrame.contextLView=ng(e,b.lFrame.contextLView))[H]}function _e(){return b.lFrame.selectedIndex}function ut(e){b.lFrame.selectedIndex=e}function Xt(){let e=b.lFrame;return ra(e.tView,e.selectedIndex)}function mS(){b.lFrame.currentNamespace=yu}function yS(){Ig()}function Ig(){b.lFrame.currentNamespace=null}function ku(){return b.lFrame.currentNamespace}var Ru=!0;function Co(){return Ru}function Je(e){Ru=e}function Eg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=hu(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 ha(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 kr(e,t,n){Ou(e,t,3,n)}function Rr(e,t,n,r){(e[E]&3)===n&&Ou(e,t,n,r)}function Di(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function Ou(e,t,n,r){let o=r!==void 0?e[Ot]&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[Ot]+=65536),(a<i||i==-1)&&(wg(e,n,t,c),e[Ot]=(e[Ot]&4294901760)+c+2),c++}function zc(e,t){k(4,e,t);let n=M(null);try{t.call(e)}finally{M(n),k(5,e,t)}}function wg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[Ot]>>16&&(e[E]&3)===t&&(e[E]+=16384,zc(a,i)):zc(a,i)}var Ft=-1,dt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Dg(e){return(e.flags&8)!==0}function bg(e){return(e.flags&16)!==0}function Mg(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];Cg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Au(e){return e===3||e===4||e===6}function Cg(e){return e.charCodeAt(0)===64}function Bt(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?Gc(e,n,o,null,t[++r]):Gc(e,n,o,null,null))}}return e}function Gc(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 Pu(e){return e!==Ft}function qr(e){return e&32767}function xg(e){return e>>16}function Wr(e,t){let n=xg(e),r=t;for(;n>0;)r=r[Qt],n--;return r}var Zi=!0;function zr(e){let t=Zi;return Zi=e,t}var _g=256,Lu=_g-1,Fu=5,Tg=0,De={};function Ng(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(In)&&(r=n[In]),r==null&&(r=n[In]=Tg++);let o=r&Lu,i=1<<o;t.data[e+(o>>Fu)]|=i}function Gr(e,t){let n=ju(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,bi(r.data,e),bi(t,null),bi(r.blueprint,null));let o=ga(e,t),i=e.injectorIndex;if(Pu(o)){let s=qr(o),a=Wr(o,t),c=a[w].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function bi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ju(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ga(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=Uu(o),r===null)return Ft;if(n++,o=o[Qt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ft}function Qi(e,t,n){Ng(e,t,n)}function Sg(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(Au(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 Vu(e,t,n){if(n&T.Optional||e!==void 0)return e;Js(t,"NodeInjector")}function Hu(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),(n&(T.Self|T.Host))===0){let o=e[Vt],i=X(void 0);try{return o?o.get(t,r,n&T.Optional):Ql(t,r,n&T.Optional)}finally{X(i)}}return Vu(r,t,n)}function Bu(e,t,n,r=T.Default,o){if(e!==null){if(t[E]&2048&&!(r&T.Self)){let s=Ag(e,t,n,r,De);if(s!==De)return s}let i=$u(e,t,n,r,De);if(i!==De)return i}return Hu(t,n,r,o)}function $u(e,t,n,r,o){let i=Rg(n);if(typeof i=="function"){if(!xu(t,e,r))return r&T.Host?Vu(o,n,r):Hu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))Js(n);else return s}finally{Su()}}else if(typeof i=="number"){let s=null,a=ju(e,t),c=Ft,l=r&T.Host?t[K][ne]:null;for((a===-1||r&T.SkipSelf)&&(c=a===-1?ga(e,t):t[a+8],c===Ft||!Qc(r,!1)?a=-1:(s=t[w],a=qr(c),t=Wr(c,t)));a!==-1;){let u=t[w];if(Zc(i,a,u.data)){let d=kg(a,t,n,s,r,l);if(d!==De)return d}c=t[a+8],c!==Ft&&Qc(r,t[w].data[a+8]===l)&&Zc(i,a,t)?(s=u,a=qr(c),t=Wr(c,t)):a=-1}}return o}function kg(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?mt(a)&&Zi:r!=s&&(a.type&3)!==0,l=o&T.Host&&i===a,u=Or(a,s,n,c,l);return u!==null?Cn(t,s,u,a,o):De}function Or(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&&he(f)&&f.type===n)return c}return null}function Cn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof dt){let a=i;a.resolving&&Gl(Dh(s[n]));let c=zr(a.canSeeViewProviders);a.resolving=!0;let l,u=a.injectImpl?X(a.injectImpl):null,d=xu(e,r,T.Default);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Eg(n,s[n],t)}finally{u!==null&&X(u),zr(c),a.resolving=!1,Su()}}return i}function Rg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(In)?e[In]:void 0;return typeof t=="number"?t>=0?t&Lu:Og:t}function Zc(e,t,n){let r=1<<e;return!!(n[t+(e>>Fu)]&r)}function Qc(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var it=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Bu(this._tNode,this._lView,t,yo(r),n)}};function Og(){return new it(Z(),g())}function vS(e){return Rn(()=>{let t=e.prototype.constructor,n=t[Lr]||Yi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Lr]||Yi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Yi(e){return Ul(e)?()=>{let t=Yi(U(e));return t&&t()}:st(e)}function Ag(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!Mn(s);){let a=$u(i,s,n,r|T.Self,De);if(a!==De)return a;let c=i.parent;if(!c){let l=s[fu];if(l){let u=l.get(n,De,r);if(u!==De)return u}c=Uu(s),s=s[Qt]}i=c}return o}function Uu(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[ne]:null}function IS(e){return Sg(Z(),e)}function Yc(e,t=null,n=null,r){let o=qu(e,t,n,r);return o.resolveInjectorInitializers(),o}function qu(e,t=null,n=null,r,o=new Set){let i=[n||J,Fh(e)];return r=r||(typeof e=="object"?void 0:ee(e)),new wn(i,t||Io(),r||null,o)}var ft=class e{static THROW_IF_NOT_FOUND=ot;static NULL=new Hr;static create(t,n){if(Array.isArray(t))return Yc({name:""},n,t,"");{let r=t.name??"";return Yc({name:r},t.parent,t.providers,r)}}static \u0275prov=B({token:e,providedIn:"any",factory:()=>We(eu)});static __NG_ELEMENT_ID__=-1};var Pg=new R("");Pg.__NG_ELEMENT_ID__=e=>{let t=Z();if(t===null)throw new x(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new x(204,!1)};var Wu=!1,An=(()=>{class e{static __NG_ELEMENT_ID__=Lg;static __NG_ENV_ID__=n=>n}return e})(),Zr=class extends An{_lView;constructor(t){super(),this._lView=t}onDestroy(t){let n=this._lView;return Yt(n)?(t(),()=>{}):(wu(n,t),()=>rg(n,t))}};function Lg(){return new Zr(g())}var pt=class{},ma=new R("",{providedIn:"root",factory:()=>!1});var zu=new R(""),Gu=new R(""),xo=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new on(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})();var Ji=class extends se{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,uu()&&(this.destroyRef=C(An,{optional:!0})??void 0,this.pendingTasks=C(xo,{optional:!0})??void 0)}emit(t){let n=M(null);try{super.next(t)}finally{M(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof F&&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=Ji;function xn(...e){}function Zu(e){let t,n;function r(){e=xn;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 Jc(e){return queueMicrotask(()=>e()),()=>{e=xn}}var ya="isAngularZone",Qr=ya+"_ID",Fg=0,ie=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=Wu}=t;if(typeof Zone>"u")throw new x(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,Hg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ya)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new x(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,jg,xn,xn);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)}},jg={};function va(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 Vg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Zu(()=>{e.callbackScheduled=!1,Ki(e),e.isCheckStableRunning=!0,va(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ki(e)}function Hg(e){let t=()=>{Vg(e)},n=Fg++;e._inner=e._inner.fork({name:"angular",properties:{[ya]:!0,[Qr]:n,[Qr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Bg(c))return r.invokeTask(i,s,a,c);try{return Kc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Xc(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Kc(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!$g(c)&&t(),Xc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ki(e),va(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 Ki(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Kc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Xc(e){e._nesting--,va(e)}var Xi=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 Bg(e){return Qu(e,"__ignore_ng_zone__")}function $g(e){return Qu(e,"__scheduler_tick__")}function Qu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Qe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},Ug=new R("",{providedIn:"root",factory:()=>{let e=C(ie),t=C(Qe);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Yr=class{destroyed=!1;listeners=null;errorHandler=C(Qe,{optional:!0});destroyRef=C(An);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new x(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(jl(953,!1));return}if(this.listeners===null)return;let n=M(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{M(n)}}};function ES(e){return new Yr}function el(e,t){return Hl(e,t)}function qg(e){return Hl(go,e)}var wS=(el.required=qg,el);function Wg(){return en(Z(),g())}function en(e,t){return new _o(me(e,t))}var _o=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Wg}return e})();function Yu(e){return e instanceof _o?e.nativeElement:e}function zg(e){return typeof e=="function"&&e[Y]!==void 0}function Gg(e,t){let n=gi(e,t?.equal),r=n[Y];return n.set=o=>kt(r,o),n.update=o=>mi(r,o),n.asReadonly=Ju.bind(n),n}function Ju(){let e=this[Y];if(e.readonlyFn===void 0){let t=()=>this();t[Y]=e,e.readonlyFn=t}return e.readonlyFn}function Ku(e){return zg(e)&&typeof e.set=="function"}function Zg(){return this._results[Symbol.iterator]()}var es=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 se}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=Rh(t);(this._changesDetected=!kh(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]=Zg},Qg="ngSkipHydration",Yg="ngskiphydration";function Xu(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;n<t.length;n+=2){let r=t[n];if(typeof r=="number")return!1;if(typeof r=="string"&&r.toLowerCase()===Yg)return!0}return!1}function ed(e){return e.hasAttribute(Qg)}function Jr(e){return(e.flags&128)===128}function Jg(e){if(Jr(e))return!0;let t=e.parent;for(;t;){if(Jr(e)||Xu(t))return!0;t=t.parent}return!1}var td=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(td||{}),nd=new Map,Kg=0;function Xg(){return Kg++}function em(e){nd.set(e[Eo],e)}function ts(e){nd.delete(e[Eo])}var tl="__ngContext__";function tn(e,t){pe(t)?(e[tl]=t[Eo],em(t)):e[tl]=t}function rd(e){return id(e[Dn])}function od(e){return id(e[fe])}function id(e){for(;e!==null&&!xe(e);)e=e[fe];return e}var ns;function DS(e){ns=e}function Pn(){if(ns!==void 0)return ns;if(typeof document<"u")return document;throw new x(210,!1)}var tm=new R("",{providedIn:"root",factory:()=>nm}),nm="ng",rm=new R(""),bS=new R("",{providedIn:"platform",factory:()=>"unknown"});var MS=new R(""),CS=new R("",{providedIn:"root",factory:()=>Pn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function om(){let e=new Ia;return e.store=im(Pn(),C(tm)),e}var Ia=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:om});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();function im(e,t){let n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}var sd="h",ad="b",sm="f",am="n",cm="e",lm="t",Ea="c",cd="x",Kr="r",um="i",dm="n",ld="d";var fm="di";var Cr=new R(""),ud=!1,dd=new R("",{providedIn:"root",factory:()=>ud});var wa=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(wa||{}),To=new R(""),nl=new Set;function nn(e){nl.has(e)||(nl.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Da=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=pm}return e})();function pm(){return new Da(g(),Z())}var At=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(At||{}),fd=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})(),hm=[At.EarlyRead,At.Write,At.MixedReadWrite,At.Read],gm=(()=>{class e{ngZone=C(ie);scheduler=C(pt);errorHandler=C(Qe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(To,{optional:!0})}execute(){let n=this.sequences.size>0;n&&k(16),this.executing=!0;for(let r of hm)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&&k(17)}register(n){let{view:r}=n;r!==void 0?((r[Lt]??=[]).push(n),Jt(r),r[E]|=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(wa.AFTER_NEXT_RENDER,n):n()}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})(),rs=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?.[Lt];t&&(this.view[Lt]=t.filter(n=>n!==this))}};function mm(e,t){!t?.injector&&du(mm);let n=t?.injector??C(ft);return nn("NgAfterNextRender"),vm(e,n,t,!0)}function ym(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function vm(e,t,n,r){let o=t.get(fd);o.impl??=t.get(gm);let i=t.get(To,null,{optional:!0}),s=n?.phase??At.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(An):null,c=t.get(Da,null,{optional:!0}),l=new rs(o.impl,ym(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(l),l}var Im=(e,t,n,r)=>{};function Em(e,t,n,r){Im(e,t,n,r)}var wm="__nghData__",pd=wm;var Mi="ngh",Dm="nghm",hd=()=>null;function bm(e,t,n=!1){let r=e.getAttribute(Mi);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,c={};if(r!==""){let u=t.get(Ia,null,{optional:!0});u!==null&&(c=u.get(pd,[])[Number(r)])}let l={data:c,firstChild:e.firstChild??null};return n&&(l.firstChild=e,No(l,0,e.nextSibling)),a?e.setAttribute(Mi,a):e.removeAttribute(Mi),l}function Mm(){hd=bm}function gd(e,t,n=!1){return hd(e,t,n)}function Cm(e){let t=e._lView;return t[w].type===2?null:(Mn(t)&&(t=t[P]),t)}function xm(e){return e.textContent?.replace(/\s/gm,"")}function _m(e){let t=Pn(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=xm(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function No(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function os(e,t){return e.segmentHeads?.[t]??null}function Tm(e,t){let n=e.data,r=n[cm]?.[t]??null;return r===null&&n[Ea]?.[t]&&(r=ba(e,t)),r}function md(e,t){return e.data[Ea]?.[t]??null}function ba(e,t){let n=md(e,t)??[],r=0;for(let o of n)r+=o[Kr]*(o[cd]??1);return r}function Nm(e){if(typeof e.disconnectedNodes>"u"){let t=e.data[ld];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function Ln(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[ld];e.disconnectedNodes=n?new Set(n):null}return!!Nm(e)?.has(t)}function Ci(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&e.textContent?.trim()===Dm}function rl(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function Sm(e){for(let r of e.body.childNodes)if(Ci(r))return;let t=rl(e.body.previousSibling);if(Ci(t))return;let n=rl(e.head.lastChild);if(!Ci(n))throw new x(-507,!1)}function yd(e,t){let n=e.contentQueries;if(n!==null){let r=M(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Mo(i),a.contentQueries(2,t[s],s)}}}finally{M(r)}}}function is(e,t,n){Mo(0);let r=M(null);try{t(e,n)}finally{M(r)}}function Ma(e,t,n){if(na(t)){let r=M(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{M(r)}}}var _n=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(_n||{}),xr;function km(){if(xr===void 0&&(xr=null,$e.trustedTypes))try{xr=$e.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xr}function So(e){return km()?.createHTML(e)||e}var _r;function vd(){if(_r===void 0&&(_r=null,$e.trustedTypes))try{_r=$e.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _r}function ol(e){return vd()?.createHTML(e)||e}function il(e){return vd()?.createScriptURL(e)||e}var Fe=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Fl})`}},ss=class extends Fe{getTypeName(){return"HTML"}},as=class extends Fe{getTypeName(){return"Style"}},cs=class extends Fe{getTypeName(){return"Script"}},ls=class extends Fe{getTypeName(){return"URL"}},us=class extends Fe{getTypeName(){return"ResourceURL"}};function rn(e){return e instanceof Fe?e.changingThisBreaksApplicationSecurity:e}function Ca(e,t){let n=Rm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Fl})`)}return n===t}function Rm(e){return e instanceof Fe&&e.getTypeName()||null}function xS(e){return new ss(e)}function _S(e){return new as(e)}function TS(e){return new cs(e)}function NS(e){return new ls(e)}function SS(e){return new us(e)}function Om(e){let t=new fs(e);return Am()?new ds(t):t}var ds=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(So(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},fs=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=So(t),n}};function Am(){try{return!!new window.DOMParser().parseFromString(So(""),"text/html")}catch{return!1}}var Pm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Id(e){return e=String(e),e.match(Pm)?e:"unsafe:"+e}function je(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Fn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Ed=je("area,br,col,hr,img,wbr"),wd=je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Dd=je("rp,rt"),Lm=Fn(Dd,wd),Fm=Fn(wd,je("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")),jm=Fn(Dd,je("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")),sl=Fn(Ed,Fm,jm,Lm),bd=je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Vm=je("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"),Hm=je("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"),Bm=Fn(bd,Vm,Hm),$m=je("script,style,template"),ps=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=Wm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=qm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=al(t).toLowerCase();if(!sl.hasOwnProperty(n))return this.sanitizedSomething=!0,!$m.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(!Bm.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;bd[a]&&(c=Id(c)),this.buf.push(" ",s,'="',cl(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=al(t).toLowerCase();sl.hasOwnProperty(n)&&!Ed.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(cl(t))}};function Um(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function qm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Md(t);return t}function Wm(e){let t=e.firstChild;if(t&&Um(e,t))throw Md(t);return t}function al(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Md(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var zm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Gm=/([^\#-~ |!])/g;function cl(e){return e.replace(/&/g,"&amp;").replace(zm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Gm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Tr;function Zm(e,t){let n=null;try{Tr=Tr||Om(e);let r=t?String(t):"";n=Tr.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=Tr.getInertBodyElement(r)}while(r!==i);let a=new ps().sanitizeChildren(ll(n)||n);return So(a)}finally{if(n){let r=ll(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function ll(e){return"content"in e&&Qm(e)?e.content:null}function Qm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var ko=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}(ko||{});function kS(e){let t=xa();return t?ol(t.sanitize(ko.HTML,e)||""):Ca(e,"HTML")?ol(rn(e)):Zm(Pn(),be(e))}function Ym(e){let t=xa();return t?t.sanitize(ko.URL,e)||"":Ca(e,"URL")?rn(e):Id(be(e))}function Jm(e){let t=xa();if(t)return il(t.sanitize(ko.RESOURCE_URL,e)||"");if(Ca(e,"ResourceURL"))return il(rn(e));throw new x(904,!1)}function Km(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Jm:Ym}function RS(e,t,n){return Km(t,n)(e)}function xa(){let e=g();return e&&e[Ae].sanitizer}var Xm=/^>|^->|<!--|-->|--!>|<!-$/g,ey=/(<|>)/g,ty="\u200B$1\u200B";function ny(e){return e.replace(Xm,t=>t.replace(ey,ty))}function OS(e){return e.ownerDocument.defaultView}function AS(e){return e.ownerDocument}function ry(e){return e.ownerDocument.body}function Cd(e){return e instanceof Function?e():e}function oy(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 xd="ng-template";function iy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&oy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(_a(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 _a(e){return e.type===4&&e.value!==xd}function sy(e,t,n){let r=e.type===4&&!n?xd:e.value;return t===r}function ay(e,t,n){let r=4,o=e.attrs,i=o!==null?uy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!de(r)&&!de(c))return!1;if(s&&de(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!sy(e,c,n)||c===""&&t.length===1){if(de(r))return!1;s=!0}}else if(r&8){if(o===null||!iy(e,o,c,n)){if(de(r))return!1;s=!0}}else{let l=t[++a],u=cy(c,o,_a(e),n);if(u===-1){if(de(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(de(r))return!1;s=!0}}}}return de(r)||s}function de(e){return(e&1)===0}function cy(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 dy(t,e)}function _d(e,t,n=!1){for(let r=0;r<t.length;r++)if(ay(e,t[r],n))return!0;return!1}function ly(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function uy(e){for(let t=0;t<e.length;t++){let n=e[t];if(Au(n))return t}return e.length}function dy(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 fy(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 ul(e,t){return e?":not("+t.trim()+")":t}function py(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!==""&&!de(s)&&(t+=ul(i,o),o=""),r=s,i=i||!de(r);n++}return o!==""&&(t+=ul(i,o)),t}function hy(e){return e.map(py).join(",")}function gy(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(!de(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Q={};function Td(e,t){return e.createText(t)}function my(e,t,n){e.setValue(t,n)}function Nd(e,t){return e.createComment(ny(t))}function Ta(e,t,n){return e.createElement(t,n)}function Xr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Sd(e,t,n){e.appendChild(t,n)}function dl(e,t,n,r,o){r!==null?Xr(e,t,n,r,o):Sd(e,t,n)}function Na(e,t,n){e.removeChild(null,t,n)}function kd(e){e.textContent=""}function yy(e,t,n){e.setAttribute(t,"style",n)}function vy(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Rd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Mg(e,t,r),o!==null&&vy(e,t,o),i!==null&&yy(e,t,i)}function Sa(e,t,n,r,o,i,s,a,c,l,u){let d=P+r,p=d+o,f=Iy(d,p),h=typeof l=="function"?l():l;return f[w]={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 Iy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Q);return n}function Ey(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Sa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ka(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[te]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),Iu(d),d[W]=d[Qt]=e,d[H]=n,d[Ae]=s||e&&e[Ae],d[S]=a||e&&e[S],d[Vt]=c||e&&e[Vt]||null,d[ne]=i,d[Eo]=Xg(),d[ce]=u,d[fu]=l,d[K]=t.type==2?e[K]:d,d}function wy(e,t,n){let r=me(t,e),o=Ey(n),i=e[Ae].rendererFactory,s=Ra(e,ka(e,o,null,Od(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Od(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Ad(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 Ra(e,t){return e[Dn]?e[qc][fe]=t:e[Dn]=t,e[qc]=t,t}function PS(e=1){Pd(L(),g(),_e()+e,!1)}function Pd(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&kr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Rr(t,i,0,n)}ut(n)}var Ro=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ro||{});function hs(e,t,n,r){let o=M(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ro.SignalBased)!==0&&(c=t[i][Y]),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):pu(t,c,i,r)}finally{M(o)}}function Ld(e,t,n,r,o){let i=_e(),s=r&2;try{ut(-1),s&&t.length>P&&Pd(e,t,P,!1),k(s?2:0,o),n(r,o)}finally{ut(i),k(s?3:1,o)}}function Oo(e,t,n){Ty(e,t,n),(n.flags&64)===64&&Ny(e,t,n)}function Oa(e,t,n=me){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 Dy(e,t,n,r){let i=r.get(dd,ud)||n===_n.ShadowDom,s=e.selectRootElement(t,i);return by(s),s}function by(e){Fd(e)}var Fd=()=>null;function My(e){ed(e)?kd(e):_m(e)}function Cy(){Fd=My}function xy(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function jn(e,t,n,r,o,i,s,a){if(!a&&Pa(t,e,n,r,o)){mt(t)&&_y(n,t.index);return}if(t.type&3){let c=me(t,n);r=xy(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function _y(e,t){let n=Ce(t,e);n[E]&16||(n[E]|=64)}function Ty(e,t,n){let r=n.directiveStart,o=n.directiveEnd;mt(n)&&wy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Gr(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Cn(t,e,s,n);if(tn(c,t),i!==null&&Oy(t,s-r,c,a,n,i),he(a)){let l=Ce(n.index,t);l[H]=Cn(t,e,s,n)}}}function Ny(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=mg();try{ut(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Gi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Sy(c,l)}}finally{ut(-1),Gi(s)}}function Sy(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Aa(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];_d(t,i.selectors,!1)&&(r??=[],he(i)?r.unshift(i):r.push(i))}return r}function ky(e,t,n,r,o,i){let s=me(e,t);Ry(t[S],s,i,e.value,n,r,o)}function Ry(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?be(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Oy(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];hs(r,n,c,l)}}function Ay(e,t,n){return(e===null||he(e))&&(n=Kh(n[t.index])),n[S]}function Py(e,t){let n=e[Vt],r=n?n.get(Qe,null):null;r&&r.handleError(t)}function Pa(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];hs(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];hs(u,l,r,o),a=!0}return a}function Ly(e,t){let n=Ce(t,e),r=n[w];Fy(r,n);let o=n[te];o!==null&&n[ce]===null&&(n[ce]=gd(o,n[Vt])),k(18),La(r,n,n[H]),k(19,n[H])}function Fy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function La(e,t,n){fa(t);try{let r=e.viewQuery;r!==null&&is(1,r,n);let o=e.template;o!==null&&Ld(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Pe]?.finishViewCreation(e),e.staticContentQueries&&yd(e,t),e.staticViewQueries&&is(2,e.viewQuery,n);let i=e.components;i!==null&&jy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,pa()}}function jy(e,t){for(let n=0;n<t.length;n++)Ly(e,t[n])}function Vn(e,t,n,r){let o=M(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=ka(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[at]=l;let u=e[Pe];return u!==null&&(c[Pe]=u.createEmbeddedView(i)),La(i,c,n),c}finally{M(o)}}function $t(e,t){return!t||t.firstChild===null||Jr(e)}var Vy;function Fa(e,t){return Vy(e,t)}var gs=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(gs||{});function vt(e){return(e.flags&32)===32}function Pt(e,t,n,r,o){if(r!=null){let i,s=!1;xe(r)?i=r:pe(r)&&(s=!0,r=r[te]);let a=ge(r);e===0&&n!==null?o==null?Sd(t,n,a):Xr(t,n,a,o||null,!0):e===1&&n!==null?Xr(t,n,a,o||null,!0):e===2?Na(t,a,s):e===3&&t.destroyNode(a),i!=null&&Qy(t,e,i,n,o)}}function Hy(e,t){jd(e,t),t[te]=null,t[ne]=null}function By(e,t,n,r,o,i){r[te]=o,r[ne]=t,Lo(e,r,n,1,o,i)}function jd(e,t){t[Ae].changeDetectionScheduler?.notify(9),Lo(e,t,t[S],2,null,null)}function $y(e){let t=e[Dn];if(!t)return xi(e[w],e);for(;t;){let n=null;if(pe(t))n=t[Dn];else{let r=t[q];r&&(n=r)}if(!n){for(;t&&!t[fe]&&t!==e;)pe(t)&&xi(t[w],t),t=t[W];t===null&&(t=e),pe(t)&&xi(t[w],t),n=t&&t[fe]}t=n}}function ja(e,t){let n=e[Ht],r=n.indexOf(t);n.splice(r,1)}function Ao(e,t){if(Yt(t))return;let n=t[S];n.destroyNode&&Lo(e,t,n,3,null,null),$y(t)}function xi(e,t){if(Yt(t))return;let n=M(null);try{t[E]&=-129,t[E]|=256,t[ae]&&hn(t[ae]),qy(e,t),Uy(e,t),t[w].type===1&&t[S].destroy();let r=t[at];if(r!==null&&xe(t[W])){r!==t[W]&&ja(r,t);let o=t[Pe];o!==null&&o.detachView(e)}ts(t)}finally{M(n)}}function Uy(e,t){let n=e.cleanup,r=t[Br];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[Br]=null);let o=t[qe];if(o!==null){t[qe]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ct];if(i!==null){t[ct]=null;for(let s of i)s.destroy()}}function qy(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 dt)){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];k(4,a,c);try{c.call(a)}finally{k(5,a,c)}}else{k(4,o,i);try{i.call(o)}finally{k(5,o,i)}}}}}function Vd(e,t,n){return Wy(e,t.parent,n)}function Wy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[te];if(mt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===_n.None||o===_n.Emulated)return null}return me(r,n)}function Hd(e,t,n){return Gy(e,t,n)}function zy(e,t,n){return e.type&40?me(e,n):null}var Gy=zy,fl;function Po(e,t,n,r){let o=Vd(e,r,t),i=t[S],s=r.parent||t[ne],a=Hd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)dl(i,o,n[c],a,!1);else dl(i,o,n,a,!1);fl!==void 0&&fl(i,r,t,n,o)}function vn(e,t){if(t!==null){let n=t.type;if(n&3)return me(t,e);if(n&4)return ms(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return vn(e,r);{let o=e[t.index];return xe(o)?ms(-1,o):ge(o)}}else{if(n&128)return vn(e,t.next);if(n&32)return Fa(t,e)()||ge(e[t.index]);{let r=Bd(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=lt(e[K]);return vn(o,r)}else return vn(e,t.next)}}}return null}function Bd(e,t){if(t!==null){let r=e[K][ne],o=t.projection;return r.projection[o]}return null}function ms(e,t){let n=q+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return vn(r,o)}return t[Le]}function Va(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&tn(ge(a),r),n.flags|=2),!vt(n))if(c&8)Va(e,t,n.child,r,o,i,!1),Pt(t,e,o,a,i);else if(c&32){let l=Fa(n,r),u;for(;u=l();)Pt(t,e,o,u,i);Pt(t,e,o,a,i)}else c&16?$d(e,t,r,n,o,i):Pt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Lo(e,t,n,r,o,i){Va(n,r,e.firstChild,t,o,i,!1)}function Zy(e,t,n){let r=t[S],o=Vd(e,n,t),i=n.parent||t[ne],s=Hd(i,n,t);$d(r,0,t,n,o,s)}function $d(e,t,n,r,o,i){let s=n[K],c=s[ne].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Pt(t,e,o,u,i)}else{let l=c,u=s[W];Jr(r)&&(l.flags|=128),Va(e,t,l,u,o,i,!0)}}function Qy(e,t,n,r,o){let i=n[Le],s=ge(n);i!==s&&Pt(t,e,r,i,o);for(let a=q;a<n.length;a++){let c=n[a];Lo(c[w],c,e,t,r,i)}}function Yy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:gs.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=gs.Important),e.setStyle(n,r,o,i))}}function eo(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(ge(i)),xe(i)&&Jy(i,r);let s=n.type;if(s&8)eo(e,t,n.child,r);else if(s&32){let a=Fa(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Bd(t,n);if(Array.isArray(a))r.push(...a);else{let c=lt(t[K]);eo(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Jy(e,t){for(let n=q;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&eo(r[w],r,o,t)}e[Le]!==e[te]&&t.push(e[Le])}function Ud(e){if(e[Lt]!==null){for(let t of e[Lt])t.impl.addSequence(t);e[Lt].length=0}}var qd=[];function Ky(e){return e[ae]??Xy(e)}function Xy(e){let t=qd.pop()??Object.create(tv);return t.lView=e,t}function ev(e){e.lView[ae]!==e&&(e.lView=null,qd.push(e))}var tv=oe(re({},Nt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Jt(e.lView)},consumerOnSignalRead(){this.lView[ae]=this}});function nv(e){let t=e[ae]??Object.create(rv);return t.lView=e,t}var rv=oe(re({},Nt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=lt(e.lView);for(;t&&!Wd(t[w]);)t=lt(t);t&&Eu(t)},consumerOnSignalRead(){this.lView[ae]=this}});function Wd(e){return e.type!==2}function zd(e){if(e[ct]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ct])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var ov=100;function Gd(e,t=!0,n=0){let o=e[Ae].rendererFactory,i=!1;i||o.begin?.();try{iv(e,n)}catch(s){throw t&&Py(e,s),s}finally{i||o.end?.()}}function iv(e,t){let n=bu();try{Ur(!0),ys(e,t);let r=0;for(;Do(e);){if(r===ov)throw new x(103,!1);r++,ys(e,1)}}finally{Ur(n)}}function sv(e,t,n,r){if(Yt(t))return;let o=t[E],i=!1,s=!1;fa(t);let a=!0,c=null,l=null;i||(Wd(e)?(l=Ky(t),c=pn(l)):ui()===null?(a=!1,l=nv(t),c=pn(l)):t[ae]&&(hn(t[ae]),t[ae]=null));try{Iu(t),pg(e.bindingStartIndex),n!==null&&Ld(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&kr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Rr(t,f,0,null),Di(t,0)}if(s||av(t),zd(t),Zd(t,0),e.contentQueries!==null&&yd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&kr(t,f)}else{let f=e.contentHooks;f!==null&&Rr(t,f,1),Di(t,1)}lv(e,t);let d=e.components;d!==null&&Yd(t,d,0);let p=e.viewQuery;if(p!==null&&is(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&kr(t,f)}else{let f=e.viewHooks;f!==null&&Rr(t,f,2),Di(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[wi]){for(let f of t[wi])f();t[wi]=null}i||(Ud(t),t[E]&=-73)}catch(u){throw i||Jt(t),u}finally{l!==null&&(yr(l,c),a&&ev(l)),pa()}}function Zd(e,t){for(let n=rd(e);n!==null;n=od(n))for(let r=q;r<n.length;r++){let o=n[r];Qd(o,t)}}function av(e){for(let t=rd(e);t!==null;t=od(t)){if(!(t[E]&2))continue;let n=t[Ht];for(let r=0;r<n.length;r++){let o=n[r];Eu(o)}}}function cv(e,t,n){k(18);let r=Ce(t,e);Qd(r,n),k(19,r[H])}function Qd(e,t){ia(e)&&ys(e,t)}function ys(e,t){let r=e[w],o=e[E],i=e[ae],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&vr(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)sv(r,e,r.template,e[H]);else if(o&8192){zd(e),Zd(e,1);let a=r.components;a!==null&&Yd(e,a,1),Ud(e)}}function Yd(e,t,n){for(let r=0;r<t.length;r++)cv(e,t[r],n)}function lv(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)ut(~o);else{let i=o,s=n[++r],a=n[++r];gg(s,i);let c=t[i];k(24,c),a(2,c),k(25,c)}}}finally{ut(-1)}}function Ha(e,t){let n=bu()?64:1088;for(e[Ae].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=lt(e);if(Mn(e)&&!r)return e;e=r}return null}function Jd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Kd(e,t){let n=q+t;if(n<e.length)return e[n]}function Hn(e,t,n,r=!0){let o=t[w];if(uv(o,t,e,n),r){let s=ms(n,e),a=t[S],c=a.parentNode(e[Le]);c!==null&&By(o,e[ne],a,t,c,s)}let i=t[ce];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Xd(e,t){let n=Tn(e,t);return n!==void 0&&Ao(n[w],n),n}function Tn(e,t){if(e.length<=q)return;let n=q+t,r=e[n];if(r){let o=r[at];o!==null&&o!==e&&ja(o,r),t>0&&(e[n-1][fe]=r[fe]);let i=Vr(e,q+t);Hy(r[w],r);let s=i[Pe];s!==null&&s.detachView(i[w]),r[W]=null,r[fe]=null,r[E]&=-129}return r}function uv(e,t,n,r){let o=q+r,i=n.length;r>0&&(n[o-1][fe]=t),r<i-q?(t[fe]=n[o],Xl(n,q+r,t)):(n.push(t),t[fe]=null),t[W]=n;let s=t[at];s!==null&&n!==s&&ef(s,t);let a=t[Pe];a!==null&&a.insertView(e),Wi(t),t[E]|=128}function ef(e,t){let n=e[Ht],r=t[W];if(pe(r))e[E]|=2;else{let o=r[W][K];t[K]!==o&&(e[E]|=2)}n===null?e[Ht]=[t]:n.push(t)}var Nn=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[w];return eo(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[H]}set context(t){this._lView[H]=t}get destroyed(){return Yt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[W];if(xe(t)){let n=t[$r],r=n?n.indexOf(this):-1;r>-1&&(Tn(t,r),Vr(n,r))}this._attachedToViewContainer=!1}Ao(this._lView[w],this._lView)}onDestroy(t){wu(this._lView,t)}markForCheck(){Ha(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){Wi(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Gd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Mn(this._lView),n=this._lView[at];n!==null&&!t&&ja(n,this._lView),jd(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t;let n=Mn(this._lView),r=this._lView[at];r!==null&&!n&&ef(r,this._lView),Wi(this._lView)}};var to=(()=>{class e{static __NG_ELEMENT_ID__=pv}return e})(),dv=to,fv=class extends dv{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Vn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Nn(o)}};function pv(){return Fo(Z(),g())}function Fo(e,t){return e.type&4?new fv(t,e,en(e,t)):null}function Bn(e,t,n,r,o){let i=e.data[t];if(i===null)i=hv(e,t,n,r,o),hg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=dg();i.injectorIndex=s===null?-1:s.injectorIndex}return yt(i,!0),i}function hv(e,t,n,r,o){let i=Du(),s=la(),a=s?i:i&&i.parent,c=e.data[t]=mv(e,a,n,t,r,o);return gv(e,c,i,s),c}function gv(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 mv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Kt()&&(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 yv=new RegExp(`^(\\d+)*(${ad}|${sd})*(.*)`);function vv(e){let t=e.match(yv),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[c,l,u]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(u,10)||1;a.push(l,d)}return[s,...a]}function Iv(e){return!e.prev&&e.parent?.type===8}function _i(e){return e.index-P}function Ev(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function jo(e,t,n,r){let o=_i(r),i=Ev(e,o);if(i===void 0){let s=e.data[dm];if(s?.[o])i=Dv(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(Iv(r)){let l=_i(r.parent);i=os(e,l)}else{let l=me(c,n);if(a)i=l.firstChild;else{let u=_i(c),d=os(e,u);if(c.type===2&&d){let f=ba(e,u)+1;i=Vo(f,d)}else i=l.nextSibling}}}}return i}function Vo(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}function wv(e,t){let n=e;for(let r=0;r<t.length;r+=2){let o=t[r],i=t[r+1];for(let s=0;s<i;s++)switch(o){case sm:n=n.firstChild;break;case am:n=n.nextSibling;break}}return n}function Dv(e,t){let[n,...r]=vv(e),o;if(n===sd)o=t[K][te];else if(n===ad)o=ry(t[K][te]);else{let i=Number(n);o=ge(t[i+P])}return wv(o,r)}var bv=!1;function Mv(e){bv=e}function Cv(e){let t=e[ce];if(t){let{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){let o=e[S];for(let i of r.values())xv(o,n,i)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}function xv(e,t,n){for(let r of n.node.cases[n.case]){let o=t.get(r.index-P);o&&Na(e,o,!1)}}function tf(e){let t=e[bn]??[],r=e[W][S],o=[];for(let i of t)i.data[fm]!==void 0?o.push(i):_v(i,r);e[bn]=o}function _v(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Kr];for(;n<o;){let i=r.nextSibling;Na(t,r,!1),r=i,n++}}}function nf(e){tf(e);let t=e[te];pe(t)&&no(t);for(let n=q;n<e.length;n++)no(e[n])}function no(e){Cv(e);let t=e[w];for(let n=P;n<t.bindingStartIndex;n++)if(xe(e[n])){let r=e[n];nf(r)}else pe(e[n])&&no(e[n])}function Tv(e){let t=e._views;for(let n of t){let r=Cm(n);r!==null&&r[te]!==null&&(pe(r)?no(r):nf(r))}}function Nv(e,t){let n=[];for(let r of t)for(let o=0;o<(r[cd]??1);o++){let i={data:r,firstChild:null};r[Kr]>0&&(i.firstChild=e,e=Vo(r[Kr],e)),n.push(i)}return[e,n]}var rf=()=>null;function Sv(e,t){let n=e[bn];return!t||n===null||n.length===0?null:n[0].data[um]===t?n.shift():(tf(e),null)}function kv(){rf=Sv}function Ut(e,t){return rf(e,t)}var Rv=class{},of=class{},vs=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ee(t)}.`)}},Ho=class{static NULL=new vs},ro=class{},BS=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Ov()}return e})();function Ov(){let e=g(),t=Z(),n=Ce(t.index,e);return(pe(n)?n:e)[S]}var Av=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:()=>null})}return e})();var Ti={},Is=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=yo(r);let o=this.injector.get(t,Ti,r);return o!==Ti||n===Ti?o:this.parentInjector.get(t,n,r)}};function Es(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=Fi(o,a);else if(i==2){let c=a,l=t[++s];r=Fi(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Bo(e,t=T.Default){let n=g();if(n===null)return We(e,t);let r=Z();return Bu(r,n,U(e),t)}function $S(){let e="invalid";throw new Error(e)}function Ba(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,l=null,u=Lv(s);u===null?a=s:[a,c,l]=u,Vv(e,t,n,a,i,c,l)}i!==null&&r!==null&&Pv(n,r,i)}function Pv(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 x(-301,!1);r.push(t[o],i)}}function Lv(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&he(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,Fv(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function Fv(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function jv(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Vv(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&&he(f)&&(c=!0,jv(e,n,p)),Qi(Gr(n,t),e,f.type)}Wv(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=Ad(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Bt(n.mergedAttrs,f.hostAttrs),Bv(e,n,t,d,f),qv(d,f,o),s!==null&&s.has(f)){let[y,A]=s.get(f);n.directiveToIndex.set(f.type,[d,y+n.directiveStart,A+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++}Hv(e,n,i)}function Hv(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))pl(0,t,o,r),pl(1,t,o,r),gl(t,r,!1);else{let i=n.get(o);hl(0,t,i,r),hl(1,t,i,r),gl(t,r,!0)}}}function pl(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),sf(t,i)}}function hl(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),sf(t,s)}}function sf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function gl(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||_a(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 Bv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=st(o.type,!0)),s=new dt(i,he(o),Bo);e.blueprint[r]=s,n[r]=s,$v(e,t,r,Ad(e,n,o.hostVars,Q),o)}function $v(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Uv(s)!=a&&s.push(a),s.push(n,r,i)}}function Uv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function qv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;he(t)&&(n[""]=e)}}function Wv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function af(e,t,n,r,o,i,s,a){let c=t.consts,l=Ze(c,s),u=Bn(t,e,2,r,l);return i&&Ba(t,n,u,Ze(c,a),o),u.mergedAttrs=Bt(u.mergedAttrs,u.attrs),u.attrs!==null&&Es(u,u.attrs,!1),u.mergedAttrs!==null&&Es(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function cf(e,t){ha(e,t),na(t)&&e.queries.elementEnd(t)}var oo=class extends Ho{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=ze(t);return new ht(n,this.ngModule)}};function zv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ro.SignalBased)!==0};return o&&(i.transform=o),i})}function Gv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Zv(e,t,n){let r=t instanceof Ge?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Is(n,r):n}function Qv(e){let t=e.get(ro,null);if(t===null)throw new x(407,!1);let n=e.get(Av,null),r=e.get(pt,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function Yv(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Ta(t,n,n==="svg"?yu:n==="math"?Jh:null)}var ht=class extends of{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=zv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Gv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=hy(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){k(22);let i=M(null);try{let s=this.componentDef,a=r?["ng-version","19.2.13"]:gy(this.componentDef.selectors[0]),c=Sa(0,null,null,1,0,null,null,null,null,[a],null),l=Zv(s,o||this.ngModule,t),u=Qv(l),d=u.rendererFactory.createRenderer(null,s),p=r?Dy(d,r,s.encapsulation,l):Yv(s,d),f=ka(null,c,null,512|Od(s),null,null,u,d,l,null,gd(p,l,!0));f[P]=p,fa(f);let h=null;try{let y=af(P,c,f,"#host",()=>[this.componentDef],!0,0);p&&(Rd(d,p,y),tn(p,f)),Oo(c,f,y),Ma(c,y,f),cf(c,y),n!==void 0&&Jv(y,this.ngContentSelectors,n),h=Ce(y.index,f),f[H]=h[H],La(c,f,null)}catch(y){throw h!==null&&ts(h),ts(f),y}finally{k(23),pa()}return new ws(this.componentType,f)}finally{M(i)}}},ws=class extends Rv{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=ra(n[w],P),this.location=en(this._tNode,n),this.instance=Ce(this._tNode.index,n)[H],this.hostView=this.changeDetectorRef=new Nn(n,void 0,!1),this.componentType=t}setInput(t,n){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=Pa(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=Ce(r.index,o);Ha(s,1)}get injector(){return new it(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Jv(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 $a=(()=>{class e{static __NG_ELEMENT_ID__=Kv}return e})();function Kv(){let e=Z();return uf(e,g())}var Xv=$a,lf=class extends Xv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return en(this._hostTNode,this._hostLView)}get injector(){return new it(this._hostTNode,this._hostLView)}get parentInjector(){let t=ga(this._hostTNode,this._hostLView);if(Pu(t)){let n=Wr(t,this._hostLView),r=qr(t),o=n[w].data[r+8];return new it(o,n)}else return new it(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=ml(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ut(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,$t(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Gh(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new ht(ze(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let y=(s?l:this.parentInjector).get(Ge,null);y&&(i=y)}let u=ze(c.componentType??{}),d=Ut(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,$t(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(tg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[W],l=new lf(c,c[ne],c[W]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Hn(s,o,i,r),t.attachToViewContainerRef(),Xl(Ni(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=ml(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Tn(this._lContainer,n);r&&(Vr(Ni(this._lContainer),n),Ao(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Tn(this._lContainer,n);return r&&Vr(Ni(this._lContainer),n)!=null?new Nn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function ml(e){return e[$r]}function Ni(e){return e[$r]||(e[$r]=[])}function uf(e,t){let n,r=t[e.index];return xe(r)?n=r:(n=Jd(r,t,null,e),t[e.index]=n,Ra(t,n)),df(n,t,e,r),new lf(n,e,t)}function eI(e,t){let n=e[S],r=n.createComment(""),o=me(t,e),i=n.parentNode(o);return Xr(n,i,r,n.nextSibling(o),!1),r}var df=ff,Ua=()=>!1;function tI(e,t,n){return Ua(e,t,n)}function ff(e,t,n,r){if(e[Le])return;let o;n.type&8?o=ge(r):o=eI(t,n),e[Le]=o}function nI(e,t,n){if(e[Le]&&e[bn])return!0;let r=n[ce],o=t.index-P;if(!r||Jg(t)||Ln(r,o))return!1;let s=os(r,o),a=r.data[Ea]?.[o],[c,l]=Nv(s,a);return e[Le]=c,e[bn]=l,!0}function rI(e,t,n,r){Ua(e,n,t)||ff(e,t,n,r)}function oI(){df=rI,Ua=nI}var Ds=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},bs=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++)Wa(t,n).matches!==null&&this.queries[n].setDirty()}},io=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=uI(t):this.predicate=t}},Ms=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)}},Cs=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,iI(n,i)),this.matchTNodeWithReadOption(t,n,Or(n,t,i,!1,!1))}else r===to?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Or(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===_o||o===$a||o===to&&n.type&4)this.addMatch(n.index,-2);else{let i=Or(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 iI(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 sI(e,t){return e.type&11?en(e,t):e.type&4?Fo(e,t):null}function aI(e,t,n,r){return n===-1?sI(t,e):n===-2?cI(e,t,r):Cn(e,e[w],n,t)}function cI(e,t,n){if(n===_o)return en(t,e);if(n===to)return Fo(t,e);if(n===$a)return uf(t,e)}function pf(e,t,n,r){let o=t[Pe].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(aI(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function xs(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=pf(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=q;d<u.length;d++){let p=u[d];p[at]===p[W]&&xs(p[w],p,l,r)}if(u[Ht]!==null){let d=u[Ht];for(let p=0;p<d.length;p++){let f=d[p];xs(f[w],f,l,r)}}}}}return r}function qa(e,t){return e[Pe].queries[t].queryList}function hf(e,t,n){let r=new es((n&4)===4);return og(e,t,r,r.destroy),(t[Pe]??=new bs).queries.push(new Ds(r))-1}function lI(e,t,n){let r=L();return r.firstCreatePass&&(mf(r,new io(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),hf(r,g(),t)}function gf(e,t,n,r){let o=L();if(o.firstCreatePass){let i=Z();mf(o,new io(t,n,r),i.index),dI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return hf(o,g(),n)}function uI(e){return e.split(",").map(t=>t.trim())}function mf(e,t,n){e.queries===null&&(e.queries=new Ms),e.queries.track(new Cs(t,n))}function dI(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 Wa(e,t){return e.queries.getByIndex(t)}function yf(e,t){let n=e[w],r=Wa(n,t);return r.crossesNgTemplate?xs(n,e,t,[]):pf(n,e,r,t)}function za(e,t,n){let r,o=wr(()=>{r._dirtyCounter();let i=mI(r,e);if(t&&i===void 0)throw new x(-951,!1);return i});return r=o[Y],r._dirtyCounter=Gg(0),r._flatValue=void 0,o}function fI(e){return za(!0,!1,e)}function pI(e){return za(!0,!0,e)}function hI(e){return za(!1,!1,e)}function gI(e,t){let n=e[Y];n._lView=g(),n._queryIndex=t,n._queryList=qa(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function mI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:J;let o=qa(n,r),i=yf(n,r);return o.reset(i,Yu),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function yl(e,t){return fI(t)}function yI(e,t){return pI(t)}var qS=(yl.required=yI,yl);function WS(e,t){return hI(t)}function vf(e,t){let n=Object.create(Vl),r=new Yr;n.value=e;function o(){return St(n),vl(n.value),n.value}return o[Y]=n,o.asReadonly=Ju.bind(o),o.set=i=>{n.equal(n.value,i)||(kt(n,i),r.emit(i))},o.update=i=>{vl(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function vl(e){if(e===go)throw new x(952,!1)}function Il(e,t){return vf(e,t)}function vI(e){return vf(go,e)}var zS=(Il.required=vI,Il);var Sn=class{},II=class{};function QS(e,t){return new so(e,t??null,[])}var so=class extends Sn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new oo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=nu(t);this._bootstrapComponents=Cd(i.bootstrap),this._r3Injector=qu(t,n,[{provide:Sn,useValue:this},{provide:Ho,useValue:this.componentFactoryResolver},...r],ee(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)}},_s=class extends II{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new so(this.moduleType,t,[])}};var ao=class extends Sn{injector;componentFactoryResolver=new oo(this);instance=null;constructor(t){super();let n=new wn([...t.providers,{provide:Sn,useValue:this},{provide:Ho,useValue:this.componentFactoryResolver}],t.parent||Io(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function EI(e,t,n=null){return new ao({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var wI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=ou(!1,n.type),o=r.length>0?EI([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(We(Ge))})}return e})();function YS(e){return Rn(()=>{let t=If(e),n=oe(re({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===td.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(wI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||_n.Emulated,styles:e.styles||J,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&nn("NgStandalone"),Ef(n);let r=e.dependencies;return n.directiveDefs=El(r,!1),n.pipeDefs=El(r,!0),n.id=xI(n),n})}function DI(e){return ze(e)||ru(e)}function bI(e){return e!==null}function JS(e){return Rn(()=>({type:e.type,bootstrap:e.bootstrap||J,declarations:e.declarations||J,imports:e.imports||J,exports:e.exports||J,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function MI(e,t){if(e==null)return Me;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=Ro.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function CI(e){if(e==null)return Me;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function KS(e){return Rn(()=>{let t=If(e);return Ef(t),t})}function XS(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function If(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||Me,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||J,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:MI(e.inputs,t),outputs:CI(e.outputs),debugInfo:null}}function Ef(e){e.features?.forEach(t=>t(e))}function El(e,t){if(!e)return null;let n=t?Lh:DI;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(bI)}function xI(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 _I(e){return Object.getPrototypeOf(e.prototype).constructor}function TI(e){let t=_I(e.type),n=!0,r=[e];for(;t;){let o;if(he(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new x(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Si(e.inputs),s.declaredInputs=Si(e.declaredInputs),s.outputs=Si(e.outputs);let a=o.hostBindings;a&&OI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&kI(e,c),l&&RI(e,l),NI(e,o),hh(e.outputs,o.outputs),he(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===TI&&(n=!1)}}t=Object.getPrototypeOf(t)}SI(r)}function NI(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 SI(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=Bt(o.hostAttrs,n=Bt(n,o.hostAttrs))}}function Si(e){return e===Me?{}:e===J?[]:e}function kI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function RI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function OI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function ek(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=wf,n.hostDirectives=r?e.map(Ts):[e]):r?n.hostDirectives.unshift(...e.map(Ts)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function wf(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)wl(Ts(i),t,n)}else wl(r,t,n)}function wl(e,t,n){let r=ru(e.directive);AI(r.declaredInputs,e.inputs),wf(r,t,n),n.set(r,e),t.push(r)}function Ts(e){return typeof e=="function"?{directive:U(e),inputs:Me,outputs:Me}:{directive:U(e.directive),inputs:Dl(e.inputs),outputs:Dl(e.outputs)}}function Dl(e){if(e===void 0||e.length===0)return Me;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function AI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function Df(e){return Ga(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function PI(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 Ga(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Te(e,t,n){return e[t]=n}function $n(e,t){return e[t]}function G(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function qt(e,t,n,r){let o=G(e,t,n);return G(e,t+1,r)||o}function Za(e,t,n,r,o){let i=qt(e,t,n,r);return G(e,t+2,o)||i}function Wt(e,t,n,r,o,i){let s=qt(e,t,n,r);return qt(e,t+2,o,i)||s}function LI(e,t,n,r,o,i,s,a,c){let l=t.consts,u=Bn(t,e,4,s||null,a||null);ca()&&Ba(t,n,u,Ze(l,c),Aa),u.mergedAttrs=Bt(u.mergedAttrs,u.attrs),ha(t,u);let d=u.tView=Sa(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function co(e,t,n,r,o,i,s,a,c,l){let u=n+P,d=t.firstCreatePass?LI(u,t,e,r,o,i,s,a,c):t.data[u];yt(d,!1);let p=bf(t,e,d,n);Co()&&Po(t,e,p,d),tn(p,e);let f=Jd(p,e,p,d);return e[u]=f,Ra(e,f),tI(f,d,e),wo(d)&&Oo(t,e,d),c!=null&&Oa(e,d,l),d}function FI(e,t,n,r,o,i,s,a){let c=g(),l=L(),u=Ze(l.consts,i);return co(c,l,e,t,n,r,o,u,s,a),FI}var bf=Mf;function Mf(e,t,n,r){return Je(!0),t[S].createComment("")}function jI(e,t,n,r){let o=t[ce],i=!o||Kt()||vt(n)||Ln(o,r);if(Je(i),i)return Mf(e,t);let s=o.data[lm]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=jo(o,e,t,n);No(o,r,a);let c=ba(o,r);return Vo(c,a)}function VI(){bf=jI}var tk=(()=>{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 HI=new R("");var Cf=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:()=>new Ns})}return e})(),Ns=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function xf(e){return!!e&&typeof e.then=="function"}function BI(e){return!!e&&typeof e.subscribe=="function"}var _f=new R("");function nk(e){return Xs([{provide:_f,multi:!0,useValue:e}])}var Tf=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(_f,{optional:!0})??[];injector=C(ft);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=lu(this.injector,o);if(xf(i))n.push(i);else if(BI(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})(),Nf=new R("");function $I(){hi(()=>{throw new x(600,!1)})}function UI(e){return e.isBoundToModule}var qI=10;var zt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(Ug);afterRenderManager=C(fd);zonelessEnabled=C(ma);rootEffectScheduler=C(Cf);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new se;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=C(xo).hasPendingTasks.pipe(Be(n=>!n));constructor(){C(To,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(Ge);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ft.NULL){k(10);let i=n instanceof of;if(!this._injector.get(Tf).done){let f="";throw new x(405,f)}let a;i?a=n:a=this._injector.get(Ho).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=UI(a)?void 0:this._injector.get(Sn),l=r||a.selector,u=a.create(o,[],l,c),d=u.location.nativeElement,p=u.injector.get(HI,null);return p?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Ar(this.components,u),p?.unregisterApplication(d)}),this._loadComponent(u),k(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){k(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(wa.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new x(101,!1);let n=M(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(n),this.afterTick.next(),k(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ro,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<qI;)k(14),this.synchronizeOnce(),k(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)WI(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Do(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;Ar(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Nf,[]).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),()=>Ar(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new x(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 Ar(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function WI(e,t,n,r){if(!n&&!Do(e))return;Gd(e,t,n&&!r?0:1)}function zI(e,t,n,r){let o=g(),i=Ye();if(G(o,i,t)){let s=L(),a=Xt();ky(a,o,e,t,n,r)}return zI}function Sf(e,t,n,r){return G(e,Ye(),n)?t+be(n)+r:Q}function GI(e,t,n,r,o,i){let s=Mu(),a=qt(e,s,n,o);return bo(2),a?t+be(n)+r+be(o)+i:Q}function ZI(e,t,n,r,o,i,s,a){let c=Mu(),l=Za(e,c,n,o,s);return bo(3),l?t+be(n)+r+be(o)+i+be(s)+a:Q}function Nr(e,t){return e<<17|t<<2}function gt(e){return e>>17&32767}function QI(e){return(e&2)==2}function YI(e,t){return e&131071|t<<17}function Ss(e){return e|2}function Gt(e){return(e&131068)>>2}function ki(e,t){return e&-131069|t<<2}function JI(e){return(e&1)===1}function ks(e){return e|1}function KI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=gt(s),c=Gt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||On(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=gt(e[a+1]);e[r+1]=Nr(p,a),p!==0&&(e[p+1]=ki(e[p+1],r)),e[a+1]=YI(e[a+1],r)}else e[r+1]=Nr(a,0),a!==0&&(e[a+1]=ki(e[a+1],r)),a=r;else e[r+1]=Nr(c,0),a===0?a=r:e[c+1]=ki(e[c+1],r),c=r;l&&(e[r+1]=Ss(e[r+1])),bl(e,u,r,!0),bl(e,u,r,!1),XI(t,u,e,r,i),s=Nr(a,c),i?t.classBindings=s:t.styleBindings=s}function XI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&On(i,t)>=0&&(n[r+1]=ks(n[r+1]))}function bl(e,t,n,r){let o=e[n+1],i=t===null,s=r?gt(o):Gt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];eE(c,t)&&(a=!0,e[s+1]=r?ks(l):Ss(l)),s=r?gt(l):Gt(l)}a&&(e[n+1]=r?Ss(o):ks(o))}function eE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?On(e,t)>=0:!1}var V={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function kf(e){return e.substring(V.key,V.keyEnd)}function tE(e){return e.substring(V.value,V.valueEnd)}function nE(e){return Af(e),Rf(e,Zt(e,0,V.textEnd))}function Rf(e,t){let n=V.textEnd;return n===t?-1:(t=V.keyEnd=oE(e,V.key=t,n),Zt(e,t,n))}function rE(e){return Af(e),Of(e,Zt(e,0,V.textEnd))}function Of(e,t){let n=V.textEnd,r=V.key=Zt(e,t,n);return n===r?-1:(r=V.keyEnd=iE(e,r,n),r=Ml(e,r,n,58),r=V.value=Zt(e,r,n),r=V.valueEnd=sE(e,r,n),Ml(e,r,n,59))}function Af(e){V.key=0,V.keyEnd=0,V.value=0,V.valueEnd=0,V.textEnd=e.length}function Zt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function oE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function iE(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Ml(e,t,n,r){return t=Zt(e,t,n),t<n&&t++,t}function sE(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Cl(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Cl(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Cl(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function aE(e,t,n){let r=g(),o=Ye();if(G(r,o,t)){let i=L(),s=Xt();jn(i,s,r,e,t,r[S],n,!1)}return aE}function Rs(e,t,n,r,o){Pa(t,e,n,o?"class":"style",r)}function cE(e,t,n){return Pf(e,t,n,!1),cE}function lE(e,t){return Pf(e,t,null,!0),lE}function rk(e){Lf(Vf,uE,e,!1)}function uE(e,t){for(let n=rE(t);n>=0;n=Of(t,n))Vf(e,kf(t),tE(t))}function ok(e){Lf(yE,dE,e,!0)}function dE(e,t){for(let n=nE(t);n>=0;n=Rf(t,n))vo(e,kf(t),!0)}function Pf(e,t,n,r){let o=g(),i=L(),s=bo(2);if(i.firstUpdatePass&&jf(i,e,s,r),t!==Q&&G(o,s,t)){let a=i.data[_e()];Hf(i,a,o,o[S],e,o[s+1]=IE(t,n),r,s)}}function Lf(e,t,n,r){let o=L(),i=bo(2);o.firstUpdatePass&&jf(o,null,i,r);let s=g();if(n!==Q&&G(s,i,n)){let a=o.data[_e()];if(Bf(a,r)&&!Ff(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Fi(c,n||"")),Rs(o,a,s,n,r)}else vE(o,a,s,s[S],s[i+1],s[i+1]=mE(e,t,n),r,i)}}function Ff(e,t){return t>=e.expandoStartIndex}function jf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[_e()],s=Ff(e,n);Bf(i,r)&&t===null&&!s&&(t=!1),t=fE(o,i,t,r),KI(o,i,t,n,s,r)}}function fE(e,t,n,r){let o=Cu(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ri(null,e,t,n,r),n=kn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ri(o,e,t,n,r),i===null){let c=pE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ri(null,e,t,c[1],r),c=kn(c,t.attrs,r),hE(e,t,r,c))}else i=gE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function pE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Gt(r)!==0)return e[gt(r)]}function hE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[gt(o)]=r}function gE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=kn(r,s,n)}return kn(r,t.attrs,n)}function Ri(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=kn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function kn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),vo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function mE(e,t,n){if(n==null||n==="")return J;let r=[],o=rn(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 Vf(e,t,n){vo(e,t,rn(n))}function yE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&vo(e,r,n)}function vE(e,t,n,r,o,i,s,a){o===Q&&(o=J);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,y;u===d?(c+=2,l+=2,p!==f&&(h=d,y=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,y=f),h!==null&&Hf(e,t,n,r,h,y,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Hf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=JI(l)?xl(c,t,n,o,Gt(l),s):void 0;if(!lo(u)){lo(i)||QI(l)&&(i=xl(c,null,n,o,a,s));let d=vu(_e(),n);Yy(r,s,d,o,i)}}function xl(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?J:void 0);let f=d?Ii(p,r):u===r?p:void 0;if(l&&!lo(f)&&(f=Ii(c,r)),lo(f)&&(a=f,s))return a;let h=e[o+1];o=s?gt(h):Gt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ii(c,r))}return a}function lo(e){return e!==void 0}function IE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ee(rn(e)))),e}function Bf(e,t){return(e.flags&(t?8:16))!==0}var Os=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 Oi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function EE(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=Oi(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=Oi(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let y=n(i,l),A=n(s,p),N=n(i,u);if(Object.is(N,A)){let ye=n(c,f);Object.is(ye,y)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new uo,o??=Tl(e,i,s,n),As(e,r,i,N))e.updateValue(i,u),i++,s++;else if(o.has(N))r.set(y,e.detach(i)),s--;else{let ye=e.create(i,t[i]);e.attach(i,ye),i++,s++}}for(;i<=c;)_l(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=Oi(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new uo,o??=Tl(e,i,s,n);let f=n(i,d);if(As(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;)_l(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 As(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function _l(e,t,n,r,o){if(As(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Tl(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 uo=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 ik(e,t){nn("NgControlFlow");let n=g(),r=Ye(),o=n[r]!==Q?n[r]:-1,i=o!==-1?fo(n,P+o):void 0,s=0;if(G(n,r,e)){let a=M(null);try{if(i!==void 0&&Xd(i,s),e!==-1){let c=P+e,l=fo(n,c),u=js(n[w],c),d=Ut(l,u.tView.ssrId),p=Vn(n,u,t,{dehydratedView:d});Hn(l,p,s,$t(u,d))}}finally{M(a)}}else if(i!==void 0){let a=Kd(i,s);a!==void 0&&(a[H]=t)}}var Ps=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-q}};function sk(e){return e}function ak(e,t){return t}var Ls=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function ck(e,t,n,r,o,i,s,a,c,l,u,d,p){nn("NgControlFlow");let f=g(),h=L(),y=c!==void 0,A=g(),N=a?s.bind(A[K][H]):s,ye=new Ls(y,N);A[P+e]=ye,co(f,h,e+1,t,n,r,o,Ze(h.consts,i)),y&&co(f,h,e+2,c,l,u,d,Ze(h.consts,p))}var Fs=class extends Os{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-q}at(t){return this.getLView(t)[H].$implicit}attach(t,n){let r=n[ce];this.needsIndexUpdate||=t!==this.length,Hn(this.lContainer,n,t,$t(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,wE(this.lContainer,t)}create(t,n){let r=Ut(this.lContainer,this.templateTNode.tView.ssrId),o=Vn(this.hostLView,this.templateTNode,new Ps(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Ao(t[w],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[H].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[H].$index=t}getLView(t){return DE(this.lContainer,t)}};function lk(e){let t=M(null),n=_e();try{let r=g(),o=r[w],i=r[n],s=n+1,a=fo(r,s);if(i.liveCollection===void 0){let l=js(o,s);i.liveCollection=new Fs(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(EE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ye(),u=c.length===0;if(G(r,l,u)){let d=n+2,p=fo(r,d);if(u){let f=js(o,d),h=Ut(p,f.tView.ssrId),y=Vn(r,f,void 0,{dehydratedView:h});Hn(p,y,0,$t(f,h))}else Xd(p,0)}}}finally{M(t)}}function fo(e,t){return e[t]}function wE(e,t){return Tn(e,t)}function DE(e,t){return Kd(e,t)}function js(e,t){return ra(e,t)}function $f(e,t,n,r){let o=g(),i=L(),s=P+e,a=o[S],c=i.firstCreatePass?af(s,i,o,t,Aa,ca(),n,r):i.data[s],l=qf(i,o,c,a,t,e);o[s]=l;let u=wo(c);return yt(c,!0),Rd(a,l,c),!vt(c)&&Co()&&Po(i,o,l,c),(ig()===0||u)&&tn(l,o),sg(),u&&(Oo(i,o,c),Ma(i,c,o)),r!==null&&Oa(o,c),$f}function Uf(){let e=Z();la()?ua():(e=e.parent,yt(e,!1));let t=e;cg(t)&&ug(),ag();let n=L();return n.firstCreatePass&&cf(n,t),t.classesWithoutHost!=null&&Dg(t)&&Rs(n,t,g(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&bg(t)&&Rs(n,t,g(),t.stylesWithoutHost,!1),Uf}function bE(e,t,n,r){return $f(e,t,n,r),Uf(),bE}var qf=(e,t,n,r,o,i)=>(Je(!0),Ta(r,o,ku()));function ME(e,t,n,r,o,i){let s=t[ce],a=!s||Kt()||vt(n)||Ln(s,i);if(Je(a),a)return Ta(r,o,ku());let c=jo(s,e,t,n);return md(s,i)&&No(s,i,c.nextSibling),s&&(Xu(n)||ed(c))&&mt(n)&&(lg(n),kd(c)),c}function CE(){qf=ME}function xE(e,t,n,r,o){let i=t.consts,s=Ze(i,r),a=Bn(t,e,8,"ng-container",s);s!==null&&Es(a,s,!0);let c=Ze(i,o);return ca()&&Ba(t,n,a,c,Aa),a.mergedAttrs=Bt(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function Wf(e,t,n){let r=g(),o=L(),i=e+P,s=o.firstCreatePass?xE(i,o,r,t,n):o.data[i];yt(s,!0);let a=Gf(o,r,s,e);return r[i]=a,Co()&&Po(o,r,a,s),tn(a,r),wo(s)&&(Oo(o,r,s),Ma(o,s,r)),n!=null&&Oa(r,s),Wf}function zf(){let e=Z(),t=L();return la()?ua():(e=e.parent,yt(e,!1)),t.firstCreatePass&&(ha(t,e),na(e)&&t.queries.elementEnd(e)),zf}function _E(e,t,n){return Wf(e,t,n),zf(),_E}var Gf=(e,t,n,r)=>(Je(!0),Nd(t[S],""));function TE(e,t,n,r){let o,i=t[ce],s=!i||Kt()||Ln(i,r)||vt(n);if(Je(s),s)return Nd(t[S],"");let a=jo(i,e,t,n),c=Tm(i,r);return No(i,r,a),o=Vo(c,a),o}function NE(){Gf=TE}function uk(){return g()}function SE(e,t,n){let r=g(),o=Ye();if(G(r,o,t)){let i=L(),s=Xt();jn(i,s,r,e,t,r[S],n,!0)}return SE}function kE(e,t,n){let r=g(),o=Ye();if(G(r,o,t)){let i=L(),s=Xt(),a=Cu(i.data),c=Ay(a,s,r);jn(i,s,r,e,t,c,n,!0)}return kE}var rt=void 0;function RE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var OE=["en",[["a","p"],["AM","PM"],rt],[["AM","PM"],rt,rt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],rt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],rt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",rt,"{1} 'at' {0}",rt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",RE],Ai={};function dk(e){let t=PE(e),n=Nl(t);if(n)return n;let r=t.split("-")[0];if(n=Nl(r),n)return n;if(r==="en")return OE;throw new x(701,!1)}function Nl(e){return e in Ai||(Ai[e]=$e.ng&&$e.ng.common&&$e.ng.common.locales&&$e.ng.common.locales[e]),Ai[e]}var AE=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(AE||{});function PE(e){return e.toLowerCase().replace(/_/g,"-")}var po="en-US";var LE=po;function FE(e){typeof e=="string"&&(LE=e.toLowerCase().replace(/_/g,"-"))}function Sl(e,t,n){return function r(o){if(o===Function)return n;let i=mt(e)?Ce(e.index,t):t;Ha(i,5);let s=t[H],a=kl(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=kl(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function kl(e,t,n,r){let o=M(null);try{return k(6,t,n),n(r)!==!1}catch(i){return jE(e,i),!1}finally{k(7,t,n),M(o)}}function jE(e,t){let n=e[Vt],r=n?n.get(Qe,null):null;r&&r.handleError(t)}function Rl(e,t,n,r,o,i){let s=t[n],a=t[w],l=a.data[n].outputs[r],u=s[l],d=a.firstCreatePass?aa(a):null,p=sa(t),f=u.subscribe(i),h=p.length;p.push(i,f),d&&d.push(o,e.index,h,-(h+1))}function VE(e,t,n,r){let o=g(),i=L(),s=Z();return Zf(i,o,o[S],s,e,t,r),VE}function HE(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[Br],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Zf(e,t,n,r,o,i,s){let a=wo(r),l=e.firstCreatePass?aa(e):null,u=sa(t),d=!0;if(r.type&3||s){let p=me(r,t),f=s?s(p):p,h=u.length,y=s?N=>s(ge(N[r.index])):r.index,A=null;if(!s&&a&&(A=HE(e,t,o,r.index)),A!==null){let N=A.__ngLastListenerFn__||A;N.__ngNextListenerFn__=i,A.__ngLastListenerFn__=i,d=!1}else{i=Sl(r,t,i),Em(t,f,o,i);let N=n.listen(f,o,i);u.push(i,N),l&&l.push(o,y,h,h+1)}}else i=Sl(r,t,i);if(d){let p=r.outputs?.[o],f=r.hostDirectiveOutputs?.[o];if(f&&f.length)for(let h=0;h<f.length;h+=2){let y=f[h],A=f[h+1];Rl(r,t,y,A,o,i)}if(p&&p.length)for(let h of p)Rl(r,t,h,o,o,i)}}function fk(e=1){return vg(e)}function BE(e,t){let n=null,r=ly(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?_d(e,i,!0):fy(r,i))return o}return n}function pk(e){let t=g()[K][ne];if(!t.projection){let n=e?e.length:1,r=t.projection=Oh(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?BE(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function hk(e,t=0,n,r,o,i){let s=g(),a=L(),c=r?e+1:null;c!==null&&co(s,a,c,r,o,i,null,n);let l=Bn(a,P+e,16,null,n||null);l.projection===null&&(l.projection=t),ua();let d=!s[ce]||Kt();s[K][ne].projection[l.projection]===null&&c!==null?$E(s,a,c):d&&!vt(l)&&Zy(a,s,l)}function $E(e,t,n){let r=P+n,o=t.data[r],i=e[r],s=Ut(i,o.tView.ssrId),a=Vn(e,o,void 0,{dehydratedView:s});Hn(i,a,0,$t(o,s))}function UE(e,t,n,r,o){let i=g(),s=Sf(i,t,n,r);if(s!==Q){let a=L(),c=Xt();jn(a,c,i,e,s,i[S],o,!1)}return UE}function gk(e,t,n,r){gf(e,t,n,r)}function mk(e,t,n){lI(e,t,n)}function yk(e){let t=g(),n=L(),r=da();Mo(r+1);let o=Wa(n,r);if(e.dirty&&eg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=yf(t,r);e.reset(i,Yu),e.notifyOnChanges()}return!0}return!1}function vk(){return qa(g(),da())}function Ik(e,t,n,r,o){gI(t,gf(e,n,r,o))}function Ek(e=1){Mo(da()+e)}function wk(e){let t=fg();return oa(t,P+e)}function Dk(e,t=""){let n=g(),r=L(),o=e+P,i=r.firstCreatePass?Bn(r,o,1,t,null):r.data[o],s=Qf(r,n,i,t,e);n[o]=s,Co()&&Po(r,n,s,i),yt(i,!1)}var Qf=(e,t,n,r,o)=>(Je(!0),Td(t[S],r));function qE(e,t,n,r,o){let i=t[ce],s=!i||Kt()||vt(n)||Ln(i,o);return Je(s),s?Td(t[S],r):jo(i,e,t,n)}function WE(){Qf=qE}function zE(e){return Yf("",e,""),zE}function Yf(e,t,n){let r=g(),o=Sf(r,e,t,n);return o!==Q&&Qa(r,_e(),o),Yf}function GE(e,t,n,r,o){let i=g(),s=GI(i,e,t,n,r,o);return s!==Q&&Qa(i,_e(),s),GE}function ZE(e,t,n,r,o,i,s){let a=g(),c=ZI(a,e,t,n,r,o,i,s);return c!==Q&&Qa(a,_e(),c),ZE}function Qa(e,t,n){let r=vu(t,e);my(e[S],r,n)}function QE(e,t,n){Ku(t)&&(t=t());let r=g(),o=Ye();if(G(r,o,t)){let i=L(),s=Xt();jn(i,s,r,e,t,r[S],n,!1)}return QE}function bk(e,t){let n=Ku(e);return n&&e.set(t),n}function YE(e,t){let n=g(),r=L(),o=Z();return Zf(r,n,n[S],o,e,t),YE}function JE(e,t,n){let r=L();if(r.firstCreatePass){let o=he(e);Vs(n,r.data,r.blueprint,o,!0),Vs(t,r.data,r.blueprint,o,!1)}}function Vs(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i<e.length;i++)Vs(e[i],t,n,r,o);else{let i=L(),s=g(),a=Z(),c=jt(e)?e:U(e.provide),l=cu(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(jt(e)||!e.multi){let f=new dt(l,o,Bo),h=Li(c,t,o?u:u+p,d);h===-1?(Qi(Gr(a,s),i,c),Pi(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=Li(c,t,u+p,d),h=Li(c,t,u,u+p),y=f>=0&&n[f],A=h>=0&&n[h];if(o&&!A||!o&&!y){Qi(Gr(a,s),i,c);let N=ew(o?XE:KE,n.length,o,r,l);!o&&A&&(n[h].providerFactory=N),Pi(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=Jf(n[o?h:f],l,!o&&r);Pi(i,e,f>-1?f:h,N)}!o&&r&&A&&n[h].componentProviders++}}}function Pi(e,t,n,r){let o=jt(t),i=Bh(t);if(o||i){let c=(i?U(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 Jf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Li(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function KE(e,t,n,r,o){return Hs(this.multi,[])}function XE(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Cn(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),Hs(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Hs(i,s);return s}function Hs(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function ew(e,t,n,r,o){let i=new dt(e,n,Bo);return i.multi=[],i.index=t,i.componentProviders=0,Jf(i,o,r&&!n),i}function Mk(e,t=[]){return n=>{n.providersResolver=(r,o)=>JE(r,o?o(e):e,t)}}function Ck(e,t,n){let r=le()+e,o=g();return o[r]===Q?Te(o,r,n?t.call(n):t()):$n(o,r)}function xk(e,t,n,r){return Kf(g(),le(),e,t,n,r)}function _k(e,t,n,r,o){return Xf(g(),le(),e,t,n,r,o)}function Tk(e,t,n,r,o,i){return tw(g(),le(),e,t,n,r,o,i)}function Nk(e,t,n,r,o,i,s){return nw(g(),le(),e,t,n,r,o,i,s)}function Sk(e,t,n,r,o,i,s,a){let c=le()+e,l=g(),u=Wt(l,c,n,r,o,i);return G(l,c+4,s)||u?Te(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):$n(l,c+5)}function kk(e,t,n,r,o,i,s,a,c){let l=le()+e,u=g(),d=Wt(u,l,n,r,o,i);return qt(u,l+4,s,a)||d?Te(u,l+6,c?t.call(c,n,r,o,i,s,a):t(n,r,o,i,s,a)):$n(u,l+6)}function Rk(e,t,n,r,o,i,s,a,c,l){let u=le()+e,d=g(),p=Wt(d,u,n,r,o,i);return Za(d,u+4,s,a,c)||p?Te(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):$n(d,u+7)}function Ok(e,t,n,r,o,i,s,a,c,l,u){let d=le()+e,p=g(),f=Wt(p,d,n,r,o,i);return Wt(p,d+4,s,a,c,l)||f?Te(p,d+8,u?t.call(u,n,r,o,i,s,a,c,l):t(n,r,o,i,s,a,c,l)):$n(p,d+8)}function Ak(e,t,n,r){return rw(g(),le(),e,t,n,r)}function Un(e,t){let n=e[t];return n===Q?void 0:n}function Kf(e,t,n,r,o,i){let s=t+n;return G(e,s,o)?Te(e,s+1,i?r.call(i,o):r(o)):Un(e,s+1)}function Xf(e,t,n,r,o,i,s){let a=t+n;return qt(e,a,o,i)?Te(e,a+2,s?r.call(s,o,i):r(o,i)):Un(e,a+2)}function tw(e,t,n,r,o,i,s,a){let c=t+n;return Za(e,c,o,i,s)?Te(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Un(e,c+3)}function nw(e,t,n,r,o,i,s,a,c){let l=t+n;return Wt(e,l,o,i,s,a)?Te(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Un(e,l+4)}function rw(e,t,n,r,o,i){let s=t+n,a=!1;for(let c=0;c<o.length;c++)G(e,s++,o[c])&&(a=!0);return a?Te(e,s,r.apply(i,o)):Un(e,s)}function Pk(e,t){let n=L(),r,o=e+P;n.firstCreatePass?(r=ow(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=st(r.type,!0)),s,a=X(Bo);try{let c=zr(!1),l=i();return zr(c),Xh(n,g(),o,l),l}finally{X(a)}}function ow(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Lk(e,t,n){let r=e+P,o=g(),i=oa(o,r);return ep(o,r)?Kf(o,le(),t,i.transform,n,i):i.transform(n)}function Fk(e,t,n,r){let o=e+P,i=g(),s=oa(i,o);return ep(i,o)?Xf(i,le(),t,s.transform,n,r,s):s.transform(n,r)}function ep(e,t){return e[w].data[t].pure}function jk(e,t){return Fo(e,t)}var Bs=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Vk=(()=>{class e{compileModuleSync(n){return new _s(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=nu(n),i=Cd(o.declarations).reduce((s,a)=>{let c=ze(a);return c&&s.push(new ht(c)),s},[]);return new Bs(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 iw=(()=>{class e{zone=C(ie);changeDetectionScheduler=C(pt);applicationRef=C(zt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),sw=new R("",{factory:()=>!1});function tp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ie(oe(re({},np()),{scheduleInRootZone:n})),[{provide:ie,useFactory:e},{provide:En,multi:!0,useFactory:()=>{let r=C(iw,{optional:!0});return()=>r.initialize()}},{provide:En,multi:!0,useFactory:()=>{let r=C(aw);return()=>{r.initialize()}}},t===!0?{provide:zu,useValue:!0}:[],{provide:Gu,useValue:n??Wu}]}function Hk(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=tp({ngZoneFactory:()=>{let o=np(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&nn("NgZone_CoalesceEvent"),new ie(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Xs([{provide:sw,useValue:!0},{provide:ma,useValue:!1},r])}function np(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var aw=(()=>{class e{subscription=new F;initialized=!1;zone=C(ie);pendingTasks=C(xo);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(()=>{ie.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ie.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 cw=(()=>{class e{appRef=C(zt);taskService=C(xo);ngZone=C(ie);zonelessEnabled=C(ma);tracing=C(To,{optional:!0});disableScheduling=C(zu,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new F;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Qr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(Gu,{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 Xi||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Jc:Zu;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(Qr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Jc(()=>{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 lw(){return typeof $localize<"u"&&$localize.locale||po}var rp=new R("",{providedIn:"root",factory:()=>C(rp,T.Optional|T.SkipSelf)||lw()});var $s=new R(""),uw=new R("");function mn(e){return!e.moduleRef}function dw(e){let t=mn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ie);return n.run(()=>{mn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Qe,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),mn(e)){let i=()=>t.destroy(),s=e.platformInjector.get($s);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get($s);s.add(i),e.moduleRef.onDestroy(()=>{Ar(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return pw(r,n,()=>{let i=t.get(Tf);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(rp,po);if(FE(s||po),!t.get(uw,!0))return mn(e)?t.get(zt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(mn(e)){let c=t.get(zt);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return fw(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function fw(e,t){let n=e.injector.get(zt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new x(-403,!1);t.push(e)}function pw(e,t,n){try{let r=n();return xf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Pr=null;function hw(e=[],t){return ft.create({name:t,providers:[{provide:au,useValue:"platform"},{provide:$s,useValue:new Set([()=>Pr=null])},...e]})}function gw(e=[]){if(Pr)return Pr;let t=hw(e);return Pr=t,$I(),mw(t),t}function mw(e){let t=e.get(rm,null);lu(e,()=>{t?.forEach(n=>n())})}var Bk=(()=>{class e{static __NG_ELEMENT_ID__=yw}return e})();function yw(e){return vw(Z(),g(),(e&16)===16)}function vw(e,t,n){if(mt(e)&&!n){let r=Ce(e.index,t);return new Nn(r,r)}else if(e.type&175){let r=t[K];return new Nn(r,t)}return null}var Us=class{constructor(){}supports(t){return Df(t)}create(t){return new qs(t)}},Iw=(e,t)=>t,qs=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||Iw}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<Ol(r,o,i)?n:r,a=Ol(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=[]),!Df(t))throw new x(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,PI(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 Ws(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 ho),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 ho),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}},Ws=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}},zs=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}},ho=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new zs,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 Ol(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Gs=class{constructor(){}supports(t){return t instanceof Map||Ga(t)}create(){return new Zs}},Zs=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Ga(t)))throw new x(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Qs(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Qs=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Al(){return new Ew([new Us])}var Ew=(()=>{class e{factories;static \u0275prov=B({token:e,providedIn:"root",factory:Al});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Al()),deps:[[e,new Kl,new Jl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new x(901,!1)}}return e})();function Pl(){return new ww([new Gs])}var ww=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:Pl});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Pl()),deps:[[e,new Kl,new Jl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new x(901,!1)}}return e})();function $k(e){k(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=gw(r),i=[tp({}),{provide:pt,useExisting:cw},...n||[]],s=new ao({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return dw({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{k(9)}}var Ll=!1;function Dw(){Ll||(Ll=!0,Mm(),CE(),WE(),NE(),VI(),oI(),kv(),Cy())}function bw(e){return e.whenStable()}function Uk(){let e=[{provide:Cr,useFactory:()=>{let t=!0;return t=!!C(Ia,{optional:!0})?.get(pd,null),t&&nn("NgHydration"),t}},{provide:En,useValue:()=>{Mv(!1),C(Cr)&&(Sm(Pn()),Dw())},multi:!0}];return e.push({provide:dd,useFactory:()=>C(Cr)},{provide:Nf,useFactory:()=>{if(C(Cr)){let t=C(zt);return()=>{bw(t).then(()=>{t.destroyed||Tv(t)})}}return()=>{}},multi:!0}),Xs(e)}function qk(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Wk(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function zk(e){return yi(e)}function Gk(e,t){return wr(e,t?.equal)}var Ys=class{[Y];constructor(t){this[Y]=t}destroy(){this[Y].destroy()}};function Mw(e,t){!t?.injector&&du(Mw);let n=t?.injector??C(ft),r=t?.manualCleanup!==!0?n.get(An):null,o,i=n.get(Da,null,{optional:!0}),s=n.get(pt);return i!==null&&!t?.forceRoot?(o=_w(i.view,s,e),r instanceof Zr&&r._lView===i.view&&(r=null)):o=Tw(e,n.get(Cf),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Ys(o)}var op=oe(re({},Nt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:xn,run(){if(this.dirty=!1,this.hasRun&&!vr(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=pn(this),n=Ur(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ur(n),yr(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),Cw=oe(re({},op),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){hn(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),xw=oe(re({},op),{consumerMarkedDirty(){this.view[E]|=8192,Jt(this.view),this.notifier.notify(13)},destroy(){hn(this),this.onDestroyFn(),this.maybeCleanup(),this.view[ct]?.delete(this)}});function _w(e,t,n){let r=Object.create(xw);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[ct]??=new Set,e[ct].add(r),r.consumerMarkedDirty(r),r}function Tw(e,t,n){let r=Object.create(Cw);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function Zk(e,t){let n=ze(e),r=t.elementInjector||Io();return new ht(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function Qk(e){let t=ze(e);if(!t)return null;let n=new ht(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{F as a,ve as b,cp as c,_ as d,ei as e,ti as f,se as g,on as h,cn as i,Np as j,ke as k,Ee as l,Jo as m,Sp as n,kp as o,nt as p,Dc as q,bc as r,Be as s,Cp as t,we as u,ln as v,Tt as w,Op as x,Ap as y,ni as z,un as A,Bp as B,$p as C,Re as D,qp as E,Wp as F,Gp as G,Zp as H,Ko as I,Sc as J,Qp as K,_p as L,dn as M,ri as N,yc as O,Jp as P,Kp as Q,Xp as R,oi as S,eh as T,th as U,Ic as V,kc as W,Ec as X,nh as Y,wc as Z,rh as _,x as $,$l as aa,B as ba,dS as ca,fS as da,R as ea,T as fa,We as ga,C as ha,Xs as ia,Fh as ja,au as ka,Ge as la,lu as ma,du as na,pS as oa,hS as pa,gS as qa,mS as ra,yS as sa,vS as ta,IS as ua,ft as va,An as wa,pt as xa,xo as ya,Ue as za,ie as Aa,Qe as Ba,ES as Ca,wS as Da,_o as Ea,zg as Fa,Gg as Ga,DS as Ha,tm as Ia,rm as Ja,bS as Ka,MS as La,CS as Ma,Ia as Na,To as Oa,nn as Pa,At as Qa,mm as Ra,_n as Sa,rn as Ta,Ca as Ua,xS as Va,_S as Wa,TS as Xa,NS as Ya,SS as Za,Id as _a,Zm as $a,ko as ab,kS as bb,Ym as cb,RS as db,OS as eb,AS as fb,PS as gb,gs as hb,to as ib,Ho as jb,ro as kb,BS as lb,Bo as mb,$S as nb,$a as ob,qS as pb,WS as qb,zS as rb,Sn as sb,II as tb,QS as ub,EI as vb,YS as wb,JS as xb,KS as yb,XS as zb,TI as Ab,ek as Bb,FI as Cb,tk as Db,xf as Eb,BI as Fb,nk as Gb,Nf as Hb,zt as Ib,zI as Jb,aE as Kb,cE as Lb,lE as Mb,rk as Nb,ok as Ob,ik as Pb,sk as Qb,ak as Rb,ck as Sb,lk as Tb,$f as Ub,Uf as Vb,bE as Wb,Wf as Xb,zf as Yb,_E as Zb,uk as _b,SE as $b,kE as ac,dk as bc,AE as cc,VE as dc,fk as ec,pk as fc,hk as gc,UE as hc,gk as ic,mk as jc,yk as kc,vk as lc,Ik as mc,Ek as nc,wk as oc,Dk as pc,zE as qc,Yf as rc,GE as sc,ZE as tc,QE as uc,bk as vc,YE as wc,Mk as xc,Ck as yc,xk as zc,_k as Ac,Tk as Bc,Nk as Cc,Sk as Dc,kk as Ec,Rk as Fc,Ok as Gc,Ak as Hc,Pk as Ic,Lk as Jc,Fk as Kc,jk as Lc,Vk as Mc,Hk as Nc,rp as Oc,Bk as Pc,Ew as Qc,ww as Rc,$k as Sc,Uk as Tc,qk as Uc,Wk as Vc,zk as Wc,Gk as Xc,Mw as Yc,Zk as Zc,Qk as _c};
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Ke(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var F=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(v(r))try{r()}catch(i){t=i instanceof qn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ya(i)}catch(s){t=t??[],s instanceof qn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new qn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ya(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)&&Ke(n,t)}remove(t){let{_finalizers:n}=this;n&&Ke(n,t),t instanceof e&&t._removeParent(this)}};F.EMPTY=(()=>{let e=new F;return e.closed=!0,e})();var $o=F.EMPTY;function Wn(e){return e instanceof F||e&&"closed"in e&&v(e.remove)&&v(e.add)&&v(e.unsubscribe)}function Ya(e){v(e)?e():e.unsubscribe()}var ue={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var It={setTimeout(e,t,...n){let{delegate:r}=It;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=It;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function zn(e){It.setTimeout(()=>{let{onUnhandledError:t}=ue;if(t)t(e);else throw e})}function ve(){}var Ja=Uo("C",void 0,void 0);function Ka(e){return Uo("E",void 0,e)}function Xa(e){return Uo("N",e,void 0)}function Uo(e,t,n){return{kind:e,value:t,error:n}}var Xe=null;function Et(e){if(ue.useDeprecatedSynchronousErrorHandling){let t=!Xe;if(t&&(Xe={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Xe;if(Xe=null,n)throw r}}else e()}function ec(e){ue.useDeprecatedSynchronousErrorHandling&&Xe&&(Xe.errorThrown=!0,Xe.error=e)}var et=class extends F{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Wn(t)&&t.add(this)):this.destination=lp}static create(t,n,r){return new Ne(t,n,r)}next(t){this.isStopped?Wo(Xa(t),this):this._next(t)}error(t){this.isStopped?Wo(Ka(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Wo(Ja,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()}}},ap=Function.prototype.bind;function qo(e,t){return ap.call(e,t)}var zo=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Gn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Gn(r)}else Gn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Gn(n)}}},Ne=class extends et{constructor(t,n,r){super();let o;if(v(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ue.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&qo(t.next,i),error:t.error&&qo(t.error,i),complete:t.complete&&qo(t.complete,i)}):o=t}this.destination=new zo(o)}};function Gn(e){ue.useDeprecatedSynchronousErrorHandling?ec(e):zn(e)}function cp(e){throw e}function Wo(e,t){let{onStoppedNotification:n}=ue;n&&It.setTimeout(()=>n(e,t))}var lp={closed:!0,next:ve,error:cp,complete:ve};var wt=typeof Symbol=="function"&&Symbol.observable||"@@observable";function $(e){return e}function up(...e){return Go(e)}function Go(e){return e.length===0?$:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var _=(()=>{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=fp(n)?n:new Ne(n,r,o);return Et(()=>{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=tc(r),new r((o,i)=>{let s=new Ne({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)}[wt](){return this}pipe(...n){return Go(n)(this)}toPromise(n){return n=tc(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 tc(e){var t;return(t=e??ue.Promise)!==null&&t!==void 0?t:Promise}function dp(e){return e&&v(e.next)&&v(e.error)&&v(e.complete)}function fp(e){return e&&e instanceof et||dp(e)&&Wn(e)}var nc=Ve(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var se=(()=>{class e extends _{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new Zn(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new nc}next(n){Et(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Et(()=>{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(){Et(()=>{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?$o:(this.currentObservers=null,i.push(n),new F(()=>{this.currentObservers=null,Ke(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new _;return n.source=this,n}}return e.create=(t,n)=>new Zn(t,n),e})(),Zn=class extends se{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:$o}};var on=class extends se{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};function Qn(e){return e&&v(e.schedule)}function Zo(e){return e[e.length-1]}function He(e){return v(Zo(e))?e.pop():void 0}function Ie(e){return Qn(Zo(e))?e.pop():void 0}function rc(e,t){return typeof Zo(e)=="number"?e.pop():t}function ic(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 oc(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 tt(e){return this instanceof tt?(this.v=e,this):new tt(e)}function sc(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(y){return new Promise(function(A,N){i.push([f,y,A,N])>1||c(f,y)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(y){p(i[0][3],y)}}function l(f){f.value instanceof tt?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 ac(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 oc=="function"?oc(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 Dt=e=>e&&typeof e.length=="number"&&typeof e!="function";function Yn(e){return v(e?.then)}function Jn(e){return v(e[wt])}function Kn(e){return Symbol.asyncIterator&&v(e?.[Symbol.asyncIterator])}function Xn(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 pp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var er=pp();function tr(e){return v(e?.[er])}function nr(e){return sc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield tt(n.read());if(o)return yield tt(void 0);yield yield tt(r)}}finally{n.releaseLock()}})}function rr(e){return v(e?.getReader)}function D(e){if(e instanceof _)return e;if(e!=null){if(Jn(e))return hp(e);if(Dt(e))return gp(e);if(Yn(e))return mp(e);if(Kn(e))return cc(e);if(tr(e))return yp(e);if(rr(e))return vp(e)}throw Xn(e)}function hp(e){return new _(t=>{let n=e[wt]();if(v(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function gp(e){return new _(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function mp(e){return new _(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,zn)})}function yp(e){return new _(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function cc(e){return new _(t=>{Ip(e,t).catch(n=>t.error(n))})}function vp(e){return cc(nr(e))}function Ip(e,t){var n,r,o,i;return ic(this,void 0,void 0,function*(){try{for(n=ac(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 z(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 Qo(e){return v(e?.lift)}function I(e){return t=>{if(Qo(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 m(e,t,n,r,o){return new Yo(e,t,n,r,o)}var Yo=class extends et{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 or(e,t=0){return I((n,r)=>{n.subscribe(m(r,o=>z(r,e,()=>r.next(o),t),()=>z(r,e,()=>r.complete(),t),o=>z(r,e,()=>r.error(o),t)))})}function ir(e,t=0){return I((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function lc(e,t){return D(e).pipe(ir(t),or(t))}function uc(e,t){return D(e).pipe(ir(t),or(t))}function dc(e,t){return new _(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function fc(e,t){return new _(n=>{let r;return z(n,t,()=>{r=e[er](),z(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)}),()=>v(r?.return)&&r.return()})}function sr(e,t){if(!e)throw new Error("Iterable cannot be null");return new _(n=>{z(n,t,()=>{let r=e[Symbol.asyncIterator]();z(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function pc(e,t){return sr(nr(e),t)}function hc(e,t){if(e!=null){if(Jn(e))return lc(e,t);if(Dt(e))return dc(e,t);if(Yn(e))return uc(e,t);if(Kn(e))return sr(e,t);if(tr(e))return fc(e,t);if(rr(e))return pc(e,t)}throw Xn(e)}function Ee(e,t){return t?hc(e,t):D(e)}function Jo(...e){let t=Ie(e);return Ee(e,t)}function Be(e,t){return I((n,r)=>{let o=0;n.subscribe(m(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Ep}=Array,{getPrototypeOf:wp,prototype:Dp,keys:bp}=Object;function ar(e){if(e.length===1){let t=e[0];if(Ep(t))return{args:t,keys:null};if(Mp(t)){let n=bp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Mp(e){return e&&typeof e=="object"&&wp(e)===Dp}var{isArray:Cp}=Array;function xp(e,t){return Cp(t)?e(...t):e(t)}function bt(e){return Be(t=>xp(e,t))}function cr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function _p(...e){let t=Ie(e),n=He(e),{args:r,keys:o}=ar(e);if(r.length===0)return Ee([],t);let i=new _(Tp(r,t,o?s=>cr(o,s):$));return n?i.pipe(bt(n)):i}function Tp(e,t,n=$){return r=>{gc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)gc(t,()=>{let l=Ee(e[c],t),u=!1;l.subscribe(m(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function gc(e,t,n){e?z(n,e,t):t()}function Ko(e){return I((t,n)=>{let r=null,o=!1,i;r=t.subscribe(m(n,void 0,void 0,s=>{i=D(e(s,Ko(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var lr=class extends F{constructor(t,n){super()}schedule(t,n=0){return this}};var sn={setInterval(e,t,...n){let{delegate:r}=sn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=sn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Mt=class extends lr{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 sn.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&&sn.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,Ke(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var an={now(){return(an.delegate||Date).now()},delegate:void 0};var Ct=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)}};Ct.now=an.now;var xt=class extends Ct{constructor(t,n=Ct.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 Se=new xt(Mt),mc=Se;function Np(e,t=Se){return I((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(m(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 yc(e,t=$){return e=e??Sp,I((n,r)=>{let o,i=!0;n.subscribe(m(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Sp(e,t){return e===t}var cn=class extends se{constructor(t=1/0,n=1/0,r=an){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function vc(e={}){let{connector:t=()=>new se,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 y=s;f(),y?.unsubscribe()};return I((y,A)=>{l++,!d&&!u&&p();let N=c=c??t();A.add(()=>{l--,l===0&&!d&&!u&&(a=Xo(h,o))}),N.subscribe(A),!s&&l>0&&(s=new Ne({next:ye=>N.next(ye),error:ye=>{d=!0,p(),a=Xo(f,n,ye),N.error(ye)},complete:()=>{u=!0,p(),a=Xo(f,r),N.complete()}}),D(y).subscribe(s))})(i)}}function Xo(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ne({next:()=>{r.unsubscribe(),e()}});return D(t(...n)).subscribe(r)}function Ic(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,vc({connector:()=>new cn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ec(e,t){return I((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(m(r,c=>{o?.unsubscribe();let l=0,u=i++;D(e(c,u)).subscribe(o=m(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function wc(e,t,n){let r=v(e)||t||n?{next:e,error:t,complete:n}:e;return r?I((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(m(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)}))}):$}function ei(){return I((e,t)=>{let n=null;e._refCount++;let r=m(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 ti=class extends _{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Qo(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 F;let n=this.getSubject();t.add(this.source.subscribe(m(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=F.EMPTY)}return t}refCount(){return ei()(this)}};var _t={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=_t;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new F(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=_t;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=_t;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var ur=class extends Mt{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=_t.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&&(_t.cancelAnimationFrame(n),t._scheduled=void 0)}};var dr=class extends xt{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 kp=new dr(ur);var ke=new _(e=>e.complete());function Rp(e,t){let n=v(e)?e:()=>e,r=o=>o.error(n());return new _(t?o=>t.schedule(r,0,o):r)}function Op(e){return!!e&&(e instanceof _||v(e.lift)&&v(e.subscribe))}var nt=Ve(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function fr(e){return e instanceof Date&&!isNaN(e)}var Dc=Ve(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function bc(e,t){let{first:n,each:r,with:o=Ap,scheduler:i=t??Se,meta:s=null}=fr(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return I((a,c)=>{let l,u,d=null,p=0,f=h=>{u=z(c,i,()=>{try{l.unsubscribe(),D(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(y){c.error(y)}},h)};l=a.subscribe(m(c,h=>{u?.unsubscribe(),p++,c.next(d=h),r>0&&f(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function Ap(e){throw new Dc(e)}function Mc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=y=>l<r?h(y):c.push(y),h=y=>{i&&t.next(y),l++;let A=!1;D(n(y,u++)).subscribe(m(t,N=>{o?.(N),i?f(N):t.next(N)},()=>{A=!0},void 0,()=>{if(A)try{for(l--;c.length&&l<r;){let N=c.shift();s?z(t,s,()=>h(N)):h(N)}p()}catch(N){t.error(N)}}))};return e.subscribe(m(t,f,()=>{d=!0,p()})),()=>{a?.()}}function we(e,t,n=1/0){return v(t)?we((r,o)=>Be((i,s)=>t(r,i,o,s))(D(e(r,o))),n):(typeof t=="number"&&(n=t),I((r,o)=>Mc(r,o,e,n)))}function ln(e=1/0){return we($,e)}function Cc(){return ln(1)}function Tt(...e){return Cc()(Ee(e,Ie(e)))}function Pp(e){return new _(t=>{D(e()).subscribe(t)})}function Lp(...e){let t=He(e),{args:n,keys:r}=ar(e),o=new _(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;D(n[u]).subscribe(m(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?cr(r,a):a),i.complete())}))}});return t?o.pipe(bt(t)):o}var Fp=["addListener","removeListener"],jp=["addEventListener","removeEventListener"],Vp=["on","off"];function ni(e,t,n,r){if(v(n)&&(r=n,n=void 0),r)return ni(e,t,n).pipe(bt(r));let[o,i]=$p(e)?jp.map(s=>a=>e[s](t,a,n)):Hp(e)?Fp.map(xc(e,t)):Bp(e)?Vp.map(xc(e,t)):[];if(!o&&Dt(e))return we(s=>ni(s,t,n))(D(e));if(!o)throw new TypeError("Invalid event target");return new _(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function xc(e,t){return n=>r=>e[n](t,r)}function Hp(e){return v(e.addListener)&&v(e.removeListener)}function Bp(e){return v(e.on)&&v(e.off)}function $p(e){return v(e.addEventListener)&&v(e.removeEventListener)}function un(e=0,t,n=mc){let r=-1;return t!=null&&(Qn(t)?n=t:r=t),new _(o=>{let i=fr(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 Up(e=0,t=Se){return e<0&&(e=0),un(e,e,t)}function qp(...e){let t=Ie(e),n=rc(e,1/0),r=e;return r.length?r.length===1?D(r[0]):ln(n)(Ee(r,t)):ke}var{isArray:Wp}=Array;function pr(e){return e.length===1&&Wp(e[0])?e[0]:e}function _c(e,t){return(n,r)=>!e.call(t,n,r)}function Re(e,t){return I((n,r)=>{let o=0;n.subscribe(m(r,i=>e.call(t,i,o++)&&r.next(i)))})}function zp(e,t,n){return[Re(t,n)(D(e)),Re(_c(t,n))(D(e))]}function Gp(...e){return e=pr(e),e.length===1?D(e[0]):new _(Zp(e))}function Zp(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push(D(e[r]).subscribe(m(t,o=>{if(n){for(let i=0;i<n.length;i++)i!==r&&n[i].unsubscribe();n=null}t.next(o)})))}}function Qp(...e){let t=He(e),n=pr(e);return n.length?new _(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)D(n[s]).subscribe(m(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):ke}function Tc(e){return I((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(m(n,l=>{r=!0,o=l,i||D(e(l)).subscribe(i=m(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function Yp(e,t=Se){return Tc(()=>un(e,t))}function Nc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(m(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 Sc(e,t){return v(t)?we(e,t,1):we(e,1)}function Jp(e){return I((t,n)=>{let r=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let a=o;o=null,n.next(a)}};t.subscribe(m(n,a=>{i?.unsubscribe(),r=!0,o=a,i=m(n,s,ve),D(e(a)).subscribe(i)},()=>{s(),n.complete()},void 0,()=>{o=i=null}))})}function dn(e){return I((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ri(e){return e<=0?()=>ke:I((t,n)=>{let r=0;t.subscribe(m(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function hr(e=Kp){return I((t,n)=>{let r=!1;t.subscribe(m(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Kp(){return new nt}function Xp(...e){return t=>Tt(t,Jo(...e))}function eh(e){return I((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function th(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Re((o,i)=>e(o,i,r)):$,ri(1),n?dn(t):hr(()=>new nt))}function oi(e){return e<=0?()=>ke:I((t,n)=>{let r=[];t.subscribe(m(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 nh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Re((o,i)=>e(o,i,r)):$,oi(1),n?dn(t):hr(()=>new nt))}function rh(e,t){return I(Nc(e,t,arguments.length>=2,!0))}function kc(...e){let t=Ie(e);return I((n,r)=>{(t?Tt(e,n,t):Tt(e,n)).subscribe(r)})}function Rc(e){return I((t,n)=>{D(e).subscribe(m(n,()=>n.complete(),ve)),!n.closed&&t.subscribe(n)})}function oh(...e){let t=He(e);return I((n,r)=>{let o=e.length,i=new Array(o),s=e.map(()=>!1),a=!1;for(let c=0;c<o;c++)D(e[c]).subscribe(m(r,l=>{i[c]=l,!a&&!s[c]&&(s[c]=!0,(a=s.every($))&&(s=null))},ve));n.subscribe(m(r,c=>{if(a){let l=[c,...i];r.next(t?t(...l):l)}}))})}function ci(e,t){return Object.is(e,t)}var j=null,gr=!1,li=1,Y=Symbol("SIGNAL");function M(e){let t=j;return j=e,t}function ui(){return j}var Nt={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function St(e){if(gr)throw new Error("");if(j===null)return;j.consumerOnSignalRead(e);let t=j.nextProducerIndex++;if(Er(j),t<j.producerNode.length&&j.producerNode[t]!==e&&fn(j)){let n=j.producerNode[t];Ir(n,j.producerIndexOfThis[t])}j.producerNode[t]!==e&&(j.producerNode[t]=e,j.producerIndexOfThis[t]=fn(j)?Ac(e,j,t):0),j.producerLastReadVersion[t]=e.version}function Oc(){li++}function di(e){if(!(fn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===li)){if(!e.producerMustRecompute(e)&&!vr(e)){ai(e);return}e.producerRecomputeValue(e),ai(e)}}function fi(e){if(e.liveConsumerNode===void 0)return;let t=gr;gr=!0;try{for(let n of e.liveConsumerNode)n.dirty||ih(n)}finally{gr=t}}function pi(){return j?.consumerAllowSignalWrites!==!1}function ih(e){e.dirty=!0,fi(e),e.consumerMarkedDirty?.(e)}function ai(e){e.dirty=!1,e.lastCleanEpoch=li}function pn(e){return e&&(e.nextProducerIndex=0),M(e)}function yr(e,t){if(M(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(fn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Ir(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function vr(e){Er(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(di(n),r!==n.version))return!0}return!1}function hn(e){if(Er(e),fn(e))for(let t=0;t<e.producerNode.length;t++)Ir(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Ac(e,t,n){if(Pc(e),e.liveConsumerNode.length===0&&Lc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Ac(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Ir(e,t){if(Pc(e),e.liveConsumerNode.length===1&&Lc(e))for(let r=0;r<e.producerNode.length;r++)Ir(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Er(o),o.producerIndexOfThis[r]=t}}function fn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Er(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Pc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Lc(e){return e.producerNode!==void 0}function wr(e,t){let n=Object.create(sh);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(di(n),St(n),n.value===mr)throw n.error;return n.value};return r[Y]=n,r}var ii=Symbol("UNSET"),si=Symbol("COMPUTING"),mr=Symbol("ERRORED"),sh=oe(re({},Nt),{value:ii,dirty:!0,error:null,equal:ci,kind:"computed",producerMustRecompute(e){return e.value===ii||e.value===si},producerRecomputeValue(e){if(e.value===si)throw new Error("Detected cycle in computations.");let t=e.value;e.value=si;let n=pn(e),r,o=!1;try{r=e.computation(),M(null),o=t!==ii&&t!==mr&&r!==mr&&e.equal(t,r)}catch(i){r=mr,e.error=i}finally{yr(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function ah(){throw new Error}var Fc=ah;function jc(e){Fc(e)}function hi(e){Fc=e}var ch=null;function gi(e,t){let n=Object.create(Dr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>(St(n),n.value);return r[Y]=n,r}function kt(e,t){pi()||jc(e),e.equal(e.value,t)||(e.value=t,lh(e))}function mi(e,t){pi()||jc(e),kt(e,t(e.value))}var Dr=oe(re({},Nt),{equal:ci,value:void 0,kind:"signal"});function lh(e){e.version++,Oc(),fi(e),ch?.()}function yi(e){let t=M(null);try{return e()}finally{M(t)}}var vi;function gn(){return vi}function Oe(e){let t=vi;return vi=e,t}var br=Symbol("NotFound");var jl="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",x=class extends Error{code;constructor(t,n){super(Vl(t,n)),this.code=t}};function ph(e){return`NG0${Math.abs(e)}`}function Vl(e,t){return`${ph(e)}${t?": "+t:""}`}var go=Symbol("InputSignalNode#UNSET"),Hl=oe(re({},Dr),{transformFn:void 0,applyValueToInputSignal(e,t){kt(e,t)}});function Bl(e,t){let n=Object.create(Hl);n.value=e,n.transformFn=t?.transform;function r(){if(St(n),n.value===go){let o=null;throw new x(-950,o)}return n.value}return r[Y]=n,r}function Rn(e){return{toString:e}.toString()}var Mr="__parameters__";function hh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function $l(e,t,n){return Rn(()=>{let r=hh(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(Mr)?c[Mr]:Object.defineProperty(c,Mr,{value:[]})[Mr];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 $e=globalThis;function O(e){for(let t in e)if(e[t]===O)return t;throw Error("Could not find renamed property on target object.")}function gh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ee(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ee).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 Fi(e,t){return e?t?`${e} ${t}`:e:t||""}var mh=O({__forward_ref__:O});function Ul(e){return e.__forward_ref__=Ul,e.toString=function(){return ee(this())},e}function U(e){return ql(e)?e():e}function ql(e){return typeof e=="function"&&e.hasOwnProperty(mh)&&e.__forward_ref__===Ul}function B(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function pS(e){return{providers:e.providers||[],imports:e.imports||[]}}function mo(e){return Vc(e,Wl)||Vc(e,zl)}function hS(e){return mo(e)!==null}function Vc(e,t){return e.hasOwnProperty(t)?e[t]:null}function yh(e){let t=e&&(e[Wl]||e[zl]);return t||null}function Hc(e){return e&&(e.hasOwnProperty(Bc)||e.hasOwnProperty(vh))?e[Bc]:null}var Wl=O({\u0275prov:O}),Bc=O({\u0275inj:O}),zl=O({ngInjectableDef:O}),vh=O({ngInjectorDef:O}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=B({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Gl(e){return e&&!!e.\u0275providers}var Ih=O({\u0275cmp:O}),Eh=O({\u0275dir:O}),wh=O({\u0275pipe:O}),Dh=O({\u0275mod:O}),Lr=O({\u0275fac:O}),In=O({__NG_ELEMENT_ID__:O}),$c=O({__NG_ENV_ID__:O});function be(e){return typeof e=="string"?e:e==null?"":String(e)}function bh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():be(e)}function Zl(e,t){throw new x(-200,e)}function Js(e,t){throw new x(-201,!1)}var T=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(T||{}),ji;function Ql(){return ji}function X(e){let t=ji;return ji=e,t}function Yl(e,t,n){let r=mo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(t!==void 0)return t;Js(e,"Injector")}var Mh={},ot=Mh,Vi="__NG_DI_FLAG__",Fr=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=n;return this.injector.get(t,r.optional?br:ot,r)}},jr="ngTempTokenPath",Ch="ngTokenPath",xh=/\n/gm,_h="\u0275",Uc="__source";function Th(e,t=T.Default){if(gn()===void 0)throw new x(-203,!1);if(gn()===null)return Yl(e,void 0,t);{let n=gn(),r;return n instanceof Fr?r=n.injector:r=n,r.get(e,t&T.Optional?null:void 0,t)}}function We(e,t=T.Default){return(Ql()||Th)(U(e),t)}function C(e,t=T.Default){return We(e,yo(t))}function yo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Hi(e){let t=[];for(let n=0;n<e.length;n++){let r=U(e[n]);if(Array.isArray(r)){if(r.length===0)throw new x(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Nh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(We(o,i))}else t.push(We(r))}return t}function Jl(e,t){return e[Vi]=t,e.prototype[Vi]=t,e}function Nh(e){return e[Vi]}function Sh(e,t,n,r){let o=e[jr];throw t[Uc]&&o.unshift(t[Uc]),e.message=kh(`
5
+ `+e.message,o,n,r),e[Ch]=o,e[jr]=null,e}function kh(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==_h?e.slice(2):e;let o=ee(t);if(Array.isArray(t))o=t.map(ee).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ee(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(xh,`
7
+ `)}`}var Kl=Jl($l("Optional"),8);var Xl=Jl($l("SkipSelf"),4);function st(e,t){let n=e.hasOwnProperty(Lr);return n?e[Lr]:null}function Rh(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 Oh(e){return e.flat(Number.POSITIVE_INFINITY)}function Ks(e,t){e.forEach(n=>Array.isArray(n)?Ks(n,t):t(n))}function eu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Vr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ah(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ph(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 vo(e,t,n){let r=On(e,t);return r>=0?e[r|1]=n:(r=~r,Ph(e,r,t,n)),r}function Ii(e,t){let n=On(e,t);if(n>=0)return e[n|1]}function On(e,t){return Lh(e,t,1)}function Lh(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 Me={},J=[],En=new R(""),tu=new R("",-1),nu=new R(""),Hr=class{get(t,n=ot){if(n===ot){let r=new Error(`NullInjectorError: No provider for ${ee(t)}!`);throw r.name="NullInjectorError",r}return n}};function ru(e,t){let n=e[Dh]||null;if(!n&&t===!0)throw new Error(`Type ${ee(e)} does not have '\u0275mod' property.`);return n}function ze(e){return e[Ih]||null}function ou(e){return e[Eh]||null}function Fh(e){return e[wh]||null}function Xs(e){return{\u0275providers:e}}function jh(...e){return{\u0275providers:iu(!0,e),\u0275fromNgModule:!0}}function iu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ks(t,s=>{let a=s;Bi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&su(o,i),n}function su(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ea(o,i=>{t(i,r)})}}function Bi(e,t,n,r){if(e=U(e),!e)return!1;let o=null,i=Hc(e),s=!i&&ze(e);if(!i&&!s){let c=e.ngModule;if(i=Hc(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)Bi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{Ks(i.imports,u=>{Bi(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&su(l,t)}if(!a){let l=st(o)||(()=>new o);t({provide:o,useFactory:l,deps:J},o),t({provide:nu,useValue:o,multi:!0},o),t({provide:En,useValue:()=>We(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ea(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ea(e,t){for(let n of e)Gl(n)&&(n=n.\u0275providers),Array.isArray(n)?ea(n,t):t(n)}var Vh=O({provide:String,useValue:O});function au(e){return e!==null&&typeof e=="object"&&Vh in e}function Hh(e){return!!(e&&e.useExisting)}function Bh(e){return!!(e&&e.useFactory)}function jt(e){return typeof e=="function"}function $h(e){return!!e.useClass}var cu=new R(""),Sr={},qc={},Ei;function Io(){return Ei===void 0&&(Ei=new Hr),Ei}var Ge=class{},wn=class extends Ge{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,Ui(t,s=>this.processProvider(s)),this.records.set(tu,Rt(void 0,this)),o.has("environment")&&this.records.set(Ge,Rt(void 0,this));let i=this.records.get(cu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(nu,J,T.Self))}retrieve(t,n){let r=n;return this.get(t,r.optional?br:ot,r)}destroy(){yn(this),this._destroyed=!0;let t=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(t)}}onDestroy(t){return yn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){yn(this);let n=Oe(this),r=X(void 0),o;try{return t()}finally{Oe(n),X(r)}}get(t,n=ot,r=T.Default){if(yn(this),t.hasOwnProperty($c))return t[$c](this);r=yo(r);let o,i=Oe(this),s=X(void 0);try{if(!(r&T.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Gh(t)&&mo(t);l&&this.injectableDefInScope(l)?c=Rt($i(t),Sr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c,r)}let a=r&T.Self?Io():this.parent;return n=r&T.Optional&&n===ot?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[jr]=a[jr]||[]).unshift(ee(t)),i)throw a;return Sh(a,t,"R3InjectorError",this.source)}else throw a}finally{X(s),Oe(i)}}resolveInjectorInitializers(){let t=M(null),n=Oe(this),r=X(void 0),o;try{let i=this.get(En,J,T.Self);for(let s of i)s()}finally{Oe(n),X(r),M(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ee(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=U(t);let n=jt(t)?t:U(t&&t.provide),r=qh(t);if(!jt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Rt(void 0,Sr,!0),o.factory=()=>Hi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=M(null);try{return n.value===qc?Zl(ee(t)):n.value===Sr&&(n.value=qc,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&zh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=U(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 $i(e){let t=mo(e),n=t!==null?t.factory:st(e);if(n!==null)return n;if(e instanceof R)throw new x(204,!1);if(e instanceof Function)return Uh(e);throw new x(204,!1)}function Uh(e){if(e.length>0)throw new x(204,!1);let n=yh(e);return n!==null?()=>n.factory(e):()=>new e}function qh(e){if(au(e))return Rt(void 0,e.useValue);{let t=lu(e);return Rt(t,Sr)}}function lu(e,t,n){let r;if(jt(e)){let o=U(e);return st(o)||$i(o)}else if(au(e))r=()=>U(e.useValue);else if(Bh(e))r=()=>e.useFactory(...Hi(e.deps||[]));else if(Hh(e))r=(o,i)=>We(U(e.useExisting),i!==void 0&&i&T.Optional?T.Optional:void 0);else{let o=U(e&&(e.useClass||e.provide));if(Wh(e))r=()=>new o(...Hi(e.deps));else return st(o)||$i(o)}return r}function yn(e){if(e.destroyed)throw new x(205,!1)}function Rt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Wh(e){return!!e.deps}function zh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Gh(e){return typeof e=="function"||typeof e=="object"&&e instanceof R}function Ui(e,t){for(let n of e)Array.isArray(n)?Ui(n,t):n&&Gl(n)?Ui(n.\u0275providers,t):t(n)}function uu(e,t){let n;e instanceof wn?(yn(e),n=e):n=new Fr(e);let r,o=Oe(n),i=X(void 0);try{return t()}finally{Oe(o),X(i)}}function du(){return Ql()!==void 0||gn()!=null}function fu(e){if(!du())throw new x(-203,!1)}function Zh(e){return typeof e=="function"}var te=0,w=1,E=2,W=3,fe=4,ne=5,ce=6,Br=7,H=8,Vt=9,Ae=10,S=11,Dn=12,Wc=13,Qt=14,K=15,at=16,Ot=17,Pe=18,Eo=19,pu=20,qe=21,wi=22,ct=23,ae=24,Lt=25,P=26,ta=1,bn=6,Le=7,$r=8,Ht=9,q=10;function pe(e){return Array.isArray(e)&&typeof e[ta]=="object"}function xe(e){return Array.isArray(e)&&e[ta]===!0}function na(e){return(e.flags&4)!==0}function mt(e){return e.componentOffset>-1}function wo(e){return(e.flags&1)===1}function he(e){return!!e.template}function Mn(e){return(e[E]&512)!==0}function Yt(e){return(e[E]&256)===256}var qi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function hu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var gS=(()=>{let e=()=>gu;return e.ngInherit=!0,e})();function gu(e){return e.type.prototype.ngOnChanges&&(e.setInput=Yh),Qh}function Qh(){let e=yu(this),t=e?.current;if(t){let n=e.previous;if(n===Me)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Yh(e,t,n,r,o){let i=this.declaredInputs[r],s=yu(e)||Jh(e,{previous:Me,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new qi(l&&l.currentValue,n,c===Me),hu(e,t,o,n)}var mu="__ngSimpleChanges__";function yu(e){return e[mu]||null}function Jh(e,t){return e[mu]=t}var zc=null;var k=function(e,t=null,n){zc?.(e,t,n)},vu="svg",Kh="math";function ge(e){for(;Array.isArray(e);)e=e[te];return e}function Xh(e){for(;Array.isArray(e);){if(typeof e[ta]=="object")return e;e=e[te]}return null}function Iu(e,t){return ge(t[e])}function me(e,t){return ge(t[e.index])}function ra(e,t){return e.data[t]}function oa(e,t){return e[t]}function eg(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ce(e,t){let n=t[e];return pe(n)?n:n[te]}function tg(e){return(e[E]&4)===4}function ia(e){return(e[E]&128)===128}function ng(e){return xe(e[W])}function Ze(e,t){return t==null?null:e[t]}function Eu(e){e[Ot]=0}function wu(e){e[E]&1024||(e[E]|=1024,ia(e)&&Jt(e))}function rg(e,t){for(;e>0;)t=t[Qt],e--;return t}function Do(e){return!!(e[E]&9216||e[ae]?.dirty)}function Wi(e){e[Ae].changeDetectionScheduler?.notify(8),e[E]&64&&(e[E]|=1024),Do(e)&&Jt(e)}function Jt(e){e[Ae].changeDetectionScheduler?.notify(0);let t=lt(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!ia(t)));)t=lt(t)}function Du(e,t){if(Yt(e))throw new x(911,!1);e[qe]===null&&(e[qe]=[]),e[qe].push(t)}function og(e,t){if(e[qe]===null)return;let n=e[qe].indexOf(t);n!==-1&&e[qe].splice(n,1)}function lt(e){let t=e[W];return xe(t)?t[W]:t}function sa(e){return e[Br]??=[]}function aa(e){return e.cleanup??=[]}function ig(e,t,n,r){let o=sa(t);o.push(n),e.firstCreatePass&&aa(e).push(r,o.length-1)}var b={lFrame:Nu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var zi=!1;function sg(){return b.lFrame.elementDepthCount}function ag(){b.lFrame.elementDepthCount++}function cg(){b.lFrame.elementDepthCount--}function ca(){return b.bindingsEnabled}function Kt(){return b.skipHydrationRootTNode!==null}function lg(e){return b.skipHydrationRootTNode===e}function ug(e){b.skipHydrationRootTNode=e}function dg(){b.skipHydrationRootTNode=null}function g(){return b.lFrame.lView}function L(){return b.lFrame.tView}function mS(e){return b.lFrame.contextLView=e,e[H]}function yS(e){return b.lFrame.contextLView=null,e}function Z(){let e=bu();for(;e!==null&&e.type===64;)e=e.parent;return e}function bu(){return b.lFrame.currentTNode}function fg(){let e=b.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function yt(e,t){let n=b.lFrame;n.currentTNode=e,n.isParent=t}function la(){return b.lFrame.isParent}function ua(){b.lFrame.isParent=!1}function pg(){return b.lFrame.contextLView}function Mu(){return zi}function Ur(e){let t=zi;return zi=e,t}function le(){let e=b.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Cu(){return b.lFrame.bindingIndex}function hg(e){return b.lFrame.bindingIndex=e}function Ye(){return b.lFrame.bindingIndex++}function bo(e){let t=b.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function gg(){return b.lFrame.inI18n}function mg(e,t){let n=b.lFrame;n.bindingIndex=n.bindingRootIndex=e,Gi(t)}function yg(){return b.lFrame.currentDirectiveIndex}function Gi(e){b.lFrame.currentDirectiveIndex=e}function xu(e){let t=b.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function da(){return b.lFrame.currentQueryIndex}function Mo(e){b.lFrame.currentQueryIndex=e}function vg(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[ne]:null}function _u(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=vg(i),o===null||(i=i[Qt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=b.lFrame=Tu();return r.currentTNode=t,r.lView=e,!0}function fa(e){let t=Tu(),n=e[w];b.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Tu(){let e=b.lFrame,t=e===null?null:e.child;return t===null?Nu(e):t}function Nu(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 Su(){let e=b.lFrame;return b.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var ku=Su;function pa(){let e=Su();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 Ig(e){return(b.lFrame.contextLView=rg(e,b.lFrame.contextLView))[H]}function _e(){return b.lFrame.selectedIndex}function ut(e){b.lFrame.selectedIndex=e}function Xt(){let e=b.lFrame;return ra(e.tView,e.selectedIndex)}function vS(){b.lFrame.currentNamespace=vu}function IS(){Eg()}function Eg(){b.lFrame.currentNamespace=null}function Ru(){return b.lFrame.currentNamespace}var Ou=!0;function Co(){return Ou}function Je(e){Ou=e}function wg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=gu(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 ha(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 kr(e,t,n){Au(e,t,3,n)}function Rr(e,t,n,r){(e[E]&3)===n&&Au(e,t,n,r)}function Di(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function Au(e,t,n,r){let o=r!==void 0?e[Ot]&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[Ot]+=65536),(a<i||i==-1)&&(Dg(e,n,t,c),e[Ot]=(e[Ot]&4294901760)+c+2),c++}function Gc(e,t){k(4,e,t);let n=M(null);try{t.call(e)}finally{M(n),k(5,e,t)}}function Dg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[Ot]>>16&&(e[E]&3)===t&&(e[E]+=16384,Gc(a,i)):Gc(a,i)}var Ft=-1,dt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function bg(e){return(e.flags&8)!==0}function Mg(e){return(e.flags&16)!==0}function Cg(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];xg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Pu(e){return e===3||e===4||e===6}function xg(e){return e.charCodeAt(0)===64}function Bt(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?Zc(e,n,o,null,t[++r]):Zc(e,n,o,null,null))}}return e}function Zc(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 Lu(e){return e!==Ft}function qr(e){return e&32767}function _g(e){return e>>16}function Wr(e,t){let n=_g(e),r=t;for(;n>0;)r=r[Qt],n--;return r}var Zi=!0;function zr(e){let t=Zi;return Zi=e,t}var Tg=256,Fu=Tg-1,ju=5,Ng=0,De={};function Sg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(In)&&(r=n[In]),r==null&&(r=n[In]=Ng++);let o=r&Fu,i=1<<o;t.data[e+(o>>ju)]|=i}function Gr(e,t){let n=Vu(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,bi(r.data,e),bi(t,null),bi(r.blueprint,null));let o=ga(e,t),i=e.injectorIndex;if(Lu(o)){let s=qr(o),a=Wr(o,t),c=a[w].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function bi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Vu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function ga(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=qu(o),r===null)return Ft;if(n++,o=o[Qt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ft}function Qi(e,t,n){Sg(e,t,n)}function kg(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(Pu(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 Hu(e,t,n){if(n&T.Optional||e!==void 0)return e;Js(t,"NodeInjector")}function Bu(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),(n&(T.Self|T.Host))===0){let o=e[Vt],i=X(void 0);try{return o?o.get(t,r,n&T.Optional):Yl(t,r,n&T.Optional)}finally{X(i)}}return Hu(r,t,n)}function $u(e,t,n,r=T.Default,o){if(e!==null){if(t[E]&2048&&!(r&T.Self)){let s=Pg(e,t,n,r,De);if(s!==De)return s}let i=Uu(e,t,n,r,De);if(i!==De)return i}return Bu(t,n,r,o)}function Uu(e,t,n,r,o){let i=Og(n);if(typeof i=="function"){if(!_u(t,e,r))return r&T.Host?Hu(o,n,r):Bu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))Js(n);else return s}finally{ku()}}else if(typeof i=="number"){let s=null,a=Vu(e,t),c=Ft,l=r&T.Host?t[K][ne]:null;for((a===-1||r&T.SkipSelf)&&(c=a===-1?ga(e,t):t[a+8],c===Ft||!Yc(r,!1)?a=-1:(s=t[w],a=qr(c),t=Wr(c,t)));a!==-1;){let u=t[w];if(Qc(i,a,u.data)){let d=Rg(a,t,n,s,r,l);if(d!==De)return d}c=t[a+8],c!==Ft&&Yc(r,t[w].data[a+8]===l)&&Qc(i,a,t)?(s=u,a=qr(c),t=Wr(c,t)):a=-1}}return o}function Rg(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?mt(a)&&Zi:r!=s&&(a.type&3)!==0,l=o&T.Host&&i===a,u=Or(a,s,n,c,l);return u!==null?Cn(t,s,u,a,o):De}function Or(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&&he(f)&&f.type===n)return c}return null}function Cn(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof dt){let a=i;a.resolving&&Zl(bh(s[n]));let c=zr(a.canSeeViewProviders);a.resolving=!0;let l,u=a.injectImpl?X(a.injectImpl):null,d=_u(e,r,T.Default);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&wg(n,s[n],t)}finally{u!==null&&X(u),zr(c),a.resolving=!1,ku()}}return i}function Og(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(In)?e[In]:void 0;return typeof t=="number"?t>=0?t&Fu:Ag:t}function Qc(e,t,n){let r=1<<e;return!!(n[t+(e>>ju)]&r)}function Yc(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var it=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return $u(this._tNode,this._lView,t,yo(r),n)}};function Ag(){return new it(Z(),g())}function ES(e){return Rn(()=>{let t=e.prototype.constructor,n=t[Lr]||Yi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Lr]||Yi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Yi(e){return ql(e)?()=>{let t=Yi(U(e));return t&&t()}:st(e)}function Pg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!Mn(s);){let a=Uu(i,s,n,r|T.Self,De);if(a!==De)return a;let c=i.parent;if(!c){let l=s[pu];if(l){let u=l.get(n,De,r);if(u!==De)return u}c=qu(s),s=s[Qt]}i=c}return o}function qu(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[ne]:null}function wS(e){return kg(Z(),e)}function Jc(e,t=null,n=null,r){let o=Wu(e,t,n,r);return o.resolveInjectorInitializers(),o}function Wu(e,t=null,n=null,r,o=new Set){let i=[n||J,jh(e)];return r=r||(typeof e=="object"?void 0:ee(e)),new wn(i,t||Io(),r||null,o)}var ft=class e{static THROW_IF_NOT_FOUND=ot;static NULL=new Hr;static create(t,n){if(Array.isArray(t))return Jc({name:""},n,t,"");{let r=t.name??"";return Jc({name:r},t.parent,t.providers,r)}}static \u0275prov=B({token:e,providedIn:"any",factory:()=>We(tu)});static __NG_ELEMENT_ID__=-1};var Lg=new R("");Lg.__NG_ELEMENT_ID__=e=>{let t=Z();if(t===null)throw new x(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new x(204,!1)};var zu=!1,An=(()=>{class e{static __NG_ELEMENT_ID__=Fg;static __NG_ENV_ID__=n=>n}return e})(),Zr=class extends An{_lView;constructor(t){super(),this._lView=t}onDestroy(t){let n=this._lView;return Yt(n)?(t(),()=>{}):(Du(n,t),()=>og(n,t))}};function Fg(){return new Zr(g())}var pt=class{},ma=new R("",{providedIn:"root",factory:()=>!1});var Gu=new R(""),Zu=new R(""),xo=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new on(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})();var Ji=class extends se{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,du()&&(this.destroyRef=C(An,{optional:!0})??void 0,this.pendingTasks=C(xo,{optional:!0})??void 0)}emit(t){let n=M(null);try{super.next(t)}finally{M(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof F&&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=Ji;function xn(...e){}function Qu(e){let t,n;function r(){e=xn;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 Kc(e){return queueMicrotask(()=>e()),()=>{e=xn}}var ya="isAngularZone",Qr=ya+"_ID",jg=0,ie=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=zu}=t;if(typeof Zone>"u")throw new x(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,Bg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ya)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new x(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,Vg,xn,xn);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)}},Vg={};function va(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 Hg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Qu(()=>{e.callbackScheduled=!1,Ki(e),e.isCheckStableRunning=!0,va(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ki(e)}function Bg(e){let t=()=>{Hg(e)},n=jg++;e._inner=e._inner.fork({name:"angular",properties:{[ya]:!0,[Qr]:n,[Qr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if($g(c))return r.invokeTask(i,s,a,c);try{return Xc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),el(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Xc(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ug(c)&&t(),el(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Ki(e),va(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 Ki(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Xc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function el(e){e._nesting--,va(e)}var Xi=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 $g(e){return Yu(e,"__ignore_ng_zone__")}function Ug(e){return Yu(e,"__scheduler_tick__")}function Yu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Qe=class{_console=console;handleError(t){this._console.error("ERROR",t)}},qg=new R("",{providedIn:"root",factory:()=>{let e=C(ie),t=C(Qe);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Yr=class{destroyed=!1;listeners=null;errorHandler=C(Qe,{optional:!0});destroyRef=C(An);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new x(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed){console.warn(Vl(953,!1));return}if(this.listeners===null)return;let n=M(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{M(n)}}};function DS(e){return new Yr}function tl(e,t){return Bl(e,t)}function Wg(e){return Bl(go,e)}var bS=(tl.required=Wg,tl);function zg(){return en(Z(),g())}function en(e,t){return new _o(me(e,t))}var _o=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=zg}return e})();function Ju(e){return e instanceof _o?e.nativeElement:e}function Gg(e){return typeof e=="function"&&e[Y]!==void 0}function Zg(e,t){let n=gi(e,t?.equal),r=n[Y];return n.set=o=>kt(r,o),n.update=o=>mi(r,o),n.asReadonly=Ku.bind(n),n}function Ku(){let e=this[Y];if(e.readonlyFn===void 0){let t=()=>this();t[Y]=e,e.readonlyFn=t}return e.readonlyFn}function Xu(e){return Gg(e)&&typeof e.set=="function"}function Qg(){return this._results[Symbol.iterator]()}var es=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 se}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=Oh(t);(this._changesDetected=!Rh(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]=Qg},Yg="ngSkipHydration",Jg="ngskiphydration";function ed(e){let t=e.mergedAttrs;if(t===null)return!1;for(let n=0;n<t.length;n+=2){let r=t[n];if(typeof r=="number")return!1;if(typeof r=="string"&&r.toLowerCase()===Jg)return!0}return!1}function td(e){return e.hasAttribute(Yg)}function Jr(e){return(e.flags&128)===128}function Kg(e){if(Jr(e))return!0;let t=e.parent;for(;t;){if(Jr(e)||ed(t))return!0;t=t.parent}return!1}var nd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(nd||{}),rd=new Map,Xg=0;function em(){return Xg++}function tm(e){rd.set(e[Eo],e)}function ts(e){rd.delete(e[Eo])}var nl="__ngContext__";function tn(e,t){pe(t)?(e[nl]=t[Eo],tm(t)):e[nl]=t}function od(e){return sd(e[Dn])}function id(e){return sd(e[fe])}function sd(e){for(;e!==null&&!xe(e);)e=e[fe];return e}var ns;function MS(e){ns=e}function Pn(){if(ns!==void 0)return ns;if(typeof document<"u")return document;throw new x(210,!1)}var nm=new R("",{providedIn:"root",factory:()=>rm}),rm="ng",om=new R(""),CS=new R("",{providedIn:"platform",factory:()=>"unknown"});var xS=new R(""),_S=new R("",{providedIn:"root",factory:()=>Pn().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function im(){let e=new Ia;return e.store=sm(Pn(),C(nm)),e}var Ia=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:im});store={};onSerializeCallbacks={};get(n,r){return this.store[n]!==void 0?this.store[n]:r}set(n,r){this.store[n]=r}remove(n){delete this.store[n]}hasKey(n){return this.store.hasOwnProperty(n)}get isEmpty(){return Object.keys(this.store).length===0}onSerialize(n,r){this.onSerializeCallbacks[n]=r}toJson(){for(let n in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(n))try{this.store[n]=this.onSerializeCallbacks[n]()}catch(r){console.warn("Exception in onSerialize callback: ",r)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}return e})();function sm(e,t){let n=e.getElementById(t+"-state");if(n?.textContent)try{return JSON.parse(n.textContent)}catch(r){console.warn("Exception while restoring TransferState for app "+t,r)}return{}}var ad="h",cd="b",am="f",cm="n",lm="e",um="t",Ea="c",ld="x",Kr="r",dm="i",fm="n",ud="d";var pm="di";var Cr=new R(""),dd=!1,fd=new R("",{providedIn:"root",factory:()=>dd});var wa=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(wa||{}),To=new R(""),rl=new Set;function nn(e){rl.has(e)||(rl.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Da=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=hm}return e})();function hm(){return new Da(g(),Z())}var At=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(At||{}),pd=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})(),gm=[At.EarlyRead,At.Write,At.MixedReadWrite,At.Read],mm=(()=>{class e{ngZone=C(ie);scheduler=C(pt);errorHandler=C(Qe,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(To,{optional:!0})}execute(){let n=this.sequences.size>0;n&&k(16),this.executing=!0;for(let r of gm)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&&k(17)}register(n){let{view:r}=n;r!==void 0?((r[Lt]??=[]).push(n),Jt(r),r[E]|=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(wa.AFTER_NEXT_RENDER,n):n()}static \u0275prov=B({token:e,providedIn:"root",factory:()=>new e})}return e})(),rs=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?.[Lt];t&&(this.view[Lt]=t.filter(n=>n!==this))}};function ym(e,t){!t?.injector&&fu(ym);let n=t?.injector??C(ft);return nn("NgAfterNextRender"),Im(e,n,t,!0)}function vm(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function Im(e,t,n,r){let o=t.get(pd);o.impl??=t.get(mm);let i=t.get(To,null,{optional:!0}),s=n?.phase??At.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(An):null,c=t.get(Da,null,{optional:!0}),l=new rs(o.impl,vm(e,s),c?.view,r,a,i?.snapshot(null));return o.impl.register(l),l}var Em=(e,t,n,r)=>{};function wm(e,t,n,r){Em(e,t,n,r)}var Dm="__nghData__",hd=Dm;var Mi="ngh",bm="nghm",gd=()=>null;function Mm(e,t,n=!1){let r=e.getAttribute(Mi);if(r==null)return null;let[o,i]=r.split("|");if(r=n?i:o,!r)return null;let s=i?`|${i}`:"",a=n?o:s,c={};if(r!==""){let u=t.get(Ia,null,{optional:!0});u!==null&&(c=u.get(hd,[])[Number(r)])}let l={data:c,firstChild:e.firstChild??null};return n&&(l.firstChild=e,No(l,0,e.nextSibling)),a?e.setAttribute(Mi,a):e.removeAttribute(Mi),l}function Cm(){gd=Mm}function md(e,t,n=!1){return gd(e,t,n)}function xm(e){let t=e._lView;return t[w].type===2?null:(Mn(t)&&(t=t[P]),t)}function _m(e){return e.textContent?.replace(/\s/gm,"")}function Tm(e){let t=Pn(),n=t.createNodeIterator(e,NodeFilter.SHOW_COMMENT,{acceptNode(i){let s=_m(i);return s==="ngetn"||s==="ngtns"?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}}),r,o=[];for(;r=n.nextNode();)o.push(r);for(let i of o)i.textContent==="ngetn"?i.replaceWith(t.createTextNode("")):i.remove()}function No(e,t,n){e.segmentHeads??={},e.segmentHeads[t]=n}function os(e,t){return e.segmentHeads?.[t]??null}function Nm(e,t){let n=e.data,r=n[lm]?.[t]??null;return r===null&&n[Ea]?.[t]&&(r=ba(e,t)),r}function yd(e,t){return e.data[Ea]?.[t]??null}function ba(e,t){let n=yd(e,t)??[],r=0;for(let o of n)r+=o[Kr]*(o[ld]??1);return r}function Sm(e){if(typeof e.disconnectedNodes>"u"){let t=e.data[ud];e.disconnectedNodes=t?new Set(t):null}return e.disconnectedNodes}function Ln(e,t){if(typeof e.disconnectedNodes>"u"){let n=e.data[ud];e.disconnectedNodes=n?new Set(n):null}return!!Sm(e)?.has(t)}function Ci(e){return!!e&&e.nodeType===Node.COMMENT_NODE&&e.textContent?.trim()===bm}function ol(e){for(;e&&e.nodeType===Node.TEXT_NODE;)e=e.previousSibling;return e}function km(e){for(let r of e.body.childNodes)if(Ci(r))return;let t=ol(e.body.previousSibling);if(Ci(t))return;let n=ol(e.head.lastChild);if(!Ci(n))throw new x(-507,!1)}function vd(e,t){let n=e.contentQueries;if(n!==null){let r=M(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Mo(i),a.contentQueries(2,t[s],s)}}}finally{M(r)}}}function is(e,t,n){Mo(0);let r=M(null);try{t(e,n)}finally{M(r)}}function Ma(e,t,n){if(na(t)){let r=M(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{M(r)}}}var _n=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(_n||{}),xr;function Rm(){if(xr===void 0&&(xr=null,$e.trustedTypes))try{xr=$e.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xr}function So(e){return Rm()?.createHTML(e)||e}var _r;function Id(){if(_r===void 0&&(_r=null,$e.trustedTypes))try{_r=$e.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _r}function il(e){return Id()?.createHTML(e)||e}function sl(e){return Id()?.createScriptURL(e)||e}var Fe=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${jl})`}},ss=class extends Fe{getTypeName(){return"HTML"}},as=class extends Fe{getTypeName(){return"Style"}},cs=class extends Fe{getTypeName(){return"Script"}},ls=class extends Fe{getTypeName(){return"URL"}},us=class extends Fe{getTypeName(){return"ResourceURL"}};function rn(e){return e instanceof Fe?e.changingThisBreaksApplicationSecurity:e}function Ca(e,t){let n=Om(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${jl})`)}return n===t}function Om(e){return e instanceof Fe&&e.getTypeName()||null}function TS(e){return new ss(e)}function NS(e){return new as(e)}function SS(e){return new cs(e)}function kS(e){return new ls(e)}function RS(e){return new us(e)}function Am(e){let t=new fs(e);return Pm()?new ds(t):t}var ds=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(So(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},fs=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=So(t),n}};function Pm(){try{return!!new window.DOMParser().parseFromString(So(""),"text/html")}catch{return!1}}var Lm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ed(e){return e=String(e),e.match(Lm)?e:"unsafe:"+e}function je(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Fn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var wd=je("area,br,col,hr,img,wbr"),Dd=je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),bd=je("rp,rt"),Fm=Fn(bd,Dd),jm=Fn(Dd,je("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")),Vm=Fn(bd,je("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")),al=Fn(wd,jm,Vm,Fm),Md=je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Hm=je("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"),Bm=je("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"),$m=Fn(Md,Hm,Bm),Um=je("script,style,template"),ps=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=zm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Wm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=cl(t).toLowerCase();if(!al.hasOwnProperty(n))return this.sanitizedSomething=!0,!Um.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(!$m.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Md[a]&&(c=Ed(c)),this.buf.push(" ",s,'="',ll(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=cl(t).toLowerCase();al.hasOwnProperty(n)&&!wd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ll(t))}};function qm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Wm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Cd(t);return t}function zm(e){let t=e.firstChild;if(t&&qm(e,t))throw Cd(t);return t}function cl(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Cd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Gm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Zm=/([^\#-~ |!])/g;function ll(e){return e.replace(/&/g,"&amp;").replace(Gm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Zm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Tr;function Qm(e,t){let n=null;try{Tr=Tr||Am(e);let r=t?String(t):"";n=Tr.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=Tr.getInertBodyElement(r)}while(r!==i);let a=new ps().sanitizeChildren(ul(n)||n);return So(a)}finally{if(n){let r=ul(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function ul(e){return"content"in e&&Ym(e)?e.content:null}function Ym(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var ko=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}(ko||{});function OS(e){let t=xa();return t?il(t.sanitize(ko.HTML,e)||""):Ca(e,"HTML")?il(rn(e)):Qm(Pn(),be(e))}function Jm(e){let t=xa();return t?t.sanitize(ko.URL,e)||"":Ca(e,"URL")?rn(e):Ed(be(e))}function Km(e){let t=xa();if(t)return sl(t.sanitize(ko.RESOURCE_URL,e)||"");if(Ca(e,"ResourceURL"))return sl(rn(e));throw new x(904,!1)}function Xm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?Km:Jm}function AS(e,t,n){return Xm(t,n)(e)}function xa(){let e=g();return e&&e[Ae].sanitizer}var ey=/^>|^->|<!--|-->|--!>|<!-$/g,ty=/(<|>)/g,ny="\u200B$1\u200B";function ry(e){return e.replace(ey,t=>t.replace(ty,ny))}function PS(e){return e.ownerDocument.defaultView}function LS(e){return e.ownerDocument}function oy(e){return e.ownerDocument.body}function xd(e){return e instanceof Function?e():e}function iy(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 _d="ng-template";function sy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&iy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(_a(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 _a(e){return e.type===4&&e.value!==_d}function ay(e,t,n){let r=e.type===4&&!n?_d:e.value;return t===r}function cy(e,t,n){let r=4,o=e.attrs,i=o!==null?dy(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!de(r)&&!de(c))return!1;if(s&&de(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!ay(e,c,n)||c===""&&t.length===1){if(de(r))return!1;s=!0}}else if(r&8){if(o===null||!sy(e,o,c,n)){if(de(r))return!1;s=!0}}else{let l=t[++a],u=ly(c,o,_a(e),n);if(u===-1){if(de(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(de(r))return!1;s=!0}}}}return de(r)||s}function de(e){return(e&1)===0}function ly(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 fy(t,e)}function Td(e,t,n=!1){for(let r=0;r<t.length;r++)if(cy(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 dy(e){for(let t=0;t<e.length;t++){let n=e[t];if(Pu(n))return t}return e.length}function fy(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 py(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 dl(e,t){return e?":not("+t.trim()+")":t}function hy(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!==""&&!de(s)&&(t+=dl(i,o),o=""),r=s,i=i||!de(r);n++}return o!==""&&(t+=dl(i,o)),t}function gy(e){return e.map(hy).join(",")}function my(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(!de(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var Q={};function Nd(e,t){return e.createText(t)}function yy(e,t,n){e.setValue(t,n)}function Sd(e,t){return e.createComment(ry(t))}function Ta(e,t,n){return e.createElement(t,n)}function Xr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function kd(e,t,n){e.appendChild(t,n)}function fl(e,t,n,r,o){r!==null?Xr(e,t,n,r,o):kd(e,t,n)}function Na(e,t,n){e.removeChild(null,t,n)}function Rd(e){e.textContent=""}function vy(e,t,n){e.setAttribute(t,"style",n)}function Iy(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Od(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Cg(e,t,r),o!==null&&Iy(e,t,o),i!==null&&vy(e,t,i)}function Sa(e,t,n,r,o,i,s,a,c,l,u){let d=P+r,p=d+o,f=Ey(d,p),h=typeof l=="function"?l():l;return f[w]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function Ey(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Q);return n}function wy(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Sa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function ka(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[te]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),Eu(d),d[W]=d[Qt]=e,d[H]=n,d[Ae]=s||e&&e[Ae],d[S]=a||e&&e[S],d[Vt]=c||e&&e[Vt]||null,d[ne]=i,d[Eo]=em(),d[ce]=u,d[pu]=l,d[K]=t.type==2?e[K]:d,d}function Dy(e,t,n){let r=me(t,e),o=wy(n),i=e[Ae].rendererFactory,s=Ra(e,ka(e,o,null,Ad(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Ad(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Pd(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 Ra(e,t){return e[Dn]?e[Wc][fe]=t:e[Dn]=t,e[Wc]=t,t}function FS(e=1){Ld(L(),g(),_e()+e,!1)}function Ld(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&kr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Rr(t,i,0,n)}ut(n)}var Ro=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ro||{});function hs(e,t,n,r){let o=M(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Ro.SignalBased)!==0&&(c=t[i][Y]),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):hu(t,c,i,r)}finally{M(o)}}function Fd(e,t,n,r,o){let i=_e(),s=r&2;try{ut(-1),s&&t.length>P&&Ld(e,t,P,!1),k(s?2:0,o),n(r,o)}finally{ut(i),k(s?3:1,o)}}function Oo(e,t,n){Ny(e,t,n),(n.flags&64)===64&&Sy(e,t,n)}function Oa(e,t,n=me){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function by(e,t,n,r){let i=r.get(fd,dd)||n===_n.ShadowDom,s=e.selectRootElement(t,i);return My(s),s}function My(e){jd(e)}var jd=()=>null;function Cy(e){td(e)?Rd(e):Tm(e)}function xy(){jd=Cy}function _y(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function jn(e,t,n,r,o,i,s,a){if(!a&&Pa(t,e,n,r,o)){mt(t)&&Ty(n,t.index);return}if(t.type&3){let c=me(t,n);r=_y(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function Ty(e,t){let n=Ce(t,e);n[E]&16||(n[E]|=64)}function Ny(e,t,n){let r=n.directiveStart,o=n.directiveEnd;mt(n)&&Dy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Gr(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Cn(t,e,s,n);if(tn(c,t),i!==null&&Ay(t,s-r,c,a,n,i),he(a)){let l=Ce(n.index,t);l[H]=Cn(t,e,s,n)}}}function Sy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=yg();try{ut(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Gi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&ky(c,l)}}finally{ut(-1),Gi(s)}}function ky(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Aa(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Td(t,i.selectors,!1)&&(r??=[],he(i)?r.unshift(i):r.push(i))}return r}function Ry(e,t,n,r,o,i){let s=me(e,t);Oy(t[S],s,i,e.value,n,r,o)}function Oy(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?be(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Ay(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];hs(r,n,c,l)}}function Py(e,t,n){return(e===null||he(e))&&(n=Xh(n[t.index])),n[S]}function Ly(e,t){let n=e[Vt],r=n?n.get(Qe,null):null;r&&r.handleError(t)}function Pa(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];hs(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];hs(u,l,r,o),a=!0}return a}function Fy(e,t){let n=Ce(t,e),r=n[w];jy(r,n);let o=n[te];o!==null&&n[ce]===null&&(n[ce]=md(o,n[Vt])),k(18),La(r,n,n[H]),k(19,n[H])}function jy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function La(e,t,n){fa(t);try{let r=e.viewQuery;r!==null&&is(1,r,n);let o=e.template;o!==null&&Fd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Pe]?.finishViewCreation(e),e.staticContentQueries&&vd(e,t),e.staticViewQueries&&is(2,e.viewQuery,n);let i=e.components;i!==null&&Vy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,pa()}}function Vy(e,t){for(let n=0;n<t.length;n++)Fy(e,t[n])}function Vn(e,t,n,r){let o=M(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=ka(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[at]=l;let u=e[Pe];return u!==null&&(c[Pe]=u.createEmbeddedView(i)),La(i,c,n),c}finally{M(o)}}function $t(e,t){return!t||t.firstChild===null||Jr(e)}var Hy;function Fa(e,t){return Hy(e,t)}var gs=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(gs||{});function vt(e){return(e.flags&32)===32}function Pt(e,t,n,r,o){if(r!=null){let i,s=!1;xe(r)?i=r:pe(r)&&(s=!0,r=r[te]);let a=ge(r);e===0&&n!==null?o==null?kd(t,n,a):Xr(t,n,a,o||null,!0):e===1&&n!==null?Xr(t,n,a,o||null,!0):e===2?Na(t,a,s):e===3&&t.destroyNode(a),i!=null&&Yy(t,e,i,n,o)}}function By(e,t){Vd(e,t),t[te]=null,t[ne]=null}function $y(e,t,n,r,o,i){r[te]=o,r[ne]=t,Lo(e,r,n,1,o,i)}function Vd(e,t){t[Ae].changeDetectionScheduler?.notify(9),Lo(e,t,t[S],2,null,null)}function Uy(e){let t=e[Dn];if(!t)return xi(e[w],e);for(;t;){let n=null;if(pe(t))n=t[Dn];else{let r=t[q];r&&(n=r)}if(!n){for(;t&&!t[fe]&&t!==e;)pe(t)&&xi(t[w],t),t=t[W];t===null&&(t=e),pe(t)&&xi(t[w],t),n=t&&t[fe]}t=n}}function ja(e,t){let n=e[Ht],r=n.indexOf(t);n.splice(r,1)}function Ao(e,t){if(Yt(t))return;let n=t[S];n.destroyNode&&Lo(e,t,n,3,null,null),Uy(t)}function xi(e,t){if(Yt(t))return;let n=M(null);try{t[E]&=-129,t[E]|=256,t[ae]&&hn(t[ae]),Wy(e,t),qy(e,t),t[w].type===1&&t[S].destroy();let r=t[at];if(r!==null&&xe(t[W])){r!==t[W]&&ja(r,t);let o=t[Pe];o!==null&&o.detachView(e)}ts(t)}finally{M(n)}}function qy(e,t){let n=e.cleanup,r=t[Br];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[Br]=null);let o=t[qe];if(o!==null){t[qe]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[ct];if(i!==null){t[ct]=null;for(let s of i)s.destroy()}}function Wy(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 dt)){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];k(4,a,c);try{c.call(a)}finally{k(5,a,c)}}else{k(4,o,i);try{i.call(o)}finally{k(5,o,i)}}}}}function Hd(e,t,n){return zy(e,t.parent,n)}function zy(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[te];if(mt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===_n.None||o===_n.Emulated)return null}return me(r,n)}function Bd(e,t,n){return Zy(e,t,n)}function Gy(e,t,n){return e.type&40?me(e,n):null}var Zy=Gy,pl;function Po(e,t,n,r){let o=Hd(e,r,t),i=t[S],s=r.parent||t[ne],a=Bd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)fl(i,o,n[c],a,!1);else fl(i,o,n,a,!1);pl!==void 0&&pl(i,r,t,n,o)}function vn(e,t){if(t!==null){let n=t.type;if(n&3)return me(t,e);if(n&4)return ms(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return vn(e,r);{let o=e[t.index];return xe(o)?ms(-1,o):ge(o)}}else{if(n&128)return vn(e,t.next);if(n&32)return Fa(t,e)()||ge(e[t.index]);{let r=$d(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=lt(e[K]);return vn(o,r)}else return vn(e,t.next)}}}return null}function $d(e,t){if(t!==null){let r=e[K][ne],o=t.projection;return r.projection[o]}return null}function ms(e,t){let n=q+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return vn(r,o)}return t[Le]}function Va(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&tn(ge(a),r),n.flags|=2),!vt(n))if(c&8)Va(e,t,n.child,r,o,i,!1),Pt(t,e,o,a,i);else if(c&32){let l=Fa(n,r),u;for(;u=l();)Pt(t,e,o,u,i);Pt(t,e,o,a,i)}else c&16?Ud(e,t,r,n,o,i):Pt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Lo(e,t,n,r,o,i){Va(n,r,e.firstChild,t,o,i,!1)}function Qy(e,t,n){let r=t[S],o=Hd(e,n,t),i=n.parent||t[ne],s=Bd(i,n,t);Ud(r,0,t,n,o,s)}function Ud(e,t,n,r,o,i){let s=n[K],c=s[ne].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Pt(t,e,o,u,i)}else{let l=c,u=s[W];Jr(r)&&(l.flags|=128),Va(e,t,l,u,o,i,!0)}}function Yy(e,t,n,r,o){let i=n[Le],s=ge(n);i!==s&&Pt(t,e,r,i,o);for(let a=q;a<n.length;a++){let c=n[a];Lo(c[w],c,e,t,r,i)}}function Jy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:gs.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=gs.Important),e.setStyle(n,r,o,i))}}function eo(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(ge(i)),xe(i)&&Ky(i,r);let s=n.type;if(s&8)eo(e,t,n.child,r);else if(s&32){let a=Fa(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=$d(t,n);if(Array.isArray(a))r.push(...a);else{let c=lt(t[K]);eo(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Ky(e,t){for(let n=q;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&eo(r[w],r,o,t)}e[Le]!==e[te]&&t.push(e[Le])}function qd(e){if(e[Lt]!==null){for(let t of e[Lt])t.impl.addSequence(t);e[Lt].length=0}}var Wd=[];function Xy(e){return e[ae]??ev(e)}function ev(e){let t=Wd.pop()??Object.create(nv);return t.lView=e,t}function tv(e){e.lView[ae]!==e&&(e.lView=null,Wd.push(e))}var nv=oe(re({},Nt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Jt(e.lView)},consumerOnSignalRead(){this.lView[ae]=this}});function rv(e){let t=e[ae]??Object.create(ov);return t.lView=e,t}var ov=oe(re({},Nt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=lt(e.lView);for(;t&&!zd(t[w]);)t=lt(t);t&&wu(t)},consumerOnSignalRead(){this.lView[ae]=this}});function zd(e){return e.type!==2}function Gd(e){if(e[ct]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ct])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var iv=100;function Zd(e,t=!0,n=0){let o=e[Ae].rendererFactory,i=!1;i||o.begin?.();try{sv(e,n)}catch(s){throw t&&Ly(e,s),s}finally{i||o.end?.()}}function sv(e,t){let n=Mu();try{Ur(!0),ys(e,t);let r=0;for(;Do(e);){if(r===iv)throw new x(103,!1);r++,ys(e,1)}}finally{Ur(n)}}function av(e,t,n,r){if(Yt(t))return;let o=t[E],i=!1,s=!1;fa(t);let a=!0,c=null,l=null;i||(zd(e)?(l=Xy(t),c=pn(l)):ui()===null?(a=!1,l=rv(t),c=pn(l)):t[ae]&&(hn(t[ae]),t[ae]=null));try{Eu(t),hg(e.bindingStartIndex),n!==null&&Fd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&kr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Rr(t,f,0,null),Di(t,0)}if(s||cv(t),Gd(t),Qd(t,0),e.contentQueries!==null&&vd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&kr(t,f)}else{let f=e.contentHooks;f!==null&&Rr(t,f,1),Di(t,1)}uv(e,t);let d=e.components;d!==null&&Jd(t,d,0);let p=e.viewQuery;if(p!==null&&is(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&kr(t,f)}else{let f=e.viewHooks;f!==null&&Rr(t,f,2),Di(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[wi]){for(let f of t[wi])f();t[wi]=null}i||(qd(t),t[E]&=-73)}catch(u){throw i||Jt(t),u}finally{l!==null&&(yr(l,c),a&&tv(l)),pa()}}function Qd(e,t){for(let n=od(e);n!==null;n=id(n))for(let r=q;r<n.length;r++){let o=n[r];Yd(o,t)}}function cv(e){for(let t=od(e);t!==null;t=id(t)){if(!(t[E]&2))continue;let n=t[Ht];for(let r=0;r<n.length;r++){let o=n[r];wu(o)}}}function lv(e,t,n){k(18);let r=Ce(t,e);Yd(r,n),k(19,r[H])}function Yd(e,t){ia(e)&&ys(e,t)}function ys(e,t){let r=e[w],o=e[E],i=e[ae],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&vr(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)av(r,e,r.template,e[H]);else if(o&8192){Gd(e),Qd(e,1);let a=r.components;a!==null&&Jd(e,a,1),qd(e)}}function Jd(e,t,n){for(let r=0;r<t.length;r++)lv(e,t[r],n)}function uv(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)ut(~o);else{let i=o,s=n[++r],a=n[++r];mg(s,i);let c=t[i];k(24,c),a(2,c),k(25,c)}}}finally{ut(-1)}}function Ha(e,t){let n=Mu()?64:1088;for(e[Ae].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=lt(e);if(Mn(e)&&!r)return e;e=r}return null}function Kd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Xd(e,t){let n=q+t;if(n<e.length)return e[n]}function Hn(e,t,n,r=!0){let o=t[w];if(dv(o,t,e,n),r){let s=ms(n,e),a=t[S],c=a.parentNode(e[Le]);c!==null&&$y(o,e[ne],a,t,c,s)}let i=t[ce];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ef(e,t){let n=Tn(e,t);return n!==void 0&&Ao(n[w],n),n}function Tn(e,t){if(e.length<=q)return;let n=q+t,r=e[n];if(r){let o=r[at];o!==null&&o!==e&&ja(o,r),t>0&&(e[n-1][fe]=r[fe]);let i=Vr(e,q+t);By(r[w],r);let s=i[Pe];s!==null&&s.detachView(i[w]),r[W]=null,r[fe]=null,r[E]&=-129}return r}function dv(e,t,n,r){let o=q+r,i=n.length;r>0&&(n[o-1][fe]=t),r<i-q?(t[fe]=n[o],eu(n,q+r,t)):(n.push(t),t[fe]=null),t[W]=n;let s=t[at];s!==null&&n!==s&&tf(s,t);let a=t[Pe];a!==null&&a.insertView(e),Wi(t),t[E]|=128}function tf(e,t){let n=e[Ht],r=t[W];if(pe(r))e[E]|=2;else{let o=r[W][K];t[K]!==o&&(e[E]|=2)}n===null?e[Ht]=[t]:n.push(t)}var Nn=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[w];return eo(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[H]}set context(t){this._lView[H]=t}get destroyed(){return Yt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[W];if(xe(t)){let n=t[$r],r=n?n.indexOf(this):-1;r>-1&&(Tn(t,r),Vr(n,r))}this._attachedToViewContainer=!1}Ao(this._lView[w],this._lView)}onDestroy(t){Du(this._lView,t)}markForCheck(){Ha(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){Wi(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,Zd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Mn(this._lView),n=this._lView[at];n!==null&&!t&&ja(n,this._lView),Vd(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t;let n=Mn(this._lView),r=this._lView[at];r!==null&&!n&&tf(r,this._lView),Wi(this._lView)}};var to=(()=>{class e{static __NG_ELEMENT_ID__=hv}return e})(),fv=to,pv=class extends fv{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=Vn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Nn(o)}};function hv(){return Fo(Z(),g())}function Fo(e,t){return e.type&4?new pv(t,e,en(e,t)):null}function Bn(e,t,n,r,o){let i=e.data[t];if(i===null)i=gv(e,t,n,r,o),gg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=fg();i.injectorIndex=s===null?-1:s.injectorIndex}return yt(i,!0),i}function gv(e,t,n,r,o){let i=bu(),s=la(),a=s?i:i&&i.parent,c=e.data[t]=yv(e,a,n,t,r,o);return mv(e,c,i,s),c}function mv(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 yv(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Kt()&&(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 vv=new RegExp(`^(\\d+)*(${cd}|${ad})*(.*)`);function Iv(e){let t=e.match(vv),[n,r,o,i]=t,s=r?parseInt(r,10):o,a=[];for(let[c,l,u]of i.matchAll(/(f|n)(\d*)/g)){let d=parseInt(u,10)||1;a.push(l,d)}return[s,...a]}function Ev(e){return!e.prev&&e.parent?.type===8}function _i(e){return e.index-P}function wv(e,t){let n=e.i18nNodes;if(n)return n.get(t)}function jo(e,t,n,r){let o=_i(r),i=wv(e,o);if(i===void 0){let s=e.data[fm];if(s?.[o])i=bv(s[o],n);else if(t.firstChild===r)i=e.firstChild;else{let a=r.prev===null,c=r.prev??r.parent;if(Ev(r)){let l=_i(r.parent);i=os(e,l)}else{let l=me(c,n);if(a)i=l.firstChild;else{let u=_i(c),d=os(e,u);if(c.type===2&&d){let f=ba(e,u)+1;i=Vo(f,d)}else i=l.nextSibling}}}}return i}function Vo(e,t){let n=t;for(let r=0;r<e;r++)n=n.nextSibling;return n}function Dv(e,t){let n=e;for(let r=0;r<t.length;r+=2){let o=t[r],i=t[r+1];for(let s=0;s<i;s++)switch(o){case am:n=n.firstChild;break;case cm:n=n.nextSibling;break}}return n}function bv(e,t){let[n,...r]=Iv(e),o;if(n===ad)o=t[K][te];else if(n===cd)o=oy(t[K][te]);else{let i=Number(n);o=ge(t[i+P])}return Dv(o,r)}var Mv=!1;function Cv(e){Mv=e}function xv(e){let t=e[ce];if(t){let{i18nNodes:n,dehydratedIcuData:r}=t;if(n&&r){let o=e[S];for(let i of r.values())_v(o,n,i)}t.i18nNodes=void 0,t.dehydratedIcuData=void 0}}function _v(e,t,n){for(let r of n.node.cases[n.case]){let o=t.get(r.index-P);o&&Na(e,o,!1)}}function nf(e){let t=e[bn]??[],r=e[W][S],o=[];for(let i of t)i.data[pm]!==void 0?o.push(i):Tv(i,r);e[bn]=o}function Tv(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Kr];for(;n<o;){let i=r.nextSibling;Na(t,r,!1),r=i,n++}}}function rf(e){nf(e);let t=e[te];pe(t)&&no(t);for(let n=q;n<e.length;n++)no(e[n])}function no(e){xv(e);let t=e[w];for(let n=P;n<t.bindingStartIndex;n++)if(xe(e[n])){let r=e[n];rf(r)}else pe(e[n])&&no(e[n])}function Nv(e){let t=e._views;for(let n of t){let r=xm(n);r!==null&&r[te]!==null&&(pe(r)?no(r):rf(r))}}function Sv(e,t){let n=[];for(let r of t)for(let o=0;o<(r[ld]??1);o++){let i={data:r,firstChild:null};r[Kr]>0&&(i.firstChild=e,e=Vo(r[Kr],e)),n.push(i)}return[e,n]}var of=()=>null;function kv(e,t){let n=e[bn];return!t||n===null||n.length===0?null:n[0].data[dm]===t?n.shift():(nf(e),null)}function Rv(){of=kv}function Ut(e,t){return of(e,t)}var Ov=class{},sf=class{},vs=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ee(t)}.`)}},Ho=class{static NULL=new vs},ro=class{},US=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Av()}return e})();function Av(){let e=g(),t=Z(),n=Ce(t.index,e);return(pe(n)?n:e)[S]}var Pv=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:()=>null})}return e})();var Ti={},Is=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=yo(r);let o=this.injector.get(t,Ti,r);return o!==Ti||n===Ti?o:this.parentInjector.get(t,n,r)}};function Es(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=Fi(o,a);else if(i==2){let c=a,l=t[++s];r=Fi(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Bo(e,t=T.Default){let n=g();if(n===null)return We(e,t);let r=Z();return $u(r,n,U(e),t)}function qS(){let e="invalid";throw new Error(e)}function Ba(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,l=null,u=Fv(s);u===null?a=s:[a,c,l]=u,Hv(e,t,n,a,i,c,l)}i!==null&&r!==null&&Lv(n,r,i)}function Lv(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 x(-301,!1);r.push(t[o],i)}}function Fv(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&he(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,jv(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function jv(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function Vv(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Hv(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&&he(f)&&(c=!0,Vv(e,n,p)),Qi(Gr(n,t),e,f.type)}zv(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=Pd(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Bt(n.mergedAttrs,f.hostAttrs),$v(e,n,t,d,f),Wv(d,f,o),s!==null&&s.has(f)){let[y,A]=s.get(f);n.directiveToIndex.set(f.type,[d,y+n.directiveStart,A+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++}Bv(e,n,i)}function Bv(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))hl(0,t,o,r),hl(1,t,o,r),ml(t,r,!1);else{let i=n.get(o);gl(0,t,i,r),gl(1,t,i,r),ml(t,r,!0)}}}function hl(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),af(t,i)}}function gl(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),af(t,s)}}function af(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function ml(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||_a(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 $v(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=st(o.type,!0)),s=new dt(i,he(o),Bo);e.blueprint[r]=s,n[r]=s,Uv(e,t,r,Pd(e,n,o.hostVars,Q),o)}function Uv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;qv(s)!=a&&s.push(a),s.push(n,r,i)}}function qv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Wv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;he(t)&&(n[""]=e)}}function zv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function cf(e,t,n,r,o,i,s,a){let c=t.consts,l=Ze(c,s),u=Bn(t,e,2,r,l);return i&&Ba(t,n,u,Ze(c,a),o),u.mergedAttrs=Bt(u.mergedAttrs,u.attrs),u.attrs!==null&&Es(u,u.attrs,!1),u.mergedAttrs!==null&&Es(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function lf(e,t){ha(e,t),na(t)&&e.queries.elementEnd(t)}var oo=class extends Ho{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=ze(t);return new ht(n,this.ngModule)}};function Gv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Ro.SignalBased)!==0};return o&&(i.transform=o),i})}function Zv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Qv(e,t,n){let r=t instanceof Ge?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Is(n,r):n}function Yv(e){let t=e.get(ro,null);if(t===null)throw new x(407,!1);let n=e.get(Pv,null),r=e.get(pt,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function Jv(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Ta(t,n,n==="svg"?vu:n==="math"?Kh:null)}var ht=class extends sf{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Gv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Zv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=gy(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){k(22);let i=M(null);try{let s=this.componentDef,a=r?["ng-version","19.2.13"]:my(this.componentDef.selectors[0]),c=Sa(0,null,null,1,0,null,null,null,null,[a],null),l=Qv(s,o||this.ngModule,t),u=Yv(l),d=u.rendererFactory.createRenderer(null,s),p=r?by(d,r,s.encapsulation,l):Jv(s,d),f=ka(null,c,null,512|Ad(s),null,null,u,d,l,null,md(p,l,!0));f[P]=p,fa(f);let h=null;try{let y=cf(P,c,f,"#host",()=>[this.componentDef],!0,0);p&&(Od(d,p,y),tn(p,f)),Oo(c,f,y),Ma(c,y,f),lf(c,y),n!==void 0&&Kv(y,this.ngContentSelectors,n),h=Ce(y.index,f),f[H]=h[H],La(c,f,null)}catch(y){throw h!==null&&ts(h),ts(f),y}finally{k(23),pa()}return new ws(this.componentType,f)}finally{M(i)}}},ws=class extends Ov{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=ra(n[w],P),this.location=en(this._tNode,n),this.instance=Ce(this._tNode.index,n)[H],this.hostView=this.changeDetectorRef=new Nn(n,void 0,!1),this.componentType=t}setInput(t,n){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=Pa(r,o[w],o,t,n);this.previousInputValues.set(t,n);let s=Ce(r.index,o);Ha(s,1)}get injector(){return new it(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Kv(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 $a=(()=>{class e{static __NG_ELEMENT_ID__=Xv}return e})();function Xv(){let e=Z();return df(e,g())}var eI=$a,uf=class extends eI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return en(this._hostTNode,this._hostLView)}get injector(){return new it(this._hostTNode,this._hostLView)}get parentInjector(){let t=ga(this._hostTNode,this._hostLView);if(Lu(t)){let n=Wr(t,this._hostLView),r=qr(t),o=n[w].data[r+8];return new it(o,n)}else return new it(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=yl(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-q}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Ut(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,$t(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Zh(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new ht(ze(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let y=(s?l:this.parentInjector).get(Ge,null);y&&(i=y)}let u=ze(c.componentType??{}),d=Ut(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,$t(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(ng(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[W],l=new uf(c,c[ne],c[W]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Hn(s,o,i,r),t.attachToViewContainerRef(),eu(Ni(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=yl(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Tn(this._lContainer,n);r&&(Vr(Ni(this._lContainer),n),Ao(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=Tn(this._lContainer,n);return r&&Vr(Ni(this._lContainer),n)!=null?new Nn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function yl(e){return e[$r]}function Ni(e){return e[$r]||(e[$r]=[])}function df(e,t){let n,r=t[e.index];return xe(r)?n=r:(n=Kd(r,t,null,e),t[e.index]=n,Ra(t,n)),ff(n,t,e,r),new uf(n,e,t)}function tI(e,t){let n=e[S],r=n.createComment(""),o=me(t,e),i=n.parentNode(o);return Xr(n,i,r,n.nextSibling(o),!1),r}var ff=pf,Ua=()=>!1;function nI(e,t,n){return Ua(e,t,n)}function pf(e,t,n,r){if(e[Le])return;let o;n.type&8?o=ge(r):o=tI(t,n),e[Le]=o}function rI(e,t,n){if(e[Le]&&e[bn])return!0;let r=n[ce],o=t.index-P;if(!r||Kg(t)||Ln(r,o))return!1;let s=os(r,o),a=r.data[Ea]?.[o],[c,l]=Sv(s,a);return e[Le]=c,e[bn]=l,!0}function oI(e,t,n,r){Ua(e,n,t)||pf(e,t,n,r)}function iI(){ff=oI,Ua=rI}var Ds=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},bs=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++)Wa(t,n).matches!==null&&this.queries[n].setDirty()}},io=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=dI(t):this.predicate=t}},Ms=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)}},Cs=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,sI(n,i)),this.matchTNodeWithReadOption(t,n,Or(n,t,i,!1,!1))}else r===to?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Or(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===_o||o===$a||o===to&&n.type&4)this.addMatch(n.index,-2);else{let i=Or(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 sI(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 aI(e,t){return e.type&11?en(e,t):e.type&4?Fo(e,t):null}function cI(e,t,n,r){return n===-1?aI(t,e):n===-2?lI(e,t,r):Cn(e,e[w],n,t)}function lI(e,t,n){if(n===_o)return en(t,e);if(n===to)return Fo(t,e);if(n===$a)return df(t,e)}function hf(e,t,n,r){let o=t[Pe].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(cI(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function xs(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=hf(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=q;d<u.length;d++){let p=u[d];p[at]===p[W]&&xs(p[w],p,l,r)}if(u[Ht]!==null){let d=u[Ht];for(let p=0;p<d.length;p++){let f=d[p];xs(f[w],f,l,r)}}}}}return r}function qa(e,t){return e[Pe].queries[t].queryList}function gf(e,t,n){let r=new es((n&4)===4);return ig(e,t,r,r.destroy),(t[Pe]??=new bs).queries.push(new Ds(r))-1}function uI(e,t,n){let r=L();return r.firstCreatePass&&(yf(r,new io(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),gf(r,g(),t)}function mf(e,t,n,r){let o=L();if(o.firstCreatePass){let i=Z();yf(o,new io(t,n,r),i.index),fI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return gf(o,g(),n)}function dI(e){return e.split(",").map(t=>t.trim())}function yf(e,t,n){e.queries===null&&(e.queries=new Ms),e.queries.track(new Cs(t,n))}function fI(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 Wa(e,t){return e.queries.getByIndex(t)}function vf(e,t){let n=e[w],r=Wa(n,t);return r.crossesNgTemplate?xs(n,e,t,[]):hf(n,e,r,t)}function za(e,t,n){let r,o=wr(()=>{r._dirtyCounter();let i=yI(r,e);if(t&&i===void 0)throw new x(-951,!1);return i});return r=o[Y],r._dirtyCounter=Zg(0),r._flatValue=void 0,o}function pI(e){return za(!0,!1,e)}function hI(e){return za(!0,!0,e)}function gI(e){return za(!1,!1,e)}function mI(e,t){let n=e[Y];n._lView=g(),n._queryIndex=t,n._queryList=qa(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function yI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:J;let o=qa(n,r),i=vf(n,r);return o.reset(i,Ju),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function vl(e,t){return pI(t)}function vI(e,t){return hI(t)}var zS=(vl.required=vI,vl);function GS(e,t){return gI(t)}function If(e,t){let n=Object.create(Hl),r=new Yr;n.value=e;function o(){return St(n),Il(n.value),n.value}return o[Y]=n,o.asReadonly=Ku.bind(o),o.set=i=>{n.equal(n.value,i)||(kt(n,i),r.emit(i))},o.update=i=>{Il(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Il(e){if(e===go)throw new x(952,!1)}function El(e,t){return If(e,t)}function II(e){return If(go,e)}var ZS=(El.required=II,El);var Sn=class{},EI=class{};function JS(e,t){return new so(e,t??null,[])}var so=class extends Sn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new oo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=ru(t);this._bootstrapComponents=xd(i.bootstrap),this._r3Injector=Wu(t,n,[{provide:Sn,useValue:this},{provide:Ho,useValue:this.componentFactoryResolver},...r],ee(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)}},_s=class extends EI{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new so(this.moduleType,t,[])}};var ao=class extends Sn{injector;componentFactoryResolver=new oo(this);instance=null;constructor(t){super();let n=new wn([...t.providers,{provide:Sn,useValue:this},{provide:Ho,useValue:this.componentFactoryResolver}],t.parent||Io(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function wI(e,t,n=null){return new ao({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var DI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=iu(!1,n.type),o=r.length>0?wI([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(We(Ge))})}return e})();function KS(e){return Rn(()=>{let t=Ef(e),n=oe(re({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===nd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(DI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||_n.Emulated,styles:e.styles||J,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&nn("NgStandalone"),wf(n);let r=e.dependencies;return n.directiveDefs=wl(r,!1),n.pipeDefs=wl(r,!0),n.id=_I(n),n})}function bI(e){return ze(e)||ou(e)}function MI(e){return e!==null}function XS(e){return Rn(()=>({type:e.type,bootstrap:e.bootstrap||J,declarations:e.declarations||J,imports:e.imports||J,exports:e.exports||J,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function CI(e,t){if(e==null)return Me;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=Ro.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function xI(e){if(e==null)return Me;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function ek(e){return Rn(()=>{let t=Ef(e);return wf(t),t})}function tk(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ef(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||Me,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||J,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:CI(e.inputs,t),outputs:xI(e.outputs),debugInfo:null}}function wf(e){e.features?.forEach(t=>t(e))}function wl(e,t){if(!e)return null;let n=t?Fh:bI;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(MI)}function _I(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 TI(e){return Object.getPrototypeOf(e.prototype).constructor}function NI(e){let t=TI(e.type),n=!0,r=[e];for(;t;){let o;if(he(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new x(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Si(e.inputs),s.declaredInputs=Si(e.declaredInputs),s.outputs=Si(e.outputs);let a=o.hostBindings;a&&AI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&RI(e,c),l&&OI(e,l),SI(e,o),gh(e.outputs,o.outputs),he(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===NI&&(n=!1)}}t=Object.getPrototypeOf(t)}kI(r)}function SI(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=Bt(o.hostAttrs,n=Bt(n,o.hostAttrs))}}function Si(e){return e===Me?{}:e===J?[]:e}function RI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function OI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function AI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function nk(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.findHostDirectiveDefs=Df,n.hostDirectives=r?e.map(Ts):[e]):r?n.hostDirectives.unshift(...e.map(Ts)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Df(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)Dl(Ts(i),t,n)}else Dl(r,t,n)}function Dl(e,t,n){let r=ou(e.directive);PI(r.declaredInputs,e.inputs),Df(r,t,n),n.set(r,e),t.push(r)}function Ts(e){return typeof e=="function"?{directive:U(e),inputs:Me,outputs:Me}:{directive:U(e.directive),inputs:bl(e.inputs),outputs:bl(e.outputs)}}function bl(e){if(e===void 0||e.length===0)return Me;let t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function PI(e,t){for(let n in t)if(t.hasOwnProperty(n)){let r=t[n],o=e[n];e[r]=o}}function bf(e){return Ga(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function LI(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 Ga(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Te(e,t,n){return e[t]=n}function $n(e,t){return e[t]}function G(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function qt(e,t,n,r){let o=G(e,t,n);return G(e,t+1,r)||o}function Za(e,t,n,r,o){let i=qt(e,t,n,r);return G(e,t+2,o)||i}function Wt(e,t,n,r,o,i){let s=qt(e,t,n,r);return qt(e,t+2,o,i)||s}function FI(e,t,n,r,o,i,s,a,c){let l=t.consts,u=Bn(t,e,4,s||null,a||null);ca()&&Ba(t,n,u,Ze(l,c),Aa),u.mergedAttrs=Bt(u.mergedAttrs,u.attrs),ha(t,u);let d=u.tView=Sa(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function co(e,t,n,r,o,i,s,a,c,l){let u=n+P,d=t.firstCreatePass?FI(u,t,e,r,o,i,s,a,c):t.data[u];yt(d,!1);let p=Mf(t,e,d,n);Co()&&Po(t,e,p,d),tn(p,e);let f=Kd(p,e,p,d);return e[u]=f,Ra(e,f),nI(f,d,e),wo(d)&&Oo(t,e,d),c!=null&&Oa(e,d,l),d}function jI(e,t,n,r,o,i,s,a){let c=g(),l=L(),u=Ze(l.consts,i);return co(c,l,e,t,n,r,o,u,s,a),jI}var Mf=Cf;function Cf(e,t,n,r){return Je(!0),t[S].createComment("")}function VI(e,t,n,r){let o=t[ce],i=!o||Kt()||vt(n)||Ln(o,r);if(Je(i),i)return Cf(e,t);let s=o.data[um]?.[r]??null;s!==null&&n.tView!==null&&n.tView.ssrId===null&&(n.tView.ssrId=s);let a=jo(o,e,t,n);No(o,r,a);let c=ba(o,r);return Vo(c,a)}function HI(){Mf=VI}var rk=(()=>{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 BI=new R("");var xf=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:()=>new Ns})}return e})(),Ns=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function _f(e){return!!e&&typeof e.then=="function"}function $I(e){return!!e&&typeof e.subscribe=="function"}var Tf=new R("");function ok(e){return Xs([{provide:Tf,multi:!0,useValue:e}])}var Nf=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(Tf,{optional:!0})??[];injector=C(ft);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=uu(this.injector,o);if(_f(i))n.push(i);else if($I(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})(),Sf=new R("");function UI(){hi(()=>{throw new x(600,!1)})}function qI(e){return e.isBoundToModule}var WI=10;var zt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(qg);afterRenderManager=C(pd);zonelessEnabled=C(ma);rootEffectScheduler=C(xf);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new se;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=C(xo).hasPendingTasks.pipe(Be(n=>!n));constructor(){C(To,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(Ge);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=ft.NULL){k(10);let i=n instanceof sf;if(!this._injector.get(Nf).done){let f="";throw new x(405,f)}let a;i?a=n:a=this._injector.get(Ho).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=qI(a)?void 0:this._injector.get(Sn),l=r||a.selector,u=a.create(o,[],l,c),d=u.location.nativeElement,p=u.injector.get(BI,null);return p?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),Ar(this.components,u),p?.unregisterApplication(d)}),this._loadComponent(u),k(11,u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){k(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(wa.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new x(101,!1);let n=M(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(n),this.afterTick.next(),k(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ro,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<WI;)k(14),this.synchronizeOnce(),k(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)zI(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Do(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;Ar(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Sf,[]).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),()=>Ar(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new x(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 Ar(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function zI(e,t,n,r){if(!n&&!Do(e))return;Zd(e,t,n&&!r?0:1)}function GI(e,t,n,r){let o=g(),i=Ye();if(G(o,i,t)){let s=L(),a=Xt();Ry(a,o,e,t,n,r)}return GI}function kf(e,t,n,r){return G(e,Ye(),n)?t+be(n)+r:Q}function ZI(e,t,n,r,o,i){let s=Cu(),a=qt(e,s,n,o);return bo(2),a?t+be(n)+r+be(o)+i:Q}function QI(e,t,n,r,o,i,s,a){let c=Cu(),l=Za(e,c,n,o,s);return bo(3),l?t+be(n)+r+be(o)+i+be(s)+a:Q}function Nr(e,t){return e<<17|t<<2}function gt(e){return e>>17&32767}function YI(e){return(e&2)==2}function JI(e,t){return e&131071|t<<17}function Ss(e){return e|2}function Gt(e){return(e&131068)>>2}function ki(e,t){return e&-131069|t<<2}function KI(e){return(e&1)===1}function ks(e){return e|1}function XI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=gt(s),c=Gt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||On(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=gt(e[a+1]);e[r+1]=Nr(p,a),p!==0&&(e[p+1]=ki(e[p+1],r)),e[a+1]=JI(e[a+1],r)}else e[r+1]=Nr(a,0),a!==0&&(e[a+1]=ki(e[a+1],r)),a=r;else e[r+1]=Nr(c,0),a===0?a=r:e[c+1]=ki(e[c+1],r),c=r;l&&(e[r+1]=Ss(e[r+1])),Ml(e,u,r,!0),Ml(e,u,r,!1),eE(t,u,e,r,i),s=Nr(a,c),i?t.classBindings=s:t.styleBindings=s}function eE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&On(i,t)>=0&&(n[r+1]=ks(n[r+1]))}function Ml(e,t,n,r){let o=e[n+1],i=t===null,s=r?gt(o):Gt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];tE(c,t)&&(a=!0,e[s+1]=r?ks(l):Ss(l)),s=r?gt(l):Gt(l)}a&&(e[n+1]=r?Ss(o):ks(o))}function tE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?On(e,t)>=0:!1}var V={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Rf(e){return e.substring(V.key,V.keyEnd)}function nE(e){return e.substring(V.value,V.valueEnd)}function rE(e){return Pf(e),Of(e,Zt(e,0,V.textEnd))}function Of(e,t){let n=V.textEnd;return n===t?-1:(t=V.keyEnd=iE(e,V.key=t,n),Zt(e,t,n))}function oE(e){return Pf(e),Af(e,Zt(e,0,V.textEnd))}function Af(e,t){let n=V.textEnd,r=V.key=Zt(e,t,n);return n===r?-1:(r=V.keyEnd=sE(e,r,n),r=Cl(e,r,n,58),r=V.value=Zt(e,r,n),r=V.valueEnd=aE(e,r,n),Cl(e,r,n,59))}function Pf(e){V.key=0,V.keyEnd=0,V.value=0,V.valueEnd=0,V.textEnd=e.length}function Zt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function iE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function sE(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function Cl(e,t,n,r){return t=Zt(e,t,n),t<n&&t++,t}function aE(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=xl(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=xl(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function xl(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function cE(e,t,n){let r=g(),o=Ye();if(G(r,o,t)){let i=L(),s=Xt();jn(i,s,r,e,t,r[S],n,!1)}return cE}function Rs(e,t,n,r,o){Pa(t,e,n,o?"class":"style",r)}function lE(e,t,n){return Lf(e,t,n,!1),lE}function uE(e,t){return Lf(e,t,null,!0),uE}function ik(e){Ff(Hf,dE,e,!1)}function dE(e,t){for(let n=oE(t);n>=0;n=Af(t,n))Hf(e,Rf(t),nE(t))}function sk(e){Ff(vE,fE,e,!0)}function fE(e,t){for(let n=rE(t);n>=0;n=Of(t,n))vo(e,Rf(t),!0)}function Lf(e,t,n,r){let o=g(),i=L(),s=bo(2);if(i.firstUpdatePass&&Vf(i,e,s,r),t!==Q&&G(o,s,t)){let a=i.data[_e()];Bf(i,a,o,o[S],e,o[s+1]=EE(t,n),r,s)}}function Ff(e,t,n,r){let o=L(),i=bo(2);o.firstUpdatePass&&Vf(o,null,i,r);let s=g();if(n!==Q&&G(s,i,n)){let a=o.data[_e()];if($f(a,r)&&!jf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Fi(c,n||"")),Rs(o,a,s,n,r)}else IE(o,a,s,s[S],s[i+1],s[i+1]=yE(e,t,n),r,i)}}function jf(e,t){return t>=e.expandoStartIndex}function Vf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[_e()],s=jf(e,n);$f(i,r)&&t===null&&!s&&(t=!1),t=pE(o,i,t,r),XI(o,i,t,n,s,r)}}function pE(e,t,n,r){let o=xu(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ri(null,e,t,n,r),n=kn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ri(o,e,t,n,r),i===null){let c=hE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ri(null,e,t,c[1],r),c=kn(c,t.attrs,r),gE(e,t,r,c))}else i=mE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function hE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Gt(r)!==0)return e[gt(r)]}function gE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[gt(o)]=r}function mE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=kn(r,s,n)}return kn(r,t.attrs,n)}function Ri(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=kn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function kn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),vo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function yE(e,t,n){if(n==null||n==="")return J;let r=[],o=rn(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 Hf(e,t,n){vo(e,t,rn(n))}function vE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&vo(e,r,n)}function IE(e,t,n,r,o,i,s,a){o===Q&&(o=J);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,y;u===d?(c+=2,l+=2,p!==f&&(h=d,y=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,y=f),h!==null&&Bf(e,t,n,r,h,y,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Bf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=KI(l)?_l(c,t,n,o,Gt(l),s):void 0;if(!lo(u)){lo(i)||YI(l)&&(i=_l(c,null,n,o,a,s));let d=Iu(_e(),n);Jy(r,s,d,o,i)}}function _l(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?J:void 0);let f=d?Ii(p,r):u===r?p:void 0;if(l&&!lo(f)&&(f=Ii(c,r)),lo(f)&&(a=f,s))return a;let h=e[o+1];o=s?gt(h):Gt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ii(c,r))}return a}function lo(e){return e!==void 0}function EE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ee(rn(e)))),e}function $f(e,t){return(e.flags&(t?8:16))!==0}var Os=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 Oi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function wE(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Oi(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=Oi(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let y=n(i,l),A=n(s,p),N=n(i,u);if(Object.is(N,A)){let ye=n(c,f);Object.is(ye,y)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new uo,o??=Nl(e,i,s,n),As(e,r,i,N))e.updateValue(i,u),i++,s++;else if(o.has(N))r.set(y,e.detach(i)),s--;else{let ye=e.create(i,t[i]);e.attach(i,ye),i++,s++}}for(;i<=c;)Tl(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=Oi(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new uo,o??=Nl(e,i,s,n);let f=n(i,d);if(As(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;)Tl(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 As(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Tl(e,t,n,r,o){if(As(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Nl(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 uo=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 ak(e,t){nn("NgControlFlow");let n=g(),r=Ye(),o=n[r]!==Q?n[r]:-1,i=o!==-1?fo(n,P+o):void 0,s=0;if(G(n,r,e)){let a=M(null);try{if(i!==void 0&&ef(i,s),e!==-1){let c=P+e,l=fo(n,c),u=js(n[w],c),d=Ut(l,u.tView.ssrId),p=Vn(n,u,t,{dehydratedView:d});Hn(l,p,s,$t(u,d))}}finally{M(a)}}else if(i!==void 0){let a=Xd(i,s);a!==void 0&&(a[H]=t)}}var Ps=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-q}};function ck(e){return e}function lk(e,t){return t}var Ls=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function uk(e,t,n,r,o,i,s,a,c,l,u,d,p){nn("NgControlFlow");let f=g(),h=L(),y=c!==void 0,A=g(),N=a?s.bind(A[K][H]):s,ye=new Ls(y,N);A[P+e]=ye,co(f,h,e+1,t,n,r,o,Ze(h.consts,i)),y&&co(f,h,e+2,c,l,u,d,Ze(h.consts,p))}var Fs=class extends Os{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-q}at(t){return this.getLView(t)[H].$implicit}attach(t,n){let r=n[ce];this.needsIndexUpdate||=t!==this.length,Hn(this.lContainer,n,t,$t(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,DE(this.lContainer,t)}create(t,n){let r=Ut(this.lContainer,this.templateTNode.tView.ssrId),o=Vn(this.hostLView,this.templateTNode,new Ps(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Ao(t[w],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[H].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[H].$index=t}getLView(t){return bE(this.lContainer,t)}};function dk(e){let t=M(null),n=_e();try{let r=g(),o=r[w],i=r[n],s=n+1,a=fo(r,s);if(i.liveCollection===void 0){let l=js(o,s);i.liveCollection=new Fs(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(wE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Ye(),u=c.length===0;if(G(r,l,u)){let d=n+2,p=fo(r,d);if(u){let f=js(o,d),h=Ut(p,f.tView.ssrId),y=Vn(r,f,void 0,{dehydratedView:h});Hn(p,y,0,$t(f,h))}else ef(p,0)}}}finally{M(t)}}function fo(e,t){return e[t]}function DE(e,t){return Tn(e,t)}function bE(e,t){return Xd(e,t)}function js(e,t){return ra(e,t)}function Uf(e,t,n,r){let o=g(),i=L(),s=P+e,a=o[S],c=i.firstCreatePass?cf(s,i,o,t,Aa,ca(),n,r):i.data[s],l=Wf(i,o,c,a,t,e);o[s]=l;let u=wo(c);return yt(c,!0),Od(a,l,c),!vt(c)&&Co()&&Po(i,o,l,c),(sg()===0||u)&&tn(l,o),ag(),u&&(Oo(i,o,c),Ma(i,c,o)),r!==null&&Oa(o,c),Uf}function qf(){let e=Z();la()?ua():(e=e.parent,yt(e,!1));let t=e;lg(t)&&dg(),cg();let n=L();return n.firstCreatePass&&lf(n,t),t.classesWithoutHost!=null&&bg(t)&&Rs(n,t,g(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Mg(t)&&Rs(n,t,g(),t.stylesWithoutHost,!1),qf}function ME(e,t,n,r){return Uf(e,t,n,r),qf(),ME}var Wf=(e,t,n,r,o,i)=>(Je(!0),Ta(r,o,Ru()));function CE(e,t,n,r,o,i){let s=t[ce],a=!s||Kt()||vt(n)||Ln(s,i);if(Je(a),a)return Ta(r,o,Ru());let c=jo(s,e,t,n);return yd(s,i)&&No(s,i,c.nextSibling),s&&(ed(n)||td(c))&&mt(n)&&(ug(n),Rd(c)),c}function xE(){Wf=CE}function _E(e,t,n,r,o){let i=t.consts,s=Ze(i,r),a=Bn(t,e,8,"ng-container",s);s!==null&&Es(a,s,!0);let c=Ze(i,o);return ca()&&Ba(t,n,a,c,Aa),a.mergedAttrs=Bt(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function zf(e,t,n){let r=g(),o=L(),i=e+P,s=o.firstCreatePass?_E(i,o,r,t,n):o.data[i];yt(s,!0);let a=Zf(o,r,s,e);return r[i]=a,Co()&&Po(o,r,a,s),tn(a,r),wo(s)&&(Oo(o,r,s),Ma(o,s,r)),n!=null&&Oa(r,s),zf}function Gf(){let e=Z(),t=L();return la()?ua():(e=e.parent,yt(e,!1)),t.firstCreatePass&&(ha(t,e),na(e)&&t.queries.elementEnd(e)),Gf}function TE(e,t,n){return zf(e,t,n),Gf(),TE}var Zf=(e,t,n,r)=>(Je(!0),Sd(t[S],""));function NE(e,t,n,r){let o,i=t[ce],s=!i||Kt()||Ln(i,r)||vt(n);if(Je(s),s)return Sd(t[S],"");let a=jo(i,e,t,n),c=Nm(i,r);return No(i,r,a),o=Vo(c,a),o}function SE(){Zf=NE}function fk(){return g()}function kE(e,t,n){let r=g(),o=Ye();if(G(r,o,t)){let i=L(),s=Xt();jn(i,s,r,e,t,r[S],n,!0)}return kE}function RE(e,t,n){let r=g(),o=Ye();if(G(r,o,t)){let i=L(),s=Xt(),a=xu(i.data),c=Py(a,s,r);jn(i,s,r,e,t,c,n,!0)}return RE}var rt=void 0;function OE(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var AE=["en",[["a","p"],["AM","PM"],rt],[["AM","PM"],rt,rt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],rt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],rt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",rt,"{1} 'at' {0}",rt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",OE],Ai={};function pk(e){let t=LE(e),n=Sl(t);if(n)return n;let r=t.split("-")[0];if(n=Sl(r),n)return n;if(r==="en")return AE;throw new x(701,!1)}function Sl(e){return e in Ai||(Ai[e]=$e.ng&&$e.ng.common&&$e.ng.common.locales&&$e.ng.common.locales[e]),Ai[e]}var PE=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(PE||{});function LE(e){return e.toLowerCase().replace(/_/g,"-")}var po="en-US";var FE=po;function jE(e){typeof e=="string"&&(FE=e.toLowerCase().replace(/_/g,"-"))}function kl(e,t,n){return function r(o){if(o===Function)return n;let i=mt(e)?Ce(e.index,t):t;Ha(i,5);let s=t[H],a=Rl(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Rl(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Rl(e,t,n,r){let o=M(null);try{return k(6,t,n),n(r)!==!1}catch(i){return VE(e,i),!1}finally{k(7,t,n),M(o)}}function VE(e,t){let n=e[Vt],r=n?n.get(Qe,null):null;r&&r.handleError(t)}function Ol(e,t,n,r,o,i){let s=t[n],a=t[w],l=a.data[n].outputs[r],u=s[l],d=a.firstCreatePass?aa(a):null,p=sa(t),f=u.subscribe(i),h=p.length;p.push(i,f),d&&d.push(o,e.index,h,-(h+1))}function HE(e,t,n,r){let o=g(),i=L(),s=Z();return Qf(i,o,o[S],s,e,t,r),HE}function BE(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[Br],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Qf(e,t,n,r,o,i,s){let a=wo(r),l=e.firstCreatePass?aa(e):null,u=sa(t),d=!0;if(r.type&3||s){let p=me(r,t),f=s?s(p):p,h=u.length,y=s?N=>s(ge(N[r.index])):r.index,A=null;if(!s&&a&&(A=BE(e,t,o,r.index)),A!==null){let N=A.__ngLastListenerFn__||A;N.__ngNextListenerFn__=i,A.__ngLastListenerFn__=i,d=!1}else{i=kl(r,t,i),wm(t,f,o,i);let N=n.listen(f,o,i);u.push(i,N),l&&l.push(o,y,h,h+1)}}else i=kl(r,t,i);if(d){let p=r.outputs?.[o],f=r.hostDirectiveOutputs?.[o];if(f&&f.length)for(let h=0;h<f.length;h+=2){let y=f[h],A=f[h+1];Ol(r,t,y,A,o,i)}if(p&&p.length)for(let h of p)Ol(r,t,h,o,o,i)}}function hk(e=1){return Ig(e)}function $E(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?Td(e,i,!0):py(r,i))return o}return n}function gk(e){let t=g()[K][ne];if(!t.projection){let n=e?e.length:1,r=t.projection=Ah(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?$E(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function mk(e,t=0,n,r,o,i){let s=g(),a=L(),c=r?e+1:null;c!==null&&co(s,a,c,r,o,i,null,n);let l=Bn(a,P+e,16,null,n||null);l.projection===null&&(l.projection=t),ua();let d=!s[ce]||Kt();s[K][ne].projection[l.projection]===null&&c!==null?UE(s,a,c):d&&!vt(l)&&Qy(a,s,l)}function UE(e,t,n){let r=P+n,o=t.data[r],i=e[r],s=Ut(i,o.tView.ssrId),a=Vn(e,o,void 0,{dehydratedView:s});Hn(i,a,0,$t(o,s))}function qE(e,t,n){return Yf(e,"",t,"",n),qE}function Yf(e,t,n,r,o){let i=g(),s=kf(i,t,n,r);if(s!==Q){let a=L(),c=Xt();jn(a,c,i,e,s,i[S],o,!1)}return Yf}function yk(e,t,n,r){mf(e,t,n,r)}function vk(e,t,n){uI(e,t,n)}function Ik(e){let t=g(),n=L(),r=da();Mo(r+1);let o=Wa(n,r);if(e.dirty&&tg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=vf(t,r);e.reset(i,Ju),e.notifyOnChanges()}return!0}return!1}function Ek(){return qa(g(),da())}function wk(e,t,n,r,o){mI(t,mf(e,n,r,o))}function Dk(e=1){Mo(da()+e)}function bk(e){let t=pg();return oa(t,P+e)}function Mk(e,t=""){let n=g(),r=L(),o=e+P,i=r.firstCreatePass?Bn(r,o,1,t,null):r.data[o],s=Jf(r,n,i,t,e);n[o]=s,Co()&&Po(r,n,s,i),yt(i,!1)}var Jf=(e,t,n,r,o)=>(Je(!0),Nd(t[S],r));function WE(e,t,n,r,o){let i=t[ce],s=!i||Kt()||vt(n)||Ln(i,o);return Je(s),s?Nd(t[S],r):jo(i,e,t,n)}function zE(){Jf=WE}function GE(e){return Kf("",e,""),GE}function Kf(e,t,n){let r=g(),o=kf(r,e,t,n);return o!==Q&&Qa(r,_e(),o),Kf}function ZE(e,t,n,r,o){let i=g(),s=ZI(i,e,t,n,r,o);return s!==Q&&Qa(i,_e(),s),ZE}function QE(e,t,n,r,o,i,s){let a=g(),c=QI(a,e,t,n,r,o,i,s);return c!==Q&&Qa(a,_e(),c),QE}function Qa(e,t,n){let r=Iu(t,e);yy(e[S],r,n)}function YE(e,t,n){Xu(t)&&(t=t());let r=g(),o=Ye();if(G(r,o,t)){let i=L(),s=Xt();jn(i,s,r,e,t,r[S],n,!1)}return YE}function Ck(e,t){let n=Xu(e);return n&&e.set(t),n}function JE(e,t){let n=g(),r=L(),o=Z();return Qf(r,n,n[S],o,e,t),JE}function KE(e,t,n){let r=L();if(r.firstCreatePass){let o=he(e);Vs(n,r.data,r.blueprint,o,!0),Vs(t,r.data,r.blueprint,o,!1)}}function Vs(e,t,n,r,o){if(e=U(e),Array.isArray(e))for(let i=0;i<e.length;i++)Vs(e[i],t,n,r,o);else{let i=L(),s=g(),a=Z(),c=jt(e)?e:U(e.provide),l=lu(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(jt(e)||!e.multi){let f=new dt(l,o,Bo),h=Li(c,t,o?u:u+p,d);h===-1?(Qi(Gr(a,s),i,c),Pi(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=Li(c,t,u+p,d),h=Li(c,t,u,u+p),y=f>=0&&n[f],A=h>=0&&n[h];if(o&&!A||!o&&!y){Qi(Gr(a,s),i,c);let N=tw(o?ew:XE,n.length,o,r,l);!o&&A&&(n[h].providerFactory=N),Pi(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(N),s.push(N)}else{let N=Xf(n[o?h:f],l,!o&&r);Pi(i,e,f>-1?f:h,N)}!o&&r&&A&&n[h].componentProviders++}}}function Pi(e,t,n,r){let o=jt(t),i=$h(t);if(o||i){let c=(i?U(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 Xf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Li(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function XE(e,t,n,r,o){return Hs(this.multi,[])}function ew(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Cn(r,r[w],this.providerFactory.index,o);s=c.slice(0,a),Hs(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Hs(i,s);return s}function Hs(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function tw(e,t,n,r,o){let i=new dt(e,n,Bo);return i.multi=[],i.index=t,i.componentProviders=0,Xf(i,o,r&&!n),i}function xk(e,t=[]){return n=>{n.providersResolver=(r,o)=>KE(r,o?o(e):e,t)}}function _k(e,t,n){let r=le()+e,o=g();return o[r]===Q?Te(o,r,n?t.call(n):t()):$n(o,r)}function Tk(e,t,n,r){return ep(g(),le(),e,t,n,r)}function Nk(e,t,n,r,o){return tp(g(),le(),e,t,n,r,o)}function Sk(e,t,n,r,o,i){return nw(g(),le(),e,t,n,r,o,i)}function kk(e,t,n,r,o,i,s){return rw(g(),le(),e,t,n,r,o,i,s)}function Rk(e,t,n,r,o,i,s,a){let c=le()+e,l=g(),u=Wt(l,c,n,r,o,i);return G(l,c+4,s)||u?Te(l,c+5,a?t.call(a,n,r,o,i,s):t(n,r,o,i,s)):$n(l,c+5)}function Ok(e,t,n,r,o,i,s,a,c){let l=le()+e,u=g(),d=Wt(u,l,n,r,o,i);return qt(u,l+4,s,a)||d?Te(u,l+6,c?t.call(c,n,r,o,i,s,a):t(n,r,o,i,s,a)):$n(u,l+6)}function Ak(e,t,n,r,o,i,s,a,c,l){let u=le()+e,d=g(),p=Wt(d,u,n,r,o,i);return Za(d,u+4,s,a,c)||p?Te(d,u+7,l?t.call(l,n,r,o,i,s,a,c):t(n,r,o,i,s,a,c)):$n(d,u+7)}function Pk(e,t,n,r,o,i,s,a,c,l,u){let d=le()+e,p=g(),f=Wt(p,d,n,r,o,i);return Wt(p,d+4,s,a,c,l)||f?Te(p,d+8,u?t.call(u,n,r,o,i,s,a,c,l):t(n,r,o,i,s,a,c,l)):$n(p,d+8)}function Lk(e,t,n,r){return ow(g(),le(),e,t,n,r)}function Un(e,t){let n=e[t];return n===Q?void 0:n}function ep(e,t,n,r,o,i){let s=t+n;return G(e,s,o)?Te(e,s+1,i?r.call(i,o):r(o)):Un(e,s+1)}function tp(e,t,n,r,o,i,s){let a=t+n;return qt(e,a,o,i)?Te(e,a+2,s?r.call(s,o,i):r(o,i)):Un(e,a+2)}function nw(e,t,n,r,o,i,s,a){let c=t+n;return Za(e,c,o,i,s)?Te(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Un(e,c+3)}function rw(e,t,n,r,o,i,s,a,c){let l=t+n;return Wt(e,l,o,i,s,a)?Te(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Un(e,l+4)}function ow(e,t,n,r,o,i){let s=t+n,a=!1;for(let c=0;c<o.length;c++)G(e,s++,o[c])&&(a=!0);return a?Te(e,s,r.apply(i,o)):Un(e,s)}function Fk(e,t){let n=L(),r,o=e+P;n.firstCreatePass?(r=iw(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=st(r.type,!0)),s,a=X(Bo);try{let c=zr(!1),l=i();return zr(c),eg(n,g(),o,l),l}finally{X(a)}}function iw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function jk(e,t,n){let r=e+P,o=g(),i=oa(o,r);return np(o,r)?ep(o,le(),t,i.transform,n,i):i.transform(n)}function Vk(e,t,n,r){let o=e+P,i=g(),s=oa(i,o);return np(i,o)?tp(i,le(),t,s.transform,n,r,s):s.transform(n,r)}function np(e,t){return e[w].data[t].pure}function Hk(e,t){return Fo(e,t)}var Bs=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},Bk=(()=>{class e{compileModuleSync(n){return new _s(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=ru(n),i=xd(o.declarations).reduce((s,a)=>{let c=ze(a);return c&&s.push(new ht(c)),s},[]);return new Bs(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 sw=(()=>{class e{zone=C(ie);changeDetectionScheduler=C(pt);applicationRef=C(zt);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=B({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),aw=new R("",{factory:()=>!1});function rp({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ie(oe(re({},op()),{scheduleInRootZone:n})),[{provide:ie,useFactory:e},{provide:En,multi:!0,useFactory:()=>{let r=C(sw,{optional:!0});return()=>r.initialize()}},{provide:En,multi:!0,useFactory:()=>{let r=C(cw);return()=>{r.initialize()}}},t===!0?{provide:Gu,useValue:!0}:[],{provide:Zu,useValue:n??zu}]}function $k(e){let t=e?.ignoreChangesOutsideZone,n=e?.scheduleInRootZone,r=rp({ngZoneFactory:()=>{let o=op(e);return o.scheduleInRootZone=n,o.shouldCoalesceEventChangeDetection&&nn("NgZone_CoalesceEvent"),new ie(o)},ignoreChangesOutsideZone:t,scheduleInRootZone:n});return Xs([{provide:aw,useValue:!0},{provide:ma,useValue:!1},r])}function op(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var cw=(()=>{class e{subscription=new F;initialized=!1;zone=C(ie);pendingTasks=C(xo);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(()=>{ie.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ie.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 lw=(()=>{class e{appRef=C(zt);taskService=C(xo);ngZone=C(ie);zonelessEnabled=C(ma);tracing=C(To,{optional:!0});disableScheduling=C(Gu,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new F;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Qr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(Zu,{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 Xi||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?Kc:Qu;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(Qr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Kc(()=>{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 uw(){return typeof $localize<"u"&&$localize.locale||po}var ip=new R("",{providedIn:"root",factory:()=>C(ip,T.Optional|T.SkipSelf)||uw()});var $s=new R(""),dw=new R("");function mn(e){return!e.moduleRef}function fw(e){let t=mn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ie);return n.run(()=>{mn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Qe,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),mn(e)){let i=()=>t.destroy(),s=e.platformInjector.get($s);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get($s);s.add(i),e.moduleRef.onDestroy(()=>{Ar(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return hw(r,n,()=>{let i=t.get(Nf);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(ip,po);if(jE(s||po),!t.get(dw,!0))return mn(e)?t.get(zt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(mn(e)){let c=t.get(zt);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return pw(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function pw(e,t){let n=e.injector.get(zt);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new x(-403,!1);t.push(e)}function hw(e,t,n){try{let r=n();return _f(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Pr=null;function gw(e=[],t){return ft.create({name:t,providers:[{provide:cu,useValue:"platform"},{provide:$s,useValue:new Set([()=>Pr=null])},...e]})}function mw(e=[]){if(Pr)return Pr;let t=gw(e);return Pr=t,UI(),yw(t),t}function yw(e){let t=e.get(om,null);uu(e,()=>{t?.forEach(n=>n())})}var Uk=(()=>{class e{static __NG_ELEMENT_ID__=vw}return e})();function vw(e){return Iw(Z(),g(),(e&16)===16)}function Iw(e,t,n){if(mt(e)&&!n){let r=Ce(e.index,t);return new Nn(r,r)}else if(e.type&175){let r=t[K];return new Nn(r,t)}return null}var Us=class{constructor(){}supports(t){return bf(t)}create(t){return new qs(t)}},Ew=(e,t)=>t,qs=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||Ew}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<Al(r,o,i)?n:r,a=Al(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=[]),!bf(t))throw new x(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,LI(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 Ws(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 ho),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 ho),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}},Ws=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}},zs=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}},ho=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new zs,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 Al(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Gs=class{constructor(){}supports(t){return t instanceof Map||Ga(t)}create(){return new Zs}},Zs=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Ga(t)))throw new x(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new Qs(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},Qs=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Pl(){return new ww([new Us])}var ww=(()=>{class e{factories;static \u0275prov=B({token:e,providedIn:"root",factory:Pl});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Pl()),deps:[[e,new Xl,new Kl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new x(901,!1)}}return e})();function Ll(){return new Dw([new Gs])}var Dw=(()=>{class e{static \u0275prov=B({token:e,providedIn:"root",factory:Ll});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ll()),deps:[[e,new Xl,new Kl]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new x(901,!1)}}return e})();function qk(e){k(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=mw(r),i=[rp({}),{provide:pt,useExisting:lw},...n||[]],s=new ao({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return fw({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{k(9)}}var Fl=!1;function bw(){Fl||(Fl=!0,Cm(),xE(),zE(),SE(),HI(),iI(),Rv(),xy())}function Mw(e){return e.whenStable()}function Wk(){let e=[{provide:Cr,useFactory:()=>{let t=!0;return t=!!C(Ia,{optional:!0})?.get(hd,null),t&&nn("NgHydration"),t}},{provide:En,useValue:()=>{Cv(!1),C(Cr)&&(km(Pn()),bw())},multi:!0}];return e.push({provide:fd,useFactory:()=>C(Cr)},{provide:Sf,useFactory:()=>{if(C(Cr)){let t=C(zt);return()=>{Mw(t).then(()=>{t.destroyed||Nv(t)})}}return()=>{}},multi:!0}),Xs(e)}function zk(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Gk(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Zk(e){return yi(e)}function Qk(e,t){return wr(e,t?.equal)}var Ys=class{[Y];constructor(t){this[Y]=t}destroy(){this[Y].destroy()}};function Cw(e,t){!t?.injector&&fu(Cw);let n=t?.injector??C(ft),r=t?.manualCleanup!==!0?n.get(An):null,o,i=n.get(Da,null,{optional:!0}),s=n.get(pt);return i!==null&&!t?.forceRoot?(o=Tw(i.view,s,e),r instanceof Zr&&r._lView===i.view&&(r=null)):o=Nw(e,n.get(xf),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new Ys(o)}var sp=oe(re({},Nt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:xn,run(){if(this.dirty=!1,this.hasRun&&!vr(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=pn(this),n=Ur(!1);try{this.maybeCleanup(),this.fn(e)}finally{Ur(n),yr(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),xw=oe(re({},sp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){hn(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),_w=oe(re({},sp),{consumerMarkedDirty(){this.view[E]|=8192,Jt(this.view),this.notifier.notify(13)},destroy(){hn(this),this.onDestroyFn(),this.maybeCleanup(),this.view[ct]?.delete(this)}});function Tw(e,t,n){let r=Object.create(_w);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[ct]??=new Set,e[ct].add(r),r.consumerMarkedDirty(r),r}function Nw(e,t,n){let r=Object.create(xw);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}function Yk(e,t){let n=ze(e),r=t.elementInjector||Io();return new ht(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function Jk(e){let t=ze(e);if(!t)return null;let n=new ht(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{F as a,ve as b,up as c,_ as d,ei as e,ti as f,se as g,on as h,cn as i,kp as j,ke as k,Ee as l,Jo as m,Rp as n,Op as o,nt as p,Dc as q,bc as r,Be as s,_p as t,we as u,ln as v,Tt as w,Pp as x,Lp as y,ni as z,un as A,Up as B,qp as C,Re as D,zp as E,Gp as F,Qp as G,Yp as H,Ko as I,Sc as J,Jp as K,Np as L,dn as M,ri as N,yc as O,Xp as P,eh as Q,th as R,oi as S,nh as T,rh as U,Ic as V,kc as W,Ec as X,Rc as Y,wc as Z,oh as _,x as $,Ul as aa,B as ba,pS as ca,hS as da,R as ea,T as fa,We as ga,C as ha,Xs as ia,jh as ja,cu as ka,Ge as la,uu as ma,fu as na,gS as oa,mS as pa,yS as qa,vS as ra,IS as sa,ES as ta,wS as ua,ft as va,An as wa,pt as xa,xo as ya,Ue as za,ie as Aa,Qe as Ba,DS as Ca,bS as Da,_o as Ea,Gg as Fa,Zg as Ga,MS as Ha,nm as Ia,om as Ja,CS as Ka,xS as La,_S as Ma,Ia as Na,To as Oa,nn as Pa,At as Qa,ym as Ra,_n as Sa,rn as Ta,Ca as Ua,TS as Va,NS as Wa,SS as Xa,kS as Ya,RS as Za,Ed as _a,Qm as $a,ko as ab,OS as bb,Jm as cb,AS as db,PS as eb,LS as fb,FS as gb,gs as hb,to as ib,Ho as jb,ro as kb,US as lb,Bo as mb,qS as nb,$a as ob,zS as pb,GS as qb,ZS as rb,Sn as sb,EI as tb,JS as ub,wI as vb,KS as wb,XS as xb,ek as yb,tk as zb,NI as Ab,nk as Bb,jI as Cb,rk as Db,_f as Eb,$I as Fb,ok as Gb,Sf as Hb,zt as Ib,GI as Jb,cE as Kb,lE as Lb,uE as Mb,ik as Nb,sk as Ob,ak as Pb,ck as Qb,lk as Rb,uk as Sb,dk as Tb,Uf as Ub,qf as Vb,ME as Wb,zf as Xb,Gf as Yb,TE as Zb,fk as _b,kE as $b,RE as ac,pk as bc,PE as cc,HE as dc,hk as ec,gk as fc,mk as gc,qE as hc,Yf as ic,yk as jc,vk as kc,Ik as lc,Ek as mc,wk as nc,Dk as oc,bk as pc,Mk as qc,GE as rc,Kf as sc,ZE as tc,QE as uc,YE as vc,Ck as wc,JE as xc,xk as yc,_k as zc,Tk as Ac,Nk as Bc,Sk as Cc,kk as Dc,Rk as Ec,Ok as Fc,Ak as Gc,Pk as Hc,Lk as Ic,Fk as Jc,jk as Kc,Vk as Lc,Hk as Mc,Bk as Nc,$k as Oc,ip as Pc,Uk as Qc,ww as Rc,Dw as Sc,qk as Tc,Wk as Uc,zk as Vc,Gk as Wc,Zk as Xc,Qk as Yc,Cw as Zc,Yk as _c,Jk as $c};