@duplicati/ngclient 0.0.75 → 0.0.78

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 (94) hide show
  1. package/assets/spk.woff2 +0 -0
  2. package/chunk-2K3CR66C.js +1 -0
  3. package/chunk-3CRA7LUM.js +1 -0
  4. package/chunk-3LITUWIH.js +3 -0
  5. package/{chunk-MYVJZFYR.js → chunk-4OE5GJEY.js} +1 -1
  6. package/chunk-5K2CQFVP.js +1 -0
  7. package/chunk-6SIZVSDW.js +2 -0
  8. package/chunk-7KWOTSVE.js +1 -0
  9. package/{chunk-MO2Z6B4L.js → chunk-7P2RW65H.js} +1 -1
  10. package/chunk-7QPDYG2R.js +1 -0
  11. package/{chunk-VYEOCR5P.js → chunk-7WKWA7QK.js} +1 -1
  12. package/chunk-AGD6LHBQ.js +1 -0
  13. package/chunk-BLF5NVEW.js +1 -0
  14. package/{chunk-CAGBL2MP.js → chunk-BRTUMDFG.js} +1 -1
  15. package/{chunk-FCPUMFVG.js → chunk-CS4VRCLU.js} +1 -1
  16. package/{chunk-6UENVGZZ.js → chunk-DVV65XF4.js} +1 -1
  17. package/{chunk-BH76PDAQ.js → chunk-EW42J6OZ.js} +1 -1
  18. package/chunk-F4G2WAF6.js +1 -0
  19. package/{chunk-L5ZZZJEY.js → chunk-F7KC3CMY.js} +1 -1
  20. package/{chunk-GJ6GRAEW.js → chunk-FOHDLUCC.js} +1 -1
  21. package/{chunk-VJQDP23H.js → chunk-G7YGQ54D.js} +1 -1
  22. package/{chunk-O6RVMQZJ.js → chunk-HDBZ3ISU.js} +1 -1
  23. package/{chunk-RHYWPAMY.js → chunk-HXGHAEWC.js} +1 -1
  24. package/{chunk-BY56DZ7Y.js → chunk-HZOYOR46.js} +1 -1
  25. package/chunk-IKTCS2AI.js +1 -0
  26. package/chunk-ILPTEKIT.js +1 -0
  27. package/{chunk-RBVR4WTJ.js → chunk-IN72UOWN.js} +1 -1
  28. package/{chunk-GUYLCNVM.js → chunk-IWSFC3I6.js} +1 -1
  29. package/chunk-JOBMLOGZ.js +1 -0
  30. package/{chunk-VKMKZKNR.js → chunk-JZOCG4KQ.js} +1 -1
  31. package/{chunk-KYQC46J2.js → chunk-KHIKPOXK.js} +1 -1
  32. package/{chunk-ANP5WEOJ.js → chunk-KPP5HW6S.js} +1 -1
  33. package/{chunk-C6ELLTE3.js → chunk-KRXCULQR.js} +1 -1
  34. package/{chunk-UJWW7PS7.js → chunk-LFQXDL42.js} +1 -1
  35. package/{chunk-6CRYB4HA.js → chunk-MHZPUJQF.js} +1 -1
  36. package/{chunk-2QQJM43S.js → chunk-N4ZZA3JQ.js} +1 -1
  37. package/{chunk-BEBLA2OU.js → chunk-NDQ5RFC6.js} +1 -1
  38. package/chunk-NVTD7IP4.js +1 -0
  39. package/{chunk-5KGMNBD7.js → chunk-O3XPW5NY.js} +1 -1
  40. package/chunk-OEWX26UE.js +1 -0
  41. package/{chunk-WC5LGG33.js → chunk-ONPMD5AY.js} +1 -1
  42. package/chunk-OYXHFCSL.js +1 -0
  43. package/{chunk-22GS6UCG.js → chunk-PTG2C2YJ.js} +1 -1
  44. package/chunk-Q4JQCY64.js +1 -0
  45. package/chunk-QDAWQNBQ.js +7 -0
  46. package/{chunk-B2WGFVBU.js → chunk-QI7DMSHZ.js} +1 -1
  47. package/{chunk-HSJOAC3M.js → chunk-RBT353UU.js} +1 -1
  48. package/{chunk-4RXB65JX.js → chunk-SRMNNICE.js} +1 -1
  49. package/chunk-TL325ZMY.js +1 -0
  50. package/{chunk-KJ4O6F3R.js → chunk-TQE7OBBP.js} +1 -1
  51. package/{chunk-6UCUDY7Y.js → chunk-TRNWEHWA.js} +1 -1
  52. package/chunk-UNJ66CNQ.js +1 -0
  53. package/{chunk-GK7T43YY.js → chunk-US4WRUST.js} +1 -1
  54. package/{chunk-OW3MZ4H6.js → chunk-VFTEC7DW.js} +1 -1
  55. package/{chunk-75LRDDG3.js → chunk-VKHZOVLO.js} +1 -1
  56. package/{chunk-4U7FEVBB.js → chunk-WF5PRSGZ.js} +1 -1
  57. package/chunk-WX6WWOS5.js +1 -0
  58. package/{chunk-Z5NZYMJN.js → chunk-XFRVNXF6.js} +1 -1
  59. package/chunk-XKSLV5L6.js +1 -0
  60. package/chunk-XLU5TCBE.js +1 -0
  61. package/{chunk-H7TJZPPJ.js → chunk-Z5FVTSXP.js} +1 -1
  62. package/{chunk-6TZWRTRA.js → chunk-ZOMDTRAX.js} +1 -1
  63. package/chunk-ZRPJ3QZT.js +1 -0
  64. package/chunk-ZYUKP5CS.js +1 -0
  65. package/index.html +2 -2
  66. package/main-WZFPMKCC.js +1 -0
  67. package/package.json +1 -1
  68. package/{styles-CDWBWJYO.css → styles-S3CXMNLR.css} +1 -1
  69. package/chunk-27WZKWHA.js +0 -1
  70. package/chunk-3WKDD2IN.js +0 -1
  71. package/chunk-44756Q4J.js +0 -1
  72. package/chunk-47W7PRQ6.js +0 -1
  73. package/chunk-4KMNVH5V.js +0 -1
  74. package/chunk-56COR7JJ.js +0 -1
  75. package/chunk-6JYRURGN.js +0 -1
  76. package/chunk-6LUM2XU4.js +0 -2
  77. package/chunk-AVE4TFNY.js +0 -1
  78. package/chunk-BATRQ3TX.js +0 -1
  79. package/chunk-BRC25F45.js +0 -1
  80. package/chunk-BZKHWYFG.js +0 -1
  81. package/chunk-D6FCW3QQ.js +0 -1
  82. package/chunk-EIXQH7S4.js +0 -3
  83. package/chunk-ETEYALHD.js +0 -1
  84. package/chunk-GDAK2UGG.js +0 -1
  85. package/chunk-JRIOZ5MP.js +0 -1
  86. package/chunk-JZCJ723Q.js +0 -1
  87. package/chunk-JZQC7RPU.js +0 -1
  88. package/chunk-MLTG5TKC.js +0 -1
  89. package/chunk-NQVULKI2.js +0 -1
  90. package/chunk-Q3JJWGXW.js +0 -7
  91. package/chunk-R7TYMWSG.js +0 -1
  92. package/chunk-TS4YY2WO.js +0 -1
  93. package/chunk-YBPSOGY5.js +0 -1
  94. package/main-LMBIECYV.js +0 -1
