@duplicati/ngclient 0.0.112 → 0.0.115

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 (121) hide show
  1. package/assets/spk.woff2 +0 -0
  2. package/{chunk-OHQK4UOI.js → chunk-36NW32TN.js} +1 -1
  3. package/chunk-3MWN54TU.js +1 -0
  4. package/{chunk-3W6M5IZL.js → chunk-45NW2WR4.js} +1 -1
  5. package/{chunk-2LP4DYGQ.js → chunk-4E7QE6GD.js} +1 -1
  6. package/chunk-4WQHUN4Y.js +1 -0
  7. package/chunk-7L2WUS2V.js +1 -0
  8. package/chunk-7RELJ5CQ.js +1 -0
  9. package/{chunk-YDR42CNA.js → chunk-7T6RGHZV.js} +1 -1
  10. package/{chunk-N5ASXZEE.js → chunk-B2RFNJKM.js} +1 -1
  11. package/chunk-BEA3HPFS.js +1 -0
  12. package/{chunk-7L42EO7J.js → chunk-BIZAKOYU.js} +1 -1
  13. package/{chunk-F4EEOSGJ.js → chunk-BJGA55H2.js} +1 -1
  14. package/{chunk-WLIE4IB5.js → chunk-BMGMPYWQ.js} +1 -1
  15. package/chunk-C6XTRC7P.js +1 -0
  16. package/{chunk-ULHQZGHN.js → chunk-CK7BEV2X.js} +1 -1
  17. package/chunk-CKS3VATQ.js +1 -0
  18. package/{chunk-DMDYUREZ.js → chunk-CW3Y4RRU.js} +3 -3
  19. package/{chunk-EF7JWRDC.js → chunk-DOP6RFEG.js} +1 -1
  20. package/{chunk-BVTZNGGE.js → chunk-E6YEUK4V.js} +1 -1
  21. package/chunk-EBDDRAQ5.js +1 -0
  22. package/{chunk-T2OUHRUV.js → chunk-ELMONRIG.js} +1 -1
  23. package/{chunk-KSP3JQHY.js → chunk-EQWH3TBL.js} +1 -1
  24. package/{chunk-GJROCOAD.js → chunk-F2GEUOGZ.js} +1 -1
  25. package/{chunk-THDYLLMU.js → chunk-FAB4IY5W.js} +1 -1
  26. package/{chunk-OTLEEXAA.js → chunk-FJVMA6GA.js} +1 -1
  27. package/chunk-FTPARAAG.js +1 -0
  28. package/{chunk-EP7S6KOG.js → chunk-GKYC6XK5.js} +1 -1
  29. package/{chunk-KHC3VCF4.js → chunk-GXRQHMLN.js} +1 -1
  30. package/chunk-HFIC4JNY.js +1 -0
  31. package/chunk-I7KXABQT.js +1 -0
  32. package/chunk-IINSQSHJ.js +1 -0
  33. package/{chunk-NHQOHNI2.js → chunk-IK7CPFZB.js} +1 -1
  34. package/{chunk-TK4BPZWA.js → chunk-JC5OEIB3.js} +1 -1
  35. package/chunk-JFNFY6VY.js +1 -0
  36. package/chunk-JSZOZDJQ.js +1 -0
  37. package/{chunk-KXLXF2JD.js → chunk-JXQXCHPY.js} +1 -1
  38. package/{chunk-RTXTOPSU.js → chunk-K7WOLKTB.js} +1 -1
  39. package/{chunk-CIGZ6WGG.js → chunk-KQCGQDTS.js} +1 -1
  40. package/chunk-KRXMGGJO.js +1 -0
  41. package/chunk-L2M4ZKII.js +1 -0
  42. package/chunk-L72ALLHJ.js +7 -0
  43. package/chunk-LRF5G4S6.js +1 -0
  44. package/chunk-MAVZY7BL.js +1 -0
  45. package/chunk-MQJUTAQD.js +1 -0
  46. package/chunk-NDO7MKXC.js +1 -0
  47. package/chunk-NF45E5CN.js +1 -0
  48. package/{chunk-AX5RFEOL.js → chunk-NMMRBG2U.js} +1 -1
  49. package/chunk-O4S6BJVY.js +1 -0
  50. package/chunk-P4ZFQZCA.js +1 -0
  51. package/{chunk-CD3DB23J.js → chunk-P7IBR2UW.js} +1 -1
  52. package/{chunk-JPF4Y3PP.js → chunk-PHPGQ5OC.js} +1 -1
  53. package/{chunk-6DH6O5YE.js → chunk-PUEJXHBQ.js} +1 -1
  54. package/chunk-PVY4CFCN.js +1 -0
  55. package/{chunk-IPRTKJDE.js → chunk-Q52UOSQY.js} +1 -1
  56. package/chunk-QPMF3OND.js +1 -0
  57. package/{chunk-XJXOUOD5.js → chunk-R3PVYKQS.js} +1 -1
  58. package/chunk-R43XF3RF.js +1 -0
  59. package/chunk-RU2M6EPT.js +1 -0
  60. package/chunk-RUGSDKDK.js +1 -0
  61. package/chunk-RZ6B5C2M.js +1 -0
  62. package/{chunk-JSGFZ2GA.js → chunk-S5EF63OY.js} +1 -1
  63. package/{chunk-H632X43F.js → chunk-S5FFZRTF.js} +1 -1
  64. package/chunk-T5U3AMRL.js +1 -0
  65. package/{chunk-SQQMYNOF.js → chunk-TCJ2X76T.js} +1 -1
  66. package/{chunk-HTNYQE2B.js → chunk-TQHNKGRL.js} +1 -1
  67. package/chunk-TRCPJYNH.js +1 -0
  68. package/{chunk-VN7JM6M3.js → chunk-U467ZTQ4.js} +1 -1
  69. package/{chunk-TSIPKXNX.js → chunk-UBBFB6RT.js} +1 -1
  70. package/chunk-URYEQA3U.js +1 -0
  71. package/chunk-WFR2V6TK.js +1 -0
  72. package/chunk-XER6OR26.js +2 -0
  73. package/chunk-XMYCIQBS.js +1 -0
  74. package/chunk-XP7PWMT2.js +1 -0
  75. package/{chunk-KIUU6RPZ.js → chunk-XYLMZK7X.js} +1 -1
  76. package/{chunk-6HTVIY6O.js → chunk-XYMSYNUD.js} +1 -1
  77. package/{chunk-RRBU7RBN.js → chunk-Y7YR7HTF.js} +1 -1
  78. package/{chunk-PQVEQNEN.js → chunk-YCAQITZE.js} +1 -1
  79. package/{chunk-VZBHJ6AU.js → chunk-Z75HLGYD.js} +1 -1
  80. package/chunk-ZGKHK6QQ.js +2 -0
  81. package/index.html +2 -2
  82. package/main-U4R24N47.js +1 -0
  83. package/package.json +1 -1
  84. package/styles-NHBDA2ZX.css +1 -0
  85. package/chunk-2JKJCHMV.js +0 -1
  86. package/chunk-2N2WJIUS.js +0 -1
  87. package/chunk-3AU26GAL.js +0 -1
  88. package/chunk-6JLZLD5D.js +0 -1
  89. package/chunk-6OAGVTHV.js +0 -1
  90. package/chunk-7JUYF3HW.js +0 -1
  91. package/chunk-7NFVFBIE.js +0 -1
  92. package/chunk-7ROGJAJZ.js +0 -1
  93. package/chunk-7RTXH4CB.js +0 -1
  94. package/chunk-CETM57LL.js +0 -1
  95. package/chunk-CKPICCFH.js +0 -1
  96. package/chunk-DDIVZTRS.js +0 -1
  97. package/chunk-DMZ5CRRQ.js +0 -2
  98. package/chunk-I3C2AEHI.js +0 -1
  99. package/chunk-IDOYGPGZ.js +0 -1
  100. package/chunk-J7PTPA7J.js +0 -1
  101. package/chunk-JP7GZSDH.js +0 -1
  102. package/chunk-JV6DGJII.js +0 -1
  103. package/chunk-MHO7INGX.js +0 -1
  104. package/chunk-NQNRR7VE.js +0 -1
  105. package/chunk-O2YN63YI.js +0 -1
  106. package/chunk-ORDORLQT.js +0 -1
  107. package/chunk-OWDXYX4N.js +0 -1
  108. package/chunk-Q6GENX6C.js +0 -1
  109. package/chunk-QVIZK4WW.js +0 -1
  110. package/chunk-SEA4YEEO.js +0 -1
  111. package/chunk-T5X5KX6A.js +0 -1
  112. package/chunk-TMD3MDHS.js +0 -1
  113. package/chunk-VINJGSIH.js +0 -1
  114. package/chunk-W2F756OF.js +0 -7
  115. package/chunk-WMTA6PZM.js +0 -1
  116. package/chunk-WX7L7V6J.js +0 -1
  117. package/chunk-XL2NKFYE.js +0 -1
  118. package/chunk-ZXWA7BUQ.js +0 -1
  119. package/chunk-ZYGT7OII.js +0 -2
  120. package/main-3OUIM37D.js +0 -1
  121. package/styles-V3SS5M3J.css +0 -1
