@duplicati/ngclient 0.0.205 → 0.0.207

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 (162) hide show
  1. package/assets/dest-icons/googleworkspace.png +0 -0
  2. package/assets/sh-bold.woff2 +0 -0
  3. package/assets/sh.woff2 +0 -0
  4. package/chunk-23UYU3M3.js +1 -0
  5. package/chunk-2FPYV4EW.js +1 -0
  6. package/chunk-2K74TI2N.js +1 -0
  7. package/{chunk-HCSB3IIB.js → chunk-2T4BMRWX.js} +1 -1
  8. package/{chunk-D6IP567E.js → chunk-3MS6SVET.js} +1 -1
  9. package/{chunk-BABBRM6A.js → chunk-3QS6DB3O.js} +1 -1
  10. package/chunk-4HB376H3.js +1 -0
  11. package/{chunk-VDSX2M4H.js → chunk-4VYR5E5I.js} +1 -1
  12. package/chunk-5MKFV3IB.js +1 -0
  13. package/chunk-5T2JCBPV.js +1 -0
  14. package/{chunk-GRVTXORM.js → chunk-6COK7FLL.js} +1 -1
  15. package/chunk-7E5J43IH.js +1 -0
  16. package/{chunk-BYUBKTO5.js → chunk-7HFTVA4J.js} +1 -1
  17. package/chunk-7JHU54QM.js +1 -0
  18. package/chunk-7MPZ3MRD.js +1 -0
  19. package/chunk-7PUXNL75.js +1 -0
  20. package/chunk-A57TBTOD.js +1 -0
  21. package/chunk-AG7H2MR5.js +1 -0
  22. package/chunk-AGMFKAHM.js +1 -0
  23. package/chunk-AI6EYFMY.js +1 -0
  24. package/chunk-AZEV3A4R.js +11 -0
  25. package/chunk-C5OYK6UC.js +2 -0
  26. package/chunk-CAJQ2FEU.js +1 -0
  27. package/{chunk-MZ5COKIP.js → chunk-CTQKCCGM.js} +1 -1
  28. package/chunk-DKPWJYG3.js +1 -0
  29. package/chunk-DRRYACBV.js +1 -0
  30. package/{chunk-SZUNW4JO.js → chunk-EG3PT3XW.js} +1 -1
  31. package/{chunk-QHBOEY2O.js → chunk-FJFREVRV.js} +1 -1
  32. package/chunk-G3FMV74P.js +1 -0
  33. package/{chunk-B62TPRVG.js → chunk-GGW26MAG.js} +1 -1
  34. package/chunk-GTZRHPRV.js +1 -0
  35. package/chunk-I2T6IA4K.js +1 -0
  36. package/chunk-I6PR2AV2.js +1 -0
  37. package/chunk-I7MAEY3S.js +1 -0
  38. package/chunk-IAZGVY3O.js +1 -0
  39. package/chunk-IPGH33MU.js +1 -0
  40. package/chunk-JJY6UOEY.js +1 -0
  41. package/chunk-JRXD2X7B.js +1 -0
  42. package/chunk-JWPG4EWG.js +1 -0
  43. package/{chunk-ZU6T3TW3.js → chunk-KLAJGS5T.js} +1 -1
  44. package/{chunk-ZWLAV6HO.js → chunk-KUGAORAS.js} +1 -1
  45. package/{chunk-7TWUW4XJ.js → chunk-KUX6NGQU.js} +1 -1
  46. package/chunk-KYTPZ3WD.js +1 -0
  47. package/chunk-L22UB6DH.js +1 -0
  48. package/{chunk-PO3L6MKW.js → chunk-LU7RSOI6.js} +1 -1
  49. package/chunk-MMF252RQ.js +1 -0
  50. package/chunk-NAMMULH4.js +1 -0
  51. package/{chunk-HUZXJWCG.js → chunk-NGKFJLI2.js} +1 -1
  52. package/chunk-NGPZXZJJ.js +1 -0
  53. package/chunk-NJBOYRXU.js +1 -0
  54. package/{chunk-TL4WOQKT.js → chunk-O3GGVB2B.js} +1 -1
  55. package/{chunk-7LTHH6OG.js → chunk-OAAXQ2BE.js} +1 -1
  56. package/chunk-OL5HI5OG.js +2 -0
  57. package/{chunk-37CUOEGJ.js → chunk-OOL5FC7N.js} +1 -1
  58. package/{chunk-EE5SIDTF.js → chunk-OVLGKJ3Z.js} +1 -1
  59. package/{chunk-NK5WD6WE.js → chunk-OWBBT5WF.js} +1 -1
  60. package/chunk-P7TJCJ64.js +3 -0
  61. package/{chunk-R5YJUVWW.js → chunk-PGISF7LM.js} +1 -1
  62. package/chunk-PVWYJV5Y.js +1 -0
  63. package/chunk-QY4Y5NJB.js +4 -0
  64. package/{chunk-5LBG6MOL.js → chunk-QY5UGQ3R.js} +1 -1
  65. package/chunk-R45TV6JI.js +1 -0
  66. package/{chunk-I3IIG2AK.js → chunk-R4E5IO3A.js} +1 -1
  67. package/chunk-RFCIV3AX.js +1 -0
  68. package/chunk-RJM43XMN.js +1 -0
  69. package/chunk-RNE4Z2E4.js +1 -0
  70. package/{chunk-6LAXPU22.js → chunk-RWDQ3L3C.js} +1 -1
  71. package/chunk-SFW3N5OL.js +1 -0
  72. package/chunk-SIMG6PGZ.js +2 -0
  73. package/chunk-SMUUHPDS.js +1 -0
  74. package/chunk-STB3WOIA.js +1 -0
  75. package/chunk-T2KOS3XX.js +1 -0
  76. package/{chunk-AIH3GSIT.js → chunk-TBQPNXMN.js} +1 -1
  77. package/{chunk-NGNWWP6M.js → chunk-UOZTEZ7B.js} +1 -1
  78. package/{chunk-VFBRHP2H.js → chunk-V63YAEPZ.js} +1 -1
  79. package/{chunk-KDSMLI73.js → chunk-VKNFRCHQ.js} +1 -1
  80. package/{chunk-7AVOHYTE.js → chunk-VLMNSWR3.js} +1 -1
  81. package/{chunk-T4IKTBRQ.js → chunk-VNF7NNO5.js} +1 -1
  82. package/{chunk-AODNZLCK.js → chunk-VPUFUCR3.js} +1 -1
  83. package/chunk-VUKQJ766.js +1 -0
  84. package/{chunk-MDXSNEQZ.js → chunk-WLAJ3YIP.js} +1 -1
  85. package/{chunk-G2FJM62F.js → chunk-XHDAWK7I.js} +1 -1
  86. package/chunk-XTFBRBQX.js +1 -0
  87. package/chunk-XZHXN75E.js +1 -0
  88. package/chunk-Y46QCSB5.js +1 -0
  89. package/chunk-Z2BNW4KI.js +1 -0
  90. package/chunk-ZFREX3ZV.js +1 -0
  91. package/chunk-ZPIR5QIQ.js +2 -0
  92. package/index.html +2 -2
  93. package/locale/messages.da.json +9 -23
  94. package/locale/messages.de.json +114 -60
  95. package/locale/messages.de_CH.json +80 -37
  96. package/locale/messages.en.json +73 -39
  97. package/locale/messages.en_GB.json +73 -39
  98. package/locale/messages.es.json +43 -10
  99. package/locale/messages.fr.json +611 -17
  100. package/locale/messages.it.json +104 -63
  101. package/locale/messages.json +73 -39
  102. package/locale/messages.pl.json +376 -12
  103. package/main-DIGDM6JP.js +1 -0
  104. package/package.json +1 -1
  105. package/ship-ui-assets/mcp/components.json +4388 -0
  106. package/styles-377DNUNK.css +1 -0
  107. package/chunk-26MRZAFB.js +0 -1
  108. package/chunk-26Z7TPJB.js +0 -4
  109. package/chunk-3K3BYB36.js +0 -1
  110. package/chunk-3QV6WLWV.js +0 -1
  111. package/chunk-4GXIF5HF.js +0 -1
  112. package/chunk-4RYK5OOO.js +0 -1
  113. package/chunk-5MHYH7GK.js +0 -2
  114. package/chunk-5QWAH3QX.js +0 -1
  115. package/chunk-5VE6P5U5.js +0 -1
  116. package/chunk-7DCQVM6E.js +0 -1
  117. package/chunk-AT64P6E5.js +0 -2
  118. package/chunk-BFTGDQ4K.js +0 -1
  119. package/chunk-BT2VIZXE.js +0 -1
  120. package/chunk-C25WT56X.js +0 -1
  121. package/chunk-C7N24TZM.js +0 -1
  122. package/chunk-CFNARBNK.js +0 -1
  123. package/chunk-COPBOHWE.js +0 -1
  124. package/chunk-DESKT7LH.js +0 -1
  125. package/chunk-EE27B3OV.js +0 -1
  126. package/chunk-F3JL4GJQ.js +0 -1
  127. package/chunk-G4IFZKMI.js +0 -1
  128. package/chunk-GJKZESBX.js +0 -1
  129. package/chunk-H4LQO7G2.js +0 -1
  130. package/chunk-HOGZ74SB.js +0 -1
  131. package/chunk-HSHF5HR7.js +0 -1
  132. package/chunk-I27PVH6D.js +0 -1
  133. package/chunk-I2RQR4CB.js +0 -1
  134. package/chunk-IGYSPFE7.js +0 -1
  135. package/chunk-JN4WCRAH.js +0 -1
  136. package/chunk-K34VOGDF.js +0 -1
  137. package/chunk-KV5UORE3.js +0 -1
  138. package/chunk-LT3AVRVP.js +0 -1
  139. package/chunk-LXSHDO5C.js +0 -11
  140. package/chunk-M7Y3VPRV.js +0 -1
  141. package/chunk-MIMGEZMT.js +0 -1
  142. package/chunk-MLNK7NFW.js +0 -2
  143. package/chunk-MMEFBZO4.js +0 -1
  144. package/chunk-NNNKIEPR.js +0 -1
  145. package/chunk-OIYIWMS7.js +0 -1
  146. package/chunk-OPLWAKSM.js +0 -3
  147. package/chunk-Q2UQ5J3C.js +0 -1
  148. package/chunk-Q74O3CWJ.js +0 -1
  149. package/chunk-S2RZQVCD.js +0 -1
  150. package/chunk-T4BXBCQI.js +0 -1
  151. package/chunk-U2E3ZQUP.js +0 -1
  152. package/chunk-UK7MV4OF.js +0 -1
  153. package/chunk-UNLX3IVU.js +0 -1
  154. package/chunk-UNMDSCAN.js +0 -1
  155. package/chunk-W3YBKYPJ.js +0 -1
  156. package/chunk-XIYAYCFU.js +0 -1
  157. package/chunk-XLMLR5EV.js +0 -1
  158. package/chunk-YHMXLWRX.js +0 -1
  159. package/chunk-YLQF5ATT.js +0 -1
  160. package/chunk-ZHGDQABC.js +0 -2
  161. package/main-HMCIC27B.js +0 -1
  162. package/styles-H32RJLOU.css +0 -1
