@duplicati/ngclient 0.0.49 → 0.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/{chunk-BDFM44OC.js → chunk-2CM5UOT4.js} +1 -1
  2. package/chunk-2JNOYYQN.js +1 -0
  3. package/chunk-2UNV5KQ7.js +1 -0
  4. package/chunk-3RFC4Q5V.js +6 -0
  5. package/chunk-4765QCNT.js +1 -0
  6. package/chunk-5CNGSXWF.js +1 -0
  7. package/chunk-5FSG4VRJ.js +1 -0
  8. package/{chunk-AYGRA5MA.js → chunk-6XZQG7L7.js} +1 -1
  9. package/chunk-7PE677UQ.js +1 -0
  10. package/{chunk-GH3U5NF5.js → chunk-AAWGVWT3.js} +1 -1
  11. package/chunk-B5F2IYXZ.js +1 -0
  12. package/{chunk-DFNGIWBA.js → chunk-BCTCP5YZ.js} +1 -1
  13. package/{chunk-QJZQNKYK.js → chunk-BI7LIYF6.js} +1 -1
  14. package/chunk-CKTCGJPR.js +1 -0
  15. package/chunk-DV7N4NYO.js +1 -0
  16. package/chunk-EMJLB63Y.js +1 -0
  17. package/{chunk-K5R45UNO.js → chunk-FALW4SDX.js} +1 -1
  18. package/{chunk-IBZEQWFY.js → chunk-FFD5RG7J.js} +1 -1
  19. package/{chunk-NUXXITWB.js → chunk-FH6MENLO.js} +1 -1
  20. package/chunk-FJKXE3RZ.js +1 -0
  21. package/chunk-FNBPWR4X.js +1 -0
  22. package/chunk-GGTAHZ6F.js +1 -0
  23. package/chunk-IE4GYLKI.js +1 -0
  24. package/chunk-JRYVI7GA.js +1 -0
  25. package/{chunk-ARPRGK23.js → chunk-JWC6WDAE.js} +1 -1
  26. package/chunk-LDPVZ7HY.js +1 -0
  27. package/chunk-LQL7UFPH.js +1 -0
  28. package/{chunk-JIBWXS4Q.js → chunk-MJJYBD2L.js} +1 -1
  29. package/chunk-MWCNA7Y5.js +1 -0
  30. package/chunk-N23IUXUM.js +1 -0
  31. package/chunk-NHACGZPI.js +7 -0
  32. package/chunk-O2HHDV6M.js +1 -0
  33. package/{chunk-7SHJPVM2.js → chunk-O47LGUY4.js} +1 -1
  34. package/chunk-OJUBI3TM.js +1 -0
  35. package/{chunk-BWR2LHUK.js → chunk-OXHL644M.js} +1 -1
  36. package/{chunk-ER3G3TZW.js → chunk-OYSDTWXA.js} +1 -1
  37. package/{chunk-XPH3GUDU.js → chunk-PG6H3R6N.js} +2 -2
  38. package/chunk-PJIG2CDP.js +1 -0
  39. package/{chunk-UUC5AIWR.js → chunk-PSJAIBCQ.js} +1 -1
  40. package/chunk-QTTCN7A7.js +1 -0
  41. package/chunk-QVBSCQE5.js +1 -0
  42. package/{chunk-NN3K5WJK.js → chunk-QXNJFFEM.js} +1 -1
  43. package/{chunk-BV3HBNH3.js → chunk-R6C4MOOH.js} +1 -1
  44. package/{chunk-YEWPXKXM.js → chunk-TFD4HD6F.js} +1 -1
  45. package/{chunk-5522ZDTF.js → chunk-TYEKJAUH.js} +1 -1
  46. package/chunk-U4SEXW7F.js +1 -0
  47. package/{chunk-JQGZUGRK.js → chunk-U5DDVNLJ.js} +1 -1
  48. package/{chunk-FSY6N6QG.js → chunk-UMMURHDH.js} +1 -1
  49. package/{chunk-BNGZWBKC.js → chunk-VCPYNGOK.js} +1 -1
  50. package/chunk-VJJVFTK5.js +1 -0
  51. package/chunk-VOVR4GPX.js +1 -0
  52. package/chunk-VQMEOBKY.js +3 -0
  53. package/chunk-WDHZG25P.js +1 -0
  54. package/{chunk-YF43IPBW.js → chunk-WMC5H5UV.js} +1 -1
  55. package/chunk-WVBAR46B.js +1 -0
  56. package/{chunk-65UFWL3O.js → chunk-X566VMXX.js} +1 -1
  57. package/{chunk-AC2LD55W.js → chunk-XCS7POXG.js} +1 -1
  58. package/chunk-XMM537S7.js +1 -0
  59. package/chunk-YK6SXMBM.js +1 -0
  60. package/chunk-YWZWJHRE.js +6 -0
  61. package/chunk-Z7UXXM2M.js +1 -0
  62. package/index.html +1 -1
  63. package/main-PXBN3JIX.js +1 -0
  64. package/package.json +1 -1
  65. package/chunk-3IE7QZ4D.js +0 -1
  66. package/chunk-4LNZXSGY.js +0 -1
  67. package/chunk-4WKXZKTC.js +0 -1
  68. package/chunk-7WQR24NO.js +0 -1
  69. package/chunk-AZAFLOEO.js +0 -1
  70. package/chunk-C3UW4NQE.js +0 -1
  71. package/chunk-CQKRBELO.js +0 -6
  72. package/chunk-CVLCJRED.js +0 -1
  73. package/chunk-ECTOKXR2.js +0 -1
  74. package/chunk-EFYF3ZYK.js +0 -1
  75. package/chunk-FBAABDBH.js +0 -1
  76. package/chunk-JEGJAUF7.js +0 -1
  77. package/chunk-K3OQZAY7.js +0 -1
  78. package/chunk-K4T3G5Q5.js +0 -1
  79. package/chunk-KF4RPRBP.js +0 -1
  80. package/chunk-LM6FM44S.js +0 -1
  81. package/chunk-MN2U4RJK.js +0 -1
  82. package/chunk-NDIOU4E2.js +0 -1
  83. package/chunk-NIFWUYP5.js +0 -1
  84. package/chunk-OAL3AILX.js +0 -1
  85. package/chunk-PH3BZGB3.js +0 -1
  86. package/chunk-Q4N2YSBN.js +0 -1
  87. package/chunk-RHX2BKJQ.js +0 -1
  88. package/chunk-SGDMX5AW.js +0 -1
  89. package/chunk-SGEYZII6.js +0 -1
  90. package/chunk-STY2S4SE.js +0 -1
  91. package/chunk-UYXZTHXX.js +0 -7
  92. package/chunk-V2LDKRBK.js +0 -1
  93. package/chunk-VGGIIK26.js +0 -1
  94. package/chunk-XC5IIBG3.js +0 -1
  95. package/chunk-XEK5PR4Q.js +0 -1
  96. package/chunk-ZTJNIIQ7.js +0 -1
  97. package/main-VN6Z3X2U.js +0 -1
