@duplicati/ngclient 0.0.218 → 0.0.219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/assets/ship.css +0 -2
  2. package/{chunk-UT42UQWA.js → chunk-22AR7ES3.js} +1 -1
  3. package/{chunk-6HY2QKBL.js → chunk-23SRH7FI.js} +1 -1
  4. package/{chunk-IHNPTBK2.js → chunk-2J2554EV.js} +1 -1
  5. package/chunk-37ODVJFS.js +1 -0
  6. package/chunk-3RCF6UT4.js +1 -0
  7. package/{chunk-DQISAVUL.js → chunk-4E7D5F6K.js} +1 -1
  8. package/chunk-4J6L5OV3.js +1 -0
  9. package/chunk-4OA2FFS5.js +1 -0
  10. package/chunk-4OJPTRZJ.js +1 -0
  11. package/{chunk-B7PXB6LO.js → chunk-5KJPC3V5.js} +1 -1
  12. package/{chunk-X6S2TQ5D.js → chunk-5RNU5BNO.js} +1 -1
  13. package/{chunk-MZAGGSG2.js → chunk-6JS7B4FW.js} +1 -1
  14. package/{chunk-7PBEL6UP.js → chunk-7C2YZVSQ.js} +1 -1
  15. package/chunk-ACTATISC.js +1 -0
  16. package/chunk-ACTJSKQZ.js +2 -0
  17. package/{chunk-OMOPTBR2.js → chunk-AIAUP7OE.js} +1 -1
  18. package/{chunk-Y3LMRA5G.js → chunk-ANSV4G2K.js} +1 -1
  19. package/{chunk-PAXRIMTV.js → chunk-BACKG7KA.js} +1 -1
  20. package/{chunk-XZS6HRVR.js → chunk-BKEJZADV.js} +2 -2
  21. package/{chunk-NXEMSNQO.js → chunk-BLSV7CNZ.js} +1 -1
  22. package/{chunk-6PPCACHR.js → chunk-BZXBH4CN.js} +1 -1
  23. package/chunk-C3PQFWVO.js +1 -0
  24. package/{chunk-O6ZQRIZA.js → chunk-C6PICAXB.js} +1 -1
  25. package/{chunk-LFWCPFV7.js → chunk-CAQ3XMFP.js} +1 -1
  26. package/chunk-DJXLNIMV.js +11 -0
  27. package/{chunk-4KFQXVKU.js → chunk-DSYNIXJF.js} +1 -1
  28. package/chunk-DSZ644JT.js +1 -0
  29. package/chunk-EADZVBRA.js +1 -0
  30. package/{chunk-Y6WYFFBC.js → chunk-EDLHTWBA.js} +1 -1
  31. package/{chunk-VJ3PK33N.js → chunk-EKVZKEQJ.js} +1 -1
  32. package/{chunk-HSAIFBZZ.js → chunk-ELCA5MKF.js} +2 -2
  33. package/chunk-EPIYGHPM.js +1 -0
  34. package/{chunk-GEATZGKK.js → chunk-EXMYBMGI.js} +1 -1
  35. package/{chunk-YEMKFHRS.js → chunk-FBU3EBFO.js} +1 -1
  36. package/{chunk-5VAN6GVG.js → chunk-FD5CKX3J.js} +1 -1
  37. package/{chunk-KDWGBKDI.js → chunk-GKGMP6VF.js} +1 -1
  38. package/chunk-GN7AO4B6.js +1 -0
  39. package/{chunk-3374ABNZ.js → chunk-GRE6GKVP.js} +2 -2
  40. package/chunk-I6MIXWIT.js +1 -0
  41. package/{chunk-TMS3I5A2.js → chunk-IFSZJSGH.js} +1 -1
  42. package/{chunk-B7CN4JEV.js → chunk-IG7XUEED.js} +1 -1
  43. package/chunk-IMQUTGIK.js +1 -0
  44. package/chunk-IQL3REGJ.js +1 -0
  45. package/chunk-IRT2UBDI.js +2 -0
  46. package/{chunk-BOD6INK4.js → chunk-JPCUISZG.js} +1 -1
  47. package/{chunk-Y4TMGQ3H.js → chunk-KDV2OE64.js} +1 -1
  48. package/{chunk-SXNQOAUJ.js → chunk-KZTFESBJ.js} +1 -1
  49. package/{chunk-X5TRWBWL.js → chunk-M3PW6DLD.js} +1 -1
  50. package/{chunk-7BK2K5ML.js → chunk-N2AU7VKX.js} +1 -1
  51. package/chunk-N3NJW75G.js +1 -0
  52. package/{chunk-5Q47XWAA.js → chunk-NHS6CQO2.js} +1 -1
  53. package/{chunk-EZZPO6ZZ.js → chunk-NKUA7I47.js} +2 -2
  54. package/chunk-NPFPMA4P.js +1 -0
  55. package/{chunk-HKQDPKTA.js → chunk-NX35OQ3V.js} +1 -1
  56. package/{chunk-AAUAZ76N.js → chunk-O2SMJYPC.js} +1 -1
  57. package/{chunk-S36F6ZJZ.js → chunk-OHYENIPP.js} +1 -1
  58. package/{chunk-MI3BETEH.js → chunk-OPHQNXYO.js} +1 -1
  59. package/chunk-P4R3ERID.js +1 -0
  60. package/chunk-PG4G4RLP.js +1 -0
  61. package/{chunk-DJIBS7A6.js → chunk-PIGMTUUT.js} +1 -1
  62. package/chunk-PXI3UZ4R.js +1 -0
  63. package/chunk-QDDVZ4CR.js +1 -0
  64. package/{chunk-JJ5XEJ75.js → chunk-QOWXL7ZL.js} +1 -1
  65. package/chunk-QZQS7M3D.js +1 -0
  66. package/{chunk-RZTMWVAA.js → chunk-RGFJ5UMA.js} +1 -1
  67. package/{chunk-54IBJBVK.js → chunk-RJ2JM7C7.js} +1 -1
  68. package/{chunk-2C3OMPC2.js → chunk-RLWICOKH.js} +1 -1
  69. package/chunk-RRDLQLTM.js +1 -0
  70. package/{chunk-SDKAVOP6.js → chunk-TCXCC5BM.js} +1 -1
  71. package/chunk-TQTOIWBK.js +4 -0
  72. package/{chunk-AC34YYIW.js → chunk-UTXZPAY6.js} +1 -1
  73. package/chunk-VC55KFAX.js +1 -0
  74. package/chunk-VKQQDCUN.js +1 -0
  75. package/{chunk-VOHSRCTH.js → chunk-WOKYULBU.js} +1 -1
  76. package/{chunk-OZDUAVJM.js → chunk-X276XFCH.js} +1 -1
  77. package/chunk-X4BDJA6L.js +3 -0
  78. package/{chunk-KQR3DEQ4.js → chunk-XDBSTUYC.js} +1 -1
  79. package/chunk-XEG3CP74.js +1 -0
  80. package/chunk-XWTB7XRI.js +1 -0
  81. package/chunk-XXVDL5TR.js +1 -0
  82. package/{chunk-FHH444ZI.js → chunk-YCJYEQF7.js} +1 -1
  83. package/chunk-YWBZLU6M.js +1 -0
  84. package/chunk-YWUUX3S6.js +1 -0
  85. package/{chunk-GIITUFAQ.js → chunk-ZC23RK4J.js} +1 -1
  86. package/{chunk-SRILTSQM.js → chunk-ZEFSBETQ.js} +1 -1
  87. package/chunk-ZHQI6LYB.js +1 -0
  88. package/chunk-ZNYN6ES6.js +1 -0
  89. package/chunk-ZNYRWXQR.js +1 -0
  90. package/{chunk-2LDEHODA.js → chunk-ZP3QZ43W.js} +1 -1
  91. package/{chunk-PSISW3DT.js → chunk-ZYRB2TUK.js} +1 -1
  92. package/index.html +2 -2
  93. package/{main-57XFFSWO.js → main-JR6IVB6K.js} +1 -1
  94. package/package.json +1 -1
  95. package/ship-ui-assets/mcp/components.json +137 -350
  96. package/styles-S2CJL4OY.css +1 -0
  97. package/chunk-4U5P2NHK.js +0 -1
  98. package/chunk-53YJLSUR.js +0 -1
  99. package/chunk-5DB5LJ2V.js +0 -1
  100. package/chunk-5QCIXYJ2.js +0 -1
  101. package/chunk-5TT43ERP.js +0 -1
  102. package/chunk-6LPGVWBH.js +0 -1
  103. package/chunk-6XWKOOJR.js +0 -1
  104. package/chunk-C56RQYG4.js +0 -2
  105. package/chunk-CL2S4OQ7.js +0 -1
  106. package/chunk-E3UAEGAI.js +0 -1
  107. package/chunk-G5IUH2UI.js +0 -1
  108. package/chunk-GNMIMW7D.js +0 -1
  109. package/chunk-GQWUTQIZ.js +0 -1
  110. package/chunk-HN6343SO.js +0 -3
  111. package/chunk-IFZC7RUJ.js +0 -2
  112. package/chunk-IM6CS76E.js +0 -1
  113. package/chunk-J6OYVDRR.js +0 -1
  114. package/chunk-JNWS5H5A.js +0 -1
  115. package/chunk-KTRNTLNO.js +0 -1
  116. package/chunk-LRZXNEAQ.js +0 -1
  117. package/chunk-NFXXT6A3.js +0 -4
  118. package/chunk-NPL5UWFD.js +0 -1
  119. package/chunk-O42PEGVX.js +0 -1
  120. package/chunk-OW2XLFBF.js +0 -1
  121. package/chunk-Q6A652RP.js +0 -1
  122. package/chunk-R3H3RDDJ.js +0 -1
  123. package/chunk-RLWCEUKT.js +0 -1
  124. package/chunk-RXWMHEJY.js +0 -1
  125. package/chunk-S235GCI6.js +0 -1
  126. package/chunk-TSDCJYMP.js +0 -1
  127. package/chunk-UOTOQXS3.js +0 -1
  128. package/chunk-V42HCQ3A.js +0 -1
  129. package/chunk-V4NNTODH.js +0 -1
  130. package/chunk-V6U75SVY.js +0 -1
  131. package/chunk-YXRM2NKT.js +0 -11
  132. package/chunk-ZJAQQH7X.js +0 -1
  133. package/chunk-ZXAPMIF3.js +0 -1
  134. package/styles-VWVVVLVS.css +0 -1
