@duplicati/ngclient 0.0.119 → 0.0.121

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 (110) hide show
  1. package/{chunk-WZRSQ7XL.js → chunk-2CXHZS6X.js} +1 -1
  2. package/{chunk-3KUVV3SB.js → chunk-2XYBW2LY.js} +1 -1
  3. package/{chunk-GYUN7KFJ.js → chunk-3UPH6V5C.js} +1 -1
  4. package/{chunk-KHGD372Q.js → chunk-43BIRTPL.js} +1 -1
  5. package/{chunk-NPZU4SBS.js → chunk-45N5IP3N.js} +1 -1
  6. package/{chunk-2GE6FFGI.js → chunk-4DR45FFH.js} +1 -1
  7. package/{chunk-4RIDBZOK.js → chunk-4HPQY7IN.js} +1 -1
  8. package/chunk-4KE2I7OA.js +7 -0
  9. package/{chunk-NF3MS2YP.js → chunk-4V45XF67.js} +1 -1
  10. package/{chunk-CH7FSO4Y.js → chunk-5C7A7QU6.js} +1 -1
  11. package/{chunk-XWF632WO.js → chunk-65U4B3NQ.js} +1 -1
  12. package/{chunk-4FUHLIJW.js → chunk-6B67AJC3.js} +1 -1
  13. package/{chunk-A6XWHATE.js → chunk-6DNRCK5D.js} +1 -1
  14. package/{chunk-HTX2RSBS.js → chunk-6EWRKJSC.js} +1 -1
  15. package/chunk-6LCXRM3A.js +1 -0
  16. package/chunk-7BATQNXR.js +1 -0
  17. package/chunk-7DNC2MPD.js +1 -0
  18. package/chunk-7GXTLCJB.js +1 -0
  19. package/{chunk-65UN5LE6.js → chunk-7V4TPS4B.js} +1 -1
  20. package/{chunk-5ENRUF35.js → chunk-ABANCAM5.js} +1 -1
  21. package/{chunk-WU3ALGNP.js → chunk-BLKMQJR5.js} +1 -1
  22. package/{chunk-7NBGN46A.js → chunk-C5X6HJ3T.js} +1 -1
  23. package/chunk-CZDE5P4F.js +1 -0
  24. package/chunk-DLJSVAM2.js +1 -0
  25. package/{chunk-HFNFJ7G2.js → chunk-DYTQQHMA.js} +1 -1
  26. package/{chunk-M3WT5B3C.js → chunk-EBXJGPRA.js} +1 -1
  27. package/{chunk-UXUVYBYP.js → chunk-ED7PHXLX.js} +1 -1
  28. package/{chunk-CZUGA62N.js → chunk-ERHGJIOQ.js} +1 -1
  29. package/{chunk-AL5KGNEF.js → chunk-ESAGJOZZ.js} +1 -1
  30. package/{chunk-LDJVMU7P.js → chunk-FP6LM56A.js} +1 -1
  31. package/{chunk-3XVU2YA6.js → chunk-FQ55IACT.js} +1 -1
  32. package/{chunk-ZQSBINUM.js → chunk-FSKPPAVO.js} +1 -1
  33. package/chunk-FWQNZX5S.js +1 -0
  34. package/chunk-FY7G24UA.js +1 -0
  35. package/{chunk-RHII5WE3.js → chunk-GQGMGFDX.js} +1 -1
  36. package/chunk-GUKBMCIX.js +1 -0
  37. package/chunk-HIW2CN45.js +1 -0
  38. package/{chunk-2SQBD7LN.js → chunk-IVGY6D4N.js} +1 -1
  39. package/{chunk-K5C3JCVH.js → chunk-KAFLAM3J.js} +1 -1
  40. package/{chunk-T6KX6ACI.js → chunk-KPH4ZAFT.js} +1 -1
  41. package/{chunk-3AIKVVWP.js → chunk-LUKUBN2Z.js} +1 -1
  42. package/{chunk-LJDOQTEF.js → chunk-M5RL4LRX.js} +1 -1
  43. package/{chunk-CPTR6AJI.js → chunk-MO2LFPIR.js} +1 -1
  44. package/{chunk-DX6BDDDV.js → chunk-MOSJ6KI7.js} +1 -1
  45. package/{chunk-FRSQ5NDX.js → chunk-N5FH4YAX.js} +1 -1
  46. package/{chunk-4YUBZYBH.js → chunk-O7TLFEOP.js} +1 -1
  47. package/chunk-OAWADV5X.js +1 -0
  48. package/{chunk-2P3DXYGR.js → chunk-OQPUBCLB.js} +1 -1
  49. package/chunk-PDODLSPH.js +1 -0
  50. package/{chunk-AACJQG7X.js → chunk-PSVKQSIF.js} +1 -1
  51. package/{chunk-RLUT4FSI.js → chunk-QMFHJSCY.js} +1 -1
  52. package/{chunk-TCDECRYI.js → chunk-QUOBR5MG.js} +1 -1
  53. package/chunk-QXUYK52Y.js +1 -0
  54. package/{chunk-X6PSFVBL.js → chunk-S75WBVE3.js} +1 -1
  55. package/{chunk-BAX2AJJJ.js → chunk-SFV445TF.js} +1 -1
  56. package/{chunk-6KSS7VQS.js → chunk-SIHNMW2E.js} +1 -1
  57. package/chunk-SPAJFGWZ.js +1 -0
  58. package/{chunk-4LLC3Q7O.js → chunk-SX2OA5DO.js} +1 -1
  59. package/chunk-T5WAKBP3.js +1 -0
  60. package/{chunk-OEIF7NQ5.js → chunk-T7QZL5YJ.js} +1 -1
  61. package/{chunk-SSJ4VQB4.js → chunk-TCEYGZ6D.js} +1 -1
  62. package/chunk-U4XTHU5I.js +1 -0
  63. package/chunk-U7YVVKGQ.js +1 -0
  64. package/{chunk-XR4SRVOQ.js → chunk-UEYPJIJG.js} +1 -1
  65. package/chunk-UI4M5G5W.js +1 -0
  66. package/{chunk-ELZWH543.js → chunk-URJQR7VG.js} +1 -1
  67. package/{chunk-YY3JAYQZ.js → chunk-UTNP2VHH.js} +1 -1
  68. package/{chunk-Q6M5VRZV.js → chunk-V7XW25LT.js} +1 -1
  69. package/chunk-VPTXHYYV.js +6 -0
  70. package/chunk-VTTBYFSH.js +1 -0
  71. package/chunk-VYAA7G37.js +1 -0
  72. package/{chunk-TJJORMQV.js → chunk-VZBWK3XF.js} +1 -1
  73. package/chunk-W66AXGSW.js +1 -0
  74. package/{chunk-YW5R7NEG.js → chunk-WOTGLW6Y.js} +1 -1
  75. package/{chunk-5LKXKKAK.js → chunk-WRKRV6RQ.js} +1 -1
  76. package/chunk-XATCN7MB.js +1 -0
  77. package/{chunk-OHZGASM5.js → chunk-XHPURHO2.js} +1 -1
  78. package/{chunk-VGAQB3OD.js → chunk-XUPWJEL7.js} +1 -1
  79. package/{chunk-B3WLZK7W.js → chunk-XWYNCG3P.js} +1 -1
  80. package/chunk-YUZKJZ22.js +1 -0
  81. package/chunk-YZDNOP4R.js +1 -0
  82. package/index.html +1 -1
  83. package/main-DG325IZ3.js +1 -0
  84. package/package.json +1 -1
  85. package/chunk-3GGSYR5J.js +0 -1
  86. package/chunk-6WZGDK7U.js +0 -1
  87. package/chunk-ADO3ABTT.js +0 -1
  88. package/chunk-AHUC7M75.js +0 -7
  89. package/chunk-B64M2BXZ.js +0 -1
  90. package/chunk-CRJHIWSF.js +0 -1
  91. package/chunk-DCYB2NQH.js +0 -1
  92. package/chunk-G5CT45UH.js +0 -1
  93. package/chunk-HHSMSBNM.js +0 -1
  94. package/chunk-HXN7IX3Q.js +0 -1
  95. package/chunk-JRZGF4BZ.js +0 -1
  96. package/chunk-KBJGYXKV.js +0 -1
  97. package/chunk-KYQWUXYN.js +0 -1
  98. package/chunk-MUBWT5H2.js +0 -1
  99. package/chunk-PHIZVVHX.js +0 -1
  100. package/chunk-PKRMVTCU.js +0 -1
  101. package/chunk-QVNFX6ZC.js +0 -1
  102. package/chunk-RKAIZDDW.js +0 -1
  103. package/chunk-RSZISHXB.js +0 -1
  104. package/chunk-RXHYUPYG.js +0 -6
  105. package/chunk-UABJ67OY.js +0 -1
  106. package/chunk-W4RKRM2O.js +0 -1
  107. package/chunk-WFM6YWRN.js +0 -1
  108. package/chunk-Z45ZPMZS.js +0 -1
  109. package/chunk-ZHMYBX5F.js +0 -1
  110. package/main-PDJMO4FF.js +0 -1