package/chunk-UYXZTHXX.js DELETED
@@ -1,7 +0,0 @@
1
- import{a as le,b as ue}from"./chunk-C6Q5SG76.js";function D(e){return typeof e=="function"}function St(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 Jn=St(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 an(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var q=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(D(r))try{r()}catch(i){t=i instanceof Jn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{rc(i)}catch(s){t=t??[],s instanceof Jn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Jn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)rc(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)&&an(n,t)}remove(t){let{_finalizers:n}=this;n&&an(n,t),t instanceof e&&t._removeParent(this)}};q.EMPTY=(()=>{let e=new q;return e.closed=!0,e})();var Xo=q.EMPTY;function Kn(e){return e instanceof q||e&&"closed"in e&&D(e.remove)&&D(e.add)&&D(e.unsubscribe)}function rc(e){D(e)?e():e.unsubscribe()}function J(e){return e}function Ep(...e){return ei(e)}function ei(e){return e.length===0?J:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}function ti(e){return D(e?.lift)}function T(e){return t=>{if(ti(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")}}var ye={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ot={setTimeout(e,t,...n){let{delegate:r}=Ot;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Ot;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Xn(e){Ot.setTimeout(()=>{let{onUnhandledError:t}=ye;if(t)t(e);else throw e})}function cn(){}var oc=ni("C",void 0,void 0);function ic(e){return ni("E",void 0,e)}function sc(e){return ni("N",e,void 0)}function ni(e,t,n){return{kind:e,value:t,error:n}}var tt=null;function Rt(e){if(ye.useDeprecatedSynchronousErrorHandling){let t=!tt;if(t&&(tt={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=tt;if(tt=null,n)throw r}}else e()}function ac(e){ye.useDeprecatedSynchronousErrorHandling&&tt&&(tt.errorThrown=!0,tt.error=e)}var nt=class extends q{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Kn(t)&&t.add(this)):this.destination=bp}static create(t,n,r){return new Ne(t,n,r)}next(t){this.isStopped?oi(sc(t),this):this._next(t)}error(t){this.isStopped?oi(ic(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?oi(oc,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()}}},Dp=Function.prototype.bind;function ri(e,t){return Dp.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){er(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){er(r)}else er(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){er(n)}}},Ne=class extends nt{constructor(t,n,r){super();let o;if(D(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ye.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ri(t.next,i),error:t.error&&ri(t.error,i),complete:t.complete&&ri(t.complete,i)}):o=t}this.destination=new ii(o)}};function er(e){ye.useDeprecatedSynchronousErrorHandling?ac(e):Xn(e)}function wp(e){throw e}function oi(e,t){let{onStoppedNotification:n}=ye;n&&Ot.setTimeout(()=>n(e,t))}var bp={closed:!0,next:cn,error:wp,complete:cn};function _(e,t,n,r,o){return new si(e,t,n,r,o)}var si=class extends nt{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 ai(){return T((e,t)=>{let n=null;e._refCount++;let r=_(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 At=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=Mp(n)?n:new Ne(n,r,o);return Rt(()=>{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=cc(r),new r((o,i)=>{let s=new Ne({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)}[At](){return this}pipe(...n){return ei(n)(this)}toPromise(n){return n=cc(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 cc(e){var t;return(t=e??ye.Promise)!==null&&t!==void 0?t:Promise}function Cp(e){return e&&D(e.next)&&D(e.error)&&D(e.complete)}function Mp(e){return e&&e instanceof nt||Cp(e)&&Kn(e)}var ci=class extends S{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ti(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 q;let n=this.getSubject();t.add(this.source.subscribe(_(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=q.EMPTY)}return t}refCount(){return ai()(this)}};var lc=St(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var he=(()=>{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 tr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new lc}next(n){Rt(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Rt(()=>{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(){Rt(()=>{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?Xo:(this.currentObservers=null,i.push(n),new q(()=>{this.currentObservers=null,an(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 tr(t,n),e})(),tr=class extends he{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:Xo}};var ln=class extends he{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 rt=new S(e=>e.complete());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 uc(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 ot(e){return this instanceof ot?(this.v=e,this):new ot(e)}function fc(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(E,m){i.push([f,g,E,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 ot?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 pc(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 uc=="function"?uc(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 nr=e=>e&&typeof e.length=="number"&&typeof e!="function";function rr(e){return D(e?.then)}function or(e){return D(e[At])}function ir(e){return Symbol.asyncIterator&&D(e?.[Symbol.asyncIterator])}function sr(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 _p(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ar=_p();function cr(e){return D(e?.[ar])}function lr(e){return fc(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield ot(n.read());if(o)return yield ot(void 0);yield yield ot(r)}}finally{n.releaseLock()}})}function ur(e){return D(e?.getReader)}function P(e){if(e instanceof S)return e;if(e!=null){if(or(e))return xp(e);if(nr(e))return Tp(e);if(rr(e))return Np(e);if(ir(e))return hc(e);if(cr(e))return Sp(e);if(ur(e))return Op(e)}throw sr(e)}function xp(e){return new S(t=>{let n=e[At]();if(D(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Tp(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function Np(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Xn)})}function Sp(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function hc(e){return new S(t=>{Rp(e,t).catch(n=>t.error(n))})}function Op(e){return hc(lr(e))}function Rp(e,t){var n,r,o,i;return dc(this,void 0,void 0,function*(){try{for(n=pc(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 oe(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 dr(e,t=0){return T((n,r)=>{n.subscribe(_(r,o=>oe(r,e,()=>r.next(o),t),()=>oe(r,e,()=>r.complete(),t),o=>oe(r,e,()=>r.error(o),t)))})}function fr(e,t=0){return T((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function gc(e,t){return P(e).pipe(fr(t),dr(t))}function mc(e,t){return P(e).pipe(fr(t),dr(t))}function yc(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 vc(e,t){return new S(n=>{let r;return oe(n,t,()=>{r=e[ar](),oe(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>D(r?.return)&&r.return()})}function pr(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{oe(n,t,()=>{let r=e[Symbol.asyncIterator]();oe(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ic(e,t){return pr(lr(e),t)}function Ec(e,t){if(e!=null){if(or(e))return gc(e,t);if(nr(e))return yc(e,t);if(rr(e))return mc(e,t);if(ir(e))return pr(e,t);if(cr(e))return vc(e,t);if(ur(e))return Ic(e,t)}throw sr(e)}function Be(e,t){return t?Ec(e,t):P(e)}function Dc(e){return e&&D(e.schedule)}function wc(e){return e[e.length-1]}function kt(e){return D(wc(e))?e.pop():void 0}function Ue(e){return Dc(wc(e))?e.pop():void 0}function Ap(...e){let t=Ue(e);return Be(e,t)}function kp(e,t){let n=D(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function Pp(e){return!!e&&(e instanceof S||D(e.lift)&&D(e.subscribe))}var it=St(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function be(e,t){return T((n,r)=>{let o=0;n.subscribe(_(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:Lp}=Array,{getPrototypeOf:Fp,prototype:jp,keys:Vp}=Object;function hr(e){if(e.length===1){let t=e[0];if(Lp(t))return{args:t,keys:null};if(Hp(t)){let n=Vp(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function Hp(e){return e&&typeof e=="object"&&Fp(e)===jp}var{isArray:$p}=Array;function Bp(e,t){return $p(t)?e(...t):e(t)}function gr(e){return be(t=>Bp(e,t))}function mr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Up(...e){let t=Ue(e),n=kt(e),{args:r,keys:o}=hr(e);if(r.length===0)return Be([],t);let i=new S(qp(r,t,o?s=>mr(o,s):J));return n?i.pipe(gr(n)):i}function qp(e,t,n=J){return r=>{bc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)bc(t,()=>{let l=Be(e[c],t),u=!1;l.subscribe(_(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function bc(e,t,n){e?oe(n,e,t):t()}function Cc(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 E=!1;P(n(g,u++)).subscribe(_(t,m=>{o?.(m),i?f(m):t.next(m)},()=>{E=!0},void 0,()=>{if(E)try{for(l--;c.length&&l<r;){let m=c.shift();s?oe(t,s,()=>h(m)):h(m)}p()}catch(m){t.error(m)}}))};return e.subscribe(_(t,f,()=>{d=!0,p()})),()=>{a?.()}}function st(e,t,n=1/0){return D(t)?st((r,o)=>be((i,s)=>t(r,i,o,s))(P(e(r,o))),n):(typeof t=="number"&&(n=t),T((r,o)=>Cc(r,o,e,n)))}function li(e=1/0){return st(J,e)}function Mc(){return li(1)}function yr(...e){return Mc()(Be(e,Ue(e)))}function Wp(e){return new S(t=>{P(e()).subscribe(t)})}function un(e,t){return T((n,r)=>{let o=0;n.subscribe(_(r,i=>e.call(t,i,o++)&&r.next(i)))})}function ui(e){return T((t,n)=>{let r=null,o=!1,i;r=t.subscribe(_(n,void 0,void 0,s=>{i=P(e(s,ui(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function zp(e,t){return D(t)?st(e,t,1):st(e,1)}function dn(e){return T((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function vr(e){return e<=0?()=>rt:T((t,n)=>{let r=0;t.subscribe(_(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Gp(e){return be(()=>e)}function _c(e){return T((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function Ir(e=Qp){return T((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Qp(){return new it}function Zp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?un((o,i)=>e(o,i,r)):J,vr(1),n?dn(t):Ir(()=>new it))}function di(e){return e<=0?()=>rt:T((t,n)=>{let r=[];t.subscribe(_(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 Yp(e,t){let n=arguments.length>=2;return r=>r.pipe(e?un((o,i)=>e(o,i,r)):J,di(1),n?dn(t):Ir(()=>new it))}function xc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(_(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 Jp(e,t){return T(xc(e,t,arguments.length>=2,!0))}function Tc(...e){let t=Ue(e);return T((n,r)=>{(t?yr(e,n,t):yr(e,n)).subscribe(r)})}function Nc(e,t){return T((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(_(r,c=>{o?.unsubscribe();let l=0,u=i++;P(e(c,u)).subscribe(o=_(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Kp(e){return T((t,n)=>{P(e).subscribe(_(n,()=>n.complete(),cn)),!n.closed&&t.subscribe(n)})}function Sc(e,t,n){let r=D(e)||t||n?{next:e,error:t,complete:n}:e;return r?T((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(_(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):J}var fi={now(){return(fi.delegate||Date).now()},delegate:void 0};var fn=class extends he{constructor(t=1/0,n=1/0,r=fi){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 Xp(...e){let t=kt(e),{args:n,keys:r}=hr(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;P(n[u]).subscribe(_(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?mr(r,a):a),i.complete())}))}});return t?o.pipe(gr(t)):o}var{isArray:eh}=Array;function Oc(e){return e.length===1&&eh(e[0])?e[0]:e}function th(...e){let t=kt(e),n=Oc(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++)P(n[s]).subscribe(_(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}}):rt}function nh(e,t=J){return e=e??rh,T((n,r)=>{let o,i=!0;n.subscribe(_(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function rh(e,t){return e===t}function Rc(e={}){let{connector:t=()=>new he,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 T((g,E)=>{l++,!d&&!u&&p();let m=c=c??t();E.add(()=>{l--,l===0&&!d&&!u&&(a=pi(h,o))}),m.subscribe(E),!s&&l>0&&(s=new Ne({next:x=>m.next(x),error:x=>{d=!0,p(),a=pi(f,n,x),m.error(x)},complete:()=>{u=!0,p(),a=pi(f,r),m.complete()}}),P(g).subscribe(s))})(i)}}function pi(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Ne({next:()=>{r.unsubscribe(),e()}});return P(t(...n)).subscribe(r)}function oh(e,t,n){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:t=1/0,refCount:o=!1,scheduler:n}=e:r=e??1/0,Rc({connector:()=>new fn(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function vi(e,t){return Object.is(e,t)}var V=null,pn=!1,Ii=1,H=Symbol("SIGNAL");function b(e){let t=V;return V=e,t}function Ac(){return V}function ih(){return pn}var at={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function gn(e){if(pn)throw new Error("");if(V===null)return;V.consumerOnSignalRead(e);let t=V.nextProducerIndex++;if(wr(V),t<V.producerNode.length&&V.producerNode[t]!==e&&hn(V)){let n=V.producerNode[t];Dr(n,V.producerIndexOfThis[t])}V.producerNode[t]!==e&&(V.producerNode[t]=e,V.producerIndexOfThis[t]=hn(V)?Fc(e,V,t):0),V.producerLastReadVersion[t]=e.version}function sh(){Ii++}function Ei(e){if(!(hn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===Ii)){if(!e.producerMustRecompute(e)&&!yn(e)){mi(e);return}e.producerRecomputeValue(e),mi(e)}}function kc(e){if(e.liveConsumerNode===void 0)return;let t=pn;pn=!0;try{for(let n of e.liveConsumerNode)n.dirty||Lc(n)}finally{pn=t}}function Pc(){return V?.consumerAllowSignalWrites!==!1}function Lc(e){e.dirty=!0,kc(e),e.consumerMarkedDirty?.(e)}function mi(e){e.dirty=!1,e.lastCleanEpoch=Ii}function Pt(e){return e&&(e.nextProducerIndex=0),b(e)}function mn(e,t){if(b(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(hn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Dr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function yn(e){wr(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(Ei(n),r!==n.version))return!0}return!1}function Lt(e){if(wr(e),hn(e))for(let t=0;t<e.producerNode.length;t++)Dr(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 Fc(e,t,n){if(jc(e),e.liveConsumerNode.length===0&&Vc(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=Fc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Dr(e,t){if(jc(e),e.liveConsumerNode.length===1&&Vc(e))for(let r=0;r<e.producerNode.length;r++)Dr(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];wr(o),o.producerIndexOfThis[r]=t}}function hn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function wr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function jc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function Vc(e){return e.producerNode!==void 0}function Di(e){let t=Object.create(ah);t.computation=e;let n=()=>{if(Ei(t),gn(t),t.value===Er)throw t.error;return t.value};return n[H]=t,n}var hi=Symbol("UNSET"),gi=Symbol("COMPUTING"),Er=Symbol("ERRORED"),ah=ue(le({},at),{value:hi,dirty:!0,error:null,equal:vi,producerMustRecompute(e){return e.value===hi||e.value===gi},producerRecomputeValue(e){if(e.value===gi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=gi;let n=Pt(e),r;try{r=e.computation()}catch(o){r=Er,e.error=o}finally{mn(e,n)}if(t!==hi&&t!==Er&&r!==Er&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function ch(){throw new Error}var Hc=ch;function $c(){Hc()}function Bc(e){Hc=e}var lh=null;function Uc(e){let t=Object.create(wi);t.value=e;let n=()=>(gn(t),t.value);return n[H]=t,n}function vn(e,t){Pc()||$c(),e.equal(e.value,t)||(e.value=t,uh(e))}function qc(e,t){Pc()||$c(),vn(e,t(e.value))}var wi=ue(le({},at),{equal:vi,value:void 0});function uh(e){e.version++,sh(),kc(e),lh?.()}function Wc(e,t,n){let r=Object.create(dh);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)||(Lt(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=yi)}let a=()=>{if(r.fn===null)return;if(ih())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!yn(r))return;r.hasRun=!0;let c=Pt(r);try{r.cleanupFn(),r.cleanupFn=yi,r.fn(o)}finally{mn(r,c)}};return r.ref={notify:()=>Lc(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[H]:r},r.ref}var yi=()=>{},dh=ue(le({},at),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:yi});var Ql="https://g.co/ng/security#xss",M=class extends Error{code;constructor(t,n){super(fh(t,n)),this.code=t}};function fh(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var Do=Symbol("InputSignalNode#UNSET"),Zl=ue(le({},wi),{transformFn:void 0,applyValueToInputSignal(e,t){vn(e,t)}});function Yl(e,t){let n=Object.create(Zl);n.value=e,n.transformFn=t?.transform;function r(){if(gn(n),n.value===Do)throw new M(-950,!1);return n.value}return r[H]=n,r}function $n(e){return{toString:e}.toString()}var br="__parameters__";function ph(e){return function(...n){if(e){let r=e(...n);for(let o in r)this[o]=r[o]}}}function Jl(e,t,n){return $n(()=>{let r=ph(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(br)?c[br]:Object.defineProperty(c,br,{value:[]})[br];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 We=globalThis;function k(e){for(let t in e)if(e[t]===k)return t;throw Error("Could not find renamed property on target object.")}function hh(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 gh=k({__forward_ref__:k});function Kl(e){return e.__forward_ref__=Kl,e.toString=function(){return de(this())},e}function te(e){return Xl(e)?e():e}function Xl(e){return typeof e=="function"&&e.hasOwnProperty(gh)&&e.__forward_ref__===Kl}function mh(e,t,n){e!=t&&yh(n,e,t,"==")}function yh(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(r==null?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function F(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function TT(e){return{providers:e.providers||[],imports:e.imports||[]}}function wo(e){return zc(e,eu)||zc(e,tu)}function NT(e){return wo(e)!==null}function zc(e,t){return e.hasOwnProperty(t)?e[t]:null}function vh(e){let t=e&&(e[eu]||e[tu]);return t||null}function Gc(e){return e&&(e.hasOwnProperty(Qc)||e.hasOwnProperty(Ih))?e[Qc]:null}var eu=k({\u0275prov:k}),Qc=k({\u0275inj:k}),tu=k({ngInjectableDef:k}),Ih=k({ngInjectorDef:k}),R=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(t,n){this._desc=t,this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=F({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function nu(e){return e&&!!e.\u0275providers}var Eh=k({\u0275cmp:k}),Dh=k({\u0275dir:k}),wh=k({\u0275pipe:k}),bh=k({\u0275mod:k}),Hr=k({\u0275fac:k}),wn=k({__NG_ELEMENT_ID__:k}),Zc=k({__NG_ENV_ID__:k});function Ie(e){return typeof e=="string"?e:e==null?"":String(e)}function Ch(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():Ie(e)}function Mh(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,e)}function ia(e,t){throw new M(-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||{}),Vi;function ru(){return Vi}function ie(e){let t=Vi;return Vi=e,t}function ou(e,t,n){let r=wo(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;ia(e,"Injector")}var _h={},Tn=_h,Hi="__NG_DI_FLAG__",$r="ngTempTokenPath",xh="ngTokenPath",Th=/\n/gm,Nh="\u0275",Yc="__source",$t;function Sh(){return $t}function qe(e){let t=$t;return $t=e,t}function Oh(e,t=N.Default){if($t===void 0)throw new M(-203,!1);return $t===null?ou(e,void 0,t):$t.get(e,t&N.Optional?null:void 0,t)}function Ze(e,t=N.Default){return(ru()||Oh)(te(e),t)}function C(e,t=N.Default){return Ze(e,bo(t))}function bo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function $i(e){let t=[];for(let n=0;n<e.length;n++){let r=te(e[n]);if(Array.isArray(r)){if(r.length===0)throw new M(900,!1);let o,i=N.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Rh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push(Ze(o,i))}else t.push(Ze(r))}return t}function iu(e,t){return e[Hi]=t,e.prototype[Hi]=t,e}function Rh(e){return e[Hi]}function Ah(e,t,n,r){let o=e[$r];throw t[Yc]&&o.unshift(t[Yc]),e.message=kh(`
5
- `+e.message,o,n,r),e[xh]=o,e[$r]=null,e}function kh(e,t,n,r=null){e=e&&e.charAt(0)===`
6
- `&&e.charAt(1)==Nh?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(Th,`
7
- `)}`}var su=iu(Jl("Optional"),8);var au=iu(Jl("SkipSelf"),4);function dt(e,t){let n=e.hasOwnProperty(Hr);return n?e[Hr]:null}function Ph(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 Lh(e){return e.flat(Number.POSITIVE_INFINITY)}function sa(e,t){e.forEach(n=>Array.isArray(n)?sa(n,t):t(n))}function cu(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Br(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Fh(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function jh(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 Co(e,t,n){let r=Bn(e,t);return r>=0?e[r|1]=n:(r=~r,jh(e,r,t,n)),r}function bi(e,t){let n=Bn(e,t);if(n>=0)return e[n|1]}function Bn(e,t){return Vh(e,t,1)}function Vh(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 Wt={},K=[],Ur=new R(""),lu=new R("",-1),uu=new R(""),qr=class{get(t,n=Tn){if(n===Tn){let r=new Error(`NullInjectorError: No provider for ${de(t)}!`);throw r.name="NullInjectorError",r}return n}};function du(e,t){let n=e[bh]||null;if(!n&&t===!0)throw new Error(`Type ${de(e)} does not have '\u0275mod' property.`);return n}function _e(e){return e[Eh]||null}function aa(e){return e[Dh]||null}function ca(e){return e[wh]||null}function Hh(e){let t=_e(e)||aa(e)||ca(e);return t!==null?t.standalone:!1}function $h(e){return{\u0275providers:e}}function Bh(...e){return{\u0275providers:la(!0,e),\u0275fromNgModule:!0}}function la(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return sa(t,s=>{let a=s;Bi(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&fu(o,i),n}function fu(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];ua(o,i=>{t(i,r)})}}function Bi(e,t,n,r){if(e=te(e),!e)return!1;let o=null,i=Gc(e),s=!i&&_e(e);if(!i&&!s){let c=e.ngModule;if(i=Gc(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)Bi(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;try{sa(i.imports,u=>{Bi(u,t,n,r)&&(l||=[],l.push(u))})}finally{}l!==void 0&&fu(l,t)}if(!a){let l=dt(o)||(()=>new o);t({provide:o,useFactory:l,deps:K},o),t({provide:uu,useValue:o,multi:!0},o),t({provide:Ur,useValue:()=>Ze(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ua(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ua(e,t){for(let n of e)nu(n)&&(n=n.\u0275providers),Array.isArray(n)?ua(n,t):t(n)}var Uh=k({provide:String,useValue:k});function pu(e){return e!==null&&typeof e=="object"&&Uh in e}function qh(e){return!!(e&&e.useExisting)}function Wh(e){return!!(e&&e.useFactory)}function zt(e){return typeof e=="function"}function zh(e){return!!e.useClass}var hu=new R(""),Sr={},Gh={},Ci;function Mo(){return Ci===void 0&&(Ci=new qr),Ci}var Oe=class{},Nn=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,qi(t,s=>this.processProvider(s)),this.records.set(lu,Ft(void 0,this)),o.has("environment")&&this.records.set(Oe,Ft(void 0,this));let i=this.records.get(hu);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(uu,K,N.Self))}destroy(){In(this),this._destroyed=!0;let t=b(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),b(t)}}onDestroy(t){return In(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){In(this);let n=qe(this),r=ie(void 0),o;try{return t()}finally{qe(n),ie(r)}}get(t,n=Tn,r=N.Default){if(In(this),t.hasOwnProperty(Zc))return t[Zc](this);r=bo(r);let o,i=qe(this),s=ie(void 0);try{if(!(r&N.SkipSelf)){let c=this.records.get(t);if(c===void 0){let l=Kh(t)&&wo(t);l&&this.injectableDefInScope(l)?c=Ft(Ui(t),Sr):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&N.Self?Mo():this.parent;return n=r&N.Optional&&n===Tn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[$r]=a[$r]||[]).unshift(de(t)),i)throw a;return Ah(a,t,"R3InjectorError",this.source)}else throw a}finally{ie(s),qe(i)}}resolveInjectorInitializers(){let t=b(null),n=qe(this),r=ie(void 0),o;try{let i=this.get(Ur,K,N.Self);for(let s of i)s()}finally{qe(n),ie(r),b(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(de(r));return`R3Injector[${t.join(", ")}]`}processProvider(t){t=te(t);let n=zt(t)?t:te(t&&t.provide),r=Zh(t);if(!zt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Ft(void 0,Sr,!0),o.factory=()=>$i(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=b(null);try{return n.value===Sr&&(n.value=Gh,n.value=n.factory()),typeof n.value=="object"&&n.value&&Jh(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{b(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=te(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 Ui(e){let t=wo(e),n=t!==null?t.factory:dt(e);if(n!==null)return n;if(e instanceof R)throw new M(204,!1);if(e instanceof Function)return Qh(e);throw new M(204,!1)}function Qh(e){if(e.length>0)throw new M(204,!1);let n=vh(e);return n!==null?()=>n.factory(e):()=>new e}function Zh(e){if(pu(e))return Ft(void 0,e.useValue);{let t=gu(e);return Ft(t,Sr)}}function gu(e,t,n){let r;if(zt(e)){let o=te(e);return dt(o)||Ui(o)}else if(pu(e))r=()=>te(e.useValue);else if(Wh(e))r=()=>e.useFactory(...$i(e.deps||[]));else if(qh(e))r=()=>Ze(te(e.useExisting));else{let o=te(e&&(e.useClass||e.provide));if(Yh(e))r=()=>new o(...$i(e.deps));else return dt(o)||Ui(o)}return r}function In(e){if(e.destroyed)throw new M(205,!1)}function Ft(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Yh(e){return!!e.deps}function Jh(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Kh(e){return typeof e=="function"||typeof e=="object"&&e instanceof R}function qi(e,t){for(let n of e)Array.isArray(n)?qi(n,t):n&&nu(n)?qi(n.\u0275providers,t):t(n)}function mu(e,t){e instanceof Nn&&In(e);let n,r=qe(e),o=ie(void 0);try{return t()}finally{qe(r),ie(o)}}function yu(){return ru()!==void 0||Sh()!=null}function _o(e){if(!yu())throw new M(-203,!1)}function Xh(e){return typeof e=="function"}var je=0,I=1,v=2,Z=3,Ee=4,ne=5,Gt=6,Wr=7,X=8,De=9,Re=10,O=11,Sn=12,Jc=13,Xt=14,ae=15,ft=16,jt=17,Ae=18,xo=19,vu=20,Ge=21,Or=22,pt=23,fe=24,L=25,Iu=1,Bt=6,ht=7,zr=8,Qt=9,ee=10,Gr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Gr||{});function Qe(e){return Array.isArray(e)&&typeof e[Iu]=="object"}function Ve(e){return Array.isArray(e)&&e[Iu]===!0}function da(e){return(e.flags&4)!==0}function To(e){return e.componentOffset>-1}function No(e){return(e.flags&1)===1}function Ye(e){return!!e.template}function Wi(e){return(e[v]&512)!==0}function eg(e){return(e[v]&256)===256}var zi=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Eu(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var ST=(()=>{let e=()=>Du;return e.ngInherit=!0,e})();function Du(e){return e.type.prototype.ngOnChanges&&(e.setInput=ng),tg}function tg(){let e=bu(this),t=e?.current;if(t){let n=e.previous;if(n===Wt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ng(e,t,n,r,o){let i=this.declaredInputs[r],s=bu(e)||rg(e,{previous:Wt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new zi(l&&l.currentValue,n,c===Wt),Eu(e,t,o,n)}var wu="__ngSimpleChanges__";function bu(e){return e[wu]||null}function rg(e,t){return e[wu]=t}var Kc=null;var Ce=function(e,t,n){Kc?.(e,t,n)},Cu="svg",og="math";function ge(e){for(;Array.isArray(e);)e=e[je];return e}function So(e,t){return ge(t[e])}function me(e,t){return ge(t[e.index])}function Un(e,t){return e.data[t]}function fa(e,t){return e[t]}function Xe(e,t){let n=t[e];return Qe(n)?n:n[je]}function ig(e){return(e[v]&4)===4}function pa(e){return(e[v]&128)===128}function sg(e){return Ve(e[Z])}function ke(e,t){return t==null?null:e[t]}function Mu(e){e[jt]=0}function ha(e){e[v]&1024||(e[v]|=1024,pa(e)&&qn(e))}function ag(e,t){for(;e>0;)t=t[Xt],e--;return t}function Oo(e){return!!(e[v]&9216||e[fe]?.dirty)}function Gi(e){e[Re].changeDetectionScheduler?.notify(9),e[v]&64&&(e[v]|=1024),Oo(e)&&qn(e)}function qn(e){e[Re].changeDetectionScheduler?.notify(0);let t=gt(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!pa(t)));)t=gt(t)}function ga(e,t){if((e[v]&256)===256)throw new M(911,!1);e[Ge]===null&&(e[Ge]=[]),e[Ge].push(t)}function _u(e,t){if(e[Ge]===null)return;let n=e[Ge].indexOf(t);n!==-1&&e[Ge].splice(n,1)}function gt(e){let t=e[Z];return Ve(t)?t[Z]:t}var w={lFrame:ku(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Qi=!1;function cg(){return w.lFrame.elementDepthCount}function lg(){w.lFrame.elementDepthCount++}function ug(){w.lFrame.elementDepthCount--}function xu(){return w.bindingsEnabled}function Tu(){return w.skipHydrationRootTNode!==null}function dg(e){return w.skipHydrationRootTNode===e}function fg(){w.skipHydrationRootTNode=null}function y(){return w.lFrame.lView}function A(){return w.lFrame.tView}function OT(e){return w.lFrame.contextLView=e,e[X]}function RT(e){return w.lFrame.contextLView=null,e}function W(){let e=Nu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Nu(){return w.lFrame.currentTNode}function On(){let e=w.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function we(e,t){let n=w.lFrame;n.currentTNode=e,n.isParent=t}function ma(){return w.lFrame.isParent}function ya(){w.lFrame.isParent=!1}function pg(){return w.lFrame.contextLView}function Su(){return Qi}function Qr(e){let t=Qi;return Qi=e,t}function en(){let e=w.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function va(){return w.lFrame.bindingIndex}function hg(e){return w.lFrame.bindingIndex=e}function et(){return w.lFrame.bindingIndex++}function Ro(e){let t=w.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function gg(){return w.lFrame.inI18n}function Ou(e){w.lFrame.inI18n=e}function mg(e,t){let n=w.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zi(t)}function yg(){return w.lFrame.currentDirectiveIndex}function Zi(e){w.lFrame.currentDirectiveIndex=e}function vg(e){let t=w.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function Ia(){return w.lFrame.currentQueryIndex}function Ao(e){w.lFrame.currentQueryIndex=e}function Ig(e){let t=e[I];return t.type===2?t.declTNode:t.type===1?e[ne]:null}function Ru(e,t,n){if(n&N.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&N.Host);)if(o=Ig(i),o===null||(i=i[Xt],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=w.lFrame=Au();return r.currentTNode=t,r.lView=e,!0}function Ea(e){let t=Au(),n=e[I];w.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Au(){let e=w.lFrame,t=e===null?null:e.child;return t===null?ku(e):t}function ku(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 Pu(){let e=w.lFrame;return w.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Lu=Pu;function Da(){let e=Pu();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 Eg(e){return(w.lFrame.contextLView=ag(e,w.lFrame.contextLView))[X]}function He(){return w.lFrame.selectedIndex}function mt(e){w.lFrame.selectedIndex=e}function Mt(){let e=w.lFrame;return Un(e.tView,e.selectedIndex)}function AT(){w.lFrame.currentNamespace=Cu}function Dg(){return w.lFrame.currentNamespace}var Fu=!0;function Wn(){return Fu}function zn(e){Fu=e}function wg(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=Du(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 ko(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 Rr(e,t,n){ju(e,t,3,n)}function Ar(e,t,n,r){(e[v]&3)===n&&ju(e,t,n,r)}function Mi(e,t){let n=e[v];(n&3)===t&&(n&=16383,n+=1,e[v]=n)}function ju(e,t,n,r){let o=r!==void 0?e[jt]&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[jt]+=65536),(a<i||i==-1)&&(bg(e,n,t,c),e[jt]=(e[jt]&4294901760)+c+2),c++}function Xc(e,t){Ce(4,e,t);let n=b(null);try{t.call(e)}finally{b(n),Ce(5,e,t)}}function bg(e,t,n,r){let o=n[r]<0,i=n[r+1],s=o?-n[r]:n[r],a=e[s];o?e[v]>>14<e[jt]>>16&&(e[v]&3)===t&&(e[v]+=16384,Xc(a,i)):Xc(a,i)}var Ut=-1,yt=class{factory;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r){this.factory=t,this.canSeeViewProviders=n,this.injectImpl=r}};function Cg(e){return e instanceof yt}function Mg(e){return(e.flags&8)!==0}function _g(e){return(e.flags&16)!==0}function Yi(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];xg(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Vu(e){return e===3||e===4||e===6}function xg(e){return e.charCodeAt(0)===64}function Rn(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?el(e,n,o,null,t[++r]):el(e,n,o,null,null))}}return e}function el(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 _i={},qt=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=bo(r);let o=this.injector.get(t,_i,r);return o!==_i||n===_i?o:this.parentInjector.get(t,n,r)}};function Hu(e){return e!==Ut}function Zr(e){return e&32767}function Tg(e){return e>>16}function Yr(e,t){let n=Tg(e),r=t;for(;n>0;)r=r[Xt],n--;return r}var Ji=!0;function Jr(e){let t=Ji;return Ji=e,t}var Ng=256,$u=Ng-1,Bu=5,Sg=0,Me={};function Og(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(wn)&&(r=n[wn]),r==null&&(r=n[wn]=Sg++);let o=r&$u,i=1<<o;t.data[e+(o>>Bu)]|=i}function Kr(e,t){let n=Uu(e,t);if(n!==-1)return n;let r=t[I];r.firstCreatePass&&(e.injectorIndex=t.length,xi(r.data,e),xi(t,null),xi(r.blueprint,null));let o=wa(e,t),i=e.injectorIndex;if(Hu(o)){let s=Zr(o),a=Yr(o,t),c=a[I].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function xi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Uu(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function wa(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=Qu(o),r===null)return Ut;if(n++,o=o[Xt],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ut}function Ki(e,t,n){Og(e,t,n)}function Rg(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(Vu(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 qu(e,t,n){if(n&N.Optional||e!==void 0)return e;ia(t,"NodeInjector")}function Wu(e,t,n,r){if(n&N.Optional&&r===void 0&&(r=null),!(n&(N.Self|N.Host))){let o=e[De],i=ie(void 0);try{return o?o.get(t,r,n&N.Optional):ou(t,r,n&N.Optional)}finally{ie(i)}}return qu(r,t,n)}function zu(e,t,n,r=N.Default,o){if(e!==null){if(t[v]&2048&&!(r&N.Self)){let s=Lg(e,t,n,r,Me);if(s!==Me)return s}let i=Gu(e,t,n,r,Me);if(i!==Me)return i}return Wu(t,n,r,o)}function Gu(e,t,n,r,o){let i=kg(n);if(typeof i=="function"){if(!Ru(t,e,r))return r&N.Host?qu(o,n,r):Wu(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&N.Optional))ia(n);else return s}finally{Lu()}}else if(typeof i=="number"){let s=null,a=Uu(e,t),c=Ut,l=r&N.Host?t[ae][ne]:null;for((a===-1||r&N.SkipSelf)&&(c=a===-1?wa(e,t):t[a+8],c===Ut||!nl(r,!1)?a=-1:(s=t[I],a=Zr(c),t=Yr(c,t)));a!==-1;){let u=t[I];if(tl(i,a,u.data)){let d=Ag(a,t,n,s,r,l);if(d!==Me)return d}c=t[a+8],c!==Ut&&nl(r,t[I].data[a+8]===l)&&tl(i,a,t)?(s=u,a=Zr(c),t=Yr(c,t)):a=-1}}return o}function Ag(e,t,n,r,o,i){let s=t[I],a=s.data[e+8],c=r==null?To(a)&&Ji:r!=s&&(a.type&3)!==0,l=o&N.Host&&i===a,u=kr(a,s,n,c,l);return u!==null?vt(t,s,u,a):Me}function kr(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&&Ye(f)&&f.type===n)return c}return null}function vt(e,t,n,r){let o=e[n],i=t.data;if(Cg(o)){let s=o;s.resolving&&Mh(Ch(i[n]));let a=Jr(s.canSeeViewProviders);s.resolving=!0;let c,l=s.injectImpl?ie(s.injectImpl):null,u=Ru(e,r,N.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&wg(n,i[n],t)}finally{l!==null&&ie(l),Jr(a),s.resolving=!1,Lu()}}return o}function kg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(wn)?e[wn]:void 0;return typeof t=="number"?t>=0?t&$u:Pg:t}function tl(e,t,n){let r=1<<e;return!!(n[t+(e>>Bu)]&r)}function nl(e,t){return!(e&N.Self)&&!(e&N.Host&&t)}var ut=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return zu(this._tNode,this._lView,t,bo(r),n)}};function Pg(){return new ut(W(),y())}function kT(e){return $n(()=>{let t=e.prototype.constructor,n=t[Hr]||Xi(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Hr]||Xi(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Xi(e){return Xl(e)?()=>{let t=Xi(te(e));return t&&t()}:dt(e)}function Lg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!(s[v]&512);){let a=Gu(i,s,n,r|N.Self,Me);if(a!==Me)return a;let c=i.parent;if(!c){let l=s[vu];if(l){let u=l.get(n,Me,r);if(u!==Me)return u}c=Qu(s),s=s[Xt]}i=c}return o}function Qu(e){let t=e[I],n=t.type;return n===2?t.declTNode:n===1?e[ne]:null}function PT(e){return Rg(W(),e)}function rl(e,t=null,n=null,r){let o=Zu(e,t,n,r);return o.resolveInjectorInitializers(),o}function Zu(e,t=null,n=null,r,o=new Set){let i=[n||K,Bh(e)];return r=r||(typeof e=="object"?void 0:de(e)),new Nn(i,t||Mo(),r||null,o)}var Pe=class e{static THROW_IF_NOT_FOUND=Tn;static NULL=new qr;static create(t,n){if(Array.isArray(t))return rl({name:""},n,t,"");{let r=t.name??"";return rl({name:r},t.parent,t.providers,r)}}static \u0275prov=F({token:e,providedIn:"any",factory:()=>Ze(lu)});static __NG_ELEMENT_ID__=-1};var Fg=new R("");Fg.__NG_ELEMENT_ID__=e=>{let t=W();if(t===null)throw new M(204,!1);if(t.type&2)return t.value;if(e&N.Optional)return null;throw new M(204,!1)};var Yu=!1,_t=(()=>{class e{static __NG_ELEMENT_ID__=jg;static __NG_ENV_ID__=n=>n}return e})(),Xr=class extends _t{_lView;constructor(t){super(),this._lView=t}onDestroy(t){return ga(this._lView,t),()=>_u(this._lView,t)}};function jg(){return new Xr(y())}var Le=class{},ba=new R("",{providedIn:"root",factory:()=>!1});var Ju=new R(""),Ca=new R(""),xt=(()=>{class e{taskId=0;pendingTasks=new Set;get _hasPendingTasks(){return this.hasPendingTasks.value}hasPendingTasks=new ln(!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=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),Vg=(()=>{class e{internalPendingTasks=C(xt);scheduler=C(Le);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=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),es=class extends he{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,yu()&&(this.destroyRef=C(_t,{optional:!0})??void 0,this.pendingTasks=C(xt,{optional:!0})??void 0)}emit(t){let n=b(null);try{super.next(t)}finally{b(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof q&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},ze=es;function An(...e){}function Ku(e){let t,n;function r(){e=An;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 ol(e){return queueMicrotask(()=>e()),()=>{e=An}}var Ma="isAngularZone",eo=Ma+"_ID",Hg=0,pe=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=Yu}=t;if(typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,Ug(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Ma)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new M(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,$g,An,An);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)}},$g={};function _a(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 Bg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){Ku(()=>{e.callbackScheduled=!1,ts(e),e.isCheckStableRunning=!0,_a(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ts(e)}function Ug(e){let t=()=>{Bg(e)},n=Hg++;e._inner=e._inner.fork({name:"angular",properties:{[Ma]:!0,[eo]:n,[eo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(qg(c))return r.invokeTask(i,s,a,c);try{return il(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),sl(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return il(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Wg(c)&&t(),sl(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ts(e),_a(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 ts(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function il(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sl(e){e._nesting--,_a(e)}var to=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 qg(e){return Xu(e,"__ignore_ng_zone__")}function Wg(e){return Xu(e,"__scheduler_tick__")}function Xu(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var Je=class{_console=console;handleError(t){this._console.error("ERROR",t)}},zg=new R("",{providedIn:"root",factory:()=>{let e=C(pe),t=C(Je);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),no=class{destroyed=!1;listeners=null;errorHandler=C(Je,{optional:!0});destroyRef=C(_t);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new M(953,!1);return(this.listeners??=[]).push(t),{unsubscribe:()=>{let n=this.listeners?.indexOf(t);n!==void 0&&n!==-1&&this.listeners?.splice(n,1)}}}emit(t){if(this.destroyed)throw new M(953,!1);if(this.listeners===null)return;let n=b(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{b(n)}}};function LT(e){return new no}function al(e,t){return Yl(e,t)}function Gg(e){return Yl(Do,e)}var FT=(al.required=Gg,al);function Qg(){return tn(W(),y())}function tn(e,t){return new Po(me(e,t))}var Po=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=Qg}return e})();function ed(e){return e instanceof Po?e.nativeElement:e}function Zg(){return this._results[Symbol.iterator]()}var ns=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 he}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=Lh(t);(this._changesDetected=!Ph(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]=Zg};function td(e){return(e.flags&128)===128}var nd=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(nd||{}),rd=new Map,Yg=0;function Jg(){return Yg++}function Kg(e){rd.set(e[xo],e)}function rs(e){rd.delete(e[xo])}var cl="__ngContext__";function xe(e,t){Qe(t)?(e[cl]=t[xo],Kg(t)):e[cl]=t}function od(e){return sd(e[Sn])}function id(e){return sd(e[Ee])}function sd(e){for(;e!==null&&!Ve(e);)e=e[Ee];return e}var os;function jT(e){os=e}function xa(){if(os!==void 0)return os;if(typeof document<"u")return document;throw new M(210,!1)}var VT=new R("",{providedIn:"root",factory:()=>Xg}),Xg="ng",em=new R(""),HT=new R("",{providedIn:"platform",factory:()=>"unknown"});var $T=new R("",{providedIn:"root",factory:()=>xa().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),tm={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},BT=new R("",{providedIn:"root",factory:()=>tm});var nm="h",rm="b";var om="di",ad="s";var cd=!1,im=new R("",{providedIn:"root",factory:()=>cd});var sm=new R("");var Ta=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(Ta||{}),Lo=new R(""),ll=new Set;function Te(e){ll.has(e)||(ll.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Vt=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(Vt||{}),ld=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),am=[Vt.EarlyRead,Vt.Write,Vt.MixedReadWrite,Vt.Read],cm=(()=>{class e{ngZone=C(pe);scheduler=C(Le);errorHandler=C(Je,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(Lo,{optional:!0})}execute(){this.executing=!0;for(let n of am)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>r.hooks[n](r.pipelinedValue),r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Ta.AFTER_NEXT_RENDER,n):n()}static \u0275prov=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),is=class{impl;hooks;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i=null){this.impl=t,this.hooks=n,this.once=r,this.snapshot=i,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.()}};function lm(e,t){!t?.injector&&_o(lm);let n=t?.injector??C(Pe);return Te("NgAfterNextRender"),dm(e,n,t,!0)}function um(e,t){if(e instanceof Function){let n=[void 0,void 0,void 0,void 0];return n[t]=e,n}else return[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function dm(e,t,n,r){let o=t.get(ld);o.impl??=t.get(cm);let i=t.get(Lo,null,{optional:!0}),s=n?.phase??Vt.MixedReadWrite,a=n?.manualCleanup!==!0?t.get(_t):null,c=new is(o.impl,um(e,s),r,a,i?.snapshot(null));return o.impl.register(c),c}var se=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}(se||{}),ul=0,fm=1,B=function(e){return e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error",e}(B||{}),ro=function(e){return e[e.Initial=-1]="Initial",e}(ro||{}),pm=0,Fo=1;var hm=4,gm=5,mm=6,ym=7,Ti=8,vm=9,ud=function(e){return e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough",e}(ud||{});function Im(e,t,n){let r=fd(e);t[r]===null&&(t[r]=[]),t[r].push(n)}function Pr(e,t){let n=fd(e),r=t[n];if(r!==null){for(let o of r)o();t[n]=null}}function dd(e){Pr(1,e),Pr(0,e),Pr(2,e)}function fd(e){let t=hm;return e===1?t=gm:e===2&&(t=vm),t}function jo(e){return e+1}function Gn(e,t){let n=e[I],r=jo(t.index);return e[r]}function Em(e,t,n){let r=e[I],o=jo(t);e[o]=n}function Qn(e,t){let n=jo(t.index);return e.data[n]}function Dm(e,t,n){let r=jo(t);e.data[r]=n}function wm(e,t,n){let r=t[I],o=Qn(r,n);switch(e){case B.Complete:return o.primaryTmplIndex;case B.Loading:return o.loadingTmplIndex;case B.Error:return o.errorTmplIndex;case B.Placeholder:return o.placeholderTmplIndex;default:return null}}function dl(e,t){return t===B.Placeholder?e.placeholderBlockConfig?.[ul]??null:t===B.Loading?e.loadingBlockConfig?.[ul]??null:null}function bm(e){return e.loadingBlockConfig?.[fm]??null}function fl(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 Cm(e,t){let n=t.primaryTmplIndex+L;return Un(e,n)}var Mm=new R("");var _m=()=>null;function Na(e,t,n=!1){return _m(e,t,n)}function xm(e){return e.get(sm,!1,{optional:!0})}var kn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(kn||{}),Cr;function Tm(){if(Cr===void 0&&(Cr=null,We.trustedTypes))try{Cr=We.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Cr}function Vo(e){return Tm()?.createHTML(e)||e}var Mr;function pd(){if(Mr===void 0&&(Mr=null,We.trustedTypes))try{Mr=We.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Mr}function pl(e){return pd()?.createHTML(e)||e}function hl(e){return pd()?.createScriptURL(e)||e}var Fe=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ql})`}},ss=class extends Fe{getTypeName(){return"HTML"}},as=class extends Fe{getTypeName(){return"Style"}},cs=class extends Fe{getTypeName(){return"Script"}},ls=class extends Fe{getTypeName(){return"URL"}},us=class extends Fe{getTypeName(){return"ResourceURL"}};function nn(e){return e instanceof Fe?e.changingThisBreaksApplicationSecurity:e}function Sa(e,t){let n=Nm(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ql})`)}return n===t}function Nm(e){return e instanceof Fe&&e.getTypeName()||null}function UT(e){return new ss(e)}function qT(e){return new as(e)}function WT(e){return new cs(e)}function zT(e){return new ls(e)}function GT(e){return new us(e)}function hd(e){let t=new fs(e);return Sm()?new ds(t):t}var ds=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(Vo(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},fs=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=Vo(t),n}};function Sm(){try{return!!new window.DOMParser().parseFromString(Vo(""),"text/html")}catch{return!1}}var Om=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Oa(e){return e=String(e),e.match(Om)?e:"unsafe:"+e}function $e(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Zn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var gd=$e("area,br,col,hr,img,wbr"),md=$e("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yd=$e("rp,rt"),Rm=Zn(yd,md),Am=Zn(md,$e("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),km=Zn(yd,$e("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")),ps=Zn(gd,Am,km,Rm),Ra=$e("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Pm=$e("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"),Lm=$e("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"),vd=Zn(Ra,Pm,Lm),Fm=$e("script,style,template"),hs=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=Hm(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Vm(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=gl(t).toLowerCase();if(!ps.hasOwnProperty(n))return this.sanitizedSomething=!0,!Fm.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(!vd.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Ra[a]&&(c=Oa(c)),this.buf.push(" ",s,'="',ml(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=gl(t).toLowerCase();ps.hasOwnProperty(n)&&!gd.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ml(t))}};function jm(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Vm(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw Id(t);return t}function Hm(e){let t=e.firstChild;if(t&&jm(e,t))throw Id(t);return t}function gl(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function Id(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var $m=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Bm=/([^\#-~ |!])/g;function ml(e){return e.replace(/&/g,"&amp;").replace($m,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(Bm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var _r;function Um(e,t){let n=null;try{_r=_r||hd(e);let r=t?String(t):"";n=_r.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=_r.getInertBodyElement(r)}while(r!==i);let a=new hs().sanitizeChildren(gs(n)||n);return Vo(a)}finally{if(n){let r=gs(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function gs(e){return"content"in e&&qm(e)?e.content:null}function qm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Ho=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}(Ho||{});function QT(e){let t=Aa();return t?pl(t.sanitize(Ho.HTML,e)||""):Sa(e,"HTML")?pl(nn(e)):Um(xa(),Ie(e))}function Wm(e){let t=Aa();return t?t.sanitize(Ho.URL,e)||"":Sa(e,"URL")?nn(e):Oa(Ie(e))}function zm(e){let t=Aa();if(t)return hl(t.sanitize(Ho.RESOURCE_URL,e)||"");if(Sa(e,"ResourceURL"))return hl(nn(e));throw new M(904,!1)}function Gm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?zm:Wm}function ZT(e,t,n){return Gm(t,n)(e)}function Aa(){let e=y();return e&&e[Re].sanitizer}var Qm=/^>|^->|<!--|-->|--!>|<!-$/g,Zm=/(<|>)/g,Ym="\u200B$1\u200B";function Jm(e){return e.replace(Qm,t=>t.replace(Zm,Ym))}function Ed(e){return e instanceof Function?e():e}var Ke=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Ke||{}),ms=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(ms||{}),ys;function ka(e,t){return ys(e,t)}function Km(e){ys===void 0&&(ys=e())}function Ht(e,t,n,r,o){if(r!=null){let i,s=!1;Ve(r)?i=r:Qe(r)&&(s=!0,r=r[je]);let a=ge(r);e===0&&n!==null?o==null?Td(t,n,a):It(t,n,a,o||null,!0):e===1&&n!==null?It(t,n,a,o||null,!0):e===2?kd(t,a,s):e===3&&t.destroyNode(a),i!=null&&ay(t,e,i,n,o)}}function Dd(e,t){return e.createText(t)}function wd(e,t,n){e.setValue(t,n)}function bd(e,t){return e.createComment(Jm(t))}function Pa(e,t,n){return e.createElement(t,n)}function Xm(e,t){Cd(e,t),t[je]=null,t[ne]=null}function ey(e,t,n,r,o,i){r[je]=o,r[ne]=t,Uo(e,r,n,1,o,i)}function Cd(e,t){t[Re].changeDetectionScheduler?.notify(10),Uo(e,t,t[O],2,null,null)}function ty(e){let t=e[Sn];if(!t)return Ni(e[I],e);for(;t;){let n=null;if(Qe(t))n=t[Sn];else{let r=t[ee];r&&(n=r)}if(!n){for(;t&&!t[Ee]&&t!==e;)Qe(t)&&Ni(t[I],t),t=t[Z];t===null&&(t=e),Qe(t)&&Ni(t[I],t),n=t&&t[Ee]}t=n}}function ny(e,t,n,r){let o=ee+r,i=n.length;r>0&&(n[o-1][Ee]=t),r<i-ee?(t[Ee]=n[o],cu(n,ee+r,t)):(n.push(t),t[Ee]=null),t[Z]=n;let s=t[ft];s!==null&&n!==s&&Md(s,t);let a=t[Ae];a!==null&&a.insertView(e),Gi(t),t[v]|=128}function Md(e,t){let n=e[Qt],r=t[Z];if(Qe(r))e[v]|=Gr.HasTransplantedViews;else{let o=r[Z][ae];t[ae]!==o&&(e[v]|=Gr.HasTransplantedViews)}n===null?e[Qt]=[t]:n.push(t)}function La(e,t){let n=e[Qt],r=n.indexOf(t);n.splice(r,1)}function Pn(e,t){if(e.length<=ee)return;let n=ee+t,r=e[n];if(r){let o=r[ft];o!==null&&o!==e&&La(o,r),t>0&&(e[n-1][Ee]=r[Ee]);let i=Br(e,ee+t);Xm(r[I],r);let s=i[Ae];s!==null&&s.detachView(i[I]),r[Z]=null,r[Ee]=null,r[v]&=-129}return r}function $o(e,t){if(!(t[v]&256)){let n=t[O];n.destroyNode&&Uo(e,t,n,3,null,null),ty(t)}}function Ni(e,t){if(t[v]&256)return;let n=b(null);try{t[v]&=-129,t[v]|=256,t[fe]&&Lt(t[fe]),oy(e,t),ry(e,t),t[I].type===1&&t[O].destroy();let r=t[ft];if(r!==null&&Ve(t[Z])){r!==t[Z]&&La(r,t);let o=t[Ae];o!==null&&o.detachView(e)}rs(t)}finally{b(n)}}function ry(e,t){let n=e.cleanup,r=t[Wr];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[Wr]=null);let o=t[Ge];if(o!==null){t[Ge]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[pt];if(i!==null){t[pt]=null;for(let s of i)s.destroy()}}function oy(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 yt)){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];Ce(4,a,c);try{c.call(a)}finally{Ce(5,a,c)}}else{Ce(4,o,i);try{i.call(o)}finally{Ce(5,o,i)}}}}}function _d(e,t,n){return xd(e,t.parent,n)}function xd(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[je];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===kn.None||i===kn.Emulated)return null}return me(r,n)}}function It(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Td(e,t,n){e.appendChild(t,n)}function yl(e,t,n,r,o){r!==null?It(e,t,n,r,o):Td(e,t,n)}function Fa(e,t){return e.parentNode(t)}function iy(e,t){return e.nextSibling(t)}function Nd(e,t,n){return Od(e,t,n)}function Sd(e,t,n){return e.type&40?me(e,n):null}var Od=Sd,vs;function Rd(e,t){Od=e,vs=t}function Bo(e,t,n,r){let o=_d(e,r,t),i=t[O],s=r.parent||t[ne],a=Nd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)yl(i,o,n[c],a,!1);else yl(i,o,n,a,!1);vs!==void 0&&vs(i,r,t,n,o)}function En(e,t){if(t!==null){let n=t.type;if(n&3)return me(t,e);if(n&4)return Is(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return En(e,r);{let o=e[t.index];return Ve(o)?Is(-1,o):ge(o)}}else{if(n&128)return En(e,t.next);if(n&32)return ka(t,e)()||ge(e[t.index]);{let r=Ad(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=gt(e[ae]);return En(o,r)}else return En(e,t.next)}}}return null}function Ad(e,t){if(t!==null){let r=e[ae][ne],o=t.projection;return r.projection[o]}return null}function Is(e,t){let n=ee+e+1;if(n<t.length){let r=t[n],o=r[I].firstChild;if(o!==null)return En(r,o)}return t[ht]}function kd(e,t,n){e.removeChild(null,t,n)}function ja(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(ge(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)ja(e,t,n.child,r,o,i,!1),Ht(t,e,o,a,i);else if(c&32){let l=ka(n,r),u;for(;u=l();)Ht(t,e,o,u,i);Ht(t,e,o,a,i)}else c&16?Pd(e,t,r,n,o,i):Ht(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Uo(e,t,n,r,o,i){ja(n,r,e.firstChild,t,o,i,!1)}function sy(e,t,n){let r=t[O],o=_d(e,n,t),i=n.parent||t[ne],s=Nd(i,n,t);Pd(r,0,t,n,o,s)}function Pd(e,t,n,r,o,i){let s=n[ae],c=s[ne].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Ht(t,e,o,u,i)}else{let l=c,u=s[Z];td(r)&&(l.flags|=128),ja(e,t,l,u,o,i,!0)}}function ay(e,t,n,r,o){let i=n[ht],s=ge(n);i!==s&&Ht(t,e,r,i,o);for(let a=ee;a<n.length;a++){let c=n[a];Uo(c[I],c,e,t,r,i)}}function cy(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:ms.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ms.Important),e.setStyle(n,r,o,i))}}function ly(e,t,n){e.setAttribute(t,"style",n)}function Ld(e,t,n){n===""?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Fd(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&Yi(e,t,r),o!==null&&Ld(e,t,o),i!==null&&ly(e,t,i)}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 jd="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(Va(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 Va(e){return e.type===4&&e.value!==jd}function fy(e,t,n){let r=e.type===4&&!n?jd: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&&!ve(r)&&!ve(c))return!1;if(s&&ve(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(ve(r))return!1;s=!0}}else if(r&8){if(o===null||!dy(e,o,c,n)){if(ve(r))return!1;s=!0}}else{let l=t[++a],u=hy(c,o,Va(e),n);if(u===-1){if(ve(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(ve(r))return!1;s=!0}}}}return ve(r)||s}function ve(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 Vd(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(Vu(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 vl(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!==""&&!ve(s)&&(t+=vl(i,o),o=""),r=s,i=i||!ve(r);n++}return o!==""&&(t+=vl(i,o)),t}function Ey(e){return e.map(Iy).join(",")}function Dy(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(!ve(o))break;o=i}r++}return{attrs:t,classes:n}}var Y={};function YT(e=1){Hd(A(),y(),He()+e,!1)}function Hd(e,t,n,r){if(!r)if((t[v]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Rr(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ar(t,i,0,n)}mt(n)}function qo(e,t=N.Default){let n=y();if(n===null)return Ze(e,t);let r=W();return zu(r,n,te(e),t)}function JT(){let e="invalid";throw new Error(e)}function $d(e,t,n,r,o,i){let s=b(null);try{let a=null;o&Ke.SignalBased&&(a=t[r][H]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Ke.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):Eu(t,a,r,i)}finally{b(s)}}function wy(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)mt(~o);else{let i=o,s=n[++r],a=n[++r];mg(s,i);let c=t[i];a(2,c)}}}finally{mt(-1)}}function Wo(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[je]=o,d[v]=r|4|128|8|64|1024,(l!==null||e&&e[v]&2048)&&(d[v]|=2048),Mu(d),d[Z]=d[Xt]=e,d[X]=n,d[Re]=s||e&&e[Re],d[O]=a||e&&e[O],d[De]=c||e&&e[De]||null,d[ne]=i,d[xo]=Jg(),d[Gt]=u,d[vu]=l,d[ae]=t.type==2?e[ae]:d,d}function Tt(e,t,n,r,o){let i=e.data[t];if(i===null)i=Ha(e,t,n,r,o),gg()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=On();i.injectorIndex=s===null?-1:s.injectorIndex}return we(i,!0),i}function Ha(e,t,n,r,o){let i=Nu(),s=ma(),a=s?i:i&&i.parent,c=e.data[t]=Ty(e,a,n,t,r,o);return e.firstChild===null&&(e.firstChild=c),i!==null&&(s?i.child==null&&c.parent!==null&&(i.child=c):i.next===null&&(i.next=c,c.prev=i)),c}function Yn(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 Bd(e,t,n,r,o){let i=He(),s=r&2;try{mt(-1),s&&t.length>L&&Hd(e,t,L,!1),Ce(s?2:0,o),n(r,o)}finally{mt(i),Ce(s?3:1,o)}}function $a(e,t,n){if(da(t)){let r=b(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{b(r)}}}function Ba(e,t,n){xu()&&(ky(e,t,n,me(n,t)),(n.flags&64)===64&&Wd(e,t,n))}function Ua(e,t,n=me){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 Ud(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=qa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function qa(e,t,n,r,o,i,s,a,c,l,u){let d=L+r,p=d+o,f=by(d,p),h=typeof l=="function"?l():l;return f[I]={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 by(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Y);return n}function Cy(e,t,n,r){let i=r.get(im,cd)||n===kn.ShadowDom,s=e.selectRootElement(t,i);return My(s),s}function My(e){_y(e)}var _y=()=>null;function xy(e,t,n,r){let o=Zd(t);o.push(n),e.firstCreatePass&&Yd(e).push(r,o.length-1)}function Ty(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return Tu()&&(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 Il(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=Ke.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?El(r,n,l,a,c):El(r,n,l,a)}return r}function El(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 Ny(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=Il(0,d.inputs,u,c,f),l=Il(1,d.outputs,u,l,h);let g=c!==null&&s!==null&&!Va(t)?qy(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 Sy(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function rn(e,t,n,r,o,i,s,a){let c=me(t,n),l=t.inputs,u;!a&&l!=null&&(u=l[r])?(Ga(e,n,u,r,o),To(t)&&Oy(n,t.index)):t.type&3?(r=Sy(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function Oy(e,t){let n=Xe(t,e);n[v]&16||(n[v]|=64)}function Wa(e,t,n,r){if(xu()){let o=r===null?null:{"":-1},i=Ly(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&qd(e,t,n,s,o,a),o&&Fy(n,r,o)}n.mergedAttrs=Rn(n.mergedAttrs,n.attrs)}function qd(e,t,n,r,o,i){for(let l=0;l<r.length;l++)Ki(Kr(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=Yn(e,t,r.length,null);for(let l=0;l<r.length;l++){let u=r[l];n.mergedAttrs=Rn(n.mergedAttrs,u.hostAttrs),Hy(e,n,t,c,u),jy(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++}Ny(e,n,i)}function Ry(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Ay(s)!=a&&s.push(a),s.push(n,r,i)}}function Ay(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function ky(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;To(n)&&$y(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Kr(n,t),xe(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],l=vt(t,e,a,n);if(xe(l,t),s!==null&&Uy(t,a-o,l,c,n,s),Ye(c)){let u=Xe(n.index,t);u[X]=vt(t,e,a,n)}}}function Wd(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=yg();try{mt(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];Zi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&Py(c,l)}}finally{mt(-1),Zi(s)}}function Py(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Ly(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(Vd(t,s.selectors,!1))if(r||(r=[]),Ye(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;Es(e,t,c)}else r.unshift(s),Es(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function Es(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Fy(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 M(-301,!1);r.push(t[o],i)}}}function jy(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ye(t)&&(n[""]=e)}}function Vy(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Hy(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=dt(o.type,!0)),s=new yt(i,Ye(o),qo);e.blueprint[r]=s,n[r]=s,Ry(e,t,r,Yn(e,n,o.hostVars,Y),o)}function zd(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function $y(e,t,n){let r=me(t,e),o=Ud(n),i=e[Re].rendererFactory,s=zo(e,Wo(e,o,null,zd(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=me(e,t);za(t[O],s,i,e.value,n,r,o)}function za(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?Ie(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Uy(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],l=s[a++],u=s[a++],d=s[a++];$d(r,n,c,l,u,d)}}function qy(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 Gd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Qd(e,t){let n=e.contentQueries;if(n!==null){let r=b(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Ao(i),a.contentQueries(2,t[s],s)}}}finally{b(r)}}}function zo(e,t){return e[Sn]?e[Jc][Ee]=t:e[Sn]=t,e[Jc]=t,t}function Ds(e,t,n){Ao(0);let r=b(null);try{t(e,n)}finally{b(r)}}function Zd(e){return e[Wr]??=[]}function Yd(e){return e.cleanup??=[]}function Go(e,t){let n=e[De],r=n?n.get(Je,null):null;r&&r.handleError(t)}function Ga(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];$d(u,l,r,a,c,o)}}function Jd(e,t,n){let r=So(t,e);wd(e[O],r,n)}function Wy(e,t){let n=Xe(t,e),r=n[I];zy(r,n);let o=n[je];o!==null&&n[Gt]===null&&(n[Gt]=Na(o,n[De])),Qa(r,n,n[X])}function zy(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function Qa(e,t,n){Ea(t);try{let r=e.viewQuery;r!==null&&Ds(1,r,n);let o=e.template;o!==null&&Bd(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[Ae]?.finishViewCreation(e),e.staticContentQueries&&Qd(e,t),e.staticViewQueries&&Ds(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[v]&=-5,Da()}}function Gy(e,t){for(let n=0;n<t.length;n++)Wy(e,t[n])}function on(e,t,n,r){let o=b(null);try{let i=t.tView,a=e[v]&4096?4096:16,c=Wo(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[t.index];c[ft]=l;let u=e[Ae];return u!==null&&(c[Ae]=u.createEmbeddedView(i)),Qa(i,c,n),c}finally{b(o)}}function Kd(e,t){let n=ee+t;if(n<e.length)return e[n]}function Et(e,t){return!t||t.firstChild===null||td(e)}function sn(e,t,n,r=!0){let o=t[I];if(ny(o,t,e,n),r){let s=Is(n,e),a=t[O],c=Fa(a,e[ht]);c!==null&&ey(o,e[ne],a,t,c,s)}let i=t[Gt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Za(e,t){let n=Pn(e,t);return n!==void 0&&$o(n[I],n),n}function oo(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(ge(i)),Ve(i)&&Qy(i,r);let s=n.type;if(s&8)oo(e,t,n.child,r);else if(s&32){let a=ka(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=Ad(t,n);if(Array.isArray(a))r.push(...a);else{let c=gt(t[ae]);oo(c[I],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Qy(e,t){for(let n=ee;n<e.length;n++){let r=e[n],o=r[I].firstChild;o!==null&&oo(r[I],r,o,t)}e[ht]!==e[je]&&t.push(e[ht])}var Xd=[];function Zy(e){return e[fe]??Yy(e)}function Yy(e){let t=Xd.pop()??Object.create(Ky);return t.lView=e,t}function Jy(e){e.lView[fe]!==e&&(e.lView=null,Xd.push(e))}var Ky=ue(le({},at),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{qn(e.lView)},consumerOnSignalRead(){this.lView[fe]=this}});function Xy(e){let t=e[fe]??Object.create(ev);return t.lView=e,t}var ev=ue(le({},at),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=gt(e.lView);for(;t&&!ef(t[I]);)t=gt(t);t&&ha(t)},consumerOnSignalRead(){this.lView[fe]=this}});function ef(e){return e.type!==2}function tf(e){if(e[pt]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[pt])r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));t=n&&!!(e[v]&8192)}}var tv=100;function nf(e,t=!0,n=0){let o=e[Re].rendererFactory,i=!1;i||o.begin?.();try{nv(e,n)}catch(s){throw t&&Go(e,s),s}finally{i||o.end?.()}}function nv(e,t){let n=Su();try{Qr(!0),ws(e,t);let r=0;for(;Oo(e);){if(r===tv)throw new M(103,!1);r++,ws(e,1)}}finally{Qr(n)}}function rv(e,t,n,r){let o=t[v];if((o&256)===256)return;let i=!1,s=!1;Ea(t);let a=!0,c=null,l=null;i||(ef(e)?(l=Zy(t),c=Pt(l)):Ac()===null?(a=!1,l=Xy(t),c=Pt(l)):t[fe]&&(Lt(t[fe]),t[fe]=null));try{Mu(t),hg(e.bindingStartIndex),n!==null&&Bd(e,t,n,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Rr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ar(t,f,0,null),Mi(t,0)}if(s||ov(t),tf(t),rf(t,0),e.contentQueries!==null&&Qd(e,t),!i)if(u){let f=e.contentCheckHooks;f!==null&&Rr(t,f)}else{let f=e.contentHooks;f!==null&&Ar(t,f,1),Mi(t,1)}wy(e,t);let d=e.components;d!==null&&sf(t,d,0);let p=e.viewQuery;if(p!==null&&Ds(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Rr(t,f)}else{let f=e.viewHooks;f!==null&&Ar(t,f,2),Mi(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[Or]){for(let f of t[Or])f();t[Or]=null}i||(t[v]&=-73)}catch(u){throw i||qn(t),u}finally{l!==null&&(mn(l,c),a&&Jy(l)),Da()}}function rf(e,t){for(let n=od(e);n!==null;n=id(n))for(let r=ee;r<n.length;r++){let o=n[r];of(o,t)}}function ov(e){for(let t=od(e);t!==null;t=id(t)){if(!(t[v]&Gr.HasTransplantedViews))continue;let n=t[Qt];for(let r=0;r<n.length;r++){let o=n[r];ha(o)}}}function iv(e,t,n){let r=Xe(t,e);of(r,n)}function of(e,t){pa(e)&&ws(e,t)}function ws(e,t){let r=e[I],o=e[v],i=e[fe],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&yn(i)),s||=!1,i&&(i.dirty=!1),e[v]&=-9217,s)rv(r,e,r.template,e[X]);else if(o&8192){tf(e),rf(e,1);let a=r.components;a!==null&&sf(e,a,1)}}function sf(e,t,n){for(let r=0;r<t.length;r++)iv(e,t[r],n)}function Qo(e,t){let n=Su()?64:1088;for(e[Re].changeDetectionScheduler?.notify(t);e;){e[v]|=n;let r=gt(e);if(Wi(e)&&!r)return e;e=r}return null}var Dt=class{_lView;_cdRefInjectingView;notifyErrorHandler;_appRef=null;_attachedToViewContainer=!1;get rootNodes(){let t=this._lView,n=t[I];return oo(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[v]&9280)||!!this._lView[fe]?.dirty}set context(t){this._lView[X]=t}get destroyed(){return(this._lView[v]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[Z];if(Ve(t)){let n=t[zr],r=n?n.indexOf(this):-1;r>-1&&(Pn(t,r),Br(n,r))}this._attachedToViewContainer=!1}$o(this._lView[I],this._lView)}onDestroy(t){ga(this._lView,t)}markForCheck(){Qo(this._cdRefInjectingView||this._lView,4)}markForRefresh(){ha(this._cdRefInjectingView||this._lView)}detach(){this._lView[v]&=-129}reattach(){Gi(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,nf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Wi(this._lView),n=this._lView[ft];n!==null&&!t&&La(n,this._lView),Cd(this._lView[I],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t;let n=Wi(this._lView),r=this._lView[ft];r!==null&&!n&&Md(r,this._lView),Gi(this._lView)}},io=(()=>{class e{static __NG_ELEMENT_ID__=cv}return e})(),sv=io,av=class extends sv{_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=on(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Dt(o)}};function cv(){return Zo(W(),y())}function Zo(e,t){return e.type&4?new av(t,e,tn(e,t)):null}function af(e,t,n){let r=t.insertBeforeIndex,o=Array.isArray(r)?r[0]:r;return o===null?Sd(e,t,n):ge(n[o])}function cf(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]];It(e,s,l,a,!1)}}}function lf(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){let r=e[n];uf(r)||lv(r,t)&&uv(r)===null&&dv(r,t.index)}}function uf(e){return!(e.type&64)}function lv(e,t){return uf(t)||e.index>t.index}function uv(e){let t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function dv(e,t){let n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Rd(af,cf),e.insertBeforeIndex=t)}function bn(e,t){let n=e.data[t];return n===null||typeof n=="string"?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function fv(e,t,n){let r=e.data[t];r===null?e.data[t]=n:r.value=n}function pv(e,t){let n=e.insertBeforeIndex;n===null?(Rd(af,cf),n=e.insertBeforeIndex=[null,t]):(mh(Array.isArray(n),!0,"Expecting array here"),n.push(t))}function hv(e,t,n){let r=Ha(e,n,64,null,null);return lf(t,r),r}function Yo(e,t){let n=t[e.currentCaseLViewIndex];return n===null?n:n<0?~n:n}function gv(e){return e>>>17}function mv(e){return(e&131070)>>>1}function yv(e,t,n){return e|t<<17|n<<1}function vv(e){return e===-1}function df(e,t,n){e.index=0;let r=Yo(t,n);r!==null?e.removes=t.remove[r]:e.removes=K}function bs(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[I].data[n];return df(e,r,e.lView),bs(e)}}else return e.stack.length===0?null:(e.removes=e.stack.pop(),e.index=e.stack.pop(),bs(e))}function Iv(){let e={stack:[],index:-1};function t(n,r){for(e.lView=r;e.stack.length;)e.stack.pop();return df(e,n.value,r),bs.bind(null,e)}return t}var XT=new RegExp(`^(\\d+)*(${rm}|${nm})*(.*)`);var Ev=()=>{};function Dv(e,t,n,r){Ev(e,t,n,r)}var wv=()=>{};function bv(e,t,n){wv(e,t,n)}var Cv=()=>null;function Zt(e,t){return Cv(e,t)}var Cs=class{},so=class{},Ms=class{resolveComponentFactory(t){throw Error(`No component factory found for ${de(t)}.`)}},Yt=class{static NULL=new Ms},ao=class{},eN=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Mv()}return e})();function Mv(){let e=y(),t=W(),n=Xe(t.index,e);return(Qe(n)?n:e)[O]}var _v=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>null})}return e})();function co(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 lo=class extends Yt{ngModule;constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=_e(t);return new wt(n,this.ngModule)}};function Dl(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]:Ke.None;t?n.push({propName:s,templateName:r,isSignal:(a&Ke.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function xv(e){let t=e.toLowerCase();return t==="svg"?Cu:t==="math"?og:null}var wt=class extends so{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;get inputs(){let t=this.componentDef,n=t.inputTransforms,r=Dl(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 Dl(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=b(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 qt(t,s):t,c=a.get(ao,null);if(c===null)throw new M(407,!1);let l=a.get(_v,null),u=a.get(Le,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):Pa(p,f,xv(f)),g=512;this.componentDef.signals?g|=4096:this.componentDef.onPush||(g|=16);let E=null;h!==null&&(E=Na(h,a,!0));let m=qa(0,null,null,1,0,null,null,null,null,null,null),x=Wo(null,m,null,g,null,null,d,p,a,null,E);Ea(x);let U,j,z=null;try{let G=this.componentDef,re,Nt=null;G.findHostDirectiveDefs?(re=[],Nt=new Map,G.findHostDirectiveDefs(G,re,Nt),re.push(G)):re=[G];let nc=Tv(x,h);z=Nv(nc,h,G,re,x,d,p),j=Un(m,L),h&&Rv(p,G,h,r),n!==void 0&&Av(j,this.ngContentSelectors,n),U=Ov(z,G,re,Nt,x,[kv]),Qa(m,x,null)}catch(G){throw z!==null&&rs(z),rs(x),G}finally{Da()}return new _s(this.componentType,U,tn(j,x),x,j)}finally{b(i)}}},_s=class extends Cs{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 Dt(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;Ga(i[I],i,o,t,n),this.previousInputValues.set(t,n);let s=Xe(this._tNode.index,i);Qo(s,1)}}get injector(){return new ut(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function Tv(e,t){let n=e[I],r=L;return e[r]=t,Tt(n,r,2,"#host",null)}function Nv(e,t,n,r,o,i,s){let a=o[I];Sv(r,e,t,s);let c=null;t!==null&&(c=Na(t,o[De]));let l=i.rendererFactory.createRenderer(t,n),u=Wo(o,Ud(n),null,zd(n),o[e.index],e,i,l,null,null,c);return a.firstCreatePass&&Es(a,e,r.length-1),zo(o,u),o[e.index]=u}function Sv(e,t,n,r){for(let o of e)t.mergedAttrs=Rn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(co(t,t.mergedAttrs,!0),n!==null&&Fd(r,n,t))}function Ov(e,t,n,r,o,i){let s=W(),a=o[I],c=me(s,o);qd(a,o,s,n,null,r);for(let u=0;u<n.length;u++){let d=s.directiveStart+u,p=vt(o,a,d,s);xe(p,o)}Wd(a,o,s),c&&xe(c,o);let l=vt(o,a,s.directiveStart+s.componentOffset,s);if(e[X]=o[X]=l,i!==null)for(let u of i)u(l,t);return $a(a,s,o),l}function Rv(e,t,n,r){if(r)Yi(e,n,["ng-version","19.0.4"]);else{let{attrs:o,classes:i}=Dy(t.selectors[0]);o&&Yi(e,n,o),i&&i.length>0&&Ld(e,n,i.join(" "))}}function Av(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 kv(){let e=W();ko(y()[I],e)}var Ya=(()=>{class e{static __NG_ELEMENT_ID__=Pv}return e})();function Pv(){let e=W();return pf(e,y())}var Lv=Ya,ff=class extends Lv{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return tn(this._hostTNode,this._hostLView)}get injector(){return new ut(this._hostTNode,this._hostLView)}get parentInjector(){let t=wa(this._hostTNode,this._hostLView);if(Hu(t)){let n=Yr(t,this._hostLView),r=Zr(t),o=n[I].data[r+8];return new ut(o,n)}else return new ut(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=wl(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=Zt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Et(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Xh(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 wt(_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=Zt(this._lContainer,u?.id??null),p=d?.firstChild??null,f=c.create(l,o,p,i);return this.insertImpl(f.hostView,a,Et(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(sg(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[Z],l=new ff(c,c[ne],c[Z]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return sn(s,o,i,r),t.attachToViewContainerRef(),cu(Si(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=wl(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=Pn(this._lContainer,n);r&&(Br(Si(this._lContainer),n),$o(r[I],r))}detach(t){let n=this._adjustIndex(t,-1),r=Pn(this._lContainer,n);return r&&Br(Si(this._lContainer),n)!=null?new Dt(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function wl(e){return e[zr]}function Si(e){return e[zr]||(e[zr]=[])}function pf(e,t){let n,r=t[e.index];return Ve(r)?n=r:(n=Gd(r,t,null,e),t[e.index]=n,zo(t,n)),jv(n,t,e,r),new ff(n,e,t)}function Fv(e,t){let n=e[O],r=n.createComment(""),o=me(t,e),i=Fa(n,o);return It(n,i,r,iy(n,o),!1),r}var jv=Hv,Vv=()=>!1;function hf(e,t,n){return Vv(e,t,n)}function Hv(e,t,n,r){if(e[ht])return;let o;n.type&8?o=ge(r):o=Fv(t,n),e[ht]=o}var xs=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Ts=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++)Ka(t,n).matches!==null&&this.queries[n].setDirty()}},uo=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=zv(t):this.predicate=t}},Ns=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)}},Ss=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,$v(n,i)),this.matchTNodeWithReadOption(t,n,kr(n,t,i,!1,!1))}else r===io?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,kr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===Po||o===Ya||o===io&&n.type&4)this.addMatch(n.index,-2);else{let i=kr(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 $v(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 Bv(e,t){return e.type&11?tn(e,t):e.type&4?Zo(e,t):null}function Uv(e,t,n,r){return n===-1?Bv(t,e):n===-2?qv(e,t,r):vt(e,e[I],n,t)}function qv(e,t,n){if(n===Po)return tn(t,e);if(n===io)return Zo(t,e);if(n===Ya)return pf(t,e)}function gf(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(Uv(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function Os(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=gf(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[ft]===p[Z]&&Os(p[I],p,l,r)}if(u[Qt]!==null){let d=u[Qt];for(let p=0;p<d.length;p++){let f=d[p];Os(f[I],f,l,r)}}}}}return r}function Ja(e,t){return e[Ae].queries[t].queryList}function mf(e,t,n){let r=new ns((n&4)===4);return xy(e,t,r,r.destroy),(t[Ae]??=new Ts).queries.push(new xs(r))-1}function Wv(e,t,n){let r=A();return r.firstCreatePass&&(vf(r,new uo(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),mf(r,y(),t)}function yf(e,t,n,r){let o=A();if(o.firstCreatePass){let i=W();vf(o,new uo(t,n,r),i.index),Gv(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return mf(o,y(),n)}function zv(e){return e.split(",").map(t=>t.trim())}function vf(e,t,n){e.queries===null&&(e.queries=new Ns),e.queries.track(new Ss(t,n))}function Gv(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 Ka(e,t){return e.queries.getByIndex(t)}function If(e,t){let n=e[I],r=Ka(n,t);return r.crossesNgTemplate?Os(n,e,t,[]):gf(n,e,r,t)}function Qv(e){return typeof e=="function"&&e[H]!==void 0}function Cn(e,t){Te("NgSignals");let n=Uc(e),r=n[H];return t?.equal&&(r.equal=t.equal),n.set=o=>vn(r,o),n.update=o=>qc(r,o),n.asReadonly=Ef.bind(n),n}function Ef(){let e=this[H];if(e.readonlyFn===void 0){let t=()=>this();t[H]=e,e.readonlyFn=t}return e.readonlyFn}function Df(e){return Qv(e)&&typeof e.set=="function"}function Xa(e,t,n){let r,o=Di(()=>{r._dirtyCounter();let i=Kv(r,e);if(t&&i===void 0)throw new M(-951,!1);return i});return r=o[H],r._dirtyCounter=Cn(0),r._flatValue=void 0,o}function Zv(e){return Xa(!0,!1,e)}function Yv(e){return Xa(!0,!0,e)}function Jv(e){return Xa(!1,!1,e)}function wf(e,t){let n=e[H];n._lView=y(),n._queryIndex=t,n._queryList=Ja(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Kv(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[v]&4)return t?void 0:K;let o=Ja(n,r),i=If(n,r);return o.reset(i,ed),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function bl(e,t){return Zv(t)}function Xv(e,t){return Yv(t)}var nN=(bl.required=Xv,bl);function rN(e,t){return Jv(t)}function bf(e,t){let n=Object.create(Zl),r=new no;n.value=e;function o(){return gn(n),Cl(n.value),n.value}return o[H]=n,o.asReadonly=Ef.bind(o),o.set=i=>{n.equal(n.value,i)||(vn(n,i),r.emit(i))},o.update=i=>{Cl(n.value),o.set(i(n.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function Cl(e){if(e===Do)throw new M(952,!1)}function Ml(e,t){return bf(e,t)}function eI(e){return bf(Do,e)}var oN=(Ml.required=eI,Ml);var bt=class{},Rs=class{};function iN(e,t){return new fo(e,t??null,[])}var fo=class extends bt{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new lo(this);constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=du(t);this._bootstrapComponents=Ed(i.bootstrap),this._r3Injector=Zu(t,n,[{provide:bt,useValue:this},{provide:Yt,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)}},As=class extends Rs{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new fo(this.moduleType,t,[])}};var po=class extends bt{injector;componentFactoryResolver=new lo(this);instance=null;constructor(t){super();let n=new Nn([...t.providers,{provide:bt,useValue:this},{provide:Yt,useValue:this.componentFactoryResolver}],t.parent||Mo(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function Cf(e,t,n=null){return new po({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var tI=(()=>{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=la(!1,n.type),o=r.length>0?Cf([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=F({token:e,providedIn:"environment",factory:()=>new e(Ze(Oe))})}return e})();function sN(e){return $n(()=>{let t=Mf(e),n=ue(le({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===nd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(tI).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||kn.Emulated,styles:e.styles||K,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&Te("NgStandalone"),_f(n);let r=e.dependencies;return n.directiveDefs=xl(r,!1),n.pipeDefs=xl(r,!0),n.id=oI(n),n})}function nI(e){return _e(e)||aa(e)}function rI(e){return e!==null}function aN(e){return $n(()=>({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 _l(e,t){if(e==null)return Wt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Ke.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Ke.None?[r,a]:r,t[i]=s):n[i]=r}return n}function cN(e){return $n(()=>{let t=Mf(e);return _f(t),t})}function lN(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 Mf(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||Wt,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:_l(e.inputs,t),outputs:_l(e.outputs),debugInfo:null}}function _f(e){e.features?.forEach(t=>t(e))}function xl(e,t){if(!e)return null;let n=t?ca:nI;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(rI)}function oI(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 iI(e){return Object.getPrototypeOf(e.prototype).constructor}function sI(e){let t=iI(e.type),n=!0,r=[e];for(;t;){let o;if(Ye(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);let s=e;s.inputs=xr(e.inputs),s.inputTransforms=xr(e.inputTransforms),s.declaredInputs=xr(e.declaredInputs),s.outputs=xr(e.outputs);let a=o.hostBindings;a&&dI(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&lI(e,c),l&&uI(e,l),aI(e,o),hh(e.outputs,o.outputs),Ye(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===sI&&(n=!1)}}t=Object.getPrototypeOf(t)}cI(r)}function aI(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 cI(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=Rn(o.hostAttrs,n=Rn(n,o.hostAttrs))}}function xr(e){return e===Wt?{}:e===K?[]:e}function lI(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function uI(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function dI(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function uN(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 xf(e){return ec(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function fI(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 ec(e){return e!==null&&(typeof e=="function"||typeof e=="object")}function Jo(e,t,n){return e[t]=n}function pI(e,t){return e[t]}function ce(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Ln(e,t,n,r){let o=ce(e,t,n);return ce(e,t+1,r)||o}function hI(e,t,n,r,o){let i=Ln(e,t,n,r);return ce(e,t+2,o)||i}function gI(e,t,n,r,o,i){let s=Ln(e,t,n,r);return Ln(e,t+2,o,i)||s}function mI(e){return(e.flags&32)===32}function yI(e,t,n,r,o,i,s,a,c){let l=t.consts,u=Tt(t,e,4,s||null,a||null);Wa(t,n,u,ke(l,c)),ko(t,u);let d=u.tView=qa(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 Fn(e,t,n,r,o,i,s,a,c,l){let u=n+L,d=t.firstCreatePass?yI(u,t,e,r,o,i,s,a,c):t.data[u];we(d,!1);let p=II(t,e,d,n);Wn()&&Bo(t,e,p,d),xe(p,e);let f=Gd(p,e,p,d);return e[u]=f,zo(e,f),hf(f,d,e),No(d)&&Ba(t,e,d),c!=null&&Ua(e,d,l),d}function vI(e,t,n,r,o,i,s,a){let c=y(),l=A(),u=ke(l.consts,i);return Fn(c,l,e,t,n,r,o,u,s,a),vI}var II=EI;function EI(e,t,n,r){return zn(!0),t[O].createComment("")}var DI=(()=>{class e{cachedInjectors=new Map;getOrCreateInjector(n,r,o,i){if(!this.cachedInjectors.has(n)){let s=o.length>0?Cf(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=F({token:e,providedIn:"environment",factory:()=>new e})}return e})();var wI=new R("");function Oi(e,t,n){return e.get(DI).getOrCreateInjector(t,e,n,"")}function bI(e,t,n){if(e instanceof qt){let o=e.injector,i=e.parentInjector,s=Oi(i,t,n);return new qt(o,s)}let r=e.get(Oe);if(r!==e){let o=Oi(r,t,n);return new qt(e,o)}return Oi(e,t,n)}function lt(e,t,n,r=!1){let o=n[Z],i=o[I];if(eg(o))return;let s=Gn(o,t),a=s[Fo],c=s[ym];if(!(c!==null&&e<c)&&Tl(a,e)&&Tl(s[pm]??-1,e)){let l=Qn(i,t),d=!r&&!0&&(bm(l)!==null||dl(l,B.Loading)!==null||dl(l,B.Placeholder))?xI:MI;try{d(e,s,n,t,o)}catch(p){Go(o,p)}}}function CI(e,t){let n=e[Bt];return n===null||n.length===0?null:n.find(r=>r.data[ad]===t[Fo])??null}function MI(e,t,n,r,o){let i=wm(e,o,r);if(i!==null){t[Fo]=e;let s=o[I],a=i+L,c=Un(s,a),l=0;Za(n,l);let u;if(e===B.Complete){let f=Qn(s,r),h=f.providers;h&&h.length>0&&(u=bI(o[De],f,h))}let d=CI(n,t);if(n[Bt]===null||n[Bt].length===0||d){n[Bt]=null;let f=on(o,c,null,{injector:u,dehydratedView:d});sn(n,f,l,Et(c,d)),Qo(f,2)}if(e===B.Complete&&Array.isArray(t[Ti])){for(let f of t[Ti])f();t[Ti]=null}}}function Tl(e,t){return e<t}function _I(e,t){let n=e[t.index];lt(B.Placeholder,t,n)}function Nl(e,t,n){e.loadingPromise.then(()=>{e.loadingState===se.COMPLETE?lt(B.Complete,t,n):e.loadingState===se.FAILED&&lt(B.Error,t,n)})}var xI=null;var dN=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();var TI=new R("");function Tf(e){return!!e&&typeof e.then=="function"}function NI(e){return!!e&&typeof e.subscribe=="function"}var SI=new R("");var Nf=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=C(SI,{optional:!0})??[];injector=C(Pe);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=mu(this.injector,o);if(Tf(i))n.push(i);else if(NI(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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Sf=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:()=>new ho})}return e})(),ho=class{queuedEffectCount=0;queues=new Map;schedule(t){this.enqueue(t)}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()}},OI=new R("");function RI(){Bc(()=>{throw new M(600,!1)})}function AI(e){return e.isBoundToModule}var kI=10;function PI(e,t,n){try{let r=n();return Tf(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Ko=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(zg);afterRenderManager=C(ld);zonelessEnabled=C(ba);rootEffectScheduler=C(Sf);dirtyFlags=0;deferredDirtyFlags=0;tracingSnapshot=null;externalTestViews=new Set;afterTick=new he;get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];isStable=C(xt).hasPendingTasks.pipe(be(n=>!n));constructor(){C(Lo,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=C(Oe);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){let o=n instanceof so;if(!this._injector.get(Nf).done){let p=!o&&Hh(n),f=!1;throw new M(405,f)}let s;o?s=n:s=this._injector.get(Yt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=AI(s)?void 0:this._injector.get(bt),c=r||s.selector,l=s.create(Pe.NULL,[],c,a),u=l.location.nativeElement,d=l.injector.get(TI,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),Lr(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(Ta.CHANGE_DETECTION,this._tick),r.dispose();return}if(this._runningTick)throw new M(101,!1);let n=b(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,b(n),this.afterTick.next()}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(ao,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<kI;)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)LI(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})=>Oo(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;Lr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(OI,[]).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),()=>Lr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new M(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Lr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function LI(e,t,n,r){if(!n&&!Oo(e))return;nf(e,t,n&&!r?0:1)}function FI(e,t,n){let r=t[De],o=t[I];if(e.loadingState!==se.NOT_STARTED)return e.loadingPromise??Promise.resolve();let i=Gn(t,n),s=Cm(o,e);e.loadingState=se.IN_PROGRESS,Pr(1,i);let a=e.dependencyResolverFn,c=r.get(xt),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,E=_e(g)||aa(g);if(E)p.push(E);else{let m=ca(g);m&&f.push(m)}}else{d=!0;break}if(e.loadingPromise=null,c.remove(l),d){if(e.loadingState=se.FAILED,e.errorTmplIndex===null){let h="",g=new M(750,!1);Go(t,g)}}else{e.loadingState=se.COMPLETE;let h=s.tView;if(p.length>0){h.directiveRegistry=fl(h.directiveRegistry,p);let g=p.map(m=>m.type),E=la(!1,...g);e.providers=E}f.length>0&&(h.pipeRegistry=fl(h.pipeRegistry,f))}}),e.loadingPromise):(e.loadingPromise=Promise.resolve().then(()=>{e.loadingPromise=null,e.loadingState=se.COMPLETE,c.remove(l)}),e.loadingPromise)}function jI(e,t){return t[De].get(wI,null,{optional:!0})?.behavior!==ud.Manual}function VI(e,t,n){let r=t[I],o=t[n.index];if(!jI(e,t))return;let i=Gn(t,n),s=Qn(r,n);switch(dd(i),s.loadingState){case se.NOT_STARTED:lt(B.Loading,n,o),FI(s,t,n),s.loadingState===se.IN_PROGRESS&&Nl(s,n,o);break;case se.IN_PROGRESS:lt(B.Loading,n,o),Nl(s,n,o);break;case se.COMPLETE:lt(B.Complete,n,o);break;case se.FAILED:lt(B.Error,n,o);break;default:}}function HI(e,t,n){return e===0?Sl(t,n):e===2?!Sl(t,n):!0}function Sl(e,t){let n=e[De],r=Qn(e[I],t),o=xm(n),i=r.flags!==null&&(r.flags&1)===1,a=Gn(e,t)[mm]!==null;return!(i&&a&&o)}function fN(e,t,n,r,o,i,s,a,c,l){let u=y(),d=A(),p=e+L,f=Fn(u,d,e,null,0,0),h=u[De];if(d.firstCreatePass){Te("NgDefer");let z={primaryTmplIndex:t,loadingTmplIndex:r??null,placeholderTmplIndex:o??null,errorTmplIndex:i??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:n??null,loadingState:se.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,prefetchTriggers:null,flags:l??0};c?.(d,z,a,s),Dm(d,p,z)}let g=u[p];hf(g,f,u);let E=null,m=null;if(g[Bt]?.length>0){let z=g[Bt][0].data;m=z[om]??null,E=z[ad]}let x=[null,ro.Initial,null,null,null,null,m,E,null,null];Em(u,p,x);let U=null;m!==null&&(U=h.get(Mm),U.add(m,{lView:u,tNode:f,lContainer:g}));let j=()=>{dd(x),m!==null&&U?.cleanup([m])};Im(0,x,()=>_u(u,j)),ga(u,j)}function pN(e){let t=y(),n=Mt();if(!HI(0,t,n))return;let r=et();if(ce(t,r,e)){let o=b(null);try{let i=!!e,a=Gn(t,n)[Fo];i===!1&&a===ro.Initial?_I(t,n):i===!0&&(a===ro.Initial||a===B.Placeholder)&&VI(0,t,n)}finally{b(o)}}}function $I(e,t,n,r){let o=y(),i=et();if(ce(o,i,t)){let s=A(),a=Mt();By(a,o,e,t,n,r)}return $I}function Of(e,t,n,r){return ce(e,et(),n)?t+Ie(n)+r:Y}function Rf(e,t,n,r,o,i){let s=va(),a=Ln(e,s,n,o);return Ro(2),a?t+Ie(n)+r+Ie(o)+i:Y}function BI(e,t,n,r,o,i,s,a){let c=va(),l=hI(e,c,n,o,s);return Ro(3),l?t+Ie(n)+r+Ie(o)+i+Ie(s)+a:Y}function Tr(e,t){return e<<17|t<<2}function Ct(e){return e>>17&32767}function UI(e){return(e&2)==2}function qI(e,t){return e&131071|t<<17}function ks(e){return e|2}function Jt(e){return(e&131068)>>2}function Ri(e,t){return e&-131069|t<<2}function WI(e){return(e&1)===1}function Ps(e){return e|1}function zI(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=Ct(s),c=Jt(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Bn(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=Ct(e[a+1]);e[r+1]=Tr(p,a),p!==0&&(e[p+1]=Ri(e[p+1],r)),e[a+1]=qI(e[a+1],r)}else e[r+1]=Tr(a,0),a!==0&&(e[a+1]=Ri(e[a+1],r)),a=r;else e[r+1]=Tr(c,0),a===0?a=r:e[c+1]=Ri(e[c+1],r),c=r;l&&(e[r+1]=ks(e[r+1])),Ol(e,u,r,!0),Ol(e,u,r,!1),GI(t,u,e,r,i),s=Tr(a,c),i?t.classBindings=s:t.styleBindings=s}function GI(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&Bn(i,t)>=0&&(n[r+1]=Ps(n[r+1]))}function Ol(e,t,n,r){let o=e[n+1],i=t===null,s=r?Ct(o):Jt(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];QI(c,t)&&(a=!0,e[s+1]=r?Ps(l):ks(l)),s=r?Ct(l):Jt(l)}a&&(e[n+1]=r?ks(o):Ps(o))}function QI(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?Bn(e,t)>=0:!1}var $={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Af(e){return e.substring($.key,$.keyEnd)}function ZI(e){return e.substring($.value,$.valueEnd)}function YI(e){return Lf(e),kf(e,Kt(e,0,$.textEnd))}function kf(e,t){let n=$.textEnd;return n===t?-1:(t=$.keyEnd=KI(e,$.key=t,n),Kt(e,t,n))}function JI(e){return Lf(e),Pf(e,Kt(e,0,$.textEnd))}function Pf(e,t){let n=$.textEnd,r=$.key=Kt(e,t,n);return n===r?-1:(r=$.keyEnd=XI(e,r,n),r=Rl(e,r,n,58),r=$.value=Kt(e,r,n),r=$.valueEnd=eE(e,r,n),Rl(e,r,n,59))}function Lf(e){$.key=0,$.keyEnd=0,$.value=0,$.valueEnd=0,$.textEnd=e.length}function Kt(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function KI(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function XI(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 Rl(e,t,n,r){return t=Kt(e,t,n),t<n&&t++,t}function eE(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=Al(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Al(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Al(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 tE(e,t,n){let r=y(),o=et();if(ce(r,o,t)){let i=A(),s=Mt();rn(i,s,r,e,t,r[O],n,!1)}return tE}function Ls(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ga(e,n,i[s],s,r)}function nE(e,t,n){return Ff(e,t,n,!1),nE}function rE(e,t){return Ff(e,t,null,!0),rE}function hN(e){jf($f,oE,e,!1)}function oE(e,t){for(let n=JI(t);n>=0;n=Pf(t,n))$f(e,Af(t),ZI(t))}function gN(e){jf(dE,iE,e,!0)}function iE(e,t){for(let n=YI(t);n>=0;n=kf(t,n))Co(e,Af(t),!0)}function Ff(e,t,n,r){let o=y(),i=A(),s=Ro(2);if(i.firstUpdatePass&&Hf(i,e,s,r),t!==Y&&ce(o,s,t)){let a=i.data[He()];Bf(i,a,o,o[O],e,o[s+1]=pE(t,n),r,s)}}function jf(e,t,n,r){let o=A(),i=Ro(2);o.firstUpdatePass&&Hf(o,null,i,r);let s=y();if(n!==Y&&ce(s,i,n)){let a=o.data[He()];if(Uf(a,r)&&!Vf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ji(c,n||"")),Ls(o,a,s,n,r)}else fE(o,a,s,s[O],s[i+1],s[i+1]=uE(e,t,n),r,i)}}function Vf(e,t){return t>=e.expandoStartIndex}function Hf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[He()],s=Vf(e,n);Uf(i,r)&&t===null&&!s&&(t=!1),t=sE(o,i,t,r),zI(o,i,t,n,s,r)}}function sE(e,t,n,r){let o=vg(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ai(null,e,t,n,r),n=jn(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ai(o,e,t,n,r),i===null){let c=aE(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ai(null,e,t,c[1],r),c=jn(c,t.attrs,r),cE(e,t,r,c))}else i=lE(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function aE(e,t,n){let r=n?t.classBindings:t.styleBindings;if(Jt(r)!==0)return e[Ct(r)]}function cE(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[Ct(o)]=r}function lE(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=jn(r,s,n)}return jn(r,t.attrs,n)}function Ai(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=jn(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function jn(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]),Co(e,s,n?!0:t[++i]))}return e===void 0?null:e}function uE(e,t,n){if(n==null||n==="")return K;let r=[],o=nn(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 $f(e,t,n){Co(e,t,nn(n))}function dE(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Co(e,r,n)}function fE(e,t,n,r,o,i,s,a){o===Y&&(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&&Bf(e,t,n,r,h,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Bf(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1],u=WI(l)?kl(c,t,n,o,Jt(l),s):void 0;if(!go(u)){go(i)||UI(l)&&(i=kl(c,null,n,o,a,s));let d=So(He(),n);cy(r,s,d,o,i)}}function kl(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===Y&&(p=d?K:void 0);let f=d?bi(p,r):u===r?p:void 0;if(l&&!go(f)&&(f=bi(c,r)),go(f)&&(a=f,s))return a;let h=e[o+1];o=s?Ct(h):Jt(h)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=bi(c,r))}return a}function go(e){return e!==void 0}function pE(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=de(nn(e)))),e}function Uf(e,t){return(e.flags&(t?8:16))!==0}var Fs=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 ki(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function hE(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=ki(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=ki(s,p,c,f,n);if(h!==0){h<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,l),E=n(s,p),m=n(i,u);if(Object.is(m,E)){let x=n(c,f);Object.is(x,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,u),i++;continue}if(r??=new mo,o??=Ll(e,i,s,n),js(e,r,i,m))e.updateValue(i,u),i++,s++;else if(o.has(m))r.set(g,e.detach(i)),s--;else{let x=e.create(i,t[i]);e.attach(i,x),i++,s++}}for(;i<=c;)Pl(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=ki(i,u,i,d,n);if(p!==0)p<0&&e.updateValue(i,d),i++,l=c.next();else{r??=new mo,o??=Ll(e,i,s,n);let f=n(i,d);if(js(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;)Pl(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 js(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Pl(e,t,n,r,o){if(js(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Ll(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 mo=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 mN(e,t){Te("NgControlFlow");let n=y(),r=et(),o=n[r]!==Y?n[r]:-1,i=o!==-1?yo(n,L+o):void 0,s=0;if(ce(n,r,e)){let a=b(null);try{if(i!==void 0&&Za(i,s),e!==-1){let c=L+e,l=yo(n,c),u=Bs(n[I],c),d=Zt(l,u.tView.ssrId),p=on(n,u,t,{dehydratedView:d});sn(l,p,s,Et(u,d))}}finally{b(a)}}else if(i!==void 0){let a=Kd(i,s);a!==void 0&&(a[X]=t)}}var Vs=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 yN(e){return e}var Hs=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function vN(e,t,n,r,o,i,s,a,c,l,u,d,p){Te("NgControlFlow");let f=y(),h=A(),g=c!==void 0,E=y(),m=a?s.bind(E[ae][X]):s,x=new Hs(g,m);E[L+e]=x,Fn(f,h,e+1,t,n,r,o,ke(h.consts,i)),g&&Fn(f,h,e+2,c,l,u,d,ke(h.consts,p))}var $s=class extends Fs{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[Gt];this.needsIndexUpdate||=t!==this.length,sn(this.lContainer,n,t,Et(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,gE(this.lContainer,t)}create(t,n){let r=Zt(this.lContainer,this.templateTNode.tView.ssrId),o=on(this.hostLView,this.templateTNode,new Vs(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){$o(t[I],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 IN(e){let t=b(null),n=He();try{let r=y(),o=r[I],i=r[n],s=n+1,a=yo(r,s);if(i.liveCollection===void 0){let l=Bs(o,s);i.liveCollection=new $s(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(hE(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let l=et(),u=c.length===0;if(ce(r,l,u)){let d=n+2,p=yo(r,d);if(u){let f=Bs(o,d),h=Zt(p,f.tView.ssrId),g=on(r,f,void 0,{dehydratedView:h});sn(p,g,0,Et(f,h))}else Za(p,0)}}}finally{b(t)}}function yo(e,t){return e[t]}function gE(e,t){return Pn(e,t)}function mE(e,t){return Kd(e,t)}function Bs(e,t){return Un(e,t)}function yE(e,t,n,r,o,i){let s=t.consts,a=ke(s,o),c=Tt(t,e,2,r,a);return Wa(t,n,c,ke(s,i)),c.attrs!==null&&co(c,c.attrs,!1),c.mergedAttrs!==null&&co(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function qf(e,t,n,r){let o=y(),i=A(),s=L+e,a=o[O],c=i.firstCreatePass?yE(s,i,o,t,n,r):i.data[s],l=IE(i,o,c,a,t,e);o[s]=l;let u=No(c);return we(c,!0),Fd(a,l,c),!mI(c)&&Wn()&&Bo(i,o,l,c),cg()===0&&xe(l,o),lg(),u&&(Ba(i,o,c),$a(i,c,o)),r!==null&&Ua(o,c),qf}function Wf(){let e=W();ma()?ya():(e=e.parent,we(e,!1));let t=e;dg(t)&&fg(),ug();let n=A();return n.firstCreatePass&&(ko(n,e),da(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&Mg(t)&&Ls(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&_g(t)&&Ls(n,t,y(),t.stylesWithoutHost,!1),Wf}function vE(e,t,n,r){return qf(e,t,n,r),Wf(),vE}var IE=(e,t,n,r,o,i)=>(zn(!0),Pa(r,o,Dg()));function EE(e,t,n,r,o){let i=t.consts,s=ke(i,r),a=Tt(t,e,8,"ng-container",s);s!==null&&co(a,s,!0);let c=ke(i,o);return Wa(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function zf(e,t,n){let r=y(),o=A(),i=e+L,s=o.firstCreatePass?EE(i,o,r,t,n):o.data[i];we(s,!0);let a=wE(o,r,s,e);return r[i]=a,Wn()&&Bo(o,r,a,s),xe(a,r),No(s)&&(Ba(o,r,s),$a(o,s,r)),n!=null&&Ua(r,s),zf}function Gf(){let e=W(),t=A();return ma()?ya():(e=e.parent,we(e,!1)),t.firstCreatePass&&(ko(t,e),da(e)&&t.queries.elementEnd(e)),Gf}function DE(e,t,n){return zf(e,t,n),Gf(),DE}var wE=(e,t,n,r)=>(zn(!0),bd(t[O],""));function EN(){return y()}var ct=void 0;function bE(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var CE=["en",[["a","p"],["AM","PM"],ct],[["AM","PM"],ct,ct],[["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"]],ct,[["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"]],ct,[["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}",ct,"{1} 'at' {0}",ct],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",bE],Mn={};function DN(e,t,n){typeof t!="string"&&(n=t,t=e[Vn.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Mn[t]=e,n&&(Mn[t][Vn.ExtraData]=n)}function Qf(e){let t=_E(e),n=Fl(t);if(n)return n;let r=t.split("-")[0];if(n=Fl(r),n)return n;if(r==="en")return CE;throw new M(701,!1)}function wN(e){return Qf(e)[Vn.CurrencyCode]||null}function ME(e){return Qf(e)[Vn.PluralCase]}function Fl(e){return e in Mn||(Mn[e]=We.ng&&We.ng.common&&We.ng.common.locales&&We.ng.common.locales[e]),Mn[e]}var Vn=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}(Vn||{});function _E(e){return e.toLowerCase().replace(/_/g,"-")}var xE=["zero","one","two","few","many"];function TE(e,t){let n=ME(t)(parseInt(e,10)),r=xE[n];return r!==void 0?r:"other"}var vo="en-US",NE="USD",Zf={marker:"element"},Yf={marker:"ICU"},Se=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}(Se||{}),Jf=vo;function SE(e){typeof e=="string"&&(Jf=e.toLowerCase().replace(/_/g,"-"))}function OE(){return Jf}var Hn=0,_n=0;function RE(e){e&&(Hn=Hn|1<<Math.min(_n,31)),_n++}function AE(e,t,n){if(_n>0){let r=e.data[n],o=Array.isArray(r)?r:r.update,i=va()-_n-1;Xf(e,t,o,i,Hn)}Hn=0,_n=0}function kE(e,t,n){let r=e[O];switch(n){case Node.COMMENT_NODE:return bd(r,t);case Node.TEXT_NODE:return Dd(r,t);case Node.ELEMENT_NODE:return Pa(r,t,null)}}var Fr=(e,t,n,r)=>(zn(!0),kE(e,n,r));function PE(e,t,n,r){let o=e[O];for(let i=0;i<t.length;i++){let s=t[i++],a=t[i],c=(s&Se.COMMENT)===Se.COMMENT,l=(s&Se.APPEND_EAGERLY)===Se.APPEND_EAGERLY,u=s>>>Se.SHIFT,d=e[u],p=!1;d===null&&(d=e[u]=Fr(e,u,a,c?Node.COMMENT_NODE:Node.TEXT_NODE),p=Wn()),l&&n!==null&&p&&It(o,n,d,r,!1)}}function Kf(e,t,n,r){let o=n[O],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]=Fr(n,l,c,Node.TEXT_NODE))}else if(typeof c=="number")switch(c&1){case 0:let l=gv(c);i===null&&(i=l,s=Fa(o,r));let u,d;if(l===i?(u=r,d=s):(u=null,d=ge(n[l])),d!==null){let g=mv(c),E=n[g];It(o,d,E,u,!1);let m=bn(e,g);if(m!==null&&typeof m=="object"){let x=Yo(m,n);x!==null&&Kf(e,m.create[x],n,n[m.anchorIdx])}}break;case 1:let p=c>>>1,f=t[++a],h=t[++a];za(o,So(p,n),null,null,f,h,null);break;default:}else switch(c){case Yf:let l=t[++a],u=t[++a];if(n[u]===null){let f=n[u]=Fr(n,u,l,Node.COMMENT_NODE);xe(f,n)}break;case Zf:let d=t[++a],p=t[++a];if(n[p]===null){let f=n[p]=Fr(n,p,d,Node.ELEMENT_NODE);xe(f,n)}break;default:}}}function Xf(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+=Ie(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"?za(t[O],t[d],null,h,p,c,f):rn(e,h,t,p,c,t[O],f,!1);break;case 0:let g=t[d];g!==null&&wd(t[O],g,c);break;case 2:LE(e,bn(e,d),t,c);break;case 3:jl(e,bn(e,d),r,t);break}}}}else{let c=n[i+1];if(c>0&&(c&3)===3){let l=c>>>2,u=bn(e,l);t[u.currentCaseLViewIndex]<0&&jl(e,u,r,t)}}i+=a}}function jl(e,t,n,r){let o=r[t.currentCaseLViewIndex];if(o!==null){let i=Hn;o<0&&(o=r[t.currentCaseLViewIndex]=~o,i=-1),Xf(e,r,t.update[o],n,i)}}function LE(e,t,n,r){let o=FE(t,r);if(Yo(t,n)!==o&&(ep(e,t,n),n[t.currentCaseLViewIndex]=o===null?null:~o,o!==null)){let s=n[t.anchorIdx];s&&Kf(e,t.create[o],n,s),bv(n,t.anchorIdx,o)}}function ep(e,t,n){let r=Yo(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=So(s,n);a!==null&&kd(n[O],a)}else ep(e,bn(e,~s),n)}}}function FE(e,t){let n=e.cases.indexOf(t);if(n===-1)switch(e.type){case 1:{let r=TE(t,OE());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 Io=/�(\d+):?\d*�/gi;var jE=/�(\d+)�/,tp=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,xn="\uFFFD",VE=/�\/?\*(\d+:\d+)�/gi,HE=/�(\/?[#*]\d+):?\d*�/gi,$E=/\uE500/g;function BE(e){return e.replace($E," ")}function UE(e,t,n,r,o,i){let s=On(),a=[],c=[],l=[[]],u=[[]];o=WE(o,i);let d=BE(o).split(HE);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),E=L+Number.parseInt(f.substring(h?2:1));if(h)l.shift(),u.shift(),we(On(),!1);else{let m=hv(e,l[0],E);l.unshift([]),we(m,!0);let x={kind:2,index:E,children:[],type:g===35?0:1};u[0].push(x),u.unshift(x.children)}}else{let h=Us(f);for(let g=0;g<h.length;g++){let E=h[g];if(g&1){let m=E;if(typeof m!="object")throw new Error(`Unable to parse ICU expression in "${o}" message.`);let U=np(e,s,l[0],n,a,"",!0).index;op(u[0],e,n,c,t,m,U)}else{let m=E;m!==""&&qE(u[0],e,s,l[0],a,c,n,m)}}}}e.data[r]={create:a,update:c,ast:u[0],parentTNodeIndex:t}}function np(e,t,n,r,o,i,s){let a=Yn(e,r,1,null),c=a<<Se.SHIFT,l=On();t===l&&(l=null),l===null&&(c|=Se.APPEND_EAGERLY),s&&(c|=Se.COMMENT,Km(Iv)),o.push(c,i===null?"":i);let u=Ha(e,a,s?32:1,i===null?"":i,null);lf(n,u);let d=u.index;return we(u,!1),l!==null&&t!==l&&pv(l,d),u}function qE(e,t,n,r,o,i,s,a){let c=a.match(Io),u=np(t,n,r,s,o,c?null:a,!1).index;c&&jr(i,a,u,null,0,null),e.push({kind:0,index:u})}function jr(e,t,n,r,o,i){let s=e.length,a=s+1;e.push(null,null);let c=s+2,l=t.split(Io),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|rp(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 rp(e){return 1<<Math.min(e,31)}function Vl(e){let t,n="",r=0,o=!1,i;for(;(t=VE.exec(e))!==null;)o?t[0]===`${xn}/*${i}${xn}`&&(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 WE(e,t){if(vv(t))return Vl(e);{let n=e.indexOf(`:${t}${xn}`)+2+t.toString().length,r=e.search(new RegExp(`${xn}\\/\\*\\d+:${t}${xn}`));return Vl(e.substring(n,r))}}function op(e,t,n,r,o,i,s){let a=0,c={type:i.type,currentCaseLViewIndex:Yn(t,n,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};ZE(r,i,s),fv(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 E=p[g];if(typeof E!="string"){let m=f.push(E)-1;p[g]=`<!--\uFFFD${m}\uFFFD-->`}}let h=[];u.push(h),a=GE(h,t,c,n,r,o,i.cases[d],p.join(""),f)|a}a&&YE(r,a,s),e.push({kind:3,index:s,cases:u,currentCaseLViewIndex:c.currentCaseLViewIndex})}function zE(e){let t=[],n=[],r=1,o=0;e=e.replace(tp,function(s,a,c){return c==="select"?r=0:r=1,o=parseInt(a.slice(1),10),""});let i=Us(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=Us(i[s++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:o,cases:t,values:n}}function Us(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);tp.test(c)?r.push(zE(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 GE(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=hd(xa()).getInertBodyElement(a),h=gs(f)||f;return h?ip(e,t,n,r,o,l,u,d,h,i,c,0):0}function ip(e,t,n,r,o,i,s,a,c,l,u,d){let p=0,f=c.firstChild;for(;f;){let h=Yn(t,r,1,null);switch(f.nodeType){case Node.ELEMENT_NODE:let g=f,E=g.tagName.toLowerCase();if(ps.hasOwnProperty(E)){Pi(i,Zf,E,l,h),t.data[h]=E;let j=g.attributes;for(let G=0;G<j.length;G++){let re=j.item(G),Nt=re.name.toLowerCase();!!re.value.match(Io)?vd.hasOwnProperty(Nt)&&(Ra[Nt]?jr(a,re.value,h,re.name,0,Oa):jr(a,re.value,h,re.name,0,null)):JE(i,h,re)}let z={kind:1,index:h,children:[]};e.push(z),p=ip(z.children,t,n,r,o,i,s,a,f,h,u,d+1)|p,Hl(s,h,d)}break;case Node.TEXT_NODE:let m=f.textContent||"",x=m.match(Io);Pi(i,null,x?"":m,l,h),Hl(s,h,d),x&&(p=jr(a,m,h,null,0,null)|p),e.push({kind:0,index:h});break;case Node.COMMENT_NODE:let U=jE.exec(f.textContent||"");if(U){let j=parseInt(U[1],10),z=u[j];Pi(i,Yf,"",l,h),op(e,t,r,o,l,z,h),QE(s,h,d)}break}f=f.nextSibling}return p}function Hl(e,t,n){n===0&&e.push(t)}function QE(e,t,n){n===0&&(e.push(~t),e.push(t))}function ZE(e,t,n){e.push(rp(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}function YE(e,t,n){e.push(t,1,n<<2|3)}function Pi(e,t,n,r,o){t!==null&&e.push(t),e.push(n,o,yv(0,r,o))}function JE(e,t,n){e.push(t<<1|1,n.name,n.value)}var $l=0,KE=/\[(�.+?�?)\]/,XE=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,eD=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,tD=/{([A-Z0-9_]+)}/g,nD=/�I18N_EXP_(ICU(_\d+)?)�/g,rD=/\/\*/,oD=/\d+\:(\d+)/;function iD(e,t={}){let n=e;if(KE.test(e)){let r={},o=[$l];n=n.replace(XE,(i,s,a)=>{let c=s||a,l=r[c]||[];if(l.length||(c.split("|").forEach(g=>{let E=g.match(oD),m=E?parseInt(E[1],10):$l,x=rD.test(g);l.push([m,x,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(eD,(r,o,i,s,a,c)=>t.hasOwnProperty(i)?`${o}${t[i]}${c}`:r),n=n.replace(tD,(r,o)=>t.hasOwnProperty(o)?t[o]:r),n=n.replace(nD,(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 sD(e,t,n=-1){let r=A(),o=y(),i=L+e,s=ke(r.consts,t),a=On();if(r.firstCreatePass&&UE(r,a===null?0:a.index,o,i,s,n),r.type===2){let p=o[ae];p[v]|=32}else o[v]|=32;let c=r.data[i],l=a===o[ne]?null:a,u=xd(r,l,o),d=a&&a.type&8?o[a.index]:null;Dv(o,i,a,n),PE(o,c.create,u,d),Ou(!0)}function aD(){Ou(!1)}function bN(e,t,n){sD(e,t,n),aD()}function cD(e){let t=y();return RE(ce(t,et(),e)),cD}function CN(e){AE(A(),y(),e+L)}function MN(e,t={}){return iD(e,t)}var lD=(e,t,n)=>{};function uD(e,t,n,r){let o=y(),i=A(),s=W();return sp(i,o,o[O],s,e,t,r),uD}function dD(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[Wr],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function sp(e,t,n,r,o,i,s){let a=No(r),l=e.firstCreatePass&&Yd(e),u=t[X],d=Zd(t),p=!0;if(r.type&3||s){let g=me(r,t),E=s?s(g):g,m=d.length,x=s?j=>s(ge(j[r.index])):r.index,U=null;if(!s&&a&&(U=dD(e,t,o,r.index)),U!==null){let j=U.__ngLastListenerFn__||U;j.__ngNextListenerFn__=i,U.__ngLastListenerFn__=i,p=!1}else{i=Ul(r,t,u,i),lD(g,o,i);let j=n.listen(E,o,i);d.push(i,j),l&&l.push(o,x,m,m+1)}}else i=Ul(r,t,u,i);let f=r.outputs,h;if(p&&f!==null&&(h=f[o])){let g=h.length;if(g)for(let E=0;E<g;E+=2){let m=h[E],x=h[E+1],z=t[m][x].subscribe(i),G=d.length;d.push(i,z),l&&l.push(o,r.index,G,-(G+1))}}}function Bl(e,t,n,r){let o=b(null);try{return Ce(6,t,n),n(r)!==!1}catch(i){return Go(e,i),!1}finally{Ce(7,t,n),b(o)}}function Ul(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?Xe(e.index,t):t;Qo(s,5);let a=Bl(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=Bl(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function _N(e=1){return Eg(e)}function fD(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?Vd(e,i,!0):vy(r,i))return o}return n}function xN(e){let t=y()[ae][ne];if(!t.projection){let n=e?e.length:1,r=t.projection=Fh(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?fD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function TN(e,t=0,n,r,o,i){let s=y(),a=A(),c=r?e+1:null;c!==null&&Fn(s,a,c,r,o,i,null,n);let l=Tt(a,L+e,16,null,n||null);l.projection===null&&(l.projection=t),ya();let d=!s[Gt]||Tu();s[ae][ne].projection[l.projection]===null&&c!==null?pD(s,a,c):d&&(l.flags&32)!==32&&sy(a,s,l)}function pD(e,t,n){let r=L+n,o=t.data[r],i=e[r],s=Zt(i,o.tView.ssrId),a=on(e,o,void 0,{dehydratedView:s});sn(i,a,0,Et(o,s))}function hD(e,t,n){return ap(e,"",t,"",n),hD}function ap(e,t,n,r,o){let i=y(),s=Of(i,t,n,r);if(s!==Y){let a=A(),c=Mt();rn(a,c,i,e,s,i[O],o,!1)}return ap}function gD(e,t,n,r,o,i,s){let a=y(),c=Rf(a,t,n,r,o,i);if(c!==Y){let l=A(),u=Mt();rn(l,u,a,e,c,a[O],s,!1)}return gD}function mD(e,t,n,r,o,i,s,a,c){let l=y(),u=BI(l,t,n,r,o,i,s,a);if(u!==Y){let d=A(),p=Mt();rn(d,p,l,e,u,l[O],c,!1)}return mD}function NN(e,t,n,r){yf(e,t,n,r)}function SN(e){let t=y(),n=A(),r=Ia();Ao(r+1);let o=Ka(n,r);if(e.dirty&&ig(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=If(t,r);e.reset(i,ed),e.notifyOnChanges()}return!0}return!1}function ON(){return Ja(y(),Ia())}function RN(e,t,n,r,o){wf(t,yf(e,n,r,o))}function AN(e,t,n,r){wf(e,Wv(t,n,r))}function kN(e=1){Ao(Ia()+e)}function cp(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function PN(e){let t=pg();return fa(t,L+e)}function LN(e,t=""){let n=y(),r=A(),o=e+L,i=r.firstCreatePass?Tt(r,o,1,t,null):r.data[o],s=yD(r,n,i,t,e);n[o]=s,Wn()&&Bo(r,n,s,i),we(i,!1)}var yD=(e,t,n,r,o)=>(zn(!0),Dd(t[O],r));function vD(e){return lp("",e,""),vD}function lp(e,t,n){let r=y(),o=Of(r,e,t,n);return o!==Y&&Jd(r,He(),o),lp}function ID(e,t,n,r,o){let i=y(),s=Rf(i,e,t,n,r,o);return s!==Y&&Jd(i,He(),s),ID}function ED(e,t,n){Df(t)&&(t=t());let r=y(),o=et();if(ce(r,o,t)){let i=A(),s=Mt();rn(i,s,r,e,t,r[O],n,!1)}return ED}function FN(e,t){let n=Df(e);return n&&e.set(t),n}function DD(e,t){let n=y(),r=A(),o=W();return sp(r,n,n[O],o,e,t),DD}var wD={};function bD(e){let t=A(),n=y(),r=e+L,o=Tt(t,r,128,null,null);return we(o,!1),cp(t,n,r,wD),bD}function CD(e,t,n){let r=A();if(r.firstCreatePass){let o=Ye(e);qs(n,r.data,r.blueprint,o,!0),qs(t,r.data,r.blueprint,o,!1)}}function qs(e,t,n,r,o){if(e=te(e),Array.isArray(e))for(let i=0;i<e.length;i++)qs(e[i],t,n,r,o);else{let i=A(),s=y(),a=W(),c=zt(e)?e:te(e.provide),l=gu(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(zt(e)||!e.multi){let f=new yt(l,o,qo),h=Fi(c,t,o?u:u+p,d);h===-1?(Ki(Kr(a,s),i,c),Li(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=Fi(c,t,u+p,d),h=Fi(c,t,u,u+p),g=f>=0&&n[f],E=h>=0&&n[h];if(o&&!E||!o&&!g){Ki(Kr(a,s),i,c);let m=xD(o?_D:MD,n.length,o,r,l);!o&&E&&(n[h].providerFactory=m),Li(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=up(n[o?h:f],l,!o&&r);Li(i,e,f>-1?f:h,m)}!o&&r&&E&&n[h].componentProviders++}}}function Li(e,t,n,r){let o=zt(t),i=zh(t);if(o||i){let c=(i?te(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 up(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Fi(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function MD(e,t,n,r){return Ws(this.multi,[])}function _D(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=vt(n,n[I],this.providerFactory.index,r);i=a.slice(0,s),Ws(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],Ws(o,i);return i}function Ws(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function xD(e,t,n,r,o){let i=new yt(e,n,qo);return i.multi=[],i.index=t,i.componentProviders=0,up(i,o,r&&!n),i}function jN(e,t=[]){return n=>{n.providersResolver=(r,o)=>CD(r,o?o(e):e,t)}}function VN(e,t,n){let r=en()+e,o=y();return o[r]===Y?Jo(o,r,n?t.call(n):t()):pI(o,r)}function HN(e,t,n,r){return dp(y(),en(),e,t,n,r)}function $N(e,t,n,r,o){return fp(y(),en(),e,t,n,r,o)}function BN(e,t,n,r,o,i,s){return TD(y(),en(),e,t,n,r,o,i,s)}function tc(e,t){let n=e[t];return n===Y?void 0:n}function dp(e,t,n,r,o,i){let s=t+n;return ce(e,s,o)?Jo(e,s+1,i?r.call(i,o):r(o)):tc(e,s+1)}function fp(e,t,n,r,o,i,s){let a=t+n;return Ln(e,a,o,i)?Jo(e,a+2,s?r.call(s,o,i):r(o,i)):tc(e,a+2)}function TD(e,t,n,r,o,i,s,a,c){let l=t+n;return gI(e,l,o,i,s,a)?Jo(e,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):tc(e,l+4)}function UN(e,t){let n=A(),r,o=e+L;n.firstCreatePass?(r=ND(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=dt(r.type,!0)),s,a=ie(qo);try{let c=Jr(!1),l=i();return Jr(c),cp(n,y(),o,l),l}finally{ie(a)}}function ND(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function qN(e,t,n){let r=e+L,o=y(),i=fa(o,r);return pp(o,r)?dp(o,en(),t,i.transform,n,i):i.transform(n)}function WN(e,t,n,r){let o=e+L,i=y(),s=fa(i,o);return pp(i,o)?fp(i,en(),t,s.transform,n,r,s):s.transform(n,r)}function pp(e,t){return e[I].data[t].pure}function zN(e,t){return Zo(e,t)}var ql=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 zs=class{ngModuleFactory;componentFactories;constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},GN=(()=>{class e{compileModuleSync(n){return new As(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=du(n),i=Ed(o.declarations).reduce((s,a)=>{let c=_e(a);return c&&s.push(new wt(c)),s},[]);return new zs(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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var SD=(()=>{class e{zone=C(pe);changeDetectionScheduler=C(Le);applicationRef=C(Ko);_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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function OD({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new pe(ue(le({},RD()),{scheduleInRootZone:n})),[{provide:pe,useFactory:e},{provide:Ur,multi:!0,useFactory:()=>{let r=C(SD,{optional:!0});return()=>r.initialize()}},{provide:Ur,multi:!0,useFactory:()=>{let r=C(AD);return()=>{r.initialize()}}},t===!0?{provide:Ju,useValue:!0}:[],{provide:Ca,useValue:n??Yu}]}function RD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var AD=(()=>{class e{subscription=new q;initialized=!1;zone=C(pe);pendingTasks=C(xt);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(()=>{pe.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{pe.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var hp=(()=>{class e{appRef=C(Ko);taskService=C(xt);ngZone=C(pe);zonelessEnabled=C(ba);tracing=C(Lo,{optional:!0});disableScheduling=C(Ju,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new q;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(eo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(Ca,{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 to||!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?ol:Ku;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(eo+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,ol(()=>{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=F({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QN(){return Te("NgZoneless"),$h([{provide:Le,useExisting:hp},{provide:pe,useClass:to},{provide:ba,useValue:!0},{provide:Ca,useValue:!1},[]])}function kD(){return typeof $localize<"u"&&$localize.locale||vo}var gp=new R("",{providedIn:"root",factory:()=>C(gp,N.Optional|N.SkipSelf)||kD()}),ZN=new R("",{providedIn:"root",factory:()=>NE});var Gs=new R("");function Nr(e){return!e.moduleRef}function PD(e){let t=Nr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(pe);return n.run(()=>{Nr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(Je,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Nr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Gs);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Gs);s.add(i),e.moduleRef.onDestroy(()=>{Lr(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return PI(r,n,()=>{let i=t.get(Nf);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(gp,vo);if(SE(s||vo),Nr(e)){let a=t.get(Ko);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return LD(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function LD(e,t){let n=e.injector.get(Ko);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new M(-403,!1);t.push(e)}var Vr=null;function FD(e=[],t){return Pe.create({name:t,providers:[{provide:hu,useValue:"platform"},{provide:Gs,useValue:new Set([()=>Vr=null])},...e]})}function jD(e=[]){if(Vr)return Vr;let t=FD(e);return Vr=t,RI(),VD(t),t}function VD(e){let t=e.get(em,null);mu(e,()=>{t?.forEach(n=>n())})}var HD=(()=>{class e{static __NG_ELEMENT_ID__=$D}return e})();function $D(e){return BD(W(),y(),(e&16)===16)}function BD(e,t,n){if(To(e)&&!n){let r=Xe(e.index,t);return new Dt(r,r)}else if(e.type&175){let r=t[ae];return new Dt(r,t)}return null}var Qs=class{constructor(){}supports(t){return xf(t)}create(t){return new Zs(t)}},UD=(e,t)=>t,Zs=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||UD}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<Wl(r,o,i)?n:r,a=Wl(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=[]),!xf(t))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,fI(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 Ys(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 Eo),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 Eo),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}},Ys=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}},Js=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}},Eo=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Js,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 Wl(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 Ks=class{constructor(){}supports(t){return t instanceof Map||ec(t)}create(){return new Xs}},Xs=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||ec(t)))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){let r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){let o=this._records.get(t);this._maybeAddToChanges(o,n);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new ea(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))}},ea=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(t){this.key=t}};function zl(){return new qD([new Qs])}var qD=(()=>{class e{factories;static \u0275prov=F({token:e,providedIn:"root",factory:zl});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||zl()),deps:[[e,new au,new su]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new M(901,!1)}}return e})();function Gl(){return new WD([new Ks])}var WD=(()=>{class e{static \u0275prov=F({token:e,providedIn:"root",factory:Gl});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||Gl()),deps:[[e,new au,new su]]}}find(n){let r=this.factories.find(o=>o.supports(n));if(r)return r;throw new M(901,!1)}}return e})();function YN(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=jD(r),i=[OD({}),{provide:Le,useExisting:hp},...n||[]],s=new po({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return PD({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function JN(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function KN(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function mp(e,t){Te("NgSignals");let n=Di(e);return t?.equal&&(n[H].equal=t.equal),n}function Dn(e){let t=b(null);try{return e()}finally{b(t)}}var yp=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=zD}return e})();function zD(){return new yp(y(),W())}var GD=!1,QD=(()=>{class e extends ho{pendingTasks=C(xt);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=F({token:e,providedIn:"root",factory:()=>new e})}return e})(),ta=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=Wc(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(Je,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.schedule(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function ZD(){}function YD(e,t){Te("NgSignals"),!t?.injector&&_o(ZD);let n=t?.injector??C(Pe),r=t?.manualCleanup!==!0?n.get(_t):null,o=new ta(n.get(QD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(HD,null,{optional:!0});return!i||!(i._lView[v]&8)?o.watcher.notify():(i._lView[Or]??=[]).push(o.watcher.notify),o}var JD=GD;var na=class{[H];constructor(t){this[H]=t}destroy(){this[H].destroy()}};function vp(e,t){if(JD)return YD(e,t);Te("NgSignals"),!t?.injector&&_o(vp);let n=t?.injector??C(Pe),r=t?.manualCleanup!==!0?n.get(_t):null,o,i=n.get(yp,null,{optional:!0}),s=n.get(Le);return i!==null&&!t?.forceRoot?(o=ew(i.view,s,e),r instanceof Xr&&r._lView===i.view&&(r=null)):o=tw(e,n.get(Sf),s),o.injector=n,r!==null&&(o.onDestroyFn=r.onDestroy(()=>o.destroy())),new na(o)}var Ip=ue(le({},at),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:An,run(){if(this.dirty=!1,this.hasRun&&!yn(this))return;this.hasRun=!0;let e=r=>(this.cleanupFns??=[]).push(r),t=Pt(this),n=Qr(!1);try{this.maybeCleanup(),this.fn(e)}finally{Qr(n),mn(this,t)}},maybeCleanup(){if(this.cleanupFns?.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),KD=ue(le({},Ip),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Lt(this),this.onDestroyFn(),this.maybeCleanup()}}),XD=ue(le({},Ip),{consumerMarkedDirty(){this.view[v]|=8192,qn(this.view),this.notifier.notify(14)},destroy(){Lt(this),this.onDestroyFn(),this.maybeCleanup(),this.view[pt]?.delete(this)}});function ew(e,t,n){let r=Object.create(XD);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=t,r.fn=n,e[pt]??=new Set,e[pt].add(r),r.consumerMarkedDirty(r),r}function tw(e,t,n){let r=Object.create(KD);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 Q=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}(Q||{});function nw(e){e?.injector||_o(nw);let t=e.request??(()=>null);return new oa(t,e.loader,e.equal,e.injector)}var ra=class{value;status=Cn(Q.Idle);error=Cn(void 0);rawSetValue;constructor(t){this.value=Cn(void 0,{equal:t?rw(t):void 0}),this.rawSetValue=this.value.set,this.value.set=n=>this.set(n),this.value.update=n=>this.set(n(Dn(this.value)))}set(t){let n=this.value[H].version;this.rawSetValue(t),this.value[H].version!==n&&(this.onLocalValue(),this.status.set(Q.Local),this.error.set(void 0))}update(t){this.value.update(t)}isLoading=mp(()=>this.status()===Q.Loading||this.status()===Q.Reloading);hasValue(){return this.status()===Q.Resolved||this.status()===Q.Local||this.status()===Q.Reloading}asReadonly(){return this}setValueState(t,n=void 0){this.status.set(t),this.rawSetValue(n),this.error.set(void 0)}setErrorState(t){this.value.set(void 0),this.status.set(Q.Error),this.error.set(t)}},oa=class extends ra{loaderFn;request;pendingTasks;effectRef;pendingController;resolvePendingTask=void 0;constructor(t,n,r,o){super(r),this.loaderFn=n,o=o??C(Pe),this.pendingTasks=o.get(Vg),this.request=mp(()=>({request:t(),reload:Cn(0)})),this.effectRef=vp(this.loadEffect.bind(this),{injector:o,manualCleanup:!0}),o.get(_t).onDestroy(()=>this.destroy())}reload(){let t=Dn(this.status);return t===Q.Idle||t===Q.Loading||t===Q.Reloading?!1:(Dn(this.request).reload.update(n=>n+1),!0)}destroy(){this.effectRef.destroy(),this.abortInProgressLoad(),this.setValueState(Q.Idle)}async loadEffect(){let t=Dn(this.status);this.abortInProgressLoad();let n=this.request();if(n.request===void 0){this.setValueState(Q.Idle);return}n.reload()===0?this.setValueState(Q.Loading):this.status.set(Q.Reloading);let r=this.resolvePendingTask=this.pendingTasks.add(),{signal:o}=this.pendingController=new AbortController;try{let i=await Dn(()=>this.loaderFn({abortSignal:o,request:n.request,previous:{status:t}}));if(o.aborted)return;this.setValueState(Q.Resolved,i)}catch(i){if(o.aborted)return;this.setErrorState(i)}finally{r()}}abortInProgressLoad(){this.pendingController?.abort(),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}onLocalValue(){this.abortInProgressLoad()}};function rw(e){return(t,n)=>t===void 0||n===void 0?t===n:e(t,n)}function XN(e,t){let n=_e(e),r=t.elementInjector||Mo();return new wt(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector)}function eS(e){let t=_e(e);if(!t)return null;let n=new wt(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{q as a,J as b,Ep as c,S as d,ai as e,ci as f,he as g,ln as h,fn as i,rt as j,Be as k,Ap as l,kp as m,Pp as n,it as o,be as p,Up as q,st as r,li as s,yr as t,Wp as u,Xp as v,un as w,th as x,ui as y,zp as z,dn as A,vr as B,Gp as C,nh as D,_c as E,Zp as F,di as G,Yp as H,Jp as I,oh as J,Tc as K,Nc as L,Kp as M,Sc as N,M as O,de as P,Kl as Q,F as R,TT as S,NT as T,R as U,N as V,Ze as W,C as X,su as Y,au as Z,$h as _,hu as $,Oe as aa,mu as ba,_o as ca,ST as da,OT as ea,RT as fa,AT as ga,kT as ha,PT as ia,Pe as ja,_t as ka,xt as la,ze as ma,pe as na,Je as oa,no as pa,LT as qa,FT as ra,Po as sa,jT as ta,VT as ua,em as va,HT as wa,$T as xa,tm as ya,BT as za,Te as Aa,lm as Ba,kn as Ca,nn as Da,Sa as Ea,UT as Fa,qT as Ga,WT as Ha,zT as Ia,GT as Ja,Oa as Ka,Um as La,Ho as Ma,QT as Na,Wm as Oa,ZT as Pa,ms as Qa,YT as Ra,qo as Sa,JT as Ta,io as Ua,ao as Va,eN as Wa,Ya as Xa,Qv as Ya,Cn as Za,nN as _a,rN as $a,oN as ab,bt as bb,Rs as cb,iN as db,Cf as eb,sN as fb,aN as gb,cN as hb,lN as ib,sI as jb,uN as kb,vI as lb,dN as mb,Tf as nb,NI as ob,SI as pb,OI as qb,Ko as rb,fN as sb,pN as tb,$I as ub,tE as vb,nE as wb,rE as xb,hN as yb,gN as zb,mN as Ab,yN as Bb,vN as Cb,IN as Db,qf as Eb,Wf as Fb,vE as Gb,zf as Hb,Gf as Ib,DE as Jb,EN as Kb,DN as Lb,Qf as Mb,wN as Nb,ME as Ob,Vn as Pb,sD as Qb,aD as Rb,bN as Sb,cD as Tb,CN as Ub,MN as Vb,uD as Wb,_N as Xb,xN as Yb,TN as Zb,hD as _b,gD as $b,mD as ac,NN as bc,SN as cc,ON as dc,RN as ec,AN as fc,kN as gc,PN as hc,LN as ic,vD as jc,lp as kc,ID as lc,ED as mc,FN as nc,DD as oc,bD as pc,jN as qc,VN as rc,HN as sc,$N as tc,BN as uc,UN as vc,qN as wc,WN as xc,zN as yc,ql as zc,GN as Ac,QN as Bc,gp as Cc,ZN as Dc,HD as Ec,qD as Fc,WD as Gc,YN as Hc,JN as Ic,KN as Jc,mp as Kc,Dn as Lc,vp as Mc,nw as Nc,XN as Oc,eS as Pc};
package/chunk-V2LDKRBK.js DELETED
@@ -1 +0,0 @@
1
- import{a,b}from"./chunk-K3OQZAY7.js";import"./chunk-FBAABDBH.js";import"./chunk-VGGIIK26.js";import"./chunk-K5R45UNO.js";import"./chunk-OAL3AILX.js";import"./chunk-5522ZDTF.js";import"./chunk-NN3K5WJK.js";import"./chunk-IBZEQWFY.js";import"./chunk-UUC5AIWR.js";import"./chunk-7WQR24NO.js";import"./chunk-FSY6N6QG.js";import"./chunk-JQGZUGRK.js";import"./chunk-65UFWL3O.js";import"./chunk-UYXZTHXX.js";import"./chunk-C6Q5SG76.js";export{a as createRestoreOptionsForm,b as default};
package/chunk-VGGIIK26.js DELETED
@@ -1 +0,0 @@
1
- import{a as ce}from"./chunk-OAL3AILX.js";import{q as de}from"./chunk-NN3K5WJK.js";import{a as pe,f as ue,l as he,m as _e,o as fe,w as ge}from"./chunk-IBZEQWFY.js";import{a as ae}from"./chunk-UUC5AIWR.js";import{ia as le}from"./chunk-65UFWL3O.js";import{Ab as b,Cb as J,Db as Y,E as B,Eb as _,Fb as g,Gb as Z,Jb as G,Kb as k,Kc as A,Mc as w,Ra as f,Sb as R,Tb as ee,Ub as te,Wb as O,X as D,Xb as p,Yb as ne,Za as x,Zb as I,_a as H,ea as S,fa as y,fb as z,fc as q,gc as ie,hc as X,ic as N,kc as oe,lb as v,qa as V,ra as C,sc as L,tc as re,v as Q,vb as j,wb as U,xb as P,yc as se}from"./chunk-UYXZTHXX.js";import{a as W,b as $}from"./chunk-C6Q5SG76.js";var Pe=["treeContainer"],Te=["formRef"],xe=[[["label"]],[["label"]],[["input"]]],be=["label","label","input"],Me=(r,t)=>t.id,Fe=r=>({children:r,level:0}),me=r=>({$implicit:r}),Se=(r,t)=>({children:r,level:t});function ye(r,t){if(r&1){let e=k();_(0,"spk-button-group")(1,"button",13),O("click",function(){S(e);let s=p();return y(s.pathDiscoveryMethod.set("browse"))}),R(2,4),g(),_(3,"button",13),O("click",function(){S(e);let s=p();return y(s.pathDiscoveryMethod.set("path"))}),R(4,5),g()()}if(r&2){let e=p();f(),P("active",e.pathDiscoveryMethod()==="browse"),f(2),P("active",e.pathDiscoveryMethod()==="path")}}function Oe(r,t){r&1&&Z(0,"spk-progress-bar",9)}function Ne(r,t){r&1&&(_(0,"spk-icon",16),N(1,"folder-open"),g())}function we(r,t){r&1&&(_(0,"spk-icon"),N(1,"file"),g())}function ke(r,t){r&1&&(_(0,"spk-icon",16),N(1,"folder"),g())}function Re(r,t){if(r&1&&v(0,Ne,2,0,"spk-icon",16)(1,we,2,0,"spk-icon")(2,ke,2,0,"spk-icon",16),r&2){let e=p(2).$implicit;b(e.children.length?0:e.cls==="file"?1:2)}}function Ie(r,t){r&1&&(_(0,"spk-icon",16),N(1,"desktop-tower"),g())}function Le(r,t){r&1&&G(0)}function Ae(r,t){if(r&1&&v(0,Le,1,0,"ng-container",10),r&2){let e=p(2).$implicit,n=p().$implicit;p();let s=X(7);j("ngTemplateOutlet",s)("ngTemplateOutletContext",L(5,me,re(2,Se,e.children,n.level+1)))}}function We(r,t){if(r&1){let e=k();_(0,"div",14,3),O("click",function(){S(e);let s=p().$implicit,i=p(2);return y(i.toggleNode(s.id,s))}),_(2,"div",15),v(3,Re,3,1)(4,Ie,2,0,"spk-icon",16),g(),_(5,"div",17),O("click",function(s){S(e);let i=p().$implicit,o=p(2);return y(o.toggleSelectedNode(s,i))}),N(6),g()(),v(7,Ae,1,7,"ng-container")}if(r&2){let e=p().$implicit,n=p(2);P("accepted",e.accepted===!0)("active",e.evalState===n.TreeEvalEnum.Included)("indeterminate",e.isIndeterminate)("open",e.children.length)("usually-hidden",e.hidden),f(3),b(e.id!=="/"?3:4),f(3),oe(" ",e.text," "),f(),b(e.children.length>0?7:-1)}}function $e(r,t){if(r&1&&v(0,We,8,13),r&2){let e=t.$implicit,n=p(2);b(e.hidden&&n._showHiddenNodes()||!e.hidden?0:-1)}}function Be(r,t){if(r&1&&(_(0,"spk-list"),J(1,$e,1,1,null,null,Me),g()),r&2){let e=t.$implicit;U("padding-left",e.level*.25,"rem"),f(),Y(e.children)}}function De(r,t){r&1&&G(0)}function Ve(r,t){if(r&1){let e=k();_(0,"spk-toggle",18),O("click",function(){S(e);let s=p();return y(s._showHiddenNodes.set(!s._showHiddenNodes()))}),R(1,6),g()}if(r&2){let e=p();P("active",e._showHiddenNodes()),f(),ee(e.showFiles()?"files":"folders"),te(1)}}var Ce=(i=>(i[i.ExcludedByParent=-2]="ExcludedByParent",i[i.Excluded=-1]="Excluded",i[i.None=0]="None",i[i.Included=1]="Included",i[i.IncludedByParent=2]="IncludedByParent",i))(Ce||{}),K=class r{#t=D(ae);#r=D(ce);multiSelect=C(!1);disabled=C(!1);showFiles=C(!1);selectFiles=C(!1);accepts=C(null);startingPath=C(null);rootPath=C(void 0);backupSettings=C(null);showHiddenNodes=C(!1);includes=V();excludes=V();_showHiddenNodes=x(!1);treeContainerRef=H("treeContainer");formRef=H("formRef");pathDiscoveryMethod=x("browse");isLoading=x(!1);currentPath=x("/");#e=x(null);treeSearchQuery=x("");treeNodes=x([]);filterGroups=this.#r.filterGroups();isByBackupSettings=A(()=>this.rootPath()&&this.backupSettings()?.id&&this.backupSettings()?.time);searchableTreeNodes=A(()=>{let t=this.treeSearchQuery();return t?this.treeNodes().filter(e=>e.text?.toLowerCase().includes(t.toLowerCase())):this.treeNodes()});TreeEvalEnum=Ce;treeStructure=A(()=>{let t=this.showHiddenNodes(),e=this.currentPath().split("\0").filter(l=>l!==""&&l!=="/"),n=structuredClone(e);for(let l=0;l<n.length;l++){let u=n[l].slice(1);if(u.startsWith("{")&&u.endsWith("}")){let h=u.slice(1,-1),d=this.filterGroups?.FilterGroups[h];if(d&&d.length){let T=d.map(E=>`-${E}`);n.splice(l,1,...T)}}}let s=this.searchableTreeNodes(),i=new Map,o=this.rootPath(),m=this.accepts(),a=o?{id:o,resolvedpath:o,text:o?.replaceAll("/",""),parentPath:"",children:[],evalState:0,isIndeterminate:!1,cls:"folder"}:{id:"/",resolvedpath:"/",text:"Computer",parentPath:"",children:[],evalState:0,isIndeterminate:!1};m&&(a.accepted=!0),i.set("/",a);for(let l of s){let u=l.id.replace(o??"","").split("/").filter(Boolean),h="",d=a;for(let T of u){if(h+="/"+T,!i.has(h)){let E=l.hidden===!0&&t?0:this.#s(n,l.id,l.cls,d),M={id:l.id,isIndeterminate:this.isIndeterminate(n,l.id),evalState:E,parentPath:h,resolvedpath:l.id?.startsWith("%")?l.resolvedpath+"/":h,hidden:l.hidden,text:l.text,cls:l.cls,children:[]};m&&(M.accepted=this.matchAccepts(m,M)),i.set(h,M),d.children.push(M)}d=i.get(h)}}return[a]});#s(t,e,n,s){if(s.evalState===-1)return-2;let i=0,o=t.filter(a=>!a.startsWith("-")&&!a.startsWith("+")),m=t.filter(a=>a.startsWith("-")||a.startsWith("+"));if(o.length===0)return i;for(let a=0;a<o.length;a++){let l=o[a];if(e?.startsWith(l)){i=1;break}}if(m.length===0)return i;for(let a=0;a<m.length;a++){let l=m[a],c=l.slice(1),u=l.startsWith("-")?"exclude":"include";if(c.startsWith("/")&&c.endsWith("/")){if(n!=="folder")continue;if(e===c){i=u==="include"?1:-1;break}}if(c.startsWith("*")&&c.endsWith("*/")){if(n!=="folder")continue;let d=c.slice(1,-2);if(d==="")break;if(e?.includes(d+"/")){i=u==="include"?1:-1;break}}if(c.startsWith("[.*")&&c.endsWith("[^\\/]*]")){if(n!=="file")continue;let d=c.slice(3,-7);if(new RegExp(d).test(e)){i=u==="include"?1:-1;break}}if(c.startsWith("[")&&c.endsWith("]")){let d=c.slice(1,-1),T=this.translateCSharpRegex(d);if(new RegExp(`${T}`).test(e)){i=u==="include"?1:-1;break}}if(c.startsWith("*.")){if(n!=="file"||c.replace("*.","").length===0)continue;if(this.#n(e,c,!0)){i=u==="include"?1:-1;break}}if(c==="")continue;if(this.#n(e,c,!0)){i=u==="include"?1:-1;break}}return i}translateCSharpRegex(t){let e=t;e=e.replace(/^@/,"");let n=/\(\?<(?<name>\w+)>(?<pattern>[^)]+)\)/g;return e=e.replace(n,(s,i,o)=>`(${o})`),e=e.replace(/\\/g,"\\\\"),e}isIndeterminate(t,e){return t.some(n=>n.startsWith(e))}#n(t,e,n=!1){let s=e.replace(/\*/g,".*").replace(/\?/g,".").replace(/\[!([^\]]+)\]/g,"[^$1]");return new RegExp(`${s}${n?"$":""}`).test(t)}showHiddenNodesEffect=w(()=>this._showHiddenNodes.set(this.showHiddenNodes()));pathDiscoveryMethodEffect=w(()=>{let t=this.pathDiscoveryMethod(),e=this.#e();t==="browse"&&e&&this.currentPath.set(e.value)});matchAccepts(t,e){if(!t||e.cls==="folder"||e.id==="/")return!0;let n=t.split(",");if(n.length===0)return!0;let s="."+e.id.slice(e.id.indexOf("."));return s?n.some(i=>s.endsWith(i)):!1}currentPathEffect=w(()=>{let t=this.#e();t&&(t.value=this.currentPath(),t.dispatchEvent(new Event("input")))});inputValueChangeAbortController=null;inputRefEffect=w(()=>{let t=this.formRef()?.nativeElement?.querySelector("input");t&&(this.#a(t),this.inputValueChangeAbortController&&this.inputValueChangeAbortController.abort(),this.inputValueChangeAbortController=new AbortController,t.addEventListener("inputValueChanged",e=>{this.currentPath.set(e.detail.value)},{signal:this.inputValueChangeAbortController.signal}),this.#e.set(t),t.autocomplete="off")});ngOnInit(){let t=this.startingPath();t?(console.log(t),this.currentPath.set(t),this.#p(t)):this.#o(null,this.rootPath())}toggleSelectedNode(t,e){if(e.id==="/"||(t.stopPropagation(),e.evalState===-2))return;if(this.selectFiles()&&e.cls==="folder"){this.toggleNode(e.id,e);return}if(this.accepts()&&!e.accepted)return;let s=this.currentPath().split("\0").filter(o=>o!==""&&o!=="/"),i=this.isChildOfSelected(e)?`-${e.id}`:e.id;this.multiSelect()?s.includes(e.id)?this.currentPath.set(s.filter(o=>o!==e.id).join("\0")):s.some(o=>o.startsWith(i))?this.currentPath.set(s.filter(o=>o!==i).join("\0")):this.currentPath.set([...s,i].join("\0")):s.includes(e.id)?this.currentPath.set(s.filter(o=>o!==e.id).join("\0")):this.currentPath.set(e.id)}isChildOfSelected(t){return this.currentPath().split("\0").filter(n=>n!==""&&n!=="/").some(n=>t.id?.startsWith(n)||`-${t.id}`.startsWith(n))}toggleNode(t,e=null){e?.cls==="folder"&&(e?.children.length?this.treeNodes.update(n=>n.filter(s=>!s.id?.startsWith(e.id)||s.id===e.id)):this.#o(e,t))}#l(){setTimeout(()=>{let e=this.treeContainerRef()?.nativeElement?.querySelector(".active");e&&e.scrollIntoView({behavior:"smooth",block:"center"})},100)}#a(t){return Object.defineProperty(t,"value",{configurable:!0,get(){return Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").get.call(this)},set(e){return Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").set.call(this,e),this.dispatchEvent(new CustomEvent("inputValueChanged",{bubbles:!0,cancelable:!0,detail:{value:e}})),e}}),t}#c(t){return this.#t.postApiV1Filesystem({showHidden:!0,requestBody:{path:t},onlyFolders:!this.showFiles()})}#d(t){let e=this.backupSettings(),n={id:e.id,time:e.time,prefixOnly:!1,folderContents:!0};return t&&(n.filter="@"+t),this.#t.getApiV1BackupByIdFiles(n)}#i(t){return this.isByBackupSettings()?this.#d(t):this.#c(t)}#p(t){let e=t.split("\0").filter(o=>o.startsWith("-")).map(o=>o.slice(1,-1)),n=t.split("\0").filter(o=>!o.startsWith("-")).filter(Boolean),s=n.map(o=>o.split("/").filter(Boolean)),i=[this.rootPath()??"/"];s.forEach(o=>{o.forEach((m,a)=>{let l=o.slice(0,a+1).join("/"),c=l.startsWith("%")?l:"/"+l;i.includes(c)||i.push(c)})}),this.isLoading.set(!0),Q([...i.map(o=>this.#i(o))]).pipe(B(()=>this.isLoading.set(!1))).subscribe({next:o=>{this.treeNodes.update(m=>{let a=o.flatMap(c=>c.map(u=>{let h=u.id,d=h&&h.split("/").filter(Boolean).slice(0,-1).join("/"),E="/"+(h&&h.split("/").filter(Boolean).join("/")),M=n.findIndex(F=>this.multiSelect()?E.startsWith(F):E===F)>-1,Ee=n.findIndex(F=>F===h)>-1,ve=e.findIndex(F=>F===E)>-1;return $(W({},u),{parentPath:d.startsWith("%")?d:"/"+d,isSelected:M&&!ve||Ee})})),l=[...new Map([...m,...a].map(c=>[c.resolvedpath??c.id,c])).values()];return this.#l(),l})}})}#o(t=null,e="/"){this.isLoading.set(!0),this.#i(e).pipe(B(()=>this.isLoading.set(!1))).subscribe({next:n=>{let s=this.isByBackupSettings()?n.Files.map(i=>({text:i.Path.split("/").filter(o=>o!=="").pop(),id:i.Path,cls:i.Path.endsWith("/")?"folder":"file",leaf:t!==null,resolvedpath:i.Path,hidden:!1})):n;this.treeNodes.update(i=>{let o=s.map(a=>{let l=a.id.startsWith("%")&&a.id.endsWith("%")||a.id.endsWith("/")?"folder":"file";return $(W({},a),{cls:l,parentPath:e})});return[...new Map([...i,...o].map(a=>[a.resolvedpath??a.id,a])).values()]})}})}static \u0275fac=function(e){return new(e||r)};static \u0275cmp=z({type:r,selectors:[["app-file-tree"]],viewQuery:function(e,n){e&1&&(q(n.treeContainerRef,Pe,5),q(n.formRef,Te,5)),e&2&&ie(2)},hostVars:2,hostBindings:function(e,n){e&2&&P("disabled",n.disabled())},inputs:{multiSelect:[1,"multiSelect"],disabled:[1,"disabled"],showFiles:[1,"showFiles"],selectFiles:[1,"selectFiles"],accepts:[1,"accepts"],startingPath:[1,"startingPath"],rootPath:[1,"rootPath"],backupSettings:[1,"backupSettings"],showHiddenNodes:[1,"showHiddenNodes"]},outputs:{includes:"includes",excludes:"excludes"},ngContentSelectors:be,decls:15,vars:15,consts:()=>{let t;t=$localize` Browser path `;let e;e=$localize` Manually type path `;let n;return n=$localize` Show hidden ${"\uFFFD0\uFFFD"}:INTERPOLATION: `,[["treeContainer",""],["recursiveTree",""],["formRef",""],["treeNode",""],t,e,n,[1,"section"],[1,"browse-files"],[1,"indeterminate","primary"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"primary","raised","browse-files-toggle",3,"active"],[1,"form-field"],["type","button",3,"click"],["action","",3,"click"],[1,"icon"],[1,"spk-primary"],[1,"text",3,"click"],[1,"primary","raised","browse-files-toggle",3,"click"]]},template:function(e,n){if(e&1&&(ne(xe),v(0,ye,5,4,"spk-button-group"),_(1,"div",7),I(2,0,["ngProjectAs","label",5,["label"]]),_(3,"div",8,0),v(5,Oe,1,0,"spk-progress-bar",9)(6,Be,3,2,"ng-template",null,1,se)(8,De,1,0,"ng-container",10),g(),v(9,Ve,2,3,"spk-toggle",11),g(),_(10,"div",12,2)(12,"spk-form-field"),I(13,1,["ngProjectAs","label",5,["label"]]),I(14,2,["ngProjectAs","input",5,["input"]]),g()()),e&2){let s=X(7);b(n.multiSelect()?-1:0),f(),P("hidden",n.pathDiscoveryMethod()!=="browse"),f(2),P("visualize-accepted",n.accepts()),f(2),b(n.isLoading()?5:-1),f(3),j("ngTemplateOutlet",s)("ngTemplateOutletContext",L(13,me,L(11,Fe,n.treeStructure()))),f(),b(n.accepts()?-1:9),f(),P("hidden",n.pathDiscoveryMethod()!=="path")}},dependencies:[ue,ge,pe,he,_e,fe,le,de],styles:['[_nghost-%COMP%]{display:flex;flex-direction:column;gap:1rem}.disabled[_nghost-%COMP%]{opacity:.5;-webkit-user-select:none;user-select:none;pointer-events:none;position:relative}.disabled[_nghost-%COMP%]:before{content:"";position:absolute;inset:0;background:transparent}.fill[_nghost-%COMP%]{height:auto;overflow:hidden;flex:1 0}.fill[_nghost-%COMP%] .section[_ngcontent-%COMP%]{height:auto;overflow:hidden;flex:1 0;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;grid-template-areas:"label toggle" "tree tree"}.fill[_nghost-%COMP%] .browse-files[_ngcontent-%COMP%]{resize:none;height:initial;grid-area:tree}.fill[_nghost-%COMP%] label[_ngcontent-%COMP%]{grid-area:label}.fill[_nghost-%COMP%] spk-toggle[_ngcontent-%COMP%]{grid-area:toggle;flex-direction:row-reverse}.section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.5rem}.form-field.hidden[_ngcontent-%COMP%]{display:none}.browse-files[_ngcontent-%COMP%]{display:flex;gap:.5rem;padding:.5rem 1rem;height:12.5rem;border:1px solid var(--base-level-40);border-radius:var(--shape-3);overflow:auto;resize:vertical;background:var(--base-level-10);position:relative}.browse-files[_ngcontent-%COMP%] spk-progress-bar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0}.browse-files.visualize-accepted[_ngcontent-%COMP%] [action][_ngcontent-%COMP%]:not(.accepted){opacity:.5}.browse-files.visualize-accepted[_ngcontent-%COMP%] [action].accepted[_ngcontent-%COMP%]{opacity:1}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%]{--list-active-bg: var(--base-level-30);gap:.125rem;padding:0;height:min-content;min-width:min-content}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%]{padding:0;gap:.25rem;border:1px solid transparent}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].active[_ngcontent-%COMP%]{border-color:var(--base-level-40)}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].indeterminate[_ngcontent-%COMP%]{border-color:var(--primary-level-40)}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action].usually-hidden[_ngcontent-%COMP%]{opacity:.6}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{flex:1 0;height:100%;width:max-content;display:flex;align-items:center}.browse-files[_ngcontent-%COMP%] spk-list[_ngcontent-%COMP%] [action][_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;cursor:pointer}.browse-files-toggle[_ngcontent-%COMP%]{color:var(--base-level-60R)}.hidden[_ngcontent-%COMP%]{display:none}'],changeDetection:0})};export{K as a};
package/chunk-XC5IIBG3.js DELETED
@@ -1 +0,0 @@
1
- import{a as G}from"./chunk-MN2U4RJK.js";import{a as v}from"./chunk-7SHJPVM2.js";import{a as h,g as y,h as b,o as L}from"./chunk-IBZEQWFY.js";import{a as B}from"./chunk-UUC5AIWR.js";import"./chunk-JQGZUGRK.js";import"./chunk-QJZQNKYK.js";import"./chunk-65UFWL3O.js";import{Ab as C,Bb as f,Cb as k,Db as O,Eb as a,Fb as r,Gb as p,Hb as M,Ib as P,Qb as N,Ra as l,Rb as F,Sb as _,Tb as $,Ub as D,X as c,Xb as d,fb as E,ic as A,lb as u,lc as I,sb as g,sc as x,tb as R,vb as T}from"./chunk-UYXZTHXX.js";import"./chunk-C6Q5SG76.js";var X=()=>[b,y,h,import("./chunk-STY2S4SE.js").then(e=>e.RouterLink)],w=e=>["/restore-flow",e];function z(e,o){if(e&1&&(a(0,"spk-card",5),p(1,"img",6),a(2,"div",7)(3,"h3"),_(4,1),r(),a(5,"p"),A(6),r()(),a(7,"button",8),N(8,2),p(9,"spk-icon"),F(),r()()),e&2){let t,i,n=o.$implicit;l(4),$((t=n.Backup==null?null:n.Backup.Name)!==null&&t!==void 0?t:"Backup name missing"),D(4),l(2),I(" ",(i=n.Backup==null||n.Backup.Metadata==null?null:n.Backup.Metadata.SourceSizeString)!==null&&i!==void 0?i:"-"," / ",(i=n.Backup==null||n.Backup.Metadata==null?null:n.Backup.Metadata.BackupListCount)!==null&&i!==void 0?i:"-"," "),l(),T("routerLink",x(4,w,n.Backup==null?null:n.Backup.ID))}}function W(e,o){if(e&1&&k(0,z,10,6,"spk-card",5,f),e&2){let t=d(2);O(t.backups())}}function K(e,o){e&1&&(M(0),_(1,3),P())}function j(e,o){if(e&1&&u(0,W,2,0)(1,K,2,0,"ng-container"),e&2){let t=d();C(t.backups().length?0:1)}}function q(e,o){e&1&&(a(0,"div",9),p(1,"spk-progress-bar",10),a(2,"div",7)(3,"h3"),_(4,4),r()()())}var m=class e{#e=c(v);#t=c(B);backups=this.#e.backups;backupsLoading=this.#e.backupsLoading;ngOnInit(){this.#e.getBackups()}restoreNow(o){this.#t.postApiV1BackupByIdRestore({id:o.Backup?.ID,requestBody:{}})}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=E({type:e,selectors:[["app-restore"]],decls:8,vars:1,consts:()=>{let o;o=$localize`Where do you want to restore from?`;let t;t=$localize`Restore ${"\uFFFD0\uFFFD"}:INTERPOLATION:`;let i;i=$localize` Restore ${"\uFFFD#9\uFFFD"}:START_TAG_SPK_ICON:arrow-right${"\uFFFD/#9\uFFFD"}:CLOSE_TAG_SPK_ICON:`;let n;n=$localize`No backups founds`;let S;return S=$localize`Loading backups...`,[o,t,i,n,S,[1,"type-a"],["src","assets/images/folder.png","alt","","width","48px"],[1,"text"],["spk-button","",3,"routerLink"],[1,"loading-list"],[1,"indeterminate","primary"]]},template:function(t,i){t&1&&(p(0,"app-status-bar"),a(1,"section")(2,"h2"),_(3,0),r(),u(4,j,2,1)(5,q,5,0),g(6,4,X,null,5),r()),t&2&&(l(6),R(!i.backupsLoading()))},dependencies:[G,L],styles:["[_nghost-%COMP%]{display:block}h2[_ngcontent-%COMP%]{font:var(--title-30);text-align:center;padding:2rem}section[_ngcontent-%COMP%]{max-width:43.75rem;margin:0 auto;padding:2rem 0;display:flex;flex-direction:column;gap:1rem}spk-divider[_ngcontent-%COMP%]{color:var(--base-level-60)}spk-card[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;--card-padding: 2rem}spk-card[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{flex:1 0;display:flex;flex-direction:column;gap:.25rem}"],changeDetection:0})};export{m as default};
package/chunk-XEK5PR4Q.js DELETED
@@ -1 +0,0 @@
1
- import{a}from"./chunk-NUXXITWB.js";import"./chunk-QJZQNKYK.js";import"./chunk-UYXZTHXX.js";import"./chunk-C6Q5SG76.js";export{a as DurationFormatPipe};
package/chunk-ZTJNIIQ7.js DELETED
@@ -1 +0,0 @@
1
- import{j as a,k as b}from"./chunk-CQKRBELO.js";import"./chunk-VGGIIK26.js";import"./chunk-K5R45UNO.js";import"./chunk-DNHLTHLR.js";import"./chunk-OAL3AILX.js";import"./chunk-5522ZDTF.js";import"./chunk-NN3K5WJK.js";import"./chunk-IBZEQWFY.js";import"./chunk-UUC5AIWR.js";import"./chunk-7WQR24NO.js";import"./chunk-FSY6N6QG.js";import"./chunk-JQGZUGRK.js";import"./chunk-65UFWL3O.js";import"./chunk-UYXZTHXX.js";import"./chunk-C6Q5SG76.js";export{a as createScheduleForm,b as default};
package/main-VN6Z3X2U.js DELETED
@@ -1 +0,0 @@
1
- import{b as ne,c as re}from"./chunk-GH3U5NF5.js";import{a as x}from"./chunk-OAL3AILX.js";import"./chunk-5522ZDTF.js";import{a as M}from"./chunk-ARPRGK23.js";import{a as y}from"./chunk-DFNGIWBA.js";import{a as g}from"./chunk-AC2LD55W.js";import{c as te}from"./chunk-IBZEQWFY.js";import{c as ee}from"./chunk-UUC5AIWR.js";import{L as Z,X as T,ca as Q,ma as Y}from"./chunk-7WQR24NO.js";import{a as X}from"./chunk-FSY6N6QG.js";import{a as $,b as z,d as B,e as _,f as q}from"./chunk-JQGZUGRK.js";import{b as oe}from"./chunk-QJZQNKYK.js";import{ua as K}from"./chunk-65UFWL3O.js";import{Bc as F,Cc as J,E as S,Gb as D,J as j,L as R,Mc as G,N as P,R as w,U as H,X as r,Za as l,d as V,fb as W,ja as U,m as k,x as O,y as N}from"./chunk-UYXZTHXX.js";import"./chunk-C6Q5SG76.js";var I=class t{#o=r(g);#s=r(y);ngOnInit(){this.#s.fetchConfig(),this.#o.clearAllNotCurrentVersion()}static \u0275fac=function(o){return new(o||t)};static \u0275cmp=W({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(o,s){o&1&&D(0,"router-outlet")},dependencies:[Z],encapsulation:2})};var ie={production:!0,baseUrl:"/api",machineServerUrl:"${WS_URL}",defaultTimeout:3e4};var d=new H("ENVIRONMENT");var b=class t{#o=r(ee);isLoaded=l(!1);webmodules=l(null);preload(e=!1){let o=this.#o.getApiV1Webmodules().pipe(P(s=>this.webmodules.set(s)),S(()=>this.isLoaded.set(!0)));if(e)return o;o.subscribe()}static \u0275fac=function(o){return new(o||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};var de=()=>{let t=r(y),e=r(U);return t.configLoaded===null?O([e.get(x).preload(!0),e.get(b).preload(!0)]):t.configLoaded?.pipe(R(()=>O([e.get(x).preload(!0),e.get(b).preload(!0)])))},ae=[{path:"",children:[{path:"login",canActivate:[()=>r(M).token()!==null?r(T).navigate(["/"]):!0],loadComponent:()=>import("./chunk-3IE7QZ4D.js")},{path:"logout",loadComponent:()=>import("./chunk-YF43IPBW.js")},{path:"",canActivate:[de],loadComponent:()=>import("./chunk-ER3G3TZW.js"),children:[{path:"",loadComponent:()=>import("./chunk-ECTOKXR2.js")},{path:"add-backup",loadComponent:()=>import("./chunk-NIFWUYP5.js")},{path:"backup/:id/export",loadComponent:()=>import("./chunk-LM6FM44S.js")},{path:"backup/import",loadComponent:()=>import("./chunk-RHX2BKJQ.js")},{path:"backup-draft/:id",loadComponent:()=>import("./chunk-SGEYZII6.js"),loadChildren:()=>import("./chunk-EFYF3ZYK.js")},{path:"backup/:id",loadComponent:()=>import("./chunk-SGEYZII6.js"),loadChildren:()=>import("./chunk-EFYF3ZYK.js")},{path:"backup/:id/log",loadComponent:()=>import("./chunk-NDIOU4E2.js")},{path:"backup/:id/database",loadComponent:()=>import("./chunk-KF4RPRBP.js")},{path:"backup/:id/commandline",loadComponent:()=>import("./chunk-JEGJAUF7.js")},{path:"restore",loadComponent:()=>import("./chunk-XC5IIBG3.js")},{path:"restore-flow/:id",loadComponent:()=>import("./chunk-Q4N2YSBN.js"),children:[{path:"",redirectTo:"select-files",pathMatch:"full"},{path:"select-files",loadComponent:()=>import("./chunk-SGDMX5AW.js")},{path:"options",loadComponent:()=>import("./chunk-V2LDKRBK.js")}]},{path:"settings",loadComponent:()=>import("./chunk-AZAFLOEO.js")},{path:"about",loadComponent:()=>import("./chunk-JIBWXS4Q.js"),children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",loadComponent:()=>import("./chunk-YEWPXKXM.js")},{path:"changelog",loadComponent:()=>import("./chunk-BDFM44OC.js")},{path:"libraries",loadComponent:()=>import("./chunk-XPH3GUDU.js")},{path:"system-info",loadComponent:()=>import("./chunk-4WKXZKTC.js")},{path:"logs",loadComponent:()=>import("./chunk-AYGRA5MA.js")}]}]}]}];var A=null,pe=(t,e)=>{let o=r(M),s=r(T),c=r(g),i=r(d),u=r(te),n=c.getItem("locale"),p=ne(n),h=t;if(o.token()&&t.url.startsWith(i.baseUrl)){let a=t.headers.set("Authorization",`Bearer ${o.token()}`);n&&n!=="en-US"&&(a=a.set("X-Ui-Language",p)),h=t.clone({headers:a})}return e(h).pipe(N(a=>{if(u.error(a.message),a.status===401&&!A&&(A=o.refreshToken().pipe(j())),a.status===401)return A.pipe(R(()=>e(t.clone({headers:t.headers.set("Authorization",`Bearer ${o.token()}`)}))),N(f=>(s.navigate(["/logout"]),k(()=>f))),S(()=>A=null));let m=`Error Code: ${a.status}, Message: ${a.message}`;return k(()=>({error:a,message:m}))}))};var ue="1.0.0",ce="portal-proxy-client",he=1,E=class t{#o=1e3;#s=r(d);#t=l("disconnected");#l=l(this.#o);#i=l(!1);#n=l(!1);#a=l(null);isConnectedToMachineServer=this.#n.asReadonly();wsState=this.#t.asReadonly();#p=[];#r={};#e=null;#m=new TextDecoder("utf-8");#c=null;#d=G(()=>{let e=this.#i(),o=this.#l(),s=this.#a();if(!s||!e||!o||o<this.#o){this.#c&&window.clearInterval(this.#c);return}this.#c=window.setInterval(()=>{this.connectToMachineServer(s)},o)});utf8Atob(e){let o=Uint8Array.from(atob(e),c=>c.charCodeAt(0)),s=this.#m.decode(o);return s?JSON.parse(s):null}connectToMachineServer(e,o){let s=o?.reconnect??!1;this.#e&&this.wsState()==="authenticated"&&!s||(this.#e&&this.wsState()!=="authenticated"&&this.#e.close(),this.#e=new WebSocket(this.#s.machineServerUrl),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 i=JSON.parse(c.data);if(this.wsState()==="connect"){if(i.type!=="welcome"){this.disconnectFromMachineServer(`Unexpected message type, expected 'welcome' but got '${i.type}'`);return}let n={token:e,publicKey:"",clientVersion:ue,protocolVersion:he},p=this.createResponse(i,"authportal",n);this.#t.set("welcome"),this.#e?.send(p)}else if(this.wsState()==="welcome"){if(i.type!=="authportal"){this.disconnectFromMachineServer(`Unexpected message type, expected 'authportal' but got '${i.type}'`);return}var u=JSON.parse(i.payload??"");if(u.accepted===!1){this.disconnectFromMachineServer("Authentication failed");return}for(this.#t.set("authenticated"),this.#n.set(!0);this.#p.length>0;){let n=this.#p.pop();n&&this.#r[n.messageId]&&this.activateCommand(n)}}else if(this.wsState()==="authenticated"){if(i.type!=="command"){console.warn(`Unexpected message type, expected 'command' but got '${i.type}'`);return}let n=this.#r[i.messageId];if(n){if(i.errorMessage){n.reject(i.errorMessage);return}else{let p=JSON.parse(i.payload??"");p.body=p?.body==null?null:this.utf8Atob(p.body),n.resolve(p)}delete this.#r[i.messageId],window.clearTimeout(n.timer)}}})}disconnectFromMachineServer(e=null){e&&console.error(e),this.#e?.close(),this.#e=null,this.#t.set("disconnected"),this.#n.set(!1)}createResponse(e,o,s){let c={from:ce,to:e.from,type:o,messageId:e.messageId,payload:JSON.stringify(s)};return JSON.stringify(c)}sendCommand(e,o,s,c,i,u,n=5e3){return(this.wsState()==="disconnected"||this.wsState()==="error")&&this.connectToMachineServer(e),new Promise((p,h)=>{let a=crypto.randomUUID(),f={from:ce,to:o,type:"command",messageId:a,payload:JSON.stringify({method:s,path:c,body:i,headers:u})},v={resolve:p,reject:h,timer:window.setTimeout(()=>{let C=this.#r[a];C&&(delete this.#r[a],C.reject("Timeout"))},n)};this.#r[a]=v,this.#n()?this.activateCommand(f):this.#p.push(f)})}activateCommand(e){this.#e?.send(JSON.stringify(e))}static \u0275fac=function(o){return new(o||t)};static \u0275prov=w({token:t,factory:t.\u0275fac,providedIn:"root"})};function fe(t){if(typeof t!="string")return null;let o=new TextEncoder().encode(t);return window.btoa(String.fromCharCode(...o))}var le=(t,e)=>{let s=r(y).config(),c=r(d);if(s===null)return e(t);let i=r(E),u=fe(t.body),n={};t.headers.keys().forEach(m=>{n[m]=t.headers.get(m)??""});let p=t.headers.get("timeout"),h=p!==null?parseInt(p):c.defaultTimeout,a=i.sendCommand(s.accessToken,s.clientId,t.method,t.url,u,n,h);return new V(m=>{a.then(f=>{let v=new $;n!=null&&Object.keys(n).forEach(L=>{v.set(L,n[L])});let C=new z({body:f.body,status:f.code,statusText:"OK",headers:v});m.next(C),m.complete()})})};var me={providers:[F(),Q(ae,Y()),B(q(),_([le,pe])),g,{provide:d,useValue:ie},{provide:J,useValue:re()},oe,K]};X(I,me);