homebridge-config-ui-x 4.62.1-beta.8 → 5.0.0-beta.0

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 (68) hide show
  1. package/CHANGELOG.md +43 -6
  2. package/README.md +4 -58
  3. package/config.schema.json +1 -0
  4. package/dist/bin/platforms/darwin.js +2 -0
  5. package/dist/bin/platforms/darwin.js.map +1 -1
  6. package/dist/modules/server/server.service.d.ts +1 -0
  7. package/dist/modules/server/server.service.js +1 -0
  8. package/dist/modules/server/server.service.js.map +1 -1
  9. package/dist/modules/status/status.gateway.d.ts +3 -5
  10. package/dist/modules/status/status.gateway.js +2 -28
  11. package/dist/modules/status/status.gateway.js.map +1 -1
  12. package/dist/modules/status/status.service.d.ts +2 -0
  13. package/dist/modules/status/status.service.js +8 -7
  14. package/dist/modules/status/status.service.js.map +1 -1
  15. package/package.json +19 -24
  16. package/public/3rdpartylicenses.txt +9 -1
  17. package/public/assets/hap-icons/smokesensor.svg +1 -1
  18. package/public/{chunk-L5T7ZKXS.js → chunk-2PWJQ3JG.js} +1 -1
  19. package/public/{chunk-7GBA6C44.js → chunk-2XSSTW65.js} +1 -1
  20. package/public/chunk-3MMTBP3D.js +1 -0
  21. package/public/{chunk-NBBRAKSC.js → chunk-3PUISAM4.js} +1 -1
  22. package/public/{chunk-SOAUTBJP.js → chunk-3SUL4N2K.js} +1 -1
  23. package/public/{chunk-KSB4ZI7E.js → chunk-47MGIKRX.js} +1 -1
  24. package/public/{chunk-BUGNOBXC.js → chunk-4R6MSI5I.js} +1 -1
  25. package/public/{chunk-YAU2KWBZ.js → chunk-6QEO3BTW.js} +1 -1
  26. package/public/chunk-6SZTMLNK.js +1 -0
  27. package/public/{chunk-Z3CVK6KZ.js → chunk-6T267MJT.js} +1 -1
  28. package/public/{chunk-D6UUGEUB.js → chunk-B6C32ZRK.js} +1 -1
  29. package/public/{chunk-RPL6HWN2.js → chunk-BROUJ7PT.js} +1 -1
  30. package/public/{chunk-SEWYYMFC.js → chunk-C4VKSYGU.js} +1 -1
  31. package/public/chunk-CKS7IGEQ.js +1 -0
  32. package/public/chunk-CTWXFHBK.js +20 -0
  33. package/public/{chunk-CTXV4CXU.js → chunk-DLVT4K74.js} +1 -1
  34. package/public/{chunk-RCR6ZOPK.js → chunk-DPQR4EUP.js} +1 -1
  35. package/public/chunk-F22FMU37.js +1 -0
  36. package/public/{chunk-RF5R32OJ.js → chunk-GNQUXZMN.js} +1 -1
  37. package/public/chunk-GUXB6V7U.js +1 -0
  38. package/public/{chunk-VFY55GH2.js → chunk-HPRZRVV7.js} +1 -1
  39. package/public/{chunk-6FSSCOBZ.js → chunk-HXKR7RPF.js} +1 -1
  40. package/public/chunk-IGUSDGD6.js +8 -0
  41. package/public/{chunk-EX6EQLNK.js → chunk-JM7QCDMZ.js} +1 -1
  42. package/public/{chunk-SJSICWQN.js → chunk-JQO6VAZ5.js} +1 -1
  43. package/public/{chunk-42CEIGNF.js → chunk-K5UREZLG.js} +5 -5
  44. package/public/{chunk-Y663GN4Z.js → chunk-LM3J4EYP.js} +1 -1
  45. package/public/chunk-NTTD35IF.js +1 -0
  46. package/public/chunk-PSLVYKAC.js +1 -0
  47. package/public/{chunk-IEGGB4YN.js → chunk-Q7MYZYMQ.js} +1 -1
  48. package/public/{chunk-CLHDGCM3.js → chunk-SI3MSSTT.js} +1 -1
  49. package/public/{chunk-WOJ7C5HX.js → chunk-SJTXTMYT.js} +1 -1
  50. package/public/{chunk-VZFXQGAN.js → chunk-TBJQ2Y3M.js} +1 -1
  51. package/public/{chunk-VYUN5WLM.js → chunk-THFLPY67.js} +1 -1
  52. package/public/{chunk-Y3DKHOJK.js → chunk-TTLBPD7L.js} +1 -1
  53. package/public/{chunk-AMPKQYAW.js → chunk-UEBRERJ6.js} +1 -1
  54. package/public/{chunk-FBJAWKJ3.js → chunk-WCDFKYP6.js} +1 -1
  55. package/public/{chunk-2XZGMVML.js → chunk-XLAWLJES.js} +1 -1
  56. package/public/index.html +2 -2
  57. package/public/main-DTWXJAMM.js +6 -0
  58. package/public/{styles-PPJYL5GV.css → styles-7ETWN6DQ.css} +1 -1
  59. package/public/chunk-2JBTX2Y6.js +0 -20
  60. package/public/chunk-7SIWB246.js +0 -1
  61. package/public/chunk-IKFLHM2X.js +0 -8
  62. package/public/chunk-J6XB3JBO.js +0 -1
  63. package/public/chunk-JIVUFRXW.js +0 -1
  64. package/public/chunk-NQBFPZJU.js +0 -1
  65. package/public/chunk-PYSNSBC7.js +0 -1
  66. package/public/chunk-REXDMF6R.js +0 -1
  67. package/public/chunk-YNJHA6KP.js +0 -1
  68. package/public/main-AJTFFZO7.js +0 -6