@@ -0,0 +1,4 @@
1
+ import{a as z,b as Q}from"./chunk-7CGTOI24.js";var X=null,Yr=!1,os=1,tm=null,j=Symbol("SIGNAL");function I(e){let t=X;return X=e,t}function Kr(){return X}var He={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 et(e){if(Yr)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||nm(o,X)))return;let i=sn(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&&eu(e,s)}function Yl(){os++}function Mt(e){if(!(sn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===os)){if(!e.producerMustRecompute(e)&&!on(e)){rn(e);return}e.producerRecomputeValue(e),rn(e)}}function is(e){if(e.consumers===void 0)return;let t=Yr;Yr=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||Kl(r)}}finally{Yr=t}}function ss(){return X?.consumerAllowSignalWrites!==!1}function Kl(e){e.dirty=!0,is(e),e.consumerMarkedDirty?.(e)}function rn(e){e.dirty=!1,e.lastCleanEpoch=os}function Be(e){return e&&Jl(e),I(e)}function Jl(e){e.producersTail=void 0,e.recomputing=!0}function tt(e,t){I(t),e&&Xl(e)}function Xl(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(sn(e))do n=as(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function on(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(Mt(n),r!==n.version))return!0}return!1}function nt(e){if(sn(e)){let t=e.producers;for(;t!==void 0;)t=as(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function eu(e,t){let n=e.consumersTail,r=sn(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)eu(o.producer,o)}function as(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,!sn(t)){let i=t.producers;for(;i!==void 0;)i=as(i)}return n}function sn(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function Un(e){tm?.(e)}function nm(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 Wn(e,t){return Object.is(e,t)}function qn(e,t){let n=Object.create(rm);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(Mt(n),et(n),n.value===Ne)throw n.error;return n.value};return r[j]=n,Un(n),r}var Tt=Symbol("UNSET"),_t=Symbol("COMPUTING"),Ne=Symbol("ERRORED"),rm=Q(z({},He),{value:Tt,dirty:!0,error:null,equal:Wn,kind:"computed",producerMustRecompute(e){return e.value===Tt||e.value===_t},producerRecomputeValue(e){if(e.value===_t)throw new Error("");let t=e.value;e.value=_t;let n=Be(e),r,o=!1;try{r=e.computation(),I(null),o=t!==Tt&&t!==Ne&&r!==Ne&&e.equal(t,r)}catch(i){r=Ne,e.error=i}finally{tt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function om(){throw new Error}var tu=om;function nu(e){tu(e)}function cs(e){tu=e}var im=null;function ls(e,t){let n=Object.create(Xr);n.value=e,t!==void 0&&(n.equal=t);let r=()=>ru(n);return r[j]=n,Un(n),[r,s=>rt(n,s),s=>Jr(n,s)]}function ru(e){return et(e),e.value}function rt(e,t){ss()||nu(e),e.equal(e.value,t)||(e.value=t,sm(e))}function Jr(e,t){ss()||nu(e),rt(e,t(e.value))}var Xr=Q(z({},He),{equal:Wn,value:void 0,kind:"signal"});function sm(e){e.version++,Yl(),is(e),im?.(e)}var us=Q(z({},He),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function ds(e){if(e.dirty=!1,e.version>0&&!on(e))return;e.version++;let t=Be(e);try{e.cleanup(),e.fn()}finally{tt(e,t)}}function C(e){return typeof e=="function"}function an(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 eo=an(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 Nt(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 eo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ou(i)}catch(s){t=t??[],s instanceof eo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new eo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)ou(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)&&Nt(n,t)}remove(t){let{_finalizers:n}=this;n&&Nt(n,t),t instanceof e&&t._removeParent(this)}};Z.EMPTY=(()=>{let e=new Z;return e.closed=!0,e})();var fs=Z.EMPTY;function to(e){return e instanceof Z||e&&"closed"in e&&C(e.remove)&&C(e.add)&&C(e.unsubscribe)}function ou(e){C(e)?e():e.unsubscribe()}var ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var cn={setTimeout(e,t,...n){let{delegate:r}=cn;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=cn;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function no(e){cn.setTimeout(()=>{let{onUnhandledError:t}=ye;if(t)t(e);else throw e})}function Gn(){}var iu=ps("C",void 0,void 0);function su(e){return ps("E",void 0,e)}function au(e){return ps("N",e,void 0)}function ps(e,t,n){return{kind:e,value:t,error:n}}var St=null;function ln(e){if(ye.useDeprecatedSynchronousErrorHandling){let t=!St;if(t&&(St={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=St;if(St=null,n)throw r}}else e()}function cu(e){ye.useDeprecatedSynchronousErrorHandling&&St&&(St.errorThrown=!0,St.error=e)}var xt=class extends Z{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,to(t)&&t.add(this)):this.destination=lm}static create(t,n,r){return new ve(t,n,r)}next(t){this.isStopped?gs(au(t),this):this._next(t)}error(t){this.isStopped?gs(su(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?gs(iu,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()}}},am=Function.prototype.bind;function hs(e,t){return am.call(e,t)}var ms=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){ro(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){ro(r)}else ro(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){ro(n)}}},ve=class extends xt{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&&ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&hs(t.next,i),error:t.error&&hs(t.error,i),complete:t.complete&&hs(t.complete,i)}):o=t}this.destination=new ms(o)}};function ro(e){ye.useDeprecatedSynchronousErrorHandling?cu(e):no(e)}function cm(e){throw e}function gs(e,t){let{onStoppedNotification:n}=ye;n&&cn.setTimeout(()=>n(e,t))}var lm={closed:!0,next:Gn,error:cm,complete:Gn};var un=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ne(e){return e}function um(...e){return ys(e)}function ys(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=fm(n)?n:new ve(n,r,o);return ln(()=>{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=lu(r),new r((o,i)=>{let s=new ve({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[un](){return this}pipe(...n){return ys(n)(this)}toPromise(n){return n=lu(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 lu(e){var t;return(t=e??ye.Promise)!==null&&t!==void 0?t:Promise}function dm(e){return e&&C(e.next)&&C(e.error)&&C(e.complete)}function fm(e){return e&&e instanceof xt||dm(e)&&to(e)}var uu=an(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 oo(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new uu}next(n){ln(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){ln(()=>{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(){ln(()=>{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?fs:(this.currentObservers=null,i.push(n),new Z(()=>{this.currentObservers=null,Nt(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 oo(t,n),e})(),oo=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:fs}};function io(e){return e&&C(e.schedule)}function du(e){return e[e.length-1]}function dn(e){return C(du(e))?e.pop():void 0}function ot(e){return io(du(e))?e.pop():void 0}function pu(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 fu(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 At(e){return this instanceof At?(this.v=e,this):new At(e)}function hu(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(v,E){i.push([f,g,v,E])>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 At?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 gu(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 fu=="function"?fu(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 so=e=>e&&typeof e.length=="number"&&typeof e!="function";function ao(e){return C(e?.then)}function co(e){return C(e[un])}function lo(e){return Symbol.asyncIterator&&C(e?.[Symbol.asyncIterator])}function uo(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 pm(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var fo=pm();function po(e){return C(e?.[fo])}function ho(e){return hu(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield At(n.read());if(o)return yield At(void 0);yield yield At(r)}}finally{n.releaseLock()}})}function go(e){return C(e?.getReader)}function F(e){if(e instanceof N)return e;if(e!=null){if(co(e))return hm(e);if(so(e))return gm(e);if(ao(e))return mm(e);if(lo(e))return mu(e);if(po(e))return ym(e);if(go(e))return vm(e)}throw uo(e)}function hm(e){return new N(t=>{let n=e[un]();if(C(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function gm(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function mm(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,no)})}function ym(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function mu(e){return new N(t=>{Em(e,t).catch(n=>t.error(n))})}function vm(e){return mu(ho(e))}function Em(e,t){var n,r,o,i;return pu(this,void 0,void 0,function*(){try{for(n=gu(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 Im(e){return C(e?.lift)}function M(e){return t=>{if(Im(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 vs(e,t,n,r,o)}var vs=class extends xt{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 mo(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 yo(e,t=0){return M((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function yu(e,t){return F(e).pipe(yo(t),mo(t))}function vu(e,t){return F(e).pipe(yo(t),mo(t))}function Eu(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 Iu(e,t){return new N(n=>{let r;return oe(n,t,()=>{r=e[fo](),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 vo(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 Du(e,t){return vo(ho(e),t)}function Cu(e,t){if(e!=null){if(co(e))return yu(e,t);if(so(e))return Eu(e,t);if(ao(e))return vu(e,t);if(lo(e))return vo(e,t);if(po(e))return Iu(e,t);if(go(e))return Du(e,t)}throw uo(e)}function it(e,t){return t?Cu(e,t):F(e)}function Dm(...e){let t=ot(e);return it(e,t)}function st(e,t){return M((n,r)=>{let o=0;n.subscribe(_(r,i=>{r.next(e.call(t,i,o++))}))})}function Es(e){return M((t,n)=>{let r=null,o=!1,i;r=t.subscribe(_(n,void 0,void 0,s=>{i=F(e(s,Es(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var Eo=class extends Z{constructor(t,n){super()}schedule(t,n=0){return this}};var zn={setInterval(e,t,...n){let{delegate:r}=zn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=zn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Io=class extends Eo{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 zn.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&&zn.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,Nt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var Qn={now(){return(Qn.delegate||Date).now()},delegate:void 0};var fn=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)}};fn.now=Qn.now;var Do=class extends fn{constructor(t,n=fn.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 Is=new Do(Io),bu=Is;function Cm(e,t=Is){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 Rt=new N(e=>e.complete());function Co(e){return e<=0?()=>Rt:M((t,n)=>{let r=0;t.subscribe(_(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function bm(e,t=ne){return e=e??wm,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 wm(e,t){return e===t}function wu(e){return M((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Tu(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 _u(e){return M((t,n)=>{F(e).subscribe(_(n,()=>n.complete(),Gn)),!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 Yn=class extends le{constructor(t=1/0,n=1/0,r=Qn){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 Tm(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 _m(e){return!!e&&(e instanceof N||C(e.lift)&&C(e.subscribe))}var kt=an(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Mm(e,t){let n=typeof t=="object";return new Promise((r,o)=>{let i=new ve({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{n?r(t.defaultValue):o(new kt)}});e.subscribe(i)})}function Mu(e){return e instanceof Date&&!isNaN(e)}var{isArray:Nm}=Array;function Sm(e,t){return Nm(t)?e(...t):e(t)}function bo(e){return st(t=>Sm(e,t))}var{isArray:xm}=Array,{getPrototypeOf:Am,prototype:Rm,keys:km}=Object;function wo(e){if(e.length===1){let t=e[0];if(xm(t))return{args:t,keys:null};if(Om(t)){let n=km(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Om(e){return e&&typeof e=="object"&&Am(e)===Rm}function To(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Pm(...e){let t=ot(e),n=dn(e),{args:r,keys:o}=wo(e);if(r.length===0)return it([],t);let i=new N(Lm(r,t,o?s=>To(o,s):ne));return n?i.pipe(bo(n)):i}function Lm(e,t,n=ne){return r=>{Nu(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Nu(t,()=>{let l=it(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 Nu(e,t,n){e?oe(n,e,t):t()}function Su(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 v=!1;F(n(g,u++)).subscribe(_(t,E=>{o?.(E),i?f(E):t.next(E)},()=>{v=!0},void 0,()=>{if(v)try{for(l--;c.length&&l<r;){let E=c.shift();s?oe(t,s,()=>h(E)):h(E)}p()}catch(E){t.error(E)}}))};return e.subscribe(_(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Ot(e,t,n=1/0){return C(t)?Ot((r,o)=>st((i,s)=>t(r,i,o,s))(F(e(r,o))),n):(typeof t=="number"&&(n=t),M((r,o)=>Su(r,o,e,n)))}function Ds(e=1/0){return Ot(ne,e)}function xu(){return Ds(1)}function _o(...e){return xu()(it(e,ot(e)))}function Fm(e){return new N(t=>{F(e()).subscribe(t)})}function jm(...e){let t=dn(e),{args:n,keys:r}=wo(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?To(r,a):a),i.complete())}))}});return t?o.pipe(bo(t)):o}function Cs(e=0,t,n=bu){let r=-1;return t!=null&&(io(t)?n=t:r=t),new N(o=>{let i=Mu(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:Vm}=Array;function Au(e){return e.length===1&&Vm(e[0])?e[0]:e}function bs(e,t){return M((n,r)=>{let o=0;n.subscribe(_(r,i=>e.call(t,i,o++)&&r.next(i)))})}function Hm(...e){let t=dn(e),n=Au(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}}):Rt}function Bm(e,t){return C(t)?Ot(e,t,1):Ot(e,1)}function Ru(e){return M((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function ku(e=$m){return M((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function $m(){return new kt}function Um(e,t){let n=arguments.length>=2;return r=>r.pipe(e?bs((o,i)=>e(o,i,r)):ne,Co(1),n?Ru(t):ku(()=>new kt))}function Wm(e){return e<=0?()=>Rt: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 qm(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"?Cs(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 Ou(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,v)=>{l++,!d&&!u&&p();let E=c=c??t();v.add(()=>{l--,l===0&&!d&&!u&&(a=ws(h,o))}),E.subscribe(v),!s&&l>0&&(s=new ve({next:R=>E.next(R),error:R=>{d=!0,p(),a=ws(f,n,R),E.error(R)},complete:()=>{u=!0,p(),a=ws(f,r),E.complete()}}),F(g).subscribe(s))})(i)}}function ws(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new ve({next:()=>{r.unsubscribe(),e()}});return F(t(...n)).subscribe(r)}function Gm(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,Ou({connector:()=>new Yn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function zm(...e){let t=ot(e);return M((n,r)=>{(t?_o(e,n,t):_o(e,n)).subscribe(r)})}function Pu(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 Mo(e,t,n){let r=Object.create(Qm);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(Mt(r),et(r),r.value===Ne)throw r.error;return r.value};return i[j]=r,Un(r),i}function Ts(e,t){Mt(e),rt(e,t),rn(e)}function _s(e,t){if(Mt(e),e.value===Ne)throw e.error;Jr(e,t),rn(e)}var Qm=Q(z({},He),{value:Tt,dirty:!0,error:null,equal:Wn,kind:"linkedSignal",producerMustRecompute(e){return e.value===Tt||e.value===_t},producerRecomputeValue(e){if(e.value===_t)throw new Error("");let t=e.value;e.value=_t;let n=Be(e),r,o=!1;try{let i=e.source(),s=t!==Tt&&t!==Ne,a=s?{source:e.sourceValue,value:t}:void 0;r=e.computation(i,a),e.sourceValue=i,I(null),o=s&&r!==Ne&&e.equal(t,r)}catch(i){r=Ne,e.error=i}finally{tt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function Ms(e){let t=I(null);try{return e()}finally{I(t)}}var Ns;function No(){return Ns}function Se(e){let t=Ns;return Ns=e,t}var Lu=Symbol("NotFound");function pn(e){return e===Lu||e?.name==="\u0275NotFound"}var xs=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 Po="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(t,n){super(rr(t,n)),this.code=t}};function Zm(e){return`NG0${Math.abs(e)}`}function rr(e,t){return`${Zm(e)}${t?": "+t:""}`}var Re=globalThis;function L(e){for(let t in e)if(e[t]===L)return t;throw Error("")}function Bu(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function or(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(or).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 Lo(e,t){return e?t?`${e} ${t}`:e:t||""}var Ym=L({__forward_ref__:L});function Fo(e){return e.__forward_ref__=Fo,e}function Y(e){return $s(e)?e():e}function $s(e){return typeof e=="function"&&e.hasOwnProperty(Ym)&&e.__forward_ref__===Fo}function $u(e,t,n){e!=t&&Uu(n,e,t,"==")}function Uu(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 Wu(e){return{providers:e.providers||[],imports:e.imports||[]}}function ir(e){return Jm(e,jo)}function Km(e){return ir(e)!==null}function Jm(e,t){return e.hasOwnProperty(t)&&e[t]||null}function Xm(e){let t=e?.[jo]??null;return t||null}function As(e){return e&&e.hasOwnProperty(xo)?e[xo]:null}var jo=L({\u0275prov:L}),xo=L({\u0275inj:L}),k=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 Us(e){return e&&!!e.\u0275providers}var Ws=L({\u0275cmp:L}),qs=L({\u0275dir:L}),Gs=L({\u0275pipe:L}),zs=L({\u0275mod:L}),Jn=L({\u0275fac:L}),Vt=L({__NG_ELEMENT_ID__:L}),Fu=L({__NG_ENV_ID__:L});function Qs(e){return Ho(e,"@NgModule"),e[zs]||null}function Ie(e){return Ho(e,"@Component"),e[Ws]||null}function Vo(e){return Ho(e,"@Directive"),e[qs]||null}function Zs(e){return Ho(e,"@Pipe"),e[Gs]||null}function Ho(e,t){if(e==null)throw new b(-919,!1)}function pe(e){return typeof e=="string"?e:e==null?"":String(e)}var qu=L({ngErrorCode:L}),ey=L({ngErrorMessage:L}),ty=L({ngTokenPath:L});function Ys(e,t){return Gu("",-200,t)}function Bo(e,t){throw new b(-201,!1)}function Gu(e,t,n){let r=new b(t,e);return r[qu]=t,r[ey]=e,n&&(r[ty]=n),r}function ny(e){return e[qu]}var Rs;function zu(){return Rs}function re(e){let t=Rs;return Rs=e,t}function Ks(e,t,n){let r=ir(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;Bo(e,"")}var ry={},Pt=ry,oy="__NG_DI_FLAG__",ks=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Lt(n)||0;try{return this.injector.get(t,r&8?null:Pt,r)}catch(o){if(pn(o))return o;throw o}}};function iy(e,t=0){let n=No();if(n===void 0)throw new b(-203,!1);if(n===null)return Ks(e,void 0,t);{let r=sy(t),o=n.retrieve(e,r);if(pn(o)){if(r.optional)return null;throw o}return o}}function xe(e,t=0){return(zu()||iy)(Y(e),t)}function T(e,t){return xe(e,Lt(t))}function Lt(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function sy(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Os(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=ay(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(xe(o,i))}else t.push(xe(r))}return t}function ay(e){return e[oy]}function at(e,t){let n=e.hasOwnProperty(Jn);return n?e[Jn]:null}function Qu(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 Zu(e){return e.flat(Number.POSITIVE_INFINITY)}function $o(e,t){e.forEach(n=>Array.isArray(n)?$o(n,t):t(n))}function Js(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function sr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Yu(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Ku(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 ar(e,t,n){let r=gn(e,t);return r>=0?e[r|1]=n:(r=~r,Ku(e,r,t,n)),r}function Uo(e,t){let n=gn(e,t);if(n>=0)return e[n|1]}function gn(e,t){return cy(e,t,1)}function cy(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 ut={},K=[],cr=new k(""),Xs=new k("",-1),ea=new k(""),Xn=class{get(t,n=Pt){if(n===Pt){let o=Gu("",-201);throw o.name="\u0275NotFound",o}return n}};function ta(e){return{\u0275providers:e}}function Ju(...e){return{\u0275providers:Wo(!0,e),\u0275fromNgModule:!0}}function Wo(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return $o(t,s=>{let a=s;Ao(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Xu(o,i),n}function Xu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];na(o,i=>{t(i,r)})}}function Ao(e,t,n,r){if(e=Y(e),!e)return!1;let o=null,i=As(e),s=!i&&Ie(e);if(!i&&!s){let c=e.ngModule;if(i=As(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Ao(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;$o(i.imports,u=>{Ao(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&Xu(l,t)}if(!a){let l=at(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:ea,useValue:o,multi:!0},o),t({provide:cr,useValue:()=>xe(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;na(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function na(e,t){for(let n of e)Us(n)&&(n=n.\u0275providers),Array.isArray(n)?na(n,t):t(n)}var ly=L({provide:String,useValue:L});function ed(e){return e!==null&&typeof e=="object"&&ly in e}function uy(e){return!!(e&&e.useExisting)}function dy(e){return!!(e&&e.useFactory)}function Ft(e){return typeof e=="function"}function td(e){return!!e.useClass}var ra=new k(""),So={},ju={},Ss;function mn(){return Ss===void 0&&(Ss=new Xn),Ss}var ue=class{},jt=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,Ls(t,s=>this.processProvider(s)),this.records.set(Xs,hn(void 0,this)),o.has("environment")&&this.records.set(ue,hn(void 0,this));let i=this.records.get(ra);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(ea,K,{self:!0}))}retrieve(t,n){let r=Lt(n)||0;try{return this.get(t,Pt,r)}catch(o){if(pn(o))return o;throw o}}destroy(){Kn(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 Kn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Kn(this);let n=Se(this),r=re(void 0),o;try{return t()}finally{Se(n),re(r)}}get(t,n=Pt,r){if(Kn(this),t.hasOwnProperty(Fu))return t[Fu](this);let o=Lt(r),i,s=Se(this),a=re(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=my(t)&&ir(t);u&&this.injectableDefInScope(u)?l=hn(Ps(t),So):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?mn():this.parent;return n=o&8&&n===Pt?null:n,c.get(t,n)}catch(c){let l=ny(c);throw l===-200||l===-201?new b(l,null):c}finally{re(a),Se(s)}}resolveInjectorInitializers(){let t=I(null),n=Se(this),r=re(void 0),o;try{let i=this.get(cr,K,{self:!0});for(let s of i)s()}finally{Se(n),re(r),I(t)}}toString(){return"R3Injector[...]"}processProvider(t){t=Y(t);let n=Ft(t)?t:Y(t&&t.provide),r=py(t);if(!Ft(t)&&t.multi===!0){let o=this.records.get(n);o||(o=hn(void 0,So,!0),o.factory=()=>Os(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===ju)throw Ys("");return n.value===So&&(n.value=ju,n.value=n.factory(void 0,r)),typeof n.value=="object"&&n.value&&gy(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 Ps(e){let t=ir(e),n=t!==null?t.factory:at(e);if(n!==null)return n;if(e instanceof k)throw new b(-204,!1);if(e instanceof Function)return fy(e);throw new b(-204,!1)}function fy(e){if(e.length>0)throw new b(-204,!1);let n=Xm(e);return n!==null?()=>n.factory(e):()=>new e}function py(e){if(ed(e))return hn(void 0,e.useValue);{let t=oa(e);return hn(t,So)}}function oa(e,t,n){let r;if(Ft(e)){let o=Y(e);return at(o)||Ps(o)}else if(ed(e))r=()=>Y(e.useValue);else if(dy(e))r=()=>e.useFactory(...Os(e.deps||[]));else if(uy(e))r=(o,i)=>xe(Y(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Y(e&&(e.useClass||e.provide));if(hy(e))r=()=>new o(...Os(e.deps));else return at(o)||Ps(o)}return r}function Kn(e){if(e.destroyed)throw new b(-205,!1)}function hn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function hy(e){return!!e.deps}function gy(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function my(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Ls(e,t){for(let n of e)Array.isArray(n)?Ls(n,t):n&&Us(n)?Ls(n.\u0275providers,t):t(n)}function qo(e,t){let n;e instanceof jt?(Kn(e),n=e):n=new ks(e);let r,o=Se(n),i=re(void 0);try{return t()}finally{Se(o),re(i)}}function nd(){return zu()!==void 0||No()!=null}var De=0,y=1,D=2,$=3,he=4,ee=5,Ht=6,yn=7,H=8,ie=9,Ce=10,S=11,vn=12,ia=13,Bt=14,te=15,dt=16,$t=17,ke=18,Ge=19,sa=20,Ue=21,Go=22,ct=23,de=24,Ut=25,ft=26,A=27,rd=1,pt=6,ht=7,lr=8,Wt=9,V=10;function ze(e){return Array.isArray(e)&&typeof e[rd]=="object"}function be(e){return Array.isArray(e)&&e[rd]===!0}function aa(e){return(e.flags&4)!==0}function Qe(e){return e.componentOffset>-1}function En(e){return(e.flags&1)===1}function Oe(e){return!!e.template}function In(e){return(e[D]&512)!==0}function gt(e){return(e[D]&256)===256}var ca="svg",od="math";function se(e){for(;Array.isArray(e);)e=e[De];return e}function ur(e,t){return se(t[e])}function we(e,t){return se(t[e.index])}function Dn(e,t){return e.data[t]}function Cn(e,t){return e[t]}function dr(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function ge(e,t){let n=t[e];return ze(n)?n:n[De]}function id(e){return(e[D]&4)===4}function zo(e){return(e[D]&128)===128}function sd(e){return be(e[$])}function ae(e,t){return t==null?null:e[t]}function la(e){e[$t]=0}function ua(e){e[D]&1024||(e[D]|=1024,zo(e)&&qt(e))}function ad(e,t){for(;e>0;)t=t[Bt],e--;return t}function fr(e){return!!(e[D]&9216||e[de]?.dirty)}function Qo(e){e[Ce].changeDetectionScheduler?.notify(8),e[D]&64&&(e[D]|=1024),fr(e)&&qt(e)}function qt(e){e[Ce].changeDetectionScheduler?.notify(0);let t=lt(e);for(;t!==null&&!(t[D]&8192||(t[D]|=8192,!zo(t)));)t=lt(t)}function Zo(e,t){if(gt(e))throw new b(911,!1);e[Ue]===null&&(e[Ue]=[]),e[Ue].push(t)}function da(e,t){if(e[Ue]===null)return;let n=e[Ue].indexOf(t);n!==-1&&e[Ue].splice(n,1)}function lt(e){let t=e[$];return be(t)?t[$]:t}function fa(e){return e[yn]??=[]}function pa(e){return e.cleanup??=[]}function cd(e,t,n,r){let o=fa(t);o.push(n),e.firstCreatePass&&pa(e).push(r,o.length-1)}var w={lFrame:Ed(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Fs=!1;function ld(){return w.lFrame.elementDepthCount}function ud(){w.lFrame.elementDepthCount++}function ha(){w.lFrame.elementDepthCount--}function Yo(){return w.bindingsEnabled}function ga(){return w.skipHydrationRootTNode!==null}function ma(e){return w.skipHydrationRootTNode===e}function ya(){w.skipHydrationRootTNode=null}function m(){return w.lFrame.lView}function P(){return w.lFrame.tView}function dd(e){return w.lFrame.contextLView=e,e[H]}function fd(e){return w.lFrame.contextLView=null,e}function W(){let e=va();for(;e!==null&&e.type===64;)e=e.parent;return e}function va(){return w.lFrame.currentTNode}function bn(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Pe(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function Ea(){return w.lFrame.isParent}function Ia(){w.lFrame.isParent=!1}function Da(){return w.lFrame.contextLView}function Ca(){return Fs}function er(e){let t=Fs;return Fs=e,t}function Ze(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ko(){return w.lFrame.bindingIndex}function pd(e){return w.lFrame.bindingIndex=e}function Te(){return w.lFrame.bindingIndex++}function pr(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function hd(){return w.lFrame.inI18n}function ba(e){w.lFrame.inI18n=e}function gd(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,Jo(t)}function md(){return w.lFrame.currentDirectiveIndex}function Jo(e){w.lFrame.currentDirectiveIndex=e}function yd(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Xo(){return w.lFrame.currentQueryIndex}function hr(e){w.lFrame.currentQueryIndex=e}function yy(e){let t=e[y];return t.type===2?t.declTNode:t.type===1?e[ee]:null}function wa(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=yy(i),o===null||(i=i[Bt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=vd();return r.currentTNode=t,r.lView=e,!0}function ei(e){let t=vd(),n=e[y];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function vd(){let e=w.lFrame,t=e===null?null:e.child;return t===null?Ed(e):t}function Ed(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 Id(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ta=Id;function ti(){let e=Id();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 Dd(e){return(w.lFrame.contextLView=ad(e,w.lFrame.contextLView))[H]}function me(){return w.lFrame.selectedIndex}function mt(e){w.lFrame.selectedIndex=e}function wn(){let e=w.lFrame;return Dn(e.tView,e.selectedIndex)}function Cd(){w.lFrame.currentNamespace=ca}function bd(){vy()}function vy(){w.lFrame.currentNamespace=null}function wd(){return w.lFrame.currentNamespace}var Td=!0;function gr(){return Td}function Tn(e){Td=e}function js(e,t=null,n=null,r){let o=_a(e,t,n,r);return o.resolveInjectorInitializers(),o}function _a(e,t=null,n=null,r,o=new Set){let i=[n||K,Ju(e)],s;return new jt(i,t||mn(),s||null,o)}var Ee=class e{static THROW_IF_NOT_FOUND=Pt;static NULL=new Xn;static create(t,n){if(Array.isArray(t))return js({name:""},n,t,"");{let r=t.name??"";return js({name:r},t.parent,t.providers,r)}}static \u0275prov=U({token:e,providedIn:"any",factory:()=>xe(Xs)});static __NG_ELEMENT_ID__=-1},Ma=new k(""),Ye=(()=>{class e{static __NG_ELEMENT_ID__=Ey;static __NG_ENV_ID__=n=>n}return e})(),Ro=class extends Ye{_lView;constructor(t){super(),this._lView=t}get destroyed(){return gt(this._lView)}onDestroy(t){let n=this._lView;return Zo(n,t),()=>da(n,t)}};function Ey(){return new Ro(m())}var _d=!1,Md=new k(""),Gt=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Zn(!1);debugTaskTracker=T(Md,{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})(),Vs=class extends le{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,nd()&&(this.destroyRef=T(Ye,{optional:!0})??void 0,this.pendingTasks=T(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=Vs;function ko(...e){}function Na(e){let t,n;function r(){e=ko;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 Nd(e){return queueMicrotask(()=>e()),()=>{e=ko}}var Sa="isAngularZone",tr=Sa+"_ID",Iy=0,Ae=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=_d}=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,by(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Sa)===!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,Dy,ko,ko);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)}},Dy={};function xa(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 Cy(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Na(()=>{e.callbackScheduled=!1,Hs(e),e.isCheckStableRunning=!0,xa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Hs(e)}function by(e){let t=()=>{Cy(e)},n=Iy++;e._inner=e._inner.fork({name:"angular",properties:{[Sa]:!0,[tr]:n,[tr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(wy(c))return r.invokeTask(i,s,a,c);try{return Vu(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Hu(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Vu(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Ty(c)&&t(),Hu(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,Hs(e),xa(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 Hs(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Vu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hu(e){e._nesting--,xa(e)}var nr=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 wy(e){return Sd(e,"__ignore_ng_zone__")}function Ty(e){return Sd(e,"__scheduler_tick__")}function Sd(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 k("",{factory:()=>{let e=T(Ae),t=T(ue),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(We),n.handleError(r))})}}}),xd={provide:cr,useValue:()=>{let e=T(We,{optional:!0})},multi:!0};function yt(e,t){let[n,r,o]=ls(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 mr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=_y}return e})();function _y(){return new mr(m(),W())}var qe=class{},yr=new k("",{factory:()=>!0});var Aa=new k(""),vr=(()=>{class e{internalPendingTasks=T(Gt);scheduler=T(qe);errorHandler=T(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})(),ni=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>new Bs})}return e})(),Bs=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}},Oo=class{[j];constructor(t){this[j]=t}destroy(){this[j].destroy()}};function Ra(e,t){let n=t?.injector??T(Ee),r=t?.manualCleanup!==!0?n.get(Ye):null,o,i=n.get(mr,null,{optional:!0}),s=n.get(qe);return i!==null?(o=Sy(i.view,s,e),r instanceof Ro&&r._lView===i.view&&(r=null)):o=xy(e,n.get(ni),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Oo(o)}var Ad=Q(z({},us),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=er(!1);try{ds(this)}finally{er(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=I(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],I(e)}}}),My=Q(z({},Ad),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(nt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),Ny=Q(z({},Ad),{consumerMarkedDirty(){this.view[D]|=8192,qt(this.view),this.notifier.notify(13)},destroy(){if(nt(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[ct]?.delete(this)}});function Sy(e,t,n){let r=Object.create(Ny);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=Rd(r,n),e[ct]??=new Set,e[ct].add(r),r.consumerMarkedDirty(r),r}function xy(e,t,n){let r=Object.create(My);return r.fn=Rd(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 Rd(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function jr(e){return{toString:e}.toString()}function jy(e){return typeof e=="function"}function Tf(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var hi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}},Vy=(()=>{let e=()=>_f;return e.ngInherit=!0,e})();function _f(e){return e.type.prototype.ngOnChanges&&(e.setInput=By),Hy}function Hy(){let e=Nf(this),t=e?.current;if(t){let n=e.previous;if(n===ut)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function By(e,t,n,r,o){let i=this.declaredInputs[r],s=Nf(e)||$y(e,{previous:ut,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new hi(l&&l.currentValue,n,c===ut),Tf(e,t,o,n)}var Mf="__ngSimpleChanges__";function Nf(e){return e[Mf]||null}function $y(e,t){return e[Mf]=t}var kd=[];var O=function(e,t=null,n){for(let r=0;r<kd.length;r++){let o=kd[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 Uy(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=_f(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 Sf(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 ai(e,t,n){xf(e,t,3,n)}function ci(e,t,n,r){(e[D]&3)===n&&xf(e,t,n,r)}function ka(e,t){let n=e[D];(n&3)===t&&(n&=16383,n+=1,e[D]=n)}function xf(e,t,n,r){let o=r!==void 0?e[$t]&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[$t]+=65536),(a<i||i==-1)&&(Wy(e,n,t,c),e[$t]=(e[$t]&4294901760)+c+2),c++}function Od(e,t){O(x.LifecycleHookStart,e,t);let n=I(null);try{t.call(e)}finally{I(n),O(x.LifecycleHookEnd,e,t)}}function Wy(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[$t]>>16&&(e[D]&3)===t&&(e[D]+=16384,Od(a,i)):Od(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 qy(e){return(e.flags&8)!==0}function Gy(e){return(e.flags&16)!==0}function zy(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];Qy(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Af(e){return e===3||e===4||e===6}function Qy(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?Pd(e,n,o,null,t[++r]):Pd(e,n,o,null,null))}}return e}function Pd(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 Rf(e){return e!==Nn}function gi(e){return e&32767}function Zy(e){return e>>16}function mi(e,t){let n=Zy(e),r=t;for(;n>0;)r=r[Bt],n--;return r}var Ga=!0;function yi(e){let t=Ga;return Ga=e,t}var Yy=256,kf=Yy-1,Of=5,Ky=0,Le={};function Jy(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Vt)&&(r=n[Vt]),r==null&&(r=n[Vt]=Ky++);let o=r&kf,i=1<<o;t.data[e+(o>>Of)]|=i}function vi(e,t){let n=Pf(e,t);if(n!==-1)return n;let r=t[y];r.firstCreatePass&&(e.injectorIndex=t.length,Oa(r.data,e),Oa(t,null),Oa(r.blueprint,null));let o=Lc(e,t),i=e.injectorIndex;if(Rf(o)){let s=gi(o),a=mi(o,t),c=a[y].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Oa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Pf(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Lc(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=Hf(o),r===null)return Nn;if(n++,o=o[Bt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Nn}function za(e,t,n){Jy(e,t,n)}function Xy(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(Af(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 Lf(e,t,n){if(n&8||e!==void 0)return e;Bo(t,"NodeInjector")}function Ff(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):Ks(t,r,n&8)}finally{re(i)}}return Lf(r,t,n)}function jf(e,t,n,r=0,o){if(e!==null){if(t[D]&2048&&!(r&2)){let s=ov(e,t,n,r,Le);if(s!==Le)return s}let i=Vf(e,t,n,r,Le);if(i!==Le)return i}return Ff(t,n,r,o)}function Vf(e,t,n,r,o){let i=tv(n);if(typeof i=="function"){if(!wa(t,e,r))return r&1?Lf(o,n,r):Ff(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Bo(n);else return s}finally{Ta()}}else if(typeof i=="number"){let s=null,a=Pf(e,t),c=Nn,l=r&1?t[te][ee]:null;for((a===-1||r&4)&&(c=a===-1?Lc(e,t):t[a+8],c===Nn||!Fd(r,!1)?a=-1:(s=t[y],a=gi(c),t=mi(c,t)));a!==-1;){let u=t[y];if(Ld(i,a,u.data)){let d=ev(a,t,n,s,r,l);if(d!==Le)return d}c=t[a+8],c!==Nn&&Fd(r,t[y].data[a+8]===l)&&Ld(i,a,t)?(s=u,a=gi(c),t=mi(c,t)):a=-1}}return o}function ev(e,t,n,r,o,i){let s=t[y],a=s.data[e+8],c=r==null?Qe(a)&&Ga:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=li(a,s,n,c,l);return u!==null?Mr(t,s,u,a,o):Le}function li(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&&Oe(f)&&f.type===n)return c}return null}function Mr(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof Zt){let a=i;if(a.resolving)throw Ys("");let c=yi(a.canSeeViewProviders);a.resolving=!0;let l=s[n].type||s[n],u,d=a.injectImpl?re(a.injectImpl):null,p=wa(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&Uy(n,s[n],t)}finally{d!==null&&re(d),yi(c),a.resolving=!1,Ta()}}return i}function tv(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(Vt)?e[Vt]:void 0;return typeof t=="number"?t>=0?t&kf:nv:t}function Ld(e,t,n){let r=1<<e;return!!(n[t+(e>>Of)]&r)}function Fd(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 jf(this._tNode,this._lView,t,Lt(r),n)}};function nv(){return new Qt(W(),m())}function rv(e){return jr(()=>{let t=e.prototype.constructor,n=t[Jn]||Qa(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Jn]||Qa(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Qa(e){return $s(e)?()=>{let t=Qa(Y(e));return t&&t()}:at(e)}function ov(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[D]&2048&&!In(s);){let a=Vf(i,s,n,r|2,Le);if(a!==Le)return a;let c=i.parent;if(!c){let l=s[sa];if(l){let u=l.get(n,Le,r&-5);if(u!==Le)return u}c=Hf(s),s=s[Bt]}i=c}return o}function Hf(e){let t=e[y],n=t.type;return n===2?t.declTNode:n===1?e[ee]:null}function Bf(e){return Xy(W(),e)}function iv(){return Pn(W(),m())}function Pn(e,t){return new Vr(we(e,t))}var Vr=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=iv}return e})();function $f(e){return e instanceof Vr?e.nativeElement:e}function sv(){return this._results[Symbol.iterator]()}var Ei=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=Zu(t);(this._changesDetected=!Qu(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]=sv};function Uf(e){return(e.flags&128)===128}var Fc=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Fc||{}),Wf=new Map,av=0;function cv(){return av++}function lv(e){Wf.set(e[Ge],e)}function Za(e){Wf.delete(e[Ge])}var jd="__ngContext__";function Et(e,t){ze(t)?(e[jd]=t[Ge],lv(t)):e[jd]=t}function qf(e){return zf(e[vn])}function Gf(e){return zf(e[he])}function zf(e){for(;e!==null&&!be(e);)e=e[he];return e}var Ya;function uv(e){Ya=e}function jc(){if(Ya!==void 0)return Ya;if(typeof document<"u")return document;throw new b(210,!1)}var dv=new k("",{factory:()=>fv}),fv="ng";var Qf=new k(""),pv=new k("",{providedIn:"platform",factory:()=>"unknown"});var hv=new k("",{factory:()=>T(Ma).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Zf={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},gv=new k("",{factory:()=>Zf});var Yf="r";var Vc="di",Hc="s";var Kf=!1,Jf=new k("",{factory:()=>Kf});var Xf=new k("");var Vd=new WeakMap;function mv(e,t){if(e==null||typeof e!="object")return;let n=Vd.get(e);n||(n=new WeakSet,Vd.set(e,n)),n.add(t)}var yv=(e,t,n,r)=>{};function vv(e,t,n,r){yv(e,t,n,r)}var ep=new k("");function Pi(e){return(e.flags&32)===32}var Ev=()=>null;function tp(e,t,n=!1){return Ev(e,t,n)}function Bc(e){return e.get(Xf,!1,{optional:!0})}function np(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];hr(i),a.contentQueries(2,t[s],s)}}}finally{I(r)}}}function Ka(e,t,n){hr(0);let r=I(null);try{t(e,n)}finally{I(r)}}function $c(e,t,n){if(aa(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 ri;function Iv(){if(ri===void 0&&(ri=null,Re.trustedTypes))try{ri=Re.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return ri}function Li(e){return Iv()?.createHTML(e)||e}var oi;function rp(){if(oi===void 0&&(oi=null,Re.trustedTypes))try{oi=Re.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return oi}function Hd(e){return rp()?.createHTML(e)||e}function Bd(e){return rp()?.createScriptURL(e)||e}var Je=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Po})`}},Ja=class extends Je{getTypeName(){return"HTML"}},Xa=class extends Je{getTypeName(){return"Style"}},ec=class extends Je{getTypeName(){return"Script"}},tc=class extends Je{getTypeName(){return"URL"}},nc=class extends Je{getTypeName(){return"ResourceURL"}};function tn(e){return e instanceof Je?e.changingThisBreaksApplicationSecurity:e}function Fi(e,t){let n=op(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Po})`)}return n===t}function op(e){return e instanceof Je&&e.getTypeName()||null}function Dv(e){return new Ja(e)}function Cv(e){return new Xa(e)}function bv(e){return new ec(e)}function wv(e){return new tc(e)}function Tv(e){return new nc(e)}function ip(e){let t=new oc(e);return _v()?new rc(t):t}var rc=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Li(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},oc=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=Li(t),n}};function _v(){try{return!!new window.DOMParser().parseFromString(Li(""),"text/html")}catch{return!1}}var Mv=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ji(e){return e=String(e),e.match(Mv)?e:"unsafe:"+e}function Fe(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Ln(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var sp=Fe("area,br,col,hr,img,wbr"),ap=Fe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),cp=Fe("rp,rt"),Nv=Ln(cp,ap),Sv=Ln(ap,Fe("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")),xv=Ln(cp,Fe("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")),ic=Ln(sp,Sv,xv,Nv),Uc=Fe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Av=Fe("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"),Rv=Fe("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"),sc=Ln(Uc,Av,Rv),kv=Fe("script,style,template"),$d=Ln(Uc,Fe("action,formaction,data,codebase")),ac=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=Lv(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Pv(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Ud(t).toLowerCase();if(!ic.hasOwnProperty(n))return this.sanitizedSomething=!0,!kv.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(!sc.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Uc[a]&&(c=ji(c)),this.buf.push(" ",s,'="',Wd(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Ud(t).toLowerCase();ic.hasOwnProperty(n)&&!sp.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Wd(t))}};function Ov(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Pv(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw lp(t);return t}function Lv(e){let t=e.firstChild;if(t&&Ov(e,t))throw lp(t);return t}function Ud(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function lp(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Fv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jv=/([^\#-~ |!])/g;function Wd(e){return e.replace(/&/g,"&amp;").replace(Fv,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(jv,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var ii;function up(e,t){let n=null;try{ii=ii||ip(e);let r=t?String(t):"";n=ii.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=ii.getInertBodyElement(r)}while(r!==i);let a=new ac().sanitizeChildren(cc(n)||n);return Li(a)}finally{if(n){let r=cc(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function cc(e){return"content"in e&&Vv(e)?e.content:null}function Vv(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Hv=/^>|^->|<!--|-->|--!>|<!-$/g,Bv=/(<|>)/g,$v="\u200B$1\u200B";function Uv(e){return e.replace(Hv,t=>t.replace(Bv,$v))}function dp(e,t){return e.createText(t)}function fp(e,t,n){e.setValue(t,n)}function pp(e,t){return e.createComment(Uv(t))}function Wc(e,t,n){return e.createElement(t,n)}function Kt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function hp(e,t,n){e.appendChild(t,n)}function qd(e,t,n,r,o){r!==null?Kt(e,t,n,r,o):hp(e,t,n)}function qc(e,t,n,r){e.removeChild(null,t,n,r)}function Wv(e,t,n){e.setAttribute(t,"style",n)}function qv(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function gp(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&zy(e,t,r),o!==null&&qv(e,t,o),i!==null&&Wv(e,t,i)}var Hr=(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})(Hr||{});function Gv(e){let t=Gc();return t?Hd(t.sanitize(Hr.HTML,e)||""):Fi(e,"HTML")?Hd(tn(e)):up(jc(),pe(e))}function mp(e){let t=Gc();return t?t.sanitize(Hr.URL,e)||"":Fi(e,"URL")?tn(e):ji(pe(e))}function yp(e){let t=Gc();if(t)return Bd(t.sanitize(Hr.RESOURCE_URL,e)||"");if(Fi(e,"ResourceURL"))return Bd(tn(e));throw new b(904,!1)}var zv={embed:{src:!0},frame:{src:!0},iframe:{src:!0},media:{src:!0},script:{src:!0,href:!0,"xlink:href":!0},base:{href:!0},link:{href:!0},object:{data:!0,codebase:!0}};function Qv(e,t){return zv[e]?.[t]===!0?yp:mp}function Zv(e,t,n){return Qv(t,n)(e)}function Gc(){let e=m();return e&&e[Ce].sanitizer}function Yv(e){return e.ownerDocument.defaultView}function vp(e){return e instanceof Function?e():e}function Kv(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 Ep="ng-template";function Jv(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&Kv(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(zc(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 zc(e){return e.type===4&&e.value!==Ep}function Xv(e,t,n){let r=e.type===4&&!n?Ep:e.value;return t===r}function eE(e,t,n){let r=4,o=e.attrs,i=o!==null?rE(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!_e(r)&&!_e(c))return!1;if(s&&_e(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Xv(e,c,n)||c===""&&t.length===1){if(_e(r))return!1;s=!0}}else if(r&8){if(o===null||!Jv(e,o,c,n)){if(_e(r))return!1;s=!0}}else{let l=t[++a],u=tE(c,o,zc(e),n);if(u===-1){if(_e(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(_e(r))return!1;s=!0}}}}return _e(r)||s}function _e(e){return(e&1)===0}function tE(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 oE(t,e)}function Ip(e,t,n=!1){for(let r=0;r<t.length;r++)if(eE(e,t[r],n))return!0;return!1}function nE(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function rE(e){for(let t=0;t<e.length;t++){let n=e[t];if(Af(n))return t}return e.length}function oE(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 iE(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 Gd(e,t){return e?":not("+t.trim()+")":t}function sE(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!==""&&!_e(s)&&(t+=Gd(i,o),o=""),r=s,i=i||!_e(r);n++}return o!==""&&(t+=Gd(i,o)),t}function aE(e){return e.map(sE).join(",")}function cE(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(!_e(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var G={};function Qc(e,t,n,r,o,i,s,a,c,l,u){let d=A+r,p=d+o,f=lE(d,p),h=typeof l=="function"?l():l;return f[y]={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 lE(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:G);return n}function uE(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Qc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Zc(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),la(d),d[$]=d[Bt]=e,d[H]=n,d[Ce]=s||e&&e[Ce],d[S]=a||e&&e[S],d[ie]=c||e&&e[ie]||null,d[ee]=i,d[Ge]=cv(),d[Ht]=u,d[sa]=l,d[te]=t.type==2?e[te]:d,d}function dE(e,t,n){let r=we(t,e),o=uE(n),i=e[Ce].rendererFactory,s=Yc(e,Zc(e,o,null,Dp(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function Dp(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Br(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 Yc(e,t){return e[vn]?e[ia][he]=t:e[vn]=t,e[ia]=t,t}function fE(e=1){Cp(P(),m(),me()+e,!1)}function Cp(e,t,n,r){if(!r)if((t[D]&3)===3){let i=e.preOrderCheckHooks;i!==null&&ai(t,i,n)}else{let i=e.preOrderHooks;i!==null&&ci(t,i,0,n)}mt(n)}var Vi=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Vi||{});function lc(e,t,n,r){let o=I(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Vi.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):Tf(t,c,i,r)}finally{I(o)}}var Ii=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(Ii||{}),uc;function Kc(e,t){return uc(e,t)}function pE(e){uc===void 0&&(uc=e())}var jR=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var dc=new WeakMap,Ir=new WeakSet;function hE(e,t){let n=dc.get(e);if(!n||n.length===0)return;let r=t.parentNode,o=t.previousSibling;for(let i=n.length-1;i>=0;i--){let s=n[i],a=s.parentNode;s===t?(n.splice(i,1),Ir.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(n.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function gE(e,t){let n=dc.get(e);n?n.includes(t)||n.push(t):dc.set(e,[t])}var Nr=new Set,Hi=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Hi||{}),Fn=new k(""),zd=new Set;function je(e){zd.has(e)||(zd.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Jc=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),bp=[0,1,2,3],wp=(()=>{class e{ngZone=T(Ae);scheduler=T(qe);errorHandler=T(We,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){T(Fn,{optional:!0})}execute(){let n=this.sequences.size>0;n&&O(x.AfterRenderHooksStart),this.executing=!0;for(let r of bp)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&&O(x.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[Ut]??=[]).push(n),qt(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(Hi.AFTER_NEXT_RENDER,n):n()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),Di=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?.[Ut];t&&(this.view[Ut]=t.filter(n=>n!==this))}};function mE(e,t){let n=t?.injector??T(Ee);return je("NgAfterNextRender"),vE(e,n,t,!0)}function yE(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function vE(e,t,n,r){let o=t.get(Jc);o.impl??=t.get(wp);let i=t.get(Fn,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Ye):null,a=t.get(mr,null,{optional:!0}),c=new Di(o.impl,yE(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Tp=new k("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:T(ue)})});function _p(e,t,n){let r=e.get(Tp);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 EE(e,t){let n=e.get(Tp);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function IE(e,t){for(let[n,r]of t)_p(e,r.animateFns)}function Qd(e,t,n,r){let o=e?.[ft]?.enter;t!==null&&o&&o.has(n.index)&&IE(r,o)}function Mn(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;be(o)?c=o:ze(o)&&(l=!0,o=o[De]);let u=se(o);e===0&&r!==null?(Qd(a,r,i,n),s==null?hp(t,r,u):Kt(t,r,u,s||null,!0)):e===1&&r!==null?(Qd(a,r,i,n),Kt(t,r,u,s||null,!0),hE(i,u)):e===2?(a?.[ft]?.leave?.has(i.index)&&gE(i,u),Ir.delete(u),Zd(a,i,n,d=>{if(Ir.has(u)){Ir.delete(u);return}qc(t,u,l,d)})):e===3&&(Ir.delete(u),Zd(a,i,n,()=>{t.destroyNode(u)})),c!=null&&NE(t,e,n,c,i,r,s)}}function DE(e,t){Mp(e,t),t[De]=null,t[ee]=null}function CE(e,t,n,r,o,i){r[De]=o,r[ee]=t,$i(e,r,n,1,o,i)}function Mp(e,t){t[Ce].changeDetectionScheduler?.notify(9),$i(e,t,t[S],2,null,null)}function bE(e){let t=e[vn];if(!t)return Pa(e[y],e);for(;t;){let n=null;if(ze(t))n=t[vn];else{let r=t[V];r&&(n=r)}if(!n){for(;t&&!t[he]&&t!==e;)ze(t)&&Pa(t[y],t),t=t[$];t===null&&(t=e),ze(t)&&Pa(t[y],t),n=t&&t[he]}t=n}}function Xc(e,t){let n=e[Wt],r=n.indexOf(t);n.splice(r,1)}function Bi(e,t){if(gt(t))return;let n=t[S];n.destroyNode&&$i(e,t,n,3,null,null),bE(t)}function Pa(e,t){if(gt(t))return;let n=I(null);try{t[D]&=-129,t[D]|=256,t[de]&&nt(t[de]),_E(e,t),TE(e,t),t[y].type===1&&t[S].destroy();let r=t[dt];if(r!==null&&be(t[$])){r!==t[$]&&Xc(r,t);let o=t[ke];o!==null&&o.detachView(e)}Za(t)}finally{I(n)}}function Zd(e,t,n,r){let o=e?.[ft];if(o==null||o.leave==null||!o.leave.has(t.index))return r(!1);e&&Nr.add(e[Ge]),_p(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),wE(e,r)}else e&&Nr.delete(e[Ge]),r(!1)},o)}function wE(e,t){let n=e[ft]?.running;if(n){n.then(()=>{e[ft].running=void 0,Nr.delete(e[Ge]),t(!0)});return}t(!1)}function TE(e,t){let n=e.cleanup,r=t[yn];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[yn]=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[ct];if(i!==null){t[ct]=null;for(let s of i)s.destroy()}}function _E(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];O(x.LifecycleHookStart,a,c);try{c.call(a)}finally{O(x.LifecycleHookEnd,a,c)}}else{O(x.LifecycleHookStart,o,i);try{i.call(o)}finally{O(x.LifecycleHookEnd,o,i)}}}}}function Np(e,t,n){return Sp(e,t.parent,n)}function Sp(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[De];if(Qe(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Yt.None||o===Yt.Emulated)return null}return we(r,n)}function xp(e,t,n){return Rp(e,t,n)}function Ap(e,t,n){return e.type&40?we(e,n):null}var Rp=Ap,fc;function kp(e,t){Rp=e,fc=t}function el(e,t,n,r){let o=Np(e,r,t),i=t[S],s=r.parent||t[ee],a=xp(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)qd(i,o,n[c],a,!1);else qd(i,o,n,a,!1);fc!==void 0&&fc(i,r,t,n,o)}function Dr(e,t){if(t!==null){let n=t.type;if(n&3)return we(t,e);if(n&4)return pc(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Dr(e,r);{let o=e[t.index];return be(o)?pc(-1,o):se(o)}}else{if(n&128)return Dr(e,t.next);if(n&32)return Kc(t,e)()||se(e[t.index]);{let r=Op(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=lt(e[te]);return Dr(o,r)}else return Dr(e,t.next)}}}return null}function Op(e,t){if(t!==null){let r=e[te][ee],o=t.projection;return r.projection[o]}return null}function pc(e,t){let n=V+e+1;if(n<t.length){let r=t[n],o=r[y].firstChild;if(o!==null)return Dr(r,o)}return t[ht]}function tl(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&&Et(se(c),r),n.flags|=2),!Pi(n))if(l&8)tl(e,t,n.child,r,o,i,!1),Mn(t,e,a,o,c,n,i,r);else if(l&32){let u=Kc(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?Pp(e,t,r,n,o,i):Mn(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function $i(e,t,n,r,o,i){tl(n,r,e.firstChild,t,o,i,!1)}function ME(e,t,n){let r=t[S],o=Np(e,n,t),i=n.parent||t[ee],s=xp(i,n,t);Pp(r,0,t,n,o,s)}function Pp(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[$];Uf(r)&&(l.flags|=128),tl(e,t,l,u,o,i,!0)}}function NE(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];$i(u[y],u,e,t,i,a)}}function SE(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ii.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ii.Important),e.setStyle(n,r,o,i))}}function Lp(e,t,n,r,o){let i=me(),s=r&2;try{mt(-1),s&&t.length>A&&Cp(e,t,A,!1);let a=s?x.TemplateUpdateStart:x.TemplateCreateStart;O(a,o,n),n(r,o)}finally{mt(i);let a=s?x.TemplateUpdateEnd:x.TemplateCreateEnd;O(a,o,n)}}function Ui(e,t,n){PE(e,t,n),(n.flags&64)===64&&LE(e,t,n)}function $r(e,t,n=we){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 xE(e,t,n,r){let i=r.get(Jf,Kf)||n===Yt.ShadowDom||n===Yt.ExperimentalIsolatedShadowDom,s=e.selectRootElement(t,i);return AE(s),s}function AE(e){RE(e)}var RE=()=>null;function kE(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function nl(e,t,n,r,o,i){let s=t[y];if(cl(e,s,t,n,r)){Qe(e)&&OE(t,e.index);return}e.type&3&&(n=kE(n)),Fp(e,t,n,r,o,i)}function Fp(e,t,n,r,o,i){if(e.type&3){let s=we(e,t);r=i!=null?i(r,e.value||"",n):r,o.setProperty(s,n,r)}else e.type&12}function OE(e,t){let n=ge(t,e);n[D]&16||(n[D]|=64)}function PE(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Qe(n)&&dE(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||vi(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Mr(t,e,s,n);if(Et(c,t),i!==null&&VE(t,s-r,c,a,n,i),Oe(a)){let l=ge(n.index,t);l[H]=Mr(t,e,s,n)}}}function LE(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=md();try{mt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Jo(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&FE(c,l)}}finally{mt(-1),Jo(s)}}function FE(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function rl(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Ip(t,i.selectors,!1)&&(r??=[],Oe(i)?r.unshift(i):r.push(i))}return r}function jE(e,t,n,r,o,i){let s=we(e,t);ol(t[S],s,i,e.value,n,r,o)}function ol(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?pe(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function VE(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];lc(r,n,c,l)}}function il(e,t,n,r,o){let i=A+n,s=t[y],a=o(s,t,e,r,n);t[i]=a,Pe(e,!0);let c=e.type===2;return c?(gp(t[S],a,e),(ld()===0||En(e))&&Et(a,t),ud()):Et(a,t),gr()&&(!c||!Pi(e))&&el(s,t,a,e),e}function sl(e){let t=e;return Ea()?Ia():(t=t.parent,Pe(t,!1)),t}function al(e,t){let n=e[ie];if(!n)return;let r;try{r=n.get(zt,null)}catch{r=null}r?.(t)}function cl(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];lc(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];lc(u,l,r,o),a=!0}return a}function HE(e,t){let n=ge(t,e),r=n[y];BE(r,n);let o=n[De];o!==null&&n[Ht]===null&&(n[Ht]=tp(o,n[ie])),O(x.ComponentStart);try{ll(r,n,n[H])}finally{O(x.ComponentEnd,n[H])}}function BE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ll(e,t,n){ei(t);try{let r=e.viewQuery;r!==null&&Ka(1,r,n);let o=e.template;o!==null&&Lp(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[ke]?.finishViewCreation(e),e.staticContentQueries&&np(e,t),e.staticViewQueries&&Ka(2,e.viewQuery,n);let i=e.components;i!==null&&$E(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[D]&=-5,ti()}}function $E(e,t){for(let n=0;n<t.length;n++)HE(e,t[n])}function jn(e,t,n,r){let o=I(null);try{let i=t.tView,a=e[D]&4096?4096:16,c=Zc(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[dt]=l;let u=e[ke];return u!==null&&(c[ke]=u.createEmbeddedView(i)),ll(i,c,n),c}finally{I(o)}}function Jt(e,t){return!t||t.firstChild===null||Uf(e)}function Sr(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)),be(i)&&jp(i,r);let s=n.type;if(s&8)Sr(e,t,n.child,r);else if(s&32){let a=Kc(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Op(t,n);if(Array.isArray(a))r.push(...a);else{let c=lt(t[te]);Sr(c[y],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function jp(e,t){for(let n=V;n<e.length;n++){let r=e[n],o=r[y].firstChild;o!==null&&Sr(r[y],r,o,t)}e[ht]!==e[De]&&t.push(e[ht])}function Vp(e){if(e[Ut]!==null){for(let t of e[Ut])t.impl.addSequence(t);e[Ut].length=0}}var Hp=[];function UE(e){return e[de]??WE(e)}function WE(e){let t=Hp.pop()??Object.create(GE);return t.lView=e,t}function qE(e){e.lView[de]!==e&&(e.lView=null,Hp.push(e))}var GE=Q(z({},He),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{qt(e.lView)},consumerOnSignalRead(){this.lView[de]=this}});function zE(e){let t=e[de]??Object.create(QE);return t.lView=e,t}var QE=Q(z({},He),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=lt(e.lView);for(;t&&!Bp(t[y]);)t=lt(t);t&&ua(t)},consumerOnSignalRead(){this.lView[de]=this}});function Bp(e){return e.type!==2}function $p(e){if(e[ct]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[ct])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[D]&8192)}}var ZE=100;function Up(e,t=0){let r=e[Ce].rendererFactory,o=!1;o||r.begin?.();try{YE(e,t)}finally{o||r.end?.()}}function YE(e,t){let n=Ca();try{er(!0),hc(e,t);let r=0;for(;fr(e);){if(r===ZE)throw new b(103,!1);r++,hc(e,1)}}finally{er(n)}}function KE(e,t,n,r){if(gt(t))return;let o=t[D],i=!1,s=!1;ei(t);let a=!0,c=null,l=null;i||(Bp(e)?(l=UE(t),c=Be(l)):Kr()===null?(a=!1,l=zE(t),c=Be(l)):t[de]&&(nt(t[de]),t[de]=null));try{la(t),pd(e.bindingStartIndex),n!==null&&Lp(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&ai(t,f,null)}else{let f=e.preOrderHooks;f!==null&&ci(t,f,0,null),ka(t,0)}if(s||JE(t),$p(t),Wp(t,0),e.contentQueries!==null&&np(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&ai(t,f)}else{let f=e.contentHooks;f!==null&&ci(t,f,1),ka(t,1)}eI(e,t);let d=e.components;d!==null&&Gp(t,d,0);let p=e.viewQuery;if(p!==null&&Ka(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&ai(t,f)}else{let f=e.viewHooks;f!==null&&ci(t,f,2),ka(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Go]){for(let f of t[Go])f();t[Go]=null}i||(Vp(t),t[D]&=-73)}catch(u){throw i||qt(t),u}finally{l!==null&&(tt(l,c),a&&qE(l)),ti()}}function Wp(e,t){for(let n=qf(e);n!==null;n=Gf(n))for(let r=V;r<n.length;r++){let o=n[r];qp(o,t)}}function JE(e){for(let t=qf(e);t!==null;t=Gf(t)){if(!(t[D]&2))continue;let n=t[Wt];for(let r=0;r<n.length;r++){let o=n[r];ua(o)}}}function XE(e,t,n){O(x.ComponentStart);let r=ge(t,e);try{qp(r,n)}finally{O(x.ComponentEnd,r[H])}}function qp(e,t){zo(e)&&hc(e,t)}function hc(e,t){let r=e[y],o=e[D],i=e[de],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&on(i)),s||=!1,i&&(i.dirty=!1),e[D]&=-9217,s)KE(r,e,r.template,e[H]);else if(o&8192){let a=I(null);try{$p(e),Wp(e,1);let c=r.components;c!==null&&Gp(e,c,1),Vp(e)}finally{I(a)}}}function Gp(e,t,n){for(let r=0;r<t.length;r++)XE(e,t[r],n)}function eI(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)mt(~o);else{let i=o,s=n[++r],a=n[++r];gd(s,i);let c=t[i];O(x.HostBindingsUpdateStart,c);try{a(2,c)}finally{O(x.HostBindingsUpdateEnd,c)}}}}finally{mt(-1)}}function Wi(e,t){let n=Ca()?64:1088;for(e[Ce].changeDetectionScheduler?.notify(t);e;){e[D]|=n;let r=lt(e);if(In(e)&&!r)return e;e=r}return null}function zp(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Qp(e,t){let n=V+t;if(n<e.length)return e[n]}function Vn(e,t,n,r=!0){let o=t[y];if(tI(o,t,e,n),r){let s=pc(n,e),a=t[S],c=a.parentNode(e[ht]);c!==null&&CE(o,e[ee],a,t,c,s)}let i=t[Ht];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function ul(e,t){let n=xr(e,t);return n!==void 0&&Bi(n[y],n),n}function xr(e,t){if(e.length<=V)return;let n=V+t,r=e[n];if(r){let o=r[dt];o!==null&&o!==e&&Xc(o,r),t>0&&(e[n-1][he]=r[he]);let i=sr(e,V+t);DE(r[y],r);let s=i[ke];s!==null&&s.detachView(i[y]),r[$]=null,r[he]=null,r[D]&=-129}return r}function tI(e,t,n,r){let o=V+r,i=n.length;r>0&&(n[o-1][he]=t),r<i-V?(t[he]=n[o],Js(n,V+r,t)):(n.push(t),t[he]=null),t[$]=n;let s=t[dt];s!==null&&n!==s&&Zp(s,t);let a=t[ke];a!==null&&a.insertView(e),Qo(t),t[D]|=128}function Zp(e,t){let n=e[Wt],r=t[$];if(ze(r))e[D]|=2;else{let o=r[$][te];t[te]!==o&&(e[D]|=2)}n===null?e[Wt]=[t]:n.push(t)}var It=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[y];return Sr(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 gt(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[$];if(be(t)){let n=t[lr],r=n?n.indexOf(this):-1;r>-1&&(xr(t,r),sr(n,r))}this._attachedToViewContainer=!1}Bi(this._lView[y],this._lView)}onDestroy(t){Zo(this._lView,t)}markForCheck(){Wi(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[D]&=-129}reattach(){Qo(this._lView),this._lView[D]|=128}detectChanges(){this._lView[D]|=1024,Up(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=In(this._lView),n=this._lView[dt];n!==null&&!t&&Xc(n,this._lView),Mp(this._lView[y],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=In(this._lView),r=this._lView[dt];r!==null&&!n&&Zp(r,this._lView),Qo(this._lView)}};var Ar=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=nI;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=jn(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o});return new It(i)}}return e})();function nI(){return qi(W(),m())}function qi(e,t){return e.type&4?new Ar(t,e,Pn(e,t)):null}function Yp(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?Ap(e,t,n):se(n[o])}function Kp(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=dl(e,t,n,r,o),hd()&&(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 Pe(i,!0),i}function dl(e,t,n,r,o){let i=va(),s=Ea(),a=s?i:i&&i.parent,c=e.data[t]=oI(e,a,n,t,r,o);return rI(e,c,i,s),c}function rI(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 oI(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return ga()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-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 Jp(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];Xp(r)||iI(r,t)&&sI(r)===null&&aI(r,t.index)}}function Xp(e){return!(e.type&64)}function iI(e,t){return Xp(t)||e.index>t.index}function sI(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function aI(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(kp(Yp,Kp),e.insertBeforeIndex=t)}function Cr(e,t){let n=e.data[t];return n===null||typeof n=="string"?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function cI(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function lI(e,t){let n=e.insertBeforeIndex;n===null?(kp(Yp,Kp),n=e.insertBeforeIndex=[null,t]):($u(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function uI(e,t,n){let r=dl(e,n,64,null,null);return Jp(t,r),r}function Gi(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function dI(e){return e>>>17}function fI(e){return(e&131070)>>>1}function pI(e,t,n){return e|t<<17|n<<1}function hI(e){return e===-1}function eh(e,t,n){e.index=0;let r=Gi(t,n);r!==null?e.removes=t.remove[r]:e.removes=K}function gc(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[y].data[n];return eh(e,r,e.lView),gc(e)}}else return e.stack.length===0?(e.lView=void 0,null):(e.removes=e.stack.pop(),e.index=e.stack.pop(),gc(e))}function gI(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return eh(e,n.value,r),gc.bind(null,e)}return t}var mI=()=>{};function yI(e,t,n,r){mI(e,t,n,r)}var vI=()=>{};function EI(e,t,n){vI(e,t,n)}function II(e){let t=e[pt]??[],r=e[$][S],o=[];for(let i of t)i.data[Vc]!==void 0?o.push(i):DI(i,r);e[pt]=o}function DI(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Yf];for(;n<o;){let i=r.nextSibling;qc(t,r,!1),r=i,n++}}}var CI=()=>null,bI=()=>null;function Ci(e,t){return CI(e,t)}function th(e,t,n){return bI(e,t,n)}var nh=class{},zi=class{},mc=class{resolveComponentFactory(t){throw new b(917,!1)}},Ur=class{static NULL=new mc},Rr=class{},wI=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>TI()}return e})();function TI(){let e=m(),t=W(),n=ge(t.index,e);return(ze(n)?n:e)[S]}var rh=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>null})}return e})();var ui={},Sn=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,ui,r);return o!==ui||n===ui?o:this.parentInjector.get(t,n,r)}};function bi(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=Lo(o,a);else if(i==2){let c=a,l=t[++s];r=Lo(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Wr(e,t=0){let n=m();if(n===null)return xe(e,t);let r=W();return jf(r,n,Y(e),t)}function _I(){let e="invalid";throw new Error(e)}function oh(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}SI(e,t,n,a,i,c,l)}i!==null&&r!==null&&MI(n,r,i)}function MI(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 NI(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function SI(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&&Oe(f)&&(c=f,NI(e,n,p)),za(vi(n,t),e,f.type)}PI(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=Br(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),AI(e,n,t,d,f),OI(d,f,o),s!==null&&s.has(f)){let[g,v]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,v+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++}xI(e,n,i)}function xI(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Yd(0,t,o,r),Yd(1,t,o,r),Jd(t,r,!1);else{let i=n.get(o);Kd(0,t,i,r),Kd(1,t,i,r),Jd(t,r,!0)}}}function Yd(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),ih(t,i)}}function Kd(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),ih(t,s)}}function ih(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Jd(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||zc(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 AI(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=at(o.type,!0)),s=new Zt(i,Oe(o),Wr,null);e.blueprint[r]=s,n[r]=s,RI(e,t,r,Br(e,n,o.hostVars,G),o)}function RI(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;kI(s)!=a&&s.push(a),s.push(n,r,i)}}function kI(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function OI(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Oe(t)&&(n[""]=e)}}function PI(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function fl(e,t,n,r,o,i,s,a){let c=t[y],l=c.consts,u=ae(l,s),d=nn(c,e,n,r,u);return i&&oh(c,t,d,ae(l,a),o),d.mergedAttrs=xn(d.mergedAttrs,d.attrs),d.attrs!==null&&bi(d,d.attrs,!1),d.mergedAttrs!==null&&bi(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function pl(e,t){Sf(e,t),aa(t)&&e.queries.elementEnd(t)}function LI(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&&bi(c,c.attrs,!1),c.mergedAttrs!==null&&bi(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function hl(e){return Qi(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function sh(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 Qi(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Hn(e,t,n){return e[t]=n}function ah(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 kr(e,t,n,r){let o=J(e,t,n);return J(e,t+1,r)||o}function ch(e,t,n,r,o){let i=kr(e,t,n,r);return J(e,t+2,o)||i}function lh(e,t,n,r,o,i){let s=kr(e,t,n,r);return kr(e,t+2,o,i)||s}function di(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&mv(o,i);let s=Qe(e)?ge(e.index,t):t;Wi(s,5);let a=t[H],c=Xd(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=Xd(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function Xd(e,t,n,r){let o=I(null);try{return O(x.OutputStart,t,n),n(r)!==!1}catch(i){return al(e,i),!1}finally{O(x.OutputEnd,t,n),I(o)}}function uh(e,t,n,r,o,i,s,a){let c=En(e),l=!1,u=null;if(!r&&c&&(u=jI(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=we(e,n),p=r?r(d):d;vv(n,p,i,a),r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!FI(i)){let h=r?g=>r(se(g[e.index])):e.index;dh(h,t,n,i,a,f,!1)}}return l}function FI(e){return e.startsWith("animation")||e.startsWith("transition")}function jI(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[yn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function dh(e,t,n,r,o,i,s){let a=t.firstCreatePass?pa(t):null,c=fa(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function ef(e,t,n,r,o,i){let s=t[n],a=t[y],l=a.data[n].outputs[r],d=s[l].subscribe(i);dh(e.index,a,t,o,i,d,!0)}var yc=Symbol("BINDING");function fh(e){return e.debugInfo?.className||e.type.name||null}var wi=class extends Ur{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=Ie(t);return new Dt(n,this.ngModule)}};function VI(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Vi.SignalBased)!==0};return o&&(i.transform=o),i})}function HI(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function BI(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 $I(e){let t=e.get(Rr,null);if(t===null)throw new b(407,!1);let n=e.get(rh,null),r=e.get(qe,null),o=e.get(Fn,null,{optional:!0});return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function UI(e,t){let n=ph(e);return Wc(t,n,n==="svg"?ca:n==="math"?od:null)}function ph(e){return(e.selectors[0][0]||"div").toLowerCase()}var Dt=class extends zi{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=VI(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=HI(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=aE(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s){O(x.DynamicComponentStart);let a=I(null);try{let c=this.componentDef,l=BI(c,o||this.ngModule,t),u=$I(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(fh(c),()=>this.createComponentRef(u,l,n,r,i,s)):this.createComponentRef(u,l,n,r,i,s)}finally{I(a)}}createComponentRef(t,n,r,o,i,s){let a=this.componentDef,c=WI(o,a,s,i),l=t.rendererFactory.createRenderer(null,a),u=o?xE(l,o,a.encapsulation,n):UI(a,l),d=s?.some(tf)||i?.some(h=>typeof h!="function"&&h.bindings.some(tf)),p=Zc(null,c,null,512|Dp(a),null,null,t,l,n,null,tp(u,n,!0));p[A]=u,ei(p);let f=null;try{let h=fl(A,p,2,"#host",()=>c.directiveRegistry,!0,0);gp(l,u,h),Et(u,p),Ui(c,p,h),$c(c,h,p),pl(c,h),r!==void 0&&GI(h,this.ngContentSelectors,r),f=ge(h.index,p),p[H]=f[H],ll(c,p,null)}catch(h){throw f!==null&&Za(f),Za(p),h}finally{O(x.DynamicComponentEnd),ti()}return new Ti(this.componentType,p,!!d)}};function WI(e,t,n,r){let o=e?["ng-version","21.2.11"]:cE(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[yc].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[yc].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=Vo(d);c.push(p)}return Qc(0,null,qI(i,s),1,a,c,null,null,null,[o],null)}function qI(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 tf(e){let t=e[yc].kind;return t==="input"||t==="twoWay"}var Ti=class extends nh{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=Dn(n[y],A),this.location=Pn(this._tNode,n),this.instance=ge(this._tNode.index,n)[H],this.hostView=this.changeDetectorRef=new It(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=cl(r,o[y],o,t,n);this.previousInputValues.set(t,n);let s=ge(r.index,o);Wi(s,1)}get injector(){return new Qt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function GI(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__=zI}return e})();function zI(){let e=W();return hh(e,m())}var vc=class e extends Zi{_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=Lc(this._hostTNode,this._hostLView);if(Rf(t)){let n=mi(t,this._hostLView),r=gi(t),o=n[y].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=nf(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=Ci(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&&!jy(t),l;if(c)l=n;else{let v=n||{};l=v.index,r=v.injector,o=v.projectableNodes,i=v.environmentInjector||v.ngModuleRef,s=v.directives,a=v.bindings}let u=c?t:new Dt(Ie(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let E=(c?d:this.parentInjector).get(ue,null);E&&(i=E)}let p=Ie(u.componentType??{}),f=Ci(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(sd(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[$],l=new e(c,c[ee],c[$]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Vn(s,o,i,r),t.attachToViewContainerRef(),Js(La(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=nf(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=xr(this._lContainer,n);r&&(sr(La(this._lContainer),n),Bi(r[y],r))}detach(t){let n=this._adjustIndex(t,-1),r=xr(this._lContainer,n);return r&&sr(La(this._lContainer),n)!=null?new It(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function nf(e){return e[lr]}function La(e){return e[lr]||(e[lr]=[])}function hh(e,t){let n,r=t[e.index];return be(r)?n=r:(n=zp(r,t,null,e),t[e.index]=n,Yc(t,n)),ZI(n,t,e,r),new vc(n,e,t)}function QI(e,t){let n=e[S],r=n.createComment(""),o=we(t,e),i=n.parentNode(o);return Kt(n,i,r,n.nextSibling(o),!1),r}var ZI=KI,YI=()=>!1;function gh(e,t,n){return YI(e,t,n)}function KI(e,t,n,r){if(e[ht])return;let o;n.type&8?o=se(r):o=QI(t,n),e[ht]=o}var Ec=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ic=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++)ml(t,n).matches!==null&&this.queries[n].setDirty()}},_i=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=rD(t):this.predicate=t}},Dc=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)}},Cc=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,JI(n,i)),this.matchTNodeWithReadOption(t,n,li(n,t,i,!1,!1))}else r===Ar?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,li(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Vr||o===Zi||o===Ar&&n.type&4)this.addMatch(n.index,-2);else{let i=li(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 JI(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 XI(e,t){return e.type&11?Pn(e,t):e.type&4?qi(e,t):null}function eD(e,t,n,r){return n===-1?XI(t,e):n===-2?tD(e,t,r):Mr(e,e[y],n,t)}function tD(e,t,n){if(n===Vr)return Pn(t,e);if(n===Ar)return qi(t,e);if(n===Zi)return hh(t,e)}function mh(e,t,n,r){let o=t[ke].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(eD(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function bc(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=mh(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[dt]===p[$]&&bc(p[y],p,l,r)}if(u[Wt]!==null){let d=u[Wt];for(let p=0;p<d.length;p++){let f=d[p];bc(f[y],f,l,r)}}}}}return r}function gl(e,t){return e[ke].queries[t].queryList}function yh(e,t,n){let r=new Ei((n&4)===4);return cd(e,t,r,r.destroy),(t[ke]??=new Ic).queries.push(new Ec(r))-1}function nD(e,t,n){let r=P();return r.firstCreatePass&&(Eh(r,new _i(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),yh(r,m(),t)}function vh(e,t,n,r){let o=P();if(o.firstCreatePass){let i=W();Eh(o,new _i(t,n,r),i.index),oD(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return yh(o,m(),n)}function rD(e){return e.split(",").map(t=>t.trim())}function Eh(e,t,n){e.queries===null&&(e.queries=new Dc),e.queries.track(new Cc(t,n))}function oD(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 ml(e,t){return e.queries.getByIndex(t)}function Ih(e,t){let n=e[y],r=ml(n,t);return r.crossesNgTemplate?bc(n,e,t,[]):mh(n,e,r,t)}function yl(e,t,n){let r,o=qn(()=>{r._dirtyCounter();let i=iD(r,e);if(t&&i===void 0)throw new b(-951,!1);return i});return r=o[j],r._dirtyCounter=yt(0),r._flatValue=void 0,o}function vl(e){return yl(!0,!1,e)}function El(e){return yl(!0,!0,e)}function Dh(e){return yl(!1,!1,e)}function Ch(e,t){let n=e[j];n._lView=m(),n._queryIndex=t,n._queryList=gl(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function iD(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=gl(n,r),i=Ih(n,r);return o.reset(i,$f),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var An=class{},bh=class{};function sD(e,t){return new Or(e,t??null,[])}var Or=class extends An{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new wi(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Qs(t);this._bootstrapComponents=vp(i.bootstrap),this._r3Injector=_a(t,n,[{provide:An,useValue:this},{provide:Ur,useValue:this.componentFactoryResolver},...r],or(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)}},Mi=class extends bh{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Or(this.moduleType,t,[])}};var Pr=class extends An{injector;componentFactoryResolver=new wi(this);instance=null;constructor(t){super();let n=new jt([...t.providers,{provide:An,useValue:this},{provide:Ur,useValue:this.componentFactoryResolver}],t.parent||mn(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Il(e,t,n=null){return new Pr({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var aD=(()=>{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=Wo(!1,n.type),o=r.length>0?Il([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(xe(ue))})}return e})();function cD(e){return jr(()=>{let t=wh(e),n=Q(z({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Fc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(aD).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&&je("NgStandalone"),Th(n);let r=e.dependencies;return n.directiveDefs=rf(r,lD),n.pipeDefs=rf(r,Zs),n.id=gD(n),n})}function lD(e){return Ie(e)||Vo(e)}function uD(e){return jr(()=>({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 dD(e,t){if(e==null)return ut;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=Vi.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function fD(e){if(e==null)return ut;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function pD(e){return jr(()=>{let t=wh(e);return Th(t),t})}function hD(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 wh(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||ut,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,controlDef:null,inputs:dD(e.inputs,t),outputs:fD(e.outputs),debugInfo:null}}function Th(e){e.features?.forEach(t=>t(e))}function rf(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 gD(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 mD(e){return Object.getPrototypeOf(e.prototype).constructor}function _h(e){let t=mD(e.type),n=!0,r=[e];for(;t;){let o;if(Oe(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=Fa(e.inputs),s.declaredInputs=Fa(e.declaredInputs),s.outputs=Fa(e.outputs);let a=o.hostBindings;a&&DD(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&ED(e,c),l&&ID(e,l),yD(e,o),Bu(e.outputs,o.outputs),Oe(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===_h&&(n=!1)}}t=Object.getPrototypeOf(t)}vD(r)}function yD(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 vD(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 Fa(e){return e===ut?{}:e===K?[]:e}function ED(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function ID(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function DD(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Mh(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=xn(e.mergedAttrs,e.attrs);let u=e.tView=Qc(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),Pe(e,!1);let c=bD(n,t,e,r);gr()&&el(n,t,c,e),Et(c,t);let l=zp(c,t,c,e);t[r+A]=l,Yc(t,l),gh(l,e,t)}function CD(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),Yo()&&oh(t,e,p,ae(t.consts,l),rl),Sf(t,p)):p=t.data[d],Mh(p,e,t,n,r,o,i,c),En(p)&&Ui(t,e,p),l!=null&&$r(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 Mh(p,e,t,n,r,o,i,c),l!=null&&$r(e,p,u),p}function Nh(e,t,n,r,o,i,s,a){let c=m(),l=P(),u=ae(l.consts,i);return CD(c,l,e,t,n,r,o,u,void 0,s,a),Nh}function Sh(e,t,n,r,o,i,s,a){let c=m(),l=P(),u=ae(l.consts,i);return Xt(c,l,e,t,n,r,o,u,void 0,s,a),Sh}var bD=wD;function wD(e,t,n,r){return Tn(!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||{}),of=0,TD=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||{}),Ni=(function(e){return e[e.Initial=-1]="Initial",e})(Ni||{}),_D=0,qr=1;var MD=4,ND=5,SD=6,xD=7,ja=8,AD=9,Dl=(function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e})(Dl||{});function RD(e,t,n){let r=Ah(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function fi(e,t){let n=Ah(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function xh(e){fi(1,e),fi(0,e),fi(2,e)}function Ah(e){let t=MD;return e===1?t=ND:e===2&&(t=AD),t}function Yi(e){return e+1}function Bn(e,t){let n=e[y],r=Yi(t.index);return e[r]}function kD(e,t,n){let r=e[y],o=Yi(t);e[o]=n}function $n(e,t){let n=Yi(t.index);return e.data[n]}function OD(e,t,n){let r=Yi(t);e.data[r]=n}function PD(e,t,n){let r=t[y],o=$n(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 sf(e,t){return t===B.Placeholder?e.placeholderBlockConfig?.[of]??null:t===B.Loading?e.loadingBlockConfig?.[of]??null:null}function LD(e){return e.loadingBlockConfig?.[TD]??null}function af(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 FD(e,t){let n=t.primaryTmplIndex+A;return Dn(e,n)}var jD=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Il(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 Rh=new k("");function Va(e,t,n){return e.get(jD).getOrCreateInjector(t,e,n,"")}function VD(e,t,n){if(e instanceof Sn){let o=e.injector,i=e.parentInjector,s=Va(i,t,n);return new Sn(o,s)}let r=e.get(ue);if(r!==e){let o=Va(r,t,n);return new Sn(e,o)}return Va(e,t,n)}function vt(e,t,n,r=!1){let o=n[$],i=o[y];if(gt(o))return;let s=Bn(o,t),a=s[qr],c=s[xD];if(!(c!==null&&e<c)&&cf(a,e)&&cf(s[_D]??-1,e)){let l=$n(i,t),d=!r&&!0&&(LD(l)!==null||sf(l,B.Loading)!==null||sf(l,B.Placeholder))?UD:BD;try{d(e,s,n,t,o)}catch(p){al(o,p)}}}function HD(e,t){let n=e[pt]?.findIndex(o=>o.data[Hc]===t[qr])??-1;return{dehydratedView:n>-1?e[pt][n]:null,dehydratedViewIx:n}}function BD(e,t,n,r,o){O(x.DeferBlockStateStart);let i=PD(e,o,r);if(i!==null){t[qr]=e;let s=o[y],a=i+A,c=Dn(s,a),l=0;ul(n,l);let u;if(e===B.Complete){let h=$n(s,r),g=h.providers;g&&g.length>0&&(u=VD(o[ie],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=HD(n,t),f=jn(o,c,null,{injector:u,dehydratedView:d});if(Vn(n,f,l,Jt(c,d)),Wi(f,2),p>-1&&n[pt]?.splice(p,1),(e===B.Complete||e===B.Error)&&Array.isArray(t[ja])){for(let h of t[ja])h();t[ja]=null}}O(x.DeferBlockStateEnd)}function cf(e,t){return e<t}function $D(e,t){let n=e[t.index];vt(B.Placeholder,t,n)}function lf(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ce.COMPLETE?vt(B.Complete,t,n):e.loadingState===ce.FAILED&&vt(B.Error,t,n)})}var UD=null;var WD=(()=>{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 kh(e){return typeof e=="function"&&e[j]!==void 0}function Cl(e){return kh(e)&&typeof e.set=="function"}var Oh=new k("");function bl(e){return!!e&&typeof e.then=="function"}function Ph(e){return!!e&&typeof e.subscribe=="function"}var Lh=new k("");var wl=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=T(Lh,{optional:!0})??[];injector=T(Ee);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=qo(this.injector,o);if(bl(i))n.push(i);else if(Ph(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})(),Fh=new k("");function jh(){cs(()=>{let e="";throw new b(600,e)})}function Vh(e){return e.isBoundToModule}var qD=10;var Ki=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=T(zt);afterRenderManager=T(Jc);zonelessEnabled=T(yr);rootEffectScheduler=T(ni);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=T(Gt);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(st(n=>!n))}constructor(){T(Fn,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=T(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(Ae).run(()=>{O(x.BootstrapComponentStart);let s=n instanceof zi;if(!this._injector.get(wl).done){let h="";throw new b(405,h)}let c;s?c=n:c=this._injector.get(Ur).resolveComponentFactory(n),this.componentTypes.push(c.componentType);let l=Vh(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(Oh,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),br(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),O(x.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){O(x.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Hi.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw O(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(),O(x.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Rr,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<qD;){O(x.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{O(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&&!fr(o))continue;let i=r&&!this.zonelessEnabled?0:1;Up(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})=>fr(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;br(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(Fh,[]).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),()=>br(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 br(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function Hh(e,t,n){let r=t[ie],o=t[y];if(e.loadingState!==ce.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Bn(t,n),s=FD(o,e);e.loadingState=ce.IN_PROGRESS,fi(1,i);let a=e.dependencyResolverFn,c=r.get(vr).add();return a?(e.loadingPromise=Promise.allSettled(a()).then(l=>{let u=!1,d=null,p=[],f=[];for(let h=0;h<l.length;h++){let g=l[h];if(g.status==="fulfilled"){let v=g.value,E=Ie(v)||Vo(v);if(E)p.push(E);else{let R=Zs(v);R&&f.push(R)}}else{u=!0,d=g.reason instanceof Error?g.reason:new Error(String(g.reason));break}}if(u){if(e.loadingState=ce.FAILED,e.errorTmplIndex===null){let g="",v=new b(-750,g);al(t,v)}}else{e.loadingState=ce.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=af(h.directiveRegistry,p);let g=p.map(E=>E.type),v=Wo(!1,...g);e.providers=v}f.length>0&&(h.pipeRegistry=af(h.pipeRegistry,f))}}),e.loadingPromise.finally(()=>{e.loadingPromise=null,c()})):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ce.COMPLETE,c()}),e.loadingPromise)}function GD(e,t){return t[ie].get(Rh,null,{optional:!0})?.behavior!==Dl.Manual}function zD(e,t,n){let r=t[y],o=t[n.index];if(!GD(e,t))return;let i=Bn(t,n),s=$n(r,n);switch(xh(i),s.loadingState){case ce.NOT_STARTED:vt(B.Loading,n,o),Hh(s,t,n),s.loadingState===ce.IN_PROGRESS&&lf(s,n,o);break;case ce.IN_PROGRESS:vt(B.Loading,n,o),lf(s,n,o);break;case ce.COMPLETE:vt(B.Complete,n,o);break;case ce.FAILED:vt(B.Error,n,o);break;default:}}function QD(e,t,n){return e===0?uf(t,n):e===2?!uf(t,n):!0}function ZD(e){return e!=null&&(e&1)===1}function uf(e,t){let n=e[ie],r=$n(e[y],t),o=Bc(n),i=ZD(r.flags),a=Bn(e,t)[SD]!==null;return!(i&&a&&o)}function YD(e,t,n,r,o,i,s,a,c,l){let u=m(),d=P(),p=e+A,f=Xt(u,d,e,null,0,0),h=u[ie],g=Bc(h);if(d.firstCreatePass){je("NgDefer");let Ve={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,Ve,a,s),OD(d,p,Ve)}let v=u[p];gh(v,f,u);let E=null,R=null;if(v[pt]?.length>0){let Ve=v[pt][0].data;R=Ve[Vc]??null,E=Ve[Hc]}let fe=[null,Ni.Initial,null,null,null,null,R,E,null,null];kD(u,p,fe);let Xe=null;R!==null&&g&&(Xe=h.get(ep),Xe.add(R,{lView:u,tNode:f,lContainer:v}));let bt=()=>{xh(fe),R!==null&&Xe?.cleanup([R])};RD(0,fe,()=>da(u,bt)),Zo(u,bt)}function KD(e){let t=m(),n=wn();if(!QD(0,t,n))return;let r=Te();if(J(t,r,e)){let o=I(null);try{let i=!!e,a=Bn(t,n)[qr];i===!1&&a===Ni.Initial?$D(t,n):i===!0&&(a===Ni.Initial||a===B.Placeholder)&&zD(0,t,n)}finally{I(o)}}}function Bh(e,t,n,r){let o=m(),i=Te();if(J(o,i,t)){let s=P(),a=wn();jE(a,o,e,t,n,r)}return Bh}var wc=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 Ha(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function JD(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=Ha(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=Ha(a,f,l,h,n);if(g!==0){g<0&&e.updateValue(a,h),a--,l--;continue}let v=n(s,u),E=n(a,f),R=n(s,d);if(Object.is(R,E)){let fe=n(l,h);Object.is(fe,v)?(e.swap(s,a),e.updateValue(a,h),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new Si,i??=ff(e,s,a,n),Tc(e,o,s,R))e.updateValue(s,d),s++,a++;else if(i.has(R))o.set(v,e.detach(s)),a--;else{let fe=e.create(s,t[s]);e.attach(s,fe),s++,a++}}for(;s<=l;)df(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=Ha(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new Si,i??=ff(e,s,a,n);let h=n(s,p);if(Tc(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;)df(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 Tc(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function df(e,t,n,r,o){if(Tc(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function ff(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 Si=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 XD(e,t,n,r,o,i,s,a){je("NgControlFlow");let c=m(),l=P(),u=ae(l.consts,i);return Xt(c,l,e,t,n,r,o,u,256,s,a),Tl}function Tl(e,t,n,r,o,i,s,a){je("NgControlFlow");let c=m(),l=P(),u=ae(l.consts,i);return Xt(c,l,e,t,n,r,o,u,512,s,a),Tl}function eC(e,t){je("NgControlFlow");let n=m(),r=Te(),o=n[r]!==G?n[r]:-1,i=o!==-1?xi(n,A+o):void 0,s=0;if(J(n,r,e)){let a=I(null);try{if(i!==void 0&&ul(i,s),e!==-1){let c=A+e,l=xi(n,c),u=Sc(n[y],c),d=th(l,u,n),p=jn(n,u,t,{dehydratedView:d});Vn(l,p,s,Jt(u,d))}}finally{I(a)}}else if(i!==void 0){let a=Qp(i,s);a!==void 0&&(a[H]=t)}}var _c=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 tC(e){return e}function nC(e,t){return t}var Mc=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function rC(e,t,n,r,o,i,s,a,c,l,u,d,p){je("NgControlFlow");let f=m(),h=P(),g=c!==void 0,v=m(),E=a?s.bind(v[te][H]):s,R=new Mc(g,E);v[A+e]=R,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 Nc=class extends wc{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[Ht];this.needsIndexUpdate||=t!==this.length,Vn(this.lContainer,n,t,Jt(this.templateTNode,r)),iC(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,sC(this.lContainer,t),aC(this.lContainer,t)}create(t,n){let r=Ci(this.lContainer,this.templateTNode.tView.ssrId);return jn(this.hostLView,this.templateTNode,new _c(this.lContainer,n,t),{dehydratedView:r})}destroy(t){Bi(t[y],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 cC(this.lContainer,t)}};function oC(e){let t=I(null),n=me();try{let r=m(),o=r[y],i=r[n],s=n+1,a=xi(r,s);if(i.liveCollection===void 0){let l=Sc(o,s);i.liveCollection=new Nc(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(JD(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=xi(r,d);if(u){let f=Sc(o,d),h=th(p,f,r),g=jn(r,f,void 0,{dehydratedView:h});Vn(p,g,0,Jt(f,h))}else o.firstUpdatePass&&II(p),ul(p,0)}}}finally{I(t)}}function xi(e,t){return e[t]}function iC(e,t){if(e.length<=V)return;let n=V+t,r=e[n],o=r?r[ft]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[ie];EE(i,o),Nr.delete(r[Ge]),o.detachedLeaveAnimationFns=void 0}}function sC(e,t){if(e.length<=V)return;let n=V+t,r=e[n],o=r?r[ft]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function aC(e,t){return xr(e,t)}function cC(e,t){return Qp(e,t)}function Sc(e,t){return Dn(e,t)}function $h(e,t,n){let r=m(),o=Te();if(J(r,o,t)){let i=P(),s=wn();nl(s,r,e,t,r[S],n)}return $h}function xc(e,t,n,r,o){cl(t,e,n,o?"class":"style",r)}function Ai(e,t,n,r){let o=m(),i=o[y],s=e+A,a=i.firstCreatePass?fl(s,o,2,t,rl,Yo(),n,r):i.data[s];if(Qe(a)){let c=o[Ce].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(fh(l),()=>(pf(e,t,o,a,r),Ai))}}return pf(e,t,o,a,r),Ai}function pf(e,t,n,r,o){if(il(r,n,e,t,qh),En(r)){let i=n[y];Ui(i,n,r),$c(i,r,n)}o!=null&&$r(n,r)}function _l(){let e=P(),t=W(),n=sl(t);return e.firstCreatePass&&pl(e,n),ma(n)&&ya(),ha(),n.classesWithoutHost!=null&&qy(n)&&xc(e,n,m(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&Gy(n)&&xc(e,n,m(),n.stylesWithoutHost,!1),_l}function Uh(e,t,n,r){return Ai(e,t,n,r),_l(),Uh}function Ml(e,t,n,r){let o=m(),i=o[y],s=e+A,a=i.firstCreatePass?LI(s,i,2,t,n,r):i.data[s];return il(a,o,e,t,qh),r!=null&&$r(o,a),Ml}function Nl(){let e=W(),t=sl(e);return ma(t)&&ya(),ha(),Nl}function Wh(e,t,n,r){return Ml(e,t,n,r),Nl(),Wh}var qh=(e,t,n,r,o)=>(Tn(!0),Wc(t[S],r,wd()));function Sl(e,t,n){let r=m(),o=r[y],i=e+A,s=o.firstCreatePass?fl(i,r,8,"ng-container",rl,Yo(),t,n):o.data[i];if(il(s,r,e,"ng-container",lC),En(s)){let a=r[y];Ui(a,r,s),$c(a,s,r)}return n!=null&&$r(r,s),Sl}function xl(){let e=P(),t=W(),n=sl(t);return e.firstCreatePass&&pl(e,n),xl}function Gh(e,t,n){return Sl(e,t,n),xl(),Gh}var lC=(e,t,n,r,o)=>(Tn(!0),pp(t[S],""));function uC(){return m()}function zh(e,t,n){let r=m(),o=Te();if(J(r,o,t)){let i=P(),s=wn();Fp(s,r,e,t,r[S],n)}return zh}var Er=void 0;function dC(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var fC=["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"]],Er,[["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"]],Er,[["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}",Er,Er,Er],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",dC],wr={};function pC(e,t,n){typeof t!="string"&&(n=t,t=e[Rn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),wr[t]=e,n&&(wr[t][Rn.ExtraData]=n)}function Al(e){let t=gC(e),n=hf(t);if(n)return n;let r=t.split("-")[0];if(n=hf(r),n)return n;if(r==="en")return fC;throw new b(701,!1)}function hC(e){return Al(e)[Rn.CurrencyCode]||null}function Qh(e){return Al(e)[Rn.PluralCase]}function hf(e){return e in wr||(wr[e]=Re.ng&&Re.ng.common&&Re.ng.common.locales&&Re.ng.common.locales[e]),wr[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 gC(e){return e.toLowerCase().replace(/_/g,"-")}var mC=["zero","one","two","few","many"];function yC(e,t){let n=Qh(t)(parseInt(e,10)),r=mC[n];return r!==void 0?r:"other"}var Gr="en-US",vC="USD",Zh={marker:"element"},Yh={marker:"ICU"},Ke=(function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e})(Ke||{}),Kh=Gr;function Jh(e){typeof e=="string"&&(Kh=e.toLowerCase().replace(/_/g,"-"))}function EC(){return Kh}var Lr=0,Tr=0;function IC(e){e&&(Lr=Lr|1<<Math.min(Tr,31)),Tr++}function DC(e,t,n){if(Tr>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=Ko()-Tr-1;eg(e,t,o,i,Lr)}Lr=0,Tr=0}function CC(e,t,n){let r=e[S];switch(n){case Node.COMMENT_NODE:return pp(r,t);case Node.TEXT_NODE:return dp(r,t);case Node.ELEMENT_NODE:return Wc(r,t,null)}}var pi=(e,t,n,r)=>(Tn(!0),CC(e,n,r));function bC(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&Ke.COMMENT)===Ke.COMMENT,l=(s&Ke.APPEND_EAGERLY)===Ke.APPEND_EAGERLY,u=s>>>Ke.SHIFT,d=e[u],p=!1;d===null&&(d=e[u]=pi(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=gr()),l&&n!==null&&p&&Kt(o,n,d,r,!1)}}function Xh(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]=pi(n,l,c,Node.TEXT_NODE))}else if(typeof c=="number")switch(c&1){case 0:let l=dI(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=fI(c),v=n[g];Kt(o,d,v,u,!1);let E=Cr(e,g);if(E!==null&&typeof E=="object"){let R=Gi(E,n);R!==null&&Xh(e,E.create[R],n,n[E.anchorIdx])}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];ol(o,ur(p,n),null,null,f,h,null);break;default:}else switch(c){case Yh:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=pi(n,u,l,Node.COMMENT_NODE);Et(f,n)}break;case Zh:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=pi(n,p,d,Node.ELEMENT_NODE);Et(f,n)}break;default:}}}function eg(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+=pe(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"?ol(t[S],t[d],null,h,p,c,f):nl(h,t,p,c,t[S],f);break;case 0:let g=t[d];g!==null&&fp(t[S],g,c);break;case 2:wC(e,Cr(e,d),t,c);break;case 3:gf(e,Cr(e,d),r,t);break}}}}else{let c=n[i+1];if(c>0&&(c&3)===3){let l=c>>>2,u=Cr(e,l);t[u.currentCaseLViewIndex]<0&&gf(e,u,r,t)}}i+=a}}function gf(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=Lr;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),eg(e,r,t.update[o],n,i)}}function wC(e,t,n,r){let o=TC(t,r);if(Gi(t,n)!==o&&(tg(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&Xh(e,t.create[o],n,s),EI(n,t.anchorIdx,o)}}function tg(e,t,n){let r=Gi(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=ur(s,n);a!==null&&qc(n[S],a)}else tg(e,Cr(e,~s),n)}}}function TC(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=yC(t,EC());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 Ri=/�(\d+):?\d*�/gi;var _C=/�(\d+)�/,ng=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,_r="\uFFFD",MC=/�\/?\*(\d+:\d+)�/gi,NC=/�(\/?[#*]\d+):?\d*�/gi,SC=/\uE500/g;function xC(e){return e.replace(SC," ")}function AC(e,t,n,r,o,i){let s=bn(),a=[],c=[],l=[[]],u=[[]];o=kC(o,i);let d=xC(o).split(NC);for(let p=0;p<d.length;p++){let f=d[p];if((p&1)===0){let h=Rc(f);for(let g=0;g<h.length;g++){let v=h[g];if((g&1)===0){let E=v;E!==""&&RC(u[0],e,s,l[0],a,c,n,E)}else{let E=v;if(typeof E!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let fe=rg(e,s,l[0],n,a,"",!0).index;ig(u[0],e,n,c,t,E,fe)}}}else{let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),v=A+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),Pe(bn(),!1);else{let E=uI(e,l[0],v);l.unshift([]),Pe(E,!0);let R={kind:2,index:v,children:[],type:g===35?0:1};u[0].push(R),u.unshift(R.children)}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function rg(e,t,n,r,o,i,s){let a=Br(e,r,1,null),c=a<<Ke.SHIFT,l=bn();t===l&&(l=null),l===null&&(c|=Ke.APPEND_EAGERLY),s&&(c|=Ke.COMMENT,pE(gI)),o.push(c,i===null?"":i);let u=dl(e,a,s?32:1,i===null?"":i,null);Jp(n,u);let d=u.index;return Pe(u,!1),l!==null&&t!==l&&lI(l,d),u}function RC(e,t,n,r,o,i,s,a){let c=a.match(Ri),u=rg(t,n,r,s,o,c?null:a,!1).index;c&&Ac(i,a,u,null,0,null),e.push({kind:0,index:u})}function Ac(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(Ri),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|og(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 og(e){return 1<<Math.min(e,31)}function mf(e){let t,n="",r=0,o=!1,i;for(;(t=MC.exec(e))!==null;)o?t[0]===`${_r}/*${i}${_r}`&&(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 kC(e,t){if(hI(t))return mf(e);{let n=e.indexOf(`:${t}${_r}`)+2+t.toString().length,r=e.search(new RegExp(`${_r}\\/\\*\\d+:${t}${_r}`));return mf(e.substring(n,r))}}function ig(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:Br(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};FC(r,i,s),cI(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 v=p[g];if(typeof v!="string"){let E=f.push(v)-1;p[g]=`<!--\uFFFD${E}\uFFFD-->`}}let h=[];u.push(h),a=PC(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a}a&&jC(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function OC(e){let t=[],n=[],r=1,o=0;e=e.replace(ng,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=Rc(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=Rc(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function Rc(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);ng.test(c)?r.push(OC(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 PC(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=ip(jc()).getInertBodyElement(a),h=cc(f)||f;return h?sg(e,t,n,r,o,l,u,d,h,i,c,0):0}function sg(e,t,n,r,o,i,s,a,c,l,u,d){let p=0,f=c.firstChild;for(;f;){let h=Br(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,v=g.tagName.toLowerCase();if(ic.hasOwnProperty(v)){Ba(i,Zh,v,l,h),t.data[h]=v;let Xe=g.attributes;for(let Ve=0;Ve<Xe.length;Ve++){let wt=Xe.item(Ve),Zr=wt.name.toLowerCase();!!wt.value.match(Ri)?sc.hasOwnProperty(Zr)&&Ac(a,wt.value,h,wt.name,0,$d[Zr]?ji:null):sc[Zr]&&($d[Zr]?vf(i,h,wt.name,"unsafe:blocked"):vf(i,h,wt.name,wt.value))}let bt={kind:1,index:h,children:[]};e.push(bt),p=sg(bt.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,yf(s,h,d)}break;case Node.TEXT_NODE:let E=f.textContent||"",R=E.match(Ri);Ba(i,null,R?"":E,l,h),yf(s,h,d),R&&(p=Ac(a,E,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let fe=_C.exec(f.textContent||"");if(fe){let Xe=parseInt(fe[1],10),bt=u[Xe];Ba(i,Yh,"",l,h),ig(e,t,r,o,l,bt,h),LC(s,h,d)}break}f=f.nextSibling}return p}function yf(e,t,n){n===0&&e.push(t)}function LC(e,t,n){n===0&&(e.push(~t),e.push(t))}function FC(e,t,n){e.push(og(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function jC(e,t,n){e.push(t,1,n<<2|3)}function Ba(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,pI(0,r,o))}function vf(e,t,n,r){e.push(t<<1|1,n,r)}var Ef=0,VC=/\[(�.+?�?)\]/,HC=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,BC=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,$C=/{([A-Z0-9_]+)}/g,UC=/�I18N_EXP_(ICU(_\d+)?)�/g,WC=/\/\*/,qC=/\d+\:(\d+)/;function GC(e,t={}){let n=e;if(VC.test(e)){let r={},o=[Ef];n=n.replace(HC,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let v=g.match(qC),E=v?parseInt(v[1],10):Ef,R=WC.test(g);l.push([E,R,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(BC,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace($C,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(UC,(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 ag(e,t,n=-1){let r=P(),o=m(),i=A+e,s=ae(r.consts,t),a=bn();if(r.firstCreatePass&&AC(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=Sp(r,l,o),d=a&&a.type&8?o[a.index]:null;yI(o,i,a,n),bC(o,c.create,u,d),ba(!0)}function cg(){ba(!1)}function zC(e,t,n){ag(e,t,n),cg()}function lg(e){let t=m();return IC(J(t,Te(),e)),lg}function QC(e){DC(P(),m(),e+A)}function ZC(e,t={}){return GC(e,t)}function ug(e,t,n){let r=m(),o=P(),i=W();return fg(o,r,r[S],i,e,t,n),ug}function dg(e,t,n){let r=m(),o=P(),i=W();return(i.type&3||n)&&uh(i,o,r,n,r[S],e,t,di(i,r,t)),dg}function fg(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=di(r,t,i),uh(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??=di(r,t,i),ef(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=di(r,t,i),ef(r,t,d,o,o,c)}}function YC(e=1){return Dd(e)}function KC(e,t){let n=null,r=nE(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Ip(e,i,!0):iE(r,i))return o}return n}function JC(e){let t=m()[te][ee];if(!t.projection){let n=e?e.length:1,r=t.projection=Yu(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?KC(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function XC(e,t=0,n,r,o,i){let s=m(),a=P(),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),Ia();let d=!s[Ht]||ga();s[te][ee].projection[l.projection]===null&&c!==null?eb(s,a,c):d&&!Pi(l)&&ME(a,s,l)}function eb(e,t,n){let r=A+n,o=t.data[r],i=e[r],s=Ci(i,o.tView.ssrId),a=jn(e,o,void 0,{dehydratedView:s});Vn(i,a,0,Jt(o,s))}function pg(e,t,n,r){return vh(e,t,n,r),pg}function tb(e){let t=m(),n=P(),r=Xo();hr(r+1);let o=ml(n,r);if(e.dirty&&id(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Ih(t,r);e.reset(i,$f),e.notifyOnChanges()}return!0}return!1}function nb(){return gl(m(),Xo())}function hg(e,t,n,r,o){return Ch(t,vh(e,n,r,o)),hg}function gg(e,t,n,r){return Ch(e,nD(t,n,r)),gg}function rb(e=1){hr(Xo()+e)}function ob(e){let t=Da();return Cn(t,A+e)}function si(e,t){return e<<17|t<<2}function en(e){return e>>17&32767}function ib(e){return(e&2)==2}function sb(e,t){return e&131071|t<<17}function kc(e){return e|2}function kn(e){return(e&131068)>>2}function $a(e,t){return e&-131069|t<<2}function ab(e){return(e&1)===1}function Oc(e){return e|1}function cb(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||gn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=en(e[a+1]);e[r+1]=si(p,a),p!==0&&(e[p+1]=$a(e[p+1],r)),e[a+1]=sb(e[a+1],r)}else e[r+1]=si(a,0),a!==0&&(e[a+1]=$a(e[a+1],r)),a=r;else e[r+1]=si(c,0),a===0?a=r:e[c+1]=$a(e[c+1],r),c=r;l&&(e[r+1]=kc(e[r+1])),If(e,u,r,!0),If(e,u,r,!1),lb(t,u,e,r,i),s=si(a,c),i?t.classBindings=s:t.styleBindings=s}function lb(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&gn(i,t)>=0&&(n[r+1]=Oc(n[r+1]))}function If(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];ub(c,t)&&(a=!0,e[s+1]=r?Oc(l):kc(l)),s=r?en(l):kn(l)}a&&(e[n+1]=r?kc(o):Oc(o))}function ub(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?gn(e,t)>=0:!1}var q={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function mg(e){return e.substring(q.key,q.keyEnd)}function db(e){return e.substring(q.value,q.valueEnd)}function fb(e){return Eg(e),yg(e,On(e,0,q.textEnd))}function yg(e,t){let n=q.textEnd;return n===t?-1:(t=q.keyEnd=hb(e,q.key=t,n),On(e,t,n))}function pb(e){return Eg(e),vg(e,On(e,0,q.textEnd))}function vg(e,t){let n=q.textEnd,r=q.key=On(e,t,n);return n===r?-1:(r=q.keyEnd=gb(e,r,n),r=Df(e,r,n,58),r=q.value=On(e,r,n),r=q.valueEnd=mb(e,r,n),Df(e,r,n,59))}function Eg(e){q.key=0,q.keyEnd=0,q.value=0,q.valueEnd=0,q.textEnd=e.length}function On(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function hb(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function gb(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 Df(e,t,n,r){return t=On(e,t,n),t<n&&t++,t}function mb(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=Cf(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Cf(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Cf(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 Ig(e,t,n){return Cg(e,t,n,!1),Ig}function Dg(e,t){return Cg(e,t,null,!0),Dg}function yb(e){bg(_g,vb,e,!1)}function vb(e,t){for(let n=pb(t);n>=0;n=vg(t,n))_g(e,mg(t),db(t))}function Eb(e){bg(_b,Ib,e,!0)}function Ib(e,t){for(let n=fb(t);n>=0;n=yg(t,n))ar(e,mg(t),!0)}function Cg(e,t,n,r){let o=m(),i=P(),s=pr(2);if(i.firstUpdatePass&&Tg(i,e,s,r),t!==G&&J(o,s,t)){let a=i.data[me()];Mg(i,a,o,o[S],e,o[s+1]=Nb(t,n),r,s)}}function bg(e,t,n,r){let o=P(),i=pr(2);o.firstUpdatePass&&Tg(o,null,i,r);let s=m();if(n!==G&&J(s,i,n)){let a=o.data[me()];if(Ng(a,r)&&!wg(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Lo(c,n||"")),xc(o,a,s,n,r)}else Mb(o,a,s,s[S],s[i+1],s[i+1]=Tb(e,t,n),r,i)}}function wg(e,t){return t>=e.expandoStartIndex}function Tg(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[me()],s=wg(e,n);Ng(i,r)&&t===null&&!s&&(t=!1),t=Db(o,i,t,r),cb(o,i,t,n,s,r)}}function Db(e,t,n,r){let o=yd(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ua(null,e,t,n,r),n=Fr(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ua(o,e,t,n,r),i===null){let c=Cb(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ua(null,e,t,c[1],r),c=Fr(c,t.attrs,r),bb(e,t,r,c))}else i=wb(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function Cb(e,t,n){let r=n?t.classBindings:t.styleBindings;if(kn(r)!==0)return e[en(r)]}function bb(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[en(o)]=r}function wb(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Fr(r,s,n)}return Fr(r,t.attrs,n)}function Ua(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=Fr(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Fr(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]),ar(e,s,n?!0:t[++i]))}return e===void 0?null:e}function Tb(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(o instanceof Set)for(let i of o)e(r,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 _g(e,t,n){ar(e,t,tn(n))}function _b(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&ar(e,r,n)}function Mb(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&&Mg(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Mg(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=ab(l)?bf(c,t,n,o,kn(l),s):void 0;if(!ki(u)){ki(i)||ib(l)&&(i=bf(c,null,n,o,a,s));let d=ur(me(),n);SE(r,s,d,o,i)}}function bf(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?Uo(p,r):u===r?p:void 0;if(l&&!ki(f)&&(f=Uo(c,r)),ki(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=Uo(c,r))}return a}function ki(e){return e!==void 0}function Nb(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=or(tn(e)))),e}function Ng(e,t){return(e.flags&(t?8:16))!==0}function Sb(e,t=""){let n=m(),r=P(),o=e+A,i=r.firstCreatePass?nn(r,o,1,t,null):r.data[o],s=xb(r,n,i,t);n[o]=s,gr()&&el(r,n,s,i),Pe(i,!1)}var xb=(e,t,n,r)=>(Tn(!0),dp(t[S],r));function Ab(e,t,n,r=""){return J(e,Te(),n)?t+pe(n)+r:G}function Rb(e,t,n,r,o,i=""){let s=Ko(),a=kr(e,s,n,o);return pr(2),a?t+pe(n)+r+pe(o)+i:G}function kb(e,t,n,r,o,i,s,a=""){let c=Ko(),l=ch(e,c,n,o,s);return pr(3),l?t+pe(n)+r+pe(o)+i+pe(s)+a:G}function Sg(e){return Rl("",e),Sg}function Rl(e,t,n){let r=m(),o=Ab(r,e,t,n);return o!==G&&kl(r,me(),o),Rl}function xg(e,t,n,r,o){let i=m(),s=Rb(i,e,t,n,r,o);return s!==G&&kl(i,me(),s),xg}function Ag(e,t,n,r,o,i,s){let a=m(),c=kb(a,e,t,n,r,o,i,s);return c!==G&&kl(a,me(),c),Ag}function kl(e,t,n){let r=ur(t,e);fp(e[S],r,n)}function Rg(e,t,n){Cl(t)&&(t=t());let r=m(),o=Te();if(J(r,o,t)){let i=P(),s=wn();nl(s,r,e,t,r[S],n)}return Rg}function Ob(e,t){let n=Cl(e);return n&&e.set(t),n}function kg(e,t){let n=m(),r=P(),o=W();return fg(r,n,n[S],o,e,t),kg}var Og={};function Pg(e){je("NgLet");let t=P(),n=m(),r=e+A,o=nn(t,r,128,null,null);return Pe(o,!1),dr(t,n,r,Og),Pg}function Pb(e){let t=P(),n=m(),r=me();return dr(t,n,r,e),e}function Lb(e){let t=Da(),n=Cn(t,A+e);if(n===Og)throw new b(314,!1);return n}function Fb(e){return J(m(),Te(),e)?pe(e):G}function wf(e,t,n){let r=P();r.firstCreatePass&&Lg(t,r.data,r.blueprint,Oe(e),n)}function Lg(e,t,n,r,o){if(e=Y(e),Array.isArray(e))for(let i=0;i<e.length;i++)Lg(e[i],t,n,r,o);else{let i=P(),s=m(),a=W(),c=Ft(e)?e:Y(e.provide),l=oa(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Ft(e)||!e.multi){let f=new Zt(l,o,Wr,null),h=qa(c,t,o?u:u+p,d);h===-1?(za(vi(a,s),i,c),Wa(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=qa(c,t,u+p,d),h=qa(c,t,u,u+p),g=f>=0&&n[f],v=h>=0&&n[h];if(o&&!v||!o&&!g){za(vi(a,s),i,c);let E=Hb(o?Vb:jb,n.length,o,r,l,e);!o&&v&&(n[h].providerFactory=E),Wa(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(E),s.push(E)}else{let E=Fg(n[o?h:f],l,!o&&r);Wa(i,e,f>-1?f:h,E)}!o&&r&&v&&n[h].componentProviders++}}}function Wa(e,t,n,r){let o=Ft(t),i=td(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 Fg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function qa(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function jb(e,t,n,r,o){return Pc(this.multi,[])}function Vb(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=Mr(r,r[y],this.providerFactory.index,o);s=c.slice(0,a),Pc(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Pc(i,s);return s}function Pc(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Hb(e,t,n,r,o,i){let s=new Zt(e,n,Wr,null);return s.multi=[],s.index=t,s.componentProviders=0,Fg(s,o,r&&!n),s}function Bb(e,t){return n=>{n.providersResolver=(r,o)=>wf(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>wf(r,o?o(t):t,!0))}}function $b(e,t){let n=Ze()+e,r=m();return r[n]===G?Hn(r,n,t()):ah(r,n)}function Ub(e,t,n){return jg(m(),Ze(),e,t,n)}function Wb(e,t,n,r){return Vg(m(),Ze(),e,t,n,r)}function qb(e,t,n,r,o,i,s){return Qb(m(),Ze(),e,t,n,r,o,i)}function Gb(e,t,n,r,o,i,s){let a=Ze()+e,c=m(),l=lh(c,a,n,r,o,i);return J(c,a+4,s)||l?Hn(c,a+5,t(n,r,o,i,s)):ah(c,a+5)}function Ji(e,t){let n=e[t];return n===G?void 0:n}function jg(e,t,n,r,o,i){let s=t+n;return J(e,s,o)?Hn(e,s+1,i?r.call(i,o):r(o)):Ji(e,s+1)}function Vg(e,t,n,r,o,i,s){let a=t+n;return kr(e,a,o,i)?Hn(e,a+2,s?r.call(s,o,i):r(o,i)):Ji(e,a+2)}function zb(e,t,n,r,o,i,s,a){let c=t+n;return ch(e,c,o,i,s)?Hn(e,c+3,a?r.call(a,o,i,s):r(o,i,s)):Ji(e,c+3)}function Qb(e,t,n,r,o,i,s,a,c){let l=t+n;return lh(e,l,o,i,s,a)?Hn(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Ji(e,l+4)}function Zb(e,t){let n=P(),r,o=e+A;n.firstCreatePass?(r=Yb(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=at(r.type,!0)),s,a=re(Wr);try{let c=yi(!1),l=i();return yi(c),dr(n,m(),o,l),l}finally{re(a)}}function Yb(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function Kb(e,t,n){let r=e+A,o=m(),i=Cn(o,r);return Ol(o,r)?jg(o,Ze(),t,i.transform,n,i):i.transform(n)}function Jb(e,t,n,r){let o=e+A,i=m(),s=Cn(i,o);return Ol(i,o)?Vg(i,Ze(),t,s.transform,n,r,s):s.transform(n,r)}function Xb(e,t,n,r,o){let i=e+A,s=m(),a=Cn(s,i);return Ol(s,i)?zb(s,Ze(),t,a.transform,n,r,o,a):a.transform(n,r,o)}function Ol(e,t){return e[y].data[t].pure}function ew(e,t){return qi(e,t)}var Oi=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},tw=(()=>{class e{compileModuleSync(n){return new Mi(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Qs(n),i=vp(o.declarations).reduce((s,a)=>{let c=Ie(a);return c&&s.push(new Dt(c)),s},[]);return new Oi(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 Hg=(()=>{class e{applicationErrorHandler=T(zt);appRef=T(Ki);taskService=T(Gt);ngZone=T(Ae);zonelessEnabled=T(yr);tracing=T(Fn,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new Z;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(tr):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(T(Aa,{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?Nd:Na;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(tr+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 nw(){return je("NgZoneless"),ta([...Pl(),[]])}function Pl(){return[{provide:qe,useExisting:Hg},{provide:Ae,useClass:nr},{provide:yr,useValue:!0}]}function rw(){return typeof $localize<"u"&&$localize.locale||Gr}var Ll=new k("",{factory:()=>T(Ll,{optional:!0,skipSelf:!0})||rw()}),ow=new k("",{factory:()=>vC});var zr=class{destroyed=!1;listeners=null;errorHandler=T(We,{optional:!0});destroyRef=T(Ye);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(rr(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 Me(e){return Ms(e)}function Ct(e,t){return qn(e,t?.equal)}var iw=e=>e;function Fl(e,t){if(typeof e=="function"){let n=Mo(e,iw,t?.equal);return Bg(n,t?.debugName)}else{let n=Mo(e.source,e.computation,e.equal);return Bg(n,e.debugName)}}function Bg(e,t){let n=e[j],r=e;return r.set=o=>Ts(n,o),r.update=o=>_s(n,o),r.asReadonly=_n.bind(e),r}function sw(e){let t=e.request,n=e.params??t??(()=>null);return new Xi(n,cw(e),e.defaultValue,e.equal?aw(e.equal):void 0,e.debugName,e.injector??T(Ee))}var jl=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=Ct(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=Ct(()=>this.status()==="error");update(t){this.set(t(Me(this.value)))}isValueDefined=Ct(()=>this.isError()?!1:this.value()!==void 0);_snapshot;get snapshot(){return this._snapshot??=Ct(()=>{let t=this.status();return t==="error"?{status:"error",error:this.error()}:{status:t,value:this.value()}})}hasValue(){return this.isValueDefined()}asReadonly(){return this}},Xi=class extends jl{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(t,n,r,o,i,s,a){super(Ct(()=>{let c=this.state().stream?.();if(!c||this.state().status==="loading"&&this.error())return r;if(!Vl(c))throw new es(this.error());return c.value},{equal:o}),i),this.loaderFn=n,this.equal=o,this.debugName=i,this.extRequest=Fl({source:t,computation:c=>({request:c,reload:0})}),this.state=Fl({source:this.extRequest,computation:(c,l)=>{if(l){let u=c.request===void 0?"idle":"loading";return{extRequest:c,status:u,previousStatus:$g(l.value),stream:l.value.extRequest.request===c.request?l.value.stream:void 0}}else{let u=a?.(c.request);a=void 0;let d=c.request===void 0?"idle":u?"resolved":"loading";return{extRequest:c,status:d,previousStatus:"idle",stream:u}}}}),this.effectRef=Ra(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(vr),this.unregisterOnDestroy=s.get(Ye).onDestroy(()=>this.destroy()),this.status=Ct(()=>$g(this.state()),void 0),this.error=Ct(()=>{let c=this.state().stream?.();return c&&!Vl(c)?c.error:void 0},void 0)}set(t){if(this.destroyed)return;let n=Me(this.error),r=Me(this.state);if(!n){let o=Me(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:yt({value:t},void 0)}),this.abortInProgressLoad()}reload(){let{status:t}=Me(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}=Me(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 Me(()=>this.loaderFn({params:t.request,abortSignal:i,previous:{status:r}}));if(i.aborted||Me(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(i.aborted||Me(this.extRequest)!==t)return;this.state.set({extRequest:t,status:"resolved",previousStatus:"error",stream:yt({error:Bl(s)},void 0)})}finally{o?.(),o=void 0}}abortInProgressLoad(){Me(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function aw(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function cw(e){return lw(e)?e.stream:async t=>{try{return yt({value:await e.loader(t)},void 0)}catch(n){return yt({error:Bl(n)},void 0)}}}function lw(e){return!!e.stream}function $g(e){switch(e.status){case"loading":return e.extRequest.reload===0?"loading":"reloading";case"resolved":return Vl(e.stream())?"resolved":"error";default:return e.status}}function Vl(e){return e.error===void 0}function Bl(e){return uw(e)?e:new Hl(e)}function uw(e){return e instanceof Error||typeof e=="object"&&typeof e.name=="string"&&typeof e.message=="string"}var es=class extends Error{constructor(t){super(t.message,{cause:t})}},Hl=class extends Error{constructor(t){super(String(t),{cause:t})}};var rs=Symbol("InputSignalNode#UNSET"),Jg=Q(z({},Xr),{transformFn:void 0,applyValueToInputSignal(e,t){rt(e,t)}});function Xg(e,t){let n=Object.create(Jg);n.value=e,n.transformFn=t?.transform;function r(){if(et(n),n.value===rs){let o=null;throw new b(-950,o)}return n.value}return r[j]=n,r}var Ug=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Bf(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function e0(e){return new zr}function Wg(e,t){return Xg(e,t)}function dw(e){return Xg(rs,e)}var t0=(Wg.required=dw,Wg);function qg(e,t){return vl(t)}function fw(e,t){return El(t)}var n0=(qg.required=fw,qg);function r0(e,t){return Dh(t)}function Gg(e,t){return vl(t)}function pw(e,t){return El(t)}var o0=(Gg.required=pw,Gg);function em(e,t){let n=Object.create(Jg),r=new zr;n.value=e;function o(){return et(n),zg(n.value),n.value}return o[j]=n,o.asReadonly=_n.bind(o),o.set=i=>{n.equal(n.value,i)||(rt(n,i),r.emit(i))},o.update=i=>{zg(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function zg(e){if(e===rs)throw new b(952,!1)}function Qg(e,t){return em(e,t)}function hw(e){return em(rs,e)}var i0=(Qg.required=hw,Qg);var $l=new k(""),gw=new k("");function Qr(e){return!e.moduleRef}function mw(e){let t=Qr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(Ae);return n.run(()=>{Qr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(zt),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Qr(e)){let i=()=>t.destroy(),s=e.platformInjector.get($l);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get($l);s.add(i),e.moduleRef.onDestroy(()=>{br(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return vw(r,n,()=>{let i=t.get(Gt),s=i.add(),a=t.get(wl);return a.runInitializers(),a.donePromise.then(()=>{let c=t.get(Ll,Gr);if(Jh(c||Gr),!t.get(gw,!0))return Qr(e)?t.get(Ki):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Qr(e)){let u=t.get(Ki);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return yw?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var yw;function vw(e,t,n){try{let r=n();return bl(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var ts=null;function Ew(e=[],t){return Ee.create({name:t,providers:[{provide:ra,useValue:"platform"},{provide:$l,useValue:new Set([()=>ts=null])},...e]})}function Iw(e=[]){if(ts)return ts;let t=Ew(e);return ts=t,jh(),Dw(t),t}function Dw(e){let t=e.get(Qf,null);qo(e,()=>{t?.forEach(n=>n())})}var Cw=1e4;var s0=Cw-1e3;var a0=(()=>{class e{static __NG_ELEMENT_ID__=bw}return e})();function bw(e){return ww(W(),m(),(e&16)===16)}function ww(e,t,n){if(Qe(e)&&!n){let r=ge(e.index,t);return new It(r,r)}else if(e.type&175){let r=t[te];return new It(r,t)}return null}var Ul=class{supports(t){return hl(t)}create(t){return new Wl(t)}},Tw=(e,t)=>t,Wl=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||Tw}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<Zg(r,o,i)?n:r,a=Zg(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=[]),!hl(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,sh(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 ql(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 ns),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 ns),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}},ql=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}},Gl=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}},ns=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Gl,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 Zg(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 zl=class{supports(t){return t instanceof Map||Qi(t)}create(){return new Ql}},Ql=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=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||Qi(t)))throw new b(900,!1);return this.check(t)?this:null}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 Zl(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))}},Zl=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function Yg(){return new _w([new Ul])}var _w=(()=>{class e{factories;static \u0275prov=U({token:e,providedIn:"root",factory:Yg});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=T(e,{optional:!0,skipSelf:!0});return e.create(n,r||Yg())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new b(901,!1)}}return e})();function Kg(){return new Mw([new zl])}var Mw=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:Kg});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=T(e,{optional:!0,skipSelf:!0});return e.create(n,r||Kg())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new b(901,!1)}}return e})();function c0(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;O(x.BootstrapApplicationStart);try{let i=o?.injector??Iw(r),s=[Pl(),xd,...n||[]],a=new Pr({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return mw({r3Injector:a.injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{O(x.BootstrapApplicationEnd)}}function l0(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function u0(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function d0(e,t){let n=Ie(e),r=t.elementInjector||mn();return new Dt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function f0(e){let t=Ie(e);if(!t)return null;let n=new Dt(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,rt as b,Jr as c,Z as d,um as e,N as f,le as g,Zn as h,Yn as i,Rt as j,it as k,Dm as l,Tm as m,_m as n,kt as o,Mm as p,st as q,Pm as r,Ot as s,Ds as t,_o as u,Fm as v,jm as w,Cs as x,bs as y,Hm as z,Es as A,Bm as B,Cm as C,Co as D,bm as E,wu as F,Um as G,Wm as H,qm as I,Gm as J,zm as K,Tu as L,_u as M,Pu as N,Mo as O,Ts as P,_s as Q,xs as R,b as S,rr as T,Fo as U,U as V,Wu as W,Km as X,k as Y,xe as Z,T as _,ta as $,ra as aa,ue as ba,qo as ca,dd as da,fd as ea,Cd as fa,bd as ga,Ee as ha,Ma as ia,Ye as ja,Gt as ka,$e as la,Ae as ma,We as na,zt as oa,yt as pa,vr as qa,Ra as ra,Vy as sa,rv as ta,Bf as ua,Vr as va,uv as wa,dv as xa,Qf as ya,pv as za,hv as Aa,Zf as Ba,gv as Ca,Yt as Da,tn as Ea,Fi as Fa,Dv as Ga,Cv as Ha,bv as Ia,wv as Ja,Tv as Ka,ji as La,up as Ma,Hr as Na,Gv as Oa,mp as Pa,Zv as Qa,Yv as Ra,fE as Sa,Ii as Ta,Nr as Ua,Fn as Va,je as Wa,mE as Xa,Ar as Ya,Rr as Za,wI as _a,Wr as $a,_I as ab,Zi as bb,An as cb,bh as db,sD as eb,Il as fb,cD as gb,uD as hb,pD as ib,hD as jb,_h as kb,Nh as lb,Sh as mb,WD as nb,kh as ob,bl as pb,Ph as qb,Fh as rb,Ki as sb,YD as tb,KD as ub,Bh as vb,XD as wb,eC as xb,tC as yb,nC as zb,rC as Ab,oC as Bb,$h as Cb,Ai as Db,_l as Eb,Uh as Fb,Ml as Gb,Nl as Hb,Wh as Ib,Sl as Jb,xl as Kb,Gh as Lb,uC as Mb,zh as Nb,pC as Ob,Al as Pb,hC as Qb,Qh as Rb,Rn as Sb,ag as Tb,cg as Ub,zC as Vb,lg as Wb,QC as Xb,ZC as Yb,ug as Zb,dg as _b,YC as $b,JC as ac,XC as bc,pg as cc,tb as dc,nb as ec,hg as fc,gg as gc,rb as hc,ob as ic,Ig as jc,Dg as kc,yb as lc,Eb as mc,Sb as nc,Sg as oc,Rl as pc,xg as qc,Ag as rc,Rg as sc,Ob as tc,kg as uc,Pg as vc,Pb as wc,Lb as xc,Fb as yc,Bb as zc,$b as Ac,Ub as Bc,Wb as Cc,qb as Dc,Gb as Ec,Zb as Fc,Kb as Gc,Jb as Hc,Xb as Ic,ew as Jc,tw as Kc,nw as Lc,Ll as Mc,ow as Nc,zr as Oc,Me as Pc,Ct as Qc,Fl as Rc,sw as Sc,Bl as Tc,Ug as Uc,e0 as Vc,t0 as Wc,n0 as Xc,r0 as Yc,o0 as Zc,i0 as _c,a0 as $c,_w as ad,Mw as bd,c0 as cd,l0 as dd,u0 as ed,d0 as fd,f0 as gd};
@@ -1 +1 @@
1
- import{Y as o}from"./chunk-NFXXT6A3.js";var d=new o("WindowToken",{providedIn:"root",factory:()=>typeof window<"u"?window:{}});export{d as a};
1
+ import{Y as o}from"./chunk-TQTOIWBK.js";var d=new o("WindowToken",{providedIn:"root",factory:()=>typeof window<"u"?window:{}});export{d as a};
@@ -0,0 +1 @@
1
+ import{a as Ke}from"./chunk-YCJYEQF7.js";import{a as Ye}from"./chunk-IMQUTGIK.js";import{a as Qe}from"./chunk-C6PICAXB.js";import{A as ze,B as ge,H as Q,J as je,K as He,L as Je,P as Ue,W as Xe,a as pe,c as U,e as X,i as q,k as he,s as K,v as We,y as Ve,z as Ge}from"./chunk-VKQQDCUN.js";import{d as qe}from"./chunk-DSYNIXJF.js";import{aa as Be}from"./chunk-ZC23RK4J.js";import{$b as f,A as be,Ab as re,Ac as we,Bb as se,Bc as ue,Cb as N,Cc as Ie,Db as u,Eb as p,F as _e,Fb as ae,Fc as Le,Gc as Ae,Jb as Se,Jc as ke,Kb as ye,Lb as me,Mb as W,Qc as y,Sa as _,Tb as Oe,Ub as ve,Vb as A,Vc as $e,Wb as Z,Wc as C,Xb as ee,Xc as Ce,Zb as V,_ as ie,ac as J,bc as D,da as v,ea as F,gb as H,gc as Fe,hc as xe,ic as fe,jc as le,kc as z,l as Ee,lb as Y,nc as b,oc as Re,pa as P,pc as De,q as G,qc as ce,ra as L,sc as k,tc as $,uc as B,vb as oe,w as Pe,wb as x,xb as R,yb as Ne,zc as de}from"./chunk-TQTOIWBK.js";import{a as te,b as ne}from"./chunk-7CGTOI24.js";var lt=["treeContainer"],ct=["formRef"],dt=[[["label"]],[["label"]],[["input"]]],ut=["label","label","input"],pt=r=>({children:r,level:0}),nt=r=>({$implicit:r}),ht=(r,t)=>({children:r,level:t}),gt=()=>({maxWidth:"700px",width:"100%"}),_t=(r,t)=>t.id;function mt(r,t){if(r&1){let e=W();u(0,"sh-button-group",21),B("valueChange",function(i){v(e);let o=f();return $(o.pathDiscoveryMethod,i)||(o.pathDiscoveryMethod=i),F(i)}),u(1,"button",22),A(2,4),p(),u(3,"button",23),A(4,5),p()()}if(r&2){let e=f();k("value",e.pathDiscoveryMethod)}}function ft(r,t){r&1&&ae(0,"sh-progress-bar",14)}function Ct(r,t){r&1&&(u(0,"sh-icon",29),b(1,"caret-down"),p())}function Tt(r,t){r&1&&ae(0,"sh-icon",29)}function Mt(r,t){r&1&&(u(0,"sh-icon",29),b(1,"spinner"),p())}function Et(r,t){r&1&&(u(0,"sh-icon",29),b(1,"caret-right"),p())}function Pt(r,t){r&1&&(u(0,"sh-icon",26),b(1,"folder-open"),p())}function bt(r,t){r&1&&(u(0,"sh-icon",26),b(1,"folder-user"),p())}function Nt(r,t){r&1&&(u(0,"sh-icon",26),b(1,"file"),p())}function St(r,t){r&1&&(u(0,"sh-icon",26),b(1,"folder"),p())}function yt(r,t){if(r&1&&(x(0,Ct,2,0,"sh-icon",29)(1,Tt,1,0,"sh-icon",29)(2,Mt,2,0,"sh-icon",29)(3,Et,2,0,"sh-icon",29),x(4,Pt,2,0,"sh-icon",26)(5,bt,2,0,"sh-icon",26)(6,Nt,2,0,"sh-icon",26)(7,St,2,0,"sh-icon",26)),r&2){let e=f(2).$implicit,n=f(2);R(e.children.length?0:e.cls==="file"?1:e.id===n.isLoading()?2:3),_(4),R(e.children.length?4:e.id==="%HOME%"?5:e.cls==="file"?6:7)}}function Ot(r,t){r&1&&(u(0,"sh-icon",26),b(1,"desktop-tower"),p())}function vt(r,t){if(r&1&&(u(0,"span",28),b(1),Le(2,"bytes"),p()),r&2){let e=f(2).$implicit;_(),De("\xA0(",Ae(2,1,e.fileSize),")")}}function Ft(r,t){r&1&&me(0)}function xt(r,t){if(r&1&&Y(0,Ft,1,0,"ng-container",15),r&2){let e=f(2).$implicit,n=f().$implicit;f();let i=fe(7);N("ngTemplateOutlet",i)("ngTemplateOutletContext",ue(5,nt,Ie(2,ht,e.children,n.level+1)))}}function Rt(r,t){if(r&1){let e=W();u(0,"div",24,3),V("click",function(){v(e);let i=f().$implicit,o=f(2);return F(o.toggleNode(i.id,i))}),u(2,"div",25),x(3,yt,8,2)(4,Ot,2,0,"sh-icon",26),p(),u(5,"div",27),V("click",function(i){v(e);let o=f().$implicit,l=f(2);return F(l.toggleSelectedNode(i,o))}),u(6,"span"),b(7),p(),x(8,vt,3,3,"span",28),p()(),x(9,xt,1,7,"ng-container")}if(r&2){let e=f().$implicit,n=f().$implicit,i=f();z("accepted",e.accepted===!0)("active",e.evalState===i.TreeEvalEnum.Included)("indeterminate",e.isIndeterminate)("open",e.children.length)("usually-hidden",e.hidden)("root",n.level===0)("loading",i.isLoading()===e.id)("generated",e.isGenerated)("search-match",e.isSearchMatch),_(2),z("file",e.cls==="file"),_(),R(e.id!=="/"?3:4),_(4),Re(e.text),_(),R(e.cls=="file"&&e.fileSize!=null?8:-1),_(),R(e.children.length>0?9:-1)}}function Dt(r,t){if(r&1&&x(0,Rt,10,24),r&2){let e=t.$implicit,n=f(2);R(e.hidden&&n._showHiddenNodes()||!e.hidden?0:-1)}}function wt(r,t){if(r&1&&(u(0,"sh-list"),re(1,Dt,1,1,null,null,_t),p()),r&2){let e=t.$implicit;le("padding-left",e.level*.25,"rem"),_(),se(e.children)}}function It(r,t){r&1&&me(0)}function Lt(r,t){if(r&1){let e=W();u(0,"sh-toggle",30),B("checkedChange",function(i){v(e);let o=f();return $(o._showHiddenNodes,i)||(o._showHiddenNodes=i),F(i)}),A(1,6),p()}if(r&2){let e=f();k("checked",e._showHiddenNodes),_(),Z(e.showFiles()?"files":"folders"),ee(1)}}function At(r,t){if(r&1){let e=W();u(0,"button",31),V("click",function(){v(e);let i=f();return F(i.openCreateFolderDialog())}),A(1,7),p()}if(r&2){let e=f();N("disabled",!e.isCurrentPathFolder())}}function kt(r,t){if(r&1){let e=W();u(0,"sh-dialog",32),B("isOpenChange",function(i){v(e);let o=f();return $(o.createFolderDialogOpen,i)||(o.createFolderDialogOpen=i),F(i)}),u(1,"header",33)(2,"h2"),A(3,8),p()(),u(4,"div",34)(5,"div",35)(6,"p"),A(7,9),p(),u(8,"div",36)(9,"pre"),b(10),p()()(),u(11,"sh-form-field")(12,"textarea",37),B("ngModelChange",function(i){v(e);let o=f();return $(o.createFolderPath,i)||(o.createFolderPath=i),F(i)}),p()()(),u(13,"footer",38)(14,"button",39),V("click",function(){v(e);let i=f();return F(i.closeCreateFolderDialog(!1))}),b(15,"Cancel"),p(),u(16,"button",40),V("click",function(){v(e);let i=f();return F(i.closeCreateFolderDialog(!0))}),Oe(17,10),ae(18,"sh-icon"),ve(),p()()()}if(r&2){let e,n=f();k("isOpen",n.createFolderDialogOpen),N("options",we(6,gt)),_(10),ce("",n.currentPathResolvedShorthands(),"",n.createFolderPath()?"/"+n.createFolderPath():""),_(2),k("ngModel",n.createFolderPath),_(4),N("disabled",!((e=n.createFolderPath())!=null&&e.length))}}var it=(o=>(o[o.ExcludedByParent=-2]="ExcludedByParent",o[o.Excluded=-1]="Excluded",o[o.None=0]="None",o[o.Included=1]="Included",o[o.IncludedByParent=2]="IncludedByParent",o))(it||{}),E="/",Te=class r{#e=ie(qe);#i=ie(Qe);#p=ie(Ge);multiSelect=C(!1);disabled=C(!1);showFiles=C(!1);selectFiles=C(!1);accepts=C(null);startingPath=C(null);rootPaths=C([]);initialNodes=C([]);backupSettings=C(null);pathRefreshTrigger=C(!1);showHiddenNodes=C(!1);enableCreateFolder=C(!1);hideShortcuts=C(!1);customRemoteMode=C(null);backupId=C("");sourcePrefix=C("");destinationUrl=C("");loadExtendedData=C(!0);hasExtendedData=$e();searchMode=C(!1);searchResults=C([]);_showHiddenNodes=P(!1);createFolderDialogOpen=P(!1);createFolderPath=P(null);treeContainerRef=Ce("treeContainer");formRef=Ce("formRef");pathDiscoveryMethod=P("browse");isLoading=P(null);currentPath=P("");currentPathResolvedShorthands=y(()=>this.#i.resolveShorthandPath(this.currentPath()));#r=P(null);treeSearchQuery=P("");treeNodes=P([]);pathDelimiter=y(()=>this.#i.systemInfo()?.DirectorySeparator??"");filterGroups=this.#i.filterGroups();isByBackupSettings=y(()=>{let t=this.backupSettings();return!(t===void 0||t?.id===void 0||t?.time===void 0)});searchableTreeNodes=y(()=>{let t=this.treeSearchQuery();return t?this.treeNodes().filter(e=>e.text?.toLowerCase().includes(t.toLowerCase())):this.treeNodes()});TreeEvalEnum=it;searchResultTreeStructure=y(()=>{let t=this.searchResults();if(t.length===0)return[];let e=this.currentPath().split("\0").filter(a=>a!==""&&a!==E),n=this.showHiddenNodes(),i=new Map;for(let a of t){let c=a.Path??"",h=this.#n(c),O=c.split(h).filter(S=>S!==""),T="";for(let S=0;S<O.length;S++){let w=O[S],I=S===O.length-1,j=!I||this.#t(c),st=T||E,Me=T?T.endsWith(h)?T.slice(0,-h.length):T:"";if(T=Me?`${Me}${h}${w}`:`${h}${w}`,j&&!T.endsWith(h)&&(T+=h),!i.has(T))i.set(T,{part:w,parentPath:st,isFolder:j,match:I?a:null});else if(I){let at=i.get(T);at.match=a}}}let o=new Map;for(let[a,c]of i)o.has(c.parentPath)||o.set(c.parentPath,[]),o.get(c.parentPath).push(a);let l=new Set,g=new Map;for(let[a,c]of i){if(!c.isFolder){l.add(a);continue}let h=o.get(c.parentPath)||[];if(h.length===1&&h[0]===a&&c.parentPath!==E)continue;l.add(a);let T=c.part,S=a;for(;;){let w=o.get(S)||[];if(w.length!==1)break;let I=w[0],j=i.get(I);if(!j||!j.isFolder)break;T+="/"+j.part,S=I}S!==a&&g.set(a,T)}l.add(E);let s=[],d=new Map,M=Array.from(l).filter(a=>a!==E).sort((a,c)=>a.split("/").length-c.split("/").length||a.localeCompare(c));for(let a of M){let c=i.get(a);if(!c)continue;let h=c.parentPath;for(;h!==E&&!l.has(h);)h=i.get(h)?.parentPath||E;if(d.has(a))continue;let O=this.#a(g.get(a),c.match?.Metadata)??c.part,T=c.match===null,S=c.match!==null&&!c.isFolder&&n?0:this.#s(e,a,c.isFolder?"folder":"file",null),w={id:a,resolvedpath:a,text:O,parentPath:h,children:[],evalState:S,isIndeterminate:this.isIndeterminate(e,a),cls:c.isFolder?"folder":"file",isSearchMatch:c.match!==null,isGenerated:T,hasChildrenInSearch:(o.get(a)?.length||0)>0,iconCls:null,check:!1,leaf:!c.isFolder,hidden:!1,systemFile:!1,temporary:!1,symlink:!1,fileSize:c.match?.Size??0};if(d.set(a,w),h===E)s.push(w);else{let I=d.get(h);I&&I.children.push(w)}}let m=a=>{a.sort((c,h)=>c.cls==="folder"&&h.cls!=="folder"?-1:c.cls!=="folder"&&h.cls==="folder"?1:(c.text??"").localeCompare(h.text??"")),a.forEach(c=>m(c.children))};return m(s),s});treeStructure=y(()=>{if(this.searchMode())return this.searchResultTreeStructure();let t=this.showHiddenNodes(),e=this.currentPath().split("\0").filter(s=>s!==""&&s!==E),n=structuredClone(e);for(let s=0;s<n.length;s++){let M=n[s].slice(1);if(M.startsWith("{")&&M.endsWith("}")){let m=M.slice(1,-1),a=this.filterGroups?.FilterGroups[m];if(a&&a.length){let c=a.map(h=>`-${h}`);n.splice(s,1,...c)}}}let i=this.searchableTreeNodes(),o=this.rootPaths(),l=this.accepts(),g=[];return o.length>0?g=o.map(s=>{let d=this.#s(n,s,"folder",null);return{id:s,resolvedpath:s,text:s,parentPath:"",children:[],evalState:d,isIndeterminate:!1,cls:this.#t(s)?"folder":"file"}}):g=[{id:E,resolvedpath:E,text:$localize`Computer`,parentPath:"",children:[],evalState:0,isIndeterminate:!1,cls:"folder"}],g.map(s=>{let d=new Map;if(!s.id)return;let M=s.id;l&&(s.accepted=!0),d.set(M,s);let m=o.length>0?i.filter(a=>a.parentPath.startsWith(M)):i;for(let a of m){if(!a.id)continue;let c=a.id;if(!a.cls||d.has(c))continue;let h=d.get(a.parentPath),O=a.hidden===!0&&t?0:this.#s(n,c,a.cls,h),T=ne(te({},a),{isIndeterminate:this.isIndeterminate(n,c),evalState:O,children:[]});l&&(T.accepted=this.matchAccepts(l,T)),d.set(c,T),T.id?.startsWith("%")&&T.id?.endsWith("%")&&d.set(this.#l(c),T),h&&h.children.push(T)}return s}),g});#l(t){if(!t)return E;let e=this.#n(t);return t.endsWith("/")||t.endsWith("\\")||t===E?t:t+e}#s(t,e,n,i){if(i&&i.evalState===-1)return-2;let o=0,l=t.filter(d=>!d.startsWith("-")&&!d.startsWith("+")),g=t.filter(d=>d.startsWith("-")||d.startsWith("+")),s=this.multiSelect();if(l.length===0)return o;for(let d=0;d<l.length;d++){let M=l[d];if(e===M){o=1;break}if(!s||!this.#t(M))continue;if(e?.startsWith(M)){o=1;break}}if(g.length===0)return o;for(let d=0;d<g.length;d++){let M=g[d],m=M.slice(1),a=M.startsWith("-")?-1:1;if(this.#t(m)){if(n!=="folder")continue;if(e===m){o=a;break}}if(m.startsWith("*")&&(m.endsWith("*\\")||m.endsWith("*/"))){if(n!=="folder")continue;let h=m.slice(1,-2);if(h==="")break;if(e?.includes(h+"\\")||e?.includes(h+"/")){o=a;break}}if(m.startsWith("[.*")&&(m.endsWith("[^\\/]*]")||m.endsWith("[^\\\\]*]"))){if(n!=="file")continue;let h=m.slice(3,-7);if(new RegExp(h).test(e)){o=a;break}}if(m.startsWith("[")&&m.endsWith("]")){let h=m.slice(1,-1),O=this.translateCSharpRegex(h);if(new RegExp(`${O}`).test(e)){o=a;break}}if(m.startsWith("*.")){if(n!=="file"||m.replace("*.","").length===0)continue;if(this.#c(e,m,!0)){o=a;break}}if(m==="")continue;if(m===e){o=a;break}if(this.#c(e,m,!0)){o=a;break}}return o}translateCSharpRegex(t){let e=t;e=e.replace(/^@/,"");let n=/\(\?<(?<name>\w+)>(?<pattern>[^)]+)\)/g;return e=e.replace(n,(i,o,l)=>`(${l})`),e=e.replace(/\\/g,"\\\\"),e}isIndeterminate(t,e){return t.filter(n=>!n.startsWith("-")&&this.#t(n)).some(n=>n.startsWith(e))}isCurrentPathFolder(){let t=this.currentPath();return t?t.endsWith("/")||t.endsWith("\\")||t.startsWith("%")&&t.endsWith("%")&&!t.includes("/")&&!t.includes("\\"):!1}#c(t,e,n=!1){let i=e.replace(/\*/g,".*").replace(/\?/g,".").replace(/\[!([^\]]+)\]/g,"[^$1]");return new RegExp(`${i}${n?"$":""}`).test(t)}#n(t){return t?t.includes("/")?"/":t.includes("\\")?"\\":this.pathDelimiter():this.pathDelimiter()}showHiddenNodesEffect=L(()=>this._showHiddenNodes.set(this.showHiddenNodes()));pathDiscoveryMethodEffect=L(()=>{let t=this.pathDiscoveryMethod(),e=this.#r();if(t==="browse"&&e){let n=e.value;if(n==null||n==="")return;this.currentPath.set(n)}});matchAccepts(t,e){if(!t||e.cls==="folder"||e.id===E)return!0;let n=t.split(",");if(n.length===0)return!0;let i="."+e.id.slice(e.id.indexOf("."));return i?n.some(o=>i.endsWith(o)):!1}currentPathEffect=L(()=>{let t=this.#r();t&&(t.value=this.currentPath(),t.dispatchEvent(new Event("input")))});inputValueChangeAbortController=null;inputRefEffect=L(()=>{let t=this.formRef()?.nativeElement?.querySelector("input");t&&(this.#h(t),this.inputValueChangeAbortController&&this.inputValueChangeAbortController.abort(),this.inputValueChangeAbortController=new AbortController,t.addEventListener("inputValueChanged",e=>{this.currentPath.set(e.detail.value)},{signal:this.inputValueChangeAbortController.signal}),this.#r.set(t),t.autocomplete="off")});ngOnInit(){let t=this.startingPath();if(t)this.currentPath.set(t),this.#T(t);else{let e=this.rootPaths(),n=this.initialNodes();e&&e.length>0?(n&&n.length>0&&this.treeNodes.set(n.map(i=>({id:i.id,leaf:i.leaf,cls:i.cls,text:this.#a(i.text,i?.Metadata),iconCls:i.iconCls,fileSize:i.fileSize,resolvedpath:i.resolvedpath,parentPath:this.getParentPath(i.id??"")}))),this.#o(null,e[0])):this.#o(null,E)}}getParentPath(t){let e=this.#n(t),n=t.split(e);return n.length<=1?E:(n.pop(),n.length!==0&&n.pop(),n.join(e)+e)}toggleSelectedNode(t,e){if(e.id===E||(t.stopPropagation(),this.searchMode()&&!e.isSearchMatch)||e.evalState===-2)return;if(this.selectFiles()&&e.cls==="folder"){this.toggleNode(e.id,e);return}if(this.accepts()&&!e.accepted)return;let i=this.currentPath().split("\0").filter(s=>s!==""&&s!==E),l=this.isChildOfSelected(e)?`-${e.id}`:e.id,g=this.#t(e.id);if(this.multiSelect())if(i.includes(e.id))this.currentPath.set(i.filter(s=>s!==e.id&&!(g&&s.startsWith(l))).join("\0"));else if(i.some(s=>s==l))this.currentPath.set(i.filter(s=>s!==l).join("\0"));else{let s=g?i.filter(d=>!d.startsWith(e.id)):i;this.currentPath.set([...s,l].join("\0"))}else i.includes(e.id)?this.currentPath.set(i.filter(s=>s!==e.id).join("\0")):this.currentPath.set(e.id)}isChildOfSelected(t){return this.currentPath().split("\0").filter(n=>n!==""&&n!==E&&this.#t(n)).some(n=>t.id?.startsWith(n)||`-${t.id}`.startsWith(n))}toggleNode(t,e=null){e?.cls==="folder"&&(e?.children.length?this.treeNodes.update(n=>n.filter(i=>!i.id?.startsWith(e.id)||i.id===e.id)):this.#o(e,t))}openCreateFolderDialog(){return this.createFolderPath.set(null),this.createFolderDialogOpen.set(!0),!1}closeCreateFolderDialog(t){if(t&&this.createFolderPath()?.length&&this.isCurrentPathFolder()){let e=this.createFolderPath()?.trim();if(e){let n=this.currentPath(),i=this.currentPathResolvedShorthands(),o=this.#l(e),l=`${i}/${o}`;this.#e.postApiV1RemoteoperationCreate({requestBody:{path:"file://"+l}}).subscribe({next:()=>{this.currentPath.set(l),this.#o(null,n),setTimeout(()=>{this.#d()},500),this.createFolderDialogOpen.set(!1)},error:g=>{let s=g?.message?.match(/user-information\s*:\s*(.*?)(?:\s*,|$)/i),d=s?s[1]:g?.message||$localize`An error occurred while trying to create the folder.`;this.#p.open(Ye,{data:{title:$localize`Cannot create folder`,message:d,confirmText:$localize`OK`,cancelText:void 0}})}})}}else this.createFolderDialogOpen.set(!1);return!1}#d(){setTimeout(()=>{let e=this.treeContainerRef()?.nativeElement?.querySelector(".active");e&&e.scrollIntoView({behavior:"smooth",block:"center"})},100)}#h(t){return Object.defineProperty(t,"value",{configurable:!0,get(){return Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").get.call(this)},set(e){return Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").set.call(this,e),this.dispatchEvent(new CustomEvent("inputValueChanged",{bubbles:!0,cancelable:!0,detail:{value:e}})),e}}),t}#g(t){return this.#e.postApiV1Filesystem({showHidden:!0,requestBody:{path:t},onlyFolders:!this.showFiles()})}#_(t){return this.#e.postApiV1WebmoduleByModulekey({modulekey:"office365",requestBody:{"backup-id":this.backupId()??"","source-prefix":this.sourcePrefix()??"",operation:"ListDestinationRestoreTargets",url:this.destinationUrl()??"",path:t??"/"}}).pipe(G(e=>{let n=e.Result;return Object.keys(n).map(i=>({Path:i,Metadata:JSON.parse(n[i])}))}))}#m(t){return this.#e.postApiV1WebmoduleByModulekey({modulekey:"googleworkspace",requestBody:{"backup-id":this.backupId()??"","source-prefix":this.sourcePrefix()??"",operation:"ListDestinationRestoreTargets",url:this.destinationUrl()??"",path:t??"/"}}).pipe(G(e=>{let n=e.Result;return Object.keys(n).map(i=>({Path:i,Metadata:JSON.parse(n[i])}))}))}#f(t){return this.#e.postApiV1WebmoduleByModulekey({modulekey:"diskimage",requestBody:{operation:"ListDestinationRestoreTargets",path:t??"/"}}).pipe(G(e=>{let n=e.Result;return Object.keys(n).map(i=>({Path:i,Metadata:JSON.parse(n[i])}))}))}#C(t){let e=this.backupSettings();if(this.#i.hasV2ListOperations())return this.#e.postApiV2BackupListFolder({requestBody:{BackupId:e.id,Time:e.time,Paths:t?[t]:null,PageSize:0,Page:0,ReturnExtended:this.customRemoteMode()!==null||this.loadExtendedData()}}).pipe(G(n=>n.Data??[]));{let n={id:e.id+"",prefixOnly:!1,folderContents:!0,time:e.time,filter:t?"@"+t:void 0};return this.#e.getApiV1BackupByIdFiles(n).pipe(G(i=>i.Files??[]))}}#u(t){return this.customRemoteMode()==="o365"?this.#_(t):this.customRemoteMode()==="gsuite"?this.#m(t):this.customRemoteMode()==="diskimage"?this.#f(t):this.isByBackupSettings()?this.#C(t):this.#g(t)}#T(t){let n=t.split("\0").filter(l=>!l.startsWith("-")&&!l.startsWith("+")&&!l.startsWith("@")).filter(Boolean).map(l=>{let g=this.#n(l),s=l.split(g);return s.at(-1)===""&&s.pop(),{split:s,sep:g}}),i=[E];n.forEach(({split:l,sep:g})=>{l.forEach((s,d)=>{let M=l.slice(0,d+1).join(g)+g;M===""||M===g||i.includes(M)||i.push(M)})});let o=i.map(l=>(this.isLoading.set(l),this.#u(l).pipe(G(g=>({status:"success",value:g,url:l})),be(g=>Ee({status:"error",value:g,url:l})))));Pe(o).pipe(_e(()=>this.isLoading.set(null))).subscribe({next:l=>{let g=l.filter(d=>d.status==="success"),s=l.filter(d=>d.status==="error");this.treeNodes.update(d=>{let M=g.flatMap(a=>Array.isArray(a.value)?a.value.map(c=>ne(te({},c),{parentPath:a.url})):[]),m=[...new Map([...d,...M].map(a=>[a.id,a])).values()];return this.#d(),this.hideShortcuts()?m.filter(a=>!a.id.startsWith("%")):m})}})}#a(t,e){if(e){let n=e["o365:Name"]||e["o365:DisplayName"]||e["gsuite:Name"]||e["gsuite:DisplayName"]||e["diskimage:Name"];if(n)return n}return t}#M(t){t&&t.ExtType&&t.ExtType.length>0&&this.hasExtendedData.emit(t.ExtType)}#t(t){return t.startsWith("%")&&t.endsWith("%")&&!t.includes("/")&&!t.includes("\\")||t.endsWith("/")||t.endsWith("\\")}#o(t=null,e=E){this.isLoading.set(e),this.#u(e).pipe(_e(()=>this.isLoading.set(null))).subscribe({next:n=>{let i=this.isByBackupSettings()||this.customRemoteMode()!==null?n.map(o=>{this.#M(o.Metadata);let l=this.#n(o.Path);return{text:this.#a(o.Path.split(l).filter(s=>s!=="").pop(),o.Metadata),id:o.Path,cls:this.#t(o.Path)?"folder":"file",leaf:t!==null,resolvedpath:o.Path,hidden:!1,fileSize:o.Size}}):n;this.treeNodes.update(o=>{let l=i.map(s=>{let d=this.#t(s.id)?"folder":"file";return ne(te({},s),{cls:d,parentPath:e})}),g=[...new Map([...o,...l].map(s=>[s.id,s])).values()];return this.hideShortcuts()?g.filter(s=>!s.id.startsWith("%")):g})}})}static \u0275fac=function(e){return new(e||r)};static \u0275cmp=H({type:r,selectors:[["app-file-tree"]],viewQuery:function(e,n){e&1&&Fe(n.treeContainerRef,lt,5)(n.formRef,ct,5),e&2&&xe(2)},hostVars:2,hostBindings:function(e,n){e&2&&z("disabled",n.disabled())},inputs:{multiSelect:[1,"multiSelect"],disabled:[1,"disabled"],showFiles:[1,"showFiles"],selectFiles:[1,"selectFiles"],accepts:[1,"accepts"],startingPath:[1,"startingPath"],rootPaths:[1,"rootPaths"],initialNodes:[1,"initialNodes"],backupSettings:[1,"backupSettings"],pathRefreshTrigger:[1,"pathRefreshTrigger"],showHiddenNodes:[1,"showHiddenNodes"],enableCreateFolder:[1,"enableCreateFolder"],hideShortcuts:[1,"hideShortcuts"],customRemoteMode:[1,"customRemoteMode"],backupId:[1,"backupId"],sourcePrefix:[1,"sourcePrefix"],destinationUrl:[1,"destinationUrl"],loadExtendedData:[1,"loadExtendedData"],searchMode:[1,"searchMode"],searchResults:[1,"searchResults"]},outputs:{hasExtendedData:"hasExtendedData"},ngContentSelectors:ut,decls:18,vars:17,consts:()=>{let t;t=$localize`Browse path`;let e;e=$localize`Manually type path`;let n;n=$localize` Show hidden ${"\uFFFD0\uFFFD"}:INTERPOLATION: `;let i;i=$localize` Create folder `;let o;o=$localize`Enter new folder path`;let l;l=$localize`Will be created as:`;let g;return g=$localize` Create folder ${"\uFFFD#18\uFFFD"}:START_TAG_SH_ICON:folder-plus${"\uFFFD/#18\uFFFD"}:CLOSE_TAG_SH_ICON:`,[["treeContainer",""],["recursiveTree",""],["formRef",""],["treeNode",""],t,e,n,i,o,l,g,[1,"type-b","small",3,"value"],[1,"section"],[1,"browse-files"],[1,"indeterminate","primary"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"footer"],[1,"primary","raised","browse-files-toggle",3,"checked"],["shButton","","type","button",1,"small","create-folder",3,"disabled"],[1,"form-field"],[3,"isOpen","options"],[1,"type-b","small",3,"valueChange","value"],["type","button","value","browse"],["type","button","value","path"],["action","",3,"click"],[1,"icon"],[1,"primary"],[1,"text",3,"click"],[1,"size"],[1,"small"],[1,"primary","raised","browse-files-toggle",3,"checkedChange","checked"],["shButton","","type","button",1,"small","create-folder",3,"click","disabled"],[3,"isOpenChange","isOpen","options"],["header",""],["content",""],[1,"wrap-box"],[1,"box"],["id","targetUrl","autocomplete","off",3,"ngModelChange","ngModel"],["footer",""],["shButton","","type","button",3,"click"],["shButton","",1,"raised","primary",3,"click","disabled"]]},template:function(e,n){if(e&1&&(J(dt),x(0,mt,5,1,"sh-button-group",11),u(1,"div",12),D(2,0,["ngProjectAs","label",5,["label"]]),u(3,"div",13,0),x(5,ft,1,0,"sh-progress-bar",14),Y(6,wt,3,2,"ng-template",null,1,ke)(8,It,1,0,"ng-container",15),p(),u(9,"div",16),x(10,Lt,2,2,"sh-toggle",17),x(11,At,2,1,"button",18),p()(),u(12,"div",19,2)(14,"sh-form-field"),D(15,1,["ngProjectAs","label",5,["label"]]),D(16,2,["ngProjectAs","input",5,["input"]]),p()(),x(17,kt,19,7,"sh-dialog",20)),e&2){let i=fe(7);R(!n.multiSelect()&&n.customRemoteMode()===null&&!n.searchMode()?0:-1),_(),z("hidden",!n.searchMode()&&n.pathDiscoveryMethod()!=="browse"),_(2),z("visualize-accepted",n.accepts()),_(2),R(n.isLoading()!=null?5:-1),_(3),N("ngTemplateOutlet",i)("ngTemplateOutletContext",ue(15,nt,ue(13,pt,n.treeStructure()))),_(2),R(!n.accepts()&&!n.isByBackupSettings()&&n.customRemoteMode()===null&&!n.searchMode()?10:-1),_(),R(n.enableCreateFolder()&&n.customRemoteMode()===null&&!n.searchMode()?11:-1),_(),z("hidden",n.searchMode()||n.pathDiscoveryMethod()!=="path"),_(5),R(n.createFolderDialogOpen()?17:-1)}},dependencies:[ge,ze,Xe,We,Q,je,Je,Ve,Be,K,U,X,q,Ke],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;gap:1rem}.disabled[_nghost-%COMP%]{opacity:.5;-webkit-user-select:none;user-select:none;pointer-events:none;position:relative}.disabled[_nghost-%COMP%]:before{content:"";position:absolute;inset:0;background:transparent}.fill[_nghost-%COMP%]{height:auto;overflow:hidden;flex:1 0}.fill[_nghost-%COMP%] .section[_ngcontent-%COMP%]{height:auto;overflow:hidden;flex:1 0;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"label toggle" "tree tree"}.fill[_nghost-%COMP%] .browse-files[_ngcontent-%COMP%]{resize:none;height:initial;grid-area:tree}.fill[_nghost-%COMP%] label[_ngcontent-%COMP%]{grid-area:label}.fill[_nghost-%COMP%] sh-toggle[_ngcontent-%COMP%]{grid-area:toggle;flex-direction:row-reverse}.section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.form-field.hidden[_ngcontent-%COMP%]{display:none}.browse-files[_ngcontent-%COMP%]{display:flex;gap:.5rem;padding:.5rem 1rem;height:12.5rem;min-height:6.25rem;border:1px solid var(--base-4);border-radius:var(--shape-3);overflow:auto;resize:vertical;background:var(--base-1);position:relative}.browse-files[_ngcontent-%COMP%] sh-progress-bar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0}.browse-files.visualize-accepted[_ngcontent-%COMP%] [action][_ngcontent-%COMP%]:not(.accepted){opacity:.5}.browse-files.visualize-accepted[_ngcontent-%COMP%] [action].accepted[_ngcontent-%COMP%]{opacity:1}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%]{--list-active-bg: var(--base-3);gap:.125rem;padding:0;height:min-content;min-width:min-content}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%]{padding:0;gap:0;border:1px solid transparent}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%] [action].active[_ngcontent-%COMP%]{border-color:transparent;--list-active-bg: var(--primary-2)}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%] [action].indeterminate[_ngcontent-%COMP%]{border-color:var(--primary-4)}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%] [action].usually-hidden[_ngcontent-%COMP%]{opacity:.6}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%] .size[_ngcontent-%COMP%]{opacity:.6}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%] [action].generated[_ngcontent-%COMP%]{opacity:.6}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%] [action].generated[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{color:var(--base-7)}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%] [action].root[_ngcontent-%COMP%]{gap:.25rem}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%] [action].root[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]:has(sh-icon:nth-child(2)){width:3rem}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%] [action].root[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:1.5rem}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%] [action].loading[_ngcontent-%COMP%]{opacity:.7}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{flex:1 0;height:100%;width:max-content;display:flex;align-items:center}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:3rem;gap:.25rem;height:1.5rem;display:flex;align-items:center;justify-content:center;cursor:pointer}.browse-files[_ngcontent-%COMP%] sh-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%] .icon.file[_ngcontent-%COMP%]{width:3rem;padding:0 .25rem}.browse-files-toggle[_ngcontent-%COMP%]{color:var(--base-9)}.hidden[_ngcontent-%COMP%]{display:none}.footer[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.box[_ngcontent-%COMP%]{border:1px solid var(--base-4);border-radius:var(--shape-3);padding:.5rem;background:var(--base-2)}.box[_ngcontent-%COMP%] pre[_ngcontent-%COMP%]{margin:0}.wrap-box[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;margin-bottom:1rem}'],changeDetection:0})};var $t=[[["label"]],[["","prefix",""]],[["","suffix",""]]],Bt=["label","[prefix]","[suffix]"];function Wt(r,t){if(r&1&&b(0),r&2){let e=t.$implicit,n=f();ce("",e.label,"",n.hasPerSecond()?"/s":"")}}var Vt=["throttle-upload","throttle-download"],Gt=[{value:"B",label:"Bytes"},{value:"KB",label:"KB"},{value:"MB",label:"MB"},{value:"GB",label:"GB"},{value:"TB",label:"TB"},{value:"PB",label:"PB"}],zt=r=>{if(!r||typeof r!="string"||r.length===0)return{size:0,unit:"MB"};let t=r.match(/^(\d+)(bytes|kb|mb|gb|tb|pb|b|kib|mib|gib|tib|pib)$/i);return t&&(t[2].toUpperCase()==="B"||t[2].toUpperCase()==="BYTES")?{size:1,unit:"KB"}:{size:t?parseInt(t[1],10):0,unit:t?t[2].toUpperCase():"MB"}},ot=class r{customId=C();inputType=C();timespan=P(0);unit=P("MB");sizeOptions=P(Gt);readonly=P(!1);hasPerSecond=y(()=>{let t=this.inputType();return t&&Vt.includes(t)});onChange=()=>{};onTouched=()=>{};onChangeEffect=L(()=>{this.onChange(this.getValue())});writeValue(t){if(t){let e=zt(t);e?queueMicrotask(()=>{this.timespan.set(e.size),this.unit.set(e.unit)}):(this.timespan.set(0),this.unit.set("MB"))}else this.timespan.set(0),this.unit.set("MB")}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.readonly.set(t)}getValue(){return`${this.timespan()}${this.unit()}`}static \u0275fac=function(e){return new(e||r)};static \u0275cmp=H({type:r,selectors:[["app-size"]],inputs:{customId:[1,"customId"],inputType:[1,"inputType"]},features:[de([{provide:pe,useExisting:r,multi:!0}])],ngContentSelectors:Bt,decls:9,vars:10,consts:[[1,"label"],["type","number",3,"ngModelChange","id","ngModel","disabled"],["value","value","label","label",3,"options","readonly","isClearable"],["type","text",3,"ngModelChange","ngModel"]],template:function(e,n){e&1&&(J($t),u(0,"div",0),D(1,0,["ngProjectAs","label",5,["label"]]),p(),u(2,"sh-form-field")(3,"input",1),B("ngModelChange",function(o){return $(n.timespan,o)||(n.timespan=o),o}),p(),D(4,1),D(5,2),p(),u(6,"sh-select",2)(7,"input",3),B("ngModelChange",function(o){return $(n.unit,o)||(n.unit=o),o}),p(),Y(8,Wt,1,2,"ng-template"),p()),e&2&&(_(2),oe("readonly",n.readonly()||void 0),_(),N("id",n.customId()),k("ngModel",n.timespan),N("disabled",n.readonly()),_(3),le("--miw",0),N("options",n.sizeOptions())("readonly",n.readonly())("isClearable",!1),_(),k("ngModel",n.unit))},dependencies:[Ue,Q,K,U,he,X,q],styles:['[_nghost-%COMP%]{display:grid;grid-template-areas:"label label" "input unit";grid-template-columns:3fr 1fr;gap:.5rem;align-items:flex-end}[_nghost-%COMP%] .label[_ngcontent-%COMP%]{grid-area:label;grid-column:1/-1}[_nghost-%COMP%] sh-form-field[_ngcontent-%COMP%]{grid-area:input}[_nghost-%COMP%] sh-select[_ngcontent-%COMP%]{grid-area:unit}'],changeDetection:0})};var jt=[[["label"]],[["","prefix",""]],[["","suffix",""]]],Ht=["label","[prefix]","[suffix]"];function Jt(r,t){if(r&1){let e=W();u(0,"button",7),V("click",function(){let i=v(e).$implicit,o=f();return F(o.updateUnit(i.value))}),A(1,1),p()}if(r&2){let e=t.$implicit;_(),Z(e.label),ee(1)}}var Ut=[{value:"s",label:$localize`Seconds`},{value:"m",label:$localize`Minutes`},{value:"h",label:$localize`Hours`}],Xt=[{value:"Y",label:$localize`Years`},{value:"M",label:$localize`Months`},{value:"W",label:$localize`Weeks`},{value:"D",label:$localize`Days`}],qt=["retry-delay","web-timeout","read-write-timeout","run-script-timeout","list-timeout","short-timeout"],rt=class r{customId=C();inputType=C();timespan=P(0);#e="D";unit=P(this.#e);unitLabel=y(()=>{let t=this.timeOptions(),e=t.findIndex(n=>n.value===this.unit());return t[e]?.label??this.unit()});isShortTime=y(()=>{let t=this.inputType();return t&&qt.includes(t.replace("--",""))});timeOptions=y(()=>this.isShortTime()?Ut:Xt);readonly=P(!1);onChange=()=>{};onTouched=()=>{};onChangeEffect=L(()=>{this.onChange(this.getValue())});inputTypeEffect=L(()=>{let t=this.timeOptions(),e=this.isShortTime()?"s":"D";this.#e=e,this.unit.set(e)});updateUnit(t){this.unit.set(t)}writeValue(t){let e=this.isShortTime();if(t){let n=e?/(\d+)([smh])/i:/^(\d+)([YMWD])$/i,i=t.match(n);i?(this.timespan.set(parseInt(i[1],10)),this.unit.set(i[2])):(this.timespan.set(0),this.unit.set(this.#e))}else this.timespan.set(0),this.unit.set(this.#e)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.readonly.set(t)}getValue(){return`${this.timespan()}${this.unit()}`}static \u0275fac=function(e){return new(e||r)};static \u0275cmp=H({type:r,selectors:[["app-timespan"]],inputs:{customId:[1,"customId"],inputType:[1,"inputType"]},features:[de([{provide:pe,useExisting:r,multi:!0}])],ngContentSelectors:Ht,decls:11,vars:6,consts:()=>{let t;t=$localize`${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let e;return e=$localize`${"\uFFFD0\uFFFD"}:INTERPOLATION:`,[t,e,["type","number",3,"ngModelChange","id","ngModel","disabled"],[3,"openIndicator"],["shButton","","type","button",1,"trigger"],["menu",""],["shButton","","type","button",1,"small"],["shButton","","type","button",1,"small",3,"click"]]},template:function(e,n){e&1&&(J(jt),D(0,0,["ngProjectAs","label",5,["label"]]),u(1,"sh-form-field")(2,"input",2),B("ngModelChange",function(o){return $(n.timespan,o)||(n.timespan=o),o}),p(),D(3,1),D(4,2),p(),u(5,"sh-menu",3)(6,"button",4),A(7,0),p(),Se(8,5),re(9,Jt,2,1,"button",6,Ne),ye(),p()),e&2&&(_(),oe("readonly",n.readonly()||void 0),_(),N("id",n.customId()),k("ngModel",n.timespan),N("disabled",n.readonly()),_(3),N("openIndicator",!0),_(2),Z(n.unitLabel()),ee(7),_(2),se(n.timeOptions()))},dependencies:[He,Q,K,U,he,X,q,ge],styles:['[_nghost-%COMP%]{display:grid;grid-template-areas:"label label" "input unit";grid-template-columns:3fr 1fr;gap:.5rem;align-items:flex-end}[_nghost-%COMP%] .label[_ngcontent-%COMP%]{grid-area:label;grid-column:1/-1}[_nghost-%COMP%] sh-form-field[_ngcontent-%COMP%]{grid-area:input}[_nghost-%COMP%] sh-menu[_ngcontent-%COMP%]{grid-area:unit}[_nghost-%COMP%] sh-menu[_ngcontent-%COMP%] button.trigger[_ngcontent-%COMP%]{width:100%}'],changeDetection:0})};export{Te as a,zt as b,ot as c,rt as d};