marketplacepos 3.13.2 → 3.13.4

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 (97) hide show
  1. package/Marketplace/chunk-2LGY3VGP.js +1 -0
  2. package/Marketplace/{chunk-FG5CLZ6F.js → chunk-2V6KLDRW.js} +1 -1
  3. package/Marketplace/{chunk-FX43R2N5.js → chunk-2YXHLXID.js} +1 -1
  4. package/Marketplace/{chunk-VOVI2B6O.js → chunk-3E32TXFL.js} +1 -1
  5. package/Marketplace/chunk-3IYAATQI.js +35 -0
  6. package/Marketplace/chunk-4R22UO7N.js +2 -0
  7. package/Marketplace/chunk-56OKLP66.js +3 -0
  8. package/Marketplace/{chunk-NNPT3RN6.js → chunk-5WXM6HSA.js} +1 -1
  9. package/Marketplace/{chunk-5TLAX43C.js → chunk-6BYODQW7.js} +1 -1
  10. package/Marketplace/{chunk-OFRBPREK.js → chunk-6U6JR5K6.js} +1 -1
  11. package/Marketplace/chunk-74C3CXV4.js +1 -0
  12. package/Marketplace/{chunk-KK2VCYNM.js → chunk-7V7R7T2V.js} +1 -1
  13. package/Marketplace/chunk-A2TGQ4MU.js +1 -0
  14. package/Marketplace/chunk-B3LBEB32.js +1 -0
  15. package/Marketplace/chunk-C3YE27TZ.js +8 -0
  16. package/Marketplace/{chunk-3LRKHZJF.js → chunk-D7X76LHU.js} +1 -1
  17. package/Marketplace/{chunk-IPX66YIX.js → chunk-DSF55IXM.js} +1 -1
  18. package/Marketplace/chunk-DUHXHNDB.js +2 -0
  19. package/Marketplace/{chunk-4VJSS2RP.js → chunk-E2QD6KYS.js} +1 -1
  20. package/Marketplace/{chunk-ENMVK7WN.js → chunk-EEAB43LH.js} +1 -1
  21. package/Marketplace/chunk-EKCNJX26.js +1 -0
  22. package/Marketplace/chunk-F4WIW6HA.js +1 -0
  23. package/Marketplace/{chunk-F2CKDRNC.js → chunk-F63GNFZE.js} +1 -1
  24. package/Marketplace/{chunk-FCVAME75.js → chunk-FZ7LVL4C.js} +1 -1
  25. package/Marketplace/{chunk-L536HOP7.js → chunk-G6HY2OKZ.js} +1 -1
  26. package/Marketplace/{chunk-AATQG55J.js → chunk-HH5OTDOQ.js} +1 -1
  27. package/Marketplace/{chunk-TX43EE6N.js → chunk-HXDXTE2F.js} +1 -1
  28. package/Marketplace/{chunk-M4VGME5L.js → chunk-IPYNDMGQ.js} +1 -1
  29. package/Marketplace/{chunk-VPYKYYBH.js → chunk-IYV3772A.js} +1 -1
  30. package/Marketplace/{chunk-VXKEHQ73.js → chunk-JCWZSFSB.js} +1 -1
  31. package/Marketplace/chunk-JTJLVSTV.js +1 -0
  32. package/Marketplace/{chunk-BMPACBBM.js → chunk-K7EHVRIN.js} +1 -1
  33. package/Marketplace/{chunk-HBHGO2RV.js → chunk-KCDL7SWP.js} +1 -1
  34. package/Marketplace/{chunk-GP3CFNYA.js → chunk-KCFS3M2K.js} +1 -1
  35. package/Marketplace/chunk-KEW3SGQJ.js +1 -0
  36. package/Marketplace/chunk-KWFES5F7.js +4 -0
  37. package/Marketplace/chunk-LYF2MCUF.js +1 -0
  38. package/Marketplace/{chunk-FON6ZRGN.js → chunk-MIZ2DGVO.js} +2 -2
  39. package/Marketplace/{chunk-CP7VAKTQ.js → chunk-MLGEX4PW.js} +1 -1
  40. package/Marketplace/{chunk-IP2WADIR.js → chunk-MSVZKMTY.js} +1 -1
  41. package/Marketplace/chunk-MVPTQRFO.js +1 -0
  42. package/Marketplace/{chunk-LCOFOENF.js → chunk-NSKF7OXH.js} +1 -1
  43. package/Marketplace/chunk-NZ5YWVLF.js +2 -0
  44. package/Marketplace/{chunk-FQUPOWRE.js → chunk-O44GD7BQ.js} +1 -1
  45. package/Marketplace/chunk-ON2NN4QX.js +1 -0
  46. package/Marketplace/{chunk-7CEWM7GE.js → chunk-PIIJRFHM.js} +1 -1
  47. package/Marketplace/{chunk-2UXFUEON.js → chunk-QPRFFPO5.js} +1 -1
  48. package/Marketplace/{chunk-M67NQISG.js → chunk-QW3M4EZ2.js} +1 -1
  49. package/Marketplace/chunk-QZKWUCMY.js +1 -0
  50. package/Marketplace/chunk-R7MYFLXJ.js +3 -0
  51. package/Marketplace/{chunk-NUHOGS4I.js → chunk-R7NUZJ6Z.js} +1 -1
  52. package/Marketplace/{chunk-5WVUQE43.js → chunk-RMD2ZXUN.js} +1 -1
  53. package/Marketplace/{chunk-Y4SOX2BE.js → chunk-RXRML6X2.js} +1 -1
  54. package/Marketplace/chunk-RZ7FKABW.js +1 -0
  55. package/Marketplace/chunk-S5GA4AVB.js +2 -0
  56. package/Marketplace/{chunk-ABGYQNLC.js → chunk-TSN4V54G.js} +1 -1
  57. package/Marketplace/chunk-U3LBIFGI.js +1 -0
  58. package/Marketplace/{chunk-CVLA5R75.js → chunk-V4UFHWKE.js} +1 -1
  59. package/Marketplace/chunk-V6L3NRY3.js +1 -0
  60. package/Marketplace/{chunk-WJI6JIBR.js → chunk-VOWLO2M7.js} +1 -1
  61. package/Marketplace/{chunk-DZHNXVSW.js → chunk-VQUUMT5F.js} +1 -1
  62. package/Marketplace/{chunk-7NHG2S26.js → chunk-WXUKZFAH.js} +1 -1
  63. package/Marketplace/{chunk-2GZOVNPU.js → chunk-YG3KQ63T.js} +1 -1
  64. package/Marketplace/{chunk-CS5AGUUI.js → chunk-YJSTLOLP.js} +1 -1
  65. package/Marketplace/{chunk-N23ZYP7G.js → chunk-YZ42FKNJ.js} +1 -1
  66. package/Marketplace/index.html +2 -2
  67. package/Marketplace/{main-6U2BHS4K.js → main-CKEU3YNI.js} +1 -1
  68. package/Marketplace/polyfills-MH5IBZ74.js +2 -0
  69. package/Marketplace/styles-BHJH7JG5.css +1 -0
  70. package/package.json +1 -1
  71. package/Marketplace/chunk-2Y4N4NSS.js +0 -2
  72. package/Marketplace/chunk-43TMSPFC.js +0 -1
  73. package/Marketplace/chunk-4TYJR476.js +0 -1
  74. package/Marketplace/chunk-77JORVC2.js +0 -8
  75. package/Marketplace/chunk-7GNI4BOW.js +0 -3
  76. package/Marketplace/chunk-7NWB2VB2.js +0 -1
  77. package/Marketplace/chunk-AAIK6JQ3.js +0 -4
  78. package/Marketplace/chunk-ARA3PK2O.js +0 -1
  79. package/Marketplace/chunk-BRTVFFDI.js +0 -1
  80. package/Marketplace/chunk-DXJFMERC.js +0 -1
  81. package/Marketplace/chunk-F5YRASNU.js +0 -1
  82. package/Marketplace/chunk-G6CZHXQI.js +0 -1
  83. package/Marketplace/chunk-GEEAZIV4.js +0 -1
  84. package/Marketplace/chunk-HYSXRUQ5.js +0 -1
  85. package/Marketplace/chunk-KRNA3GN5.js +0 -2
  86. package/Marketplace/chunk-LIS3LB3F.js +0 -1
  87. package/Marketplace/chunk-MEGPKKGI.js +0 -1
  88. package/Marketplace/chunk-MFCHLZW7.js +0 -3
  89. package/Marketplace/chunk-MUFSHB3B.js +0 -1
  90. package/Marketplace/chunk-OOBUECHW.js +0 -2
  91. package/Marketplace/chunk-PIDUM6XT.js +0 -2
  92. package/Marketplace/chunk-PMOYSZXY.js +0 -47
  93. package/Marketplace/chunk-TOGKMWQK.js +0 -1
  94. package/Marketplace/chunk-WMVEBC4Z.js +0 -1
  95. package/Marketplace/polyfills-KTKZVV2N.js +0 -2
  96. package/Marketplace/styles-4NMVKKKY.css +0 -1
  97. /package/Marketplace/{chunk-CRRJCY55.js → chunk-GNOSNGXM.js} +0 -0