@@ -1,8 +0,0 @@
1
- var my=Object.create;var Wo=Object.defineProperty,vy=Object.defineProperties,yy=Object.getOwnPropertyDescriptor,Dy=Object.getOwnPropertyDescriptors,wy=Object.getOwnPropertyNames,qo=Object.getOwnPropertySymbols,Ey=Object.getPrototypeOf,Ua=Object.prototype.hasOwnProperty,Wd=Object.prototype.propertyIsEnumerable;var $a=(t,e,r)=>e in t?Wo(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,D=(t,e)=>{for(var r in e||(e={}))Ua.call(e,r)&&$a(t,r,e[r]);if(qo)for(var r of qo(e))Wd.call(e,r)&&$a(t,r,e[r]);return t},Y=(t,e)=>vy(t,Dy(e));var Nx=t=>e=>{var r=t[e];if(r)return r();throw new Error("Module not found in bundle: "+e)};var Iy=(t,e)=>{var r={};for(var n in t)Ua.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&qo)for(var n of qo(t))e.indexOf(n)<0&&Wd.call(t,n)&&(r[n]=t[n]);return r};var Ax=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Rx=(t,e)=>{for(var r in e)Wo(t,r,{get:e[r],enumerable:!0})},Cy=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of wy(e))!Ua.call(t,o)&&o!==r&&Wo(t,o,{get:()=>e[o],enumerable:!(n=yy(e,o))||n.enumerable});return t};var Ox=(t,e,r)=>(r=t!=null?my(Ey(t)):{},Cy(e||!t||!t.__esModule?Wo(r,"default",{value:t,enumerable:!0}):r,t));var Px=(t,e,r)=>$a(t,typeof e!="symbol"?e+"":e,r);var Zo=(t,e,r)=>new Promise((n,o)=>{var i=c=>{try{a(r.next(c))}catch(u){o(u)}},s=c=>{try{a(r.throw(c))}catch(u){o(u)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,s);a((r=r.apply(t,e)).next())});function Zd(t,e){return Object.is(t,e)}var re=null,Yo=!1,Qo=1,It=Symbol("SIGNAL");function L(t){let e=re;return re=t,e}function Yd(){return re}var $r={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 Ga(t){if(Yo)throw new Error("");if(re===null)return;re.consumerOnSignalRead(t);let e=re.nextProducerIndex++;if(ei(re),e<re.producerNode.length&&re.producerNode[e]!==t&&Vr(re)){let r=re.producerNode[e];Xo(r,re.producerIndexOfThis[e])}re.producerNode[e]!==t&&(re.producerNode[e]=t,re.producerIndexOfThis[e]=Vr(re)?Xd(t,re,e):0),re.producerLastReadVersion[e]=t.version}function by(){Qo++}function Qd(t){if(!(Vr(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===Qo)){if(!t.producerMustRecompute(t)&&!Wa(t)){t.dirty=!1,t.lastCleanEpoch=Qo;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=Qo}}function Kd(t){if(t.liveConsumerNode===void 0)return;let e=Yo;Yo=!0;try{for(let r of t.liveConsumerNode)r.dirty||My(r)}finally{Yo=e}}function Jd(){return(re==null?void 0:re.consumerAllowSignalWrites)!==!1}function My(t){var e;t.dirty=!0,Kd(t),(e=t.consumerMarkedDirty)==null||e.call(t,t)}function Jo(t){return t&&(t.nextProducerIndex=0),L(t)}function qa(t,e){if(L(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Vr(t))for(let r=t.nextProducerIndex;r<t.producerNode.length;r++)Xo(t.producerNode[r],t.producerIndexOfThis[r]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Wa(t){ei(t);for(let e=0;e<t.producerNode.length;e++){let r=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==r.version||(Qd(r),n!==r.version))return!0}return!1}function Za(t){if(ei(t),Vr(t))for(let e=0;e<t.producerNode.length;e++)Xo(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 Xd(t,e,r){if(ef(t),t.liveConsumerNode.length===0&&tf(t))for(let n=0;n<t.producerNode.length;n++)t.producerIndexOfThis[n]=Xd(t.producerNode[n],t,n);return t.liveConsumerIndexOfThis.push(r),t.liveConsumerNode.push(e)-1}function Xo(t,e){if(ef(t),t.liveConsumerNode.length===1&&tf(t))for(let n=0;n<t.producerNode.length;n++)Xo(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];ei(o),o.producerIndexOfThis[n]=e}}function Vr(t){var e,r;return t.consumerIsAlwaysLive||((r=(e=t==null?void 0:t.liveConsumerNode)==null?void 0:e.length)!=null?r:0)>0}function ei(t){var e,r,n;(e=t.producerNode)!=null||(t.producerNode=[]),(r=t.producerIndexOfThis)!=null||(t.producerIndexOfThis=[]),(n=t.producerLastReadVersion)!=null||(t.producerLastReadVersion=[])}function ef(t){var e,r;(e=t.liveConsumerNode)!=null||(t.liveConsumerNode=[]),(r=t.liveConsumerIndexOfThis)!=null||(t.liveConsumerIndexOfThis=[])}function tf(t){return t.producerNode!==void 0}function nf(t){let e=Object.create(Sy);e.computation=t;let r=()=>{if(Qd(e),Ga(e),e.value===Ko)throw e.error;return e.value};return r[It]=e,r}var Ba=Symbol("UNSET"),Ha=Symbol("COMPUTING"),Ko=Symbol("ERRORED"),Sy=Y(D({},$r),{value:Ba,dirty:!0,error:null,equal:Zd,producerMustRecompute(t){return t.value===Ba||t.value===Ha},producerRecomputeValue(t){if(t.value===Ha)throw new Error("Detected cycle in computations.");let e=t.value;t.value=Ha;let r=Jo(t),n;try{n=t.computation()}catch(o){n=Ko,t.error=o}finally{qa(t,r)}if(e!==Ba&&e!==Ko&&n!==Ko&&t.equal(e,n)){t.value=e;return}t.value=n,t.version++}});function Ty(){throw new Error}var rf=Ty;function of(){rf()}function sf(t){rf=t}var za=null;function af(t){let e=Object.create(uf);e.value=t;let r=()=>(Ga(e),e.value);return r[It]=e,r}function Ya(t,e){Jd()||of(),t.equal(t.value,e)||(t.value=e,xy(t))}function cf(t,e){Jd()||of(),Ya(t,e(t.value))}var uf=Y(D({},$r),{equal:Zd,value:void 0});function xy(t){t.version++,by(),Kd(t),za==null||za()}function S(t){return typeof t=="function"}function qn(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 ti=qn(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 yn(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var ne=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(S(n))try{n()}catch(i){e=i instanceof ti?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{lf(i)}catch(s){e=e!=null?e:[],s instanceof ti?e=[...e,...s.errors]:e.push(s)}}if(e)throw new ti(e)}}add(e){var r;if(e&&e!==this)if(this.closed)lf(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)&&yn(r,e)}remove(e){let{_finalizers:r}=this;r&&yn(r,e),e instanceof t&&e._removeParent(this)}};ne.EMPTY=(()=>{let t=new ne;return t.closed=!0,t})();var Qa=ne.EMPTY;function ni(t){return t instanceof ne||t&&"closed"in t&&S(t.remove)&&S(t.add)&&S(t.unsubscribe)}function lf(t){S(t)?t():t.unsubscribe()}var Qe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Wn={setTimeout(t,e,...r){let{delegate:n}=Wn;return n!=null&&n.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Wn;return((e==null?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function ri(t){Wn.setTimeout(()=>{let{onUnhandledError:e}=Qe;if(e)e(t);else throw t})}function Ct(){}var df=Ka("C",void 0,void 0);function ff(t){return Ka("E",void 0,t)}function hf(t){return Ka("N",t,void 0)}function Ka(t,e,r){return{kind:t,value:e,error:r}}var Dn=null;function Zn(t){if(Qe.useDeprecatedSynchronousErrorHandling){let e=!Dn;if(e&&(Dn={errorThrown:!1,error:null}),t(),e){let{errorThrown:r,error:n}=Dn;if(Dn=null,r)throw n}}else t()}function pf(t){Qe.useDeprecatedSynchronousErrorHandling&&Dn&&(Dn.errorThrown=!0,Dn.error=t)}var wn=class extends ne{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,ni(e)&&e.add(this)):this.destination=Ay}static create(e,r,n){return new Ke(e,r,n)}next(e){this.isStopped?Xa(hf(e),this):this._next(e)}error(e){this.isStopped?Xa(ff(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Xa(df,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()}}},_y=Function.prototype.bind;function Ja(t,e){return _y.call(t,e)}var ec=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(n){oi(n)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(n){oi(n)}else oi(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){oi(r)}}},Ke=class extends wn{constructor(e,r,n){super();let o;if(S(e)||!e)o={next:e!=null?e:void 0,error:r!=null?r:void 0,complete:n!=null?n:void 0};else{let i;this&&Qe.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&Ja(e.next,i),error:e.error&&Ja(e.error,i),complete:e.complete&&Ja(e.complete,i)}):o=e}this.destination=new ec(o)}};function oi(t){Qe.useDeprecatedSynchronousErrorHandling?pf(t):ri(t)}function Ny(t){throw t}function Xa(t,e){let{onStoppedNotification:r}=Qe;r&&Wn.setTimeout(()=>r(t,e))}var Ay={closed:!0,next:Ct,error:Ny,complete:Ct};var Yn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function de(t){return t}function tc(...t){return nc(t)}function nc(t){return t.length===0?de:t.length===1?t[0]:function(r){return t.reduce((n,o)=>o(n),r)}}var R=(()=>{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=Oy(r)?r:new Ke(r,n,o);return Zn(()=>{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=gf(n),new n((o,i)=>{let s=new Ke({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)}[Yn](){return this}pipe(...r){return nc(r)(this)}toPromise(r){return r=gf(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 gf(t){var e;return(e=t!=null?t:Qe.Promise)!==null&&e!==void 0?e:Promise}function Ry(t){return t&&S(t.next)&&S(t.error)&&S(t.complete)}function Oy(t){return t&&t instanceof wn||Ry(t)&&ni(t)}function rc(t){return S(t==null?void 0:t.lift)}function A(t){return e=>{if(rc(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 x(t,e,r,n,o){return new oc(t,e,r,n,o)}var oc=class extends wn{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 Qn(){return A((t,e)=>{let r=null;t._refCount++;let n=x(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 Kn=class extends R{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,rc(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==null||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new ne;let r=this.getSubject();e.add(this.source.subscribe(x(r,void 0,()=>{this._teardown(),r.complete()},n=>{this._teardown(),r.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=ne.EMPTY)}return e}refCount(){return Qn()(this)}};var mf=qn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ie=(()=>{class t extends R{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new ii(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new mf}next(r){Zn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Zn(()=>{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(){Zn(()=>{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?Qa:(this.currentObservers=null,i.push(r),new ne(()=>{this.currentObservers=null,yn(i,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:o,isStopped:i}=this;n?r.error(o):i&&r.complete()}asObservable(){let r=new R;return r.source=this,r}}return t.create=(e,r)=>new ii(e,r),t})(),ii=class extends ie{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:Qa}};var fe=class extends ie{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 Ur={now(){return(Ur.delegate||Date).now()},delegate:void 0};var si=class extends ie{constructor(e=1/0,r=1/0,n=Ur){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 ai=class extends ne{constructor(e,r){super()}schedule(e,r=0){return this}};var Br={setInterval(t,e,...r){let{delegate:n}=Br;return n!=null&&n.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=Br;return((e==null?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0};var ci=class extends ai{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 Br.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&&Br.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,yn(n,this),e!=null&&(this.id=this.recycleAsyncId(r,e,null)),this.delay=null,super.unsubscribe()}}};var Jn=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)}};Jn.now=Ur.now;var ui=class extends Jn{constructor(e,r=Jn.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 En=new ui(ci),vf=En;var Ie=new R(t=>t.complete());function li(t){return t&&S(t.schedule)}function yf(t){return t[t.length-1]}function Zt(t){return S(yf(t))?t.pop():void 0}function Yt(t){return li(yf(t))?t.pop():void 0}function wf(t,e,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(l){try{u(n.next(l))}catch(d){s(d)}}function c(l){try{u(n.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((n=n.apply(t,e||[])).next())})}function Df(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function In(t){return this instanceof In?(this.v=t,this):new In(t)}function Ef(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(p){return Promise.resolve(p).then(f,d)}}function a(f,p){n[f]&&(o[f]=function(m){return new Promise(function(v,y){i.push([f,m,v,y])>1||c(f,m)})},p&&(o[f]=p(o[f])))}function c(f,p){try{u(n[f](p))}catch(m){h(i[0][3],m)}}function u(f){f.value instanceof In?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,p){f(p),i.shift(),i.length&&c(i[0][0],i[0][1])}}function If(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Df=="function"?Df(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(s){return new Promise(function(a,c){s=t[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(u){i({value:u,done:a})},s)}}var Xn=t=>t&&typeof t.length=="number"&&typeof t!="function";function di(t){return S(t==null?void 0:t.then)}function fi(t){return S(t[Yn])}function hi(t){return Symbol.asyncIterator&&S(t==null?void 0:t[Symbol.asyncIterator])}function pi(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 Py(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var gi=Py();function mi(t){return S(t==null?void 0:t[gi])}function vi(t){return Ef(this,arguments,function*(){let r=t.getReader();try{for(;;){let{value:n,done:o}=yield In(r.read());if(o)return yield In(void 0);yield yield In(n)}}finally{r.releaseLock()}})}function yi(t){return S(t==null?void 0:t.getReader)}function V(t){if(t instanceof R)return t;if(t!=null){if(fi(t))return ky(t);if(Xn(t))return Fy(t);if(di(t))return Ly(t);if(hi(t))return Cf(t);if(mi(t))return jy(t);if(yi(t))return Vy(t)}throw pi(t)}function ky(t){return new R(e=>{let r=t[Yn]();if(S(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Fy(t){return new R(e=>{for(let r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function Ly(t){return new R(e=>{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,ri)})}function jy(t){return new R(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function Cf(t){return new R(e=>{$y(t,e).catch(r=>e.error(r))})}function Vy(t){return Cf(vi(t))}function $y(t,e){var r,n,o,i;return wf(this,void 0,void 0,function*(){try{for(r=If(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 xe(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 Di(t,e=0){return A((r,n)=>{r.subscribe(x(n,o=>xe(n,t,()=>n.next(o),e),()=>xe(n,t,()=>n.complete(),e),o=>xe(n,t,()=>n.error(o),e)))})}function wi(t,e=0){return A((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function bf(t,e){return V(t).pipe(wi(e),Di(e))}function Mf(t,e){return V(t).pipe(wi(e),Di(e))}function Sf(t,e){return new R(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 R(r=>{let n;return xe(r,e,()=>{n=t[gi](),xe(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)}),()=>S(n==null?void 0:n.return)&&n.return()})}function Ei(t,e){if(!t)throw new Error("Iterable cannot be null");return new R(r=>{xe(r,e,()=>{let n=t[Symbol.asyncIterator]();xe(r,e,()=>{n.next().then(o=>{o.done?r.complete():r.next(o.value)})},0,!0)})})}function xf(t,e){return Ei(vi(t),e)}function _f(t,e){if(t!=null){if(fi(t))return bf(t,e);if(Xn(t))return Sf(t,e);if(di(t))return Mf(t,e);if(hi(t))return Ei(t,e);if(mi(t))return Tf(t,e);if(yi(t))return xf(t,e)}throw pi(t)}function Q(t,e){return e?_f(t,e):V(t)}function M(...t){let e=Yt(t);return Q(t,e)}function er(t,e){let r=S(t)?t:()=>t,n=o=>o.error(r());return new R(e?o=>e.schedule(n,0,o):n)}function ic(t){return!!t&&(t instanceof R||S(t.lift)&&S(t.subscribe))}var ke=qn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Uy(t,e){let r=typeof e=="object";return new Promise((n,o)=>{let i=!1,s;t.subscribe({next:a=>{s=a,i=!0},error:o,complete:()=>{i?n(s):r?n(e.defaultValue):o(new ke)}})})}function By(t,e){let r=typeof e=="object";return new Promise((n,o)=>{let i=new Ke({next:s=>{n(s),i.unsubscribe()},error:o,complete:()=>{r?n(e.defaultValue):o(new ke)}});t.subscribe(i)})}function Nf(t){return t instanceof Date&&!isNaN(t)}function k(t,e){return A((r,n)=>{let o=0;r.subscribe(x(n,i=>{n.next(t.call(e,i,o++))}))})}var{isArray:Hy}=Array;function zy(t,e){return Hy(e)?t(...e):t(e)}function tr(t){return k(e=>zy(t,e))}var{isArray:Gy}=Array,{getPrototypeOf:qy,prototype:Wy,keys:Zy}=Object;function Ii(t){if(t.length===1){let e=t[0];if(Gy(e))return{args:e,keys:null};if(Yy(e)){let r=Zy(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function Yy(t){return t&&typeof t=="object"&&qy(t)===Wy}function Ci(t,e){return t.reduce((r,n,o)=>(r[n]=e[o],r),{})}function Hr(...t){let e=Yt(t),r=Zt(t),{args:n,keys:o}=Ii(t);if(n.length===0)return Q([],e);let i=new R(Qy(n,e,o?s=>Ci(o,s):de));return r?i.pipe(tr(r)):i}function Qy(t,e,r=de){return n=>{Af(e,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Af(e,()=>{let u=Q(t[c],e),l=!1;u.subscribe(x(n,d=>{i[c]=d,l||(l=!0,a--),a||n.next(r(i.slice()))},()=>{--s||n.complete()}))},n)},n)}}function Af(t,e,r){t?xe(r,t,e):e()}function Rf(t,e,r,n,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&e.complete()},f=m=>u<n?p(m):c.push(m),p=m=>{i&&e.next(m),u++;let v=!1;V(r(m,l++)).subscribe(x(e,y=>{o==null||o(y),i?f(y):e.next(y)},()=>{v=!0},void 0,()=>{if(v)try{for(u--;c.length&&u<n;){let y=c.shift();s?xe(e,s,()=>p(y)):p(y)}h()}catch(y){e.error(y)}}))};return t.subscribe(x(e,f,()=>{d=!0,h()})),()=>{a==null||a()}}function K(t,e,r=1/0){return S(e)?K((n,o)=>k((i,s)=>e(n,i,o,s))(V(t(n,o))),r):(typeof e=="number"&&(r=e),A((n,o)=>Rf(n,o,t,r)))}function Qt(t=1/0){return K(de,t)}function Of(){return Qt(1)}function ct(...t){return Of()(Q(t,Yt(t)))}function bi(t){return new R(e=>{V(t()).subscribe(e)})}function Ky(...t){let e=Zt(t),{args:r,keys:n}=Ii(t),o=new R(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;V(r[l]).subscribe(x(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(n?Ci(n,a):a),i.complete())}))}});return e?o.pipe(tr(e)):o}var Jy=["addListener","removeListener"],Xy=["addEventListener","removeEventListener"],eD=["on","off"];function sc(t,e,r,n){if(S(r)&&(n=r,r=void 0),n)return sc(t,e,r).pipe(tr(n));let[o,i]=rD(t)?Xy.map(s=>a=>t[s](e,a,r)):tD(t)?Jy.map(Pf(t,e)):nD(t)?eD.map(Pf(t,e)):[];if(!o&&Xn(t))return K(s=>sc(s,e,r))(V(t));if(!o)throw new TypeError("Invalid event target");return new R(s=>{let a=(...c)=>s.next(1<c.length?c:c[0]);return o(a),()=>i(a)})}function Pf(t,e){return r=>n=>t[r](e,n)}function tD(t){return S(t.addListener)&&S(t.removeListener)}function nD(t){return S(t.on)&&S(t.off)}function rD(t){return S(t.addEventListener)&&S(t.removeEventListener)}function zr(t=0,e,r=vf){let n=-1;return e!=null&&(li(e)?r=e:n=e),new R(o=>{let i=Nf(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 oD(t=0,e=En){return t<0&&(t=0),zr(t,t,e)}var{isArray:iD}=Array;function Mi(t){return t.length===1&&iD(t[0])?t[0]:t}function ye(t,e){return A((r,n)=>{let o=0;r.subscribe(x(n,i=>t.call(e,i,o++)&&n.next(i)))})}function sD(...t){return t=Mi(t),t.length===1?V(t[0]):new R(aD(t))}function aD(t){return e=>{let r=[];for(let n=0;r&&!e.closed&&n<t.length;n++)r.push(V(t[n]).subscribe(x(e,o=>{if(r){for(let i=0;i<r.length;i++)i!==n&&r[i].unsubscribe();r=null}e.next(o)})))}}function cD(...t){let e=Zt(t),r=Mi(t);return r.length?new R(n=>{let o=r.map(()=>[]),i=r.map(()=>!1);n.add(()=>{o=i=null});for(let s=0;!n.closed&&s<r.length;s++)V(r[s]).subscribe(x(n,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(u=>u.shift());n.next(e?e(...c):c),o.some((u,l)=>!u.length&&i[l])&&n.complete()}},()=>{i[s]=!0,!o[s].length&&n.complete()}));return()=>{o=i=null}}):Ie}function Kt(t){return A((e,r)=>{let n=null,o=!1,i;n=e.subscribe(x(r,void 0,void 0,s=>{i=V(t(s,Kt(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(x(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 bt(t,e){return S(e)?K(t,e,1):K(t,1)}function Ff(t,e=En){return A((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(x(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 Jt(t){return A((e,r)=>{let n=!1;e.subscribe(x(r,o=>{n=!0,r.next(o)},()=>{n||r.next(t),r.complete()}))})}function He(t){return t<=0?()=>Ie:A((e,r)=>{let n=0;e.subscribe(x(r,o=>{++n<=t&&(r.next(o),t<=n&&r.complete())}))})}function Lf(){return A((t,e)=>{t.subscribe(x(e,Ct))})}function Gr(t){return k(()=>t)}function ac(t,e){return e?r=>ct(e.pipe(He(1),Lf()),r.pipe(ac(t))):K((r,n)=>V(t(r,n)).pipe(He(1),Gr(r)))}function uD(t,e=En){let r=zr(t,e);return ac(()=>r)}function lD(t,e=de){return t=t!=null?t:dD,A((r,n)=>{let o,i=!0;r.subscribe(x(n,s=>{let a=e(s);(i||!t(o,a))&&(i=!1,o=a,n.next(s))}))})}function dD(t,e){return t===e}function Si(t=fD){return A((e,r)=>{let n=!1;e.subscribe(x(r,o=>{n=!0,r.next(o)},()=>n?r.complete():r.error(t())))})}function fD(){return new ke}function hD(...t){return e=>ct(e,M(...t))}function Xt(t){return A((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function ut(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ye((o,i)=>t(o,i,n)):de,He(1),r?Jt(e):Si(()=>new ke))}function nr(t){return t<=0?()=>Ie:A((e,r)=>{let n=[];e.subscribe(x(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 cc(t,e){let r=arguments.length>=2;return n=>n.pipe(t?ye((o,i)=>t(o,i,n)):de,nr(1),r?Jt(e):Si(()=>new ke))}function uc(t,e){return A(kf(t,e,arguments.length>=2,!0))}function dc(t={}){let{connector:e=()=>new ie,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,c,u=0,l=!1,d=!1,h=()=>{a==null||a.unsubscribe(),a=void 0},f=()=>{h(),s=c=void 0,l=d=!1},p=()=>{let m=s;f(),m==null||m.unsubscribe()};return A((m,v)=>{u++,!d&&!l&&h();let y=c=c!=null?c:e();v.add(()=>{u--,u===0&&!d&&!l&&(a=lc(p,o))}),y.subscribe(v),!s&&u>0&&(s=new Ke({next:b=>y.next(b),error:b=>{d=!0,h(),a=lc(f,r,b),y.error(b)},complete:()=>{l=!0,h(),a=lc(f,n),y.complete()}}),V(m).subscribe(s))})(i)}}function lc(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new Ke({next:()=>{n.unsubscribe(),t()}});return V(e(...r)).subscribe(n)}function pD(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!=null?t:1/0,dc({connector:()=>new si(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function gD(t){return ye((e,r)=>t<=r)}function fc(...t){let e=Yt(t);return A((r,n)=>{(e?ct(t,r,e):ct(t,r)).subscribe(n)})}function Ce(t,e){return A((r,n)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&n.complete();r.subscribe(x(n,c=>{o==null||o.unsubscribe();let u=0,l=i++;V(t(c,l)).subscribe(o=x(n,d=>n.next(e?e(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ti(t){return A((e,r)=>{V(t).subscribe(x(r,()=>r.complete(),Ct)),!r.closed&&e.subscribe(r)})}function ae(t,e,r){let n=S(t)||e||r?{next:t,error:e,complete:r}:t;return n?A((o,i)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let a=!0;o.subscribe(x(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)}))}):de}function mD(...t){let e=Zt(t);return A((r,n)=>{let o=t.length,i=new Array(o),s=t.map(()=>!1),a=!1;for(let c=0;c<o;c++)V(t[c]).subscribe(x(n,u=>{i[c]=u,!a&&!s[c]&&(s[c]=!0,(a=s.every(de))&&(s=null))},Ct));r.subscribe(x(n,c=>{if(a){let u=[c,...i];n.next(e?e(...u):u)}}))})}var _h="https://g.co/ng/security#xss",w=class extends Error{constructor(e,r){super(ms(e,r)),this.code=e}};function ms(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}function oo(t){return{toString:t}.toString()}var xi="__parameters__";function vD(t){return function(...r){if(t){let n=t(...r);for(let o in n)this[o]=n[o]}}}function Nh(t,e,r){return oo(()=>{let n=vD(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(xi)?c[xi]:Object.defineProperty(c,xi,{value:[]})[xi];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 he=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 yD(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function be(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(be).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 Tc(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var DD=q({__forward_ref__:q});function Ah(t){return t.__forward_ref__=Ah,t.toString=function(){return be(this())},t}function pe(t){return Rh(t)?t():t}function Rh(t){return typeof t=="function"&&t.hasOwnProperty(DD)&&t.__forward_ref__===Ah}function I(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function At(t){return{providers:t.providers||[],imports:t.imports||[]}}function vs(t){return jf(t,Ph)||jf(t,kh)}function Oh(t){return vs(t)!==null}function jf(t,e){return t.hasOwnProperty(e)?t[e]:null}function wD(t){let e=t&&(t[Ph]||t[kh]);return e||null}function Vf(t){return t&&(t.hasOwnProperty($f)||t.hasOwnProperty(ED))?t[$f]:null}var Ph=q({\u0275prov:q}),$f=q({\u0275inj:q}),kh=q({ngInjectableDef:q}),ED=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 Fh(t){return t&&!!t.\u0275providers}var ID=q({\u0275cmp:q}),CD=q({\u0275dir:q}),bD=q({\u0275pipe:q}),MD=q({\u0275mod:q}),Ui=q({\u0275fac:q}),Wr=q({__NG_ELEMENT_ID__:q}),Uf=q({__NG_ENV_ID__:q});function ft(t){return typeof t=="string"?t:t==null?"":String(t)}function SD(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():ft(t)}function TD(t,e){let r=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new w(-200,t)}function Lu(t,e){throw new w(-201,!1)}var F=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}(F||{}),xc;function Lh(){return xc}function _e(t){let e=xc;return xc=t,e}function jh(t,e,r){let n=vs(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&F.Optional)return null;if(e!==void 0)return e;Lu(t,"Injector")}var xD={},Qr=xD,_c="__NG_DI_FLAG__",Bi="ngTempTokenPath",_D="ngTokenPath",ND=/\n/gm,AD="\u0275",Bf="__source",ar;function RD(){return ar}function en(t){let e=ar;return ar=t,e}function OD(t,e=F.Default){if(ar===void 0)throw new w(-203,!1);return ar===null?jh(t,void 0,e):ar.get(t,e&F.Optional?null:void 0,e)}function C(t,e=F.Default){return(Lh()||OD)(pe(t),e)}function g(t,e=F.Default){return C(t,ys(e))}function ys(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Nc(t){let e=[];for(let r=0;r<t.length;r++){let n=pe(t[r]);if(Array.isArray(n)){if(n.length===0)throw new w(900,!1);let o,i=F.Default;for(let s=0;s<n.length;s++){let a=n[s],c=PD(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 Vh(t,e){return t[_c]=e,t.prototype[_c]=e,t}function PD(t){return t[_c]}function kD(t,e,r,n){let o=t[Bi];throw e[Bf]&&o.unshift(e[Bf]),t.message=FD(`
5
- `+t.message,o,r,n),t[_D]=o,t[Bi]=null,t}function FD(t,e,r,n=null){t=t&&t.charAt(0)===`
6
- `&&t.charAt(1)==AD?t.slice(2):t;let o=be(e);if(Array.isArray(e))o=e.map(be).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):be(a)))}o=`{${i.join(", ")}}`}return`${r}${n?"("+n+")":""}[${o}]: ${t.replace(ND,`
7
- `)}`}var io=Vh(Nh("Optional"),8);var Ds=Vh(Nh("SkipSelf"),4);function xn(t,e){let r=t.hasOwnProperty(Ui);return r?t[Ui]:null}function LD(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 jD(t){return t.flat(Number.POSITIVE_INFINITY)}function ju(t,e){t.forEach(r=>Array.isArray(r)?ju(r,e):e(r))}function $h(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function Hi(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function VD(t,e){let r=[];for(let n=0;n<t;n++)r.push(e);return r}function $D(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 ws(t,e,r){let n=so(t,e);return n>=0?t[n|1]=r:(n=~n,$D(t,n,e,r)),n}function hc(t,e){let r=so(t,e);if(r>=0)return t[r|1]}function so(t,e){return UD(t,e,1)}function UD(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 Mt={},Ne=[],lr=new E(""),Uh=new E("",-1),Bh=new E(""),zi=class{get(e,r=Qr){if(r===Qr){let n=new Error(`NullInjectorError: No provider for ${be(e)}!`);throw n.name="NullInjectorError",n}return r}},Hh=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Hh||{}),ht=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(ht||{}),rn=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(rn||{});function BD(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 Ac(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];HD(i)?t.setProperty(e,i,s):t.setAttribute(e,i,s),n++}}return n}function zh(t){return t===3||t===4||t===6}function HD(t){return t.charCodeAt(0)===64}function Kr(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?Hf(t,r,o,null,e[++n]):Hf(t,r,o,null,null))}}return t}function Hf(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 Gh="ng-template";function zD(t,e,r,n){let o=0;if(n){for(;o<e.length&&typeof e[o]=="string";o+=2)if(e[o]==="class"&&BD(e[o+1].toLowerCase(),r,0)!==-1)return!0}else if(Vu(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 Vu(t){return t.type===4&&t.value!==Gh}function GD(t,e,r){let n=t.type===4&&!r?Gh:t.value;return e===n}function qD(t,e,r){let n=4,o=t.attrs,i=o!==null?YD(o):0,s=!1;for(let a=0;a<e.length;a++){let c=e[a];if(typeof c=="number"){if(!s&&!Je(n)&&!Je(c))return!1;if(s&&Je(c))continue;s=!1,n=c|n&1;continue}if(!s)if(n&4){if(n=2|n&1,c!==""&&!GD(t,c,r)||c===""&&e.length===1){if(Je(n))return!1;s=!0}}else if(n&8){if(o===null||!zD(t,o,c,r)){if(Je(n))return!1;s=!0}}else{let u=e[++a],l=WD(c,o,Vu(t),r);if(l===-1){if(Je(n))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),n&2&&u!==d){if(Je(n))return!1;s=!0}}}}return Je(n)||s}function Je(t){return(t&1)===0}function WD(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 QD(e,t)}function qh(t,e,r=!1){for(let n=0;n<e.length;n++)if(qD(t,e[n],r))return!0;return!1}function ZD(t){let e=t.attrs;if(e!=null){let r=e.indexOf(5);if(!(r&1))return e[r+1]}return null}function YD(t){for(let e=0;e<t.length;e++){let r=t[e];if(zh(r))return e}return t.length}function QD(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 KD(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 zf(t,e){return t?":not("+e.trim()+")":e}function JD(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!==""&&!Je(s)&&(e+=zf(i,o),o=""),n=s,i=i||!Je(n);r++}return o!==""&&(e+=zf(i,o)),e}function XD(t){return t.map(JD).join(",")}function ew(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(!Je(o))break;o=i}n++}return{attrs:e,classes:r}}function Wh(t){return oo(()=>{var o;let e=Kh(t),r=Y(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Hh.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:(o=t.signals)!=null?o:!1,data:t.data||{},encapsulation:t.encapsulation||ht.Emulated,styles:t.styles||Ne,_:null,schemas:t.schemas||null,tView:null,id:""});Jh(r);let n=t.dependencies;return r.directiveDefs=qf(n,!1),r.pipeDefs=qf(n,!0),r.id=rw(r),r})}function tw(t){return St(t)||$u(t)}function nw(t){return t!==null}function Rt(t){return oo(()=>({type:t.type,bootstrap:t.bootstrap||Ne,declarations:t.declarations||Ne,imports:t.imports||Ne,exports:t.exports||Ne,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Gf(t,e){var n;if(t==null)return Mt;let r={};for(let o in t)if(t.hasOwnProperty(o)){let i=t[o],s,a,c=rn.None;Array.isArray(i)?(c=i[0],s=i[1],a=(n=i[2])!=null?n:s):(s=i,a=i),e?(r[s]=c!==rn.None?[o,c]:o,e[s]=a):r[s]=o}return r}function Oe(t){return oo(()=>{let e=Kh(t);return Jh(e),e})}function ao(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 St(t){return t[ID]||null}function $u(t){return t[CD]||null}function Zh(t){return t[bD]||null}function Yh(t){let e=St(t)||$u(t)||Zh(t);return e!==null?e.standalone:!1}function Qh(t,e){let r=t[MD]||null;if(!r&&e===!0)throw new Error(`Type ${be(t)} does not have '\u0275mod' property.`);return r}function Kh(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||Mt,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Ne,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Gf(t.inputs,e),outputs:Gf(t.outputs),debugInfo:null}}function Jh(t){var e;(e=t.features)==null||e.forEach(r=>r(t))}function qf(t,e){if(!t)return null;let r=e?Zh:tw;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(nw)}function rw(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 Es(t){return{\u0275providers:t}}function ow(...t){return{\u0275providers:Xh(!0,t),\u0275fromNgModule:!0}}function Xh(t,...e){let r=[],n=new Set,o,i=s=>{r.push(s)};return ju(e,s=>{let a=s;Rc(a,i,[],n)&&(o||(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];Uu(o,i=>{e(i,n)})}}function Rc(t,e,r,n){if(t=pe(t),!t)return!1;let o=null,i=Vf(t),s=!i&&St(t);if(!i&&!s){let c=t.ngModule;if(i=Vf(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)Rc(u,e,r,n)}}else if(i){if(i.imports!=null&&!a){n.add(o);let u;try{ju(i.imports,l=>{Rc(l,e,r,n)&&(u||(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:Ne},o),e({provide:Bh,useValue:o,multi:!0},o),e({provide:lr,useValue:()=>C(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=t;Uu(c,l=>{e(l,u)})}}else return!1;return o!==t&&t.providers!==void 0}function Uu(t,e){for(let r of t)Fh(r)&&(r=r.\u0275providers),Array.isArray(r)?Uu(r,e):e(r)}var iw=q({provide:String,useValue:q});function tp(t){return t!==null&&typeof t=="object"&&iw in t}function sw(t){return!!(t&&t.useExisting)}function aw(t){return!!(t&&t.useFactory)}function dr(t){return typeof t=="function"}function cw(t){return!!t.useClass}var Is=new E(""),Fi={},uw={},pc;function Cs(){return pc===void 0&&(pc=new zi),pc}var Me=class{},Jr=class extends Me{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,Pc(e,s=>this.processProvider(s)),this.records.set(Uh,rr(void 0,this)),o.has("environment")&&this.records.set(Me,rr(void 0,this));let i=this.records.get(Is);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Bh,Ne,F.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=L(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(),L(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=en(this),n=_e(void 0),o;try{return e()}finally{en(r),_e(n)}}get(e,r=Qr,n=F.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Uf))return e[Uf](this);n=ys(n);let o,i=en(this),s=_e(void 0);try{if(!(n&F.SkipSelf)){let c=this.records.get(e);if(c===void 0){let u=pw(e)&&vs(e);u&&this.injectableDefInScope(u)?c=rr(Oc(e),Fi):c=null,this.records.set(e,c)}if(c!=null)return this.hydrate(e,c)}let a=n&F.Self?Cs():this.parent;return r=n&F.Optional&&r===Qr?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[Bi]=a[Bi]||[]).unshift(be(e)),i)throw a;return kD(a,e,"R3InjectorError",this.source)}else throw a}finally{_e(s),en(i)}}resolveInjectorInitializers(){let e=L(null),r=en(this),n=_e(void 0),o;try{let i=this.get(lr,Ne,F.Self);for(let s of i)s()}finally{en(r),_e(n),L(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(be(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(e){e=pe(e);let r=dr(e)?e:pe(e&&e.provide),n=dw(e);if(!dr(e)&&e.multi===!0){let o=this.records.get(r);o||(o=rr(void 0,Fi,!0),o.factory=()=>Nc(o.multi),this.records.set(r,o)),r=e,o.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=L(null);try{return r.value===Fi&&(r.value=uw,r.value=r.factory()),typeof r.value=="object"&&r.value&&hw(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{L(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=pe(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 Oc(t){let e=vs(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 lw(t);throw new w(204,!1)}function lw(t){if(t.length>0)throw new w(204,!1);let r=wD(t);return r!==null?()=>r.factory(t):()=>new t}function dw(t){if(tp(t))return rr(void 0,t.useValue);{let e=np(t);return rr(e,Fi)}}function np(t,e,r){let n;if(dr(t)){let o=pe(t);return xn(o)||Oc(o)}else if(tp(t))n=()=>pe(t.useValue);else if(aw(t))n=()=>t.useFactory(...Nc(t.deps||[]));else if(sw(t))n=()=>C(pe(t.useExisting));else{let o=pe(t&&(t.useClass||t.provide));if(fw(t))n=()=>new o(...Nc(t.deps));else return xn(o)||Oc(o)}return n}function rr(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function fw(t){return!!t.deps}function hw(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function pw(t){return typeof t=="function"||typeof t=="object"&&t instanceof E}function Pc(t,e){for(let r of t)Array.isArray(r)?Pc(r,e):r&&Fh(r)?Pc(r.\u0275providers,e):e(r)}function Ge(t,e){t instanceof Jr&&t.assertNotDestroyed();let r,n=en(t),o=_e(void 0);try{return e()}finally{en(n),_e(o)}}function rp(){return Lh()!==void 0||RD()!=null}function op(t){if(!rp())throw new w(-203,!1)}function gw(t){let e=he.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function mw(t){return typeof t=="function"}var vt=0,N=1,_=2,Ee=3,et=4,Pe=5,fr=6,cr=7,De=8,hr=9,pt=10,J=11,Xr=12,Wf=13,Er=14,Fe=15,_n=16,or=17,tt=18,bs=19,ip=20,tn=21,gc=22,ze=23,ce=25,Bu=1;var Nn=7,Gi=8,pr=9,we=10,qi=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(qi||{});function nn(t){return Array.isArray(t)&&typeof t[Bu]=="object"}function Ot(t){return Array.isArray(t)&&t[Bu]===!0}function Hu(t){return(t.flags&4)!==0}function Ms(t){return t.componentOffset>-1}function Ss(t){return(t.flags&1)===1}function Tt(t){return!!t.template}function kc(t){return(t[_]&512)!==0}var Fc=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 cn(){return ap}function ap(t){return t.type.prototype.ngOnChanges&&(t.setInput=yw),vw}cn.ngInherit=!0;function vw(){let t=up(this),e=t==null?void 0:t.current;if(e){let r=t.previous;if(r===Mt)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function yw(t,e,r,n,o){let i=this.declaredInputs[n],s=up(t)||Dw(t,{previous:Mt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Fc(u&&u.currentValue,r,c===Mt),sp(t,e,o,r)}var cp="__ngSimpleChanges__";function up(t){return t[cp]||null}function Dw(t,e){return t[cp]=e}var Zf=null;var lt=function(t,e,r){Zf!=null&&Zf(t,e,r)},lp="svg",ww="math";function gt(t){for(;Array.isArray(t);)t=t[vt];return t}function Ew(t){for(;Array.isArray(t);){if(typeof t[Bu]=="object")return t;t=t[vt]}return null}function dp(t,e){return gt(e[t])}function qe(t,e){return gt(e[t.index])}function zu(t,e){return t.data[e]}function Gu(t,e){return t[e]}function un(t,e){let r=e[t];return nn(r)?r:r[vt]}function Iw(t){return(t[_]&4)===4}function qu(t){return(t[_]&128)===128}function Cw(t){return Ot(t[Ee])}function on(t,e){return e==null?null:t[e]}function fp(t){t[or]=0}function hp(t){t[_]&1024||(t[_]|=1024,qu(t)&&xs(t))}function bw(t,e){for(;t>0;)e=e[Er],t--;return e}function Ts(t){var e;return!!(t[_]&9216||(e=t[ze])!=null&&e.dirty)}function Lc(t){var e;(e=t[pt].changeDetectionScheduler)==null||e.notify(8),t[_]&64&&(t[_]|=1024),Ts(t)&&xs(t)}function xs(t){var r;(r=t[pt].changeDetectionScheduler)==null||r.notify(0);let e=An(t);for(;e!==null&&!(e[_]&8192||(e[_]|=8192,!qu(e)));)e=An(e)}function pp(t,e){if((t[_]&256)===256)throw new w(911,!1);t[tn]===null&&(t[tn]=[]),t[tn].push(e)}function Mw(t,e){if(t[tn]===null)return;let r=t[tn].indexOf(e);r!==-1&&t[tn].splice(r,1)}function An(t){let e=t[Ee];return Ot(e)?e[Ee]:e}var O={lFrame:Mp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var gp=!1;function Sw(){return O.lFrame.elementDepthCount}function Tw(){O.lFrame.elementDepthCount++}function xw(){O.lFrame.elementDepthCount--}function mp(){return O.bindingsEnabled}function vp(){return O.skipHydrationRootTNode!==null}function _w(t){return O.skipHydrationRootTNode===t}function Nw(){O.skipHydrationRootTNode=null}function T(){return O.lFrame.lView}function ee(){return O.lFrame.tView}function _F(t){return O.lFrame.contextLView=t,t[De]}function NF(t){return O.lFrame.contextLView=null,t}function me(){let t=yp();for(;t!==null&&t.type===64;)t=t.parent;return t}function yp(){return O.lFrame.currentTNode}function Aw(){let t=O.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function jn(t,e){let r=O.lFrame;r.currentTNode=t,r.isParent=e}function Wu(){return O.lFrame.isParent}function Zu(){O.lFrame.isParent=!1}function Rw(){return O.lFrame.contextLView}function Dp(){return gp}function Yf(t){gp=t}function Vn(){let t=O.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function wp(){return O.lFrame.bindingIndex}function Ow(t){return O.lFrame.bindingIndex=t}function ln(){return O.lFrame.bindingIndex++}function _s(t){let e=O.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function Pw(){return O.lFrame.inI18n}function kw(t,e){let r=O.lFrame;r.bindingIndex=r.bindingRootIndex=t,jc(e)}function Fw(){return O.lFrame.currentDirectiveIndex}function jc(t){O.lFrame.currentDirectiveIndex=t}function Ep(t){let e=O.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function Ip(){return O.lFrame.currentQueryIndex}function Yu(t){O.lFrame.currentQueryIndex=t}function Lw(t){let e=t[N];return e.type===2?e.declTNode:e.type===1?t[Pe]:null}function Cp(t,e,r){if(r&F.SkipSelf){let o=e,i=t;for(;o=o.parent,o===null&&!(r&F.Host);)if(o=Lw(i),o===null||(i=i[Er],o.type&10))break;if(o===null)return!1;e=o,t=i}let n=O.lFrame=bp();return n.currentTNode=e,n.lView=t,!0}function Qu(t){let e=bp(),r=t[N];O.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function bp(){let t=O.lFrame,e=t===null?null:t.child;return e===null?Mp(t):e}function Mp(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 Sp(){let t=O.lFrame;return O.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Tp=Sp;function Ku(){let t=Sp();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 jw(t){return(O.lFrame.contextLView=bw(t,O.lFrame.contextLView))[De]}function yt(){return O.lFrame.selectedIndex}function Rn(t){O.lFrame.selectedIndex=t}function co(){let t=O.lFrame;return zu(t.tView,t.selectedIndex)}function AF(){O.lFrame.currentNamespace=lp}function Vw(){return O.lFrame.currentNamespace}var xp=!0;function Ns(){return xp}function As(t){xp=t}function $w(t,e,r){var s,a,c,u,l;let{ngOnChanges:n,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(n){let d=ap(e);((s=r.preOrderHooks)!=null?s:r.preOrderHooks=[]).push(t,d),((a=r.preOrderCheckHooks)!=null?a:r.preOrderCheckHooks=[]).push(t,d)}o&&((c=r.preOrderHooks)!=null?c:r.preOrderHooks=[]).push(0-t,o),i&&(((u=r.preOrderHooks)!=null?u:r.preOrderHooks=[]).push(t,i),((l=r.preOrderCheckHooks)!=null?l:r.preOrderCheckHooks=[]).push(t,i))}function Rs(t,e){var r,n,o,i,s,a,c;for(let u=e.directiveStart,l=e.directiveEnd;u<l;u++){let h=t.data[u].type.prototype,{ngAfterContentInit:f,ngAfterContentChecked:p,ngAfterViewInit:m,ngAfterViewChecked:v,ngOnDestroy:y}=h;f&&((r=t.contentHooks)!=null?r:t.contentHooks=[]).push(-u,f),p&&(((n=t.contentHooks)!=null?n:t.contentHooks=[]).push(u,p),((o=t.contentCheckHooks)!=null?o:t.contentCheckHooks=[]).push(u,p)),m&&((i=t.viewHooks)!=null?i:t.viewHooks=[]).push(-u,m),v&&(((s=t.viewHooks)!=null?s:t.viewHooks=[]).push(u,v),((a=t.viewCheckHooks)!=null?a:t.viewCheckHooks=[]).push(u,v)),y!=null&&((c=t.destroyHooks)!=null?c:t.destroyHooks=[]).push(u,y)}}function Li(t,e,r){_p(t,e,3,r)}function ji(t,e,r,n){(t[_]&3)===r&&_p(t,e,r,n)}function mc(t,e){let r=t[_];(r&3)===e&&(r&=16383,r+=1,t[_]=r)}function _p(t,e,r,n){let o=n!==void 0?t[or]&65535:0,i=n!=null?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[or]+=65536),(a<i||i==-1)&&(Uw(t,r,e,c),t[or]=(t[or]&4294901760)+c+2),c++}function Qf(t,e){lt(4,t,e);let r=L(null);try{e.call(t)}finally{L(r),lt(5,t,e)}}function Uw(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[or]>>16&&(t[_]&3)===e&&(t[_]+=16384,Qf(a,i)):Qf(a,i)}var ur=-1,On=class{constructor(e,r,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=n}};function Bw(t){return t instanceof On}function Hw(t){return(t.flags&8)!==0}function zw(t){return(t.flags&16)!==0}var vc={},Vc=class{constructor(e,r){this.injector=e,this.parentInjector=r}get(e,r,n){n=ys(n);let o=this.injector.get(e,vc,n);return o!==vc||r===vc?o:this.parentInjector.get(e,r,n)}};function Np(t){return t!==ur}function Wi(t){return t&32767}function Gw(t){return t>>16}function Zi(t,e){let r=Gw(t),n=e;for(;r>0;)n=n[Er],r--;return n}var $c=!0;function Yi(t){let e=$c;return $c=t,e}var qw=256,Ap=qw-1,Rp=5,Ww=0,dt={};function Zw(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Wr)&&(n=r[Wr]),n==null&&(n=r[Wr]=Ww++);let o=n&Ap,i=1<<o;e.data[t+(o>>Rp)]|=i}function Qi(t,e){let r=Op(t,e);if(r!==-1)return r;let n=e[N];n.firstCreatePass&&(t.injectorIndex=e.length,yc(n.data,t),yc(e,null),yc(n.blueprint,null));let o=Ju(t,e),i=t.injectorIndex;if(Np(o)){let s=Wi(o),a=Zi(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 yc(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Op(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Ju(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=jp(o),n===null)return ur;if(r++,o=o[Er],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return ur}function Uc(t,e,r){Zw(t,e,r)}function Yw(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(zh(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 Pp(t,e,r){if(r&F.Optional||t!==void 0)return t;Lu(e,"NodeInjector")}function kp(t,e,r,n){if(r&F.Optional&&n===void 0&&(n=null),!(r&(F.Self|F.Host))){let o=t[hr],i=_e(void 0);try{return o?o.get(e,n,r&F.Optional):jh(e,n,r&F.Optional)}finally{_e(i)}}return Pp(n,e,r)}function Fp(t,e,r,n=F.Default,o){if(t!==null){if(e[_]&2048&&!(n&F.Self)){let s=Xw(t,e,r,n,dt);if(s!==dt)return s}let i=Lp(t,e,r,n,dt);if(i!==dt)return i}return kp(e,r,n,o)}function Lp(t,e,r,n,o){let i=Kw(r);if(typeof i=="function"){if(!Cp(e,t,n))return n&F.Host?Pp(o,r,n):kp(e,r,n,o);try{let s;if(s=i(n),s==null&&!(n&F.Optional))Lu(r);else return s}finally{Tp()}}else if(typeof i=="number"){let s=null,a=Op(t,e),c=ur,u=n&F.Host?e[Fe][Pe]:null;for((a===-1||n&F.SkipSelf)&&(c=a===-1?Ju(t,e):e[a+8],c===ur||!Jf(n,!1)?a=-1:(s=e[N],a=Wi(c),e=Zi(c,e)));a!==-1;){let l=e[N];if(Kf(i,a,l.data)){let d=Qw(a,e,r,s,n,u);if(d!==dt)return d}c=e[a+8],c!==ur&&Jf(n,e[N].data[a+8]===u)&&Kf(i,a,e)?(s=l,a=Wi(c),e=Zi(c,e)):a=-1}}return o}function Qw(t,e,r,n,o,i){let s=e[N],a=s.data[t+8],c=n==null?Ms(a)&&$c:n!=s&&(a.type&3)!==0,u=o&F.Host&&i===a,l=Vi(a,s,r,c,u);return l!==null?Pn(e,s,l,a):dt}function Vi(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,h=o?a+l:u;for(let f=d;f<h;f++){let p=s[f];if(f<c&&r===p||f>=c&&p.type===r)return f}if(o){let f=s[c];if(f&&Tt(f)&&f.type===r)return c}return null}function Pn(t,e,r,n){let o=t[r],i=e.data;if(Bw(o)){let s=o;s.resolving&&TD(SD(i[r]));let a=Yi(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?_e(s.injectImpl):null,l=Cp(t,n,F.Default);try{o=t[r]=s.factory(void 0,i,t,n),e.firstCreatePass&&r>=n.directiveStart&&$w(r,i[r],e)}finally{u!==null&&_e(u),Yi(a),s.resolving=!1,Tp()}}return o}function Kw(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Wr)?t[Wr]:void 0;return typeof e=="number"?e>=0?e&Ap:Jw:e}function Kf(t,e,r){let n=1<<t;return!!(r[e+(t>>Rp)]&n)}function Jf(t,e){return!(t&F.Self)&&!(t&F.Host&&e)}var Sn=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,n){return Fp(this._tNode,this._lView,e,ys(n),r)}};function Jw(){return new Sn(me(),T())}function Xu(t){return oo(()=>{let e=t.prototype.constructor,r=e[Ui]||Bc(e),n=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==n;){let i=o[Ui]||Bc(o);if(i&&i!==r)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Bc(t){return Rh(t)?()=>{let e=Bc(pe(t));return e&&e()}:xn(t)}function Xw(t,e,r,n,o){let i=t,s=e;for(;i!==null&&s!==null&&s[_]&2048&&!(s[_]&512);){let a=Lp(i,s,r,n|F.Self,dt);if(a!==dt)return a;let c=i.parent;if(!c){let u=s[ip];if(u){let l=u.get(r,dt,n);if(l!==dt)return l}c=jp(s),s=s[Er]}i=c}return o}function jp(t){let e=t[N],r=e.type;return r===2?e.declTNode:r===1?t[Pe]:null}function el(t){return Yw(me(),t)}function Xf(t,e=null,r=null,n){let o=Vp(t,e,r,n);return o.resolveInjectorInitializers(),o}function Vp(t,e=null,r=null,n,o=new Set){let i=[r||Ne,ow(t)];return n=n||(typeof t=="object"?void 0:be(t)),new Jr(i,e||Cs(),n||null,o)}var bn=class bn{static create(e,r){var n;if(Array.isArray(e))return Xf({name:""},r,e,"");{let o=(n=e.name)!=null?n:"";return Xf({name:o},e.parent,e.providers,o)}}};bn.THROW_IF_NOT_FOUND=Qr,bn.NULL=new zi,bn.\u0275prov=I({token:bn,providedIn:"any",factory:()=>C(Uh)}),bn.__NG_ELEMENT_ID__=-1;var Ae=bn;var eE=new E("");eE.__NG_ELEMENT_ID__=t=>{let e=me();if(e===null)throw new w(204,!1);if(e.type&2)return e.value;if(t&F.Optional)return null;throw new w(204,!1)};var tE="ngOriginalError";function Dc(t){return t[tE]}var $p=!0,tl=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=nE,e.__NG_ENV_ID__=n=>n;let t=e;return t})(),Hc=class extends tl{constructor(e){super(),this._lView=e}onDestroy(e){return pp(this._lView,e),()=>Mw(this._lView,e)}};function nE(){return new Hc(T())}var Pt=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new fe(!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 zc=class extends ie{constructor(e=!1){var r,n;super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,rp()&&(this.destroyRef=(r=g(tl,{optional:!0}))!=null?r:void 0,this.pendingTasks=(n=g(Pt,{optional:!0}))!=null?n:void 0)}emit(e){let r=L(null);try{super.next(e)}finally{L(r)}}subscribe(e,r,n){var c,u,l;let o=e,i=r||(()=>null),s=n;if(e&&typeof e=="object"){let d=e;o=(c=d.next)==null?void 0:c.bind(d),i=(u=d.error)==null?void 0:u.bind(d),s=(l=d.complete)==null?void 0:l.bind(d)}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 ne&&e.add(a),a}wrapInTimeout(e){return r=>{var o;let n=(o=this.pendingTasks)==null?void 0:o.add();setTimeout(()=>{var i;e(r),n!==void 0&&((i=this.pendingTasks)==null||i.remove(n))})}}},ge=zc;function Ki(...t){}function Up(t){let e,r;function n(){t=Ki;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{t(),n()})),()=>n()}function eh(t){return queueMicrotask(()=>t()),()=>{t=Ki}}var nl="isAngularZone",Ji=nl+"_ID",rE=0,z=class t{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ge(!1),this.onMicrotaskEmpty=new ge(!1),this.onStable=new ge(!1),this.onError=new ge(!1);let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=$p}=e;if(typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&n,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,sE(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(nl)===!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,oE,Ki,Ki);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)}},oE={};function rl(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 iE(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Up(()=>{t.callbackScheduled=!1,Gc(t),t.isCheckStableRunning=!0,rl(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),Gc(t)}function sE(t){let e=()=>{iE(t)},r=rE++;t._inner=t._inner.fork({name:"angular",properties:{[nl]:!0,[Ji]:r,[Ji+r]:!0},onInvokeTask:(n,o,i,s,a,c)=>{if(aE(c))return n.invokeTask(i,s,a,c);try{return th(t),n.invokeTask(i,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),nh(t)}},onInvoke:(n,o,i,s,a,c,u)=>{try{return th(t),n.invoke(i,s,a,c,u)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!cE(c)&&e(),nh(t)}},onHasTask:(n,o,i,s)=>{n.hasTask(i,s),o===i&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Gc(t),rl(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,o,i,s)=>(n.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Gc(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function th(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function nh(t){t._nesting--,rl(t)}var Xi=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ge,this.onMicrotaskEmpty=new ge,this.onStable=new ge,this.onError=new ge}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 aE(t){return Bp(t,"__ignore_ng_zone__")}function cE(t){return Bp(t,"__scheduler_tick__")}function Bp(t,e){var r,n;return!Array.isArray(t)||t.length!==1?!1:((n=(r=t[0])==null?void 0:r.data)==null?void 0:n[e])===!0}function uE(t="zone.js",e){return t==="noop"?new Xi:t==="zone.js"?new z(e):t}var xt=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&&Dc(e);for(;r&&Dc(r);)r=Dc(r);return r||null}},lE=new E("",{providedIn:"root",factory:()=>{let t=g(z),e=g(xt);return r=>t.runOutsideAngular(()=>e.handleError(r))}});function dE(){return Ir(me(),T())}function Ir(t,e){return new We(qe(t,e))}var We=(()=>{let e=class e{constructor(n){this.nativeElement=n}};e.__NG_ELEMENT_ID__=dE;let t=e;return t})();function fE(t){return t instanceof We?t.nativeElement:t}function hE(){return this._results[Symbol.iterator]()}var qc=class t{get changes(){var e;return(e=this._changes)!=null?e:this._changes=new ge}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]=hE)}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=jD(e);(this._changesDetected=!LD(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(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Hp(t){return(t.flags&128)===128}var zp=new Map,pE=0;function gE(){return pE++}function mE(t){zp.set(t[bs],t)}function Wc(t){zp.delete(t[bs])}var rh="__ngContext__";function sn(t,e){nn(e)?(t[rh]=e[bs],mE(e)):t[rh]=e}function Gp(t){return Wp(t[Xr])}function qp(t){return Wp(t[et])}function Wp(t){for(;t!==null&&!Ot(t);)t=t[et];return t}var Zc;function Zp(t){Zc=t}function Yp(){if(Zc!==void 0)return Zc;if(typeof document<"u")return document;throw new w(210,!1)}var Os=new E("",{providedIn:"root",factory:()=>vE}),vE="ng",ol=new E(""),nt=new E("",{providedIn:"platform",factory:()=>"unknown"});var RF=new E(""),il=new E("",{providedIn:"root",factory:()=>{var t,e;return((e=(t=Yp().body)==null?void 0:t.querySelector("[ngCspNonce]"))==null?void 0:e.getAttribute("ngCspNonce"))||null}}),sl={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Qp=new E("",{providedIn:"root",factory:()=>sl});var yE="h",DE="b";var wE=()=>null;function al(t,e,r=!1){return wE(t,e,r)}var Kp=!1,EE=new E("",{providedIn:"root",factory:()=>Kp});var _i;function IE(){if(_i===void 0&&(_i=null,he.trustedTypes))try{_i=he.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return _i}function Ps(t){var e;return((e=IE())==null?void 0:e.createHTML(t))||t}var Ni;function Jp(){if(Ni===void 0&&(Ni=null,he.trustedTypes))try{Ni=he.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ni}function oh(t){var e;return((e=Jp())==null?void 0:e.createHTML(t))||t}function ih(t){var e;return((e=Jp())==null?void 0:e.createScriptURL(t))||t}var _t=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_h})`}},Yc=class extends _t{getTypeName(){return"HTML"}},Qc=class extends _t{getTypeName(){return"Style"}},Kc=class extends _t{getTypeName(){return"Script"}},Jc=class extends _t{getTypeName(){return"URL"}},Xc=class extends _t{getTypeName(){return"ResourceURL"}};function Le(t){return t instanceof _t?t.changingThisBreaksApplicationSecurity:t}function kt(t,e){let r=CE(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${_h})`)}return r===e}function CE(t){return t instanceof _t&&t.getTypeName()||null}function Xp(t){return new Yc(t)}function eg(t){return new Qc(t)}function tg(t){return new Kc(t)}function ng(t){return new Jc(t)}function rg(t){return new Xc(t)}function bE(t){let e=new tu(t);return ME()?new eu(e):e}var eu=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){var r;e="<body><remove></remove>"+e;try{let n=new window.DOMParser().parseFromString(Ps(e),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(e):((r=n.firstChild)==null||r.remove(),n)}catch{return null}}},tu=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=Ps(e),r}};function ME(){try{return!!new window.DOMParser().parseFromString(Ps(""),"text/html")}catch{return!1}}var SE=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function ks(t){return t=String(t),t.match(SE)?t:"unsafe:"+t}function Ft(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function uo(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var og=Ft("area,br,col,hr,img,wbr"),ig=Ft("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),sg=Ft("rp,rt"),TE=uo(sg,ig),xE=uo(ig,Ft("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")),_E=uo(sg,Ft("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")),sh=uo(og,xE,_E,TE),ag=Ft("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),NE=Ft("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"),AE=Ft("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"),RE=uo(ag,NE,AE),OE=Ft("script,style,template"),nu=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=FE(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let i=kE(r);if(i){r=i;break}r=o.pop()}}return this.buf.join("")}startElement(e){let r=ah(e).toLowerCase();if(!sh.hasOwnProperty(r))return this.sanitizedSomething=!0,!OE.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(!RE.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;ag[a]&&(c=ks(c)),this.buf.push(" ",s,'="',ch(c),'"')}return this.buf.push(">"),!0}endElement(e){let r=ah(e).toLowerCase();sh.hasOwnProperty(r)&&!og.hasOwnProperty(r)&&(this.buf.push("</"),this.buf.push(r),this.buf.push(">"))}chars(e){this.buf.push(ch(e))}};function PE(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function kE(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw cg(e);return e}function FE(t){let e=t.firstChild;if(e&&PE(t,e))throw cg(e);return e}function ah(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function cg(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var LE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jE=/([^\#-~ |!])/g;function ch(t){return t.replace(/&/g,"&amp;").replace(LE,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(jE,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Ai;function cl(t,e){let r=null;try{Ai=Ai||bE(t);let n=e?String(e):"";r=Ai.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=Ai.getInertBodyElement(n)}while(n!==i);let a=new nu().sanitizeChildren(uh(r)||r);return Ps(a)}finally{if(r){let n=uh(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function uh(t){return"content"in t&&VE(t)?t.content:null}function VE(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 OF(t){let e=ul();return e?oh(e.sanitize(rt.HTML,t)||""):kt(t,"HTML")?oh(Le(t)):cl(Yp(),ft(t))}function $E(t){let e=ul();return e?e.sanitize(rt.URL,t)||"":kt(t,"URL")?Le(t):ks(ft(t))}function UE(t){let e=ul();if(e)return ih(e.sanitize(rt.RESOURCE_URL,t)||"");if(kt(t,"ResourceURL"))return ih(Le(t));throw new w(904,!1)}function BE(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?UE:$E}function ug(t,e,r){return BE(e,r)(t)}function ul(){let t=T();return t&&t[pt].sanitizer}var HE=/^>|^->|<!--|-->|--!>|<!-$/g,zE=/(<|>)/g,GE="\u200B$1\u200B";function qE(t){return t.replace(HE,e=>e.replace(zE,GE))}function PF(t){return t.ownerDocument.defaultView}function lg(t){return t instanceof Function?t():t}function dg(t){return(t!=null?t:g(Ae)).get(nt)==="browser"}var mt=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(mt||{}),WE;function ll(t,e){return WE(t,e)}function ir(t,e,r,n,o){if(n!=null){let i,s=!1;Ot(n)?i=n:nn(n)&&(s=!0,n=n[vt]);let a=gt(n);t===0&&r!==null?o==null?mg(e,r,a):es(e,r,a,o||null,!0):t===1&&r!==null?es(e,r,a,o||null,!0):t===2?aI(e,a,s):t===3&&e.destroyNode(a),i!=null&&uI(e,t,i,r,o)}}function ZE(t,e){return t.createText(e)}function YE(t,e,r){t.setValue(e,r)}function QE(t,e){return t.createComment(qE(e))}function fg(t,e,r){return t.createElement(e,r)}function KE(t,e){hg(t,e),e[vt]=null,e[Pe]=null}function JE(t,e,r,n,o,i){n[vt]=o,n[Pe]=e,js(t,n,r,1,o,i)}function hg(t,e){var r;(r=e[pt].changeDetectionScheduler)==null||r.notify(9),js(t,e,e[J],2,null,null)}function XE(t){let e=t[Xr];if(!e)return wc(t[N],t);for(;e;){let r=null;if(nn(e))r=e[Xr];else{let n=e[we];n&&(r=n)}if(!r){for(;e&&!e[et]&&e!==t;)nn(e)&&wc(e[N],e),e=e[Ee];e===null&&(e=t),nn(e)&&wc(e[N],e),r=e&&e[et]}e=r}}function eI(t,e,r,n){let o=we+n,i=r.length;n>0&&(r[o-1][et]=e),n<i-we?(e[et]=r[o],$h(r,we+n,e)):(r.push(e),e[et]=null),e[Ee]=r;let s=e[_n];s!==null&&r!==s&&pg(s,e);let a=e[tt];a!==null&&a.insertView(t),Lc(e),e[_]|=128}function pg(t,e){let r=t[pr],n=e[Ee];if(nn(n))t[_]|=qi.HasTransplantedViews;else{let o=n[Ee][Fe];e[Fe]!==o&&(t[_]|=qi.HasTransplantedViews)}r===null?t[pr]=[e]:r.push(e)}function dl(t,e){let r=t[pr],n=r.indexOf(e);r.splice(n,1)}function eo(t,e){if(t.length<=we)return;let r=we+e,n=t[r];if(n){let o=n[_n];o!==null&&o!==t&&dl(o,n),e>0&&(t[r-1][et]=n[et]);let i=Hi(t,we+e);KE(n[N],n);let s=i[tt];s!==null&&s.detachView(i[N]),n[Ee]=null,n[et]=null,n[_]&=-129}return n}function Fs(t,e){if(!(e[_]&256)){let r=e[J];r.destroyNode&&js(t,e,r,3,null,null),XE(e)}}function wc(t,e){if(e[_]&256)return;let r=L(null);try{e[_]&=-129,e[_]|=256,e[ze]&&Za(e[ze]),nI(t,e),tI(t,e),e[N].type===1&&e[J].destroy();let n=e[_n];if(n!==null&&Ot(e[Ee])){n!==e[Ee]&&dl(n,e);let o=e[tt];o!==null&&o.detachView(t)}Wc(e)}finally{L(r)}}function tI(t,e){let r=t.cleanup,n=e[cr];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[cr]=null);let o=e[tn];if(o!==null){e[tn]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function nI(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];lt(4,a,c);try{c.call(a)}finally{lt(5,a,c)}}else{lt(4,o,i);try{i.call(o)}finally{lt(5,o,i)}}}}}function gg(t,e,r){return rI(t,e.parent,r)}function rI(t,e,r){let n=e;for(;n!==null&&n.type&168;)e=n,n=e.parent;if(n===null)return r[vt];{let{componentOffset:o}=n;if(o>-1){let{encapsulation:i}=t.data[n.directiveStart+o];if(i===ht.None||i===ht.Emulated)return null}return qe(n,r)}}function es(t,e,r,n,o){t.insertBefore(e,r,n,o)}function mg(t,e,r){t.appendChild(e,r)}function lh(t,e,r,n,o){n!==null?es(t,e,r,n,o):mg(t,e,r)}function vg(t,e){return t.parentNode(e)}function oI(t,e){return t.nextSibling(e)}function yg(t,e,r){return sI(t,e,r)}function iI(t,e,r){return t.type&40?qe(t,r):null}var sI=iI,dh;function Ls(t,e,r,n){let o=gg(t,n,e),i=e[J],s=n.parent||e[Pe],a=yg(s,n,e);if(o!=null)if(Array.isArray(r))for(let c=0;c<r.length;c++)lh(i,o,r[c],a,!1);else lh(i,o,r,a,!1);dh!==void 0&&dh(i,n,e,r,o)}function qr(t,e){if(e!==null){let r=e.type;if(r&3)return qe(e,t);if(r&4)return ru(-1,t[e.index]);if(r&8){let n=e.child;if(n!==null)return qr(t,n);{let o=t[e.index];return Ot(o)?ru(-1,o):gt(o)}}else{if(r&128)return qr(t,e.next);if(r&32)return ll(e,t)()||gt(t[e.index]);{let n=Dg(t,e);if(n!==null){if(Array.isArray(n))return n[0];let o=An(t[Fe]);return qr(o,n)}else return qr(t,e.next)}}}return null}function Dg(t,e){if(e!==null){let n=t[Fe][Pe],o=e.projection;return n.projection[o]}return null}function ru(t,e){let r=we+t+1;if(r<e.length){let n=e[r],o=n[N].firstChild;if(o!==null)return qr(n,o)}return e[Nn]}function aI(t,e,r){t.removeChild(null,e,r)}function fl(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&&sn(gt(a),n),r.flags|=2),(r.flags&32)!==32)if(c&8)fl(t,e,r.child,n,o,i,!1),ir(e,t,o,a,i);else if(c&32){let u=ll(r,n),l;for(;l=u();)ir(e,t,o,l,i);ir(e,t,o,a,i)}else c&16?wg(t,e,n,r,o,i):ir(e,t,o,a,i);r=s?r.projectionNext:r.next}}function js(t,e,r,n,o,i){fl(r,n,t.firstChild,e,o,i,!1)}function cI(t,e,r){let n=e[J],o=gg(t,r,e),i=r.parent||e[Pe],s=yg(i,r,e);wg(n,0,e,r,o,s)}function wg(t,e,r,n,o,i){let s=r[Fe],c=s[Pe].projection[n.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];ir(e,t,o,l,i)}else{let u=c,l=s[Ee];Hp(n)&&(u.flags|=128),fl(t,e,u,l,o,i,!0)}}function uI(t,e,r,n,o){let i=r[Nn],s=gt(r);i!==s&&ir(e,t,n,i,o);for(let a=we;a<r.length;a++){let c=r[a];js(c[N],c,t,e,n,i)}}function lI(t,e,r,n,o){if(e)o?t.addClass(r,n):t.removeClass(r,n);else{let i=n.indexOf("-")===-1?void 0:mt.DashCase;o==null?t.removeStyle(r,n,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=mt.Important),t.setStyle(r,n,o,i))}}function dI(t,e,r){t.setAttribute(e,"style",r)}function Eg(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function Ig(t,e,r){let{mergedAttrs:n,classes:o,styles:i}=r;n!==null&&Ac(t,e,n),o!==null&&Eg(t,e,o),i!==null&&dI(t,e,i)}var Se={};function kF(t=1){Cg(ee(),T(),yt()+t,!1)}function Cg(t,e,r,n){if(!n)if((e[_]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Li(e,i,r)}else{let i=t.preOrderHooks;i!==null&&ji(e,i,0,r)}Rn(r)}function j(t,e=F.Default){let r=T();if(r===null)return C(t,e);let n=me();return Fp(n,r,pe(t),e)}function bg(){let t="invalid";throw new Error(t)}function Mg(t,e,r,n,o,i){let s=L(null);try{let a=null;o&rn.SignalBased&&(a=e[n][It]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&rn.HasDecoratorInputTransform&&(i=t.inputTransforms[n].call(e,i)),t.setInput!==null?t.setInput(e,a,i,r,n):sp(e,a,n,i)}finally{L(s)}}function fI(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];kw(s,i);let c=e[i];a(2,c)}}}finally{Rn(-1)}}function Vs(t,e,r,n,o,i,s,a,c,u,l){let d=e.blueprint.slice();return d[vt]=o,d[_]=n|4|128|8|64,(u!==null||t&&t[_]&2048)&&(d[_]|=2048),fp(d),d[Ee]=d[Er]=t,d[De]=r,d[pt]=s||t&&t[pt],d[J]=a||t&&t[J],d[hr]=c||t&&t[hr]||null,d[Pe]=i,d[bs]=gE(),d[fr]=l,d[ip]=u,d[Fe]=e.type==2?t[Fe]:d,d}function Cr(t,e,r,n,o){let i=t.data[e];if(i===null)i=hI(t,e,r,n,o),Pw()&&(i.flags|=32);else if(i.type&64){i.type=r,i.value=n,i.attrs=o;let s=Aw();i.injectorIndex=s===null?-1:s.injectorIndex}return jn(i,!0),i}function hI(t,e,r,n,o){let i=yp(),s=Wu(),a=s?i:i&&i.parent,c=t.data[e]=DI(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 Sg(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 Tg(t,e,r,n,o){let i=yt(),s=n&2;try{Rn(-1),s&&e.length>ce&&Cg(t,e,ce,!1),lt(s?2:0,o),r(n,o)}finally{Rn(i),lt(s?3:1,o)}}function hl(t,e,r){if(Hu(e)){let n=L(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{L(n)}}}function pl(t,e,r){mp()&&(MI(t,e,r,qe(r,e)),(r.flags&64)===64&&Ng(t,e,r))}function gl(t,e,r=qe){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 xg(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=ml(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function ml(t,e,r,n,o,i,s,a,c,u,l){let d=ce+n,h=d+o,f=pI(d,h),p=typeof u=="function"?u():u;return f[N]={type:t,blueprint:f,template:r,queries:null,viewQuery:a,declTNode:e,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,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 pI(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:Se);return r}function gI(t,e,r,n){let i=n.get(EE,Kp)||r===ht.ShadowDom,s=t.selectRootElement(e,i);return mI(s),s}function mI(t){vI(t)}var vI=()=>null;function yI(t,e,r,n){let o=Og(e);o.push(r),t.firstCreatePass&&Pg(t).push(n,o.length-1)}function DI(t,e,r,n,o,i){let s=e?e.injectorIndex:-1,a=0;return vp()&&(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 fh(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!=null||(n={});let a,c=rn.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?hh(n,r,u,a,c):hh(n,r,u,a)}return n}function hh(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 wI(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],h=r?r.get(d):null,f=h?h.inputs:null,p=h?h.outputs:null;c=fh(0,d.inputs,l,c,f),u=fh(1,d.outputs,l,u,p);let m=c!==null&&s!==null&&!Vu(e)?FI(c,l,s):null;a.push(m)}c!==null&&(c.hasOwnProperty("class")&&(e.flags|=8),c.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=a,e.inputs=c,e.outputs=u}function EI(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function $s(t,e,r,n,o,i,s,a){let c=qe(e,r),u=e.inputs,l;!a&&u!=null&&(l=u[n])?(yl(t,r,l,n,o),Ms(e)&&II(r,e.index)):e.type&3?(n=EI(n),o=s!=null?s(o,e.value||"",n):o,i.setProperty(c,n,o)):e.type&12}function II(t,e){let r=un(e,t);r[_]&16||(r[_]|=64)}function vl(t,e,r,n){if(mp()){let o=n===null?null:{"":-1},i=TI(t,r),s,a;i===null?s=a=null:[s,a]=i,s!==null&&_g(t,e,r,s,o,a),o&&xI(r,n,o)}r.mergedAttrs=Kr(r.mergedAttrs,r.attrs)}function _g(t,e,r,n,o,i){var u,l;for(let d=0;d<n.length;d++)Uc(Qi(r,e),t,n[d].type);NI(r,t.data.length,n.length);for(let d=0;d<n.length;d++){let h=n[d];h.providersResolver&&h.providersResolver(h)}let s=!1,a=!1,c=Sg(t,e,n.length,null);for(let d=0;d<n.length;d++){let h=n[d];r.mergedAttrs=Kr(r.mergedAttrs,h.hostAttrs),AI(t,r,e,c,h),_I(c,h,o),h.contentQueries!==null&&(r.flags|=4),(h.hostBindings!==null||h.hostAttrs!==null||h.hostVars!==0)&&(r.flags|=64);let f=h.type.prototype;!s&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&(((u=t.preOrderHooks)!=null?u:t.preOrderHooks=[]).push(r.index),s=!0),!a&&(f.ngOnChanges||f.ngDoCheck)&&(((l=t.preOrderCheckHooks)!=null?l:t.preOrderCheckHooks=[]).push(r.index),a=!0),c++}wI(t,r,i)}function CI(t,e,r,n,o){let i=o.hostBindings;if(i){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~e.index;bI(s)!=a&&s.push(a),s.push(r,n,i)}}function bI(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function MI(t,e,r,n){let o=r.directiveStart,i=r.directiveEnd;Ms(r)&&RI(e,r,t.data[o+r.componentOffset]),t.firstCreatePass||Qi(r,e),sn(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(sn(u,e),s!==null&&kI(e,a-o,u,c,r,s),Tt(c)){let l=un(r.index,e);l[De]=Pn(e,t,a,r)}}}function Ng(t,e,r){let n=r.directiveStart,o=r.directiveEnd,i=r.index,s=Fw();try{Rn(i);for(let a=n;a<o;a++){let c=t.data[a],u=e[a];jc(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&SI(c,u)}}finally{Rn(-1),jc(s)}}function SI(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function TI(t,e){var i;let r=t.directiveRegistry,n=null,o=null;if(r)for(let s=0;s<r.length;s++){let a=r[s];if(qh(e,a.selectors,!1))if(n||(n=[]),Tt(a))if(a.findHostDirectiveDefs!==null){let c=[];o=o||new Map,a.findHostDirectiveDefs(a,c,o),n.unshift(...c,a);let u=c.length;ou(t,e,u)}else n.unshift(a),ou(t,e,0);else o=o||new Map,(i=a.findHostDirectiveDefs)==null||i.call(a,a,n,o),n.push(a)}return n===null?null:[n,o]}function ou(t,e,r){var n;e.componentOffset=r,((n=t.components)!=null?n:t.components=[]).push(e.index)}function xI(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 _I(t,e,r){if(r){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)r[e.exportAs[n]]=t;Tt(e)&&(r[""]=t)}}function NI(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function AI(t,e,r,n,o){t.data[n]=o;let i=o.factory||(o.factory=xn(o.type,!0)),s=new On(i,Tt(o),j);t.blueprint[n]=s,r[n]=s,CI(t,e,n,Sg(t,r,o.hostVars,Se),o)}function RI(t,e,r){let n=qe(e,t),o=xg(r),i=t[pt].rendererFactory,s=16;r.signals?s=4096:r.onPush&&(s=64);let a=Us(t,Vs(t,o,null,s,n,e,null,i.createRenderer(n,r),null,null,null));t[e.index]=a}function OI(t,e,r,n,o,i){let s=qe(t,e);PI(e[J],s,i,t.value,r,n,o)}function PI(t,e,r,n,o,i,s){if(i==null)t.removeAttribute(e,o,r);else{let a=s==null?ft(i):s(i,n||"",o);t.setAttribute(e,o,a,r)}}function kI(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++];Mg(n,r,c,u,l,d)}}function FI(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 Ag(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function Rg(t,e){let r=t.contentQueries;if(r!==null){let n=L(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];Yu(i),a.contentQueries(2,e[s],s)}}}finally{L(n)}}}function Us(t,e){return t[Xr]?t[Wf][et]=e:t[Xr]=e,t[Wf]=e,e}function iu(t,e,r){Yu(0);let n=L(null);try{e(t,r)}finally{L(n)}}function Og(t){var e;return(e=t[cr])!=null?e:t[cr]=[]}function Pg(t){var e;return(e=t.cleanup)!=null?e:t.cleanup=[]}function LI(t,e,r){return(t===null||Tt(t))&&(r=Ew(r[e.index])),r[J]}function kg(t,e){let r=t[hr],n=r?r.get(xt,null):null;n&&n.handleError(e)}function yl(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];Mg(l,u,n,a,c,o)}}function Dl(t,e,r){let n=dp(e,t);YE(t[J],n,r)}function jI(t,e){let r=un(e,t),n=r[N];VI(n,r);let o=r[vt];o!==null&&r[fr]===null&&(r[fr]=al(o,r[hr])),wl(n,r,r[De])}function VI(t,e){for(let r=e.length;r<t.blueprint.length;r++)e.push(t.blueprint[r])}function wl(t,e,r){var n;Qu(e);try{let o=t.viewQuery;o!==null&&iu(1,o,r);let i=t.template;i!==null&&Tg(t,e,i,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),(n=e[tt])==null||n.finishViewCreation(t),t.staticContentQueries&&Rg(t,e),t.staticViewQueries&&iu(2,t.viewQuery,r);let s=t.components;s!==null&&$I(e,s)}catch(o){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),o}finally{e[_]&=-5,Ku()}}function $I(t,e){for(let r=0;r<e.length;r++)jI(t,e[r])}function lo(t,e,r,n){var i,s,a;let o=L(null);try{let c=e.tView,l=t[_]&4096?4096:16,d=Vs(t,c,r,l,null,e,null,null,(i=n==null?void 0:n.injector)!=null?i:null,(s=n==null?void 0:n.embeddedViewInjector)!=null?s:null,(a=n==null?void 0:n.dehydratedView)!=null?a:null),h=t[e.index];d[_n]=h;let f=t[tt];return f!==null&&(d[tt]=f.createEmbeddedView(c)),wl(c,d,r),d}finally{L(o)}}function Fg(t,e){let r=we+e;if(r<t.length)return t[r]}function gr(t,e){return!e||e.firstChild===null||Hp(t)}function fo(t,e,r,n=!0){let o=e[N];if(eI(o,e,t,r),n){let s=ru(r,t),a=e[J],c=vg(a,t[Nn]);c!==null&&JE(o,t[Pe],a,e,c,s)}let i=e[fr];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Lg(t,e){let r=eo(t,e);return r!==void 0&&Fs(r[N],r),r}function ts(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(gt(i)),Ot(i)&&UI(i,n);let s=r.type;if(s&8)ts(t,e,r.child,n);else if(s&32){let a=ll(r,e),c;for(;c=a();)n.push(c)}else if(s&16){let a=Dg(e,r);if(Array.isArray(a))n.push(...a);else{let c=An(e[Fe]);ts(c[N],c,a,n,!0)}}r=o?r.projectionNext:r.next}return n}function UI(t,e){for(let r=we;r<t.length;r++){let n=t[r],o=n[N].firstChild;o!==null&&ts(n[N],n,o,e)}t[Nn]!==t[vt]&&e.push(t[Nn])}var jg=[];function BI(t){var e;return(e=t[ze])!=null?e:HI(t)}function HI(t){var r;let e=(r=jg.pop())!=null?r:Object.create(GI);return e.lView=t,e}function zI(t){t.lView[ze]!==t&&(t.lView=null,jg.push(t))}var GI=Y(D({},$r),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{xs(t.lView)},consumerOnSignalRead(){this.lView[ze]=this}});function qI(t){var r;let e=(r=t[ze])!=null?r:Object.create(WI);return e.lView=t,e}var WI=Y(D({},$r),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=An(t.lView);for(;e&&!Vg(e[N]);)e=An(e);e&&hp(e)},consumerOnSignalRead(){this.lView[ze]=this}});function Vg(t){return t.type!==2}var ZI=100;function $g(t,e=!0,r=0){var s,a,c;let n=t[pt],o=n.rendererFactory,i=!1;i||(s=o.begin)==null||s.call(o);try{YI(t,r)}catch(u){throw e&&kg(t,u),u}finally{i||((a=o.end)==null||a.call(o),(c=n.inlineEffectRunner)==null||c.flush())}}function YI(t,e){let r=Dp();try{Yf(!0),su(t,e);let n=0;for(;Ts(t);){if(n===ZI)throw new w(103,!1);n++,su(t,1)}}finally{Yf(r)}}function QI(t,e,r,n){var l;let o=e[_];if((o&256)===256)return;let i=!1,s=!1;!i&&((l=e[pt].inlineEffectRunner)==null||l.flush()),Qu(e);let a=!0,c=null,u=null;i||(Vg(t)?(u=BI(e),c=Jo(u)):Yd()===null?(a=!1,u=qI(e),c=Jo(u)):e[ze]&&(Za(e[ze]),e[ze]=null));try{fp(e),Ow(t.bindingStartIndex),r!==null&&Tg(t,e,r,2,n);let d=(o&3)===3;if(!i)if(d){let p=t.preOrderCheckHooks;p!==null&&Li(e,p,null)}else{let p=t.preOrderHooks;p!==null&&ji(e,p,0,null),mc(e,0)}if(s||KI(e),Ug(e,0),t.contentQueries!==null&&Rg(t,e),!i)if(d){let p=t.contentCheckHooks;p!==null&&Li(e,p)}else{let p=t.contentHooks;p!==null&&ji(e,p,1),mc(e,1)}fI(t,e);let h=t.components;h!==null&&Hg(e,h,0);let f=t.viewQuery;if(f!==null&&iu(2,f,n),!i)if(d){let p=t.viewCheckHooks;p!==null&&Li(e,p)}else{let p=t.viewHooks;p!==null&&ji(e,p,2),mc(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[gc]){for(let p of e[gc])p();e[gc]=null}i||(e[_]&=-73)}catch(d){throw i||xs(e),d}finally{u!==null&&(qa(u,c),a&&zI(u)),Ku()}}function Ug(t,e){for(let r=Gp(t);r!==null;r=qp(r))for(let n=we;n<r.length;n++){let o=r[n];Bg(o,e)}}function KI(t){for(let e=Gp(t);e!==null;e=qp(e)){if(!(e[_]&qi.HasTransplantedViews))continue;let r=e[pr];for(let n=0;n<r.length;n++){let o=r[n];hp(o)}}}function JI(t,e,r){let n=un(e,t);Bg(n,r)}function Bg(t,e){qu(t)&&su(t,e)}function su(t,e){let n=t[N],o=t[_],i=t[ze],s=!!(e===0&&o&16);if(s||(s=!!(o&64&&e===0)),s||(s=!!(o&1024)),s||(s=!!(i!=null&&i.dirty&&Wa(i))),s||(s=!1),i&&(i.dirty=!1),t[_]&=-9217,s)QI(n,t,n.template,t[De]);else if(o&8192){Ug(t,1);let a=n.components;a!==null&&Hg(t,a,1)}}function Hg(t,e,r){for(let n=0;n<e.length;n++)JI(t,e[n],r)}function El(t,e){var n;let r=Dp()?64:1088;for((n=t[pt].changeDetectionScheduler)==null||n.notify(e);t;){t[_]|=r;let o=An(t);if(kc(t)&&!o)return t;t=o}return null}var kn=class{get rootNodes(){let e=this._lView,r=e[N];return ts(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[Ee];if(Ot(e)){let r=e[Gi],n=r?r.indexOf(this):-1;n>-1&&(eo(e,n),Hi(r,n))}this._attachedToViewContainer=!1}Fs(this._lView[N],this._lView)}onDestroy(e){pp(this._lView,e)}markForCheck(){El(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[_]&=-129}reattach(){Lc(this._lView),this._lView[_]|=128}detectChanges(){this._lView[_]|=1024,$g(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=kc(this._lView),r=this._lView[_n];r!==null&&!e&&dl(r,this._lView),hg(this._lView[N],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=e;let r=kc(this._lView),n=this._lView[_n];n!==null&&!r&&pg(n,this._lView),Lc(this._lView)}},Nt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=tC;let t=e;return t})(),XI=Nt,eC=class extends XI{constructor(e,r,n){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){var e;return((e=this._declarationTContainer.tView)==null?void 0:e.ssrId)||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let o=lo(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new kn(o)}};function tC(){return Bs(me(),T())}function Bs(t,e){return t.type&4?new eC(e,t,Ir(t,e)):null}var LF=new RegExp(`^(\\d+)*(${DE}|${yE})*(.*)`);var nC=()=>null;function mr(t,e){return nC(t,e)}var vr=class{},Il=new E("",{providedIn:"root",factory:()=>!1});var zg=new E(""),Gg=new E(""),au=class{},ns=class{};function rC(t){let e=Error(`No component factory found for ${be(t)}.`);return e[oC]=t,e}var oC="ngComponent";var cu=class{resolveComponentFactory(e){throw rC(e)}},kl=class kl{};kl.NULL=new cu;var yr=kl,Dr=class{},dn=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>iC();let t=e;return t})();function iC(){let t=T(),e=me(),r=un(e.index,t);return(nn(r)?r:t)[J]}var sC=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>null});let t=e;return t})();function rs(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=Tc(o,a);else if(i==2){let c=a,u=e[++s];n=Tc(n,c+": "+u+";")}}r?t.styles=n:t.stylesWithoutHost=n,r?t.classes=o:t.classesWithoutHost=o}var os=class extends yr{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let r=St(e);return new Fn(r,this.ngModule)}};function ph(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]:rn.None;e?r.push({propName:s,templateName:n,isSignal:(a&rn.SignalBased)!==0}):r.push({propName:s,templateName:n})}return r}function aC(t){let e=t.toLowerCase();return e==="svg"?lp:e==="math"?ww:null}var Fn=class extends ns{get inputs(){let e=this.componentDef,r=e.inputTransforms,n=ph(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 ph(this.componentDef.outputs,!1)}constructor(e,r){super(),this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=XD(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}create(e,r,n,o){let i=L(null);try{o=o||this.ngModule;let a=o instanceof Me?o:o==null?void 0:o.injector;a&&this.componentDef.getStandaloneInjector!==null&&(a=this.componentDef.getStandaloneInjector(a)||a);let c=a?new Vc(e,a):e,u=c.get(Dr,null);if(u===null)throw new w(407,!1);let l=c.get(sC,null),d=c.get(vr,null),h={rendererFactory:u,sanitizer:l,inlineEffectRunner:null,changeDetectionScheduler:d},f=u.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",m=n?gI(f,n,this.componentDef.encapsulation,c):fg(f,p,aC(p)),v=512;this.componentDef.signals?v|=4096:this.componentDef.onPush||(v|=16);let y=null;m!==null&&(y=al(m,c,!0));let b=ml(0,null,null,1,0,null,null,null,null,null,null),G=Vs(null,b,null,v,null,null,h,f,c,null,y);Qu(G);let $,oe,ve=null;try{let te=this.componentDef,Et,jr=null;te.findHostDirectiveDefs?(Et=[],jr=new Map,te.findHostDirectiveDefs(te,Et,jr),Et.push(te)):Et=[te];let vn=cC(G,m);ve=uC(vn,m,te,Et,G,h,f),oe=zu(b,ce),m&&fC(f,te,m,n),r!==void 0&&hC(oe,this.ngContentSelectors,r),$=dC(ve,te,Et,jr,G,[pC]),wl(b,G,null)}catch(te){throw ve!==null&&Wc(ve),Wc(G),te}finally{Ku()}return new uu(this.componentType,$,Ir(oe,G),G,oe)}finally{L(i)}}},uu=class extends au{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 kn(o,void 0,!1),this.componentType=e}setInput(e,r){var i;let n=this._tNode.inputs,o;if(n!==null&&(o=n[e])){if((i=this.previousInputValues)!=null||(this.previousInputValues=new Map),this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let s=this._rootLView;yl(s[N],s,o,e,r),this.previousInputValues.set(e,r);let a=un(this._tNode.index,s);El(a,1)}}get injector(){return new Sn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function cC(t,e){let r=t[N],n=ce;return t[n]=e,Cr(r,n,2,"#host",null)}function uC(t,e,r,n,o,i,s){let a=o[N];lC(n,t,e,s);let c=null;e!==null&&(c=al(e,o[hr]));let u=i.rendererFactory.createRenderer(e,r),l=16;r.signals?l=4096:r.onPush&&(l=64);let d=Vs(o,xg(r),null,l,o[t.index],t,i,u,null,null,c);return a.firstCreatePass&&ou(a,t,n.length-1),Us(o,d),o[t.index]=d}function lC(t,e,r,n){for(let o of t)e.mergedAttrs=Kr(e.mergedAttrs,o.hostAttrs);e.mergedAttrs!==null&&(rs(e,e.mergedAttrs,!0),r!==null&&Ig(n,r,e))}function dC(t,e,r,n,o,i){let s=me(),a=o[N],c=qe(s,o);_g(a,o,s,r,null,n);for(let l=0;l<r.length;l++){let d=s.directiveStart+l,h=Pn(o,a,d,s);sn(h,o)}Ng(a,o,s),c&&sn(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 hl(a,s,o),u}function fC(t,e,r,n){if(n)Ac(t,r,["ng-version","18.2.9"]);else{let{attrs:o,classes:i}=ew(e.selectors[0]);o&&Ac(t,r,o),i&&i.length>0&&Eg(t,r,i.join(" "))}}function hC(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 pC(){let t=me();Rs(T()[N],t)}var ot=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=gC;let t=e;return t})();function gC(){let t=me();return Wg(t,T())}var mC=ot,qg=class extends mC{constructor(e,r,n){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Ir(this._hostTNode,this._hostLView)}get injector(){return new Sn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Ju(this._hostTNode,this._hostLView);if(Np(e)){let r=Zi(e,this._hostLView),n=Wi(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=gh(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-we}createEmbeddedView(e,r,n){let o,i;typeof n=="number"?o=n:n!=null&&(o=n.index,i=n.injector);let s=mr(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},i,s);return this.insertImpl(a,o,gr(this._hostTNode,s)),a}createComponent(e,r,n,o,i){var p,m,v;let s=e&&!mw(e),a;if(s)a=r;else{let y=r||{};a=y.index,n=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef}let c=s?e:new Fn(St(e)),u=n||this.parentInjector;if(!i&&c.ngModule==null){let b=(s?u:this.parentInjector).get(Me,null);b&&(i=b)}let l=St((p=c.componentType)!=null?p:{}),d=mr(this._lContainer,(m=l==null?void 0:l.id)!=null?m:null),h=(v=d==null?void 0:d.firstChild)!=null?v:null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,gr(this._hostTNode,d)),f}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let o=e._lView;if(Cw(o)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let c=o[Ee],u=new qg(c,c[Pe],c[Ee]);u.detach(u.indexOf(e))}}let i=this._adjustIndex(r),s=this._lContainer;return fo(s,o,i,n),e.attachToViewContainerRef(),$h(Ec(s),i,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=gh(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=eo(this._lContainer,r);n&&(Hi(Ec(this._lContainer),r),Fs(n[N],n))}detach(e){let r=this._adjustIndex(e,-1),n=eo(this._lContainer,r);return n&&Hi(Ec(this._lContainer),r)!=null?new kn(n):null}_adjustIndex(e,r=0){return e==null?this.length+r:e}};function gh(t){return t[Gi]}function Ec(t){return t[Gi]||(t[Gi]=[])}function Wg(t,e){let r,n=e[t.index];return Ot(n)?r=n:(r=Ag(n,e,null,t),e[t.index]=r,Us(e,r)),yC(r,e,t,n),new qg(r,t,e)}function vC(t,e){let r=t[J],n=r.createComment(""),o=qe(e,t),i=vg(r,o);return es(r,i,n,oI(r,o),!1),n}var yC=EC,DC=()=>!1;function wC(t,e,r){return DC(t,e,r)}function EC(t,e,r,n){if(t[Nn])return;let o;r.type&8?o=gt(n):o=vC(e,r),t[Nn]=o}var lu=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},du=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++)Cl(e,r).matches!==null&&this.queries[r].setDirty()}},is=class{constructor(e,r,n=null){this.flags=r,this.read=n,typeof e=="string"?this.predicate=_C(e):this.predicate=e}},fu=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)}},hu=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,IC(r,i)),this.matchTNodeWithReadOption(e,r,Vi(r,e,i,!1,!1))}else n===Nt?r.type&4&&this.matchTNodeWithReadOption(e,r,-1):this.matchTNodeWithReadOption(e,r,Vi(r,e,n,!1,!1))}matchTNodeWithReadOption(e,r,n){if(n!==null){let o=this.metadata.read;if(o!==null)if(o===We||o===ot||o===Nt&&r.type&4)this.addMatch(r.index,-2);else{let i=Vi(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 IC(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 CC(t,e){return t.type&11?Ir(t,e):t.type&4?Bs(t,e):null}function bC(t,e,r,n){return r===-1?CC(e,t):r===-2?MC(t,e,n):Pn(t,t[N],r,e)}function MC(t,e,r){if(r===We)return Ir(e,t);if(r===Nt)return Bs(e,t);if(r===ot)return Wg(e,t)}function Zg(t,e,r,n){let o=e[tt].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(bC(e,l,s[c+1],r.metadata.read))}}o.matches=a}return o.matches}function pu(t,e,r,n){let o=t.queries.getByIndex(r),i=o.matches;if(i!==null){let s=Zg(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=we;d<l.length;d++){let h=l[d];h[_n]===h[Ee]&&pu(h[N],h,u,n)}if(l[pr]!==null){let d=l[pr];for(let h=0;h<d.length;h++){let f=d[h];pu(f[N],f,u,n)}}}}}return n}function SC(t,e){return t[tt].queries[e].queryList}function Yg(t,e,r){var i;let n=new qc((r&4)===4);return yI(t,e,n,n.destroy),((i=e[tt])!=null?i:e[tt]=new du).queries.push(new lu(n))-1}function TC(t,e,r){let n=ee();return n.firstCreatePass&&(Qg(n,new is(t,e,r),-1),(e&2)===2&&(n.staticViewQueries=!0)),Yg(n,T(),e)}function xC(t,e,r,n){let o=ee();if(o.firstCreatePass){let i=me();Qg(o,new is(e,r,n),i.index),NC(o,t),(r&2)===2&&(o.staticContentQueries=!0)}return Yg(o,T(),r)}function _C(t){return t.split(",").map(e=>e.trim())}function Qg(t,e,r){t.queries===null&&(t.queries=new fu),t.queries.track(new hu(e,r))}function NC(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 Cl(t,e){return t.queries.getByIndex(e)}function AC(t,e){let r=t[N],n=Cl(r,e);return n.crossesNgTemplate?pu(r,t,e,[]):Zg(r,t,n,e)}var mh=new Set;function Dt(t){var e;mh.has(t)||(mh.add(t),(e=performance==null?void 0:performance.mark)==null||e.call(performance,"mark_feature_usage",{detail:{feature:t}}))}function RC(t){return typeof t=="function"&&t[It]!==void 0}function VF(t,e){Dt("NgSignals");let r=af(t),n=r[It];return e!=null&&e.equal&&(n.equal=e.equal),r.set=o=>Ya(n,o),r.update=o=>cf(n,o),r.asReadonly=OC.bind(r),r}function OC(){let t=this[It];if(t.readonlyFn===void 0){let e=()=>this();e[It]=t,t.readonlyFn=e}return t.readonlyFn}function Kg(t){return RC(t)&&typeof t.set=="function"}function PC(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(jC))}return i}return ss.forEach((o,i)=>{var u,l;let s=[];o.templateUrl&&s.push(n(o.templateUrl).then(d=>{o.template=d}));let a=typeof o.styles=="string"?[o.styles]:o.styles||[];if(o.styles=a,o.styleUrl&&((u=o.styleUrls)!=null&&u.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((l=o.styleUrls)!=null&&l.length){let d=o.styles.length,h=o.styleUrls;o.styleUrls.forEach((f,p)=>{a.push(""),s.push(n(f).then(m=>{a[d+p]=m,h.splice(h.indexOf(f),1),h.length==0&&(o.styleUrls=void 0)}))})}else o.styleUrl&&s.push(n(o.styleUrl).then(d=>{a.push(d),o.styleUrl=void 0}));let c=Promise.all(s).then(()=>VC(i));e.push(c)}),FC(),Promise.all(e).then(()=>{})}var ss=new Map,kC=new Set;function FC(){let t=ss;return ss=new Map,t}function LC(){return ss.size===0}function jC(t){return typeof t=="string"?t:t.text()}function VC(t){kC.delete(t)}function $C(t){return Object.getPrototypeOf(t.prototype).constructor}function UC(t){let e=$C(t.type),r=!0,n=[t];for(;e;){let o;if(Tt(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=Ri(t.inputs),s.inputTransforms=Ri(t.inputTransforms),s.declaredInputs=Ri(t.declaredInputs),s.outputs=Ri(t.outputs);let a=o.hostBindings;a&&qC(t,a);let c=o.viewQuery,u=o.contentQueries;if(c&&zC(t,c),u&&GC(t,u),BC(t,o),yD(t.outputs,o.outputs),Tt(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===UC&&(r=!1)}}e=Object.getPrototypeOf(e)}HC(n)}function BC(t,e){var r;for(let n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;let o=e.inputs[n];if(o!==void 0&&(t.inputs[n]=o,t.declaredInputs[n]=e.declaredInputs[n],e.inputTransforms!==null)){let i=Array.isArray(o)?o[0]:o;if(!e.inputTransforms.hasOwnProperty(i))continue;(r=t.inputTransforms)!=null||(t.inputTransforms={}),t.inputTransforms[i]=e.inputTransforms[i]}}}function HC(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=Kr(o.hostAttrs,r=Kr(r,o.hostAttrs))}}function Ri(t){return t===Mt?{}:t===Ne?[]:t}function zC(t,e){let r=t.viewQuery;r?t.viewQuery=(n,o)=>{e(n,o),r(n,o)}:t.viewQuery=e}function GC(t,e){let r=t.contentQueries;r?t.contentQueries=(n,o,i)=>{e(n,o,i),r(n,o,i)}:t.contentQueries=e}function qC(t,e){let r=t.hostBindings;r?t.hostBindings=(n,o)=>{e(n,o),r(n,o)}:t.hostBindings=e}function $F(t){let e=r=>{let n=(Array.isArray(t)?t:t()).map(o=>typeof o=="function"?{directive:pe(o),inputs:Mt,outputs:Mt}:{directive:pe(o.directive),inputs:vh(o.inputs),outputs:vh(o.outputs)});r.hostDirectives===null?(r.findHostDirectiveDefs=Jg,r.hostDirectives=n):r.hostDirectives.unshift(...n)};return e.ngInherit=!0,e}function Jg(t,e,r){if(t.hostDirectives!==null)for(let n of t.hostDirectives){let o=$u(n.directive);WC(o.declaredInputs,n.inputs),Jg(o,e,r),r.set(o,n),e.push(o)}}function vh(t){if(t===void 0||t.length===0)return Mt;let e={};for(let r=0;r<t.length;r+=2)e[t[r]]=t[r+1];return e}function WC(t,e){for(let r in e)if(e.hasOwnProperty(r)){let n=e[r],o=t[r];t[n]=o}}function Hs(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 an=class{},to=class{};var as=class extends an{constructor(e,r,n,o=!0){super(),this.ngModuleType=e,this._parent=r,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new os(this);let i=Qh(e);this._bootstrapComponents=lg(i.bootstrap),this._r3Injector=Vp(e,r,[{provide:an,useValue:this},{provide:yr,useValue:this.componentFactoryResolver},...n],be(e),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}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)}},cs=class extends to{constructor(e){super(),this.moduleType=e}create(e){return new as(this.moduleType,e,[])}};function ZC(t,e,r){return new as(t,e,r,!1)}var gu=class extends an{constructor(e){super(),this.componentFactoryResolver=new os(this),this.instance=null;let r=new Jr([...e.providers,{provide:an,useValue:this},{provide:yr,useValue:this.componentFactoryResolver}],e.parent||Cs(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function zs(t,e,r=null){return new gu({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function Xg(t){return bl(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function YC(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 bl(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function ho(t,e,r){return t[e]=r}function QC(t,e){return t[e]}function Re(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function no(t,e,r,n){let o=Re(t,e,r);return Re(t,e+1,n)||o}function em(t,e,r,n,o){let i=no(t,e,r,n);return Re(t,e+2,o)||i}function KC(t,e,r,n,o,i){let s=no(t,e,r,n);return no(t,e+2,o,i)||s}function JC(t){return(t.flags&32)===32}function XC(t,e,r,n,o,i,s,a,c){let u=e.consts,l=Cr(e,t,4,s||null,a||null);vl(e,r,l,on(u,c)),Rs(e,l);let d=l.tView=ml(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 us(t,e,r,n,o,i,s,a,c,u){let l=r+ce,d=e.firstCreatePass?XC(l,e,t,n,o,i,s,a,c):e.data[l];jn(d,!1);let h=tb(e,t,d,r);Ns()&&Ls(e,t,h,d),sn(h,t);let f=Ag(h,t,h,d);return t[l]=f,Us(t,f),wC(f,d,t),Ss(d)&&pl(e,t,d),c!=null&&gl(t,d,u),d}function eb(t,e,r,n,o,i,s,a){let c=T(),u=ee(),l=on(u.consts,i);return us(c,u,t,e,r,n,o,l,s,a),eb}var tb=nb;function nb(t,e,r,n){return As(!0),e[J].createComment("")}var sr=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(sr||{}),tm=(()=>{let e=class e{constructor(){this.impl=null}execute(){var n;(n=this.impl)==null||n.execute()}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})(),Mn=class Mn{constructor(){this.ngZone=g(z),this.scheduler=g(vr),this.errorHandler=g(xt,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}execute(){var e;this.executing=!0;for(let r of Mn.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[r]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[r](n.pipelinedValue))}catch(o){n.erroredOrDestroyed=!0,(e=this.errorHandler)==null||e.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}};Mn.PHASES=[sr.EarlyRead,sr.Write,sr.MixedReadWrite,sr.Read],Mn.\u0275prov=I({token:Mn,providedIn:"root",factory:()=>new Mn});var mu=Mn,vu=class{constructor(e,r,n,o){this.impl=e,this.hooks=r,this.once=n,this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.unregisterOnDestroy=o==null?void 0:o.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0}destroy(){var e;this.impl.unregister(this),(e=this.unregisterOnDestroy)==null||e.call(this)}};function rb(t,e){var n;!(e!=null&&e.injector)&&op(rb);let r=(n=e==null?void 0:e.injector)!=null?n:g(Ae);return dg(r)?(Dt("NgAfterRender"),nm(t,r,e,!1)):rm}function Ml(t,e){var n;!(e!=null&&e.injector)&&op(Ml);let r=(n=e==null?void 0:e.injector)!=null?n:g(Ae);return dg(r)?(Dt("NgAfterNextRender"),nm(t,r,e,!0)):rm}function ob(t,e){if(t instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[e]=t,r}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function nm(t,e,r,n){var c,u;let o=e.get(tm);(c=o.impl)!=null||(o.impl=e.get(mu));let i=(u=r==null?void 0:r.phase)!=null?u:sr.MixedReadWrite,s=(r==null?void 0:r.manualCleanup)!==!0?e.get(tl):null,a=new vu(o.impl,ob(t,i),n,s);return o.impl.register(a),a}var rm={destroy(){}};function Sl(t,e,r,n){let o=T(),i=ln();if(Re(o,i,e)){let s=ee(),a=co();OI(a,o,t,e,r,n)}return Sl}function om(t,e,r,n){return Re(t,ln(),r)?e+ft(r)+n:Se}function ib(t,e,r,n,o,i){let s=wp(),a=no(t,s,r,o);return _s(2),a?e+ft(r)+n+ft(o)+i:Se}function sb(t,e,r,n,o,i,s,a){let c=wp(),u=em(t,c,r,o,s);return _s(3),u?e+ft(r)+n+ft(o)+i+ft(s)+a:Se}function Oi(t,e){return t<<17|e<<2}function Ln(t){return t>>17&32767}function ab(t){return(t&2)==2}function cb(t,e){return t&131071|e<<17}function yu(t){return t|2}function wr(t){return(t&131068)>>2}function Ic(t,e){return t&-131069|e<<2}function ub(t){return(t&1)===1}function Du(t){return t|1}function lb(t,e,r,n,o,i){let s=i?e.classBindings:e.styleBindings,a=Ln(s),c=wr(s);t[n]=r;let u=!1,l;if(Array.isArray(r)){let d=r;l=d[1],(l===null||so(d,l)>0)&&(u=!0)}else l=r;if(o)if(c!==0){let h=Ln(t[a+1]);t[n+1]=Oi(h,a),h!==0&&(t[h+1]=Ic(t[h+1],n)),t[a+1]=cb(t[a+1],n)}else t[n+1]=Oi(a,0),a!==0&&(t[a+1]=Ic(t[a+1],n)),a=n;else t[n+1]=Oi(c,0),a===0?a=n:t[c+1]=Ic(t[c+1],n),c=n;u&&(t[n+1]=yu(t[n+1])),yh(t,l,n,!0),yh(t,l,n,!1),db(e,l,t,n,i),s=Oi(a,c),i?e.classBindings=s:e.styleBindings=s}function db(t,e,r,n,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof e=="string"&&so(i,e)>=0&&(r[n+1]=Du(r[n+1]))}function yh(t,e,r,n){let o=t[r+1],i=e===null,s=n?Ln(o):wr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],u=t[s+1];fb(c,e)&&(a=!0,t[s+1]=n?Du(u):yu(u)),s=n?Ln(u):wr(u)}a&&(t[r+1]=n?yu(o):Du(o))}function fb(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?so(t,e)>=0:!1}var Xe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function hb(t){return t.substring(Xe.key,Xe.keyEnd)}function pb(t){return gb(t),im(t,sm(t,0,Xe.textEnd))}function im(t,e){let r=Xe.textEnd;return r===e?-1:(e=Xe.keyEnd=mb(t,Xe.key=e,r),sm(t,e,r))}function gb(t){Xe.key=0,Xe.keyEnd=0,Xe.value=0,Xe.valueEnd=0,Xe.textEnd=t.length}function sm(t,e,r){for(;e<r&&t.charCodeAt(e)<=32;)e++;return e}function mb(t,e,r){for(;e<r&&t.charCodeAt(e)>32;)e++;return e}function vb(t,e,r){let n=T(),o=ln();if(Re(n,o,e)){let i=ee(),s=co();$s(i,s,n,t,e,n[J],r,!1)}return vb}function wu(t,e,r,n,o){let i=e.inputs,s=o?"class":"style";yl(t,r,i[s],s,n)}function Tl(t,e,r){return cm(t,e,r,!1),Tl}function yb(t,e){return cm(t,e,null,!0),yb}function UF(t){um(bb,am,t,!0)}function am(t,e){for(let r=pb(e);r>=0;r=im(e,r))ws(t,hb(e),!0)}function cm(t,e,r,n){let o=T(),i=ee(),s=_s(2);if(i.firstUpdatePass&&dm(i,t,s,n),e!==Se&&Re(o,s,e)){let a=i.data[yt()];fm(i,a,o,o[J],t,o[s+1]=Sb(e,r),n,s)}}function um(t,e,r,n){let o=ee(),i=_s(2);o.firstUpdatePass&&dm(o,null,i,n);let s=T();if(r!==Se&&Re(s,i,r)){let a=o.data[yt()];if(hm(a,n)&&!lm(o,i)){let c=n?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(r=Tc(c,r||"")),wu(o,a,s,r,n)}else Mb(o,a,s,s[J],s[i+1],s[i+1]=Cb(t,e,r),n,i)}}function lm(t,e){return e>=t.expandoStartIndex}function dm(t,e,r,n){let o=t.data;if(o[r+1]===null){let i=o[yt()],s=lm(t,r);hm(i,n)&&e===null&&!s&&(e=!1),e=Db(o,i,e,n),lb(o,i,e,r,s,n)}}function Db(t,e,r,n){let o=Ep(t),i=n?e.residualClasses:e.residualStyles;if(o===null)(n?e.classBindings:e.styleBindings)===0&&(r=Cc(null,t,e,r,n),r=ro(r,e.attrs,n),i=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==o)if(r=Cc(o,t,e,r,n),i===null){let c=wb(t,e,n);c!==void 0&&Array.isArray(c)&&(c=Cc(null,t,e,c[1],n),c=ro(c,e.attrs,n),Eb(t,e,n,c))}else i=Ib(t,e,n)}return i!==void 0&&(n?e.residualClasses=i:e.residualStyles=i),r}function wb(t,e,r){let n=r?e.classBindings:e.styleBindings;if(wr(n)!==0)return t[Ln(n)]}function Eb(t,e,r,n){let o=r?e.classBindings:e.styleBindings;t[Ln(o)]=n}function Ib(t,e,r){let n,o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i<o;i++){let s=t[i].hostAttrs;n=ro(n,s,r)}return ro(n,e.attrs,r)}function Cc(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=ro(n,i.hostAttrs,o),i!==t);)a++;return t!==null&&(r.directiveStylingLast=a),n}function ro(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]),ws(t,s,r?!0:e[++i]))}return t===void 0?null:t}function Cb(t,e,r){if(r==null||r==="")return Ne;let n=[],o=Le(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 bb(t,e,r){let n=String(e);n!==""&&!n.includes(" ")&&ws(t,n,r)}function Mb(t,e,r,n,o,i,s,a){o===Se&&(o=Ne);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 h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,p=null,m;l===d?(c+=2,u+=2,h!==f&&(p=d,m=f)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,m=f),p!==null&&fm(t,e,r,n,p,m,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=ub(u)?Dh(c,e,r,o,wr(u),s):void 0;if(!ls(l)){ls(i)||ab(u)&&(i=Dh(c,null,r,o,a,s));let d=dp(yt(),r);lI(n,s,d,o,i)}}function Dh(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,h=r[o+1];h===Se&&(h=d?Ne:void 0);let f=d?hc(h,n):l===n?h:void 0;if(u&&!ls(f)&&(f=hc(c,n)),ls(f)&&(a=f,s))return a;let p=t[o+1];o=s?Ln(p):wr(p)}if(e!==null){let c=i?e.residualClasses:e.residualStyles;c!=null&&(a=hc(c,n))}return a}function ls(t){return t!==void 0}function Sb(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=be(Le(t)))),t}function hm(t,e){return(t.flags&(e?8:16))!==0}function BF(t,e,r){let n=T(),o=om(n,t,e,r);um(ws,am,o,!0)}var Eu=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 bc(t,e,r,n,o){return t===r&&Object.is(e,n)?1:Object.is(o(t,e),o(r,n))?-1:0}function Tb(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=bc(i,u,i,l,r);if(d!==0){d<0&&t.updateValue(i,l),i++;continue}let h=t.at(s),f=e[c],p=bc(s,h,c,f,r);if(p!==0){p<0&&t.updateValue(s,f),s--,c--;continue}let m=r(i,u),v=r(s,h),y=r(i,l);if(Object.is(y,v)){let b=r(c,f);Object.is(b,m)?(t.swap(i,s),t.updateValue(s,f),c--,s--):t.move(s,i),t.updateValue(i,l),i++;continue}if(n!=null||(n=new ds),o!=null||(o=Eh(t,i,s,r)),Iu(t,n,i,y))t.updateValue(i,l),i++,s++;else if(o.has(y))n.set(m,t.detach(i)),s--;else{let b=t.create(i,e[i]);t.attach(i,b),i++,s++}}for(;i<=c;)wh(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,h=bc(i,l,i,d,r);if(h!==0)h<0&&t.updateValue(i,d),i++,u=c.next();else{n!=null||(n=new ds),o!=null||(o=Eh(t,i,s,r));let f=r(i,d);if(Iu(t,n,i,f))t.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))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;)wh(t,n,r,t.length,u.value),u=c.next()}for(;i<=s;)t.destroy(t.detach(s--));n==null||n.forEach(c=>{t.destroy(c)})}function Iu(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function wh(t,e,r,n,o){if(Iu(t,e,n,r(n,o)))t.updateValue(n,o);else{let i=t.create(n,o);t.attach(n,i)}}function Eh(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 ds=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 HF(t,e){Dt("NgControlFlow");let r=T(),n=ln(),o=r[n]!==Se?r[n]:-1,i=o!==-1?fs(r,ce+o):void 0,s=0;if(Re(r,n,t)){let a=L(null);try{if(i!==void 0&&Lg(i,s),t!==-1){let c=ce+t,u=fs(r,c),l=Su(r[N],c),d=mr(u,l.tView.ssrId),h=lo(r,l,e,{dehydratedView:d});fo(u,h,s,gr(l,d))}}finally{L(a)}}else if(i!==void 0){let a=Fg(i,s);a!==void 0&&(a[De]=e)}}var Cu=class{constructor(e,r,n){this.lContainer=e,this.$implicit=r,this.$index=n}get $count(){return this.lContainer.length-we}};function zF(t){return t}var bu=class{constructor(e,r,n){this.hasEmptyBlock=e,this.trackByFn=r,this.liveCollection=n}};function GF(t,e,r,n,o,i,s,a,c,u,l,d,h){Dt("NgControlFlow");let f=T(),p=ee(),m=c!==void 0,v=T(),y=a?s.bind(v[Fe][De]):s,b=new bu(m,y);v[ce+t]=b,us(f,p,t+1,e,r,n,o,on(p.consts,i)),m&&us(f,p,t+2,c,u,l,d,on(p.consts,h))}var Mu=class extends Eu{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-we}at(e){return this.getLView(e)[De].$implicit}attach(e,r){let n=r[fr];this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length),fo(this.lContainer,r,e,gr(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length-1),xb(this.lContainer,e)}create(e,r){var i;let n=mr(this.lContainer,this.templateTNode.tView.ssrId),o=lo(this.hostLView,this.templateTNode,new Cu(this.lContainer,r,e),{dehydratedView:n});return(i=this.operationsCounter)==null||i.recordCreate(),o}destroy(e){var r;Fs(e[N],e),(r=this.operationsCounter)==null||r.recordDestroy()}updateValue(e,r){this.getLView(e)[De].$implicit=r}reset(){var e;this.needsIndexUpdate=!1,(e=this.operationsCounter)==null||e.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[De].$index=e}getLView(e){return _b(this.lContainer,e)}};function qF(t){let e=L(null),r=yt();try{let o=T(),i=o[N],s=o[r],a=r+1,c=fs(o,a);if(s.liveCollection===void 0){let l=Su(i,a);s.liveCollection=new Mu(c,o,l)}else s.liveCollection.reset();let u=s.liveCollection;if(Tb(u,t,s.trackByFn),u.updateIndexes(),s.hasEmptyBlock){let l=ln(),d=u.length===0;if(Re(o,l,d)){let h=r+2,f=fs(o,h);if(d){let p=Su(i,h),m=mr(f,p.tView.ssrId),v=lo(o,p,void 0,{dehydratedView:m});fo(f,v,0,gr(p,m))}else Lg(f,0)}}}finally{L(e)}}function fs(t,e){return t[e]}function xb(t,e){return eo(t,e)}function _b(t,e){return Fg(t,e)}function Su(t,e){return zu(t,e)}function Nb(t,e,r,n,o,i){let s=e.consts,a=on(s,o),c=Cr(e,t,2,n,a);return vl(e,r,c,on(s,i)),c.attrs!==null&&rs(c,c.attrs,!1),c.mergedAttrs!==null&&rs(c,c.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,c),c}function pm(t,e,r,n){let o=T(),i=ee(),s=ce+t,a=o[J],c=i.firstCreatePass?Nb(s,i,o,e,r,n):i.data[s],u=Ab(i,o,c,a,e,t);o[s]=u;let l=Ss(c);return jn(c,!0),Ig(a,u,c),!JC(c)&&Ns()&&Ls(i,o,u,c),Sw()===0&&sn(u,o),Tw(),l&&(pl(i,o,c),hl(i,c,o)),n!==null&&gl(o,c),pm}function gm(){let t=me();Wu()?Zu():(t=t.parent,jn(t,!1));let e=t;_w(e)&&Nw(),xw();let r=ee();return r.firstCreatePass&&(Rs(r,t),Hu(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&Hw(e)&&wu(r,e,T(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&zw(e)&&wu(r,e,T(),e.stylesWithoutHost,!1),gm}function xl(t,e,r,n){return pm(t,e,r,n),gm(),xl}var Ab=(t,e,r,n,o,i)=>(As(!0),fg(n,o,Vw()));function Rb(t,e,r,n,o){let i=e.consts,s=on(i,n),a=Cr(e,t,8,"ng-container",s);s!==null&&rs(a,s,!0);let c=on(i,o);return vl(e,r,a,c),e.queries!==null&&e.queries.elementStart(e,a),a}function Ob(t,e,r){let n=T(),o=ee(),i=t+ce,s=o.firstCreatePass?Rb(i,o,n,e,r):o.data[i];jn(s,!0);let a=kb(o,n,s,t);return n[i]=a,Ns()&&Ls(o,n,a,s),sn(a,n),Ss(s)&&(pl(o,n,s),hl(o,s,n)),r!=null&&gl(n,s),Ob}function Pb(){let t=me(),e=ee();return Wu()?Zu():(t=t.parent,jn(t,!1)),e.firstCreatePass&&(Rs(e,t),Hu(t)&&e.queries.elementEnd(t)),Pb}var kb=(t,e,r,n)=>(As(!0),QE(e[J],""));function WF(){return T()}function Fb(t,e,r){let n=T(),o=ln();if(Re(n,o,e)){let i=ee(),s=co();$s(i,s,n,t,e,n[J],r,!0)}return Fb}function Lb(t,e,r){let n=T(),o=ln();if(Re(n,o,e)){let i=ee(),s=co(),a=Ep(i.data),c=LI(a,s,n);$s(i,s,n,t,e,c,r,!0)}return Lb}var Cn=void 0;function jb(t){let e=t,r=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return r===1&&n===0?1:5}var Vb=["en",[["a","p"],["AM","PM"],Cn],[["AM","PM"],Cn,Cn],[["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"]],Cn,[["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"]],Cn,[["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}",Cn,"{1} 'at' {0}",Cn],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",jb],Zr={};function mm(t,e,r){typeof e!="string"&&(r=e,e=t[X.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),Zr[e]=t,r&&(Zr[e][X.ExtraData]=r)}function je(t){let e=$b(t),r=Ih(e);if(r)return r;let n=e.split("-")[0];if(r=Ih(n),r)return r;if(n==="en")return Vb;throw new w(701,!1)}function Ih(t){return t in Zr||(Zr[t]=he.ng&&he.ng.common&&he.ng.common.locales&&he.ng.common.locales[t]),Zr[t]}var X=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}(X||{});function $b(t){return t.toLowerCase().replace(/_/g,"-")}var hs="en-US";var Ub=hs;function Bb(t){typeof t=="string"&&(Ub=t.toLowerCase().replace(/_/g,"-"))}var Hb=(t,e,r)=>{};function _l(t,e,r,n){let o=T(),i=ee(),s=me();return vm(i,o,o[J],s,t,e,n),_l}function zb(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[cr],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function vm(t,e,r,n,o,i,s){let a=Ss(n),u=t.firstCreatePass&&Pg(t),l=e[De],d=Og(e),h=!0;if(n.type&3||s){let m=qe(n,e),v=s?s(m):m,y=d.length,b=s?$=>s(gt($[n.index])):n.index,G=null;if(!s&&a&&(G=zb(t,e,o,n.index)),G!==null){let $=G.__ngLastListenerFn__||G;$.__ngNextListenerFn__=i,G.__ngLastListenerFn__=i,h=!1}else{i=bh(n,e,l,i),Hb(m,o,i);let $=r.listen(v,o,i);d.push(i,$),u&&u.push(o,b,y,y+1)}}else i=bh(n,e,l,i);let f=n.outputs,p;if(h&&f!==null&&(p=f[o])){let m=p.length;if(m)for(let v=0;v<m;v+=2){let y=p[v],b=p[v+1],oe=e[y][b].subscribe(i),ve=d.length;d.push(i,oe),u&&u.push(o,n.index,ve,-(ve+1))}}}function Ch(t,e,r,n){let o=L(null);try{return lt(6,e,r),r(n)!==!1}catch(i){return kg(t,i),!1}finally{lt(7,e,r),L(o)}}function bh(t,e,r,n){return function o(i){if(i===Function)return n;let s=t.componentOffset>-1?un(t.index,e):e;El(s,5);let a=Ch(e,r,n,i),c=o.__ngNextListenerFn__;for(;c;)a=Ch(e,r,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function ZF(t=1){return jw(t)}function Gb(t,e){let r=null,n=ZD(t);for(let o=0;o<e.length;o++){let i=e[o];if(i==="*"){r=o;continue}if(n===null?qh(t,i,!0):KD(n,i))return o}return r}function YF(t){let e=T()[Fe][Pe];if(!e.projection){let r=t?t.length:1,n=e.projection=VD(r,null),o=n.slice(),i=e.child;for(;i!==null;){if(i.type!==128){let s=t?Gb(i,t):0;s!==null&&(o[s]?o[s].projectionNext=i:n[s]=i,o[s]=i)}i=i.next}}}function QF(t,e=0,r,n,o,i){let s=T(),a=ee(),c=n?t+1:null;c!==null&&us(s,a,c,n,o,i,null,r);let u=Cr(a,ce+t,16,null,r||null);u.projection===null&&(u.projection=e),Zu();let d=!s[fr]||vp();s[Fe][Pe].projection[u.projection]===null&&c!==null?qb(s,a,c):d&&(u.flags&32)!==32&&cI(a,s,u)}function qb(t,e,r){let n=ce+r,o=e.data[n],i=t[n],s=mr(i,o.tView.ssrId),a=lo(t,o,void 0,{dehydratedView:s});fo(i,a,0,gr(o,s))}function ym(t,e,r,n){xC(t,e,r,n)}function KF(t,e,r){TC(t,e,r)}function Dm(t){let e=T(),r=ee(),n=Ip();Yu(n+1);let o=Cl(r,n);if(t.dirty&&Iw(e)===((o.metadata.flags&2)===2)){if(o.matches===null)t.reset([]);else{let i=AC(e,n);t.reset(i,fE),t.notifyOnChanges()}return!0}return!1}function wm(){return SC(T(),Ip())}function Wb(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function JF(t){let e=Rw();return Gu(e,ce+t)}function XF(t,e=""){let r=T(),n=ee(),o=t+ce,i=n.firstCreatePass?Cr(n,o,1,e,null):n.data[o],s=Zb(n,r,i,e,t);r[o]=s,Ns()&&Ls(n,r,s,i),jn(i,!1)}var Zb=(t,e,r,n,o)=>(As(!0),ZE(e[J],n));function Yb(t){return Em("",t,""),Yb}function Em(t,e,r){let n=T(),o=om(n,t,e,r);return o!==Se&&Dl(n,yt(),o),Em}function Qb(t,e,r,n,o){let i=T(),s=ib(i,t,e,r,n,o);return s!==Se&&Dl(i,yt(),s),Qb}function Kb(t,e,r,n,o,i,s){let a=T(),c=sb(a,t,e,r,n,o,i,s);return c!==Se&&Dl(a,yt(),c),Kb}function Jb(t,e,r){Kg(e)&&(e=e());let n=T(),o=ln();if(Re(n,o,e)){let i=ee(),s=co();$s(i,s,n,t,e,n[J],r,!1)}return Jb}function e1(t,e){let r=Kg(t);return r&&t.set(e),r}function Xb(t,e){let r=T(),n=ee(),o=me();return vm(n,r,r[J],o,t,e),Xb}function eM(t,e,r){let n=ee();if(n.firstCreatePass){let o=Tt(t);Tu(r,n.data,n.blueprint,o,!0),Tu(e,n.data,n.blueprint,o,!1)}}function Tu(t,e,r,n,o){if(t=pe(t),Array.isArray(t))for(let i=0;i<t.length;i++)Tu(t[i],e,r,n,o);else{let i=ee(),s=T(),a=me(),c=dr(t)?t:pe(t.provide),u=np(t),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(dr(t)||!t.multi){let f=new On(u,o,j),p=Sc(c,e,o?l:l+h,d);p===-1?(Uc(Qi(a,s),i,c),Mc(i,t,e.length),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(f),s.push(f)):(r[p]=f,s[p]=f)}else{let f=Sc(c,e,l+h,d),p=Sc(c,e,l,l+h),m=f>=0&&r[f],v=p>=0&&r[p];if(o&&!v||!o&&!m){Uc(Qi(a,s),i,c);let y=rM(o?nM:tM,r.length,o,n,u);!o&&v&&(r[p].providerFactory=y),Mc(i,t,e.length,0),e.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),r.push(y),s.push(y)}else{let y=Im(r[o?p:f],u,!o&&n);Mc(i,t,f>-1?f:p,y)}!o&&n&&v&&r[p].componentProviders++}}}function Mc(t,e,r,n){let o=dr(e),i=cw(e);if(o||i){let c=(i?pe(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 Im(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function Sc(t,e,r,n){for(let o=r;o<n;o++)if(e[o]===t)return o;return-1}function tM(t,e,r,n){return xu(this.multi,[])}function nM(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),xu(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],xu(o,i);return i}function xu(t,e){for(let r=0;r<t.length;r++){let n=t[r];e.push(n())}return e}function rM(t,e,r,n,o){let i=new On(t,r,j);return i.multi=[],i.index=e,i.componentProviders=0,Im(i,o,n&&!r),i}function t1(t,e=[]){return r=>{r.providersResolver=(n,o)=>eM(n,o?o(t):t,e)}}var oM=(()=>{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=Xh(!1,n.type),i=o.length>0?zs([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(Me))});let t=e;return t})();function Cm(t){Dt("NgStandalone"),t.getStandaloneInjector=e=>e.get(oM).getOrCreateStandaloneInjector(t)}function n1(t,e,r){let n=Vn()+t,o=T();return o[n]===Se?ho(o,n,r?e.call(r):e()):QC(o,n)}function r1(t,e,r,n){return bm(T(),Vn(),t,e,r,n)}function o1(t,e,r,n,o){return Mm(T(),Vn(),t,e,r,n,o)}function i1(t,e,r,n,o,i){return iM(T(),Vn(),t,e,r,n,o,i)}function s1(t,e,r,n,o,i,s){return sM(T(),Vn(),t,e,r,n,o,i,s)}function Gs(t,e){let r=t[e];return r===Se?void 0:r}function bm(t,e,r,n,o,i){let s=e+r;return Re(t,s,o)?ho(t,s+1,i?n.call(i,o):n(o)):Gs(t,s+1)}function Mm(t,e,r,n,o,i,s){let a=e+r;return no(t,a,o,i)?ho(t,a+2,s?n.call(s,o,i):n(o,i)):Gs(t,a+2)}function iM(t,e,r,n,o,i,s,a){let c=e+r;return em(t,c,o,i,s)?ho(t,c+3,a?n.call(a,o,i,s):n(o,i,s)):Gs(t,c+3)}function sM(t,e,r,n,o,i,s,a,c){let u=e+r;return KC(t,u,o,i,s,a)?ho(t,u+4,c?n.call(c,o,i,s,a):n(o,i,s,a)):Gs(t,u+4)}function a1(t,e){var c;let r=ee(),n,o=t+ce;r.firstCreatePass?(n=aM(e,r.pipeRegistry),r.data[o]=n,n.onDestroy&&((c=r.destroyHooks)!=null?c:r.destroyHooks=[]).push(o,n.onDestroy)):n=r.data[o];let i=n.factory||(n.factory=xn(n.type,!0)),s,a=_e(j);try{let u=Yi(!1),l=i();return Yi(u),Wb(r,T(),o,l),l}finally{_e(a)}}function aM(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function c1(t,e,r){let n=t+ce,o=T(),i=Gu(o,n);return Sm(o,n)?bm(o,Vn(),e,i.transform,r,i):i.transform(r)}function u1(t,e,r,n){let o=t+ce,i=T(),s=Gu(i,o);return Sm(i,o)?Mm(i,Vn(),e,s.transform,r,n,s):s.transform(r,n)}function Sm(t,e){return t[N].data[e].pure}function l1(t,e){return Bs(t,e)}var Pi=null;function cM(t){Pi!==null&&(t.defaultEncapsulation!==Pi.defaultEncapsulation||t.preserveWhitespaces!==Pi.preserveWhitespaces)||(Pi=t)}var qs=(()=>{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 Nl=new E(""),po=new E(""),Ws=(()=>{let e=class e{constructor(n,o,i){this._ngZone=n,this.registry=o,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Yr||(uM(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:()=>{z.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(z),C(Zs),C(po))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Zs=(()=>{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){var i;return(i=Yr==null?void 0:Yr.findTestabilityInTree(this,n,o))!=null?i: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 uM(t){Yr=t}var Yr;function go(t){return!!t&&typeof t.then=="function"}function Tm(t){return!!t&&typeof t.subscribe=="function"}var Ys=new E(""),xm=(()=>{let e=class e{constructor(){var n;this.initialized=!1,this.done=!1,this.donePromise=new Promise((o,i)=>{this.resolve=o,this.reject=i}),this.appInits=(n=g(Ys,{optional:!0}))!=null?n:[]}runInitializers(){if(this.initialized)return;let n=[];for(let i of this.appInits){let s=i();if(go(s))n.push(s);else if(Tm(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})(),Qs=new E("");function lM(){sf(()=>{throw new w(600,!1)})}function dM(t){return t.isBoundToModule}var fM=10;function hM(t,e,r){try{let n=r();return go(n)?n.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}function _m(t,e){return Array.isArray(e)?e.reduce(_m,t):D(D({},t),e)}var Lt=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=g(lE),this.afterRenderManager=g(tm),this.zonelessEnabled=g(Il),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new ie,this.afterTick=new ie,this.componentTypes=[],this.components=[],this.isStable=g(Pt).hasPendingTasks.pipe(k(n=>!n)),this._injector=g(Me)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(o=>{n=this.isStable.subscribe({next:i=>{i&&o()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,o){let i=n instanceof ns;if(!this._injector.get(xm).done){let f=!i&&Yh(n),p=!1;throw new w(405,p)}let a;i?a=n:a=this._injector.get(yr).resolveComponentFactory(n),this.componentTypes.push(a.componentType);let c=dM(a)?void 0:this._injector.get(an),u=o||a.selector,l=a.create(Ae.NULL,[],u,c),d=l.location.nativeElement,h=l.injector.get(Nl,null);return h==null||h.registerApplication(d),l.onDestroy(()=>{this.detachView(l.hostView),$i(this.components,l),h==null||h.unregisterApplication(d)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new w(101,!1);let n=L(null);try{this._runningTick=!0,this.synchronize()}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,L(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(Dr,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let o=0;for(;this.dirtyFlags!==0&&o++<fM;)this.synchronizeOnce(n)}synchronizeOnce(n){var o,i;if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let s=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(s);for(let{_lView:a,notifyErrorHandler:c}of this._views)pM(a,c,s,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else(o=n==null?void 0:n.begin)==null||o.call(n),(i=n==null?void 0:n.end)==null||i.call(n);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Ts(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let o=n;this._views.push(o),o.attachToAppRef(this)}detachView(n){let o=n;$i(this._views,o),o.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let o=this._injector.get(Qs,[]);[...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),()=>$i(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 $i(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function pM(t,e,r,n){if(!r&&!Ts(t))return;$g(t,e,r&&!n?0:1)}var _u=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},Ks=(()=>{let e=class e{compileModuleSync(n){return new cs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let o=this.compileModuleSync(n),i=Qh(n),s=lg(i.declarations).reduce((a,c)=>{let u=St(c);return u&&a.push(new Fn(u)),a},[]);return new _u(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})(),gM=new E("");function mM(t,e,r){let n=new cs(r);return Promise.resolve(n)}function Mh(t){for(let e=t.length-1;e>=0;e--)if(t[e]!==void 0)return t[e]}var vM=(()=>{let e=class e{constructor(){this.zone=g(z),this.changeDetectionScheduler=g(vr),this.applicationRef=g(Lt)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var n;(n=this._onMicrotaskEmptySubscription)==null||n.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 yM({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:r}){return t!=null||(t=()=>new z(Y(D({},Nm()),{scheduleInRootZone:r}))),[{provide:z,useFactory:t},{provide:lr,multi:!0,useFactory:()=>{let n=g(vM,{optional:!0});return()=>n.initialize()}},{provide:lr,multi:!0,useFactory:()=>{let n=g(DM);return()=>{n.initialize()}}},e===!0?{provide:zg,useValue:!0}:[],{provide:Gg,useValue:r!=null?r:$p}]}function Nm(t){var e,r;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e=t==null?void 0:t.eventCoalescing)!=null?e:!1,shouldCoalesceRunChangeDetection:(r=t==null?void 0:t.runCoalescing)!=null?r:!1}}var DM=(()=>{let e=class e{constructor(){this.subscription=new ne,this.initialized=!1,this.zone=g(z),this.pendingTasks=g(Pt)}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(()=>{z.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{z.assertInAngularZone(),n!=null||(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 wM=(()=>{let e=class e{constructor(){var n,o,i;this.appRef=g(Lt),this.taskService=g(Pt),this.ngZone=g(z),this.zonelessEnabled=g(Il),this.disableScheduling=(n=g(zg,{optional:!0}))!=null?n:!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new ne,this.angularZoneId=this.zoneIsDefined?(o=this.ngZone._inner)==null?void 0:o.get(Ji):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&((i=g(Gg,{optional:!0}))!=null?i:!1),this.cancelScheduledCallback=null,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.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof Xi||!this.zoneIsDefined))}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let o=this.useMicrotaskScheduler?eh:Up;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ji+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(n),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,eh(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var n;if(this.runningTick=!1,(n=this.cancelScheduledCallback)==null||n.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let o=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(o)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function EM(){return typeof $localize<"u"&&$localize.locale||hs}var mo=new E("",{providedIn:"root",factory:()=>g(mo,F.Optional|F.SkipSelf)||EM()});var ps=new E("");function ki(t){return!t.moduleRef}function IM(t){let e=ki(t)?t.r3Injector:t.moduleRef.injector,r=e.get(z);return r.run(()=>{ki(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=e.get(xt,null),o;if(r.runOutsideAngular(()=>{o=r.onError.subscribe({next:i=>{n.handleError(i)}})}),ki(t)){let i=()=>e.destroy(),s=t.platformInjector.get(ps);s.add(i),e.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>t.moduleRef.destroy(),s=t.platformInjector.get(ps);s.add(i),t.moduleRef.onDestroy(()=>{$i(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(i)})}return hM(n,r,()=>{let i=e.get(xm);return i.runInitializers(),i.donePromise.then(()=>{let s=e.get(mo,hs);if(Bb(s||hs),ki(t)){let a=e.get(Lt);return t.rootComponent!==void 0&&a.bootstrap(t.rootComponent),a}else return CM(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function CM(t,e){let r=t.injector.get(Lt);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(r);else throw new w(-403,!1);e.push(t)}var Am=(()=>{let e=class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,o){let i=o==null?void 0:o.scheduleInRootZone,s=()=>uE(o==null?void 0:o.ngZone,Y(D({},Nm({eventCoalescing:o==null?void 0:o.ngZoneEventCoalescing,runCoalescing:o==null?void 0:o.ngZoneRunCoalescing})),{scheduleInRootZone:i})),a=o==null?void 0:o.ignoreChangesOutsideZone,c=[yM({ngZoneFactory:s,ignoreChangesOutsideZone:a}),{provide:vr,useExisting:wM}],u=ZC(n.moduleType,this.injector,c);return IM({moduleRef:u,allPlatformModules:this._modules,platformInjector:this.injector})}bootstrapModule(n,o=[]){let i=_m({},o);return mM(this.injector,i,n).then(s=>this.bootstrapModuleFactory(s,i))}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(ps,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(Ae))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})(),Tn=null,Rm=new E("");function bM(t){if(Tn&&!Tn.get(Rm,!1))throw new w(400,!1);lM(),Tn=t;let e=t.get(Am);return TM(t),e}function Al(t,e,r=[]){let n=`Platform: ${e}`,o=new E(n);return(i=[])=>{let s=Om();if(!s||s.injector.get(Rm,!1)){let a=[...r,...i,{provide:o,useValue:!0}];t?t(a):bM(MM(a,n))}return SM(o)}}function MM(t=[],e){return Ae.create({name:e,providers:[{provide:Is,useValue:"platform"},{provide:ps,useValue:new Set([()=>Tn=null])},...t]})}function SM(t){let e=Om();if(!e)throw new w(401,!1);return e}function Om(){var t;return(t=Tn==null?void 0:Tn.get(Am))!=null?t:null}function TM(t){let e=t.get(ol,null);e==null||e.forEach(r=>r())}var $n=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=xM;let t=e;return t})();function xM(t){return _M(me(),T(),(t&16)===16)}function _M(t,e,r){if(Ms(t)&&!r){let n=un(t.index,e);return new kn(n,n)}else if(t.type&175){let n=e[Fe];return new kn(n,e)}return null}var Nu=class{constructor(){}supports(e){return Xg(e)}create(e){return new Au(e)}},NM=(t,e)=>e,Au=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||NM}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<Sh(n,o,i)?r:n,a=Sh(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 h=0;h<u;h++){let f=h<i.length?i[h]:i[h]=0,p=f+h;l<=p&&p<u&&(i[h]=f+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=[]),!Xg(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,YC(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 Ru(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 gs),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 gs),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}},Ru=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}},Ou=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}},gs=class{constructor(){this.map=new Map}put(e){let r=e.trackById,n=this.map.get(r);n||(n=new Ou,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 Sh(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 Pu=class{constructor(){}supports(e){return e instanceof Map||bl(e)}create(){return new ku}},ku=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||bl(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 Fu(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))}},Fu=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 Th(){return new Rl([new Nu])}var Rl=(()=>{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||Th()),deps:[[e,new Ds,new io]]}}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:Th});let t=e;return t})();function xh(){return new Ol([new Pu])}var Ol=(()=>{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||xh()),deps:[[e,new Ds,new io]]}}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:xh});let t=e;return t})();var Pm=Al(null,"core",[]),km=(()=>{let e=class e{constructor(n){}};e.\u0275fac=function(o){return new(o||e)(C(Lt))},e.\u0275mod=Rt({type:e}),e.\u0275inj=At({});let t=e;return t})();function jt(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Pl(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function d1(t,e){Dt("NgSignals");let r=nf(t);return e!=null&&e.equal&&(r[It].equal=e.equal),r}function AM(t){let e=L(null);try{return t()}finally{L(e)}}function f1(t,e){let r=St(t),n=e.elementInjector||Cs();return new Fn(r).create(n,e.projectableNodes,e.hostElement,e.environmentInjector)}function Fm(t){let e=St(t);if(!e)return null;let r=new Fn(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 ia=null;function Un(){return ia}function Gm(t){ia!=null||(ia=t)}var aa=class{};var ue=new E(""),ql=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(OM),providedIn:"platform"});let t=e;return t})(),qm=new E(""),OM=(()=>{let e=class e extends ql{constructor(){super(),this._doc=g(ue),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Un().getBaseHref(this._doc)}onPopState(n){let o=Un().getGlobalEventTarget(this._doc,"window");return o.addEventListener("popstate",n,!1),()=>o.removeEventListener("popstate",n)}onHashChange(n){let o=Un().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 Wl(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 Lm(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 $t(t){return t&&t[0]!=="?"?"?"+t:t}var Ht=(()=>{let e=class e{historyGo(n){throw new Error("")}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(Zl),providedIn:"root"});let t=e;return t})(),Wm=new E(""),Zl=(()=>{let e=class e extends Ht{constructor(n,o){var i,s,a;super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=(a=(s=o!=null?o:this._platformLocation.getBaseHrefFromDOM())!=null?s:(i=g(ue).location)==null?void 0:i.origin)!=null?a:""}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 Wl(this._baseHref,n)}path(n=!1){let o=this._platformLocation.pathname+$t(this._platformLocation.search),i=this._platformLocation.hash;return i&&n?`${o}${i}`:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+$t(s));this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+$t(s));this._platformLocation.replaceState(n,o,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){var o,i;(i=(o=this._platformLocation).historyGo)==null||i.call(o,n)}};e.\u0275fac=function(o){return new(o||e)(C(ql),C(Wm,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Zm=(()=>{let e=class e extends Ht{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){var i;let o=(i=this._platformLocation.hash)!=null?i:"#";return o.length>0?o.substring(1):o}prepareExternalUrl(n){let o=Wl(this._baseHref,n);return o.length>0?"#"+o:o}pushState(n,o,i,s){let a=this.prepareExternalUrl(i+$t(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(n,o,a)}replaceState(n,o,i,s){let a=this.prepareExternalUrl(i+$t(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){var o,i;(i=(o=this._platformLocation).historyGo)==null||i.call(o,n)}};e.\u0275fac=function(o){return new(o||e)(C(ql),C(Wm,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Sr=(()=>{let e=class e{constructor(n){this._subject=new ge,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let o=this._locationStrategy.getBaseHref();this._basePath=FM(Lm(jm(o))),this._locationStrategy.onPopState(i=>{this._subject.emit({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.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+$t(o))}normalize(n){return e.stripTrailingSlash(kM(this._basePath,jm(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+$t(o)),i)}replaceState(n,o="",i=null){this._locationStrategy.replaceState(i,"",n,o),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+$t(o)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var o,i;(i=(o=this._locationStrategy).historyGo)==null||i.call(o,n)}onUrlChange(n){var o;return this._urlChangeListeners.push(n),(o=this._urlChangeSubscription)!=null||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{var s;let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&((s=this._urlChangeSubscription)==null||s.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=$t,e.joinWithSlash=Wl,e.stripTrailingSlash=Lm,e.\u0275fac=function(o){return new(o||e)(C(Ht))},e.\u0275prov=I({token:e,factory:()=>PM(),providedIn:"root"});let t=e;return t})();function PM(){return new Sr(C(Ht))}function kM(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function jm(t){return t.replace(/\/index.html$/,"")}function FM(t){if(new RegExp("^(https?:)?//").test(t)){let[,r]=t.split(/\/\/[^\/]+/);return r}return t}var Ym=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(Ym||{});var Te=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(Te||{}),W=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(W||{}),Ve=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(Ve||{}),$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 LM(t){return je(t)[X.LocaleId]}function jM(t,e,r){let n=je(t),o=[n[X.DayPeriodsFormat],n[X.DayPeriodsStandalone]],i=Ze(o,e);return Ze(i,r)}function VM(t,e,r){let n=je(t),o=[n[X.DaysFormat],n[X.DaysStandalone]],i=Ze(o,e);return Ze(i,r)}function $M(t,e,r){let n=je(t),o=[n[X.MonthsFormat],n[X.MonthsStandalone]],i=Ze(o,e);return Ze(i,r)}function UM(t,e){let n=je(t)[X.Eras];return Ze(n,e)}function Xs(t,e){let r=je(t);return Ze(r[X.DateFormat],e)}function ea(t,e){let r=je(t);return Ze(r[X.TimeFormat],e)}function ta(t,e){let n=je(t)[X.DateTimeFormat];return Ze(n,e)}function Ut(t,e){let r=je(t),n=r[X.NumberSymbols][e];if(typeof n>"u"){if(e===$e.CurrencyDecimal)return r[X.NumberSymbols][$e.Decimal];if(e===$e.CurrencyGroup)return r[X.NumberSymbols][$e.Group]}return n}function BM(t,e){return je(t)[X.NumberFormats][e]}function Qm(t){if(!t[X.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[X.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function HM(t){let e=je(t);return Qm(e),(e[X.ExtraData][2]||[]).map(n=>typeof n=="string"?Fl(n):[Fl(n[0]),Fl(n[1])])}function zM(t,e,r){let n=je(t);Qm(n);let o=[n[X.ExtraData][0],n[X.ExtraData][1]],i=Ze(o,e)||[];return Ze(i,r)||[]}function Ze(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 Fl(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var GM=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,br={},qM=/((?:[^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]*)/,Bt=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(Bt||{}),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||{}),U=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(U||{});function WM(t,e,r,n){let o=n0(t);e=Vt(r,e)||e;let s=[],a;for(;e;)if(a=qM.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=Jm(n,c),o=t0(o,n,!0));let u="";return s.forEach(l=>{let d=XM(l);u+=d?d(o,r,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function ca(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function Vt(t,e){var o;let r=LM(t);if((o=br[r])!=null||(br[r]={}),br[r][e])return br[r][e];let n="";switch(e){case"shortDate":n=Xs(t,Ve.Short);break;case"mediumDate":n=Xs(t,Ve.Medium);break;case"longDate":n=Xs(t,Ve.Long);break;case"fullDate":n=Xs(t,Ve.Full);break;case"shortTime":n=ea(t,Ve.Short);break;case"mediumTime":n=ea(t,Ve.Medium);break;case"longTime":n=ea(t,Ve.Long);break;case"fullTime":n=ea(t,Ve.Full);break;case"short":let i=Vt(t,"shortTime"),s=Vt(t,"shortDate");n=na(ta(t,Ve.Short),[i,s]);break;case"medium":let a=Vt(t,"mediumTime"),c=Vt(t,"mediumDate");n=na(ta(t,Ve.Medium),[a,c]);break;case"long":let u=Vt(t,"longTime"),l=Vt(t,"longDate");n=na(ta(t,Ve.Long),[u,l]);break;case"full":let d=Vt(t,"fullTime"),h=Vt(t,"fullDate");n=na(ta(t,Ve.Full),[d,h]);break}return n&&(br[r][e]=n),n}function na(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 ZM(t,e){return it(t,3).substring(0,e)}function se(t,e,r=0,n=!1,o=!1){return function(i,s){let a=YM(t,i);if((r>0||a>-r)&&(a+=r),t===B.Hours)a===0&&r===-12&&(a=12);else if(t===B.FractionalSeconds)return ZM(a,e);let c=Ut(s,$e.MinusSign);return it(a,e,c,n,o)}}function YM(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 Z(t,e,r=Te.Format,n=!1){return function(o,i){return QM(o,i,t,e,r,n)}}function QM(t,e,r,n,o,i){switch(r){case U.Months:return $M(e,o,n)[t.getMonth()];case U.Days:return VM(e,o,n)[t.getDay()];case U.DayPeriods:let s=t.getHours(),a=t.getMinutes();if(i){let u=HM(e),l=zM(e,o,n),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,m=s>=f.hours&&a>=f.minutes,v=s<p.hours||s===p.hours&&a<p.minutes;if(f.hours<p.hours){if(m&&v)return!0}else if(m||v)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return jM(e,o,n)[s<12?0:1];case U.Eras:return UM(e,n)[t.getFullYear()<=0?0:1];default:let c=r;throw new Error(`unexpected translation type ${c}`)}}function ra(t){return function(e,r,n){let o=-1*n,i=Ut(r,$e.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(t){case Bt.Short:return(o>=0?"+":"")+it(s,2,i)+it(Math.abs(o%60),2,i);case Bt.ShortGMT:return"GMT"+(o>=0?"+":"")+it(s,1,i);case Bt.Long:return"GMT"+(o>=0?"+":"")+it(s,2,i)+":"+it(Math.abs(o%60),2,i);case Bt.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 KM=0,sa=4;function JM(t){let e=ca(t,KM,1).getDay();return ca(t,0,1+(e<=sa?sa:sa+7)-e)}function Km(t){let e=t.getDay(),r=e===0?-3:sa-e;return ca(t.getFullYear(),t.getMonth(),t.getDate()+r)}function Ll(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=Km(r),s=JM(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return it(o,t,Ut(n,$e.MinusSign))}}function oa(t,e=!1){return function(r,n){let i=Km(r).getFullYear();return it(i,t,Ut(n,$e.MinusSign),e)}}var jl={};function XM(t){if(jl[t])return jl[t];let e;switch(t){case"G":case"GG":case"GGG":e=Z(U.Eras,W.Abbreviated);break;case"GGGG":e=Z(U.Eras,W.Wide);break;case"GGGGG":e=Z(U.Eras,W.Narrow);break;case"y":e=se(B.FullYear,1,0,!1,!0);break;case"yy":e=se(B.FullYear,2,0,!0,!0);break;case"yyy":e=se(B.FullYear,3,0,!1,!0);break;case"yyyy":e=se(B.FullYear,4,0,!1,!0);break;case"Y":e=oa(1);break;case"YY":e=oa(2,!0);break;case"YYY":e=oa(3);break;case"YYYY":e=oa(4);break;case"M":case"L":e=se(B.Month,1,1);break;case"MM":case"LL":e=se(B.Month,2,1);break;case"MMM":e=Z(U.Months,W.Abbreviated);break;case"MMMM":e=Z(U.Months,W.Wide);break;case"MMMMM":e=Z(U.Months,W.Narrow);break;case"LLL":e=Z(U.Months,W.Abbreviated,Te.Standalone);break;case"LLLL":e=Z(U.Months,W.Wide,Te.Standalone);break;case"LLLLL":e=Z(U.Months,W.Narrow,Te.Standalone);break;case"w":e=Ll(1);break;case"ww":e=Ll(2);break;case"W":e=Ll(1,!0);break;case"d":e=se(B.Date,1);break;case"dd":e=se(B.Date,2);break;case"c":case"cc":e=se(B.Day,1);break;case"ccc":e=Z(U.Days,W.Abbreviated,Te.Standalone);break;case"cccc":e=Z(U.Days,W.Wide,Te.Standalone);break;case"ccccc":e=Z(U.Days,W.Narrow,Te.Standalone);break;case"cccccc":e=Z(U.Days,W.Short,Te.Standalone);break;case"E":case"EE":case"EEE":e=Z(U.Days,W.Abbreviated);break;case"EEEE":e=Z(U.Days,W.Wide);break;case"EEEEE":e=Z(U.Days,W.Narrow);break;case"EEEEEE":e=Z(U.Days,W.Short);break;case"a":case"aa":case"aaa":e=Z(U.DayPeriods,W.Abbreviated);break;case"aaaa":e=Z(U.DayPeriods,W.Wide);break;case"aaaaa":e=Z(U.DayPeriods,W.Narrow);break;case"b":case"bb":case"bbb":e=Z(U.DayPeriods,W.Abbreviated,Te.Standalone,!0);break;case"bbbb":e=Z(U.DayPeriods,W.Wide,Te.Standalone,!0);break;case"bbbbb":e=Z(U.DayPeriods,W.Narrow,Te.Standalone,!0);break;case"B":case"BB":case"BBB":e=Z(U.DayPeriods,W.Abbreviated,Te.Format,!0);break;case"BBBB":e=Z(U.DayPeriods,W.Wide,Te.Format,!0);break;case"BBBBB":e=Z(U.DayPeriods,W.Narrow,Te.Format,!0);break;case"h":e=se(B.Hours,1,-12);break;case"hh":e=se(B.Hours,2,-12);break;case"H":e=se(B.Hours,1);break;case"HH":e=se(B.Hours,2);break;case"m":e=se(B.Minutes,1);break;case"mm":e=se(B.Minutes,2);break;case"s":e=se(B.Seconds,1);break;case"ss":e=se(B.Seconds,2);break;case"S":e=se(B.FractionalSeconds,1);break;case"SS":e=se(B.FractionalSeconds,2);break;case"SSS":e=se(B.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=ra(Bt.Short);break;case"ZZZZZ":e=ra(Bt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=ra(Bt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=ra(Bt.Long);break;default:return null}return jl[t]=e,e}function Jm(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function e0(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function t0(t,e,r){let n=r?-1:1,o=t.getTimezoneOffset(),i=Jm(e,o);return e0(t,n*(i-o))}function n0(t){if(Vm(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 ca(o,i-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(GM))return r0(n)}let e=new Date(t);if(!Vm(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function r0(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 Vm(t){return t instanceof Date&&!isNaN(t.valueOf())}var o0=/^(\d+)?\.((\d+)(-(\d+))?)?$/,$m=22,ua=".",vo="0",i0=";",s0=",",Vl="#";function a0(t,e,r,n,o,i,s=!1){let a="",c=!1;if(!isFinite(t))a=Ut(r,$e.Infinity);else{let u=d0(t);s&&(u=l0(u));let l=e.minInt,d=e.minFrac,h=e.maxFrac;if(i){let b=i.match(o0);if(b===null)throw new Error(`${i} is not a valid digit info`);let G=b[1],$=b[3],oe=b[5];G!=null&&(l=$l(G)),$!=null&&(d=$l($)),oe!=null?h=$l(oe):$!=null&&d>h&&(h=d)}f0(u,d,h);let f=u.digits,p=u.integerLen,m=u.exponent,v=[];for(c=f.every(b=>!b);p<l;p++)f.unshift(0);for(;p<0;p++)f.unshift(0);p>0?v=f.splice(p,f.length):(v=f,f=[0]);let y=[];for(f.length>=e.lgSize&&y.unshift(f.splice(-e.lgSize,f.length).join(""));f.length>e.gSize;)y.unshift(f.splice(-e.gSize,f.length).join(""));f.length&&y.unshift(f.join("")),a=y.join(Ut(r,n)),v.length&&(a+=Ut(r,o)+v.join("")),m&&(a+=Ut(r,$e.Exponential)+"+"+m)}return t<0&&!c?a=e.negPre+a+e.negSuf:a=e.posPre+a+e.posSuf,a}function c0(t,e,r){let n=BM(e,Ym.Decimal),o=u0(n,Ut(e,$e.MinusSign));return a0(t,o,e,$e.Group,$e.Decimal,r)}function u0(t,e="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(i0),o=n[0],i=n[1],s=o.indexOf(ua)!==-1?o.split(ua):[o.substring(0,o.lastIndexOf(vo)+1),o.substring(o.lastIndexOf(vo)+1)],a=s[0],c=s[1]||"";r.posPre=a.substring(0,a.indexOf(Vl));for(let l=0;l<c.length;l++){let d=c.charAt(l);d===vo?r.minFrac=r.maxFrac=l+1:d===Vl?r.maxFrac=l+1:r.posSuf+=d}let u=a.split(s0);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(Vl);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 l0(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 d0(t){let e=Math.abs(t)+"",r=0,n,o,i,s,a;for((o=e.indexOf(ua))>-1&&(e=e.replace(ua,"")),(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)===vo;i++);if(i===(a=e.length))n=[0],o=1;else{for(a--;e.charAt(a)===vo;)a--;for(o-=i,n=[],s=0;i<=a;i++,s++)n[s]=Number(e.charAt(i))}return o>$m&&(n=n.splice(0,$m-1),r=o-1,o=1),{digits:n,exponent:r,integerLen:o}}function f0(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,h,f,p){return h=h+d,p[f]=h<10?h:h-10,c&&(p[f]===0&&f>=u?p.pop():c=!1),h>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function $l(t){let e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function _1(t,e,r){return mm(t,e,r)}function da(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 Ul=/\s+/,Um=[],N1=(()=>{let e=class e{constructor(n,o){this._ngEl=n,this._renderer=o,this.initialClasses=Um,this.stateMap=new Map}set klass(n){this.initialClasses=n!=null?n.trim().split(Ul):Um}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Ul):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(Ul).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)(j(We),j(dn))},e.\u0275dir=Oe({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var Bl=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}},A1=(()=>{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 Bl(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),Bm(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);Bm(s,i)})}static ngTemplateContextGuard(n,o){return!0}};e.\u0275fac=function(o){return new(o||e)(j(ot),j(Nt),j(Rl))},e.\u0275dir=Oe({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let t=e;return t})();function Bm(t,e){t.context.$implicit=e.item}var R1=(()=>{let e=class e{constructor(n,o){this._viewContainer=n,this._context=new Hl,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){Hm("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){Hm("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)(j(ot),j(Nt))},e.\u0275dir=Oe({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),Hl=class{constructor(){this.$implicit=null,this.ngIf=null}};function Hm(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${be(e)}'.`)}var la=class{constructor(e,r){this._viewContainerRef=e,this._templateRef=r,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},Xm=(()=>{let e=class e{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(n){this._ngSwitch=n,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(n){this._defaultViews.push(n)}_matchCase(n){let o=n===this._ngSwitch;return this._lastCasesMatched||(this._lastCasesMatched=o),this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),o}_updateDefaultCases(n){if(this._defaultViews.length>0&&n!==this._defaultUsed){this._defaultUsed=n;for(let o of this._defaultViews)o.enforceState(n)}}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Oe({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});let t=e;return t})(),O1=(()=>{let e=class e{constructor(n,o,i){this.ngSwitch=i,i._addCase(),this._view=new la(n,o)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}};e.\u0275fac=function(o){return new(o||e)(j(ot),j(Nt),j(Xm,9))},e.\u0275dir=Oe({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});let t=e;return t})(),P1=(()=>{let e=class e{constructor(n,o,i){i._addDefault(new la(n,o))}};e.\u0275fac=function(o){return new(o||e)(j(ot),j(Nt),j(Xm,9))},e.\u0275dir=Oe({type:e,selectors:[["","ngSwitchDefault",""]],standalone:!0});let t=e;return t})();var k1=(()=>{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:mt.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)(j(We),j(Ol),j(dn))},e.\u0275dir=Oe({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});let t=e;return t})(),F1=(()=>{let e=class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){var o;if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let s=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,s,{injector:(o=this.ngTemplateOutletInjector)!=null?o: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)(j(ot))},e.\u0275dir=Oe({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[cn]});let t=e;return t})();function fa(t,e){return new w(2100,!1)}var h0=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,L1=(()=>{let e=class e{transform(n){if(n==null)return null;if(typeof n!="string")throw fa(e,n);return n.replace(h0,o=>o[0].toUpperCase()+o.slice(1).toLowerCase())}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=ao({name:"titlecase",type:e,pure:!0,standalone:!0});let t=e;return t})(),j1=(()=>{let e=class e{transform(n){if(n==null)return null;if(typeof n!="string")throw fa(e,n);return n.toUpperCase()}};e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=ao({name:"uppercase",type:e,pure:!0,standalone:!0});let t=e;return t})(),p0="mediumDate",g0=new E(""),m0=new E(""),V1=(()=>{let e=class e{constructor(n,o,i){this.locale=n,this.defaultTimezone=o,this.defaultOptions=i}transform(n,o,i,s){var a,c,u,l,d;if(n==null||n===""||n!==n)return null;try{let h=(c=o!=null?o:(a=this.defaultOptions)==null?void 0:a.dateFormat)!=null?c:p0,f=(d=(l=i!=null?i:(u=this.defaultOptions)==null?void 0:u.timezone)!=null?l:this.defaultTimezone)!=null?d:void 0;return WM(n,h,s||this.locale,f)}catch(h){throw fa(e,h.message)}}};e.\u0275fac=function(o){return new(o||e)(j(mo,16),j(g0,24),j(m0,24))},e.\u0275pipe=ao({name:"date",type:e,pure:!0,standalone:!0});let t=e;return t})();var $1=(()=>{let e=class e{constructor(n){this._locale=n}transform(n,o,i){if(!v0(n))return null;i||(i=this._locale);try{let s=y0(n);return c0(s,i,o)}catch(s){throw fa(e,s.message)}}};e.\u0275fac=function(o){return new(o||e)(j(mo,16))},e.\u0275pipe=ao({name:"number",type:e,pure:!0,standalone:!0});let t=e;return t})();function v0(t){return!(t==null||t===""||t!==t)}function y0(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 ev=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=At({});let t=e;return t})(),Yl="browser",D0="server";function w0(t){return t===Yl}function yo(t){return t===D0}var tv=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>w0(g(nt))?new zl(g(ue),window):new Gl});let t=e;return t})(),zl=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=E0(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 E0(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 Gl=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Mr=class{};var nv=t=>t.src,I0=new E("",{providedIn:"root",factory:()=>nv});var C0=new E("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set}),b0=(()=>{let e=class e{constructor(){this.preloadedImages=g(C0),this.document=g(ue)}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 M0=/^((\s*\d+w\s*(,|$)){1,})$/;var S0=[1,2],T0=640;var x0=1920,_0=1080;var U1=(()=>{let e=class e{constructor(){this.imageLoader=g(I0),this.config=N0(g(Qp)),this.renderer=g(dn),this.imgElement=g(We).nativeElement,this.injector=g(Ae),this.isServer=yo(g(nt)),this.preloadLinkCreator=g(b0),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){Dt("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(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 i=this._renderedSrc;this.updateSrcAndSrcset(!0);let s=this._renderedSrc;this.lcpObserver!==null&&i&&s&&i!==s&&this.injector.get(z).runOutsideAngular(()=>{var c;(c=this.lcpObserver)==null||c.updateImage(i,s)})}}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=M0.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(){var s;let{breakpoints:n}=this.config,o=n;return((s=this.sizes)==null?void 0:s.trim())==="100vw"&&(o=n.filter(a=>a>=T0)),o.map(a=>`${this.callImageLoader({src:this.ngSrc,width:a})} ${a}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 S0.map(o=>`${this.callImageLoader({src:this.ngSrc,width:this.width*o})} ${o}x`).join(", ")}shouldGenerateAutomaticSrcset(){let n=!1;return this.sizes||(n=this.width>x0||this.height>_0),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==nv&&!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($n);i(),s(),this.placeholder=!1,a.markForCheck()},i=this.renderer.listen(n,"load",o),s=this.renderer.listen(n,"error",o);A0(n,o)}ngOnDestroy(){}setHostAttribute(n,o){this.renderer.setAttribute(this.imgElement,n,o)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Oe({type:e,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(o,i){o&2&&Tl("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",R0],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Pl],height:[2,"height","height",Pl],loading:"loading",priority:[2,"priority","priority",jt],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",jt],fill:[2,"fill","fill",jt],placeholder:[2,"placeholder","placeholder",O0],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[Hs,cn]});let t=e;return t})();function N0(t){let e={};return t.breakpoints&&(e.breakpoints=t.breakpoints.sort((r,n)=>r-n)),Object.assign({},sl,t,e)}function A0(t,e){t.complete&&t.naturalWidth&&e()}function R0(t){return typeof t=="string"?t:Le(t)}function O0(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:jt(t)}var wo=class{},pa=class{},zt=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 Kl=class{encodeKey(e){return ov(e)}encodeValue(e){return ov(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function P0(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 k0=/%(\d[a-f0-9])/gi,F0={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ov(t){return encodeURIComponent(t).replace(k0,(e,r)=>{var n;return(n=F0[r])!=null?n:e})}function ha(t){return`${t}`}var hn=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Kl,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=P0(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(ha):[ha(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(ha(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(ha(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 Jl=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 L0(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function iv(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function sv(t){return typeof Blob<"u"&&t instanceof Blob}function av(t){return typeof FormData<"u"&&t instanceof FormData}function j0(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Do=class t{constructor(e,r,n,o){var s,a;this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let i;if(L0(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),(s=this.headers)!=null||(this.headers=new zt),(a=this.context)!=null||(this.context=new Jl),!this.params)this.params=new hn,this.urlWithParams=r;else{let c=this.params.toString();if(c.length===0)this.urlWithParams=r;else{let u=r.indexOf("?"),l=u===-1?"?":u<r.length-1?"&":"";this.urlWithParams=r+l+c}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||iv(this.body)||sv(this.body)||av(this.body)||j0(this.body)?this.body:this.body instanceof hn?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||av(this.body)?null:sv(this.body)?this.body.type||null:iv(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof hn?"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={}){var h,f,p,m;let r=e.method||this.method,n=e.url||this.url,o=e.responseType||this.responseType,i=(h=e.transferCache)!=null?h:this.transferCache,s=e.body!==void 0?e.body:this.body,a=(f=e.withCredentials)!=null?f:this.withCredentials,c=(p=e.reportProgress)!=null?p:this.reportProgress,u=e.headers||this.headers,l=e.params||this.params,d=(m=e.context)!=null?m:this.context;return e.setHeaders!==void 0&&(u=Object.keys(e.setHeaders).reduce((v,y)=>v.set(y,e.setHeaders[y]),u)),e.setParams&&(l=Object.keys(e.setParams).reduce((v,y)=>v.set(y,e.setParams[y]),l)),new t(r,n,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},pn=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}(pn||{}),Eo=class{constructor(e,r=200,n="OK"){this.headers=e.headers||new zt,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}},ga=class t extends Eo{constructor(e={}){super(e),this.type=pn.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})}},Io=class t extends Eo{constructor(e={}){super(e),this.type=pn.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})}},fn=class extends Eo{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}},fv=200,V0=204;function Ql(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 $0=(()=>{let e=class e{constructor(n){this.handler=n}request(n,o,i={}){let s;if(n instanceof Do)s=n;else{let u;i.headers instanceof zt?u=i.headers:u=new zt(i.headers);let l;i.params&&(i.params instanceof hn?l=i.params:l=new hn({fromObject:i.params})),s=new Do(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=M(s).pipe(bt(u=>this.handler.handle(u)));if(n instanceof Do||i.observe==="events")return a;let c=a.pipe(ye(u=>u instanceof Io));switch(i.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return c.pipe(k(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(k(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(k(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(k(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 hn().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,Ql(i,o))}post(n,o,i={}){return this.request("POST",n,Ql(i,o))}put(n,o,i={}){return this.request("PUT",n,Ql(i,o))}};e.\u0275fac=function(o){return new(o||e)(C(wo))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),U0=/^\)\]\}',?\n/,B0="X-Request-URL";function cv(t){if(t.url)return t.url;let e=B0.toLocaleLowerCase();return t.headers.get(e)}var H0=(()=>{let e=class e{constructor(){var n,o;this.fetchImpl=(o=(n=g(Xl,{optional:!0}))==null?void 0:n.fetch)!=null?o:(...i)=>globalThis.fetch(...i),this.ngZone=g(z)}handle(n){return new R(o=>{let i=new AbortController;return this.doRequest(n,i.signal,o).then(ed,s=>o.error(new fn({error:s}))),()=>i.abort()})}doRequest(n,o,i){return Zo(this,null,function*(){var p,m,v,y;let s=this.createRequestInit(n),a;try{let b=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,D({signal:o},s)));z0(b),i.next({type:pn.Sent}),a=yield b}catch(b){i.error(new fn({error:b,status:(p=b.status)!=null?p:0,statusText:b.statusText,url:n.urlWithParams,headers:b.headers}));return}let c=new zt(a.headers),u=a.statusText,l=(m=cv(a))!=null?m:n.urlWithParams,d=a.status,h=null;if(n.reportProgress&&i.next(new ga({headers:c,status:d,statusText:u,url:l})),a.body){let b=a.headers.get("content-length"),G=[],$=a.body.getReader(),oe=0,ve,te,Et=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>Zo(this,null,function*(){for(;;){let{done:vn,value:Va}=yield $.read();if(vn)break;if(G.push(Va),oe+=Va.length,n.reportProgress){te=n.responseType==="text"?(te!=null?te:"")+(ve!=null?ve:ve=new TextDecoder).decode(Va,{stream:!0}):void 0;let qd=()=>i.next({type:pn.DownloadProgress,total:b?+b:void 0,loaded:oe,partialText:te});Et?Et.run(qd):qd()}}}));let jr=this.concatChunks(G,oe);try{let vn=(v=a.headers.get("Content-Type"))!=null?v:"";h=this.parseBody(n,jr,vn)}catch(vn){i.error(new fn({error:vn,headers:new zt(a.headers),status:a.status,statusText:a.statusText,url:(y=cv(a))!=null?y:n.urlWithParams}));return}}d===0&&(d=h?fv:0),d>=200&&d<300?(i.next(new Io({body:h,headers:c,status:d,statusText:u,url:l})),i.complete()):i.error(new fn({error:h,headers:c,status:d,statusText:u,url:l}))})}parseBody(n,o,i){switch(n.responseType){case"json":let s=new TextDecoder().decode(o).replace(U0,"");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})(),Xl=class{};function ed(){}function z0(t){t.then(ed,ed)}function hv(t,e){return e(t)}function G0(t,e){return(r,n)=>e.intercept(r,{handle:o=>t(o,n)})}function q0(t,e,r){return(n,o)=>Ge(r,()=>e(n,i=>t(i,o)))}var W0=new E(""),td=new E(""),Z0=new E(""),pv=new E("",{providedIn:"root",factory:()=>!0});function Y0(){let t=null;return(e,r)=>{var i;t===null&&(t=((i=g(W0,{optional:!0}))!=null?i:[]).reduceRight(G0,hv));let n=g(Pt);if(g(pv)){let s=n.add();return t(e,r).pipe(Xt(()=>n.remove(s)))}else return t(e,r)}}var uv=(()=>{let e=class e extends wo{constructor(n,o){super(),this.backend=n,this.injector=o,this.chain=null,this.pendingTasks=g(Pt),this.contributeToStability=g(pv)}handle(n){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(td),...this.injector.get(Z0,[])]));this.chain=o.reduceRight((i,s)=>q0(i,s,this.injector),hv)}if(this.contributeToStability){let o=this.pendingTasks.add();return this.chain(n,i=>this.backend.handle(i)).pipe(Xt(()=>this.pendingTasks.remove(o)))}else return this.chain(n,o=>this.backend.handle(o))}};e.\u0275fac=function(o){return new(o||e)(C(pa),C(Me))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();var Q0=/^\)\]\}',?\n/;function K0(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var lv=(()=>{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?Q(o.\u0275loadImpl()):M(null)).pipe(Ce(()=>new R(s=>{let a=o.build();if(a.open(n.method,n.urlWithParams),n.withCredentials&&(a.withCredentials=!0),n.headers.forEach((v,y)=>a.setRequestHeader(v,y.join(","))),n.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let v=n.detectContentTypeHeader();v!==null&&a.setRequestHeader("Content-Type",v)}if(n.responseType){let v=n.responseType.toLowerCase();a.responseType=v!=="json"?v:"text"}let c=n.serializeBody(),u=null,l=()=>{if(u!==null)return u;let v=a.statusText||"OK",y=new zt(a.getAllResponseHeaders()),b=K0(a)||n.url;return u=new ga({headers:y,status:a.status,statusText:v,url:b}),u},d=()=>{let{headers:v,status:y,statusText:b,url:G}=l(),$=null;y!==V0&&($=typeof a.response>"u"?a.responseText:a.response),y===0&&(y=$?fv:0);let oe=y>=200&&y<300;if(n.responseType==="json"&&typeof $=="string"){let ve=$;$=$.replace(Q0,"");try{$=$!==""?JSON.parse($):null}catch(te){$=ve,oe&&(oe=!1,$={error:te,text:$})}}oe?(s.next(new Io({body:$,headers:v,status:y,statusText:b,url:G||void 0})),s.complete()):s.error(new fn({error:$,headers:v,status:y,statusText:b,url:G||void 0}))},h=v=>{let{url:y}=l(),b=new fn({error:v,status:a.status||0,statusText:a.statusText||"Unknown Error",url:y||void 0});s.error(b)},f=!1,p=v=>{f||(s.next(l()),f=!0);let y={type:pn.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(y.total=v.total),n.responseType==="text"&&a.responseText&&(y.partialText=a.responseText),s.next(y)},m=v=>{let y={type:pn.UploadProgress,loaded:v.loaded};v.lengthComputable&&(y.total=v.total),s.next(y)};return a.addEventListener("load",d),a.addEventListener("error",h),a.addEventListener("timeout",h),a.addEventListener("abort",h),n.reportProgress&&(a.addEventListener("progress",p),c!==null&&a.upload&&a.upload.addEventListener("progress",m)),a.send(c),s.next({type:pn.Sent}),()=>{a.removeEventListener("error",h),a.removeEventListener("abort",h),a.removeEventListener("load",d),a.removeEventListener("timeout",h),n.reportProgress&&(a.removeEventListener("progress",p),c!==null&&a.upload&&a.upload.removeEventListener("progress",m)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(o){return new(o||e)(C(Mr))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),gv=new E(""),J0="XSRF-TOKEN",X0=new E("",{providedIn:"root",factory:()=>J0}),eS="X-XSRF-TOKEN",tS=new E("",{providedIn:"root",factory:()=>eS}),ma=class{},nS=(()=>{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=da(n,this.cookieName),this.lastCookieString=n),this.lastToken}};e.\u0275fac=function(o){return new(o||e)(C(ue),C(nt),C(X0))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function rS(t,e){let r=t.url.toLowerCase();if(!g(gv)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=g(ma).getToken(),o=g(tS);return n!=null&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,n)})),e(t)}var mv=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}(mv||{});function oS(t,e){return{\u0275kind:t,\u0275providers:e}}function iS(...t){let e=[$0,lv,uv,{provide:wo,useExisting:uv},{provide:pa,useFactory:()=>{var r;return(r=g(H0,{optional:!0}))!=null?r:g(lv)}},{provide:td,useValue:rS,multi:!0},{provide:gv,useValue:!0},{provide:ma,useClass:nS}];for(let r of t)e.push(...r.\u0275providers);return Es(e)}var dv=new E("");function sS(){return oS(mv.LegacyInterceptors,[{provide:dv,useFactory:Y0},{provide:td,useExisting:dv,multi:!0}])}var eL=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=Rt({type:e}),e.\u0275inj=At({providers:[iS(sS())]});let t=e;return t})();var od=class extends aa{constructor(){super(...arguments),this.supportsDOMEvents=!0}},id=class t extends od{static makeCurrent(){Gm(new t)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.remove()}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=aS();return r==null?null:cS(r)}resetBaseElement(){Co=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return da(document.cookie,e)}},Co=null;function aS(){return Co=Co||document.querySelector("base"),Co?Co.getAttribute("href"):null}function cS(t){return new URL(t,document.baseURI).pathname}var sd=class{addToWindow(e){he.getAngularTestability=(n,o=!0)=>{let i=e.findTestabilityInTree(n,o);if(i==null)throw new w(5103,!1);return i},he.getAllAngularTestabilities=()=>e.getAllTestabilities(),he.getAllAngularRootElements=()=>e.getAllRootElements();let r=n=>{let o=he.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&n()};o.forEach(a=>{a.whenStable(s)})};he.frameworkStabilizers||(he.frameworkStabilizers=[]),he.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,n){if(r==null)return null;let o=e.getTestability(r);return o!=null?o:n?Un().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null}},uS=(()=>{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})(),ad=new E(""),wv=(()=>{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(ad),C(z))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),va=class{constructor(e){this._doc=e}},nd="ng-app-id",Ev=(()=>{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=yo(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){var i,s;let o=this.styleRef;(s=(i=o.get(n))==null?void 0:i.elements)==null||s.forEach(a=>a.remove()),o.delete(n)}collectServerRenderedStyles(){var o;let n=(o=this.doc.head)==null?void 0:o.querySelectorAll(`style[${nd}="${this.appId}"]`);if(n!=null&&n.length){let i=new Map;return n.forEach(s=>{s.textContent!=null&&i.set(s.textContent,s)}),i}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==null?void 0:i.get(o);if((s==null?void 0:s.parentNode)===n)return i.delete(o),s.removeAttribute(nd),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=o,this.platformIsServer&&a.setAttribute(nd,this.appId),n.appendChild(a),a}}addStyleToHost(n,o){var c;let i=this.getStyleElement(n,o),s=this.styleRef,a=(c=s.get(o))==null?void 0:c.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(ue),C(Os),C(il,8),C(nt))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),rd={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"},ud=/%COMP%/g,Iv="%COMP%",lS=`_nghost-${Iv}`,dS=`_ngcontent-${Iv}`,fS=!0,hS=new E("",{providedIn:"root",factory:()=>fS});function pS(t){return dS.replace(ud,t)}function gS(t){return lS.replace(ud,t)}function Cv(t,e){return e.map(r=>r.replace(ud,t))}var vv=(()=>{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=yo(c),this.defaultRenderer=new bo(n,a,u,this.platformIsServer)}createRenderer(n,o){if(!n||!o)return this.defaultRenderer;this.platformIsServer&&o.encapsulation===ht.ShadowDom&&(o=Y(D({},o),{encapsulation:ht.Emulated}));let i=this.getOrCreateRenderer(n,o);return i instanceof ya?i.applyToHost(n):i instanceof Mo&&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,h=this.platformIsServer;switch(o.encapsulation){case ht.Emulated:s=new ya(u,l,o,this.appId,d,a,c,h);break;case ht.ShadowDom:return new cd(u,l,n,o,a,c,this.nonce,h);default:s=new Mo(u,l,o,d,a,c,h);break}i.set(o.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(o){return new(o||e)(C(wv),C(Ev),C(Os),C(hS),C(ue),C(nt),C(z),C(il))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),bo=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(rd[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(yv(e)?e.content:e).appendChild(r)}insertBefore(e,r,n){e&&(yv(e)?e.content:e).insertBefore(r,n)}removeChild(e,r){r.remove()}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=rd[o];i?e.setAttributeNS(i,r,n):e.setAttribute(r,n)}else e.setAttribute(r,n)}removeAttribute(e,r,n){if(n){let o=rd[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&(mt.DashCase|mt.Important)?e.style.setProperty(r,n,o&mt.Important?"important":""):e.style[r]=n}removeStyle(e,r,n){n&mt.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=Un().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 yv(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var cd=class extends bo{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=Cv(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(null,r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Mo=class extends bo{constructor(e,r,n,o,i,s,a,c){super(e,i,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=o,this.styles=c?Cv(c,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},ya=class extends Mo{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=pS(u),this.hostAttr=gS(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}},mS=(()=>{let e=class e extends va{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(ue))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})(),Dv=["alt","control","meta","shift"],vS={"\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"},yS={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},DS=(()=>{let e=class e extends va{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(()=>Un().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."),Dv.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=vS[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"),Dv.forEach(a=>{if(a!==i){let c=yS[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(ue))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function wS(){id.makeCurrent()}function ES(){return new xt}function IS(){return Zp(document),document}var CS=[{provide:nt,useValue:Yl},{provide:ol,useValue:wS,multi:!0},{provide:ue,useFactory:IS,deps:[]}],gL=Al(Pm,"browser",CS),bS=new E(""),MS=[{provide:po,useClass:sd,deps:[]},{provide:Nl,useClass:Ws,deps:[z,Zs,po]},{provide:Ws,useClass:Ws,deps:[z,Zs,po]}],SS=[{provide:Is,useValue:"root"},{provide:xt,useFactory:ES,deps:[]},{provide:ad,useClass:mS,multi:!0,deps:[ue,z,nt]},{provide:ad,useClass:DS,multi:!0,deps:[ue]},vv,Ev,wv,{provide:Dr,useExisting:vv},{provide:Mr,useClass:uS,deps:[]},[]],mL=(()=>{let e=class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:Os,useValue:n.appId}]}}};e.\u0275fac=function(o){return new(o||e)(C(bS,12))},e.\u0275mod=Rt({type:e}),e.\u0275inj=At({providers:[...SS,...MS],imports:[ev,km]});let t=e;return t})();var bv=(()=>{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(ue))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var TS=(()=>{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(xS),i},providedIn:"root"});let t=e;return t})(),xS=(()=>{let e=class e extends TS{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 kt(o,"HTML")?Le(o):cl(this._doc,String(o)).toString();case rt.STYLE:return kt(o,"Style")?Le(o):o;case rt.SCRIPT:if(kt(o,"Script"))return Le(o);throw new w(5200,!1);case rt.URL:return kt(o,"URL")?Le(o):ks(String(o));case rt.RESOURCE_URL:if(kt(o,"ResourceURL"))return Le(o);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(n){return Xp(n)}bypassSecurityTrustStyle(n){return eg(n)}bypassSecurityTrustScript(n){return tg(n)}bypassSecurityTrustUrl(n){return ng(n)}bypassSecurityTrustResourceUrl(n){return rg(n)}};e.\u0275fac=function(o){return new(o||e)(C(ue))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var P="primary",Vo=Symbol("RouteTitle"),pd=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 Rr(t){return new pd(t)}function NS(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 AS(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!wt(t[r],e[r]))return!1;return!0}function wt(t,e){let r=t?gd(t):void 0,n=e?gd(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],!Fv(t[o],e[o]))return!1;return!0}function gd(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Fv(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 Lv(t){return t.length>0?t[t.length-1]:null}function mn(t){return ic(t)?t:go(t)?Q(Promise.resolve(t)):M(t)}var RS={exact:Vv,subset:$v},jv={exact:OS,subset:PS,ignored:()=>!0};function Mv(t,e,r){return RS[r.paths](t.root,e.root,r.matrixParams)&&jv[r.queryParams](t.queryParams,e.queryParams)&&!(r.fragment==="exact"&&t.fragment!==e.fragment)}function OS(t,e){return wt(t,e)}function Vv(t,e,r){if(!Hn(t.segments,e.segments)||!Ea(t.segments,e.segments,r)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!t.children[n]||!Vv(t.children[n],e.children[n],r))return!1;return!0}function PS(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(r=>Fv(t[r],e[r]))}function $v(t,e,r){return Uv(t,e,e.segments,r)}function Uv(t,e,r,n){if(t.segments.length>r.length){let o=t.segments.slice(0,r.length);return!(!Hn(o,r)||e.hasChildren()||!Ea(o,r,n))}else if(t.segments.length===r.length){if(!Hn(t.segments,r)||!Ea(t.segments,r,n))return!1;for(let o in e.children)if(!t.children[o]||!$v(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)||!Ea(t.segments,o,n)||!t.children[P]?!1:Uv(t.children[P],e,i,n)}}function Ea(t,e,r){return e.every((n,o)=>jv[r](t[o].parameters,n.parameters))}var qt=class{constructor(e=new H([],{}),r={},n=null){this.root=e,this.queryParams=r,this.fragment=n}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=Rr(this.queryParams)),this._queryParamMap}toString(){return LS.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 Ia(this)}},Bn=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){var e;return(e=this._parameterMap)!=null||(this._parameterMap=Rr(this.parameters)),this._parameterMap}toString(){return Hv(this)}};function kS(t,e){return Hn(t,e)&&t.every((r,n)=>wt(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 FS(t,e){let r=[];return Object.entries(t.children).forEach(([n,o])=>{n===P&&(r=r.concat(e(o,n)))}),Object.entries(t.children).forEach(([n,o])=>{n!==P&&(r=r.concat(e(o,n)))}),r}var $o=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>new Or,providedIn:"root"});let t=e;return t})(),Or=class{parse(e){let r=new vd(e);return new qt(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r=`/${So(e.root,!0)}`,n=$S(e.queryParams),o=typeof e.fragment=="string"?`#${jS(e.fragment)}`:"";return`${r}${n}${o}`}},LS=new Or;function Ia(t){return t.segments.map(e=>Hv(e)).join("/")}function So(t,e){if(!t.hasChildren())return Ia(t);if(e){let r=t.children[P]?So(t.children[P],!1):"",n=[];return Object.entries(t.children).forEach(([o,i])=>{o!==P&&n.push(`${o}:${So(i,!1)}`)}),n.length>0?`${r}(${n.join("//")})`:r}else{let r=FS(t,(n,o)=>o===P?[So(t.children[P],!1)]:[`${o}:${So(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[P]!=null?`${Ia(t)}/${r[0]}`:`${Ia(t)}/(${r.join("//")})`}}function Bv(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Da(t){return Bv(t).replace(/%3B/gi,";")}function jS(t){return encodeURI(t)}function md(t){return Bv(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ca(t){return decodeURIComponent(t)}function Sv(t){return Ca(t.replace(/\+/g,"%20"))}function Hv(t){return`${md(t.path)}${VS(t.parameters)}`}function VS(t){return Object.entries(t).map(([e,r])=>`;${md(e)}=${md(r)}`).join("")}function $S(t){let e=Object.entries(t).map(([r,n])=>Array.isArray(n)?n.map(o=>`${Da(r)}=${Da(o)}`).join("&"):`${Da(r)}=${Da(n)}`).filter(r=>r);return e.length?`?${e.join("&")}`:""}var US=/^[^\/()?;#]+/;function ld(t){let e=t.match(US);return e?e[0]:""}var BS=/^[^\/()?;=#]+/;function HS(t){let e=t.match(BS);return e?e[0]:""}var zS=/^[^=?&#]+/;function GS(t){let e=t.match(zS);return e?e[0]:""}var qS=/^[^&#]+/;function WS(t){let e=t.match(qS);return e?e[0]:""}var vd=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[P]=new H(e,r)),n}parseSegment(){let e=ld(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(e),new Bn(Ca(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=HS(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let o=ld(this.remaining);o&&(n=o,this.capture(n))}e[Ca(r)]=Ca(n)}parseQueryParam(e){let r=GS(this.remaining);if(!r)return;this.capture(r);let n="";if(this.consumeOptional("=")){let s=WS(this.remaining);s&&(n=s,this.capture(n))}let o=Sv(r),i=Sv(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=ld(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=P);let s=this.parseChildren();r[i]=Object.keys(s).length===1?s[P]: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 zv(t){return t.segments.length>0?new H([],{[P]:t}):t}function Gv(t){let e={};for(let[n,o]of Object.entries(t.children)){let i=Gv(o);if(n===P&&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 ZS(r)}function ZS(t){if(t.numberOfChildren===1&&t.children[P]){let e=t.children[P];return new H(t.segments.concat(e.segments),e.children)}return t}function zn(t){return t instanceof qt}function YS(t,e,r=null,n=null){let o=qv(t);return Wv(o,e,r,n)}function qv(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=zv(n);return e!=null?e:o}function Wv(t,e,r,n){let o=t;for(;o.parent;)o=o.parent;if(e.length===0)return dd(o,o,o,r,n);let i=QS(e);if(i.toRoot())return dd(o,o,new H([],{}),r,n);let s=KS(i,o,t),a=s.processChildren?_o(s.segmentGroup,s.index,i.commands):Yv(s.segmentGroup,s.index,i.commands);return dd(o,s.segmentGroup,a,r,n)}function ba(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Ro(t){return typeof t=="object"&&t!=null&&t.outlets}function dd(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=Zv(t,e,r);let a=zv(Gv(s));return new qt(a,i,o)}function Zv(t,e,r){let n={};return Object.entries(t.children).forEach(([o,i])=>{i===e?n[o]=r:n[o]=Zv(i,e,r)}),new H(t.segments,n)}var Ma=class{constructor(e,r,n){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=n,e&&n.length>0&&ba(n[0]))throw new w(4003,!1);let o=n.find(Ro);if(o&&o!==Lv(n))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function QS(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Ma(!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 Ma(r,e,n)}var _r=class{constructor(e,r,n){this.segmentGroup=e,this.processChildren=r,this.index=n}};function KS(t,e,r){if(t.isAbsolute)return new _r(e,!0,0);if(!r)return new _r(e,!1,NaN);if(r.parent===null)return new _r(r,!0,0);let n=ba(t.commands[0])?0:1,o=r.segments.length-1+n;return JS(r,o,t.numberOfDoubleDots)}function JS(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 _r(n,!1,o-i)}function XS(t){return Ro(t[0])?t[0].outlets:{[P]:t}}function Yv(t,e,r){if(t!=null||(t=new H([],{})),t.segments.length===0&&t.hasChildren())return _o(t,e,r);let n=eT(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[P]=new H(t.segments.slice(n.pathIndex),t.children),_o(i,0,o)}else return n.match&&o.length===0?new H(t.segments,{}):n.match&&!t.hasChildren()?yd(t,e,r):n.match?_o(t,0,o):yd(t,e,r)}function _o(t,e,r){if(r.length===0)return new H(t.segments,{});{let n=XS(r),o={};if(Object.keys(n).some(i=>i!==P)&&t.children[P]&&t.numberOfChildren===1&&t.children[P].segments.length===0){let i=_o(t.children[P],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]=Yv(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 eT(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(Ro(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 yd(t,e,r){let n=t.segments.slice(0,e),o=0;for(;o<r.length;){let i=r[o];if(Ro(i)){let c=tT(i.outlets);return new H(n,c)}if(o===0&&ba(r[0])){let c=t.segments[e];n.push(new Bn(c.path,Tv(r[0]))),o++;continue}let s=Ro(i)?i.outlets[P]:`${i}`,a=o<r.length-1?r[o+1]:null;s&&a&&ba(a)?(n.push(new Bn(s,Tv(a))),o+=2):(n.push(new Bn(s,{})),o++)}return new H(n,{})}function tT(t){let e={};return Object.entries(t).forEach(([r,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[r]=yd(new H([],{}),0,n))}),e}function Tv(t){let e={};return Object.entries(t).forEach(([r,n])=>e[r]=`${n}`),e}function xv(t,e,r){return t==r.path&&wt(e,r.parameters)}var No="imperative",le=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}(le||{}),Ye=class{constructor(e,r){this.id=e,this.url=r}},Pr=class extends Ye{constructor(e,r,n="imperative",o=null){super(e,r),this.type=le.NavigationStart,this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},at=class extends Ye{constructor(e,r,n){super(e,r),this.urlAfterRedirects=n,this.type=le.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Be=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Be||{}),Sa=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(Sa||{}),Gt=class extends Ye{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=le.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},gn=class extends Ye{constructor(e,r,n,o){super(e,r),this.reason=n,this.code=o,this.type=le.NavigationSkipped}},Oo=class extends Ye{constructor(e,r,n,o){super(e,r),this.error=n,this.target=o,this.type=le.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ta=class extends Ye{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=le.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dd=class extends Ye{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=le.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},wd=class extends Ye{constructor(e,r,n,o,i){super(e,r),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=i,this.type=le.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ed=class extends Ye{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=le.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Id=class extends Ye{constructor(e,r,n,o){super(e,r),this.urlAfterRedirects=n,this.state=o,this.type=le.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Cd=class{constructor(e){this.route=e,this.type=le.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},bd=class{constructor(e){this.route=e,this.type=le.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Md=class{constructor(e){this.snapshot=e,this.type=le.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sd=class{constructor(e){this.snapshot=e,this.type=le.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Td=class{constructor(e){this.snapshot=e,this.type=le.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xd=class{constructor(e){this.snapshot=e,this.type=le.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},xa=class{constructor(e,r,n){this.routerEvent=e,this.position=r,this.anchor=n,this.type=le.Scroll}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},Po=class{},kr=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};function nT(t,e){var r;return t.providers&&!t._injector&&(t._injector=zs(t.providers,e,`Route: ${t.path}`)),(r=t._injector)!=null?r:e}function st(t){return t.outlet||P}function rT(t,e){let r=t.filter(n=>st(n)===e);return r.push(...t.filter(n=>st(n)!==e)),r}function Uo(t){var e;if(!t)return null;if((e=t.routeConfig)!=null&&e._injector)return t.routeConfig._injector;for(let r=t.parent;r;r=r.parent){let n=r.routeConfig;if(n!=null&&n._loadedInjector)return n._loadedInjector;if(n!=null&&n._injector)return n._injector}return null}var _d=class{get injector(){var e,r;return(r=Uo((e=this.route)==null?void 0:e.snapshot))!=null?r:this.rootInjector}set injector(e){}constructor(e){this.rootInjector=e,this.outlet=null,this.route=null,this.children=new Bo(this.rootInjector),this.attachRef=null}},Bo=(()=>{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 _d(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(Me))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),_a=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=Nd(e,this._root);return r?r.children.map(n=>n.value):[]}firstChild(e){let r=Nd(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Ad(e,this._root);return r.length<2?[]:r[r.length-2].children.map(o=>o.value).filter(o=>o!==e)}pathFromRoot(e){return Ad(e,this._root).map(r=>r.value)}};function Nd(t,e){if(t===e.value)return e;for(let r of e.children){let n=Nd(t,r);if(n)return n}return null}function Ad(t,e){if(t===e.value)return[e];for(let r of e.children){let n=Ad(t,r);if(n.length)return n.unshift(e),n}return[]}var Ue=class{constructor(e,r){this.value=e,this.children=r}toString(){return`TreeNode(${this.value})`}};function xr(t){let e={};return t&&t.children.forEach(r=>e[r.value.outlet]=r),e}var Na=class extends _a{constructor(e,r){super(e),this.snapshot=r,$d(this,e)}toString(){return this.snapshot.toString()}};function Qv(t){let e=oT(t),r=new fe([new Bn("",{})]),n=new fe({}),o=new fe({}),i=new fe({}),s=new fe(""),a=new Gn(r,n,i,s,o,P,t,e.root);return a.snapshot=e.root,new Na(new Ue(a,[]),e)}function oT(t){let e={},r={},n={},o="",i=new Nr([],e,n,o,r,P,t,null,{});return new Ra("",new Ue(i,[]))}var Gn=class{constructor(e,r,n,o,i,s,a,c){var u,l;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=(l=(u=this.dataSubject)==null?void 0:u.pipe(k(d=>d[Vo])))!=null?l:M(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(){var e;return(e=this._paramMap)!=null||(this._paramMap=this.params.pipe(k(r=>Rr(r)))),this._paramMap}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=this.queryParams.pipe(k(r=>Rr(r)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Aa(t,e,r="emptyOnly"){var i,s;let n,{routeConfig:o}=t;return e!==null&&(r==="always"||(o==null?void 0:o.path)===""||!e.component&&!((i=e.routeConfig)!=null&&i.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==null?void 0:o.data),t._resolvedData)}:n={params:D({},t.params),data:D({},t.data),resolve:D(D({},t.data),(s=t._resolvedData)!=null?s:{})},o&&Jv(o)&&(n.resolve[Vo]=o.title),n}var Nr=class{get title(){var e;return(e=this.data)==null?void 0:e[Vo]}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(){var e;return(e=this._paramMap)!=null||(this._paramMap=Rr(this.params)),this._paramMap}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=Rr(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}')`}},Ra=class extends _a{constructor(e,r){super(r),this.url=e,$d(this,r)}toString(){return Kv(this._root)}};function $d(t,e){e.value._routerState=t,e.children.forEach(r=>$d(t,r))}function Kv(t){let e=t.children.length>0?` { ${t.children.map(Kv).join(", ")} } `:"";return`${t.value}${e}`}function fd(t){if(t.snapshot){let e=t.snapshot,r=t._futureSnapshot;t.snapshot=r,wt(e.queryParams,r.queryParams)||t.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&t.fragmentSubject.next(r.fragment),wt(e.params,r.params)||t.paramsSubject.next(r.params),AS(e.url,r.url)||t.urlSubject.next(r.url),wt(e.data,r.data)||t.dataSubject.next(r.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function Rd(t,e){let r=wt(t.params,e.params)&&kS(t.url,e.url),n=!t.parent!=!e.parent;return r&&!n&&(!t.parent||Rd(t.parent,e.parent))}function Jv(t){return typeof t.title=="string"||t.title===null}var iT=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=P,this.activateEvents=new ge,this.deactivateEvents=new ge,this.attachEvents=new ge,this.detachEvents=new ge,this.parentContexts=g(Bo),this.location=g(ot),this.changeDetector=g($n),this.inputBinder=g(La,{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(){var n;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),(n=this.inputBinder)==null||n.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){var o;return((o=this.parentContexts.getContext(n))==null?void 0:o.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let n=this.parentContexts.getContext(this.name);n!=null&&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){var i;this.activated=n,this._activatedRoute=o,this.location.insert(n.hostView),(i=this.inputBinder)==null||i.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){var l;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 Od(n,c,i.injector);this.activated=i.createComponent(a,{index:i.length,injector:u,environmentInjector:o}),this.changeDetector.markForCheck(),(l=this.inputBinder)==null||l.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(o){return new(o||e)},e.\u0275dir=Oe({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[cn]});let t=e;return t})(),Od=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===Bo?this.childContexts:this.parent.get(e,r)}},La=new E(""),_v=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){var o;(o=this.outletDataSubscriptions.get(n))==null||o.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){let{activatedRoute:o}=n,i=Hr([o.queryParams,o.params,o.data]).pipe(Ce(([s,a,c],u)=>(c=D(D(D({},s),a),c),u===0?M(c):Promise.resolve(c)))).subscribe(s=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==o||o.component===null){this.unsubscribeFromRouteData(n);return}let a=Fm(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 sT(t,e,r){let n=ko(t,e._root,r?r._root:void 0);return new Na(n,e)}function ko(t,e,r){if(r&&t.shouldReuseRoute(e.value,r.value.snapshot)){let n=r.value;n._futureSnapshot=e.value;let o=aT(t,e,r);return new Ue(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=>ko(t,a)),s}}let n=cT(e.value),o=e.children.map(i=>ko(t,i));return new Ue(n,o)}}function aT(t,e,r){return e.children.map(n=>{for(let o of r.children)if(t.shouldReuseRoute(n.value,o.value.snapshot))return ko(t,n,o);return ko(t,n)})}function cT(t){return new Gn(new fe(t.url),new fe(t.params),new fe(t.queryParams),new fe(t.fragment),new fe(t.data),t.outlet,t.component,t)}var Fo=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},Xv="ngNavigationCancelingError";function Oa(t,e){let{redirectTo:r,navigationBehaviorOptions:n}=zn(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,o=ey(!1,Be.Redirect);return o.url=r,o.navigationBehaviorOptions=n,o}function ey(t,e){let r=new Error(`NavigationCancelingError: ${t||""}`);return r[Xv]=!0,r.cancellationCode=e,r}function uT(t){return ty(t)&&zn(t.url)}function ty(t){return!!t&&t[Xv]}var lT=(t,e,r,n)=>k(o=>(new Pd(e,o.targetRouterState,o.currentRouterState,r,n).activate(t),o)),Pd=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),fd(this.futureState.root),this.activateChildRoutes(r,n,e)}deactivateChildRoutes(e,r,n){let o=xr(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=xr(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=xr(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=xr(r);e.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],n),this.forwardEvent(new xd(i.value.snapshot))}),e.children.length&&this.forwardEvent(new Sd(e.value.snapshot))}activateRoutes(e,r,n){let o=e.value,i=r?r.value:null;if(fd(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),fd(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)}},Pa=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},Ar=class{constructor(e,r){this.component=e,this.route=r}};function dT(t,e,r){let n=t._root,o=e?e._root:null;return To(n,o,r,[n.value])}function fT(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Lr(t,e){let r=Symbol(),n=e.get(t,r);return n===r?typeof t=="function"&&!Oh(t)?t:e.get(t):n}function To(t,e,r,n,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=xr(e);return t.children.forEach(s=>{hT(s,i[s.value.outlet],r,n.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ao(a,r.getContext(s),o)),o}function hT(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=pT(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Pa(n)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?To(t,e,a?a.children:null,n,o):To(t,e,r,n,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ar(a.outlet.component,s))}else s&&Ao(e,a,o),o.canActivateChecks.push(new Pa(n)),i.component?To(t,null,a?a.children:null,n,o):To(t,null,r,n,o);return o}function pT(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)||!wt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Rd(t,e)||!wt(t.queryParams,e.queryParams);case"paramsChange":default:return!Rd(t,e)}}function Ao(t,e,r){let n=xr(t),o=t.value;Object.entries(n).forEach(([i,s])=>{o.component?e?Ao(s,e.children.getContext(i),r):Ao(s,null,r):Ao(s,e,r)}),o.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new Ar(e.outlet.component,o)):r.canDeactivateChecks.push(new Ar(null,o)):r.canDeactivateChecks.push(new Ar(null,o))}function Ho(t){return typeof t=="function"}function gT(t){return typeof t=="boolean"}function mT(t){return t&&Ho(t.canLoad)}function vT(t){return t&&Ho(t.canActivate)}function yT(t){return t&&Ho(t.canActivateChild)}function DT(t){return t&&Ho(t.canDeactivate)}function wT(t){return t&&Ho(t.canMatch)}function ny(t){return t instanceof ke||(t==null?void 0:t.name)==="EmptyError"}var wa=Symbol("INITIAL_VALUE");function Fr(){return Ce(t=>Hr(t.map(e=>e.pipe(He(1),fc(wa)))).pipe(k(e=>{for(let r of e)if(r!==!0){if(r===wa)return wa;if(r===!1||ET(r))return r}return!0}),ye(e=>e!==wa),He(1)))}function ET(t){return zn(t)||t instanceof Fo}function IT(t,e){return K(r=>{let{targetSnapshot:n,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=r;return s.length===0&&i.length===0?M(Y(D({},r),{guardsResult:!0})):CT(s,n,o,t).pipe(K(a=>a&&gT(a)?bT(n,i,t,e):M(a)),k(a=>Y(D({},r),{guardsResult:a})))})}function CT(t,e,r,n){return Q(t).pipe(K(o=>_T(o.component,o.route,r,e,n)),ut(o=>o!==!0,!0))}function bT(t,e,r,n){return Q(e).pipe(bt(o=>ct(ST(o.route.parent,n),MT(o.route,n),xT(t,o.path,r),TT(t,o.route,r))),ut(o=>o!==!0,!0))}function MT(t,e){return t!==null&&e&&e(new Td(t)),M(!0)}function ST(t,e){return t!==null&&e&&e(new Md(t)),M(!0)}function TT(t,e,r){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return M(!0);let o=n.map(i=>bi(()=>{var u;let s=(u=Uo(e))!=null?u:r,a=Lr(i,s),c=vT(a)?a.canActivate(e,t):Ge(s,()=>a(e,t));return mn(c).pipe(ut())}));return M(o).pipe(Fr())}function xT(t,e,r){let n=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(s=>fT(s)).filter(s=>s!==null).map(s=>bi(()=>{let a=s.guards.map(c=>{var h;let u=(h=Uo(s.node))!=null?h:r,l=Lr(c,u),d=yT(l)?l.canActivateChild(n,t):Ge(u,()=>l(n,t));return mn(d).pipe(ut())});return M(a).pipe(Fr())}));return M(i).pipe(Fr())}function _T(t,e,r,n,o){let i=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!i||i.length===0)return M(!0);let s=i.map(a=>{var d;let c=(d=Uo(e))!=null?d:o,u=Lr(a,c),l=DT(u)?u.canDeactivate(t,e,r,n):Ge(c,()=>u(t,e,r,n));return mn(l).pipe(ut())});return M(s).pipe(Fr())}function NT(t,e,r,n){let o=e.canLoad;if(o===void 0||o.length===0)return M(!0);let i=o.map(s=>{let a=Lr(s,t),c=mT(a)?a.canLoad(e,r):Ge(t,()=>a(e,r));return mn(c)});return M(i).pipe(Fr(),ry(n))}function ry(t){return tc(ae(e=>{if(typeof e!="boolean")throw Oa(t,e)}),k(e=>e===!0))}function AT(t,e,r,n){let o=e.canMatch;if(!o||o.length===0)return M(!0);let i=o.map(s=>{let a=Lr(s,t),c=wT(a)?a.canMatch(e,r):Ge(t,()=>a(e,r));return mn(c)});return M(i).pipe(Fr(),ry(n))}var Lo=class{constructor(e){this.segmentGroup=e||null}},jo=class extends Error{constructor(e){super(),this.urlTree=e}};function Tr(t){return er(new Lo(t))}function RT(t){return er(new w(4e3,!1))}function OT(t){return er(ey(!1,Be.GuardRejected))}var kd=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 M(n);if(o.numberOfChildren>1||!o.children[P])return RT(`${e.redirectTo}`);o=o.children[P]}}applyRedirectCommands(e,r,n,o,i){if(typeof r!="string"){let a=r,{queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,params:f,data:p,title:m}=o,v=Ge(i,()=>a({params:f,data:p,queryParams:c,fragment:u,routeConfig:l,url:d,outlet:h,title:m}));if(v instanceof qt)throw new jo(v);r=v}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,n);if(r[0]==="/")throw new jo(s);return s}applyRedirectCreateUrlTree(e,r,n,o){let i=this.createSegmentGroup(e,r.root,n,o);return new qt(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}},Fd={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function PT(t,e,r,n,o){let i=oy(t,e,r);return i.matched?(n=nT(e,n),AT(n,e,r,o).pipe(k(s=>s===!0?i:D({},Fd)))):M(i)}function oy(t,e,r){var a,c;if(e.path==="**")return kT(r);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||r.length>0)?D({},Fd):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let o=(e.matcher||NS)(r,t,e);if(!o)return D({},Fd);let i={};Object.entries((a=o.posParams)!=null?a:{}).forEach(([u,l])=>{i[u]=l.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:(c=o.posParams)!=null?c:{}}}function kT(t){return{matched:!0,parameters:t.length>0?Lv(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Nv(t,e,r,n){return r.length>0&&jT(t,r,n)?{segmentGroup:new H(e,LT(n,new H(r,t.children))),slicedSegments:[]}:r.length===0&&VT(t,r,n)?{segmentGroup:new H(t.segments,FT(t,r,n,t.children)),slicedSegments:r}:{segmentGroup:new H(t.segments,t.children),slicedSegments:r}}function FT(t,e,r,n){let o={};for(let i of r)if(ja(t,e,i)&&!n[st(i)]){let s=new H([],{});o[st(i)]=s}return D(D({},n),o)}function LT(t,e){let r={};r[P]=e;for(let n of t)if(n.path===""&&st(n)!==P){let o=new H([],{});r[st(n)]=o}return r}function jT(t,e,r){return r.some(n=>ja(t,e,n)&&st(n)!==P)}function VT(t,e,r){return r.some(n=>ja(t,e,n))}function ja(t,e,r){return(t.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function $T(t,e,r){return e.length===0&&!t.children[r]}var Ld=class{};function UT(t,e,r,n,o,i,s="emptyOnly"){return new jd(t,e,r,n,o,s,i).recognize()}var BT=31,jd=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 kd(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new w(4002,`'${e.segmentGroup}'`)}recognize(){let e=Nv(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(k(({children:r,rootSnapshot:n})=>{let o=new Ue(n,r),i=new Ra("",o),s=YS(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 Nr([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),P,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,P,r).pipe(k(n=>({children:n,rootSnapshot:r})),Kt(n=>{if(n instanceof jo)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Lo?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(k(s=>s instanceof Ue?[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 Q(i).pipe(bt(s=>{let a=n.children[s],c=rT(r,s);return this.processSegmentGroup(e,c,a,s,o)}),uc((s,a)=>(s.push(...a),s)),Jt(null),cc(),K(s=>{if(s===null)return Tr(n);let a=iy(s);return HT(a),M(a)}))}processSegment(e,r,n,o,i,s,a){return Q(r).pipe(bt(c=>{var u;return this.processSegmentAgainstRoute((u=c._injector)!=null?u:e,r,c,n,o,i,s,a).pipe(Kt(l=>{if(l instanceof Lo)return M(null);throw l}))}),ut(c=>!!c),Kt(c=>{if(ny(c))return $T(n,o,i)?M(new Ld):Tr(n);throw c}))}processSegmentAgainstRoute(e,r,n,o,i,s,a,c){return st(n)!==s&&(s===P||!ja(o,i,n))?Tr(o):n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,o,n,i,s,c):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,o,r,n,i,s,c):Tr(o)}expandSegmentAgainstRouteUsingRedirect(e,r,n,o,i,s,a){var v,y;let{matched:c,parameters:u,consumedSegments:l,positionalParamSegments:d,remainingSegments:h}=oy(r,o,i);if(!c)return Tr(r);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>BT&&(this.allowRedirects=!1));let f=new Nr(i,u,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Av(o),st(o),(y=(v=o.component)!=null?v:o._loadedComponent)!=null?y:null,o,Rv(o)),p=Aa(f,a,this.paramsInheritanceStrategy);f.params=Object.freeze(p.params),f.data=Object.freeze(p.data);let m=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,d,f,e);return this.applyRedirects.lineralizeSegments(o,m).pipe(K(b=>this.processSegment(e,n,r,b.concat(h),s,!1,a)))}matchSegmentAgainstRoute(e,r,n,o,i,s){let a=PT(r,n,o,e,this.urlSerializer);return n.path==="**"&&(r.children={}),a.pipe(Ce(c=>{var u;return c.matched?(e=(u=n._injector)!=null?u:e,this.getChildConfig(e,n,o).pipe(Ce(({routes:l})=>{var $,oe,ve;let d=($=n._loadedInjector)!=null?$:e,{parameters:h,consumedSegments:f,remainingSegments:p}=c,m=new Nr(f,h,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Av(n),st(n),(ve=(oe=n.component)!=null?oe:n._loadedComponent)!=null?ve:null,n,Rv(n)),v=Aa(m,s,this.paramsInheritanceStrategy);m.params=Object.freeze(v.params),m.data=Object.freeze(v.data);let{segmentGroup:y,slicedSegments:b}=Nv(r,f,p,l);if(b.length===0&&y.hasChildren())return this.processChildren(d,l,y,m).pipe(k(te=>new Ue(m,te)));if(l.length===0&&b.length===0)return M(new Ue(m,[]));let G=st(n)===i;return this.processSegment(d,l,y,b,G?P:i,!0,m).pipe(k(te=>new Ue(m,te instanceof Ue?[te]:[])))}))):Tr(r)}))}getChildConfig(e,r,n){return r.children?M({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?M({routes:r._loadedRoutes,injector:r._loadedInjector}):NT(e,r,n,this.urlSerializer).pipe(K(o=>o?this.configLoader.loadChildren(e,r).pipe(ae(i=>{r._loadedRoutes=i.routes,r._loadedInjector=i.injector})):OT(r))):M({routes:[],injector:e})}};function HT(t){t.sort((e,r)=>e.value.outlet===P?-1:r.value.outlet===P?1:e.value.outlet.localeCompare(r.value.outlet))}function zT(t){let e=t.value.routeConfig;return e&&e.path===""}function iy(t){let e=[],r=new Set;for(let n of t){if(!zT(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=iy(n.children);e.push(new Ue(n.value,o))}return e.filter(n=>!r.has(n))}function Av(t){return t.data||{}}function Rv(t){return t.resolve||{}}function GT(t,e,r,n,o,i){return K(s=>UT(t,e,r,n,s.extractedUrl,o,i).pipe(k(({state:a,tree:c})=>Y(D({},s),{targetSnapshot:a,urlAfterRedirects:c}))))}function qT(t,e){return K(r=>{let{targetSnapshot:n,guards:{canActivateChecks:o}}=r;if(!o.length)return M(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 sy(c))s.add(u);let a=0;return Q(s).pipe(bt(c=>i.has(c)?WT(c,n,t,e):(c.data=Aa(c,c.parent,t).resolve,M(void 0))),ae(()=>a++),nr(1),K(c=>a===s.size?M(r):Ie))})}function sy(t){let e=t.children.map(r=>sy(r)).flat();return[t,...e]}function WT(t,e,r,n){let o=t.routeConfig,i=t._resolve;return(o==null?void 0:o.title)!==void 0&&!Jv(o)&&(i[Vo]=o.title),ZT(i,t,e,n).pipe(k(s=>(t._resolvedData=s,t.data=Aa(t,t.parent,r).resolve,null)))}function ZT(t,e,r,n){let o=gd(t);if(o.length===0)return M({});let i={};return Q(o).pipe(K(s=>YT(t[s],e,r,n).pipe(ut(),ae(a=>{if(a instanceof Fo)throw Oa(new Or,a);i[s]=a}))),nr(1),Gr(i),Kt(s=>ny(s)?Ie:er(s)))}function YT(t,e,r,n){var a;let o=(a=Uo(e))!=null?a:n,i=Lr(t,o),s=i.resolve?i.resolve(e,r):Ge(o,()=>i(e,r));return mn(s)}function hd(t){return Ce(e=>{let r=t(e);return r?Q(r).pipe(k(()=>e)):M(e)})}var ay=(()=>{let e=class e{buildTitle(n){var s;let o,i=n.root;for(;i!==void 0;)o=(s=this.getResolvedTitleForRoute(i))!=null?s:o,i=i.children.find(a=>a.outlet===P);return o}getResolvedTitleForRoute(n){return n.data[Vo]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(QT),providedIn:"root"});let t=e;return t})(),QT=(()=>{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(bv))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),zo=new E("",{providedIn:"root",factory:()=>({})}),KT=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=Wh({type:e,selectors:[["ng-component"]],standalone:!0,features:[Cm],decls:1,vars:0,template:function(o,i){o&1&&xl(0,"router-outlet")},dependencies:[iT],encapsulation:2});let t=e;return t})();function Ud(t){let e=t.children&&t.children.map(Ud),r=e?Y(D({},t),{children:e}):D({},t);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==P&&(r.component=KT),r}var ka=new E(""),Bd=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=g(Ks)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return M(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let o=mn(n.loadComponent()).pipe(k(cy),ae(s=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=s}),Xt(()=>{this.componentLoaders.delete(n)})),i=new Kn(o,()=>new ie).pipe(Qn());return this.componentLoaders.set(n,i),i}loadChildren(n,o){if(this.childrenLoaders.get(o))return this.childrenLoaders.get(o);if(o._loadedRoutes)return M({routes:o._loadedRoutes,injector:o._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(o);let s=JT(o,this.compiler,n,this.onLoadEndListener).pipe(Xt(()=>{this.childrenLoaders.delete(o)})),a=new Kn(s,()=>new ie).pipe(Qn());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 JT(t,e,r,n){return mn(t.loadChildren()).pipe(k(cy),K(o=>o instanceof to||Array.isArray(o)?M(o):Q(e.compileModuleAsync(o))),k(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(ka,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ud),injector:i}}))}function XT(t){return t&&typeof t=="object"&&"default"in t}function cy(t){return XT(t)?t.default:t}var Hd=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(ex),providedIn:"root"});let t=e;return t})(),ex=(()=>{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})(),uy=new E(""),ly=new E("");function tx(t,e,r){let n=t.get(ly),o=t.get(ue);return t.get(z).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(),nx(t))),{onViewTransitionCreated:c}=n;return c&&Ge(t,()=>c({transition:a,from:e,to:r})),s})}function nx(t){return new Promise(e=>{Ml({read:()=>setTimeout(e)},{injector:t})})}var rx=new E(""),zd=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ie,this.transitionAbortSubject=new ie,this.configLoader=g(Bd),this.environmentInjector=g(Me),this.urlSerializer=g($o),this.rootContexts=g(Bo),this.location=g(Sr),this.inputBindingEnabled=g(La,{optional:!0})!==null,this.titleStrategy=g(ay),this.options=g(zo,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=g(Hd),this.createViewTransition=g(uy,{optional:!0}),this.navigationErrorHandler=g(rx,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>M(void 0),this.rootComponentType=null;let n=i=>this.events.next(new Cd(i)),o=i=>this.events.next(new bd(i));this.configLoader.onLoadEndListener=o,this.configLoader.onLoadStartListener=n}complete(){var n;(n=this.transitions)==null||n.complete()}handleNavigationRequest(n){var i;let o=++this.navigationId;(i=this.transitions)==null||i.next(Y(D(D({},this.transitions.value),n),{id:o}))}setupNavigations(n,o,i){return this.transitions=new fe({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:No,restoredState:null,currentSnapshot:i.snapshot,targetSnapshot:null,currentRouterState:i,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(ye(s=>s.id!==0),k(s=>Y(D({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),Ce(s=>{let a=!1,c=!1;return M(s).pipe(Ce(u=>{var h;if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Be.SupersededByNewNavigation),Ie;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?Y(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let l=!n.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),d=(h=u.extras.onSameUrlNavigation)!=null?h:n.onSameUrlNavigation;if(!l&&d!=="reload"){let f="";return this.events.next(new gn(u.id,this.urlSerializer.serialize(u.rawUrl),f,Sa.IgnoredSameUrlNavigation)),u.resolve(!1),Ie}if(this.urlHandlingStrategy.shouldProcessUrl(u.rawUrl))return M(u).pipe(Ce(f=>{var m,v;let p=(m=this.transitions)==null?void 0:m.getValue();return this.events.next(new Pr(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),p!==((v=this.transitions)==null?void 0:v.getValue())?Ie:Promise.resolve(f)}),GT(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,this.paramsInheritanceStrategy),ae(f=>{s.targetSnapshot=f.targetSnapshot,s.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=Y(D({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let p=new Ta(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(p)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(u.currentRawUrl)){let{id:f,extractedUrl:p,source:m,restoredState:v,extras:y}=u,b=new Pr(f,this.urlSerializer.serialize(p),m,v);this.events.next(b);let G=Qv(this.rootComponentType).snapshot;return this.currentTransition=s=Y(D({},u),{targetSnapshot:G,urlAfterRedirects:p,extras:Y(D({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,M(s)}else{let f="";return this.events.next(new gn(u.id,this.urlSerializer.serialize(u.extractedUrl),f,Sa.IgnoredByUrlHandlingStrategy)),u.resolve(!1),Ie}}),ae(u=>{let l=new Dd(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(l)}),k(u=>(this.currentTransition=s=Y(D({},u),{guards:dT(u.targetSnapshot,u.currentSnapshot,this.rootContexts)}),s)),IT(this.environmentInjector,u=>this.events.next(u)),ae(u=>{if(s.guardsResult=u.guardsResult,u.guardsResult&&typeof u.guardsResult!="boolean")throw Oa(this.urlSerializer,u.guardsResult);let l=new wd(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot,!!u.guardsResult);this.events.next(l)}),ye(u=>u.guardsResult?!0:(this.cancelNavigationTransition(u,"",Be.GuardRejected),!1)),hd(u=>{if(u.guards.canActivateChecks.length)return M(u).pipe(ae(l=>{let d=new Ed(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}),Ce(l=>{let d=!1;return M(l).pipe(qT(this.paramsInheritanceStrategy,this.environmentInjector),ae({next:()=>d=!0,complete:()=>{d||this.cancelNavigationTransition(l,"",Be.NoDataFromResolver)}}))}),ae(l=>{let d=new Id(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(d)}))}),hd(u=>{let l=d=>{var f;let h=[];(f=d.routeConfig)!=null&&f.loadComponent&&!d.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(d.routeConfig).pipe(ae(p=>{d.component=p}),k(()=>{})));for(let p of d.children)h.push(...l(p));return h};return Hr(l(u.targetSnapshot.root)).pipe(Jt(null),He(1))}),hd(()=>this.afterPreactivation()),Ce(()=>{var h;let{currentSnapshot:u,targetSnapshot:l}=s,d=(h=this.createViewTransition)==null?void 0:h.call(this,this.environmentInjector,u.root,l.root);return d?Q(d).pipe(k(()=>s)):M(s)}),k(u=>{let l=sT(n.routeReuseStrategy,u.targetSnapshot,u.currentRouterState);return this.currentTransition=s=Y(D({},u),{targetRouterState:l}),this.currentNavigation.targetRouterState=l,s}),ae(()=>{this.events.next(new Po)}),lT(this.rootContexts,n.routeReuseStrategy,u=>this.events.next(u),this.inputBindingEnabled),He(1),ae({next:u=>{var l;a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new at(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects))),(l=this.titleStrategy)==null||l.updateTitle(u.targetRouterState.snapshot),u.resolve(!0)},complete:()=>{a=!0}}),Ti(this.transitionAbortSubject.pipe(ae(u=>{throw u}))),Xt(()=>{var u;!a&&!c&&this.cancelNavigationTransition(s,"",Be.SupersededByNewNavigation),((u=this.currentTransition)==null?void 0:u.id)===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Kt(u=>{var l;if(c=!0,ty(u))this.events.next(new Gt(s.id,this.urlSerializer.serialize(s.extractedUrl),u.message,u.cancellationCode)),uT(u)?this.events.next(new kr(u.url,u.navigationBehaviorOptions)):s.resolve(!1);else{let d=new Oo(s.id,this.urlSerializer.serialize(s.extractedUrl),u,(l=s.targetSnapshot)!=null?l:void 0);try{let h=Ge(this.environmentInjector,()=>{var f;return(f=this.navigationErrorHandler)==null?void 0:f.call(this,d)});if(h instanceof Fo){let{message:f,cancellationCode:p}=Oa(this.urlSerializer,h);this.events.next(new Gt(s.id,this.urlSerializer.serialize(s.extractedUrl),f,p)),this.events.next(new kr(h.redirectTo,h.navigationBehaviorOptions))}else{this.events.next(d);let f=n.errorHandler(u);s.resolve(!!f)}}catch(h){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(h)}}return Ie}))}))}cancelNavigationTransition(n,o,i){let s=new Gt(n.id,this.urlSerializer.serialize(n.extractedUrl),o,i);this.events.next(s),n.resolve(!1)}isUpdatingInternalState(){var n,o;return((n=this.currentTransition)==null?void 0:n.extractedUrl.toString())!==((o=this.currentTransition)==null?void 0:o.currentUrlTree.toString())}isUpdatedBrowserUrl(){var i,s,a,c;let n=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),o=(a=(i=this.currentNavigation)==null?void 0:i.targetBrowserUrl)!=null?a:(s=this.currentNavigation)==null?void 0:s.extractedUrl;return n.toString()!==(o==null?void 0:o.toString())&&!((c=this.currentNavigation)!=null&&c.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 ox(t){return t!==No}var ix=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(sx),providedIn:"root"});let t=e;return t})(),Vd=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},sx=(()=>{let e=class e extends Vd{};e.\u0275fac=(()=>{let n;return function(i){return(n||(n=Xu(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),dy=(()=>{let e=class e{};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:()=>g(ax),providedIn:"root"});let t=e;return t})(),ax=(()=>{let e=class e extends dy{constructor(){super(...arguments),this.location=g(Sr),this.urlSerializer=g($o),this.options=g(zo,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=g(Hd),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new qt,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Qv(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var n,o;return this.canceledNavigationResolution!=="computed"?this.currentPageId:(o=(n=this.restoredState())==null?void 0:n.\u0275routerPageId)!=null?o: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){var i,s;if(n instanceof Pr)this.stateMemento=this.createStateMemento();else if(n instanceof gn)this.rawUrlTree=o.initialUrl;else if(n instanceof Ta){if(this.urlUpdateStrategy==="eager"&&!o.extras.skipLocationChange){let a=this.urlHandlingStrategy.merge(o.finalUrl,o.initialUrl);this.setBrowserUrl((i=o.targetBrowserUrl)!=null?i:a,o)}}else n instanceof Po?(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((s=o.targetBrowserUrl)!=null?s:this.rawUrlTree,o)):n instanceof Gt&&(n.code===Be.GuardRejected||n.code===Be.NoDataFromResolver)?this.restoreHistory(o):n instanceof Oo?this.restoreHistory(o,!0):n instanceof at&&(this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId)}setBrowserUrl(n,o){let i=n instanceof qt?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){var o;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,(o=n.finalUrl)!=null?o: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=Xu(e)))(i||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),xo=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(xo||{});function fy(t,e){t.events.pipe(ye(r=>r instanceof at||r instanceof Gt||r instanceof Oo||r instanceof gn),k(r=>r instanceof at||r instanceof gn?xo.COMPLETE:(r instanceof Gt?r.code===Be.Redirect||r.code===Be.SupersededByNewNavigation:!1)?xo.REDIRECTING:xo.FAILED),ye(r=>r!==xo.REDIRECTING),He(1)).subscribe(()=>{e()})}function cx(t){throw t}var ux={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},lx={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Wt=(()=>{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(){var n,o;this.disposed=!1,this.console=g(qs),this.stateManager=g(dy),this.options=g(zo,{optional:!0})||{},this.pendingTasks=g(Pt),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=g(zd),this.urlSerializer=g($o),this.location=g(Sr),this.urlHandlingStrategy=g(Hd),this._events=new ie,this.errorHandler=this.options.errorHandler||cx,this.navigated=!1,this.routeReuseStrategy=g(ix),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(o=(n=g(ka,{optional:!0}))==null?void 0:n.flat())!=null?o:[],this.componentInputBindingEnabled=!!g(La,{optional:!0}),this.eventsSubscription=new ne,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:i=>{this.console.warn(i)}}),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 Gt&&o.code!==Be.Redirect&&o.code!==Be.SupersededByNewNavigation)this.navigated=!0;else if(o instanceof at)this.navigated=!0;else if(o instanceof kr){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"||ox(i.source)},a);this.scheduleNavigation(c,No,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}fx(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),No,this.stateManager.restoredState())}setUpLocationChangeListener(){var n;(n=this.nonRouterCurrentEntryChangeSubscription)!=null||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((o,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(o,"popstate",i)},0)}))}navigateToSyncWithBrowser(n,o,i){let s={replaceUrl:!0},a=i!=null&&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(Ud),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!=null?c:this.options.defaultQueryParamsHandling){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 h;try{let f=i?i.snapshot:this.routerState.snapshot.root;h=qv(f)}catch{(typeof n[0]!="string"||n[0][0]!=="/")&&(n=[]),h=this.currentUrlTree.root}return Wv(h,n,d,l!=null?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,No,null,o)}navigate(n,o={skipLocationChange:!1}){return dx(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({},ux):o===!1?i=D({},lx):i=o,zn(n))return Mv(this.currentUrlTree,n,i);let s=this.parseUrl(n);return Mv(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((h,f)=>{c=h,u=f});let d=this.pendingTasks.add();return fy(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(h=>Promise.reject(h))}};e.\u0275fac=function(o){return new(o||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function dx(t){for(let e=0;e<t.length;e++)if(t[e]==null)throw new w(4008,!1)}function fx(t){return!(t instanceof Po)&&!(t instanceof kr)}var Ov=(()=>{let e=class e{constructor(n,o,i,s,a,c){var l;this.router=n,this.route=o,this.tabIndexAttribute=i,this.renderer=s,this.el=a,this.locationStrategy=c,this.href=null,this.onChanges=new ie,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let u=(l=a.nativeElement.tagName)==null?void 0:l.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=n.events.subscribe(d=>{d 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(){var n;(n=this.subscription)==null||n.unsubscribe()}updateHref(){var i;let n=this.urlTree;this.href=n!==null&&this.locationStrategy?(i=this.locationStrategy)==null?void 0:i.prepareExternalUrl(this.router.serializeUrl(n)):null;let o=this.href===null?null:ug(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)(j(Wt),j(Gn),el("tabindex"),j(dn),j(We),j(Ht))},e.\u0275dir=Oe({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(o,i){o&1&&_l("click",function(a){return i.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),o&2&&Sl("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",jt],skipLocationChange:[2,"skipLocationChange","skipLocationChange",jt],replaceUrl:[2,"replaceUrl","replaceUrl",jt],routerLink:"routerLink"},standalone:!0,features:[Hs,cn]});let t=e;return t})(),PL=(()=>{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 ge,this.routerEventsSubscription=n.events.subscribe(c=>{c instanceof at&&this.update()})}ngAfterContentInit(){M(this.links.changes,M(null)).pipe(Qt()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var o;(o=this.linkInputChangesSubscription)==null||o.unsubscribe();let n=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Q(n).pipe(Qt()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(n){let o=Array.isArray(n)?n:n.split(" ");this.classes=o.filter(i=>!!i)}ngOnChanges(n){this.update()}ngOnDestroy(){var n;this.routerEventsSubscription.unsubscribe(),(n=this.linkInputChangesSubscription)==null||n.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=hx(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)(j(Wt),j(We),j(dn),j($n),j(Ov,8))},e.\u0275dir=Oe({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(o,i,s){if(o&1&&ym(s,Ov,5),o&2){let a;Dm(a=wm())&&(i.links=a)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[cn]});let t=e;return t})();function hx(t){return!!t.paths}var Fa=class{};var px=(()=>{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(ye(n=>n instanceof at),bt(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,o){var s,a,c;let i=[];for(let u of o){u.providers&&!u._injector&&(u._injector=zs(u.providers,n,`Route: ${u.path}`));let l=(s=u._injector)!=null?s:n,d=(a=u._loadedInjector)!=null?a:l;(u.loadChildren&&!u._loadedRoutes&&u.canLoad===void 0||u.loadComponent&&!u._loadedComponent)&&i.push(this.preloadConfig(l,u)),(u.children||u._loadedRoutes)&&i.push(this.processRoutes(d,(c=u.children)!=null?c:u._loadedRoutes))}return Q(i).pipe(Qt())}preloadConfig(n,o){return this.preloadingStrategy.preload(o,()=>{let i;o.loadChildren&&o.canLoad===void 0?i=this.loader.loadChildren(n,o):i=M(null);let s=i.pipe(K(a=>{var c;return a===null?M(void 0):(o._loadedRoutes=a.routes,o._loadedInjector=a.injector,this.processRoutes((c=a.injector)!=null?c:n,a.routes))}));if(o.loadComponent&&!o._loadedComponent){let a=this.loader.loadComponent(o);return Q([s,a]).pipe(Qt())}else return s})}};e.\u0275fac=function(o){return new(o||e)(C(Wt),C(Ks),C(Me),C(Fa),C(Bd))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),hy=new E(""),gx=(()=>{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={},a.scrollPositionRestoration||(a.scrollPositionRestoration="disabled"),a.anchorScrolling||(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 Pr?(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 gn&&n.code===Sa.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 xa&&(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(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new xa(n,this.lastSource==="popstate"?this.store[this.restoredId]:null,o))})},0)})}ngOnDestroy(){var n,o;(n=this.routerEventsSubscription)==null||n.unsubscribe(),(o=this.scrollEventsSubscription)==null||o.unsubscribe()}};e.\u0275fac=function(o){bg()},e.\u0275prov=I({token:e,factory:e.\u0275fac});let t=e;return t})();function mx(t){return t.routerState.root}function Go(t,e){return{\u0275kind:t,\u0275providers:e}}function vx(){let t=g(Ae);return e=>{var i,s;let r=t.get(Lt);if(e!==r.components[0])return;let n=t.get(Wt),o=t.get(py);t.get(Gd)===1&&n.initialNavigation(),(i=t.get(gy,null,F.Optional))==null||i.setUpPreloading(),(s=t.get(hy,null,F.Optional))==null||s.init(),n.resetRootComponentType(r.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var py=new E("",{factory:()=>new ie}),Gd=new E("",{providedIn:"root",factory:()=>1});function yx(){return Go(2,[{provide:Gd,useValue:0},{provide:Ys,multi:!0,deps:[Ae],useFactory:e=>{let r=e.get(qm,Promise.resolve());return()=>r.then(()=>new Promise(n=>{let o=e.get(Wt),i=e.get(py);fy(o,()=>{n(!0)}),e.get(zd).afterPreactivation=()=>(n(!0),i.closed?M(void 0):i),o.initialNavigation()}))}}])}function Dx(){return Go(3,[{provide:Ys,multi:!0,useFactory:()=>{let e=g(Wt);return()=>{e.setUpLocationChangeListener()}}},{provide:Gd,useValue:2}])}var gy=new E("");function wx(t){return Go(0,[{provide:gy,useExisting:px},{provide:Fa,useExisting:t}])}function Ex(){return Go(8,[_v,{provide:La,useExisting:_v}])}function Ix(t){let e=[{provide:uy,useValue:tx},{provide:ly,useValue:D({skipNextTransition:!!(t!=null&&t.skipInitialTransition)},t)}];return Go(9,e)}var Pv=new E("ROUTER_FORROOT_GUARD"),Cx=[Sr,{provide:$o,useClass:Or},Wt,Bo,{provide:Gn,useFactory:mx,deps:[Wt]},Bd,[]],kL=(()=>{let e=class e{constructor(n){}static forRoot(n,o){return{ngModule:e,providers:[Cx,[],{provide:ka,multi:!0,useValue:n},{provide:Pv,useFactory:Tx,deps:[[Wt,new io,new Ds]]},{provide:zo,useValue:o||{}},o!=null&&o.useHash?Mx():Sx(),bx(),o!=null&&o.preloadingStrategy?wx(o.preloadingStrategy).\u0275providers:[],o!=null&&o.initialNavigation?xx(o):[],o!=null&&o.bindToComponentInputs?Ex().\u0275providers:[],o!=null&&o.enableViewTransitions?Ix().\u0275providers:[],_x()]}}static forChild(n){return{ngModule:e,providers:[{provide:ka,multi:!0,useValue:n}]}}};e.\u0275fac=function(o){return new(o||e)(C(Pv,8))},e.\u0275mod=Rt({type:e}),e.\u0275inj=At({});let t=e;return t})();function bx(){return{provide:hy,useFactory:()=>{let t=g(tv),e=g(z),r=g(zo),n=g(zd),o=g($o);return r.scrollOffset&&t.setOffset(r.scrollOffset),new gx(o,n,t,e,r)}}}function Mx(){return{provide:Ht,useClass:Zm}}function Sx(){return{provide:Ht,useClass:Zl}}function Tx(t){return"guarded"}function xx(t){return[t.initialNavigation==="disabled"?Dx().\u0275providers:[],t.initialNavigation==="enabledBlocking"?yx().\u0275providers:[]]}var kv=new E("");function _x(){return[{provide:kv,useFactory:vx},{provide:Qs,multi:!0,useExisting:kv}]}export{D as a,Y as b,Nx as c,Iy as d,Ax as e,Rx as f,Ox as g,Px as h,Zo as i,ne as j,R as k,ie as l,fe as m,Ie as n,Q as o,M as p,er as q,ic as r,Uy as s,By as t,k as u,K as v,ct as w,bi as x,Ky as y,sc as z,zr as A,oD as B,ye as C,sD as D,cD as E,Kt as F,bt as G,Ff as H,He as I,uD as J,lD as K,hD as L,ut as M,dc as N,pD as O,gD as P,Ce as Q,Ti as R,ae as S,mD as T,w as U,Ah as V,I as W,At as X,E as Y,C as Z,g as _,Wh as $,Rt as aa,Oe as ba,ao as ca,Es as da,Me as ea,op as fa,cn as ga,_F as ha,NF as ia,AF as ja,Xu as ka,Ae as la,tl as ma,ge as na,z as oa,We as pa,nt as qa,RF as ra,rt as sa,OF as ta,$E as ua,PF as va,kF as wa,j as xa,Nt as ya,yr as za,Dr as Aa,dn as Ba,ot as Ca,VF as Da,UC as Ea,$F as Fa,eb as Ga,sr as Ha,rb as Ia,Ml as Ja,Sl as Ka,vb as La,Tl as Ma,yb as Na,UF as Oa,BF as Pa,HF as Qa,zF as Ra,GF as Sa,qF as Ta,pm as Ua,gm as Va,xl as Wa,Ob as Xa,Pb as Ya,WF as Za,Fb as _a,Lb as $a,_l as ab,ZF as bb,YF as cb,QF as db,ym as eb,KF as fb,Dm as gb,wm as hb,JF as ib,XF as jb,Yb as kb,Em as lb,Qb as mb,Kb as nb,Jb as ob,e1 as pb,Xb as qb,t1 as rb,Cm as sb,n1 as tb,r1 as ub,o1 as vb,i1 as wb,s1 as xb,a1 as yb,c1 as zb,u1 as Ab,l1 as Bb,go as Cb,Lt as Db,mo as Eb,$n as Fb,jt as Gb,d1 as Hb,AM as Ib,f1 as Jb,Un as Kb,ue as Lb,ql as Mb,Wm as Nb,_1 as Ob,N1 as Pb,A1 as Qb,R1 as Rb,Xm as Sb,O1 as Tb,P1 as Ub,k1 as Vb,F1 as Wb,L1 as Xb,j1 as Yb,V1 as Zb,$1 as _b,ev as $b,w0 as ac,yo as bc,U1 as cc,pa as dc,hn as ec,pn as fc,Io as gc,$0 as hc,W0 as ic,eL as jc,vv as kc,gL as lc,mL as mc,bv as nc,TS as oc,at as pc,Gn as qc,iT as rc,Wt as sc,Ov as tc,PL as uc,kL as vc};