@@ -0,0 +1,7 @@
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 Bp(){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 Up(){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(qp);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"),qp=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 Wp(){throw new Error}var Ic=Wp;function Ec(e){Ic(e)}function Dc(e){Ic=e}var zp=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,Gp(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 Gp(e){e.version++,Up(),pc(e),zp?.()}function fi(e,t,n){let r=Object.create(Qp);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 Qp=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(Zp);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(Bp())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=()=>{},Zp=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=Kp}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()}}},Yp=Function.prototype.bind;function gi(e,t){return Yp.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 Jp(e){throw e}function mi(e,t){let{onStoppedNotification:n}=fe;n&&Pt.setTimeout(()=>n(e,t))}var Kp={closed:!0,next:mn,error:Jp,complete:mn};var Ft=typeof Symbol=="function"&&Symbol.observable||"@@observable";function J(e){return e}function Xp(...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=th(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 eh(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function th(e){return e&&e instanceof ot||eh(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 nh(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var yr=nh();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 rh(e);if(fr(e))return oh(e);if(pr(e))return ih(e);if(gr(e))return Vc(e);if(vr(e))return sh(e);if(Er(e))return ah(e)}throw mr(e)}function rh(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 oh(e){return new N(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function ih(e){return new N(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,cr)})}function sh(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=>{ch(e,t).catch(n=>t.error(n))})}function ah(e){return Vc(Ir(e))}function ch(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 lh(...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 uh=new _r(xr),Qc=uh;function dh(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 fh(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:ph}=Array;function hh(e,t){return ph(t)?e(...t):e(t)}function Tr(e){return $e(t=>hh(e,t))}var{isArray:gh}=Array,{getPrototypeOf:mh,prototype:yh,keys:vh}=Object;function Nr(e){if(e.length===1){let t=e[0];if(gh(t))return{args:t,keys:null};if(Ih(t)){let n=vh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Ih(e){return e&&typeof e=="object"&&mh(e)===yh}function Sr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Eh(...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(Dh(r,t,o?s=>Sr(o,s):J));return n?i.pipe(Tr(n)):i}function Dh(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 wh(e){return new N(t=>{P(e()).subscribe(t)})}function bh(...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:Mh}=Array;function Xc(e){return e.length===1&&Mh(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 Ch(...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 xh(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=_h){return x((t,n)=>{let r=!1;t.subscribe(C(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function _h(){return new at}function Th(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 Nh(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 Sh(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 kh(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 Rh(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 Oh(...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(Ph(t,n)),this.code=t}};function Ph(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 Lh(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=Lh(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 Fh(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 Vh=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(Vh)&&e.__forward_ref__===mu}function jh(e,t,n){e!=t&&Hh(n,e,t,"==")}function Hh(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 $h(e){let t=e&&(e[vu]||e[Iu]);return t||null}function sl(e){return e&&(e.hasOwnProperty(al)||e.hasOwnProperty(Bh))?e[al]:null}var vu=L({\u0275prov:L}),al=L({\u0275inj:L}),Iu=L({ngInjectableDef:L}),Bh=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 Uh=L({\u0275cmp:L}),qh=L({\u0275dir:L}),Wh=L({\u0275pipe:L}),zh=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 Gh(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 Qh={},kn=Qh;function Vr(){return rl()}function Be(e){return ol(e)}var Qi="__NG_DI_FLAG__",Jr="ngTempTokenPath",Zh="ngTokenPath",Yh=/\n/gm,Jh="\u0275",ll="__source";function Kh(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()||Kh)(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=Xh(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 Xh(e){return e[Qi]}function eg(e,t,n,r){let o=e[Jr];throw t[ll]&&o.unshift(t[ll]),e.message=tg(`
5
+ `+e.message,o,n,r),e[Zh]=o,e[Jr]=null,e}function tg(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==Jh?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(Yh,`
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 ng(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 rg(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 og(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function ig(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,ig(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 sg(e,t,1)}function sg(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[zh]||null;if(!n&&t===!0)throw new Error(`Type ${ie(e)} does not have '\u0275mod' property.`);return n}function De(e){return e[Uh]||null}function ha(e){return e[qh]||null}function ga(e){return e[Wh]||null}function ag(e){let t=De(e)||ha(e)||ga(e);return t!==null&&t.standalone}function cg(e){return{\u0275providers:e}}function lg(...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 ug=L({provide:String,useValue:L});function Ru(e){return e!==null&&typeof e=="object"&&ug in e}function dg(e){return!!(e&&e.useExisting)}function fg(e){return!!(e&&e.useFactory)}function Wt(e){return typeof e=="function"}function pg(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=vg(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 eg(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=gg(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&&yg(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 hg(e);throw new M(204,!1)}function hg(e){if(e.length>0)throw new M(204,!1);let n=$h(e);return n!==null?()=>n.factory(e):()=>new e}function gg(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(fg(e))r=()=>e.useFactory(...Zi(e.deps||[]));else if(dg(e))r=()=>Ge(K(e.useExisting));else{let o=K(e&&(e.useClass||e.provide));if(mg(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 mg(e){return!!e.deps}function yg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function vg(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 Ig(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=Dg),Eg}function Eg(){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 Dg(e,t,n,r,o){let i=this.declaredInputs[r],s=Bu(e)||wg(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 wg(e,t){return e[$u]=t}var fl=null;var A=function(e,t=null,n){fl?.(e,t,n)},Uu="svg",bg="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 Mg(e){return(e[E]&4)===4}function Ea(e){return(e[E]&128)===128}function Cg(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 xg(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 _g(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 Tg(){return w.lFrame.elementDepthCount}function Ng(){w.lFrame.elementDepthCount++}function Sg(){w.lFrame.elementDepthCount--}function wa(){return w.bindingsEnabled}function Zu(){return w.skipHydrationRootTNode!==null}function kg(e){return w.skipHydrationRootTNode===e}function Rg(){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 Og(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 Ag(){return w.lFrame.inI18n}function Xu(e){w.lFrame.inI18n=e}function Pg(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,ns(t)}function Lg(){return w.lFrame.currentDirectiveIndex}function ns(e){w.lFrame.currentDirectiveIndex=e}function Fg(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 Vg(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=Vg(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 jg(e){return(w.lFrame.contextLView=xg(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(){Hg()}function Hg(){w.lFrame.currentNamespace=null}function $g(){return w.lFrame.currentNamespace}var id=!0;function Jn(){return id}function Kn(e){id=e}function Bg(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)&&(Ug(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 Ug(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 qg(e){return(e.flags&8)!==0}function Wg(e){return(e.flags&16)!==0}function zg(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];Gg(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 Gg(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 Qg(e){return e>>16}function so(e,t){let n=Qg(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 Zg=256,ld=Zg-1,ud=5,Yg=0,Ee={};function Jg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(xn)&&(r=n[xn]),r==null&&(r=n[xn]=Yg++);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){Jg(e,t,n)}function Kg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(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=nm(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=em(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=Xg(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 Xg(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(Gh(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&&Bg(n,i[n],t)}finally{l!==null&&re(l),ao(a),s.resolving=!1,od()}}return o}function em(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:tm: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 tm(){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 nm(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 Kg(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,lg(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 rm=new R("");rm.__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__=om;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 om(){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})(),im=(()=>{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",sm=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,lm(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,am,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)}},am={};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 cm(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 lm(e){let t=()=>{cm(e)},n=sm++;e._inner=e._inner.fork({name:"angular",properties:{[Oa]:!0,[uo]:n,[uo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(um(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&&!dm(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 um(e){return Dd(e,"__ignore_ng_zone__")}function dm(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)}},fm=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 pm(e){return hu(So,e)}var bN=(Dl.required=pm,Dl);function hm(){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__=hm}return e})();function wd(e){return e instanceof Bo?e.nativeElement:e}function gm(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 gm(e)&&typeof e.set=="function"}function mm(){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=rg(t);(this._changesDetected=!ng(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]=mm};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,ym=0;function vm(){return ym++}function Im(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],Im(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:()=>Em}),Em="ng",Dm=new R(""),xN=new R("",{providedIn:"platform",factory:()=>"unknown"});var _N=new R("",{providedIn:"root",factory:()=>Pa().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),wm={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:()=>wm});var bm="h",Mm="b";var Cm="di",Sd="s";var kd=!1,xm=new R("",{providedIn:"root",factory:()=>kd});var _m=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__=Tm}return e})();function Tm(){return new Ad(y(),Y())}var Nm=(()=>{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,Sm=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||{}),km=0,qo=1;var Rm=4,Om=5,Am=6,Pm=7,Pi=8,Lm=9,Pd=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Pd||{});function Fm(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=Rm;return e===1?t=Om:e===2&&(t=Lm),t}function Wo(e){return e+1}function Xn(e,t){let n=e[v],r=Wo(t.index);return e[r]}function Vm(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 jm(e,t,n){let r=Wo(t);e.data[r]=n}function Hm(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 $m(e){return e.loadingBlockConfig?.[Sm]??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 Bm(e,t){let n=t.primaryTmplIndex+F;return Zn(e,n)}var Um=new R("");var qm=()=>null;function Vd(e,t,n=!1){return qm(e,t,n)}function Wm(e){return e.get(_m,!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 zm(){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 zm()?.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=Gm(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 Gm(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 Qm()?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 Qm(){try{return!!new window.DOMParser().parseFromString(zo(""),"text/html")}catch{return!1}}var Zm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Va(e){return e=String(e),e.match(Zm)?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"),Ym=tr(qd,Ud),Jm=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")),Km=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,Jm,Km,Ym),ja=Pe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Xm=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"),ey=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,Xm,ey),ty=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=oy(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=ry(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,!ty.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 ny(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function ry(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw zd(t);return t}function oy(e){let t=e.firstChild;if(t&&ny(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 iy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sy=/([^\#-~ |!])/g;function Sl(e){return e.replace(/&/g,"&amp;").replace(iy,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(sy,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Lr;function ay(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&&cy(e)?e.content:null}function cy(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)):ay(Pa(),he(e))}function ly(e){let t=Ha();return t?t.sanitize(Go.URL,e)||"":Fa(e,"URL")?an(e):Va(he(e))}function uy(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 dy(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?uy:ly}function PN(e,t,n){return dy(t,n)(e)}function Ha(){let e=y();return e&&e[Ne].sanitizer}var fy=/^>|^->|<!--|-->|--!>|<!-$/g,py=/(<|>)/g,hy="\u200B$1\u200B";function gy(e){return e.replace(fy,t=>t.replace(py,hy))}function LN(e){return e.ownerDocument.defaultView}function Gd(e){return e instanceof Function?e():e}function my(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 yy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&my(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 vy(e,t,n){let r=e.type===4&&!n?Qd:e.value;return t===r}function Iy(e,t,n){let r=4,o=e.attrs,i=o!==null?wy(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!==""&&!vy(e,c,n)||c===""&&t.length===1){if(pe(r))return!1;s=!0}}else if(r&8){if(o===null||!yy(e,o,c,n)){if(pe(r))return!1;s=!0}}else{let l=t[++a],u=Ey(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 Ey(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 by(t,e)}function Zd(e,t,n=!1){for(let r=0;r<t.length;r++)if(Iy(e,t[r],n))return!0;return!1}function Dy(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function wy(e){for(let t=0;t<e.length;t++){let n=e[t];if(ad(n))return t}return e.length}function by(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 My(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 Cy(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 xy(e){return e.map(Cy).join(",")}function _y(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(gy(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 Ty(e,t,n){e.setAttribute(t,"style",n)}function Ny(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&&zg(e,t,r),o!==null&&Ny(e,t,o),i!==null&&Ty(e,t,i)}function Ua(e,t,n,r,o,i,s,a,c,l,u){let d=F+r,p=d+o,f=Sy(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 Sy(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:z);return n}function ky(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]=vm(),d[zt]=u,d[Fu]=l,d[se]=t.type==2?e[se]:d,d}function Ry(e,t,n){let r=Ce(t,e),o=ky(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){Vy(e,t,n),(n.flags&64)===64&&jy(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 Oy(e,t,n,r){let i=r.get(xm,kd)||n===jn.ShadowDom,s=e.selectRootElement(t,i);return Ay(s),s}function Ay(e){Py(e)}var Py=()=>null;function Ly(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)&&Fy(n,t.index);return}if(t.type&3){let c=Ce(t,n);r=Ly(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)}else t.type&12}function Fy(e,t){let n=Me(t,e);n[E]&16||(n[E]|=64)}function Vy(e,t,n){let r=n.directiveStart,o=n.directiveEnd;en(n)&&Ry(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&&By(t,s-r,c,a,n,i),be(a)){let l=Me(n.index,t);l[q]=Ln(t,e,s,n)}}}function jy(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Lg();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)&&Hy(c,l)}}finally{vt(-1),ns(s)}}function Hy(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 $y(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 By(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 Uy(e,t){let n=Me(t,e),r=n[v];qy(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 qy(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&&Wy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,Ta()}}function Wy(e,t){for(let n=0;n<t.length;n++)Uy(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 zy(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&&Xy(t,e,i,n,o)}}function Gy(e,t){sf(e,t),t[Oe]=null,t[X]=null}function Qy(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 Zy(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),Zy(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]),Jy(e,t),Yy(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 Yy(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 Jy(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 Ky(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 Xy(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 ev(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)&&tv(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 tv(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 nv(e){return e[le]??rv(e)}function rv(e){let t=mf.pop()??Object.create(iv);return t.lView=e,t}function ov(e){e.lView[le]!==e&&(e.lView=null,mf.push(e))}var iv=te(ee({},Ve),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Yn(e.lView)},consumerOnSignalRead(){this.lView[le]=this}});function sv(e){let t=e[le]??Object.create(av);return t.lView=e,t}var av=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 cv=100;function If(e,t=!0,n=0){let o=e[Ne].rendererFactory,i=!1;i||o.begin?.();try{lv(e,n)}catch(s){throw t&&Yo(e,s),s}finally{i||o.end?.()}}function lv(e,t){let n=Ku();try{oo(!0),_s(e,t);let r=0;for(;jo(e);){if(r===cv)throw new M(103,!1);r++,_s(e,1)}}finally{oo(n)}}function uv(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=nv(t),c=tt(l)):fc()===null?(a=!1,l=sv(t),c=tt(l)):t[le]&&(Rt(t[le]),t[le]=null));try{qu(t),Og(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||dv(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)}pv(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&&ov(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 dv(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 fv(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)uv(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++)fv(e,t[r],n)}function pv(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];Pg(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(hv(o,t,e,n),r){let s=xs(n,e),a=t[k],c=a.parentNode(e[mt]);c!==null&&Qy(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);Gy(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 hv(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__=yv}return e})(),gv=mo,mv=class extends gv{_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 yv(){return ti(Y(),y())}function ti(e,t){return e.type&4?new mv(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),Ag()&&(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]=Iv(e,a,n,t,r,o);return vv(e,c,i,s),c}function vv(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 Iv(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)||Ev(r,t)&&Dv(r)===null&&wv(r,t.index)}}function Nf(e){return!(e.type&64)}function Ev(e,t){return Nf(t)||e.index>t.index}function Dv(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function wv(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 bv(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function Mv(e,t){let n=e.insertBeforeIndex;n===null?(ff(xf,_f),n=e.insertBeforeIndex=[null,t]):(jh(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function Cv(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 xv(e){return e>>>17}function _v(e){return(e&131070)>>>1}function Tv(e,t,n){return e|t<<17|n<<1}function Nv(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 Sv(){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+)*(${Mm}|${bm})*(.*)`);var kv=()=>{};function Rv(e,t,n,r){kv(e,t,n,r)}var Ov=()=>{};function Av(e,t,n){Ov(e,t,n)}var Pv=()=>null;function Zt(e,t){return Pv(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__=()=>Lv()}return e})();function Lv(){let e=y(),t=Y(),n=Me(t.index,e);return(ze(n)?n:e)[k]}var Fv=(()=>{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=jv(s);u===null?a=s:[a,c,l]=u,Bv(e,t,n,a,i,c,l)}i!==null&&r!==null&&Vv(n,r,i)}function Vv(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 jv(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,Hv(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 Hv(e,t,n,r){let o=t.length;e.findHostDirectiveDefs(e,t,r),n.set(e,[o,t.length-1])}function $v(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Bv(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,$v(e,n,p)),os(co(n,t),e,f.type)}Qv(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),qv(e,n,t,d,f),Gv(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++}Uv(e,n,i)}function Uv(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 qv(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,Wv(e,t,r,nr(e,n,o.hostVars,z),o)}function Wv(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;zv(s)!=a&&s.push(a),s.push(n,r,i)}}function zv(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Gv(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 Qv(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 Zv(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 Yv(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function Jv(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 Kv(e){let t=e.get(vo,null);if(t===null)throw new M(407,!1);let n=e.get(Fv,null),r=e.get(Ze,null);return{rendererFactory:t,sanitizer:n,changeDetectionScheduler:r}}function Xv(e,t){let n=(e.selectors[0][0]||"div").toLowerCase();return Ba(t,n,n==="svg"?Uu:n==="math"?bg:null)}var Mt=class extends yo{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Zv(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Yv(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=xy(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"]:_y(this.componentDef.selectors[0]),c=Ua(0,null,null,1,0,null,null,null,null,[a],null),l=Jv(s,o||this.ngModule,t),u=Kv(l),d=u.rendererFactory.createRenderer(null,s),p=r?Oy(d,r,s.encapsulation,l):Xv(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&&eI(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 eI(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__=tI}return e})();function tI(){let e=Y();return Pf(e,y())}var nI=oc,Af=class extends nI{_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&&!Ig(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(Cg(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)),oI(n,t,e,r),new Af(n,e,t)}function rI(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 oI=sI,iI=()=>!1;function Lf(e,t,n){return iI(e,t,n)}function sI(e,t,n,r){if(e[mt])return;let o;n.type&8?o=de(r):o=rI(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,aI(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 aI(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 cI(e,t){return e.type&11?on(e,t):e.type&4?ti(e,t):null}function lI(e,t,n,r){return n===-1?cI(t,e):n===-2?uI(e,t,r):Ln(e,e[v],n,t)}function uI(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(lI(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 _g(e,t,r,r.destroy),(t[Se]??=new As).queries.push(new Os(r))-1}function dI(e,t,n){let r=O();return r.firstCreatePass&&(Hf(r,new Eo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),Vf(r,y(),t)}function jf(e,t,n,r){let o=O();if(o.firstCreatePass){let i=Y();Hf(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 Hf(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 $f(e,t){let n=e[v],r=sc(n,t);return r.crossesNgTemplate?Fs(n,e,t,[]):Ff(n,e,r,t)}function Bf(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 Uf(e){return Bf(!0,!1,e)}function qf(e){return Bf(!0,!0,e)}function Wf(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=$f(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 Uf(t)}function gI(e,t){return qf(t)}var BN=(Fl.required=gI,Fl);function Vl(e,t){return Uf(t)}function mI(e,t){return qf(t)}var UN=(Vl.required=mI,Vl);function zf(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 zf(e,t)}function yI(e){return zf(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 Gf(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?Gf([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=Qf(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"),Zf(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=Qf(e);return Zf(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 Qf(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 Zf(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),Fh(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 Yf(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?Gf(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[Pm];if(!(c!==null&&e<c)&&Bl(a,e)&&Bl(s[km]??-1,e)){let l=er(i,t),d=!r&&!0&&($m(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=Hm(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 Jf=(()=>{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 Kf(e){return!!e&&typeof e.then=="function"}function GI(e){return!!e&&typeof e.subscribe=="function"}var QI=new R("");var Xf=(()=>{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(Kf(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=_(fm);afterRenderManager=_(Nm);zonelessEnabled=_(ka);rootEffectScheduler=_(Jf);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(Xf).done){let p=!o&&ag(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=Bm(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=Wm(n),i=r.flags!==null&&(r.flags&1)===1,a=Xn(e,t)[Am]!==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),jm(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[Cm]??null,I=ve[Sd]}let S=[null,ho.Initial,null,null,null,null,m,I,null,null];Vm(u,p,S);let Le=null;m!==null&&(Le=h.get(Um),Le.add(m,{lView:u,tNode:f,lContainer:g}));let Ke=()=>{Ld(S),m!==null&&Le?.cleanup([m])};Fm(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();$y(a,o,e,t,n,r)}return oE}function ep(e,t,n,r){return ae(e,Je(),n)?t+he(n)+r:z}function tp(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 np(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 rp(e){return e.substring(U.key,U.keyEnd)}function dE(e){return e.substring(U.value,U.valueEnd)}function fE(e){return sp(e),op(e,Kt(e,0,U.textEnd))}function op(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 sp(e),ip(e,Kt(e,0,U.textEnd))}function ip(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 sp(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 ap(e,t,n,!1),vE}function IE(e,t){return ap(e,t,null,!0),IE}function XN(e){cp(dp,EE,e,!1)}function EE(e,t){for(let n=pE(t);n>=0;n=ip(t,n))dp(e,rp(t),dE(t))}function eS(e){cp(_E,DE,e,!0)}function DE(e,t){for(let n=fE(t);n>=0;n=op(t,n))Oo(e,rp(t),!0)}function ap(e,t,n,r){let o=y(),i=O(),s=Ho(2);if(i.firstUpdatePass&&up(i,e,s,r),t!==z&&ae(o,s,t)){let a=i.data[ye()];fp(i,a,o,o[k],e,o[s+1]=NE(t,n),r,s)}}function cp(e,t,n,r){let o=O(),i=Ho(2);o.firstUpdatePass&&up(o,null,i,r);let s=y();if(n!==z&&ae(s,i,n)){let a=o.data[ye()];if(pp(a,r)&&!lp(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 lp(e,t){return t>=e.expandoStartIndex}function up(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ye()],s=lp(e,n);pp(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=Fg(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 dp(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&&fp(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function fp(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);ev(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 pp(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 hp(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),(Tg()===0||u)&&Ye(l,o),Ng(),u&&(Zo(i,o,c),La(i,c,o)),r!==null&&za(o,c),hp}function gp(){let e=Y();ba()?Ma():(e=e.parent,me(e,!1));let t=e;kg(t)&&Rg(),Sg();let n=O();return n.firstCreatePass&&Of(n,t),t.classesWithoutHost!=null&&qg(t)&&Bs(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Wg(t)&&Bs(n,t,y(),t.stylesWithoutHost,!1),gp}function OE(e,t,n,r){return hp(e,t,n,r),gp(),OE}var AE=(e,t,n,r,o,i)=>(Kn(!0),Ba(r,o,$g()));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 mp(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),mp}function yp(){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)),yp}function LE(e,t,n){return mp(e,t,n),yp(),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 vp(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 vp(e)[Wn.CurrencyCode]||null}function HE(e){return vp(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",Ip={marker:"element"},Ep={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||{}),Dp=_o;function WE(e){typeof e=="string"&&(Dp=e.toLowerCase().replace(/_/g,"-"))}function zE(){return Dp}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;bp(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 wp(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=xv(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=_v(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&&wp(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 Ep: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 Ip: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 bp(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),bp(e,r,t.update[o],n,i)}}function JE(e,t,n,r){let o=KE(t,r);if(ni(t,n)!==o&&(Mp(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&wp(e,t.create[o],n,s),Av(n,t.anchorIdx,o)}}function Mp(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 Mp(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+)�/,Cp=/^\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=xp(e,s,l[0],n,a,"",!0).index;Tp(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=Cv(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 xp(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,zy(Sv)),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&&Mv(l,d),u}function iD(e,t,n,r,o,i,s,a){let c=a.match(To),u=xp(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|_p(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 _p(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(Nv(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 Tp(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),bv(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(Cp,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);Cp.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?Np(e,t,n,r,o,l,u,d,h,i,c,0):0}function Np(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,Ip,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=Np(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,Ep,"",l,h),Tp(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(_p(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,Tv(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;Rv(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 Sp(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 Sp(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 jg(e)}function _D(e,t){let n=null,r=Dy(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):My(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=og(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)&&Ky(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 kp(e,"",t,"",n),ND}function kp(e,t,n,r,o){let i=y(),s=ep(i,t,n,r);if(s!==z){let a=O(),c=_t();cn(a,c,i,e,s,i[k],o,!1)}return kp}function SD(e,t,n,r,o,i,s){let a=y(),c=tp(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=np(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){jf(e,t,n,r)}function gS(e){let t=y(),n=O(),r=xa();$o(r+1);let o=sc(n,r);if(e.dirty&&Mg(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=$f(t,r);e.reset(i,wd),e.notifyOnChanges()}return!0}return!1}function mS(){return ic(y(),xa())}function yS(e,t,n,r,o){Wf(t,jf(e,n,r,o))}function vS(e,t,n,r){Wf(e,dI(t,n,r))}function IS(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 ES(e){let t=Ju();return Vo(t,F+e)}function DS(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 Rp("",e,""),OD}function Rp(e,t,n){let r=y(),o=ep(r,e,t,n);return o!==z&&lc(r,ye(),o),Rp}function AD(e,t,n,r,o){let i=y(),s=tp(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=np(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 wS(e,t){let n=bd(e);return n&&e.set(t),n}function FD(e,t){let n=y(),r=O(),o=Y();return Sp(r,n,n[k],o,e,t),FD}var Op={};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,Op),VD}function bS(e){sn("NgLet");let t=O(),n=y(),r=ye();return cc(t,n,r,e),e}function MS(e){let t=Ju(),n=Vo(t,F+e);if(n===Op)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=Ap(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=pg(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 Ap(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,Ap(i,o,r&&!n),i}function CS(e,t=[]){return n=>{n.providersResolver=(r,o)=>jD(r,o?o(e):e,t)}}function xS(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 _S(e,t,n,r){return Pp(y(),nn(),e,t,n,r)}function TS(e,t,n,r,o){return Lp(y(),nn(),e,t,n,r,o)}function NS(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 Pp(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 Lp(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 SS(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 kS(e,t,n){let r=e+F,o=y(),i=Vo(o,r);return Fp(o,r)?Pp(o,nn(),t,i.transform,n,i):i.transform(n)}function RS(e,t,n,r){let o=e+F,i=y(),s=Vo(i,o);return Fp(i,o)?Lp(i,nn(),t,s.transform,n,r,s):s.transform(n,r)}function Fp(e,t){return e[v].data[t].pure}function OS(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}},AS=(()=>{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 Vp=(()=>{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 PS(){return sn("NgZoneless"),cg([{provide:Ze,useExisting:Vp},{provide:ue,useClass:fo},{provide:ka,useValue:!0},{provide:Ra,useValue:!1},[]])}function ZD(){return typeof $localize<"u"&&$localize.locale||_o}var jp=new R("",{providedIn:"root",factory:()=>_(jp,T.Optional|T.SkipSelf)||ZD()}),LS=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(Xf);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(jp,_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 Kf(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(Dm,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 Yf(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=[]),!Yf(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 FS(e){A(8);try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=tw(r),i=[zD({}),{provide:Ze,useExisting:Vp},...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 VS(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function jS(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 Hp(e,t){if(pw)return fw(e,t);!t?.injector&&va(Hp);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(Jf),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new ca(o)}var $p=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({},$p),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Rt(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),gw=te(ee({},$p),{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=Hp(this.loadEffect.bind(this),{injector:i,manualCleanup:!0}),this.pendingTasks=i.get(im),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 HS(e,t){let n=De(e),r=t.elementInjector||Ao();return new Mt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function $S(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,Xp 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,lh as n,dh as o,fh as p,at as q,$e as r,Eh as s,ct as t,Mi as u,kr as v,wh as w,bh as x,Ci as y,Dn as z,Ch as A,Di as B,xh as C,wn as D,Mr as E,Wc as F,Th as G,xi as H,Nh as I,Sh as J,kh as K,Rh as L,Oh 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,cg 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,gm as ua,Vn as va,MN as wa,CN as xa,Dm as ya,xN as za,_N as Aa,wm 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,ay as Oa,Go as Pa,AN as Qa,ly 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,Gf as fb,zN as gb,GN as hb,QN as ib,ZN as jb,CI as kb,LI as lb,YN as mb,Kf 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,hp as Db,gp as Eb,OE as Fb,mp as Gb,yp as Hb,LE as Ib,iS as Jb,sS as Kb,vp 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,kp 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,OD as jc,Rp as kc,AD as lc,PD as mc,LD as nc,wS as oc,FD as pc,VD as qc,bS 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,iu as Cc,AS as Dc,PS as Ec,jp as Fc,LS as Gc,rw as Hc,aw as Ic,cw as Jc,FS as Kc,VS as Lc,jS as Mc,Ie as Nc,Zr as Oc,Hp as Pc,Iw as Qc,HS as Rc,$S as Sc};
@@ -0,0 +1 @@
1
+ import"./chunk-7CGTOI24.js";var o=[{path:"",redirectTo:"select-files",pathMatch:"full"},{path:"destination",loadComponent:()=>import("./chunk-KQCGQDTS.js")},{path:"encryption",loadComponent:()=>import("./chunk-T5U3AMRL.js")},{path:"select-files",loadComponent:()=>import("./chunk-PVY4CFCN.js")},{path:"options",loadComponent:()=>import("./chunk-FTPARAAG.js")},{path:"progress",loadComponent:()=>import("./chunk-QPMF3OND.js")}],t=o;export{t as default};
@@ -0,0 +1 @@
1
+ import{Ca as j,Ga as le,X as ae,a as k,b as se,c as ie,e as p,za as ce}from"./chunk-7L2WUS2V.js";import{$ as G,Aa as P,Da as X,Fa as w,Ga as E,Ha as S,Ia as K,Ja as q,Ka as J,Kc as oe,La as Q,Ma as ee,Na as te,Oa as ne,Pa as g,Q as y,T as f,Va as M,W as L,Xa as re,Y as c,oa as C,pa as H,wa as Y,xa as N,ya as W,za as b}from"./chunk-L72ALLHJ.js";import{a as I,b as z}from"./chunk-7CGTOI24.js";var x=class extends ie{supportsDOMEvents=!0},B=class r extends x{static makeCurrent(){se(new r)}onAndCancel(n,e,t,o){return n.addEventListener(e,t,o),()=>{n.removeEventListener(e,t,o)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=Se();return e==null?null:we(e)}resetBaseElement(){T=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ae(document.cookie,n)}},T=null;function Se(){return T=T||document.querySelector("base"),T?T.getAttribute("href"):null}function we(r){return new URL(r,document.baseURI).pathname}var Me=(()=>{class r{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||r)};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})(),F=new L(""),me=(()=>{class r{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,o,s){return this._findPluginFor(t).addEventListener(e,t,o,s)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(s=>s.supports(e)),!t)throw new y(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||r)(c(F),c(C))};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})(),_=class{_doc;constructor(n){this._doc=n}manager},A="ng-app-id";function de(r){for(let n of r)n.remove()}function ue(r,n){let e=n.createElement("style");return e.textContent=r,e}function Te(r,n,e,t){let o=r.head?.querySelectorAll(`style[${A}="${n}"],link[${A}="${n}"]`);if(o)for(let s of o)s.removeAttribute(A),s instanceof HTMLLinkElement?t.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&e.set(s.textContent,{usage:0,elements:[s]})}function $(r,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",r),e}var ge=(()=>{class r{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,t,o,s={}){this.doc=e,this.appId=t,this.nonce=o,this.isServer=j(s),Te(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let o of e)this.addUsage(o,this.inline,ue);t?.forEach(o=>this.addUsage(o,this.external,$))}removeStyles(e,t){for(let o of e)this.removeUsage(o,this.inline);t?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,t,o){let s=t.get(e);s?s.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(i=>this.addElement(i,o(e,this.doc)))})}removeUsage(e,t){let o=t.get(e);o&&(o.usage--,o.usage<=0&&(de(o.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])de(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:o}]of this.inline)o.push(this.addElement(e,ue(t,this.doc)));for(let[t,{elements:o}]of this.external)o.push(this.addElement(e,$(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),this.isServer&&t.setAttribute(A,this.appId),e.appendChild(t)}static \u0275fac=function(t){return new(t||r)(c(p),c(N),c(P,8),c(b))};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})(),U={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Z=/%COMP%/g;var ve="%COMP%",De=`_nghost-${ve}`,Re=`_ngcontent-${ve}`,Ce=!0,be=new L("",{providedIn:"root",factory:()=>Ce});function Ae(r){return Re.replace(Z,r)}function _e(r){return De.replace(Z,r)}function ye(r,n){return n.map(e=>e.replace(Z,r))}var fe=(()=>{class r{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,t,o,s,i,a,d,u=null,l=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=i,this.platformId=a,this.ngZone=d,this.nonce=u,this.tracingService=l,this.platformIsServer=j(a),this.defaultRenderer=new D(e,i,d,this.platformIsServer,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===w.ShadowDom&&(t=z(I({},t),{encapsulation:w.Emulated}));let o=this.getOrCreateRenderer(e,t);return o instanceof O?o.applyToHost(e):o instanceof R&&o.applyStyles(),o}getOrCreateRenderer(e,t){let o=this.rendererByCompId,s=o.get(t.id);if(!s){let i=this.doc,a=this.ngZone,d=this.eventManager,u=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,m=this.platformIsServer,h=this.tracingService;switch(t.encapsulation){case w.Emulated:s=new O(d,u,t,this.appId,l,i,a,m,h);break;case w.ShadowDom:return new V(d,u,e,t,i,a,this.nonce,m,h);default:s=new R(d,u,t,l,i,a,m,h);break}o.set(t.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||r)(c(me),c(ge),c(N),c(be),c(p),c(b),c(C),c(P),c(X,8))};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})(),D=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,t,o,s){this.eventManager=n,this.doc=e,this.ngZone=t,this.platformIsServer=o,this.tracingService=s}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(U[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(pe(n)?n.content:n).appendChild(e)}insertBefore(n,e,t){n&&(pe(n)?n.content:n).insertBefore(e,t)}removeChild(n,e){e.remove()}selectRootElement(n,e){let t=typeof n=="string"?this.doc.querySelector(n):n;if(!t)throw new y(-5104,!1);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,o){if(o){e=o+":"+e;let s=U[o];s?n.setAttributeNS(s,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){let o=U[t];o?n.removeAttributeNS(o,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,o){o&(M.DashCase|M.Important)?n.style.setProperty(e,t,o&M.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&M.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n!=null&&(n[e]=t)}setValue(n,e){n.nodeValue=e}listen(n,e,t,o){if(typeof n=="string"&&(n=k().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);let s=this.decoratePreventDefault(t);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(s=this.tracingService.wrapEventListener(n,e,s)),this.eventManager.addEventListener(n,e,s,o)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function pe(r){return r.tagName==="TEMPLATE"&&r.content!==void 0}var V=class extends D{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,t,o,s,i,a,d,u){super(n,s,i,d,u),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=o.styles;l=ye(o.id,l);for(let h of l){let v=document.createElement("style");a&&v.setAttribute("nonce",a),v.textContent=h,this.shadowRoot.appendChild(v)}let m=o.getExternalStyles?.();if(m)for(let h of m){let v=$(h,s);a&&v.setAttribute("nonce",a),this.shadowRoot.appendChild(v)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,t){return super.insertBefore(this.nodeOrShadowRoot(n),e,t)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},R=class extends D{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,t,o,s,i,a,d,u){super(n,s,i,a,d),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o;let l=t.styles;this.styles=u?ye(u,l):l,this.styleUrls=t.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},O=class extends R{contentAttr;hostAttr;constructor(n,e,t,o,s,i,a,d,u){let l=o+"-"+t.id;super(n,e,t,s,i,a,d,u,l),this.contentAttr=Ae(l),this.hostAttr=_e(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}},Oe=(()=>{class r extends _{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,o,s){return e.addEventListener(t,o,s),()=>this.removeEventListener(e,t,o,s)}removeEventListener(e,t,o,s){return e.removeEventListener(t,o,s)}static \u0275fac=function(t){return new(t||r)(c(p))};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})(),he=["alt","control","meta","shift"],Ie={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Le={alt:r=>r.altKey,control:r=>r.ctrlKey,meta:r=>r.metaKey,shift:r=>r.shiftKey},He=(()=>{class r extends _{constructor(e){super(e)}supports(e){return r.parseEventName(e)!=null}addEventListener(e,t,o,s){let i=r.parseEventName(t),a=r.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>k().onAndCancel(e,i.domEventName,a,s))}static parseEventName(e){let t=e.toLowerCase().split("."),o=t.shift();if(t.length===0||!(o==="keydown"||o==="keyup"))return null;let s=r._normalizeKey(t.pop()),i="",a=t.indexOf("code");if(a>-1&&(t.splice(a,1),i="code."),he.forEach(u=>{let l=t.indexOf(u);l>-1&&(t.splice(l,1),i+=u+".")}),i+=s,t.length!=0||s.length===0)return null;let d={};return d.domEventName=o,d.fullKey=i,d}static matchEventFullKeyCode(e,t){let o=Ie[e.key]||e.key,s="";return t.indexOf("code.")>-1&&(o=e.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),he.forEach(i=>{if(i!==o){let a=Le[i];a(e)&&(s+=i+".")}}),s+=o,s===t)}static eventCallback(e,t,o){return s=>{r.matchEventFullKeyCode(s,e)&&o.runGuarded(()=>t(s))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||r)(c(p))};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})();function St(r,n){return oe(I({rootComponent:r},Ne(n)))}function Ne(r){return{appProviders:[...xe,...r?.providers??[]],platformProviders:Ue}}function Pe(){B.makeCurrent()}function ke(){return new H}function je(){return Y(document),document}var Ue=[{provide:b,useValue:ce},{provide:W,useValue:Pe,multi:!0},{provide:p,useFactory:je,deps:[]}];var xe=[{provide:G,useValue:"root"},{provide:H,useFactory:ke,deps:[]},{provide:F,useClass:Oe,multi:!0,deps:[p]},{provide:F,useClass:He,multi:!0,deps:[p]},fe,ge,me,{provide:re,useExisting:fe},{provide:le,useClass:Me,deps:[]},[]];var wt=(()=>{class r{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||r)(c(p))};static \u0275prov=f({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var Be=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275prov=f({token:r,factory:function(t){let o=null;return t?o=new(t||r):o=c(Fe),o},providedIn:"root"})}return r})(),Fe=(()=>{class r extends Be{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case g.NONE:return t;case g.HTML:return S(t,"HTML")?E(t):ne(this._doc,String(t)).toString();case g.STYLE:return S(t,"Style")?E(t):t;case g.SCRIPT:if(S(t,"Script"))return E(t);throw new y(5200,!1);case g.URL:return S(t,"URL")?E(t):te(String(t));case g.RESOURCE_URL:if(S(t,"ResourceURL"))return E(t);throw new y(5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(e){return K(e)}bypassSecurityTrustStyle(e){return q(e)}bypassSecurityTrustScript(e){return J(e)}bypassSecurityTrustUrl(e){return Q(e)}bypassSecurityTrustResourceUrl(e){return ee(e)}static \u0275fac=function(t){return new(t||r)(c(p))};static \u0275prov=f({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();export{St as a,wt as b,Be as c};
@@ -0,0 +1 @@
1
+ import{a as p}from"./chunk-TQHNKGRL.js";import{h as o}from"./chunk-S5EF63OY.js";import{Oc as n,T as i,Z as r,va as s}from"./chunk-L72ALLHJ.js";var c=class e{#e=r(o);#i=p(this.#e.getApiV1Serversettings());#t=s(void 0);serverSettings=n(()=>this.#t()||this.#i());refreshServerSettings(){this.#e.getApiV1Serversettings().subscribe({next:t=>{this.#t.set(t)}})}static \u0275fac=function(a){return new(a||e)};static \u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})};export{c as a};
@@ -0,0 +1 @@
1
+ import{a as be}from"./chunk-F2GEUOGZ.js";import{s as xe}from"./chunk-ELMONRIG.js";import{A as Te,a as me,f as Ce,l as Pe,n as Ee,p as ve}from"./chunk-P4ZFQZCA.js";import{h as ge}from"./chunk-S5EF63OY.js";import{ia as fe}from"./chunk-7L2WUS2V.js";import{$a as K,B as ne,Bb as re,Bc as _e,Cb as oe,Db as h,Eb as f,F as q,Fb as le,Ib as z,Jb as B,Oc as W,Pc as A,Rb as $,Sb as ae,Tb as ce,Ua as m,Vb as R,Wb as u,Xb as de,Yb as D,Z as X,ea as N,fa as k,fc as J,gb as ie,gc as pe,hc as Y,ic as S,kc as ue,lb as M,n as ee,r as L,ra as Q,sa as v,ub as U,va as O,vb as se,vc as V,wb as T,wc as he,x as te,zb as F}from"./chunk-L72ALLHJ.js";import{a as j,b as G}from"./chunk-7CGTOI24.js";var we=["treeContainer"],ye=["formRef"],Ne=[[["label"]],[["label"]],[["input"]]],ke=["label","label","input"],Re=s=>({children:s,level:0}),Me=s=>({$implicit:s}),Ie=(s,t)=>({children:s,level:t}),We=(s,t)=>t.id;function Ae(s,t){if(s&1){let e=B();h(0,"spk-button-group")(1,"button",13),R("click",function(){N(e);let i=u();return k(i.pathDiscoveryMethod.set("browse"))}),$(2,4),f(),h(3,"button",13),R("click",function(){N(e);let i=u();return k(i.pathDiscoveryMethod.set("path"))}),$(4,5),f()()}if(s&2){let e=u();m(),T("active",e.pathDiscoveryMethod()==="browse"),m(2),T("active",e.pathDiscoveryMethod()==="path")}}function Le(s,t){s&1&&le(0,"spk-progress-bar",9)}function Be(s,t){s&1&&(h(0,"spk-icon",18),S(1,"caret-down"),f(),h(2,"spk-icon",16),S(3,"folder-open"),f())}function $e(s,t){s&1&&(h(0,"spk-icon"),S(1,"file"),f())}function De(s,t){s&1&&(h(0,"spk-icon",18),S(1,"caret-right"),f(),h(2,"spk-icon",16),S(3,"folder"),f())}function Ve(s,t){if(s&1&&M(0,Be,4,0)(1,$e,2,0,"spk-icon")(2,De,4,0),s&2){let e=u(2).$implicit;F(e.children.length?0:e.cls==="file"?1:2)}}function He(s,t){s&1&&(h(0,"spk-icon",16),S(1,"desktop-tower"),f())}function je(s,t){s&1&&z(0)}function Ge(s,t){if(s&1&&M(0,je,1,0,"ng-container",10),s&2){let e=u(2).$implicit,n=u().$implicit;u();let i=Y(7);U("ngTemplateOutlet",i)("ngTemplateOutletContext",V(5,Me,he(2,Ie,e.children,n.level+1)))}}function qe(s,t){if(s&1){let e=B();h(0,"div",14,3),R("click",function(){N(e);let i=u().$implicit,o=u(2);return k(o.toggleNode(i.id,i))}),h(2,"div",15),M(3,Ve,3,1)(4,He,2,0,"spk-icon",16),f(),h(5,"div",17),R("click",function(i){N(e);let o=u().$implicit,a=u(2);return k(a.toggleSelectedNode(i,o))}),S(6),f()(),M(7,Ge,1,7,"ng-container")}if(s&2){let e=u().$implicit,n=u().$implicit,i=u();T("accepted",e.accepted===!0)("active",e.evalState===i.TreeEvalEnum.Included)("indeterminate",e.isIndeterminate)("open",e.children.length)("usually-hidden",e.hidden)("root",n.level===0),m(2),T("file",e.cls==="file"),m(),F(e.id!=="/"?3:4),m(3),ue(" ",e.text," "),m(),F(e.children.length>0?7:-1)}}function Xe(s,t){if(s&1&&M(0,qe,8,17),s&2){let e=t.$implicit,n=u(2);F(e.hidden&&n._showHiddenNodes()||!e.hidden?0:-1)}}function Qe(s,t){if(s&1&&(h(0,"spk-list"),re(1,Xe,1,1,null,null,We),f()),s&2){let e=t.$implicit;se("padding-left",e.level*.25,"rem"),m(),oe(e.children)}}function Ke(s,t){s&1&&z(0)}function Ue(s,t){if(s&1){let e=B();h(0,"spk-toggle",19),R("click",function(){N(e);let i=u();return k(i._showHiddenNodes.set(!i._showHiddenNodes()))}),$(1,6),f()}if(s&2){let e=u();T("active",e._showHiddenNodes()),m(),ae(e.showFiles()?"files":"folders"),ce(1)}}var Oe=(o=>(o[o.ExcludedByParent=-2]="ExcludedByParent",o[o.Excluded=-1]="Excluded",o[o.None=0]="None",o[o.Included=1]="Included",o[o.IncludedByParent=2]="IncludedByParent",o))(Oe||{}),Z=class s{#e=X(ge);#t=X(be);multiSelect=v(!1);disabled=v(!1);showFiles=v(!1);selectFiles=v(!1);accepts=v(null);startingPath=v(null);rootPaths=v([]);backupSettings=v(null);pathRefreshTrigger=v(!1);showHiddenNodes=v(!1);hideShortcuts=v(!1);includes=Q();excludes=Q();_showHiddenNodes=O(!1);treeContainerRef=K("treeContainer");formRef=K("formRef");pathDiscoveryMethod=O("browse");isLoading=O(!1);currentPath=O("/");#n=O(null);treeSearchQuery=O("");treeNodes=O([]);isWindows=W(()=>this.#t.systemInfo()?.OSType==="Windows");filterGroups=this.#t.filterGroups();isByBackupSettings=W(()=>{let t=this.backupSettings();return!(t===void 0||t?.id===void 0||t?.time===void 0)});searchableTreeNodes=W(()=>{let t=this.treeSearchQuery();return t?this.treeNodes().filter(e=>e.text?.toLowerCase().includes(t.toLowerCase())):this.treeNodes()});TreeEvalEnum=Oe;treeStructure=W(()=>{let t=this.showHiddenNodes(),e=this.currentPath().split("\0").filter(r=>r!==""&&r!=="/"),n=structuredClone(e);for(let r=0;r<n.length;r++){let c=n[r].slice(1);if(c.startsWith("{")&&c.endsWith("}")){let p=c.slice(1,-1),d=this.filterGroups?.FilterGroups[p];if(d&&d.length){let b=d.map(P=>`-${P}`);n.splice(r,1,...b)}}}let i=this.searchableTreeNodes(),o=this.rootPaths(),a=this.accepts(),C=this.isWindows(),l=[];return o.length>0?l=o.map(r=>({id:r,resolvedpath:r,text:r,parentPath:"",children:[],evalState:0,isIndeterminate:!1,cls:"folder"})):l=[{id:"/",resolvedpath:"/",text:"Computer",parentPath:"",children:[],evalState:0,isIndeterminate:!1,cls:"folder"}],l.map(r=>{let g=new Map,c=r?.id;a&&(r.accepted=!0),g.set(r.id,r);let p=o.length>0?i.filter(d=>d.parentPath===r.id):i;for(let d of p){let b=o.length>0?d.id.replace(c??"",""):d.id,P=C?"\\":"/",_=b.split(P).filter(Boolean),E="",x=r;for(let H of _){if(E+=H+P,!g.has(E)){let I=d.hidden===!0&&t?0:this.#o(n,d.id,d.cls,x,C),w={id:d.id,isIndeterminate:this.isIndeterminate(n,d.id),evalState:I,parentPath:E,resolvedpath:d.id?.startsWith("%")?d.resolvedpath+P:E,hidden:d.hidden,text:d.text,cls:d.cls,children:[]};a&&(w.accepted=this.matchAccepts(a,w)),g.set(E,w),x.children.push(w)}x=g.get(E)}}return r}),l});#o(t,e,n,i,o){if(i.evalState===-1)return-2;let a=0,C=t.filter(r=>!r.startsWith("-")&&!r.startsWith("+")),l=t.filter(r=>r.startsWith("-")||r.startsWith("+"));if(C.length===0)return a;for(let r=0;r<C.length;r++){let g=C[r];if(e?.startsWith(g)){a=1;break}}if(l.length===0)return a;for(let r=0;r<l.length;r++){let g=l[r],c=g.slice(1),p=g.startsWith("-")?"exclude":"include",d=o?"\\":"/";if((o?c.slice(2):c).startsWith(d)&&c.endsWith(d)){if(n!=="folder")continue;if(e===c){a=p==="include"?1:-1;break}}if(c.startsWith("*")&&c.endsWith(`*${d}`)){if(n!=="folder")continue;let _=c.slice(1,-2);if(_==="")break;if(e?.includes(_+d)){a=p==="include"?1:-1;break}}if(c.startsWith("[.*")&&c.endsWith(`[^\\${d}]*]`)){if(n!=="file")continue;let _=c.slice(3,-7);if(new RegExp(_).test(e)){a=p==="include"?1:-1;break}}if(c.startsWith("[")&&c.endsWith("]")){let _=c.slice(1,-1),E=this.translateCSharpRegex(_);if(new RegExp(`${E}`).test(e)){a=p==="include"?1:-1;break}}if(c.startsWith("*.")){if(n!=="file"||c.replace("*.","").length===0)continue;if(this.#s(e,c,!0)){a=p==="include"?1:-1;break}}if(c==="")continue;if(c===e){a=p==="include"?1:-1;break}if(this.#s(e,c,!0)){a=p==="include"?1:-1;break}}return a}translateCSharpRegex(t){let e=t;e=e.replace(/^@/,"");let n=/\(\?<(?<name>\w+)>(?<pattern>[^)]+)\)/g;return e=e.replace(n,(i,o,a)=>`(${a})`),e=e.replace(/\\/g,"\\\\"),e}isIndeterminate(t,e){return t.some(n=>n.startsWith(e))}#s(t,e,n=!1){let i=e.replace(/\*/g,".*").replace(/\?/g,".").replace(/\[!([^\]]+)\]/g,"[^$1]");return new RegExp(`${i}${n?"$":""}`).test(t)}showHiddenNodesEffect=A(()=>this._showHiddenNodes.set(this.showHiddenNodes()));pathDiscoveryMethodEffect=A(()=>{let t=this.pathDiscoveryMethod(),e=this.#n();t==="browse"&&e&&this.currentPath.set(e.value)});matchAccepts(t,e){if(!t||e.cls==="folder"||e.id==="/")return!0;let n=t.split(",");if(n.length===0)return!0;let i="."+e.id.slice(e.id.indexOf("."));return i?n.some(o=>i.endsWith(o)):!1}currentPathEffect=A(()=>{let t=this.#n();t&&(t.value=this.currentPath(),t.dispatchEvent(new Event("input")))});inputValueChangeAbortController=null;inputRefEffect=A(()=>{let t=this.formRef()?.nativeElement?.querySelector("input");t&&(this.#a(t),this.inputValueChangeAbortController&&this.inputValueChangeAbortController.abort(),this.inputValueChangeAbortController=new AbortController,t.addEventListener("inputValueChanged",e=>{this.currentPath.set(e.detail.value)},{signal:this.inputValueChangeAbortController.signal}),this.#n.set(t),t.autocomplete="off")});ngOnInit(){let t=this.startingPath();if(t)this.currentPath.set(t),this.#p(t);else{let e=this.rootPaths();e&&e.length>0?this.#i(null,e[0]):this.#i(null,"/")}}toggleSelectedNode(t,e){if(e.id==="/"||(t.stopPropagation(),e.evalState===-2))return;if(this.selectFiles()&&e.cls==="folder"){this.toggleNode(e.id,e);return}if(this.accepts()&&!e.accepted)return;let i=this.currentPath().split("\0").filter(a=>a!==""&&a!=="/"),o=this.isChildOfSelected(e)?`-${e.id}`:e.id;this.multiSelect()?i.includes(e.id)?this.currentPath.set(i.filter(a=>a!==e.id).join("\0")):i.some(a=>a.startsWith(o))?this.currentPath.set(i.filter(a=>a!==o).join("\0")):this.currentPath.set([...i,o].join("\0")):i.includes(e.id)?this.currentPath.set(i.filter(a=>a!==e.id).join("\0")):this.currentPath.set(e.id)}isChildOfSelected(t){return this.currentPath().split("\0").filter(n=>n!==""&&n!=="/").some(n=>t.id?.startsWith(n)||`-${t.id}`.startsWith(n))}toggleNode(t,e=null){e?.cls==="folder"&&(e?.children.length?this.treeNodes.update(n=>n.filter(i=>!i.id?.startsWith(e.id)||i.id===e.id)):this.#i(e,t))}#l(){setTimeout(()=>{let e=this.treeContainerRef()?.nativeElement?.querySelector(".active");e&&e.scrollIntoView({behavior:"smooth",block:"center"})},100)}#a(t){return Object.defineProperty(t,"value",{configurable:!0,get(){return Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").get.call(this)},set(e){return Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").set.call(this,e),this.dispatchEvent(new CustomEvent("inputValueChanged",{bubbles:!0,cancelable:!0,detail:{value:e}})),e}}),t}#c(t){return this.#e.postApiV1Filesystem({showHidden:!0,requestBody:{path:t},onlyFolders:!this.showFiles()})}#d(t){let e=this.backupSettings();if(this.#t.hasV2ListOperations())return this.#e.postApiV2BackupListFolder({requestBody:{BackupId:e.id,Time:e.time,Paths:t?[t]:null,PageSize:0,Page:0}}).pipe(L(n=>n.Data??[]));{let n={id:e.id+"",prefixOnly:!1,folderContents:!0,time:e.time,filter:t?"@"+t:void 0};return this.#e.getApiV1BackupByIdFiles(n).pipe(L(i=>i.Files??[]))}}#r(t){return this.isByBackupSettings()?this.#d(t):this.#c(t)}#p(t){let e=this.isWindows(),n=t.split("\0").filter(l=>l.startsWith("-")).map(l=>l.slice(1,-1)),i=t.split("\0").filter(l=>!l.startsWith("-")).filter(Boolean),o=i.map(l=>l.split(e?"\\":"/").filter(r=>r.includes(".")?!1:r)),a=["/"];o.forEach(l=>{l.forEach((r,g)=>{let c=l.slice(0,g+1).join(e?"\\":"/"),p=c;p.indexOf(":")===-1&&!p.startsWith("%")&&(p="/"+c),a.includes(p)||a.push(p)})}),this.isLoading.set(!0);let C=a.map(l=>this.#r(l).pipe(L(r=>({status:"success",value:r,url:l})),ne(r=>ee({status:"error",value:r,url:l}))));te(C).pipe(q(()=>this.isLoading.set(!1))).subscribe({next:l=>{let r=l.filter(c=>c.status==="success"),g=l.filter(c=>c.status==="error");this.treeNodes.update(c=>{let p=r.flatMap(b=>b.value.map(P=>{let _=P.id,E=P.id.startsWith("%")&&P.id.endsWith("%")?P.resolvedpath+"/":P.id,x=_&&_.split("/").filter(Boolean).slice(0,-1).join("/"),I="/"+(_&&_.split("/").filter(Boolean).join("/")),w=i.findIndex(y=>this.multiSelect()?I.startsWith(y):I===y)>-1,Fe=i.findIndex(y=>y===_)>-1,Se=n.findIndex(y=>y===I)>-1;return G(j({},P),{cls:E.endsWith("/")||E.endsWith("\\")?"folder":"file",parentPath:x.startsWith("%")?x:"/"+x,isSelected:w&&!Se||Fe})})),d=[...new Map([...c,...p].map(b=>[b.id,b])).values()];return this.#l(),d})}})}#i(t=null,e="/"){this.isLoading.set(!0),this.#r(e).pipe(q(()=>this.isLoading.set(!1))).subscribe({next:n=>{let i=this.isByBackupSettings()?n.map(o=>{let C=o.Path.includes("\\")?"\\":"/";return{text:o.Path.split(C).filter(l=>l!=="").pop(),id:o.Path,cls:o.Path.endsWith(C)?"folder":"file",leaf:t!==null,resolvedpath:o.Path,hidden:!1}}):n;this.treeNodes.update(o=>{let a=i.map(l=>{let g=l.id.includes("\\")?"\\":"/",c=l.id.startsWith("%")&&l.id.endsWith("%")||l.id.endsWith(g)?"folder":"file";return G(j({},l),{cls:c,parentPath:e})}),C=[...new Map([...o,...a].map(l=>[l.id,l])).values()];return this.hideShortcuts()?C.filter(l=>!l.id.startsWith("%")):C})}})}static \u0275fac=function(e){return new(e||s)};static \u0275cmp=ie({type:s,selectors:[["app-file-tree"]],viewQuery:function(e,n){e&1&&(J(n.treeContainerRef,we,5),J(n.formRef,ye,5)),e&2&&pe(2)},hostVars:2,hostBindings:function(e,n){e&2&&T("disabled",n.disabled())},inputs:{multiSelect:[1,"multiSelect"],disabled:[1,"disabled"],showFiles:[1,"showFiles"],selectFiles:[1,"selectFiles"],accepts:[1,"accepts"],startingPath:[1,"startingPath"],rootPaths:[1,"rootPaths"],backupSettings:[1,"backupSettings"],pathRefreshTrigger:[1,"pathRefreshTrigger"],showHiddenNodes:[1,"showHiddenNodes"],hideShortcuts:[1,"hideShortcuts"]},outputs:{includes:"includes",excludes:"excludes"},ngContentSelectors:ke,decls:15,vars:15,consts:()=>{let t;t=$localize` Browser path `;let e;e=$localize` Manually type path `;let n;return n=$localize` Show hidden ${"\uFFFD0\uFFFD"}:INTERPOLATION: `,[["treeContainer",""],["recursiveTree",""],["formRef",""],["treeNode",""],t,e,n,[1,"section"],[1,"browse-files"],[1,"indeterminate","primary"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"primary","raised","browse-files-toggle",3,"active"],[1,"form-field"],["type","button",3,"click"],["action","",3,"click"],[1,"icon"],[1,"spk-primary"],[1,"text",3,"click"],[1,"small"],[1,"primary","raised","browse-files-toggle",3,"click"]]},template:function(e,n){if(e&1&&(de(Ne),M(0,Ae,5,4,"spk-button-group"),h(1,"div",7),D(2,0,["ngProjectAs","label",5,["label"]]),h(3,"div",8,0),M(5,Le,1,0,"spk-progress-bar",9)(6,Qe,3,2,"ng-template",null,1,_e)(8,Ke,1,0,"ng-container",10),f(),M(9,Ue,2,3,"spk-toggle",11),f(),h(10,"div",12,2)(12,"spk-form-field"),D(13,1,["ngProjectAs","label",5,["label"]]),D(14,2,["ngProjectAs","input",5,["input"]]),f()()),e&2){let i=Y(7);F(n.multiSelect()?-1:0),m(),T("hidden",n.pathDiscoveryMethod()!=="browse"),m(2),T("visualize-accepted",n.accepts()),m(2),F(n.isLoading()?5:-1),m(3),U("ngTemplateOutlet",i)("ngTemplateOutletContext",V(13,Me,V(11,Re,n.treeStructure()))),m(),F(!n.accepts()&&!n.isByBackupSettings()?9:-1),m(),T("hidden",n.pathDiscoveryMethod()!=="path")}},dependencies:[Ce,Te,me,Pe,Ee,ve,fe,xe],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;gap:1rem}.disabled[_nghost-%COMP%]{opacity:.5;-webkit-user-select:none;user-select:none;pointer-events:none;position:relative}.disabled[_nghost-%COMP%]:before{content:"";position:absolute;inset:0;background:transparent}.fill[_nghost-%COMP%]{height:auto;overflow:hidden;flex:1 0}.fill[_nghost-%COMP%] .section[_ngcontent-%COMP%]{height:auto;overflow:hidden;flex:1 0;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"label toggle" "tree tree"}.fill[_nghost-%COMP%] .browse-files[_ngcontent-%COMP%]{resize:none;height:initial;grid-area:tree}.fill[_nghost-%COMP%] label[_ngcontent-%COMP%]{grid-area:label}.fill[_nghost-%COMP%] spk-toggle[_ngcontent-%COMP%]{grid-area:toggle;flex-direction:row-reverse}.section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.form-field.hidden[_ngcontent-%COMP%]{display:none}.browse-files[_ngcontent-%COMP%]{display:flex;gap:.5rem;padding:.5rem 1rem;height:12.5rem;border:1px solid var(--base-level-40);border-radius:var(--shape-3);overflow:auto;resize:vertical;background:var(--base-level-10);position:relative}.browse-files[_ngcontent-%COMP%] spk-progress-bar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0}.browse-files.visualize-accepted[_ngcontent-%COMP%] [action][_ngcontent-%COMP%]:not(.accepted){opacity:.5}.browse-files.visualize-accepted[_ngcontent-%COMP%] [action].accepted[_ngcontent-%COMP%]{opacity:1}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%]{--list-active-bg: var(--base-level-30);gap:.125rem;padding:0;height:min-content;min-width:min-content}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%]{padding:0;gap:0;border:1px solid transparent}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].active[_ngcontent-%COMP%]{border-color:transparent;--list-active-bg: var(--primary-level-20)}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].indeterminate[_ngcontent-%COMP%]{border-color:var(--primary-level-40)}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].usually-hidden[_ngcontent-%COMP%]{opacity:.6}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].root[_ngcontent-%COMP%]{gap:.25rem}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].root[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]:has(spk-icon:nth-child(2)){width:3rem}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].root[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:1.5rem}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{flex:1 0;height:100%;width:max-content;display:flex;align-items:center}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:3rem;gap:.25rem;height:1.5rem;display:flex;align-items:center;justify-content:center;cursor:pointer}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%] .icon.file[_ngcontent-%COMP%]{width:2rem;padding:0 .25rem}.browse-files-toggle[_ngcontent-%COMP%]{color:var(--base-level-60R)}.hidden[_ngcontent-%COMP%]{display:none}'],changeDetection:0})};export{Z as a};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-ZGKHK6QQ.js";import"./chunk-P7IBR2UW.js";import"./chunk-P4ZFQZCA.js";import"./chunk-S5EF63OY.js";import"./chunk-7L2WUS2V.js";import"./chunk-L72ALLHJ.js";import"./chunk-7CGTOI24.js";export{a as default};