package/chunk-AHUC7M75.js DELETED
@@ -1,7 +0,0 @@
1
- import{a as ee,b as te}from"./chunk-7CGTOI24.js";function ai(e,t){return Object.is(e,t)}var $=null,fn=!1,ci=1,B=Symbol("SIGNAL");function b(e){let t=$;return $=e,t}function fc(){return $}function Up(){return fn}var Ve={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function St(e){if(fn)throw new Error("");if($===null)return;$.consumerOnSignalRead(e);let t=$.nextProducerIndex++;if(ir($),t<$.producerNode.length&&$.producerNode[t]!==e&&pn($)){let n=$.producerNode[t];or(n,$.producerIndexOfThis[t])}$.producerNode[t]!==e&&($.producerNode[t]=e,$.producerIndexOfThis[t]=pn($)?mc(e,$,t):0),$.producerLastReadVersion[t]=e.version}function qp(){ci++}function hn(e){if(!(pn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ci)){if(!e.producerMustRecompute(e)&&!gn(e)){rr(e);return}e.producerRecomputeValue(e),rr(e)}}function pc(e){if(e.liveConsumerNode===void 0)return;let t=fn;fn=!0;try{for(let n of e.liveConsumerNode)n.dirty||gc(n)}finally{fn=t}}function hc(){return $?.consumerAllowSignalWrites!==!1}function gc(e){e.dirty=!0,pc(e),e.consumerMarkedDirty?.(e)}function rr(e){e.dirty=!1,e.lastCleanEpoch=ci}function tt(e){return e&&(e.nextProducerIndex=0),b(e)}function kt(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(pn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)or(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function gn(e){ir(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(hn(n),r!==n.version))return!0}return!1}function Rt(e){if(ir(e),pn(e))for(let t=0;t<e.producerNode.length;t++)or(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function mc(e,t,n){if(yc(e),e.liveConsumerNode.length===0&&vc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=mc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function or(e,t){if(yc(e),e.liveConsumerNode.length===1&&vc(e))for(let r=0;r<e.producerNode.length;r++)or(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];ir(o),o.producerIndexOfThis[r]=t}}function pn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function ir(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function yc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function vc(e){return e.producerNode!==void 0}function li(e){let t=Object.create(Wp);t.computation=e;let n=()=>{if(hn(t),St(t),t.value===Fe)throw t.error;return t.value};return n[B]=t,n}var et=Symbol("UNSET"),Nt=Symbol("COMPUTING"),Fe=Symbol("ERRORED"),Wp=te(ee({},Ve),{value:et,dirty:!0,error:null,equal:ai,kind:"computed",producerMustRecompute(e){return e.value===et||e.value===Nt},producerRecomputeValue(e){if(e.value===Nt)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Nt;let n=tt(e),r,o=!1;try{r=e.computation(),b(null),o=t!==et&&t!==Fe&&r!==Fe&&e.equal(t,r)}catch(i){r=Fe,e.error=i}finally{kt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function zp(){throw new Error}var Ic=zp;function Ec(e){Ic(e)}function Dc(e){Ic=e}var Gp=null;function wc(e){let t=Object.create(di);t.value=e;let n=()=>(St(t),t.value);return n[B]=t,n}function Ot(e,t){hc()||Ec(e),e.equal(e.value,t)||(e.value=t,Qp(e))}function ui(e,t){hc()||Ec(e),Ot(e,t(e.value))}var di=te(ee({},Ve),{equal:ai,value:void 0,kind:"signal"});function Qp(e){e.version++,qp(),pc(e),Gp?.()}function fi(e,t,n){let r=Object.create(Zp);r.source=e,r.computation=t,n!=null&&(r.equal=n);let i=()=>{if(hn(r),St(r),r.value===Fe)throw r.error;return r.value};return i[B]=r,i}function bc(e,t){hn(e),Ot(e,t),rr(e)}function Mc(e,t){hn(e),ui(e,t),rr(e)}var Zp=te(ee({},Ve),{value:et,dirty:!0,error:null,equal:ai,producerMustRecompute(e){return e.value===et||e.value===Nt},producerRecomputeValue(e){if(e.value===Nt)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Nt;let n=tt(e),r;try{let o=e.source(),i=t===et||t===Fe?void 0:{source:e.sourceValue,value:t};r=e.computation(o,i),e.sourceValue=o}catch(o){r=Fe,e.error=o}finally{kt(e,n)}if(t!==et&&r!==Fe&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function Cc(e,t,n){let r=Object.create(Yp);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(Rt(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=si)}let a=()=>{if(r.fn===null)return;if(Up())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!gn(r))return;r.hasRun=!0;let c=tt(r);try{r.cleanupFn(),r.cleanupFn=si,r.fn(o)}finally{kt(r,c)}};return r.ref={notify:()=>gc(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[B]:r},r.ref}var si=()=>{},Yp=te(ee({},Ve),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:si});function D(e){return typeof e=="function"}function At(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 sr=At(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 j=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(D(r))try{r()}catch(i){t=i instanceof sr?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{xc(i)}catch(s){t=t??[],s instanceof sr?t=[...t,...s.errors]:t.push(s)}}if(t)throw new sr(t)}}add(t){var n;if(t&&t!==this)if(this.closed)xc(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)}};j.EMPTY=(()=>{let e=new j;return e.closed=!0,e})();var pi=j.EMPTY;function ar(e){return e instanceof j||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function xc(e){D(e)?e():e.unsubscribe()}var fe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Pt={setTimeout(e,t,...n){let{delegate:r}=Pt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Pt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function cr(e){Pt.setTimeout(()=>{let{onUnhandledError:t}=fe;if(t)t(e);else throw e})}function mn(){}var _c=hi("C",void 0,void 0);function Tc(e){return hi("E",void 0,e)}function Nc(e){return hi("N",e,void 0)}function hi(e,t,n){return{kind:e,value:t,error:n}}var rt=null;function Lt(e){if(fe.useDeprecatedSynchronousErrorHandling){let t=!rt;if(t&&(rt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=rt;if(rt=null,n)throw r}}else e()}function Sc(e){fe.useDeprecatedSynchronousErrorHandling&&rt&&(rt.errorThrown=!0,rt.error=e)}var ot=class extends j{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ar(t)&&t.add(this)):this.destination=Xp}static create(t,n,r){return new xe(t,n,r)}next(t){this.isStopped?mi(Nc(t),this):this._next(t)}error(t){this.isStopped?mi(Tc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?mi(_c,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()}}},Jp=Function.prototype.bind;function gi(e,t){return Jp.call(e,t)}var yi=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){lr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){lr(r)}else lr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){lr(n)}}},xe=class extends ot{constructor(t,n,r){super();let o;if(D(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&fe.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&gi(t.next,i),error:t.error&&gi(t.error,i),complete:t.complete&&gi(t.complete,i)}):o=t}this.destination=new yi(o)}};function lr(e){fe.useDeprecatedSynchronousErrorHandling?Sc(e):cr(e)}function Kp(e){throw e}function mi(e,t){let{onStoppedNotification:n}=fe;n&&Pt.setTimeout(()=>n(e,t))}var Xp={closed:!0,next:mn,error:Kp,complete:mn};var Ft=typeof Symbol=="function"&&Symbol.observable||"@@observable";function J(e){return e}function eh(...e){return vi(e)}function vi(e){return e.length===0?J:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var N=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=nh(n)?n:new xe(n,r,o);return Lt(()=>{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=kc(r),new r((o,i)=>{let s=new xe({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Ft](){return this}pipe(...n){return vi(n)(this)}toPromise(n){return n=kc(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 kc(e){var t;return(t=e??fe.Promise)!==null&&t!==void 0?t:Promise}function th(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function nh(e){return e&&e instanceof ot||th(e)&&ar(e)}var Rc=At(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ce=(()=>{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 ur(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Rc}next(n){Lt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Lt(()=>{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(){Lt(()=>{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?pi:(this.currentObservers=null,i.push(n),new j(()=>{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 ur(t,n),e})(),ur=class extends ce{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:pi}};function dr(e){return e&&D(e.schedule)}function Oc(e){return e[e.length-1]}function Vt(e){return D(Oc(e))?e.pop():void 0}function je(e){return dr(Oc(e))?e.pop():void 0}function Pc(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 Ac(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 it(e){return this instanceof it?(this.v=e,this):new it(e)}function Lc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(I,m){i.push([f,g,I,m])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof it?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 Fc(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 Ac=="function"?Ac(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 fr=e=>e&&typeof e.length=="number"&&typeof e!="function";function pr(e){return D(e?.then)}function hr(e){return D(e[Ft])}function gr(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function mr(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 rh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var yr=rh();function vr(e){return D(e?.[yr])}function Ir(e){return Lc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield it(n.read());if(o)return yield it(void 0);yield yield it(r)}}finally{n.releaseLock()}})}function Er(e){return D(e?.getReader)}function P(e){if(e instanceof N)return e;if(e!=null){if(hr(e))return oh(e);if(fr(e))return ih(e);if(pr(e))return sh(e);if(gr(e))return Vc(e);if(vr(e))return ah(e);if(Er(e))return ch(e)}throw mr(e)}function oh(e){return new N(t=>{let n=e[Ft]();if(D(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ih(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function sh(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,cr)})}function ah(e){return new N(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Vc(e){return new N(t=>{lh(e,t).catch(n=>t.error(n))})}function ch(e){return Vc(Ir(e))}function lh(e,t){var n,r,o,i;return Pc(this,void 0,void 0,function*(){try{for(n=Fc(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 ne(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 Ii(e){return D(e?.lift)}function x(e){return t=>{if(Ii(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function C(e,t,n,r,o){return new Ei(e,t,n,r,o)}var Ei=class extends ot{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 Dr(e,t=0){return x((n,r)=>{n.subscribe(C(r,o=>ne(r,e,()=>r.next(o),t),()=>ne(r,e,()=>r.complete(),t),o=>ne(r,e,()=>r.error(o),t)))})}function wr(e,t=0){return x((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function jc(e,t){return P(e).pipe(wr(t),Dr(t))}function Hc(e,t){return P(e).pipe(wr(t),Dr(t))}function $c(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 Bc(e,t){return new N(n=>{let r;return ne(n,t,()=>{r=e[yr](),ne(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>D(r?.return)&&r.return()})}function br(e,t){if(!e)throw new Error("Iterable cannot be null");return new N(n=>{ne(n,t,()=>{let r=e[Symbol.asyncIterator]();ne(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Uc(e,t){return br(Ir(e),t)}function qc(e,t){if(e!=null){if(hr(e))return jc(e,t);if(fr(e))return $c(e,t);if(pr(e))return Hc(e,t);if(gr(e))return br(e,t);if(vr(e))return Bc(e,t);if(Er(e))return Uc(e,t)}throw mr(e)}function He(e,t){return t?qc(e,t):P(e)}function uh(...e){let t=je(e);return He(e,t)}function $e(e,t){return x((n,r)=>{let o=0;n.subscribe(C(r,i=>{r.next(e.call(t,i,o++))}))})}function Di(e){return x((t,n)=>{let r=null,o=!1,i;r=t.subscribe(C(n,void 0,void 0,s=>{i=P(e(s,Di(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var st=new N(e=>e.complete());function Mr(e){return e<=0?()=>st:x((t,n)=>{let r=0;t.subscribe(C(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Wc(e){return x((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function zc(e,t){return x((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(C(r,c=>{o?.unsubscribe();let l=0,u=i++;P(e(c,u)).subscribe(o=C(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Gc(e){return x((t,n)=>{P(e).subscribe(C(n,()=>n.complete(),mn)),!n.closed&&t.subscribe(n)})}function wi(){return x((e,t)=>{let n=null;e._refCount++;let r=C(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var bi=class extends N{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ii(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new j;let n=this.getSubject();t.add(this.source.subscribe(C(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=j.EMPTY)}return t}refCount(){return wi()(this)}};var yn=class extends ce{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var vn={now(){return(vn.delegate||Date).now()},delegate:void 0};var In=class extends ce{constructor(t=1/0,n=1/0,r=vn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Cr=class extends j{constructor(t,n){super()}schedule(t,n=0){return this}};var En={setInterval(e,t,...n){let{delegate:r}=En;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=En;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var xr=class extends Cr{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 En.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&&En.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 jt=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)}};jt.now=vn.now;var _r=class extends jt{constructor(t,n=jt.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 dh=new _r(xr),Qc=dh;function fh(e,t){let n=D(e)?e:()=>e,r=o=>o.error(n());return new N(t?o=>t.schedule(r,0,o):r)}function ph(e){return!!e&&(e instanceof N||D(e.lift)&&D(e.subscribe))}var at=At(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Zc(e){return e instanceof Date&&!isNaN(e)}var{isArray:hh}=Array;function gh(e,t){return hh(t)?e(...t):e(t)}function Tr(e){return $e(t=>gh(e,t))}var{isArray:mh}=Array,{getPrototypeOf:yh,prototype:vh,keys:Ih}=Object;function Nr(e){if(e.length===1){let t=e[0];if(mh(t))return{args:t,keys:null};if(Eh(t)){let n=Ih(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Eh(e){return e&&typeof e=="object"&&yh(e)===vh}function Sr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Dh(...e){let t=je(e),n=Vt(e),{args:r,keys:o}=Nr(e);if(r.length===0)return He([],t);let i=new N(wh(r,t,o?s=>Sr(o,s):J));return n?i.pipe(Tr(n)):i}function wh(e,t,n=J){return r=>{Yc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Yc(t,()=>{let l=He(e[c],t),u=!1;l.subscribe(C(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Yc(e,t,n){e?ne(n,e,t):t()}function Jc(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let I=!1;P(n(g,u++)).subscribe(C(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{I=!0},void 0,()=>{if(I)try{for(l--;c.length&&l<r;){let m=c.shift();s?ne(t,s,()=>h(m)):h(m)}p()}catch(m){t.error(m)}}))};return e.subscribe(C(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ct(e,t,n=1/0){return D(t)?ct((r,o)=>$e((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),x((r,o)=>Jc(r,o,e,n)))}function Mi(e=1/0){return ct(J,e)}function Kc(){return Mi(1)}function kr(...e){return Kc()(He(e,je(e)))}function bh(e){return new N(t=>{P(e()).subscribe(t)})}function Mh(...e){let t=Vt(e),{args:n,keys:r}=Nr(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;P(n[u]).subscribe(C(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Sr(r,a):a),i.complete())}))}});return t?o.pipe(Tr(t)):o}function Ci(e=0,t,n=Qc){let r=-1;return t!=null&&(dr(t)?n=t:r=t),new N(o=>{let i=Zc(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:Ch}=Array;function Xc(e){return e.length===1&&Ch(e[0])?e[0]:e}function Dn(e,t){return x((n,r)=>{let o=0;n.subscribe(C(r,i=>e.call(t,i,o++)&&r.next(i)))})}function xh(...e){let t=Vt(e),n=Xc(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++)P(n[s]).subscribe(C(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}}):st}function el(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(C(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function _h(e,t){return D(t)?ct(e,t,1):ct(e,1)}function wn(e){return x((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function Rr(e=Th){return x((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Th(){return new at}function Nh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Dn((o,i)=>e(o,i,r)):J,Mr(1),n?wn(t):Rr(()=>new at))}function xi(e){return e<=0?()=>st:x((t,n)=>{let r=[];t.subscribe(C(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Sh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?Dn((o,i)=>e(o,i,r)):J,xi(1),n?wn(t):Rr(()=>new at))}function kh(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?J:x((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(C(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"?Ci(r):P(r(d,a)),h=C(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function Rh(e,t){return x(el(e,t,arguments.length>=2,!0))}function tl(e={}){let{connector:t=()=>new ce,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 x((g,I)=>{l++,!d&&!u&&p();let m=c=c??t();I.add(()=>{l--,l===0&&!d&&!u&&(a=_i(h,o))}),m.subscribe(I),!s&&l>0&&(s=new xe({next:S=>m.next(S),error:S=>{d=!0,p(),a=_i(f,n,S),m.error(S)},complete:()=>{u=!0,p(),a=_i(f,r),m.complete()}}),P(g).subscribe(s))})(i)}}function _i(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new xe({next:()=>{r.unsubscribe(),e()}});return P(t(...n)).subscribe(r)}function Oh(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,tl({connector:()=>new In(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ah(...e){let t=je(e);return x((n,r)=>{(t?kr(e,n,t):kr(e,n)).subscribe(r)})}function nl(e,t,n){let r=D(e)||t||n?{next:e,error:t,complete:n}:e;return r?x((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(C(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):J}var Ti;function rl(){return Ti}function ol(e){let t=Ti;return Ti=e,t}var fu="https://g.co/ng/security#xss",M=class extends Error{code;constructor(t,n){super(Lh(t,n)),this.code=t}};function Lh(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var So=Symbol("InputSignalNode#UNSET"),pu=te(ee({},di),{transformFn:void 0,applyValueToInputSignal(e,t){Ot(e,t)}});function hu(e,t){let n=Object.create(pu);n.value=e,n.transformFn=t?.transform;function r(){if(St(n),n.value===So)throw new M(-950,!1);return n.value}return r[B]=n,r}function Gn(e){return{toString:e}.toString()}var Or="__parameters__";function Fh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function gu(e,t,n){return Gn(()=>{let r=Fh(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Or)?c[Or]:Object.defineProperty(c,Or,{value:[]})[Or];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ue=globalThis;function L(e){for(let t in e)if(e[t]===L)return t;throw Error("Could not find renamed property on target object.")}function Vh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function ie(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(ie).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 zi(e,t){return e?t?`${e} ${t}`:e:t||""}var jh=L({__forward_ref__:L});function mu(e){return e.__forward_ref__=mu,e.toString=function(){return ie(this())},e}function K(e){return yu(e)?e():e}function yu(e){return typeof e=="function"&&e.hasOwnProperty(jh)&&e.__forward_ref__===mu}function Hh(e,t,n){e!=t&&$h(n,e,t,"==")}function $h(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function W(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function pN(e){return{providers:e.providers||[],imports:e.imports||[]}}function ko(e){return il(e,vu)||il(e,Iu)}function hN(e){return ko(e)!==null}function il(e,t){return e.hasOwnProperty(t)?e[t]:null}function Bh(e){let t=e&&(e[vu]||e[Iu]);return t||null}function sl(e){return e&&(e.hasOwnProperty(al)||e.hasOwnProperty(Uh))?e[al]:null}var vu=L({\u0275prov:L}),al=L({\u0275inj:L}),Iu=L({ngInjectableDef:L}),Uh=L({ngInjectorDef:L}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=W({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Eu(e){return e&&!!e.\u0275providers}var qh=L({\u0275cmp:L}),Wh=L({\u0275dir:L}),zh=L({\u0275pipe:L}),Gh=L({\u0275mod:L}),Yr=L({\u0275fac:L}),xn=L({__NG_ELEMENT_ID__:L}),cl=L({__NG_ENV_ID__:L});function he(e){return typeof e=="string"?e:e==null?"":String(e)}function Qh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():he(e)}function Du(e,t){throw new M(-200,e)}function fa(e,t){throw new M(-201,!1)}var T=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(T||{}),Gi;function wu(){return Gi}function re(e){let t=Gi;return Gi=e,t}function bu(e,t,n){let r=ko(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&T.Optional)return null;if(t!==void 0)return t;fa(e,"Injector")}var Zh={},kn=Zh;function Vr(){return rl()}function Be(e){return ol(e)}var Qi="__NG_DI_FLAG__",Jr="ngTempTokenPath",Yh="ngTokenPath",Jh=/\n/gm,Kh="\u0275",ll="__source";function Xh(e,t=T.Default){if(Vr()===void 0)throw new M(-203,!1);return Vr()===null?bu(e,void 0,t):Vr().get(e,t&T.Optional?null:void 0,t)}function Ge(e,t=T.Default){return(wu()||Xh)(K(e),t)}function _(e,t=T.Default){return Ge(e,Ro(t))}function Ro(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Zi(e){let t=[];for(let n=0;n<e.length;n++){let r=K(e[n]);if(Array.isArray(r)){if(r.length===0)throw new M(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){let a=r[s],c=eg(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Ge(o,i))}else t.push(Ge(r))}return t}function Mu(e,t){return e[Qi]=t,e.prototype[Qi]=t,e}function eg(e){return e[Qi]}function tg(e,t,n,r){let o=e[Jr];throw t[ll]&&o.unshift(t[ll]),e.message=ng(`
5
- `+e.message,o,n,r),e[Yh]=o,e[Jr]=null,e}function ng(e,t,n,r=null){e=e&&e.charAt(0)===`
6
- `&&e.charAt(1)==Kh?e.slice(2):e;let o=ie(t);if(Array.isArray(t))o=t.map(ie).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):ie(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Jh,`
7
- `)}`}var Cu=Mu(gu("Optional"),8);var xu=Mu(gu("SkipSelf"),4);function ft(e,t){let n=e.hasOwnProperty(Yr);return n?e[Yr]:null}function rg(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 og(e){return e.flat(Number.POSITIVE_INFINITY)}function pa(e,t){e.forEach(n=>Array.isArray(n)?pa(n,t):t(n))}function _u(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Kr(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ig(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function sg(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function Oo(e,t,n){let r=Qn(e,t);return r>=0?e[r|1]=n:(r=~r,sg(e,r,t,n)),r}function Ni(e,t){let n=Qn(e,t);if(n>=0)return e[n|1]}function Qn(e,t){return ag(e,t,1)}function ag(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 pt={},Q=[],Xr=new R(""),Tu=new R("",-1),Nu=new R(""),eo=class{get(t,n=kn){if(n===kn){let r=new Error(`NullInjectorError: No provider for ${ie(t)}!`);throw r.name="NullInjectorError",r}return n}};function Su(e,t){let n=e[Gh]||null;if(!n&&t===!0)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}function De(e){return e[qh]||null}function ha(e){return e[Wh]||null}function ga(e){return e[zh]||null}function cg(e){let t=De(e)||ha(e)||ga(e);return t!==null&&t.standalone}function lg(e){return{\u0275providers:e}}function ug(...e){return{\u0275providers:ma(!0,e),\u0275fromNgModule:!0}}function ma(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return pa(t,s=>{let a=s;Yi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&ku(o,i),n}function ku(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ya(o,i=>{t(i,r)})}}function Yi(e,t,n,r){if(e=K(e),!e)return!1;let o=null,i=sl(e),s=!i&&De(e);if(!i&&!s){let c=e.ngModule;if(i=sl(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)Yi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{pa(i.imports,u=>{Yi(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&ku(l,t)}if(!a){let l=ft(o)||(()=>new o);t({provide:o,useFactory:l,deps:Q},o),t({provide:Nu,useValue:o,multi:!0},o),t({provide:Xr,useValue:()=>Ge(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ya(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ya(e,t){for(let n of e)Eu(n)&&(n=n.\u0275providers),Array.isArray(n)?ya(n,t):t(n)}var dg=L({provide:String,useValue:L});function Ru(e){return e!==null&&typeof e=="object"&&dg in e}function fg(e){return!!(e&&e.useExisting)}function pg(e){return!!(e&&e.useFactory)}function Wt(e){return typeof e=="function"}function hg(e){return!!e.useClass}var Ou=new R(""),jr={},ul={},Si;function Ao(){return Si===void 0&&(Si=new eo),Si}var Te=class{},Rn=class extends Te{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,Ki(t,s=>this.processProvider(s)),this.records.set(Tu,Ht(void 0,this)),o.has("environment")&&this.records.set(Te,Ht(void 0,this));let i=this.records.get(Ou);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Nu,Q,T.Self))}destroy(){Mn(this),this._destroyed=!0;let t=b(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),b(t)}}onDestroy(t){return Mn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Mn(this);let n=Be(this),r=re(void 0),o;try{return t()}finally{Be(n),re(r)}}get(t,n=kn,r=T.Default){if(Mn(this),t.hasOwnProperty(cl))return t[cl](this);r=Ro(r);let o,i=Be(this),s=re(void 0);try{if(!(r&T.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Ig(t)&&ko(t);l&&this.injectableDefInScope(l)?c=Ht(Ji(t),jr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&T.Self?Ao():this.parent;return n=r&T.Optional&&n===kn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Jr]=a[Jr]||[]).unshift(ie(t)),i)throw a;return tg(a,t,"R3InjectorError",this.source)}else throw a}finally{re(s),Be(i)}}resolveInjectorInitializers(){let t=b(null),n=Be(this),r=re(void 0),o;try{let i=this.get(Xr,Q,T.Self);for(let s of i)s()}finally{Be(n),re(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(ie(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=K(t);let n=Wt(t)?t:K(t&&t.provide),r=mg(t);if(!Wt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ht(void 0,jr,!0),o.factory=()=>Zi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===ul?Du(ie(t)):n.value===jr&&(n.value=ul,n.value=n.factory()),typeof n.value=="object"&&n.value&&vg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=K(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Ji(e){let t=ko(e),n=t!==null?t.factory:ft(e);if(n!==null)return n;if(e instanceof R)throw new M(204,!1);if(e instanceof Function)return gg(e);throw new M(204,!1)}function gg(e){if(e.length>0)throw new M(204,!1);let n=Bh(e);return n!==null?()=>n.factory(e):()=>new e}function mg(e){if(Ru(e))return Ht(void 0,e.useValue);{let t=Au(e);return Ht(t,jr)}}function Au(e,t,n){let r;if(Wt(e)){let o=K(e);return ft(o)||Ji(o)}else if(Ru(e))r=()=>K(e.useValue);else if(pg(e))r=()=>e.useFactory(...Zi(e.deps||[]));else if(fg(e))r=()=>Ge(K(e.useExisting));else{let o=K(e&&(e.useClass||e.provide));if(yg(e))r=()=>new o(...Zi(e.deps));else return ft(o)||Ji(o)}return r}function Mn(e){if(e.destroyed)throw new M(205,!1)}function Ht(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function yg(e){return!!e.deps}function vg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Ig(e){return typeof e=="function"||typeof e=="object"&&e instanceof R}function Ki(e,t){for(let n of e)Array.isArray(n)?Ki(n,t):n&&Eu(n)?Ki(n.\u0275providers,t):t(n)}function Pu(e,t){e instanceof Rn&&Mn(e);let n,r=Be(e),o=re(void 0);try{return t()}finally{Be(r),re(o)}}function Lu(){return wu()!==void 0||Vr()!=null}function va(e){if(!Lu())throw new M(-203,!1)}function Eg(e){return typeof e=="function"}var Oe=0,v=1,E=2,G=3,ge=4,X=5,zt=6,to=7,q=8,we=9,Ne=10,k=11,On=12,dl=13,Xt=14,se=15,ht=16,$t=17,Se=18,Po=19,Fu=20,We=21,Hr=22,gt=23,le=24,ki=25,F=26,Vu=1,An=6,mt=7,no=8,Gt=9,Z=10;function ze(e){return Array.isArray(e)&&typeof e[Vu]=="object"}function Ae(e){return Array.isArray(e)&&e[Vu]===!0}function Ia(e){return(e.flags&4)!==0}function en(e){return e.componentOffset>-1}function Lo(e){return(e.flags&1)===1}function be(e){return!!e.template}function ro(e){return(e[E]&512)!==0}function tn(e){return(e[E]&256)===256}var Xi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function ju(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var gN=(()=>{let e=()=>Hu;return e.ngInherit=!0,e})();function Hu(e){return e.type.prototype.ngOnChanges&&(e.setInput=wg),Dg}function Dg(){let e=Bu(this),t=e?.current;if(t){let n=e.previous;if(n===pt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function wg(e,t,n,r,o){let i=this.declaredInputs[r],s=Bu(e)||bg(e,{previous:pt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Xi(l&&l.currentValue,n,c===pt),ju(e,t,o,n)}var $u="__ngSimpleChanges__";function Bu(e){return e[$u]||null}function bg(e,t){return e[$u]=t}var fl=null;var A=function(e,t=null,n){fl?.(e,t,n)},Uu="svg",Mg="math";function de(e){for(;Array.isArray(e);)e=e[Oe];return e}function Fo(e,t){return de(t[e])}function Ce(e,t){return de(t[e.index])}function Zn(e,t){return e.data[t]}function Vo(e,t){return e[t]}function Me(e,t){let n=t[e];return ze(n)?n:n[Oe]}function Cg(e){return(e[E]&4)===4}function Ea(e){return(e[E]&128)===128}function xg(e){return Ae(e[G])}function ke(e,t){return t==null?null:e[t]}function qu(e){e[$t]=0}function Wu(e){e[E]&1024||(e[E]|=1024,Ea(e)&&Yn(e))}function _g(e,t){for(;e>0;)t=t[Xt],e--;return t}function jo(e){return!!(e[E]&9216||e[le]?.dirty)}function es(e){e[Ne].changeDetectionScheduler?.notify(8),e[E]&64&&(e[E]|=1024),jo(e)&&Yn(e)}function Yn(e){e[Ne].changeDetectionScheduler?.notify(0);let t=yt(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!Ea(t)));)t=yt(t)}function Da(e,t){if(tn(e))throw new M(911,!1);e[We]===null&&(e[We]=[]),e[We].push(t)}function zu(e,t){if(e[We]===null)return;let n=e[We].indexOf(t);n!==-1&&e[We].splice(n,1)}function yt(e){let t=e[G];return Ae(t)?t[G]:t}function Gu(e){return e[to]??=[]}function Qu(e){return e.cleanup??=[]}function Tg(e,t,n,r){let o=Gu(t);o.push(n),e.firstCreatePass&&Qu(e).push(r,o.length-1)}var w={lFrame:nd(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ts=!1;function Ng(){return w.lFrame.elementDepthCount}function Sg(){w.lFrame.elementDepthCount++}function kg(){w.lFrame.elementDepthCount--}function wa(){return w.bindingsEnabled}function Zu(){return w.skipHydrationRootTNode!==null}function Rg(e){return w.skipHydrationRootTNode===e}function Og(){w.skipHydrationRootTNode=null}function y(){return w.lFrame.lView}function O(){return w.lFrame.tView}function mN(e){return w.lFrame.contextLView=e,e[q]}function yN(e){return w.lFrame.contextLView=null,e}function Y(){let e=Yu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Yu(){return w.lFrame.currentTNode}function Pn(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function me(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function ba(){return w.lFrame.isParent}function Ma(){w.lFrame.isParent=!1}function Ju(){return w.lFrame.contextLView}function Ku(){return ts}function oo(e){let t=ts;return ts=e,t}function nn(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ca(){return w.lFrame.bindingIndex}function Ag(e){return w.lFrame.bindingIndex=e}function Je(){return w.lFrame.bindingIndex++}function Ho(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Pg(){return w.lFrame.inI18n}function Xu(e){w.lFrame.inI18n=e}function Lg(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,ns(t)}function Fg(){return w.lFrame.currentDirectiveIndex}function ns(e){w.lFrame.currentDirectiveIndex=e}function Vg(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function xa(){return w.lFrame.currentQueryIndex}function $o(e){w.lFrame.currentQueryIndex=e}function jg(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[X]:null}function ed(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&T.Host);)if(o=jg(i),o===null||(i=i[Xt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=td();return r.currentTNode=t,r.lView=e,!0}function _a(e){let t=td(),n=e[v];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function td(){let e=w.lFrame,t=e===null?null:e.child;return t===null?nd(e):t}function nd(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 rd(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var od=rd;function Ta(){let e=rd();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 Hg(e){return(w.lFrame.contextLView=_g(e,w.lFrame.contextLView))[q]}function ye(){return w.lFrame.selectedIndex}function vt(e){w.lFrame.selectedIndex=e}function _t(){let e=w.lFrame;return Zn(e.tView,e.selectedIndex)}function vN(){w.lFrame.currentNamespace=Uu}function IN(){$g()}function $g(){w.lFrame.currentNamespace=null}function Bg(){return w.lFrame.currentNamespace}var id=!0;function Jn(){return id}function Kn(e){id=e}function Ug(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Hu(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Na(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function $r(e,t,n){sd(e,t,3,n)}function Br(e,t,n,r){(e[E]&3)===n&&sd(e,t,n,r)}function Ri(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function sd(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)&&(qg(e,n,t,c),e[$t]=(e[$t]&4294901760)+c+2),c++}function pl(e,t){A(4,e,t);let n=b(null);try{t.call(e)}finally{b(n),A(5,e,t)}}function qg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[$t]>>16&&(e[E]&3)===t&&(e[E]+=16384,pl(a,i)):pl(a,i)}var Ut=-1,It=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Wg(e){return(e.flags&8)!==0}function zg(e){return(e.flags&16)!==0}function Gg(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];Qg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function ad(e){return e===3||e===4||e===6}function Qg(e){return e.charCodeAt(0)===64}function Qt(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?hl(e,n,o,null,t[++r]):hl(e,n,o,null,null))}}return e}function hl(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Oi={},qt=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Ro(r);let o=this.injector.get(t,Oi,r);return o!==Oi||n===Oi?o:this.parentInjector.get(t,n,r)}};function cd(e){return e!==Ut}function io(e){return e&32767}function Zg(e){return e>>16}function so(e,t){let n=Zg(e),r=t;for(;n>0;)r=r[Xt],n--;return r}var rs=!0;function ao(e){let t=rs;return rs=e,t}var Yg=256,ld=Yg-1,ud=5,Jg=0,Ee={};function Kg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(xn)&&(r=n[xn]),r==null&&(r=n[xn]=Jg++);let o=r&ld,i=1<<o;t.data[e+(o>>ud)]|=i}function co(e,t){let n=dd(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,Ai(r.data,e),Ai(t,null),Ai(r.blueprint,null));let o=Sa(e,t),i=e.injectorIndex;if(cd(o)){let s=io(o),a=so(o,t),c=a[v].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function Ai(e,t){e.push(0,0,0,0,0,0,0,0,t)}function dd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Sa(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=md(o),r===null)return Ut;if(n++,o=o[Xt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ut}function os(e,t,n){Kg(e,t,n)}function Xg(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(ad(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 fd(e,t,n){if(n&T.Optional||e!==void 0)return e;fa(t,"NodeInjector")}function pd(e,t,n,r){if(n&T.Optional&&r===void 0&&(r=null),(n&(T.Self|T.Host))===0){let o=e[we],i=re(void 0);try{return o?o.get(t,r,n&T.Optional):bu(t,r,n&T.Optional)}finally{re(i)}}return fd(r,t,n)}function hd(e,t,n,r=T.Default,o){if(e!==null){if(t[E]&2048&&!(r&T.Self)){let s=rm(e,t,n,r,Ee);if(s!==Ee)return s}let i=gd(e,t,n,r,Ee);if(i!==Ee)return i}return pd(t,n,r,o)}function gd(e,t,n,r,o){let i=tm(n);if(typeof i=="function"){if(!ed(t,e,r))return r&T.Host?fd(o,n,r):pd(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&T.Optional))fa(n);else return s}finally{od()}}else if(typeof i=="number"){let s=null,a=dd(e,t),c=Ut,l=r&T.Host?t[se][X]:null;for((a===-1||r&T.SkipSelf)&&(c=a===-1?Sa(e,t):t[a+8],c===Ut||!ml(r,!1)?a=-1:(s=t[v],a=io(c),t=so(c,t)));a!==-1;){let u=t[v];if(gl(i,a,u.data)){let d=em(a,t,n,s,r,l);if(d!==Ee)return d}c=t[a+8],c!==Ut&&ml(r,t[v].data[a+8]===l)&&gl(i,a,t)?(s=u,a=io(c),t=so(c,t)):a=-1}}return o}function em(e,t,n,r,o,i){let s=t[v],a=s.data[e+8],c=r==null?en(a)&&rs:r!=s&&(a.type&3)!==0,l=o&T.Host&&i===a,u=Ur(a,s,n,c,l);return u!==null?Ln(t,s,u,a):Ee}function Ur(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&be(f)&&f.type===n)return c}return null}function Ln(e,t,n,r){let o=e[n],i=t.data;if(o instanceof It){let s=o;s.resolving&&Du(Qh(i[n]));let a=ao(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?re(s.injectImpl):null,u=ed(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Ug(n,i[n],t)}finally{l!==null&&re(l),ao(a),s.resolving=!1,od()}}return o}function tm(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(xn)?e[xn]:void 0;return typeof t=="number"?t>=0?t&ld:nm:t}function gl(e,t,n){let r=1<<e;return!!(n[t+(e>>ud)]&r)}function ml(e,t){return!(e&T.Self)&&!(e&T.Host&&t)}var dt=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return hd(this._tNode,this._lView,t,Ro(r),n)}};function nm(){return new dt(Y(),y())}function EN(e){return Gn(()=>{let t=e.prototype.constructor,n=t[Yr]||is(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Yr]||is(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function is(e){return yu(e)?()=>{let t=is(K(e));return t&&t()}:ft(e)}function rm(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!ro(s);){let a=gd(i,s,n,r|T.Self,Ee);if(a!==Ee)return a;let c=i.parent;if(!c){let l=s[Fu];if(l){let u=l.get(n,Ee,r);if(u!==Ee)return u}c=md(s),s=s[Xt]}i=c}return o}function md(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[X]:null}function DN(e){return Xg(Y(),e)}function yl(e,t=null,n=null,r){let o=yd(e,t,n,r);return o.resolveInjectorInitializers(),o}function yd(e,t=null,n=null,r,o=new Set){let i=[n||Q,ug(e)];return r=r||(typeof e=="object"?void 0:ie(e)),new Rn(i,t||Ao(),r||null,o)}var Qe=class e{static THROW_IF_NOT_FOUND=kn;static NULL=new eo;static create(t,n){if(Array.isArray(t))return yl({name:""},n,t,"");{let r=t.name??"";return yl({name:r},t.parent,t.providers,r)}}static \u0275prov=W({token:e,providedIn:"any",factory:()=>Ge(Tu)});static __NG_ELEMENT_ID__=-1};var om=new R("");om.__NG_ELEMENT_ID__=e=>{let t=Y();if(t===null)throw new M(204,!1);if(t.type&2)return t.value;if(e&T.Optional)return null;throw new M(204,!1)};var vd=!1,rn=(()=>{class e{static __NG_ELEMENT_ID__=im;static __NG_ENV_ID__=n=>n}return e})(),lo=class extends rn{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Da(this._lView,t),()=>zu(this._lView,t)}};function im(){return new lo(y())}var Ze=class{},ka=new R("",{providedIn:"root",factory:()=>!1});var Id=new R(""),Ra=new R(""),Tt=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new yn(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})(),sm=(()=>{class e{internalPendingTasks=_(Tt);scheduler=_(Ze);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}async run(n){let r=this.add();try{return await n()}finally{r()}}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})(),ss=class extends ce{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,Lu()&&(this.destroyRef=_(rn,{optional:!0})??void 0,this.pendingTasks=_(Tt,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof j&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},qe=ss;function Fn(...e){}function Ed(e){let t,n;function r(){e=Fn;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 vl(e){return queueMicrotask(()=>e()),()=>{e=Fn}}var Oa="isAngularZone",uo=Oa+"_ID",am=0,ue=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new qe(!1);onMicrotaskEmpty=new qe(!1);onStable=new qe(!1);onError=new qe(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=vd}=t;if(typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,um(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Oa)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,cm,Fn,Fn);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)}},cm={};function Aa(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 lm(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ed(()=>{e.callbackScheduled=!1,as(e),e.isCheckStableRunning=!0,Aa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),as(e)}function um(e){let t=()=>{lm(e)},n=am++;e._inner=e._inner.fork({name:"angular",properties:{[Oa]:!0,[uo]:n,[uo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(dm(c))return r.invokeTask(i,s,a,c);try{return Il(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),El(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Il(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!fm(c)&&t(),El(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,as(e),Aa(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 as(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Il(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function El(e){e._nesting--,Aa(e)}var fo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new qe;onMicrotaskEmpty=new qe;onStable=new qe;onError=new qe;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 dm(e){return Dd(e,"__ignore_ng_zone__")}function fm(e){return Dd(e,"__scheduler_tick__")}function Dd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Et=class{_console=console;handleError(t){this._console.error("ERROR",t)}},pm=new R("",{providedIn:"root",factory:()=>{let e=_(ue),t=_(Et);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),po=class{destroyed=!1;listeners=null;errorHandler=_(Et,{optional:!0});destroyRef=_(rn);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new M(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new M(953,!1);if(this.listeners===null)return;let n=b(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{b(n)}}};function wN(e){return new po}function Dl(e,t){return hu(e,t)}function hm(e){return hu(So,e)}var bN=(Dl.required=hm,Dl);function gm(){return on(Y(),y())}function on(e,t){return new Bo(Ce(e,t))}var Bo=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=gm}return e})();function wd(e){return e instanceof Bo?e.nativeElement:e}function mm(e){return typeof e=="function"&&e[B]!==void 0}function Vn(e,t){let n=wc(e),r=n[B];return t?.equal&&(r.equal=t.equal),n.set=o=>Ot(r,o),n.update=o=>ui(r,o),n.asReadonly=Uo.bind(n),n}function Uo(){let e=this[B];if(e.readonlyFn===void 0){let t=()=>this();t[B]=e,e.readonlyFn=t}return e.readonlyFn}function bd(e){return mm(e)&&typeof e.set=="function"}function ym(){return this._results[Symbol.iterator]()}var cs=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 ce}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=og(t);(this._changesDetected=!rg(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]=ym};function Md(e){return(e.flags&128)===128}var Cd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Cd||{}),xd=new Map,vm=0;function Im(){return vm++}function Em(e){xd.set(e[Po],e)}function ls(e){xd.delete(e[Po])}var wl="__ngContext__";function Ye(e,t){ze(t)?(e[wl]=t[Po],Em(t)):e[wl]=t}function _d(e){return Nd(e[On])}function Td(e){return Nd(e[ge])}function Nd(e){for(;e!==null&&!Ae(e);)e=e[ge];return e}var us;function MN(e){us=e}function Pa(){if(us!==void 0)return us;if(typeof document<"u")return document;throw new M(210,!1)}var CN=new R("",{providedIn:"root",factory:()=>Dm}),Dm="ng",wm=new R(""),xN=new R("",{providedIn:"platform",factory:()=>"unknown"});var _N=new R("",{providedIn:"root",factory:()=>Pa().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),bm={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},TN=new R("",{providedIn:"root",factory:()=>bm});var Mm="h",Cm="b";var xm="di",Sd="s";var kd=!1,_m=new R("",{providedIn:"root",factory:()=>kd});var Tm=new R("");var Rd=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Rd||{}),Od=new R(""),bl=new Set;function sn(e){bl.has(e)||(bl.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Ad=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Nm}return e})();function Nm(){return new Ad(y(),Y())}var Sm=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})();var oe=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}(oe||{}),Ml=0,km=1,H=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(H||{}),ho=function(e){return e[e.Initial=-1]="Initial",e}(ho||{}),Rm=0,qo=1;var Om=4,Am=5,Pm=6,Lm=7,Pi=8,Fm=9,Pd=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Pd||{});function Vm(e,t,n){let r=Fd(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function qr(e,t){let n=Fd(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function Ld(e){qr(1,e),qr(0,e),qr(2,e)}function Fd(e){let t=Om;return e===1?t=Am:e===2&&(t=Fm),t}function Wo(e){return e+1}function Xn(e,t){let n=e[v],r=Wo(t.index);return e[r]}function jm(e,t,n){let r=e[v],o=Wo(t);e[o]=n}function er(e,t){let n=Wo(t.index);return e.data[n]}function Hm(e,t,n){let r=Wo(t);e.data[r]=n}function $m(e,t,n){let r=t[v],o=er(r,n);switch(e){case H.Complete:return o.primaryTmplIndex;case H.Loading:return o.loadingTmplIndex;case H.Error:return o.errorTmplIndex;case H.Placeholder:return o.placeholderTmplIndex;default:return null}}function Cl(e,t){return t===H.Placeholder?e.placeholderBlockConfig?.[Ml]??null:t===H.Loading?e.loadingBlockConfig?.[Ml]??null:null}function Bm(e){return e.loadingBlockConfig?.[km]??null}function xl(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 Um(e,t){let n=t.primaryTmplIndex+F;return Zn(e,n)}var qm=new R("");var Wm=()=>null;function Vd(e,t,n=!1){return Wm(e,t,n)}function zm(e){return e.get(Tm,!1,{optional:!0})}function jd(e,t){let n=e.contentQueries;if(n!==null){let r=b(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];$o(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function ds(e,t,n){$o(0);let r=b(null);try{t(e,n)}finally{b(r)}}function La(e,t,n){if(Ia(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{b(r)}}}var jn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(jn||{}),Ar;function Gm(){if(Ar===void 0&&(Ar=null,Ue.trustedTypes))try{Ar=Ue.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ar}function zo(e){return Gm()?.createHTML(e)||e}var Pr;function Hd(){if(Pr===void 0&&(Pr=null,Ue.trustedTypes))try{Pr=Ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Pr}function _l(e){return Hd()?.createHTML(e)||e}function Tl(e){return Hd()?.createScriptURL(e)||e}var Re=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${fu})`}},fs=class extends Re{getTypeName(){return"HTML"}},ps=class extends Re{getTypeName(){return"Style"}},hs=class extends Re{getTypeName(){return"Script"}},gs=class extends Re{getTypeName(){return"URL"}},ms=class extends Re{getTypeName(){return"ResourceURL"}};function an(e){return e instanceof Re?e.changingThisBreaksApplicationSecurity:e}function Fa(e,t){let n=Qm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${fu})`)}return n===t}function Qm(e){return e instanceof Re&&e.getTypeName()||null}function NN(e){return new fs(e)}function SN(e){return new ps(e)}function kN(e){return new hs(e)}function RN(e){return new gs(e)}function ON(e){return new ms(e)}function $d(e){let t=new vs(e);return Zm()?new ys(t):t}var ys=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(zo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},vs=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=zo(t),n}};function Zm(){try{return!!new window.DOMParser().parseFromString(zo(""),"text/html")}catch{return!1}}var Ym=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Va(e){return e=String(e),e.match(Ym)?e:"unsafe:"+e}function Pe(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function tr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Bd=Pe("area,br,col,hr,img,wbr"),Ud=Pe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),qd=Pe("rp,rt"),Jm=tr(qd,Ud),Km=tr(Ud,Pe("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")),Xm=tr(qd,Pe("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")),Is=tr(Bd,Km,Xm,Jm),ja=Pe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ey=Pe("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"),ty=Pe("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"),Wd=tr(ja,ey,ty),ny=Pe("script,style,template"),Es=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=iy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=oy(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Nl(t).toLowerCase();if(!Is.hasOwnProperty(n))return this.sanitizedSomething=!0,!ny.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(!Wd.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;ja[a]&&(c=Va(c)),this.buf.push(" ",s,'="',Sl(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Nl(t).toLowerCase();Is.hasOwnProperty(n)&&!Bd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Sl(t))}};function ry(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function oy(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw zd(t);return t}function iy(e){let t=e.firstChild;if(t&&ry(e,t))throw zd(t);return t}function Nl(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function zd(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var sy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ay=/([^\#-~ |!])/g;function Sl(e){return e.replace(/&/g,"&amp;").replace(sy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(ay,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Lr;function cy(e,t){let n=null;try{Lr=Lr||$d(e);let r=t?String(t):"";n=Lr.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=Lr.getInertBodyElement(r)}while(r!==i);let a=new Es().sanitizeChildren(Ds(n)||n);return zo(a)}finally{if(n){let r=Ds(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function Ds(e){return"content"in e&&ly(e)?e.content:null}function ly(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Go=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}(Go||{});function AN(e){let t=Ha();return t?_l(t.sanitize(Go.HTML,e)||""):Fa(e,"HTML")?_l(an(e)):cy(Pa(),he(e))}function uy(e){let t=Ha();return t?t.sanitize(Go.URL,e)||"":Fa(e,"URL")?an(e):Va(he(e))}function dy(e){let t=Ha();if(t)return Tl(t.sanitize(Go.RESOURCE_URL,e)||"");if(Fa(e,"ResourceURL"))return Tl(an(e));throw new M(904,!1)}function fy(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?dy:uy}function PN(e,t,n){return fy(t,n)(e)}function Ha(){let e=y();return e&&e[Ne].sanitizer}var py=/^>|^->|<!--|-->|--!>|<!-$/g,hy=/(<|>)/g,gy="\u200B$1\u200B";function my(e){return e.replace(py,t=>t.replace(hy,gy))}function LN(e){return e.ownerDocument.defaultView}function Gd(e){return e instanceof Function?e():e}function yy(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 Qd="ng-template";function vy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&yy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if($a(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function $a(e){return e.type===4&&e.value!==Qd}function Iy(e,t,n){let r=e.type===4&&!n?Qd:e.value;return t===r}function Ey(e,t,n){let r=4,o=e.attrs,i=o!==null?by(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!pe(r)&&!pe(c))return!1;if(s&&pe(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!Iy(e,c,n)||c===""&&t.length===1){if(pe(r))return!1;s=!0}}else if(r&8){if(o===null||!vy(e,o,c,n)){if(pe(r))return!1;s=!0}}else{let l=t[++a],u=Dy(c,o,$a(e),n);if(u===-1){if(pe(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(pe(r))return!1;s=!0}}}}return pe(r)||s}function pe(e){return(e&1)===0}function Dy(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 My(t,e)}function Zd(e,t,n=!1){for(let r=0;r<t.length;r++)if(Ey(e,t[r],n))return!0;return!1}function wy(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function by(e){for(let t=0;t<e.length;t++){let n=e[t];if(ad(n))return t}return e.length}function My(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 Cy(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 kl(e,t){return e?":not("+t.trim()+")":t}function xy(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!==""&&!pe(s)&&(t+=kl(i,o),o=""),r=s,i=i||!pe(r);n++}return o!==""&&(t+=kl(i,o)),t}function _y(e){return e.map(xy).join(",")}function Ty(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(!pe(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var z={};function Yd(e,t){return e.createText(t)}function Jd(e,t,n){e.setValue(t,n)}function Kd(e,t){return e.createComment(my(t))}function Ba(e,t,n){return e.createElement(t,n)}function Dt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Xd(e,t,n){e.appendChild(t,n)}function Rl(e,t,n,r,o){r!==null?Dt(e,t,n,r,o):Xd(e,t,n)}function ef(e,t,n){e.removeChild(null,t,n)}function Ny(e,t,n){e.setAttribute(t,"style",n)}function Sy(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function tf(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Gg(e,t,r),o!==null&&Sy(e,t,o),i!==null&&Ny(e,t,i)}function Ua(e,t,n,r,o,i,s,a,c,l,u){let d=F+r,p=d+o,f=ky(d,p),h=typeof l=="function"?l():l;return f[v]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function ky(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:z);return n}function Ry(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Ua(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function qa(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Oe]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),qu(d),d[G]=d[Xt]=e,d[q]=n,d[Ne]=s||e&&e[Ne],d[k]=a||e&&e[k],d[we]=c||e&&e[we]||null,d[X]=i,d[Po]=Im(),d[zt]=u,d[Fu]=l,d[se]=t.type==2?e[se]:d,d}function Oy(e,t,n){let r=Ce(t,e),o=Ry(n),i=e[Ne].rendererFactory,s=Wa(e,qa(e,o,null,nf(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function nf(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function nr(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 Wa(e,t){return e[On]?e[dl][ge]=t:e[On]=t,e[dl]=t,t}function FN(e=1){rf(O(),y(),ye()+e,!1)}function rf(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&$r(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Br(t,i,0,n)}vt(n)}var Qo=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Qo||{});function ws(e,t,n,r){let o=b(null);try{let[i,s,a]=e.inputs[n],c=null;(s&Qo.SignalBased)!==0&&(c=t[i][B]),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):ju(t,c,i,r)}finally{b(o)}}function of(e,t,n,r,o){let i=ye(),s=r&2;try{vt(-1),s&&t.length>F&&rf(e,t,F,!1),A(s?2:0,o),n(r,o)}finally{vt(i),A(s?3:1,o)}}function Zo(e,t,n){jy(e,t,n),(n.flags&64)===64&&Hy(e,t,n)}function za(e,t,n=Ce){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 Ay(e,t,n,r){let i=r.get(_m,kd)||n===jn.ShadowDom,s=e.selectRootElement(t,i);return Py(s),s}function Py(e){Ly(e)}var Ly=()=>null;function Fy(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function cn(e,t,n,r,o,i,s,a){if(!a&&Za(t,e,n,r,o)){en(t)&&Vy(n,t.index);return}if(t.type&3){let c=Ce(t,n);r=Fy(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function Vy(e,t){let n=Me(t,e);n[E]&16||(n[E]|=64)}function jy(e,t,n){let r=n.directiveStart,o=n.directiveEnd;en(n)&&Oy(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||co(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=Ln(t,e,s,n);if(Ye(c,t),i!==null&&Uy(t,s-r,c,a,n,i),be(a)){let l=Me(n.index,t);l[q]=Ln(t,e,s,n)}}}function Hy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Fg();try{vt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];ns(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&$y(c,l)}}finally{vt(-1),ns(s)}}function $y(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Ga(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];Zd(t,i.selectors,!1)&&(r??=[],be(i)?r.unshift(i):r.push(i))}return r}function By(e,t,n,r,o,i){let s=Ce(e,t);Qa(t[k],s,i,e.value,n,r,o)}function Qa(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?he(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Uy(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];ws(r,n,c,l)}}function Yo(e,t){let n=e[we],r=n?n.get(Et,null):null;r&&r.handleError(t)}function Za(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];ws(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];ws(u,l,r,o),a=!0}return a}function qy(e,t){let n=Me(t,e),r=n[v];Wy(r,n);let o=n[Oe];o!==null&&n[zt]===null&&(n[zt]=Vd(o,n[we])),A(18),Ya(r,n,n[q]),A(19,n[q])}function Wy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Ya(e,t,n){_a(t);try{let r=e.viewQuery;r!==null&&ds(1,r,n);let o=e.template;o!==null&&of(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Se]?.finishViewCreation(e),e.staticContentQueries&&jd(e,t),e.staticViewQueries&&ds(2,e.viewQuery,n);let i=e.components;i!==null&&zy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,Ta()}}function zy(e,t){for(let n=0;n<t.length;n++)qy(e,t[n])}function ln(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=qa(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[ht]=l;let u=e[Se];return u!==null&&(c[Se]=u.createEmbeddedView(i)),Ya(i,c,n),c}finally{b(o)}}function wt(e,t){return!t||t.firstChild===null||Md(e)}var bs;function Ja(e,t){return bs(e,t)}function Gy(e){bs===void 0&&(bs=e())}var Ms=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ms||{});function Ka(e){return(e.flags&32)===32}function Bt(e,t,n,r,o){if(r!=null){let i,s=!1;Ae(r)?i=r:ze(r)&&(s=!0,r=r[Oe]);let a=de(r);e===0&&n!==null?o==null?Xd(t,n,a):Dt(t,n,a,o||null,!0):e===1&&n!==null?Dt(t,n,a,o||null,!0):e===2?ef(t,a,s):e===3&&t.destroyNode(a),i!=null&&ev(t,e,i,n,o)}}function Qy(e,t){sf(e,t),t[Oe]=null,t[X]=null}function Zy(e,t,n,r,o,i){r[Oe]=o,r[X]=t,Xo(e,r,n,1,o,i)}function sf(e,t){t[Ne].changeDetectionScheduler?.notify(9),Xo(e,t,t[k],2,null,null)}function Yy(e){let t=e[On];if(!t)return Li(e[v],e);for(;t;){let n=null;if(ze(t))n=t[On];else{let r=t[Z];r&&(n=r)}if(!n){for(;t&&!t[ge]&&t!==e;)ze(t)&&Li(t[v],t),t=t[G];t===null&&(t=e),ze(t)&&Li(t[v],t),n=t&&t[ge]}t=n}}function Xa(e,t){let n=e[Gt],r=n.indexOf(t);n.splice(r,1)}function Jo(e,t){if(tn(t))return;let n=t[k];n.destroyNode&&Xo(e,t,n,3,null,null),Yy(t)}function Li(e,t){if(tn(t))return;let n=b(null);try{t[E]&=-129,t[E]|=256,t[le]&&Rt(t[le]),Ky(e,t),Jy(e,t),t[v].type===1&&t[k].destroy();let r=t[ht];if(r!==null&&Ae(t[G])){r!==t[G]&&Xa(r,t);let o=t[Se];o!==null&&o.detachView(e)}ls(t)}finally{b(n)}}function Jy(e,t){let n=e.cleanup,r=t[to];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[to]=null);let o=t[We];if(o!==null){t[We]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[gt];if(i!==null){t[gt]=null;for(let s of i)s.destroy()}}function Ky(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 It)){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];A(4,a,c);try{c.call(a)}finally{A(5,a,c)}}else{A(4,o,i);try{i.call(o)}finally{A(5,o,i)}}}}}function af(e,t,n){return cf(e,t.parent,n)}function cf(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Oe];if(en(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===jn.None||o===jn.Emulated)return null}return Ce(r,n)}function lf(e,t,n){return df(e,t,n)}function uf(e,t,n){return e.type&40?Ce(e,n):null}var df=uf,Cs;function ff(e,t){df=e,Cs=t}function Ko(e,t,n,r){let o=af(e,r,t),i=t[k],s=r.parent||t[X],a=lf(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)Rl(i,o,n[c],a,!1);else Rl(i,o,n,a,!1);Cs!==void 0&&Cs(i,r,t,n,o)}function Cn(e,t){if(t!==null){let n=t.type;if(n&3)return Ce(t,e);if(n&4)return xs(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Cn(e,r);{let o=e[t.index];return Ae(o)?xs(-1,o):de(o)}}else{if(n&128)return Cn(e,t.next);if(n&32)return Ja(t,e)()||de(e[t.index]);{let r=pf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=yt(e[se]);return Cn(o,r)}else return Cn(e,t.next)}}}return null}function pf(e,t){if(t!==null){let r=e[se][X],o=t.projection;return r.projection[o]}return null}function xs(e,t){let n=Z+e+1;if(n<t.length){let r=t[n],o=r[v].firstChild;if(o!==null)return Cn(r,o)}return t[mt]}function ec(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&Ye(de(a),r),n.flags|=2),!Ka(n))if(c&8)ec(e,t,n.child,r,o,i,!1),Bt(t,e,o,a,i);else if(c&32){let l=Ja(n,r),u;for(;u=l();)Bt(t,e,o,u,i);Bt(t,e,o,a,i)}else c&16?hf(e,t,r,n,o,i):Bt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Xo(e,t,n,r,o,i){ec(n,r,e.firstChild,t,o,i,!1)}function Xy(e,t,n){let r=t[k],o=af(e,n,t),i=n.parent||t[X],s=lf(i,n,t);hf(r,0,t,n,o,s)}function hf(e,t,n,r,o,i){let s=n[se],c=s[X].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Bt(t,e,o,u,i)}else{let l=c,u=s[G];Md(r)&&(l.flags|=128),ec(e,t,l,u,o,i,!0)}}function ev(e,t,n,r,o){let i=n[mt],s=de(n);i!==s&&Bt(t,e,r,i,o);for(let a=Z;a<n.length;a++){let c=n[a];Xo(c[v],c,e,t,r,i)}}function tv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ms.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ms.Important),e.setStyle(n,r,o,i))}}function go(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(de(i)),Ae(i)&&nv(i,r);let s=n.type;if(s&8)go(e,t,n.child,r);else if(s&32){let a=Ja(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=pf(t,n);if(Array.isArray(a))r.push(...a);else{let c=yt(t[se]);go(c[v],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function nv(e,t){for(let n=Z;n<e.length;n++){let r=e[n],o=r[v].firstChild;o!==null&&go(r[v],r,o,t)}e[mt]!==e[Oe]&&t.push(e[mt])}function gf(e){if(e[ki]!==null){for(let t of e[ki])t.impl.addSequence(t);e[ki].length=0}}var mf=[];function rv(e){return e[le]??ov(e)}function ov(e){let t=mf.pop()??Object.create(sv);return t.lView=e,t}function iv(e){e.lView[le]!==e&&(e.lView=null,mf.push(e))}var sv=te(ee({},Ve),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Yn(e.lView)},consumerOnSignalRead(){this.lView[le]=this}});function av(e){let t=e[le]??Object.create(cv);return t.lView=e,t}var cv=te(ee({},Ve),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=yt(e.lView);for(;t&&!yf(t[v]);)t=yt(t);t&&Wu(t)},consumerOnSignalRead(){this.lView[le]=this}});function yf(e){return e.type!==2}function vf(e){if(e[gt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[gt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var lv=100;function If(e,t=!0,n=0){let o=e[Ne].rendererFactory,i=!1;i||o.begin?.();try{uv(e,n)}catch(s){throw t&&Yo(e,s),s}finally{i||o.end?.()}}function uv(e,t){let n=Ku();try{oo(!0),_s(e,t);let r=0;for(;jo(e);){if(r===lv)throw new M(103,!1);r++,_s(e,1)}}finally{oo(n)}}function dv(e,t,n,r){if(tn(t))return;let o=t[E],i=!1,s=!1;_a(t);let a=!0,c=null,l=null;i||(yf(e)?(l=rv(t),c=tt(l)):fc()===null?(a=!1,l=av(t),c=tt(l)):t[le]&&(Rt(t[le]),t[le]=null));try{qu(t),Ag(e.bindingStartIndex),n!==null&&of(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&$r(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Br(t,f,0,null),Ri(t,0)}if(s||fv(t),vf(t),Ef(t,0),e.contentQueries!==null&&jd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&$r(t,f)}else{let f=e.contentHooks;f!==null&&Br(t,f,1),Ri(t,1)}hv(e,t);let d=e.components;d!==null&&wf(t,d,0);let p=e.viewQuery;if(p!==null&&ds(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&$r(t,f)}else{let f=e.viewHooks;f!==null&&Br(t,f,2),Ri(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Hr]){for(let f of t[Hr])f();t[Hr]=null}i||(gf(t),t[E]&=-73)}catch(u){throw i||Yn(t),u}finally{l!==null&&(kt(l,c),a&&iv(l)),Ta()}}function Ef(e,t){for(let n=_d(e);n!==null;n=Td(n))for(let r=Z;r<n.length;r++){let o=n[r];Df(o,t)}}function fv(e){for(let t=_d(e);t!==null;t=Td(t)){if(!(t[E]&2))continue;let n=t[Gt];for(let r=0;r<n.length;r++){let o=n[r];Wu(o)}}}function pv(e,t,n){A(18);let r=Me(t,e);Df(r,n),A(19,r[q])}function Df(e,t){Ea(e)&&_s(e,t)}function _s(e,t){let r=e[v],o=e[E],i=e[le],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&gn(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)dv(r,e,r.template,e[q]);else if(o&8192){vf(e),Ef(e,1);let a=r.components;a!==null&&wf(e,a,1),gf(e)}}function wf(e,t,n){for(let r=0;r<t.length;r++)pv(e,t[r],n)}function hv(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)vt(~o);else{let i=o,s=n[++r],a=n[++r];Lg(s,i);let c=t[i];A(24,c),a(2,c),A(25,c)}}}finally{vt(-1)}}function ei(e,t){let n=Ku()?64:1088;for(e[Ne].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=yt(e);if(ro(e)&&!r)return e;e=r}return null}function bf(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Mf(e,t){let n=Z+t;if(n<e.length)return e[n]}function un(e,t,n,r=!0){let o=t[v];if(gv(o,t,e,n),r){let s=xs(n,e),a=t[k],c=a.parentNode(e[mt]);c!==null&&Zy(o,e[X],a,t,c,s)}let i=t[zt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function tc(e,t){let n=Hn(e,t);return n!==void 0&&Jo(n[v],n),n}function Hn(e,t){if(e.length<=Z)return;let n=Z+t,r=e[n];if(r){let o=r[ht];o!==null&&o!==e&&Xa(o,r),t>0&&(e[n-1][ge]=r[ge]);let i=Kr(e,Z+t);Qy(r[v],r);let s=i[Se];s!==null&&s.detachView(i[v]),r[G]=null,r[ge]=null,r[E]&=-129}return r}function gv(e,t,n,r){let o=Z+r,i=n.length;r>0&&(n[o-1][ge]=t),r<i-Z?(t[ge]=n[o],_u(n,Z+r,t)):(n.push(t),t[ge]=null),t[G]=n;let s=t[ht];s!==null&&n!==s&&Cf(s,t);let a=t[Se];a!==null&&a.insertView(e),es(t),t[E]|=128}function Cf(e,t){let n=e[Gt],r=t[G];if(ze(r))e[E]|=2;else{let o=r[G][se];t[se]!==o&&(e[E]|=2)}n===null?e[Gt]=[t]:n.push(t)}var bt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[v];return go(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[q]}set context(t){this._lView[q]=t}get destroyed(){return tn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[G];if(Ae(t)){let n=t[no],r=n?n.indexOf(this):-1;r>-1&&(Hn(t,r),Kr(n,r))}this._attachedToViewContainer=!1}Jo(this._lView[v],this._lView)}onDestroy(t){Da(this._lView,t)}markForCheck(){ei(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[E]&=-129}reattach(){es(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,If(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ro(this._lView),n=this._lView[ht];n!==null&&!t&&Xa(n,this._lView),sf(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=ro(this._lView),r=this._lView[ht];r!==null&&!n&&Cf(r,this._lView),es(this._lView)}};var mo=(()=>{class e{static __NG_ELEMENT_ID__=vv}return e})(),mv=mo,yv=class extends mv{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=ln(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new bt(o)}};function vv(){return ti(Y(),y())}function ti(e,t){return e.type&4?new yv(t,e,on(e,t)):null}function xf(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?uf(e,t,n):de(n[o])}function _f(e,t,n,r,o){let i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(t.type&3||(a=s,s=o),s!==null&&t.componentOffset===-1)for(let c=1;c<i.length;c++){let l=n[i[c]];Dt(e,s,l,a,!1)}}}function dn(e,t,n,r,o){let i=e.data[t];if(i===null)i=nc(e,t,n,r,o),Pg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Pn();i.injectorIndex=s===null?-1:s.injectorIndex}return me(i,!0),i}function nc(e,t,n,r,o){let i=Yu(),s=ba(),a=s?i:i&&i.parent,c=e.data[t]=Ev(e,a,n,t,r,o);return Iv(e,c,i,s),c}function Iv(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 Ev(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Zu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Tf(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];Nf(r)||Dv(r,t)&&wv(r)===null&&bv(r,t.index)}}function Nf(e){return!(e.type&64)}function Dv(e,t){return Nf(t)||e.index>t.index}function wv(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function bv(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(ff(xf,_f),e.insertBeforeIndex=t)}function _n(e,t){let n=e.data[t];return n===null||typeof n=="string"?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function Mv(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function Cv(e,t){let n=e.insertBeforeIndex;n===null?(ff(xf,_f),n=e.insertBeforeIndex=[null,t]):(Hh(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function xv(e,t,n){let r=nc(e,n,64,null,null);return Tf(t,r),r}function ni(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function _v(e){return e>>>17}function Tv(e){return(e&131070)>>>1}function Nv(e,t,n){return e|t<<17|n<<1}function Sv(e){return e===-1}function Sf(e,t,n){e.index=0;let r=ni(t,n);r!==null?e.removes=t.remove[r]:e.removes=Q}function Ts(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[v].data[n];return Sf(e,r,e.lView),Ts(e)}}else return e.stack.length===0?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),Ts(e))}function kv(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return Sf(e,n.value,r),Ts.bind(null,e)}return t}var jN=new RegExp(`^(\\d+)*(${Cm}|${Mm})*(.*)`);var Rv=()=>{};function Ov(e,t,n,r){Rv(e,t,n,r)}var Av=()=>{};function Pv(e,t,n){Av(e,t,n)}var Lv=()=>null;function Zt(e,t){return Lv(e,t)}var Ns=class{},yo=class{},Ss=class{resolveComponentFactory(t){throw Error(`No component factory found for ${ie(t)}.`)}},Yt=class{static NULL=new Ss},vo=class{},HN=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Fv()}return e})();function Fv(){let e=y(),t=Y(),n=Me(t.index,e);return(ze(n)?n:e)[k]}var Vv=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:()=>null})}return e})();function ks(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=zi(o,a);else if(i==2){let c=a,l=t[++s];r=zi(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function ri(e,t=T.Default){let n=y();if(n===null)return Ge(e,t);let r=Y();return hd(r,n,K(e),t)}function rc(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a,c=null,l=null,u=Hv(s);u===null?a=s:[a,c,l]=u,Uv(e,t,n,a,i,c,l)}i!==null&&r!==null&&jv(n,r,i)}function jv(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new M(-301,!1);r.push(t[o],i)}}function Hv(e){let t=null,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(s===0&&be(a)&&(t=a),a.findHostDirectiveDefs!==null){n=!0;break}}if(!n)return null;let r=null,o=null,i=null;for(let s of e)s.findHostDirectiveDefs!==null&&(r??=[],o??=new Map,i??=new Map,$v(s,r,i,o)),s===t&&(r??=[],r.push(s));return r!==null?(r.push(...t===null?e:e.slice(1)),[r,o,i]):null}function $v(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function Bv(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Uv(e,t,n,r,o,i,s){let a=r.length,c=!1;for(let p=0;p<a;p++){let f=r[p];!c&&be(f)&&(c=!0,Bv(e,n,p)),os(co(n,t),e,f.type)}Zv(n,e.data.length,a);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=nr(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=Qt(n.mergedAttrs,f.hostAttrs),Wv(e,n,t,d,f),Qv(d,f,o),s!==null&&s.has(f)){let[g,I]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,I+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++}qv(e,n,i)}function qv(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))Ol(0,t,o,r),Ol(1,t,o,r),Pl(t,r,!1);else{let i=n.get(o);Al(0,t,i,r),Al(1,t,i,r),Pl(t,r,!0)}}}function Ol(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),kf(t,i)}}function Al(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),kf(t,s)}}function kf(e,t){t==="class"?e.flags|=8:t==="style"&&(e.flags|=16)}function Pl(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||$a(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!n&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Wv(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=ft(o.type,!0)),s=new It(i,be(o),ri);e.blueprint[r]=s,n[r]=s,zv(e,t,r,nr(e,n,o.hostVars,z),o)}function zv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Gv(s)!=a&&s.push(a),s.push(n,r,i)}}function Gv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Qv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;be(t)&&(n[""]=e)}}function Zv(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Rf(e,t,n,r,o,i,s,a){let c=t.consts,l=ke(c,s),u=dn(t,e,2,r,l);return i&&rc(t,n,u,ke(c,a),o),u.mergedAttrs=Qt(u.mergedAttrs,u.attrs),u.attrs!==null&&ks(u,u.attrs,!1),u.mergedAttrs!==null&&ks(u,u.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,u),u}function Of(e,t){Na(e,t),Ia(t)&&e.queries.elementEnd(t)}var Io=class extends Yt{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=De(t);return new Mt(n,this.ngModule)}};function Yv(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&Qo.SignalBased)!==0};return o&&(i.transform=o),i})}function Jv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Kv(e,t,n){let r=t instanceof Te?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new qt(n,r):n}function Xv(e){let t=e.get(vo,null);if(t===null)throw new M(407,!1);let n=e.get(Vv,null),r=e.get(Ze,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function eI(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Ba(t,n,n==="svg"?Uu:n==="math"?Mg:null)}var Mt=class extends yo{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Yv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Jv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=_y(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o){A(22);let i=b(null);try{let s=this.componentDef,a=r?["ng-version","19.2.1"]:Ty(this.componentDef.selectors[0]),c=Ua(0,null,null,1,0,null,null,null,null,[a],null),l=Kv(s,o||this.ngModule,t),u=Xv(l),d=u.rendererFactory.createRenderer(null,s),p=r?Ay(d,r,s.encapsulation,l):eI(s,d),f=qa(null,c,null,512|nf(s),null,null,u,d,l,null,Vd(p,l,!0));f[F]=p,_a(f);let h=null;try{let g=Rf(F,c,f,"#host",()=>[this.componentDef],!0,0);p&&(tf(d,p,g),Ye(p,f)),Zo(c,f,g),La(c,g,f),Of(c,g),n!==void 0&&tI(g,this.ngContentSelectors,n),h=Me(g.index,f),f[q]=h[q],Ya(c,f,null)}catch(g){throw h!==null&&ls(h),ls(f),g}finally{A(23),Ta()}return new Rs(this.componentType,f)}finally{b(i)}}},Rs=class extends Ns{_rootLView;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n){super(),this._rootLView=n,this._tNode=Zn(n[v],F),this.location=on(this._tNode,n),this.instance=Me(this._tNode.index,n)[q],this.hostView=this.changeDetectorRef=new bt(n,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView,i=Za(r,o[v],o,t,n);this.previousInputValues.set(t,n);let s=Me(r.index,o);ei(s,1)}get injector(){return new dt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function tI(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 oc=(()=>{class e{static __NG_ELEMENT_ID__=nI}return e})();function nI(){let e=Y();return Pf(e,y())}var rI=oc,Af=class extends rI{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return on(this._hostTNode,this._hostLView)}get injector(){return new dt(this._hostTNode,this._hostLView)}get parentInjector(){let t=Sa(this._hostTNode,this._hostLView);if(cd(t)){let n=so(t,this._hostLView),r=io(t),o=n[v].data[r+8];return new dt(o,n)}else return new dt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ll(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-Z}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Zt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,wt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Eg(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new Mt(De(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?l:this.parentInjector).get(Te,null);g&&(i=g)}let u=De(c.componentType??{}),d=Zt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,wt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(xg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[G],l=new Af(c,c[X],c[G]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return un(s,o,i,r),t.attachToViewContainerRef(),_u(Fi(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ll(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Hn(this._lContainer,n);r&&(Kr(Fi(this._lContainer),n),Jo(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=Hn(this._lContainer,n);return r&&Kr(Fi(this._lContainer),n)!=null?new bt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ll(e){return e[no]}function Fi(e){return e[no]||(e[no]=[])}function Pf(e,t){let n,r=t[e.index];return Ae(r)?n=r:(n=bf(r,t,null,e),t[e.index]=n,Wa(t,n)),iI(n,t,e,r),new Af(n,e,t)}function oI(e,t){let n=e[k],r=n.createComment(""),o=Ce(t,e),i=n.parentNode(o);return Dt(n,i,r,n.nextSibling(o),!1),r}var iI=aI,sI=()=>!1;function Lf(e,t,n){return sI(e,t,n)}function aI(e,t,n,r){if(e[mt])return;let o;n.type&8?o=de(r):o=oI(t,n),e[mt]=o}var Os=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},As=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++)sc(t,n).matches!==null&&this.queries[n].setDirty()}},Eo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=fI(t):this.predicate=t}},Ps=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)}},Ls=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,cI(n,i)),this.matchTNodeWithReadOption(t,n,Ur(n,t,i,!1,!1))}else r===mo?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Ur(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Bo||o===oc||o===mo&&n.type&4)this.addMatch(n.index,-2);else{let i=Ur(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function cI(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 lI(e,t){return e.type&11?on(e,t):e.type&4?ti(e,t):null}function uI(e,t,n,r){return n===-1?lI(t,e):n===-2?dI(e,t,r):Ln(e,e[v],n,t)}function dI(e,t,n){if(n===Bo)return on(t,e);if(n===mo)return ti(t,e);if(n===oc)return Pf(t,e)}function Ff(e,t,n,r){let o=t[Se].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(uI(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Fs(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Ff(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=Z;d<u.length;d++){let p=u[d];p[ht]===p[G]&&Fs(p[v],p,l,r)}if(u[Gt]!==null){let d=u[Gt];for(let p=0;p<d.length;p++){let f=d[p];Fs(f[v],f,l,r)}}}}}return r}function ic(e,t){return e[Se].queries[t].queryList}function Vf(e,t,n){let r=new cs((n&4)===4);return Tg(e,t,r,r.destroy),(t[Se]??=new As).queries.push(new Os(r))-1}function jf(e,t,n){let r=O();return r.firstCreatePass&&($f(r,new Eo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Vf(r,y(),t)}function Hf(e,t,n,r){let o=O();if(o.firstCreatePass){let i=Y();$f(o,new Eo(t,n,r),i.index),pI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return Vf(o,y(),n)}function fI(e){return e.split(",").map(t=>t.trim())}function $f(e,t,n){e.queries===null&&(e.queries=new Ps),e.queries.track(new Ls(t,n))}function pI(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 sc(e,t){return e.queries.getByIndex(t)}function Bf(e,t){let n=e[v],r=sc(n,t);return r.crossesNgTemplate?Fs(n,e,t,[]):Ff(n,e,r,t)}function Uf(e,t,n){let r,o=li(()=>{r._dirtyCounter();let i=hI(r,e);if(t&&i===void 0)throw new M(-951,!1);return i});return r=o[B],r._dirtyCounter=Vn(0),r._flatValue=void 0,o}function qf(e){return Uf(!0,!1,e)}function Wf(e){return Uf(!0,!0,e)}function zf(e,t){let n=e[B];n._lView=y(),n._queryIndex=t,n._queryList=ic(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function hI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:Q;let o=ic(n,r),i=Bf(n,r);return o.reset(i,wd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Fl(e,t){return qf(t)}function gI(e,t){return Wf(t)}var BN=(Fl.required=gI,Fl);function Vl(e,t){return qf(t)}function mI(e,t){return Wf(t)}var UN=(Vl.required=mI,Vl);function Gf(e,t){let n=Object.create(pu),r=new po;n.value=e;function o(){return St(n),jl(n.value),n.value}return o[B]=n,o.asReadonly=Uo.bind(o),o.set=i=>{n.equal(n.value,i)||(Ot(n,i),r.emit(i))},o.update=i=>{jl(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function jl(e){if(e===So)throw new M(952,!1)}function Hl(e,t){return Gf(e,t)}function yI(e){return Gf(So,e)}var qN=(Hl.required=yI,Hl);var Ct=class{},Vs=class{};function WN(e,t){return new Do(e,t??null,[])}var Do=class extends Ct{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Io(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Su(t);this._bootstrapComponents=Gd(i.bootstrap),this._r3Injector=yd(t,n,[{provide:Ct,useValue:this},{provide:Yt,useValue:this.componentFactoryResolver},...r],ie(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)}},js=class extends Vs{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Do(this.moduleType,t,[])}};var wo=class extends Ct{injector;componentFactoryResolver=new Io(this);instance=null;constructor(t){super();let n=new Rn([...t.providers,{provide:Ct,useValue:this},{provide:Yt,useValue:this.componentFactoryResolver}],t.parent||Ao(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Qf(e,t,n=null){return new wo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var vI=(()=>{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=ma(!1,n.type),o=r.length>0?Qf([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=W({token:e,providedIn:"environment",factory:()=>new e(Ge(Te))})}return e})();function zN(e){return Gn(()=>{let t=Zf(e),n=te(ee({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Cd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(vI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||jn.Emulated,styles:e.styles||Q,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&sn("NgStandalone"),Yf(n);let r=e.dependencies;return n.directiveDefs=$l(r,!1),n.pipeDefs=$l(r,!0),n.id=bI(n),n})}function II(e){return De(e)||ha(e)}function EI(e){return e!==null}function GN(e){return Gn(()=>({type:e.type,bootstrap:e.bootstrap||Q,declarations:e.declarations||Q,imports:e.imports||Q,exports:e.exports||Q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function DI(e,t){if(e==null)return pt;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=Qo.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function wI(e){if(e==null)return pt;let t={};for(let n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function QN(e){return Gn(()=>{let t=Zf(e);return Yf(t),t})}function ZN(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 Zf(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||pt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||Q,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:DI(e.inputs,t),outputs:wI(e.outputs),debugInfo:null}}function Yf(e){e.features?.forEach(t=>t(e))}function $l(e,t){if(!e)return null;let n=t?ga:II;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(EI)}function bI(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 MI(e){return Object.getPrototypeOf(e.prototype).constructor}function CI(e){let t=MI(e.type),n=!0,r=[e];for(;t;){let o;if(be(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Vi(e.inputs),s.declaredInputs=Vi(e.declaredInputs),s.outputs=Vi(e.outputs);let a=o.hostBindings;a&&SI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&TI(e,c),l&&NI(e,l),xI(e,o),Vh(e.outputs,o.outputs),be(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===CI&&(n=!1)}}t=Object.getPrototypeOf(t)}_I(r)}function xI(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 _I(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=Qt(o.hostAttrs,n=Qt(n,o.hostAttrs))}}function Vi(e){return e===pt?{}:e===Q?[]:e}function TI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function NI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function SI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function Jf(e){return ac(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function kI(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 ac(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function oi(e,t,n){return e[t]=n}function RI(e,t){return e[t]}function ae(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function $n(e,t,n,r){let o=ae(e,t,n);return ae(e,t+1,r)||o}function OI(e,t,n,r,o){let i=$n(e,t,n,r);return ae(e,t+2,o)||i}function AI(e,t,n,r,o,i){let s=$n(e,t,n,r);return $n(e,t+2,o,i)||s}function PI(e,t,n,r,o,i,s,a,c){let l=t.consts,u=dn(t,e,4,s||null,a||null);wa()&&rc(t,n,u,ke(l,c),Ga),u.mergedAttrs=Qt(u.mergedAttrs,u.attrs),Na(t,u);let d=u.tView=Ua(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function Bn(e,t,n,r,o,i,s,a,c,l){let u=n+F,d=t.firstCreatePass?PI(u,t,e,r,o,i,s,a,c):t.data[u];me(d,!1);let p=FI(t,e,d,n);Jn()&&Ko(t,e,p,d),Ye(p,e);let f=bf(p,e,p,d);return e[u]=f,Wa(e,f),Lf(f,d,e),Lo(d)&&Zo(t,e,d),c!=null&&za(e,d,l),d}function LI(e,t,n,r,o,i,s,a){let c=y(),l=O(),u=ke(l.consts,i);return Bn(c,l,e,t,n,r,o,u,s,a),LI}var FI=VI;function VI(e,t,n,r){return Kn(!0),t[k].createComment("")}var jI=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Qf(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=W({token:e,providedIn:"environment",factory:()=>new e})}return e})();var HI=new R("");function ji(e,t,n){return e.get(jI).getOrCreateInjector(t,e,n,"")}function $I(e,t,n){if(e instanceof qt){let o=e.injector,i=e.parentInjector,s=ji(i,t,n);return new qt(o,s)}let r=e.get(Te);if(r!==e){let o=ji(r,t,n);return new qt(e,o)}return ji(e,t,n)}function ut(e,t,n,r=!1){let o=n[G],i=o[v];if(tn(o))return;let s=Xn(o,t),a=s[qo],c=s[Lm];if(!(c!==null&&e<c)&&Bl(a,e)&&Bl(s[Rm]??-1,e)){let l=er(i,t),d=!r&&!0&&(Bm(l)!==null||Cl(l,H.Loading)!==null||Cl(l,H.Placeholder))?WI:UI;try{d(e,s,n,t,o)}catch(p){Yo(o,p)}}}function BI(e,t){let n=e[An]?.findIndex(o=>o.data[Sd]===t[qo])??-1;return{dehydratedView:n>-1?e[An][n]:null,dehydratedViewIx:n}}function UI(e,t,n,r,o){A(20);let i=$m(e,o,r);if(i!==null){t[qo]=e;let s=o[v],a=i+F,c=Zn(s,a),l=0;tc(n,l);let u;if(e===H.Complete){let h=er(s,r),g=h.providers;g&&g.length>0&&(u=$I(o[we],h,g))}let{dehydratedView:d,dehydratedViewIx:p}=BI(n,t),f=ln(o,c,null,{injector:u,dehydratedView:d});if(un(n,f,l,wt(c,d)),ei(f,2),p>-1&&n[An]?.splice(p,1),(e===H.Complete||e===H.Error)&&Array.isArray(t[Pi])){for(let h of t[Pi])h();t[Pi]=null}}A(21)}function Bl(e,t){return e<t}function qI(e,t){let n=e[t.index];ut(H.Placeholder,t,n)}function Ul(e,t,n){e.loadingPromise.then(()=>{e.loadingState===oe.COMPLETE?ut(H.Complete,t,n):e.loadingState===oe.FAILED&&ut(H.Error,t,n)})}var WI=null;var YN=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var zI=new R("");var Kf=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:()=>new bo})}return e})(),bo=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}};function Xf(e){return!!e&&typeof e.then=="function"}function GI(e){return!!e&&typeof e.subscribe=="function"}var QI=new R("");var ep=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=_(QI,{optional:!0})??[];injector=_(Qe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Pu(this.injector,o);if(Xf(i))n.push(i);else if(GI(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=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ZI=new R("");function YI(){Dc(()=>{throw new M(600,!1)})}function JI(e){return e.isBoundToModule}var KI=10;var Un=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=_(pm);afterRenderManager=_(Sm);zonelessEnabled=_(ka);rootEffectScheduler=_(Kf);dirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new ce;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=_(Tt).hasPendingTasks.pipe($e(n=>!n));constructor(){_(Od,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=_(Te);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){A(10);let o=n instanceof yo;if(!this._injector.get(ep).done){let p=!o&&cg(n),f=!1;throw new M(405,f)}let s;o?s=n:s=this._injector.get(Yt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=JI(s)?void 0:this._injector.get(Ct),c=r||s.selector,l=s.create(Qe.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(zI,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),Wr(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),A(11,l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){A(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Rd.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new M(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,b(n),this.afterTick.next(),A(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(vo,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<KI;)A(14),this.synchronizeOnce(),A(15)}synchronizeOnce(){if(this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)XI(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>jo(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Wr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(ZI,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Wr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new M(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Wr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function XI(e,t,n,r){if(!n&&!jo(e))return;If(e,t,n&&!r?0:1)}function eE(e,t,n){let r=t[we],o=t[v];if(e.loadingState!==oe.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Xn(t,n),s=Um(o,e);e.loadingState=oe.IN_PROGRESS,qr(1,i);let a=e.dependencyResolverFn,c=r.get(Tt),l=c.add();return a?(e.loadingPromise=Promise.allSettled(a()).then(u=>{let d=!1,p=[],f=[];for(let h of u)if(h.status==="fulfilled"){let g=h.value,I=De(g)||ha(g);if(I)p.push(I);else{let m=ga(g);m&&f.push(m)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(l),d){if(e.loadingState=oe.FAILED,e.errorTmplIndex===null){let h="",g=new M(-750,!1);Yo(t,g)}}else{e.loadingState=oe.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=xl(h.directiveRegistry,p);let g=p.map(m=>m.type),I=ma(!1,...g);e.providers=I}f.length>0&&(h.pipeRegistry=xl(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=oe.COMPLETE,c.remove(l)}),e.loadingPromise)}function tE(e,t){return t[we].get(HI,null,{optional:!0})?.behavior!==Pd.Manual}function nE(e,t,n){let r=t[v],o=t[n.index];if(!tE(e,t))return;let i=Xn(t,n),s=er(r,n);switch(Ld(i),s.loadingState){case oe.NOT_STARTED:ut(H.Loading,n,o),eE(s,t,n),s.loadingState===oe.IN_PROGRESS&&Ul(s,n,o);break;case oe.IN_PROGRESS:ut(H.Loading,n,o),Ul(s,n,o);break;case oe.COMPLETE:ut(H.Complete,n,o);break;case oe.FAILED:ut(H.Error,n,o);break;default:}}function rE(e,t,n){return e===0?ql(t,n):e===2?!ql(t,n):!0}function ql(e,t){let n=e[we],r=er(e[v],t),o=zm(n),i=r.flags!==null&&(r.flags&1)===1,a=Xn(e,t)[Pm]!==null;return!(i&&a&&o)}function JN(e,t,n,r,o,i,s,a,c,l){let u=y(),d=O(),p=e+F,f=Bn(u,d,e,null,0,0),h=u[we];if(d.firstCreatePass){sn("NgDefer");let ve={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:oe.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,ve,a,s),Hm(d,p,ve)}let g=u[p];Lf(g,f,u);let I=null,m=null;if(g[An]?.length>0){let ve=g[An][0].data;m=ve[xm]??null,I=ve[Sd]}let S=[null,ho.Initial,null,null,null,null,m,I,null,null];jm(u,p,S);let Le=null;m!==null&&(Le=h.get(qm),Le.add(m,{lView:u,tNode:f,lContainer:g}));let Ke=()=>{Ld(S),m!==null&&Le?.cleanup([m])};Vm(0,S,()=>zu(u,Ke)),Da(u,Ke)}function KN(e){let t=y(),n=_t();if(!rE(0,t,n))return;let r=Je();if(ae(t,r,e)){let o=b(null);try{let i=!!e,a=Xn(t,n)[qo];i===!1&&a===ho.Initial?qI(t,n):i===!0&&(a===ho.Initial||a===H.Placeholder)&&nE(0,t,n)}finally{b(o)}}}function oE(e,t,n,r){let o=y(),i=Je();if(ae(o,i,t)){let s=O(),a=_t();By(a,o,e,t,n,r)}return oE}function tp(e,t,n,r){return ae(e,Je(),n)?t+he(n)+r:z}function np(e,t,n,r,o,i){let s=Ca(),a=$n(e,s,n,o);return Ho(2),a?t+he(n)+r+he(o)+i:z}function rp(e,t,n,r,o,i,s,a){let c=Ca(),l=OI(e,c,n,o,s);return Ho(3),l?t+he(n)+r+he(o)+i+he(s)+a:z}function Fr(e,t){return e<<17|t<<2}function xt(e){return e>>17&32767}function iE(e){return(e&2)==2}function sE(e,t){return e&131071|t<<17}function Hs(e){return e|2}function Jt(e){return(e&131068)>>2}function Hi(e,t){return e&-131069|t<<2}function aE(e){return(e&1)===1}function $s(e){return e|1}function cE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=xt(s),c=Jt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Qn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=xt(e[a+1]);e[r+1]=Fr(p,a),p!==0&&(e[p+1]=Hi(e[p+1],r)),e[a+1]=sE(e[a+1],r)}else e[r+1]=Fr(a,0),a!==0&&(e[a+1]=Hi(e[a+1],r)),a=r;else e[r+1]=Fr(c,0),a===0?a=r:e[c+1]=Hi(e[c+1],r),c=r;l&&(e[r+1]=Hs(e[r+1])),Wl(e,u,r,!0),Wl(e,u,r,!1),lE(t,u,e,r,i),s=Fr(a,c),i?t.classBindings=s:t.styleBindings=s}function lE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Qn(i,t)>=0&&(n[r+1]=$s(n[r+1]))}function Wl(e,t,n,r){let o=e[n+1],i=t===null,s=r?xt(o):Jt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];uE(c,t)&&(a=!0,e[s+1]=r?$s(l):Hs(l)),s=r?xt(l):Jt(l)}a&&(e[n+1]=r?Hs(o):$s(o))}function uE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Qn(e,t)>=0:!1}var U={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function op(e){return e.substring(U.key,U.keyEnd)}function dE(e){return e.substring(U.value,U.valueEnd)}function fE(e){return ap(e),ip(e,Kt(e,0,U.textEnd))}function ip(e,t){let n=U.textEnd;return n===t?-1:(t=U.keyEnd=hE(e,U.key=t,n),Kt(e,t,n))}function pE(e){return ap(e),sp(e,Kt(e,0,U.textEnd))}function sp(e,t){let n=U.textEnd,r=U.key=Kt(e,t,n);return n===r?-1:(r=U.keyEnd=gE(e,r,n),r=zl(e,r,n,58),r=U.value=Kt(e,r,n),r=U.valueEnd=mE(e,r,n),zl(e,r,n,59))}function ap(e){U.key=0,U.keyEnd=0,U.value=0,U.valueEnd=0,U.textEnd=e.length}function Kt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function hE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function gE(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 zl(e,t,n,r){return t=Kt(e,t,n),t<n&&t++,t}function mE(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=Gl(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Gl(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Gl(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 yE(e,t,n){let r=y(),o=Je();if(ae(r,o,t)){let i=O(),s=_t();cn(i,s,r,e,t,r[k],n,!1)}return yE}function Bs(e,t,n,r,o){Za(t,e,n,o?"class":"style",r)}function vE(e,t,n){return cp(e,t,n,!1),vE}function IE(e,t){return cp(e,t,null,!0),IE}function XN(e){lp(fp,EE,e,!1)}function EE(e,t){for(let n=pE(t);n>=0;n=sp(t,n))fp(e,op(t),dE(t))}function eS(e){lp(_E,DE,e,!0)}function DE(e,t){for(let n=fE(t);n>=0;n=ip(t,n))Oo(e,op(t),!0)}function cp(e,t,n,r){let o=y(),i=O(),s=Ho(2);if(i.firstUpdatePass&&dp(i,e,s,r),t!==z&&ae(o,s,t)){let a=i.data[ye()];pp(i,a,o,o[k],e,o[s+1]=NE(t,n),r,s)}}function lp(e,t,n,r){let o=O(),i=Ho(2);o.firstUpdatePass&&dp(o,null,i,r);let s=y();if(n!==z&&ae(s,i,n)){let a=o.data[ye()];if(hp(a,r)&&!up(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=zi(c,n||"")),Bs(o,a,s,n,r)}else TE(o,a,s,s[k],s[i+1],s[i+1]=xE(e,t,n),r,i)}}function up(e,t){return t>=e.expandoStartIndex}function dp(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ye()],s=up(e,n);hp(i,r)&&t===null&&!s&&(t=!1),t=wE(o,i,t,r),cE(o,i,t,n,s,r)}}function wE(e,t,n,r){let o=Vg(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=$i(null,e,t,n,r),n=qn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=$i(o,e,t,n,r),i===null){let c=bE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=$i(null,e,t,c[1],r),c=qn(c,t.attrs,r),ME(e,t,r,c))}else i=CE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function bE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Jt(r)!==0)return e[xt(r)]}function ME(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[xt(o)]=r}function CE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=qn(r,s,n)}return qn(r,t.attrs,n)}function $i(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=qn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function qn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Oo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function xE(e,t,n){if(n==null||n==="")return Q;let r=[],o=an(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function fp(e,t,n){Oo(e,t,an(n))}function _E(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Oo(e,r,n)}function TE(e,t,n,r,o,i,s,a){o===z&&(o=Q);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&pp(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function pp(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=aE(l)?Ql(c,t,n,o,Jt(l),s):void 0;if(!Mo(u)){Mo(i)||iE(l)&&(i=Ql(c,null,n,o,a,s));let d=Fo(ye(),n);tv(r,s,d,o,i)}}function Ql(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===z&&(p=d?Q:void 0);let f=d?Ni(p,r):u===r?p:void 0;if(l&&!Mo(f)&&(f=Ni(c,r)),Mo(f)&&(a=f,s))return a;let h=e[o+1];o=s?xt(h):Jt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Ni(c,r))}return a}function Mo(e){return e!==void 0}function NE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=ie(an(e)))),e}function hp(e,t){return(e.flags&(t?8:16))!==0}var Us=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 Bi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function SE(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Bi(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=Bi(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),I=n(s,p),m=n(i,u);if(Object.is(m,I)){let S=n(c,f);Object.is(S,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new Co,o??=Yl(e,i,s,n),qs(e,r,i,m))e.updateValue(i,u),i++,s++;else if(o.has(m))r.set(g,e.detach(i)),s--;else{let S=e.create(i,t[i]);e.attach(i,S),i++,s++}}for(;i<=c;)Zl(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Bi(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new Co,o??=Yl(e,i,s,n);let f=n(i,d);if(qs(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Zl(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function qs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Zl(e,t,n,r,o){if(qs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Yl(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var Co=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function tS(e,t){sn("NgControlFlow");let n=y(),r=Je(),o=n[r]!==z?n[r]:-1,i=o!==-1?xo(n,F+o):void 0,s=0;if(ae(n,r,e)){let a=b(null);try{if(i!==void 0&&tc(i,s),e!==-1){let c=F+e,l=xo(n,c),u=Qs(n[v],c),d=Zt(l,u.tView.ssrId),p=ln(n,u,t,{dehydratedView:d});un(l,p,s,wt(u,d))}}finally{b(a)}}else if(i!==void 0){let a=Mf(i,s);a!==void 0&&(a[q]=t)}}var Ws=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Z}};function nS(e){return e}var zs=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function rS(e,t,n,r,o,i,s,a,c,l,u,d,p){sn("NgControlFlow");let f=y(),h=O(),g=c!==void 0,I=y(),m=a?s.bind(I[se][q]):s,S=new zs(g,m);I[F+e]=S,Bn(f,h,e+1,t,n,r,o,ke(h.consts,i)),g&&Bn(f,h,e+2,c,l,u,d,ke(h.consts,p))}var Gs=class extends Us{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-Z}at(t){return this.getLView(t)[q].$implicit}attach(t,n){let r=n[zt];this.needsIndexUpdate||=t!==this.length,un(this.lContainer,n,t,wt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,kE(this.lContainer,t)}create(t,n){let r=Zt(this.lContainer,this.templateTNode.tView.ssrId),o=ln(this.hostLView,this.templateTNode,new Ws(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Jo(t[v],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[q].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[q].$index=t}getLView(t){return RE(this.lContainer,t)}};function oS(e){let t=b(null),n=ye();try{let r=y(),o=r[v],i=r[n],s=n+1,a=xo(r,s);if(i.liveCollection===void 0){let l=Qs(o,s);i.liveCollection=new Gs(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(SE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=Je(),u=c.length===0;if(ae(r,l,u)){let d=n+2,p=xo(r,d);if(u){let f=Qs(o,d),h=Zt(p,f.tView.ssrId),g=ln(r,f,void 0,{dehydratedView:h});un(p,g,0,wt(f,h))}else tc(p,0)}}}finally{b(t)}}function xo(e,t){return e[t]}function kE(e,t){return Hn(e,t)}function RE(e,t){return Mf(e,t)}function Qs(e,t){return Zn(e,t)}function gp(e,t,n,r){let o=y(),i=O(),s=F+e,a=o[k],c=i.firstCreatePass?Rf(s,i,o,t,Ga,wa(),n,r):i.data[s],l=AE(i,o,c,a,t,e);o[s]=l;let u=Lo(c);return me(c,!0),tf(a,l,c),!Ka(c)&&Jn()&&Ko(i,o,l,c),(Ng()===0||u)&&Ye(l,o),Sg(),u&&(Zo(i,o,c),La(i,c,o)),r!==null&&za(o,c),gp}function mp(){let e=Y();ba()?Ma():(e=e.parent,me(e,!1));let t=e;Rg(t)&&Og(),kg();let n=O();return n.firstCreatePass&&Of(n,t),t.classesWithoutHost!=null&&Wg(t)&&Bs(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&zg(t)&&Bs(n,t,y(),t.stylesWithoutHost,!1),mp}function OE(e,t,n,r){return gp(e,t,n,r),mp(),OE}var AE=(e,t,n,r,o,i)=>(Kn(!0),Ba(r,o,Bg()));function PE(e,t,n,r,o){let i=t.consts,s=ke(i,r),a=dn(t,e,8,"ng-container",s);s!==null&&ks(a,s,!0);let c=ke(i,o);return wa()&&rc(t,n,a,c,Ga),a.mergedAttrs=Qt(a.mergedAttrs,a.attrs),t.queries!==null&&t.queries.elementStart(t,a),a}function yp(e,t,n){let r=y(),o=O(),i=e+F,s=o.firstCreatePass?PE(i,o,r,t,n):o.data[i];me(s,!0);let a=FE(o,r,s,e);return r[i]=a,Jn()&&Ko(o,r,a,s),Ye(a,r),Lo(s)&&(Zo(o,r,s),La(o,s,r)),n!=null&&za(r,s),yp}function vp(){let e=Y(),t=O();return ba()?Ma():(e=e.parent,me(e,!1)),t.firstCreatePass&&(Na(t,e),Ia(e)&&t.queries.elementEnd(e)),vp}function LE(e,t,n){return yp(e,t,n),vp(),LE}var FE=(e,t,n,r)=>(Kn(!0),Kd(t[k],""));function iS(){return y()}var lt=void 0;function VE(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var jE=["en",[["a","p"],["AM","PM"],lt],[["AM","PM"],lt,lt],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],lt,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],lt,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",lt,"{1} 'at' {0}",lt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",VE],Tn={};function sS(e,t,n){typeof t!="string"&&(n=t,t=e[Wn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Tn[t]=e,n&&(Tn[t][Wn.ExtraData]=n)}function Ip(e){let t=$E(e),n=Jl(t);if(n)return n;let r=t.split("-")[0];if(n=Jl(r),n)return n;if(r==="en")return jE;throw new M(701,!1)}function aS(e){return Ip(e)[Wn.CurrencyCode]||null}function HE(e){return Ip(e)[Wn.PluralCase]}function Jl(e){return e in Tn||(Tn[e]=Ue.ng&&Ue.ng.common&&Ue.ng.common.locales&&Ue.ng.common.locales[e]),Tn[e]}var Wn=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}(Wn||{});function $E(e){return e.toLowerCase().replace(/_/g,"-")}var BE=["zero","one","two","few","many"];function UE(e,t){let n=HE(t)(parseInt(e,10)),r=BE[n];return r!==void 0?r:"other"}var _o="en-US",qE="USD",Ep={marker:"element"},Dp={marker:"ICU"},_e=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(_e||{}),wp=_o;function WE(e){typeof e=="string"&&(wp=e.toLowerCase().replace(/_/g,"-"))}function zE(){return wp}var zn=0,Nn=0;function GE(e){e&&(zn=zn|1<<Math.min(Nn,31)),Nn++}function QE(e,t,n){if(Nn>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=Ca()-Nn-1;Mp(e,t,o,i,zn)}zn=0,Nn=0}function ZE(e,t,n){let r=e[k];switch(n){case Node.COMMENT_NODE:return Kd(r,t);case Node.TEXT_NODE:return Yd(r,t);case Node.ELEMENT_NODE:return Ba(r,t,null)}}var zr=(e,t,n,r)=>(Kn(!0),ZE(e,n,r));function YE(e,t,n,r){let o=e[k];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s&_e.COMMENT)===_e.COMMENT,l=(s&_e.APPEND_EAGERLY)===_e.APPEND_EAGERLY,u=s>>>_e.SHIFT,d=e[u],p=!1;d===null&&(d=e[u]=zr(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=Jn()),l&&n!==null&&p&&Dt(o,n,d,r,!1)}}function bp(e,t,n,r){let o=n[k],i=null,s;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="string"){let l=t[++a];n[l]===null&&(n[l]=zr(n,l,c,Node.TEXT_NODE))}else if(typeof c=="number")switch(c&1){case 0:let l=_v(c);i===null&&(i=l,s=o.parentNode(r));let u,d;if(l===i?(u=r,d=s):(u=null,d=de(n[l])),d!==null){let g=Tv(c),I=n[g];Dt(o,d,I,u,!1);let m=_n(e,g);if(m!==null&&typeof m=="object"){let S=ni(m,n);S!==null&&bp(e,m.create[S],n,n[m.anchorIdx])}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];Qa(o,Fo(p,n),null,null,f,h,null);break;default:}else switch(c){case Dp:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=zr(n,u,l,Node.COMMENT_NODE);Ye(f,n)}break;case Ep:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=zr(n,p,d,Node.ELEMENT_NODE);Ye(f,n)}break;default:}}}function Mp(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+=he(t[r-u]);else{let d=u>>>2;switch(u&3){case 1:let p=n[++l],f=n[++l],h=e.data[d];typeof h=="string"?Qa(t[k],t[d],null,h,p,c,f):cn(e,h,t,p,c,t[k],f,!1);break;case 0:let g=t[d];g!==null&&Jd(t[k],g,c);break;case 2:JE(e,_n(e,d),t,c);break;case 3:Kl(e,_n(e,d),r,t);break}}}}else{let c=n[i+1];if(c>0&&(c&3)===3){let l=c>>>2,u=_n(e,l);t[u.currentCaseLViewIndex]<0&&Kl(e,u,r,t)}}i+=a}}function Kl(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=zn;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),Mp(e,r,t.update[o],n,i)}}function JE(e,t,n,r){let o=KE(t,r);if(ni(t,n)!==o&&(Cp(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&bp(e,t.create[o],n,s),Pv(n,t.anchorIdx,o)}}function Cp(e,t,n){let r=ni(t,n);if(r!==null){let o=t.remove[r];for(let i=0;i<o.length;i++){let s=o[i];if(s>0){let a=Fo(s,n);a!==null&&ef(n[k],a)}else Cp(e,_n(e,~s),n)}}}function KE(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=UE(t,zE());n=e.cases.indexOf(r),n===-1&&r!=="other"&&(n=e.cases.indexOf("other"));break}case 0:{n=e.cases.indexOf("other");break}}return n===-1?null:n}var To=/�(\d+):?\d*�/gi;var XE=/�(\d+)�/,xp=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,Sn="\uFFFD",eD=/�\/?\*(\d+:\d+)�/gi,tD=/�(\/?[#*]\d+):?\d*�/gi,nD=/\uE500/g;function rD(e){return e.replace(nD," ")}function oD(e,t,n,r,o,i){let s=Pn(),a=[],c=[],l=[[]],u=[[]];o=sD(o,i);let d=rD(o).split(tD);for(let p=0;p<d.length;p++){let f=d[p];if((p&1)===0){let h=Zs(f);for(let g=0;g<h.length;g++){let I=h[g];if((g&1)===0){let m=I;m!==""&&iD(u[0],e,s,l[0],a,c,n,m)}else{let m=I;if(typeof m!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let Le=_p(e,s,l[0],n,a,"",!0).index;Np(u[0],e,n,c,t,m,Le)}}}else{let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),I=F+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),me(Pn(),!1);else{let m=xv(e,l[0],I);l.unshift([]),me(m,!0);let S={kind:2,index:I,children:[],type:g===35?0:1};u[0].push(S),u.unshift(S.children)}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function _p(e,t,n,r,o,i,s){let a=nr(e,r,1,null),c=a<<_e.SHIFT,l=Pn();t===l&&(l=null),l===null&&(c|=_e.APPEND_EAGERLY),s&&(c|=_e.COMMENT,Gy(kv)),o.push(c,i===null?"":i);let u=nc(e,a,s?32:1,i===null?"":i,null);Tf(n,u);let d=u.index;return me(u,!1),l!==null&&t!==l&&Cv(l,d),u}function iD(e,t,n,r,o,i,s,a){let c=a.match(To),u=_p(t,n,r,s,o,c?null:a,!1).index;c&&Gr(i,a,u,null,0,null),e.push({kind:0,index:u})}function Gr(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(To),u=0;for(let d=0;d<l.length;d++){let p=l[d];if(d&1){let f=o+parseInt(p,10);e.push(-1-f),u=u|Tp(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 Tp(e){return 1<<Math.min(e,31)}function Xl(e){let t,n="",r=0,o=!1,i;for(;(t=eD.exec(e))!==null;)o?t[0]===`${Sn}/*${i}${Sn}`&&(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 sD(e,t){if(Sv(t))return Xl(e);{let n=e.indexOf(`:${t}${Sn}`)+2+t.toString().length,r=e.search(new RegExp(`${Sn}\\/\\*\\d+:${t}${Sn}`));return Xl(e.substring(n,r))}}function Np(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:nr(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};uD(r,i,s),Mv(t,s,c);let l=i.values,u=[];for(let d=0;d<l.length;d++){let p=l[d],f=[];for(let g=0;g<p.length;g++){let I=p[g];if(typeof I!="string"){let m=f.push(I)-1;p[g]=`<!--\uFFFD${m}\uFFFD-->`}}let h=[];u.push(h),a=cD(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a}a&&dD(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function aD(e){let t=[],n=[],r=1,o=0;e=e.replace(xp,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=Zs(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=Zs(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function Zs(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);xp.test(c)?r.push(aD(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 cD(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=$d(Pa()).getInertBodyElement(a),h=Ds(f)||f;return h?Sp(e,t,n,r,o,l,u,d,h,i,c,0):0}function Sp(e,t,n,r,o,i,s,a,c,l,u,d){let p=0,f=c.firstChild;for(;f;){let h=nr(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,I=g.tagName.toLowerCase();if(Is.hasOwnProperty(I)){Ui(i,Ep,I,l,h),t.data[h]=I;let Ke=g.attributes;for(let ii=0;ii<Ke.length;ii++){let Xe=Ke.item(ii),dc=Xe.name.toLowerCase();!!Xe.value.match(To)?Wd.hasOwnProperty(dc)&&(ja[dc]?Gr(a,Xe.value,h,Xe.name,0,Va):Gr(a,Xe.value,h,Xe.name,0,null)):fD(i,h,Xe)}let ve={kind:1,index:h,children:[]};e.push(ve),p=Sp(ve.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,eu(s,h,d)}break;case Node.TEXT_NODE:let m=f.textContent||"",S=m.match(To);Ui(i,null,S?"":m,l,h),eu(s,h,d),S&&(p=Gr(a,m,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let Le=XE.exec(f.textContent||"");if(Le){let Ke=parseInt(Le[1],10),ve=u[Ke];Ui(i,Dp,"",l,h),Np(e,t,r,o,l,ve,h),lD(s,h,d)}break}f=f.nextSibling}return p}function eu(e,t,n){n===0&&e.push(t)}function lD(e,t,n){n===0&&(e.push(~t),e.push(t))}function uD(e,t,n){e.push(Tp(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function dD(e,t,n){e.push(t,1,n<<2|3)}function Ui(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,Nv(0,r,o))}function fD(e,t,n){e.push(t<<1|1,n.name,n.value)}var tu=0,pD=/\[(�.+?�?)\]/,hD=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,gD=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,mD=/{([A-Z0-9_]+)}/g,yD=/�I18N_EXP_(ICU(_\d+)?)�/g,vD=/\/\*/,ID=/\d+\:(\d+)/;function ED(e,t={}){let n=e;if(pD.test(e)){let r={},o=[tu];n=n.replace(hD,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let I=g.match(ID),m=I?parseInt(I[1],10):tu,S=vD.test(g);l.push([m,S,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(gD,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace(mD,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(yD,(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 DD(e,t,n=-1){let r=O(),o=y(),i=F+e,s=ke(r.consts,t),a=Pn();if(r.firstCreatePass&&oD(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[se];p[E]|=32}else o[E]|=32;let c=r.data[i],l=a===o[X]?null:a,u=cf(r,l,o),d=a&&a.type&8?o[a.index]:null;Ov(o,i,a,n),YE(o,c.create,u,d),Xu(!0)}function wD(){Xu(!1)}function cS(e,t,n){DD(e,t,n),wD()}function bD(e){let t=y();return GE(ae(t,Je(),e)),bD}function lS(e){QE(O(),y(),e+F)}function uS(e,t={}){return ED(e,t)}var MD=(e,t,n)=>{};function CD(e,t,n,r){let o=y(),i=O(),s=Y();return kp(i,o,o[k],s,e,t,r),CD}function xD(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[to],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function kp(e,t,n,r,o,i,s){let a=Lo(r),l=e.firstCreatePass?Qu(e):null,u=t[q],d=Gu(t),p=!0;if(r.type&3||s){let f=Ce(r,t),h=s?s(f):f,g=d.length,I=s?S=>s(de(S[r.index])):r.index,m=null;if(!s&&a&&(m=xD(e,t,o,r.index)),m!==null){let S=m.__ngLastListenerFn__||m;S.__ngNextListenerFn__=i,m.__ngLastListenerFn__=i,p=!1}else{i=ou(r,t,u,i),MD(h,o,i);let S=n.listen(h,o,i);d.push(i,S),l&&l.push(o,I,g,g+1)}}else i=ou(r,t,u,i);if(p){let f=r.outputs?.[o],h=r.hostDirectiveOutputs?.[o];if(h&&h.length)for(let g=0;g<h.length;g+=2){let I=h[g],m=h[g+1];nu(r,e,t,I,m,o,i,d,l)}if(f&&f.length)for(let g of f)nu(r,e,t,g,o,o,i,d,l)}}function nu(e,t,n,r,o,i,s,a,c){let l=n[r],d=t.data[r].outputs[o],f=l[d].subscribe(s),h=a.length;a.push(s,f),c&&c.push(i,e.index,h,-(h+1))}function ru(e,t,n,r){let o=b(null);try{return A(6,t,n),n(r)!==!1}catch(i){return Yo(e,i),!1}finally{A(7,t,n),b(o)}}function ou(e,t,n,r){return function o(i){if(i===Function)return r;let s=en(e)?Me(e.index,t):t;ei(s,5);let a=ru(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=ru(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function dS(e=1){return Hg(e)}function _D(e,t){let n=null,r=wy(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Zd(e,i,!0):Cy(r,i))return o}return n}function fS(e){let t=y()[se][X];if(!t.projection){let n=e?e.length:1,r=t.projection=ig(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?_D(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function pS(e,t=0,n,r,o,i){let s=y(),a=O(),c=r?e+1:null;c!==null&&Bn(s,a,c,r,o,i,null,n);let l=dn(a,F+e,16,null,n||null);l.projection===null&&(l.projection=t),Ma();let d=!s[zt]||Zu();s[se][X].projection[l.projection]===null&&c!==null?TD(s,a,c):d&&!Ka(l)&&Xy(a,s,l)}function TD(e,t,n){let r=F+n,o=t.data[r],i=e[r],s=Zt(i,o.tView.ssrId),a=ln(e,o,void 0,{dehydratedView:s});un(i,a,0,wt(o,s))}function ND(e,t,n){return Rp(e,"",t,"",n),ND}function Rp(e,t,n,r,o){let i=y(),s=tp(i,t,n,r);if(s!==z){let a=O(),c=_t();cn(a,c,i,e,s,i[k],o,!1)}return Rp}function SD(e,t,n,r,o,i,s){let a=y(),c=np(a,t,n,r,o,i);if(c!==z){let l=O(),u=_t();cn(l,u,a,e,c,a[k],s,!1)}return SD}function kD(e,t,n,r,o,i,s,a,c){let l=y(),u=rp(l,t,n,r,o,i,s,a);if(u!==z){let d=O(),p=_t();cn(d,p,l,e,u,l[k],c,!1)}return kD}function hS(e,t,n,r){Hf(e,t,n,r)}function gS(e,t,n){jf(e,t,n)}function mS(e){let t=y(),n=O(),r=xa();$o(r+1);let o=sc(n,r);if(e.dirty&&Cg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Bf(t,r);e.reset(i,wd),e.notifyOnChanges()}return!0}return!1}function yS(){return ic(y(),xa())}function vS(e,t,n,r,o){zf(t,Hf(e,n,r,o))}function IS(e,t,n,r){zf(e,jf(t,n,r))}function ES(e=1){$o(xa()+e)}function cc(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function DS(e){let t=Ju();return Vo(t,F+e)}function wS(e,t=""){let n=y(),r=O(),o=e+F,i=r.firstCreatePass?dn(r,o,1,t,null):r.data[o],s=RD(r,n,i,t,e);n[o]=s,Jn()&&Ko(r,n,s,i),me(i,!1)}var RD=(e,t,n,r,o)=>(Kn(!0),Yd(t[k],r));function OD(e){return Op("",e,""),OD}function Op(e,t,n){let r=y(),o=tp(r,e,t,n);return o!==z&&lc(r,ye(),o),Op}function AD(e,t,n,r,o){let i=y(),s=np(i,e,t,n,r,o);return s!==z&&lc(i,ye(),s),AD}function PD(e,t,n,r,o,i,s){let a=y(),c=rp(a,e,t,n,r,o,i,s);return c!==z&&lc(a,ye(),c),PD}function lc(e,t,n){let r=Fo(t,e);Jd(e[k],r,n)}function LD(e,t,n){bd(t)&&(t=t());let r=y(),o=Je();if(ae(r,o,t)){let i=O(),s=_t();cn(i,s,r,e,t,r[k],n,!1)}return LD}function bS(e,t){let n=bd(e);return n&&e.set(t),n}function FD(e,t){let n=y(),r=O(),o=Y();return kp(r,n,n[k],o,e,t),FD}var Ap={};function VD(e){let t=O(),n=y(),r=e+F,o=dn(t,r,128,null,null);return me(o,!1),cc(t,n,r,Ap),VD}function MS(e){sn("NgLet");let t=O(),n=y(),r=ye();return cc(t,n,r,e),e}function CS(e){let t=Ju(),n=Vo(t,F+e);if(n===Ap)throw new M(314,!1);return n}function jD(e,t,n){let r=O();if(r.firstCreatePass){let o=be(e);Ys(n,r.data,r.blueprint,o,!0),Ys(t,r.data,r.blueprint,o,!1)}}function Ys(e,t,n,r,o){if(e=K(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ys(e[i],t,n,r,o);else{let i=O(),s=y(),a=Y(),c=Wt(e)?e:K(e.provide),l=Au(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Wt(e)||!e.multi){let f=new It(l,o,ri),h=Wi(c,t,o?u:u+p,d);h===-1?(os(co(a,s),i,c),qi(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=Wi(c,t,u+p,d),h=Wi(c,t,u,u+p),g=f>=0&&n[f],I=h>=0&&n[h];if(o&&!I||!o&&!g){os(co(a,s),i,c);let m=BD(o?$D:HD,n.length,o,r,l);!o&&I&&(n[h].providerFactory=m),qi(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(m),s.push(m)}else{let m=Pp(n[o?h:f],l,!o&&r);qi(i,e,f>-1?f:h,m)}!o&&r&&I&&n[h].componentProviders++}}}function qi(e,t,n,r){let o=Wt(t),i=hg(t);if(o||i){let c=(i?K(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Pp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Wi(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function HD(e,t,n,r){return Js(this.multi,[])}function $D(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Ln(n,n[v],this.providerFactory.index,r);i=a.slice(0,s),Js(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Js(o,i);return i}function Js(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function BD(e,t,n,r,o){let i=new It(e,n,ri);return i.multi=[],i.index=t,i.componentProviders=0,Pp(i,o,r&&!n),i}function xS(e,t=[]){return n=>{n.providersResolver=(r,o)=>jD(r,o?o(e):e,t)}}function _S(e,t,n){let r=nn()+e,o=y();return o[r]===z?oi(o,r,n?t.call(n):t()):RI(o,r)}function TS(e,t,n,r){return Lp(y(),nn(),e,t,n,r)}function NS(e,t,n,r,o){return Fp(y(),nn(),e,t,n,r,o)}function SS(e,t,n,r,o,i,s){return UD(y(),nn(),e,t,n,r,o,i,s)}function uc(e,t){let n=e[t];return n===z?void 0:n}function Lp(e,t,n,r,o,i){let s=t+n;return ae(e,s,o)?oi(e,s+1,i?r.call(i,o):r(o)):uc(e,s+1)}function Fp(e,t,n,r,o,i,s){let a=t+n;return $n(e,a,o,i)?oi(e,a+2,s?r.call(s,o,i):r(o,i)):uc(e,a+2)}function UD(e,t,n,r,o,i,s,a,c){let l=t+n;return AI(e,l,o,i,s,a)?oi(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):uc(e,l+4)}function kS(e,t){let n=O(),r,o=e+F;n.firstCreatePass?(r=qD(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=ft(r.type,!0)),s,a=re(ri);try{let c=ao(!1),l=i();return ao(c),cc(n,y(),o,l),l}finally{re(a)}}function qD(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function RS(e,t,n){let r=e+F,o=y(),i=Vo(o,r);return Vp(o,r)?Lp(o,nn(),t,i.transform,n,i):i.transform(n)}function OS(e,t,n,r){let o=e+F,i=y(),s=Vo(i,o);return Vp(i,o)?Fp(i,nn(),t,s.transform,n,r,s):s.transform(n,r)}function Vp(e,t){return e[v].data[t].pure}function AS(e,t){return ti(e,t)}var iu=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 Ks=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},PS=(()=>{class e{compileModuleSync(n){return new js(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Su(n),i=Gd(o.declarations).reduce((s,a)=>{let c=De(a);return c&&s.push(new Mt(c)),s},[]);return new Ks(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=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var WD=(()=>{class e{zone=_(ue);changeDetectionScheduler=_(Ze);applicationRef=_(Un);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function zD({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ue(te(ee({},GD()),{scheduleInRootZone:n})),[{provide:ue,useFactory:e},{provide:Xr,multi:!0,useFactory:()=>{let r=_(WD,{optional:!0});return()=>r.initialize()}},{provide:Xr,multi:!0,useFactory:()=>{let r=_(QD);return()=>{r.initialize()}}},t===!0?{provide:Id,useValue:!0}:[],{provide:Ra,useValue:n??vd}]}function GD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var QD=(()=>{class e{subscription=new j;initialized=!1;zone=_(ue);pendingTasks=_(Tt);initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ue.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ue.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var jp=(()=>{class e{appRef=_(Un);taskService=_(Tt);ngZone=_(ue);zonelessEnabled=_(ka);tracing=_(Od,{optional:!0});disableScheduling=_(Id,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new j;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(uo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(_(Ra,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof fo||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{this.appRef.dirtyFlags|=16,r=!0;break}case 13:{this.appRef.dirtyFlags|=2,r=!0;break}case 11:{r=!0;break}case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?vl:Ed;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(uo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,vl(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function LS(){return sn("NgZoneless"),lg([{provide:Ze,useExisting:jp},{provide:ue,useClass:fo},{provide:ka,useValue:!0},{provide:Ra,useValue:!1},[]])}function ZD(){return typeof $localize<"u"&&$localize.locale||_o}var Hp=new R("",{providedIn:"root",factory:()=>_(Hp,T.Optional|T.SkipSelf)||ZD()}),FS=new R("",{providedIn:"root",factory:()=>qE});var Xs=new R(""),YD=new R("");function bn(e){return!e.moduleRef}function JD(e){let t=bn(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ue);return n.run(()=>{bn(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Et,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),bn(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Xs);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Xs);s.add(i),e.moduleRef.onDestroy(()=>{Wr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return XD(r,n,()=>{let i=t.get(ep);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Hp,_o);if(WE(s||_o),!t.get(YD,!0))return bn(e)?t.get(Un):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(bn(e)){let c=t.get(Un);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return KD(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function KD(e,t){let n=e.injector.get(Un);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new M(-403,!1);t.push(e)}function XD(e,t,n){try{let r=n();return Xf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Qr=null;function ew(e=[],t){return Qe.create({name:t,providers:[{provide:Ou,useValue:"platform"},{provide:Xs,useValue:new Set([()=>Qr=null])},...e]})}function tw(e=[]){if(Qr)return Qr;let t=ew(e);return Qr=t,YI(),nw(t),t}function nw(e){let t=e.get(wm,null);Pu(e,()=>{t?.forEach(n=>n())})}var rw=(()=>{class e{static __NG_ELEMENT_ID__=ow}return e})();function ow(e){return iw(Y(),y(),(e&16)===16)}function iw(e,t,n){if(en(e)&&!n){let r=Me(e.index,t);return new bt(r,r)}else if(e.type&175){let r=t[se];return new bt(r,t)}return null}var ea=class{constructor(){}supports(t){return Jf(t)}create(t){return new ta(t)}},sw=(e,t)=>t,ta=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||sw}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<su(r,o,i)?n:r,a=su(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=[]),!Jf(t))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,kI(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 na(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new No),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new No),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},na=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}},ra=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},No=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new ra,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 su(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 oa=class{constructor(){}supports(t){return t instanceof Map||ac(t)}create(){return new ia}},ia=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||ac(t)))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new sa(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))}},sa=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function au(){return new aw([new ea])}var aw=(()=>{class e{factories;static \u0275prov=W({token:e,providedIn:"root",factory:au});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||au()),deps:[[e,new xu,new Cu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new M(901,!1)}}return e})();function cu(){return new cw([new oa])}var cw=(()=>{class e{static \u0275prov=W({token:e,providedIn:"root",factory:cu});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||cu()),deps:[[e,new xu,new Cu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new M(901,!1)}}return e})();function VS(e){A(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=tw(r),i=[zD({}),{provide:Ze,useExisting:jp},...n||[]],s=new wo({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return JD({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}finally{A(9)}}function jS(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function HS(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Ie(e){let t=b(null);try{return e()}finally{b(t)}}function Zr(e,t){let n=li(e);return t?.equal&&(n[B].equal=t.equal),n}var lw=!1,uw=(()=>{class e extends bo{pendingTasks=_(Tt);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=W({token:e,providedIn:"root",factory:()=>new e})}return e})(),aa=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=Cc(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Et,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function dw(){}function fw(e,t){!t?.injector&&va(dw);let n=t?.injector??_(Qe),r=t?.manualCleanup!==!0?n.get(rn):null,o=new aa(n.get(uw),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(rw,null,{optional:!0});return!i||!(i._lView[E]&8)?o.watcher.notify():(i._lView[Hr]??=[]).push(o.watcher.notify),o}var pw=lw;var ca=class{[B];constructor(t){this[B]=t}destroy(){this[B].destroy()}};function $p(e,t){if(pw)return fw(e,t);!t?.injector&&va($p);let n=t?.injector??_(Qe),r=t?.manualCleanup!==!0?n.get(rn):null,o,i=n.get(Ad,null,{optional:!0}),s=n.get(Ze);return i!==null&&!t?.forceRoot?(o=mw(i.view,s,e),r instanceof lo&&r._lView===i.view&&(r=null)):o=yw(e,n.get(Kf),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new ca(o)}var Bp=te(ee({},Ve),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Fn,run(){if(this.dirty=!1,this.hasRun&&!gn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=tt(this),n=oo(!1);try{this.maybeCleanup(),this.fn(e)}finally{oo(n),kt(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),hw=te(ee({},Bp),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Rt(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),gw=te(ee({},Bp),{consumerMarkedDirty(){this.view[E]|=8192,Yn(this.view),this.notifier.notify(13)},destroy(){Rt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[gt]?.delete(this)}});function mw(e,t,n){let r=Object.create(gw);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[gt]??=new Set,e[gt].add(r),r.consumerMarkedDirty(r),r}function yw(e,t,n){let r=Object.create(hw);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(12),r}var V=function(e){return e[e.Idle=0]="Idle",e[e.Error=1]="Error",e[e.Loading=2]="Loading",e[e.Reloading=3]="Reloading",e[e.Resolved=4]="Resolved",e[e.Local=5]="Local",e}(V||{}),vw=e=>e;function lu(e,t){if(typeof e=="function"){let n=fi(e,vw,t?.equal);return uu(n)}else{let n=fi(e.source,e.computation,e.equal);return uu(n)}}function uu(e){let t=e[B],n=e;return n.set=r=>bc(t,r),n.update=r=>Mc(t,r),n.asReadonly=Uo.bind(e),n}function Iw(e){e?.injector||va(Iw);let t=e.request??(()=>null);return new ua(t,Dw(e),e.defaultValue,e.equal?Ew(e.equal):void 0,e.injector??_(Qe))}var la=class{value;constructor(t){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=Uo}update(t){this.set(t(Ie(this.value)))}isLoading=Zr(()=>this.status()===V.Loading||this.status()===V.Reloading);hasValue(){return this.value()!==void 0}asReadonly(){return this}},ua=class extends la{loaderFn;defaultValue;equal;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;constructor(t,n,r,o,i){super(Zr(()=>{let s=this.state().stream?.();return s&&da(s)?s.value:this.defaultValue},{equal:o})),this.loaderFn=n,this.defaultValue=r,this.equal=o,this.extRequest=lu({source:t,computation:s=>({request:s,reload:0})}),this.state=lu({source:this.extRequest,computation:(s,a)=>{let c=s.request===void 0?V.Idle:V.Loading;return a?{extRequest:s,status:c,previousStatus:du(a.value),stream:a.value.extRequest.request===s.request?a.value.stream:void 0}:{extRequest:s,status:c,previousStatus:V.Idle,stream:void 0}}}),this.effectRef=$p(this.loadEffect.bind(this),{injector:i,manualCleanup:!0}),this.pendingTasks=i.get(sm),i.get(rn).onDestroy(()=>this.destroy())}status=Zr(()=>du(this.state()));error=Zr(()=>{let t=this.state().stream?.();return t&&!da(t)?t.error:void 0});set(t){if(this.destroyed)return;let n=Ie(this.value),r=Ie(this.state);r.status===V.Local&&(this.equal?this.equal(n,t):n===t)||(this.state.set({extRequest:r.extRequest,status:V.Local,previousStatus:V.Local,stream:Vn({value:t})}),this.abortInProgressLoad())}reload(){let{status:t}=Ie(this.state);return t===V.Idle||t===V.Loading?!1:(this.extRequest.update(({request:n,reload:r})=>({request:n,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:V.Idle,previousStatus:V.Idle,stream:void 0})}async loadEffect(){let t=this.extRequest(),{status:n,previousStatus:r}=Ie(this.state);if(t.request===void 0)return;if(n!==V.Loading)return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=await Ie(()=>this.loaderFn({request:t.request,abortSignal:i,previous:{status:r}}));if(i.aborted||Ie(this.extRequest)!==t)return;this.state.set({extRequest:t,status:V.Resolved,previousStatus:V.Resolved,stream:s})}catch(s){if(i.aborted||Ie(this.extRequest)!==t)return;this.state.set({extRequest:t,status:V.Resolved,previousStatus:V.Error,stream:Vn({error:s})})}finally{o?.(),o=void 0}}abortInProgressLoad(){Ie(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function Ew(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function Dw(e){return ww(e)?e.stream:async t=>{try{return Vn({value:await e.loader(t)})}catch(n){return Vn({error:n})}}}function ww(e){return!!e.stream}function du(e){switch(e.status){case V.Loading:return e.extRequest.reload===0?V.Loading:V.Reloading;case V.Resolved:return da(Ie(e.stream))?V.Resolved:V.Error;default:return e.status}}function da(e){return e.error===void 0}function $S(e,t){let n=De(e),r=t.elementInjector||Ao();return new Mt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function BS(e){let t=De(e);if(!t)return null;let n=new Mt(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{B as a,Ot as b,ui as c,j as d,eh as e,N as f,wi as g,bi as h,ce as i,yn as j,In as k,st as l,He as m,uh as n,fh as o,ph as p,at as q,$e as r,Dh as s,ct as t,Mi as u,kr as v,bh as w,Mh as x,Ci as y,Dn as z,xh as A,Di as B,_h as C,wn as D,Mr as E,Wc as F,Nh as G,xi as H,Sh as I,kh as J,Rh as K,Oh as L,Ah as M,zc as N,Gc as O,nl as P,M as Q,ie as R,mu as S,W as T,pN as U,hN as V,R as W,T as X,Ge as Y,_ as Z,lg as _,Ou as $,Te as aa,Pu as ba,va as ca,gN as da,mN as ea,yN as fa,vN as ga,IN as ha,EN as ia,DN as ja,Qe as ka,rn as la,Tt as ma,qe as na,ue as oa,Et as pa,po as qa,wN as ra,bN as sa,Bo as ta,mm as ua,Vn as va,MN as wa,CN as xa,wm as ya,xN as za,_N as Aa,bm as Ba,TN as Ca,Od as Da,sn as Ea,jn as Fa,an as Ga,Fa as Ha,NN as Ia,SN as Ja,kN as Ka,RN as La,ON as Ma,Va as Na,cy as Oa,Go as Pa,AN as Qa,uy as Ra,PN as Sa,LN as Ta,FN as Ua,Ms as Va,mo as Wa,vo as Xa,HN as Ya,ri as Za,oc as _a,BN as $a,UN as ab,qN as bb,Ct as cb,Vs as db,WN as eb,Qf as fb,zN as gb,GN as hb,QN as ib,ZN as jb,CI as kb,LI as lb,YN as mb,Xf as nb,GI as ob,ZI as pb,Un as qb,JN as rb,KN as sb,oE as tb,yE as ub,vE as vb,IE as wb,XN as xb,eS as yb,tS as zb,nS as Ab,rS as Bb,oS as Cb,gp as Db,mp as Eb,OE as Fb,yp as Gb,vp as Hb,LE as Ib,iS as Jb,sS as Kb,Ip as Lb,aS as Mb,HE as Nb,Wn as Ob,DD as Pb,wD as Qb,cS as Rb,bD as Sb,lS as Tb,uS as Ub,CD as Vb,dS as Wb,fS as Xb,pS as Yb,ND as Zb,Rp as _b,SD as $b,kD as ac,hS as bc,gS as cc,mS as dc,yS as ec,vS as fc,IS as gc,ES as hc,DS as ic,wS as jc,OD as kc,Op as lc,AD as mc,PD as nc,LD as oc,bS as pc,FD as qc,VD as rc,MS as sc,CS as tc,xS as uc,_S as vc,TS as wc,NS as xc,SS as yc,kS as zc,RS as Ac,OS as Bc,AS as Cc,iu as Dc,PS as Ec,LS as Fc,Hp as Gc,FS as Hc,rw as Ic,aw as Jc,cw as Kc,VS as Lc,jS as Mc,HS as Nc,Ie as Oc,Zr as Pc,$p as Qc,Iw as Rc,$S as Sc,BS as Tc};
package/chunk-B64M2BXZ.js DELETED
@@ -1 +0,0 @@
1
- import{a as h}from"./chunk-XR4SRVOQ.js";import{d as f,r as C}from"./chunk-5ENRUF35.js";import{h as b}from"./chunk-FRSQ5NDX.js";import{T as P,Z as v,r as D,va as F}from"./chunk-AHUC7M75.js";import{a}from"./chunk-7CGTOI24.js";var d=class t{#t=v(b);s3Providers=h(this.getS3Config("Providers"));s3Regions=h(this.getS3Config("Regions"));s3RegionHosts=h(this.getS3Config("RegionHosts"));s3StorageClasses=h(this.getS3Config("StorageClasses"));storjSatellites=h(this.getStorjConfig("Satellites"));storjAuthenticationMethods=h(this.getStorjConfig("AuthenticationMethods"));openstackProviders=h(this.getOpenstackConfig("Providers"));openstackVersions=h(this.getOpenstackConfig("Versions"));gcsLocations=h(this.getGcsConfig("Locations"));gcsStorageClasses=h(this.getGcsConfig("StorageClasses"));getS3Config(e){return this.#t.postApiV1WebmoduleByModulekey({modulekey:"s3-getconfig",requestBody:{"s3-config":e}}).pipe(D(r=>this.#e(r)))}createS3IamUser(e,r){return this.#t.postApiV1WebmoduleByModulekey({modulekey:"s3-iamconfig",requestBody:{"s3-operation":"CanCreateUser","s3-username":e,"s3-password":r}})}createS3PolicyIAM(e){return this.#t.postApiV1WebmoduleByModulekey({modulekey:"s3-iamconfig",requestBody:{"s3-operation":"GetPolicyDoc",path:e}})}getStorjConfig(e){return this.#t.postApiV1WebmoduleByModulekey({modulekey:"storj-getconfig",requestBody:{"storj-config":e}}).pipe(D(r=>this.#e(r)))}getOpenstackConfig(e){return this.#t.postApiV1WebmoduleByModulekey({modulekey:"openstack-getconfig",requestBody:{"openstack-config":e}}).pipe(D(r=>this.#e(r)))}getGcsConfig(e){return this.#t.postApiV1WebmoduleByModulekey({modulekey:"gcs-getconfig",requestBody:{"gcs-config":e}}).pipe(D(r=>this.#e(r)))}#e(e){return(e.Result&&typeof e.Result=="object"&&Object.entries(e.Result).map(([r,n])=>({key:r,value:n})))??[]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=P({token:t,factory:t.\u0275fac,providedIn:"root"})};var o=new C,m={type:"error",message:$localize`Using double leading slashes is most likely wrong, and will result in objects being created with a leading slash in the name.`},k=[{key:"file",displayName:"File system",description:"Store backups on your local file system.",customFields:{path:{type:"FolderTree",name:"path",doubleSlash:m,shortDescription:"File path",longDescription:"The path to store the backup",formElement:t=>o.control(t??"")}},mapper:{to:t=>{let e=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]);return`${t.destinationType}://${t.custom.path}${e}`},from:(t,e,r)=>{let s=r.startsWith("file:///")?r.split("file:///")[1]:r.split("file://")[1],p=s.startsWith("%"),g=s.slice(1).startsWith(":\\")||p?s:"/"+s;return a({destinationType:t,custom:{path:g}},i(t,e))}}},{key:"ssh",displayName:"SSH",description:"Store backups in SSH.",customFields:{server:{type:"String",name:"server",shortDescription:"Server",longDescription:"The server to connect to",formElement:t=>o.control(t??"")},port:{type:"Integer",name:"port",shortDescription:"Port",longDescription:"The port to connect to",formElement:t=>o.control(t??"",[f.required,f.max(65535)])},path:{type:"Path",name:"path",shortDescription:"Folder path",longDescription:"Folder path",doubleSlash:{type:"warning",message:$localize`Using double leading slashes makes the path absolute, pointing to the root of the filesystem.`},formElement:t=>o.control(t??"")}},dynamicFields:["auth-username"],advancedFields:[{type:"FileTree",name:"ssh-keyfile",accepts:".key,",shortDescription:"Private key path",longDescription:"This is a path to a private key file locally on the machine"},{type:"FreeText",name:"ssh-key",shortDescription:"SSH private key (PEM format)",longDescription:"Enter a PEM formatted SSH private key. OpenSSL, OpenSSH, and ssh.com formats are supported."}],mapper:{to:t=>{let e=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]),{port:r,server:n,path:s}=t.custom;return`${t.destinationType}://${n+y(r)+l(s)+e}`},from:(t,e,r)=>a({destinationType:t,custom:{server:e.hostname,port:e.port,path:e.pathname}},i(t,e))}},{key:"s3",displayName:"S3 Compatible",description:"Store backups in any S3 compatible bucket.",customFields:{bucket:{type:"String",name:"bucket",shortDescription:"Bucket name",longDescription:"Bucket name",formElement:t=>o.control(t??"")},path:{type:"Path",name:"path",doubleSlash:m,shortDescription:"Folder path",longDescription:"Folder path",formElement:t=>o.control(t??"")}},dynamicFields:[{name:"s3-server-name",shortDescription:"Server",type:"NonValidatedSelectableString",loadOptions:t=>t.get(d).s3Providers},"use-ssl","auth-username","auth-password"],advancedFields:[{name:"s3-client",type:"Enumeration",options:["aws","minio"]},{name:"s3-storage-class",type:"NonValidatedSelectableString",loadOptions:t=>t.get(d).s3StorageClasses}],mapper:{to:t=>{let{bucket:e,path:r}=t.custom,n=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]);return`${t.destinationType}://${e+l(r)+n}`},from:(t,e,r)=>a({destinationType:t,custom:{path:e.pathname,bucket:e.hostname}},i(t,e))}},{key:"gcs",displayName:"Google Cloud Storage",description:"Store backups in Google Cloud Storage.",oauthField:"authid",customFields:{path:{type:"Path",name:"path",doubleSlash:m,shortDescription:"Bucket name",longDescription:"Bucket name",formElement:t=>o.control(t??"")}},dynamicFields:[{name:"gcs-location",type:"NonValidatedSelectableString",loadOptions:t=>t.get(d).gcsLocations},{name:"gcs-storage-class",type:"NonValidatedSelectableString",loadOptions:t=>t.get(d).gcsStorageClasses},"authid"],mapper:{to:t=>{let e=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]);return`${t.destinationType}://${t.custom.path}${e}`},from:(t,e,r)=>a({destinationType:t,custom:{path:e.hostname+e.pathname}},i(t,e))}},{key:"googledrive",displayName:"Google Drive",description:"Store backups in Google Drive.",oauthField:"authid",customFields:{path:{type:"Path",name:"path",doubleSlash:m,shortDescription:"Folder path",longDescription:"Folder path",formElement:t=>o.control(t??"")}},dynamicFields:[{name:"authid",type:"Password"}],mapper:{to:t=>{let e=t.custom.path,r=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]);return`${t.destinationType}://${e}${r}`},from:(t,e,r)=>a({destinationType:t,custom:{path:e.hostname+e.pathname}},i(t,e))}},{key:"pcloud",displayName:"pCloud",description:"Store backups in pCloud.",oauthField:"authid",customFields:{server:{type:"Enumeration",name:"server",loadOptions:()=>F([{key:"pCloud Global",value:"api.pcloud.com"},{key:"pCloud Europe",value:"eapi.pcloud.com"}]),shortDescription:"Server",longDescription:"Server",formElement:t=>o.control(t??"")},path:{type:"Path",name:"path",doubleSlash:m,shortDescription:"Folder path",longDescription:"Folder path",formElement:t=>o.control(t??"")}},dynamicFields:["authid"],mapper:{to:t=>{let e=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]),{server:r,path:n}=t.custom;return`${t.destinationType}://${r+l(n)+e}`},from:(t,e,r)=>{let n=e.pathname.replace(/^\//,"");return a({destinationType:t,custom:{server:e.hostname,path:n}},i(t,e))}}},{key:"azure",displayName:"Azure Blob Storage",description:"Store backups in Azure Blob Storage.",customFields:{path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Container name",longDescription:"Container name",formElement:t=>o.control(t??"")}},dynamicFields:[{name:"auth-username",shortDescription:"Account name"},{name:"auth-password",shortDescription:"Access key"}],mapper:{to:t=>{let e=t.custom.path,r=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]);return`${t.destinationType}://${e}${r}`},from:(t,e,r)=>a({destinationType:t,custom:{path:e.hostname+e.pathname}},i(t,e))}},{key:"onedrivev2",displayName:"OneDrive",description:"Store backups in OneDrive.",oauthField:"authid",customFields:{path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on server",longDescription:"Path on server",formElement:t=>o.control(t??"")}},dynamicFields:["authid"],mapper:{to:t=>{let e=t.custom.path,r=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]);return`${t.destinationType}://${e}${r}`},from:(t,e,r)=>a({destinationType:t,custom:{path:e.hostname+e.pathname}},i(t,e))}},{key:"od4b",displayName:"OneDrive Business",description:"Store backups in OneDrive Business.",customFields:{server:{type:"String",name:"server",shortDescription:"Server",longDescription:"Server",formElement:t=>o.control(t??"")},port:{type:"Integer",name:"port",shortDescription:"Port",longDescription:"Port",formElement:t=>o.control(t??"")},path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on server",longDescription:"Path on server",formElement:t=>o.control(t??"")}},dynamicFields:[{name:"auth-username",shortDescription:"Account name"},{name:"auth-password",shortDescription:"Access key"}],mapper:{to:t=>{let e=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]),{port:r,server:n,path:s}=t.custom;return`${t.destinationType}://${n+y(r)+l(s)+e}`},from:(t,e,r)=>a({destinationType:t,custom:{server:e.hostname,port:e.port,path:e.pathname}},i(t,e))}},{key:"mssp",displayName:"Microsoft SharePoint",description:"Store backups in Microsoft SharePoint.",customFields:{server:{type:"String",name:"server",shortDescription:"Server",longDescription:"Server",formElement:t=>o.control(t??"")},port:{type:"Integer",name:"port",shortDescription:"Port",longDescription:"Port",formElement:t=>o.control(t??"")},path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on server",longDescription:"Path on server",formElement:t=>o.control(t??"")}},dynamicFields:[{name:"auth-username",shortDescription:"Account name"},{name:"auth-password",shortDescription:"Access key"}],mapper:{to:t=>{let e=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]),{port:r,server:n,path:s}=t.custom;return`${t.destinationType}://${n+y(r)+l(s)+e}`},from:(t,e,r)=>a({destinationType:t,custom:{server:e.hostname,port:e.port,path:e.pathname}},i(t,e))}},{key:"sharepoint",displayName:"Microsoft SharePoint v2",description:"Store backups in Microsoft SharePoint.",oauthField:"authid",customFields:{path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on server",longDescription:"Path on server",formElement:t=>o.control(t??"")}},dynamicFields:["authid"],mapper:{to:t=>{let e=t.custom.path,r=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]);return`${t.destinationType}://${e}${r}`},from:(t,e,r)=>a({destinationType:t,custom:{path:e.hostname+e.pathname}},i(t,e))}},{key:"dropbox",displayName:"Dropbox",description:"Store backups in Dropbox.",oauthField:"authid",customFields:{path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on server",longDescription:"Path on server",formElement:t=>o.control(t??"")}},dynamicFields:["authid"],mapper:{to:t=>{let e=t.custom.path,r=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]);return`${t.destinationType}://${e}${r}`},from:(t,e,r)=>a({destinationType:t,custom:{path:e.hostname+e.pathname}},i(t,e))}},{key:"box",displayName:"Box.com",description:"Store backups in Box.com.",oauthField:"authid",customFields:{path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on server",longDescription:"Path on server",formElement:t=>o.control(t??"")}},dynamicFields:["authid"],mapper:{to:t=>{let e=t.custom.path,r=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]);return`${t.destinationType}://${e}${r}`},from:(t,e,r)=>a({destinationType:t,custom:{path:e.hostname+e.pathname}},i(t,e))}},{key:"jottacloud",displayName:"Jottacloud",description:"Store backups in Jottacloud.",oauthField:"authid",customFields:{path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on server",longDescription:"Path on server",formElement:t=>o.control(t??"")}},dynamicFields:["authid"],mapper:{to:t=>{let e=t.custom.path,r=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]);return`${t.destinationType}://${e}${r}`},from:(t,e,r)=>a({destinationType:t,custom:{path:e.hostname+e.pathname}},i(t,e))}},{key:"b2",displayName:"B2 Cloud Storage",description:"Store backups in B2 Cloud Storage.",customFields:{bucket:{type:"String",name:"bucket",shortDescription:"Bucket name",longDescription:"Bucket name",formElement:t=>o.control(t??"")},path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path in the bucket",longDescription:"Path in the bucket",formElement:t=>o.control(t??"")}},dynamicFields:[{name:"auth-username",shortDescription:"Application ID"},{name:"auth-password",shortDescription:"Application Key"}],mapper:{to:t=>{let{bucket:e,path:r}=t.custom,n=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]);return`${t.destinationType}://${e+l(r)+n}`},from:(t,e,r)=>a({destinationType:t,custom:{bucket:e.hostname,path:decodeURIComponent(e.pathname)}},i(t,e))}},{key:"e2",displayName:"IDrive e2",description:"Store backups in IDrive e2.",customFields:{bucket:{type:"String",name:"bucket",shortDescription:"Bucket name",longDescription:"Bucket name",formElement:t=>o.control(t??"")},path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path in the bucket",longDescription:"Path in the bucket",formElement:t=>o.control(t??"")}},dynamicFields:[{name:"auth-username",shortDescription:"Access ID"},{name:"auth-password",shortDescription:"Access Secret"}],mapper:{to:t=>{let{bucket:e,path:r}=t.custom,n=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]);return`${t.destinationType}://${e+l(r)+n}`},from:(t,e,r)=>a({destinationType:t,custom:{bucket:e.hostname,path:e.pathname}},i(t,e))}},{key:"mega",displayName:"Mega.nz",description:"Store backups in Mega.nz.",customFields:{path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on server",longDescription:"Path on server",formElement:t=>o.control(t??"")}},dynamicFields:[{name:"auth-username",shortDescription:"Username"},{name:"auth-password",shortDescription:"Password"}],mapper:{to:t=>{let e=t.custom.path,r=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]);return`${t.destinationType}://${e}${r}`},from:(t,e,r)=>a({destinationType:t,custom:{path:e.hostname+e.pathname}},i(t,e))}},{key:"msgroup",displayName:"Microsoft Office 365 Group",description:"Store backups in Microsoft Office 365 Group.",oauthField:"authid",customFields:{groupEmail:{type:"Email",name:"groupEmail",shortDescription:"Group email",longDescription:"Group email",formElement:t=>o.control(t??"",[f.email])},path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on server",longDescription:"Path on server",formElement:t=>o.control(t??"")}},dynamicFields:["authid"],mapper:{to:t=>{let e=t.custom.path,r=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]);return`${t.destinationType}://${e}${r}`},from:(t,e,r)=>a({destinationType:t,custom:{path:e.hostname+e.pathname}},i(t,e))}},{key:"cloudfiles",displayName:"Rackspace CloudFiles",description:"Store backups in Rackspace CloudFiles.",customFields:{server:{type:"String",name:"server",shortDescription:"Server",longDescription:"Server",formElement:t=>o.control(t??"")},port:{type:"Integer",name:"port",shortDescription:"Port",longDescription:"Port",formElement:t=>o.control(t??"")},path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on server",longDescription:"Path on server",formElement:t=>o.control(t??"")}},dynamicFields:[{name:"auth-username",shortDescription:"Username"},{name:"auth-password",shortDescription:"Password"}],mapper:{to:t=>{let e=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]),{port:r,server:n,path:s}=t.custom;return`${t.destinationType}://${n+y(r)+l(s)+e}`},from:(t,e,r)=>a({destinationType:t,custom:{server:e.hostname,port:e.port,path:e.pathname}},i(t,e))}},{key:"rclone",displayName:"Rclone",description:"Store backups in Rclone.",dynamicFields:[{name:"rclone-local-repository",shortDescription:"Local repository",defaultValue:""},{name:"rclone-remote-repository",shortDescription:"Remote repository",defaultValue:""},{name:"rclone-remote-path",shortDescription:"Path on remote repository",defaultValue:""}],mapper:{to:t=>{let e=t.dynamic["rclone-remote-repository"],r=t.dynamic["rclone-remote-path"],n=Object.entries(t.dynamic).filter(([p])=>!["rclone-remote-repository","rclone-remote-path"].includes(p)),s=c([...Object.entries(t.advanced),...n]);return`${t.destinationType}://${e}/${r+s}`},from:(t,e,r)=>{let{advanced:n,dynamic:s}=i(t,e);return a({destinationType:t,dynamic:a({"rclone-remote-repository":e.hostname,"rclone-remote-path":e.pathname},s)},n)}}},{key:"openstack",displayName:"OpenStack Object Storage",description:"Store backups in OpenStack Object Storage.",customFields:{bucket:{type:"String",name:"bucket",shortDescription:"Bucket",longDescription:"Bucket",formElement:t=>o.control(t??"")}},dynamicFields:[{name:"openstack-authuri",shortDescription:"Auth URI",type:"Enumeration",loadOptions:t=>t.get(d).openstackProviders},{name:"openstack-version",shortDescription:"Version",type:"Enumeration",loadOptions:t=>t.get(d).openstackVersions},{name:"openstack-domain-name",shortDescription:"Domain name"},{name:"openstack-tenant-name",shortDescription:"Tenant name"},{name:"openstack-region",shortDescription:"Region"}],mapper:{to:t=>{let e=c([...Object.entries(t.advanced),...Object.entries(t.dynamic)]),{bucket:r}=t.custom;return`${t.destinationType}://${r+e}`},from:(t,e,r)=>a({destinationType:t,custom:{path:e.pathname,bucket:e.hostname}},i(t,e))}},{key:"webdav",displayName:"WebDAV",description:"Store backups in WebDAV.",customFields:{server:{type:"String",name:"server",shortDescription:"Server",longDescription:"Server",formElement:t=>o.control(t??"")},port:{type:"Integer",name:"port",shortDescription:"Port",longDescription:"Port",formElement:t=>o.control(t??"")},path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on server",longDescription:"Path on server",formElement:t=>o.control(t??"")}},dynamicFields:[{name:"use-ssl",shortDescription:"Use SSL"},{name:"auth-username",shortDescription:"Username"},{name:"auth-password",shortDescription:"Password"}],mapper:{to:t=>{let{port:e,server:r,path:n}=t.custom,s=t.dynamic["use-ssl"],p=c([...Object.entries(t.advanced),...Object.entries(t.dynamic).filter(([u])=>u!=="use-ssl")]);return`${t.destinationType}${s?"s":""}://${r+y(e)+l(n)+p}`},from:(t,e,r)=>a({destinationType:t,custom:{server:e.hostname,port:e.port,path:e.pathname}},i(t,e))}},{key:"aftp",displayName:"FTP",description:"Store backups in FTP.",customFields:{server:{type:"String",name:"server",shortDescription:"Server",longDescription:"Server",formElement:t=>o.control(t??"")},port:{type:"Integer",name:"port",shortDescription:"Port",longDescription:"Port",formElement:t=>o.control(t??"")},path:{type:"String",name:"path",shortDescription:"Path on server",longDescription:"Path on server",doubleSlash:{type:"warning",message:$localize`Using double leading slashes makes the path absolute, pointing to the root of the filesystem.`},formElement:t=>o.control(t??"")}},dynamicFields:[{name:"auth-username",shortDescription:"Username"},{name:"auth-password",shortDescription:"Password"}],mapper:{to:t=>{let{port:e,server:r,path:n}=t.custom,s=c([...Object.entries(t.advanced),...Object.entries(t.dynamic).filter(([p])=>p!=="use-ssl")]);return`${t.destinationType}://${r+y(e)+l(n)+s}`},from:(t,e,r)=>a({destinationType:t,custom:{server:e.hostname,port:e.port,path:e.pathname}},i(t,e))}},{key:"sia",displayName:"Sia Decentrilized Cloud",description:"Store backups in Sia Decentrilized Cloud.",customFields:{server:{type:"String",name:"server",shortDescription:"Server",longDescription:"Server",formElement:t=>o.control(t??"")}},dynamicFields:["sia-targetpath","sia-password","sia-redundancy"],mapper:{to:t=>{let e=t.custom.server,r=t.dynamic["sia-targetpath"],n=c([...Object.entries(t.advanced),...Object.entries(t.dynamic).filter(([s])=>s!=="sia-targetpath")]);return`${t.destinationType}://${e+l(r)+n}`},from:(t,e,r)=>a({destinationType:t,custom:{path:e.pathname}},i(t,e))}},{key:"cos",displayName:"Tencent COS",description:"Store backups in Tencent COS.",customFields:{path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on server",longDescription:"Path on server",formElement:t=>o.control(t??"")}},dynamicFields:[{name:"cos-bucket",shortDescription:"Bucket",order:1},{name:"cos-region",shortDescription:"Region",order:2},{name:"cos-app-id",shortDescription:"COS App Id",order:3},{name:"cos-secret-id",shortDescription:"COS Secret Id",order:4},{name:"cos-secret-key",shortDescription:"COS Secret Key",order:5}],mapper:{to:t=>{let e=t.custom.path,r=c([...Object.entries(t.advanced),...Object.entries(t.dynamic).filter(([n])=>n!=="cos-targetpath")]);return`${t.destinationType}://${e+r}`},from:(t,e,r)=>a({destinationType:t,custom:{path:e.pathname}},i(t,e))}},{key:"tahoe",displayName:"Tahoe LAFS",description:"Store backups in Tahoe LAFS.",customFields:{server:{type:"String",name:"server",shortDescription:"Server",longDescription:"Server",formElement:t=>o.control(t??"")},port:{type:"Integer",name:"port",shortDescription:"Port",longDescription:"Port",formElement:t=>o.control(t??"")},path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on server",longDescription:"Path on server",formElement:t=>o.control(t??"")}},dynamicFields:[{name:"use-ssl",shortDescription:"Use SSL"}],mapper:{to:t=>{let{port:e,server:r,path:n,username:s,password:p}=t.custom,u={"auth-username":s,"auth-password":p},g=t.dynamic["use-ssl"],S=c([...Object.entries(t.advanced),...Object.entries(t.dynamic).filter(([O])=>O!=="use-ssl"),...Object.entries(u)]);return`${t.destinationType}${g?"s":""}://${r+y(e)+l(n)+S}`},from:(t,e,r)=>a({destinationType:t,custom:{server:e.hostname,port:e.port,path:e.pathname}},i(t,e))}},{key:"cifs",displayName:"CIFS",description:"Store backups in CIFS.",customFields:{server:{type:"String",name:"server",shortDescription:"Server",longDescription:"Server",formElement:t=>o.control(t??"")},share:{type:"String",name:"share",shortDescription:"Share Name",longDescription:"Share Name",formElement:t=>o.control(t??"")},path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on server",longDescription:"Path on server",formElement:t=>o.control(t??"")}},dynamicFields:["transport","auth-username","auth-password","auth-domain"],mapper:{to:t=>{let{share:e,server:r,path:n,username:s,password:p}=t.custom,u={"auth-username":s,"auth-password":p},g=new Map([...Object.entries(u),...Object.entries(t.advanced),...Object.entries(t.dynamic)]),S=c(Array.from(g));return`${t.destinationType}://${r+l(e)+l(n)+S}`},from:(t,e,r)=>{let n=e.pathname.split("/")[1],s=e.pathname.split("/").slice(2).join("/");return a({destinationType:t,custom:{server:e.hostname,share:n,path:s}},i(t,e))}}},{key:"filen",displayName:"Filen.io",description:"Store backups in Filen.io.",customFields:{path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on Filen",longDescription:"Path on Filen",formElement:t=>o.control(t??"")}},dynamicFields:["auth-username","auth-password"],mapper:{to:t=>{let{path:e,username:r,password:n}=t.custom,s={"auth-username":r,"auth-password":n},p=new Map([...Object.entries(s),...Object.entries(t.advanced),...Object.entries(t.dynamic)]),u=c(Array.from(p));return`${t.destinationType}://${e+u}`},from:(t,e,r)=>{let n=e.hostname??"";return e.pathname&&n!==""&&e.pathname[0]!="/"&&(n+="/"),n+=e.pathname,a({destinationType:t,custom:{path:n}},i(t,e))}}},{key:"filejump",displayName:"Filejump",description:"Store backups in Filejump.",customFields:{path:{type:"String",name:"path",doubleSlash:m,shortDescription:"Path on Filejump",longDescription:"Path on Filejump",formElement:t=>o.control(t??"")}},dynamicFields:[{type:"Password",name:"api-token",shortDescription:"API Token",longDescription:"Filejump API Token",formElement:t=>o.control(t??"")}],mapper:{to:t=>{let{path:e,username:r,password:n,apitoken:s}=t.custom,p=(s||"").trim()===""?{"auth-username":r,"auth-password":n}:{"api-token":s},u=new Map([...Object.entries(p),...Object.entries(t.advanced),...Object.entries(t.dynamic)]),g=c(Array.from(u));return`${t.destinationType}://${e+g}`},from:(t,e,r)=>{let n=e.hostname??"";return e.pathname&&n!==""&&e.pathname[0]!="/"&&(n+="/"),n+=e.pathname,a({destinationType:t,custom:{path:n}},i(t,e))}}},{key:"storj",customKey:"storjAccessGrant",displayName:"Storj Access Grant",description:"Store backups in Storj Access Grant.",dynamicFields:[{name:"storj-shared-access",shortDescription:"Access Grant"},{name:"storj-bucket",shortDescription:"Bucket"},{name:"storj-folder",shortDescription:"Path on server",doubleSlash:m}],mapper:{to:t=>`storj://storj.io/config?storj-auth-method=Access%20grant&storj-satellite=us1.storj.io%3A7777&storj-api-key&storj-secret&${c([...Object.entries(t.advanced),...Object.entries(t.dynamic)],!0)}`,from:(t,e,r)=>a({destinationType:t},i(t,e))}},{key:"storj",customKey:"storjApiKey",displayName:"Storj API Key",description:"Store backups in Storj API Key.",dynamicFields:[{name:"storj-satellite",shortDescription:"Satellite",type:"Enumeration",loadOptions:t=>t.get(d).storjSatellites},{name:"storj-api-key",shortDescription:"API Key"},{name:"storj-secret",shortDescription:"Secret"},{name:"storj-bucket",shortDescription:"Bucket"},{name:"storj-folder",shortDescription:"Path on server",doubleSlash:m}],mapper:{to:t=>`storj://storj.io/config?storj-auth-method=API%20key&${c([...Object.entries(t.advanced),...Object.entries(t.dynamic)],!0)}`,from:(t,e,r)=>a({destinationType:t},i(t,e))}}],W={".amazonaws.com":"Amazon S3",".mycloudyplace.com":"MyCloudyPlace S3",".impossibleapi.net":"Impossible Cloud S3",".scw.cloud":"Scaleway S3",".hosteurope.de":"Hosteurope S3",".dunkel.de":"Dunkel S3",".dreamhost.com":"DreamHost S3",".dincloud.com":"dinCloud S3",".polisystems.ch":"Poli Systems S3",".softlayer.net":"IBM COS (S3)",".storadera.com":"Storadera S3",".wasabisys.com":"Wasabi S3",".infomaniak.com":"Infomaniak S3",".infomaniak.cloud":"Infomaniak S3",".sakurastorage.jp":"\u3055\u304F\u3089\u306E\u30AF\u30E9\u30A6\u30C9 S3",".lyvecloud.seagate.com":"Seagate Lyve S3",".digitaloceanspaces.com":"DigitalOcean S3",".backblazeb2.com":"Backblaze B2 S3",".cloudian.com":"Cloudian S3",".min.io":"MinIO S3",".linodeobjects.com":"Linode S3",".bunnycdn.com":"BunnyCDN S3",".azure.com":"Microsoft Azure S3",".googleapis.com":"Google Cloud Storage S3",".ibm.com":"IBM Cloud S3",".oracle.com":"Oracle Cloud S3",".cloudflare.com":"Cloudflare S3",".alibaba.com":"Alibaba Cloud S3",".huawei.com":"Huawei Cloud S3",".tencent.com":"Tencent Cloud S3",".baidu.com":"Baidu Cloud S3",".jd.com":"JD Cloud S3",".ucloud.cn":"UCloud S3",".qiniu.com":"Qiniu Cloud S3",".aliyuncs.com":"Aliyun S3",".tcloud.com":"TCloud S3",".tencentcloudapi.com":"Tencent Cloud S3"};function y(t){return t==null||t===""?"":":"+t.toString()}function l(t){return t==null?"":t.startsWith("/")?t:"/"+t}function i(t,e){let r={},n={},s=k.find(p=>p.key===t);return e.searchParams.forEach((p,u)=>{s?.dynamicFields?.some(S=>S===u||S?.name===u)?n[u]=decodeURIComponent(p):r[u]=decodeURIComponent(p)}),{advanced:r,dynamic:n}}function c(t,e=!1){let r=t.map(([s,p])=>`${s}=${p?encodeURIComponent(p.toString()):""}`).join("&");return r?(e?"":"?")+r:""}function q(t){let e=t.destinationType,r=k.find(n=>n.customKey===e||n.key===e);if(!r)throw new Error("Invalid destination type");return r?.mapper.to(t)??""}function H(t){let e=URL.canParse(t),r=t.split("://")[0],n=t.split("://")[1],s="http://"+n;if(n.startsWith("%")&&r==="file")return k.find(p=>p.customKey===r||p.key===r)?.mapper.from(r,new URL("http://localhost"),t);try{let p=new URL(s);return k.find(u=>u.customKey===r||u.key===r)?.mapper.from(r,p,t)}catch(p){console.error("Error while parsing target path",p)}if(!e)throw new Error("Invalid target path");return null}export{q as a,H as b,k as c,W as d};
package/chunk-CRJHIWSF.js DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-RSZISHXB.js";import"./chunk-M3WT5B3C.js";import"./chunk-AHUC7M75.js";import"./chunk-7CGTOI24.js";export{a as BytesPipe};
package/chunk-DCYB2NQH.js DELETED
@@ -1 +0,0 @@
1
- import{h as a,i as b}from"./chunk-RXHYUPYG.js";import"./chunk-KHGD372Q.js";import"./chunk-LDJVMU7P.js";import"./chunk-LJDOQTEF.js";import"./chunk-B64M2BXZ.js";import"./chunk-NF3MS2YP.js";import"./chunk-XR4SRVOQ.js";import"./chunk-WZRSQ7XL.js";import"./chunk-3AIKVVWP.js";import"./chunk-RHW5QVAY.js";import"./chunk-5ENRUF35.js";import"./chunk-5LKXKKAK.js";import"./chunk-HFNFJ7G2.js";import"./chunk-AL5KGNEF.js";import"./chunk-FRSQ5NDX.js";import"./chunk-M3WT5B3C.js";import"./chunk-AHUC7M75.js";import"./chunk-7CGTOI24.js";export{a as SCHEDULE_FIELD_DEFAULTS,b as default};
package/chunk-G5CT45UH.js DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-RHII5WE3.js";import"./chunk-M3WT5B3C.js";import"./chunk-TCDECRYI.js";import"./chunk-AHUC7M75.js";import"./chunk-7CGTOI24.js";export{a as RelativeTimePipe};
package/chunk-HHSMSBNM.js DELETED
@@ -1 +0,0 @@
1
- import{b as a,c as b,d as c}from"./chunk-RXHYUPYG.js";import"./chunk-KHGD372Q.js";import"./chunk-LDJVMU7P.js";import"./chunk-LJDOQTEF.js";import"./chunk-B64M2BXZ.js";import"./chunk-NF3MS2YP.js";import"./chunk-XR4SRVOQ.js";import"./chunk-WZRSQ7XL.js";import"./chunk-3AIKVVWP.js";import"./chunk-RHW5QVAY.js";import"./chunk-5ENRUF35.js";import"./chunk-5LKXKKAK.js";import"./chunk-HFNFJ7G2.js";import"./chunk-AL5KGNEF.js";import"./chunk-FRSQ5NDX.js";import"./chunk-M3WT5B3C.js";import"./chunk-AHUC7M75.js";import"./chunk-7CGTOI24.js";export{a as createDestinationForm,b as createDestinationFormGroup,c as default};