package/chunk-Q3JJWGXW.js DELETED
@@ -1,7 +0,0 @@
1
- import{a as ie,b as se}from"./chunk-C6Q5SG76.js";function W(e){return e}function kp(...e){return hi(e)}function hi(e){return e.length===0?W:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}function b(e){return typeof e=="function"}function He(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var ir=He(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
2
- ${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=n});function rt(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var V=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(b(r))try{r()}catch(i){t=i instanceof ir?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{pc(i)}catch(s){t=t??[],s instanceof ir?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ir(t)}}add(t){var n;if(t&&t!==this)if(this.closed)pc(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&rt(n,t)}remove(t){let{_finalizers:n}=this;n&&rt(n,t),t instanceof e&&t._removeParent(this)}};V.EMPTY=(()=>{let e=new V;return e.closed=!0,e})();var gi=V.EMPTY;function sr(e){return e instanceof V||e&&"closed"in e&&b(e.remove)&&b(e.add)&&b(e.unsubscribe)}function pc(e){b(e)?e():e.unsubscribe()}var ve={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var At={setTimeout(e,t,...n){let{delegate:r}=At;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=At;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function ar(e){At.setTimeout(()=>{let{onUnhandledError:t}=ve;if(t)t(e);else throw e})}function gn(){}var hc=mi("C",void 0,void 0);function gc(e){return mi("E",void 0,e)}function mc(e){return mi("N",e,void 0)}function mi(e,t,n){return{kind:e,value:t,error:n}}var ot=null;function Pt(e){if(ve.useDeprecatedSynchronousErrorHandling){let t=!ot;if(t&&(ot={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ot;if(ot=null,n)throw r}}else e()}function yc(e){ve.useDeprecatedSynchronousErrorHandling&&ot&&(ot.errorThrown=!0,ot.error=e)}var it=class extends V{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,sr(t)&&t.add(this)):this.destination=Ap}static create(t,n,r){return new Se(t,n,r)}next(t){this.isStopped?vi(mc(t),this):this._next(t)}error(t){this.isStopped?vi(gc(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?vi(hc,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Op=Function.prototype.bind;function yi(e,t){return Op.call(e,t)}var Ii=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){cr(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){cr(r)}else cr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){cr(n)}}},Se=class extends it{constructor(t,n,r){super();let o;if(b(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ve.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&yi(t.next,i),error:t.error&&yi(t.error,i),complete:t.complete&&yi(t.complete,i)}):o=t}this.destination=new Ii(o)}};function cr(e){ve.useDeprecatedSynchronousErrorHandling?yc(e):ar(e)}function Rp(e){throw e}function vi(e,t){let{onStoppedNotification:n}=ve;n&&At.setTimeout(()=>n(e,t))}var Ap={closed:!0,next:gn,error:Rp,complete:gn};var Lt=typeof Symbol=="function"&&Symbol.observable||"@@observable";var S=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Lp(n)?n:new Se(n,r,o);return Pt(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=vc(r),new r((o,i)=>{let s=new Se({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Lt](){return this}pipe(...n){return hi(n)(this)}toPromise(n){return n=vc(n),new n((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function vc(e){var t;return(t=e??ve.Promise)!==null&&t!==void 0?t:Promise}function Pp(e){return e&&b(e.next)&&b(e.error)&&b(e.complete)}function Lp(e){return e&&e instanceof it||Pp(e)&&sr(e)}var Ic=He(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var pe=(()=>{class e extends S{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new lr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Ic}next(n){Pt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Pt(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Pt(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:o,observers:i}=this;return r||o?gi:(this.currentObservers=null,i.push(n),new V(()=>{this.currentObservers=null,rt(i,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){let n=new S;return n.source=this,n}}return e.create=(t,n)=>new lr(t,n),e})(),lr=class extends pe{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:gi}};function ur(e){return e&&b(e.schedule)}function Ec(e){return e[e.length-1]}function Ft(e){return b(Ec(e))?e.pop():void 0}function Be(e){return ur(Ec(e))?e.pop():void 0}function Dc(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function wc(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function st(e){return this instanceof st?(this.v=e,this):new st(e)}function bc(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(h){return Promise.resolve(h).then(f,d)}}function a(f,h){r[f]&&(o[f]=function(g){return new Promise(function(I,m){i.push([f,g,I,m])>1||c(f,g)})},h&&(o[f]=h(o[f])))}function c(f,h){try{l(r[f](h))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof st?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,h){f(h),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Mc(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof wc=="function"?wc(e):e[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var dr=e=>e&&typeof e.length=="number"&&typeof e!="function";function fr(e){return b(e?.then)}function pr(e){return b(e[Lt])}function hr(e){return Symbol.asyncIterator&&b(e?.[Symbol.asyncIterator])}function gr(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function Fp(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var mr=Fp();function yr(e){return b(e?.[mr])}function vr(e){return bc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield st(n.read());if(o)return yield st(void 0);yield yield st(r)}}finally{n.releaseLock()}})}function Ir(e){return b(e?.getReader)}function A(e){if(e instanceof S)return e;if(e!=null){if(pr(e))return Vp(e);if(dr(e))return jp(e);if(fr(e))return Hp(e);if(hr(e))return Cc(e);if(yr(e))return Bp(e);if(Ir(e))return $p(e)}throw gr(e)}function Vp(e){return new S(t=>{let n=e[Lt]();if(b(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function jp(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Hp(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,ar)})}function Bp(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Cc(e){return new S(t=>{Up(e,t).catch(n=>t.error(n))})}function $p(e){return Cc(vr(e))}function Up(e,t){var n,r,o,i;return Dc(this,void 0,void 0,function*(){try{for(n=Mc(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function J(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Ei(e){return b(e?.lift)}function D(e){return t=>{if(Ei(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function w(e,t,n,r,o){return new wi(e,t,n,r,o)}var wi=class extends it{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function Er(e,t=0){return D((n,r)=>{n.subscribe(w(r,o=>J(r,e,()=>r.next(o),t),()=>J(r,e,()=>r.complete(),t),o=>J(r,e,()=>r.error(o),t)))})}function wr(e,t=0){return D((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Tc(e,t){return A(e).pipe(wr(t),Er(t))}function _c(e,t){return A(e).pipe(wr(t),Er(t))}function xc(e,t){return new S(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Nc(e,t){return new S(n=>{let r;return J(n,t,()=>{r=e[mr](),J(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>b(r?.return)&&r.return()})}function Dr(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{J(n,t,()=>{let r=e[Symbol.asyncIterator]();J(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Sc(e,t){return Dr(vr(e),t)}function kc(e,t){if(e!=null){if(pr(e))return Tc(e,t);if(dr(e))return xc(e,t);if(fr(e))return _c(e,t);if(hr(e))return Dr(e,t);if(yr(e))return Nc(e,t);if(Ir(e))return Sc(e,t)}throw gr(e)}function $e(e,t){return t?kc(e,t):A(e)}function qp(...e){let t=Be(e);return $e(e,t)}function Ue(e,t){return D((n,r)=>{let o=0;n.subscribe(w(r,i=>{r.next(e.call(t,i,o++))}))})}function Di(e){return D((t,n)=>{let r=null,o=!1,i;r=t.subscribe(w(n,void 0,void 0,s=>{i=A(e(s,Di(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}var br=class extends V{constructor(t,n){super()}schedule(t,n=0){return this}};var mn={setInterval(e,t,...n){let{delegate:r}=mn;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=mn;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var Mr=class extends br{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return mn.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&mn.clearInterval(n)}execute(t,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,rt(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var yn={now(){return(yn.delegate||Date).now()},delegate:void 0};var Vt=class e{constructor(t,n=e.now){this.schedulerActionCtor=t,this.now=n}schedule(t,n=0,r){return new this.schedulerActionCtor(this,t).schedule(r,n)}};Vt.now=yn.now;var Cr=class extends Vt{constructor(t,n=Vt.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var vn=new Cr(Mr),Oc=vn;function Wp(e,t=vn){return D((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(w(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}var at=new S(e=>e.complete());function Tr(e){return e<=0?()=>at:D((t,n)=>{let r=0;t.subscribe(w(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Rc(e){return D((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ac(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?h(g):c.push(g),h=g=>{i&&t.next(g),l++;let I=!1;A(n(g,u++)).subscribe(w(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{I=!0},void 0,()=>{if(I)try{for(l--;c.length&&l<r;){let m=c.shift();s?J(t,s,()=>h(m)):h(m)}p()}catch(m){t.error(m)}}))};return e.subscribe(w(t,f,()=>{d=!0,p()})),()=>{a?.()}}function ct(e,t,n=1/0){return b(t)?ct((r,o)=>Ue((i,s)=>t(r,i,o,s))(A(e(r,o))),n):(typeof t=="number"&&(n=t),D((r,o)=>Ac(r,o,e,n)))}function bi(e=1/0){return ct(W,e)}function Pc(){return bi(1)}function _r(...e){return Pc()($e(e,Be(e)))}function Lc(...e){let t=Be(e);return D((n,r)=>{(t?_r(e,n,t):_r(e,n)).subscribe(r)})}function Fc(e,t){return D((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(w(r,c=>{o?.unsubscribe();let l=0,u=i++;A(e(c,u)).subscribe(o=w(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Mi(){return D((e,t)=>{let n=null;e._refCount++;let r=w(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Ci=class extends S{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ei(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new V;let n=this.getSubject();t.add(this.source.subscribe(w(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=V.EMPTY)}return t}refCount(){return Mi()(this)}};var In=class extends pe{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var En=class extends pe{constructor(t=1/0,n=1/0,r=yn){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};function Gp(e,t){let n=b(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function zp(e){return!!e&&(e instanceof S||b(e.lift)&&b(e.subscribe))}var lt=He(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function xr(e){return e instanceof Date&&!isNaN(e)}var Qp=He(e=>function(n=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=n});function Zp(e,t){let{first:n,each:r,with:o=Yp,scheduler:i=t??vn,meta:s=null}=xr(e)?{first:e}:typeof e=="number"?{each:e}:e;if(n==null&&r==null)throw new TypeError("No timeout provided.");return D((a,c)=>{let l,u,d=null,p=0,f=h=>{u=J(c,i,()=>{try{l.unsubscribe(),A(o({meta:s,lastValue:d,seen:p})).subscribe(c)}catch(g){c.error(g)}},h)};l=a.subscribe(w(c,h=>{u?.unsubscribe(),p++,c.next(d=h),r>0&&f(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!p&&f(n!=null?typeof n=="number"?n:+n-i.now():r)})}function Yp(e){throw new Qp(e)}var{isArray:Jp}=Array;function Kp(e,t){return Jp(t)?e(...t):e(t)}function Nr(e){return Ue(t=>Kp(e,t))}var{isArray:Xp}=Array,{getPrototypeOf:eh,prototype:th,keys:nh}=Object;function Sr(e){if(e.length===1){let t=e[0];if(Xp(t))return{args:t,keys:null};if(rh(t)){let n=nh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function rh(e){return e&&typeof e=="object"&&eh(e)===th}function kr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function oh(...e){let t=Be(e),n=Ft(e),{args:r,keys:o}=Sr(e);if(r.length===0)return $e([],t);let i=new S(ih(r,t,o?s=>kr(o,s):W));return n?i.pipe(Nr(n)):i}function ih(e,t,n=W){return r=>{Vc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Vc(t,()=>{let l=$e(e[c],t),u=!1;l.subscribe(w(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Vc(e,t,n){e?J(n,e,t):t()}function sh(e){return new S(t=>{A(e()).subscribe(t)})}function ah(...e){let t=Ft(e),{args:n,keys:r}=Sr(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;A(n[u]).subscribe(w(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?kr(r,a):a),i.complete())}))}});return t?o.pipe(Nr(t)):o}function jc(e=0,t,n=Oc){let r=-1;return t!=null&&(ur(t)?n=t:r=t),new S(o=>{let i=xr(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}var{isArray:ch}=Array;function Hc(e){return e.length===1&&ch(e[0])?e[0]:e}function wn(e,t){return D((n,r)=>{let o=0;n.subscribe(w(r,i=>e.call(t,i,o++)&&r.next(i)))})}function lh(...e){let t=Ft(e),n=Hc(e);return n.length?new S(r=>{let o=n.map(()=>[]),i=n.map(()=>!1);r.add(()=>{o=i=null});for(let s=0;!r.closed&&s<n.length;s++)A(n[s]).subscribe(w(r,a=>{if(o[s].push(a),o.every(c=>c.length)){let c=o.map(l=>l.shift());r.next(t?t(...c):c),o.some((l,u)=>!l.length&&i[u])&&r.complete()}},()=>{i[s]=!0,!o[s].length&&r.complete()}));return()=>{o=i=null}}):at}function Bc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(w(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function uh(e,t){return b(t)?ct(e,t,1):ct(e,1)}function Dn(e){return D((t,n)=>{let r=!1;t.subscribe(w(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function dh(e,t=W){return e=e??fh,D((n,r)=>{let o,i=!0;n.subscribe(w(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function fh(e,t){return e===t}function Or(e=ph){return D((t,n)=>{let r=!1;t.subscribe(w(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function ph(){return new lt}function hh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?wn((o,i)=>e(o,i,r)):W,Tr(1),n?Dn(t):Or(()=>new lt))}function Ti(e){return e<=0?()=>at:D((t,n)=>{let r=[];t.subscribe(w(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function gh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?wn((o,i)=>e(o,i,r)):W,Ti(1),n?Dn(t):Or(()=>new lt))}function mh(e=1/0){let t;e&&typeof e=="object"?t=e:t={count:e};let{count:n=1/0,delay:r,resetOnSuccess:o=!1}=t;return n<=0?W:D((i,s)=>{let a=0,c,l=()=>{let u=!1;c=i.subscribe(w(s,d=>{o&&(a=0),s.next(d)},void 0,d=>{if(a++<n){let p=()=>{c?(c.unsubscribe(),c=null,l()):u=!0};if(r!=null){let f=typeof r=="number"?jc(r):A(r(d,a)),h=w(s,()=>{h.unsubscribe(),p()},()=>{s.complete()});f.subscribe(h)}else p()}else s.error(d)})),u&&(c.unsubscribe(),c=null,l())};l()})}function yh(e,t){return D(Bc(e,t,arguments.length>=2,!0))}function $c(e={}){let{connector:t=()=>new pe,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},h=()=>{let g=s;f(),g?.unsubscribe()};return D((g,I)=>{l++,!d&&!u&&p();let m=c=c??t();I.add(()=>{l--,l===0&&!d&&!u&&(a=_i(h,o))}),m.subscribe(I),!s&&l>0&&(s=new Se({next:_=>m.next(_),error:_=>{d=!0,p(),a=_i(f,n,_),m.error(_)},complete:()=>{u=!0,p(),a=_i(f,r),m.complete()}}),A(g).subscribe(s))})(i)}}function _i(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Se({next:()=>{r.unsubscribe(),e()}});return A(t(...n)).subscribe(r)}function vh(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,$c({connector:()=>new En(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ih(e){return D((t,n)=>{A(e).subscribe(w(n,()=>n.complete(),gn)),!n.closed&&t.subscribe(n)})}function Uc(e,t,n){let r=b(e)||t||n?{next:e,error:t,complete:n}:e;return r?D((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(w(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):W}function Ar(e,t){return Object.is(e,t)}var B=null,bn=!1,ki=1,G=Symbol("SIGNAL");function M(e){let t=B;return B=e,t}function qc(){return B}function Eh(){return bn}var qe={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function jt(e){if(bn)throw new Error("");if(B===null)return;B.consumerOnSignalRead(e);let t=B.nextProducerIndex++;if(Lr(B),t<B.producerNode.length&&B.producerNode[t]!==e&&Cn(B)){let n=B.producerNode[t];Pr(n,B.producerIndexOfThis[t])}B.producerNode[t]!==e&&(B.producerNode[t]=e,B.producerIndexOfThis[t]=Cn(B)?Qc(e,B,t):0),B.producerLastReadVersion[t]=e.version}function wh(){ki++}function Ht(e){if(!(Cn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===ki)){if(!e.producerMustRecompute(e)&&!Tn(e)){Mn(e);return}e.producerRecomputeValue(e),Mn(e)}}function Wc(e){if(e.liveConsumerNode===void 0)return;let t=bn;bn=!0;try{for(let n of e.liveConsumerNode)n.dirty||zc(n)}finally{bn=t}}function Gc(){return B?.consumerAllowSignalWrites!==!1}function zc(e){e.dirty=!0,Wc(e),e.consumerMarkedDirty?.(e)}function Mn(e){e.dirty=!1,e.lastCleanEpoch=ki}function ut(e){return e&&(e.nextProducerIndex=0),M(e)}function Bt(e,t){if(M(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(Cn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Pr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Tn(e){Lr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Ht(n),r!==n.version))return!0}return!1}function $t(e){if(Lr(e),Cn(e))for(let t=0;t<e.producerNode.length;t++)Pr(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function Qc(e,t,n){if(Zc(e),e.liveConsumerNode.length===0&&Yc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Qc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Pr(e,t){if(Zc(e),e.liveConsumerNode.length===1&&Yc(e))for(let r=0;r<e.producerNode.length;r++)Pr(e.producerNode[r],e.producerIndexOfThis[r]);let n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){let r=e.liveConsumerIndexOfThis[t],o=e.liveConsumerNode[t];Lr(o),o.producerIndexOfThis[r]=t}}function Cn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function Lr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Zc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Yc(e){return e.producerNode!==void 0}function Oi(e){let t=Object.create(Dh);t.computation=e;let n=()=>{if(Ht(t),jt(t),t.value===Rr)throw t.error;return t.value};return n[G]=t,n}var xi=Symbol("UNSET"),Ni=Symbol("COMPUTING"),Rr=Symbol("ERRORED"),Dh=se(ie({},qe),{value:xi,dirty:!0,error:null,equal:Ar,kind:"computed",producerMustRecompute(e){return e.value===xi||e.value===Ni},producerRecomputeValue(e){if(e.value===Ni)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Ni;let n=ut(e),r,o=!1;try{r=e.computation(),M(null),o=t!==xi&&t!==Rr&&r!==Rr&&e.equal(t,r)}catch(i){r=Rr,e.error=i}finally{Bt(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function bh(){throw new Error}var Jc=bh;function Kc(){Jc()}function Xc(e){Jc=e}var Mh=null;function el(e){let t=Object.create(Ai);t.value=e;let n=()=>(jt(t),t.value);return n[G]=t,n}function Ut(e,t){Gc()||Kc(),e.equal(e.value,t)||(e.value=t,Ch(e))}function Ri(e,t){Gc()||Kc(),Ut(e,t(e.value))}var Ai=se(ie({},qe),{equal:Ar,value:void 0,kind:"signal"});function Ch(e){e.version++,wh(),Wc(e),Mh?.()}function tl(e,t,n){let r=Object.create(Th);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;let o=c=>{r.cleanupFn=c};function i(c){return c.fn===null&&c.schedule===null}function s(c){i(c)||($t(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Si)}let a=()=>{if(r.fn===null)return;if(Eh())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Tn(r))return;r.hasRun=!0;let c=ut(r);try{r.cleanupFn(),r.cleanupFn=Si,r.fn(o)}finally{Bt(r,c)}};return r.ref={notify:()=>zc(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[G]:r},r.ref}var Si=()=>{},Th=se(ie({},qe),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Si});var ou="https://g.co/ng/security#xss",C=class extends Error{code;constructor(t,n){super(_h(t,n)),this.code=t}};function _h(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Lo=Symbol("InputSignalNode#UNSET"),iu=se(ie({},Ai),{transformFn:void 0,applyValueToInputSignal(e,t){Ut(e,t)}});function su(e,t){let n=Object.create(iu);n.value=e,n.transformFn=t?.transform;function r(){if(jt(n),n.value===Lo)throw new C(-950,!1);return n.value}return r[G]=n,r}function Zn(e){return{toString:e}.toString()}var Fr="__parameters__";function xh(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function au(e,t,n){return Zn(()=>{let r=xh(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;let s=new o(...i);return a.annotation=s,a;function a(c,l,u){let d=c.hasOwnProperty(Fr)?c[Fr]:Object.defineProperty(c,Fr,{value:[]})[Fr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}var Ge=globalThis;function L(e){for(let t in e)if(e[t]===L)return t;throw Error("Could not find renamed property on target object.")}function Nh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function de(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(de).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;let t=e.toString();if(t==null)return""+t;let n=t.indexOf(`
4
- `);return n===-1?t:t.substring(0,n)}function Ji(e,t){return e==null||e===""?t===null?"":t:t==null||t===""?e:e+" "+t}var Sh=L({__forward_ref__:L});function cu(e){return e.__forward_ref__=cu,e.toString=function(){return de(this())},e}function re(e){return lu(e)?e():e}function lu(e){return typeof e=="function"&&e.hasOwnProperty(Sh)&&e.__forward_ref__===cu}function kh(e,t,n){e!=t&&Oh(n,e,t,"==")}function Oh(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function U(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function CN(e){return{providers:e.providers||[],imports:e.imports||[]}}function Fo(e){return nl(e,uu)||nl(e,du)}function TN(e){return Fo(e)!==null}function nl(e,t){return e.hasOwnProperty(t)?e[t]:null}function Rh(e){let t=e&&(e[uu]||e[du]);return t||null}function rl(e){return e&&(e.hasOwnProperty(ol)||e.hasOwnProperty(Ah))?e[ol]:null}var uu=L({\u0275prov:L}),ol=L({\u0275inj:L}),du=L({ngInjectableDef:L}),Ah=L({ngInjectorDef:L}),O=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=U({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function fu(e){return e&&!!e.\u0275providers}var Ph=L({\u0275cmp:L}),Lh=L({\u0275dir:L}),Fh=L({\u0275pipe:L}),Vh=L({\u0275mod:L}),to=L({\u0275fac:L}),kn=L({__NG_ELEMENT_ID__:L}),il=L({__NG_ENV_ID__:L});function Ee(e){return typeof e=="string"?e:e==null?"":String(e)}function jh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ee(e)}function Hh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new C(-200,e)}function ma(e,t){throw new C(-201,!1)}var N=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(N||{}),Ki;function pu(){return Ki}function ae(e){let t=Ki;return Ki=e,t}function hu(e,t,n){let r=Fo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&N.Optional)return null;if(t!==void 0)return t;ma(e,"Injector")}var Bh={},Ln=Bh,Xi="__NG_DI_FLAG__",no="ngTempTokenPath",$h="ngTokenPath",Uh=/\n/gm,qh="\u0275",sl="__source",zt;function Wh(){return zt}function We(e){let t=zt;return zt=e,t}function Gh(e,t=N.Default){if(zt===void 0)throw new C(-203,!1);return zt===null?hu(e,void 0,t):zt.get(e,t&N.Optional?null:void 0,t)}function Ye(e,t=N.Default){return(pu()||Gh)(re(e),t)}function x(e,t=N.Default){return Ye(e,Vo(t))}function Vo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function es(e){let t=[];for(let n=0;n<e.length;n++){let r=re(e[n]);if(Array.isArray(r)){if(r.length===0)throw new C(900,!1);let o,i=N.Default;for(let s=0;s<r.length;s++){let a=r[s],c=zh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Ye(o,i))}else t.push(Ye(r))}return t}function gu(e,t){return e[Xi]=t,e.prototype[Xi]=t,e}function zh(e){return e[Xi]}function Qh(e,t,n,r){let o=e[no];throw t[sl]&&o.unshift(t[sl]),e.message=Zh(`
5
- `+e.message,o,n,r),e[$h]=o,e[no]=null,e}function Zh(e,t,n,r=null){e=e&&e.charAt(0)===`
6
- `&&e.charAt(1)==qh?e.slice(2):e;let o=de(t);if(Array.isArray(t))o=t.map(de).join(" -> ");else if(typeof t=="object"){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+(typeof a=="string"?JSON.stringify(a):de(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Uh,`
7
- `)}`}var mu=gu(au("Optional"),8);var yu=gu(au("SkipSelf"),4);function gt(e,t){let n=e.hasOwnProperty(to);return n?e[to]:null}function Yh(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function Jh(e){return e.flat(Number.POSITIVE_INFINITY)}function ya(e,t){e.forEach(n=>Array.isArray(n)?ya(n,t):t(n))}function vu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ro(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Kh(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function Xh(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;){let i=o-2;e[o]=e[i],o--}e[t]=n,e[t+1]=r}}function jo(e,t,n){let r=Yn(e,t);return r>=0?e[r|1]=n:(r=~r,Xh(e,r,t,n)),r}function Pi(e,t){let n=Yn(e,t);if(n>=0)return e[n|1]}function Yn(e,t){return eg(e,t,1)}function eg(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var Yt={},K=[],oo=new O(""),Iu=new O("",-1),Eu=new O(""),io=class{get(t,n=Ln){if(n===Ln){let r=new Error(`NullInjectorError: No provider for ${de(t)}!`);throw r.name="NullInjectorError",r}return n}};function wu(e,t){let n=e[Vh]||null;if(!n&&t===!0)throw new Error(`Type ${de(e)} does not have '\u0275mod' property.`);return n}function _e(e){return e[Ph]||null}function va(e){return e[Lh]||null}function Ia(e){return e[Fh]||null}function tg(e){let t=_e(e)||va(e)||Ia(e);return t!==null&&t.standalone}function ng(e){return{\u0275providers:e}}function rg(...e){return{\u0275providers:Ea(!0,e),\u0275fromNgModule:!0}}function Ea(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ya(t,s=>{let a=s;ts(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Du(o,i),n}function Du(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];wa(o,i=>{t(i,r)})}}function ts(e,t,n,r){if(e=re(e),!e)return!1;let o=null,i=rl(e),s=!i&&_e(e);if(!i&&!s){let c=e.ngModule;if(i=rl(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)ts(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{ya(i.imports,u=>{ts(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&Du(l,t)}if(!a){let l=gt(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:Eu,useValue:o,multi:!0},o),t({provide:oo,useValue:()=>Ye(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;wa(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function wa(e,t){for(let n of e)fu(n)&&(n=n.\u0275providers),Array.isArray(n)?wa(n,t):t(n)}var og=L({provide:String,useValue:L});function bu(e){return e!==null&&typeof e=="object"&&og in e}function ig(e){return!!(e&&e.useExisting)}function sg(e){return!!(e&&e.useFactory)}function Jt(e){return typeof e=="function"}function ag(e){return!!e.useClass}var Mu=new O(""),qr={},cg={},Li;function Ho(){return Li===void 0&&(Li=new io),Li}var Oe=class{},Fn=class extends Oe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,rs(t,s=>this.processProvider(s)),this.records.set(Iu,qt(void 0,this)),o.has("environment")&&this.records.set(Oe,qt(void 0,this));let i=this.records.get(Mu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Eu,K,N.Self))}destroy(){xn(this),this._destroyed=!0;let t=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(t)}}onDestroy(t){return xn(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){xn(this);let n=We(this),r=ae(void 0),o;try{return t()}finally{We(n),ae(r)}}get(t,n=Ln,r=N.Default){if(xn(this),t.hasOwnProperty(il))return t[il](this);r=Vo(r);let o,i=We(this),s=ae(void 0);try{if(!(r&N.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=pg(t)&&Fo(t);l&&this.injectableDefInScope(l)?c=qt(ns(t),qr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&N.Self?Ho():this.parent;return n=r&N.Optional&&n===Ln?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[no]=a[no]||[]).unshift(de(t)),i)throw a;return Qh(a,t,"R3InjectorError",this.source)}else throw a}finally{ae(s),We(i)}}resolveInjectorInitializers(){let t=M(null),n=We(this),r=ae(void 0),o;try{let i=this.get(oo,K,N.Self);for(let s of i)s()}finally{We(n),ae(r),M(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(de(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=re(t);let n=Jt(t)?t:re(t&&t.provide),r=ug(t);if(!Jt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=qt(void 0,qr,!0),o.factory=()=>es(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=M(null);try{return n.value===qr&&(n.value=cg,n.value=n.factory()),typeof n.value=="object"&&n.value&&fg(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=re(t.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function ns(e){let t=Fo(e),n=t!==null?t.factory:gt(e);if(n!==null)return n;if(e instanceof O)throw new C(204,!1);if(e instanceof Function)return lg(e);throw new C(204,!1)}function lg(e){if(e.length>0)throw new C(204,!1);let n=Rh(e);return n!==null?()=>n.factory(e):()=>new e}function ug(e){if(bu(e))return qt(void 0,e.useValue);{let t=Cu(e);return qt(t,qr)}}function Cu(e,t,n){let r;if(Jt(e)){let o=re(e);return gt(o)||ns(o)}else if(bu(e))r=()=>re(e.useValue);else if(sg(e))r=()=>e.useFactory(...es(e.deps||[]));else if(ig(e))r=()=>Ye(re(e.useExisting));else{let o=re(e&&(e.useClass||e.provide));if(dg(e))r=()=>new o(...es(e.deps));else return gt(o)||ns(o)}return r}function xn(e){if(e.destroyed)throw new C(205,!1)}function qt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function dg(e){return!!e.deps}function fg(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function pg(e){return typeof e=="function"||typeof e=="object"&&e instanceof O}function rs(e,t){for(let n of e)Array.isArray(n)?rs(n,t):n&&fu(n)?rs(n.\u0275providers,t):t(n)}function Tu(e,t){e instanceof Fn&&xn(e);let n,r=We(e),o=ae(void 0);try{return t()}finally{We(r),ae(o)}}function _u(){return pu()!==void 0||Wh()!=null}function Da(e){if(!_u())throw new C(-203,!1)}function hg(e){return typeof e=="function"}var Fe=0,v=1,E=2,Z=3,we=4,oe=5,Kt=6,so=7,X=8,De=9,Re=10,k=11,Vn=12,al=13,sn=14,le=15,mt=16,Wt=17,Ae=18,Bo=19,xu=20,Qe=21,Wr=22,yt=23,fe=24,P=25,Nu=1,ao=6,vt=7,co=8,Xt=9,ee=10;function Ze(e){return Array.isArray(e)&&typeof e[Nu]=="object"}function Ve(e){return Array.isArray(e)&&e[Nu]===!0}function ba(e){return(e.flags&4)!==0}function $o(e){return e.componentOffset>-1}function Uo(e){return(e.flags&1)===1}function Je(e){return!!e.template}function os(e){return(e[E]&512)!==0}function an(e){return(e[E]&256)===256}var is=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Su(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var _N=(()=>{let e=()=>ku;return e.ngInherit=!0,e})();function ku(e){return e.type.prototype.ngOnChanges&&(e.setInput=mg),gg}function gg(){let e=Ru(this),t=e?.current;if(t){let n=e.previous;if(n===Yt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function mg(e,t,n,r,o){let i=this.declaredInputs[r],s=Ru(e)||yg(e,{previous:Yt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new is(l&&l.currentValue,n,c===Yt),Su(e,t,o,n)}var Ou="__ngSimpleChanges__";function Ru(e){return e[Ou]||null}function yg(e,t){return e[Ou]=t}var cl=null;var he=function(e,t,n){cl?.(e,t,n)},Au="svg",vg="math";function me(e){for(;Array.isArray(e);)e=e[Fe];return e}function qo(e,t){return me(t[e])}function ye(e,t){return me(t[e.index])}function Jn(e,t){return e.data[t]}function Wo(e,t){return e[t]}function tt(e,t){let n=t[e];return Ze(n)?n:n[Fe]}function Ig(e){return(e[E]&4)===4}function Ma(e){return(e[E]&128)===128}function Eg(e){return Ve(e[Z])}function Pe(e,t){return t==null?null:e[t]}function Pu(e){e[Wt]=0}function Ca(e){e[E]&1024||(e[E]|=1024,Ma(e)&&Kn(e))}function wg(e,t){for(;e>0;)t=t[sn],e--;return t}function Go(e){return!!(e[E]&9216||e[fe]?.dirty)}function ss(e){e[Re].changeDetectionScheduler?.notify(9),e[E]&64&&(e[E]|=1024),Go(e)&&Kn(e)}function Kn(e){e[Re].changeDetectionScheduler?.notify(0);let t=It(e);for(;t!==null&&!(t[E]&8192||(t[E]|=8192,!Ma(t)));)t=It(t)}function Ta(e,t){if(an(e))throw new C(911,!1);e[Qe]===null&&(e[Qe]=[]),e[Qe].push(t)}function Lu(e,t){if(e[Qe]===null)return;let n=e[Qe].indexOf(t);n!==-1&&e[Qe].splice(n,1)}function It(e){let t=e[Z];return Ve(t)?t[Z]:t}function Fu(e){return e[so]??=[]}function Vu(e){return e.cleanup??=[]}function Dg(e,t,n,r){let o=Fu(t);o.push(n),e.firstCreatePass&&Vu(e).push(r,o.length-1)}var T={lFrame:zu(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var as=!1;function bg(){return T.lFrame.elementDepthCount}function Mg(){T.lFrame.elementDepthCount++}function Cg(){T.lFrame.elementDepthCount--}function ju(){return T.bindingsEnabled}function Hu(){return T.skipHydrationRootTNode!==null}function Tg(e){return T.skipHydrationRootTNode===e}function _g(){T.skipHydrationRootTNode=null}function y(){return T.lFrame.lView}function R(){return T.lFrame.tView}function xN(e){return T.lFrame.contextLView=e,e[X]}function NN(e){return T.lFrame.contextLView=null,e}function z(){let e=Bu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Bu(){return T.lFrame.currentTNode}function jn(){let e=T.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function be(e,t){let n=T.lFrame;n.currentTNode=e,n.isParent=t}function _a(){return T.lFrame.isParent}function xa(){T.lFrame.isParent=!1}function $u(){return T.lFrame.contextLView}function Uu(){return as}function lo(e){let t=as;return as=e,t}function cn(){let e=T.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Na(){return T.lFrame.bindingIndex}function xg(e){return T.lFrame.bindingIndex=e}function nt(){return T.lFrame.bindingIndex++}function zo(e){let t=T.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Ng(){return T.lFrame.inI18n}function qu(e){T.lFrame.inI18n=e}function Sg(e,t){let n=T.lFrame;n.bindingIndex=n.bindingRootIndex=e,cs(t)}function kg(){return T.lFrame.currentDirectiveIndex}function cs(e){T.lFrame.currentDirectiveIndex=e}function Og(e){let t=T.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Sa(){return T.lFrame.currentQueryIndex}function Qo(e){T.lFrame.currentQueryIndex=e}function Rg(e){let t=e[v];return t.type===2?t.declTNode:t.type===1?e[oe]:null}function Wu(e,t,n){if(n&N.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&N.Host);)if(o=Rg(i),o===null||(i=i[sn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=T.lFrame=Gu();return r.currentTNode=t,r.lView=e,!0}function ka(e){let t=Gu(),n=e[v];T.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Gu(){let e=T.lFrame,t=e===null?null:e.child;return t===null?zu(e):t}function zu(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Qu(){let e=T.lFrame;return T.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Zu=Qu;function Oa(){let e=Qu();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Ag(e){return(T.lFrame.contextLView=wg(e,T.lFrame.contextLView))[X]}function Me(){return T.lFrame.selectedIndex}function Et(e){T.lFrame.selectedIndex=e}function St(){let e=T.lFrame;return Jn(e.tView,e.selectedIndex)}function SN(){T.lFrame.currentNamespace=Au}function Pg(){return T.lFrame.currentNamespace}var Yu=!0;function Xn(){return Yu}function er(e){Yu=e}function Lg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=ku(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Zo(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Gr(e,t,n){Ju(e,t,3,n)}function zr(e,t,n,r){(e[E]&3)===n&&Ju(e,t,n,r)}function Fi(e,t){let n=e[E];(n&3)===t&&(n&=16383,n+=1,e[E]=n)}function Ju(e,t,n,r){let o=r!==void 0?e[Wt]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]=="number"){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Wt]+=65536),(a<i||i==-1)&&(Fg(e,n,t,c),e[Wt]=(e[Wt]&4294901760)+c+2),c++}function ll(e,t){he(4,e,t);let n=M(null);try{t.call(e)}finally{M(n),he(5,e,t)}}function Fg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[E]>>14<e[Wt]>>16&&(e[E]&3)===t&&(e[E]+=16384,ll(a,i)):ll(a,i)}var Qt=-1,wt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Vg(e){return e instanceof wt}function jg(e){return(e.flags&8)!==0}function Hg(e){return(e.flags&16)!==0}function Bg(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o=="number"){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];$g(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Ku(e){return e===3||e===4||e===6}function $g(e){return e.charCodeAt(0)===64}function en(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o=="number"?n=o:n===0||(n===-1||n===2?ul(e,n,o,null,t[++r]):ul(e,n,o,null,null))}}return e}function ul(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===n){if(r===null){o!==null&&(e[i+1]=o);return}else if(r===e[i+1]){e[i+2]=o;return}}i++,r!==null&&i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),r!==null&&e.splice(i++,0,r),o!==null&&e.splice(i++,0,o)}var Vi={},Zt=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Vo(r);let o=this.injector.get(t,Vi,r);return o!==Vi||n===Vi?o:this.parentInjector.get(t,n,r)}};function Xu(e){return e!==Qt}function uo(e){return e&32767}function Ug(e){return e>>16}function fo(e,t){let n=Ug(e),r=t;for(;n>0;)r=r[sn],n--;return r}var ls=!0;function po(e){let t=ls;return ls=e,t}var qg=256,ed=qg-1,td=5,Wg=0,Te={};function Gg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(kn)&&(r=n[kn]),r==null&&(r=n[kn]=Wg++);let o=r&ed,i=1<<o;t.data[e+(o>>td)]|=i}function ho(e,t){let n=nd(e,t);if(n!==-1)return n;let r=t[v];r.firstCreatePass&&(e.injectorIndex=t.length,ji(r.data,e),ji(t,null),ji(r.blueprint,null));let o=Ra(e,t),i=e.injectorIndex;if(Xu(o)){let s=uo(o),a=fo(o,t),c=a[v].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function ji(e,t){e.push(0,0,0,0,0,0,0,0,t)}function nd(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Ra(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=ad(o),r===null)return Qt;if(n++,o=o[sn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Qt}function us(e,t,n){Gg(e,t,n)}function zg(e,t){if(t==="class")return e.classes;if(t==="style")return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Ku(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof n[o]=="string";)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function rd(e,t,n){if(n&N.Optional||e!==void 0)return e;ma(t,"NodeInjector")}function od(e,t,n,r){if(n&N.Optional&&r===void 0&&(r=null),!(n&(N.Self|N.Host))){let o=e[De],i=ae(void 0);try{return o?o.get(t,r,n&N.Optional):hu(t,r,n&N.Optional)}finally{ae(i)}}return rd(r,t,n)}function id(e,t,n,r=N.Default,o){if(e!==null){if(t[E]&2048&&!(r&N.Self)){let s=Jg(e,t,n,r,Te);if(s!==Te)return s}let i=sd(e,t,n,r,Te);if(i!==Te)return i}return od(t,n,r,o)}function sd(e,t,n,r,o){let i=Zg(n);if(typeof i=="function"){if(!Wu(t,e,r))return r&N.Host?rd(o,n,r):od(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&N.Optional))ma(n);else return s}finally{Zu()}}else if(typeof i=="number"){let s=null,a=nd(e,t),c=Qt,l=r&N.Host?t[le][oe]:null;for((a===-1||r&N.SkipSelf)&&(c=a===-1?Ra(e,t):t[a+8],c===Qt||!fl(r,!1)?a=-1:(s=t[v],a=uo(c),t=fo(c,t)));a!==-1;){let u=t[v];if(dl(i,a,u.data)){let d=Qg(a,t,n,s,r,l);if(d!==Te)return d}c=t[a+8],c!==Qt&&fl(r,t[v].data[a+8]===l)&&dl(i,a,t)?(s=u,a=uo(c),t=fo(c,t)):a=-1}}return o}function Qg(e,t,n,r,o,i){let s=t[v],a=s.data[e+8],c=r==null?$o(a)&&ls:r!=s&&(a.type&3)!==0,l=o&N.Host&&i===a,u=Qr(a,s,n,c,l);return u!==null?Dt(t,s,u,a):Te}function Qr(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let h=s[f];if(f<c&&n===h||f>=c&&h.type===n)return f}if(o){let f=s[c];if(f&&Je(f)&&f.type===n)return c}return null}function Dt(e,t,n,r){let o=e[n],i=t.data;if(Vg(o)){let s=o;s.resolving&&Hh(jh(i[n]));let a=po(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?ae(s.injectImpl):null,u=Wu(e,r,N.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&Lg(n,i[n],t)}finally{l!==null&&ae(l),po(a),s.resolving=!1,Zu()}}return o}function Zg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(kn)?e[kn]:void 0;return typeof t=="number"?t>=0?t&ed:Yg:t}function dl(e,t,n){let r=1<<e;return!!(n[t+(e>>td)]&r)}function fl(e,t){return!(e&N.Self)&&!(e&N.Host&&t)}var ht=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return id(this._tNode,this._lView,t,Vo(r),n)}};function Yg(){return new ht(z(),y())}function kN(e){return Zn(()=>{let t=e.prototype.constructor,n=t[to]||ds(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[to]||ds(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function ds(e){return lu(e)?()=>{let t=ds(re(e));return t&&t()}:gt(e)}function Jg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[E]&2048&&!(s[E]&512);){let a=sd(i,s,n,r|N.Self,Te);if(a!==Te)return a;let c=i.parent;if(!c){let l=s[xu];if(l){let u=l.get(n,Te,r);if(u!==Te)return u}c=ad(s),s=s[sn]}i=c}return o}function ad(e){let t=e[v],n=t.type;return n===2?t.declTNode:n===1?e[oe]:null}function ON(e){return zg(z(),e)}function pl(e,t=null,n=null,r){let o=cd(e,t,n,r);return o.resolveInjectorInitializers(),o}function cd(e,t=null,n=null,r,o=new Set){let i=[n||K,rg(e)];return r=r||(typeof e=="object"?void 0:de(e)),new Fn(i,t||Ho(),r||null,o)}var Ke=class e{static THROW_IF_NOT_FOUND=Ln;static NULL=new io;static create(t,n){if(Array.isArray(t))return pl({name:""},n,t,"");{let r=t.name??"";return pl({name:r},t.parent,t.providers,r)}}static \u0275prov=U({token:e,providedIn:"any",factory:()=>Ye(Iu)});static __NG_ELEMENT_ID__=-1};var Kg=new O("");Kg.__NG_ELEMENT_ID__=e=>{let t=z();if(t===null)throw new C(204,!1);if(t.type&2)return t.value;if(e&N.Optional)return null;throw new C(204,!1)};var ld=!1,ln=(()=>{class e{static __NG_ELEMENT_ID__=Xg;static __NG_ENV_ID__=n=>n}return e})(),go=class extends ln{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return Ta(this._lView,t),()=>Lu(this._lView,t)}};function Xg(){return new go(y())}var Xe=class{},Aa=new O("",{providedIn:"root",factory:()=>!1});var ud=new O(""),Pa=new O(""),kt=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new In(!1);add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),em=(()=>{class e{internalPendingTasks=x(kt);scheduler=x(Xe);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(12),this.internalPendingTasks.remove(n))}}async run(n){let r=this.add();try{return await n()}finally{r()}}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),fs=class extends pe{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,_u()&&(this.destroyRef=x(ln,{optional:!0})??void 0,this.pendingTasks=x(kt,{optional:!0})??void 0)}emit(t){let n=M(null);try{super.next(t)}finally{M(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof V&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},ze=fs;function Hn(...e){}function dd(e){let t,n;function r(){e=Hn;try{n!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function hl(e){return queueMicrotask(()=>e()),()=>{e=Hn}}var La="isAngularZone",mo=La+"_ID",tm=0,ge=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new ze(!1);onMicrotaskEmpty=new ze(!1);onStable=new ze(!1);onError=new ze(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=ld}=t;if(typeof Zone>"u")throw new C(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,om(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(La)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new C(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new C(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,nm,Hn,Hn);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}},nm={};function Fa(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function rm(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){dd(()=>{e.callbackScheduled=!1,ps(e),e.isCheckStableRunning=!0,Fa(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ps(e)}function om(e){let t=()=>{rm(e)},n=tm++;e._inner=e._inner.fork({name:"angular",properties:{[La]:!0,[mo]:n,[mo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(im(c))return r.invokeTask(i,s,a,c);try{return gl(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),ml(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return gl(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!sm(c)&&t(),ml(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ps(e),Fa(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function ps(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function gl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ml(e){e._nesting--,Fa(e)}var yo=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new ze;onMicrotaskEmpty=new ze;onStable=new ze;onError=new ze;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function im(e){return fd(e,"__ignore_ng_zone__")}function sm(e){return fd(e,"__scheduler_tick__")}function fd(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var bt=class{_console=console;handleError(t){this._console.error("ERROR",t)}},am=new O("",{providedIn:"root",factory:()=>{let e=x(ge),t=x(bt);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),vo=class{destroyed=!1;listeners=null;errorHandler=x(bt,{optional:!0});destroyRef=x(ln);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new C(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new C(953,!1);if(this.listeners===null)return;let n=M(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{M(n)}}};function RN(e){return new vo}function yl(e,t){return su(e,t)}function cm(e){return su(Lo,e)}var AN=(yl.required=cm,yl);function lm(){return un(z(),y())}function un(e,t){return new Yo(ye(e,t))}var Yo=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=lm}return e})();function pd(e){return e instanceof Yo?e.nativeElement:e}var vl=new Set;function Ce(e){vl.has(e)||(vl.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function um(e){return typeof e=="function"&&e[G]!==void 0}function hd(e,t){Ce("NgSignals");let n=el(e),r=n[G];return t?.equal&&(r.equal=t.equal),n.set=o=>Ut(r,o),n.update=o=>Ri(r,o),n.asReadonly=Jo.bind(n),n}function Jo(){let e=this[G];if(e.readonlyFn===void 0){let t=()=>this();t[G]=e,e.readonlyFn=t}return e.readonlyFn}function gd(e){return um(e)&&typeof e.set=="function"}function dm(){return this._results[Symbol.iterator]()}var hs=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new pe}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=Jh(t);(this._changesDetected=!Yh(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=dm};function md(e){return(e.flags&128)===128}var yd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(yd||{}),vd=new Map,fm=0;function pm(){return fm++}function hm(e){vd.set(e[Bo],e)}function gs(e){vd.delete(e[Bo])}var Il="__ngContext__";function xe(e,t){Ze(t)?(e[Il]=t[Bo],hm(t)):e[Il]=t}function Id(e){return wd(e[Vn])}function Ed(e){return wd(e[we])}function wd(e){for(;e!==null&&!Ve(e);)e=e[we];return e}var ms;function PN(e){ms=e}function Va(){if(ms!==void 0)return ms;if(typeof document<"u")return document;throw new C(210,!1)}var LN=new O("",{providedIn:"root",factory:()=>gm}),gm="ng",mm=new O(""),FN=new O("",{providedIn:"platform",factory:()=>"unknown"});var VN=new O("",{providedIn:"root",factory:()=>Va().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ym={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},jN=new O("",{providedIn:"root",factory:()=>ym});var vm="h",Im="b";var Em="di",Dd="s";var bd=!1,wm=new O("",{providedIn:"root",factory:()=>bd});var Dm=new O("");var Md=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Md||{}),Cd=new O("");var bm=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})();var ce=function(e){return e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED",e}(ce||{}),El=0,Mm=1,j=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(j||{}),Io=function(e){return e[e.Initial=-1]="Initial",e}(Io||{}),Cm=0,Ko=1;var Tm=4,_m=5,xm=6,Nm=7,Hi=8,Sm=9,Td=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(Td||{});function km(e,t,n){let r=xd(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function Zr(e,t){let n=xd(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function _d(e){Zr(1,e),Zr(0,e),Zr(2,e)}function xd(e){let t=Tm;return e===1?t=_m:e===2&&(t=Sm),t}function Xo(e){return e+1}function tr(e,t){let n=e[v],r=Xo(t.index);return e[r]}function Om(e,t,n){let r=e[v],o=Xo(t);e[o]=n}function nr(e,t){let n=Xo(t.index);return e.data[n]}function Rm(e,t,n){let r=Xo(t);e.data[r]=n}function Am(e,t,n){let r=t[v],o=nr(r,n);switch(e){case j.Complete:return o.primaryTmplIndex;case j.Loading:return o.loadingTmplIndex;case j.Error:return o.errorTmplIndex;case j.Placeholder:return o.placeholderTmplIndex;default:return null}}function wl(e,t){return t===j.Placeholder?e.placeholderBlockConfig?.[El]??null:t===j.Loading?e.loadingBlockConfig?.[El]??null:null}function Pm(e){return e.loadingBlockConfig?.[Mm]??null}function Dl(e,t){if(!e||e.length===0)return t;let n=new Set(e);for(let r of t)n.add(r);return e.length===n.size?e:Array.from(n)}function Lm(e,t){let n=t.primaryTmplIndex+P;return Jn(e,n)}var Fm=new O("");var Vm=()=>null;function ja(e,t,n=!1){return Vm(e,t,n)}function jm(e){return e.get(Dm,!1,{optional:!0})}function Nd(e,t){let n=e.contentQueries;if(n!==null){let r=M(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Qo(i),a.contentQueries(2,t[s],s)}}}finally{M(r)}}}function ys(e,t,n){Qo(0);let r=M(null);try{t(e,n)}finally{M(r)}}function Ha(e,t,n){if(ba(t)){let r=M(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{M(r)}}}var Bn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Bn||{}),Vr;function Hm(){if(Vr===void 0&&(Vr=null,Ge.trustedTypes))try{Vr=Ge.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Vr}function ei(e){return Hm()?.createHTML(e)||e}var jr;function Sd(){if(jr===void 0&&(jr=null,Ge.trustedTypes))try{jr=Ge.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return jr}function bl(e){return Sd()?.createHTML(e)||e}function Ml(e){return Sd()?.createScriptURL(e)||e}var Le=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${ou})`}},vs=class extends Le{getTypeName(){return"HTML"}},Is=class extends Le{getTypeName(){return"Style"}},Es=class extends Le{getTypeName(){return"Script"}},ws=class extends Le{getTypeName(){return"URL"}},Ds=class extends Le{getTypeName(){return"ResourceURL"}};function dn(e){return e instanceof Le?e.changingThisBreaksApplicationSecurity:e}function Ba(e,t){let n=Bm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${ou})`)}return n===t}function Bm(e){return e instanceof Le&&e.getTypeName()||null}function HN(e){return new vs(e)}function BN(e){return new Is(e)}function $N(e){return new Es(e)}function UN(e){return new ws(e)}function qN(e){return new Ds(e)}function kd(e){let t=new Ms(e);return $m()?new bs(t):t}var bs=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(ei(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},Ms=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=ei(t),n}};function $m(){try{return!!new window.DOMParser().parseFromString(ei(""),"text/html")}catch{return!1}}var Um=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $a(e){return e=String(e),e.match(Um)?e:"unsafe:"+e}function je(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function rr(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Od=je("area,br,col,hr,img,wbr"),Rd=je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ad=je("rp,rt"),qm=rr(Ad,Rd),Wm=rr(Rd,je("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")),Gm=rr(Ad,je("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")),Cs=rr(Od,Wm,Gm,qm),Ua=je("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),zm=je("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"),Qm=je("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"),Pd=rr(Ua,zm,Qm),Zm=je("script,style,template"),Ts=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=Km(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Jm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=Cl(t).toLowerCase();if(!Cs.hasOwnProperty(n))return this.sanitizedSomething=!0,!Zm.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Pd.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Ua[a]&&(c=$a(c)),this.buf.push(" ",s,'="',Tl(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=Cl(t).toLowerCase();Cs.hasOwnProperty(n)&&!Od.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Tl(t))}};function Ym(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Jm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Ld(t);return t}function Km(e){let t=e.firstChild;if(t&&Ym(e,t))throw Ld(t);return t}function Cl(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Ld(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var Xm=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ey=/([^\#-~ |!])/g;function Tl(e){return e.replace(/&/g,"&amp;").replace(Xm,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(ey,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Hr;function ty(e,t){let n=null;try{Hr=Hr||kd(e);let r=t?String(t):"";n=Hr.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Hr.getInertBodyElement(r)}while(r!==i);let a=new Ts().sanitizeChildren(_s(n)||n);return ei(a)}finally{if(n){let r=_s(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function _s(e){return"content"in e&&ny(e)?e.content:null}function ny(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var ti=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ti||{});function WN(e){let t=qa();return t?bl(t.sanitize(ti.HTML,e)||""):Ba(e,"HTML")?bl(dn(e)):ty(Va(),Ee(e))}function ry(e){let t=qa();return t?t.sanitize(ti.URL,e)||"":Ba(e,"URL")?dn(e):$a(Ee(e))}function oy(e){let t=qa();if(t)return Ml(t.sanitize(ti.RESOURCE_URL,e)||"");if(Ba(e,"ResourceURL"))return Ml(dn(e));throw new C(904,!1)}function iy(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?oy:ry}function GN(e,t,n){return iy(t,n)(e)}function qa(){let e=y();return e&&e[Re].sanitizer}var sy=/^>|^->|<!--|-->|--!>|<!-$/g,ay=/(<|>)/g,cy="\u200B$1\u200B";function ly(e){return e.replace(sy,t=>t.replace(ay,cy))}function Fd(e){return e instanceof Function?e():e}var et=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(et||{});function uy(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var Vd="ng-template";function dy(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&uy(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Wa(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])=="string";)if(i.toLowerCase()===n)return!0}return!1}function Wa(e){return e.type===4&&e.value!==Vd}function fy(e,t,n){let r=e.type===4&&!n?Vd:e.value;return t===r}function py(e,t,n){let r=4,o=e.attrs,i=o!==null?my(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Ie(r)&&!Ie(c))return!1;if(s&&Ie(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!fy(e,c,n)||c===""&&t.length===1){if(Ie(r))return!1;s=!0}}else if(r&8){if(o===null||!dy(e,o,c,n)){if(Ie(r))return!1;s=!0}}else{let l=t[++a],u=hy(c,o,Wa(e),n);if(u===-1){if(Ie(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ie(r))return!1;s=!0}}}}return Ie(r)||s}function Ie(e){return(e&1)===0}function hy(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a=="string";)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return yy(t,e)}function jd(e,t,n=!1){for(let r=0;r<t.length;r++)if(py(e,t[r],n))return!0;return!1}function gy(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function my(e){for(let t=0;t<e.length;t++){let n=e[t];if(Ku(n))return t}return e.length}function yy(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r=="number")return-1;if(r===t)return n;n++}return-1}function vy(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function _l(e,t){return e?":not("+t.trim()+")":t}function Iy(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if(typeof s=="string")if(r&2){let a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ie(s)&&(t+=_l(i,o),o=""),r=s,i=i||!Ie(r);n++}return o!==""&&(t+=_l(i,o)),t}function Ey(e){return e.map(Iy).join(",")}function wy(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!Ie(o))break;o=i}r++}return{attrs:t,classes:n}}var Q={};function zN(e=1){Hd(R(),y(),Me()+e,!1)}function Hd(e,t,n,r){if(!r)if((t[E]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Gr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&zr(t,i,0,n)}Et(n)}function ni(e,t=N.Default){let n=y();if(n===null)return Ye(e,t);let r=z();return id(r,n,re(e),t)}function Bd(e,t,n,r,o,i){let s=M(null);try{let a=null;o&et.SignalBased&&(a=t[r][G]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&et.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Su(t,a,r,i)}finally{M(s)}}function $d(e,t){return e.createText(t)}function Ud(e,t,n){e.setValue(t,n)}function qd(e,t){return e.createComment(ly(t))}function Ga(e,t,n){return e.createElement(t,n)}function Mt(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Wd(e,t,n){e.appendChild(t,n)}function xl(e,t,n,r,o){r!==null?Mt(e,t,n,r,o):Wd(e,t,n)}function Gd(e,t,n){e.removeChild(null,t,n)}function Dy(e,t,n){e.setAttribute(t,"style",n)}function by(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function zd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Bg(e,t,r),o!==null&&by(e,t,o),i!==null&&Dy(e,t,i)}function ri(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[Fe]=o,d[E]=r|4|128|8|64|1024,(l!==null||e&&e[E]&2048)&&(d[E]|=2048),Pu(d),d[Z]=d[sn]=e,d[X]=n,d[Re]=s||e&&e[Re],d[k]=a||e&&e[k],d[De]=c||e&&e[De]||null,d[oe]=i,d[Bo]=pm(),d[Kt]=u,d[xu]=l,d[le]=t.type==2?e[le]:d,d}function or(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function Qd(e,t,n,r,o){let i=Me(),s=r&2;try{Et(-1),s&&t.length>P&&Hd(e,t,P,!1),he(s?2:0,o),n(r,o)}finally{Et(i),he(s?3:1,o)}}function za(e,t,n){ju()&&(Ry(e,t,n,ye(n,t)),(n.flags&64)===64&&Jd(e,t,n))}function Qa(e,t,n=ye){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function Zd(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=Za(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function Za(e,t,n,r,o,i,s,a,c,l,u){let d=P+r,p=d+o,f=My(d,p),h=typeof l=="function"?l():l;return f[v]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:h,incompleteFirstPass:!1,ssrId:u}}function My(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Q);return n}function Cy(e,t,n,r){let i=r.get(wm,bd)||n===Bn.ShadowDom,s=e.selectRootElement(t,i);return Ty(s),s}function Ty(e){_y(e)}var _y=()=>null;function Nl(e,t,n,r,o){for(let i in t){if(!t.hasOwnProperty(i))continue;let s=t[i];if(s===void 0)continue;r??={};let a,c=et.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let l=i;if(o!==null){if(!o.hasOwnProperty(i))continue;l=o[i]}e===0?Sl(r,n,l,a,c):Sl(r,n,l,a)}return r}function Sl(e,t,n,r,o){let i;e.hasOwnProperty(n)?(i=e[n]).push(t,r):i=e[n]=[t,r],o!==void 0&&i.push(o)}function xy(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,l=null;for(let u=r;u<o;u++){let d=i[u],p=n?n.get(d):null,f=p?p.inputs:null,h=p?p.outputs:null;c=Nl(0,d.inputs,u,c,f),l=Nl(1,d.outputs,u,l,h);let g=c!==null&&s!==null&&!Wa(t)?Uy(c,u,s):null;a.push(g)}c!==null&&(c.hasOwnProperty("class")&&(t.flags|=8),c.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=c,t.outputs=l}function Ny(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function fn(e,t,n,r,o,i,s,a){let c=ye(t,n),l=t.inputs,u;!a&&l!=null&&(u=l[r])?(Ka(e,n,u,r,o),$o(t)&&Sy(n,t.index)):t.type&3?(r=Ny(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function Sy(e,t){let n=tt(t,e);n[E]&16||(n[E]|=64)}function Ya(e,t,n,r){if(ju()){let o=r===null?null:{"":-1},i=Py(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&Yd(e,t,n,s,o,a),o&&Ly(n,r,o)}n.mergedAttrs=en(n.mergedAttrs,n.attrs)}function Yd(e,t,n,r,o,i){for(let l=0;l<r.length;l++)us(ho(n,t),e,r[l].type);Vy(n,e.data.length,r.length);for(let l=0;l<r.length;l++){let u=r[l];u.providersResolver&&u.providersResolver(u)}let s=!1,a=!1,c=or(e,t,r.length,null);for(let l=0;l<r.length;l++){let u=r[l];n.mergedAttrs=en(n.mergedAttrs,u.hostAttrs),jy(e,n,t,c,u),Fy(c,u,o),u.contentQueries!==null&&(n.flags|=4),(u.hostBindings!==null||u.hostAttrs!==null||u.hostVars!==0)&&(n.flags|=64);let d=u.type.prototype;!s&&(d.ngOnChanges||d.ngOnInit||d.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),s=!0),!a&&(d.ngOnChanges||d.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),a=!0),c++}xy(e,n,i)}function ky(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Oy(s)!=a&&s.push(a),s.push(n,r,i)}}function Oy(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Ry(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;$o(n)&&Hy(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||ho(n,t),xe(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],l=Dt(t,e,a,n);if(xe(l,t),s!==null&&$y(t,a-o,l,c,n,s),Je(c)){let u=tt(n.index,t);u[X]=Dt(t,e,a,n)}}}function Jd(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=kg();try{Et(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];cs(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Ay(c,l)}}finally{Et(-1),cs(s)}}function Ay(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Py(e,t){let n=e.directiveRegistry,r=null,o=null;if(n)for(let i=0;i<n.length;i++){let s=n[i];if(jd(t,s.selectors,!1))if(r||(r=[]),Je(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;xs(e,t,c)}else r.unshift(s),xs(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function xs(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Ly(e,t,n){if(t){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new C(-301,!1);r.push(t[o],i)}}}function Fy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Je(t)&&(n[""]=e)}}function Vy(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function jy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=gt(o.type,!0)),s=new wt(i,Je(o),ni);e.blueprint[r]=s,n[r]=s,ky(e,t,r,or(e,n,o.hostVars,Q),o)}function Kd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Hy(e,t,n){let r=ye(t,e),o=Zd(n),i=e[Re].rendererFactory,s=oi(e,ri(e,o,null,Kd(n),r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=s}function By(e,t,n,r,o,i){let s=ye(e,t);Ja(t[k],s,i,e.value,n,r,o)}function Ja(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Ee(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function $y(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],l=s[a++],u=s[a++],d=s[a++];Bd(r,n,c,l,u,d)}}function Uy(e,t,n){let r=null,o=0;for(;o<n.length;){let i=n[o];if(i===0){o+=4;continue}else if(i===5){o+=2;continue}if(typeof i=="number")break;if(e.hasOwnProperty(i)){r===null&&(r=[]);let s=e[i];for(let a=0;a<s.length;a+=3)if(s[a]===t){r.push(i,s[a+1],s[a+2],n[o+1]);break}}o+=2}return r}function Xd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function oi(e,t){return e[Vn]?e[al][we]=t:e[Vn]=t,e[al]=t,t}function ii(e,t){let n=e[De],r=n?n.get(bt,null):null;r&&r.handleError(t)}function Ka(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],l=t[s],u=e.data[s];Bd(u,l,r,a,c,o)}}function qy(e,t){let n=tt(t,e),r=n[v];Wy(r,n);let o=n[Fe];o!==null&&n[Kt]===null&&(n[Kt]=ja(o,n[De])),Xa(r,n,n[X])}function Wy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Xa(e,t,n){ka(t);try{let r=e.viewQuery;r!==null&&ys(1,r,n);let o=e.template;o!==null&&Qd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ae]?.finishViewCreation(e),e.staticContentQueries&&Nd(e,t),e.staticViewQueries&&ys(2,e.viewQuery,n);let i=e.components;i!==null&&Gy(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[E]&=-5,Oa()}}function Gy(e,t){for(let n=0;n<t.length;n++)qy(e,t[n])}var Ns=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Ns||{}),Ss;function ec(e,t){return Ss(e,t)}function zy(e){Ss===void 0&&(Ss=e())}function Gt(e,t,n,r,o){if(r!=null){let i,s=!1;Ve(r)?i=r:Ze(r)&&(s=!0,r=r[Fe]);let a=me(r);e===0&&n!==null?o==null?Wd(t,n,a):Mt(t,n,a,o||null,!0):e===1&&n!==null?Mt(t,n,a,o||null,!0):e===2?Gd(t,a,s):e===3&&t.destroyNode(a),i!=null&&tv(t,e,i,n,o)}}function Qy(e,t){ef(e,t),t[Fe]=null,t[oe]=null}function Zy(e,t,n,r,o,i){r[Fe]=o,r[oe]=t,ci(e,r,n,1,o,i)}function ef(e,t){t[Re].changeDetectionScheduler?.notify(10),ci(e,t,t[k],2,null,null)}function Yy(e){let t=e[Vn];if(!t)return Bi(e[v],e);for(;t;){let n=null;if(Ze(t))n=t[Vn];else{let r=t[ee];r&&(n=r)}if(!n){for(;t&&!t[we]&&t!==e;)Ze(t)&&Bi(t[v],t),t=t[Z];t===null&&(t=e),Ze(t)&&Bi(t[v],t),n=t&&t[we]}t=n}}function Jy(e,t,n,r){let o=ee+r,i=n.length;r>0&&(n[o-1][we]=t),r<i-ee?(t[we]=n[o],vu(n,ee+r,t)):(n.push(t),t[we]=null),t[Z]=n;let s=t[mt];s!==null&&n!==s&&tf(s,t);let a=t[Ae];a!==null&&a.insertView(e),ss(t),t[E]|=128}function tf(e,t){let n=e[Xt],r=t[Z];if(Ze(r))e[E]|=2;else{let o=r[Z][le];t[le]!==o&&(e[E]|=2)}n===null?e[Xt]=[t]:n.push(t)}function tc(e,t){let n=e[Xt],r=n.indexOf(t);n.splice(r,1)}function $n(e,t){if(e.length<=ee)return;let n=ee+t,r=e[n];if(r){let o=r[mt];o!==null&&o!==e&&tc(o,r),t>0&&(e[n-1][we]=r[we]);let i=ro(e,ee+t);Qy(r[v],r);let s=i[Ae];s!==null&&s.detachView(i[v]),r[Z]=null,r[we]=null,r[E]&=-129}return r}function si(e,t){if(an(t))return;let n=t[k];n.destroyNode&&ci(e,t,n,3,null,null),Yy(t)}function Bi(e,t){if(an(t))return;let n=M(null);try{t[E]&=-129,t[E]|=256,t[fe]&&$t(t[fe]),Xy(e,t),Ky(e,t),t[v].type===1&&t[k].destroy();let r=t[mt];if(r!==null&&Ve(t[Z])){r!==t[Z]&&tc(r,t);let o=t[Ae];o!==null&&o.detachView(e)}gs(t)}finally{M(n)}}function Ky(e,t){let n=e.cleanup,r=t[so];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]=="string"){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[so]=null);let o=t[Qe];if(o!==null){t[Qe]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[yt];if(i!==null){t[yt]=null;for(let s of i)s.destroy()}}function Xy(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof wt)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];he(4,a,c);try{c.call(a)}finally{he(5,a,c)}}else{he(4,o,i);try{i.call(o)}finally{he(5,o,i)}}}}}function nf(e,t,n){return rf(e,t.parent,n)}function rf(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Fe];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===Bn.None||i===Bn.Emulated)return null}return ye(r,n)}}function of(e,t,n){return af(e,t,n)}function sf(e,t,n){return e.type&40?ye(e,n):null}var af=sf,ks;function cf(e,t){af=e,ks=t}function ai(e,t,n,r){let o=nf(e,r,t),i=t[k],s=r.parent||t[oe],a=of(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)xl(i,o,n[c],a,!1);else xl(i,o,n,a,!1);ks!==void 0&&ks(i,r,t,n,o)}function Nn(e,t){if(t!==null){let n=t.type;if(n&3)return ye(t,e);if(n&4)return Os(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return Nn(e,r);{let o=e[t.index];return Ve(o)?Os(-1,o):me(o)}}else{if(n&128)return Nn(e,t.next);if(n&32)return ec(t,e)()||me(e[t.index]);{let r=lf(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=It(e[le]);return Nn(o,r)}else return Nn(e,t.next)}}}return null}function lf(e,t){if(t!==null){let r=e[le][oe],o=t.projection;return r.projection[o]}return null}function Os(e,t){let n=ee+e+1;if(n<t.length){let r=t[n],o=r[v].firstChild;if(o!==null)return Nn(r,o)}return t[vt]}function nc(e,t,n,r,o,i,s){for(;n!=null;){if(n.type===128){n=n.next;continue}let a=r[n.index],c=n.type;if(s&&t===0&&(a&&xe(me(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)nc(e,t,n.child,r,o,i,!1),Gt(t,e,o,a,i);else if(c&32){let l=ec(n,r),u;for(;u=l();)Gt(t,e,o,u,i);Gt(t,e,o,a,i)}else c&16?uf(e,t,r,n,o,i):Gt(t,e,o,a,i);n=s?n.projectionNext:n.next}}function ci(e,t,n,r,o,i){nc(n,r,e.firstChild,t,o,i,!1)}function ev(e,t,n){let r=t[k],o=nf(e,n,t),i=n.parent||t[oe],s=of(i,n,t);uf(r,0,t,n,o,s)}function uf(e,t,n,r,o,i){let s=n[le],c=s[oe].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Gt(t,e,o,u,i)}else{let l=c,u=s[Z];md(r)&&(l.flags|=128),nc(e,t,l,u,o,i,!0)}}function tv(e,t,n,r,o){let i=n[vt],s=me(n);i!==s&&Gt(t,e,r,i,o);for(let a=ee;a<n.length;a++){let c=n[a];ci(c[v],c,e,t,r,i)}}function nv(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:Ns.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=Ns.Important),e.setStyle(n,r,o,i))}}function pn(e,t,n,r){let o=M(null);try{let i=t.tView,a=e[E]&4096?4096:16,c=ri(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[mt]=l;let u=e[Ae];return u!==null&&(c[Ae]=u.createEmbeddedView(i)),Xa(i,c,n),c}finally{M(o)}}function df(e,t){let n=ee+t;if(n<e.length)return e[n]}function Ct(e,t){return!t||t.firstChild===null||md(e)}function hn(e,t,n,r=!0){let o=t[v];if(Jy(o,t,e,n),r){let s=Os(n,e),a=t[k],c=a.parentNode(e[vt]);c!==null&&Zy(o,e[oe],a,t,c,s)}let i=t[Kt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function rc(e,t){let n=$n(e,t);return n!==void 0&&si(n[v],n),n}function Eo(e,t,n,r,o=!1){for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];i!==null&&r.push(me(i)),Ve(i)&&rv(i,r);let s=n.type;if(s&8)Eo(e,t,n.child,r);else if(s&32){let a=ec(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=lf(t,n);if(Array.isArray(a))r.push(...a);else{let c=It(t[le]);Eo(c[v],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function rv(e,t){for(let n=ee;n<e.length;n++){let r=e[n],o=r[v].firstChild;o!==null&&Eo(r[v],r,o,t)}e[vt]!==e[Fe]&&t.push(e[vt])}var ff=[];function ov(e){return e[fe]??iv(e)}function iv(e){let t=ff.pop()??Object.create(av);return t.lView=e,t}function sv(e){e.lView[fe]!==e&&(e.lView=null,ff.push(e))}var av=se(ie({},qe),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{Kn(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function cv(e){let t=e[fe]??Object.create(lv);return t.lView=e,t}var lv=se(ie({},qe),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=It(e.lView);for(;t&&!pf(t[v]);)t=It(t);t&&Ca(t)},consumerOnSignalRead(){this.lView[fe]=this}});function pf(e){return e.type!==2}function hf(e){if(e[yt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[yt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[E]&8192)}}var uv=100;function gf(e,t=!0,n=0){let o=e[Re].rendererFactory,i=!1;i||o.begin?.();try{dv(e,n)}catch(s){throw t&&ii(e,s),s}finally{i||o.end?.()}}function dv(e,t){let n=Uu();try{lo(!0),Rs(e,t);let r=0;for(;Go(e);){if(r===uv)throw new C(103,!1);r++,Rs(e,1)}}finally{lo(n)}}function fv(e,t,n,r){if(an(t))return;let o=t[E],i=!1,s=!1;ka(t);let a=!0,c=null,l=null;i||(pf(e)?(l=ov(t),c=ut(l)):qc()===null?(a=!1,l=cv(t),c=ut(l)):t[fe]&&($t(t[fe]),t[fe]=null));try{Pu(t),xg(e.bindingStartIndex),n!==null&&Qd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Gr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&zr(t,f,0,null),Fi(t,0)}if(s||pv(t),hf(t),mf(t,0),e.contentQueries!==null&&Nd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Gr(t,f)}else{let f=e.contentHooks;f!==null&&zr(t,f,1),Fi(t,1)}gv(e,t);let d=e.components;d!==null&&vf(t,d,0);let p=e.viewQuery;if(p!==null&&ys(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Gr(t,f)}else{let f=e.viewHooks;f!==null&&zr(t,f,2),Fi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Wr]){for(let f of t[Wr])f();t[Wr]=null}i||(t[E]&=-73)}catch(u){throw i||Kn(t),u}finally{l!==null&&(Bt(l,c),a&&sv(l)),Oa()}}function mf(e,t){for(let n=Id(e);n!==null;n=Ed(n))for(let r=ee;r<n.length;r++){let o=n[r];yf(o,t)}}function pv(e){for(let t=Id(e);t!==null;t=Ed(t)){if(!(t[E]&2))continue;let n=t[Xt];for(let r=0;r<n.length;r++){let o=n[r];Ca(o)}}}function hv(e,t,n){let r=tt(t,e);yf(r,n)}function yf(e,t){Ma(e)&&Rs(e,t)}function Rs(e,t){let r=e[v],o=e[E],i=e[fe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Tn(i)),s||=!1,i&&(i.dirty=!1),e[E]&=-9217,s)fv(r,e,r.template,e[X]);else if(o&8192){hf(e),mf(e,1);let a=r.components;a!==null&&vf(e,a,1)}}function vf(e,t,n){for(let r=0;r<t.length;r++)hv(e,t[r],n)}function gv(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)Et(~o);else{let i=o,s=n[++r],a=n[++r];Sg(s,i);let c=t[i];he(24,c),a(2,c),he(25,c)}}}finally{Et(-1)}}function li(e,t){let n=Uu()?64:1088;for(e[Re].changeDetectionScheduler?.notify(t);e;){e[E]|=n;let r=It(e);if(os(e)&&!r)return e;e=r}return null}var Tt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[v];return Eo(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r}get context(){return this._lView[X]}get dirty(){return!!(this._lView[E]&9280)||!!this._lView[fe]?.dirty}set context(t){this._lView[X]=t}get destroyed(){return an(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Z];if(Ve(t)){let n=t[co],r=n?n.indexOf(this):-1;r>-1&&($n(t,r),ro(n,r))}this._attachedToViewContainer=!1}si(this._lView[v],this._lView)}onDestroy(t){Ta(this._lView,t)}markForCheck(){li(this._cdRefInjectingView||this._lView,4)}markForRefresh(){Ca(this._cdRefInjectingView||this._lView)}detach(){this._lView[E]&=-129}reattach(){ss(this._lView),this._lView[E]|=128}detectChanges(){this._lView[E]|=1024,gf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new C(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=os(this._lView),n=this._lView[mt];n!==null&&!t&&tc(n,this._lView),ef(this._lView[v],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new C(902,!1);this._appRef=t;let n=os(this._lView),r=this._lView[mt];r!==null&&!n&&tf(r,this._lView),ss(this._lView)}},wo=(()=>{class e{static __NG_ELEMENT_ID__=vv}return e})(),mv=wo,yv=class extends mv{_declarationLView;_declarationTContainer;elementRef;constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=pn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Tt(o)}};function vv(){return ui(z(),y())}function ui(e,t){return e.type&4?new yv(t,e,un(e,t)):null}function If(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?sf(e,t,n):me(n[o])}function Ef(e,t,n,r,o){let i=t.insertBeforeIndex;if(Array.isArray(i)){let s=r,a=null;if(t.type&3||(a=s,s=o),s!==null&&t.componentOffset===-1)for(let c=1;c<i.length;c++){let l=n[i[c]];Mt(e,s,l,a,!1)}}}function Ot(e,t,n,r,o){let i=e.data[t];if(i===null)i=oc(e,t,n,r,o),Ng()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=jn();i.injectorIndex=s===null?-1:s.injectorIndex}return be(i,!0),i}function oc(e,t,n,r,o){let i=Bu(),s=_a(),a=s?i:i&&i.parent,c=e.data[t]=Ev(e,a,n,t,r,o);return Iv(e,c,i,s),c}function Iv(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function Ev(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Hu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function wf(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];Df(r)||wv(r,t)&&Dv(r)===null&&bv(r,t.index)}}function Df(e){return!(e.type&64)}function wv(e,t){return Df(t)||e.index>t.index}function Dv(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function bv(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(cf(If,Ef),e.insertBeforeIndex=t)}function On(e,t){let n=e.data[t];return n===null||typeof n=="string"?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function Mv(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function Cv(e,t){let n=e.insertBeforeIndex;n===null?(cf(If,Ef),n=e.insertBeforeIndex=[null,t]):(kh(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function Tv(e,t,n){let r=oc(e,n,64,null,null);return wf(t,r),r}function di(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function _v(e){return e>>>17}function xv(e){return(e&131070)>>>1}function Nv(e,t,n){return e|t<<17|n<<1}function Sv(e){return e===-1}function bf(e,t,n){e.index=0;let r=di(t,n);r!==null?e.removes=t.remove[r]:e.removes=K}function As(e){if(e.index<e.removes.length){let t=e.removes[e.index++];if(t>0)return e.lView[t];{e.stack.push(e.index,e.removes);let n=~t,r=e.lView[v].data[n];return bf(e,r,e.lView),As(e)}}else return e.stack.length===0?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),As(e))}function kv(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return bf(e,n.value,r),As.bind(null,e)}return t}var ZN=new RegExp(`^(\\d+)*(${Im}|${vm})*(.*)`);var Ov=()=>{};function Rv(e,t,n,r){Ov(e,t,n,r)}var Av=()=>{};function Pv(e,t,n){Av(e,t,n)}var Lv=()=>null;function tn(e,t){return Lv(e,t)}var Ps=class{},Do=class{},Ls=class{resolveComponentFactory(t){throw Error(`No component factory found for ${de(t)}.`)}},nn=class{static NULL=new Ls},bo=class{},YN=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Fv()}return e})();function Fv(){let e=y(),t=z(),n=tt(t.index,e);return(Ze(n)?n:e)[k]}var Vv=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>null})}return e})();function Mo(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a=="number")i=a;else if(i==1)o=Ji(o,a);else if(i==2){let c=a,l=t[++s];r=Ji(r,c+": "+l+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var Co=class extends nn{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=_e(t);return new _t(n,this.ngModule)}};function kl(e,t){let n=[];for(let r in e){if(!e.hasOwnProperty(r))continue;let o=e[r];if(o===void 0)continue;let i=Array.isArray(o),s=i?o[0]:o,a=i?o[1]:et.None;t?n.push({propName:s,templateName:r,isSignal:(a&et.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function jv(e){let t=e.toLowerCase();return t==="svg"?Au:t==="math"?vg:null}function Hv(e){let{attrs:t,classes:n}=wy(e),r=t;return n.length&&r.push(1,...n),r}var _t=class extends Do{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=kl(t.inputs,!0);if(n!==null)for(let o of r)n.hasOwnProperty(o.propName)&&(o.transform=n[o.propName]);return r}get outputs(){return kl(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=Ey(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=M(null);try{o=o||this.ngModule;let s=o instanceof Oe?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Zt(t,s):t,c=a.get(bo,null);if(c===null)throw new C(407,!1);let l=a.get(Vv,null),u=a.get(Xe,null),d={rendererFactory:c,sanitizer:l,changeDetectionScheduler:u},p=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?Cy(p,r,this.componentDef.encapsulation,a):Ga(p,f,jv(f)),g=512;this.componentDef.signals?g|=4096:this.componentDef.onPush||(g|=16);let I=null;h!==null&&(I=ja(h,a,!0));let m=Za(0,null,null,1,0,null,null,null,null,null,null),_=ri(null,m,null,g,null,null,d,p,a,null,I);_[P]=h,ka(_);let q,H=null;try{let Y=this.componentDef,ne,Rt=null;Y.findHostDirectiveDefs?(ne=[],Rt=new Map,Y.findHostDirectiveDefs(Y,ne,Rt),ne.push(Y)):ne=[Y];let pi=r?["ng-version","19.1.3"]:Hv(this.componentDef.selectors[0]),Ne=Ot(m,P,2,"#host",pi);for(let Sp of ne)Ne.mergedAttrs=en(Ne.mergedAttrs,Sp.hostAttrs);Ne.mergedAttrs=en(Ne.mergedAttrs,pi),Mo(Ne,Ne.mergedAttrs,!0),h&&zd(p,h,Ne),H=Bv(Ne,h,Y,ne,_,d),n!==void 0&&Uv(Ne,this.ngContentSelectors,n),q=$v(H,Y,ne,Rt,_,[qv]),Xa(m,_,null)}catch(Y){throw H!==null&&gs(H),gs(_),Y}finally{Oa()}let te=Jn(m,P);return new Fs(this.componentType,q,un(te,_),_,te)}finally{M(i)}}},Fs=class extends Ps{location;_rootLView;_tNode;instance;hostView;changeDetectorRef;componentType;previousInputValues=null;constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new Tt(o,void 0,!1),this.componentType=t}setInput(t,n){let r=this._tNode.inputs,o;if(r!==null&&(o=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let i=this._rootLView;Ka(i[v],i,o,t,n),this.previousInputValues.set(t,n);let s=tt(this._tNode.index,i);li(s,1)}}get injector(){return new ht(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Bv(e,t,n,r,o,i){let s=o[v],a=null;t!==null&&(a=ja(t,o[De]));let c=i.rendererFactory.createRenderer(t,n),l=ri(o,Zd(n),null,Kd(n),o[e.index],e,i,c,null,null,a);return s.firstCreatePass&&xs(s,e,r.length-1),oi(o,l),o[e.index]=l}function $v(e,t,n,r,o,i){let s=z(),a=o[v],c=ye(s,o);Yd(a,o,s,n,null,r);for(let u=0;u<n.length;u++){let d=s.directiveStart+u,p=Dt(o,a,d,s);xe(p,o)}Jd(a,o,s),c&&xe(c,o);let l=Dt(o,a,s.directiveStart+s.componentOffset,s);if(e[X]=o[X]=l,i!==null)for(let u of i)u(l,t);return Ha(a,s,o),l}function Uv(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}function qv(){let e=z();Zo(y()[v],e)}var ic=(()=>{class e{static __NG_ELEMENT_ID__=Wv}return e})();function Wv(){let e=z();return Cf(e,y())}var Gv=ic,Mf=class extends Gv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return un(this._hostTNode,this._hostLView)}get injector(){return new ht(this._hostTNode,this._hostLView)}get parentInjector(){let t=Ra(this._hostTNode,this._hostLView);if(Xu(t)){let n=fo(t,this._hostLView),r=uo(t),o=n[v].data[r+8];return new ht(o,n)}else return new ht(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=Ol(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ee}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=tn(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Ct(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!hg(t),a;if(s)a=n;else{let h=n||{};a=h.index,r=h.injector,o=h.projectableNodes,i=h.environmentInjector||h.ngModuleRef}let c=s?t:new _t(_e(t)),l=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?l:this.parentInjector).get(Oe,null);g&&(i=g)}let u=_e(c.componentType??{}),d=tn(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,Ct(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(Eg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[Z],l=new Mf(c,c[oe],c[Z]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return hn(s,o,i,r),t.attachToViewContainerRef(),vu($i(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=Ol(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=$n(this._lContainer,n);r&&(ro($i(this._lContainer),n),si(r[v],r))}detach(t){let n=this._adjustIndex(t,-1),r=$n(this._lContainer,n);return r&&ro($i(this._lContainer),n)!=null?new Tt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Ol(e){return e[co]}function $i(e){return e[co]||(e[co]=[])}function Cf(e,t){let n,r=t[e.index];return Ve(r)?n=r:(n=Xd(r,t,null,e),t[e.index]=n,oi(t,n)),Qv(n,t,e,r),new Mf(n,e,t)}function zv(e,t){let n=e[k],r=n.createComment(""),o=ye(t,e),i=n.parentNode(o);return Mt(n,i,r,n.nextSibling(o),!1),r}var Qv=Yv,Zv=()=>!1;function Tf(e,t,n){return Zv(e,t,n)}function Yv(e,t,n,r){if(e[vt])return;let o;n.type&8?o=me(r):o=zv(t,n),e[vt]=o}var Vs=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},js=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)ac(t,n).matches!==null&&this.queries[n].setDirty()}},To=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=nI(t):this.predicate=t}},Hs=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}},Bs=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,Jv(n,i)),this.matchTNodeWithReadOption(t,n,Qr(n,t,i,!1,!1))}else r===wo?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Qr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Yo||o===ic||o===wo&&n.type&4)this.addMatch(n.index,-2);else{let i=Qr(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function Jv(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Kv(e,t){return e.type&11?un(e,t):e.type&4?ui(e,t):null}function Xv(e,t,n,r){return n===-1?Kv(t,e):n===-2?eI(e,t,r):Dt(e,e[v],n,t)}function eI(e,t,n){if(n===Yo)return un(t,e);if(n===wo)return ui(t,e);if(n===ic)return Cf(t,e)}function _f(e,t,n,r){let o=t[Ae].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(Xv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function $s(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=_f(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=ee;d<u.length;d++){let p=u[d];p[mt]===p[Z]&&$s(p[v],p,l,r)}if(u[Xt]!==null){let d=u[Xt];for(let p=0;p<d.length;p++){let f=d[p];$s(f[v],f,l,r)}}}}}return r}function sc(e,t){return e[Ae].queries[t].queryList}function xf(e,t,n){let r=new hs((n&4)===4);return Dg(e,t,r,r.destroy),(t[Ae]??=new js).queries.push(new Vs(r))-1}function tI(e,t,n){let r=R();return r.firstCreatePass&&(Sf(r,new To(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),xf(r,y(),t)}function Nf(e,t,n,r){let o=R();if(o.firstCreatePass){let i=z();Sf(o,new To(t,n,r),i.index),rI(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return xf(o,y(),n)}function nI(e){return e.split(",").map(t=>t.trim())}function Sf(e,t,n){e.queries===null&&(e.queries=new Hs),e.queries.track(new Bs(t,n))}function rI(e,t){let n=e.contentQueries||(e.contentQueries=[]),r=n.length?n[n.length-1]:-1;t!==r&&n.push(e.queries.length-1,t)}function ac(e,t){return e.queries.getByIndex(t)}function kf(e,t){let n=e[v],r=ac(n,t);return r.crossesNgTemplate?$s(n,e,t,[]):_f(n,e,r,t)}function cc(e,t,n){let r,o=Oi(()=>{r._dirtyCounter();let i=aI(r,e);if(t&&i===void 0)throw new C(-951,!1);return i});return r=o[G],r._dirtyCounter=hd(0),r._flatValue=void 0,o}function oI(e){return cc(!0,!1,e)}function iI(e){return cc(!0,!0,e)}function sI(e){return cc(!1,!1,e)}function Of(e,t){let n=e[G];n._lView=y(),n._queryIndex=t,n._queryList=sc(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function aI(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[E]&4)return t?void 0:K;let o=sc(n,r),i=kf(n,r);return o.reset(i,pd),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function Rl(e,t){return oI(t)}function cI(e,t){return iI(t)}var KN=(Rl.required=cI,Rl);function XN(e,t){return sI(t)}function Rf(e,t){let n=Object.create(iu),r=new vo;n.value=e;function o(){return jt(n),Al(n.value),n.value}return o[G]=n,o.asReadonly=Jo.bind(o),o.set=i=>{n.equal(n.value,i)||(Ut(n,i),r.emit(i))},o.update=i=>{Al(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Al(e){if(e===Lo)throw new C(952,!1)}function Pl(e,t){return Rf(e,t)}function lI(e){return Rf(Lo,e)}var eS=(Pl.required=lI,Pl);var xt=class{},Us=class{};function tS(e,t){return new _o(e,t??null,[])}var _o=class extends xt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new Co(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=wu(t);this._bootstrapComponents=Fd(i.bootstrap),this._r3Injector=cd(t,n,[{provide:xt,useValue:this},{provide:nn,useValue:this.componentFactoryResolver},...r],de(t),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}},qs=class extends Us{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new _o(this.moduleType,t,[])}};var xo=class extends xt{injector;componentFactoryResolver=new Co(this);instance=null;constructor(t){super();let n=new Fn([...t.providers,{provide:xt,useValue:this},{provide:nn,useValue:this.componentFactoryResolver}],t.parent||Ho(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Af(e,t,n=null){return new xo({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var uI=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Ea(!1,n.type),o=r.length>0?Af([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=U({token:e,providedIn:"environment",factory:()=>new e(Ye(Oe))})}return e})();function nS(e){return Zn(()=>{let t=Pf(e),n=se(ie({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===yd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(uI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Bn.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Ce("NgStandalone"),Lf(n);let r=e.dependencies;return n.directiveDefs=Fl(r,!1),n.pipeDefs=Fl(r,!0),n.id=pI(n),n})}function dI(e){return _e(e)||va(e)}function fI(e){return e!==null}function rS(e){return Zn(()=>({type:e.type,bootstrap:e.bootstrap||K,declarations:e.declarations||K,imports:e.imports||K,exports:e.exports||K,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Ll(e,t){if(e==null)return Yt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=et.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==et.None?[r,a]:r,t[i]=s):n[i]=r}return n}function oS(e){return Zn(()=>{let t=Pf(e);return Lf(t),t})}function iS(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function Pf(e){let t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||Yt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||K,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ll(e.inputs,t),outputs:Ll(e.outputs),debugInfo:null}}function Lf(e){e.features?.forEach(t=>t(e))}function Fl(e,t){if(!e)return null;let n=t?Ia:dI;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(fI)}function pI(e){let t=0,n=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function hI(e){return Object.getPrototypeOf(e.prototype).constructor}function gI(e){let t=hI(e.type),n=!0,r=[e];for(;t;){let o;if(Je(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new C(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=Br(e.inputs),s.inputTransforms=Br(e.inputTransforms),s.declaredInputs=Br(e.declaredInputs),s.outputs=Br(e.outputs);let a=o.hostBindings;a&&EI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&vI(e,c),l&&II(e,l),mI(e,o),Nh(e.outputs,o.outputs),Je(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===gI&&(n=!1)}}t=Object.getPrototypeOf(t)}yI(r)}function mI(e,t){for(let n in t.inputs){if(!t.inputs.hasOwnProperty(n)||e.inputs.hasOwnProperty(n))continue;let r=t.inputs[n];if(r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n],t.inputTransforms!==null)){let o=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(o))continue;e.inputTransforms??={},e.inputTransforms[o]=t.inputTransforms[o]}}}function yI(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=en(o.hostAttrs,n=en(n,o.hostAttrs))}}function Br(e){return e===Yt?{}:e===K?[]:e}function vI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function II(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function EI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function sS(e){let t=e.inputConfig,n={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[r];Array.isArray(o)&&o[3]&&(n[r]=o[3])}e.inputTransforms=n}function Ff(e){return lc(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function wI(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function lc(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function fi(e,t,n){return e[t]=n}function DI(e,t){return e[t]}function ue(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Un(e,t,n,r){let o=ue(e,t,n);return ue(e,t+1,r)||o}function bI(e,t,n,r,o){let i=Un(e,t,n,r);return ue(e,t+2,o)||i}function MI(e,t,n,r,o,i){let s=Un(e,t,n,r);return Un(e,t+2,o,i)||s}function CI(e){return(e.flags&32)===32}function TI(e,t,n,r,o,i,s,a,c){let l=t.consts,u=Ot(t,e,4,s||null,a||null);Ya(t,n,u,Pe(l,c)),Zo(t,u);let d=u.tView=Za(2,u,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l,null);return t.queries!==null&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}function qn(e,t,n,r,o,i,s,a,c,l){let u=n+P,d=t.firstCreatePass?TI(u,t,e,r,o,i,s,a,c):t.data[u];be(d,!1);let p=xI(t,e,d,n);Xn()&&ai(t,e,p,d),xe(p,e);let f=Xd(p,e,p,d);return e[u]=f,oi(e,f),Tf(f,d,e),Uo(d)&&za(t,e,d),c!=null&&Qa(e,d,l),d}function _I(e,t,n,r,o,i,s,a){let c=y(),l=R(),u=Pe(l.consts,i);return qn(c,l,e,t,n,r,o,u,s,a),_I}var xI=NI;function NI(e,t,n,r){return er(!0),t[k].createComment("")}var SI=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Af(o,r,i):null;this.cachedInjectors.set(n,s)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=U({token:e,providedIn:"environment",factory:()=>new e})}return e})();var kI=new O("");function Ui(e,t,n){return e.get(SI).getOrCreateInjector(t,e,n,"")}function OI(e,t,n){if(e instanceof Zt){let o=e.injector,i=e.parentInjector,s=Ui(i,t,n);return new Zt(o,s)}let r=e.get(Oe);if(r!==e){let o=Ui(r,t,n);return new Zt(e,o)}return Ui(e,t,n)}function pt(e,t,n,r=!1){let o=n[Z],i=o[v];if(an(o))return;let s=tr(o,t),a=s[Ko],c=s[Nm];if(!(c!==null&&e<c)&&Vl(a,e)&&Vl(s[Cm]??-1,e)){let l=nr(i,t),d=!r&&!0&&(Pm(l)!==null||wl(l,j.Loading)!==null||wl(l,j.Placeholder))?LI:AI;try{d(e,s,n,t,o)}catch(p){ii(o,p)}}}function RI(e,t){return e[ao]?.find(n=>n.data[Dd]===t[Ko])??null}function AI(e,t,n,r,o){let i=Am(e,o,r);if(i!==null){t[Ko]=e;let s=o[v],a=i+P,c=Jn(s,a),l=0;rc(n,l);let u;if(e===j.Complete){let f=nr(s,r),h=f.providers;h&&h.length>0&&(u=OI(o[De],f,h))}let d=RI(n,t);n[ao]=null;let p=pn(o,c,null,{injector:u,dehydratedView:d});if(hn(n,p,l,Ct(c,d)),li(p,2),(e===j.Complete||e===j.Error)&&Array.isArray(t[Hi])){for(let f of t[Hi])f();t[Hi]=null}}}function Vl(e,t){return e<t}function PI(e,t){let n=e[t.index];pt(j.Placeholder,t,n)}function jl(e,t,n){e.loadingPromise.then(()=>{e.loadingState===ce.COMPLETE?pt(j.Complete,t,n):e.loadingState===ce.FAILED&&pt(j.Error,t,n)})}var LI=null;var aS=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var FI=new O("");function Vf(e){return!!e&&typeof e.then=="function"}function VI(e){return!!e&&typeof e.subscribe=="function"}var jI=new O("");var jf=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=x(jI,{optional:!0})??[];injector=x(Ke);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=Tu(this.injector,o);if(Vf(i))n.push(i);else if(VI(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Hf=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:()=>new No})}return e})(),No=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,n]of this.queues)t===null?this.flushQueue(n):t.run(()=>this.flushQueue(n))}flushQueue(t){for(let n of t)t.delete(n),this.queuedEffectCount--,n.run()}},HI=new O("");function BI(){Xc(()=>{throw new C(600,!1)})}function $I(e){return e.isBoundToModule}var UI=10;function qI(e,t,n){try{let r=n();return Vf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Wn=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=x(am);afterRenderManager=x(bm);zonelessEnabled=x(Aa);rootEffectScheduler=x(Hf);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new pe;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=x(kt).hasPendingTasks.pipe(Ue(n=>!n));constructor(){x(Cd,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=x(Oe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof Do;if(!this._injector.get(jf).done){let p=!o&&tg(n),f=!1;throw new C(405,f)}let s;o?s=n:s=this._injector.get(nn).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=$I(s)?void 0:this._injector.get(xt),c=r||s.selector,l=s.create(Ke.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(FI,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),Yr(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick=()=>{if(this.tracingSnapshot!==null){let r=this.tracingSnapshot;this.tracingSnapshot=null,r.run(Md.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new C(101,!1);let n=M(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,M(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(bo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<UI;)this.synchronizeOnce()}synchronizeOnce(){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r,notifyErrorHandler:o}of this.allViews)WI(r,o,n,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else this._rendererFactory?.begin?.(),this._rendererFactory?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Go(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;Yr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(HI,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Yr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new C(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Yr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function WI(e,t,n,r){if(!n&&!Go(e))return;gf(e,t,n&&!r?0:1)}function GI(e,t,n){let r=t[De],o=t[v];if(e.loadingState!==ce.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=tr(t,n),s=Lm(o,e);e.loadingState=ce.IN_PROGRESS,Zr(1,i);let a=e.dependencyResolverFn,c=r.get(kt),l=c.add();return a?(e.loadingPromise=Promise.allSettled(a()).then(u=>{let d=!1,p=[],f=[];for(let h of u)if(h.status==="fulfilled"){let g=h.value,I=_e(g)||va(g);if(I)p.push(I);else{let m=Ia(g);m&&f.push(m)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(l),d){if(e.loadingState=ce.FAILED,e.errorTmplIndex===null){let h="",g=new C(-750,!1);ii(t,g)}}else{e.loadingState=ce.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=Dl(h.directiveRegistry,p);let g=p.map(m=>m.type),I=Ea(!1,...g);e.providers=I}f.length>0&&(h.pipeRegistry=Dl(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=ce.COMPLETE,c.remove(l)}),e.loadingPromise)}function zI(e,t){return t[De].get(kI,null,{optional:!0})?.behavior!==Td.Manual}function QI(e,t,n){let r=t[v],o=t[n.index];if(!zI(e,t))return;let i=tr(t,n),s=nr(r,n);switch(_d(i),s.loadingState){case ce.NOT_STARTED:pt(j.Loading,n,o),GI(s,t,n),s.loadingState===ce.IN_PROGRESS&&jl(s,n,o);break;case ce.IN_PROGRESS:pt(j.Loading,n,o),jl(s,n,o);break;case ce.COMPLETE:pt(j.Complete,n,o);break;case ce.FAILED:pt(j.Error,n,o);break;default:}}function ZI(e,t,n){return e===0?Hl(t,n):e===2?!Hl(t,n):!0}function Hl(e,t){let n=e[De],r=nr(e[v],t),o=jm(n),i=r.flags!==null&&(r.flags&1)===1,a=tr(e,t)[xm]!==null;return!(i&&a&&o)}function cS(e,t,n,r,o,i,s,a,c,l){let u=y(),d=R(),p=e+P,f=qn(u,d,e,null,0,0),h=u[De];if(d.firstCreatePass){Ce("NgDefer");let te={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:ce.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:l??0};c?.(d,te,a,s),Rm(d,p,te)}let g=u[p];Tf(g,f,u);let I=null,m=null;if(g[ao]?.length>0){let te=g[ao][0].data;m=te[Em]??null,I=te[Dd]}let _=[null,Io.Initial,null,null,null,null,m,I,null,null];Om(u,p,_);let q=null;m!==null&&(q=h.get(Fm),q.add(m,{lView:u,tNode:f,lContainer:g}));let H=()=>{_d(_),m!==null&&q?.cleanup([m])};km(0,_,()=>Lu(u,H)),Ta(u,H)}function lS(e){let t=y(),n=St();if(!ZI(0,t,n))return;let r=nt();if(ue(t,r,e)){let o=M(null);try{let i=!!e,a=tr(t,n)[Ko];i===!1&&a===Io.Initial?PI(t,n):i===!0&&(a===Io.Initial||a===j.Placeholder)&&QI(0,t,n)}finally{M(o)}}}function YI(e,t,n,r){let o=y(),i=nt();if(ue(o,i,t)){let s=R(),a=St();By(a,o,e,t,n,r)}return YI}function Bf(e,t,n,r){return ue(e,nt(),n)?t+Ee(n)+r:Q}function $f(e,t,n,r,o,i){let s=Na(),a=Un(e,s,n,o);return zo(2),a?t+Ee(n)+r+Ee(o)+i:Q}function Uf(e,t,n,r,o,i,s,a){let c=Na(),l=bI(e,c,n,o,s);return zo(3),l?t+Ee(n)+r+Ee(o)+i+Ee(s)+a:Q}function $r(e,t){return e<<17|t<<2}function Nt(e){return e>>17&32767}function JI(e){return(e&2)==2}function KI(e,t){return e&131071|t<<17}function Ws(e){return e|2}function rn(e){return(e&131068)>>2}function qi(e,t){return e&-131069|t<<2}function XI(e){return(e&1)===1}function Gs(e){return e|1}function eE(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Nt(s),c=rn(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Yn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Nt(e[a+1]);e[r+1]=$r(p,a),p!==0&&(e[p+1]=qi(e[p+1],r)),e[a+1]=KI(e[a+1],r)}else e[r+1]=$r(a,0),a!==0&&(e[a+1]=qi(e[a+1],r)),a=r;else e[r+1]=$r(c,0),a===0?a=r:e[c+1]=qi(e[c+1],r),c=r;l&&(e[r+1]=Ws(e[r+1])),Bl(e,u,r,!0),Bl(e,u,r,!1),tE(t,u,e,r,i),s=$r(a,c),i?t.classBindings=s:t.styleBindings=s}function tE(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Yn(i,t)>=0&&(n[r+1]=Gs(n[r+1]))}function Bl(e,t,n,r){let o=e[n+1],i=t===null,s=r?Nt(o):rn(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];nE(c,t)&&(a=!0,e[s+1]=r?Gs(l):Ws(l)),s=r?Nt(l):rn(l)}a&&(e[n+1]=r?Ws(o):Gs(o))}function nE(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Yn(e,t)>=0:!1}var $={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function qf(e){return e.substring($.key,$.keyEnd)}function rE(e){return e.substring($.value,$.valueEnd)}function oE(e){return zf(e),Wf(e,on(e,0,$.textEnd))}function Wf(e,t){let n=$.textEnd;return n===t?-1:(t=$.keyEnd=sE(e,$.key=t,n),on(e,t,n))}function iE(e){return zf(e),Gf(e,on(e,0,$.textEnd))}function Gf(e,t){let n=$.textEnd,r=$.key=on(e,t,n);return n===r?-1:(r=$.keyEnd=aE(e,r,n),r=$l(e,r,n,58),r=$.value=on(e,r,n),r=$.valueEnd=cE(e,r,n),$l(e,r,n,59))}function zf(e){$.key=0,$.keyEnd=0,$.value=0,$.valueEnd=0,$.textEnd=e.length}function on(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function sE(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function aE(e,t,n){let r;for(;t<n&&((r=e.charCodeAt(t))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)t++;return t}function $l(e,t,n,r){return t=on(e,t,n),t<n&&t++,t}function cE(e,t,n){let r=-1,o=-1,i=-1,s=t,a=s;for(;s<n;){let c=e.charCodeAt(s++);if(c===59)return a;c===34||c===39?a=s=Ul(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Ul(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Ul(e,t,n,r){let o=-1,i=n;for(;i<r;){let s=e.charCodeAt(i++);if(s==t&&o!==92)return i;s==92&&o===92?o=0:o=s}throw new Error}function lE(e,t,n){let r=y(),o=nt();if(ue(r,o,t)){let i=R(),s=St();fn(i,s,r,e,t,r[k],n,!1)}return lE}function zs(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ka(e,n,i[s],s,r)}function uE(e,t,n){return Qf(e,t,n,!1),uE}function dE(e,t){return Qf(e,t,null,!0),dE}function uS(e){Zf(Kf,fE,e,!1)}function fE(e,t){for(let n=iE(t);n>=0;n=Gf(t,n))Kf(e,qf(t),rE(t))}function dS(e){Zf(IE,pE,e,!0)}function pE(e,t){for(let n=oE(t);n>=0;n=Wf(t,n))jo(e,qf(t),!0)}function Qf(e,t,n,r){let o=y(),i=R(),s=zo(2);if(i.firstUpdatePass&&Jf(i,e,s,r),t!==Q&&ue(o,s,t)){let a=i.data[Me()];Xf(i,a,o,o[k],e,o[s+1]=wE(t,n),r,s)}}function Zf(e,t,n,r){let o=R(),i=zo(2);o.firstUpdatePass&&Jf(o,null,i,r);let s=y();if(n!==Q&&ue(s,i,n)){let a=o.data[Me()];if(ep(a,r)&&!Yf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Ji(c,n||"")),zs(o,a,s,n,r)}else EE(o,a,s,s[k],s[i+1],s[i+1]=vE(e,t,n),r,i)}}function Yf(e,t){return t>=e.expandoStartIndex}function Jf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Me()],s=Yf(e,n);ep(i,r)&&t===null&&!s&&(t=!1),t=hE(o,i,t,r),eE(o,i,t,n,s,r)}}function hE(e,t,n,r){let o=Og(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Wi(null,e,t,n,r),n=Gn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Wi(o,e,t,n,r),i===null){let c=gE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Wi(null,e,t,c[1],r),c=Gn(c,t.attrs,r),mE(e,t,r,c))}else i=yE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function gE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(rn(r)!==0)return e[Nt(r)]}function mE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Nt(o)]=r}function yE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Gn(r,s,n)}return Gn(r,t.attrs,n)}function Wi(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Gn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Gn(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),jo(e,s,n?!0:t[++i]))}return e===void 0?null:e}function vE(e,t,n){if(n==null||n==="")return K;let r=[],o=dn(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&t(r,o);return r}function Kf(e,t,n){jo(e,t,dn(n))}function IE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&jo(e,r,n)}function EE(e,t,n,r,o,i,s,a){o===Q&&(o=K);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,h=null,g;u===d?(c+=2,l+=2,p!==f&&(h=d,g=f)):d===null||u!==null&&u<d?(c+=2,h=u):(l+=2,h=d,g=f),h!==null&&Xf(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Xf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=XI(l)?ql(c,t,n,o,rn(l),s):void 0;if(!So(u)){So(i)||JI(l)&&(i=ql(c,null,n,o,a,s));let d=qo(Me(),n);nv(r,s,d,o,i)}}function ql(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===Q&&(p=d?K:void 0);let f=d?Pi(p,r):u===r?p:void 0;if(l&&!So(f)&&(f=Pi(c,r)),So(f)&&(a=f,s))return a;let h=e[o+1];o=s?Nt(h):rn(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=Pi(c,r))}return a}function So(e){return e!==void 0}function wE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=de(dn(e)))),e}function ep(e,t){return(e.flags&(t?8:16))!==0}var Qs=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function Gi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function DE(e,t,n){let r,o,i=0,s=e.length-1,a=void 0;if(Array.isArray(t)){let c=t.length-1;for(;i<=s&&i<=c;){let l=e.at(i),u=t[i],d=Gi(i,l,i,u,n);if(d!==0){d<0&&e.updateValue(i,u),i++;continue}let p=e.at(s),f=t[c],h=Gi(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),I=n(s,p),m=n(i,u);if(Object.is(m,I)){let _=n(c,f);Object.is(_,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new ko,o??=Gl(e,i,s,n),Zs(e,r,i,m))e.updateValue(i,u),i++,s++;else if(o.has(m))r.set(g,e.detach(i)),s--;else{let _=e.create(i,t[i]);e.attach(i,_),i++,s++}}for(;i<=c;)Wl(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),l=c.next();for(;!l.done&&i<=s;){let u=e.at(i),d=l.value,p=Gi(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new ko,o??=Gl(e,i,s,n);let f=n(i,d);if(Zs(e,r,i,f))e.updateValue(i,d),i++,s++,l=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,l=c.next();else{let h=n(i,u);r.set(h,e.detach(i)),s--}}}for(;!l.done;)Wl(e,r,n,e.length,l.value),l=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Zs(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Wl(e,t,n,r,o){if(Zs(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Gl(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var ko=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function fS(e,t){Ce("NgControlFlow");let n=y(),r=nt(),o=n[r]!==Q?n[r]:-1,i=o!==-1?Oo(n,P+o):void 0,s=0;if(ue(n,r,e)){let a=M(null);try{if(i!==void 0&&rc(i,s),e!==-1){let c=P+e,l=Oo(n,c),u=Xs(n[v],c),d=tn(l,u.tView.ssrId),p=pn(n,u,t,{dehydratedView:d});hn(l,p,s,Ct(u,d))}}finally{M(a)}}else if(i!==void 0){let a=df(i,s);a!==void 0&&(a[X]=t)}}var Ys=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ee}};function pS(e){return e}var Js=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function hS(e,t,n,r,o,i,s,a,c,l,u,d,p){Ce("NgControlFlow");let f=y(),h=R(),g=c!==void 0,I=y(),m=a?s.bind(I[le][X]):s,_=new Js(g,m);I[P+e]=_,qn(f,h,e+1,t,n,r,o,Pe(h.consts,i)),g&&qn(f,h,e+2,c,l,u,d,Pe(h.consts,p))}var Ks=class extends Qs{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-ee}at(t){return this.getLView(t)[X].$implicit}attach(t,n){let r=n[Kt];this.needsIndexUpdate||=t!==this.length,hn(this.lContainer,n,t,Ct(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,bE(this.lContainer,t)}create(t,n){let r=tn(this.lContainer,this.templateTNode.tView.ssrId),o=pn(this.hostLView,this.templateTNode,new Ys(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){si(t[v],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[X].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[X].$index=t}getLView(t){return ME(this.lContainer,t)}};function gS(e){let t=M(null),n=Me();try{let r=y(),o=r[v],i=r[n],s=n+1,a=Oo(r,s);if(i.liveCollection===void 0){let l=Xs(o,s);i.liveCollection=new Ks(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(DE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=nt(),u=c.length===0;if(ue(r,l,u)){let d=n+2,p=Oo(r,d);if(u){let f=Xs(o,d),h=tn(p,f.tView.ssrId),g=pn(r,f,void 0,{dehydratedView:h});hn(p,g,0,Ct(f,h))}else rc(p,0)}}}finally{M(t)}}function Oo(e,t){return e[t]}function bE(e,t){return $n(e,t)}function ME(e,t){return df(e,t)}function Xs(e,t){return Jn(e,t)}function CE(e,t,n,r,o,i){let s=t.consts,a=Pe(s,o),c=Ot(t,e,2,r,a);return Ya(t,n,c,Pe(s,i)),c.attrs!==null&&Mo(c,c.attrs,!1),c.mergedAttrs!==null&&Mo(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function tp(e,t,n,r){let o=y(),i=R(),s=P+e,a=o[k],c=i.firstCreatePass?CE(s,i,o,t,n,r):i.data[s],l=_E(i,o,c,a,t,e);o[s]=l;let u=Uo(c);return be(c,!0),zd(a,l,c),!CI(c)&&Xn()&&ai(i,o,l,c),bg()===0&&xe(l,o),Mg(),u&&(za(i,o,c),Ha(i,c,o)),r!==null&&Qa(o,c),tp}function np(){let e=z();_a()?xa():(e=e.parent,be(e,!1));let t=e;Tg(t)&&_g(),Cg();let n=R();return n.firstCreatePass&&(Zo(n,e),ba(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&jg(t)&&zs(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Hg(t)&&zs(n,t,y(),t.stylesWithoutHost,!1),np}function TE(e,t,n,r){return tp(e,t,n,r),np(),TE}var _E=(e,t,n,r,o,i)=>(er(!0),Ga(r,o,Pg()));function xE(e,t,n,r,o){let i=t.consts,s=Pe(i,r),a=Ot(t,e,8,"ng-container",s);s!==null&&Mo(a,s,!0);let c=Pe(i,o);return Ya(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function rp(e,t,n){let r=y(),o=R(),i=e+P,s=o.firstCreatePass?xE(i,o,r,t,n):o.data[i];be(s,!0);let a=SE(o,r,s,e);return r[i]=a,Xn()&&ai(o,r,a,s),xe(a,r),Uo(s)&&(za(o,r,s),Ha(o,s,r)),n!=null&&Qa(r,s),rp}function op(){let e=z(),t=R();return _a()?xa():(e=e.parent,be(e,!1)),t.firstCreatePass&&(Zo(t,e),ba(e)&&t.queries.elementEnd(e)),op}function NE(e,t,n){return rp(e,t,n),op(),NE}var SE=(e,t,n,r)=>(er(!0),qd(t[k],""));function mS(){return y()}var dt=void 0;function kE(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var OE=["en",[["a","p"],["AM","PM"],dt],[["AM","PM"],dt,dt],[["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"]],dt,[["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"]],dt,[["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}",dt,"{1} 'at' {0}",dt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",kE],Rn={};function yS(e,t,n){typeof t!="string"&&(n=t,t=e[zn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Rn[t]=e,n&&(Rn[t][zn.ExtraData]=n)}function ip(e){let t=AE(e),n=zl(t);if(n)return n;let r=t.split("-")[0];if(n=zl(r),n)return n;if(r==="en")return OE;throw new C(701,!1)}function vS(e){return ip(e)[zn.CurrencyCode]||null}function RE(e){return ip(e)[zn.PluralCase]}function zl(e){return e in Rn||(Rn[e]=Ge.ng&&Ge.ng.common&&Ge.ng.common.locales&&Ge.ng.common.locales[e]),Rn[e]}var zn=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(zn||{});function AE(e){return e.toLowerCase().replace(/_/g,"-")}var PE=["zero","one","two","few","many"];function LE(e,t){let n=RE(t)(parseInt(e,10)),r=PE[n];return r!==void 0?r:"other"}var Ro="en-US",FE="USD",sp={marker:"element"},ap={marker:"ICU"},ke=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(ke||{}),cp=Ro;function VE(e){typeof e=="string"&&(cp=e.toLowerCase().replace(/_/g,"-"))}function jE(){return cp}var Qn=0,An=0;function HE(e){e&&(Qn=Qn|1<<Math.min(An,31)),An++}function BE(e,t,n){if(An>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=Na()-An-1;up(e,t,o,i,Qn)}Qn=0,An=0}function $E(e,t,n){let r=e[k];switch(n){case Node.COMMENT_NODE:return qd(r,t);case Node.TEXT_NODE:return $d(r,t);case Node.ELEMENT_NODE:return Ga(r,t,null)}}var Jr=(e,t,n,r)=>(er(!0),$E(e,n,r));function UE(e,t,n,r){let o=e[k];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s&ke.COMMENT)===ke.COMMENT,l=(s&ke.APPEND_EAGERLY)===ke.APPEND_EAGERLY,u=s>>>ke.SHIFT,d=e[u],p=!1;d===null&&(d=e[u]=Jr(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=Xn()),l&&n!==null&&p&&Mt(o,n,d,r,!1)}}function lp(e,t,n,r){let o=n[k],i=null,s;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="string"){let l=t[++a];n[l]===null&&(n[l]=Jr(n,l,c,Node.TEXT_NODE))}else if(typeof c=="number")switch(c&1){case 0:let l=_v(c);i===null&&(i=l,s=o.parentNode(r));let u,d;if(l===i?(u=r,d=s):(u=null,d=me(n[l])),d!==null){let g=xv(c),I=n[g];Mt(o,d,I,u,!1);let m=On(e,g);if(m!==null&&typeof m=="object"){let _=di(m,n);_!==null&&lp(e,m.create[_],n,n[m.anchorIdx])}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];Ja(o,qo(p,n),null,null,f,h,null);break;default:}else switch(c){case ap:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=Jr(n,u,l,Node.COMMENT_NODE);xe(f,n)}break;case sp:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=Jr(n,p,d,Node.ELEMENT_NODE);xe(f,n)}break;default:}}}function up(e,t,n,r,o){for(let i=0;i<n.length;i++){let s=n[i],a=n[++i];if(s&o){let c="";for(let l=i+1;l<=i+a;l++){let u=n[l];if(typeof u=="string")c+=u;else if(typeof u=="number")if(u<0)c+=Ee(t[r-u]);else{let d=u>>>2;switch(u&3){case 1:let p=n[++l],f=n[++l],h=e.data[d];typeof h=="string"?Ja(t[k],t[d],null,h,p,c,f):fn(e,h,t,p,c,t[k],f,!1);break;case 0:let g=t[d];g!==null&&Ud(t[k],g,c);break;case 2:qE(e,On(e,d),t,c);break;case 3:Ql(e,On(e,d),r,t);break}}}}else{let c=n[i+1];if(c>0&&(c&3)===3){let l=c>>>2,u=On(e,l);t[u.currentCaseLViewIndex]<0&&Ql(e,u,r,t)}}i+=a}}function Ql(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=Qn;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),up(e,r,t.update[o],n,i)}}function qE(e,t,n,r){let o=WE(t,r);if(di(t,n)!==o&&(dp(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&lp(e,t.create[o],n,s),Pv(n,t.anchorIdx,o)}}function dp(e,t,n){let r=di(t,n);if(r!==null){let o=t.remove[r];for(let i=0;i<o.length;i++){let s=o[i];if(s>0){let a=qo(s,n);a!==null&&Gd(n[k],a)}else dp(e,On(e,~s),n)}}}function WE(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=LE(t,jE());n=e.cases.indexOf(r),n===-1&&r!=="other"&&(n=e.cases.indexOf("other"));break}case 0:{n=e.cases.indexOf("other");break}}return n===-1?null:n}var Ao=/�(\d+):?\d*�/gi;var GE=/�(\d+)�/,fp=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,Pn="\uFFFD",zE=/�\/?\*(\d+:\d+)�/gi,QE=/�(\/?[#*]\d+):?\d*�/gi,ZE=/\uE500/g;function YE(e){return e.replace(ZE," ")}function JE(e,t,n,r,o,i){let s=jn(),a=[],c=[],l=[[]],u=[[]];o=XE(o,i);let d=YE(o).split(QE);for(let p=0;p<d.length;p++){let f=d[p];if(p&1){let h=f.charCodeAt(0)===47,g=f.charCodeAt(h?1:0),I=P+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),be(jn(),!1);else{let m=Tv(e,l[0],I);l.unshift([]),be(m,!0);let _={kind:2,index:I,children:[],type:g===35?0:1};u[0].push(_),u.unshift(_.children)}}else{let h=ea(f);for(let g=0;g<h.length;g++){let I=h[g];if(g&1){let m=I;if(typeof m!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let q=pp(e,s,l[0],n,a,"",!0).index;gp(u[0],e,n,c,t,m,q)}else{let m=I;m!==""&&KE(u[0],e,s,l[0],a,c,n,m)}}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function pp(e,t,n,r,o,i,s){let a=or(e,r,1,null),c=a<<ke.SHIFT,l=jn();t===l&&(l=null),l===null&&(c|=ke.APPEND_EAGERLY),s&&(c|=ke.COMMENT,zy(kv)),o.push(c,i===null?"":i);let u=oc(e,a,s?32:1,i===null?"":i,null);wf(n,u);let d=u.index;return be(u,!1),l!==null&&t!==l&&Cv(l,d),u}function KE(e,t,n,r,o,i,s,a){let c=a.match(Ao),u=pp(t,n,r,s,o,c?null:a,!1).index;c&&Kr(i,a,u,null,0,null),e.push({kind:0,index:u})}function Kr(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(Ao),u=0;for(let d=0;d<l.length;d++){let p=l[d];if(d&1){let f=o+parseInt(p,10);e.push(-1-f),u=u|hp(f)}else p!==""&&e.push(p)}return e.push(n<<2|(r?1:0)),r&&e.push(r,i),e[s]=u,e[a]=e.length-c,u}function hp(e){return 1<<Math.min(e,31)}function Zl(e){let t,n="",r=0,o=!1,i;for(;(t=zE.exec(e))!==null;)o?t[0]===`${Pn}/*${i}${Pn}`&&(r=t.index,o=!1):(n+=e.substring(r,t.index+t[0].length),i=t[1],o=!0);return n+=e.slice(r),n}function XE(e,t){if(Sv(t))return Zl(e);{let n=e.indexOf(`:${t}${Pn}`)+2+t.toString().length,r=e.search(new RegExp(`${Pn}\\/\\*\\d+:${t}${Pn}`));return Zl(e.substring(n,r))}}function gp(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:or(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};rw(r,i,s),Mv(t,s,c);let l=i.values,u=[];for(let d=0;d<l.length;d++){let p=l[d],f=[];for(let g=0;g<p.length;g++){let I=p[g];if(typeof I!="string"){let m=f.push(I)-1;p[g]=`<!--\uFFFD${m}\uFFFD-->`}}let h=[];u.push(h),a=tw(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a}a&&ow(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function ew(e){let t=[],n=[],r=1,o=0;e=e.replace(fp,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=ea(e);for(let s=0;s<i.length;){let a=i[s++].trim();r===1&&(a=a.replace(/\s*(?:=)?(\w+)\s*/,"$1")),a.length&&t.push(a);let c=ea(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function ea(e){if(!e)return[];let t=0,n=[],r=[],o=/[{}]/g;o.lastIndex=0;let i;for(;i=o.exec(e);){let a=i.index;if(i[0]=="}"){if(n.pop(),n.length==0){let c=e.substring(t,a);fp.test(c)?r.push(ew(c)):r.push(c),t=a+1}}else{if(n.length==0){let c=e.substring(t,a);r.push(c),t=a+1}n.push("{")}}let s=e.substring(t);return r.push(s),r}function tw(e,t,n,r,o,i,s,a,c){let l=[],u=[],d=[];n.cases.push(s),n.create.push(l),n.remove.push(u),n.update.push(d);let f=kd(Va()).getInertBodyElement(a),h=_s(f)||f;return h?mp(e,t,n,r,o,l,u,d,h,i,c,0):0}function mp(e,t,n,r,o,i,s,a,c,l,u,d){let p=0,f=c.firstChild;for(;f;){let h=or(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,I=g.tagName.toLowerCase();if(Cs.hasOwnProperty(I)){zi(i,sp,I,l,h),t.data[h]=I;let H=g.attributes;for(let Y=0;Y<H.length;Y++){let ne=H.item(Y),Rt=ne.name.toLowerCase();!!ne.value.match(Ao)?Pd.hasOwnProperty(Rt)&&(Ua[Rt]?Kr(a,ne.value,h,ne.name,0,$a):Kr(a,ne.value,h,ne.name,0,null)):iw(i,h,ne)}let te={kind:1,index:h,children:[]};e.push(te),p=mp(te.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,Yl(s,h,d)}break;case Node.TEXT_NODE:let m=f.textContent||"",_=m.match(Ao);zi(i,null,_?"":m,l,h),Yl(s,h,d),_&&(p=Kr(a,m,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let q=GE.exec(f.textContent||"");if(q){let H=parseInt(q[1],10),te=u[H];zi(i,ap,"",l,h),gp(e,t,r,o,l,te,h),nw(s,h,d)}break}f=f.nextSibling}return p}function Yl(e,t,n){n===0&&e.push(t)}function nw(e,t,n){n===0&&(e.push(~t),e.push(t))}function rw(e,t,n){e.push(hp(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function ow(e,t,n){e.push(t,1,n<<2|3)}function zi(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,Nv(0,r,o))}function iw(e,t,n){e.push(t<<1|1,n.name,n.value)}var Jl=0,sw=/\[(�.+?�?)\]/,aw=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,cw=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,lw=/{([A-Z0-9_]+)}/g,uw=/�I18N_EXP_(ICU(_\d+)?)�/g,dw=/\/\*/,fw=/\d+\:(\d+)/;function pw(e,t={}){let n=e;if(sw.test(e)){let r={},o=[Jl];n=n.replace(aw,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let I=g.match(fw),m=I?parseInt(I[1],10):Jl,_=dw.test(g);l.push([m,_,g])}),r[c]=l),!l.length)throw new Error(`i18n postprocess: unmatched placeholder - ${c}`);let u=o[o.length-1],d=0;for(let g=0;g<l.length;g++)if(l[g][0]===u){d=g;break}let[p,f,h]=l[d];return f?o.pop():u!==p&&o.push(p),l.splice(d,1),h})}return Object.keys(t).length&&(n=n.replace(cw,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace(lw,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(uw,(r,o)=>{if(t.hasOwnProperty(o)){let i=t[o];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${o}`);return i.shift()}return r})),n}function hw(e,t,n=-1){let r=R(),o=y(),i=P+e,s=Pe(r.consts,t),a=jn();if(r.firstCreatePass&&JE(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[le];p[E]|=32}else o[E]|=32;let c=r.data[i],l=a===o[oe]?null:a,u=rf(r,l,o),d=a&&a.type&8?o[a.index]:null;Rv(o,i,a,n),UE(o,c.create,u,d),qu(!0)}function gw(){qu(!1)}function IS(e,t,n){hw(e,t,n),gw()}function mw(e){let t=y();return HE(ue(t,nt(),e)),mw}function ES(e){BE(R(),y(),e+P)}function wS(e,t={}){return pw(e,t)}var yw=(e,t,n)=>{};function vw(e,t,n,r){let o=y(),i=R(),s=z();return yp(i,o,o[k],s,e,t,r),vw}function Iw(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[so],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function yp(e,t,n,r,o,i,s){let a=Uo(r),l=e.firstCreatePass&&Vu(e),u=t[X],d=Fu(t),p=!0;if(r.type&3||s){let g=ye(r,t),I=s?s(g):g,m=d.length,_=s?H=>s(me(H[r.index])):r.index,q=null;if(!s&&a&&(q=Iw(e,t,o,r.index)),q!==null){let H=q.__ngLastListenerFn__||q;H.__ngNextListenerFn__=i,q.__ngLastListenerFn__=i,p=!1}else{i=Xl(r,t,u,i),yw(g,o,i);let H=n.listen(I,o,i);d.push(i,H),l&&l.push(o,_,m,m+1)}}else i=Xl(r,t,u,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let I=0;I<g;I+=2){let m=h[I],_=h[I+1],te=t[m][_].subscribe(i),Y=d.length;d.push(i,te),l&&l.push(o,r.index,Y,-(Y+1))}}}function Kl(e,t,n,r){let o=M(null);try{return he(6,t,n),n(r)!==!1}catch(i){return ii(e,i),!1}finally{he(7,t,n),M(o)}}function Xl(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?tt(e.index,t):t;li(s,5);let a=Kl(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Kl(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function DS(e=1){return Ag(e)}function Ew(e,t){let n=null,r=gy(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?jd(e,i,!0):vy(r,i))return o}return n}function bS(e){let t=y()[le][oe];if(!t.projection){let n=e?e.length:1,r=t.projection=Kh(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?Ew(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function MS(e,t=0,n,r,o,i){let s=y(),a=R(),c=r?e+1:null;c!==null&&qn(s,a,c,r,o,i,null,n);let l=Ot(a,P+e,16,null,n||null);l.projection===null&&(l.projection=t),xa();let d=!s[Kt]||Hu();s[le][oe].projection[l.projection]===null&&c!==null?ww(s,a,c):d&&(l.flags&32)!==32&&ev(a,s,l)}function ww(e,t,n){let r=P+n,o=t.data[r],i=e[r],s=tn(i,o.tView.ssrId),a=pn(e,o,void 0,{dehydratedView:s});hn(i,a,0,Ct(o,s))}function Dw(e,t,n){return vp(e,"",t,"",n),Dw}function vp(e,t,n,r,o){let i=y(),s=Bf(i,t,n,r);if(s!==Q){let a=R(),c=St();fn(a,c,i,e,s,i[k],o,!1)}return vp}function bw(e,t,n,r,o,i,s){let a=y(),c=$f(a,t,n,r,o,i);if(c!==Q){let l=R(),u=St();fn(l,u,a,e,c,a[k],s,!1)}return bw}function Mw(e,t,n,r,o,i,s,a,c){let l=y(),u=Uf(l,t,n,r,o,i,s,a);if(u!==Q){let d=R(),p=St();fn(d,p,l,e,u,l[k],c,!1)}return Mw}function CS(e,t,n,r){Nf(e,t,n,r)}function TS(e){let t=y(),n=R(),r=Sa();Qo(r+1);let o=ac(n,r);if(e.dirty&&Ig(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=kf(t,r);e.reset(i,pd),e.notifyOnChanges()}return!0}return!1}function _S(){return sc(y(),Sa())}function xS(e,t,n,r,o){Of(t,Nf(e,n,r,o))}function NS(e,t,n,r){Of(e,tI(t,n,r))}function SS(e=1){Qo(Sa()+e)}function uc(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function kS(e){let t=$u();return Wo(t,P+e)}function OS(e,t=""){let n=y(),r=R(),o=e+P,i=r.firstCreatePass?Ot(r,o,1,t,null):r.data[o],s=Cw(r,n,i,t,e);n[o]=s,Xn()&&ai(r,n,s,i),be(i,!1)}var Cw=(e,t,n,r,o)=>(er(!0),$d(t[k],r));function Tw(e){return Ip("",e,""),Tw}function Ip(e,t,n){let r=y(),o=Bf(r,e,t,n);return o!==Q&&dc(r,Me(),o),Ip}function _w(e,t,n,r,o){let i=y(),s=$f(i,e,t,n,r,o);return s!==Q&&dc(i,Me(),s),_w}function xw(e,t,n,r,o,i,s){let a=y(),c=Uf(a,e,t,n,r,o,i,s);return c!==Q&&dc(a,Me(),c),xw}function dc(e,t,n){let r=qo(t,e);Ud(e[k],r,n)}function Nw(e,t,n){gd(t)&&(t=t());let r=y(),o=nt();if(ue(r,o,t)){let i=R(),s=St();fn(i,s,r,e,t,r[k],n,!1)}return Nw}function RS(e,t){let n=gd(e);return n&&e.set(t),n}function Sw(e,t){let n=y(),r=R(),o=z();return yp(r,n,n[k],o,e,t),Sw}var Ep={};function kw(e){let t=R(),n=y(),r=e+P,o=Ot(t,r,128,null,null);return be(o,!1),uc(t,n,r,Ep),kw}function AS(e){Ce("NgLet");let t=R(),n=y(),r=Me();return uc(t,n,r,e),e}function PS(e){let t=$u(),n=Wo(t,P+e);if(n===Ep)throw new C(314,!1);return n}function Ow(e,t,n){let r=R();if(r.firstCreatePass){let o=Je(e);ta(n,r.data,r.blueprint,o,!0),ta(t,r.data,r.blueprint,o,!1)}}function ta(e,t,n,r,o){if(e=re(e),Array.isArray(e))for(let i=0;i<e.length;i++)ta(e[i],t,n,r,o);else{let i=R(),s=y(),a=z(),c=Jt(e)?e:re(e.provide),l=Cu(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Jt(e)||!e.multi){let f=new wt(l,o,ni),h=Zi(c,t,o?u:u+p,d);h===-1?(us(ho(a,s),i,c),Qi(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[h]=f,s[h]=f)}else{let f=Zi(c,t,u+p,d),h=Zi(c,t,u,u+p),g=f>=0&&n[f],I=h>=0&&n[h];if(o&&!I||!o&&!g){us(ho(a,s),i,c);let m=Pw(o?Aw:Rw,n.length,o,r,l);!o&&I&&(n[h].providerFactory=m),Qi(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(m),s.push(m)}else{let m=wp(n[o?h:f],l,!o&&r);Qi(i,e,f>-1?f:h,m)}!o&&r&&I&&n[h].componentProviders++}}}function Qi(e,t,n,r){let o=Jt(t),i=ag(t);if(o||i){let c=(i?re(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function wp(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Zi(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function Rw(e,t,n,r){return na(this.multi,[])}function Aw(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Dt(n,n[v],this.providerFactory.index,r);i=a.slice(0,s),na(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],na(o,i);return i}function na(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function Pw(e,t,n,r,o){let i=new wt(e,n,ni);return i.multi=[],i.index=t,i.componentProviders=0,wp(i,o,r&&!n),i}function LS(e,t=[]){return n=>{n.providersResolver=(r,o)=>Ow(r,o?o(e):e,t)}}function FS(e,t,n){let r=cn()+e,o=y();return o[r]===Q?fi(o,r,n?t.call(n):t()):DI(o,r)}function VS(e,t,n,r){return Dp(y(),cn(),e,t,n,r)}function jS(e,t,n,r,o){return bp(y(),cn(),e,t,n,r,o)}function HS(e,t,n,r,o,i,s){return Lw(y(),cn(),e,t,n,r,o,i,s)}function fc(e,t){let n=e[t];return n===Q?void 0:n}function Dp(e,t,n,r,o,i){let s=t+n;return ue(e,s,o)?fi(e,s+1,i?r.call(i,o):r(o)):fc(e,s+1)}function bp(e,t,n,r,o,i,s){let a=t+n;return Un(e,a,o,i)?fi(e,a+2,s?r.call(s,o,i):r(o,i)):fc(e,a+2)}function Lw(e,t,n,r,o,i,s,a,c){let l=t+n;return MI(e,l,o,i,s,a)?fi(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):fc(e,l+4)}function BS(e,t){let n=R(),r,o=e+P;n.firstCreatePass?(r=Fw(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=gt(r.type,!0)),s,a=ae(ni);try{let c=po(!1),l=i();return po(c),uc(n,y(),o,l),l}finally{ae(a)}}function Fw(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function $S(e,t,n){let r=e+P,o=y(),i=Wo(o,r);return Mp(o,r)?Dp(o,cn(),t,i.transform,n,i):i.transform(n)}function US(e,t,n,r){let o=e+P,i=y(),s=Wo(i,o);return Mp(i,o)?bp(i,cn(),t,s.transform,n,r,s):s.transform(n,r)}function Mp(e,t){return e[v].data[t].pure}function qS(e,t){return ui(e,t)}var eu=class{full;major;minor;patch;constructor(t){this.full=t;let n=t.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}};var ra=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},WS=(()=>{class e{compileModuleSync(n){return new qs(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=wu(n),i=Fd(o.declarations).reduce((s,a)=>{let c=_e(a);return c&&s.push(new _t(c)),s},[]);return new ra(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Vw=(()=>{class e{zone=x(ge);changeDetectionScheduler=x(Xe);applicationRef=x(Wn);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function jw({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ge(se(ie({},Hw()),{scheduleInRootZone:n})),[{provide:ge,useFactory:e},{provide:oo,multi:!0,useFactory:()=>{let r=x(Vw,{optional:!0});return()=>r.initialize()}},{provide:oo,multi:!0,useFactory:()=>{let r=x(Bw);return()=>{r.initialize()}}},t===!0?{provide:ud,useValue:!0}:[],{provide:Pa,useValue:n??ld}]}function Hw(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var Bw=(()=>{class e{subscription=new V;initialized=!1;zone=x(ge);pendingTasks=x(kt);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(()=>{ge.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ge.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Cp=(()=>{class e{appRef=x(Wn);taskService=x(kt);ngZone=x(ge);zonelessEnabled=x(Aa);tracing=x(Cd,{optional:!0});disableScheduling=x(ud,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new V;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(mo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(x(Pa,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof yo||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;let r=!1;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,r=!0;break}case 13:{this.appRef.dirtyFlags|=16,r=!0;break}case 14:{this.appRef.dirtyFlags|=2,r=!0;break}case 12:{r=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(r))return;let o=this.useMicrotaskScheduler?hl:dd;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>o(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>o(()=>this.tick()))}shouldScheduleTick(n){return!(this.disableScheduling&&!n||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(mo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,hl(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=U({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function GS(){return Ce("NgZoneless"),ng([{provide:Xe,useExisting:Cp},{provide:ge,useClass:yo},{provide:Aa,useValue:!0},{provide:Pa,useValue:!1},[]])}function $w(){return typeof $localize<"u"&&$localize.locale||Ro}var Tp=new O("",{providedIn:"root",factory:()=>x(Tp,N.Optional|N.SkipSelf)||$w()}),zS=new O("",{providedIn:"root",factory:()=>FE});var oa=new O(""),Uw=new O("");function _n(e){return!e.moduleRef}function qw(e){let t=_n(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ge);return n.run(()=>{_n(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(bt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),_n(e)){let i=()=>t.destroy(),s=e.platformInjector.get(oa);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(oa);s.add(i),e.moduleRef.onDestroy(()=>{Yr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return qI(r,n,()=>{let i=t.get(jf);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Tp,Ro);if(VE(s||Ro),!t.get(Uw,!0))return _n(e)?t.get(Wn):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(_n(e)){let c=t.get(Wn);return e.rootComponent!==void 0&&c.bootstrap(e.rootComponent),c}else return Ww(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function Ww(e,t){let n=e.injector.get(Wn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new C(-403,!1);t.push(e)}var Xr=null;function Gw(e=[],t){return Ke.create({name:t,providers:[{provide:Mu,useValue:"platform"},{provide:oa,useValue:new Set([()=>Xr=null])},...e]})}function zw(e=[]){if(Xr)return Xr;let t=Gw(e);return Xr=t,BI(),Qw(t),t}function Qw(e){let t=e.get(mm,null);Tu(e,()=>{t?.forEach(n=>n())})}var Zw=(()=>{class e{static __NG_ELEMENT_ID__=Yw}return e})();function Yw(e){return Jw(z(),y(),(e&16)===16)}function Jw(e,t,n){if($o(e)&&!n){let r=tt(e.index,t);return new Tt(r,r)}else if(e.type&175){let r=t[le];return new Tt(r,t)}return null}var ia=class{constructor(){}supports(t){return Ff(t)}create(t){return new sa(t)}},Kw=(e,t)=>t,sa=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||Kw}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<tu(r,o,i)?n:r,a=tu(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,h=f+p;u<=h&&h<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t==null&&(t=[]),!Ff(t))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,wI(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new aa(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new Po),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Po),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},aa=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}},ca=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},Po=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new ca,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function tu(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var la=class{constructor(){}supports(t){return t instanceof Map||lc(t)}create(){return new ua}},ua=class{_records=new Map;_mapHead=null;_appendAfter=null;_previousMapHead=null;_changesHead=null;_changesTail=null;_additionsHead=null;_additionsTail=null;_removalsHead=null;_removalsTail=null;get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let n;for(n=this._mapHead;n!==null;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;n!==null;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;n!==null;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||lc(t)))throw new C(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new da(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}},da=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function nu(){return new Xw([new ia])}var Xw=(()=>{class e{factories;static \u0275prov=U({token:e,providedIn:"root",factory:nu});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||nu()),deps:[[e,new yu,new mu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new C(901,!1)}}return e})();function ru(){return new eD([new la])}var eD=(()=>{class e{static \u0275prov=U({token:e,providedIn:"root",factory:ru});factories;constructor(n){this.factories=n}static create(n,r){if(r){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||ru()),deps:[[e,new yu,new mu]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new C(901,!1)}}return e})();function QS(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=zw(r),i=[jw({}),{provide:Xe,useExisting:Cp},...n||[]],s=new xo({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return qw({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function ZS(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function YS(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function Sn(e,t){Ce("NgSignals");let n=Oi(e);return t?.equal&&(n[G].equal=t.equal),n}var tD=e=>e;function nD(e){let n=()=>{if(Ht(e),jt(e),e.value===eo)throw e.error;return e.value};return n[G]=e,n.set=r=>{Ht(e),Ut(e,r),Mn(e)},n.update=r=>{Ht(e),Ri(e,r),Mn(e)},n.asReadonly=Jo.bind(n),n}function rD(e,t){Ce("NgSignals");let n=typeof e=="function",r=Object.create(oD);r.source=n?e:e.source,n||(r.computation=e.computation);let o=n?t?.equal:e.equal;return o&&(r.equal=o),nD(r)}var Ur=Symbol("UNSET"),Yi=Symbol("COMPUTING"),eo=Symbol("ERRORED"),oD=se(ie({},qe),{value:Ur,dirty:!0,error:null,equal:Ar,computation:tD,producerMustRecompute(e){return e.value===Ur||e.value===Yi},producerRecomputeValue(e){if(e.value===Yi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=Yi;let n=ut(e),r;try{let o=e.source(),i=t===Ur||t===eo?void 0:{source:e.sourceValue,value:t};r=e.computation(o,i),e.sourceValue=o}catch(o){r=eo,e.error=o}finally{Bt(e,n)}if(t!==Ur&&r!==eo&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function ft(e){let t=M(null);try{return e()}finally{M(t)}}var _p=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=iD}return e})();function iD(){return new _p(y(),z())}var sD=!1,aD=(()=>{class e extends No{pendingTasks=x(kt);taskId=null;schedule(n){super.schedule(n),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}static \u0275prov=U({token:e,providedIn:"root",factory:()=>new e})}return e})(),fa=class{scheduler;effectFn;zone;injector;unregisterOnDestroy;watcher;constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.zone=r,this.injector=i,this.watcher=tl(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(bt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function cD(){}function lD(e,t){Ce("NgSignals"),!t?.injector&&Da(cD);let n=t?.injector??x(Ke),r=t?.manualCleanup!==!0?n.get(ln):null,o=new fa(n.get(aD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Zw,null,{optional:!0});return!i||!(i._lView[E]&8)?o.watcher.notify():(i._lView[Wr]??=[]).push(o.watcher.notify),o}var uD=sD;var pa=class{[G];constructor(t){this[G]=t}destroy(){this[G].destroy()}};function xp(e,t){if(uD)return lD(e,t);Ce("NgSignals"),!t?.injector&&Da(xp);let n=t?.injector??x(Ke),r=t?.manualCleanup!==!0?n.get(ln):null,o,i=n.get(_p,null,{optional:!0}),s=n.get(Xe);return i!==null&&!t?.forceRoot?(o=pD(i.view,s,e),r instanceof go&&r._lView===i.view&&(r=null)):o=hD(e,n.get(Hf),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new pa(o)}var Np=se(ie({},qe),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:Hn,run(){if(this.dirty=!1,this.hasRun&&!Tn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=ut(this),n=lo(!1);try{this.maybeCleanup(),this.fn(e)}finally{lo(n),Bt(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),dD=se(ie({},Np),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){$t(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),fD=se(ie({},Np),{consumerMarkedDirty(){this.view[E]|=8192,Kn(this.view),this.notifier.notify(14)},destroy(){$t(this),this.onDestroyFn(),this.maybeCleanup(),this.view[yt]?.delete(this)}});function pD(e,t,n){let r=Object.create(fD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[yt]??=new Set,e[yt].add(r),r.consumerMarkedDirty(r),r}function hD(e,t,n){let r=Object.create(dD);return r.fn=e,r.scheduler=t,r.notifier=n,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.schedule(r),r.notifier.notify(13),r}var F=function(e){return e[e.Idle=0]="Idle",e[e.Error=1]="Error",e[e.Loading=2]="Loading",e[e.Reloading=3]="Reloading",e[e.Resolved=4]="Resolved",e[e.Local=5]="Local",e}(F||{});function gD(e){e?.injector||Da(gD);let t=e.request??(()=>null);return new ga(t,e.loader,void 0,e.equal?mD(e.equal):void 0,e.injector??x(Ke))}var ha=class{value;constructor(t){this.value=t,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=Jo}update(t){this.set(t(ft(this.value)))}isLoading=Sn(()=>this.status()===F.Loading||this.status()===F.Reloading);hasValue(){return this.value()!==void 0}asReadonly(){return this}},ga=class extends ha{loaderFn;defaultValue;equal;state;extendedRequest;pendingTasks;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;constructor(t,n,r,o,i){super(Sn(()=>this.state().value,{equal:o})),this.loaderFn=n,this.defaultValue=r,this.equal=o,this.pendingTasks=i.get(em),this.extendedRequest=Sn(()=>({request:t(),reload:hd(0)})),this.state=rD({source:()=>{let{request:s,reload:a}=this.extendedRequest();return s===void 0||this.destroyed?F.Idle:a()===0?F.Loading:F.Reloading},computation:(s,a)=>({status:s,previousStatus:a?.value.status??F.Idle,value:a&&s===F.Reloading?a.value.value:this.defaultValue,error:void 0})}),this.effectRef=xp(this.loadEffect.bind(this),{injector:i,manualCleanup:!0}),i.get(ln).onDestroy(()=>this.destroy())}status=Sn(()=>this.state().status);error=Sn(()=>this.state().error);set(t){if(this.destroyed)return;let n=ft(this.state);(this.equal?this.equal(n.value,t):n.value===t)||(this.state.set({status:F.Local,previousStatus:F.Local,value:t,error:void 0}),this.abortInProgressLoad())}reload(){let t=ft(this.status);return t===F.Idle||t===F.Loading||t===F.Reloading?!1:(ft(this.extendedRequest).reload.update(n=>n+1),!0)}destroy(){this.destroyed=!0,this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({status:F.Idle,previousStatus:F.Idle,value:this.defaultValue,error:void 0})}async loadEffect(){let{status:t}=ft(this.state),{request:n,reload:r}=this.extendedRequest();if(r(),n===void 0)return;if(t!==F.Loading&&t!==F.Reloading)return;this.abortInProgressLoad();let o=this.resolvePendingTask=this.pendingTasks.add(),{signal:i}=this.pendingController=new AbortController;try{let s=await ft(()=>this.loaderFn({abortSignal:i,request:n,previous:{status:t}}));if(i.aborted)return;this.state.set({status:F.Resolved,previousStatus:F.Resolved,value:s,error:void 0})}catch(s){if(i.aborted)return;this.state.set({status:F.Error,previousStatus:F.Error,value:this.defaultValue,error:s})}finally{o(),this.pendingController=void 0}}abortInProgressLoad(){ft(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function mD(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function JS(e,t){let n=_e(e),r=t.elementInjector||Ho();return new _t(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function KS(e){let t=_e(e);if(!t)return null;let n=new _t(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}export{V as a,W as b,kp as c,S as d,Mi as e,Ci as f,pe as g,In as h,En as i,at as j,$e as k,qp as l,Gp as m,zp as n,lt as o,Zp as p,Ue as q,oh as r,ct as s,bi as t,_r as u,sh as v,ah as w,wn as x,lh as y,Di as z,uh as A,Wp as B,Dn as C,Tr as D,dh as E,Rc as F,hh as G,Ti as H,gh as I,mh as J,yh as K,vh as L,Lc as M,Fc as N,Ih as O,Uc as P,C as Q,de as R,cu as S,U as T,CN as U,TN as V,O as W,N as X,Ye as Y,x as Z,ng as _,Mu as $,Oe as aa,Tu as ba,Da as ca,_N as da,xN as ea,NN as fa,SN as ga,kN as ha,ON as ia,Ke as ja,ln as ka,kt as la,ze as ma,ge as na,bt as oa,vo as pa,RN as qa,AN as ra,Yo as sa,Ce as ta,um as ua,hd as va,PN as wa,LN as xa,mm as ya,FN as za,VN as Aa,ym as Ba,jN as Ca,Cd as Da,Bn as Ea,dn as Fa,Ba as Ga,HN as Ha,BN as Ia,$N as Ja,UN as Ka,qN as La,$a as Ma,ty as Na,ti as Oa,WN as Pa,ry as Qa,GN as Ra,zN as Sa,ni as Ta,Ns as Ua,wo as Va,bo as Wa,YN as Xa,ic as Ya,KN as Za,XN as _a,eS as $a,xt as ab,Us as bb,tS as cb,Af as db,nS as eb,rS as fb,oS as gb,iS as hb,gI as ib,sS as jb,_I as kb,aS as lb,Vf as mb,VI as nb,HI as ob,Wn as pb,cS as qb,lS as rb,YI as sb,lE as tb,uE as ub,dE as vb,uS as wb,dS as xb,fS as yb,pS as zb,hS as Ab,gS as Bb,tp as Cb,np as Db,TE as Eb,rp as Fb,op as Gb,NE as Hb,mS as Ib,yS as Jb,ip as Kb,vS as Lb,RE as Mb,zn as Nb,hw as Ob,gw as Pb,IS as Qb,mw as Rb,ES as Sb,wS as Tb,vw as Ub,DS as Vb,bS as Wb,MS as Xb,Dw as Yb,vp as Zb,bw as _b,Mw as $b,CS as ac,TS as bc,_S as cc,xS as dc,NS as ec,SS as fc,kS as gc,OS as hc,Tw as ic,Ip as jc,_w as kc,xw as lc,Nw as mc,RS as nc,Sw as oc,kw as pc,AS as qc,PS as rc,LS as sc,FS as tc,VS as uc,jS as vc,HS as wc,BS as xc,$S as yc,US as zc,qS as Ac,eu as Bc,WS as Cc,GS as Dc,Tp as Ec,zS as Fc,Zw as Gc,Xw as Hc,eD as Ic,QS as Jc,ZS as Kc,YS as Lc,Sn as Mc,ft as Nc,xp as Oc,gD as Pc,JS as Qc,KS as Rc};
package/chunk-R7TYMWSG.js DELETED
@@ -1 +0,0 @@
1
- import{f as a,g as b,h as c}from"./chunk-4U7FEVBB.js";import"./chunk-KYQC46J2.js";import"./chunk-CAGBL2MP.js";import"./chunk-DNHLTHLR.js";import"./chunk-6CRYB4HA.js";import"./chunk-22GS6UCG.js";import"./chunk-Z5NZYMJN.js";import"./chunk-UJWW7PS7.js";import"./chunk-KJ4O6F3R.js";import"./chunk-ETEYALHD.js";import"./chunk-TS4YY2WO.js";import"./chunk-NQVULKI2.js";import"./chunk-6LUM2XU4.js";import"./chunk-3WKDD2IN.js";import"./chunk-Q3JJWGXW.js";import"./chunk-C6Q5SG76.js";export{b as NONE_OPTION,a as createGeneralForm,c as default};
package/chunk-TS4YY2WO.js DELETED
@@ -1 +0,0 @@
1
- import{Ca as j,Ga as le,X as ae,a as H,b as se,c as ie,e as p,za as ce}from"./chunk-3WKDD2IN.js";import{$ as G,Aa as k,Da as W,Ea as M,Fa as y,Ga as E,Ha as q,Ia as X,Ja as J,Jc as oe,Ka as Q,La as ee,Ma as te,Na as ne,Oa as h,Q as g,T as f,Ua as T,W as L,Wa as re,Y as c,na as S,oa as N,wa as Y,xa as P,ya as K,za as w}from"./chunk-Q3JJWGXW.js";import{a as I,b as z}from"./chunk-C6Q5SG76.js";var U=class extends ie{supportsDOMEvents=!0},B=class r extends U{static makeCurrent(){se(new r)}onAndCancel(n,e,t,o){return n.addEventListener(e,t,o),()=>{n.removeEventListener(e,t,o)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=Se();return e==null?null:we(e)}resetBaseElement(){D=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ae(document.cookie,n)}},D=null;function Se(){return D=D||document.querySelector("base"),D?D.getAttribute("href"):null}function we(r){return new URL(r,document.baseURI).pathname}var Me=(()=>{class r{build(){return new XMLHttpRequest}static \u0275fac=function(t){return new(t||r)};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})(),F=new L(""),me=(()=>{class r{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(o=>{o.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,o,s){return this._findPluginFor(t).addEventListener(e,t,o,s)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(s=>s.supports(e)),!t)throw new g(5101,!1);return this._eventNameToPlugin.set(e,t),t}static \u0275fac=function(t){return new(t||r)(c(F),c(S))};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})(),A=class{_doc;constructor(n){this._doc=n}manager},b="ng-app-id";function de(r){for(let n of r)n.remove()}function ue(r,n){let e=n.createElement("style");return e.textContent=r,e}function Te(r,n,e,t){let o=r.head?.querySelectorAll(`style[${b}="${n}"],link[${b}="${n}"]`);if(o)for(let s of o)s.removeAttribute(b),s instanceof HTMLLinkElement?t.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&e.set(s.textContent,{usage:0,elements:[s]})}function V(r,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",r),e}var ve=(()=>{class r{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,t,o,s={}){this.doc=e,this.appId=t,this.nonce=o,this.isServer=j(s),Te(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let o of e)this.addUsage(o,this.inline,ue);t?.forEach(o=>this.addUsage(o,this.external,V))}removeStyles(e,t){for(let o of e)this.removeUsage(o,this.inline);t?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,t,o){let s=t.get(e);s?s.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(i=>this.addElement(i,o(e,this.doc)))})}removeUsage(e,t){let o=t.get(e);o&&(o.usage--,o.usage<=0&&(de(o.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])de(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:o}]of this.inline)o.push(this.addElement(e,ue(t,this.doc)));for(let[t,{elements:o}]of this.external)o.push(this.addElement(e,V(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),this.isServer&&t.setAttribute(b,this.appId),e.appendChild(t)}static \u0275fac=function(t){return new(t||r)(c(p),c(P),c(k,8),c(w))};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})(),x={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Z=/%COMP%/g,ge="%COMP%",De=`_nghost-${ge}`,Ce=`_ngcontent-${ge}`,Re=!0,be=new L("",{providedIn:"root",factory:()=>Re});function Ae(r){return Ce.replace(Z,r)}function _e(r){return De.replace(Z,r)}function ye(r,n){return n.map(e=>e.replace(Z,r))}var fe=(()=>{class r{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,t,o,s,i,a,l,d=null,u=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=i,this.platformId=a,this.ngZone=l,this.nonce=d,this.tracingService=u,this.platformIsServer=j(a),this.defaultRenderer=new C(e,i,l,this.platformIsServer,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===M.ShadowDom&&(t=z(I({},t),{encapsulation:M.Emulated}));let o=this.getOrCreateRenderer(e,t);return o instanceof _?o.applyToHost(e):o instanceof R&&o.applyStyles(),o}getOrCreateRenderer(e,t){let o=this.rendererByCompId,s=o.get(t.id);if(!s){let i=this.doc,a=this.ngZone,l=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,m=this.platformIsServer;switch(t.encapsulation){case M.Emulated:s=new _(l,d,t,this.appId,u,i,a,m,this.tracingService);break;case M.ShadowDom:return new $(l,d,e,t,i,a,this.nonce,m,this.tracingService);default:s=new R(l,d,t,u,i,a,m,this.tracingService);break}o.set(t.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(t){return new(t||r)(c(me),c(ve),c(P),c(be),c(p),c(w),c(S),c(k),c(W,8))};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})(),C=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,t,o,s){this.eventManager=n,this.doc=e,this.ngZone=t,this.platformIsServer=o,this.tracingService=s}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(x[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(pe(n)?n.content:n).appendChild(e)}insertBefore(n,e,t){n&&(pe(n)?n.content:n).insertBefore(e,t)}removeChild(n,e){e.remove()}selectRootElement(n,e){let t=typeof n=="string"?this.doc.querySelector(n):n;if(!t)throw new g(-5104,!1);return e||(t.textContent=""),t}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,t,o){if(o){e=o+":"+e;let s=x[o];s?n.setAttributeNS(s,e,t):n.setAttribute(e,t)}else n.setAttribute(e,t)}removeAttribute(n,e,t){if(t){let o=x[t];o?n.removeAttributeNS(o,e):n.removeAttribute(`${t}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,t,o){o&(T.DashCase|T.Important)?n.style.setProperty(e,t,o&T.Important?"important":""):n.style[e]=t}removeStyle(n,e,t){t&T.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,t){n!=null&&(n[e]=t)}setValue(n,e){n.nodeValue=e}listen(n,e,t,o){if(typeof n=="string"&&(n=H().getGlobalEventTarget(this.doc,n),!n))throw new Error(`Unsupported event target ${n} for event ${e}`);let s=this.decoratePreventDefault(t);return this.tracingService!==null&&this.tracingService.wrapEventListener&&(s=this.tracingService.wrapEventListener(n,e,s)),this.eventManager.addEventListener(n,e,s,o)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;(this.platformIsServer?this.ngZone.runGuarded(()=>n(e)):n(e))===!1&&e.preventDefault()}}};function pe(r){return r.tagName==="TEMPLATE"&&r.content!==void 0}var $=class extends C{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,t,o,s,i,a,l,d){super(n,s,i,l,d),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=ye(o.id,o.styles);for(let O of u){let v=document.createElement("style");a&&v.setAttribute("nonce",a),v.textContent=O,this.shadowRoot.appendChild(v)}let m=o.getExternalStyles?.();if(m)for(let O of m){let v=V(O,s);a&&v.setAttribute("nonce",a),this.shadowRoot.appendChild(v)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,t){return super.insertBefore(this.nodeOrShadowRoot(n),e,t)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},R=class extends C{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,t,o,s,i,a,l,d){super(n,s,i,a,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o,this.styles=d?ye(d,t.styles):t.styles,this.styleUrls=t.getExternalStyles?.(d)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},_=class extends R{contentAttr;hostAttr;constructor(n,e,t,o,s,i,a,l,d){let u=o+"-"+t.id;super(n,e,t,s,i,a,l,d,u),this.contentAttr=Ae(u),this.hostAttr=_e(u)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let t=super.createElement(n,e);return super.setAttribute(t,this.contentAttr,""),t}},Oe=(()=>{class r extends A{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,o,s){return e.addEventListener(t,o,s),()=>this.removeEventListener(e,t,o,s)}removeEventListener(e,t,o,s){return e.removeEventListener(t,o,s)}static \u0275fac=function(t){return new(t||r)(c(p))};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})(),he=["alt","control","meta","shift"],Ie={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Le={alt:r=>r.altKey,control:r=>r.ctrlKey,meta:r=>r.metaKey,shift:r=>r.shiftKey},Ne=(()=>{class r extends A{constructor(e){super(e)}supports(e){return r.parseEventName(e)!=null}addEventListener(e,t,o,s){let i=r.parseEventName(t),a=r.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>H().onAndCancel(e,i.domEventName,a,s))}static parseEventName(e){let t=e.toLowerCase().split("."),o=t.shift();if(t.length===0||!(o==="keydown"||o==="keyup"))return null;let s=r._normalizeKey(t.pop()),i="",a=t.indexOf("code");if(a>-1&&(t.splice(a,1),i="code."),he.forEach(d=>{let u=t.indexOf(d);u>-1&&(t.splice(u,1),i+=d+".")}),i+=s,t.length!=0||s.length===0)return null;let l={};return l.domEventName=o,l.fullKey=i,l}static matchEventFullKeyCode(e,t){let o=Ie[e.key]||e.key,s="";return t.indexOf("code.")>-1&&(o=e.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),he.forEach(i=>{if(i!==o){let a=Le[i];a(e)&&(s+=i+".")}}),s+=o,s===t)}static eventCallback(e,t,o){return s=>{r.matchEventFullKeyCode(s,e)&&o.runGuarded(()=>t(s))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(t){return new(t||r)(c(p))};static \u0275prov=f({token:r,factory:r.\u0275fac})}return r})();function St(r,n){return oe(I({rootComponent:r},Pe(n)))}function Pe(r){return{appProviders:[...Ue,...r?.providers??[]],platformProviders:xe}}function ke(){B.makeCurrent()}function He(){return new N}function je(){return Y(document),document}var xe=[{provide:w,useValue:ce},{provide:K,useValue:ke,multi:!0},{provide:p,useFactory:je,deps:[]}];var Ue=[{provide:G,useValue:"root"},{provide:N,useFactory:He,deps:[]},{provide:F,useClass:Oe,multi:!0,deps:[p,S,w]},{provide:F,useClass:Ne,multi:!0,deps:[p]},fe,ve,me,{provide:re,useExisting:fe},{provide:le,useClass:Me,deps:[]},[]];var wt=(()=>{class r{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(t){return new(t||r)(c(p))};static \u0275prov=f({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var Be=(()=>{class r{static \u0275fac=function(t){return new(t||r)};static \u0275prov=f({token:r,factory:function(t){let o=null;return t?o=new(t||r):o=c(Fe),o},providedIn:"root"})}return r})(),Fe=(()=>{class r extends Be{_doc;constructor(e){super(),this._doc=e}sanitize(e,t){if(t==null)return null;switch(e){case h.NONE:return t;case h.HTML:return E(t,"HTML")?y(t):ne(this._doc,String(t)).toString();case h.STYLE:return E(t,"Style")?y(t):t;case h.SCRIPT:if(E(t,"Script"))return y(t);throw new g(5200,!1);case h.URL:return E(t,"URL")?y(t):te(String(t));case h.RESOURCE_URL:if(E(t,"ResourceURL"))return y(t);throw new g(5201,!1);default:throw new g(5202,!1)}}bypassSecurityTrustHtml(e){return q(e)}bypassSecurityTrustStyle(e){return X(e)}bypassSecurityTrustScript(e){return J(e)}bypassSecurityTrustUrl(e){return Q(e)}bypassSecurityTrustResourceUrl(e){return ee(e)}static \u0275fac=function(t){return new(t||r)(c(p))};static \u0275prov=f({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();export{St as a,wt as b,Be as c};
package/chunk-YBPSOGY5.js DELETED
@@ -1 +0,0 @@
1
- import{a as b,b as N}from"./chunk-BATRQ3TX.js";import{b as g}from"./chunk-KJ4O6F3R.js";import{F as m,Mc as u,O as v,T as i,W as w,Z as s,g as d,l as f,va as e,z as S}from"./chunk-Q3JJWGXW.js";var r=new w("ENVIRONMENT");var a=class o{#n=s(g);#e=e("disconnected");#t=e(null);#o=e(-1);#i=e(0);#s=e(!1);#c=new d;connectionStatus=this.#e.asReadonly();serverState=this.#t.asReadonly();duration=s(b).relayIsEnabled()?s(r).defaultTimeout/1e3-5+"s":"299s";start(){this.#s.set(!0),this.#c=new d,this.#r()}stop(){this.#c.next(),this.#c.complete(),this.#s.set(!1)}reconnect(){this.stop(),this.start()}reconnectIfNeeded(){console.log("reconnectIfNeeded"),!this.#s()&&this.reconnect()}#r(){this.#e.set("connecting"),this.#n.getApiV1Serverstate({lastEventId:this.#o(),longpoll:this.#o()>0,duration:this.duration}).pipe(v(this.#c),S(t=>(this.#l(t),f(null))),m(()=>{this.#h()})).subscribe(t=>{t&&this.#a(t)})}#a(t){this.#e.set("connected"),this.#t.set(t),this.#o.set(t.LastEventID||-1),this.#i.set(0)}#l(t){let n=this.#i()+1;this.#i.set(n),n>3&&this.#e.set("disconnected")}#h(){this.#s()&&this.#r()}static \u0275fac=function(n){return new(n||o)};static \u0275prov=i({token:o,factory:o.\u0275fac,providedIn:"root"})};var l=class o{#n=s(N);#e=s(r);#t=null;#o=e("disconnected");#i=e(null);shouldConnect=e(!0);connectionStatus=this.#o.asReadonly();serverState=this.#i.asReadonly();start(){this.#s(),this.shouldConnect.set(!0)}#s(){let t=this.#n.token();if(!t){console.error("No access token available");return}let n=window.location.protocol==="https:"?"wss:":"ws:",p=window.location.port?`:${window.location.port}`:"";window.location.port==="4200"&&(p=":8200");let y=window.location.hostname,E=`${n}//${y}${p}/notifications?token=${t}`;this.#o.set("connecting"),this.#t=new WebSocket(E),this.#t.onopen=()=>{console.log("WebSocket connection established"),this.#o.set("connected")},this.#t.onmessage=c=>{try{let h=JSON.parse(c.data);this.#i.set(h)}catch(h){console.error("Error parsing WebSocket message",h)}},this.#t.onclose=c=>{console.log("WebSocket connection closed",c),this.#o.set("disconnected"),this.shouldConnect()&&setTimeout(()=>this.#s(),5e3)},this.#t.onerror=c=>{console.error("WebSocket error",c),this.#o.set("disconnected")}}stop(){this.shouldConnect.set(!1),this.#t?.close()}reconnect(){this.#t?.close(),this.start()}reconnectIfNeeded(){this.#t?.readyState!==WebSocket.OPEN&&this.reconnect()}static \u0275fac=function(n){return new(n||o)};static \u0275prov=i({token:o,factory:o.\u0275fac,providedIn:"root"})};var k=class o{#n=s(l);#e=s(a);#t=e("longpoll");connectionStatus=u(()=>this.#t()==="websocket"?this.#n.connectionStatus():this.#e.connectionStatus());serverState=u(()=>this.#t()==="websocket"?this.#n.serverState():this.#e.serverState());setConnectionMethod(t){t==="websocket"?(this.#n.reconnectIfNeeded(),this.#e.stop()):(this.#e.reconnectIfNeeded(),this.#n.stop()),this.#t.set(t)}getConnectionMethod(){return this.#t()}static \u0275fac=function(n){return new(n||o)};static \u0275prov=i({token:o,factory:o.\u0275fac,providedIn:"root"})};export{r as a,k as b};
package/main-LMBIECYV.js DELETED
@@ -1 +0,0 @@
1
- import{b as ae,c as pe}from"./chunk-ANP5WEOJ.js";import{a as H}from"./chunk-22GS6UCG.js";import{a as se}from"./chunk-VYEOCR5P.js";import{a as y}from"./chunk-4RXB65JX.js";import{a as T}from"./chunk-H7TJZPPJ.js";import{a as ne}from"./chunk-GJ6GRAEW.js";import{a as h}from"./chunk-YBPSOGY5.js";import"./chunk-6TZWRTRA.js";import{a as b,b as w}from"./chunk-BATRQ3TX.js";import{d as oe}from"./chunk-KJ4O6F3R.js";import{b as Q,c as Z,f as ee,g as te}from"./chunk-ETEYALHD.js";import{a as Y}from"./chunk-TS4YY2WO.js";import{c as re}from"./chunk-NQVULKI2.js";import{a as _,b as $,d as z,e as q,f as X}from"./chunk-6LUM2XU4.js";import{ua as K}from"./chunk-3WKDD2IN.js";import{b as ie}from"./chunk-GK7T43YY.js";import{Dc as G,Eb as D,Ec as J,F as v,L as j,N as S,Oc as B,P as W,T as R,Z as s,d as L,eb as U,g as P,ja as F,l as V,m as E,q as O,va as d,y as N,z as x}from"./chunk-Q3JJWGXW.js";import"./chunk-C6Q5SG76.js";var k=class o{#o=s(y);#s=s(b);ngOnInit(){this.#s.fetchConfig(),this.#o.clearAllNotCurrentVersion()}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=U({type:o,selectors:[["app-root"]],decls:1,vars:0,template:function(t,n){t&1&&D(0,"router-outlet")},dependencies:[Q],encapsulation:2})};var le={production:!0,baseUrl:"/api",machineServerUrl:"${WS_URL}",defaultTimeout:3e4};var A=class o{#o=s(oe);isLoaded=d(!1);webmodules=d(null);preload(e=!1){let t=this.#o.getApiV1Webmodules().pipe(W(n=>this.webmodules.set(n)),v(()=>this.isLoaded.set(!0)));if(e)return t;t.subscribe()}static \u0275fac=function(t){return new(t||o)};static \u0275prov=R({token:o,factory:o.\u0275fac,providedIn:"root"})};var Ce=()=>{let o=s(w);return o.token()?!0:o.checkProxyAuthed().pipe(S(e=>e?V(!0):o.refreshToken().pipe(O(()=>!0))))},Se=()=>{let o=s(b),e=s(T),t=s(F),n=o.relayIsEnabled()?"longpoll":"websocket",i=[t.get(H).preload(!0),t.get(H).preloadFilterGroups(!0),t.get(A).preload(!0)];return o.configLoaded===null?N(i).pipe(O(()=>n)):o.configLoaded?.pipe(S(()=>N(i)))},me=[{path:"",children:[{path:"login",canActivate:[],loadComponent:()=>import("./chunk-BH76PDAQ.js")},{path:"logout",loadComponent:()=>import("./chunk-B2WGFVBU.js")},{path:"",canActivate:[Ce],children:[{path:"",canActivate:[Se],loadComponent:()=>import("./chunk-GDAK2UGG.js"),children:[{path:"",loadComponent:()=>import("./chunk-OW3MZ4H6.js")},{path:"add-backup",loadComponent:()=>import("./chunk-O6RVMQZJ.js")},{path:"backup/:id/export",loadComponent:()=>import("./chunk-BZKHWYFG.js")},{path:"backup/import",loadComponent:()=>import("./chunk-L5ZZZJEY.js")},{path:"backup-draft/:id",loadComponent:()=>import("./chunk-WC5LGG33.js"),loadChildren:()=>import("./chunk-27WZKWHA.js")},{path:"backup/:id",loadComponent:()=>import("./chunk-WC5LGG33.js"),loadChildren:()=>import("./chunk-27WZKWHA.js")},{path:"backup/:id/log",loadComponent:()=>import("./chunk-6UCUDY7Y.js")},{path:"backup/:id/database",loadComponent:()=>import("./chunk-HSJOAC3M.js")},{path:"backup/:id/commandline",loadComponent:()=>import("./chunk-EIXQH7S4.js")},{path:"backup/:id/commandline/:runId",loadComponent:()=>import("./chunk-GUYLCNVM.js")},{path:"restore",children:[{path:"",loadComponent:()=>import("./chunk-MO2Z6B4L.js")},{path:"from-config",loadComponent:()=>import("./chunk-5KGMNBD7.js")}]},{path:"restore-from-files",loadComponent:()=>import("./chunk-RHYWPAMY.js"),loadChildren:()=>import("./chunk-JZQC7RPU.js")},{path:"restore-draft/:id",loadComponent:()=>import("./chunk-RHYWPAMY.js"),loadChildren:()=>import("./chunk-JZQC7RPU.js")},{path:"restore/:id",loadComponent:()=>import("./chunk-RHYWPAMY.js"),loadChildren:()=>import("./chunk-JZQC7RPU.js")},{path:"settings",loadComponent:()=>import("./chunk-6UENVGZZ.js")},{path:"about",loadComponent:()=>import("./chunk-C6ELLTE3.js"),children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import("./chunk-VKMKZKNR.js")},{path:"changelog",loadComponent:()=>import("./chunk-2QQJM43S.js")},{path:"libraries",loadComponent:()=>import("./chunk-VJQDP23H.js")},{path:"system-info",loadComponent:()=>import("./chunk-BY56DZ7Y.js")},{path:"logs",loadComponent:()=>import("./chunk-BEBLA2OU.js")}]}]}]}]}];var I=null,de=(o,e)=>{let t=s(w),n=s(Z),i=s(y),c=s(h),r=i.getItem("locale"),f=s(re),p=ae(r),a=o.url==="/api/v1/auth/login",m=t.token(),g=o,u=o.headers.has("custom-proxy-check")||m==="PROXY_AUTHED_FAKE_TOKEN";if(m&&o.url.startsWith(c.baseUrl)&&!u){let l=o.headers.set("Authorization",`Bearer ${m}`);r&&r!=="en-US"&&(l=l.set("X-Ui-Language",p)),g=o.clone({headers:l})}return e(g).pipe(x(l=>{if(f.error(l.message),!a&&!u&&l.status===401&&!I&&(I=t.refreshToken().pipe(j())),!a&&!u&&l.status===401)return I.pipe(S(()=>e(o.clone({headers:o.headers.set("Authorization",`Bearer ${t.token()}`)}))),x(be=>(n.navigate(["/logout"]),E(()=>be))),v(()=>I=null));let ye=`Error Code: ${l.status}, Message: ${l.message}`;return E(()=>({error:l,message:ye}))}))};var ve="1.0.0",ue="portal-proxy-client",Re=1,M=class o{#o=1e3;#s=s(h);#t=d("disconnected");#l=d(this.#o);#i=d(!1);#n=d(!1);#a=d(null);isConnectedToMachineServer=this.#n.asReadonly();wsState=this.#t.asReadonly();#p=[];#r={};#e=null;#m=new TextDecoder("utf-8");#c=null;#d=B(()=>{let e=this.#i(),t=this.#l(),n=this.#a();if(!n||!e||!t||t<this.#o){this.#c&&window.clearInterval(this.#c);return}this.#c=window.setInterval(()=>{this.connectToMachineServer(n)},t)});utf8Atob(e){let t=Uint8Array.from(atob(e),i=>i.charCodeAt(0)),n=this.#m.decode(t);return n?JSON.parse(n):null}connectToMachineServer(e,t){let n=t?.reconnect??!1,i=this.wsState();(i==="disconnected"||i==="error"||n)&&(this.#e?.close(),this.#e=null),!this.#e&&(this.#e=new WebSocket(this.#s.machineServerUrl),this.#t.set("connecting"),this.#e.onopen=()=>{this.#t.set("connect"),this.#n.set(!0),this.#i.set(!1),this.#a.set(null)},this.#e.onclose=()=>{this.#t.set("disconnected"),this.#n.set(!1),this.#a.set(e),this.#i.set(!0)},this.#e.onerror=()=>{this.#t.set("error")},this.#e.onmessage=c=>{let r=JSON.parse(c.data);if(this.wsState()==="connect"){if(r.type!=="welcome"){this.disconnectFromMachineServer(`Unexpected message type, expected 'welcome' but got '${r.type}'`);return}let p={token:e,publicKey:"",clientVersion:ve,protocolVersion:Re},a=this.createResponse(r,"authportal",p);this.#t.set("welcome"),this.#e?.send(a)}else if(this.wsState()==="welcome"){if(r.type!=="authportal"){this.disconnectFromMachineServer(`Unexpected message type, expected 'authportal' but got '${r.type}'`);return}var f=JSON.parse(r.payload??"");if(f.accepted===!1){this.disconnectFromMachineServer("Authentication failed");return}for(this.#t.set("authenticated"),this.#n.set(!0);this.#p.length>0;){let p=this.#p.pop();p&&this.#r[p.messageId]&&this.activateCommand(p)}}else if(this.wsState()==="authenticated"){if(r.type!=="command"){console.warn(`Unexpected message type, expected 'command' but got '${r.type}'`);return}let p=this.#r[r.messageId];if(p){if(r.errorMessage){p.reject(r.errorMessage);return}else{let a=JSON.parse(r.payload??"");a.body=a?.body==null?null:this.utf8Atob(a.body),p.resolve(a)}delete this.#r[r.messageId],window.clearTimeout(p.timer)}}})}disconnectFromMachineServer(e=null){e&&console.error(e),this.#e?.close(),this.#e=null,this.#t.set("disconnected"),this.#n.set(!1)}createResponse(e,t,n){let i={from:ue,to:e.from,type:t,messageId:e.messageId,payload:JSON.stringify(n)};return JSON.stringify(i)}sendCommand(e,t,n,i,c,r,f=5e3){return(this.wsState()==="disconnected"||this.wsState()==="error")&&this.connectToMachineServer(e),new Promise((p,a)=>{let m=crypto.randomUUID(),C={from:ue,to:t,type:"command",messageId:m,payload:JSON.stringify({method:n,path:i,body:c,headers:r})},u={resolve:p,reject:a,timer:window.setTimeout(()=>{let l=this.#r[m];l&&(delete this.#r[m],l.reject("Timeout"))},f)};this.#r[m]=u,this.#n()?this.activateCommand(C):this.#p.push(C)})}activateCommand(e){this.#e?.send(JSON.stringify(e))}static \u0275fac=function(t){return new(t||o)};static \u0275prov=R({token:o,factory:o.\u0275fac,providedIn:"root"})};function we(o){if(typeof o!="string")return null;let t=new TextEncoder().encode(o);return window.btoa(String.fromCharCode(...t))}function he(o,e,t){let n=o.relayconfigState.config();if(n===null)return t(e);let i=we(e.body),c={};e.headers.keys().forEach(a=>{c[a]=e.headers.get(a)??""});let r=e.headers.get("timeout"),f=r!==null?parseInt(r):o.defaultTimeout,p=o.relayWebsocket.sendCommand(n.accessToken,n.clientId,e.method,e.url,i,c,f);return new L(a=>{p.then(m=>{let g=new _;c!=null&&Object.keys(c).forEach(u=>{g.set(u,c[u])});let C=new $({body:m.body,status:m.code,statusText:"OK",headers:g});a.next(C),a.complete()})})}var fe=(o,e)=>{let t={relayconfigState:s(b),defaultTimeout:s(h).defaultTimeout,relayWebsocket:s(M)},n=t.relayconfigState.config();if(t.relayconfigState.configLoaded!==null&&n===null){let i=new P;return t.relayconfigState.configLoaded.subscribe(c=>{c&&he(t,o,e).subscribe(i)}),i}return he(t,o,e)};var ge={providers:[G(),ee(me,te()),z(X(),q([fe,de])),y,{provide:h,useValue:le},{provide:J,useValue:pe()},se,T,ie,K,ne]};Y(k,ge);