@@ -0,0 +1,8 @@
1
+ import{a as D,b as J,i as Wn,k as uf,l as ti,m as lf,n as df}from"./chunk-GNOSNGXM.js";function T(t){return typeof t=="function"}function Wa(t){return T(t?.lift)}function S(t){return e=>{if(Wa(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function Xt(t){let r=t(n=>{Error.call(n),n.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var ni=Xt(t=>function(r){t(this),this.message=r?`${r.length} errors occurred during unsubscription:
2
+ ${r.map((n,o)=>`${o+1}) ${n.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=r});function En(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var X=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let i of r)i.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(T(n))try{n()}catch(i){e=i instanceof ni?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{ff(i)}catch(s){e=e??[],s instanceof ni?e=[...e,...s.errors]:e.push(s)}}if(e)throw new ni(e)}}add(e){var r;if(e&&e!==this)if(this.closed)ff(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&En(r,e)}remove(e){let{_finalizers:r}=this;r&&En(r,e),e instanceof t&&e._removeParent(this)}};X.EMPTY=(()=>{let t=new X;return t.closed=!0,t})();var Za=X.EMPTY;function ri(t){return t instanceof X||t&&"closed"in t&&T(t.remove)&&T(t.add)&&T(t.unsubscribe)}function ff(t){T(t)?t():t.unsubscribe()}var Ke={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Zn={setTimeout(t,e,...r){let{delegate:n}=Zn;return n?.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Zn;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function oi(t){Zn.setTimeout(()=>{let{onUnhandledError:e}=Ke;if(e)e(t);else throw t})}function Je(){}var hf=Ya("C",void 0,void 0);function pf(t){return Ya("E",void 0,t)}function gf(t){return Ya("N",t,void 0)}function Ya(t,e,r){return{kind:t,value:e,error:r}}var In=null;function Yn(t){if(Ke.useDeprecatedSynchronousErrorHandling){let e=!In;if(e&&(In={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=In;if(In=null,r)throw n}}else t()}function mf(t){Ke.useDeprecatedSynchronousErrorHandling&&In&&(In.errorThrown=!0,In.error=t)}var Cn=class extends X{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,ri(e)&&e.add(this)):this.destination=qy}static create(e,r,n){return new Tt(e,r,n)}next(e){this.isStopped?Ka(gf(e),this):this._next(e)}error(e){this.isStopped?Ka(pf(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Ka(hf,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},zy=Function.prototype.bind;function Qa(t,e){return zy.call(t,e)}var Ja=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){ii(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){ii(n)}else ii(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){ii(r)}}},Tt=class extends Cn{constructor(e,r,n){super();let o;if(T(e)||!e)o={next:e??void 0,error:r??void 0,complete:n??void 0};else{let i;this&&Ke.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Qa(e.next,i),error:e.error&&Qa(e.error,i),complete:e.complete&&Qa(e.complete,i)}):o=e}this.destination=new Ja(o)}};function ii(t){Ke.useDeprecatedSynchronousErrorHandling?mf(t):oi(t)}function Gy(t){throw t}function Ka(t,e){let{onStoppedNotification:r}=Ke;r&&Zn.setTimeout(()=>r(t,e))}var qy={closed:!0,next:Je,error:Gy,complete:Je};function b(t,e,r,n,o){return new Xa(t,e,r,n,o)}var Xa=class extends Cn{constructor(e,r,n,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(c){e.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function R(t,e){return S((r,n)=>{let o=0;r.subscribe(b(n,i=>{n.next(t.call(e,i,o++))}))})}function ne(t,e){return S((r,n)=>{let o=0;r.subscribe(b(n,i=>t.call(e,i,o++)&&n.next(i)))})}var Qn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function ge(t){return t}function ec(...t){return tc(t)}function tc(t){return t.length===0?ge:t.length===1?t[0]:function(r){return t.reduce((n,o)=>o(n),r)}}var k=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,o){let i=Zy(r)?r:new Tt(r,n,o);return Yn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=vf(n),new n((o,i)=>{let s=new Tt({next:a=>{try{r(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Qn](){return this}pipe(...r){return tc(r)(this)}toPromise(r){return r=vf(r),new r((n,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>n(i))})}}return t.create=e=>new t(e),t})();function vf(t){var e;return(e=t??Ke.Promise)!==null&&e!==void 0?e:Promise}function Wy(t){return t&&T(t.next)&&T(t.error)&&T(t.complete)}function Zy(t){return t&&t instanceof Cn||Wy(t)&&ri(t)}var yf=Xt(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var re=(()=>{class t extends k{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new si(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new yf}next(r){Yn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Yn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Yn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:o,observers:i}=this;return n||o?Za:(this.currentObservers=null,i.push(r),new X(()=>{this.currentObservers=null,En(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new k;return r.source=this,r}}return t.create=(e,r)=>new si(e,r),t})(),si=class extends re{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,e)}error(e){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&n!==void 0?n:Za}};var Gr={now(){return(Gr.delegate||Date).now()},delegate:void 0};var qr=class extends re{constructor(e=1/0,r=1/0,n=Gr){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:n,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;r||(n.push(e),!o&&n.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!e.closed;s+=n?1:2)e.next(i[s]);return this._checkFinalizedStatuses(e),r}_trimBuffer(){let{_bufferSize:e,_timestampProvider:r,_buffer:n,_infiniteTimeWindow:o}=this,i=(o?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!o){let s=r.now(),a=0;for(let c=1;c<n.length&&n[c]<=s;c+=2)a=c;a&&n.splice(0,a+1)}}};var Kn=t=>t&&typeof t.length=="number"&&typeof t!="function";function ai(t){return T(t?.then)}function ci(t){return T(t[Qn])}function ui(t){return Symbol.asyncIterator&&T(t?.[Symbol.asyncIterator])}function li(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Yy(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var di=Yy();function fi(t){return T(t?.[di])}function hi(t){return lf(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:o}=yield ti(r.read());if(o)return yield ti(void 0);yield yield ti(n)}}finally{r.releaseLock()}})}function pi(t){return T(t?.getReader)}function L(t){if(t instanceof k)return t;if(t!=null){if(ci(t))return Qy(t);if(Kn(t))return Ky(t);if(ai(t))return Jy(t);if(ui(t))return Df(t);if(fi(t))return Xy(t);if(pi(t))return eD(t)}throw li(t)}function Qy(t){return new k(e=>{let r=t[Qn]();if(T(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Ky(t){return new k(e=>{for(let r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function Jy(t){return new k(e=>{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,oi)})}function Xy(t){return new k(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Df(t){return new k(e=>{tD(t,e).catch(r=>e.error(r))})}function eD(t){return Df(hi(t))}function tD(t,e){var r,n,o,i;return uf(this,void 0,void 0,function*(){try{for(r=df(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){o={error:s}}finally{try{n&&!n.done&&(i=r.return)&&(yield i.call(r))}finally{if(o)throw o.error}}e.complete()})}function rc(t={}){let{connector:e=()=>new re,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,c,u=0,l=!1,d=!1,f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=c=void 0,l=d=!1},p=()=>{let y=s;h(),y?.unsubscribe()};return S((y,m)=>{u++,!d&&!l&&f();let v=c=c??e();m.add(()=>{u--,u===0&&!d&&!l&&(a=nc(p,o))}),v.subscribe(m),!s&&u>0&&(s=new Tt({next:F=>v.next(F),error:F=>{d=!0,f(),a=nc(h,r,F),v.error(F)},complete:()=>{l=!0,f(),a=nc(h,n),v.complete()}}),L(y).subscribe(s))})(i)}}function nc(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new Tt({next:()=>{n.unsubscribe(),t()}});return L(e(...r)).subscribe(n)}function wf(t,e,r){let n,o=!1;return t&&typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:o=!1,scheduler:r}=t:n=t??1/0,rc({connector:()=>new qr(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function se(t,e,r){let n=T(t)||e||r?{next:t,error:e,complete:r}:t;return n?S((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(b(i,c=>{var u;(u=n.next)===null||u===void 0||u.call(n,c),i.next(c)},()=>{var c;a=!1,(c=n.complete)===null||c===void 0||c.call(n),i.complete()},c=>{var u;a=!1,(u=n.error)===null||u===void 0||u.call(n,c),i.error(c)},()=>{var c,u;a&&((c=n.unsubscribe)===null||c===void 0||c.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):ge}function Jn(){return S((t,e)=>{let r=null;t._refCount++;let n=b(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let o=t._connection,i=r;r=null,o&&(!i||o===i)&&o.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var Xn=class extends k{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Wa(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new X;let r=this.getSubject();e.add(this.source.subscribe(b(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=X.EMPTY)}return e}refCount(){return Jn()(this)}};var er={schedule(t){let e=requestAnimationFrame,r=cancelAnimationFrame,{delegate:n}=er;n&&(e=n.requestAnimationFrame,r=n.cancelAnimationFrame);let o=e(i=>{r=void 0,t(i)});return new X(()=>r?.(o))},requestAnimationFrame(...t){let{delegate:e}=er;return(e?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:e}=er;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var me=class extends re{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:n}=this;if(e)throw r;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var gi=class extends X{constructor(e,r){super()}schedule(e,r=0){return this}};var Wr={setInterval(t,e,...r){let{delegate:n}=Wr;return n?.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=Wr;return(e?.clearInterval||clearInterval)(t)},delegate:void 0};var ut=class extends gi{constructor(e,r){super(e,r),this.scheduler=e,this.work=r,this.pending=!1}schedule(e,r=0){var n;if(this.closed)return this;this.state=e;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,r)),this.pending=!0,this.delay=r,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(i,this.id,r),this}requestAsyncId(e,r,n=0){return Wr.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,r,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return r;r!=null&&Wr.clearInterval(r)}execute(e,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,r);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,r){let n=!1,o;try{this.work(e)}catch(i){n=!0,o=i||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:e,scheduler:r}=this,{actions:n}=r;this.work=this.state=this.scheduler=null,this.pending=!1,En(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var nD=1,oc,ic={};function Ef(t){return t in ic?(delete ic[t],!0):!1}var If={setImmediate(t){let e=nD++;return ic[e]=!0,oc||(oc=Promise.resolve()),oc.then(()=>Ef(e)&&t()),e},clearImmediate(t){Ef(t)}};var{setImmediate:rD,clearImmediate:oD}=If,Zr={setImmediate(...t){let{delegate:e}=Zr;return(e?.setImmediate||rD)(...t)},clearImmediate(t){let{delegate:e}=Zr;return(e?.clearImmediate||oD)(t)},delegate:void 0};var mi=class extends ut{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=Zr.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,n=0){var o;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:i}=e;r!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==r&&(Zr.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var tr=class t{constructor(e,r=t.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};tr.now=Gr.now;var lt=class extends tr{constructor(e,r=tr.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,n){for(;e=r.shift();)e.unsubscribe();throw n}}};var vi=class extends lt{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,o;e=e||n.shift();do if(o=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,o){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw o}}};var iD=new vi(mi);var dt=new lt(ut),sc=dt;var yi=class extends ut{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}schedule(e,r=0){return r>0?super.schedule(e,r):(this.delay=r,this.state=e,this.scheduler.flush(this),this)}execute(e,r){return r>0||this.closed?super.execute(e,r):this._execute(e,r)}requestAsyncId(e,r,n=0){return n!=null&&n>0||n==null&&this.delay>0?super.requestAsyncId(e,r,n):(e.flush(this),0)}};var Di=class extends lt{};var sD=new Di(yi);var wi=class extends ut{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,n=0){return n!==null&&n>0?super.requestAsyncId(e,r,n):(e.actions.push(this),e._scheduled||(e._scheduled=er.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,r,n=0){var o;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,r,n);let{actions:i}=e;r!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==r&&(er.cancelAnimationFrame(r),e._scheduled=void 0)}};var Ei=class extends lt{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:n}=this,o;e=e||n.shift();do if(o=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===r&&n.shift());if(this._active=!1,o){for(;(e=n[0])&&e.id===r&&n.shift();)e.unsubscribe();throw o}}};var aD=new Ei(wi);var Me=new k(t=>t.complete());function Ii(t){return t&&T(t.schedule)}function ac(t){return t[t.length-1]}function nr(t){return T(ac(t))?t.pop():void 0}function ft(t){return Ii(ac(t))?t.pop():void 0}function Cf(t,e){return typeof ac(t)=="number"?t.pop():e}function we(t,e,r,n=0,o=!1){let i=e.schedule(function(){r(),o?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(i),!o)return i}function Yr(t,e=0){return S((r,n)=>{r.subscribe(b(n,o=>we(n,t,()=>n.next(o),e),()=>we(n,t,()=>n.complete(),e),o=>we(n,t,()=>n.error(o),e)))})}function Qr(t,e=0){return S((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function bf(t,e){return L(t).pipe(Qr(e),Yr(e))}function Mf(t,e){return L(t).pipe(Qr(e),Yr(e))}function Sf(t,e){return new k(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Tf(t,e){return new k(r=>{let n;return we(r,e,()=>{n=t[di](),we(r,e,()=>{let o,i;try{({value:o,done:i}=n.next())}catch(s){r.error(s);return}i?r.complete():r.next(o)},0,!0)}),()=>T(n?.return)&&n.return()})}function Ci(t,e){if(!t)throw new Error("Iterable cannot be null");return new k(r=>{we(r,e,()=>{let n=t[Symbol.asyncIterator]();we(r,e,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function xf(t,e){return Ci(hi(t),e)}function _f(t,e){if(t!=null){if(ci(t))return bf(t,e);if(Kn(t))return Sf(t,e);if(ai(t))return Mf(t,e);if(ui(t))return Ci(t,e);if(fi(t))return Tf(t,e);if(pi(t))return xf(t,e)}throw li(t)}function Y(t,e){return e?_f(t,e):L(t)}function x(...t){let e=ft(t);return Y(t,e)}function rr(t,e){let r=T(t)?t:()=>t,n=o=>o.error(r());return new k(e?o=>e.schedule(n,0,o):n)}function cc(t){return!!t&&(t instanceof k||T(t.lift)&&T(t.subscribe))}var xt=Xt(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function bi(t){return t instanceof Date&&!isNaN(t)}var cD=Xt(t=>function(r=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r});function uD(t,e){let{first:r,each:n,with:o=lD,scheduler:i=e??dt,meta:s=null}=bi(t)?{first:t}:typeof t=="number"?{each:t}:t;if(r==null&&n==null)throw new TypeError("No timeout provided.");return S((a,c)=>{let u,l,d=null,f=0,h=p=>{l=we(c,i,()=>{try{u.unsubscribe(),L(o({meta:s,lastValue:d,seen:f})).subscribe(c)}catch(y){c.error(y)}},p)};u=a.subscribe(b(c,p=>{l?.unsubscribe(),f++,c.next(d=p),n>0&&h(n)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),d=null})),!f&&h(r!=null?typeof r=="number"?r:+r-i.now():n)})}function lD(t){throw new cD(t)}var{isArray:dD}=Array;function fD(t,e){return dD(e)?t(...e):t(e)}function or(t){return R(e=>fD(t,e))}var{isArray:hD}=Array,{getPrototypeOf:pD,prototype:gD,keys:mD}=Object;function Mi(t){if(t.length===1){let e=t[0];if(hD(e))return{args:e,keys:null};if(vD(e)){let r=mD(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function vD(t){return t&&typeof t=="object"&&pD(t)===gD}function Si(t,e){return t.reduce((r,n,o)=>(r[n]=e[o],r),{})}function Kr(...t){let e=ft(t),r=nr(t),{args:n,keys:o}=Mi(t);if(n.length===0)return Y([],e);let i=new k(yD(n,e,o?s=>Si(o,s):ge));return r?i.pipe(or(r)):i}function yD(t,e,r=ge){return n=>{Nf(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Nf(e,()=>{let u=Y(t[c],e),l=!1;u.subscribe(b(n,d=>{i[c]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Nf(t,e,r){t?we(r,t,e):e()}function Af(t,e,r,n,o,i,s,a){let c=[],u=0,l=0,d=!1,f=()=>{d&&!c.length&&!u&&e.complete()},h=y=>u<n?p(y):c.push(y),p=y=>{i&&e.next(y),u++;let m=!1;L(r(y,l++)).subscribe(b(e,v=>{o?.(v),i?h(v):e.next(v)},()=>{m=!0},void 0,()=>{if(m)try{for(u--;c.length&&u<n;){let v=c.shift();s?we(e,s,()=>p(v)):p(v)}f()}catch(v){e.error(v)}}))};return t.subscribe(b(e,h,()=>{d=!0,f()})),()=>{a?.()}}function ee(t,e,r=1/0){return T(e)?ee((n,o)=>R((i,s)=>e(n,i,o,s))(L(t(n,o))),r):(typeof e=="number"&&(r=e),S((n,o)=>Af(n,o,t,r)))}function ht(t=1/0){return ee(ge,t)}function Rf(){return ht(1)}function ir(...t){return Rf()(Y(t,ft(t)))}function Ti(t){return new k(e=>{L(t()).subscribe(e)})}function DD(...t){let e=nr(t),{args:r,keys:n}=Mi(t),o=new k(i=>{let{length:s}=r;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;L(r[l]).subscribe(b(i,f=>{d||(d=!0,u--),a[l]=f},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(n?Si(n,a):a),i.complete())}))}});return e?o.pipe(or(e)):o}var wD=["addListener","removeListener"],ED=["addEventListener","removeEventListener"],ID=["on","off"];function uc(t,e,r,n){if(T(r)&&(n=r,r=void 0),n)return uc(t,e,r).pipe(or(n));let[o,i]=MD(t)?ED.map(s=>a=>t[s](e,a,r)):CD(t)?wD.map(Of(t,e)):bD(t)?ID.map(Of(t,e)):[];if(!o&&Kn(t))return ee(s=>uc(s,e,r))(L(t));if(!o)throw new TypeError("Invalid event target");return new k(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Of(t,e){return r=>n=>t[r](e,n)}function CD(t){return T(t.addListener)&&T(t.removeListener)}function bD(t){return T(t.on)&&T(t.off)}function MD(t){return T(t.addEventListener)&&T(t.removeEventListener)}function Jr(t=0,e,r=sc){let n=-1;return e!=null&&(Ii(e)?r=e:n=e),new k(o=>{let i=bi(t)?+t-r.now():t;i<0&&(i=0);let s=0;return r.schedule(function(){o.closed||(o.next(s++),0<=n?this.schedule(void 0,n):o.complete())},i)})}function SD(t=0,e=dt){return t<0&&(t=0),Jr(t,t,e)}function TD(...t){let e=ft(t),r=Cf(t,1/0),n=t;return n.length?n.length===1?L(n[0]):ht(r)(Y(n,e)):Me}function Pf(t,e){return(r,n)=>!t.call(e,r,n)}function xD(t,e,r){return[ne(e,r)(L(t)),ne(Pf(e,r))(L(t))]}function Ff(t){return S((e,r)=>{let n=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,n){n=!1;let u=o;o=null,r.next(u)}s&&r.complete()},c=()=>{i=null,s&&r.complete()};e.subscribe(b(r,u=>{n=!0,o=u,i||L(t(u)).subscribe(i=b(r,a,c))},()=>{s=!0,(!n||!i||i.closed)&&r.complete()}))})}function _D(t,e=dt){return Ff(()=>Jr(t,e))}function _t(t){return S((e,r)=>{let n=null,o=!1,i;n=e.subscribe(b(r,void 0,void 0,s=>{i=L(t(s,_t(t)(e))),n?(n.unsubscribe(),n=null,i.subscribe(r)):o=!0})),o&&(n.unsubscribe(),n=null,i.subscribe(r))})}function kf(t,e,r,n,o){return(i,s)=>{let a=r,c=e,u=0;i.subscribe(b(s,l=>{let d=u++;c=a?t(c,l,d):(a=!0,l),n&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function pt(t,e){return T(e)?ee(t,e,1):ee(t,1)}function ND(t){return S((e,r)=>{let n=!1,o=null,i=null,s=()=>{if(i?.unsubscribe(),i=null,n){n=!1;let a=o;o=null,r.next(a)}};e.subscribe(b(r,a=>{i?.unsubscribe(),n=!0,o=a,i=b(r,s,Je),L(t(a)).subscribe(i)},()=>{s(),r.complete()},void 0,()=>{o=i=null}))})}function AD(t,e=dt){return S((r,n)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let u=i;i=null,n.next(u)}};function c(){let u=s+t,l=e.now();if(l<u){o=this.schedule(void 0,u-l),n.add(o);return}a()}r.subscribe(b(n,u=>{i=u,s=e.now(),o||(o=e.schedule(c,t),n.add(o))},()=>{a(),n.complete()},void 0,()=>{i=o=null}))})}function en(t){return S((e,r)=>{let n=!1;e.subscribe(b(r,o=>{n=!0,r.next(o)},()=>{n||r.next(t),r.complete()}))})}function Nt(t){return t<=0?()=>Me:S((e,r)=>{let n=0;e.subscribe(b(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function RD(){return S((t,e)=>{t.subscribe(b(e,Je))})}function lc(t){return R(()=>t)}function OD(t,e=ge){return t=t??PD,S((r,n)=>{let o,i=!0;r.subscribe(b(n,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,n.next(s))}))})}function PD(t,e){return t===e}function xi(t=FD){return S((e,r)=>{let n=!1;e.subscribe(b(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function FD(){return new xt}function kD(t,e){return S((r,n)=>{let o=0;r.subscribe(b(n,i=>{t.call(e,i,o++,r)||(n.next(!1),n.complete())},()=>{n.next(!0),n.complete()}))})}function tn(t){return S((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function gt(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ne((o,i)=>t(o,i,n)):ge,Nt(1),r?en(e):xi(()=>new xt))}function sr(t){return t<=0?()=>Me:S((e,r)=>{let n=[];e.subscribe(b(r,o=>{n.push(o),t<n.length&&n.shift()},()=>{for(let o of n)r.next(o);r.complete()},void 0,()=>{n=null}))})}function dc(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ne((o,i)=>t(o,i,n)):ge,sr(1),r?en(e):xi(()=>new xt))}function _i(t,e){return S(kf(t,e,arguments.length>=2,!0))}function LD(t){return ne((e,r)=>t<=r)}function fc(...t){let e=ft(t);return S((r,n)=>{(e?ir(t,r,e):ir(t,r)).subscribe(n)})}function de(t,e){return S((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(b(n,c=>{o?.unsubscribe();let u=0,l=i++;L(t(c,l)).subscribe(o=b(n,d=>n.next(e?e(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function jD(t,e){return T(e)?de(()=>t,e):de(()=>t)}function Ni(t){return S((e,r)=>{L(t).subscribe(b(r,()=>r.complete(),Je)),!r.closed&&e.subscribe(r)})}function VD(t,e=!1){return S((r,n)=>{let o=0;r.subscribe(b(n,i=>{let s=t(i,o++);(s||e)&&n.next(i),!s&&n.complete()}))})}function UD(...t){let e=nr(t);return S((r,n)=>{let o=t.length,i=new Array(o),s=t.map(()=>!1),a=!1;for(let c=0;c<o;c++)L(t[c]).subscribe(b(n,u=>{i[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(ge))&&(s=null))},Je));r.subscribe(b(n,c=>{if(a){let u=[c,...i];n.next(e?e(...u):u)}}))})}function Lf(t,e){return Object.is(t,e)}var ae=null,Xr=!1,Ai=1,Le=Symbol("SIGNAL");function j(t){let e=ae;return ae=t,e}function jf(){return ae}function $D(){return Xr}var ar={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,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Oi(t){if(Xr)throw new Error("");if(ae===null)return;ae.consumerOnSignalRead(t);let e=ae.nextProducerIndex++;if(ji(ae),e<ae.producerNode.length&&ae.producerNode[e]!==t&&eo(ae)){let r=ae.producerNode[e];Li(r,ae.producerIndexOfThis[e])}ae.producerNode[e]!==t&&(ae.producerNode[e]=t,ae.producerIndexOfThis[e]=eo(ae)?Hf(t,ae,e):0),ae.producerLastReadVersion[e]=t.version}function BD(){Ai++}function Vf(t){if(!(eo(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Ai)){if(!t.producerMustRecompute(t)&&!Fi(t)){t.dirty=!1,t.lastCleanEpoch=Ai;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Ai}}function Uf(t){if(t.liveConsumerNode===void 0)return;let e=Xr;Xr=!0;try{for(let r of t.liveConsumerNode)r.dirty||Bf(r)}finally{Xr=e}}function $f(){return ae?.consumerAllowSignalWrites!==!1}function Bf(t){t.dirty=!0,Uf(t),t.consumerMarkedDirty?.(t)}function to(t){return t&&(t.nextProducerIndex=0),j(t)}function Pi(t,e){if(j(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(eo(t))for(let r=t.nextProducerIndex;r<t.producerNode.length;r++)Li(t.producerNode[r],t.producerIndexOfThis[r]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Fi(t){ji(t);for(let e=0;e<t.producerNode.length;e++){let r=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==r.version||(Vf(r),n!==r.version))return!0}return!1}function ki(t){if(ji(t),eo(t))for(let e=0;e<t.producerNode.length;e++)Li(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Hf(t,e,r){if(zf(t),t.liveConsumerNode.length===0&&Gf(t))for(let n=0;n<t.producerNode.length;n++)t.producerIndexOfThis[n]=Hf(t.producerNode[n],t,n);return t.liveConsumerIndexOfThis.push(r),t.liveConsumerNode.push(e)-1}function Li(t,e){if(zf(t),t.liveConsumerNode.length===1&&Gf(t))for(let n=0;n<t.producerNode.length;n++)Li(t.producerNode[n],t.producerIndexOfThis[n]);let r=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[r],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[r],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],o=t.liveConsumerNode[e];ji(o),o.producerIndexOfThis[n]=e}}function eo(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function ji(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function zf(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function Gf(t){return t.producerNode!==void 0}function mc(t){let e=Object.create(HD);e.computation=t;let r=()=>{if(Vf(e),Oi(e),e.value===Ri)throw e.error;return e.value};return r[Le]=e,r}var hc=Symbol("UNSET"),pc=Symbol("COMPUTING"),Ri=Symbol("ERRORED"),HD=J(D({},ar),{value:hc,dirty:!0,error:null,equal:Lf,producerMustRecompute(t){return t.value===hc||t.value===pc},producerRecomputeValue(t){if(t.value===pc)throw new Error("Detected cycle in computations.");let e=t.value;t.value=pc;let r=to(t),n;try{n=t.computation()}catch(o){n=Ri,t.error=o}finally{Pi(t,r)}if(e!==hc&&e!==Ri&&n!==Ri&&t.equal(e,n)){t.value=e;return}t.value=n,t.version++}});function zD(){throw new Error}var qf=zD;function Wf(){qf()}function Zf(t){qf=t}var GD=null;function Yf(t){let e=Object.create(vc);e.value=t;let r=()=>(Oi(e),e.value);return r[Le]=e,r}function Vi(t,e){$f()||Wf(),t.equal(t.value,e)||(t.value=e,qD(t))}function Qf(t,e){$f()||Wf(),Vi(t,e(t.value))}var vc=J(D({},ar),{equal:Lf,value:void 0});function qD(t){t.version++,BD(),Uf(t),GD?.()}function Kf(t,e,r){let n=Object.create(WD);r&&(n.consumerAllowSignalWrites=!0),n.fn=t,n.schedule=e;let o=c=>{n.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||(ki(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=gc)}let a=()=>{if(n.fn===null)return;if($D())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(n.dirty=!1,n.hasRun&&!Fi(n))return;n.hasRun=!0;let c=to(n);try{n.cleanupFn(),n.cleanupFn=gc,n.fn(o)}finally{Pi(n,c)}};return n.ref={notify:()=>Bf(n),run:a,cleanup:()=>n.cleanupFn(),destroy:()=>s(n),[Le]:n},n.ref}var gc=()=>{},WD=J(D({},ar),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:gc});var Zh="https://g.co/ng/security#xss",w=class extends Error{constructor(e,r){super(Ss(e,r)),this.code=e}};function Ss(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var Yh=Symbol("InputSignalNode#UNSET"),ZD=J(D({},vc),{transformFn:void 0,applyValueToInputSignal(t,e){Vi(t,e)}});function Qh(t,e){let r=Object.create(ZD);r.value=t,r.transformFn=e?.transform;function n(){if(Oi(r),r.value===Yh)throw new w(-950,!1);return r.value}return n[Le]=r,n}function go(t){return{toString:t}.toString()}var Ui="__parameters__";function YD(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function Kh(t,e,r){return go(()=>{let n=YD(e);function o(...i){if(this instanceof o)return n.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,u,l){let d=c.hasOwnProperty(Ui)?c[Ui]:Object.defineProperty(c,Ui,{value:[]})[Ui];for(;d.length<=l;)d.push(null);return(d[l]=d[l]||[]).push(s),c}}return r&&(o.prototype=Object.create(r.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}var ue=globalThis;function q(t){for(let e in t)if(t[e]===q)return e;throw Error("Could not find renamed property on target object.")}function QD(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function xe(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(xe).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(`
4
+ `);return r===-1?e:e.substring(0,r)}function Rc(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var KD=q({__forward_ref__:q});function Jh(t){return t.__forward_ref__=Jh,t.toString=function(){return xe(this())},t}function ve(t){return Xh(t)?t():t}function Xh(t){return typeof t=="function"&&t.hasOwnProperty(KD)&&t.__forward_ref__===Jh}function I(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function un(t){return{providers:t.providers||[],imports:t.imports||[]}}function Ts(t){return Jf(t,tp)||Jf(t,np)}function ep(t){return Ts(t)!==null}function Jf(t,e){return t.hasOwnProperty(e)?t[e]:null}function JD(t){let e=t&&(t[tp]||t[np]);return e||null}function Xf(t){return t&&(t.hasOwnProperty(eh)||t.hasOwnProperty(XD))?t[eh]:null}var tp=q({\u0275prov:q}),eh=q({\u0275inj:q}),np=q({ngInjectableDef:q}),XD=q({ngInjectorDef:q}),E=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=I({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function rp(t){return t&&!!t.\u0275providers}var ew=q({\u0275cmp:q}),tw=q({\u0275dir:q}),nw=q({\u0275pipe:q}),rw=q({\u0275mod:q}),es=q({\u0275fac:q}),no=q({__NG_ELEMENT_ID__:q}),th=q({__NG_ENV_ID__:q});function Tn(t){return typeof t=="string"?t:t==null?"":String(t)}function ow(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Tn(t)}function iw(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new w(-200,t)}function Hu(t,e){throw new w(-201,!1)}var P=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(P||{}),Oc;function op(){return Oc}function Oe(t){let e=Oc;return Oc=t,e}function ip(t,e,r){let n=Ts(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&P.Optional)return null;if(e!==void 0)return e;Hu(t,"Injector")}var sw={},oo=sw,Pc="__NG_DI_FLAG__",ts="ngTempTokenPath",aw="ngTokenPath",cw=/\n/gm,uw="\u0275",nh="__source",dr;function lw(){return dr}function nn(t){let e=dr;return dr=t,e}function dw(t,e=P.Default){if(dr===void 0)throw new w(-203,!1);return dr===null?ip(t,void 0,e):dr.get(t,e&P.Optional?null:void 0,e)}function C(t,e=P.Default){return(op()||dw)(ve(t),e)}function g(t,e=P.Default){return C(t,xs(e))}function xs(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Fc(t){let e=[];for(let r=0;r<t.length;r++){let n=ve(t[r]);if(Array.isArray(n)){if(n.length===0)throw new w(900,!1);let o,i=P.Default;for(let s=0;s<n.length;s++){let a=n[s],c=fw(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}e.push(C(o,i))}else e.push(C(n))}return e}function sp(t,e){return t[Pc]=e,t.prototype[Pc]=e,t}function fw(t){return t[Pc]}function hw(t,e,r,n){let o=t[ts];throw e[nh]&&o.unshift(e[nh]),t.message=pw(`
5
+ `+t.message,o,r,n),t[aw]=o,t[ts]=null,t}function pw(t,e,r,n=null){t=t&&t.charAt(0)===`
6
+ `&&t.charAt(1)==uw?t.slice(2):t;let o=xe(e);if(Array.isArray(e))o=e.map(xe).join(" -> ");else if(typeof e=="object"){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):xe(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(cw,`
7
+ `)}`}var mo=sp(Kh("Optional"),8);var _s=sp(Kh("SkipSelf"),4);function xn(t,e){let r=t.hasOwnProperty(es);return r?t[es]:null}function gw(t,e,r){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let o=t[n],i=e[n];if(r&&(o=r(o),i=r(i)),i!==o)return!1}return!0}function mw(t){return t.flat(Number.POSITIVE_INFINITY)}function zu(t,e){t.forEach(r=>Array.isArray(r)?zu(r,e):e(r))}function ap(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function ns(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function vw(t,e){let r=[];for(let n=0;n<t;n++)r.push(e);return r}function yw(t,e,r,n){let o=t.length;if(o==e)t.push(r,n);else if(o===1)t.push(n,t[0]),t[0]=r;else{for(o--,t.push(t[o-1],t[o]);o>e;){let i=o-2;t[o]=t[i],o--}t[e]=r,t[e+1]=n}}function vo(t,e,r){let n=yo(t,e);return n>=0?t[n|1]=r:(n=~n,yw(t,n,e,r)),n}function yc(t,e){let r=yo(t,e);if(r>=0)return t[r|1]}function yo(t,e){return Dw(t,e,1)}function Dw(t,e,r){let n=0,o=t.length>>r;for(;o!==n;){let i=n+(o-n>>1),s=t[i<<r];if(e===s)return i<<r;s>e?o=i:n=i+1}return~(o<<r)}var At={},Se=[],hr=new E(""),cp=new E("",-1),up=new E(""),rs=class{get(e,r=oo){if(r===oo){let n=new Error(`NullInjectorError: No provider for ${xe(e)}!`);throw n.name="NullInjectorError",n}return r}},lp=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(lp||{}),yt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(yt||{}),sn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(sn||{});function ww(t,e,r){let n=t.length;for(;;){let o=t.indexOf(e,r);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=e.length;if(o+i===n||t.charCodeAt(o+i)<=32)return o}r=o+1}}function kc(t,e,r){let n=0;for(;n<r.length;){let o=r[n];if(typeof o=="number"){if(o!==0)break;n++;let i=r[n++],s=r[n++],a=r[n++];t.setAttribute(e,s,a,i)}else{let i=o,s=r[++n];Ew(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),n++}}return n}function dp(t){return t===3||t===4||t===6}function Ew(t){return t.charCodeAt(0)===64}function io(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let r=-1;for(let n=0;n<e.length;n++){let o=e[n];typeof o=="number"?r=o:r===0||(r===-1||r===2?rh(t,r,o,null,e[++n]):rh(t,r,o,null,null))}}return t}function rh(t,e,r,n,o){let i=0,s=t.length;if(e===-1)s=-1;else for(;i<t.length;){let a=t[i++];if(typeof a=="number"){if(a===e){s=-1;break}else if(a>e){s=i-1;break}}}for(;i<t.length;){let a=t[i];if(typeof a=="number")break;if(a===r){if(n===null){o!==null&&(t[i+1]=o);return}else if(n===t[i+1]){t[i+2]=o;return}}i++,n!==null&&i++,o!==null&&i++}s!==-1&&(t.splice(s,0,e),i=s+1),t.splice(i++,0,r),n!==null&&t.splice(i++,0,n),o!==null&&t.splice(i++,0,o)}var fp="ng-template";function Iw(t,e,r,n){let o=0;if(n){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&ww(e[o+1].toLowerCase(),r,0)!==-1)return!0}else if(Gu(t))return!1;if(o=e.indexOf(1,o),o>-1){let i;for(;++o<e.length&&typeof(i=e[o])=="string";)if(i.toLowerCase()===r)return!0}return!1}function Gu(t){return t.type===4&&t.value!==fp}function Cw(t,e,r){let n=t.type===4&&!r?fp:t.value;return e===n}function bw(t,e,r){let n=4,o=t.attrs,i=o!==null?Tw(o):0,s=!1;for(let a=0;a<e.length;a++){let c=e[a];if(typeof c=="number"){if(!s&&!Xe(n)&&!Xe(c))return!1;if(s&&Xe(c))continue;s=!1,n=c|n&1;continue}if(!s)if(n&4){if(n=2|n&1,c!==""&&!Cw(t,c,r)||c===""&&e.length===1){if(Xe(n))return!1;s=!0}}else if(n&8){if(o===null||!Iw(t,o,c,r)){if(Xe(n))return!1;s=!0}}else{let u=e[++a],l=Mw(c,o,Gu(t),r);if(l===-1){if(Xe(n))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),n&2&&u!==d){if(Xe(n))return!1;s=!0}}}}return Xe(n)||s}function Xe(t){return(t&1)===0}function Mw(t,e,r,n){if(e===null)return-1;let o=0;if(n||!r){let i=!1;for(;o<e.length;){let s=e[o];if(s===t)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=e[++o];for(;typeof a=="string";)a=e[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return xw(e,t)}function hp(t,e,r=!1){for(let n=0;n<e.length;n++)if(bw(t,e[n],r))return!0;return!1}function Sw(t){let e=t.attrs;if(e!=null){let r=e.indexOf(5);if(!(r&1))return e[r+1]}return null}function Tw(t){for(let e=0;e<t.length;e++){let r=t[e];if(dp(r))return e}return t.length}function xw(t,e){let r=t.indexOf(4);if(r>-1)for(r++;r<t.length;){let n=t[r];if(typeof n=="number")return-1;if(n===e)return r;r++}return-1}function _w(t,e){e:for(let r=0;r<e.length;r++){let n=e[r];if(t.length===n.length){for(let o=0;o<t.length;o++)if(t[o]!==n[o])continue e;return!0}}return!1}function oh(t,e){return t?":not("+e.trim()+")":e}function Nw(t){let e=t[0],r=1,n=2,o="",i=!1;for(;r<t.length;){let s=t[r];if(typeof s=="string")if(n&2){let a=t[++r];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else n&8?o+="."+s:n&4&&(o+=" "+s);else o!==""&&!Xe(s)&&(e+=oh(i,o),o=""),n=s,i=i||!Xe(n);r++}return o!==""&&(e+=oh(i,o)),e}function Aw(t){return t.map(Nw).join(",")}function Rw(t){let e=[],r=[],n=1,o=2;for(;n<t.length;){let i=t[n];if(typeof i=="string")o===2?i!==""&&e.push(i,t[++n]):o===8&&r.push(i);else{if(!Xe(o))break;o=i}n++}return{attrs:e,classes:r}}function pp(t){return go(()=>{let e=yp(t),r=J(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===lp.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||yt.Emulated,styles:t.styles||Se,_:null,schemas:t.schemas||null,tView:null,id:""});Dp(r);let n=t.dependencies;return r.directiveDefs=sh(n,!1),r.pipeDefs=sh(n,!0),r.id=Fw(r),r})}function Ow(t){return Rt(t)||qu(t)}function Pw(t){return t!==null}function ln(t){return go(()=>({type:t.type,bootstrap:t.bootstrap||Se,declarations:t.declarations||Se,imports:t.imports||Se,exports:t.exports||Se,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function ih(t,e){if(t==null)return At;let r={};for(let n in t)if(t.hasOwnProperty(n)){let o=t[n],i,s,a=sn.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(r[i]=a!==sn.None?[n,a]:n,e[i]=s):r[i]=n}return r}function qe(t){return go(()=>{let e=yp(t);return Dp(e),e})}function Do(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone===!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function Rt(t){return t[ew]||null}function qu(t){return t[tw]||null}function gp(t){return t[nw]||null}function mp(t){let e=Rt(t)||qu(t)||gp(t);return e!==null?e.standalone:!1}function vp(t,e){let r=t[rw]||null;if(!r&&e===!0)throw new Error(`Type ${xe(t)} does not have '\u0275mod' property.`);return r}function yp(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||At,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Se,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ih(t.inputs,e),outputs:ih(t.outputs),debugInfo:null}}function Dp(t){t.features?.forEach(e=>e(t))}function sh(t,e){if(!t)return null;let r=e?gp:Ow;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(Pw)}function Fw(t){let e=0,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let o of r)e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function Ns(t){return{\u0275providers:t}}function kw(...t){return{\u0275providers:wp(!0,t),\u0275fromNgModule:!0}}function wp(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return zu(e,s=>{let a=s;Lc(a,i,[],n)&&(o||=[],o.push(a))}),o!==void 0&&Ep(o,i),r}function Ep(t,e){for(let r=0;r<t.length;r++){let{ngModule:n,providers:o}=t[r];Wu(o,i=>{e(i,n)})}}function Lc(t,e,r,n){if(t=ve(t),!t)return!1;let o=null,i=Xf(t),s=!i&&Rt(t);if(!i&&!s){let c=t.ngModule;if(i=Xf(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}let a=n.has(o);if(s){if(a)return!1;if(n.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let u of c)Lc(u,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{zu(i.imports,l=>{Lc(l,e,r,n)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Ep(u,e)}if(!a){let u=xn(o)||(()=>new o);e({provide:o,useFactory:u,deps:Se},o),e({provide:up,useValue:o,multi:!0},o),e({provide:hr,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=t;Wu(c,l=>{e(l,u)})}}else return!1;return o!==t&&t.providers!==void 0}function Wu(t,e){for(let r of t)rp(r)&&(r=r.\u0275providers),Array.isArray(r)?Wu(r,e):e(r)}var Lw=q({provide:String,useValue:q});function Ip(t){return t!==null&&typeof t=="object"&&Lw in t}function jw(t){return!!(t&&t.useExisting)}function Vw(t){return!!(t&&t.useFactory)}function pr(t){return typeof t=="function"}function Uw(t){return!!t.useClass}var As=new E(""),Wi={},$w={},Dc;function Rs(){return Dc===void 0&&(Dc=new rs),Dc}var Ie=class{},so=class extends Ie{get destroyed(){return this._destroyed}constructor(e,r,n,o){super(),this.parent=r,this.source=n,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Vc(e,s=>this.processProvider(s)),this.records.set(cp,cr(void 0,this)),o.has("environment")&&this.records.set(Ie,cr(void 0,this));let i=this.records.get(As);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(up,Se,P.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=j(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),j(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=nn(this),n=Oe(void 0),o;try{return e()}finally{nn(r),Oe(n)}}get(e,r=oo,n=P.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(th))return e[th](this);n=xs(n);let o,i=nn(this),s=Oe(void 0);try{if(!(n&P.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=qw(e)&&Ts(e);u&&this.injectableDefInScope(u)?c=cr(jc(e),Wi):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&P.Self?Rs():this.parent;return r=n&P.Optional&&r===oo?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[ts]=a[ts]||[]).unshift(xe(e)),i)throw a;return hw(a,e,"R3InjectorError",this.source)}else throw a}finally{Oe(s),nn(i)}}resolveInjectorInitializers(){let e=j(null),r=nn(this),n=Oe(void 0),o;try{let i=this.get(hr,Se,P.Self);for(let s of i)s()}finally{nn(r),Oe(n),j(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(xe(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(e){e=ve(e);let r=pr(e)?e:ve(e&&e.provide),n=Hw(e);if(!pr(e)&&e.multi===!0){let o=this.records.get(r);o||(o=cr(void 0,Wi,!0),o.factory=()=>Fc(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=j(null);try{return r.value===Wi&&(r.value=$w,r.value=r.factory()),typeof r.value=="object"&&r.value&&Gw(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{j(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=ve(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function jc(t){let e=Ts(t),r=e!==null?e.factory:xn(t);if(r!==null)return r;if(t instanceof E)throw new w(204,!1);if(t instanceof Function)return Bw(t);throw new w(204,!1)}function Bw(t){if(t.length>0)throw new w(204,!1);let r=JD(t);return r!==null?()=>r.factory(t):()=>new t}function Hw(t){if(Ip(t))return cr(void 0,t.useValue);{let e=Cp(t);return cr(e,Wi)}}function Cp(t,e,r){let n;if(pr(t)){let o=ve(t);return xn(o)||jc(o)}else if(Ip(t))n=()=>ve(t.useValue);else if(Vw(t))n=()=>t.useFactory(...Fc(t.deps||[]));else if(jw(t))n=()=>C(ve(t.useExisting));else{let o=ve(t&&(t.useClass||t.provide));if(zw(t))n=()=>new o(...Fc(t.deps));else return xn(o)||jc(o)}return n}function cr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function zw(t){return!!t.deps}function Gw(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function qw(t){return typeof t=="function"||typeof t=="object"&&t instanceof E}function Vc(t,e){for(let r of t)Array.isArray(r)?Vc(r,e):r&&rp(r)?Vc(r.\u0275providers,e):e(r)}function je(t,e){t instanceof so&&t.assertNotDestroyed();let r,n=nn(t),o=Oe(void 0);try{return e()}finally{nn(n),Oe(o)}}function bp(){return op()!==void 0||lw()!=null}function Zu(t){if(!bp())throw new w(-203,!1)}function Ww(t){let e=ue.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function Zw(t){return typeof t=="function"}var It=0,N=1,_=2,Ce=3,et=4,Fe=5,gr=6,os=7,De=8,mr=9,Dt=10,Q=11,ao=12,ah=13,Tr=14,Pe=15,_n=16,ur=17,Ot=18,Os=19,Mp=20,rn=21,Zi=22,Ge=23,fe=25,Yu=1;var Nn=7,is=8,vr=9,Ee=10,ss=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(ss||{});function on(t){return Array.isArray(t)&&typeof t[Yu]=="object"}function Lt(t){return Array.isArray(t)&&t[Yu]===!0}function Qu(t){return(t.flags&4)!==0}function Ps(t){return t.componentOffset>-1}function Fs(t){return(t.flags&1)===1}function Pt(t){return!!t.template}function Uc(t){return(t[_]&512)!==0}var $c=class{constructor(e,r,n){this.previousValue=e,this.currentValue=r,this.firstChange=n}isFirstChange(){return this.firstChange}};function Sp(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}function jt(){return Tp}function Tp(t){return t.type.prototype.ngOnChanges&&(t.setInput=Qw),Yw}jt.ngInherit=!0;function Yw(){let t=_p(this),e=t?.current;if(e){let r=t.previous;if(r===At)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function Qw(t,e,r,n,o){let i=this.declaredInputs[n],s=_p(t)||Kw(t,{previous:At,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new $c(u&&u.currentValue,r,c===At),Sp(t,e,o,r)}var xp="__ngSimpleChanges__";function _p(t){return t[xp]||null}function Kw(t,e){return t[xp]=e}var ch=null;var mt=function(t,e,r){ch?.(t,e,r)},Np="svg",Jw="math";function wt(t){for(;Array.isArray(t);)t=t[It];return t}function Xw(t){for(;Array.isArray(t);){if(typeof t[Yu]=="object")return t;t=t[It]}return null}function Ap(t,e){return wt(e[t])}function We(t,e){return wt(e[t.index])}function Ku(t,e){return t.data[e]}function Ju(t,e){return t[e]}function dn(t,e){let r=e[t];return on(r)?r:r[It]}function eE(t){return(t[_]&4)===4}function Xu(t){return(t[_]&128)===128}function tE(t){return Lt(t[Ce])}function an(t,e){return e==null?null:t[e]}function Rp(t){t[ur]=0}function Op(t){t[_]&1024||(t[_]|=1024,Xu(t)&&ks(t))}function nE(t,e){for(;t>0;)e=e[Tr],t--;return e}function co(t){return!!(t[_]&9216||t[Ge]?.dirty)}function Bc(t){t[Dt].changeDetectionScheduler?.notify(7),t[_]&64&&(t[_]|=1024),co(t)&&ks(t)}function ks(t){t[Dt].changeDetectionScheduler?.notify(0);let e=An(t);for(;e!==null&&!(e[_]&8192||(e[_]|=8192,!Xu(e)));)e=An(e)}function Pp(t,e){if((t[_]&256)===256)throw new w(911,!1);t[rn]===null&&(t[rn]=[]),t[rn].push(e)}function rE(t,e){if(t[rn]===null)return;let r=t[rn].indexOf(e);r!==-1&&t[rn].splice(r,1)}function An(t){let e=t[Ce];return Lt(e)?e[Ce]:e}var A={lFrame:Bp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Fp=!1;function oE(){return A.lFrame.elementDepthCount}function iE(){A.lFrame.elementDepthCount++}function sE(){A.lFrame.elementDepthCount--}function kp(){return A.bindingsEnabled}function Lp(){return A.skipHydrationRootTNode!==null}function aE(t){return A.skipHydrationRootTNode===t}function cE(){A.skipHydrationRootTNode=null}function M(){return A.lFrame.lView}function W(){return A.lFrame.tView}function aL(t){return A.lFrame.contextLView=t,t[De]}function cL(t){return A.lFrame.contextLView=null,t}function he(){let t=jp();for(;t!==null&&t.type===64;)t=t.parent;return t}function jp(){return A.lFrame.currentTNode}function uE(){let t=A.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Vn(t,e){let r=A.lFrame;r.currentTNode=t,r.isParent=e}function el(){return A.lFrame.isParent}function tl(){A.lFrame.isParent=!1}function lE(){return A.lFrame.contextLView}function Vp(){return Fp}function uh(t){Fp=t}function Ct(){let t=A.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function dE(){return A.lFrame.bindingIndex}function fE(t){return A.lFrame.bindingIndex=t}function fn(){return A.lFrame.bindingIndex++}function nl(t){let e=A.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function hE(){return A.lFrame.inI18n}function pE(t,e){let r=A.lFrame;r.bindingIndex=r.bindingRootIndex=t,Hc(e)}function gE(){return A.lFrame.currentDirectiveIndex}function Hc(t){A.lFrame.currentDirectiveIndex=t}function rl(t){let e=A.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function ol(){return A.lFrame.currentQueryIndex}function Ls(t){A.lFrame.currentQueryIndex=t}function mE(t){let e=t[N];return e.type===2?e.declTNode:e.type===1?t[Fe]:null}function Up(t,e,r){if(r&P.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&P.Host);)if(o=mE(i),o===null||(i=i[Tr],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=A.lFrame=$p();return n.currentTNode=e,n.lView=t,!0}function il(t){let e=$p(),r=t[N];A.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function $p(){let t=A.lFrame,e=t===null?null:t.child;return e===null?Bp(t):e}function Bp(t){let e={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:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function Hp(){let t=A.lFrame;return A.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var zp=Hp;function sl(){let t=Hp();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function vE(t){return(A.lFrame.contextLView=nE(t,A.lFrame.contextLView))[De]}function Vt(){return A.lFrame.selectedIndex}function Rn(t){A.lFrame.selectedIndex=t}function Un(){let t=A.lFrame;return Ku(t.tView,t.selectedIndex)}function uL(){A.lFrame.currentNamespace=Np}function lL(){yE()}function yE(){A.lFrame.currentNamespace=null}function DE(){return A.lFrame.currentNamespace}var Gp=!0;function js(){return Gp}function Vs(t){Gp=t}function wE(t,e,r){let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let s=Tp(e);(r.preOrderHooks??=[]).push(t,s),(r.preOrderCheckHooks??=[]).push(t,s)}o&&(r.preOrderHooks??=[]).push(0-t,o),i&&((r.preOrderHooks??=[]).push(t,i),(r.preOrderCheckHooks??=[]).push(t,i))}function Us(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r<n;r++){let i=t.data[r].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:u,ngOnDestroy:l}=i;s&&(t.contentHooks??=[]).push(-r,s),a&&((t.contentHooks??=[]).push(r,a),(t.contentCheckHooks??=[]).push(r,a)),c&&(t.viewHooks??=[]).push(-r,c),u&&((t.viewHooks??=[]).push(r,u),(t.viewCheckHooks??=[]).push(r,u)),l!=null&&(t.destroyHooks??=[]).push(r,l)}}function Yi(t,e,r){qp(t,e,3,r)}function Qi(t,e,r,n){(t[_]&3)===r&&qp(t,e,r,n)}function wc(t,e){let r=t[_];(r&3)===e&&(r&=16383,r+=1,t[_]=r)}function qp(t,e,r,n){let o=n!==void 0?t[ur]&65535:0,i=n??-1,s=e.length-1,a=0;for(let c=o;c<s;c++)if(typeof e[c+1]=="number"){if(a=e[c],n!=null&&a>=n)break}else e[c]<0&&(t[ur]+=65536),(a<i||i==-1)&&(EE(t,r,e,c),t[ur]=(t[ur]&4294901760)+c+2),c++}function lh(t,e){mt(4,t,e);let r=j(null);try{e.call(t)}finally{j(r),mt(5,t,e)}}function EE(t,e,r,n){let o=r[n]<0,i=r[n+1],s=o?-r[n]:r[n],a=t[s];o?t[_]>>14<t[ur]>>16&&(t[_]&3)===e&&(t[_]+=16384,lh(a,i)):lh(a,i)}var fr=-1,On=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function IE(t){return t instanceof On}function CE(t){return(t.flags&8)!==0}function bE(t){return(t.flags&16)!==0}var Ec={},zc=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=xs(n);let o=this.injector.get(e,Ec,n);return o!==Ec||r===Ec?o:this.parentInjector.get(e,r,n)}};function Wp(t){return t!==fr}function as(t){return t&32767}function ME(t){return t>>16}function cs(t,e){let r=ME(t),n=e;for(;r>0;)n=n[Tr],r--;return n}var Gc=!0;function us(t){let e=Gc;return Gc=t,e}var SE=256,Zp=SE-1,Yp=5,TE=0,vt={};function xE(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(no)&&(n=r[no]),n==null&&(n=r[no]=TE++);let o=n&Zp,i=1<<o;e.data[t+(o>>Yp)]|=i}function ls(t,e){let r=Qp(t,e);if(r!==-1)return r;let n=e[N];n.firstCreatePass&&(t.injectorIndex=e.length,Ic(n.data,t),Ic(e,null),Ic(n.blueprint,null));let o=al(t,e),i=t.injectorIndex;if(Wp(o)){let s=as(o),a=cs(o,e),c=a[N].data;for(let u=0;u<8;u++)e[i+u]=a[s+u]|c[s+u]}return e[i+8]=o,i}function Ic(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Qp(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function al(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,o=e;for(;o!==null;){if(n=tg(o),n===null)return fr;if(r++,o=o[Tr],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return fr}function qc(t,e,r){xE(t,e,r)}function _E(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,o=0;for(;o<n;){let i=r[o];if(dp(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<n&&typeof r[o]=="string";)o++;else{if(i===e)return r[o+1];o=o+2}}}return null}function Kp(t,e,r){if(r&P.Optional||t!==void 0)return t;Hu(e,"NodeInjector")}function Jp(t,e,r,n){if(r&P.Optional&&n===void 0&&(n=null),!(r&(P.Self|P.Host))){let o=t[mr],i=Oe(void 0);try{return o?o.get(e,n,r&P.Optional):ip(e,n,r&P.Optional)}finally{Oe(i)}}return Kp(n,e,r)}function Xp(t,e,r,n=P.Default,o){if(t!==null){if(e[_]&2048&&!(n&P.Self)){let s=OE(t,e,r,n,vt);if(s!==vt)return s}let i=eg(t,e,r,n,vt);if(i!==vt)return i}return Jp(e,r,n,o)}function eg(t,e,r,n,o){let i=AE(r);if(typeof i=="function"){if(!Up(e,t,n))return n&P.Host?Kp(o,r,n):Jp(e,r,n,o);try{let s;if(s=i(n),s==null&&!(n&P.Optional))Hu(r);else return s}finally{zp()}}else if(typeof i=="number"){let s=null,a=Qp(t,e),c=fr,u=n&P.Host?e[Pe][Fe]:null;for((a===-1||n&P.SkipSelf)&&(c=a===-1?al(t,e):e[a+8],c===fr||!fh(n,!1)?a=-1:(s=e[N],a=as(c),e=cs(c,e)));a!==-1;){let l=e[N];if(dh(i,a,l.data)){let d=NE(a,e,r,s,n,u);if(d!==vt)return d}c=e[a+8],c!==fr&&fh(n,e[N].data[a+8]===u)&&dh(i,a,e)?(s=l,a=as(c),e=cs(c,e)):a=-1}}return o}function NE(t,e,r,n,o,i){let s=e[N],a=s.data[t+8],c=n==null?Ps(a)&&Gc:n!=s&&(a.type&3)!==0,u=o&P.Host&&i===a,l=Ki(a,s,r,c,u);return l!==null?Pn(e,s,l,a):vt}function Ki(t,e,r,n,o){let i=t.providerIndexes,s=e.data,a=i&1048575,c=t.directiveStart,u=t.directiveEnd,l=i>>20,d=n?a:a+l,f=o?a+l:u;for(let h=d;h<f;h++){let p=s[h];if(h<c&&r===p||h>=c&&p.type===r)return h}if(o){let h=s[c];if(h&&Pt(h)&&h.type===r)return c}return null}function Pn(t,e,r,n){let o=t[r],i=e.data;if(IE(o)){let s=o;s.resolving&&iw(ow(i[r]));let a=us(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?Oe(s.injectImpl):null,l=Up(t,n,P.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&wE(r,i[r],e)}finally{u!==null&&Oe(u),us(a),s.resolving=!1,zp()}}return o}function AE(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(no)?t[no]:void 0;return typeof e=="number"?e>=0?e&Zp:RE:e}function dh(t,e,r){let n=1<<t;return!!(r[e+(t>>Yp)]&n)}function fh(t,e){return!(t&P.Self)&&!(t&P.Host&&e)}var Sn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Xp(this._tNode,this._lView,e,xs(n),r)}};function RE(){return new Sn(he(),M())}function cl(t){return go(()=>{let e=t.prototype.constructor,r=e[es]||Wc(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[es]||Wc(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Wc(t){return Xh(t)?()=>{let e=Wc(ve(t));return e&&e()}:xn(t)}function OE(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[_]&2048&&!(s[_]&512);){let a=eg(i,s,r,n|P.Self,vt);if(a!==vt)return a;let c=i.parent;if(!c){let u=s[Mp];if(u){let l=u.get(r,vt,n);if(l!==vt)return l}c=tg(s),s=s[Tr]}i=c}return o}function tg(t){let e=t[N],r=e.type;return r===2?e.declTNode:r===1?t[Fe]:null}function ul(t){return _E(he(),t)}function hh(t,e=null,r=null,n){let o=ng(t,e,r,n);return o.resolveInjectorInitializers(),o}function ng(t,e=null,r=null,n,o=new Set){let i=[r||Se,kw(t)];return n=n||(typeof t=="object"?void 0:xe(t)),new so(i,e||Rs(),n||null,o)}var Mn=class Mn{static create(e,r){if(Array.isArray(e))return hh({name:""},r,e,"");{let n=e.name??"";return hh({name:n},e.parent,e.providers,n)}}};Mn.THROW_IF_NOT_FOUND=oo,Mn.NULL=new rs,Mn.\u0275prov=I({token:Mn,providedIn:"any",factory:()=>C(cp)}),Mn.__NG_ELEMENT_ID__=-1;var _e=Mn;var PE=new E("");PE.__NG_ELEMENT_ID__=t=>{let e=he();if(e===null)throw new w(204,!1);if(e.type&2)return e.value;if(t&P.Optional)return null;throw new w(204,!1)};var FE="ngOriginalError";function Cc(t){return t[FE]}var tt=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Cc(e);for(;r&&Cc(r);)r=Cc(r);return r||null}},rg=new E("",{providedIn:"root",factory:()=>g(tt).handleError.bind(void 0)}),$s=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=kE,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Zc=class extends $s{constructor(e){super(),this._lView=e}onDestroy(e){return Pp(this._lView,e),()=>rE(this._lView,e)}};function kE(){return new Zc(M())}function ph(t,e){return Qh(t,e)}function LE(t){return Qh(Yh,t)}var dL=(ph.required=LE,ph);function jE(){return xr(he(),M())}function xr(t,e){return new Ze(We(t,e))}var Ze=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=jE;let t=e;return t})();function og(t){return t instanceof Ze?t.nativeElement:t}var bt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new me(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),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)}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();var Yc=class extends re{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,bp()&&(this.destroyRef=g($s,{optional:!0})??void 0,this.pendingTasks=g(bt,{optional:!0})??void 0)}emit(e){let r=j(null);try{super.next(e)}finally{j(r)}}subscribe(e,r,n){let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let c=e;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 e instanceof X&&e.add(a),a}wrapInTimeout(e){return r=>{let n=this.pendingTasks?.add();setTimeout(()=>{e(r),n!==void 0&&this.pendingTasks?.remove(n)})}}},ye=Yc;function VE(){return this._results[Symbol.iterator]()}var Qc=class t{get changes(){return this._changes??=new ye}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=t.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=VE)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let n=mw(e);(this._changesDetected=!gw(this._results,n,r))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function ig(t){return(t.flags&128)===128}var sg=new Map,UE=0;function $E(){return UE++}function BE(t){sg.set(t[Os],t)}function HE(t){sg.delete(t[Os])}var gh="__ngContext__";function cn(t,e){on(e)?(t[gh]=e[Os],BE(e)):t[gh]=e}function ag(t){return ug(t[ao])}function cg(t){return ug(t[et])}function ug(t){for(;t!==null&&!Lt(t);)t=t[et];return t}var Kc;function lg(t){Kc=t}function dg(){if(Kc!==void 0)return Kc;if(typeof document<"u")return document;throw new w(210,!1)}var Bs=new E("",{providedIn:"root",factory:()=>zE}),zE="ng",ll=new E(""),nt=new E("",{providedIn:"platform",factory:()=>"unknown"});var fL=new E(""),dl=new E("",{providedIn:"root",factory:()=>dg().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),fl={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},fg=new E("",{providedIn:"root",factory:()=>fl});var GE="h",qE="b";var WE=()=>null;function hl(t,e,r=!1){return WE(t,e,r)}var hg=!1,ZE=new E("",{providedIn:"root",factory:()=>hg});var $i;function YE(){if($i===void 0&&($i=null,ue.trustedTypes))try{$i=ue.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return $i}function Hs(t){return YE()?.createHTML(t)||t}var Bi;function pg(){if(Bi===void 0&&(Bi=null,ue.trustedTypes))try{Bi=ue.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Bi}function mh(t){return pg()?.createHTML(t)||t}function vh(t){return pg()?.createScriptURL(t)||t}var Ft=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Zh})`}},Jc=class extends Ft{getTypeName(){return"HTML"}},Xc=class extends Ft{getTypeName(){return"Style"}},eu=class extends Ft{getTypeName(){return"Script"}},tu=class extends Ft{getTypeName(){return"URL"}},nu=class extends Ft{getTypeName(){return"ResourceURL"}};function ke(t){return t instanceof Ft?t.changingThisBreaksApplicationSecurity:t}function Ut(t,e){let r=QE(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Zh})`)}return r===e}function QE(t){return t instanceof Ft&&t.getTypeName()||null}function gg(t){return new Jc(t)}function mg(t){return new Xc(t)}function vg(t){return new eu(t)}function yg(t){return new tu(t)}function Dg(t){return new nu(t)}function KE(t){let e=new ou(t);return JE()?new ru(e):e}var ru=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let r=new window.DOMParser().parseFromString(Hs(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},ou=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=Hs(e),r}};function JE(){try{return!!new window.DOMParser().parseFromString(Hs(""),"text/html")}catch{return!1}}var XE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function zs(t){return t=String(t),t.match(XE)?t:"unsafe:"+t}function $t(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function wo(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var wg=$t("area,br,col,hr,img,wbr"),Eg=$t("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ig=$t("rp,rt"),eI=wo(Ig,Eg),tI=wo(Eg,$t("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")),nI=wo(Ig,$t("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")),yh=wo(wg,tI,nI,eI),Cg=$t("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),rI=$t("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"),oI=$t("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"),iI=wo(Cg,rI,oI),sI=$t("script,style,template"),iu=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,n=!0,o=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?n=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,n&&r.firstChild){o.push(r),r=uI(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=cI(r);if(i){r=i;break}r=o.pop()}}return this.buf.join("")}startElement(e){let r=Dh(e).toLowerCase();if(!yh.hasOwnProperty(r))return this.sanitizedSomething=!0,!sI.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let n=e.attributes;for(let o=0;o<n.length;o++){let i=n.item(o),s=i.name,a=s.toLowerCase();if(!iI.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Cg[a]&&(c=zs(c)),this.buf.push(" ",s,'="',wh(c),'"')}return this.buf.push(">"),!0}endElement(e){let r=Dh(e).toLowerCase();yh.hasOwnProperty(r)&&!wg.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(e){this.buf.push(wh(e))}};function aI(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function cI(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw bg(e);return e}function uI(t){let e=t.firstChild;if(e&&aI(t,e))throw bg(e);return e}function Dh(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function bg(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var lI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,dI=/([^\#-~ |!])/g;function wh(t){return t.replace(/&/g,"&amp;").replace(lI,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(dI,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Hi;function pl(t,e){let r=null;try{Hi=Hi||KE(t);let n=e?String(e):"";r=Hi.getInertBodyElement(n);let o=5,i=n;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,n=i,i=r.innerHTML,r=Hi.getInertBodyElement(n)}while(n!==i);let a=new iu().sanitizeChildren(Eh(r)||r);return Hs(a)}finally{if(r){let n=Eh(r)||r;for(;n.firstChild;)n.removeChild(n.firstChild)}}}function Eh(t){return"content"in t&&fI(t)?t.content:null}function fI(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var rt=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(rt||{});function hL(t){let e=gl();return e?mh(e.sanitize(rt.HTML,t)||""):Ut(t,"HTML")?mh(ke(t)):pl(dg(),Tn(t))}function hI(t){let e=gl();return e?e.sanitize(rt.URL,t)||"":Ut(t,"URL")?ke(t):zs(Tn(t))}function pI(t){let e=gl();if(e)return vh(e.sanitize(rt.RESOURCE_URL,t)||"");if(Ut(t,"ResourceURL"))return vh(ke(t));throw new w(904,!1)}function gI(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?pI:hI}function Mg(t,e,r){return gI(e,r)(t)}function gl(){let t=M();return t&&t[Dt].sanitizer}var mI=/^>|^->|<!--|-->|--!>|<!-$/g,vI=/(<|>)/g,yI="\u200B$1\u200B";function DI(t){return t.replace(mI,e=>e.replace(vI,yI))}function Sg(t){return t instanceof Function?t():t}function Tg(t){return(t??g(_e)).get(nt)==="browser"}var Et=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Et||{}),wI;function ml(t,e){return wI(t,e)}function lr(t,e,r,n,o){if(n!=null){let i,s=!1;Lt(n)?i=n:on(n)&&(s=!0,n=n[It]);let a=wt(n);t===0&&r!==null?o==null?Rg(e,r,a):ds(e,r,a,o||null,!0):t===1&&r!==null?ds(e,r,a,o||null,!0):t===2?FI(e,a,s):t===3&&e.destroyNode(a),i!=null&&LI(e,t,i,r,o)}}function EI(t,e){return t.createText(e)}function II(t,e,r){t.setValue(e,r)}function CI(t,e){return t.createComment(DI(e))}function xg(t,e,r){return t.createElement(e,r)}function bI(t,e){_g(t,e),e[It]=null,e[Fe]=null}function MI(t,e,r,n,o,i){n[It]=o,n[Fe]=e,Ws(t,n,r,1,o,i)}function _g(t,e){e[Dt].changeDetectionScheduler?.notify(8),Ws(t,e,e[Q],2,null,null)}function SI(t){let e=t[ao];if(!e)return bc(t[N],t);for(;e;){let r=null;if(on(e))r=e[ao];else{let n=e[Ee];n&&(r=n)}if(!r){for(;e&&!e[et]&&e!==t;)on(e)&&bc(e[N],e),e=e[Ce];e===null&&(e=t),on(e)&&bc(e[N],e),r=e&&e[et]}e=r}}function TI(t,e,r,n){let o=Ee+n,i=r.length;n>0&&(r[o-1][et]=e),n<i-Ee?(e[et]=r[o],ap(r,Ee+n,e)):(r.push(e),e[et]=null),e[Ce]=r;let s=e[_n];s!==null&&r!==s&&Ng(s,e);let a=e[Ot];a!==null&&a.insertView(t),Bc(e),e[_]|=128}function Ng(t,e){let r=t[vr],n=e[Ce];if(on(n))t[_]|=ss.HasTransplantedViews;else{let o=n[Ce][Pe];e[Pe]!==o&&(t[_]|=ss.HasTransplantedViews)}r===null?t[vr]=[e]:r.push(e)}function vl(t,e){let r=t[vr],n=r.indexOf(e);r.splice(n,1)}function uo(t,e){if(t.length<=Ee)return;let r=Ee+e,n=t[r];if(n){let o=n[_n];o!==null&&o!==t&&vl(o,n),e>0&&(t[r-1][et]=n[et]);let i=ns(t,Ee+e);bI(n[N],n);let s=i[Ot];s!==null&&s.detachView(i[N]),n[Ce]=null,n[et]=null,n[_]&=-129}return n}function Gs(t,e){if(!(e[_]&256)){let r=e[Q];r.destroyNode&&Ws(t,e,r,3,null,null),SI(e)}}function bc(t,e){if(e[_]&256)return;let r=j(null);try{e[_]&=-129,e[_]|=256,e[Ge]&&ki(e[Ge]),_I(t,e),xI(t,e),e[N].type===1&&e[Q].destroy();let n=e[_n];if(n!==null&&Lt(e[Ce])){n!==e[Ce]&&vl(n,e);let o=e[Ot];o!==null&&o.detachView(t)}HE(e)}finally{j(r)}}function xI(t,e){let r=t.cleanup,n=e[os];if(r!==null)for(let i=0;i<r.length-1;i+=2)if(typeof r[i]=="string"){let s=r[i+3];s>=0?n[s]():n[-s].unsubscribe(),i+=2}else{let s=n[r[i+1]];r[i].call(s)}n!==null&&(e[os]=null);let o=e[rn];if(o!==null){e[rn]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function _I(t,e){let r;if(t!=null&&(r=t.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let o=e[r[n]];if(!(o instanceof On)){let i=r[n+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];mt(4,a,c);try{c.call(a)}finally{mt(5,a,c)}}else{mt(4,o,i);try{i.call(o)}finally{mt(5,o,i)}}}}}function Ag(t,e,r){return NI(t,e.parent,r)}function NI(t,e,r){let n=e;for(;n!==null&&n.type&168;)e=n,n=e.parent;if(n===null)return r[It];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===yt.None||i===yt.Emulated)return null}return We(n,r)}}function ds(t,e,r,n,o){t.insertBefore(e,r,n,o)}function Rg(t,e,r){t.appendChild(e,r)}function Ih(t,e,r,n,o){n!==null?ds(t,e,r,n,o):Rg(t,e,r)}function AI(t,e,r,n){t.removeChild(e,r,n)}function yl(t,e){return t.parentNode(e)}function RI(t,e){return t.nextSibling(e)}function Og(t,e,r){return PI(t,e,r)}function OI(t,e,r){return t.type&40?We(t,r):null}var PI=OI,Ch;function qs(t,e,r,n){let o=Ag(t,n,e),i=e[Q],s=n.parent||e[Fe],a=Og(s,n,e);if(o!=null)if(Array.isArray(r))for(let c=0;c<r.length;c++)Ih(i,o,r[c],a,!1);else Ih(i,o,r,a,!1);Ch!==void 0&&Ch(i,n,e,r,o)}function Ji(t,e){if(e!==null){let r=e.type;if(r&3)return We(e,t);if(r&4)return su(-1,t[e.index]);if(r&8){let n=e.child;if(n!==null)return Ji(t,n);{let o=t[e.index];return Lt(o)?su(-1,o):wt(o)}}else{if(r&32)return ml(e,t)()||wt(t[e.index]);{let n=Pg(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=An(t[Pe]);return Ji(o,n)}else return Ji(t,e.next)}}}return null}function Pg(t,e){if(e!==null){let n=t[Pe][Fe],o=e.projection;return n.projection[o]}return null}function su(t,e){let r=Ee+t+1;if(r<e.length){let n=e[r],o=n[N].firstChild;if(o!==null)return Ji(n,o)}return e[Nn]}function FI(t,e,r){let n=yl(t,e);n&&AI(t,n,e,r)}function Dl(t,e,r,n,o,i,s){for(;r!=null;){if(r.type===128){r=r.next;continue}let a=n[r.index],c=r.type;if(s&&e===0&&(a&&cn(wt(a),n),r.flags|=2),(r.flags&32)!==32)if(c&8)Dl(t,e,r.child,n,o,i,!1),lr(e,t,o,a,i);else if(c&32){let u=ml(r,n),l;for(;l=u();)lr(e,t,o,l,i);lr(e,t,o,a,i)}else c&16?Fg(t,e,n,r,o,i):lr(e,t,o,a,i);r=s?r.projectionNext:r.next}}function Ws(t,e,r,n,o,i){Dl(r,n,t.firstChild,e,o,i,!1)}function kI(t,e,r){let n=e[Q],o=Ag(t,r,e),i=r.parent||e[Fe],s=Og(i,r,e);Fg(n,0,e,r,o,s)}function Fg(t,e,r,n,o,i){let s=r[Pe],c=s[Fe].projection[n.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];lr(e,t,o,l,i)}else{let u=c,l=s[Ce];ig(n)&&(u.flags|=128),Dl(t,e,u,l,o,i,!0)}}function LI(t,e,r,n,o){let i=r[Nn],s=wt(r);i!==s&&lr(e,t,n,i,o);for(let a=Ee;a<r.length;a++){let c=r[a];Ws(c[N],c,t,e,n,i)}}function jI(t,e,r,n,o){if(e)o?t.addClass(r,n):t.removeClass(r,n);else{let i=n.indexOf("-")===-1?void 0:Et.DashCase;o==null?t.removeStyle(r,n,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Et.Important),t.setStyle(r,n,o,i))}}function VI(t,e,r){t.setAttribute(e,"style",r)}function kg(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function Lg(t,e,r){let{mergedAttrs:n,classes:o,styles:i}=r;n!==null&&kc(t,e,n),o!==null&&kg(t,e,o),i!==null&&VI(t,e,i)}var Ae={};function pL(t=1){jg(W(),M(),Vt()+t,!1)}function jg(t,e,r,n){if(!n)if((e[_]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Yi(e,i,r)}else{let i=t.preOrderHooks;i!==null&&Qi(e,i,0,r)}Rn(r)}function V(t,e=P.Default){let r=M();if(r===null)return C(t,e);let n=he();return Xp(n,r,ve(t),e)}function Vg(){let t="invalid";throw new Error(t)}function Ug(t,e,r,n,o,i){let s=j(null);try{let a=null;o&sn.SignalBased&&(a=e[n][Le]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&sn.HasDecoratorInputTransform&&(i=t.inputTransforms[n].call(e,i)),t.setInput!==null?t.setInput(e,a,i,r,n):Sp(e,a,n,i)}finally{j(s)}}function UI(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let o=r[n];if(o<0)Rn(~o);else{let i=o,s=r[++n],a=r[++n];pE(s,i);let c=e[i];a(2,c)}}}finally{Rn(-1)}}function Zs(t,e,r,n,o,i,s,a,c,u,l){let d=e.blueprint.slice();return d[It]=o,d[_]=n|4|128|8|64,(u!==null||t&&t[_]&2048)&&(d[_]|=2048),Rp(d),d[Ce]=d[Tr]=t,d[De]=r,d[Dt]=s||t&&t[Dt],d[Q]=a||t&&t[Q],d[mr]=c||t&&t[mr]||null,d[Fe]=i,d[Os]=$E(),d[gr]=l,d[Mp]=u,d[Pe]=e.type==2?t[Pe]:d,d}function _r(t,e,r,n,o){let i=t.data[e];if(i===null)i=$I(t,e,r,n,o),hE()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=o;let s=uE();i.injectorIndex=s===null?-1:s.injectorIndex}return Vn(i,!0),i}function $I(t,e,r,n,o){let i=jp(),s=el(),a=s?i:i&&i.parent,c=t.data[e]=WI(t,a,r,e,n,o);return t.firstChild===null&&(t.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function $g(t,e,r,n){if(r===0)return-1;let o=e.length;for(let i=0;i<r;i++)e.push(n),t.blueprint.push(n),t.data.push(null);return o}function Bg(t,e,r,n,o){let i=Vt(),s=n&2;try{Rn(-1),s&&e.length>fe&&jg(t,e,fe,!1),mt(s?2:0,o),r(n,o)}finally{Rn(i),mt(s?3:1,o)}}function wl(t,e,r){if(Qu(e)){let n=j(null);try{let o=e.directiveStart,i=e.directiveEnd;for(let s=o;s<i;s++){let a=t.data[s];if(a.contentQueries){let c=r[s];a.contentQueries(1,c,s)}}}finally{j(n)}}}function El(t,e,r){kp()&&(XI(t,e,r,We(r,e)),(r.flags&64)===64&&Gg(t,e,r))}function Il(t,e,r=We){let n=e.localNames;if(n!==null){let o=e.index+1;for(let i=0;i<n.length;i+=2){let s=n[i+1],a=s===-1?r(e,t):t[s];t[o++]=a}}}function Hg(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Cl(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Cl(t,e,r,n,o,i,s,a,c,u,l){let d=fe+n,f=d+o,h=BI(d,f),p=typeof u=="function"?u():u;return h[N]={type:t,blueprint:h,template:r,queries:null,viewQuery:a,declTNode:e,data:h.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:f,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:p,incompleteFirstPass:!1,ssrId:l}}function BI(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:Ae);return r}function HI(t,e,r,n){let i=n.get(ZE,hg)||r===yt.ShadowDom,s=t.selectRootElement(e,i);return zI(s),s}function zI(t){GI(t)}var GI=()=>null;function qI(t,e,r,n){let o=Zg(e);o.push(r),t.firstCreatePass&&Yg(t).push(n,o.length-1)}function WI(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return Lp()&&(a|=128),{type:r,index:n,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:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function bh(t,e,r,n,o){for(let i in e){if(!e.hasOwnProperty(i))continue;let s=e[i];if(s===void 0)continue;n??={};let a,c=sn.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}t===0?Mh(n,r,u,a,c):Mh(n,r,u,a)}return n}function Mh(t,e,r,n,o){let i;t.hasOwnProperty(r)?(i=t[r]).push(e,n):i=t[r]=[e,n],o!==void 0&&i.push(o)}function ZI(t,e,r){let n=e.directiveStart,o=e.directiveEnd,i=t.data,s=e.attrs,a=[],c=null,u=null;for(let l=n;l<o;l++){let d=i[l],f=r?r.get(d):null,h=f?f.inputs:null,p=f?f.outputs:null;c=bh(0,d.inputs,l,c,h),u=bh(1,d.outputs,l,u,p);let y=c!==null&&s!==null&&!Gu(e)?lC(c,l,s):null;a.push(y)}c!==null&&(c.hasOwnProperty("class")&&(e.flags|=8),c.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=c,e.outputs=u}function YI(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function Nr(t,e,r,n,o,i,s,a){let c=We(e,r),u=e.inputs,l;!a&&u!=null&&(l=u[n])?(Ml(t,r,l,n,o),Ps(e)&&QI(r,e.index)):e.type&3?(n=YI(n),o=s!=null?s(o,e.value||"",n):o,i.setProperty(c,n,o)):e.type&12}function QI(t,e){let r=dn(e,t);r[_]&16||(r[_]|=64)}function bl(t,e,r,n){if(kp()){let o=n===null?null:{"":-1},i=tC(t,r),s,a;i===null?s=a=null:[s,a]=i,s!==null&&zg(t,e,r,s,o,a),o&&nC(r,n,o)}r.mergedAttrs=io(r.mergedAttrs,r.attrs)}function zg(t,e,r,n,o,i){for(let u=0;u<n.length;u++)qc(ls(r,e),t,n[u].type);oC(r,t.data.length,n.length);for(let u=0;u<n.length;u++){let l=n[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=$g(t,e,n.length,null);for(let u=0;u<n.length;u++){let l=n[u];r.mergedAttrs=io(r.mergedAttrs,l.hostAttrs),iC(t,r,e,c,l),rC(c,l,o),l.contentQueries!==null&&(r.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(r.flags|=64);let d=l.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((t.preOrderHooks??=[]).push(r.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(r.index),a=!0),c++}ZI(t,r,i)}function KI(t,e,r,n,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;JI(s)!=a&&s.push(a),s.push(r,n,i)}}function JI(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function XI(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;Ps(r)&&sC(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||ls(r,e),cn(n,e);let s=r.initialInputs;for(let a=o;a<i;a++){let c=t.data[a],u=Pn(e,t,a,r);if(cn(u,e),s!==null&&uC(e,a-o,u,c,r,s),Pt(c)){let l=dn(r.index,e);l[De]=Pn(e,t,a,r)}}}function Gg(t,e,r){let n=r.directiveStart,o=r.directiveEnd,i=r.index,s=gE();try{Rn(i);for(let a=n;a<o;a++){let c=t.data[a],u=e[a];Hc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&eC(c,u)}}finally{Rn(-1),Hc(s)}}function eC(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function tC(t,e){let r=t.directiveRegistry,n=null,o=null;if(r)for(let i=0;i<r.length;i++){let s=r[i];if(hp(e,s.selectors,!1))if(n||(n=[]),Pt(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),n.unshift(...a,s);let c=a.length;au(t,e,c)}else n.unshift(s),au(t,e,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,n,o),n.push(s)}return n===null?null:[n,o]}function au(t,e,r){e.componentOffset=r,(t.components??=[]).push(e.index)}function nC(t,e,r){if(e){let n=t.localNames=[];for(let o=0;o<e.length;o+=2){let i=r[e[o+1]];if(i==null)throw new w(-301,!1);n.push(e[o],i)}}}function rC(t,e,r){if(r){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)r[e.exportAs[n]]=t;Pt(e)&&(r[""]=t)}}function oC(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function iC(t,e,r,n,o){t.data[n]=o;let i=o.factory||(o.factory=xn(o.type,!0)),s=new On(i,Pt(o),V);t.blueprint[n]=s,r[n]=s,KI(t,e,n,$g(t,r,o.hostVars,Ae),o)}function sC(t,e,r){let n=We(e,t),o=Hg(r),i=t[Dt].rendererFactory,s=16;r.signals?s=4096:r.onPush&&(s=64);let a=Ys(t,Zs(t,o,null,s,n,e,null,i.createRenderer(n,r),null,null,null));t[e.index]=a}function aC(t,e,r,n,o,i){let s=We(t,e);cC(e[Q],s,i,t.value,r,n,o)}function cC(t,e,r,n,o,i,s){if(i==null)t.removeAttribute(e,o,r);else{let a=s==null?Tn(i):s(i,n||"",o);t.setAttribute(e,o,a,r)}}function uC(t,e,r,n,o,i){let s=i[e];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];Ug(n,r,c,u,l,d)}}function lC(t,e,r){let n=null,o=0;for(;o<r.length;){let i=r[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(t.hasOwnProperty(i)){n===null&&(n=[]);let s=t[i];for(let a=0;a<s.length;a+=3)if(s[a]===e){n.push(i,s[a+1],s[a+2],r[o+1]);break}}o+=2}return n}function qg(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function Wg(t,e){let r=t.contentQueries;if(r!==null){let n=j(null);try{for(let o=0;o<r.length;o+=2){let i=r[o],s=r[o+1];if(s!==-1){let a=t.data[s];Ls(i),a.contentQueries(2,e[s],s)}}}finally{j(n)}}}function Ys(t,e){return t[ao]?t[ah][et]=e:t[ao]=e,t[ah]=e,e}function cu(t,e,r){Ls(0);let n=j(null);try{e(t,r)}finally{j(n)}}function Zg(t){return t[os]??=[]}function Yg(t){return t.cleanup??=[]}function Qg(t,e,r){return(t===null||Pt(t))&&(r=Xw(r[e.index])),r[Q]}function Kg(t,e){let r=t[mr],n=r?r.get(tt,null):null;n&&n.handleError(e)}function Ml(t,e,r,n,o){for(let i=0;i<r.length;){let s=r[i++],a=r[i++],c=r[i++],u=e[s],l=t.data[s];Ug(l,u,n,a,c,o)}}function Jg(t,e,r){let n=Ap(e,t);II(t[Q],n,r)}function dC(t,e){let r=dn(e,t),n=r[N];fC(n,r);let o=r[It];o!==null&&r[gr]===null&&(r[gr]=hl(o,r[mr])),Sl(n,r,r[De])}function fC(t,e){for(let r=e.length;r<t.blueprint.length;r++)e.push(t.blueprint[r])}function Sl(t,e,r){il(e);try{let n=t.viewQuery;n!==null&&cu(1,n,r);let o=t.template;o!==null&&Bg(t,e,o,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),e[Ot]?.finishViewCreation(t),t.staticContentQueries&&Wg(t,e),t.staticViewQueries&&cu(2,t.viewQuery,r);let i=t.components;i!==null&&hC(e,i)}catch(n){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),n}finally{e[_]&=-5,sl()}}function hC(t,e){for(let r=0;r<e.length;r++)dC(t,e[r])}function Eo(t,e,r,n){let o=j(null);try{let i=e.tView,a=t[_]&4096?4096:16,c=Zs(t,i,r,a,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),u=t[e.index];c[_n]=u;let l=t[Ot];return l!==null&&(c[Ot]=l.createEmbeddedView(i)),Sl(i,c,r),c}finally{j(o)}}function Xg(t,e){let r=Ee+e;if(r<t.length)return t[r]}function yr(t,e){return!e||e.firstChild===null||ig(t)}function Io(t,e,r,n=!0){let o=e[N];if(TI(o,e,t,r),n){let s=su(r,t),a=e[Q],c=yl(a,t[Nn]);c!==null&&MI(o,t[Fe],a,e,c,s)}let i=e[gr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function em(t,e){let r=uo(t,e);return r!==void 0&&Gs(r[N],r),r}function fs(t,e,r,n,o=!1){for(;r!==null;){if(r.type===128){r=o?r.projectionNext:r.next;continue}let i=e[r.index];i!==null&&n.push(wt(i)),Lt(i)&&pC(i,n);let s=r.type;if(s&8)fs(t,e,r.child,n);else if(s&32){let a=ml(r,e),c;for(;c=a();)n.push(c)}else if(s&16){let a=Pg(e,r);if(Array.isArray(a))n.push(...a);else{let c=An(e[Pe]);fs(c[N],c,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function pC(t,e){for(let r=Ee;r<t.length;r++){let n=t[r],o=n[N].firstChild;o!==null&&fs(n[N],n,o,e)}t[Nn]!==t[It]&&e.push(t[Nn])}var tm=[];function gC(t){return t[Ge]??mC(t)}function mC(t){let e=tm.pop()??Object.create(yC);return e.lView=t,e}function vC(t){t.lView[Ge]!==t&&(t.lView=null,tm.push(t))}var yC=J(D({},ar),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{ks(t.lView)},consumerOnSignalRead(){this.lView[Ge]=this}});function DC(t){let e=t[Ge]??Object.create(wC);return e.lView=t,e}var wC=J(D({},ar),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=An(t.lView);for(;e&&!nm(e[N]);)e=An(e);e&&Op(e)},consumerOnSignalRead(){this.lView[Ge]=this}});function nm(t){return t.type!==2}var EC=100;function rm(t,e=!0,r=0){let n=t[Dt],o=n.rendererFactory,i=!1;i||o.begin?.();try{IC(t,r)}catch(s){throw e&&Kg(t,s),s}finally{i||(o.end?.(),n.inlineEffectRunner?.flush())}}function IC(t,e){let r=Vp();try{uh(!0),uu(t,e);let n=0;for(;co(t);){if(n===EC)throw new w(103,!1);n++,uu(t,1)}}finally{uh(r)}}function CC(t,e,r,n){let o=e[_];if((o&256)===256)return;let i=!1,s=!1;!i&&e[Dt].inlineEffectRunner?.flush(),il(e);let a=!0,c=null,u=null;i||(nm(t)?(u=gC(e),c=to(u)):jf()===null?(a=!1,u=DC(e),c=to(u)):e[Ge]&&(ki(e[Ge]),e[Ge]=null));try{Rp(e),fE(t.bindingStartIndex),r!==null&&Bg(t,e,r,2,n);let l=(o&3)===3;if(!i)if(l){let h=t.preOrderCheckHooks;h!==null&&Yi(e,h,null)}else{let h=t.preOrderHooks;h!==null&&Qi(e,h,0,null),wc(e,0)}if(s||bC(e),om(e,0),t.contentQueries!==null&&Wg(t,e),!i)if(l){let h=t.contentCheckHooks;h!==null&&Yi(e,h)}else{let h=t.contentHooks;h!==null&&Qi(e,h,1),wc(e,1)}UI(t,e);let d=t.components;d!==null&&sm(e,d,0);let f=t.viewQuery;if(f!==null&&cu(2,f,n),!i)if(l){let h=t.viewCheckHooks;h!==null&&Yi(e,h)}else{let h=t.viewHooks;h!==null&&Qi(e,h,2),wc(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[Zi]){for(let h of e[Zi])h();e[Zi]=null}i||(e[_]&=-73)}catch(l){throw i||ks(e),l}finally{u!==null&&(Pi(u,c),a&&vC(u)),sl()}}function om(t,e){for(let r=ag(t);r!==null;r=cg(r))for(let n=Ee;n<r.length;n++){let o=r[n];im(o,e)}}function bC(t){for(let e=ag(t);e!==null;e=cg(e)){if(!(e[_]&ss.HasTransplantedViews))continue;let r=e[vr];for(let n=0;n<r.length;n++){let o=r[n];Op(o)}}}function MC(t,e,r){let n=dn(e,t);im(n,r)}function im(t,e){Xu(t)&&uu(t,e)}function uu(t,e){let n=t[N],o=t[_],i=t[Ge],s=!!(e===0&&o&16);if(s||=!!(o&64&&e===0),s||=!!(o&1024),s||=!!(i?.dirty&&Fi(i)),s||=!1,i&&(i.dirty=!1),t[_]&=-9217,s)CC(n,t,n.template,t[De]);else if(o&8192){om(t,1);let a=n.components;a!==null&&sm(t,a,1)}}function sm(t,e,r){for(let n=0;n<e.length;n++)MC(t,e[n],r)}function Tl(t,e){let r=Vp()?64:1088;for(t[Dt].changeDetectionScheduler?.notify(e);t;){t[_]|=r;let n=An(t);if(Uc(t)&&!n)return t;t=n}return null}var Fn=class{get rootNodes(){let e=this._lView,r=e[N];return fs(r,e,r.firstChild,[])}constructor(e,r,n=!0){this._lView=e,this._cdRefInjectingView=r,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[De]}set context(e){this._lView[De]=e}get destroyed(){return(this._lView[_]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Ce];if(Lt(e)){let r=e[is],n=r?r.indexOf(this):-1;n>-1&&(uo(e,n),ns(r,n))}this._attachedToViewContainer=!1}Gs(this._lView[N],this._lView)}onDestroy(e){Pp(this._lView,e)}markForCheck(){Tl(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){Bc(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,rm(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Uc(this._lView),r=this._lView[_n];r!==null&&!e&&vl(r,this._lView),_g(this._lView[N],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=e;let r=Uc(this._lView),n=this._lView[_n];n!==null&&!r&&Ng(n,this._lView),Bc(this._lView)}},kn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=xC;let t=e;return t})(),SC=kn,TC=class extends SC{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let o=Eo(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new Fn(o)}};function xC(){return Qs(he(),M())}function Qs(t,e){return t.type&4?new TC(e,t,xr(t,e)):null}var mL=new RegExp(`^(\\d+)*(${qE}|${GE})*(.*)`);var _C=()=>null;function Dr(t,e){return _C(t,e)}var wr=class{},am=new E("",{providedIn:"root",factory:()=>!1});var cm=new E(""),lu=class{},hs=class{};function NC(t){let e=Error(`No component factory found for ${xe(t)}.`);return e[AC]=t,e}var AC="ngComponent";var du=class{resolveComponentFactory(e){throw NC(e)}},Zl=class Zl{};Zl.NULL=new du;var Er=Zl,Ir=class{},hn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>RC();let t=e;return t})();function RC(){let t=M(),e=he(),r=dn(e.index,t);return(on(r)?r:t)[Q]}var OC=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();var Sh=new Set;function ot(t){Sh.has(t)||(Sh.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function um(t){let e=!0;return setTimeout(()=>{e&&(e=!1,t())}),typeof ue.requestAnimationFrame=="function"&&ue.requestAnimationFrame(()=>{e&&(e=!1,t())}),()=>{e=!1}}function Th(t){let e=!0;return queueMicrotask(()=>{e&&t()}),()=>{e=!1}}function xh(...t){}var G=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ye(!1),this.onMicrotaskEmpty=new ye(!1),this.onStable=new ye(!1),this.onError=new ye(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!n&&r,o.shouldCoalesceRunChangeDetection=n,o.callbackScheduled=!1,kC(o)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new w(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,PC,xh,xh);try{return i.runTask(s,r,n)}finally{i.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},PC={};function xl(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function FC(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{um(()=>{t.callbackScheduled=!1,fu(t),t.isCheckStableRunning=!0,xl(t),t.isCheckStableRunning=!1})}),fu(t))}function kC(t){let e=()=>{FC(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,n,o,i,s,a)=>{if(LC(a))return r.invokeTask(o,i,s,a);try{return _h(t),r.invokeTask(o,i,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&i.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Nh(t)}},onInvoke:(r,n,o,i,s,a,c)=>{try{return _h(t),r.invoke(o,i,s,a,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!jC(a)&&e(),Nh(t)}},onHasTask:(r,n,o,i)=>{r.hasTask(o,i),n===o&&(i.change=="microTask"?(t._hasPendingMicrotasks=i.microTask,fu(t),xl(t)):i.change=="macroTask"&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(r,n,o,i)=>(r.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}function fu(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function _h(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Nh(t){t._nesting--,xl(t)}var ps=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ye,this.onMicrotaskEmpty=new ye,this.onStable=new ye,this.onError=new ye}run(e,r,n){return e.apply(r,n)}runGuarded(e,r,n){return e.apply(r,n)}runOutsideAngular(e){return e()}runTask(e,r,n,o){return e.apply(r,n)}};function LC(t){return lm(t,"__ignore_ng_zone__")}function jC(t){return lm(t,"__scheduler_tick__")}function lm(t,e){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[e]===!0}function VC(t="zone.js",e){return t==="noop"?new ps:t==="zone.js"?new G(e):t}var Te=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Te||{}),dm={destroy(){}};function UC(t,e){!e&&Zu(UC);let r=e?.injector??g(_e);return Tg(r)?(ot("NgAfterRender"),fm(t,r,!1,e?.phase??Te.MixedReadWrite)):dm}function Ks(t,e){!e&&Zu(Ks);let r=e?.injector??g(_e);return Tg(r)?(ot("NgAfterNextRender"),fm(t,r,!0,e?.phase??Te.MixedReadWrite)):dm}function $C(t,e){if(t instanceof Function)switch(e){case Te.EarlyRead:return{earlyRead:t};case Te.Write:return{write:t};case Te.MixedReadWrite:return{mixedReadWrite:t};case Te.Read:return{read:t}}return t}function fm(t,e,r,n){let o=$C(t,n),i=e.get(_l),s=i.handler??=new pu,a=[],c=[],u=()=>{for(let h of c)s.unregister(h);l()},l=e.get($s).onDestroy(u),d=0,f=(h,p)=>{if(!p)return;let y=r?(...v)=>{d--,d<1&&u(),p(...v)}:p,m=je(e,()=>new hu(h,a,y));s.register(m),c.push(m),d++};return f(Te.EarlyRead,o.earlyRead),f(Te.Write,o.write),f(Te.MixedReadWrite,o.mixedReadWrite),f(Te.Read,o.read),{destroy:u}}var hu=class{constructor(e,r,n){this.phase=e,this.pipelinedArgs=r,this.callbackFn=n,this.zone=g(G),this.errorHandler=g(tt,{optional:!0}),g(wr,{optional:!0})?.notify(6)}invoke(){try{let e=this.zone.runOutsideAngular(()=>this.callbackFn.apply(null,this.pipelinedArgs));this.pipelinedArgs.splice(0,this.pipelinedArgs.length,e)}catch(e){this.errorHandler?.handleError(e)}}},pu=class{constructor(){this.executingCallbacks=!1,this.buckets={[Te.EarlyRead]:new Set,[Te.Write]:new Set,[Te.MixedReadWrite]:new Set,[Te.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},_l=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){let n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let o of n)o()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function gs(t,e,r){let n=r?t.styles:null,o=r?t.classes:null,i=0;if(e!==null)for(let s=0;s<e.length;s++){let a=e[s];if(typeof a=="number")i=a;else if(i==1)o=Rc(o,a);else if(i==2){let c=a,u=e[++s];n=Rc(n,c+": "+u+";")}}r?t.styles=n:t.stylesWithoutHost=n,r?t.classes=o:t.classesWithoutHost=o}var ms=class extends Er{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=Rt(e);return new Ln(r,this.ngModule)}};function Ah(t,e){let r=[];for(let n in t){if(!t.hasOwnProperty(n))continue;let o=t[n];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:sn.None;e?r.push({propName:s,templateName:n,isSignal:(a&sn.SignalBased)!==0}):r.push({propName:s,templateName:n})}return r}function BC(t){let e=t.toLowerCase();return e==="svg"?Np:e==="math"?Jw:null}var Ln=class extends hs{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=Ah(e.inputs,!0);if(r!==null)for(let o of n)r.hasOwnProperty(o.propName)&&(o.transform=r[o.propName]);return n}get outputs(){return Ah(this.componentDef.outputs,!1)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=Aw(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,o){let i=j(null);try{o=o||this.ngModule;let s=o instanceof Ie?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new zc(e,s):e,c=a.get(Ir,null);if(c===null)throw new w(407,!1);let u=a.get(OC,null),l=a.get(_l,null),d=a.get(wr,null),f={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,afterRenderEventManager:l,changeDetectionScheduler:d},h=c.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",y=n?HI(h,n,this.componentDef.encapsulation,a):xg(h,p,BC(p)),m=512;this.componentDef.signals?m|=4096:this.componentDef.onPush||(m|=16);let v=null;y!==null&&(v=hl(y,a,!0));let F=Cl(0,null,null,1,0,null,null,null,null,null,null),z=Zs(null,F,null,m,null,null,f,h,a,null,v);il(z);let U,be;try{let ie=this.componentDef,ze,qn=null;ie.findHostDirectiveDefs?(ze=[],qn=new Map,ie.findHostDirectiveDefs(ie,ze,qn),ze.push(ie)):ze=[ie];let By=HC(z,y),Hy=zC(By,y,ie,ze,z,f,h);be=Ku(F,fe),y&&WC(h,ie,y,n),r!==void 0&&ZC(be,this.ngContentSelectors,r),U=qC(Hy,ie,ze,qn,z,[YC]),Sl(F,z,null)}finally{sl()}return new gu(this.componentType,U,xr(be,z),z,be)}finally{j(i)}}},gu=class extends lu{constructor(e,r,n,o,i){super(),this.location=n,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=r,this.hostView=this.changeDetectorRef=new Fn(o,void 0,!1),this.componentType=e}setInput(e,r){let n=this._tNode.inputs,o;if(n!==null&&(o=n[e])){if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let i=this._rootLView;Ml(i[N],i,o,e,r),this.previousInputValues.set(e,r);let s=dn(this._tNode.index,i);Tl(s,1)}}get injector(){return new Sn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function HC(t,e){let r=t[N],n=fe;return t[n]=e,_r(r,n,2,"#host",null)}function zC(t,e,r,n,o,i,s){let a=o[N];GC(n,t,e,s);let c=null;e!==null&&(c=hl(e,o[mr]));let u=i.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=Zs(o,Hg(r),null,l,o[t.index],t,i,u,null,null,c);return a.firstCreatePass&&au(a,t,n.length-1),Ys(o,d),o[t.index]=d}function GC(t,e,r,n){for(let o of t)e.mergedAttrs=io(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(gs(e,e.mergedAttrs,!0),r!==null&&Lg(n,r,e))}function qC(t,e,r,n,o,i){let s=he(),a=o[N],c=We(s,o);zg(a,o,s,r,null,n);for(let l=0;l<r.length;l++){let d=s.directiveStart+l,f=Pn(o,a,d,s);cn(f,o)}Gg(a,o,s),c&&cn(c,o);let u=Pn(o,a,s.directiveStart+s.componentOffset,s);if(t[De]=o[De]=u,i!==null)for(let l of i)l(u,e);return wl(a,s,o),u}function WC(t,e,r,n){if(n)kc(t,r,["ng-version","18.1.1"]);else{let{attrs:o,classes:i}=Rw(e.selectors[0]);o&&kc(t,r,o),i&&i.length>0&&kg(t,r,i.join(" "))}}function ZC(t,e,r){let n=t.projection=[];for(let o=0;o<e.length;o++){let i=r[o];n.push(i!=null?Array.from(i):null)}}function YC(){let t=he();Us(M()[N],t)}var Mt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=QC;let t=e;return t})();function QC(){let t=he();return pm(t,M())}var KC=Mt,hm=class extends KC{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return xr(this._hostTNode,this._hostLView)}get injector(){return new Sn(this._hostTNode,this._hostLView)}get parentInjector(){let e=al(this._hostTNode,this._hostLView);if(Wp(e)){let r=cs(e,this._hostLView),n=as(e),o=r[N].data[n+8];return new Sn(o,r)}else return new Sn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Rh(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-Ee}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=Dr(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,yr(this._hostTNode,s)),a}createComponent(e,r,n,o,i){let s=e&&!Zw(e),a;if(s)a=r;else{let p=r||{};a=p.index,n=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let c=s?e:new Ln(Rt(e)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let y=(s?u:this.parentInjector).get(Ie,null);y&&(i=y)}let l=Rt(c.componentType??{}),d=Dr(this._lContainer,l?.id??null),f=d?.firstChild??null,h=c.create(u,o,f,i);return this.insertImpl(h.hostView,a,yr(this._hostTNode,d)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(tE(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=o[Ce],u=new hm(c,c[Fe],c[Ce]);u.detach(u.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return Io(s,o,i,n),e.attachToViewContainerRef(),ap(Mc(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Rh(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=uo(this._lContainer,r);n&&(ns(Mc(this._lContainer),r),Gs(n[N],n))}detach(e){let r=this._adjustIndex(e,-1),n=uo(this._lContainer,r);return n&&ns(Mc(this._lContainer),r)!=null?new Fn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Rh(t){return t[is]}function Mc(t){return t[is]||(t[is]=[])}function pm(t,e){let r,n=e[t.index];return Lt(n)?r=n:(r=qg(n,e,null,t),e[t.index]=r,Ys(e,r)),XC(r,e,t,n),new hm(r,t,e)}function JC(t,e){let r=t[Q],n=r.createComment(""),o=We(e,t),i=yl(r,o);return ds(r,i,n,RI(r,o),!1),n}var XC=nb,eb=()=>!1;function tb(t,e,r){return eb(t,e,r)}function nb(t,e,r,n){if(t[Nn])return;let o;r.type&8?o=wt(n):o=JC(e,r),t[Nn]=o}var mu=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},vu=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,o=[];for(let i=0;i<n;i++){let s=r.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new t(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let r=0;r<this.queries.length;r++)Al(e,r).matches!==null&&this.queries[r].setDirty()}},vs=class{constructor(e,r,n=null){this.flags=r,this.read=n,typeof e=="string"?this.predicate=cb(e):this.predicate=e}},yu=class t{constructor(e=[]){this.queries=e}elementStart(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,r)}elementEnd(e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(e)}embeddedTView(e){let r=null;for(let n=0;n<this.length;n++){let o=r!==null?r.length:0,i=this.getByIndex(n).embeddedTView(e,o);i&&(i.indexInDeclarationView=n,r!==null?r.push(i):r=[i])}return r!==null?new t(r):null}template(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,r)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Du=class t{constructor(e,r=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=r}elementStart(e,r){this.isApplyingToNode(r)&&this.matchTNode(e,r)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,r){this.elementStart(e,r)}embeddedTView(e,r){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,r),new t(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let o=0;o<n.length;o++){let i=n[o];this.matchTNodeWithReadOption(e,r,rb(r,i)),this.matchTNodeWithReadOption(e,r,Ki(r,e,i,!1,!1))}else n===kn?r.type&4&&this.matchTNodeWithReadOption(e,r,-1):this.matchTNodeWithReadOption(e,r,Ki(r,e,n,!1,!1))}matchTNodeWithReadOption(e,r,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===Ze||o===Mt||o===kn&&r.type&4)this.addMatch(r.index,-2);else{let i=Ki(r,e,o,!1,!1);i!==null&&this.addMatch(r.index,i)}else this.addMatch(r.index,n)}}addMatch(e,r){this.matches===null?this.matches=[e,r]:this.matches.push(e,r)}};function rb(t,e){let r=t.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===e)return r[n+1]}return null}function ob(t,e){return t.type&11?xr(t,e):t.type&4?Qs(t,e):null}function ib(t,e,r,n){return r===-1?ob(e,t):r===-2?sb(t,e,n):Pn(t,t[N],r,e)}function sb(t,e,r){if(r===Ze)return xr(e,t);if(r===kn)return Qs(e,t);if(r===Mt)return pm(e,t)}function gm(t,e,r,n){let o=e[Ot].queries[n];if(o.matches===null){let i=t.data,s=r.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push(ib(e,l,s[c+1],r.metadata.read))}}o.matches=a}return o.matches}function wu(t,e,r,n){let o=t.queries.getByIndex(r),i=o.matches;if(i!==null){let s=gm(t,e,o,r);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)n.push(s[a/2]);else{let u=i[a+1],l=e[-c];for(let d=Ee;d<l.length;d++){let f=l[d];f[_n]===f[Ce]&&wu(f[N],f,u,n)}if(l[vr]!==null){let d=l[vr];for(let f=0;f<d.length;f++){let h=d[f];wu(h[N],h,u,n)}}}}}return n}function Nl(t,e){return t[Ot].queries[e].queryList}function mm(t,e,r){let n=new Qc((r&4)===4);return qI(t,e,n,n.destroy),(e[Ot]??=new vu).queries.push(new mu(n))-1}function ab(t,e,r){let n=W();return n.firstCreatePass&&(ym(n,new vs(t,e,r),-1),(e&2)===2&&(n.staticViewQueries=!0)),mm(n,M(),e)}function vm(t,e,r,n){let o=W();if(o.firstCreatePass){let i=he();ym(o,new vs(e,r,n),i.index),ub(o,t),(r&2)===2&&(o.staticContentQueries=!0)}return mm(o,M(),r)}function cb(t){return t.split(",").map(e=>e.trim())}function ym(t,e,r){t.queries===null&&(t.queries=new yu),t.queries.track(new Du(e,r))}function ub(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function Al(t,e){return t.queries.getByIndex(e)}function Dm(t,e){let r=t[N],n=Al(r,e);return n.crossesNgTemplate?wu(r,t,e,[]):gm(r,t,n,e)}function lb(t){return typeof t=="function"&&t[Le]!==void 0}function db(t,e){ot("NgSignals");let r=Yf(t),n=r[Le];return e?.equal&&(n.equal=e.equal),r.set=o=>Vi(n,o),r.update=o=>Qf(n,o),r.asReadonly=fb.bind(r),r}function fb(){let t=this[Le];if(t.readonlyFn===void 0){let e=()=>this();e[Le]=t,t.readonlyFn=e}return t.readonlyFn}function wm(t){return lb(t)&&typeof t.set=="function"}function Em(t,e){let r,n=mc(()=>{r._dirtyCounter();let o=mb(r,t);if(e&&o===void 0)throw new w(-951,!1);return o});return r=n[Le],r._dirtyCounter=db(0),r._flatValue=void 0,n}function hb(){return Em(!0,!1)}function pb(){return Em(!0,!0)}function gb(t,e){let r=t[Le];r._lView=M(),r._queryIndex=e,r._queryList=Nl(r._lView,e),r._queryList.onDirty(()=>r._dirtyCounter.update(n=>n+1))}function mb(t,e){let r=t._lView,n=t._queryIndex;if(r===void 0||n===void 0||r[_]&4)return e?void 0:Se;let o=Nl(r,n),i=Dm(r,n);return o.reset(i,og),e?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}function Oh(t,e){return hb()}function vb(t,e){return pb()}var yL=(Oh.required=vb,Oh);function yb(t){let e=[],r=new Map;function n(o){let i=r.get(o);if(!i){let s=t(o);r.set(o,i=s.then(Ib))}return i}return ys.forEach((o,i)=>{let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(u=>{o.template=u}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&o.styleUrls?.length)throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if(o.styleUrls?.length){let u=o.styles.length,l=o.styleUrls;o.styleUrls.forEach((d,f)=>{a.push(""),s.push(n(d).then(h=>{a[u+f]=h,l.splice(l.indexOf(d),1),l.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(u=>{a.push(u),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>Cb(i));e.push(c)}),wb(),Promise.all(e).then(()=>{})}var ys=new Map,Db=new Set;function wb(){let t=ys;return ys=new Map,t}function Eb(){return ys.size===0}function Ib(t){return typeof t=="string"?t:t.text()}function Cb(t){Db.delete(t)}function bb(t){return Object.getPrototypeOf(t.prototype).constructor}function Mb(t){let e=bb(t.type),r=!0,n=[t];for(;e;){let o;if(Pt(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new w(903,!1);o=e.\u0275dir}if(o){if(r){n.push(o);let s=t;s.inputs=zi(t.inputs),s.inputTransforms=zi(t.inputTransforms),s.declaredInputs=zi(t.declaredInputs),s.outputs=zi(t.outputs);let a=o.hostBindings;a&&Nb(t,a);let c=o.viewQuery,u=o.contentQueries;if(c&&xb(t,c),u&&_b(t,u),Sb(t,o),QD(t.outputs,o.outputs),Pt(o)&&o.data.animation){let l=t.data;l.animation=(l.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(t),a===Mb&&(r=!1)}}e=Object.getPrototypeOf(e)}Tb(n)}function Sb(t,e){for(let r in e.inputs){if(!e.inputs.hasOwnProperty(r)||t.inputs.hasOwnProperty(r))continue;let n=e.inputs[r];if(n!==void 0&&(t.inputs[r]=n,t.declaredInputs[r]=e.declaredInputs[r],e.inputTransforms!==null)){let o=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=e.inputTransforms[o]}}}function Tb(t){let e=0,r=null;for(let n=t.length-1;n>=0;n--){let o=t[n];o.hostVars=e+=o.hostVars,o.hostAttrs=io(o.hostAttrs,r=io(r,o.hostAttrs))}}function zi(t){return t===At?{}:t===Se?[]:t}function xb(t,e){let r=t.viewQuery;r?t.viewQuery=(n,o)=>{e(n,o),r(n,o)}:t.viewQuery=e}function _b(t,e){let r=t.contentQueries;r?t.contentQueries=(n,o,i)=>{e(n,o,i),r(n,o,i)}:t.contentQueries=e}function Nb(t,e){let r=t.hostBindings;r?t.hostBindings=(n,o)=>{e(n,o),r(n,o)}:t.hostBindings=e}function DL(t){let e=r=>{let n=(Array.isArray(t)?t:t()).map(o=>typeof o=="function"?{directive:ve(o),inputs:At,outputs:At}:{directive:ve(o.directive),inputs:Ph(o.inputs),outputs:Ph(o.outputs)});r.hostDirectives===null?(r.findHostDirectiveDefs=Im,r.hostDirectives=n):r.hostDirectives.unshift(...n)};return e.ngInherit=!0,e}function Im(t,e,r){if(t.hostDirectives!==null)for(let n of t.hostDirectives){let o=qu(n.directive);Ab(o.declaredInputs,n.inputs),Im(o,e,r),r.set(o,n),e.push(o)}}function Ph(t){if(t===void 0||t.length===0)return At;let e={};for(let r=0;r<t.length;r+=2)e[t[r]]=t[r+1];return e}function Ab(t,e){for(let r in e)if(e.hasOwnProperty(r)){let n=e[r],o=t[r];t[n]=o}}function Js(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let o=e[n];Array.isArray(o)&&o[3]&&(r[n]=o[3])}t.inputTransforms=r}var kt=class{},lo=class{};function Cm(t,e){return new fo(t,e??null,[])}var fo=class extends kt{constructor(e,r,n){super(),this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new ms(this);let o=vp(e);this._bootstrapComponents=Sg(o.bootstrap),this._r3Injector=ng(e,r,[{provide:kt,useValue:this},{provide:Er,useValue:this.componentFactoryResolver},...n],xe(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},Ds=class extends lo{constructor(e){super(),this.moduleType=e}create(e){return new fo(this.moduleType,e,[])}};function Rb(t,e,r){return new fo(t,e,r)}var Eu=class extends kt{constructor(e){super(),this.componentFactoryResolver=new ms(this),this.instance=null;let r=new so([...e.providers,{provide:kt,useValue:this},{provide:Er,useValue:this.componentFactoryResolver}],e.parent||Rs(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Xs(t,e,r=null){return new Eu({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function bm(t){return Rl(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Ob(t,e){if(Array.isArray(t))for(let r=0;r<t.length;r++)e(t[r]);else{let r=t[Symbol.iterator](),n;for(;!(n=r.next()).done;)e(n.value)}}function Rl(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function pn(t,e,r){return t[e]=r}function ea(t,e){return t[e]}function Ne(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function Cr(t,e,r,n){let o=Ne(t,e,r);return Ne(t,e+1,n)||o}function Pb(t,e,r,n,o){let i=Cr(t,e,r,n);return Ne(t,e+2,o)||i}function ho(t,e,r,n,o,i){let s=Cr(t,e,r,n);return Cr(t,e+2,o,i)||s}function Fb(t){return(t.flags&32)===32}function kb(t,e,r,n,o,i,s,a,c){let u=e.consts,l=_r(e,t,4,s||null,a||null);bl(e,r,l,an(u,c)),Us(e,l);let d=l.tView=Cl(2,l,n,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return e.queries!==null&&(e.queries.template(e,l),d.queries=e.queries.embeddedTView(l)),l}function ws(t,e,r,n,o,i,s,a,c,u){let l=r+fe,d=e.firstCreatePass?kb(l,e,t,n,o,i,s,a,c):e.data[l];Vn(d,!1);let f=jb(e,t,d,r);js()&&qs(e,t,f,d),cn(f,t);let h=qg(f,t,f,d);return t[l]=h,Ys(t,h),tb(h,d,t),Fs(d)&&El(e,t,d),c!=null&&Il(t,d,u),d}function Lb(t,e,r,n,o,i,s,a){let c=M(),u=W(),l=an(u.consts,i);return ws(c,u,t,e,r,n,o,l,s,a),Lb}var jb=Vb;function Vb(t,e,r,n){return Vs(!0),e[Q].createComment("")}function Ol(t,e,r,n){let o=M(),i=fn();if(Ne(o,i,e)){let s=W(),a=Un();aC(a,o,t,e,r,n)}return Ol}function Pl(t,e,r,n){return Ne(t,fn(),r)?e+Tn(r)+n:Ae}function Mm(t,e,r,n,o,i){let s=dE(),a=Cr(t,s,r,o);return nl(2),a?e+Tn(r)+n+Tn(o)+i:Ae}function Gi(t,e){return t<<17|e<<2}function jn(t){return t>>17&32767}function Ub(t){return(t&2)==2}function $b(t,e){return t&131071|e<<17}function Iu(t){return t|2}function br(t){return(t&131068)>>2}function Sc(t,e){return t&-131069|e<<2}function Bb(t){return(t&1)===1}function Cu(t){return t|1}function Hb(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=jn(s),c=br(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||yo(d,l)>0)&&(u=!0)}else l=r;if(o)if(c!==0){let f=jn(t[a+1]);t[n+1]=Gi(f,a),f!==0&&(t[f+1]=Sc(t[f+1],n)),t[a+1]=$b(t[a+1],n)}else t[n+1]=Gi(a,0),a!==0&&(t[a+1]=Sc(t[a+1],n)),a=n;else t[n+1]=Gi(c,0),a===0?a=n:t[c+1]=Sc(t[c+1],n),c=n;u&&(t[n+1]=Iu(t[n+1])),Fh(t,l,n,!0),Fh(t,l,n,!1),zb(e,l,t,n,i),s=Gi(a,c),i?e.classBindings=s:e.styleBindings=s}function zb(t,e,r,n,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&yo(i,e)>=0&&(r[n+1]=Cu(r[n+1]))}function Fh(t,e,r,n){let o=t[r+1],i=e===null,s=n?jn(o):br(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],u=t[s+1];Gb(c,e)&&(a=!0,t[s+1]=n?Cu(u):Iu(u)),s=n?jn(u):br(u)}a&&(t[r+1]=n?Iu(o):Cu(o))}function Gb(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?yo(t,e)>=0:!1}var ce={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Sm(t){return t.substring(ce.key,ce.keyEnd)}function qb(t){return t.substring(ce.value,ce.valueEnd)}function Wb(t){return _m(t),Tm(t,Mr(t,0,ce.textEnd))}function Tm(t,e){let r=ce.textEnd;return r===e?-1:(e=ce.keyEnd=Yb(t,ce.key=e,r),Mr(t,e,r))}function Zb(t){return _m(t),xm(t,Mr(t,0,ce.textEnd))}function xm(t,e){let r=ce.textEnd,n=ce.key=Mr(t,e,r);return r===n?-1:(n=ce.keyEnd=Qb(t,n,r),n=kh(t,n,r,58),n=ce.value=Mr(t,n,r),n=ce.valueEnd=Kb(t,n,r),kh(t,n,r,59))}function _m(t){ce.key=0,ce.keyEnd=0,ce.value=0,ce.valueEnd=0,ce.textEnd=t.length}function Mr(t,e,r){for(;e<r&&t.charCodeAt(e)<=32;)e++;return e}function Yb(t,e,r){for(;e<r&&t.charCodeAt(e)>32;)e++;return e}function Qb(t,e,r){let n;for(;e<r&&((n=t.charCodeAt(e))===45||n===95||(n&-33)>=65&&(n&-33)<=90||n>=48&&n<=57);)e++;return e}function kh(t,e,r,n){return e=Mr(t,e,r),e<r&&e++,e}function Kb(t,e,r){let n=-1,o=-1,i=-1,s=e,a=s;for(;s<r;){let c=t.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Lh(t,c,s,r):e===s-4&&i===85&&o===82&&n===76&&c===40?a=s=Lh(t,41,s,r):c>32&&(a=s),i=o,o=n,n=c&-33}return a}function Lh(t,e,r,n){let o=-1,i=r;for(;i<n;){let s=t.charCodeAt(i++);if(s==e&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function Jb(t,e,r){let n=M(),o=fn();if(Ne(n,o,e)){let i=W(),s=Un();Nr(i,s,n,t,e,n[Q],r,!1)}return Jb}function bu(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";Ml(t,r,i[s],s,n)}function Fl(t,e,r){return Am(t,e,r,!1),Fl}function Xb(t,e){return Am(t,e,null,!0),Xb}function wL(t){kl(Pm,e0,t,!1)}function e0(t,e){for(let r=Zb(e);r>=0;r=xm(e,r))Pm(t,Sm(e),qb(e))}function EL(t){kl(s0,Nm,t,!0)}function Nm(t,e){for(let r=Wb(e);r>=0;r=Tm(e,r))vo(t,Sm(e),!0)}function Am(t,e,r,n){let o=M(),i=W(),s=nl(2);if(i.firstUpdatePass&&Om(i,t,s,n),e!==Ae&&Ne(o,s,e)){let a=i.data[Vt()];Fm(i,a,o,o[Q],t,o[s+1]=c0(e,r),n,s)}}function kl(t,e,r,n){let o=W(),i=nl(2);o.firstUpdatePass&&Om(o,null,i,n);let s=M();if(r!==Ae&&Ne(s,i,r)){let a=o.data[Vt()];if(km(a,n)&&!Rm(o,i)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=Rc(c,r||"")),bu(o,a,s,r,n)}else a0(o,a,s,s[Q],s[i+1],s[i+1]=i0(t,e,r),n,i)}}function Rm(t,e){return e>=t.expandoStartIndex}function Om(t,e,r,n){let o=t.data;if(o[r+1]===null){let i=o[Vt()],s=Rm(t,r);km(i,n)&&e===null&&!s&&(e=!1),e=t0(o,i,e,n),Hb(o,i,e,r,s,n)}}function t0(t,e,r,n){let o=rl(t),i=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(r=Tc(null,t,e,r,n),r=po(r,e.attrs,n),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(r=Tc(o,t,e,r,n),i===null){let c=n0(t,e,n);c!==void 0&&Array.isArray(c)&&(c=Tc(null,t,e,c[1],n),c=po(c,e.attrs,n),r0(t,e,n,c))}else i=o0(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function n0(t,e,r){let n=r?e.classBindings:e.styleBindings;if(br(n)!==0)return t[jn(n)]}function r0(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[jn(o)]=n}function o0(t,e,r){let n,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;n=po(n,s,r)}return po(n,e.attrs,r)}function Tc(t,e,r,n,o){let i=null,s=r.directiveEnd,a=r.directiveStylingLast;for(a===-1?a=r.directiveStart:a++;a<s&&(i=e[a],n=po(n,i.hostAttrs,o),i!==t);)a++;return t!==null&&(r.directiveStylingLast=a),n}function po(t,e,r){let n=r?1:2,o=-1;if(e!==null)for(let i=0;i<e.length;i++){let s=e[i];typeof s=="number"?o=s:o===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),vo(t,s,r?!0:e[++i]))}return t===void 0?null:t}function i0(t,e,r){if(r==null||r==="")return Se;let n=[],o=ke(r);if(Array.isArray(o))for(let i=0;i<o.length;i++)t(n,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&t(n,i,o[i]);else typeof o=="string"&&e(n,o);return n}function Pm(t,e,r){vo(t,e,ke(r))}function s0(t,e,r){let n=String(e);n!==""&&!n.includes(" ")&&vo(t,n,r)}function a0(t,e,r,n,o,i,s,a){o===Ae&&(o=Se);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let f=c<o.length?o[c+1]:void 0,h=u<i.length?i[u+1]:void 0,p=null,y;l===d?(c+=2,u+=2,f!==h&&(p=d,y=h)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,y=h),p!==null&&Fm(t,e,r,n,p,y,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function Fm(t,e,r,n,o,i,s,a){if(!(e.type&3))return;let c=t.data,u=c[a+1],l=Bb(u)?jh(c,e,r,o,br(u),s):void 0;if(!Es(l)){Es(i)||Ub(u)&&(i=jh(c,null,r,o,a,s));let d=Ap(Vt(),r);jI(n,s,d,o,i)}}function jh(t,e,r,n,o,i){let s=e===null,a;for(;o>0;){let c=t[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,f=r[o+1];f===Ae&&(f=d?Se:void 0);let h=d?yc(f,n):l===n?f:void 0;if(u&&!Es(h)&&(h=yc(c,n)),Es(h)&&(a=h,s))return a;let p=t[o+1];o=s?jn(p):br(p)}if(e!==null){let c=i?e.residualClasses:e.residualStyles;c!=null&&(a=yc(c,n))}return a}function Es(t){return t!==void 0}function c0(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=xe(ke(t)))),t}function km(t,e){return(t.flags&(e?8:16))!==0}function IL(t,e,r){let n=M(),o=Pl(n,t,e,r);kl(vo,Nm,o,!0)}function CL(){return M()[Pe][De]}var Mu=class{destroy(e){}updateValue(e,r){}swap(e,r){let n=Math.min(e,r),o=Math.max(e,r),i=this.detach(o);if(o-n>1){let s=this.detach(n);this.attach(n,i),this.attach(o,s)}else this.attach(n,i)}move(e,r){this.attach(r,this.detach(e))}};function xc(t,e,r,n,o){return t===r&&Object.is(e,n)?1:Object.is(o(t,e),o(r,n))?-1:0}function u0(t,e,r){let n,o,i=0,s=t.length-1,a=void 0;if(Array.isArray(e)){let c=e.length-1;for(;i<=s&&i<=c;){let u=t.at(i),l=e[i],d=xc(i,u,i,l,r);if(d!==0){d<0&&t.updateValue(i,l),i++;continue}let f=t.at(s),h=e[c],p=xc(s,f,c,h,r);if(p!==0){p<0&&t.updateValue(s,h),s--,c--;continue}let y=r(i,u),m=r(s,f),v=r(i,l);if(Object.is(v,m)){let F=r(c,h);Object.is(F,y)?(t.swap(i,s),t.updateValue(s,h),c--,s--):t.move(s,i),t.updateValue(i,l),i++;continue}if(n??=new Is,o??=Uh(t,i,s,r),Su(t,n,i,v))t.updateValue(i,l),i++,s++;else if(o.has(v))n.set(y,t.detach(i)),s--;else{let F=t.create(i,e[i]);t.attach(i,F),i++,s++}}for(;i<=c;)Vh(t,n,r,i,e[i]),i++}else if(e!=null){let c=e[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=t.at(i),d=u.value,f=xc(i,l,i,d,r);if(f!==0)f<0&&t.updateValue(i,d),i++,u=c.next();else{n??=new Is,o??=Uh(t,i,s,r);let h=r(i,d);if(Su(t,n,i,h))t.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(h))t.attach(i,t.create(i,d)),i++,s++,u=c.next();else{let p=r(i,l);n.set(p,t.detach(i)),s--}}}for(;!u.done;)Vh(t,n,r,t.length,u.value),u=c.next()}for(;i<=s;)t.destroy(t.detach(s--));n?.forEach(c=>{t.destroy(c)})}function Su(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function Vh(t,e,r,n,o){if(Su(t,e,n,r(n,o)))t.updateValue(n,o);else{let i=t.create(n,o);t.attach(n,i)}}function Uh(t,e,r,n){let o=new Set;for(let i=e;i<=r;i++)o.add(n(i,t.at(i)));return o}var Is=class{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let r=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(r)?(this.kvMap.set(e,this._vMap.get(r)),this._vMap.delete(r)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,r){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(n);)n=o.get(n);o.set(n,r)}else this.kvMap.set(e,r)}forEach(e){for(let[r,n]of this.kvMap)if(e(n,r),this._vMap!==void 0){let o=this._vMap;for(;o.has(n);)n=o.get(n),e(n,r)}}};function bL(t,e){ot("NgControlFlow");let r=M(),n=fn(),o=r[n]!==Ae?r[n]:-1,i=o!==-1?Cs(r,fe+o):void 0,s=0;if(Ne(r,n,t)){let a=j(null);try{if(i!==void 0&&em(i,s),t!==-1){let c=fe+t,u=Cs(r,c),l=Nu(r[N],c),d=Dr(u,l.tView.ssrId),f=Eo(r,l,e,{dehydratedView:d});Io(u,f,s,yr(l,d))}}finally{j(a)}}else if(i!==void 0){let a=Xg(i,s);a!==void 0&&(a[De]=e)}}var Tu=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-Ee}};function ML(t){return t}function SL(t,e){return e}var xu=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function TL(t,e,r,n,o,i,s,a,c,u,l,d,f){ot("NgControlFlow");let h=M(),p=W(),y=c!==void 0,m=M(),v=a?s.bind(m[Pe][De]):s,F=new xu(y,v);m[fe+t]=F,ws(h,p,t+1,e,r,n,o,an(p.consts,i)),y&&ws(h,p,t+2,c,u,l,d,an(p.consts,f))}var _u=class extends Mu{constructor(e,r,n){super(),this.lContainer=e,this.hostLView=r,this.templateTNode=n,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Ee}at(e){return this.getLView(e)[De].$implicit}attach(e,r){let n=r[gr];this.needsIndexUpdate||=e!==this.length,Io(this.lContainer,r,e,yr(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,l0(this.lContainer,e)}create(e,r){let n=Dr(this.lContainer,this.templateTNode.tView.ssrId),o=Eo(this.hostLView,this.templateTNode,new Tu(this.lContainer,r,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),o}destroy(e){Gs(e[N],e),this.operationsCounter?.recordDestroy()}updateValue(e,r){this.getLView(e)[De].$implicit=r}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[De].$index=e}getLView(e){return d0(this.lContainer,e)}};function xL(t){let e=j(null),r=Vt();try{let n=M(),o=n[N],i=n[r],s=r+1,a=Cs(n,s);if(i.liveCollection===void 0){let u=Nu(o,s);i.liveCollection=new _u(a,n,u)}else i.liveCollection.reset();let c=i.liveCollection;if(u0(c,t,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=fn(),l=c.length===0;if(Ne(n,u,l)){let d=r+2,f=Cs(n,d);if(l){let h=Nu(o,d),p=Dr(f,h.tView.ssrId),y=Eo(n,h,void 0,{dehydratedView:p});Io(f,y,0,yr(h,p))}else em(f,0)}}}finally{j(e)}}function Cs(t,e){return t[e]}function l0(t,e){return uo(t,e)}function d0(t,e){return Xg(t,e)}function Nu(t,e){return Ku(t,e)}function f0(t,e,r,n,o,i){let s=e.consts,a=an(s,o),c=_r(e,t,2,n,a);return bl(e,r,c,an(s,i)),c.attrs!==null&&gs(c,c.attrs,!1),c.mergedAttrs!==null&&gs(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function Lm(t,e,r,n){let o=M(),i=W(),s=fe+t,a=o[Q],c=i.firstCreatePass?f0(s,i,o,e,r,n):i.data[s],u=h0(i,o,c,a,e,t);o[s]=u;let l=Fs(c);return Vn(c,!0),Lg(a,u,c),!Fb(c)&&js()&&qs(i,o,u,c),oE()===0&&cn(u,o),iE(),l&&(El(i,o,c),wl(i,c,o)),n!==null&&Il(o,c),Lm}function jm(){let t=he();el()?tl():(t=t.parent,Vn(t,!1));let e=t;aE(e)&&cE(),sE();let r=W();return r.firstCreatePass&&(Us(r,t),Qu(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&CE(e)&&bu(r,e,M(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&bE(e)&&bu(r,e,M(),e.stylesWithoutHost,!1),jm}function Ll(t,e,r,n){return Lm(t,e,r,n),jm(),Ll}var h0=(t,e,r,n,o,i)=>(Vs(!0),xg(n,o,DE()));function p0(t,e,r,n,o){let i=e.consts,s=an(i,n),a=_r(e,t,8,"ng-container",s);s!==null&&gs(a,s,!0);let c=an(i,o);return bl(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function Vm(t,e,r){let n=M(),o=W(),i=t+fe,s=o.firstCreatePass?p0(i,o,n,e,r):o.data[i];Vn(s,!0);let a=m0(o,n,s,t);return n[i]=a,js()&&qs(o,n,a,s),cn(a,n),Fs(s)&&(El(o,n,s),wl(o,s,n)),r!=null&&Il(n,s),Vm}function Um(){let t=he(),e=W();return el()?tl():(t=t.parent,Vn(t,!1)),e.firstCreatePass&&(Us(e,t),Qu(t)&&e.queries.elementEnd(t)),Um}function g0(t,e,r){return Vm(t,e,r),Um(),g0}var m0=(t,e,r,n)=>(Vs(!0),CI(e[Q],""));function _L(){return M()}function v0(t,e,r){let n=M(),o=fn();if(Ne(n,o,e)){let i=W(),s=Un();Nr(i,s,n,t,e,n[Q],r,!0)}return v0}function y0(t,e,r){let n=M(),o=fn();if(Ne(n,o,e)){let i=W(),s=Un(),a=rl(i.data),c=Qg(a,s,n);Nr(i,s,n,t,e,c,r,!0)}return y0}var bn=void 0;function D0(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var w0=["en",[["a","p"],["AM","PM"],bn],[["AM","PM"],bn,bn],[["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"]],bn,[["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"]],bn,[["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}",bn,"{1} 'at' {0}",bn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",D0],_c={};function Ve(t){let e=E0(t),r=$h(e);if(r)return r;let n=e.split("-")[0];if(r=$h(n),r)return r;if(n==="en")return w0;throw new w(701,!1)}function $h(t){return t in _c||(_c[t]=ue.ng&&ue.ng.common&&ue.ng.common.locales&&ue.ng.common.locales[t]),_c[t]}var te=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(te||{});function E0(t){return t.toLowerCase().replace(/_/g,"-")}var bs="en-US";var I0=bs;function C0(t){typeof t=="string"&&(I0=t.toLowerCase().replace(/_/g,"-"))}var b0=(t,e,r)=>{};function jl(t,e,r,n){let o=M(),i=W(),s=he();return Vl(i,o,o[Q],s,t,e,n),jl}function M0(t,e){let r=he(),n=M(),o=W(),i=rl(o.data),s=Qg(i,r,n);return Vl(o,n,s,r,t,e),M0}function S0(t,e,r,n){let o=t.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===r&&o[i+1]===n){let a=e[os],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function Vl(t,e,r,n,o,i,s){let a=Fs(n),u=t.firstCreatePass&&Yg(t),l=e[De],d=Zg(e),f=!0;if(n.type&3||s){let y=We(n,e),m=s?s(y):y,v=d.length,F=s?U=>s(wt(U[n.index])):n.index,z=null;if(!s&&a&&(z=S0(t,e,o,n.index)),z!==null){let U=z.__ngLastListenerFn__||z;U.__ngNextListenerFn__=i,z.__ngLastListenerFn__=i,f=!1}else{i=Hh(n,e,l,i),b0(y,o,i);let U=r.listen(m,o,i);d.push(i,U),u&&u.push(o,F,v,v+1)}}else i=Hh(n,e,l,i);let h=n.outputs,p;if(f&&h!==null&&(p=h[o])){let y=p.length;if(y)for(let m=0;m<y;m+=2){let v=p[m],F=p[m+1],be=e[v][F].subscribe(i),ie=d.length;d.push(i,be),u&&u.push(o,n.index,ie,-(ie+1))}}}function Bh(t,e,r,n){let o=j(null);try{return mt(6,e,r),r(n)!==!1}catch(i){return Kg(t,i),!1}finally{mt(7,e,r),j(o)}}function Hh(t,e,r,n){return function o(i){if(i===Function)return n;let s=t.componentOffset>-1?dn(t.index,e):e;Tl(s,5);let a=Bh(e,r,n,i),c=o.__ngNextListenerFn__;for(;c;)a=Bh(e,r,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function NL(t=1){return vE(t)}function T0(t,e){let r=null,n=Sw(t);for(let o=0;o<e.length;o++){let i=e[o];if(i==="*"){r=o;continue}if(n===null?hp(t,i,!0):_w(n,i))return o}return r}function AL(t){let e=M()[Pe][Fe];if(!e.projection){let r=t?t.length:1,n=e.projection=vw(r,null),o=n.slice(),i=e.child;for(;i!==null;){if(i.type!==128){let s=t?T0(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:n[s]=i,o[s]=i)}i=i.next}}}function RL(t,e=0,r,n,o,i){let s=M(),a=W(),c=n?t+1:null;c!==null&&ws(s,a,c,n,o,i,null,r);let u=_r(a,fe+t,16,null,r||null);u.projection===null&&(u.projection=e),tl();let d=!s[gr]||Lp();s[Pe][Fe].projection[u.projection]===null&&c!==null?x0(s,a,c):d&&(u.flags&32)!==32&&kI(a,s,u)}function x0(t,e,r){let n=fe+r,o=e.data[n],i=t[n],s=Dr(i,o.tView.ssrId),a=Eo(t,o,void 0,{dehydratedView:s});Io(i,a,0,yr(o,s))}function _0(t,e,r){return $m(t,"",e,"",r),_0}function $m(t,e,r,n,o){let i=M(),s=Pl(i,e,r,n);if(s!==Ae){let a=W(),c=Un();Nr(a,c,i,t,s,i[Q],o,!1)}return $m}function N0(t,e,r,n,o,i,s){let a=M(),c=Mm(a,e,r,n,o,i);if(c!==Ae){let u=W(),l=Un();Nr(u,l,a,t,c,a[Q],s,!1)}return N0}function Bm(t,e,r,n){vm(t,e,r,n)}function OL(t,e,r){ab(t,e,r)}function Hm(t){let e=M(),r=W(),n=ol();Ls(n+1);let o=Al(r,n);if(t.dirty&&eE(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=Dm(e,n);t.reset(i,og),t.notifyOnChanges()}return!0}return!1}function zm(){return Nl(M(),ol())}function PL(t,e,r,n,o){gb(e,vm(t,r,n,o))}function FL(t=1){Ls(ol()+t)}function A0(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function kL(t){let e=lE();return Ju(e,fe+t)}function LL(t,e=""){let r=M(),n=W(),o=t+fe,i=n.firstCreatePass?_r(n,o,1,e,null):n.data[o],s=R0(n,r,i,e,t);r[o]=s,js()&&qs(n,r,s,i),Vn(i,!1)}var R0=(t,e,r,n,o)=>(Vs(!0),EI(e[Q],n));function O0(t){return Gm("",t,""),O0}function Gm(t,e,r){let n=M(),o=Pl(n,t,e,r);return o!==Ae&&Jg(n,Vt(),o),Gm}function P0(t,e,r,n,o){let i=M(),s=Mm(i,t,e,r,n,o);return s!==Ae&&Jg(i,Vt(),s),P0}function F0(t,e,r){wm(e)&&(e=e());let n=M(),o=fn();if(Ne(n,o,e)){let i=W(),s=Un();Nr(i,s,n,t,e,n[Q],r,!1)}return F0}function jL(t,e){let r=wm(t);return r&&t.set(e),r}function k0(t,e){let r=M(),n=W(),o=he();return Vl(n,r,r[Q],o,t,e),k0}function L0(t,e,r){let n=W();if(n.firstCreatePass){let o=Pt(t);Au(r,n.data,n.blueprint,o,!0),Au(e,n.data,n.blueprint,o,!1)}}function Au(t,e,r,n,o){if(t=ve(t),Array.isArray(t))for(let i=0;i<t.length;i++)Au(t[i],e,r,n,o);else{let i=W(),s=M(),a=he(),c=pr(t)?t:ve(t.provide),u=Cp(t),l=a.providerIndexes&1048575,d=a.directiveStart,f=a.providerIndexes>>20;if(pr(t)||!t.multi){let h=new On(u,o,V),p=Ac(c,e,o?l:l+f,d);p===-1?(qc(ls(a,s),i,c),Nc(i,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(h),s.push(h)):(r[p]=h,s[p]=h)}else{let h=Ac(c,e,l+f,d),p=Ac(c,e,l,l+f),y=h>=0&&r[h],m=p>=0&&r[p];if(o&&!m||!o&&!y){qc(ls(a,s),i,c);let v=U0(o?V0:j0,r.length,o,n,u);!o&&m&&(r[p].providerFactory=v),Nc(i,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(v),s.push(v)}else{let v=qm(r[o?p:h],u,!o&&n);Nc(i,t,h>-1?h:p,v)}!o&&n&&m&&r[p].componentProviders++}}}function Nc(t,e,r,n){let o=pr(e),i=Uw(e);if(o||i){let c=(i?ve(e.useClass):e).prototype.ngOnDestroy;if(c){let u=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){let l=u.indexOf(r);l===-1?u.push(r,[n,c]):u[l+1].push(n,c)}else u.push(r,c)}}}function qm(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function Ac(t,e,r,n){for(let o=r;o<n;o++)if(e[o]===t)return o;return-1}function j0(t,e,r,n){return Ru(this.multi,[])}function V0(t,e,r,n){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Pn(r,r[N],this.providerFactory.index,n);i=a.slice(0,s),Ru(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Ru(o,i);return i}function Ru(t,e){for(let r=0;r<t.length;r++){let n=t[r];e.push(n())}return e}function U0(t,e,r,n,o){let i=new On(t,r,V);return i.multi=[],i.index=e,i.componentProviders=0,qm(i,o,n&&!r),i}function VL(t,e=[]){return r=>{r.providersResolver=(n,o)=>L0(n,o?o(t):t,e)}}var $0=(()=>{let e=class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let o=wp(!1,n.type),i=o.length>0?Xs([o],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,i)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=I({token:e,providedIn:"environment",factory:()=>new e(C(Ie))});let t=e;return t})();function Wm(t){ot("NgStandalone"),t.getStandaloneInjector=e=>e.get($0).getOrCreateStandaloneInjector(t)}function UL(t,e,r){let n=Ct()+t,o=M();return o[n]===Ae?pn(o,n,r?e.call(r):e()):ea(o,n)}function $L(t,e,r,n){return Zm(M(),Ct(),t,e,r,n)}function BL(t,e,r,n,o){return Ym(M(),Ct(),t,e,r,n,o)}function HL(t,e,r,n,o,i){return B0(M(),Ct(),t,e,r,n,o,i)}function zL(t,e,r,n,o,i,s){return H0(M(),Ct(),t,e,r,n,o,i,s)}function GL(t,e,r,n,o,i,s,a){let c=Ct()+t,u=M(),l=ho(u,c,r,n,o,i);return Ne(u,c+4,s)||l?pn(u,c+5,a?e.call(a,r,n,o,i,s):e(r,n,o,i,s)):ea(u,c+5)}function qL(t,e,r,n,o,i,s,a,c){let u=Ct()+t,l=M(),d=ho(l,u,r,n,o,i);return Cr(l,u+4,s,a)||d?pn(l,u+6,c?e.call(c,r,n,o,i,s,a):e(r,n,o,i,s,a)):ea(l,u+6)}function WL(t,e,r,n,o,i,s,a,c,u,l){let d=Ct()+t,f=M(),h=ho(f,d,r,n,o,i);return ho(f,d+4,s,a,c,u)||h?pn(f,d+8,l?e.call(l,r,n,o,i,s,a,c,u):e(r,n,o,i,s,a,c,u)):ea(f,d+8)}function ta(t,e){let r=t[e];return r===Ae?void 0:r}function Zm(t,e,r,n,o,i){let s=e+r;return Ne(t,s,o)?pn(t,s+1,i?n.call(i,o):n(o)):ta(t,s+1)}function Ym(t,e,r,n,o,i,s){let a=e+r;return Cr(t,a,o,i)?pn(t,a+2,s?n.call(s,o,i):n(o,i)):ta(t,a+2)}function B0(t,e,r,n,o,i,s,a){let c=e+r;return Pb(t,c,o,i,s)?pn(t,c+3,a?n.call(a,o,i,s):n(o,i,s)):ta(t,c+3)}function H0(t,e,r,n,o,i,s,a,c){let u=e+r;return ho(t,u,o,i,s,a)?pn(t,u+4,c?n.call(c,o,i,s,a):n(o,i,s,a)):ta(t,u+4)}function ZL(t,e){let r=W(),n,o=t+fe;r.firstCreatePass?(n=z0(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks??=[]).push(o,n.onDestroy)):n=r.data[o];let i=n.factory||(n.factory=xn(n.type,!0)),s,a=Oe(V);try{let c=us(!1),u=i();return us(c),A0(r,M(),o,u),u}finally{Oe(a)}}function z0(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function YL(t,e,r){let n=t+fe,o=M(),i=Ju(o,n);return Qm(o,n)?Zm(o,Ct(),e,i.transform,r,i):i.transform(r)}function QL(t,e,r,n){let o=t+fe,i=M(),s=Ju(i,o);return Qm(i,o)?Ym(i,Ct(),e,s.transform,r,n,s):s.transform(r,n)}function Qm(t,e){return t[N].data[e].pure}function KL(t,e){return Qs(t,e)}var qi=null;function G0(t){qi!==null&&(t.defaultEncapsulation!==qi.defaultEncapsulation||t.preserveWhitespaces!==qi.preserveWhitespaces)||(qi=t)}var Sr=class{constructor(e){this.full=e;let r=e.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}},JL=new Sr("18.1.1");var na=(()=>{let e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();var Ul=new E(""),Co=new E(""),ra=(()=>{let e=class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,$l||(q0(i),i.addToWindow(o)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb()}});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(o=>o.updateCb&&o.updateCb(n)?(clearTimeout(o.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,o,i){let s=-1;o&&o>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n()},o)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,o,i){if(i&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,o,i),this._runCallbacksIfReady()}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,o,i){return[]}};e.\u0275fac=function(o){return new(o||e)(C(G),C(oa),C(Co))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),oa=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(n,o){this._applications.set(n,o)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,o=!0){return $l?.findTestabilityInTree(this,n,o)??null}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function q0(t){$l=t}var $l;function Ar(t){return!!t&&typeof t.then=="function"}function Bl(t){return!!t&&typeof t.subscribe=="function"}var ia=new E(""),Km=(()=>{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,o)=>{this.resolve=n,this.reject=o}),this.appInits=g(ia,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(Ar(s))n.push(s);else if(Bl(s)){let a=new Promise((c,u)=>{s.subscribe({complete:c,error:u})});n.push(a)}}let o=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{o()}).catch(i=>{this.reject(i)}),n.length===0&&o(),this.initialized=!0}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),sa=new E("");function W0(){Zf(()=>{throw new w(600,!1)})}function Z0(t){return t.isBoundToModule}var Y0=10;function Q0(t,e,r){try{let n=r();return Ar(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function Jm(t,e){return Array.isArray(e)?e.reduce(Jm,t):D(D({},t),e)}var gn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(rg),this.afterRenderEffectManager=g(_l),this.zonelessEnabled=g(am),this.externalTestViews=new Set,this.beforeRender=new re,this.afterTick=new re,this.componentTypes=[],this.components=[],this.isStable=g(bt).hasPendingTasks.pipe(R(n=>!n)),this._injector=g(Ie)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof hs;if(!this._injector.get(Km).done){let h=!i&&mp(n),p=!1;throw new w(405,p)}let a;i?a=n:a=this._injector.get(Er).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=Z0(a)?void 0:this._injector.get(kt),u=o||a.selector,l=a.create(_e.NULL,[],u,c),d=l.location.nativeElement,f=l.injector.get(Ul,null);return f?.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),Xi(this.components,l),f?.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new w(101,!1);let o=j(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,j(o),this.afterTick.next()}}detectChangesInAttachedViews(n){let o=null;this._injector.destroyed||(o=this._injector.get(Ir,null,{optional:!0}));let i=0,s=this.afterRenderEffectManager;for(;i<Y0;){let a=i===0;if(n||!a){this.beforeRender.next(a);for(let{_lView:c,notifyErrorHandler:u}of this._views)K0(c,u,a,this.zonelessEnabled)}else o?.begin?.(),o?.end?.();if(i++,s.executeInternalCallbacks(),!this.allViews.some(({_lView:c})=>co(c))&&(s.execute(),!this.allViews.some(({_lView:c})=>co(c))))break}}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;Xi(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(sa,[]);[...this._bootstrapListeners,...o].forEach(i=>i(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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Xi(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Xi(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function K0(t,e,r,n){if(!r&&!co(t))return;rm(t,e,r&&!n?0:1)}var Ou=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},aa=(()=>{let e=class e{compileModuleSync(n){return new Ds(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=vp(n),s=Sg(i.declarations).reduce((a,c)=>{let u=Rt(c);return u&&a.push(new Ln(u)),a},[]);return new Ou(o,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),J0=new E("");function X0(t,e,r){let n=new Ds(r);return Promise.resolve(n)}function zh(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var eM=(()=>{let e=class e{constructor(){this.zone=g(G),this.changeDetectionScheduler=g(wr),this.applicationRef=g(gn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function tM({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new G(Xm()),[{provide:G,useFactory:t},{provide:hr,multi:!0,useFactory:()=>{let r=g(eM,{optional:!0});return()=>r.initialize()}},{provide:hr,multi:!0,useFactory:()=>{let r=g(rM);return()=>{r.initialize()}}},{provide:rg,useFactory:nM},e===!0?{provide:cm,useValue:!0}:[]]}function nM(){let t=g(G),e=g(tt);return r=>t.runOutsideAngular(()=>e.handleError(r))}function Xm(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var rM=(()=>{let e=class e{constructor(){this.subscription=new X,this.initialized=!1,this.zone=g(G),this.pendingTasks=g(bt)}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(()=>{G.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{G.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var oM=(()=>{let e=class e{constructor(){this.appRef=g(gn),this.taskService=g(bt),this.ngZone=g(G),this.zonelessEnabled=g(am),this.disableScheduling=g(cm,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new X,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,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 ps||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?Th:um;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=o(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&G.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;let o=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(i){throw this.taskService.remove(o),i}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Th(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(o)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function iM(){return typeof $localize<"u"&&$localize.locale||bs}var bo=new E("",{providedIn:"root",factory:()=>g(bo,P.Optional|P.SkipSelf)||iM()});var ev=new E(""),tv=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=VC(o?.ngZone,Xm({eventCoalescing:o?.ngZoneEventCoalescing,runCoalescing:o?.ngZoneRunCoalescing}));return i.run(()=>{let s=o?.ignoreChangesOutsideZone,a=Rb(n.moduleType,this.injector,[...tM({ngZoneFactory:()=>i,ignoreChangesOutsideZone:s}),{provide:wr,useExisting:oM}]),c=a.injector.get(tt,null);return i.runOutsideAngular(()=>{let u=i.onError.subscribe({next:l=>{c.handleError(l)}});a.onDestroy(()=>{Xi(this._modules,a),u.unsubscribe()})}),Q0(c,i,()=>{let u=a.injector.get(Km);return u.runInitializers(),u.donePromise.then(()=>{let l=a.injector.get(bo,bs);return C0(l||bs),this._moduleDoBootstrap(a),a})})})}bootstrapModule(n,o=[]){let i=Jm({},o);return X0(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){let o=n.injector.get(gn);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>o.bootstrap(i));else if(n.instance.ngDoBootstrap)n.instance.ngDoBootstrap(o);else throw new w(-403,!1);this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(o=>o.destroy()),this._destroyListeners.forEach(o=>o());let n=this._injector.get(ev,null);n&&(n.forEach(o=>o()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(o){return new(o||e)(C(_e))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),ro=null,nv=new E("");function sM(t){if(ro&&!ro.get(nv,!1))throw new w(400,!1);W0(),ro=t;let e=t.get(tv);return uM(t),e}function Hl(t,e,r=[]){let n=`Platform: ${e}`,o=new E(n);return(i=[])=>{let s=rv();if(!s||s.injector.get(nv,!1)){let a=[...r,...i,{provide:o,useValue:!0}];t?t(a):sM(aM(a,n))}return cM(o)}}function aM(t=[],e){return _e.create({name:e,providers:[{provide:As,useValue:"platform"},{provide:ev,useValue:new Set([()=>ro=null])},...t]})}function cM(t){let e=rv();if(!e)throw new w(401,!1);return e}function rv(){return ro?.get(tv)??null}function uM(t){t.get(ll,null)?.forEach(r=>r())}function XL(){return!1}var Bt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=lM;let t=e;return t})();function lM(t){return dM(he(),M(),(t&16)===16)}function dM(t,e,r){if(Ps(t)&&!r){let n=dn(t.index,e);return new Fn(n,n)}else if(t.type&175){let n=e[Pe];return new Fn(n,e)}return null}var Pu=class{constructor(){}supports(e){return bm(e)}create(e){return new Fu(e)}},fM=(t,e)=>e,Fu=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||fM}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,n=this._removalsHead,o=0,i=null;for(;r||n;){let s=!n||r&&r.currentIndex<Gh(n,o,i)?r:n,a=Gh(s,o,i),c=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(r=r._next,s.previousIndex==null)o++;else{i||(i=[]);let u=a-o,l=c-o;if(u!=l){for(let f=0;f<u;f++){let h=f<i.length?i[f]:i[f]=0,p=h+f;l<=p&&p<u&&(i[f]=h+1)}let d=s.previousIndex;i[d]=l-u}}a!==c&&e(s,a,c)}}forEachPreviousItem(e){let r;for(r=this._previousItHead;r!==null;r=r._nextPrevious)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachMovedItem(e){let r;for(r=this._movesHead;r!==null;r=r._nextMoved)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}forEachIdentityChange(e){let r;for(r=this._identityChangesHead;r!==null;r=r._nextIdentityChange)e(r)}diff(e){if(e==null&&(e=[]),!bm(e))throw new w(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._itHead,n=!1,o,i,s;if(Array.isArray(e)){this.length=e.length;for(let a=0;a<this.length;a++)i=e[a],s=this._trackByFn(a,i),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,i,s,a),n=!0):(n&&(r=this._verifyReinsertion(r,i,s,a)),Object.is(r.item,i)||this._addIdentityChange(r,i)),r=r._next}else o=0,Ob(e,a=>{s=this._trackByFn(o,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,o),n=!0):(n&&(r=this._verifyReinsertion(r,a,s,o)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,o++}),this.length=o;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,n,o){let i;return e===null?i=this._itTail:(i=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,i,o)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,o),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,i,o)):e=this._addAfter(new ku(r,n),i,o)),e}_verifyReinsertion(e,r,n,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return i!==null?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}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(e,r,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let o=e._prevRemoved,i=e._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,r,n),this._addToMoves(e,n),e}_moveAfter(e,r,n){return this._unlink(e),this._insertAfter(e,r,n),this._addToMoves(e,n),e}_addAfter(e,r,n){return this._insertAfter(e,r,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,n){let o=r===null?this._itHead:r._next;return e._next=o,e._prev=r,o===null?this._itTail=e:o._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Ms),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,n=e._next;return r===null?this._itHead=n:r._next=n,n===null?this._itTail=r:n._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Ms),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},ku=class{constructor(e,r){this.item=e,this.trackById=r,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},Lu=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let n;for(n=this._head;n!==null;n=n._nextDup)if((r===null||r<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let r=e._prevDup,n=e._nextDup;return r===null?this._head=n:r._nextDup=n,n===null?this._tail=r:n._prevDup=r,this._head===null}},Ms=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new Lu,this.map.set(r,n)),n.add(e)}get(e,r){let n=e,o=this.map.get(n);return o?o.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function Gh(t,e,r){let n=t.previousIndex;if(n===null)return n;let o=0;return r&&n<r.length&&(o=r[n]),n+e+o}var ju=class{constructor(){}supports(e){return e instanceof Map||Rl(e)}create(){return new Vu}},Vu=class{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(e){let r;for(r=this._mapHead;r!==null;r=r._next)e(r)}forEachPreviousItem(e){let r;for(r=this._previousMapHead;r!==null;r=r._nextPrevious)e(r)}forEachChangedItem(e){let r;for(r=this._changesHead;r!==null;r=r._nextChanged)e(r)}forEachAddedItem(e){let r;for(r=this._additionsHead;r!==null;r=r._nextAdded)e(r)}forEachRemovedItem(e){let r;for(r=this._removalsHead;r!==null;r=r._nextRemoved)e(r)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||Rl(e)))throw new w(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let r=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,o)=>{if(r&&r.key===o)this._maybeAddToChanges(r,n),this._appendAfter=r,r=r._next;else{let i=this._getOrCreateRecordForKey(o,n);r=this._insertBeforeOrAppend(r,i)}}),r){r._prev&&(r._prev._next=null),this._removalsHead=r;for(let n=r;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,r){if(e){let n=e._prev;return r._next=e,r._prev=n,e._prev=r,n&&(n._next=r),e===this._mapHead&&(this._mapHead=r),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=r,r._prev=this._appendAfter):this._mapHead=r,this._appendAfter=r,null}_getOrCreateRecordForKey(e,r){if(this._records.has(e)){let o=this._records.get(e);this._maybeAddToChanges(o,r);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let n=new Uu(e);return this._records.set(e,n),n.currentValue=r,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,r){Object.is(r,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=r,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,r){e instanceof Map?e.forEach(r):Object.keys(e).forEach(n=>r(e[n],n))}},Uu=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function qh(){return new zl([new Pu])}var zl=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o!=null){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||qh()),deps:[[e,new _s,new mo]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o!=null)return o;throw new w(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:qh});let t=e;return t})();function Wh(){return new Gl([new ju])}var Gl=(()=>{let e=class e{constructor(n){this.factories=n}static create(n,o){if(o){let i=o.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:o=>e.create(n,o||Wh()),deps:[[e,new _s,new mo]]}}find(n){let o=this.factories.find(i=>i.supports(n));if(o)return o;throw new w(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:Wh});let t=e;return t})();var ov=Hl(null,"core",[]),iv=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(C(gn))},e.\u0275mod=ln({type:e}),e.\u0275inj=un({});let t=e;return t})();var sv=new E("");function Ht(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function ql(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function ej(t,e){ot("NgSignals");let r=mc(t);return e?.equal&&(r[Le].equal=e.equal),r}function Wl(t){let e=j(null);try{return t()}finally{j(e)}}var hM=new E("",{providedIn:"root",factory:()=>g(pM)}),pM=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new $u});let t=e;return t})(),$u=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=g(bt),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let r=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(r),this.taskId=null})}}enqueue(e){let r=e.creationZone;this.queues.has(r)||this.queues.set(r,new Set);let n=this.queues.get(r);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,r]of this.queues)e===null?this.flushQueue(r):e.run(()=>this.flushQueue(r))}flushQueue(e){for(let r of e)e.delete(r),this.queuedEffectCount--,r.run()}},Bu=class{constructor(e,r,n,o,i,s){this.scheduler=e,this.effectFn=r,this.creationZone=n,this.injector=i,this.watcher=Kf(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){this.injector.get(tt,null,{optional:!0})?.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function gM(t,e){ot("NgSignals"),!e?.injector&&Zu(gM);let r=e?.injector??g(_e),n=e?.manualCleanup!==!0?r.get($s):null,o=new Bu(r.get(hM),t,typeof Zone>"u"?null:Zone.current,n,r,e?.allowSignalWrites??!1),i=r.get(Bt,null,{optional:!0});return!i||!(i._lView[_]&8)?o.watcher.notify():(i._lView[Zi]??=[]).push(o.watcher.notify),o}function tj(t,e){let r=Rt(t),n=e.elementInjector||Rs();return new Ln(r).create(n,e.projectableNodes,e.hostElement,e.environmentInjector)}function av(t){let e=Rt(t);if(!e)return null;let r=new Ln(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var mv=null;function $n(){return mv}function vv(t){mv??=t}var va=class{};var le=new E(""),ad=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(vM),providedIn:"platform"});let t=e;return t})(),yv=new E(""),vM=(()=>{let e=class e extends ad{constructor(){super(),this._doc=g(le),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return $n().getBaseHref(this._doc)}onPopState(n){let o=$n().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=$n().getGlobalEventTarget(this._doc,"window");return o.addEventListener("hashchange",n,!1),()=>o.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,o,i){this._history.pushState(n,o,i)}replaceState(n,o,i){this._history.replaceState(n,o,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"});let t=e;return t})();function cd(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function cv(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function Gt(t){return t&&t[0]!=="?"?"?"+t:t}var Zt=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(ud),providedIn:"root"});let t=e;return t})(),Dv=new E(""),ud=(()=>{let e=class e extends Zt{constructor(n,o){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=o??this._platformLocation.getBaseHrefFromDOM()??g(le).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return cd(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+Gt(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Gt(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Gt(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(C(ad),C(Dv,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),wv=(()=>{let e=class e extends Zt{constructor(n,o){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],o!=null&&(this._baseHref=o)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let o=this._platformLocation.hash??"#";return o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=cd(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+Gt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+Gt(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}};e.\u0275fac=function(o){return new(o||e)(C(ad),C(Dv,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Or=(()=>{let e=class e{constructor(n){this._subject=new ye,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=wM(cv(uv(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,o=""){return this.path()==this.normalize(n+Gt(o))}normalize(n){return e.stripTrailingSlash(DM(this._basePath,uv(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,o="",i=null){this._locationStrategy.pushState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Gt(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Gt(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)}),()=>{let o=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",o){this._urlChangeListeners.forEach(i=>i(n,o))}subscribe(n,o,i){return this._subject.subscribe({next:n,error:o,complete:i})}};e.normalizeQueryParams=Gt,e.joinWithSlash=cd,e.stripTrailingSlash=cv,e.\u0275fac=function(o){return new(o||e)(C(Zt))},e.\u0275prov=I({token:e,factory:()=>yM(),providedIn:"root"});let t=e;return t})();function yM(){return new Or(C(Zt))}function DM(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function uv(t){return t.replace(/\/index.html$/,"")}function wM(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var Ev=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(Ev||{});var Re=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(Re||{}),Z=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(Z||{}),Ue=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(Ue||{}),$e={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function EM(t){return Ve(t)[te.LocaleId]}function IM(t,e,r){let n=Ve(t),o=[n[te.DayPeriodsFormat],n[te.DayPeriodsStandalone]],i=Ye(o,e);return Ye(i,r)}function CM(t,e,r){let n=Ve(t),o=[n[te.DaysFormat],n[te.DaysStandalone]],i=Ye(o,e);return Ye(i,r)}function bM(t,e,r){let n=Ve(t),o=[n[te.MonthsFormat],n[te.MonthsStandalone]],i=Ye(o,e);return Ye(i,r)}function MM(t,e){let n=Ve(t)[te.Eras];return Ye(n,e)}function ua(t,e){let r=Ve(t);return Ye(r[te.DateFormat],e)}function la(t,e){let r=Ve(t);return Ye(r[te.TimeFormat],e)}function da(t,e){let n=Ve(t)[te.DateTimeFormat];return Ye(n,e)}function qt(t,e){let r=Ve(t),n=r[te.NumberSymbols][e];if(typeof n>"u"){if(e===$e.CurrencyDecimal)return r[te.NumberSymbols][$e.Decimal];if(e===$e.CurrencyGroup)return r[te.NumberSymbols][$e.Group]}return n}function SM(t,e){return Ve(t)[te.NumberFormats][e]}function Iv(t){if(!t[te.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[te.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function TM(t){let e=Ve(t);return Iv(e),(e[te.ExtraData][2]||[]).map(n=>typeof n=="string"?Yl(n):[Yl(n[0]),Yl(n[1])])}function xM(t,e,r){let n=Ve(t);Iv(n);let o=[n[te.ExtraData][0],n[te.ExtraData][1]],i=Ye(o,e)||[];return Ye(i,r)||[]}function Ye(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function Yl(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var _M=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,fa={},NM=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Wt=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(Wt||{}),B=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(B||{}),$=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}($||{});function AM(t,e,r,n){let o=UM(t);e=zt(r,e)||e;let s=[],a;for(;e;)if(a=NM.exec(e),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;e=l}else{s.push(e);break}let c=o.getTimezoneOffset();n&&(c=bv(n,c),o=VM(o,n,!0));let u="";return s.forEach(l=>{let d=LM(l);u+=d?d(o,r,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ya(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function zt(t,e){let r=EM(t);if(fa[r]??={},fa[r][e])return fa[r][e];let n="";switch(e){case"shortDate":n=ua(t,Ue.Short);break;case"mediumDate":n=ua(t,Ue.Medium);break;case"longDate":n=ua(t,Ue.Long);break;case"fullDate":n=ua(t,Ue.Full);break;case"shortTime":n=la(t,Ue.Short);break;case"mediumTime":n=la(t,Ue.Medium);break;case"longTime":n=la(t,Ue.Long);break;case"fullTime":n=la(t,Ue.Full);break;case"short":let o=zt(t,"shortTime"),i=zt(t,"shortDate");n=ha(da(t,Ue.Short),[o,i]);break;case"medium":let s=zt(t,"mediumTime"),a=zt(t,"mediumDate");n=ha(da(t,Ue.Medium),[s,a]);break;case"long":let c=zt(t,"longTime"),u=zt(t,"longDate");n=ha(da(t,Ue.Long),[c,u]);break;case"full":let l=zt(t,"fullTime"),d=zt(t,"fullDate");n=ha(da(t,Ue.Full),[l,d]);break}return n&&(fa[r][e]=n),n}function ha(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function it(t,e,r="-",n,o){let i="";(t<0||o&&t<=0)&&(o?t=-t+1:(t=-t,i=r));let s=String(t);for(;s.length<e;)s="0"+s;return n&&(s=s.slice(s.length-e)),i+s}function RM(t,e){return it(t,3).substring(0,e)}function oe(t,e,r=0,n=!1,o=!1){return function(i,s){let a=OM(t,i);if((r>0||a>-r)&&(a+=r),t===B.Hours)a===0&&r===-12&&(a=12);else if(t===B.FractionalSeconds)return RM(a,e);let c=qt(s,$e.MinusSign);return it(a,e,c,n,o)}}function OM(t,e){switch(t){case B.FullYear:return e.getFullYear();case B.Month:return e.getMonth();case B.Date:return e.getDate();case B.Hours:return e.getHours();case B.Minutes:return e.getMinutes();case B.Seconds:return e.getSeconds();case B.FractionalSeconds:return e.getMilliseconds();case B.Day:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function K(t,e,r=Re.Format,n=!1){return function(o,i){return PM(o,i,t,e,r,n)}}function PM(t,e,r,n,o,i){switch(r){case $.Months:return bM(e,o,n)[t.getMonth()];case $.Days:return CM(e,o,n)[t.getDay()];case $.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(i){let u=TM(e),l=xM(e,o,n),d=u.findIndex(f=>{if(Array.isArray(f)){let[h,p]=f,y=s>=h.hours&&a>=h.minutes,m=s<p.hours||s===p.hours&&a<p.minutes;if(h.hours<p.hours){if(y&&m)return!0}else if(y||m)return!0}else if(f.hours===s&&f.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return IM(e,o,n)[s<12?0:1];case $.Eras:return MM(e,n)[t.getFullYear()<=0?0:1];default:let c=r;throw new Error(`unexpected translation type ${c}`)}}function pa(t){return function(e,r,n){let o=-1*n,i=qt(r,$e.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case Wt.Short:return(o>=0?"+":"")+it(s,2,i)+it(Math.abs(o%60),2,i);case Wt.ShortGMT:return"GMT"+(o>=0?"+":"")+it(s,1,i);case Wt.Long:return"GMT"+(o>=0?"+":"")+it(s,2,i)+":"+it(Math.abs(o%60),2,i);case Wt.Extended:return n===0?"Z":(o>=0?"+":"")+it(s,2,i)+":"+it(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${t}"`)}}}var FM=0,ma=4;function kM(t){let e=ya(t,FM,1).getDay();return ya(t,0,1+(e<=ma?ma:ma+7)-e)}function Cv(t){let e=t.getDay(),r=e===0?-3:ma-e;return ya(t.getFullYear(),t.getMonth(),t.getDate()+r)}function Ql(t,e=!1){return function(r,n){let o;if(e){let i=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();o=1+Math.floor((s+i)/7)}else{let i=Cv(r),s=kM(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return it(o,t,qt(n,$e.MinusSign))}}function ga(t,e=!1){return function(r,n){let i=Cv(r).getFullYear();return it(i,t,qt(n,$e.MinusSign),e)}}var Kl={};function LM(t){if(Kl[t])return Kl[t];let e;switch(t){case"G":case"GG":case"GGG":e=K($.Eras,Z.Abbreviated);break;case"GGGG":e=K($.Eras,Z.Wide);break;case"GGGGG":e=K($.Eras,Z.Narrow);break;case"y":e=oe(B.FullYear,1,0,!1,!0);break;case"yy":e=oe(B.FullYear,2,0,!0,!0);break;case"yyy":e=oe(B.FullYear,3,0,!1,!0);break;case"yyyy":e=oe(B.FullYear,4,0,!1,!0);break;case"Y":e=ga(1);break;case"YY":e=ga(2,!0);break;case"YYY":e=ga(3);break;case"YYYY":e=ga(4);break;case"M":case"L":e=oe(B.Month,1,1);break;case"MM":case"LL":e=oe(B.Month,2,1);break;case"MMM":e=K($.Months,Z.Abbreviated);break;case"MMMM":e=K($.Months,Z.Wide);break;case"MMMMM":e=K($.Months,Z.Narrow);break;case"LLL":e=K($.Months,Z.Abbreviated,Re.Standalone);break;case"LLLL":e=K($.Months,Z.Wide,Re.Standalone);break;case"LLLLL":e=K($.Months,Z.Narrow,Re.Standalone);break;case"w":e=Ql(1);break;case"ww":e=Ql(2);break;case"W":e=Ql(1,!0);break;case"d":e=oe(B.Date,1);break;case"dd":e=oe(B.Date,2);break;case"c":case"cc":e=oe(B.Day,1);break;case"ccc":e=K($.Days,Z.Abbreviated,Re.Standalone);break;case"cccc":e=K($.Days,Z.Wide,Re.Standalone);break;case"ccccc":e=K($.Days,Z.Narrow,Re.Standalone);break;case"cccccc":e=K($.Days,Z.Short,Re.Standalone);break;case"E":case"EE":case"EEE":e=K($.Days,Z.Abbreviated);break;case"EEEE":e=K($.Days,Z.Wide);break;case"EEEEE":e=K($.Days,Z.Narrow);break;case"EEEEEE":e=K($.Days,Z.Short);break;case"a":case"aa":case"aaa":e=K($.DayPeriods,Z.Abbreviated);break;case"aaaa":e=K($.DayPeriods,Z.Wide);break;case"aaaaa":e=K($.DayPeriods,Z.Narrow);break;case"b":case"bb":case"bbb":e=K($.DayPeriods,Z.Abbreviated,Re.Standalone,!0);break;case"bbbb":e=K($.DayPeriods,Z.Wide,Re.Standalone,!0);break;case"bbbbb":e=K($.DayPeriods,Z.Narrow,Re.Standalone,!0);break;case"B":case"BB":case"BBB":e=K($.DayPeriods,Z.Abbreviated,Re.Format,!0);break;case"BBBB":e=K($.DayPeriods,Z.Wide,Re.Format,!0);break;case"BBBBB":e=K($.DayPeriods,Z.Narrow,Re.Format,!0);break;case"h":e=oe(B.Hours,1,-12);break;case"hh":e=oe(B.Hours,2,-12);break;case"H":e=oe(B.Hours,1);break;case"HH":e=oe(B.Hours,2);break;case"m":e=oe(B.Minutes,1);break;case"mm":e=oe(B.Minutes,2);break;case"s":e=oe(B.Seconds,1);break;case"ss":e=oe(B.Seconds,2);break;case"S":e=oe(B.FractionalSeconds,1);break;case"SS":e=oe(B.FractionalSeconds,2);break;case"SSS":e=oe(B.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=pa(Wt.Short);break;case"ZZZZZ":e=pa(Wt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=pa(Wt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=pa(Wt.Long);break;default:return null}return Kl[t]=e,e}function bv(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function jM(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function VM(t,e,r){let n=r?-1:1,o=t.getTimezoneOffset(),i=bv(e,o);return jM(t,n*(i-o))}function UM(t){if(lv(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[o,i=1,s=1]=t.split("-").map(a=>+a);return ya(o,i-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(_M))return $M(n)}let e=new Date(t);if(!lv(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function $M(t){let e=new Date(0),r=0,n=0,o=t[8]?e.setUTCFullYear:e.setFullYear,i=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),o.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,a=Number(t[5]||0)-n,c=Number(t[6]||0),u=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return i.call(e,s,a,c,u),e}function lv(t){return t instanceof Date&&!isNaN(t.valueOf())}var BM=/^(\d+)?\.((\d+)(-(\d+))?)?$/,dv=22,Da=".",Mo="0",HM=";",zM=",",Jl="#";function GM(t,e,r,n,o,i,s=!1){let a="",c=!1;if(!isFinite(t))a=qt(r,$e.Infinity);else{let u=YM(t);s&&(u=ZM(u));let l=e.minInt,d=e.minFrac,f=e.maxFrac;if(i){let F=i.match(BM);if(F===null)throw new Error(`${i} is not a valid digit info`);let z=F[1],U=F[3],be=F[5];z!=null&&(l=Xl(z)),U!=null&&(d=Xl(U)),be!=null?f=Xl(be):U!=null&&d>f&&(f=d)}QM(u,d,f);let h=u.digits,p=u.integerLen,y=u.exponent,m=[];for(c=h.every(F=>!F);p<l;p++)h.unshift(0);for(;p<0;p++)h.unshift(0);p>0?m=h.splice(p,h.length):(m=h,h=[0]);let v=[];for(h.length>=e.lgSize&&v.unshift(h.splice(-e.lgSize,h.length).join(""));h.length>e.gSize;)v.unshift(h.splice(-e.gSize,h.length).join(""));h.length&&v.unshift(h.join("")),a=v.join(qt(r,n)),m.length&&(a+=qt(r,o)+m.join("")),y&&(a+=qt(r,$e.Exponential)+"+"+y)}return t<0&&!c?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function qM(t,e,r){let n=SM(e,Ev.Decimal),o=WM(n,qt(e,$e.MinusSign));return GM(t,o,e,$e.Group,$e.Decimal,r)}function WM(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(HM),o=n[0],i=n[1],s=o.indexOf(Da)!==-1?o.split(Da):[o.substring(0,o.lastIndexOf(Mo)+1),o.substring(o.lastIndexOf(Mo)+1)],a=s[0],c=s[1]||"";r.posPre=a.substring(0,a.indexOf(Jl));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===Mo?r.minFrac=r.maxFrac=l+1:d===Jl?r.maxFrac=l+1:r.posSuf+=d}let u=a.split(zM);if(r.gSize=u[1]?u[1].length:0,r.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,i){let l=o.length-r.posPre.length-r.posSuf.length,d=i.indexOf(Jl);r.negPre=i.substring(0,d).replace(/'/g,""),r.negSuf=i.slice(d+l).replace(/'/g,"")}else r.negPre=e+r.posPre,r.negSuf=r.posSuf;return r}function ZM(t){if(t.digits[0]===0)return t;let e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(e===0?t.digits.push(0,0):e===1&&t.digits.push(0),t.integerLen+=2),t}function YM(t){let e=Math.abs(t)+"",r=0,n,o,i,s,a;for((o=e.indexOf(Da))>-1&&(e=e.replace(Da,"")),(i=e.search(/e/i))>0?(o<0&&(o=i),o+=+e.slice(i+1),e=e.substring(0,i)):o<0&&(o=e.length),i=0;e.charAt(i)===Mo;i++);if(i===(a=e.length))n=[0],o=1;else{for(a--;e.charAt(a)===Mo;)a--;for(o-=i,n=[],s=0;i<=a;i++,s++)n[s]=Number(e.charAt(i))}return o>dv&&(n=n.splice(0,dv-1),r=o-1,o=1),{digits:n,exponent:r,integerLen:o}}function QM(t,e,r){if(e>r)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${r}).`);let n=t.digits,o=n.length-t.integerLen,i=Math.min(Math.max(e,o),r),s=i+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let d=s;d<n.length;d++)n[d]=0}else{o=Math.max(0,o),t.integerLen=1,n.length=Math.max(1,s=i+1),n[0]=0;for(let d=1;d<s;d++)n[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;o<Math.max(0,i);o++)n.push(0);let c=i!==0,u=e+t.integerLen,l=n.reduceRight(function(d,f,h,p){return f=f+d,p[h]=f<10?f:f-10,c&&(p[h]===0&&h>=u?p.pop():c=!1),f>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function Xl(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function wa(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[o,i]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}var ed=/\s+/,fv=[],yj=(()=>{let e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=fv,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(ed):fv}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(ed):n}ngDoCheck(){for(let o of this.initialClasses)this._updateState(o,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let o of n)this._updateState(o,!0);else if(n!=null)for(let o of Object.keys(n))this._updateState(o,!!n[o]);this._applyStateDiff()}_updateState(n,o){let i=this.stateMap.get(n);i!==void 0?(i.enabled!==o&&(i.changed=!0,i.enabled=o),i.touched=!0):this.stateMap.set(n,{enabled:o,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let o=n[0],i=n[1];i.changed?(this._toggleClass(o,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(o,!1),this.stateMap.delete(o)),i.touched=!1}}_toggleClass(n,o){n=n.trim(),n.length>0&&n.split(ed).forEach(i=>{o?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}};e.\u0275fac=function(o){return new(o||e)(V(Ze),V(hn))},e.\u0275dir=qe({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})(),Dj=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(n){return n.ngComponentOutletNgModule!==void 0||n.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(n){return n.ngComponentOutlet!==void 0||n.ngComponentOutletContent!==void 0||n.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(n)}ngOnChanges(n){if(this._needToReCreateComponentInstance(n)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let o=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(n)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=Cm(this.ngComponentOutletNgModule,hv(o)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(hv(o)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:o,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let n of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(n,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(n){for(let[o,i]of this._inputsUsed)i?(n.setInput(o,this.ngComponentOutletInputs[o]),this._inputsUsed.set(o,!1)):(n.setInput(o,void 0),this._inputsUsed.delete(o))}};e.\u0275fac=function(o){return new(o||e)(V(Mt))},e.\u0275dir=qe({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[jt]});let t=e;return t})();function hv(t){return t.get(kt).injector}var td=class{constructor(e,r,n,o){this.$implicit=e,this.ngForOf=r,this.index=n,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},wj=(()=>{let e=class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,o,i){this._viewContainer=n,this._template=o,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let n=this._ngForOf;if(!this._differ&&n)if(0)try{}catch{}else this._differ=this._differs.find(n).create(this.ngForTrackBy)}if(this._differ){let n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){let o=this._viewContainer;n.forEachOperation((i,s,a)=>{if(i.previousIndex==null)o.createEmbeddedView(this._template,new td(i.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)o.remove(s===null?void 0:s);else if(s!==null){let c=o.get(s);o.move(c,a),pv(c,i)}});for(let i=0,s=o.length;i<s;i++){let c=o.get(i).context;c.index=i,c.count=s,c.ngForOf=this._ngForOf}n.forEachIdentityChange(i=>{let s=o.get(i.currentIndex);pv(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(V(Mt),V(kn),V(zl))},e.\u0275dir=qe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function pv(t,e){t.context.$implicit=e.item}var Ej=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new nd,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=o}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){gv("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){gv("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(V(Mt),V(kn))},e.\u0275dir=qe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),nd=class{constructor(){this.$implicit=null,this.ngIf=null}};function gv(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${xe(e)}'.`)}var Ij=(()=>{let e=class e{constructor(n,o,i){this._ngEl=n,this._differs=o,this._renderer=i,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,o){let[i,s]=n.split("."),a=i.indexOf("-")===-1?void 0:Et.DashCase;o!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,s?`${o}${s}`:o,a):this._renderer.removeStyle(this._ngEl.nativeElement,i,a)}_applyChanges(n){n.forEachRemovedItem(o=>this._setStyle(o.key,null)),n.forEachAddedItem(o=>this._setStyle(o.key,o.currentValue)),n.forEachChangedItem(o=>this._setStyle(o.key,o.currentValue))}};e.\u0275fac=function(o){return new(o||e)(V(Ze),V(Gl),V(hn))},e.\u0275dir=qe({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),Cj=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,o,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,o,i):!1,get:(n,o,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,o,i)}})}};e.\u0275fac=function(o){return new(o||e)(V(Mt))},e.\u0275dir=qe({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[jt]});let t=e;return t})();function ld(t,e){return new w(2100,!1)}var rd=class{createSubscription(e,r){return Wl(()=>e.subscribe({next:r,error:n=>{throw n}}))}dispose(e){Wl(()=>e.unsubscribe())}},od=class{createSubscription(e,r){return e.then(r,n=>{throw n})}dispose(e){}},KM=new od,JM=new rd,bj=(()=>{let e=class e{constructor(n){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=n}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(n){if(!this._obj){if(n)try{this.markForCheckOnValueUpdate=!1,this._subscribe(n)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return n!==this._obj?(this._dispose(),this.transform(n)):this._latestValue}_subscribe(n){this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,o=>this._updateLatestValue(n,o))}_selectStrategy(n){if(Ar(n))return KM;if(Bl(n))return JM;throw ld(e,n)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(n,o){n===this._obj&&(this._latestValue=o,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}};e.\u0275fac=function(o){return new(o||e)(V(Bt,16))},e.\u0275pipe=Do({name:"async",type:e,pure:!1,standalone:!0});let t=e;return t})();var XM="mediumDate",eS=new E(""),tS=new E(""),Mj=(()=>{let e=class e{constructor(n,o,i){this.locale=n,this.defaultTimezone=o,this.defaultOptions=i}transform(n,o,i,s){if(n==null||n===""||n!==n)return null;try{let a=o??this.defaultOptions?.dateFormat??XM,c=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return AM(n,a,s||this.locale,c)}catch(a){throw ld(e,a.message)}}};e.\u0275fac=function(o){return new(o||e)(V(bo,16),V(eS,24),V(tS,24))},e.\u0275pipe=Do({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var Sj=(()=>{let e=class e{transform(n){return JSON.stringify(n,null,2)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=Do({name:"json",type:e,pure:!1,standalone:!0});let t=e;return t})();var Tj=(()=>{let e=class e{constructor(n){this._locale=n}transform(n,o,i){if(!nS(n))return null;i||=this._locale;try{let s=rS(n);return qM(s,i,o)}catch(s){throw ld(e,s.message)}}};e.\u0275fac=function(o){return new(o||e)(V(bo,16))},e.\u0275pipe=Do({name:"number",type:e,pure:!0,standalone:!0});let t=e;return t})();function nS(t){return!(t==null||t===""||t!==t)}function rS(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var Mv=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=ln({type:e}),e.\u0275inj=un({});let t=e;return t})(),dd="browser",oS="server";function iS(t){return t===dd}function So(t){return t===oS}var Sv=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>iS(g(nt))?new id(g(le),window):new sd});let t=e;return t})(),id=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=sS(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),n=r.left+this.window.pageXOffset,o=r.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],o-i[1])}};function sS(t,e){let r=t.getElementById(e)||t.getElementsByName(e)[0];if(r)return r;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=n.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(e)||i.querySelector(`[name="${e}"]`);if(s)return s}o=n.nextNode()}}return null}var sd=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Rr=class{};var Tv=t=>t.src,aS=new E("",{providedIn:"root",factory:()=>Tv});var cS=new E("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),uS=(()=>{let e=class e{constructor(){this.preloadedImages=g(cS),this.document=g(le)}createPreloadLinkTag(n,o,i,s){if(this.preloadedImages.has(o))return;this.preloadedImages.add(o);let a=n.createElement("link");n.setAttribute(a,"as","image"),n.setAttribute(a,"href",o),n.setAttribute(a,"rel","preload"),n.setAttribute(a,"fetchpriority","high"),s&&n.setAttribute(a,"imageSizes",s),i&&n.setAttribute(a,"imageSrcset",i),n.appendChild(this.document.head,a)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var lS=/^((\s*\d+w\s*(,|$)){1,})$/;var dS=[1,2],fS=640;var hS=1920,pS=1080;var xj=(()=>{let e=class e{constructor(){this.imageLoader=g(aS),this.config=gS(g(fg)),this.renderer=g(hn),this.imgElement=g(Ze).nativeElement,this.injector=g(_e),this.isServer=So(g(nt)),this.preloadLinkCreator=g(uS),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){ot("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");let n=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),n,this.sizes)}ngOnChanges(n){if(n.ngSrc&&!n.ngSrc.isFirstChange()){let o=this._renderedSrc;this.updateSrcAndSrcset(!0);let i=this._renderedSrc;this.lcpObserver!==null&&o&&i&&o!==i&&this.injector.get(G).runOutsideAngular(()=>{this.lcpObserver?.updateImage(o,i)})}}callImageLoader(n){let o=n;return this.loaderParams&&(o.loaderParams=this.loaderParams),this.imageLoader(o)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){let n={src:this.ngSrc};this._renderedSrc=this.callImageLoader(n)}return this._renderedSrc}getRewrittenSrcset(){let n=lS.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let s=n?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:s})} ${i}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:n}=this.config,o=n;return this.sizes?.trim()==="100vw"&&(o=n.filter(s=>s>=fS)),o.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}w`).join(", ")}updateSrcAndSrcset(n=!1){n&&(this._renderedSrc=null);let o=this.getRewrittenSrc();this.setHostAttribute("src",o);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return dS.map(o=>`${this.callImageLoader({src:this.ngSrc,width:this.width*o})} ${o}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>hS||this.height>pS),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Tv&&!n}generatePlaceholder(n){let{placeholderResolution:o}=this.config;return n===!0?`url(${this.callImageLoader({src:this.ngSrc,width:o,isPlaceholder:!0})})`:typeof n=="string"?`url(${n})`:null}shouldBlurPlaceholder(n){return!n||!n.hasOwnProperty("blur")?!0:!!n.blur}removePlaceholderOnLoad(n){let o=()=>{let a=this.injector.get(Bt);i(),s(),this.placeholder=!1,a.markForCheck()},i=this.renderer.listen(n,"load",o),s=this.renderer.listen(n,"error",o)}ngOnDestroy(){}setHostAttribute(n,o){this.renderer.setAttribute(this.imgElement,n,o)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=qe({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(o,i){o&2&&Fl("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",mS],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",ql],height:[2,"height","height",ql],loading:"loading",priority:[2,"priority","priority",Ht],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Ht],fill:[2,"fill","fill",Ht],placeholder:[2,"placeholder","placeholder",vS],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[Js,jt]});let t=e;return t})();function gS(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((r,n)=>r-n)),Object.assign({},fl,t,e)}function mS(t){return typeof t=="string"?t:ke(t)}function vS(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:Ht(t)}var xo=class{},Ia=class{},Yt=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
8
+ `).forEach(r=>{let n=r.indexOf(":");if(n>0){let o=r.slice(0,n),i=o.toLowerCase(),s=r.slice(n+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.setHeaderEntries(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new t;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let o=(e.op==="a"?this.headers.get(r):void 0)||[];o.push(...n),this.headers.set(r,o);break;case"d":let i=e.value;if(!i)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,n),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var hd=class{encodeKey(e){return _v(e)}encodeValue(e){return _v(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function yS(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],c=r.get(s)||[];c.push(a),r.set(s,c)}),r}var DS=/%(\d[a-f0-9])/gi,wS={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function _v(t){return encodeURIComponent(t).replace(DS,(e,r)=>wS[r]??e)}function Ea(t){return`${t}`}var vn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new hd,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=yS(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],o=Array.isArray(n)?n.map(Ea):[Ea(n)];this.map.set(r,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let o=e[n];Array.isArray(o)?o.forEach(i=>{r.push({param:n,value:i,op:"a"})}):r.push({param:n,value:o,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new t({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Ea(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],o=n.indexOf(Ea(e.value));o!==-1&&n.splice(o,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var pd=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function ES(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Nv(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Av(t){return typeof Blob<"u"&&t instanceof Blob}function Rv(t){return typeof FormData<"u"&&t instanceof FormData}function IS(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var To=class t{constructor(e,r,n,o){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let i;if(ES(this.method)||o?(this.body=n!==void 0?n:null,i=o):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new Yt,this.context??=new pd,!this.params)this.params=new vn,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let a=r.indexOf("?"),c=a===-1?"?":a<r.length-1?"&":"";this.urlWithParams=r+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||Nv(this.body)||Av(this.body)||Rv(this.body)||IS(this.body)?this.body:this.body instanceof vn?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||Rv(this.body)?null:Av(this.body)?this.body.type||null:Nv(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof vn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(e={}){let r=e.method||this.method,n=e.url||this.url,o=e.responseType||this.responseType,i=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,a=e.withCredentials??this.withCredentials,c=e.reportProgress??this.reportProgress,u=e.headers||this.headers,l=e.params||this.params,d=e.context??this.context;return e.setHeaders!==void 0&&(u=Object.keys(e.setHeaders).reduce((f,h)=>f.set(h,e.setHeaders[h]),u)),e.setParams&&(l=Object.keys(e.setParams).reduce((f,h)=>f.set(h,e.setParams[h]),l)),new t(r,n,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},yn=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(yn||{}),_o=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new Yt,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Ca=class t extends _o{constructor(e={}){super(e),this.type=yn.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},No=class t extends _o{constructor(e={}){super(e),this.type=yn.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},mn=class extends _o{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Lv=200,CS=204;function fd(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var bS=(()=>{let e=class e{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof To)s=n;else{let u;i.headers instanceof Yt?u=i.headers:u=new Yt(i.headers);let l;i.params&&(i.params instanceof vn?l=i.params:l=new vn({fromObject:i.params})),s=new To(n,o,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let a=x(s).pipe(pt(u=>this.handler.handle(u)));if(n instanceof To||i.observe==="events")return a;let c=a.pipe(ne(u=>u instanceof No));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(R(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return c.pipe(R(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return c.pipe(R(u=>{if(u.body!==null&&typeof u.body!="string")throw new Error("Response is not a string.");return u.body}));case"json":default:return c.pipe(R(u=>u.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${i.observe}}`)}}delete(n,o={}){return this.request("DELETE",n,o)}get(n,o={}){return this.request("GET",n,o)}head(n,o={}){return this.request("HEAD",n,o)}jsonp(n,o){return this.request("JSONP",n,{params:new vn().append(o,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,o={}){return this.request("OPTIONS",n,o)}patch(n,o,i={}){return this.request("PATCH",n,fd(i,o))}post(n,o,i={}){return this.request("POST",n,fd(i,o))}put(n,o,i={}){return this.request("PUT",n,fd(i,o))}};e.\u0275fac=function(o){return new(o||e)(C(xo))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),MS=/^\)\]\}',?\n/,SS="X-Request-URL";function Ov(t){if(t.url)return t.url;let e=SS.toLocaleLowerCase();return t.headers.get(e)}var TS=(()=>{let e=class e{constructor(){this.fetchImpl=g(gd,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=g(G)}handle(n){return new k(o=>{let i=new AbortController;return this.doRequest(n,i.signal,o).then(md,s=>o.error(new mn({error:s}))),()=>i.abort()})}doRequest(n,o,i){return Wn(this,null,function*(){let s=this.createRequestInit(n),a;try{let p=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,D({signal:o},s)));xS(p),i.next({type:yn.Sent}),a=yield p}catch(p){i.error(new mn({error:p,status:p.status??0,statusText:p.statusText,url:n.urlWithParams,headers:p.headers}));return}let c=new Yt(a.headers),u=a.statusText,l=Ov(a)??n.urlWithParams,d=a.status,f=null;if(n.reportProgress&&i.next(new Ca({headers:c,status:d,statusText:u,url:l})),a.body){let p=a.headers.get("content-length"),y=[],m=a.body.getReader(),v=0,F,z,U=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Wn(this,null,function*(){for(;;){let{done:ie,value:ze}=yield m.read();if(ie)break;if(y.push(ze),v+=ze.length,n.reportProgress){z=n.responseType==="text"?(z??"")+(F??=new TextDecoder).decode(ze,{stream:!0}):void 0;let qn=()=>i.next({type:yn.DownloadProgress,total:p?+p:void 0,loaded:v,partialText:z});U?U.run(qn):qn()}}}));let be=this.concatChunks(y,v);try{let ie=a.headers.get("Content-Type")??"";f=this.parseBody(n,be,ie)}catch(ie){i.error(new mn({error:ie,headers:new Yt(a.headers),status:a.status,statusText:a.statusText,url:Ov(a)??n.urlWithParams}));return}}d===0&&(d=f?Lv:0),d>=200&&d<300?(i.next(new No({body:f,headers:c,status:d,statusText:u,url:l})),i.complete()):i.error(new mn({error:f,headers:c,status:d,statusText:u,url:l}))})}parseBody(n,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(o).replace(MS,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(o);case"blob":return new Blob([o],{type:i});case"arraybuffer":return o.buffer}}createRequestInit(n){let o={},i=n.withCredentials?"include":void 0;if(n.headers.forEach((s,a)=>o[s]=a.join(",")),n.headers.has("Accept")||(o.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let s=n.detectContentTypeHeader();s!==null&&(o["Content-Type"]=s)}return{body:n.serializeBody(),method:n.method,headers:o,credentials:i}}concatChunks(n,o){let i=new Uint8Array(o),s=0;for(let a of n)i.set(a,s),s+=a.length;return i}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),gd=class{};function md(){}function xS(t){t.then(md,md)}function jv(t,e){return e(t)}function _S(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function NS(t,e,r){return(n,o)=>je(r,()=>e(n,i=>t(i,o)))}var AS=new E(""),vd=new E(""),RS=new E(""),Vv=new E("",{providedIn:"root",factory:()=>!0});function OS(){let t=null;return(e,r)=>{t===null&&(t=(g(AS,{optional:!0})??[]).reduceRight(_S,jv));let n=g(bt);if(g(Vv)){let i=n.add();return t(e,r).pipe(tn(()=>n.remove(i)))}else return t(e,r)}}var Pv=(()=>{let e=class e extends xo{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=g(bt),this.contributeToStability=g(Vv)}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(vd),...this.injector.get(RS,[])]));this.chain=o.reduceRight((i,s)=>NS(i,s,this.injector),jv)}if(this.contributeToStability){let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(tn(()=>this.pendingTasks.remove(o)))}else return this.chain(n,o=>this.backend.handle(o))}};e.\u0275fac=function(o){return new(o||e)(C(Ia),C(Ie))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();var PS=/^\)\]\}',?\n/;function FS(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var Fv=(()=>{let e=class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new w(-2800,!1);let o=this.xhrFactory;return(o.\u0275loadImpl?Y(o.\u0275loadImpl()):x(null)).pipe(de(()=>new k(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((m,v)=>a.setRequestHeader(m,v.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let m=n.detectContentTypeHeader();m!==null&&a.setRequestHeader("Content-Type",m)}if(n.responseType){let m=n.responseType.toLowerCase();a.responseType=m!=="json"?m:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let m=a.statusText||"OK",v=new Yt(a.getAllResponseHeaders()),F=FS(a)||n.url;return u=new Ca({headers:v,status:a.status,statusText:m,url:F}),u},d=()=>{let{headers:m,status:v,statusText:F,url:z}=l(),U=null;v!==CS&&(U=typeof a.response>"u"?a.responseText:a.response),v===0&&(v=U?Lv:0);let be=v>=200&&v<300;if(n.responseType==="json"&&typeof U=="string"){let ie=U;U=U.replace(PS,"");try{U=U!==""?JSON.parse(U):null}catch(ze){U=ie,be&&(be=!1,U={error:ze,text:U})}}be?(s.next(new No({body:U,headers:m,status:v,statusText:F,url:z||void 0})),s.complete()):s.error(new mn({error:U,headers:m,status:v,statusText:F,url:z||void 0}))},f=m=>{let{url:v}=l(),F=new mn({error:m,status:a.status||0,statusText:a.statusText||"Unknown Error",url:v||void 0});s.error(F)},h=!1,p=m=>{h||(s.next(l()),h=!0);let v={type:yn.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(v.total=m.total),n.responseType==="text"&&a.responseText&&(v.partialText=a.responseText),s.next(v)},y=m=>{let v={type:yn.UploadProgress,loaded:m.loaded};m.lengthComputable&&(v.total=m.total),s.next(v)};return a.addEventListener("load",d),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),n.reportProgress&&(a.addEventListener("progress",p),c!==null&&a.upload&&a.upload.addEventListener("progress",y)),a.send(c),s.next({type:yn.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",d),a.removeEventListener("timeout",f),n.reportProgress&&(a.removeEventListener("progress",p),c!==null&&a.upload&&a.upload.removeEventListener("progress",y)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(C(Rr))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Uv=new E(""),kS="XSRF-TOKEN",LS=new E("",{providedIn:"root",factory:()=>kS}),jS="X-XSRF-TOKEN",VS=new E("",{providedIn:"root",factory:()=>jS}),ba=class{},US=(()=>{let e=class e{constructor(n,o,i){this.doc=n,this.platform=o,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=wa(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(C(le),C(nt),C(LS))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function $S(t,e){let r=t.url.toLowerCase();if(!g(Uv)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=g(ba).getToken(),o=g(VS);return n!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,n)})),e(t)}var $v=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}($v||{});function BS(t,e){return{\u0275kind:t,\u0275providers:e}}function Bj(...t){let e=[bS,Fv,Pv,{provide:xo,useExisting:Pv},{provide:Ia,useFactory:()=>g(TS,{optional:!0})??g(Fv)},{provide:vd,useValue:$S,multi:!0},{provide:Uv,useValue:!0},{provide:ba,useClass:US}];for(let r of t)e.push(...r.\u0275providers);return Ns(e)}var kv=new E("");function Hj(){return BS($v.LegacyInterceptors,[{provide:kv,useFactory:OS},{provide:vd,useExisting:kv,multi:!0}])}var wd=class extends va{constructor(){super(...arguments),this.supportsDOMEvents=!0}},Ed=class t extends wd{static makeCurrent(){vv(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=HS();return r==null?null:zS(r)}resetBaseElement(){Ao=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return wa(document.cookie,e)}},Ao=null;function HS(){return Ao=Ao||document.querySelector("base"),Ao?Ao.getAttribute("href"):null}function zS(t){return new URL(t,document.baseURI).pathname}var Id=class{addToWindow(e){ue.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new w(5103,!1);return i},ue.getAllAngularTestabilities=()=>e.getAllTestabilities(),ue.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=ue.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};ue.frameworkStabilizers||(ue.frameworkStabilizers=[]),ue.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o??(n?$n().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null)}},GS=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Ma=new E(""),Gv=(()=>{let e=class e{constructor(n,o){this._zone=o,this._eventNameToPlugin=new Map,n.forEach(i=>{i.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,o,i){return this._findPluginFor(o).addEventListener(n,o,i)}getZone(){return this._zone}_findPluginFor(n){let o=this._eventNameToPlugin.get(n);if(o)return o;if(o=this._plugins.find(s=>s.supports(n)),!o)throw new w(5101,!1);return this._eventNameToPlugin.set(n,o),o}};e.\u0275fac=function(o){return new(o||e)(C(Ma),C(G))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Ro=class{constructor(e){this._doc=e}},yd="ng-app-id",qv=(()=>{let e=class e{constructor(n,o,i,s={}){this.doc=n,this.appId=o,this.nonce=i,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=So(s),this.resetHostNodes()}addStyles(n){for(let o of n)this.changeUsageCount(o,1)===1&&this.onStyleAdded(o)}removeStyles(n){for(let o of n)this.changeUsageCount(o,-1)<=0&&this.onStyleRemoved(o)}ngOnDestroy(){let n=this.styleNodesInDOM;n&&(n.forEach(o=>o.remove()),n.clear());for(let o of this.getAllStyles())this.onStyleRemoved(o);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(let o of this.getAllStyles())this.addStyleToHost(n,o)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(let o of this.hostNodes)this.addStyleToHost(o,n)}onStyleRemoved(n){let o=this.styleRef;o.get(n)?.elements?.forEach(i=>i.remove()),o.delete(n)}collectServerRenderedStyles(){let n=this.doc.head?.querySelectorAll(`style[${yd}="${this.appId}"]`);if(n?.length){let o=new Map;return n.forEach(i=>{i.textContent!=null&&o.set(i.textContent,i)}),o}return null}changeUsageCount(n,o){let i=this.styleRef;if(i.has(n)){let s=i.get(n);return s.usage+=o,s.usage}return i.set(n,{usage:o,elements:[]}),o}getStyleElement(n,o){let i=this.styleNodesInDOM,s=i?.get(o);if(s?.parentNode===n)return i.delete(o),s.removeAttribute(yd),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(yd,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){let i=this.getStyleElement(n,o),s=this.styleRef,a=s.get(o)?.elements;a?a.push(i):s.set(o,{elements:[i],usage:1})}resetHostNodes(){let n=this.hostNodes;n.clear(),n.add(this.doc.head)}};e.\u0275fac=function(o){return new(o||e)(C(le),C(Bs),C(dl,8),C(nt))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Dd={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"},bd=/%COMP%/g,Wv="%COMP%",qS=`_nghost-${Wv}`,WS=`_ngcontent-${Wv}`,ZS=!0,YS=new E("",{providedIn:"root",factory:()=>ZS});function QS(t){return WS.replace(bd,t)}function KS(t){return qS.replace(bd,t)}function Zv(t,e){return e.map(r=>r.replace(bd,t))}var Bv=(()=>{let e=class e{constructor(n,o,i,s,a,c,u,l=null){this.eventManager=n,this.sharedStylesHost=o,this.appId=i,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=c,this.ngZone=u,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=So(c),this.defaultRenderer=new Oo(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===yt.ShadowDom&&(o=J(D({},o),{encapsulation:yt.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof Sa?i.applyToHost(n):i instanceof Po&&i.applyStyles(),i}getOrCreateRenderer(n,o){let i=this.rendererByCompId,s=i.get(o.id);if(!s){let a=this.doc,c=this.ngZone,u=this.eventManager,l=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(o.encapsulation){case yt.Emulated:s=new Sa(u,l,o,this.appId,d,a,c,f);break;case yt.ShadowDom:return new Cd(u,l,n,o,a,c,this.nonce,f);default:s=new Po(u,l,o,d,a,c,f);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(C(Gv),C(qv),C(Bs),C(YS),C(le),C(nt),C(G),C(dl))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Oo=class{constructor(e,r,n,o){this.eventManager=e,this.doc=r,this.ngZone=n,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(Dd[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(Hv(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(Hv(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new w(-5104,!1);return r||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,n,o){if(o){r=o+":"+r;let i=Dd[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=Dd[n];o?e.removeAttributeNS(o,r):e.removeAttribute(`${n}:${r}`)}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,n,o){o&(Et.DashCase|Et.Important)?e.style.setProperty(r,n,o&Et.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&Et.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,n){e!=null&&(e[r]=n)}setValue(e,r){e.nodeValue=r}listen(e,r,n){if(typeof e=="string"&&(e=$n().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${r}`);return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(n))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function Hv(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Cd=class extends Oo{constructor(e,r,n,o,i,s,a,c){super(e,i,s,c),this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=Zv(o.id,o.styles);for(let l of u){let d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=l,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Po=class extends Oo{constructor(e,r,n,o,i,s,a,c){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?Zv(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Sa=class extends Po{constructor(e,r,n,o,i,s,a,c){let u=o+"-"+n.id;super(e,r,n,i,s,a,c,u),this.contentAttr=QS(u),this.hostAttr=KS(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},JS=(()=>{let e=class e extends Ro{constructor(n){super(n)}supports(n){return!0}addEventListener(n,o,i){return n.addEventListener(o,i,!1),()=>this.removeEventListener(n,o,i)}removeEventListener(n,o,i){return n.removeEventListener(o,i)}};e.\u0275fac=function(o){return new(o||e)(C(le))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),XS=(()=>{let e=class e extends Ro{constructor(n){super(n),this.delegate=g(sv,{optional:!0})}supports(n){return this.delegate?this.delegate.supports(n):!1}addEventListener(n,o,i){return this.delegate.addEventListener(n,o,i)}removeEventListener(n,o,i){return this.delegate.removeEventListener(n,o,i)}};e.\u0275fac=function(o){return new(o||e)(C(le))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),zv=["alt","control","meta","shift"],eT={"\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"},tT={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},nT=(()=>{let e=class e extends Ro{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,o,i){let s=e.parseEventName(o),a=e.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>$n().onAndCancel(n,s.domEventName,a))}static parseEventName(n){let o=n.toLowerCase().split("."),i=o.shift();if(o.length===0||!(i==="keydown"||i==="keyup"))return null;let s=e._normalizeKey(o.pop()),a="",c=o.indexOf("code");if(c>-1&&(o.splice(c,1),a="code."),zv.forEach(l=>{let d=o.indexOf(l);d>-1&&(o.splice(d,1),a+=l+".")}),a+=s,o.length!=0||s.length===0)return null;let u={};return u.domEventName=i,u.fullKey=a,u}static matchEventFullKeyCode(n,o){let i=eT[n.key]||n.key,s="";return o.indexOf("code.")>-1&&(i=n.code,s="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),zv.forEach(a=>{if(a!==i){let c=tT[a];c(n)&&(s+=a+".")}}),s+=i,s===o)}static eventCallback(n,o,i){return s=>{e.matchEventFullKeyCode(s,n)&&i.runGuarded(()=>o(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};e.\u0275fac=function(o){return new(o||e)(C(le))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function rT(){Ed.makeCurrent()}function oT(){return new tt}function iT(){return lg(document),document}var sT=[{provide:nt,useValue:dd},{provide:ll,useValue:rT,multi:!0},{provide:le,useFactory:iT,deps:[]}],oV=Hl(ov,"browser",sT),aT=new E(""),cT=[{provide:Co,useClass:Id,deps:[]},{provide:Ul,useClass:ra,deps:[G,oa,Co]},{provide:ra,useClass:ra,deps:[G,oa,Co]}],uT=[{provide:As,useValue:"root"},{provide:tt,useFactory:oT,deps:[]},{provide:Ma,useClass:JS,multi:!0,deps:[le,G,nt]},{provide:Ma,useClass:nT,multi:!0,deps:[le]},{provide:Ma,useClass:XS,multi:!0},Bv,qv,Gv,{provide:Ir,useExisting:Bv},{provide:Rr,useClass:GS,deps:[]},[]],iV=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Bs,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(C(aT,12))},e.\u0275mod=ln({type:e}),e.\u0275inj=un({providers:[...uT,...cT],imports:[Mv,iv]});let t=e;return t})();var Yv=(()=>{let e=class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};e.\u0275fac=function(o){return new(o||e)(C(le))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var lT=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:function(o){let i=null;return o?i=new(o||e):i=C(dT),i},providedIn:"root"});let t=e;return t})(),dT=(()=>{let e=class e extends lT{constructor(n){super(),this._doc=n}sanitize(n,o){if(o==null)return null;switch(n){case rt.NONE:return o;case rt.HTML:return Ut(o,"HTML")?ke(o):pl(this._doc,String(o)).toString();case rt.STYLE:return Ut(o,"Style")?ke(o):o;case rt.SCRIPT:if(Ut(o,"Script"))return ke(o);throw new w(5200,!1);case rt.URL:return Ut(o,"URL")?ke(o):zs(String(o));case rt.RESOURCE_URL:if(Ut(o,"ResourceURL"))return ke(o);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(n){return gg(n)}bypassSecurityTrustStyle(n){return mg(n)}bypassSecurityTrustScript(n){return vg(n)}bypassSecurityTrustUrl(n){return yg(n)}bypassSecurityTrustResourceUrl(n){return Dg(n)}};e.\u0275fac=function(o){return new(o||e)(C(le))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var O="primary",Zo=Symbol("RouteTitle"),_d=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function Vr(t){return new _d(t)}function hT(t,e,r){let n=r.path.split("/");if(n.length>t.length||r.pathMatch==="full"&&(e.hasChildren()||n.length<t.length))return null;let o={};for(let i=0;i<n.length;i++){let s=n[i],a=t[i];if(s[0]===":")o[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:o}}function pT(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!St(t[r],e[r]))return!1;return!0}function St(t,e){let r=t?Nd(t):void 0,n=e?Nd(e):void 0;if(!r||!n||r.length!=n.length)return!1;let o;for(let i=0;i<r.length;i++)if(o=r[i],!ay(t[o],e[o]))return!1;return!0}function Nd(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function ay(t,e){if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;let r=[...t].sort(),n=[...e].sort();return r.every((o,i)=>n[i]===o)}else return t===e}function cy(t){return t.length>0?t[t.length-1]:null}function wn(t){return cc(t)?t:Ar(t)?Y(Promise.resolve(t)):x(t)}var gT={exact:ly,subset:dy},uy={exact:mT,subset:vT,ignored:()=>!0};function Qv(t,e,r){return gT[r.paths](t.root,e.root,r.matrixParams)&&uy[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function mT(t,e){return St(t,e)}function ly(t,e,r){if(!Hn(t.segments,e.segments)||!_a(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!ly(t.children[n],e.children[n],r))return!1;return!0}function vT(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>ay(t[r],e[r]))}function dy(t,e,r){return fy(t,e,e.segments,r)}function fy(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!Hn(o,r)||e.hasChildren()||!_a(o,r,n))}else if(t.segments.length===r.length){if(!Hn(t.segments,r)||!_a(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!dy(t.children[o],e.children[o],n))return!1;return!0}else{let o=r.slice(0,t.segments.length),i=r.slice(t.segments.length);return!Hn(t.segments,o)||!_a(t.segments,o,n)||!t.children[O]?!1:fy(t.children[O],e,i,n)}}function _a(t,e,r){return e.every((n,o)=>uy[r](t[o].parameters,n.parameters))}var Kt=class{constructor(e=new H([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Vr(this.queryParams),this._queryParamMap}toString(){return wT.serialize(this)}},H=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Na(this)}},Bn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){return this._parameterMap??=Vr(this.parameters),this._parameterMap}toString(){return py(this)}};function yT(t,e){return Hn(t,e)&&t.every((r,n)=>St(r.parameters,e[n].parameters))}function Hn(t,e){return t.length!==e.length?!1:t.every((r,n)=>r.path===e[n].path)}function DT(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===O&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==O&&(r=r.concat(e(o,n)))}),r}var Yo=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new Ur,providedIn:"root"});let t=e;return t})(),Ur=class{parse(e){let r=new Rd(e);return new Kt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${Fo(e.root,!0)}`,n=CT(e.queryParams),o=typeof e.fragment=="string"?`#${ET(e.fragment)}`:"";return`${r}${n}${o}`}},wT=new Ur;function Na(t){return t.segments.map(e=>py(e)).join("/")}function Fo(t,e){if(!t.hasChildren())return Na(t);if(e){let r=t.children[O]?Fo(t.children[O],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==O&&n.push(`${o}:${Fo(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=DT(t,(n,o)=>o===O?[Fo(t.children[O],!1)]:[`${o}:${Fo(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[O]!=null?`${Na(t)}/${r[0]}`:`${Na(t)}/(${r.join("//")})`}}function hy(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ta(t){return hy(t).replace(/%3B/gi,";")}function ET(t){return encodeURI(t)}function Ad(t){return hy(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Aa(t){return decodeURIComponent(t)}function Kv(t){return Aa(t.replace(/\+/g,"%20"))}function py(t){return`${Ad(t.path)}${IT(t.parameters)}`}function IT(t){return Object.entries(t).map(([e,r])=>`;${Ad(e)}=${Ad(r)}`).join("")}function CT(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(o=>`${Ta(r)}=${Ta(o)}`).join("&"):`${Ta(r)}=${Ta(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var bT=/^[^\/()?;#]+/;function Md(t){let e=t.match(bT);return e?e[0]:""}var MT=/^[^\/()?;=#]+/;function ST(t){let e=t.match(MT);return e?e[0]:""}var TT=/^[^=?&#]+/;function xT(t){let e=t.match(TT);return e?e[0]:""}var _T=/^[^&#]+/;function NT(t){let e=t.match(_T);return e?e[0]:""}var Rd=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new H([],{}):new H([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(n[O]=new H(e,r)),n}parseSegment(){let e=Md(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(e),new Bn(Aa(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=ST(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=Md(this.remaining);o&&(n=o,this.capture(n))}e[Aa(r)]=Aa(n)}parseQueryParam(e){let r=xT(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=NT(this.remaining);s&&(n=s,this.capture(n))}let o=Kv(r),i=Kv(n);if(e.hasOwnProperty(o)){let s=e[o];Array.isArray(s)||(s=[s],e[o]=s),s.push(i)}else e[o]=i}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=Md(this.remaining),o=this.remaining[n.length];if(o!=="/"&&o!==")"&&o!==";")throw new w(4010,!1);let i;n.indexOf(":")>-1?(i=n.slice(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i=O);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[O]:new H([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new w(4011,!1)}};function gy(t){return t.segments.length>0?new H([],{[O]:t}):t}function my(t){let e={};for(let[n,o]of Object.entries(t.children)){let i=my(o);if(n===O&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))e[s]=a;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}let r=new H(t.segments,e);return AT(r)}function AT(t){if(t.numberOfChildren===1&&t.children[O]){let e=t.children[O];return new H(t.segments.concat(e.segments),e.children)}return t}function zn(t){return t instanceof Kt}function RT(t,e,r=null,n=null){let o=vy(t);return yy(o,e,r,n)}function vy(t){let e;function r(i){let s={};for(let c of i.children){let u=r(c);s[c.outlet]=u}let a=new H(i.url,s);return i===t&&(e=a),a}let n=r(t.root),o=gy(n);return e??o}function yy(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return Sd(o,o,o,r,n);let i=OT(e);if(i.toRoot())return Sd(o,o,new H([],{}),r,n);let s=PT(i,o,t),a=s.processChildren?jo(s.segmentGroup,s.index,i.commands):wy(s.segmentGroup,s.index,i.commands);return Sd(o,s.segmentGroup,a,r,n)}function Ra(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function $o(t){return typeof t=="object"&&t!=null&&t.outlets}function Sd(t,e,r,n,o){let i={};n&&Object.entries(n).forEach(([c,u])=>{i[c]=Array.isArray(u)?u.map(l=>`${l}`):`${u}`});let s;t===e?s=r:s=Dy(t,e,r);let a=gy(my(s));return new Kt(a,i,o)}function Dy(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=Dy(i,e,r)}),new H(t.segments,n)}var Oa=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&Ra(n[0]))throw new w(4003,!1);let o=n.find($o);if(o&&o!==cy(n))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function OT(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Oa(!0,0,t);let e=0,r=!1,n=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,u])=>{a[c]=typeof u=="string"?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?r=!0:a===".."?e++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new Oa(r,e,n)}var kr=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function PT(t,e,r){if(t.isAbsolute)return new kr(e,!0,0);if(!r)return new kr(e,!1,NaN);if(r.parent===null)return new kr(r,!0,0);let n=Ra(t.commands[0])?0:1,o=r.segments.length-1+n;return FT(r,o,t.numberOfDoubleDots)}function FT(t,e,r){let n=t,o=e,i=r;for(;i>o;){if(i-=o,n=n.parent,!n)throw new w(4005,!1);o=n.segments.length}return new kr(n,!1,o-i)}function kT(t){return $o(t[0])?t[0].outlets:{[O]:t}}function wy(t,e,r){if(t??=new H([],{}),t.segments.length===0&&t.hasChildren())return jo(t,e,r);let n=LT(t,e,r),o=r.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let i=new H(t.segments.slice(0,n.pathIndex),{});return i.children[O]=new H(t.segments.slice(n.pathIndex),t.children),jo(i,0,o)}else return n.match&&o.length===0?new H(t.segments,{}):n.match&&!t.hasChildren()?Od(t,e,r):n.match?jo(t,0,o):Od(t,e,r)}function jo(t,e,r){if(r.length===0)return new H(t.segments,{});{let n=kT(r),o={};if(Object.keys(n).some(i=>i!==O)&&t.children[O]&&t.numberOfChildren===1&&t.children[O].segments.length===0){let i=jo(t.children[O],e,r);return new H(t.segments,i.children)}return Object.entries(n).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=wy(t.children[i],e,s))}),Object.entries(t.children).forEach(([i,s])=>{n[i]===void 0&&(o[i]=s)}),new H(t.segments,o)}}function LT(t,e,r){let n=0,o=e,i={match:!1,pathIndex:0,commandIndex:0};for(;o<t.segments.length;){if(n>=r.length)return i;let s=t.segments[o],a=r[n];if($o(a))break;let c=`${a}`,u=n<r.length-1?r[n+1]:null;if(o>0&&c===void 0)break;if(c&&u&&typeof u=="object"&&u.outlets===void 0){if(!Xv(c,u,s))return i;n+=2}else{if(!Xv(c,{},s))return i;n++}o++}return{match:!0,pathIndex:o,commandIndex:n}}function Od(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o<r.length;){let i=r[o];if($o(i)){let c=jT(i.outlets);return new H(n,c)}if(o===0&&Ra(r[0])){let c=t.segments[e];n.push(new Bn(c.path,Jv(r[0]))),o++;continue}let s=$o(i)?i.outlets[O]:`${i}`,a=o<r.length-1?r[o+1]:null;s&&a&&Ra(a)?(n.push(new Bn(s,Jv(a))),o+=2):(n.push(new Bn(s,{})),o++)}return new H(n,{})}function jT(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=Od(new H([],{}),0,n))}),e}function Jv(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function Xv(t,e,r){return t==r.path&&St(e,r.parameters)}var Vo="imperative",pe=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(pe||{}),Qe=class{constructor(e,r){this.id=e,this.url=r}},$r=class extends Qe{constructor(e,r,n="imperative",o=null){super(e,r),this.type=pe.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},at=class extends Qe{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=pe.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},He=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(He||{}),Pa=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Pa||{}),Qt=class extends Qe{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=pe.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Dn=class extends Qe{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=pe.NavigationSkipped}},Bo=class extends Qe{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=pe.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Fa=class extends Qe{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=pe.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Pd=class extends Qe{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=pe.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fd=class extends Qe{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=pe.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},kd=class extends Qe{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=pe.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ld=class extends Qe{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=pe.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},jd=class{constructor(e){this.route=e,this.type=pe.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Vd=class{constructor(e){this.route=e,this.type=pe.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Ud=class{constructor(e){this.snapshot=e,this.type=pe.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},$d=class{constructor(e){this.snapshot=e,this.type=pe.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Bd=class{constructor(e){this.snapshot=e,this.type=pe.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hd=class{constructor(e){this.snapshot=e,this.type=pe.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ka=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=pe.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Ho=class{},Br=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function VT(t,e){return t.providers&&!t._injector&&(t._injector=Xs(t.providers,e,`Route: ${t.path}`)),t._injector??e}function st(t){return t.outlet||O}function UT(t,e){let r=t.filter(n=>st(n)===e);return r.push(...t.filter(n=>st(n)!==e)),r}function Qo(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let r=e.routeConfig;if(r?._loadedInjector)return r._loadedInjector;if(r?._injector)return r._injector}return null}var zd=class{get injector(){return Qo(this.route?.snapshot)??this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new Ko(this.rootInjector),this.attachRef=null}},Ko=(()=>{let e=class e{constructor(n){this.rootInjector=n,this.contexts=new Map}onChildOutletCreated(n,o){let i=this.getOrCreateContext(n);i.outlet=o,this.contexts.set(n,i)}onChildOutletDestroyed(n){let o=this.getContext(n);o&&(o.outlet=null,o.attachRef=null)}onOutletDeactivated(){let n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let o=this.getContext(n);return o||(o=new zd(this.rootInjector),this.contexts.set(n,o)),o}getContext(n){return this.contexts.get(n)||null}};e.\u0275fac=function(o){return new(o||e)(C(Ie))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),La=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Gd(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Gd(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=qd(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return qd(e,this._root).map(r=>r.value)}};function Gd(t,e){if(t===e.value)return e;for(let r of e.children){let n=Gd(t,r);if(n)return n}return null}function qd(t,e){if(t===e.value)return[e];for(let r of e.children){let n=qd(t,r);if(n.length)return n.unshift(e),n}return[]}var Be=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function Fr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var ja=class extends La{constructor(e,r){super(e),this.snapshot=r,tf(this,e)}toString(){return this.snapshot.toString()}};function Ey(t){let e=$T(t),r=new me([new Bn("",{})]),n=new me({}),o=new me({}),i=new me({}),s=new me(""),a=new Gn(r,n,i,s,o,O,t,e.root);return a.snapshot=e.root,new ja(new Be(a,[]),e)}function $T(t){let e={},r={},n={},o="",i=new Lr([],e,n,o,r,O,t,null,{});return new Ua("",new Be(i,[]))}var Gn=class{constructor(e,r,n,o,i,s,a,c){this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=n,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(R(u=>u[Zo]))??x(void 0),this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(R(e=>Vr(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(R(e=>Vr(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Va(t,e,r="emptyOnly"){let n,{routeConfig:o}=t;return e!==null&&(r==="always"||o?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:D(D({},e.params),t.params),data:D(D({},e.data),t.data),resolve:D(D(D(D({},t.data),e.data),o?.data),t._resolvedData)}:n={params:D({},t.params),data:D({},t.data),resolve:D(D({},t.data),t._resolvedData??{})},o&&Cy(o)&&(n.resolve[Zo]=o.title),n}var Lr=class{get title(){return this.data?.[Zo]}constructor(e,r,n,o,i,s,a,c,u){this.url=e,this.params=r,this.queryParams=n,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Vr(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Vr(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${r}')`}},Ua=class extends La{constructor(e,r){super(r),this.url=e,tf(this,r)}toString(){return Iy(this._root)}};function tf(t,e){e.value._routerState=t,e.children.forEach(r=>tf(t,r))}function Iy(t){let e=t.children.length>0?` { ${t.children.map(Iy).join(", ")} } `:"";return`${t.value}${e}`}function Td(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,St(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),St(e.params,r.params)||t.paramsSubject.next(r.params),pT(e.url,r.url)||t.urlSubject.next(r.url),St(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Wd(t,e){let r=St(t.params,e.params)&&yT(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Wd(t.parent,e.parent))}function Cy(t){return typeof t.title=="string"||t.title===null}var BT=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=O,this.activateEvents=new ye,this.deactivateEvents=new ye,this.attachEvents=new ye,this.detachEvents=new ye,this.parentContexts=g(Ko),this.location=g(Mt),this.changeDetector=g(Bt),this.inputBinder=g(Ga,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){let{firstChange:o,previousValue:i}=n.name;if(o)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,o){this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){let n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,o){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=n;let i=this.location,a=n.snapshot.component,c=this.parentContexts.getOrCreateContext(this.name).children,u=new Zd(n,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=qe({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[jt]});let t=e;return t})(),Zd=class t{__ngOutletInjector(e){return new t(this.route,this.childContexts,e)}constructor(e,r,n){this.route=e,this.childContexts=r,this.parent=n}get(e,r){return e===Gn?this.route:e===Ko?this.childContexts:this.parent.get(e,r)}},Ga=new E(""),ey=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=Kr([o.queryParams,o.params,o.data]).pipe(de(([s,a,c],u)=>(c=D(D(D({},s),a),c),u===0?x(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=av(o.component);if(!a){this.unsubscribeFromRouteData(n);return}for(let{templateName:c}of a.inputs)n.activatedComponentRef.setInput(c,s[c])});this.outletDataSubscriptions.set(n,i)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function HT(t,e,r){let n=zo(t,e._root,r?r._root:void 0);return new ja(n,e)}function zo(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=zT(t,e,r);return new Be(n,o)}else{if(t.shouldAttach(e.value)){let i=t.retrieve(e.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>zo(t,a)),s}}let n=GT(e.value),o=e.children.map(i=>zo(t,i));return new Be(n,o)}}function zT(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return zo(t,n,o);return zo(t,n)})}function GT(t){return new Gn(new me(t.url),new me(t.params),new me(t.queryParams),new me(t.fragment),new me(t.data),t.outlet,t.component,t)}var Go=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},by="ngNavigationCancelingError";function $a(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=zn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=My(!1,He.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function My(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[by]=!0,r.cancellationCode=e,r}function qT(t){return Sy(t)&&zn(t.url)}function Sy(t){return!!t&&t[by]}var WT=(t,e,r,n)=>R(o=>(new Yd(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),Yd=class{constructor(e,r,n,o,i){this.routeReuseStrategy=e,this.futureState=r,this.currState=n,this.forwardEvent=o,this.inputBindingEnabled=i}activate(e){let r=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,n,e),Td(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=Fr(r);e.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],n),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,n)})}deactivateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(o===i)if(o.component){let s=n.getContext(o.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,n);else i&&this.deactivateRouteAndItsChildren(r,n)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=Fr(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let n=r.getContext(e.value.outlet),o=n&&e.value.component?n.children:r,i=Fr(e);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,r,n){let o=Fr(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new Hd(i.value.snapshot))}),e.children.length&&this.forwardEvent(new $d(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(Td(o),o===i)if(o.component){let s=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,n);else if(o.component){let s=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Td(a.route.value),this.activateChildRoutes(e,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(e,null,s.children)}else this.activateChildRoutes(e,null,n)}},Ba=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},jr=class{constructor(e,r){this.component=e,this.route=r}};function ZT(t,e,r){let n=t._root,o=e?e._root:null;return ko(n,o,r,[n.value])}function YT(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function zr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!ep(t)?t:e.get(t):n}function ko(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Fr(e);return t.children.forEach(s=>{QT(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Uo(a,r.getContext(s),o)),o}function QT(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=e?e.value:null,a=r?r.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=KT(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Ba(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?ko(t,e,a?a.children:null,n,o):ko(t,e,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new jr(a.outlet.component,s))}else s&&Uo(e,a,o),o.canActivateChecks.push(new Ba(n)),i.component?ko(t,null,a?a.children:null,n,o):ko(t,null,r,n,o);return o}function KT(t,e,r){if(typeof r=="function")return r(t,e);switch(r){case"pathParamsChange":return!Hn(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Hn(t.url,e.url)||!St(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Wd(t,e)||!St(t.queryParams,e.queryParams);case"paramsChange":default:return!Wd(t,e)}}function Uo(t,e,r){let n=Fr(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?Uo(s,e.children.getContext(i),r):Uo(s,null,r):Uo(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new jr(e.outlet.component,o)):r.canDeactivateChecks.push(new jr(null,o)):r.canDeactivateChecks.push(new jr(null,o))}function Jo(t){return typeof t=="function"}function JT(t){return typeof t=="boolean"}function XT(t){return t&&Jo(t.canLoad)}function ex(t){return t&&Jo(t.canActivate)}function tx(t){return t&&Jo(t.canActivateChild)}function nx(t){return t&&Jo(t.canDeactivate)}function rx(t){return t&&Jo(t.canMatch)}function Ty(t){return t instanceof xt||t?.name==="EmptyError"}var xa=Symbol("INITIAL_VALUE");function Hr(){return de(t=>Kr(t.map(e=>e.pipe(Nt(1),fc(xa)))).pipe(R(e=>{for(let r of e)if(r!==!0){if(r===xa)return xa;if(r===!1||ox(r))return r}return!0}),ne(e=>e!==xa),Nt(1)))}function ox(t){return zn(t)||t instanceof Go}function ix(t,e){return ee(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?x(J(D({},r),{guardsResult:!0})):sx(s,n,o,t).pipe(ee(a=>a&&JT(a)?ax(n,i,t,e):x(a)),R(a=>J(D({},r),{guardsResult:a})))})}function sx(t,e,r,n){return Y(t).pipe(ee(o=>fx(o.component,o.route,r,e,n)),gt(o=>o!==!0,!0))}function ax(t,e,r,n){return Y(e).pipe(pt(o=>ir(ux(o.route.parent,n),cx(o.route,n),dx(t,o.path,r),lx(t,o.route,r))),gt(o=>o!==!0,!0))}function cx(t,e){return t!==null&&e&&e(new Bd(t)),x(!0)}function ux(t,e){return t!==null&&e&&e(new Ud(t)),x(!0)}function lx(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return x(!0);let o=n.map(i=>Ti(()=>{let s=Qo(e)??r,a=zr(i,s),c=ex(a)?a.canActivate(e,t):je(s,()=>a(e,t));return wn(c).pipe(gt())}));return x(o).pipe(Hr())}function dx(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>YT(s)).filter(s=>s!==null).map(s=>Ti(()=>{let a=s.guards.map(c=>{let u=Qo(s.node)??r,l=zr(c,u),d=tx(l)?l.canActivateChild(n,t):je(u,()=>l(n,t));return wn(d).pipe(gt())});return x(a).pipe(Hr())}));return x(i).pipe(Hr())}function fx(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return x(!0);let s=i.map(a=>{let c=Qo(e)??o,u=zr(a,c),l=nx(u)?u.canDeactivate(t,e,r,n):je(c,()=>u(t,e,r,n));return wn(l).pipe(gt())});return x(s).pipe(Hr())}function hx(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return x(!0);let i=o.map(s=>{let a=zr(s,t),c=XT(a)?a.canLoad(e,r):je(t,()=>a(e,r));return wn(c)});return x(i).pipe(Hr(),xy(n))}function xy(t){return ec(se(e=>{if(typeof e!="boolean")throw $a(t,e)}),R(e=>e===!0))}function px(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return x(!0);let i=o.map(s=>{let a=zr(s,t),c=rx(a)?a.canMatch(e,r):je(t,()=>a(e,r));return wn(c)});return x(i).pipe(Hr(),xy(n))}var qo=class{constructor(e){this.segmentGroup=e||null}},Wo=class extends Error{constructor(e){super(),this.urlTree=e}};function Pr(t){return rr(new qo(t))}function gx(t){return rr(new w(4e3,!1))}function mx(t){return rr(My(!1,He.GuardRejected))}var Qd=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let n=[],o=r.root;for(;;){if(n=n.concat(o.segments),o.numberOfChildren===0)return x(n);if(o.numberOfChildren>1||!o.children[O])return gx(`${e.redirectTo}`);o=o.children[O]}}applyRedirectCommands(e,r,n,o,i){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,params:h,data:p,title:y}=o,m=je(i,()=>a({params:h,data:p,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:f,title:y}));if(m instanceof Kt)throw new Wo(m);r=m}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new Wo(s);return s}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new Kt(i,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let n={};return Object.entries(e).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);n[o]=r[a]}else n[o]=i}),n}createSegmentGroup(e,r,n,o){let i=this.createSegments(e,r.segments,n,o),s={};return Object.entries(r.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(e,c,n,o)}),new H(i,s)}createSegments(e,r,n,o){return r.map(i=>i.path[0]===":"?this.findPosParam(e,i,o):this.findOrReturn(i,n))}findPosParam(e,r,n){let o=n[r.path.substring(1)];if(!o)throw new w(4001,!1);return o}findOrReturn(e,r){let n=0;for(let o of r){if(o.path===e.path)return r.splice(n),o;n++}return e}},Kd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function vx(t,e,r,n,o){let i=nf(t,e,r);return i.matched?(n=VT(e,n),px(n,e,r,o).pipe(R(s=>s===!0?i:D({},Kd)))):x(i)}function nf(t,e,r){if(e.path==="**")return yx(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?D({},Kd):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||hT)(r,t,e);if(!o)return D({},Kd);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?D(D({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:r.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function yx(t){return{matched:!0,parameters:t.length>0?cy(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function ty(t,e,r,n){return r.length>0&&Ex(t,r,n)?{segmentGroup:new H(e,wx(n,new H(r,t.children))),slicedSegments:[]}:r.length===0&&Ix(t,r,n)?{segmentGroup:new H(t.segments,Dx(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new H(t.segments,t.children),slicedSegments:r}}function Dx(t,e,r,n){let o={};for(let i of r)if(qa(t,e,i)&&!n[st(i)]){let s=new H([],{});o[st(i)]=s}return D(D({},n),o)}function wx(t,e){let r={};r[O]=e;for(let n of t)if(n.path===""&&st(n)!==O){let o=new H([],{});r[st(n)]=o}return r}function Ex(t,e,r){return r.some(n=>qa(t,e,n)&&st(n)!==O)}function Ix(t,e,r){return r.some(n=>qa(t,e,n))}function qa(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function Cx(t,e,r,n){return st(t)!==n&&(n===O||!qa(e,r,t))?!1:nf(e,t,r).matched}function bx(t,e,r){return e.length===0&&!t.children[r]}var Jd=class{};function Mx(t,e,r,n,o,i,s="emptyOnly"){return new Xd(t,e,r,n,o,s,i).recognize()}var Sx=31,Xd=class{constructor(e,r,n,o,i,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=n,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Qd(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new w(4002,`'${e.segmentGroup}'`)}recognize(){let e=ty(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(R(({children:r,rootSnapshot:n})=>{let o=new Be(n,r),i=new Ua("",o),s=RT(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}))}match(e){let r=new Lr([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),O,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,O,r).pipe(R(n=>({children:n,rootSnapshot:r})),_t(n=>{if(n instanceof Wo)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof qo?this.noMatchError(n):n}))}processSegmentGroup(e,r,n,o,i){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,r,n,i):this.processSegment(e,r,n,n.segments,o,!0,i).pipe(R(s=>s instanceof Be?[s]:[]))}processChildren(e,r,n,o){let i=[];for(let s of Object.keys(n.children))s==="primary"?i.unshift(s):i.push(s);return Y(i).pipe(pt(s=>{let a=n.children[s],c=UT(r,s);return this.processSegmentGroup(e,c,a,s,o)}),_i((s,a)=>(s.push(...a),s)),en(null),dc(),ee(s=>{if(s===null)return Pr(n);let a=_y(s);return Tx(a),x(a)}))}processSegment(e,r,n,o,i,s,a){return Y(r).pipe(pt(c=>this.processSegmentAgainstRoute(c._injector??e,r,c,n,o,i,s,a).pipe(_t(u=>{if(u instanceof qo)return x(null);throw u}))),gt(c=>!!c),_t(c=>{if(Ty(c))return bx(n,o,i)?x(new Jd):Pr(n);throw c}))}processSegmentAgainstRoute(e,r,n,o,i,s,a,c){return Cx(n,o,i,s)?n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s,c):Pr(o):Pr(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s,a){let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:f}=nf(r,o,i);if(!c)return Pr(r);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Sx&&(this.allowRedirects=!1));let h=new Lr(i,u,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,ny(o),st(o),o.component??o._loadedComponent??null,o,ry(o)),p=Va(h,a,this.paramsInheritanceStrategy);h.params=Object.freeze(p.params),h.data=Object.freeze(p.data);let y=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,h,e);return this.applyRedirects.lineralizeSegments(o,y).pipe(ee(m=>this.processSegment(e,n,r,m.concat(f),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,o,i,s){let a=vx(r,n,o,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(de(c=>c.matched?(e=n._injector??e,this.getChildConfig(e,n,o).pipe(de(({routes:u})=>{let l=n._loadedInjector??e,{parameters:d,consumedSegments:f,remainingSegments:h}=c,p=new Lr(f,d,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,ny(n),st(n),n.component??n._loadedComponent??null,n,ry(n)),y=Va(p,s,this.paramsInheritanceStrategy);p.params=Object.freeze(y.params),p.data=Object.freeze(y.data);let{segmentGroup:m,slicedSegments:v}=ty(r,f,h,u);if(v.length===0&&m.hasChildren())return this.processChildren(l,u,m,p).pipe(R(z=>new Be(p,z)));if(u.length===0&&v.length===0)return x(new Be(p,[]));let F=st(n)===i;return this.processSegment(l,u,m,v,F?O:i,!0,p).pipe(R(z=>new Be(p,z instanceof Be?[z]:[])))}))):Pr(r)))}getChildConfig(e,r,n){return r.children?x({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?x({routes:r._loadedRoutes,injector:r._loadedInjector}):hx(e,r,n,this.urlSerializer).pipe(ee(o=>o?this.configLoader.loadChildren(e,r).pipe(se(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):mx(r))):x({routes:[],injector:e})}};function Tx(t){t.sort((e,r)=>e.value.outlet===O?-1:r.value.outlet===O?1:e.value.outlet.localeCompare(r.value.outlet))}function xx(t){let e=t.value.routeConfig;return e&&e.path===""}function _y(t){let e=[],r=new Set;for(let n of t){if(!xx(n)){e.push(n);continue}let o=e.find(i=>n.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...n.children),r.add(o)):e.push(n)}for(let n of r){let o=_y(n.children);e.push(new Be(n.value,o))}return e.filter(n=>!r.has(n))}function ny(t){return t.data||{}}function ry(t){return t.resolve||{}}function _x(t,e,r,n,o,i){return ee(s=>Mx(t,e,r,n,s.extractedUrl,o,i).pipe(R(({state:a,tree:c})=>J(D({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function Nx(t,e){return ee(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return x(r);let i=new Set(o.map(c=>c.route)),s=new Set;for(let c of i)if(!s.has(c))for(let u of Ny(c))s.add(u);let a=0;return Y(s).pipe(pt(c=>i.has(c)?Ax(c,n,t,e):(c.data=Va(c,c.parent,t).resolve,x(void 0))),se(()=>a++),sr(1),ee(c=>a===s.size?x(r):Me))})}function Ny(t){let e=t.children.map(r=>Ny(r)).flat();return[t,...e]}function Ax(t,e,r,n){let o=t.routeConfig,i=t._resolve;return o?.title!==void 0&&!Cy(o)&&(i[Zo]=o.title),Rx(i,t,e,n).pipe(R(s=>(t._resolvedData=s,t.data=Va(t,t.parent,r).resolve,null)))}function Rx(t,e,r,n){let o=Nd(t);if(o.length===0)return x({});let i={};return Y(o).pipe(ee(s=>Ox(t[s],e,r,n).pipe(gt(),se(a=>{if(a instanceof Go)throw $a(new Ur,a);i[s]=a}))),sr(1),lc(i),_t(s=>Ty(s)?Me:rr(s)))}function Ox(t,e,r,n){let o=Qo(e)??n,i=zr(t,o),s=i.resolve?i.resolve(e,r):je(o,()=>i(e,r));return wn(s)}function xd(t){return de(e=>{let r=t(e);return r?Y(r).pipe(R(()=>e)):x(e)})}var Ay=(()=>{let e=class e{buildTitle(n){let o,i=n.root;for(;i!==void 0;)o=this.getResolvedTitleForRoute(i)??o,i=i.children.find(s=>s.outlet===O);return o}getResolvedTitleForRoute(n){return n.data[Zo]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(Px),providedIn:"root"});let t=e;return t})(),Px=(()=>{let e=class e extends Ay{constructor(n){super(),this.title=n}updateTitle(n){let o=this.buildTitle(n);o!==void 0&&this.title.setTitle(o)}};e.\u0275fac=function(o){return new(o||e)(C(Yv))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Xo=new E("",{providedIn:"root",factory:()=>({})}),Fx=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=pp({type:e,selectors:[["ng-component"]],standalone:!0,features:[Wm],decls:1,vars:0,template:function(o,i){o&1&&Ll(0,"router-outlet")},dependencies:[BT],encapsulation:2});let t=e;return t})();function rf(t){let e=t.children&&t.children.map(rf),r=e?J(D({},t),{children:e}):D({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==O&&(r.component=Fx),r}var Ha=new E(""),of=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(aa)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return x(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=wn(n.loadComponent()).pipe(R(Ry),se(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),tn(()=>{this.componentLoaders.delete(n)})),i=new Xn(o,()=>new re).pipe(Jn());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return x({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=kx(o,this.compiler,n,this.onLoadEndListener).pipe(tn(()=>{this.childrenLoaders.delete(o)})),a=new Xn(s,()=>new re).pipe(Jn());return this.childrenLoaders.set(o,a),a}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function kx(t,e,r,n){return wn(t.loadChildren()).pipe(R(Ry),ee(o=>o instanceof lo||Array.isArray(o)?x(o):Y(e.compileModuleAsync(o))),R(o=>{n&&n(t);let i,s,a=!1;return Array.isArray(o)?(s=o,a=!0):(i=o.create(r).injector,s=i.get(Ha,[],{optional:!0,self:!0}).flat()),{routes:s.map(rf),injector:i}}))}function Lx(t){return t&&typeof t=="object"&&"default"in t}function Ry(t){return Lx(t)?t.default:t}var sf=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(jx),providedIn:"root"});let t=e;return t})(),jx=(()=>{let e=class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,o){return n}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Oy=new E(""),Py=new E("");function Vx(t,e,r){let n=t.get(Py),o=t.get(le);return t.get(G).runOutsideAngular(()=>{if(!o.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let i,s=new Promise(u=>{i=u}),a=o.startViewTransition(()=>(i(),Ux(t))),{onViewTransitionCreated:c}=n;return c&&je(t,()=>c({transition:a,from:e,to:r})),s})}function Ux(t){return new Promise(e=>{Ks({read:()=>setTimeout(e)},{injector:t})})}var $x=new E(""),af=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new re,this.transitionAbortSubject=new re,this.configLoader=g(of),this.environmentInjector=g(Ie),this.urlSerializer=g(Yo),this.rootContexts=g(Ko),this.location=g(Or),this.inputBindingEnabled=g(Ga,{optional:!0})!==null,this.titleStrategy=g(Ay),this.options=g(Xo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(sf),this.createViewTransition=g(Oy,{optional:!0}),this.navigationErrorHandler=g($x,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>x(void 0),this.rootComponentType=null;let n=i=>this.events.next(new jd(i)),o=i=>this.events.next(new Vd(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){this.transitions?.complete()}handleNavigationRequest(n){let o=++this.navigationId;this.transitions?.next(J(D(D({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new me({id:0,currentUrlTree:o,currentRawUrl:o,extractedUrl:this.urlHandlingStrategy.extract(o),urlAfterRedirects:this.urlHandlingStrategy.extract(o),rawUrl:o,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Vo,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ne(s=>s.id!==0),R(s=>J(D({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),de(s=>{let a=!1,c=!1;return x(s).pipe(de(u=>{if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",He.SupersededByNewNavigation),Me;this.currentTransition=s,this.currentNavigation={id:u.id,initialUrl:u.rawUrl,extractedUrl:u.extractedUrl,targetBrowserUrl:typeof u.extras.browserUrl=="string"?this.urlSerializer.parse(u.extras.browserUrl):u.extras.browserUrl,trigger:u.source,extras:u.extras,previousNavigation:this.lastSuccessfulNavigation?J(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=u.extras.onSameUrlNavigation??n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new Dn(u.id,this.urlSerializer.serialize(u.rawUrl),f,Pa.IgnoredSameUrlNavigation)),u.resolve(!1),Me}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return x(u).pipe(de(f=>{let h=this.transitions?.getValue();return this.events.next(new $r(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?Me:Promise.resolve(f)}),_x(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),se(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=J(D({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new Fa(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:h,source:p,restoredState:y,extras:m}=u,v=new $r(f,this.urlSerializer.serialize(h),p,y);this.events.next(v);let F=Ey(this.rootComponentType).snapshot;return this.currentTransition=s=J(D({},u),{targetSnapshot:F,urlAfterRedirects:h,extras:J(D({},m),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,x(s)}else{let f="";return this.events.next(new Dn(u.id,this.urlSerializer.serialize(u.extractedUrl),f,Pa.IgnoredByUrlHandlingStrategy)),u.resolve(!1),Me}}),se(u=>{let l=new Pd(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),R(u=>(this.currentTransition=s=J(D({},u),{guards:ZT(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),ix(this.environmentInjector,u=>this.events.next(u)),se(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw $a(this.urlSerializer,u.guardsResult);let l=new Fd(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),ne(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",He.GuardRejected),!1)),xd(u=>{if(u.guards.canActivateChecks.length)return x(u).pipe(se(l=>{let d=new kd(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),de(l=>{let d=!1;return x(l).pipe(Nx(this.paramsInheritanceStrategy,this.environmentInjector),se({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",He.NoDataFromResolver)}}))}),se(l=>{let d=new Ld(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),xd(u=>{let l=d=>{let f=[];d.routeConfig?.loadComponent&&!d.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(d.routeConfig).pipe(se(h=>{d.component=h}),R(()=>{})));for(let h of d.children)f.push(...l(h));return f};return Kr(l(u.targetSnapshot.root)).pipe(en(null),Nt(1))}),xd(()=>this.afterPreactivation()),de(()=>{let{currentSnapshot:u,targetSnapshot:l}=s,d=this.createViewTransition?.(this.environmentInjector,u.root,l.root);return d?Y(d).pipe(R(()=>s)):x(s)}),R(u=>{let l=HT(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=J(D({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),se(()=>{this.events.next(new Ho)}),WT(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),Nt(1),se({next:u=>{a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new at(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),this.titleStrategy?.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),Ni(this.transitionAbortSubject.pipe(se(u=>{throw u}))),tn(()=>{!a&&!c&&this.cancelNavigationTransition(s,"",He.SupersededByNewNavigation),this.currentTransition?.id===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),_t(u=>{if(c=!0,Sy(u))this.events.next(new Qt(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),qT(u)?this.events.next(new Br(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let l=new Bo(s.id,this.urlSerializer.serialize(s.extractedUrl),u,s.targetSnapshot??void 0);try{let d=je(this.environmentInjector,()=>this.navigationErrorHandler?.(l));if(d instanceof Go){let{message:f,cancellationCode:h}=$a(this.urlSerializer,d);this.events.next(new Qt(s.id,this.urlSerializer.serialize(s.extractedUrl),f,h)),this.events.next(new Br(d.redirectTo,d.navigationBehaviorOptions))}else{this.events.next(l);let f=n.errorHandler(u);s.resolve(!!f)}}catch(d){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(d)}}return Me}))}))}cancelNavigationTransition(n,o,i){let s=new Qt(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),o=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return n.toString()!==o?.toString()&&!this.currentNavigation?.extras.skipLocationChange}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Bx(t){return t!==Vo}var Hx=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(zx),providedIn:"root"});let t=e;return t})(),ef=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},zx=(()=>{let e=class e extends ef{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=cl(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Fy=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(Gx),providedIn:"root"});let t=e;return t})(),Gx=(()=>{let e=class e extends Fy{constructor(){super(...arguments),this.location=g(Or),this.urlSerializer=g(Yo),this.options=g(Xo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(sf),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Kt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Ey(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(n){return this.location.subscribe(o=>{o.type==="popstate"&&n(o.url,o.state)})}handleRouterEvent(n,o){if(n instanceof $r)this.stateMemento=this.createStateMemento();else if(n instanceof Dn)this.rawUrlTree=o.initialUrl;else if(n instanceof Fa){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let i=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl(o.targetBrowserUrl??i,o)}}else n instanceof Ho?(this.currentUrlTree=o.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl),this.routerState=o.targetRouterState,this.urlUpdateStrategy==="deferred"&&!o.extras.skipLocationChange&&this.setBrowserUrl(o.targetBrowserUrl??this.rawUrlTree,o)):n instanceof Qt&&(n.code===He.GuardRejected||n.code===He.NoDataFromResolver)?this.restoreHistory(o):n instanceof Bo?this.restoreHistory(o,!0):n instanceof at&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=n instanceof Kt?this.urlSerializer.serialize(n):n;if(this.location.isCurrentPathEqualTo(i)||o.extras.replaceUrl){let s=this.browserPageId,a=D(D({},o.extras.state),this.generateNgRouterState(o.id,s));this.location.replaceState(i,"",a)}else{let s=D(D({},o.extras.state),this.generateNgRouterState(o.id,this.browserPageId+1));this.location.go(i,"",s)}}restoreHistory(n,o=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,s=this.currentPageId-i;s!==0?this.location.historyGo(s):this.currentUrlTree===n.finalUrl&&s===0&&(this.resetState(n),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(o&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,o){return this.canceledNavigationResolution==="computed"?{navigationId:n,\u0275routerPageId:o}:{navigationId:n}}};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=cl(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Lo=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Lo||{});function ky(t,e){t.events.pipe(ne(r=>r instanceof at||r instanceof Qt||r instanceof Bo||r instanceof Dn),R(r=>r instanceof at||r instanceof Dn?Lo.COMPLETE:(r instanceof Qt?r.code===He.Redirect||r.code===He.SupersededByNewNavigation:!1)?Lo.REDIRECTING:Lo.FAILED),ne(r=>r!==Lo.REDIRECTING),Nt(1)).subscribe(()=>{e()})}function qx(t){throw t}var Wx={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Zx={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Jt=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=g(na),this.stateManager=g(Fy),this.options=g(Xo,{optional:!0})||{},this.pendingTasks=g(bt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(af),this.urlSerializer=g(Yo),this.location=g(Or),this.urlHandlingStrategy=g(sf),this._events=new re,this.errorHandler=this.options.errorHandler||qx,this.navigated=!1,this.routeReuseStrategy=g(Hx),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=g(Ha,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!g(Ga,{optional:!0}),this.eventsSubscription=new X,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:n=>{this.console.warn(n)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let n=this.navigationTransitions.events.subscribe(o=>{try{let i=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(i!==null&&s!==null){if(this.stateManager.handleRouterEvent(o,s),o instanceof Qt&&o.code!==He.Redirect&&o.code!==He.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof at)this.navigated=!0;else if(o instanceof Br){let a=o.navigationBehaviorOptions,c=this.urlHandlingStrategy.merge(o.url,i.currentRawUrl),u=D({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Bx(i.source)},a);this.scheduleNavigation(c,Vo,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}Qx(o)&&this._events.next(o)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(n)}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Vo,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((n,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(n,"popstate",o)},0)})}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i?.navigationId?i:null;if(i){let u=D({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(s.state=u)}let c=this.parseUrl(n);this.scheduleNavigation(c,o,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(rf),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(n,o={}){let{relativeTo:i,queryParams:s,fragment:a,queryParamsHandling:c,preserveFragment:u}=o,l=u?this.currentUrlTree.fragment:a,d=null;switch(c){case"merge":d=D(D({},this.currentUrlTree.queryParams),s);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=s||null}d!==null&&(d=this.removeEmptyProps(d));let f;try{let h=i?i.snapshot:this.routerState.snapshot.root;f=vy(h)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),f=this.currentUrlTree.root}return yy(f,n,d,l??null)}navigateByUrl(n,o={skipLocationChange:!1}){let i=zn(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(s,Vo,null,o)}navigate(n,o={skipLocationChange:!1}){return Yx(n),this.navigateByUrl(this.createUrlTree(n,o),o)}serializeUrl(n){return this.urlSerializer.serialize(n)}parseUrl(n){try{return this.urlSerializer.parse(n)}catch{return this.urlSerializer.parse("/")}}isActive(n,o){let i;if(o===!0?i=D({},Wx):o===!1?i=D({},Zx):i=o,zn(n))return Qv(this.currentUrlTree,n,i);let s=this.parseUrl(n);return Qv(this.currentUrlTree,s,i)}removeEmptyProps(n){return Object.entries(n).reduce((o,[i,s])=>(s!=null&&(o[i]=s),o),{})}scheduleNavigation(n,o,i,s,a){if(this.disposed)return Promise.resolve(!1);let c,u,l;a?(c=a.resolve,u=a.reject,l=a.promise):l=new Promise((f,h)=>{c=f,u=h});let d=this.pendingTasks.add();return ky(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(d))}),this.navigationTransitions.handleNavigationRequest({source:o,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:s,resolve:c,reject:u,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(f=>Promise.reject(f))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Yx(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new w(4008,!1)}function Qx(t){return!(t instanceof Ho)&&!(t instanceof Br)}var oy=(()=>{let e=class e{constructor(n,o,i,s,a,c){this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.onChanges=new re,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let u=a.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(l=>{l instanceof at&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(n){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){n==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(zn(n)?this.routerLinkInput=n:this.routerLinkInput=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0"))}onClick(n,o,i,s,a){let c=this.urlTree;if(c===null||this.isAnchorElement&&(n!==0||o||i||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(c,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let n=this.urlTree;this.href=n!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(n)):null;let o=this.href===null?null:Mg(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",o)}applyAttributeValue(n,o){let i=this.renderer,s=this.el.nativeElement;o!==null?i.setAttribute(s,n,o):i.removeAttribute(s,n)}get urlTree(){return this.routerLinkInput===null?null:zn(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(o){return new(o||e)(V(Jt),V(Gn),ul("tabindex"),V(hn),V(Ze),V(Zt))},e.\u0275dir=qe({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&jl("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&Ol("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",Ht],skipLocationChange:[2,"skipLocationChange","skipLocationChange",Ht],replaceUrl:[2,"replaceUrl","replaceUrl",Ht],routerLink:"routerLink"},standalone:!0,features:[Js,jt]});let t=e;return t})(),CV=(()=>{let e=class e{get isActive(){return this._isActive}constructor(n,o,i,s,a){this.router=n,this.element=o,this.renderer=i,this.cdr=s,this.link=a,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new ye,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof at&&this.update()})}ngAfterContentInit(){x(this.links.changes,x(null)).pipe(ht()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let n=[...this.links.toArray(),this.link].filter(o=>!!o).map(o=>o.onChanges);this.linkInputChangesSubscription=Y(n).pipe(ht()).subscribe(o=>{this._isActive!==this.isLinkActive(this.router)(o)&&this.update()})}set routerLinkActive(n){let o=Array.isArray(n)?n:n.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let n=this.hasActiveLinks();this.classes.forEach(o=>{n?this.renderer.addClass(this.element.nativeElement,o):this.renderer.removeClass(this.element.nativeElement,o)}),n&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.isActiveChange.emit(n))})}isLinkActive(n){let o=Kx(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let s=i.urlTree;return s?n.isActive(s,o):!1}}hasActiveLinks(){let n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}};e.\u0275fac=function(o){return new(o||e)(V(Jt),V(Ze),V(hn),V(Bt),V(oy,8))},e.\u0275dir=qe({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&Bm(s,oy,5),o&2){let a;Hm(a=zm())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[jt]});let t=e;return t})();function Kx(t){return!!t.paths}var za=class{};var Jx=(()=>{let e=class e{constructor(n,o,i,s,a){this.router=n,this.injector=i,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(ne(n=>n instanceof at),pt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){let i=[];for(let s of o){s.providers&&!s._injector&&(s._injector=Xs(s.providers,n,`Route: ${s.path}`));let a=s._injector??n,c=s._loadedInjector??a;(s.loadChildren&&!s._loadedRoutes&&s.canLoad===void 0||s.loadComponent&&!s._loadedComponent)&&i.push(this.preloadConfig(a,s)),(s.children||s._loadedRoutes)&&i.push(this.processRoutes(c,s.children??s._loadedRoutes))}return Y(i).pipe(ht())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=x(null);let s=i.pipe(ee(a=>a===null?x(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes(a.injector??n,a.routes))));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return Y([s,a]).pipe(ht())}else return s})}};e.\u0275fac=function(o){return new(o||e)(C(Jt),C(aa),C(Ie),C(za),C(of))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ly=new E(""),Xx=(()=>{let e=class e{constructor(n,o,i,s,a={}){this.urlSerializer=n,this.transitions=o,this.viewportScroller=i,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=g(Ie),a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof $r?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof at?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof Dn&&n.code===Pa.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ka&&(n.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(n.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,o){this.zone.runOutsideAngular(()=>Wn(this,null,function*(){yield new Promise(i=>{setTimeout(()=>{i()}),Ks(()=>{i()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new ka(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}};e.\u0275fac=function(o){Vg()},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function e_(t){return t.routerState.root}function ei(t,e){return{\u0275kind:t,\u0275providers:e}}function t_(){let t=g(_e);return e=>{let r=t.get(gn);if(e!==r.components[0])return;let n=t.get(Jt),o=t.get(jy);t.get(cf)===1&&n.initialNavigation(),t.get(Vy,null,P.Optional)?.setUpPreloading(),t.get(Ly,null,P.Optional)?.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var jy=new E("",{factory:()=>new re}),cf=new E("",{providedIn:"root",factory:()=>1});function n_(){return ei(2,[{provide:cf,useValue:0},{provide:ia,multi:!0,deps:[_e],useFactory:e=>{let r=e.get(yv,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(Jt),i=e.get(jy);ky(o,()=>{n(!0)}),e.get(af).afterPreactivation=()=>(n(!0),i.closed?x(void 0):i),o.initialNavigation()}))}}])}function r_(){return ei(3,[{provide:ia,multi:!0,useFactory:()=>{let e=g(Jt);return()=>{e.setUpLocationChangeListener()}}},{provide:cf,useValue:2}])}var Vy=new E("");function o_(t){return ei(0,[{provide:Vy,useExisting:Jx},{provide:za,useExisting:t}])}function i_(){return ei(8,[ey,{provide:Ga,useExisting:ey}])}function s_(t){let e=[{provide:Oy,useValue:Vx},{provide:Py,useValue:D({skipNextTransition:!!t?.skipInitialTransition},t)}];return ei(9,e)}var iy=new E("ROUTER_FORROOT_GUARD"),a_=[Or,{provide:Yo,useClass:Ur},Jt,Ko,{provide:Gn,useFactory:e_,deps:[Jt]},of,[]],bV=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[a_,[],{provide:Ha,multi:!0,useValue:n},{provide:iy,useFactory:d_,deps:[[Jt,new mo,new _s]]},{provide:Xo,useValue:o||{}},o?.useHash?u_():l_(),c_(),o?.preloadingStrategy?o_(o.preloadingStrategy).\u0275providers:[],o?.initialNavigation?f_(o):[],o?.bindToComponentInputs?i_().\u0275providers:[],o?.enableViewTransitions?s_().\u0275providers:[],h_()]}}static forChild(n){return{ngModule:e,providers:[{provide:Ha,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(C(iy,8))},e.\u0275mod=ln({type:e}),e.\u0275inj=un({});let t=e;return t})();function c_(){return{provide:Ly,useFactory:()=>{let t=g(Sv),e=g(G),r=g(Xo),n=g(af),o=g(Yo);return r.scrollOffset&&t.setOffset(r.scrollOffset),new Xx(o,n,t,e,r)}}}function u_(){return{provide:Zt,useClass:wv}}function l_(){return{provide:Zt,useClass:ud}}function d_(t){return"guarded"}function f_(t){return[t.initialNavigation==="disabled"?r_().\u0275providers:[],t.initialNavigation==="enabledBlocking"?n_().\u0275providers:[]]}var sy=new E("");function h_(){return[{provide:sy,useFactory:t_},{provide:sa,multi:!0,useExisting:sy}]}var ct=function(t){return t[t.State=0]="State",t[t.Transition=1]="Transition",t[t.Sequence=2]="Sequence",t[t.Group=3]="Group",t[t.Animate=4]="Animate",t[t.Keyframes=5]="Keyframes",t[t.Style=6]="Style",t[t.Trigger=7]="Trigger",t[t.Reference=8]="Reference",t[t.AnimateChild=9]="AnimateChild",t[t.AnimateRef=10]="AnimateRef",t[t.Query=11]="Query",t[t.Stagger=12]="Stagger",t}(ct||{}),TV="*";function xV(t,e){return{type:ct.Trigger,name:t,definitions:e,options:{}}}function _V(t,e=null){return{type:ct.Animate,styles:e,timings:t}}function NV(t,e=null){return{type:ct.Group,steps:t,options:e}}function AV(t,e=null){return{type:ct.Sequence,steps:t,options:e}}function RV(t){return{type:ct.Style,styles:t,offset:null}}function OV(t,e,r){return{type:ct.State,name:t,styles:e,options:r}}function PV(t){return{type:ct.Keyframes,steps:t}}function FV(t,e,r=null){return{type:ct.Transition,expr:t,animation:e,options:r}}function kV(t=null){return{type:ct.AnimateChild,options:t}}function LV(t,e,r=null){return{type:ct.Query,selector:t,animation:e,options:r}}var Uy=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},$y=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,n=0,o=0,i=this.players.length;i==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==i&&this._onFinish()}),s.onDestroy(()=>{++n==i&&this._onDestroy()}),s.onStart(()=>{++o==i&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(n=>{let o=n.totalTime?Math.min(1,r/n.totalTime):1;n.setPosition(o)})}getPosition(){let e=this.players.reduce((r,n)=>r===null||n.totalTime>r.totalTime?n:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(n=>n()),r.length=0}},jV="!";export{X as a,k as b,re as c,me as d,qr as e,iD as f,dt as g,sD as h,aD as i,Me as j,Yr as k,Qr as l,Y as m,x as n,rr as o,uD as p,R as q,Kr as r,ee as s,ht as t,ir as u,Ti as v,DD as w,uc as x,Jr as y,SD as z,TD as A,ne as B,xD as C,_D as D,_t as E,pt as F,ND as G,AD as H,Nt as I,RD as J,OD as K,kD as L,tn as M,gt as N,_i as O,rc as P,wf as Q,LD as R,fc as S,de as T,jD as U,Ni as V,VD as W,se as X,UD as Y,w as Z,Jh as _,I as $,un as aa,E as ba,C as ca,g as da,mo as ea,_s as fa,pp as ga,ln as ha,qe as ia,Do as ja,Ns as ka,Ie as la,Zu as ma,jt as na,aL as oa,cL as pa,uL as qa,lL as ra,cl as sa,ul as ta,_e as ua,tt as va,$s as wa,dL as xa,Ze as ya,ye as za,Qc as Aa,Bs as Ba,nt as Ca,fL as Da,dl as Ea,rt as Fa,hL as Ga,hI as Ha,pL as Ia,V as Ja,Vg as Ka,kn as La,Er as Ma,Ir as Na,hn as Oa,G as Pa,UC as Qa,Ks as Ra,Mt as Sa,lb as Ta,db as Ua,yL as Va,Mb as Wa,DL as Xa,Js as Ya,Lb as Za,Ol as _a,Jb as $a,Fl as ab,Xb as bb,wL as cb,EL as db,IL as eb,CL as fb,bL as gb,ML as hb,SL as ib,TL as jb,xL as kb,Lm as lb,jm as mb,Ll as nb,Vm as ob,Um as pb,g0 as qb,_L as rb,v0 as sb,y0 as tb,jl as ub,M0 as vb,NL as wb,AL as xb,RL as yb,_0 as zb,N0 as Ab,Bm as Bb,OL as Cb,Hm as Db,zm as Eb,PL as Fb,FL as Gb,kL as Hb,LL as Ib,O0 as Jb,Gm as Kb,P0 as Lb,F0 as Mb,jL as Nb,k0 as Ob,VL as Pb,Wm as Qb,UL as Rb,$L as Sb,BL as Tb,HL as Ub,zL as Vb,GL as Wb,qL as Xb,WL as Yb,ZL as Zb,YL as _b,QL as $b,KL as ac,Sr as bc,JL as cc,Ar as dc,ia as ec,gn as fc,bo as gc,XL as hc,Bt as ic,Ht as jc,ql as kc,ej as lc,Wl as mc,gM as nc,tj as oc,$n as pc,le as qc,Or as rc,yj as sc,Dj as tc,wj as uc,Ej as vc,Ij as wc,Cj as xc,bj as yc,Mj as zc,Sj as Ac,Tj as Bc,Mv as Cc,iS as Dc,So as Ec,xj as Fc,Yt as Gc,bS as Hc,AS as Ic,Bj as Jc,Hj as Kc,Bv as Lc,oV as Mc,iV as Nc,Yv as Oc,lT as Pc,ct as Qc,TV as Rc,xV as Sc,_V as Tc,NV as Uc,AV as Vc,RV as Wc,OV as Xc,PV as Yc,FV as Zc,kV as _c,LV as $c,Uy as ad,$y as bd,jV as cd,at as dd,Gn as ed,BT as fd,Jt as gd,oy as hd,CV as id,bV as jd};