@@ -0,0 +1,4 @@
1
+ import{a as z,b as Q}from"./chunk-7CGTOI24.js";var X=null,Qr=!1,ts=1,Yg=null,j=Symbol("SIGNAL");function I(e){let t=X;return X=e,t}function Zr(){return X}var Ve={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function tt(e){if(Qr)throw new Error("");if(X===null)return;X.consumerOnSignalRead(e);let t=X.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=X.recomputing;if(r&&(n=t!==void 0?t.nextProducer:X.producers,n!==void 0&&n.producer===e)){X.producersTail=n,n.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===X&&(!r||Kg(o,X)))return;let i=an(X),s={producer:e,consumer:X,nextProducer:n,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};X.producersTail=s,t!==void 0?t.nextProducer=s:X.producers=s,i&&Yl(e,s)}function Gl(){ts++}function _t(e){if(!(an(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ts)){if(!e.producerMustRecompute(e)&&!sn(e)){on(e);return}e.producerRecomputeValue(e),on(e)}}function ns(e){if(e.consumers===void 0)return;let t=Qr;Qr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||zl(r)}}finally{Qr=t}}function rs(){return X?.consumerAllowSignalWrites!==!1}function zl(e){e.dirty=!0,ns(e),e.consumerMarkedDirty?.(e)}function on(e){e.dirty=!1,e.lastCleanEpoch=ts}function He(e){return e&&Ql(e),I(e)}function Ql(e){e.producersTail=void 0,e.recomputing=!0}function nt(e,t){I(t),e&&Zl(e)}function Zl(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(an(e))do n=os(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function sn(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(_t(n),r!==n.version))return!0}return!1}function rt(e){if(an(e)){let t=e.producers;for(;t!==void 0;)t=os(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function Yl(e,t){let n=e.consumersTail,r=an(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)Yl(o.producer,o)}function os(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!an(t)){let i=t.producers;for(;i!==void 0;)i=os(i)}return n}function an(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Bn(e){Yg?.(e)}function Kg(e,t){let n=t.producersTail;if(n!==void 0){let r=t.producers;do{if(r===e)return!0;if(r===n)break;r=r.nextProducer}while(r!==void 0)}return!1}function $n(e,t){return Object.is(e,t)}function Un(e,t){let n=Object.create(Jg);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(_t(n),tt(n),n.value===je)throw n.error;return n.value};return r[j]=n,Bn(n),r}var et=Symbol("UNSET"),wt=Symbol("COMPUTING"),je=Symbol("ERRORED"),Jg=Q(z({},Ve),{value:et,dirty:!0,error:null,equal:$n,kind:"computed",producerMustRecompute(e){return e.value===et||e.value===wt},producerRecomputeValue(e){if(e.value===wt)throw new Error("");let t=e.value;e.value=wt;let n=He(e),r,o=!1;try{r=e.computation(),I(null),o=t!==et&&t!==je&&r!==je&&e.equal(t,r)}catch(i){r=je,e.error=i}finally{nt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Xg(){throw new Error}var Kl=Xg;function Jl(e){Kl(e)}function is(e){Kl=e}var em=null;function ss(e,t){let n=Object.create(Kr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>Xl(n);return r[j]=n,Bn(n),[r,s=>ot(n,s),s=>Yr(n,s)]}function Xl(e){return tt(e),e.value}function ot(e,t){rs()||Jl(e),e.equal(e.value,t)||(e.value=t,tm(e))}function Yr(e,t){rs()||Jl(e),ot(e,t(e.value))}var Kr=Q(z({},Ve),{equal:$n,value:void 0,kind:"signal"});function tm(e){e.version++,Gl(),ns(e),em?.(e)}function as(e){let t=I(null);try{return e()}finally{I(t)}}var cs=Q(z({},Ve),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function ls(e){if(e.dirty=!1,e.version>0&&!sn(e))return;e.version++;let t=He(e);try{e.cleanup(),e.fn()}finally{nt(e,t)}}function C(e){return typeof e=="function"}function cn(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 Jr=cn(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
+ ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=n});function Mt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Z=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(C(r))try{r()}catch(i){t=i instanceof Jr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{eu(i)}catch(s){t=t??[],s instanceof Jr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Jr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)eu(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)&&Mt(n,t)}remove(t){let{_finalizers:n}=this;n&&Mt(n,t),t instanceof e&&t._removeParent(this)}};Z.EMPTY=(()=>{let e=new Z;return e.closed=!0,e})();var us=Z.EMPTY;function Xr(e){return e instanceof Z||e&&"closed"in e&&C(e.remove)&&C(e.add)&&C(e.unsubscribe)}function eu(e){C(e)?e():e.unsubscribe()}var ve={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var ln={setTimeout(e,t,...n){let{delegate:r}=ln;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=ln;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function eo(e){ln.setTimeout(()=>{let{onUnhandledError:t}=ve;if(t)t(e);else throw e})}function qn(){}var tu=ds("C",void 0,void 0);function nu(e){return ds("E",void 0,e)}function ru(e){return ds("N",e,void 0)}function ds(e,t,n){return{kind:e,value:t,error:n}}var Nt=null;function un(e){if(ve.useDeprecatedSynchronousErrorHandling){let t=!Nt;if(t&&(Nt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Nt;if(Nt=null,n)throw r}}else e()}function ou(e){ve.useDeprecatedSynchronousErrorHandling&&Nt&&(Nt.errorThrown=!0,Nt.error=e)}var St=class extends Z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Xr(t)&&t.add(this)):this.destination=om}static create(t,n,r){return new Be(t,n,r)}next(t){this.isStopped?ps(ru(t),this):this._next(t)}error(t){this.isStopped?ps(nu(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?ps(tu,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()}}},nm=Function.prototype.bind;function fs(e,t){return nm.call(e,t)}var hs=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){to(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){to(r)}else to(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){to(n)}}},Be=class extends St{constructor(t,n,r){super();let o;if(C(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ve.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&fs(t.next,i),error:t.error&&fs(t.error,i),complete:t.complete&&fs(t.complete,i)}):o=t}this.destination=new hs(o)}};function to(e){ve.useDeprecatedSynchronousErrorHandling?ou(e):eo(e)}function rm(e){throw e}function ps(e,t){let{onStoppedNotification:n}=ve;n&&ln.setTimeout(()=>n(e,t))}var om={closed:!0,next:qn,error:rm,complete:qn};var dn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ne(e){return e}function im(...e){return gs(e)}function gs(e){return e.length===0?ne:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=am(n)?n:new Be(n,r,o);return un(()=>{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=iu(r),new r((o,i)=>{let s=new Be({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)}[dn](){return this}pipe(...n){return gs(n)(this)}toPromise(n){return n=iu(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 iu(e){var t;return(t=e??ve.Promise)!==null&&t!==void 0?t:Promise}function sm(e){return e&&C(e.next)&&C(e.error)&&C(e.complete)}function am(e){return e&&e instanceof St||sm(e)&&Xr(e)}var su=cn(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var le=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new no(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new su}next(n){un(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){un(()=>{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(){un(()=>{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?us:(this.currentObservers=null,i.push(n),new Z(()=>{this.currentObservers=null,Mt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new N;return n.source=this,n}}return e.create=(t,n)=>new no(t,n),e})(),no=class extends le{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:us}};function ro(e){return e&&C(e.schedule)}function au(e){return e[e.length-1]}function fn(e){return C(au(e))?e.pop():void 0}function it(e){return ro(au(e))?e.pop():void 0}function lu(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 cu(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 xt(e){return this instanceof xt?(this.v=e,this):new xt(e)}function uu(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(E,y){i.push([f,g,E,y])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof xt?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 du(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 cu=="function"?cu(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 oo=e=>e&&typeof e.length=="number"&&typeof e!="function";function io(e){return C(e?.then)}function so(e){return C(e[dn])}function ao(e){return Symbol.asyncIterator&&C(e?.[Symbol.asyncIterator])}function co(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 cm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var lo=cm();function uo(e){return C(e?.[lo])}function fo(e){return uu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield xt(n.read());if(o)return yield xt(void 0);yield yield xt(r)}}finally{n.releaseLock()}})}function po(e){return C(e?.getReader)}function F(e){if(e instanceof N)return e;if(e!=null){if(so(e))return lm(e);if(oo(e))return um(e);if(io(e))return dm(e);if(ao(e))return fu(e);if(uo(e))return fm(e);if(po(e))return pm(e)}throw co(e)}function lm(e){return new N(t=>{let n=e[dn]();if(C(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function um(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function dm(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,eo)})}function fm(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function fu(e){return new N(t=>{hm(e,t).catch(n=>t.error(n))})}function pm(e){return fu(fo(e))}function hm(e,t){var n,r,o,i;return lu(this,void 0,void 0,function*(){try{for(n=du(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 oe(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 gm(e){return C(e?.lift)}function M(e){return t=>{if(gm(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 _(e,t,n,r,o){return new ms(e,t,n,r,o)}var ms=class extends St{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 ho(e,t=0){return M((n,r)=>{n.subscribe(_(r,o=>oe(r,e,()=>r.next(o),t),()=>oe(r,e,()=>r.complete(),t),o=>oe(r,e,()=>r.error(o),t)))})}function go(e,t=0){return M((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function pu(e,t){return F(e).pipe(go(t),ho(t))}function hu(e,t){return F(e).pipe(go(t),ho(t))}function gu(e,t){return new N(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function mu(e,t){return new N(n=>{let r;return oe(n,t,()=>{r=e[lo](),oe(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)}),()=>C(r?.return)&&r.return()})}function mo(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{oe(n,t,()=>{let r=e[Symbol.asyncIterator]();oe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function yu(e,t){return mo(fo(e),t)}function vu(e,t){if(e!=null){if(so(e))return pu(e,t);if(oo(e))return gu(e,t);if(io(e))return hu(e,t);if(ao(e))return mo(e,t);if(uo(e))return mu(e,t);if(po(e))return yu(e,t)}throw co(e)}function st(e,t){return t?vu(e,t):F(e)}function mm(...e){let t=it(e);return st(e,t)}function at(e,t){return M((n,r)=>{let o=0;n.subscribe(_(r,i=>{r.next(e.call(t,i,o++))}))})}function ys(e){return M((t,n)=>{let r=null,o=!1,i;r=t.subscribe(_(n,void 0,void 0,s=>{i=F(e(s,ys(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var yo=class extends Z{constructor(t,n){super()}schedule(t,n=0){return this}};var Wn={setInterval(e,t,...n){let{delegate:r}=Wn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Wn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var vo=class extends yo{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 Wn.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&&Wn.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,Mt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Gn={now(){return(Gn.delegate||Date).now()},delegate:void 0};var pn=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)}};pn.now=Gn.now;var Eo=class extends pn{constructor(t,n=pn.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 vs=new Eo(vo),Eu=vs;function ym(e,t=vs){return M((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(_(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var At=new N(e=>e.complete());function Io(e){return e<=0?()=>At:M((t,n)=>{let r=0;t.subscribe(_(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function vm(e,t=ne){return e=e??Em,M((n,r)=>{let o,i=!0;n.subscribe(_(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Em(e,t){return e===t}function Iu(e){return M((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Du(e,t){return M((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(_(r,c=>{o?.unsubscribe();let l=0,u=i++;F(e(c,u)).subscribe(o=_(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Cu(e){return M((t,n)=>{F(e).subscribe(_(n,()=>n.complete(),qn)),!n.closed&&t.subscribe(n)})}var zn=class extends le{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Qn=class extends le{constructor(t=1/0,n=1/0,r=Gn){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 Im(e,t){let n=C(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function Dm(e){return!!e&&(e instanceof N||C(e.lift)&&C(e.subscribe))}var Zn=cn(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function bu(e){return e instanceof Date&&!isNaN(e)}var{isArray:Cm}=Array;function bm(e,t){return Cm(t)?e(...t):e(t)}function Do(e){return at(t=>bm(e,t))}var{isArray:Tm}=Array,{getPrototypeOf:wm,prototype:_m,keys:Mm}=Object;function Co(e){if(e.length===1){let t=e[0];if(Tm(t))return{args:t,keys:null};if(Nm(t)){let n=Mm(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Nm(e){return e&&typeof e=="object"&&wm(e)===_m}function bo(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Sm(...e){let t=it(e),n=fn(e),{args:r,keys:o}=Co(e);if(r.length===0)return st([],t);let i=new N(xm(r,t,o?s=>bo(o,s):ne));return n?i.pipe(Do(n)):i}function xm(e,t,n=ne){return r=>{Tu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Tu(t,()=>{let l=st(e[c],t),u=!1;l.subscribe(_(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Tu(e,t,n){e?oe(n,e,t):t()}function wu(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let E=!1;F(n(g,u++)).subscribe(_(t,y=>{o?.(y),i?f(y):t.next(y)},()=>{E=!0},void 0,()=>{if(E)try{for(l--;c.length&&l<r;){let y=c.shift();s?oe(t,s,()=>h(y)):h(y)}p()}catch(y){t.error(y)}}))};return e.subscribe(_(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Rt(e,t,n=1/0){return C(t)?Rt((r,o)=>at((i,s)=>t(r,i,o,s))(F(e(r,o))),n):(typeof t=="number"&&(n=t),M((r,o)=>wu(r,o,e,n)))}function Es(e=1/0){return Rt(ne,e)}function _u(){return Es(1)}function To(...e){return _u()(st(e,it(e)))}function Am(e){return new N(t=>{F(e()).subscribe(t)})}function Rm(...e){let t=fn(e),{args:n,keys:r}=Co(e),o=new N(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;F(n[u]).subscribe(_(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?bo(r,a):a),i.complete())}))}});return t?o.pipe(Do(t)):o}function Is(e=0,t,n=Eu){let r=-1;return t!=null&&(ro(t)?n=t:r=t),new N(o=>{let i=bu(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}var{isArray:km}=Array;function Mu(e){return e.length===1&&km(e[0])?e[0]:e}function Ds(e,t){return M((n,r)=>{let o=0;n.subscribe(_(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Om(...e){let t=fn(e),n=Mu(e);return n.length?new N(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)F(n[s]).subscribe(_(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}}):At}function Pm(e,t){return C(t)?Rt(e,t,1):Rt(e,1)}function Nu(e){return M((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Su(e=Lm){return M((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Lm(){return new Zn}function Fm(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Ds((o,i)=>e(o,i,r)):ne,Io(1),n?Nu(t):Su(()=>new Zn))}function jm(e){return e<=0?()=>At:M((t,n)=>{let r=[];t.subscribe(_(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 Vm(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?ne:M((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(_(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++<n){let p=()=>{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let f=typeof r=="number"?Is(r):F(r(d,a)),h=_(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function xu(e={}){let{connector:t=()=>new le,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return M((g,E)=>{l++,!d&&!u&&p();let y=c=c??t();E.add(()=>{l--,l===0&&!d&&!u&&(a=Cs(h,o))}),y.subscribe(E),!s&&l>0&&(s=new Be({next:L=>y.next(L),error:L=>{d=!0,p(),a=Cs(f,n,L),y.error(L)},complete:()=>{u=!0,p(),a=Cs(f,r),y.complete()}}),F(g).subscribe(s))})(i)}}function Cs(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Be({next:()=>{r.unsubscribe(),e()}});return F(t(...n)).subscribe(r)}function Hm(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,xu({connector:()=>new Qn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Bm(...e){let t=it(e);return M((n,r)=>{(t?To(e,n,t):To(e,n)).subscribe(r)})}function Au(e,t,n){let r=C(e)||t||n?{next:e,error:t,complete:n}:e;return r?M((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(_(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)}))}):ne}function wo(e,t,n){let r=Object.create($m);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(_t(r),tt(r),r.value===je)throw r.error;return r.value};return i[j]=r,Bn(r),i}function bs(e,t){_t(e),ot(e,t),on(e)}function Ts(e,t){_t(e),Yr(e,t),on(e)}var $m=Q(z({},Ve),{value:et,dirty:!0,error:null,equal:$n,kind:"linkedSignal",producerMustRecompute(e){return e.value===et||e.value===wt},producerRecomputeValue(e){if(e.value===wt)throw new Error("");let t=e.value;e.value=wt;let n=He(e),r;try{let o=e.source(),i=t===et||t===je?void 0:{source:e.sourceValue,value:t};r=e.computation(o,i),e.sourceValue=o}catch(o){r=je,e.error=o}finally{nt(e,n)}if(t!==et&&r!==je&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});var ws;function _o(){return ws}function _e(e){let t=ws;return ws=e,t}var Ru=Symbol("NotFound");function hn(e){return e===Ru||e?.name==="\u0275NotFound"}var Ms=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}};var ko="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(nr(t,n)),this.code=t}};function Um(e){return`NG0${Math.abs(e)}`}function nr(e,t){return`${Um(e)}${t?": "+t:""}`}var Se=globalThis;function P(e){for(let t in e)if(e[t]===P)return t;throw Error("")}function Fu(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function qe(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(qe).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 Oo(e,t){return e?t?`${e} ${t}`:e:t||""}var qm=P({__forward_ref__:P});function Po(e){return e.__forward_ref__=Po,e.toString=function(){return qe(this())},e}function Y(e){return Vs(e)?e():e}function Vs(e){return typeof e=="function"&&e.hasOwnProperty(qm)&&e.__forward_ref__===Po}function ju(e,t,n){e!=t&&Vu(n,e,t,"==")}function Vu(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Hu(e){return{providers:e.providers||[],imports:e.imports||[]}}function rr(e){return Gm(e,Lo)}function Wm(e){return rr(e)!==null}function Gm(e,t){return e.hasOwnProperty(t)&&e[t]||null}function zm(e){let t=e?.[Lo]??null;return t||null}function Ns(e){return e&&e.hasOwnProperty(No)?e[No]:null}var Lo=P({\u0275prov:P}),No=P({\u0275inj:P}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=U({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Hs(e){return e&&!!e.\u0275providers}var Bs=P({\u0275cmp:P}),$s=P({\u0275dir:P}),Us=P({\u0275pipe:P}),qs=P({\u0275mod:P}),Kn=P({\u0275fac:P}),Ft=P({__NG_ELEMENT_ID__:P}),ku=P({__NG_ENV_ID__:P});function Ws(e){return jo(e,"@NgModule"),e[qs]||null}function Ie(e){return jo(e,"@Component"),e[Bs]||null}function Fo(e){return jo(e,"@Directive"),e[$s]||null}function Gs(e){return jo(e,"@Pipe"),e[Us]||null}function jo(e,t){if(e==null)throw new b(-919,!1)}function de(e){return typeof e=="string"?e:e==null?"":String(e)}function Bu(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():de(e)}var $u=P({ngErrorCode:P}),Qm=P({ngErrorMessage:P}),Zm=P({ngTokenPath:P});function zs(e,t){return Uu("",-200,t)}function Vo(e,t){throw new b(-201,!1)}function Uu(e,t,n){let r=new b(t,e);return r[$u]=t,r[Qm]=e,n&&(r[Zm]=n),r}function Ym(e){return e[$u]}var Ss;function qu(){return Ss}function re(e){let t=Ss;return Ss=e,t}function Qs(e,t,n){let r=rr(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;Vo(e,"")}var Km={},kt=Km,Jm="__NG_DI_FLAG__",xs=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Ot(n)||0;try{return this.injector.get(t,r&8?null:kt,r)}catch(o){if(hn(o))return o;throw o}}};function Xm(e,t=0){let n=_o();if(n===void 0)throw new b(-203,!1);if(n===null)return Qs(e,void 0,t);{let r=ey(t),o=n.retrieve(e,r);if(hn(o)){if(r.optional)return null;throw o}return o}}function Me(e,t=0){return(qu()||Xm)(Y(e),t)}function w(e,t){return Me(e,Ot(t))}function Ot(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ey(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function As(e){let t=[];for(let n=0;n<e.length;n++){let r=Y(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=ty(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Me(o,i))}else t.push(Me(r))}return t}function ty(e){return e[Jm]}function ct(e,t){let n=e.hasOwnProperty(Kn);return n?e[Kn]:null}function Wu(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 Gu(e){return e.flat(Number.POSITIVE_INFINITY)}function Ho(e,t){e.forEach(n=>Array.isArray(n)?Ho(n,t):t(n))}function Zs(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function or(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function zu(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Qu(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 ir(e,t,n){let r=mn(e,t);return r>=0?e[r|1]=n:(r=~r,Qu(e,r,t,n)),r}function Bo(e,t){let n=mn(e,t);if(n>=0)return e[n|1]}function mn(e,t){return ny(e,t,1)}function ny(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 dt={},K=[],sr=new R(""),Ys=new R("",-1),Ks=new R(""),Jn=class{get(t,n=kt){if(n===kt){let o=Uu("",-201);throw o.name="\u0275NotFound",o}return n}};function Js(e){return{\u0275providers:e}}function Zu(...e){return{\u0275providers:$o(!0,e),\u0275fromNgModule:!0}}function $o(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return Ho(t,s=>{let a=s;So(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Yu(o,i),n}function Yu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Xs(o,i=>{t(i,r)})}}function So(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=Ns(e),s=!i&&Ie(e);if(!i&&!s){let c=e.ngModule;if(i=Ns(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)So(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Ho(i.imports,u=>{So(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Yu(l,t)}if(!a){let l=ct(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:Ks,useValue:o,multi:!0},o),t({provide:sr,useValue:()=>Me(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;Xs(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function Xs(e,t){for(let n of e)Hs(n)&&(n=n.\u0275providers),Array.isArray(n)?Xs(n,t):t(n)}var ry=P({provide:String,useValue:P});function Ku(e){return e!==null&&typeof e=="object"&&ry in e}function oy(e){return!!(e&&e.useExisting)}function iy(e){return!!(e&&e.useFactory)}function Pt(e){return typeof e=="function"}function Ju(e){return!!e.useClass}var ea=new R(""),Mo={},Ou={},_s;function yn(){return _s===void 0&&(_s=new Jn),_s}var ue=class{},Lt=class extends ue{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,ks(t,s=>this.processProvider(s)),this.records.set(Ys,gn(void 0,this)),o.has("environment")&&this.records.set(ue,gn(void 0,this));let i=this.records.get(ea);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Ks,K,{self:!0}))}retrieve(t,n){let r=Ot(n)||0;try{return this.get(t,kt,r)}catch(o){if(hn(o))return o;throw o}}destroy(){Yn(this),this._destroyed=!0;let t=I(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),I(t)}}onDestroy(t){return Yn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Yn(this);let n=_e(this),r=re(void 0),o;try{return t()}finally{_e(n),re(r)}}get(t,n=kt,r){if(Yn(this),t.hasOwnProperty(ku))return t[ku](this);let o=Ot(r),i,s=_e(this),a=re(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=uy(t)&&rr(t);u&&this.injectableDefInScope(u)?l=gn(Rs(t),Mo):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?yn():this.parent;return n=o&8&&n===kt?null:n,c.get(t,n)}catch(c){let l=Ym(c);throw l===-200||l===-201?new b(l,null):c}finally{re(a),_e(s)}}resolveInjectorInitializers(){let t=I(null),n=_e(this),r=re(void 0),o;try{let i=this.get(sr,K,{self:!0});for(let s of i)s()}finally{_e(n),re(r),I(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(qe(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=Y(t);let n=Pt(t)?t:Y(t&&t.provide),r=ay(t);if(!Pt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=gn(void 0,Mo,!0),o.factory=()=>As(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=I(null);try{if(n.value===Ou)throw zs(qe(t));return n.value===Mo&&(n.value=Ou,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&ly(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{I(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=Y(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 Rs(e){let t=rr(e),n=t!==null?t.factory:ct(e);if(n!==null)return n;if(e instanceof R)throw new b(204,!1);if(e instanceof Function)return sy(e);throw new b(204,!1)}function sy(e){if(e.length>0)throw new b(204,!1);let n=zm(e);return n!==null?()=>n.factory(e):()=>new e}function ay(e){if(Ku(e))return gn(void 0,e.useValue);{let t=ta(e);return gn(t,Mo)}}function ta(e,t,n){let r;if(Pt(e)){let o=Y(e);return ct(o)||Rs(o)}else if(Ku(e))r=()=>Y(e.useValue);else if(iy(e))r=()=>e.useFactory(...As(e.deps||[]));else if(oy(e))r=(o,i)=>Me(Y(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Y(e&&(e.useClass||e.provide));if(cy(e))r=()=>new o(...As(e.deps));else return ct(o)||Rs(o)}return r}function Yn(e){if(e.destroyed)throw new b(205,!1)}function gn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function cy(e){return!!e.deps}function ly(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function uy(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function ks(e,t){for(let n of e)Array.isArray(n)?ks(n,t):n&&Hs(n)?ks(n.\u0275providers,t):t(n)}function Uo(e,t){let n;e instanceof Lt?(Yn(e),n=e):n=new xs(e);let r,o=_e(n),i=re(void 0);try{return t()}finally{_e(o),re(i)}}function Xu(){return qu()!==void 0||_o()!=null}var De=0,v=1,D=2,$=3,ge=4,ee=5,jt=6,vn=7,H=8,ie=9,xe=10,S=11,En=12,na=13,Vt=14,te=15,ft=16,Ht=17,Ae=18,ze=19,ra=20,Ue=21,qo=22,lt=23,fe=24,Bt=25,$t=26,A=27,ed=1,pt=6,ht=7,ar=8,Ut=9,V=10;function Re(e){return Array.isArray(e)&&typeof e[ed]=="object"}function Ce(e){return Array.isArray(e)&&e[ed]===!0}function oa(e){return(e.flags&4)!==0}function gt(e){return e.componentOffset>-1}function In(e){return(e.flags&1)===1}function ke(e){return!!e.template}function Dn(e){return(e[D]&512)!==0}function mt(e){return(e[D]&256)===256}var ia="svg",td="math";function se(e){for(;Array.isArray(e);)e=e[De];return e}function cr(e,t){return se(t[e])}function be(e,t){return se(t[e.index])}function qt(e,t){return e.data[t]}function Cn(e,t){return e[t]}function lr(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function me(e,t){let n=t[e];return Re(n)?n:n[De]}function nd(e){return(e[D]&4)===4}function Wo(e){return(e[D]&128)===128}function rd(e){return Ce(e[$])}function ae(e,t){return t==null?null:e[t]}function sa(e){e[Ht]=0}function aa(e){e[D]&1024||(e[D]|=1024,Wo(e)&&Wt(e))}function od(e,t){for(;e>0;)t=t[Vt],e--;return t}function ur(e){return!!(e[D]&9216||e[fe]?.dirty)}function Go(e){e[xe].changeDetectionScheduler?.notify(8),e[D]&64&&(e[D]|=1024),ur(e)&&Wt(e)}function Wt(e){e[xe].changeDetectionScheduler?.notify(0);let t=ut(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!Wo(t)));)t=ut(t)}function zo(e,t){if(mt(e))throw new b(911,!1);e[Ue]===null&&(e[Ue]=[]),e[Ue].push(t)}function ca(e,t){if(e[Ue]===null)return;let n=e[Ue].indexOf(t);n!==-1&&e[Ue].splice(n,1)}function ut(e){let t=e[$];return Ce(t)?t[$]:t}function la(e){return e[vn]??=[]}function ua(e){return e.cleanup??=[]}function id(e,t,n,r){let o=la(t);o.push(n),e.firstCreatePass&&ua(e).push(r,o.length-1)}var T={lFrame:md(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Os=!1;function sd(){return T.lFrame.elementDepthCount}function ad(){T.lFrame.elementDepthCount++}function da(){T.lFrame.elementDepthCount--}function Qo(){return T.bindingsEnabled}function fa(){return T.skipHydrationRootTNode!==null}function pa(e){return T.skipHydrationRootTNode===e}function ha(){T.skipHydrationRootTNode=null}function m(){return T.lFrame.lView}function O(){return T.lFrame.tView}function cd(e){return T.lFrame.contextLView=e,e[H]}function ld(e){return T.lFrame.contextLView=null,e}function q(){let e=ga();for(;e!==null&&e.type===64;)e=e.parent;return e}function ga(){return T.lFrame.currentTNode}function bn(){let e=T.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Oe(e,t){let n=T.lFrame;n.currentTNode=e,n.isParent=t}function ma(){return T.lFrame.isParent}function ya(){T.lFrame.isParent=!1}function va(){return T.lFrame.contextLView}function Ea(){return Os}function Xn(e){let t=Os;return Os=e,t}function Qe(){let e=T.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Zo(){return T.lFrame.bindingIndex}function ud(e){return T.lFrame.bindingIndex=e}function Te(){return T.lFrame.bindingIndex++}function dr(e){let t=T.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function dd(){return T.lFrame.inI18n}function Ia(e){T.lFrame.inI18n=e}function fd(e,t){let n=T.lFrame;n.bindingIndex=n.bindingRootIndex=e,Yo(t)}function pd(){return T.lFrame.currentDirectiveIndex}function Yo(e){T.lFrame.currentDirectiveIndex=e}function hd(e){let t=T.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ko(){return T.lFrame.currentQueryIndex}function fr(e){T.lFrame.currentQueryIndex=e}function dy(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function Da(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=dy(i),o===null||(i=i[Vt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=T.lFrame=gd();return r.currentTNode=t,r.lView=e,!0}function Jo(e){let t=gd(),n=e[v];T.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function gd(){let e=T.lFrame,t=e===null?null:e.child;return t===null?md(e):t}function md(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 yd(){let e=T.lFrame;return T.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ca=yd;function Xo(){let e=yd();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 vd(e){return(T.lFrame.contextLView=od(e,T.lFrame.contextLView))[H]}function ye(){return T.lFrame.selectedIndex}function yt(e){T.lFrame.selectedIndex=e}function Tn(){let e=T.lFrame;return qt(e.tView,e.selectedIndex)}function Ed(){T.lFrame.currentNamespace=ia}function Id(){fy()}function fy(){T.lFrame.currentNamespace=null}function Dd(){return T.lFrame.currentNamespace}var Cd=!0;function pr(){return Cd}function wn(e){Cd=e}function Ps(e,t=null,n=null,r){let o=ba(e,t,n,r);return o.resolveInjectorInitializers(),o}function ba(e,t=null,n=null,r,o=new Set){let i=[n||K,Zu(e)];return r=r||(typeof e=="object"?void 0:qe(e)),new Lt(i,t||yn(),r||null,o)}var Ee=class e{static THROW_IF_NOT_FOUND=kt;static NULL=new Jn;static create(t,n){if(Array.isArray(t))return Ps({name:""},n,t,"");{let r=t.name??"";return Ps({name:r},t.parent,t.providers,r)}}static \u0275prov=U({token:e,providedIn:"any",factory:()=>Me(Ys)});static __NG_ELEMENT_ID__=-1},Ta=new R(""),Ze=(()=>{class e{static __NG_ELEMENT_ID__=py;static __NG_ENV_ID__=n=>n}return e})(),xo=class extends Ze{_lView;constructor(t){super(),this._lView=t}get destroyed(){return mt(this._lView)}onDestroy(t){let n=this._lView;return zo(n,t),()=>ca(n,t)}};function py(){return new xo(m())}var bd=!1,Td=new R(""),Gt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new zn(!1);debugTaskTracker=w(Td,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ls=class extends le{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Xu()&&(this.destroyRef=w(Ze,{optional:!0})??void 0,this.pendingTasks=w(Gt,{optional:!0})??void 0)}emit(t){let n=I(null);try{super.next(t)}finally{I(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof Z&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},$e=Ls;function Ao(...e){}function wa(e){let t,n;function r(){e=Ao;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 wd(e){return queueMicrotask(()=>e()),()=>{e=Ao}}var _a="isAngularZone",er=_a+"_ID",hy=0,Ne=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new $e(!1);onMicrotaskEmpty=new $e(!1);onStable=new $e(!1);onError=new $e(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=bd}=t;if(typeof Zone>"u")throw new b(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,yy(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(_a)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(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,gy,Ao,Ao);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)}},gy={};function Ma(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 my(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){wa(()=>{e.callbackScheduled=!1,Fs(e),e.isCheckStableRunning=!0,Ma(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Fs(e)}function yy(e){let t=()=>{my(e)},n=hy++;e._inner=e._inner.fork({name:"angular",properties:{[_a]:!0,[er]:n,[er+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(vy(c))return r.invokeTask(i,s,a,c);try{return Pu(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Lu(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Pu(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ey(c)&&t(),Lu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Fs(e),Ma(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 Fs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Pu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Lu(e){e._nesting--,Ma(e)}var tr=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new $e;onMicrotaskEmpty=new $e;onStable=new $e;onError=new $e;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function vy(e){return _d(e,"__ignore_ng_zone__")}function Ey(e){return _d(e,"__scheduler_tick__")}function _d(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var We=class{_console=console;handleError(t){this._console.error("ERROR",t)}},zt=new R("",{factory:()=>{let e=w(Ne),t=w(ue),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(We),n.handleError(r))})}}}),Md={provide:sr,useValue:()=>{let e=w(We,{optional:!0})},multi:!0};function vt(e,t){let[n,r,o]=ss(e,t?.equal),i=n,s=i[j];return i.set=r,i.update=o,i.asReadonly=_n.bind(i),i}function _n(){let e=this[j];if(e.readonlyFn===void 0){let t=()=>this();t[j]=e,e.readonlyFn=t}return e.readonlyFn}var hr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Iy}return e})();function Iy(){return new hr(m(),q())}var Ge=class{},gr=new R("",{factory:()=>!0});var Na=new R(""),mr=(()=>{class e{internalPendingTasks=w(Gt);scheduler=w(Ge);errorHandler=w(zt);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();n().catch(this.errorHandler).finally(r)}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),ei=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>new js})}return e})(),js=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}},Ro=class{[j];constructor(t){this[j]=t}destroy(){this[j].destroy()}};function Sa(e,t){let n=t?.injector??w(Ee),r=t?.manualCleanup!==!0?n.get(Ze):null,o,i=n.get(hr,null,{optional:!0}),s=n.get(Ge);return i!==null?(o=by(i.view,s,e),r instanceof xo&&r._lView===i.view&&(r=null)):o=Ty(e,n.get(ei),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Ro(o)}var Nd=Q(z({},cs),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Xn(!1);try{ls(this)}finally{Xn(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=I(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],I(e)}}}),Dy=Q(z({},Nd),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(rt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Cy=Q(z({},Nd),{consumerMarkedDirty(){this.view[D]|=8192,Wt(this.view),this.notifier.notify(13)},destroy(){if(rt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[lt]?.delete(this)}});function by(e,t,n){let r=Object.create(Cy);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Sd(r,n),e[lt]??=new Set,e[lt].add(r),r.consumerMarkedDirty(r),r}function Ty(e,t,n){let r=Object.create(Dy);return r.fn=Sd(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Sd(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function pe(e){return as(e)}function Pr(e){return{toString:e}.toString()}function Ay(e){return typeof e=="function"}function vf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var pi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},Ry=(()=>{let e=()=>Ef;return e.ngInherit=!0,e})();function Ef(e){return e.type.prototype.ngOnChanges&&(e.setInput=Oy),ky}function ky(){let e=Df(this),t=e?.current;if(t){let n=e.previous;if(n===dt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Oy(e,t,n,r,o){let i=this.declaredInputs[r],s=Df(e)||Py(e,{previous:dt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new pi(l&&l.currentValue,n,c===dt),vf(e,t,o,n)}var If="__ngSimpleChanges__";function Df(e){return e[If]||null}function Py(e,t){return e[If]=t}var xd=[];var k=function(e,t=null,n){for(let r=0;r<xd.length;r++){let o=xd[r];o(e,t,n)}},x=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(x||{});function Ly(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Ef(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 Cf(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 ii(e,t,n){bf(e,t,3,n)}function si(e,t,n,r){(e[D]&3)===n&&bf(e,t,n,r)}function xa(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function bf(e,t,n,r){let o=r!==void 0?e[Ht]&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[Ht]+=65536),(a<i||i==-1)&&(Fy(e,n,t,c),e[Ht]=(e[Ht]&4294901760)+c+2),c++}function Ad(e,t){k(x.LifecycleHookStart,e,t);let n=I(null);try{t.call(e)}finally{I(n),k(x.LifecycleHookEnd,e,t)}}function Fy(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[D]>>14<e[Ht]>>16&&(e[D]&3)===t&&(e[D]+=16384,Ad(a,i)):Ad(a,i)}var Nn=-1,Zt=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function jy(e){return(e.flags&8)!==0}function Vy(e){return(e.flags&16)!==0}function Hy(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];By(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Tf(e){return e===3||e===4||e===6}function By(e){return e.charCodeAt(0)===64}function xn(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?Rd(e,n,o,null,t[++r]):Rd(e,n,o,null,null))}}return e}function Rd(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 wf(e){return e!==Nn}function hi(e){return e&32767}function $y(e){return e>>16}function gi(e,t){let n=$y(e),r=t;for(;n>0;)r=r[Vt],n--;return r}var Ua=!0;function mi(e){let t=Ua;return Ua=e,t}var Uy=256,_f=Uy-1,Mf=5,qy=0,Pe={};function Wy(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ft)&&(r=n[Ft]),r==null&&(r=n[Ft]=qy++);let o=r&_f,i=1<<o;t.data[e+(o>>Mf)]|=i}function yi(e,t){let n=Nf(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,Aa(r.data,e),Aa(t,null),Aa(r.blueprint,null));let o=Sc(e,t),i=e.injectorIndex;if(wf(o)){let s=hi(o),a=gi(o,t),c=a[v].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Aa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Nf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Sc(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=kf(o),r===null)return Nn;if(n++,o=o[Vt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Nn}function qa(e,t,n){Wy(e,t,n)}function Gy(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(Tf(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 Sf(e,t,n){if(n&8||e!==void 0)return e;Vo(t,"NodeInjector")}function xf(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[ie],i=re(void 0);try{return o?o.get(t,r,n&8):Qs(t,r,n&8)}finally{re(i)}}return Sf(r,t,n)}function Af(e,t,n,r=0,o){if(e!==null){if(t[D]&2048&&!(r&2)){let s=Ky(e,t,n,r,Pe);if(s!==Pe)return s}let i=Rf(e,t,n,r,Pe);if(i!==Pe)return i}return xf(t,n,r,o)}function Rf(e,t,n,r,o){let i=Qy(n);if(typeof i=="function"){if(!Da(t,e,r))return r&1?Sf(o,n,r):xf(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Vo(n);else return s}finally{Ca()}}else if(typeof i=="number"){let s=null,a=Nf(e,t),c=Nn,l=r&1?t[te][ee]:null;for((a===-1||r&4)&&(c=a===-1?Sc(e,t):t[a+8],c===Nn||!Od(r,!1)?a=-1:(s=t[v],a=hi(c),t=gi(c,t)));a!==-1;){let u=t[v];if(kd(i,a,u.data)){let d=zy(a,t,n,s,r,l);if(d!==Pe)return d}c=t[a+8],c!==Nn&&Od(r,t[v].data[a+8]===l)&&kd(i,a,t)?(s=u,a=hi(c),t=gi(c,t)):a=-1}}return o}function zy(e,t,n,r,o,i){let s=t[v],a=s.data[e+8],c=r==null?gt(a)&&Ua:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=ai(a,s,n,c,l);return u!==null?Tr(t,s,u,a,o):Pe}function ai(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&&ke(f)&&f.type===n)return c}return null}function Tr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Zt){let a=i;if(a.resolving){let f=Bu(s[n]);throw zs(f)}let c=mi(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?re(a.injectImpl):null,p=Da(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Ly(n,s[n],t)}finally{d!==null&&re(d),mi(c),a.resolving=!1,Ca()}}return i}function Qy(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Ft)?e[Ft]:void 0;return typeof t=="number"?t>=0?t&_f:Zy:t}function kd(e,t,n){let r=1<<e;return!!(n[t+(e>>Mf)]&r)}function Od(e,t){return!(e&2)&&!(e&1&&t)}var Qt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Af(this._tNode,this._lView,t,Ot(r),n)}};function Zy(){return new Qt(q(),m())}function Yy(e){return Pr(()=>{let t=e.prototype.constructor,n=t[Kn]||Wa(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Kn]||Wa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Wa(e){return Vs(e)?()=>{let t=Wa(Y(e));return t&&t()}:ct(e)}function Ky(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!Dn(s);){let a=Rf(i,s,n,r|2,Pe);if(a!==Pe)return a;let c=i.parent;if(!c){let l=s[ra];if(l){let u=l.get(n,Pe,r);if(u!==Pe)return u}c=kf(s),s=s[Vt]}i=c}return o}function kf(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function Of(e){return Gy(q(),e)}function Jy(){return Pn(q(),m())}function Pn(e,t){return new Lr(be(e,t))}var Lr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Jy}return e})();function Pf(e){return e instanceof Lr?e.nativeElement:e}function Xy(){return this._results[Symbol.iterator]()}var vi=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 le}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=Gu(t);(this._changesDetected=!Wu(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]=Xy};function Lf(e){return(e.flags&128)===128}var xc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e})(xc||{}),Ff=new Map,ev=0;function tv(){return ev++}function nv(e){Ff.set(e[ze],e)}function Ga(e){Ff.delete(e[ze])}var Pd="__ngContext__";function It(e,t){Re(t)?(e[Pd]=t[ze],nv(t)):e[Pd]=t}function jf(e){return Hf(e[En])}function Vf(e){return Hf(e[ge])}function Hf(e){for(;e!==null&&!Ce(e);)e=e[ge];return e}var za;function rv(e){za=e}function Ac(){if(za!==void 0)return za;if(typeof document<"u")return document;throw new b(210,!1)}var ov=new R("",{factory:()=>iv}),iv="ng";var Bf=new R(""),sv=new R("",{providedIn:"platform",factory:()=>"unknown"});var av=new R("",{factory:()=>w(Ta).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),$f={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},cv=new R("",{factory:()=>$f});var Uf="r";var Rc="di",kc="s";var qf=!1,Wf=new R("",{factory:()=>qf});var Gf=new R("");var lv=(e,t,n,r)=>{};function uv(e,t,n,r){lv(e,t,n,r)}var zf=new R("");function ki(e){return(e.flags&32)===32}var dv=()=>null;function Qf(e,t,n=!1){return dv(e,t,n)}function Oc(e){return e.get(Gf,!1,{optional:!0})}function Zf(e,t){let n=e.contentQueries;if(n!==null){let r=I(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];fr(i),a.contentQueries(2,t[s],s)}}}finally{I(r)}}}function Qa(e,t,n){fr(0);let r=I(null);try{t(e,n)}finally{I(r)}}function Pc(e,t,n){if(oa(t)){let r=I(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{I(r)}}}var Yt=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Yt||{});var ti;function fv(){if(ti===void 0&&(ti=null,Se.trustedTypes))try{ti=Se.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ti}function Oi(e){return fv()?.createHTML(e)||e}var ni;function Yf(){if(ni===void 0&&(ni=null,Se.trustedTypes))try{ni=Se.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ni}function Ld(e){return Yf()?.createHTML(e)||e}function Fd(e){return Yf()?.createScriptURL(e)||e}var Ke=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ko})`}},Za=class extends Ke{getTypeName(){return"HTML"}},Ya=class extends Ke{getTypeName(){return"Style"}},Ka=class extends Ke{getTypeName(){return"Script"}},Ja=class extends Ke{getTypeName(){return"URL"}},Xa=class extends Ke{getTypeName(){return"ResourceURL"}};function tn(e){return e instanceof Ke?e.changingThisBreaksApplicationSecurity:e}function Pi(e,t){let n=Kf(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ko})`)}return n===t}function Kf(e){return e instanceof Ke&&e.getTypeName()||null}function pv(e){return new Za(e)}function hv(e){return new Ya(e)}function gv(e){return new Ka(e)}function mv(e){return new Ja(e)}function yv(e){return new Xa(e)}function Jf(e){let t=new tc(e);return vv()?new ec(t):t}var ec=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Oi(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},tc=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=Oi(t),n}};function vv(){try{return!!new window.DOMParser().parseFromString(Oi(""),"text/html")}catch{return!1}}var Ev=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Li(e){return e=String(e),e.match(Ev)?e:"unsafe:"+e}function Je(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Fr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Xf=Je("area,br,col,hr,img,wbr"),ep=Je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),tp=Je("rp,rt"),Iv=Fr(tp,ep),Dv=Fr(ep,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")),Cv=Fr(tp,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")),nc=Fr(Xf,Dv,Cv,Iv),Lc=Je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),bv=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"),Tv=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"),np=Fr(Lc,bv,Tv),wv=Je("script,style,template"),rc=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=Nv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Mv(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=jd(t).toLowerCase();if(!nc.hasOwnProperty(n))return this.sanitizedSomething=!0,!wv.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(!np.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Lc[a]&&(c=Li(c)),this.buf.push(" ",s,'="',Vd(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=jd(t).toLowerCase();nc.hasOwnProperty(n)&&!Xf.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Vd(t))}};function _v(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Mv(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw rp(t);return t}function Nv(e){let t=e.firstChild;if(t&&_v(e,t))throw rp(t);return t}function jd(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function rp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Sv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xv=/([^\#-~ |!])/g;function Vd(e){return e.replace(/&/g,"&amp;").replace(Sv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(xv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var ri;function op(e,t){let n=null;try{ri=ri||Jf(e);let r=t?String(t):"";n=ri.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=ri.getInertBodyElement(r)}while(r!==i);let a=new rc().sanitizeChildren(oc(n)||n);return Oi(a)}finally{if(n){let r=oc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function oc(e){return"content"in e&&Av(e)?e.content:null}function Av(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Rv=/^>|^->|<!--|-->|--!>|<!-$/g,kv=/(<|>)/g,Ov="\u200B$1\u200B";function Pv(e){return e.replace(Rv,t=>t.replace(kv,Ov))}function ip(e,t){return e.createText(t)}function sp(e,t,n){e.setValue(t,n)}function ap(e,t){return e.createComment(Pv(t))}function Fc(e,t,n){return e.createElement(t,n)}function Kt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function cp(e,t,n){e.appendChild(t,n)}function Hd(e,t,n,r,o){r!==null?Kt(e,t,n,r,o):cp(e,t,n)}function jc(e,t,n,r){e.removeChild(null,t,n,r)}function Lv(e,t,n){e.setAttribute(t,"style",n)}function Fv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function lp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Hy(e,t,r),o!==null&&Fv(e,t,o),i!==null&&Lv(e,t,i)}var jr=(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})(jr||{});function jv(e){let t=Vc();return t?Ld(t.sanitize(jr.HTML,e)||""):Pi(e,"HTML")?Ld(tn(e)):op(Ac(),de(e))}function up(e){let t=Vc();return t?t.sanitize(jr.URL,e)||"":Pi(e,"URL")?tn(e):Li(de(e))}function dp(e){let t=Vc();if(t)return Fd(t.sanitize(jr.RESOURCE_URL,e)||"");if(Pi(e,"ResourceURL"))return Fd(tn(e));throw new b(904,!1)}var Vv=new Set(["embed","frame","iframe","media","script"]),Hv=new Set(["base","link","script"]);function Bv(e,t){return t==="src"&&Vv.has(e)||t==="href"&&Hv.has(e)||t==="xlink:href"&&e==="script"?dp:up}function $v(e,t,n){return Bv(t,n)(e)}function Vc(){let e=m();return e&&e[xe].sanitizer}function Uv(e){return e.ownerDocument.defaultView}function fp(e){return e instanceof Function?e():e}function qv(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 pp="ng-template";function Wv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&qv(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Hc(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 Hc(e){return e.type===4&&e.value!==pp}function Gv(e,t,n){let r=e.type===4&&!n?pp:e.value;return t===r}function zv(e,t,n){let r=4,o=e.attrs,i=o!==null?Yv(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!we(r)&&!we(c))return!1;if(s&&we(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Gv(e,c,n)||c===""&&t.length===1){if(we(r))return!1;s=!0}}else if(r&8){if(o===null||!Wv(e,o,c,n)){if(we(r))return!1;s=!0}}else{let l=t[++a],u=Qv(c,o,Hc(e),n);if(u===-1){if(we(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(we(r))return!1;s=!0}}}}return we(r)||s}function we(e){return(e&1)===0}function Qv(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 Kv(t,e)}function hp(e,t,n=!1){for(let r=0;r<t.length;r++)if(zv(e,t[r],n))return!0;return!1}function Zv(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function Yv(e){for(let t=0;t<e.length;t++){let n=e[t];if(Tf(n))return t}return e.length}function Kv(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 Jv(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 Bd(e,t){return e?":not("+t.trim()+")":t}function Xv(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!==""&&!we(s)&&(t+=Bd(i,o),o=""),r=s,i=i||!we(r);n++}return o!==""&&(t+=Bd(i,o)),t}function eE(e){return e.map(Xv).join(",")}function tE(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(!we(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var G={};function Bc(e,t,n,r,o,i,s,a,c,l,u){let d=A+r,p=d+o,f=nE(d,p),h=typeof l=="function"?l():l;return f[v]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function nE(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:G);return n}function rE(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Bc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function $c(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[De]=o,d[D]=r|4|128|8|64|1024,(l!==null||e&&e[D]&2048)&&(d[D]|=2048),sa(d),d[$]=d[Vt]=e,d[H]=n,d[xe]=s||e&&e[xe],d[S]=a||e&&e[S],d[ie]=c||e&&e[ie]||null,d[ee]=i,d[ze]=tv(),d[jt]=u,d[ra]=l,d[te]=t.type==2?e[te]:d,d}function oE(e,t,n){let r=be(t,e),o=rE(n),i=e[xe].rendererFactory,s=Uc(e,$c(e,o,null,gp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function gp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Vr(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 Uc(e,t){return e[En]?e[na][ge]=t:e[En]=t,e[na]=t,t}function iE(e=1){mp(O(),m(),ye()+e,!1)}function mp(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ii(t,i,n)}else{let i=e.preOrderHooks;i!==null&&si(t,i,0,n)}yt(n)}var Fi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Fi||{});function ic(e,t,n,r){let o=I(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Fi.SignalBased)!==0&&(c=t[i][j]),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):vf(t,c,i,r)}finally{I(o)}}var Ei=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Ei||{}),sc;function qc(e,t){return sc(e,t)}function sE(e){sc===void 0&&(sc=e())}var wr=new Set,ji=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(ji||{}),Hr=new R(""),$d=new Set;function Le(e){$d.has(e)||($d.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Wc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),yp=[0,1,2,3],vp=(()=>{class e{ngZone=w(Ne);scheduler=w(Ge);errorHandler=w(We,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){w(Hr,{optional:!0})}execute(){let n=this.sequences.size>0;n&&k(x.AfterRenderHooksStart),this.executing=!0;for(let r of yp)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(x.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Bt]??=[]).push(n),Wt(r),r[D]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(ji.AFTER_NEXT_RENDER,n):n()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ii=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?.[Bt];t&&(this.view[Bt]=t.filter(n=>n!==this))}};function aE(e,t){let n=t?.injector??w(Ee);return Le("NgAfterNextRender"),lE(e,n,t,!0)}function cE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function lE(e,t,n,r){let o=t.get(Wc);o.impl??=t.get(vp);let i=t.get(Hr,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ze):null,a=t.get(hr,null,{optional:!0}),c=new Ii(o.impl,cE(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Ep=new R("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:w(ue)})});function Ip(e,t,n){let r=e.get(Ep);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function uE(e,t){let n=e.get(Ep);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function dE(e,t){for(let[n,r]of t)Ip(e,r.animateFns)}function Ud(e,t,n,r){let o=e?.[$t]?.enter;t!==null&&o&&o.has(n.index)&&dE(r,o)}function Mn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;Ce(o)?c=o:Re(o)&&(l=!0,o=o[De]);let u=se(o);e===0&&r!==null?(Ud(a,r,i,n),s==null?cp(t,r,u):Kt(t,r,u,s||null,!0)):e===1&&r!==null?(Ud(a,r,i,n),Kt(t,r,u,s||null,!0)):e===2?qd(a,i,n,d=>{jc(t,u,l,d)}):e===3&&qd(a,i,n,()=>{t.destroyNode(u)}),c!=null&&EE(t,e,n,c,i,r,s)}}function fE(e,t){Dp(e,t),t[De]=null,t[ee]=null}function pE(e,t,n,r,o,i){r[De]=o,r[ee]=t,Hi(e,r,n,1,o,i)}function Dp(e,t){t[xe].changeDetectionScheduler?.notify(9),Hi(e,t,t[S],2,null,null)}function hE(e){let t=e[En];if(!t)return Ra(e[v],e);for(;t;){let n=null;if(Re(t))n=t[En];else{let r=t[V];r&&(n=r)}if(!n){for(;t&&!t[ge]&&t!==e;)Re(t)&&Ra(t[v],t),t=t[$];t===null&&(t=e),Re(t)&&Ra(t[v],t),n=t&&t[ge]}t=n}}function Gc(e,t){let n=e[Ut],r=n.indexOf(t);n.splice(r,1)}function Vi(e,t){if(mt(t))return;let n=t[S];n.destroyNode&&Hi(e,t,n,3,null,null),hE(t)}function Ra(e,t){if(mt(t))return;let n=I(null);try{t[D]&=-129,t[D]|=256,t[fe]&&rt(t[fe]),yE(e,t),mE(e,t),t[v].type===1&&t[S].destroy();let r=t[ft];if(r!==null&&Ce(t[$])){r!==t[$]&&Gc(r,t);let o=t[Ae];o!==null&&o.detachView(e)}Ga(t)}finally{I(n)}}function qd(e,t,n,r){let o=e?.[$t];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&wr.add(e[ze]),Ip(n,()=>{if(o.leave&&o.leave.has(t.index)){let s=o.leave.get(t.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),gE(e,r)}else e&&wr.delete(e[ze]),r(!1)},o)}function gE(e,t){let n=e[$t]?.running;if(n){n.then(()=>{e[$t].running=void 0,wr.delete(e[ze]),t(!0)});return}t(!1)}function mE(e,t){let n=e.cleanup,r=t[vn];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[vn]=null);let o=t[Ue];if(o!==null){t[Ue]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[lt];if(i!==null){t[lt]=null;for(let s of i)s.destroy()}}function yE(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 Zt)){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(x.LifecycleHookStart,a,c);try{c.call(a)}finally{k(x.LifecycleHookEnd,a,c)}}else{k(x.LifecycleHookStart,o,i);try{i.call(o)}finally{k(x.LifecycleHookEnd,o,i)}}}}}function Cp(e,t,n){return bp(e,t.parent,n)}function bp(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[De];if(gt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Yt.None||o===Yt.Emulated)return null}return be(r,n)}function Tp(e,t,n){return _p(e,t,n)}function wp(e,t,n){return e.type&40?be(e,n):null}var _p=wp,ac;function Mp(e,t){_p=e,ac=t}function zc(e,t,n,r){let o=Cp(e,r,t),i=t[S],s=r.parent||t[ee],a=Tp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Hd(i,o,n[c],a,!1);else Hd(i,o,n,a,!1);ac!==void 0&&ac(i,r,t,n,o)}function vr(e,t){if(t!==null){let n=t.type;if(n&3)return be(t,e);if(n&4)return cc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return vr(e,r);{let o=e[t.index];return Ce(o)?cc(-1,o):se(o)}}else{if(n&128)return vr(e,t.next);if(n&32)return qc(t,e)()||se(e[t.index]);{let r=Np(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=ut(e[te]);return vr(o,r)}else return vr(e,t.next)}}}return null}function Np(e,t){if(t!==null){let r=e[te][ee],o=t.projection;return r.projection[o]}return null}function cc(e,t){let n=V+e+1;if(n<t.length){let r=t[n],o=r[v].firstChild;if(o!==null)return vr(r,o)}return t[ht]}function Qc(e,t,n,r,o,i,s){for(;n!=null;){let a=r[ie];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&It(se(c),r),n.flags|=2),!ki(n))if(l&8)Qc(e,t,n.child,r,o,i,!1),Mn(t,e,a,o,c,n,i,r);else if(l&32){let u=qc(n,r),d;for(;d=u();)Mn(t,e,a,o,d,n,i,r);Mn(t,e,a,o,c,n,i,r)}else l&16?Sp(e,t,r,n,o,i):Mn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function Hi(e,t,n,r,o,i){Qc(n,r,e.firstChild,t,o,i,!1)}function vE(e,t,n){let r=t[S],o=Cp(e,n,t),i=n.parent||t[ee],s=Tp(i,n,t);Sp(r,0,t,n,o,s)}function Sp(e,t,n,r,o,i){let s=n[te],c=s[ee].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Mn(t,e,n[ie],o,u,r,i,n)}else{let l=c,u=s[$];Lf(r)&&(l.flags|=128),Qc(e,t,l,u,o,i,!0)}}function EE(e,t,n,r,o,i,s){let a=r[ht],c=se(r);a!==c&&Mn(t,e,n,i,a,o,s);for(let l=V;l<r.length;l++){let u=r[l];Hi(u[v],u,e,t,i,a)}}function IE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ei.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ei.Important),e.setStyle(n,r,o,i))}}function xp(e,t,n,r,o){let i=ye(),s=r&2;try{yt(-1),s&&t.length>A&&mp(e,t,A,!1);let a=s?x.TemplateUpdateStart:x.TemplateCreateStart;k(a,o,n),n(r,o)}finally{yt(i);let a=s?x.TemplateUpdateEnd:x.TemplateCreateEnd;k(a,o,n)}}function Bi(e,t,n){_E(e,t,n),(n.flags&64)===64&&ME(e,t,n)}function Br(e,t,n=be){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 DE(e,t,n,r){let i=r.get(Wf,qf)||n===Yt.ShadowDom||n===Yt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return CE(s),s}function CE(e){bE(e)}var bE=()=>null;function TE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Zc(e,t,n,r,o,i){let s=t[v];if(tl(e,s,t,n,r)){gt(e)&&wE(t,e.index);return}e.type&3&&(n=TE(n)),Ap(e,t,n,r,o,i)}function Ap(e,t,n,r,o,i){if(e.type&3){let s=be(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function wE(e,t){let n=me(t,e);n[D]&16||(n[D]|=64)}function _E(e,t,n){let r=n.directiveStart,o=n.directiveEnd;gt(n)&&oE(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||yi(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Tr(t,e,s,n);if(It(c,t),i!==null&&xE(t,s-r,c,a,n,i),ke(a)){let l=me(n.index,t);l[H]=Tr(t,e,s,n)}}}function ME(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=pd();try{yt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Yo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&NE(c,l)}}finally{yt(-1),Yo(s)}}function NE(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Yc(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];hp(t,i.selectors,!1)&&(r??=[],ke(i)?r.unshift(i):r.push(i))}return r}function SE(e,t,n,r,o,i){let s=be(e,t);Kc(t[S],s,i,e.value,n,r,o)}function Kc(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?de(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function xE(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];ic(r,n,c,l)}}function Jc(e,t,n,r,o){let i=A+n,s=t[v],a=o(s,t,e,r,n);t[i]=a,Oe(e,!0);let c=e.type===2;return c?(lp(t[S],a,e),(sd()===0||In(e))&&It(a,t),ad()):It(a,t),pr()&&(!c||!ki(e))&&zc(s,t,a,e),e}function Xc(e){let t=e;return ma()?ya():(t=t.parent,Oe(t,!1)),t}function el(e,t){let n=e[ie];if(!n)return;let r;try{r=n.get(zt,null)}catch{r=null}r?.(t)}function tl(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];ic(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];ic(u,l,r,o),a=!0}return a}function AE(e,t){let n=me(t,e),r=n[v];RE(r,n);let o=n[De];o!==null&&n[jt]===null&&(n[jt]=Qf(o,n[ie])),k(x.ComponentStart);try{nl(r,n,n[H])}finally{k(x.ComponentEnd,n[H])}}function RE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function nl(e,t,n){Jo(t);try{let r=e.viewQuery;r!==null&&Qa(1,r,n);let o=e.template;o!==null&&xp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ae]?.finishViewCreation(e),e.staticContentQueries&&Zf(e,t),e.staticViewQueries&&Qa(2,e.viewQuery,n);let i=e.components;i!==null&&kE(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,Xo()}}function kE(e,t){for(let n=0;n<t.length;n++)AE(e,t[n])}function Ln(e,t,n,r){let o=I(null);try{let i=t.tView,a=e[D]&4096?4096:16,c=$c(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[ft]=l;let u=e[Ae];return u!==null&&(c[Ae]=u.createEmbeddedView(i)),nl(i,c,n),c}finally{I(o)}}function Jt(e,t){return!t||t.firstChild===null||Lf(e)}function _r(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(se(i)),Ce(i)&&Rp(i,r);let s=n.type;if(s&8)_r(e,t,n.child,r);else if(s&32){let a=qc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Np(t,n);if(Array.isArray(a))r.push(...a);else{let c=ut(t[te]);_r(c[v],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Rp(e,t){for(let n=V;n<e.length;n++){let r=e[n],o=r[v].firstChild;o!==null&&_r(r[v],r,o,t)}e[ht]!==e[De]&&t.push(e[ht])}function kp(e){if(e[Bt]!==null){for(let t of e[Bt])t.impl.addSequence(t);e[Bt].length=0}}var Op=[];function OE(e){return e[fe]??PE(e)}function PE(e){let t=Op.pop()??Object.create(FE);return t.lView=e,t}function LE(e){e.lView[fe]!==e&&(e.lView=null,Op.push(e))}var FE=Q(z({},Ve),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Wt(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function jE(e){let t=e[fe]??Object.create(VE);return t.lView=e,t}var VE=Q(z({},Ve),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=ut(e.lView);for(;t&&!Pp(t[v]);)t=ut(t);t&&aa(t)},consumerOnSignalRead(){this.lView[fe]=this}});function Pp(e){return e.type!==2}function Lp(e){if(e[lt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[lt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var HE=100;function Fp(e,t=0){let r=e[xe].rendererFactory,o=!1;o||r.begin?.();try{BE(e,t)}finally{o||r.end?.()}}function BE(e,t){let n=Ea();try{Xn(!0),lc(e,t);let r=0;for(;ur(e);){if(r===HE)throw new b(103,!1);r++,lc(e,1)}}finally{Xn(n)}}function $E(e,t,n,r){if(mt(t))return;let o=t[D],i=!1,s=!1;Jo(t);let a=!0,c=null,l=null;i||(Pp(e)?(l=OE(t),c=He(l)):Zr()===null?(a=!1,l=jE(t),c=He(l)):t[fe]&&(rt(t[fe]),t[fe]=null));try{sa(t),ud(e.bindingStartIndex),n!==null&&xp(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&ii(t,f,null)}else{let f=e.preOrderHooks;f!==null&&si(t,f,0,null),xa(t,0)}if(s||UE(t),Lp(t),jp(t,0),e.contentQueries!==null&&Zf(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&ii(t,f)}else{let f=e.contentHooks;f!==null&&si(t,f,1),xa(t,1)}WE(e,t);let d=e.components;d!==null&&Hp(t,d,0);let p=e.viewQuery;if(p!==null&&Qa(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&ii(t,f)}else{let f=e.viewHooks;f!==null&&si(t,f,2),xa(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[qo]){for(let f of t[qo])f();t[qo]=null}i||(kp(t),t[D]&=-73)}catch(u){throw i||Wt(t),u}finally{l!==null&&(nt(l,c),a&&LE(l)),Xo()}}function jp(e,t){for(let n=jf(e);n!==null;n=Vf(n))for(let r=V;r<n.length;r++){let o=n[r];Vp(o,t)}}function UE(e){for(let t=jf(e);t!==null;t=Vf(t)){if(!(t[D]&2))continue;let n=t[Ut];for(let r=0;r<n.length;r++){let o=n[r];aa(o)}}}function qE(e,t,n){k(x.ComponentStart);let r=me(t,e);try{Vp(r,n)}finally{k(x.ComponentEnd,r[H])}}function Vp(e,t){Wo(e)&&lc(e,t)}function lc(e,t){let r=e[v],o=e[D],i=e[fe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&sn(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)$E(r,e,r.template,e[H]);else if(o&8192){let a=I(null);try{Lp(e),jp(e,1);let c=r.components;c!==null&&Hp(e,c,1),kp(e)}finally{I(a)}}}function Hp(e,t,n){for(let r=0;r<t.length;r++)qE(e,t[r],n)}function WE(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)yt(~o);else{let i=o,s=n[++r],a=n[++r];fd(s,i);let c=t[i];k(x.HostBindingsUpdateStart,c);try{a(2,c)}finally{k(x.HostBindingsUpdateEnd,c)}}}}finally{yt(-1)}}function $i(e,t){let n=Ea()?64:1088;for(e[xe].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=ut(e);if(Dn(e)&&!r)return e;e=r}return null}function Bp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function $p(e,t){let n=V+t;if(n<e.length)return e[n]}function Fn(e,t,n,r=!0){let o=t[v];if(GE(o,t,e,n),r){let s=cc(n,e),a=t[S],c=a.parentNode(e[ht]);c!==null&&pE(o,e[ee],a,t,c,s)}let i=t[jt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function rl(e,t){let n=Mr(e,t);return n!==void 0&&Vi(n[v],n),n}function Mr(e,t){if(e.length<=V)return;let n=V+t,r=e[n];if(r){let o=r[ft];o!==null&&o!==e&&Gc(o,r),t>0&&(e[n-1][ge]=r[ge]);let i=or(e,V+t);fE(r[v],r);let s=i[Ae];s!==null&&s.detachView(i[v]),r[$]=null,r[ge]=null,r[D]&=-129}return r}function GE(e,t,n,r){let o=V+r,i=n.length;r>0&&(n[o-1][ge]=t),r<i-V?(t[ge]=n[o],Zs(n,V+r,t)):(n.push(t),t[ge]=null),t[$]=n;let s=t[ft];s!==null&&n!==s&&Up(s,t);let a=t[Ae];a!==null&&a.insertView(e),Go(t),t[D]|=128}function Up(e,t){let n=e[Ut],r=t[$];if(Re(r))e[D]|=2;else{let o=r[$][te];t[te]!==o&&(e[D]|=2)}n===null?e[Ut]=[t]:n.push(t)}var Dt=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[v];return _r(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[H]}set context(t){this._lView[H]=t}get destroyed(){return mt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[$];if(Ce(t)){let n=t[ar],r=n?n.indexOf(this):-1;r>-1&&(Mr(t,r),or(n,r))}this._attachedToViewContainer=!1}Vi(this._lView[v],this._lView)}onDestroy(t){zo(this._lView,t)}markForCheck(){$i(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[D]&=-129}reattach(){Go(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,Fp(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Dn(this._lView),n=this._lView[ft];n!==null&&!t&&Gc(n,this._lView),Dp(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Dn(this._lView),r=this._lView[ft];r!==null&&!n&&Up(r,this._lView),Go(this._lView)}};var Nr=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=zE;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){let i=Ln(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new Dt(i)}}return e})();function zE(){return Ui(q(),m())}function Ui(e,t){return e.type&4?new Nr(t,e,Pn(e,t)):null}function qp(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?wp(e,t,n):se(n[o])}function Wp(e,t,n,r,o){let i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(t.type&3||(a=s,s=o),s!==null&&t.componentOffset===-1)for(let c=1;c<i.length;c++){let l=n[i[c]];Kt(e,s,l,a,!1)}}}function nn(e,t,n,r,o){let i=e.data[t];if(i===null)i=ol(e,t,n,r,o),dd()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=bn();i.injectorIndex=s===null?-1:s.injectorIndex}return Oe(i,!0),i}function ol(e,t,n,r,o){let i=ga(),s=ma(),a=s?i:i&&i.parent,c=e.data[t]=ZE(e,a,n,t,r,o);return QE(e,c,i,s),c}function QE(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 ZE(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return fa()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-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}}function Gp(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];zp(r)||YE(r,t)&&KE(r)===null&&JE(r,t.index)}}function zp(e){return!(e.type&64)}function YE(e,t){return zp(t)||e.index>t.index}function KE(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function JE(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Mp(qp,Wp),e.insertBeforeIndex=t)}function Er(e,t){let n=e.data[t];return n===null||typeof n=="string"?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function XE(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function eI(e,t){let n=e.insertBeforeIndex;n===null?(Mp(qp,Wp),n=e.insertBeforeIndex=[null,t]):(ju(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function tI(e,t,n){let r=ol(e,n,64,null,null);return Gp(t,r),r}function qi(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function nI(e){return e>>>17}function rI(e){return(e&131070)>>>1}function oI(e,t,n){return e|t<<17|n<<1}function iI(e){return e===-1}function Qp(e,t,n){e.index=0;let r=qi(t,n);r!==null?e.removes=t.remove[r]:e.removes=K}function uc(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[v].data[n];return Qp(e,r,e.lView),uc(e)}}else return e.stack.length===0?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),uc(e))}function sI(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return Qp(e,n.value,r),uc.bind(null,e)}return t}var aI=()=>{};function cI(e,t,n,r){aI(e,t,n,r)}var lI=()=>{};function uI(e,t,n){lI(e,t,n)}function dI(e){let t=e[pt]??[],r=e[$][S],o=[];for(let i of t)i.data[Rc]!==void 0?o.push(i):fI(i,r);e[pt]=o}function fI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Uf];for(;n<o;){let i=r.nextSibling;jc(t,r,!1),r=i,n++}}}var pI=()=>null,hI=()=>null;function Di(e,t){return pI(e,t)}function Zp(e,t,n){return hI(e,t,n)}var Yp=class{},Wi=class{},dc=class{resolveComponentFactory(t){throw new b(917,!1)}},$r=class{static NULL=new dc},Sr=class{},gI=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>mI()}return e})();function mI(){let e=m(),t=q(),n=me(t.index,e);return(Re(n)?n:e)[S]}var Kp=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>null})}return e})();var ci={},Sn=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ci,r);return o!==ci||n===ci?o:this.parentInjector.get(t,n,r)}};function Ci(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=Oo(o,a);else if(i==2){let c=a,l=t[++s];r=Oo(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Ur(e,t=0){let n=m();if(n===null)return Me(e,t);let r=q();return Af(r,n,Y(e),t)}function Jp(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}EI(e,t,n,a,i,c,l)}i!==null&&r!==null&&yI(n,r,i)}function yI(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 b(-301,!1);r.push(t[o],i)}}function vI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function EI(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&ke(f)&&(c=f,vI(e,n,p)),qa(yi(n,t),e,f.type)}wI(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Vr(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=xn(n.mergedAttrs,f.hostAttrs),DI(e,n,t,d,f),TI(d,f,o),s!==null&&s.has(f)){let[g,E]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,E+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let h=f.type.prototype;!l&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(h.ngOnChanges||h.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}II(e,n,i)}function II(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Wd(0,t,o,r),Wd(1,t,o,r),zd(t,r,!1);else{let i=n.get(o);Gd(0,t,i,r),Gd(1,t,i,r),zd(t,r,!0)}}}function Wd(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),Xp(t,i)}}function Gd(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),Xp(t,s)}}function Xp(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function zd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Hc(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 DI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ct(o.type,!0)),s=new Zt(i,ke(o),Ur,null);e.blueprint[r]=s,n[r]=s,CI(e,t,r,Vr(e,n,o.hostVars,G),o)}function CI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;bI(s)!=a&&s.push(a),s.push(n,r,i)}}function bI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function TI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ke(t)&&(n[""]=e)}}function wI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function il(e,t,n,r,o,i,s,a){let c=t[v],l=c.consts,u=ae(l,s),d=nn(c,e,n,r,u);return i&&Jp(c,t,d,ae(l,a),o),d.mergedAttrs=xn(d.mergedAttrs,d.attrs),d.attrs!==null&&Ci(d,d.attrs,!1),d.mergedAttrs!==null&&Ci(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function sl(e,t){Cf(e,t),oa(t)&&e.queries.elementEnd(t)}function _I(e,t,n,r,o,i){let s=t.consts,a=ae(s,o),c=nn(t,e,n,r,a);if(c.mergedAttrs=xn(c.mergedAttrs,c.attrs),i!=null){let l=ae(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&Ci(c,c.attrs,!1),c.mergedAttrs!==null&&Ci(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function al(e){return Gi(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function eh(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 Gi(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function jn(e,t,n){return e[t]=n}function th(e,t){return e[t]}function J(e,t,n){if(n===G)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function xr(e,t,n,r){let o=J(e,t,n);return J(e,t+1,r)||o}function nh(e,t,n,r,o){let i=xr(e,t,n,r);return J(e,t+2,o)||i}function rh(e,t,n,r,o,i){let s=xr(e,t,n,r);return xr(e,t+2,o,i)||s}function li(e,t,n){return function r(o){let i=gt(e)?me(e.index,t):t;$i(i,5);let s=t[H],a=Qd(t,s,n,o),c=r.__ngNextListenerFn__;for(;c;)a=Qd(t,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function Qd(e,t,n,r){let o=I(null);try{return k(x.OutputStart,t,n),n(r)!==!1}catch(i){return el(e,i),!1}finally{k(x.OutputEnd,t,n),I(o)}}function oh(e,t,n,r,o,i,s,a){let c=In(e),l=!1,u=null;if(!r&&c&&(u=NI(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=be(e,n),p=r?r(d):d;uv(n,p,i,a);let f=o.listen(p,i,a);if(!MI(i)){let h=r?g=>r(se(g[e.index])):e.index;ih(h,t,n,i,a,f,!1)}}return l}function MI(e){return e.startsWith("animation")||e.startsWith("transition")}function NI(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[vn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function ih(e,t,n,r,o,i,s){let a=t.firstCreatePass?ua(t):null,c=la(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function Zd(e,t,n,r,o,i){let s=t[n],a=t[v],l=a.data[n].outputs[r],d=s[l].subscribe(i);ih(e.index,a,t,o,i,d,!0)}var fc=Symbol("BINDING");var bi=class extends $r{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ie(t);return new Ct(n,this.ngModule)}};function SI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Fi.SignalBased)!==0};return o&&(i.transform=o),i})}function xI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function AI(e,t,n){let r=t instanceof ue?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Sn(n,r):n}function RI(e){let t=e.get(Sr,null);if(t===null)throw new b(407,!1);let n=e.get(Kp,null),r=e.get(Ge,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1}}function kI(e,t){let n=sh(e);return Fc(t,n,n==="svg"?ia:n==="math"?td:null)}function sh(e){return(e.selectors[0][0]||"div").toLowerCase()}var Ct=class extends Wi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=SI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=xI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=eE(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){k(x.DynamicComponentStart);let a=I(null);try{let c=this.componentDef,l=OI(r,c,s,i),u=AI(c,o||this.ngModule,t),d=RI(u),p=d.rendererFactory.createRenderer(null,c),f=r?DE(p,r,c.encapsulation,u):kI(c,p),h=s?.some(Yd)||i?.some(y=>typeof y!="function"&&y.bindings.some(Yd)),g=$c(null,l,null,512|gp(c),null,null,d,p,u,null,Qf(f,u,!0));g[A]=f,Jo(g);let E=null;try{let y=il(A,g,2,"#host",()=>l.directiveRegistry,!0,0);lp(p,f,y),It(f,g),Bi(l,g,y),Pc(l,y,g),sl(l,y),n!==void 0&&LI(y,this.ngContentSelectors,n),E=me(y.index,g),g[H]=E[H],nl(l,g,null)}catch(y){throw E!==null&&Ga(E),Ga(g),y}finally{k(x.DynamicComponentEnd),Xo()}return new Ti(this.componentType,g,!!h)}finally{I(a)}}};function OI(e,t,n,r){let o=e?["ng-version","21.1.0"]:tE(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[fc].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[fc].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=Fo(d);c.push(p)}return Bc(0,null,PI(i,s),1,a,c,null,null,null,[o],null)}function PI(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function Yd(e){let t=e[fc].kind;return t==="input"||t==="twoWay"}var Ti=class extends Yp{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=qt(n[v],A),this.location=Pn(this._tNode,n),this.instance=me(this._tNode.index,n)[H],this.hostView=this.changeDetectorRef=new Dt(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=tl(r,o[v],o,t,n);this.previousInputValues.set(t,n);let s=me(r.index,o);$i(s,1)}get injector(){return new Qt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function LI(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 zi=(()=>{class e{static __NG_ELEMENT_ID__=FI}return e})();function FI(){let e=q();return ch(e,m())}var jI=zi,ah=class extends jI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Pn(this._hostTNode,this._hostLView)}get injector(){return new Qt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Sc(this._hostTNode,this._hostLView);if(wf(t)){let n=gi(t,this._hostLView),r=hi(t),o=n[v].data[r+8];return new Qt(o,n)}else return new Qt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Kd(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-V}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Di(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Jt(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c=t&&!Ay(t),l;if(c)l=n;else{let E=n||{};l=E.index,r=E.injector,o=E.projectableNodes,i=E.environmentInjector||E.ngModuleRef,s=E.directives,a=E.bindings}let u=c?t:new Ct(Ie(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let y=(c?d:this.parentInjector).get(ue,null);y&&(i=y)}let p=Ie(u.componentType??{}),f=Di(this._lContainer,p?.id??null),h=f?.firstChild??null,g=u.create(d,o,h,i,s,a);return this.insertImpl(g.hostView,l,Jt(this._hostTNode,f)),g}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(rd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[$],l=new ah(c,c[ee],c[$]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Fn(s,o,i,r),t.attachToViewContainerRef(),Zs(ka(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Kd(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Mr(this._lContainer,n);r&&(or(ka(this._lContainer),n),Vi(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=Mr(this._lContainer,n);return r&&or(ka(this._lContainer),n)!=null?new Dt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Kd(e){return e[ar]}function ka(e){return e[ar]||(e[ar]=[])}function ch(e,t){let n,r=t[e.index];return Ce(r)?n=r:(n=Bp(r,t,null,e),t[e.index]=n,Uc(t,n)),HI(n,t,e,r),new ah(n,e,t)}function VI(e,t){let n=e[S],r=n.createComment(""),o=be(t,e),i=n.parentNode(o);return Kt(n,i,r,n.nextSibling(o),!1),r}var HI=$I,BI=()=>!1;function lh(e,t,n){return BI(e,t,n)}function $I(e,t,n,r){if(e[ht])return;let o;n.type&8?o=se(r):o=VI(t,n),e[ht]=o}var pc=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},hc=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++)ll(t,n).matches!==null&&this.queries[n].setDirty()}},wi=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=QI(t):this.predicate=t}},gc=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)}},mc=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,UI(n,i)),this.matchTNodeWithReadOption(t,n,ai(n,t,i,!1,!1))}else r===Nr?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,ai(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Lr||o===zi||o===Nr&&n.type&4)this.addMatch(n.index,-2);else{let i=ai(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 UI(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 qI(e,t){return e.type&11?Pn(e,t):e.type&4?Ui(e,t):null}function WI(e,t,n,r){return n===-1?qI(t,e):n===-2?GI(e,t,r):Tr(e,e[v],n,t)}function GI(e,t,n){if(n===Lr)return Pn(t,e);if(n===Nr)return Ui(t,e);if(n===zi)return ch(t,e)}function uh(e,t,n,r){let o=t[Ae].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(WI(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function yc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=uh(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=V;d<u.length;d++){let p=u[d];p[ft]===p[$]&&yc(p[v],p,l,r)}if(u[Ut]!==null){let d=u[Ut];for(let p=0;p<d.length;p++){let f=d[p];yc(f[v],f,l,r)}}}}}return r}function cl(e,t){return e[Ae].queries[t].queryList}function dh(e,t,n){let r=new vi((n&4)===4);return id(e,t,r,r.destroy),(t[Ae]??=new hc).queries.push(new pc(r))-1}function zI(e,t,n){let r=O();return r.firstCreatePass&&(ph(r,new wi(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),dh(r,m(),t)}function fh(e,t,n,r){let o=O();if(o.firstCreatePass){let i=q();ph(o,new wi(t,n,r),i.index),ZI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return dh(o,m(),n)}function QI(e){return e.split(",").map(t=>t.trim())}function ph(e,t,n){e.queries===null&&(e.queries=new gc),e.queries.track(new mc(t,n))}function ZI(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 ll(e,t){return e.queries.getByIndex(t)}function hh(e,t){let n=e[v],r=ll(n,t);return r.crossesNgTemplate?yc(n,e,t,[]):uh(n,e,r,t)}function ul(e,t,n){let r,o=Un(()=>{r._dirtyCounter();let i=YI(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[j],r._dirtyCounter=vt(0),r._flatValue=void 0,o}function dl(e){return ul(!0,!1,e)}function fl(e){return ul(!0,!0,e)}function gh(e){return ul(!1,!1,e)}function mh(e,t){let n=e[j];n._lView=m(),n._queryIndex=t,n._queryList=cl(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[D]&4)return t?void 0:K;let o=cl(n,r),i=hh(n,r);return o.reset(i,Pf),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var An=class{},yh=class{};function KI(e,t){return new Ar(e,t??null,[])}var Ar=class extends An{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new bi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Ws(t);this._bootstrapComponents=fp(i.bootstrap),this._r3Injector=ba(t,n,[{provide:An,useValue:this},{provide:$r,useValue:this.componentFactoryResolver},...r],qe(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)}},_i=class extends yh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Ar(this.moduleType,t,[])}};var Rr=class extends An{injector;componentFactoryResolver=new bi(this);instance=null;constructor(t){super();let n=new Lt([...t.providers,{provide:An,useValue:this},{provide:$r,useValue:this.componentFactoryResolver}],t.parent||yn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function pl(e,t,n=null){return new Rr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var JI=(()=>{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=$o(!1,n.type),o=r.length>0?pl([r],this._injector,""):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=U({token:e,providedIn:"environment",factory:()=>new e(Me(ue))})}return e})();function XI(e){return Pr(()=>{let t=vh(e),n=Q(z({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===xc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(JI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Yt.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Le("NgStandalone"),Eh(n);let r=e.dependencies;return n.directiveDefs=Jd(r,eD),n.pipeDefs=Jd(r,Gs),n.id=sD(n),n})}function eD(e){return Ie(e)||Fo(e)}function tD(e){return Pr(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function nD(e,t){if(e==null)return dt;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=Fi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function rD(e){if(e==null)return dt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function oD(e){return Pr(()=>{let t=vh(e);return Eh(t),t})}function iD(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 vh(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||dt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:nD(e.inputs,t),outputs:rD(e.outputs),debugInfo:null}}function Eh(e){e.features?.forEach(t=>t(e))}function Jd(e,t){return e?()=>{let n=typeof e=="function"?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function sD(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 aD(e){return Object.getPrototypeOf(e.prototype).constructor}function Ih(e){let t=aD(e.type),n=!0,r=[e];for(;t;){let o;if(ke(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Oa(e.inputs),s.declaredInputs=Oa(e.declaredInputs),s.outputs=Oa(e.outputs);let a=o.hostBindings;a&&fD(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&uD(e,c),l&&dD(e,l),cD(e,o),Fu(e.outputs,o.outputs),ke(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===Ih&&(n=!1)}}t=Object.getPrototypeOf(t)}lD(r)}function cD(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 lD(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=xn(o.hostAttrs,n=xn(n,o.hostAttrs))}}function Oa(e){return e===dt?{}:e===K?[]:e}function uD(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function dD(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function fD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Dh(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=xn(e.mergedAttrs,e.attrs);let u=e.tView=Bc(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Oe(e,!1);let c=hD(n,t,e,r);pr()&&zc(n,t,c,e),It(c,t);let l=Bp(c,t,c,e);t[r+A]=l,Uc(t,l),lh(l,e,t)}function pD(e,t,n,r,o,i,s,a,c,l,u){let d=n+A,p;return t.firstCreatePass?(p=nn(t,d,4,s||null,a||null),Qo()&&Jp(t,e,p,ae(t.consts,l),Yc),Cf(t,p)):p=t.data[d],Dh(p,e,t,n,r,o,i,c),In(p)&&Bi(t,e,p),l!=null&&Br(e,p,u),p}function Xt(e,t,n,r,o,i,s,a,c,l,u){let d=n+A,p;if(t.firstCreatePass){if(p=nn(t,d,4,s||null,a||null),l!=null){let f=ae(t.consts,l);p.localNames=[];for(let h=0;h<f.length;h+=2)p.localNames.push(f[h],-1)}}else p=t.data[d];return Dh(p,e,t,n,r,o,i,c),l!=null&&Br(e,p,u),p}function Ch(e,t,n,r,o,i,s,a){let c=m(),l=O(),u=ae(l.consts,i);return pD(c,l,e,t,n,r,o,u,void 0,s,a),Ch}function bh(e,t,n,r,o,i,s,a){let c=m(),l=O(),u=ae(l.consts,i);return Xt(c,l,e,t,n,r,o,u,void 0,s,a),bh}var hD=gD;function gD(e,t,n,r){return wn(!0),t[S].createComment("")}var ce=(function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e})(ce||{}),Xd=0,mD=1,B=(function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e})(B||{}),Mi=(function(e){return e[e.Initial=-1]="Initial",e})(Mi||{}),yD=0,qr=1;var vD=4,ED=5,ID=6,DD=7,Pa=8,CD=9,hl=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(hl||{});function bD(e,t,n){let r=wh(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function ui(e,t){let n=wh(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Th(e){ui(1,e),ui(0,e),ui(2,e)}function wh(e){let t=vD;return e===1?t=ED:e===2&&(t=CD),t}function Qi(e){return e+1}function Vn(e,t){let n=e[v],r=Qi(t.index);return e[r]}function TD(e,t,n){let r=e[v],o=Qi(t);e[o]=n}function Hn(e,t){let n=Qi(t.index);return e.data[n]}function wD(e,t,n){let r=Qi(t);e.data[r]=n}function _D(e,t,n){let r=t[v],o=Hn(r,n);switch(e){case B.Complete:return o.primaryTmplIndex;case B.Loading:return o.loadingTmplIndex;case B.Error:return o.errorTmplIndex;case B.Placeholder:return o.placeholderTmplIndex;default:return null}}function ef(e,t){return t===B.Placeholder?e.placeholderBlockConfig?.[Xd]??null:t===B.Loading?e.loadingBlockConfig?.[Xd]??null:null}function MD(e){return e.loadingBlockConfig?.[mD]??null}function tf(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function ND(e,t){let n=t.primaryTmplIndex+A;return qt(e,n)}var SD=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?pl(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=U({token:e,providedIn:"environment",factory:()=>new e})}return e})();var _h=new R("");function La(e,t,n){return e.get(SD).getOrCreateInjector(t,e,n,"")}function xD(e,t,n){if(e instanceof Sn){let o=e.injector,i=e.parentInjector,s=La(i,t,n);return new Sn(o,s)}let r=e.get(ue);if(r!==e){let o=La(r,t,n);return new Sn(e,o)}return La(e,t,n)}function Et(e,t,n,r=!1){let o=n[$],i=o[v];if(mt(o))return;let s=Vn(o,t),a=s[qr],c=s[DD];if(!(c!==null&&e<c)&&nf(a,e)&&nf(s[yD]??-1,e)){let l=Hn(i,t),d=!r&&!0&&(MD(l)!==null||ef(l,B.Loading)!==null||ef(l,B.Placeholder))?OD:RD;try{d(e,s,n,t,o)}catch(p){el(o,p)}}}function AD(e,t){let n=e[pt]?.findIndex(o=>o.data[kc]===t[qr])??-1;return{dehydratedView:n>-1?e[pt][n]:null,dehydratedViewIx:n}}function RD(e,t,n,r,o){k(x.DeferBlockStateStart);let i=_D(e,o,r);if(i!==null){t[qr]=e;let s=o[v],a=i+A,c=qt(s,a),l=0;rl(n,l);let u;if(e===B.Complete){let h=Hn(s,r),g=h.providers;g&&g.length>0&&(u=xD(o[ie],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=AD(n,t),f=Ln(o,c,null,{injector:u,dehydratedView:d});if(Fn(n,f,l,Jt(c,d)),$i(f,2),p>-1&&n[pt]?.splice(p,1),(e===B.Complete||e===B.Error)&&Array.isArray(t[Pa])){for(let h of t[Pa])h();t[Pa]=null}}k(x.DeferBlockStateEnd)}function nf(e,t){return e<t}function kD(e,t){let n=e[t.index];Et(B.Placeholder,t,n)}function rf(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ce.COMPLETE?Et(B.Complete,t,n):e.loadingState===ce.FAILED&&Et(B.Error,t,n)})}var OD=null;var PD=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function Mh(e){return typeof e=="function"&&e[j]!==void 0}function gl(e){return Mh(e)&&typeof e.set=="function"}var Nh=new R("");function ml(e){return!!e&&typeof e.then=="function"}function Sh(e){return!!e&&typeof e.subscribe=="function"}var xh=new R("");var yl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=w(xh,{optional:!0})??[];injector=w(Ee);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Uo(this.injector,o);if(ml(i))n.push(i);else if(Sh(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ah=new R("");function Rh(){is(()=>{let e="";throw new b(600,e)})}function kh(e){return e.isBoundToModule}var LD=10;var Zi=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=w(zt);afterRenderManager=w(Wc);zonelessEnabled=w(gr);rootEffectScheduler=w(ei);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new le;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=w(Gt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(at(n=>!n))}constructor(){w(Hr,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=w(ue);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=Ee.NULL){return this._injector.get(Ne).run(()=>{k(x.BootstrapComponentStart);let s=n instanceof Wi;if(!this._injector.get(yl).done){let h="";throw new b(405,h)}let c;s?c=n:c=this._injector.get($r).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=kh(c)?void 0:this._injector.get(An),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(Nh,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),Ir(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),k(x.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){k(x.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(ji.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw k(x.ChangeDetectionEnd),new b(101,!1);let n=I(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,I(n),this.afterTick.next(),k(x.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Sr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<LD;){k(x.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{k(x.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!ur(o))continue;let i=r&&!this.zonelessEnabled?0:1;Fp(o,i),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ur(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;Ir(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Ah,[]).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),()=>Ir(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ir(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Oh(e,t,n){let r=t[ie],o=t[v];if(e.loadingState!==ce.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Vn(t,n),s=ND(o,e);e.loadingState=ce.IN_PROGRESS,ui(1,i);let a=e.dependencyResolverFn,c=r.get(mr).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=[],p=[];for(let f of l)if(f.status==="fulfilled"){let h=f.value,g=Ie(h)||Fo(h);if(g)d.push(g);else{let E=Gs(h);E&&p.push(E)}}else{u=!0;break}if(u){if(e.loadingState=ce.FAILED,e.errorTmplIndex===null){let h=new b(-750,!1);el(t,h)}}else{e.loadingState=ce.COMPLETE;let f=s.tView;if(d.length>0){f.directiveRegistry=tf(f.directiveRegistry,d);let h=d.map(E=>E.type),g=$o(!1,...h);e.providers=g}p.length>0&&(f.pipeRegistry=tf(f.pipeRegistry,p))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ce.COMPLETE,c()}),e.loadingPromise)}function FD(e,t){return t[ie].get(_h,null,{optional:!0})?.behavior!==hl.Manual}function jD(e,t,n){let r=t[v],o=t[n.index];if(!FD(e,t))return;let i=Vn(t,n),s=Hn(r,n);switch(Th(i),s.loadingState){case ce.NOT_STARTED:Et(B.Loading,n,o),Oh(s,t,n),s.loadingState===ce.IN_PROGRESS&&rf(s,n,o);break;case ce.IN_PROGRESS:Et(B.Loading,n,o),rf(s,n,o);break;case ce.COMPLETE:Et(B.Complete,n,o);break;case ce.FAILED:Et(B.Error,n,o);break;default:}}function VD(e,t,n){return e===0?of(t,n):e===2?!of(t,n):!0}function HD(e){return e!=null&&(e&1)===1}function of(e,t){let n=e[ie],r=Hn(e[v],t),o=Oc(n),i=HD(r.flags),a=Vn(e,t)[ID]!==null;return!(i&&a&&o)}function BD(e,t,n,r,o,i,s,a,c,l){let u=m(),d=O(),p=e+A,f=Xt(u,d,e,null,0,0),h=u[ie],g=Oc(h);if(d.firstCreatePass){Le("NgDefer");let Fe={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ce.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,Fe,a,s),wD(d,p,Fe)}let E=u[p];lh(E,f,u);let y=null,L=null;if(E[pt]?.length>0){let Fe=E[pt][0].data;L=Fe[Rc]??null,y=Fe[kc]}let he=[null,Mi.Initial,null,null,null,null,L,y,null,null];TD(u,p,he);let Xe=null;L!==null&&g&&(Xe=h.get(zf),Xe.add(L,{lView:u,tNode:f,lContainer:E}));let bt=()=>{Th(he),L!==null&&Xe?.cleanup([L])};bD(0,he,()=>ca(u,bt)),zo(u,bt)}function $D(e){let t=m(),n=Tn();if(!VD(0,t,n))return;let r=Te();if(J(t,r,e)){let o=I(null);try{let i=!!e,a=Vn(t,n)[qr];i===!1&&a===Mi.Initial?kD(t,n):i===!0&&(a===Mi.Initial||a===B.Placeholder)&&jD(0,t,n)}finally{I(o)}}}function Ph(e,t,n,r){let o=m(),i=Te();if(J(o,i,t)){let s=O(),a=Tn();SE(a,o,e,t,n,r)}return Ph}var RR=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var vc=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 Fa(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function UD(e,t,n,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(t)){I(r);let l=t.length-1;for(I(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=Fa(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),h=t[l],g=Fa(a,f,l,h,n);if(g!==0){g<0&&e.updateValue(a,h),a--,l--;continue}let E=n(s,u),y=n(a,f),L=n(s,d);if(Object.is(L,y)){let he=n(l,h);Object.is(he,E)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Ni,i??=af(e,s,a,n),Ec(e,o,s,L))e.updateValue(s,d),s++,a++;else if(i.has(L))o.set(E,e.detach(s)),a--;else{let he=e.create(s,t[s]);e.attach(s,he),s++,a++}}for(;s<=l;)sf(e,o,n,s,t[s]),s++}else if(t!=null){I(r);let l=t[Symbol.iterator]();I(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=Fa(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Ni,i??=af(e,s,a,n);let h=n(s,p);if(Ec(e,o,s,h))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(h))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let g=n(s,d);o.set(g,e.detach(s)),a--}}}for(;!u.done;)sf(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function Ec(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function sf(e,t,n,r,o){if(Ec(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function af(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 Ni=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 qD(e,t,n,r,o,i,s,a){Le("NgControlFlow");let c=m(),l=O(),u=ae(l.consts,i);return Xt(c,l,e,t,n,r,o,u,256,s,a),vl}function vl(e,t,n,r,o,i,s,a){Le("NgControlFlow");let c=m(),l=O(),u=ae(l.consts,i);return Xt(c,l,e,t,n,r,o,u,512,s,a),vl}function WD(e,t){Le("NgControlFlow");let n=m(),r=Te(),o=n[r]!==G?n[r]:-1,i=o!==-1?Si(n,A+o):void 0,s=0;if(J(n,r,e)){let a=I(null);try{if(i!==void 0&&rl(i,s),e!==-1){let c=A+e,l=Si(n,c),u=bc(n[v],c),d=Zp(l,u,n),p=Ln(n,u,t,{dehydratedView:d});Fn(l,p,s,Jt(u,d))}}finally{I(a)}}else if(i!==void 0){let a=$p(i,s);a!==void 0&&(a[H]=t)}}var Ic=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-V}};function GD(e){return e}function zD(e,t){return t}var Dc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function QD(e,t,n,r,o,i,s,a,c,l,u,d,p){Le("NgControlFlow");let f=m(),h=O(),g=c!==void 0,E=m(),y=a?s.bind(E[te][H]):s,L=new Dc(g,y);E[A+e]=L,Xt(f,h,e+1,t,n,r,o,ae(h.consts,i),256),g&&Xt(f,h,e+2,c,l,u,d,ae(h.consts,p),512)}var Cc=class extends vc{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-V}at(t){return this.getLView(t)[H].$implicit}attach(t,n){let r=n[jt];this.needsIndexUpdate||=t!==this.length,Fn(this.lContainer,n,t,Jt(this.templateTNode,r)),YD(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,KD(this.lContainer,t),JD(this.lContainer,t)}create(t,n){let r=Di(this.lContainer,this.templateTNode.tView.ssrId);return Ln(this.hostLView,this.templateTNode,new Ic(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Vi(t[v],t)}updateValue(t,n){this.getLView(t)[H].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[H].$index=t}getLView(t){return XD(this.lContainer,t)}};function ZD(e){let t=I(null),n=ye();try{let r=m(),o=r[v],i=r[n],s=n+1,a=Si(r,s);if(i.liveCollection===void 0){let l=bc(o,s);i.liveCollection=new Cc(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(UD(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=Te(),u=c.length===0;if(J(r,l,u)){let d=n+2,p=Si(r,d);if(u){let f=bc(o,d),h=Zp(p,f,r),g=Ln(r,f,void 0,{dehydratedView:h});Fn(p,g,0,Jt(f,h))}else o.firstUpdatePass&&dI(p),rl(p,0)}}}finally{I(t)}}function Si(e,t){return e[t]}function YD(e,t){if(e.length<=V)return;let n=V+t,r=e[n],o=r?r[$t]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[ie];uE(i,o),wr.delete(r[ze]),o.detachedLeaveAnimationFns=void 0}}function KD(e,t){if(e.length<=V)return;let n=V+t,r=e[n],o=r?r[$t]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function JD(e,t){return Mr(e,t)}function XD(e,t){return $p(e,t)}function bc(e,t){return qt(e,t)}function Lh(e,t,n){let r=m(),o=Te();if(J(r,o,t)){let i=O(),s=Tn();Zc(s,r,e,t,r[S],n)}return Lh}function Tc(e,t,n,r,o){tl(t,e,n,o?"class":"style",r)}function El(e,t,n,r){let o=m(),i=o[v],s=e+A,a=i.firstCreatePass?il(s,o,2,t,Yc,Qo(),n,r):i.data[s];if(Jc(a,o,e,t,Vh),In(a)){let c=o[v];Bi(c,o,a),Pc(c,a,o)}return r!=null&&Br(o,a),El}function Il(){let e=O(),t=q(),n=Xc(t);return e.firstCreatePass&&sl(e,n),pa(n)&&ha(),da(),n.classesWithoutHost!=null&&jy(n)&&Tc(e,n,m(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Vy(n)&&Tc(e,n,m(),n.stylesWithoutHost,!1),Il}function Fh(e,t,n,r){return El(e,t,n,r),Il(),Fh}function Dl(e,t,n,r){let o=m(),i=o[v],s=e+A,a=i.firstCreatePass?_I(s,i,2,t,n,r):i.data[s];return Jc(a,o,e,t,Vh),r!=null&&Br(o,a),Dl}function Cl(){let e=q(),t=Xc(e);return pa(t)&&ha(),da(),Cl}function jh(e,t,n,r){return Dl(e,t,n,r),Cl(),jh}var Vh=(e,t,n,r,o)=>(wn(!0),Fc(t[S],r,Dd()));function bl(e,t,n){let r=m(),o=r[v],i=e+A,s=o.firstCreatePass?il(i,r,8,"ng-container",Yc,Qo(),t,n):o.data[i];if(Jc(s,r,e,"ng-container",eC),In(s)){let a=r[v];Bi(a,r,s),Pc(a,s,r)}return n!=null&&Br(r,s),bl}function Tl(){let e=O(),t=q(),n=Xc(t);return e.firstCreatePass&&sl(e,n),Tl}function Hh(e,t,n){return bl(e,t,n),Tl(),Hh}var eC=(e,t,n,r,o)=>(wn(!0),ap(t[S],""));function tC(){return m()}function Bh(e,t,n){let r=m(),o=Te();if(J(r,o,t)){let i=O(),s=Tn();Ap(s,r,e,t,r[S],n)}return Bh}var yr=void 0;function nC(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var rC=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],yr,[["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"]],yr,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",yr,yr,yr],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",nC],Dr={};function oC(e,t,n){typeof t!="string"&&(n=t,t=e[Rn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Dr[t]=e,n&&(Dr[t][Rn.ExtraData]=n)}function wl(e){let t=sC(e),n=cf(t);if(n)return n;let r=t.split("-")[0];if(n=cf(r),n)return n;if(r==="en")return rC;throw new b(701,!1)}function iC(e){return wl(e)[Rn.CurrencyCode]||null}function $h(e){return wl(e)[Rn.PluralCase]}function cf(e){return e in Dr||(Dr[e]=Se.ng&&Se.ng.common&&Se.ng.common.locales&&Se.ng.common.locales[e]),Dr[e]}var Rn=(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})(Rn||{});function sC(e){return e.toLowerCase().replace(/_/g,"-")}var aC=["zero","one","two","few","many"];function cC(e,t){let n=$h(t)(parseInt(e,10)),r=aC[n];return r!==void 0?r:"other"}var Wr="en-US",lC="USD",Uh={marker:"element"},qh={marker:"ICU"},Ye=(function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e})(Ye||{}),Wh=Wr;function Gh(e){typeof e=="string"&&(Wh=e.toLowerCase().replace(/_/g,"-"))}function uC(){return Wh}var kr=0,Cr=0;function dC(e){e&&(kr=kr|1<<Math.min(Cr,31)),Cr++}function fC(e,t,n){if(Cr>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=Zo()-Cr-1;Qh(e,t,o,i,kr)}kr=0,Cr=0}function pC(e,t,n){let r=e[S];switch(n){case Node.COMMENT_NODE:return ap(r,t);case Node.TEXT_NODE:return ip(r,t);case Node.ELEMENT_NODE:return Fc(r,t,null)}}var di=(e,t,n,r)=>(wn(!0),pC(e,n,r));function hC(e,t,n,r){let o=e[S];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s&Ye.COMMENT)===Ye.COMMENT,l=(s&Ye.APPEND_EAGERLY)===Ye.APPEND_EAGERLY,u=s>>>Ye.SHIFT,d=e[u],p=!1;d===null&&(d=e[u]=di(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=pr()),l&&n!==null&&p&&Kt(o,n,d,r,!1)}}function zh(e,t,n,r){let o=n[S],i=null,s;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="string"){let l=t[++a];n[l]===null&&(n[l]=di(n,l,c,Node.TEXT_NODE))}else if(typeof c=="number")switch(c&1){case 0:let l=nI(c);i===null&&(i=l,s=o.parentNode(r));let u,d;if(l===i?(u=r,d=s):(u=null,d=se(n[l])),d!==null){let g=rI(c),E=n[g];Kt(o,d,E,u,!1);let y=Er(e,g);if(y!==null&&typeof y=="object"){let L=qi(y,n);L!==null&&zh(e,y.create[L],n,n[y.anchorIdx])}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];Kc(o,cr(p,n),null,null,f,h,null);break;default:}else switch(c){case qh:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=di(n,u,l,Node.COMMENT_NODE);It(f,n)}break;case Uh:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=di(n,p,d,Node.ELEMENT_NODE);It(f,n)}break;default:}}}function Qh(e,t,n,r,o){for(let i=0;i<n.length;i++){let s=n[i],a=n[++i];if(s&o){let c="";for(let l=i+1;l<=i+a;l++){let u=n[l];if(typeof u=="string")c+=u;else if(typeof u=="number")if(u<0)c+=de(t[r-u]);else{let d=u>>>2;switch(u&3){case 1:let p=n[++l],f=n[++l],h=e.data[d];typeof h=="string"?Kc(t[S],t[d],null,h,p,c,f):Zc(h,t,p,c,t[S],f);break;case 0:let g=t[d];g!==null&&sp(t[S],g,c);break;case 2:gC(e,Er(e,d),t,c);break;case 3:lf(e,Er(e,d),r,t);break}}}}else{let c=n[i+1];if(c>0&&(c&3)===3){let l=c>>>2,u=Er(e,l);t[u.currentCaseLViewIndex]<0&&lf(e,u,r,t)}}i+=a}}function lf(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=kr;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),Qh(e,r,t.update[o],n,i)}}function gC(e,t,n,r){let o=mC(t,r);if(qi(t,n)!==o&&(Zh(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&zh(e,t.create[o],n,s),uI(n,t.anchorIdx,o)}}function Zh(e,t,n){let r=qi(t,n);if(r!==null){let o=t.remove[r];for(let i=0;i<o.length;i++){let s=o[i];if(s>0){let a=cr(s,n);a!==null&&jc(n[S],a)}else Zh(e,Er(e,~s),n)}}}function mC(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=cC(t,uC());n=e.cases.indexOf(r),n===-1&&r!=="other"&&(n=e.cases.indexOf("other"));break}case 0:{n=e.cases.indexOf("other");break}}return n===-1?null:n}var xi=/�(\d+):?\d*�/gi;var yC=/�(\d+)�/,Yh=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,br="\uFFFD",vC=/�\/?\*(\d+:\d+)�/gi,EC=/�(\/?[#*]\d+):?\d*�/gi,IC=/\uE500/g;function DC(e){return e.replace(IC," ")}function CC(e,t,n,r,o,i){let s=bn(),a=[],c=[],l=[[]],u=[[]];o=TC(o,i);let d=DC(o).split(EC);for(let p=0;p<d.length;p++){let f=d[p];if((p&1)===0){let h=wc(f);for(let g=0;g<h.length;g++){let E=h[g];if((g&1)===0){let y=E;y!==""&&bC(u[0],e,s,l[0],a,c,n,y)}else{let y=E;if(typeof y!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let he=Kh(e,s,l[0],n,a,"",!0).index;Xh(u[0],e,n,c,t,y,he)}}}else{let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),E=A+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),Oe(bn(),!1);else{let y=tI(e,l[0],E);l.unshift([]),Oe(y,!0);let L={kind:2,index:E,children:[],type:g===35?0:1};u[0].push(L),u.unshift(L.children)}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function Kh(e,t,n,r,o,i,s){let a=Vr(e,r,1,null),c=a<<Ye.SHIFT,l=bn();t===l&&(l=null),l===null&&(c|=Ye.APPEND_EAGERLY),s&&(c|=Ye.COMMENT,sE(sI)),o.push(c,i===null?"":i);let u=ol(e,a,s?32:1,i===null?"":i,null);Gp(n,u);let d=u.index;return Oe(u,!1),l!==null&&t!==l&&eI(l,d),u}function bC(e,t,n,r,o,i,s,a){let c=a.match(xi),u=Kh(t,n,r,s,o,c?null:a,!1).index;c&&fi(i,a,u,null,0,null),e.push({kind:0,index:u})}function fi(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(xi),u=0;for(let d=0;d<l.length;d++){let p=l[d];if(d&1){let f=o+parseInt(p,10);e.push(-1-f),u=u|Jh(f)}else p!==""&&e.push(p)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=u,e[a]=e.length-c,u}function Jh(e){return 1<<Math.min(e,31)}function uf(e){let t,n="",r=0,o=!1,i;for(;(t=vC.exec(e))!==null;)o?t[0]===`${br}/*${i}${br}`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],o=!0);return n+=e.slice(r),n}function TC(e,t){if(iI(t))return uf(e);{let n=e.indexOf(`:${t}${br}`)+2+t.toString().length,r=e.search(new RegExp(`${br}\\/\\*\\d+:${t}${br}`));return uf(e.substring(n,r))}}function Xh(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:Vr(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};NC(r,i,s),XE(t,s,c);let l=i.values,u=[];for(let d=0;d<l.length;d++){let p=l[d],f=[];for(let g=0;g<p.length;g++){let E=p[g];if(typeof E!="string"){let y=f.push(E)-1;p[g]=`<!--\uFFFD${y}\uFFFD-->`}}let h=[];u.push(h),a=_C(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a}a&&SC(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function wC(e){let t=[],n=[],r=1,o=0;e=e.replace(Yh,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=wc(e);for(let s=0;s<i.length;){let a=i[s++].trim();r===1&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&t.push(a);let c=wc(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function wc(e){if(!e)return[];let t=0,n=[],r=[],o=/[{}]/g;o.lastIndex=0;let i;for(;i=o.exec(e);){let a=i.index;if(i[0]=="}"){if(n.pop(),n.length==0){let c=e.substring(t,a);Yh.test(c)?r.push(wC(c)):r.push(c),t=a+1}}else{if(n.length==0){let c=e.substring(t,a);r.push(c),t=a+1}n.push("{")}}let s=e.substring(t);return r.push(s),r}function _C(e,t,n,r,o,i,s,a,c){let l=[],u=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(u),n.update.push(d);let f=Jf(Ac()).getInertBodyElement(a),h=oc(f)||f;return h?eg(e,t,n,r,o,l,u,d,h,i,c,0):0}function eg(e,t,n,r,o,i,s,a,c,l,u,d){let p=0,f=c.firstChild;for(;f;){let h=Vr(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,E=g.tagName.toLowerCase();if(nc.hasOwnProperty(E)){ja(i,Uh,E,l,h),t.data[h]=E;let Xe=g.attributes;for(let Fe=0;Fe<Xe.length;Fe++){let Tt=Xe.item(Fe),Wl=Tt.name.toLowerCase();!!Tt.value.match(xi)?np.hasOwnProperty(Wl)&&(Lc[Wl]?fi(a,Tt.value,h,Tt.name,0,Li):fi(a,Tt.value,h,Tt.name,0,null)):xC(i,h,Tt)}let bt={kind:1,index:h,children:[]};e.push(bt),p=eg(bt.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,df(s,h,d)}break;case Node.TEXT_NODE:let y=f.textContent||"",L=y.match(xi);ja(i,null,L?"":y,l,h),df(s,h,d),L&&(p=fi(a,y,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let he=yC.exec(f.textContent||"");if(he){let Xe=parseInt(he[1],10),bt=u[Xe];ja(i,qh,"",l,h),Xh(e,t,r,o,l,bt,h),MC(s,h,d)}break}f=f.nextSibling}return p}function df(e,t,n){n===0&&e.push(t)}function MC(e,t,n){n===0&&(e.push(~t),e.push(t))}function NC(e,t,n){e.push(Jh(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function SC(e,t,n){e.push(t,1,n<<2|3)}function ja(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,oI(0,r,o))}function xC(e,t,n){e.push(t<<1|1,n.name,n.value)}var ff=0,AC=/\[(�.+?�?)\]/,RC=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,kC=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,OC=/{([A-Z0-9_]+)}/g,PC=/�I18N_EXP_(ICU(_\d+)?)�/g,LC=/\/\*/,FC=/\d+\:(\d+)/;function jC(e,t={}){let n=e;if(AC.test(e)){let r={},o=[ff];n=n.replace(RC,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let E=g.match(FC),y=E?parseInt(E[1],10):ff,L=LC.test(g);l.push([y,L,g])}),r[c]=l),!l.length)throw new Error(`i18n postprocess: unmatched placeholder - ${c}`);let u=o[o.length-1],d=0;for(let g=0;g<l.length;g++)if(l[g][0]===u){d=g;break}let[p,f,h]=l[d];return f?o.pop():u!==p&&o.push(p),l.splice(d,1),h})}return Object.keys(t).length&&(n=n.replace(kC,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace(OC,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(PC,(r,o)=>{if(t.hasOwnProperty(o)){let i=t[o];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return i.shift()}return r})),n}function tg(e,t,n=-1){let r=O(),o=m(),i=A+e,s=ae(r.consts,t),a=bn();if(r.firstCreatePass&&CC(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[te];p[D]|=32}else o[D]|=32;let c=r.data[i],l=a===o[ee]?null:a,u=bp(r,l,o),d=a&&a.type&8?o[a.index]:null;cI(o,i,a,n),hC(o,c.create,u,d),Ia(!0)}function ng(){Ia(!1)}function VC(e,t,n){tg(e,t,n),ng()}function rg(e){let t=m();return dC(J(t,Te(),e)),rg}function HC(e){fC(O(),m(),e+A)}function BC(e,t={}){return jC(e,t)}function og(e,t,n){let r=m(),o=O(),i=q();return sg(o,r,r[S],i,e,t,n),og}function ig(e,t,n){let r=m(),o=O(),i=q();return(i.type&3||n)&&oh(i,o,r,n,r[S],e,t,li(i,r,t)),ig}function sg(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=li(r,t,i),oh(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=li(r,t,i),Zd(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=li(r,t,i),Zd(r,t,d,o,o,c)}}function $C(e=1){return vd(e)}function UC(e,t){let n=null,r=Zv(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?hp(e,i,!0):Jv(r,i))return o}return n}function qC(e){let t=m()[te][ee];if(!t.projection){let n=e?e.length:1,r=t.projection=zu(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?UC(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function WC(e,t=0,n,r,o,i){let s=m(),a=O(),c=r?e+1:null;c!==null&&Xt(s,a,c,r,o,i,null,n);let l=nn(a,A+e,16,null,n||null);l.projection===null&&(l.projection=t),ya();let d=!s[jt]||fa();s[te][ee].projection[l.projection]===null&&c!==null?GC(s,a,c):d&&!ki(l)&&vE(a,s,l)}function GC(e,t,n){let r=A+n,o=t.data[r],i=e[r],s=Di(i,o.tView.ssrId),a=Ln(e,o,void 0,{dehydratedView:s});Fn(i,a,0,Jt(o,s))}function ag(e,t,n,r){return fh(e,t,n,r),ag}function zC(e){let t=m(),n=O(),r=Ko();fr(r+1);let o=ll(n,r);if(e.dirty&&nd(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=hh(t,r);e.reset(i,Pf),e.notifyOnChanges()}return!0}return!1}function QC(){return cl(m(),Ko())}function cg(e,t,n,r,o){return mh(t,fh(e,n,r,o)),cg}function lg(e,t,n,r){return mh(e,zI(t,n,r)),lg}function ZC(e=1){fr(Ko()+e)}function YC(e){let t=va();return Cn(t,A+e)}function oi(e,t){return e<<17|t<<2}function en(e){return e>>17&32767}function KC(e){return(e&2)==2}function JC(e,t){return e&131071|t<<17}function _c(e){return e|2}function kn(e){return(e&131068)>>2}function Va(e,t){return e&-131069|t<<2}function XC(e){return(e&1)===1}function Mc(e){return e|1}function eb(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=en(s),c=kn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||mn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=en(e[a+1]);e[r+1]=oi(p,a),p!==0&&(e[p+1]=Va(e[p+1],r)),e[a+1]=JC(e[a+1],r)}else e[r+1]=oi(a,0),a!==0&&(e[a+1]=Va(e[a+1],r)),a=r;else e[r+1]=oi(c,0),a===0?a=r:e[c+1]=Va(e[c+1],r),c=r;l&&(e[r+1]=_c(e[r+1])),pf(e,u,r,!0),pf(e,u,r,!1),tb(t,u,e,r,i),s=oi(a,c),i?t.classBindings=s:t.styleBindings=s}function tb(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&mn(i,t)>=0&&(n[r+1]=Mc(n[r+1]))}function pf(e,t,n,r){let o=e[n+1],i=t===null,s=r?en(o):kn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];nb(c,t)&&(a=!0,e[s+1]=r?Mc(l):_c(l)),s=r?en(l):kn(l)}a&&(e[n+1]=r?_c(o):Mc(o))}function nb(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?mn(e,t)>=0:!1}var W={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ug(e){return e.substring(W.key,W.keyEnd)}function rb(e){return e.substring(W.value,W.valueEnd)}function ob(e){return pg(e),dg(e,On(e,0,W.textEnd))}function dg(e,t){let n=W.textEnd;return n===t?-1:(t=W.keyEnd=sb(e,W.key=t,n),On(e,t,n))}function ib(e){return pg(e),fg(e,On(e,0,W.textEnd))}function fg(e,t){let n=W.textEnd,r=W.key=On(e,t,n);return n===r?-1:(r=W.keyEnd=ab(e,r,n),r=hf(e,r,n,58),r=W.value=On(e,r,n),r=W.valueEnd=cb(e,r,n),hf(e,r,n,59))}function pg(e){W.key=0,W.keyEnd=0,W.value=0,W.valueEnd=0,W.textEnd=e.length}function On(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function sb(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function ab(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 hf(e,t,n,r){return t=On(e,t,n),t<n&&t++,t}function cb(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=gf(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=gf(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function gf(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 hg(e,t,n){return mg(e,t,n,!1),hg}function gg(e,t){return mg(e,t,null,!0),gg}function lb(e){yg(Ig,ub,e,!1)}function ub(e,t){for(let n=ib(t);n>=0;n=fg(t,n))Ig(e,ug(t),rb(t))}function db(e){yg(vb,fb,e,!0)}function fb(e,t){for(let n=ob(t);n>=0;n=dg(t,n))ir(e,ug(t),!0)}function mg(e,t,n,r){let o=m(),i=O(),s=dr(2);if(i.firstUpdatePass&&Eg(i,e,s,r),t!==G&&J(o,s,t)){let a=i.data[ye()];Dg(i,a,o,o[S],e,o[s+1]=Ib(t,n),r,s)}}function yg(e,t,n,r){let o=O(),i=dr(2);o.firstUpdatePass&&Eg(o,null,i,r);let s=m();if(n!==G&&J(s,i,n)){let a=o.data[ye()];if(Cg(a,r)&&!vg(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Oo(c,n||"")),Tc(o,a,s,n,r)}else Eb(o,a,s,s[S],s[i+1],s[i+1]=yb(e,t,n),r,i)}}function vg(e,t){return t>=e.expandoStartIndex}function Eg(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ye()],s=vg(e,n);Cg(i,r)&&t===null&&!s&&(t=!1),t=pb(o,i,t,r),eb(o,i,t,n,s,r)}}function pb(e,t,n,r){let o=hd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ha(null,e,t,n,r),n=Or(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ha(o,e,t,n,r),i===null){let c=hb(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ha(null,e,t,c[1],r),c=Or(c,t.attrs,r),gb(e,t,r,c))}else i=mb(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function hb(e,t,n){let r=n?t.classBindings:t.styleBindings;if(kn(r)!==0)return e[en(r)]}function gb(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[en(o)]=r}function mb(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Or(r,s,n)}return Or(r,t.attrs,n)}function Ha(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=Or(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Or(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]),ir(e,s,n?!0:t[++i]))}return e===void 0?null:e}function yb(e,t,n){if(n==null||n==="")return K;let r=[],o=tn(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 Ig(e,t,n){ir(e,t,tn(n))}function vb(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&ir(e,r,n)}function Eb(e,t,n,r,o,i,s,a){o===G&&(o=K);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&Dg(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Dg(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=XC(l)?mf(c,t,n,o,kn(l),s):void 0;if(!Ai(u)){Ai(i)||KC(l)&&(i=mf(c,null,n,o,a,s));let d=cr(ye(),n);IE(r,s,d,o,i)}}function mf(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===G&&(p=d?K:void 0);let f=d?Bo(p,r):u===r?p:void 0;if(l&&!Ai(f)&&(f=Bo(c,r)),Ai(f)&&(a=f,s))return a;let h=e[o+1];o=s?en(h):kn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Bo(c,r))}return a}function Ai(e){return e!==void 0}function Ib(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=qe(tn(e)))),e}function Cg(e,t){return(e.flags&(t?8:16))!==0}function Db(e,t=""){let n=m(),r=O(),o=e+A,i=r.firstCreatePass?nn(r,o,1,t,null):r.data[o],s=Cb(r,n,i,t,e);n[o]=s,pr()&&zc(r,n,s,i),Oe(i,!1)}var Cb=(e,t,n,r,o)=>(wn(!0),ip(t[S],r));function bg(e,t,n,r=""){return J(e,Te(),n)?t+de(n)+r:G}function bb(e,t,n,r,o,i=""){let s=Zo(),a=xr(e,s,n,o);return dr(2),a?t+de(n)+r+de(o)+i:G}function Tb(e,t,n,r,o,i,s,a=""){let c=Zo(),l=nh(e,c,n,o,s);return dr(3),l?t+de(n)+r+de(o)+i+de(s)+a:G}function Tg(e){return _l("",e),Tg}function _l(e,t,n){let r=m(),o=bg(r,e,t,n);return o!==G&&Ml(r,ye(),o),_l}function wg(e,t,n,r,o){let i=m(),s=bb(i,e,t,n,r,o);return s!==G&&Ml(i,ye(),s),wg}function _g(e,t,n,r,o,i,s){let a=m(),c=Tb(a,e,t,n,r,o,i,s);return c!==G&&Ml(a,ye(),c),_g}function Ml(e,t,n){let r=cr(t,e);sp(e[S],r,n)}function Mg(e,t,n){gl(t)&&(t=t());let r=m(),o=Te();if(J(r,o,t)){let i=O(),s=Tn();Zc(s,r,e,t,r[S],n)}return Mg}function wb(e,t){let n=gl(e);return n&&e.set(t),n}function Ng(e,t){let n=m(),r=O(),o=q();return sg(r,n,n[S],o,e,t),Ng}var Sg={};function xg(e){Le("NgLet");let t=O(),n=m(),r=e+A,o=nn(t,r,128,null,null);return Oe(o,!1),lr(t,n,r,Sg),xg}function _b(e){let t=O(),n=m(),r=ye();return lr(t,n,r,e),e}function Mb(e){let t=va(),n=Cn(t,A+e);if(n===Sg)throw new b(314,!1);return n}function Nb(e){return J(m(),Te(),e)?de(e):G}function Sb(e,t,n=""){return bg(m(),e,t,n)}function yf(e,t,n){let r=O();r.firstCreatePass&&Ag(t,r.data,r.blueprint,ke(e),n)}function Ag(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ag(e[i],t,n,r,o);else{let i=O(),s=m(),a=q(),c=Pt(e)?e:Y(e.provide),l=ta(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Pt(e)||!e.multi){let f=new Zt(l,o,Ur,null),h=$a(c,t,o?u:u+p,d);h===-1?(qa(yi(a,s),i,c),Ba(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=$a(c,t,u+p,d),h=$a(c,t,u,u+p),g=f>=0&&n[f],E=h>=0&&n[h];if(o&&!E||!o&&!g){qa(yi(a,s),i,c);let y=Rb(o?Ab:xb,n.length,o,r,l,e);!o&&E&&(n[h].providerFactory=y),Ba(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(y),s.push(y)}else{let y=Rg(n[o?h:f],l,!o&&r);Ba(i,e,f>-1?f:h,y)}!o&&r&&E&&n[h].componentProviders++}}}function Ba(e,t,n,r){let o=Pt(t),i=Ju(t);if(o||i){let c=(i?Y(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 Rg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function $a(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function xb(e,t,n,r,o){return Nc(this.multi,[])}function Ab(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Tr(r,r[v],this.providerFactory.index,o);s=c.slice(0,a),Nc(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Nc(i,s);return s}function Nc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Rb(e,t,n,r,o,i){let s=new Zt(e,n,Ur,null);return s.multi=[],s.index=t,s.componentProviders=0,Rg(s,o,r&&!n),s}function kb(e,t){return n=>{n.providersResolver=(r,o)=>yf(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>yf(r,o?o(t):t,!0))}}function Ob(e,t){let n=Qe()+e,r=m();return r[n]===G?jn(r,n,t()):th(r,n)}function Pb(e,t,n){return kg(m(),Qe(),e,t,n)}function Lb(e,t,n,r){return Og(m(),Qe(),e,t,n,r)}function Fb(e,t,n,r,o,i,s){return Hb(m(),Qe(),e,t,n,r,o,i)}function jb(e,t,n,r,o,i,s){let a=Qe()+e,c=m(),l=rh(c,a,n,r,o,i);return J(c,a+4,s)||l?jn(c,a+5,t(n,r,o,i,s)):th(c,a+5)}function Yi(e,t){let n=e[t];return n===G?void 0:n}function kg(e,t,n,r,o,i){let s=t+n;return J(e,s,o)?jn(e,s+1,i?r.call(i,o):r(o)):Yi(e,s+1)}function Og(e,t,n,r,o,i,s){let a=t+n;return xr(e,a,o,i)?jn(e,a+2,s?r.call(s,o,i):r(o,i)):Yi(e,a+2)}function Vb(e,t,n,r,o,i,s,a){let c=t+n;return nh(e,c,o,i,s)?jn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Yi(e,c+3)}function Hb(e,t,n,r,o,i,s,a,c){let l=t+n;return rh(e,l,o,i,s,a)?jn(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Yi(e,l+4)}function Bb(e,t){let n=O(),r,o=e+A;n.firstCreatePass?(r=$b(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=ct(r.type,!0)),s,a=re(Ur);try{let c=mi(!1),l=i();return mi(c),lr(n,m(),o,l),l}finally{re(a)}}function $b(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Ub(e,t,n){let r=e+A,o=m(),i=Cn(o,r);return Nl(o,r)?kg(o,Qe(),t,i.transform,n,i):i.transform(n)}function qb(e,t,n,r){let o=e+A,i=m(),s=Cn(i,o);return Nl(i,o)?Og(i,Qe(),t,s.transform,n,r,s):s.transform(n,r)}function Wb(e,t,n,r,o){let i=e+A,s=m(),a=Cn(s,i);return Nl(s,i)?Vb(s,Qe(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Nl(e,t){return e[v].data[t].pure}function Gb(e,t){return Ui(e,t)}var Ri=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},zb=(()=>{class e{compileModuleSync(n){return new _i(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Ws(n),i=fp(o.declarations).reduce((s,a)=>{let c=Ie(a);return c&&s.push(new Ct(c)),s},[]);return new Ri(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Pg=(()=>{class e{applicationErrorHandler=w(zt);appRef=w(Zi);taskService=w(Gt);ngZone=w(Ne);zonelessEnabled=w(gr);tracing=w(Hr,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Z;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(er):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(w(Na,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;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;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?wd:wa;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(er+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Qb(){return Le("NgZoneless"),Js([...Sl(),[]])}function Sl(){return[{provide:Ge,useExisting:Pg},{provide:Ne,useClass:tr},{provide:gr,useValue:!0}]}function Zb(){return typeof $localize<"u"&&$localize.locale||Wr}var xl=new R("",{factory:()=>w(xl,{optional:!0,skipSelf:!0})||Zb()}),Yb=new R("",{factory:()=>lC});var Gr=class{destroyed=!1;listeners=null;errorHandler=w(We,{optional:!0});destroyRef=w(Ze);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(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(nr(953,!1));return}if(this.listeners===null)return;let n=I(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{I(n)}}};function rn(e,t){return Un(e,t?.equal)}var Kb=e=>e;function Al(e,t){if(typeof e=="function"){let n=wo(e,Kb,t?.equal);return Lg(n,t?.debugName)}else{let n=wo(e.source,e.computation,e.equal);return Lg(n,e.debugName)}}function Lg(e,t){let n=e[j],r=e;return r.set=o=>bs(n,o),r.update=o=>Ts(n,o),r.asReadonly=_n.bind(e),r}function Jb(e){let t=e.request,n=e.params??t??(()=>null);return new Ki(n,eT(e),e.defaultValue,e.equal?Xb(e.equal):void 0,e.debugName,e.injector??w(Ee))}var Rl=class{value;isLoading;constructor(t,n){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=_n,this.isLoading=rn(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=rn(()=>this.status()==="error");update(t){this.set(t(pe(this.value)))}isValueDefined=rn(()=>this.isError()?!1:this.value()!==void 0);hasValue(){return this.isValueDefined()}asReadonly(){return this}},Ki=class extends Rl{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(t,n,r,o,i,s){super(rn(()=>{let a=this.state().stream?.();if(!a||this.state().status==="loading"&&this.error())return r;if(!kl(a))throw new Ol(this.error());return a.value},{equal:o}),i),this.loaderFn=n,this.equal=o,this.debugName=i,this.extRequest=Al({source:t,computation:a=>({request:a,reload:0})}),this.state=Al({source:this.extRequest,computation:(a,c)=>{let l=a.request===void 0?"idle":"loading";return c?{extRequest:a,status:l,previousStatus:Fg(c.value),stream:c.value.extRequest.request===a.request?c.value.stream:void 0}:{extRequest:a,status:l,previousStatus:"idle",stream:void 0}}}),this.effectRef=Sa(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(mr),this.unregisterOnDestroy=s.get(Ze).onDestroy(()=>this.destroy()),this.status=rn(()=>Fg(this.state()),void 0),this.error=rn(()=>{let a=this.state().stream?.();return a&&!kl(a)?a.error:void 0},void 0)}set(t){if(this.destroyed)return;let n=pe(this.error),r=pe(this.state);if(!n){let o=pe(this.value);if(r.status==="local"&&(this.equal?this.equal(o,t):o===t))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:vt({value:t},void 0)}),this.abortInProgressLoad()}reload(){let{status:t}=pe(this.state);return t==="idle"||t==="loading"?!1:(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}async loadEffect(){let t=this.extRequest(),{status:n,previousStatus:r}=pe(this.state);if(t.request===void 0)return;if(n!=="loading")return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=await pe(()=>this.loaderFn({params:t.request,request:t.request,abortSignal:i,previous:{status:r}}));if(i.aborted||pe(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||pe(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:vt({error:Ll(s)},void 0)})}finally{o?.(),o=void 0}}abortInProgressLoad(){pe(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function Xb(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function eT(e){return tT(e)?e.stream:async t=>{try{return vt({value:await e.loader(t)},void 0)}catch(n){return vt({error:Ll(n)},void 0)}}}function tT(e){return!!e.stream}function Fg(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return kl(e.stream())?"resolved":"error";default:return e.status}}function kl(e){return e.error===void 0}function Ll(e){return nT(e)?e:new Pl(e)}function nT(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var Ol=class extends Error{constructor(t){super(t.message,{cause:t})}},Pl=class extends Error{constructor(t){super(String(t),{cause:t})}};var es=Symbol("InputSignalNode#UNSET"),zg=Q(z({},Kr),{transformFn:void 0,applyValueToInputSignal(e,t){ot(e,t)}});function Qg(e,t){let n=Object.create(zg);n.value=e,n.transformFn=t?.transform;function r(){if(tt(n),n.value===es){let o=null;throw new b(-950,o)}return n.value}return r[j]=n,r}var jg=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Of(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function UF(e){return new Gr}function Vg(e,t){return Qg(e,t)}function oT(e){return Qg(es,e)}var qF=(Vg.required=oT,Vg);function Hg(e,t){return dl(t)}function iT(e,t){return fl(t)}var WF=(Hg.required=iT,Hg);function GF(e,t){return gh(t)}function Bg(e,t){return dl(t)}function sT(e,t){return fl(t)}var zF=(Bg.required=sT,Bg);function Zg(e,t){let n=Object.create(zg),r=new Gr;n.value=e;function o(){return tt(n),$g(n.value),n.value}return o[j]=n,o.asReadonly=_n.bind(o),o.set=i=>{n.equal(n.value,i)||(ot(n,i),r.emit(i))},o.update=i=>{$g(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function $g(e){if(e===es)throw new b(952,!1)}function Ug(e,t){return Zg(e,t)}function aT(e){return Zg(es,e)}var QF=(Ug.required=aT,Ug);var Fl=new R(""),cT=new R("");function zr(e){return!e.moduleRef}function lT(e){let t=zr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ne);return n.run(()=>{zr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(zt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),zr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Fl);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Fl);s.add(i),e.moduleRef.onDestroy(()=>{Ir(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return dT(r,n,()=>{let i=t.get(Gt),s=i.add(),a=t.get(yl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(xl,Wr);if(Gh(c||Wr),!t.get(cT,!0))return zr(e)?t.get(Zi):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(zr(e)){let u=t.get(Zi);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return uT?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var uT;function dT(e,t,n){try{let r=n();return ml(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var Ji=null;function fT(e=[],t){return Ee.create({name:t,providers:[{provide:ea,useValue:"platform"},{provide:Fl,useValue:new Set([()=>Ji=null])},...e]})}function pT(e=[]){if(Ji)return Ji;let t=fT(e);return Ji=t,Rh(),hT(t),t}function hT(e){let t=e.get(Bf,null);Uo(e,()=>{t?.forEach(n=>n())})}var gT=1e4;var ZF=gT-1e3;var YF=(()=>{class e{static __NG_ELEMENT_ID__=mT}return e})();function mT(e){return yT(q(),m(),(e&16)===16)}function yT(e,t,n){if(gt(e)&&!n){let r=me(e.index,t);return new Dt(r,r)}else if(e.type&175){let r=t[te];return new Dt(r,t)}return null}var jl=class{constructor(){}supports(t){return al(t)}create(t){return new Vl(t)}},vT=(e,t)=>t,Vl=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||vT}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<qg(r,o,i)?n:r,a=qg(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=[]),!al(t))throw new b(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,eh(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 Hl(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 Xi),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 Xi),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}},Hl=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}},Bl=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}},Xi=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Bl,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 qg(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 $l=class{constructor(){}supports(t){return t instanceof Map||Gi(t)}create(){return new Ul}},Ul=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||Gi(t)))throw new b(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 ql(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))}},ql=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Wg(){return new ET([new jl])}var ET=(()=>{class e{factories;static \u0275prov=U({token:e,providedIn:"root",factory:Wg});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=w(e,{optional:!0,skipSelf:!0});return e.create(n,r||Wg())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new b(901,!1)}}return e})();function Gg(){return new IT([new $l])}var IT=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:Gg});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:()=>{let r=w(e,{optional:!0,skipSelf:!0});return e.create(n,r||Gg())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new b(901,!1)}}return e})();function KF(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;k(x.BootstrapApplicationStart);try{let i=o?.injector??pT(r),s=[Sl(),Md,...n||[]],a=new Rr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return lT({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{k(x.BootstrapApplicationEnd)}}function JF(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function XF(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function e0(e,t){let n=Ie(e),r=t.elementInjector||yn();return new Ct(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function t0(e){let t=Ie(e);if(!t)return null;let n=new Ct(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{j as a,ot as b,Yr as c,Z as d,im as e,N as f,le as g,zn as h,Qn as i,At as j,st as k,mm as l,Im as m,Dm as n,Zn as o,at as p,Sm as q,Rt as r,Es as s,To as t,Am as u,Rm as v,Is as w,Ds as x,Om as y,ys as z,Pm as A,ym as B,Io as C,vm as D,Iu as E,Fm as F,jm as G,Vm as H,Hm as I,Bm as J,Du as K,Cu as L,Au as M,wo as N,bs as O,Ts as P,Ms as Q,b as R,nr as S,Po as T,U,Hu as V,Wm as W,R as X,Me as Y,w as Z,Js as _,ea as $,ue as aa,Uo as ba,cd as ca,ld as da,Ed as ea,Id as fa,Ee as ga,Ta as ha,Ze as ia,Gt as ja,$e as ka,Ne as la,We as ma,zt as na,vt as oa,mr as pa,Sa as qa,pe as ra,Ry as sa,Yy as ta,Of as ua,Lr as va,rv as wa,ov as xa,Bf as ya,sv as za,av as Aa,$f as Ba,cv as Ca,Yt as Da,tn as Ea,Pi as Fa,pv as Ga,hv as Ha,gv as Ia,mv as Ja,yv as Ka,Li as La,op as Ma,jr as Na,jv as Oa,up as Pa,$v as Qa,Uv as Ra,iE as Sa,Ei as Ta,wr as Ua,Hr as Va,Le as Wa,aE as Xa,Nr as Ya,Sr as Za,gI as _a,Ur as $a,zi as ab,An as bb,yh as cb,KI as db,pl as eb,XI as fb,tD as gb,oD as hb,iD as ib,Ih as jb,Ch as kb,bh as lb,PD as mb,Mh as nb,ml as ob,Sh as pb,Ah as qb,Zi as rb,BD as sb,$D as tb,Ph as ub,qD as vb,WD as wb,GD as xb,zD as yb,QD as zb,ZD as Ab,Lh as Bb,El as Cb,Il as Db,Fh as Eb,Dl as Fb,Cl as Gb,jh as Hb,bl as Ib,Tl as Jb,Hh as Kb,tC as Lb,Bh as Mb,oC as Nb,wl as Ob,iC as Pb,$h as Qb,Rn as Rb,tg as Sb,ng as Tb,VC as Ub,rg as Vb,HC as Wb,BC as Xb,og as Yb,ig as Zb,$C as _b,qC as $b,WC as ac,ag as bc,zC as cc,QC as dc,cg as ec,lg as fc,ZC as gc,YC as hc,hg as ic,gg as jc,lb as kc,db as lc,Db as mc,Tg as nc,_l as oc,wg as pc,_g as qc,Mg as rc,wb as sc,Ng as tc,xg as uc,_b as vc,Mb as wc,Nb as xc,Sb as yc,kb as zc,Ob as Ac,Pb as Bc,Lb as Cc,Fb as Dc,jb as Ec,Bb as Fc,Ub as Gc,qb as Hc,Wb as Ic,Gb as Jc,zb as Kc,Qb as Lc,xl as Mc,Yb as Nc,Gr as Oc,rn as Pc,Jb as Qc,Ll as Rc,jg as Sc,UF as Tc,qF as Uc,WF as Vc,GF as Wc,zF as Xc,QF as Yc,YF as Zc,ET as _c,IT as $c,KF as ad,JF as bd,XF as cd,e0 as dd,t0 as ed};
@@ -1 +1 @@
1
- import{a as f}from"./chunk-7TWUW4XJ.js";import{W as m,a as S,b as i,la as c}from"./chunk-26Z7TPJB.js";function u(...a){let e=c(...a);return Object.defineProperty(e,"value",{get:e.asReadonly(),set:e.set.bind(e)})}function A(a,e,o=!1,s){let l=m(f);e=l.getItemParsed(a,o)??e;let n=u(e),r=n[S];s?.equal&&(r.equal=s.equal);function g(t){t==null?l.removeItem(a):l.setItemParsed(a,t,o)}return n.set=t=>{g(t),i(r,t)},n.update=t=>{let T=t(n());g(T),i(r,T)},n}export{A as a};
1
+ import{a as f}from"./chunk-KUX6NGQU.js";import{Z as m,a as S,b as i,oa as c}from"./chunk-QY4Y5NJB.js";function u(...a){let e=c(...a);return Object.defineProperty(e,"value",{get:e.asReadonly(),set:e.set.bind(e)})}function A(a,e,o=!1,s){let l=m(f);e=l.getItemParsed(a,o)??e;let n=u(e),r=n[S];s?.equal&&(r.equal=s.equal);function g(t){t==null?l.removeItem(a):l.setItemParsed(a,t,o)}return n.set=t=>{g(t),i(r,t)},n.update=t=>{let T=t(n());g(T),i(r,T)},n}export{A as a};
@@ -0,0 +1 @@
1
+ import"./chunk-7CGTOI24.js";var o=[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import("./chunk-4HB376H3.js")},{path:"destination",loadComponent:()=>import("./chunk-Z2BNW4KI.js")},{path:"source-data",loadComponent:()=>import("./chunk-T2KOS3XX.js")},{path:"schedule",loadComponent:()=>import("./chunk-IPGH33MU.js")},{path:"options",loadComponent:()=>import("./chunk-VUKQJ766.js")}];export{o as default};
@@ -1 +1 @@
1
- import{B as V,H as x,X as J,c as B,e as G,f as y,j as b,p as $,q as P,r as v,t as L,u as k,x as w}from"./chunk-UNMDSCAN.js";import{c as X}from"./chunk-CFNARBNK.js";import{d as I,e as A}from"./chunk-I27PVH6D.js";import"./chunk-5VE6P5U5.js";import"./chunk-PO3L6MKW.js";import"./chunk-7AVOHYTE.js";import"./chunk-KDSMLI73.js";import{Ab as i,Bb as p,E as g,K as T,Pa as F,Pb as E,Qb as C,Rb as d,Ub as O,Vb as m,W as u,cb as R,gc as h,jc as N,la as c,sb as S,tb as D,xc as M,yb as _,zb as r}from"./chunk-26Z7TPJB.js";import"./chunk-7CGTOI24.js";var j=()=>["/"];function H(l,e){l&1&&(r(0,"sh-form-field")(1,"label",11),d(2,2),i(),p(3,"input",12),i())}var a=new v,f=class l{#t=u(w);#e=u(X);#o=u(I);isRestoring=c(!1);isSecureFile=c(!1);importForm=a.group({config:a.control(""),cmdline:a.control(!1),importMetadata:a.control(!1),direct:a.control(!1),passphrase:a.control("")});selectedFile=c(null);onFileDropped(e){let t=e.target?.files?.item(0);if(t){let n=new FileReader;this.isSecureFile.set(t.type!=="application/json"),n.onload=this.#n.bind(this),n.readAsArrayBuffer(t)}}#n(e){let o=e.target?.result;this.importForm.patchValue({config:this.#i(o)})}#i(e){let o=new Uint8Array(e),t=o.byteLength,n="";for(let s=0;s<t;s++)n+=String.fromCharCode(o[s]);return btoa(n)}submit(){this.isRestoring.set(!0),this.#e.postApiV1BackupsImport({requestBody:this.importForm.value}).pipe(T(e=>{let t={Backup:e.data.Backup};return this.#e.postApiV1Backups({requestBody:t,temporary:!0})}),g(()=>this.isRestoring.set(!1))).subscribe({next:e=>{this.#o.navigate(["/restore-draft",e.ID])},error:e=>{this.#t.error(e.message)}})}static \u0275fac=function(o){return new(o||l)};static \u0275cmp=R({type:l,selectors:[["app-restore-from-config"]],decls:16,vars:7,consts:()=>{let e;e=$localize` Restore from config ${"\uFFFD#3\uFFFD"}:START_TAG_DIV:${"\uFFFD#4\uFFFD"}:START_TAG_BUTTON:${"[\uFFFD#5\uFFFD|\uFFFD#7\uFFFD]"}:START_TAG_SH_ICON:arrow-left${"[\uFFFD/#5\uFFFD|\uFFFD/#7\uFFFD]"}:CLOSE_TAG_SH_ICON: Back ${"[\uFFFD/#4\uFFFD|\uFFFD/#6\uFFFD]"}:CLOSE_TAG_BUTTON:${"\uFFFD#6\uFFFD"}:START_TAG_BUTTON_1:${"[\uFFFD#5\uFFFD|\uFFFD#7\uFFFD]"}:START_TAG_SH_ICON:download-simple${"[\uFFFD/#5\uFFFD|\uFFFD/#7\uFFFD]"}:CLOSE_TAG_SH_ICON: Restore ${"[\uFFFD/#4\uFFFD|\uFFFD/#6\uFFFD]"}:CLOSE_TAG_BUTTON:${"\uFFFD/#3\uFFFD"}:CLOSE_TAG_DIV:`,e=O(e);let o;o=$localize`Select a configuration file`;let t;return t=$localize`Passphrase`,[e,o,t,[1,"actions"],["shButton","","type","button",1,"outlined",3,"routerLink"],["shButton","","type","submit",1,"raised","primary",3,"click","disabled"],["autocomplete","off",3,"formGroup"],["shDragDrop","",3,"fileDropped"],["for","file"],["type","file","accept",".json,.aes",3,"change"],["suffix",""],["for","passphrase"],["type","password","autocomplete","disabled","formControlName","passphrase"]]},template:function(o,t){o&1&&(r(0,"header")(1,"h3"),E(2,0),r(3,"div",3)(4,"button",4),p(5,"sh-icon"),i(),r(6,"button",5),m("click",function(){return t.submit()}),p(7,"sh-icon"),i()(),C(),i()(),r(8,"form",6)(9,"sh-form-field",7),m("fileDropped",function(s){return t.onFileDropped(s)}),r(10,"label",8),d(11,1),i(),r(12,"input",9),m("change",function(s){return t.onFileDropped(s)}),i(),r(13,"sh-icon",10),N(14,"upload"),i()(),S(15,H,4,0,"sh-form-field"),i()),o&2&&(F(4),_("routerLink",M(6,j)),F(2),h("loader",t.isRestoring()),_("disabled",t.isRestoring()),F(2),_("formGroup",t.importForm),F(7),D(t.isSecureFile()?15:-1))},dependencies:[L,b,B,G,y,P,$,A,J,x,k,V],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:2rem;padding:3rem}h3[_ngcontent-%COMP%]{font:var(--title-30);display:flex;align-items:center;justify-content:space-between}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;max-width:31.25rem}"],changeDetection:0})};export{f as default};
1
+ import{B as V,H as x,X as J,c as B,e as G,f as y,j as b,p as $,q as P,r as v,t as L,v as k,x as w}from"./chunk-Y46QCSB5.js";import{d as X}from"./chunk-JJY6UOEY.js";import{d as I,e as A}from"./chunk-2K74TI2N.js";import"./chunk-G3FMV74P.js";import"./chunk-LU7RSOI6.js";import"./chunk-VLMNSWR3.js";import"./chunk-VKNFRCHQ.js";import{Ac as M,Bb as _,Cb as r,Db as i,E as g,Eb as p,K as T,Sa as F,Sb as E,Tb as C,Ub as d,Xb as O,Yb as m,Z as u,fb as R,jc as h,mc as N,oa as c,vb as S,wb as D}from"./chunk-QY4Y5NJB.js";import"./chunk-7CGTOI24.js";var j=()=>["/"];function H(l,e){l&1&&(r(0,"sh-form-field")(1,"label",11),d(2,2),i(),p(3,"input",12),i())}var a=new v,f=class l{#t=u(w);#e=u(X);#o=u(I);isRestoring=c(!1);isSecureFile=c(!1);importForm=a.group({config:a.control(""),cmdline:a.control(!1),importMetadata:a.control(!1),direct:a.control(!1),passphrase:a.control("")});selectedFile=c(null);onFileDropped(e){let t=e.target?.files?.item(0);if(t){let n=new FileReader;this.isSecureFile.set(t.type!=="application/json"),n.onload=this.#n.bind(this),n.readAsArrayBuffer(t)}}#n(e){let o=e.target?.result;this.importForm.patchValue({config:this.#i(o)})}#i(e){let o=new Uint8Array(e),t=o.byteLength,n="";for(let s=0;s<t;s++)n+=String.fromCharCode(o[s]);return btoa(n)}submit(){this.isRestoring.set(!0),this.#e.postApiV1BackupsImport({requestBody:this.importForm.value}).pipe(T(e=>{let t={Backup:e.data.Backup};return this.#e.postApiV1Backups({requestBody:t,temporary:!0})}),g(()=>this.isRestoring.set(!1))).subscribe({next:e=>{this.#o.navigate(["/restore-draft",e.ID])},error:e=>{this.#t.error(e.message)}})}static \u0275fac=function(o){return new(o||l)};static \u0275cmp=R({type:l,selectors:[["app-restore-from-config"]],decls:16,vars:7,consts:()=>{let e;e=$localize` Restore from config ${"\uFFFD#3\uFFFD"}:START_TAG_DIV:${"\uFFFD#4\uFFFD"}:START_TAG_BUTTON:${"[\uFFFD#5\uFFFD|\uFFFD#7\uFFFD]"}:START_TAG_SH_ICON:arrow-left${"[\uFFFD/#5\uFFFD|\uFFFD/#7\uFFFD]"}:CLOSE_TAG_SH_ICON: Back ${"[\uFFFD/#4\uFFFD|\uFFFD/#6\uFFFD]"}:CLOSE_TAG_BUTTON:${"\uFFFD#6\uFFFD"}:START_TAG_BUTTON_1:${"[\uFFFD#5\uFFFD|\uFFFD#7\uFFFD]"}:START_TAG_SH_ICON:download-simple${"[\uFFFD/#5\uFFFD|\uFFFD/#7\uFFFD]"}:CLOSE_TAG_SH_ICON: Restore ${"[\uFFFD/#4\uFFFD|\uFFFD/#6\uFFFD]"}:CLOSE_TAG_BUTTON:${"\uFFFD/#3\uFFFD"}:CLOSE_TAG_DIV:`,e=O(e);let o;o=$localize`Select a configuration file`;let t;return t=$localize`Passphrase`,[e,o,t,[1,"actions"],["shButton","","type","button",1,"outlined",3,"routerLink"],["shButton","","type","submit",1,"raised","primary",3,"click","disabled"],["autocomplete","off",3,"formGroup"],["shDragDrop","",3,"fileDropped"],["for","file"],["type","file","accept",".json,.aes",3,"change"],["suffix",""],["for","passphrase"],["type","password","autocomplete","disabled","formControlName","passphrase"]]},template:function(o,t){o&1&&(r(0,"header")(1,"h3"),E(2,0),r(3,"div",3)(4,"button",4),p(5,"sh-icon"),i(),r(6,"button",5),m("click",function(){return t.submit()}),p(7,"sh-icon"),i()(),C(),i()(),r(8,"form",6)(9,"sh-form-field",7),m("fileDropped",function(s){return t.onFileDropped(s)}),r(10,"label",8),d(11,1),i(),r(12,"input",9),m("change",function(s){return t.onFileDropped(s)}),i(),r(13,"sh-icon",10),N(14,"upload"),i()(),S(15,H,4,0,"sh-form-field"),i()),o&2&&(F(4),_("routerLink",M(6,j)),F(2),h("loading",t.isRestoring()),_("disabled",t.isRestoring()),F(2),_("formGroup",t.importForm),F(7),D(t.isSecureFile()?15:-1))},dependencies:[L,b,B,G,y,P,$,A,J,x,k,V],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:2rem;padding:3rem}h3[_ngcontent-%COMP%]{font:var(--title-30);display:flex;align-items:center;justify-content:space-between}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem;max-width:31.25rem}"],changeDetection:0})};export{f as default};
@@ -0,0 +1 @@
1
+ import"./chunk-7CGTOI24.js";var o=[{path:"",loadComponent:()=>import("./chunk-NAMMULH4.js"),children:[{path:"",redirectTo:"stored",pathMatch:"full"},{path:"stored",loadComponent:()=>import("./chunk-2T4BMRWX.js")},{path:"live",loadComponent:()=>import("./chunk-7PUXNL75.js")}]}],t=o;export{t as default};
@@ -0,0 +1 @@
1
+ import{e as a,f as b}from"./chunk-IAZGVY3O.js";import"./chunk-C5OYK6UC.js";import"./chunk-AZEV3A4R.js";import"./chunk-RWDQ3L3C.js";import"./chunk-CAJQ2FEU.js";import"./chunk-ZPIR5QIQ.js";import"./chunk-6Q6SSTBK.js";import"./chunk-EG3PT3XW.js";import"./chunk-O3GGVB2B.js";import"./chunk-OAAXQ2BE.js";import"./chunk-7E5J43IH.js";import"./chunk-3MS6SVET.js";import"./chunk-4VYR5E5I.js";import"./chunk-KLAJGS5T.js";import"./chunk-NGKFJLI2.js";import"./chunk-KUX6NGQU.js";import"./chunk-Y46QCSB5.js";import"./chunk-JJY6UOEY.js";import"./chunk-2K74TI2N.js";import"./chunk-G3FMV74P.js";import"./chunk-LU7RSOI6.js";import"./chunk-VLMNSWR3.js";import"./chunk-VKNFRCHQ.js";import"./chunk-QY4Y5NJB.js";import"./chunk-7CGTOI24.js";export{a as createRestoreSelectFilesForm,b as default};
@@ -0,0 +1 @@
1
+ import{a as _e}from"./chunk-5MKFV3IB.js";import"./chunk-7MPZ3MRD.js";import"./chunk-CTQKCCGM.js";import"./chunk-23UYU3M3.js";import{a as se}from"./chunk-GGW26MAG.js";import"./chunk-FJFREVRV.js";import"./chunk-OWBBT5WF.js";import"./chunk-6Q6SSTBK.js";import"./chunk-EG3PT3XW.js";import"./chunk-O3GGVB2B.js";import"./chunk-OAAXQ2BE.js";import{a as b}from"./chunk-7E5J43IH.js";import"./chunk-QY5UGQ3R.js";import"./chunk-3MS6SVET.js";import{a as le,b as m}from"./chunk-4VYR5E5I.js";import"./chunk-KLAJGS5T.js";import"./chunk-NGKFJLI2.js";import"./chunk-KUX6NGQU.js";import{B as ae,H as ie,Y as ne,c as Q,e as Y,i as Z,s as x,v as ee,z as te}from"./chunk-Y46QCSB5.js";import{d as oe}from"./chunk-JJY6UOEY.js";import{b as q,e as j}from"./chunk-2K74TI2N.js";import"./chunk-G3FMV74P.js";import"./chunk-LU7RSOI6.js";import"./chunk-VLMNSWR3.js";import"./chunk-VKNFRCHQ.js";import{B as G,Bb as d,C as g,Cb as n,D as L,Db as i,E as p,Eb as c,Pc as E,Sa as _,Sb as u,Tb as h,Ub as A,Vb as H,Wb as J,Yb as T,Z as F,fb as V,jc as C,lc as K,mc as D,oa as s,p as y,qa as P,rc as X,sc as z,tc as W,vb as w,wb as U}from"./chunk-QY4Y5NJB.js";import"./chunk-7CGTOI24.js";function re(r,t){r&1&&(n(0,"sh-icon",19),D(1,"spinner"),i())}function ce(r,t){r&1&&(n(0,"sh-icon",20),D(1,"check"),i())}function de(r,t){r&1&&(n(0,"sh-icon",21),D(1,"warning"),i()),r&2&&d("shTooltip","File not found")}function ue(r,t){let a=le(r).pipe(G(t),L());return m(a,{initialValue:r()})}var N=class r{#o=F(q);#s=F(se);#e=F(oe);#a=F(te);#t=s("");backupId=m(this.#o.params.pipe(y(t=>t.id)));activeBackup=E(()=>this.#s.backups().find(t=>t.Backup?.ID===this.backupId()));backupFilePath=s("");lastValidatedPath=s("");isValidatedPath=E(()=>this.lastValidatedPath()===this.backupFilePath());pathHasChanged=E(()=>this.backupFilePath()!==this.#t());isValidatingPath=s(!1);#i=ue(this.backupFilePath,500);#n=s(!1);isWaitingForValidation=E(()=>this.#i()!=this.backupFilePath()||this.isValidatingPath());backupFilePathEffect=P(()=>{let t=this.#i(),a=this.activeBackup(),e=this.#n();t!==""&&(this.isValidatingPath.set(!0),this.#e.postApiV1FilesystemValidate({requestBody:{path:t}}).pipe(g(1),p(()=>this.isValidatingPath.set(!1))).subscribe(()=>this.lastValidatedPath.set(t)))});isRestoring=s(!1);isRepairing=s(!1);isDeleting=s(!1);isSavingDbPath=s(!1);isSavingAndRepairing=s(!1);isMovingDb=s(!1);isCreatingBugReport=s(!1);createdReport=s(!1);activeBackupEffect=P(()=>{let t=this.activeBackup();if(!t)return;let a=t.Backup?.DBPath??"";this.backupFilePath.set(a),this.#t.set(a)});repairDatabase(){this.isRepairing.set(!0),this.#e.postApiV1BackupByIdRepair({id:this.backupId()}).pipe(g(1),p(()=>this.isRepairing.set(!1))).subscribe()}deleteDatabase(t=null){this.isValidatedPath()?this.#a.open(b,{data:{title:$localize`Confirm delete?`,message:$localize`Do you really want to delete the database for ${this.activeBackup()?.Backup?.Name}?`,confirmText:$localize`Delete database`,cancelText:$localize`Cancel`},closed:a=>{a&&this.doDeleteDatabase(t)}}):this.doDeleteDatabase(t)}doDeleteDatabase(t=null){this.isDeleting.set(!0),this.#e.postApiV1BackupByIdDeletedb({id:this.backupId()}).pipe(g(1),p(()=>this.isDeleting.set(!1))).subscribe(()=>{this.lastValidatedPath.set(""),t?.()})}restoreDatabase(){this.isValidatedPath()?this.deleteDatabase(()=>{this.doRepairDatabase()}):this.doRepairDatabase()}doRepairDatabase(){this.isRestoring.set(!0),this.#e.postApiV1BackupByIdRepair({id:this.backupId(),requestBody:{refresh_lock_info:!0}}).pipe(g(1),p(()=>this.isRestoring.set(!1))).subscribe()}resetDatabasePath(){this.backupFilePath.set(this.#t())}saveDatabasePath(t=null){this.isValidatedPath()?this.#a.open(b,{data:{title:$localize`Confirm reassign?`,message:$localize`The target database path already exists and may belong to another backup. Are you sure you want to assign this backup to an existing database?`,confirmText:$localize`Assign existing database`,cancelText:$localize`Cancel`},closed:a=>{a&&this.doSaveDatabasePath(t)}}):this.doSaveDatabasePath(t)}doSaveDatabasePath(t=null){this.isSavingDbPath.set(!0);let a=this.backupFilePath();this.#e.postApiV1BackupByIdUpdatedb({id:this.backupId(),requestBody:{path:a}}).pipe(p(()=>this.isSavingDbPath.set(!1))).subscribe(()=>{this.#t.set(a),t?.()})}saveAndRepairDatabasePath(){this.saveDatabasePath(()=>(this.isSavingAndRepairing.set(!0),this.#e.postApiV1BackupByIdRepair({id:this.backupId()}).pipe(g(1),p(()=>this.isSavingAndRepairing.set(!1))).subscribe()))}moveDatabasePath(){this.isMovingDb.set(!0);let t=this.backupFilePath();this.#e.postApiV1BackupByIdMovedb({id:this.backupId(),requestBody:{path:t}}).pipe(p(()=>this.isMovingDb.set(!1))).subscribe(()=>{this.#n.update(a=>!a),this.#t.set(t)})}createErrorReport(){this.isCreatingBugReport.set(!0),this.#e.postApiV1BackupByIdCreatereport({id:this.backupId()}).pipe(p(()=>this.isCreatingBugReport.set(!1))).subscribe({next:()=>{this.createdReport.set(!0),window.setTimeout(()=>this.createdReport.set(!1),3e3)}})}static \u0275fac=function(a){return new(a||r)};static \u0275cmp=V({type:r,selectors:[["app-database"]],decls:50,vars:21,consts:()=>{let t;t=$localize`${"\uFFFD#5\uFFFD"}:START_TAG_SH_ICON:arrow-left${"\uFFFD/#5\uFFFD"}:CLOSE_TAG_SH_ICON: Back `;let a;a=$localize`Local database for ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let e;e=$localize` Each backup has a local database associated with it, which stores information about the remote backup on the local machine. This makes it faster to perform many operations, and reduces the amount of data that needs to be downloaded for each operation. `;let o;o=$localize`Maintenance`;let S;S=$localize` If the backup and the remote storage is out of sync, Duplicati will require that you perform a repair operation to synchronize the database. If the repair is unsuccessful, you can delete the local database and re-generate. The bug report button can be used to create a copy of the database with path information removed. This should only be used if a developer requests to investigate an issue with your database. `;let f;f=$localize`${"\uFFFD#19\uFFFD"}:START_TAG_SH_ICON:wrench${"\uFFFD/#19\uFFFD"}:CLOSE_TAG_SH_ICON: Repair `;let I;I=$localize`${"\uFFFD#22\uFFFD"}:START_TAG_SH_ICON:trash${"\uFFFD/#22\uFFFD"}:CLOSE_TAG_SH_ICON: Delete `;let M;M=$localize`${"\uFFFD#25\uFFFD"}:START_TAG_SH_ICON:clock-counter-clockwise${"\uFFFD/#25\uFFFD"}:CLOSE_TAG_SH_ICON: Recreate (delete and repair) `;let R;R=$localize`${"\uFFFD#28\uFFFD"}:START_TAG_SH_ICON:file-plus${"\uFFFD/#28\uFFFD"}:CLOSE_TAG_SH_ICON: Create bug report database `;let B;B=$localize`Placement`;let O;O=$localize`${"\uFFFD#40\uFFFD"}:START_TAG_SH_ICON:backspace${"\uFFFD/#40\uFFFD"}:CLOSE_TAG_SH_ICON: Reset `;let $;$=$localize`${"\uFFFD#43\uFFFD"}:START_TAG_SH_ICON:floppy-disk${"\uFFFD/#43\uFFFD"}:CLOSE_TAG_SH_ICON: Save `;let v;v=$localize`${"\uFFFD#46\uFFFD"}:START_TAG_SH_ICON:wrench${"\uFFFD/#46\uFFFD"}:CLOSE_TAG_SH_ICON: Save & Repair `;let k;return k=$localize`${"\uFFFD#49\uFFFD"}:START_TAG_SH_ICON:flow-arrow${"\uFFFD/#49\uFFFD"}:CLOSE_TAG_SH_ICON: Move existing database `,[t,a,e,o,S,f,I,M,R,B,O,$,v,k,[1,"back"],["type","button","shButton","","routerLink","/",1,"small"],[1,"actions","maintenance"],["shButton","",3,"click","disabled"],["type","text",3,"ngModelChange","ngModel"],["prefix","",1,"primary"],["prefix",""],["prefix","",3,"shTooltip"],[1,"actions","placement"]]},template:function(a,e){if(a&1&&(c(0,"app-status-bar"),n(1,"section")(2,"div",14)(3,"button",15),u(4,0),c(5,"sh-icon"),h(),i()(),n(6,"article")(7,"h1"),A(8,1),i(),n(9,"p"),A(10,2),i()(),n(11,"article")(12,"h2"),A(13,3),i(),n(14,"p"),A(15,4),i(),n(16,"div",16)(17,"button",17),T("click",function(){return e.repairDatabase()}),u(18,5),c(19,"sh-icon"),h(),i(),n(20,"button",17),T("click",function(){return e.deleteDatabase()}),u(21,6),c(22,"sh-icon"),h(),i(),n(23,"button",17),T("click",function(){return e.restoreDatabase()}),u(24,7),c(25,"sh-icon"),h(),i(),n(26,"button",17),T("click",function(){return e.createErrorReport()}),u(27,8),c(28,"sh-icon"),h(),i()()(),n(29,"article")(30,"h2"),A(31,9),i(),n(32,"sh-form-field")(33,"input",18),W("ngModelChange",function(S){return z(e.backupFilePath,S)||(e.backupFilePath=S),S}),i(),w(34,re,2,0,"sh-icon",19)(35,ce,2,0,"sh-icon",20)(36,de,2,1,"sh-icon",21),i(),n(37,"div",22)(38,"button",17),T("click",function(){return e.resetDatabasePath()}),u(39,10),c(40,"sh-icon"),h(),i(),n(41,"button",17),T("click",function(){return e.saveDatabasePath()}),u(42,11),c(43,"sh-icon"),h(),i(),n(44,"button",17),T("click",function(){return e.saveAndRepairDatabasePath()}),u(45,12),c(46,"sh-icon"),h(),i(),n(47,"button",17),T("click",function(){return e.moveDatabasePath()}),u(48,13),c(49,"sh-icon"),h(),i()()()()),a&2){let o;_(8),H((o=e.activeBackup())==null||o.Backup==null?null:o.Backup.Name),J(8),_(9),C("loading",e.isRepairing()),d("disabled",!e.isValidatedPath()||e.pathHasChanged()),_(3),C("loading",e.isDeleting()),d("disabled",!e.isValidatedPath()||e.pathHasChanged()),_(3),C("loading",e.isRestoring()),d("disabled",e.pathHasChanged()),_(3),C("loading",e.isCreatingBugReport()),d("disabled",e.isCreatingBugReport()||!e.isValidatedPath()||e.pathHasChanged()),_(6),K(e.isValidatedPath()?"success":"error"),_(),X("ngModel",e.backupFilePath),_(),U(e.isWaitingForValidation()?34:e.isValidatedPath()?35:36),_(4),d("disabled",!e.pathHasChanged()),_(3),d("disabled",!e.pathHasChanged()||e.isWaitingForValidation()),_(3),d("disabled",!e.pathHasChanged()||e.isWaitingForValidation()),_(3),d("disabled",!e.pathHasChanged()||e.isValidatedPath()||e.isWaitingForValidation())}},dependencies:[x,Q,Y,Z,_e,ae,ie,ee,ne,j],styles:["[_nghost-%COMP%]{display:block}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2rem;padding:2rem}article[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}h1[_ngcontent-%COMP%]{font:var(--title-20)}h2[_ngcontent-%COMP%]{font:var(--title-30)}.actions[_ngcontent-%COMP%]{display:flex;gap:.5rem}"],changeDetection:0})};export{N as default};
@@ -1 +1 @@
1
- import{b as s}from"./chunk-6Q6SSTBK.js";import{R as c}from"./chunk-26Z7TPJB.js";import{a as i}from"./chunk-7CGTOI24.js";var d=/[a-zA-Z0-9_\-\+\.!@#$%^&*?_~()-]/,m=class n{generate(r,t=d){let a;do a=this.generatePassword(r,t);while(this.calculatePasswordStrength(a)<5);return a}generatePassword(r,t=d){return Array.apply(null,{length:r}).map(()=>{let a;for(;;)if(a=String.fromCharCode(s()),t.test(a))return a},this).join("")}calculatePasswordStrength(r){let t=1;return r.length>=8&&t++,r.match(/[a-z]/)&&r.match(/[A-Z]/)&&t++,r.match(/\d+/)&&t++,r.match(/.[!,@,#,$,%,^,&,*,?,_,~,(,),-]/)&&t++,Math.min(t,5)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=c({token:n,factory:n.\u0275fac,providedIn:"root"})};function F(n,r,t="conditional"){return a=>{if(!a.parent)return null;let e=null;if(n(a.parent)&&(e=(Array.isArray(r)?r:[r]).find(l=>l(a)!==null)??null),t&&e){let o={};o[t]=e,e=o}return e}}function y(){return n=>(n.parent&&Object.values(n.parent.controls).forEach(r=>{r!==n&&r.updateValueAndValidity()}),null)}function C(n,r,t,a="conditional"){return e=>{if(!e.parent)return null;let o={},l=e.parent.get(n);if(!l)return console.warn("Conditional field not found"),null;if(Array.isArray(r)?l.value?.includes(r):l.value===r){let f=Array.isArray(t)?t:[t];for(let A of f){let u=A(e),p=o||{};if(u!==null){o=i(i({},p),u);break}}}return o}}export{m as a,F as b,y as c,C as d};
1
+ import{b as s}from"./chunk-6Q6SSTBK.js";import{U as c}from"./chunk-QY4Y5NJB.js";import{a as i}from"./chunk-7CGTOI24.js";var d=/[a-zA-Z0-9_\-\+\.!@#$%^&*?_~()-]/,m=class n{generate(r,t=d){let a;do a=this.generatePassword(r,t);while(this.calculatePasswordStrength(a)<5);return a}generatePassword(r,t=d){return Array.apply(null,{length:r}).map(()=>{let a;for(;;)if(a=String.fromCharCode(s()),t.test(a))return a},this).join("")}calculatePasswordStrength(r){let t=1;return r.length>=8&&t++,r.match(/[a-z]/)&&r.match(/[A-Z]/)&&t++,r.match(/\d+/)&&t++,r.match(/.[!,@,#,$,%,^,&,*,?,_,~,(,),-]/)&&t++,Math.min(t,5)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=c({token:n,factory:n.\u0275fac,providedIn:"root"})};function F(n,r,t="conditional"){return a=>{if(!a.parent)return null;let e=null;if(n(a.parent)&&(e=(Array.isArray(r)?r:[r]).find(l=>l(a)!==null)??null),t&&e){let o={};o[t]=e,e=o}return e}}function y(){return n=>(n.parent&&Object.values(n.parent.controls).forEach(r=>{r!==n&&r.updateValueAndValidity()}),null)}function C(n,r,t,a="conditional"){return e=>{if(!e.parent)return null;let o={},l=e.parent.get(n);if(!l)return console.warn("Conditional field not found"),null;if(Array.isArray(r)?l.value?.includes(r):l.value===r){let f=Array.isArray(t)?t:[t];for(let A of f){let u=A(e),p=o||{};if(u!==null){o=i(i({},p),u);break}}}return o}}export{m as a,F as b,y as c,C as d};
@@ -0,0 +1 @@
1
+ import{a as w}from"./chunk-NGKFJLI2.js";import{J as k,v as D}from"./chunk-Y46QCSB5.js";import"./chunk-JJY6UOEY.js";import"./chunk-LU7RSOI6.js";import{_ as A}from"./chunk-VLMNSWR3.js";import"./chunk-VKNFRCHQ.js";import{Ab as v,Bb as g,Bc as _,Cb as c,Cc as $,Db as l,Jc as R,Kb as u,Lb as M,Pc as b,Sa as r,Ub as N,Yb as E,Z as T,_b as s,ca as h,da as y,fb as x,hc as C,ic as P,jc as S,kb as m,mc as a,nc as F,oa as p,vb as d,wb as f,zb as I}from"./chunk-QY4Y5NJB.js";import"./chunk-7CGTOI24.js";var Y=e=>({children:e,level:0}),L=e=>({$implicit:e}),j=(e,t)=>({children:e,level:t}),V=(e,t)=>t.id;function z(e,t){if(e&1&&(c(0,"sh-icon"),a(1,"caret-down"),l()),e&2){let n=s().$implicit;S("open",n.isOpen())}}function B(e,t){e&1&&(c(0,"sh-icon"),a(1,"dot"),l())}function J(e,t){e&1&&u(0)}function U(e,t){if(e&1&&m(0,J,1,0,"ng-container",3),e&2){let n=s().$implicit,o=s().$implicit;s();let i=C(3);g("ngTemplateOutlet",i)("ngTemplateOutletContext",_(5,L,$(2,j,n.children,o.level+1)))}}function X(e,t){if(e&1){let n=M();c(0,"div",4,1),E("click",function(){let i=h(n).$implicit,G=s(2);return y(i.children.length>0&&G.toggleNode(i))}),d(2,z,2,2,"sh-icon",5)(3,B,2,0,"sh-icon"),c(4,"div",6),a(5),l()(),d(6,U,1,7,"ng-container")}if(e&2){let n=t.$implicit;S("cannot-toggle",n.children.length===0)("open",n.isOpen()),r(2),f(n.children.length>0?2:3),r(3),F(n.text),r(),f(n.isOpen()?6:-1)}}function q(e,t){if(e&1&&(c(0,"sh-list"),I(1,X,7,7,null,null,V),l()),e&2){let n=t.$implicit;P("padding-left",n.level*.25,"rem"),r(),v(n.children)}}function H(e,t){e&1&&u(0)}var O=class e{#e=T(w);treeStructure=b(()=>{let t=this.#e.systemInfo();return this.processObject(t,0)});toggleNode(t){t.isOpen.update(n=>!n)}processObject(t,n){let o=[];for(let i in t)typeof t[i]=="object"?o.push({id:i,text:i,children:this.processObject(t[i],n+1),level:n,isOpen:p(!1)}):o.push({id:i,text:`${i}: ${t[i]}`,children:[],level:n,isOpen:p(!1)});return o}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=x({type:e,selectors:[["app-server-settings"]],decls:5,vars:6,consts:()=>{let t;return t=$localize`System info`,[["recursiveTree",""],["treeNode",""],t,[4,"ngTemplateOutlet","ngTemplateOutletContext"],["action","",3,"click"],[3,"open"],[1,"text"]]},template:function(n,o){if(n&1&&(c(0,"h3"),N(1,2),l(),m(2,q,3,2,"ng-template",null,0,R)(4,H,1,0,"ng-container",3)),n&2){let i=C(3);r(4),g("ngTemplateOutlet",i)("ngTemplateOutletContext",_(4,L,_(2,Y,o.treeStructure())))}},dependencies:[k,D,A],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;padding:0 2.5rem}h3[_ngcontent-%COMP%]{font:var(--title-30);margin:0 0 1.25rem}sh-icon[_ngcontent-%COMP%]{font-size:1rem}sh-list[_ngcontent-%COMP%]{padding:0}sh-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%]{padding:0}sh-list[_ngcontent-%COMP%] [action].cannot-toggle[_ngcontent-%COMP%]{cursor:initial}"],changeDetection:0})};export{O as default};