@duplicati/ngclient 0.0.13 → 0.0.15

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 (65) hide show
  1. package/assets/spk.woff2 +0 -0
  2. package/chunk-2KRJAVEC.js +8 -0
  3. package/chunk-3LQMMUAQ.js +1 -0
  4. package/chunk-5ILSXKFW.js +1 -0
  5. package/chunk-67W575RU.js +1 -0
  6. package/{chunk-OI46JH74.js → chunk-6AW6QGGK.js} +1 -1
  7. package/{chunk-RH5CENQ7.js → chunk-773EKLAK.js} +1 -1
  8. package/chunk-7HESNEPG.js +1 -0
  9. package/{chunk-ZUVMWAQY.js → chunk-BBTWEIKC.js} +1 -1
  10. package/chunk-BGG4HNH4.js +1 -0
  11. package/{chunk-BRVLVIBB.js → chunk-CO425GK4.js} +1 -1
  12. package/chunk-CU4Z5JYN.js +1 -0
  13. package/{chunk-VJK4WSMT.js → chunk-EXBL6PZF.js} +1 -1
  14. package/{chunk-S4UXVQU2.js → chunk-F5QXAAVU.js} +1 -1
  15. package/chunk-FHF3IC7J.js +1 -0
  16. package/{chunk-SWUZR64I.js → chunk-FK7NP22D.js} +1 -1
  17. package/chunk-FNCRTNLE.js +1 -0
  18. package/chunk-H5CPMZKE.js +1 -0
  19. package/{chunk-ZUISIMKR.js → chunk-HGWUW4F2.js} +1 -1
  20. package/{chunk-ICCENBZO.js → chunk-I32GIXDV.js} +1 -1
  21. package/{chunk-ZBL4ZWSP.js → chunk-IKB4MLET.js} +1 -1
  22. package/{chunk-4OR2MBXM.js → chunk-KE7QHERU.js} +1 -1
  23. package/{chunk-KLPRJO2S.js → chunk-KOSBH5QY.js} +1 -1
  24. package/chunk-LN7V44UE.js +1 -0
  25. package/{chunk-74EYKZJR.js → chunk-M2BEZWPJ.js} +1 -1
  26. package/{chunk-QROBYUJD.js → chunk-MIQQ6D42.js} +1 -1
  27. package/{chunk-3B6RZWP4.js → chunk-NDHHXXZG.js} +1 -1
  28. package/{chunk-7ROMUYYO.js → chunk-P5ZY3TCL.js} +1 -1
  29. package/{chunk-Q3B3QVNE.js → chunk-PSWNF2DG.js} +1 -1
  30. package/{chunk-2LTGXEZS.js → chunk-QBKQVVNF.js} +1 -1
  31. package/{chunk-WQPTWFXA.js → chunk-QFAZTSWS.js} +1 -1
  32. package/{chunk-6PJU5W5X.js → chunk-QHAUETMH.js} +1 -1
  33. package/{chunk-BDBR5EDG.js → chunk-R4RZNPK6.js} +1 -1
  34. package/{chunk-XYN4OGS4.js → chunk-SQL3G6PT.js} +1 -1
  35. package/chunk-SVN2X4PA.js +1 -0
  36. package/chunk-T2GKMXUI.js +1 -0
  37. package/{chunk-7YM6RN2G.js → chunk-T2IR6XO4.js} +1 -1
  38. package/chunk-TAA5ML6U.js +1 -0
  39. package/{chunk-RL7JYJ4S.js → chunk-TD7KBTDV.js} +1 -1
  40. package/{chunk-QVTIOQU4.js → chunk-TRRTUV3R.js} +1 -1
  41. package/{chunk-ER25OIRY.js → chunk-UQ2NU6Q3.js} +1 -1
  42. package/chunk-V4DQV4MJ.js +1 -0
  43. package/{chunk-SS4RWMEQ.js → chunk-X6LBC6WC.js} +1 -1
  44. package/{chunk-A2PI66LB.js → chunk-XAIX4B7R.js} +1 -1
  45. package/index.html +2 -2
  46. package/main-MR3RR2WH.js +1 -0
  47. package/package.json +1 -1
  48. package/styles-CT2NECF6.css +1 -0
  49. package/chunk-3DBUGAIF.js +0 -1
  50. package/chunk-3SP3MQEU.js +0 -1
  51. package/chunk-7YI4IDWY.js +0 -1
  52. package/chunk-AVWHS36O.js +0 -1
  53. package/chunk-B42N6RQ3.js +0 -1
  54. package/chunk-CWAAKGM6.js +0 -1
  55. package/chunk-HAOKXZHF.js +0 -1
  56. package/chunk-MYQPVSUP.js +0 -1
  57. package/chunk-NGPWOMCW.js +0 -8
  58. package/chunk-NSHVJHI5.js +0 -1
  59. package/chunk-NVFX5EQI.js +0 -1
  60. package/chunk-RIVCLGIC.js +0 -1
  61. package/chunk-RK3NUMZK.js +0 -1
  62. package/chunk-TXPM7OPP.js +0 -1
  63. package/chunk-WH7DPJOS.js +0 -1
  64. package/main-RMFQXRTZ.js +0 -1
  65. package/styles-GLYEHLO7.css +0 -1
package/assets/spk.woff2 CHANGED
Binary file
@@ -0,0 +1,8 @@
1
+ import{a as ge,b as Ce}from"./chunk-7CGTOI24.js";function X(e){return e}function Wf(...e){return ni(e)}function ni(e){return e.length===0?X:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}function I(e){return typeof e=="function"}function Wa(e){return e&&I(e.schedule)}function qa(e){return e[e.length-1]}function Gn(e){return I(qa(e))?e.pop():void 0}function Ze(e){return Wa(qa(e))?e.pop():void 0}function Ya(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(l){try{u(r.next(l))}catch(d){s(d)}}function c(l){try{u(r.throw(l))}catch(d){s(d)}}function u(l){l.done?i(l.value):o(l.value).then(a,c)}u((r=r.apply(e,t||[])).next())})}function Za(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 dt(e){return this instanceof dt?(this.v=e,this):new dt(e)}function Qa(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(p){return Promise.resolve(p).then(f,d)}}function a(f,p){r[f]&&(o[f]=function(g){return new Promise(function(m,C){i.push([f,g,m,C])>1||c(f,g)})},p&&(o[f]=p(o[f])))}function c(f,p){try{u(r[f](p))}catch(g){h(i[0][3],g)}}function u(f){f.value instanceof dt?Promise.resolve(f.value.v).then(l,d):h(i[0][2],f)}function l(f){c("next",f)}function d(f){c("throw",f)}function h(f,p){f(p),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ja(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 Za=="function"?Za(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(u){i({value:u,done:a})},s)}}var Wn=e=>e&&typeof e.length=="number"&&typeof e!="function";function qn(e){return I(e?.then)}function Rt(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 Zn=Rt(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 ln(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Y=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(I(r))try{r()}catch(i){t=i instanceof Zn?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Ka(i)}catch(s){t=t??[],s instanceof Zn?t=[...t,...s.errors]:t.push(s)}}if(t)throw new Zn(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Ka(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)&&ln(n,t)}remove(t){let{_finalizers:n}=this;n&&ln(n,t),t instanceof e&&t._removeParent(this)}};Y.EMPTY=(()=>{let e=new Y;return e.closed=!0,e})();var ri=Y.EMPTY;function Yn(e){return e instanceof Y||e&&"closed"in e&&I(e.remove)&&I(e.add)&&I(e.unsubscribe)}function Ka(e){I(e)?e():e.unsubscribe()}var be={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Pt={setTimeout(e,t,...n){let{delegate:r}=Pt;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Pt;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Qn(e){Pt.setTimeout(()=>{let{onUnhandledError:t}=be;if(t)t(e);else throw e})}function dn(){}var Xa=oi("C",void 0,void 0);function ec(e){return oi("E",void 0,e)}function tc(e){return oi("N",e,void 0)}function oi(e,t,n){return{kind:e,value:t,error:n}}var ft=null;function Ft(e){if(be.useDeprecatedSynchronousErrorHandling){let t=!ft;if(t&&(ft={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=ft;if(ft=null,n)throw r}}else e()}function nc(e){be.useDeprecatedSynchronousErrorHandling&&ft&&(ft.errorThrown=!0,ft.error=e)}var ht=class extends Y{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,Yn(t)&&t.add(this)):this.destination=Yf}static create(t,n,r){return new kt(t,n,r)}next(t){this.isStopped?si(tc(t),this):this._next(t)}error(t){this.isStopped?si(ec(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?si(Xa,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()}}},qf=Function.prototype.bind;function ii(e,t){return qf.call(e,t)}var ai=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Jn(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Jn(r)}else Jn(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Jn(n)}}},kt=class extends ht{constructor(t,n,r){super();let o;if(I(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&be.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&ii(t.next,i),error:t.error&&ii(t.error,i),complete:t.complete&&ii(t.complete,i)}):o=t}this.destination=new ai(o)}};function Jn(e){be.useDeprecatedSynchronousErrorHandling?nc(e):Qn(e)}function Zf(e){throw e}function si(e,t){let{onStoppedNotification:n}=be;n&&Pt.setTimeout(()=>n(e,t))}var Yf={closed:!0,next:dn,error:Zf,complete:dn};var Lt=typeof Symbol=="function"&&Symbol.observable||"@@observable";var S=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){let i=Jf(n)?n:new kt(n,r,o);return Ft(()=>{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=rc(r),new r((o,i)=>{let s=new kt({next:a=>{try{n(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Lt](){return this}pipe(...n){return ni(n)(this)}toPromise(n){return n=rc(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 rc(e){var t;return(t=e??be.Promise)!==null&&t!==void 0?t:Promise}function Qf(e){return e&&I(e.next)&&I(e.error)&&I(e.complete)}function Jf(e){return e&&e instanceof ht||Qf(e)&&Yn(e)}function Kn(e){return I(e[Lt])}function Xn(e){return Symbol.asyncIterator&&I(e?.[Symbol.asyncIterator])}function er(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 Kf(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var tr=Kf();function nr(e){return I(e?.[tr])}function rr(e){return Qa(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield dt(n.read());if(o)return yield dt(void 0);yield yield dt(r)}}finally{n.releaseLock()}})}function or(e){return I(e?.getReader)}function H(e){if(e instanceof S)return e;if(e!=null){if(Kn(e))return Xf(e);if(Wn(e))return eh(e);if(qn(e))return th(e);if(Xn(e))return oc(e);if(nr(e))return nh(e);if(or(e))return rh(e)}throw er(e)}function Xf(e){return new S(t=>{let n=e[Lt]();if(I(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function eh(e){return new S(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function th(e){return new S(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Qn)})}function nh(e){return new S(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function oc(e){return new S(t=>{oh(e,t).catch(n=>t.error(n))})}function rh(e){return oc(rr(e))}function oh(e,t){var n,r,o,i;return Ya(this,void 0,void 0,function*(){try{for(n=Ja(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 ue(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 ci(e){return I(e?.lift)}function T(e){return t=>{if(ci(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function _(e,t,n,r,o){return new ui(e,t,n,r,o)}var ui=class extends ht{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 ir(e,t=0){return T((n,r)=>{n.subscribe(_(r,o=>ue(r,e,()=>r.next(o),t),()=>ue(r,e,()=>r.complete(),t),o=>ue(r,e,()=>r.error(o),t)))})}function sr(e,t=0){return T((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function ic(e,t){return H(e).pipe(sr(t),ir(t))}function sc(e,t){return H(e).pipe(sr(t),ir(t))}function ac(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 cc(e,t){return new S(n=>{let r;return ue(n,t,()=>{r=e[tr](),ue(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)}),()=>I(r?.return)&&r.return()})}function ar(e,t){if(!e)throw new Error("Iterable cannot be null");return new S(n=>{ue(n,t,()=>{let r=e[Symbol.asyncIterator]();ue(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function uc(e,t){return ar(rr(e),t)}function lc(e,t){if(e!=null){if(Kn(e))return ic(e,t);if(Wn(e))return ac(e,t);if(qn(e))return sc(e,t);if(Xn(e))return ar(e,t);if(nr(e))return cc(e,t);if(or(e))return uc(e,t)}throw er(e)}function Ne(e,t){return t?lc(e,t):H(e)}function cr(...e){let t=Ze(e);return Ne(e,t)}function oe(e,t){return T((n,r)=>{let o=0;n.subscribe(_(r,i=>{r.next(e.call(t,i,o++))}))})}function ur(e){return T((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function dc(e,t,n,r,o,i,s,a){let c=[],u=0,l=0,d=!1,h=()=>{d&&!c.length&&!u&&t.complete()},f=g=>u<r?p(g):c.push(g),p=g=>{i&&t.next(g),u++;let m=!1;H(n(g,l++)).subscribe(_(t,C=>{o?.(C),i?f(C):t.next(C)},()=>{m=!0},void 0,()=>{if(m)try{for(u--;c.length&&u<r;){let C=c.shift();s?ue(t,s,()=>p(C)):p(C)}h()}catch(C){t.error(C)}}))};return e.subscribe(_(t,f,()=>{d=!0,h()})),()=>{a?.()}}function pt(e,t,n=1/0){return I(t)?pt((r,o)=>oe((i,s)=>t(r,i,o,s))(H(e(r,o))),n):(typeof t=="number"&&(n=t),T((r,o)=>dc(r,o,e,n)))}function li(e=1/0){return pt(X,e)}function fc(){return li(1)}function lr(...e){return fc()(Ne(e,Ze(e)))}function hc(...e){let t=Ze(e);return T((n,r)=>{(t?lr(e,n,t):lr(e,n)).subscribe(r)})}function dr(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 u=0,l=i++;H(e(c,l)).subscribe(o=_(r,d=>r.next(t?t(c,d,l,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function di(){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 fi=class extends S{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,ci(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 Y;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=Y.EMPTY)}return t}refCount(){return di()(this)}};var pc=Rt(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Se=(()=>{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 fr(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new pc}next(n){Ft(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Ft(()=>{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(){Ft(()=>{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?ri:(this.currentObservers=null,i.push(n),new Y(()=>{this.currentObservers=null,ln(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 fr(t,n),e})(),fr=class extends Se{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:ri}};var fn=class extends Se{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 hi={now(){return(hi.delegate||Date).now()},delegate:void 0};var pi=class extends Se{constructor(t=1/0,n=1/0,r=hi){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var hn=new S(e=>e.complete());function ih(e,t){let n=I(e)?e:()=>e,r=o=>o.error(n());return new S(t?o=>t.schedule(r,0,o):r)}function sh(e){return!!e&&(e instanceof S||I(e.lift)&&I(e.subscribe))}var gt=Rt(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});var{isArray:ah}=Array;function ch(e,t){return ah(t)?e(...t):e(t)}function hr(e){return oe(t=>ch(e,t))}var{isArray:uh}=Array,{getPrototypeOf:lh,prototype:dh,keys:fh}=Object;function pr(e){if(e.length===1){let t=e[0];if(uh(t))return{args:t,keys:null};if(hh(t)){let n=fh(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function hh(e){return e&&typeof e=="object"&&lh(e)===dh}function gr(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function ph(...e){let t=Ze(e),n=Gn(e),{args:r,keys:o}=pr(e);if(r.length===0)return Ne([],t);let i=new S(gh(r,t,o?s=>gr(o,s):X));return n?i.pipe(hr(n)):i}function gh(e,t,n=X){return r=>{gc(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)gc(t,()=>{let u=Ne(e[c],t),l=!1;u.subscribe(_(r,d=>{i[c]=d,l||(l=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function gc(e,t,n){e?ue(n,e,t):t()}function mh(e){return new S(t=>{H(e()).subscribe(t)})}function yh(...e){let t=Gn(e),{args:n,keys:r}=pr(e),o=new S(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,u=s;for(let l=0;l<s;l++){let d=!1;H(n[l]).subscribe(_(i,h=>{d||(d=!0,u--),a[l]=h},()=>c--,void 0,()=>{(!c||!d)&&(u||i.next(r?gr(r,a):a),i.complete())}))}});return t?o.pipe(hr(t)):o}function mt(e,t){return T((n,r)=>{let o=0;n.subscribe(_(r,i=>e.call(t,i,o++)&&r.next(i)))})}function gi(e){return T((t,n)=>{let r=null,o=!1,i;r=t.subscribe(_(n,void 0,void 0,s=>{i=H(e(s,gi(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function mc(e,t,n,r,o){return(i,s)=>{let a=n,c=t,u=0;i.subscribe(_(s,l=>{let d=u++;c=a?e(c,l,d):(a=!0,l),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function mi(e,t){return I(t)?pt(e,t,1):pt(e,1)}function pn(e){return T((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function mr(e){return e<=0?()=>hn:T((t,n)=>{let r=0;t.subscribe(_(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function vh(e){return oe(()=>e)}function Dh(e,t=X){return e=e??wh,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 wh(e,t){return e===t}function yr(e=Ih){return T((t,n)=>{let r=!1;t.subscribe(_(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function Ih(){return new gt}function yc(e,t){let n=arguments.length>=2;return r=>r.pipe(e?mt((o,i)=>e(o,i,r)):X,mr(1),n?pn(t):yr(()=>new gt))}function yi(e){return e<=0?()=>hn: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 Eh(e,t){let n=arguments.length>=2;return r=>r.pipe(e?mt((o,i)=>e(o,i,r)):X,yi(1),n?pn(t):yr(()=>new gt))}function Ch(e,t){return T(mc(e,t,arguments.length>=2,!0))}function bh(e){return T((t,n)=>{H(e).subscribe(_(n,()=>n.complete(),dn)),!n.closed&&t.subscribe(n)})}function vi(e,t,n){let r=I(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 u;(u=r.next)===null||u===void 0||u.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var u;a=!1,(u=r.error)===null||u===void 0||u.call(r,c),i.error(c)},()=>{var c,u;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(u=r.finalize)===null||u===void 0||u.call(r)}))}):X}function vc(e,t){return Object.is(e,t)}var W=null,gn=!1,vr=1,le=Symbol("SIGNAL");function M(e){let t=W;return W=e,t}function Dc(){return W}function Mh(){return gn}var jt={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 yn(e){if(gn)throw new Error("");if(W===null)return;W.consumerOnSignalRead(e);let t=W.nextProducerIndex++;if(br(W),t<W.producerNode.length&&W.producerNode[t]!==e&&mn(W)){let n=W.producerNode[t];Cr(n,W.producerIndexOfThis[t])}W.producerNode[t]!==e&&(W.producerNode[t]=e,W.producerIndexOfThis[t]=mn(W)?bc(e,W,t):0),W.producerLastReadVersion[t]=e.version}function _h(){vr++}function wc(e){if(!(mn(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===vr)){if(!e.producerMustRecompute(e)&&!Ir(e)){e.dirty=!1,e.lastCleanEpoch=vr;return}e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=vr}}function Ic(e){if(e.liveConsumerNode===void 0)return;let t=gn;gn=!0;try{for(let n of e.liveConsumerNode)n.dirty||Cc(n)}finally{gn=t}}function Ec(){return W?.consumerAllowSignalWrites!==!1}function Cc(e){e.dirty=!0,Ic(e),e.consumerMarkedDirty?.(e)}function vn(e){return e&&(e.nextProducerIndex=0),M(e)}function wr(e,t){if(M(t),!(!e||e.producerNode===void 0||e.producerIndexOfThis===void 0||e.producerLastReadVersion===void 0)){if(mn(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)Cr(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Ir(e){br(e);for(let t=0;t<e.producerNode.length;t++){let n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(wc(n),r!==n.version))return!0}return!1}function Er(e){if(br(e),mn(e))for(let t=0;t<e.producerNode.length;t++)Cr(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 bc(e,t,n){if(Mc(e),e.liveConsumerNode.length===0&&_c(e))for(let r=0;r<e.producerNode.length;r++)e.producerIndexOfThis[r]=bc(e.producerNode[r],e,r);return e.liveConsumerIndexOfThis.push(n),e.liveConsumerNode.push(t)-1}function Cr(e,t){if(Mc(e),e.liveConsumerNode.length===1&&_c(e))for(let r=0;r<e.producerNode.length;r++)Cr(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];br(o),o.producerIndexOfThis[r]=t}}function mn(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function br(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Mc(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}function _c(e){return e.producerNode!==void 0}function Ei(e){let t=Object.create(Th);t.computation=e;let n=()=>{if(wc(t),yn(t),t.value===Dr)throw t.error;return t.value};return n[le]=t,n}var Di=Symbol("UNSET"),wi=Symbol("COMPUTING"),Dr=Symbol("ERRORED"),Th=Ce(ge({},jt),{value:Di,dirty:!0,error:null,equal:vc,producerMustRecompute(e){return e.value===Di||e.value===wi},producerRecomputeValue(e){if(e.value===wi)throw new Error("Detected cycle in computations.");let t=e.value;e.value=wi;let n=vn(e),r;try{r=e.computation()}catch(o){r=Dr,e.error=o}finally{wr(e,n)}if(t!==Di&&t!==Dr&&r!==Dr&&e.equal(t,r)){e.value=t;return}e.value=r,e.version++}});function xh(){throw new Error}var Tc=xh;function xc(){Tc()}function Nc(e){Tc=e}var Nh=null;function Sc(e){let t=Object.create(Ci);t.value=e;let n=()=>(yn(t),t.value);return n[le]=t,n}function Dn(e,t){Ec()||xc(),e.equal(e.value,t)||(e.value=t,Sh(e))}function Ac(e,t){Ec()||xc(),Dn(e,t(e.value))}var Ci=Ce(ge({},jt),{equal:vc,value:void 0});function Sh(e){e.version++,_h(),Ic(e),Nh?.()}function Oc(e,t,n){let r=Object.create(Ah);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)||(Er(c),c.cleanupFn(),c.fn=null,c.schedule=null,c.cleanupFn=Ii)}let a=()=>{if(r.fn===null)return;if(Mh())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(r.dirty=!1,r.hasRun&&!Ir(r))return;r.hasRun=!0;let c=vn(r);try{r.cleanupFn(),r.cleanupFn=Ii,r.fn(o)}finally{wr(r,c)}};return r.ref={notify:()=>Cc(r),run:a,cleanup:()=>r.cleanupFn(),destroy:()=>s(r),[le]:r},r.ref}var Ii=()=>{},Ah=Ce(ge({},jt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule!==null&&e.schedule(e.ref)},hasRun:!1,cleanupFn:Ii});var _u="https://g.co/ng/security#xss",b=class extends Error{constructor(t,n){super(Us(t,n)),this.code=t}};function Us(e,t){return`${`NG0${Math.abs(e)}`}${t?": "+t:""}`}var go=Symbol("InputSignalNode#UNSET"),Tu=Ce(ge({},Ci),{transformFn:void 0,applyValueToInputSignal(e,t){Dn(e,t)}});function xu(e,t){let n=Object.create(Tu);n.value=e,n.transformFn=t?.transform;function r(){if(yn(n),n.value===go)throw new b(-950,!1);return n.value}return r[le]=n,r}function mo(e){return{toString:e}.toString()}var Qe=globalThis;function F(e){for(let t in e)if(e[t]===F)return t;throw Error("Could not find renamed property on target object.")}function Oh(e,t){for(let n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function he(e){if(typeof e=="string")return e;if(Array.isArray(e))return"["+e.map(he).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 Rh=F({__forward_ref__:F});function Nu(e){return e.__forward_ref__=Nu,e.toString=function(){return he(this())},e}function ie(e){return Su(e)?e():e}function Su(e){return typeof e=="function"&&e.hasOwnProperty(Rh)&&e.__forward_ref__===Nu}function R(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Au(e){return{providers:e.providers||[],imports:e.imports||[]}}function yo(e){return Rc(e,Ou)||Rc(e,Ru)}function s0(e){return yo(e)!==null}function Rc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Ph(e){let t=e&&(e[Ou]||e[Ru]);return t||null}function Pc(e){return e&&(e.hasOwnProperty(Fc)||e.hasOwnProperty(Fh))?e[Fc]:null}var Ou=F({\u0275prov:F}),Fc=F({\u0275inj:F}),Ru=F({ngInjectableDef:F}),Fh=F({ngInjectorDef:F}),N=class{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=R({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Pu(e){return e&&!!e.\u0275providers}var kh=F({\u0275cmp:F}),Lh=F({\u0275dir:F}),jh=F({\u0275pipe:F}),Vh=F({\u0275mod:F}),jr=F({\u0275fac:F}),En=F({__NG_ELEMENT_ID__:F}),kc=F({__NG_ENV_ID__:F});function fe(e){return typeof e=="string"?e:e==null?"":String(e)}function Bh(e){return typeof e=="function"?e.name||e.toString():typeof e=="object"&&e!=null&&typeof e.type=="function"?e.type.name||e.type.toString():fe(e)}function $h(e,t){let n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new b(-200,e)}function Hs(e,t){throw new b(-201,!1)}var x=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}(x||{}),Vi;function Fu(){return Vi}function de(e){let t=Vi;return Vi=e,t}function ku(e,t,n){let r=yo(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&x.Optional)return null;if(t!==void 0)return t;Hs(e,"Injector")}var Uh={},Cn=Uh,Hh="__NG_DI_FLAG__",Vr="ngTempTokenPath",zh="ngTokenPath",Gh=/\n/gm,Wh="\u0275",Lc="__source",Ut;function qh(){return Ut}function Ye(e){let t=Ut;return Ut=e,t}function Zh(e,t=x.Default){if(Ut===void 0)throw new b(-203,!1);return Ut===null?ku(e,void 0,t):Ut.get(e,t&x.Optional?null:void 0,t)}function $(e,t=x.Default){return(Fu()||Zh)(ie(e),t)}function D(e,t=x.Default){return $(e,vo(t))}function vo(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Bi(e){let t=[];for(let n=0;n<e.length;n++){let r=ie(e[n]);if(Array.isArray(r)){if(r.length===0)throw new b(900,!1);let o,i=x.Default;for(let s=0;s<r.length;s++){let a=r[s],c=Yh(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}t.push($(o,i))}else t.push($(r))}return t}function Yh(e){return e[Hh]}function Qh(e,t,n,r){let o=e[Vr];throw t[Lc]&&o.unshift(t[Lc]),e.message=Jh(`
5
+ `+e.message,o,n,r),e[zh]=o,e[Vr]=null,e}function Jh(e,t,n,r=null){e=e&&e.charAt(0)===`
6
+ `&&e.charAt(1)==Wh?e.slice(2):e;let o=he(t);if(Array.isArray(t))o=t.map(he).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):he(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Gh,`
7
+ `)}`}function Dt(e,t){let n=e.hasOwnProperty(jr);return n?e[jr]:null}function Kh(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 Xh(e){return e.flat(Number.POSITIVE_INFINITY)}function zs(e,t){e.forEach(n=>Array.isArray(n)?zs(n,t):t(n))}function Lu(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 ep(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function tp(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 Do(e,t,n){let r=On(e,t);return r>=0?e[r|1]=n:(r=~r,tp(e,r,t,n)),r}function bi(e,t){let n=On(e,t);if(n>=0)return e[n|1]}function On(e,t){return np(e,t,1)}function np(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 zt={},se=[],$r=new N(""),ju=new N("",-1),Vu=new N(""),Ur=class{get(t,n=Cn){if(n===Cn){let r=new Error(`NullInjectorError: No provider for ${he(t)}!`);throw r.name="NullInjectorError",r}return n}},Bu=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Bu||{}),bn=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(bn||{}),Xe=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(Xe||{});function rp(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}}function $i(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];op(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function $u(e){return e===3||e===4||e===6}function op(e){return e.charCodeAt(0)===64}function Mn(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?jc(e,n,o,null,t[++r]):jc(e,n,o,null,null))}}return e}function jc(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 Uu="ng-template";function ip(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]=="string";o+=2)if(t[o]==="class"&&rp(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Gs(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 Gs(e){return e.type===4&&e.value!==Uu}function sp(e,t,n){let r=e.type===4&&!n?Uu:e.value;return t===r}function ap(e,t,n){let r=4,o=e.attrs,i=o!==null?lp(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c=="number"){if(!s&&!Me(r)&&!Me(c))return!1;if(s&&Me(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!sp(e,c,n)||c===""&&t.length===1){if(Me(r))return!1;s=!0}}else if(r&8){if(o===null||!ip(e,o,c,n)){if(Me(r))return!1;s=!0}}else{let u=t[++a],l=cp(c,o,Gs(e),n);if(l===-1){if(Me(r))return!1;s=!0;continue}if(u!==""){let d;if(l>i?d="":d=o[l+1].toLowerCase(),r&2&&u!==d){if(Me(r))return!1;s=!0}}}}return Me(r)||s}function Me(e){return(e&1)===0}function cp(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 dp(t,e)}function Hu(e,t,n=!1){for(let r=0;r<t.length;r++)if(ap(e,t[r],n))return!0;return!1}function up(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if(!(n&1))return t[n+1]}return null}function lp(e){for(let t=0;t<e.length;t++){let n=e[t];if($u(n))return t}return e.length}function dp(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 fp(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 Vc(e,t){return e?":not("+t.trim()+")":t}function hp(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!==""&&!Me(s)&&(t+=Vc(i,o),o=""),r=s,i=i||!Me(r);n++}return o!==""&&(t+=Vc(i,o)),t}function pp(e){return e.map(hp).join(",")}function gp(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(!Me(o))break;o=i}r++}return{attrs:t,classes:n}}function a0(e){return mo(()=>{let t=Yu(e),n=Ce(ge({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Bu.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||bn.Emulated,styles:e.styles||se,_:null,schemas:e.schemas||null,tView:null,id:""});Qu(n);let r=e.dependencies;return n.directiveDefs=$c(r,!1),n.pipeDefs=$c(r,!0),n.id=Dp(n),n})}function mp(e){return et(e)||Wu(e)}function yp(e){return e!==null}function zu(e){return mo(()=>({type:e.type,bootstrap:e.bootstrap||se,declarations:e.declarations||se,imports:e.imports||se,exports:e.exports||se,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Bc(e,t){if(e==null)return zt;let n={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a=Xe.None;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i):(i=o,s=o),t?(n[i]=a!==Xe.None?[r,a]:r,t[i]=s):n[i]=r}return n}function Gu(e){return mo(()=>{let t=Yu(e);return Qu(t),t})}function Ws(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 et(e){return e[kh]||null}function Wu(e){return e[Lh]||null}function qu(e){return e[jh]||null}function vp(e){let t=et(e)||Wu(e)||qu(e);return t!==null?t.standalone:!1}function Zu(e,t){let n=e[Vh]||null;if(!n&&t===!0)throw new Error(`Type ${he(e)} does not have '\u0275mod' property.`);return n}function Yu(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||zt,exportAs:e.exportAs||null,standalone:e.standalone===!0,signals:e.signals===!0,selectors:e.selectors||se,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Bc(e.inputs,t),outputs:Bc(e.outputs),debugInfo:null}}function Qu(e){e.features?.forEach(t=>t(e))}function $c(e,t){if(!e)return null;let n=t?qu:mp;return()=>(typeof e=="function"?e():e).map(r=>n(r)).filter(yp)}function Dp(e){let t=0,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,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].join("|");for(let o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}function qs(e){return{\u0275providers:e}}function wp(...e){return{\u0275providers:Ju(!0,e),\u0275fromNgModule:!0}}function Ju(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return zs(t,s=>{let a=s;Ui(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&Ku(o,i),n}function Ku(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];Zs(o,i=>{t(i,r)})}}function Ui(e,t,n,r){if(e=ie(e),!e)return!1;let o=null,i=Pc(e),s=!i&&et(e);if(!i&&!s){let c=e.ngModule;if(i=Pc(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 u of c)Ui(u,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let u;try{zs(i.imports,l=>{Ui(l,t,n,r)&&(u||=[],u.push(l))})}finally{}u!==void 0&&Ku(u,t)}if(!a){let u=Dt(o)||(()=>new o);t({provide:o,useFactory:u,deps:se},o),t({provide:Vu,useValue:o,multi:!0},o),t({provide:$r,useValue:()=>$(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let u=e;Zs(c,l=>{t(l,u)})}}else return!1;return o!==e&&e.providers!==void 0}function Zs(e,t){for(let n of e)Pu(n)&&(n=n.\u0275providers),Array.isArray(n)?Zs(n,t):t(n)}var Ip=F({provide:String,useValue:F});function Xu(e){return e!==null&&typeof e=="object"&&Ip in e}function Ep(e){return!!(e&&e.useExisting)}function Cp(e){return!!(e&&e.useFactory)}function Gt(e){return typeof e=="function"}function bp(e){return!!e.useClass}var el=new N(""),Ar={},Mp={},Mi;function Ys(){return Mi===void 0&&(Mi=new Ur),Mi}var Re=class{},_n=class extends Re{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,zi(t,s=>this.processProvider(s)),this.records.set(ju,Vt(void 0,this)),o.has("environment")&&this.records.set(Re,Vt(void 0,this));let i=this.records.get(el);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Vu,se,x.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let t=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(t)}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();let n=Ye(this),r=de(void 0),o;try{return t()}finally{Ye(n),de(r)}}get(t,n=Cn,r=x.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(kc))return t[kc](this);r=vo(r);let o,i=Ye(this),s=de(void 0);try{if(!(r&x.SkipSelf)){let c=this.records.get(t);if(c===void 0){let u=Sp(t)&&yo(t);u&&this.injectableDefInScope(u)?c=Vt(Hi(t),Ar):c=null,this.records.set(t,c)}if(c!=null)return this.hydrate(t,c)}let a=r&x.Self?Ys():this.parent;return n=r&x.Optional&&n===Cn?null:n,a.get(t,n)}catch(a){if(a.name==="NullInjectorError"){if((a[Vr]=a[Vr]||[]).unshift(he(t)),i)throw a;return Qh(a,t,"R3InjectorError",this.source)}else throw a}finally{de(s),Ye(i)}}resolveInjectorInitializers(){let t=M(null),n=Ye(this),r=de(void 0),o;try{let i=this.get($r,se,x.Self);for(let s of i)s()}finally{Ye(n),de(r),M(t)}}toString(){let t=[],n=this.records;for(let r of n.keys())t.push(he(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new b(205,!1)}processProvider(t){t=ie(t);let n=Gt(t)?t:ie(t&&t.provide),r=Tp(t);if(!Gt(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Vt(void 0,Ar,!0),o.factory=()=>Bi(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){let r=M(null);try{return n.value===Ar&&(n.value=Mp,n.value=n.factory()),typeof n.value=="object"&&n.value&&Np(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{M(r)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=ie(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 Hi(e){let t=yo(e),n=t!==null?t.factory:Dt(e);if(n!==null)return n;if(e instanceof N)throw new b(204,!1);if(e instanceof Function)return _p(e);throw new b(204,!1)}function _p(e){if(e.length>0)throw new b(204,!1);let n=Ph(e);return n!==null?()=>n.factory(e):()=>new e}function Tp(e){if(Xu(e))return Vt(void 0,e.useValue);{let t=tl(e);return Vt(t,Ar)}}function tl(e,t,n){let r;if(Gt(e)){let o=ie(e);return Dt(o)||Hi(o)}else if(Xu(e))r=()=>ie(e.useValue);else if(Cp(e))r=()=>e.useFactory(...Bi(e.deps||[]));else if(Ep(e))r=()=>$(ie(e.useExisting));else{let o=ie(e&&(e.useClass||e.provide));if(xp(e))r=()=>new o(...Bi(e.deps));else return Dt(o)||Hi(o)}return r}function Vt(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function xp(e){return!!e.deps}function Np(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function Sp(e){return typeof e=="function"||typeof e=="object"&&e instanceof N}function zi(e,t){for(let n of e)Array.isArray(n)?zi(n,t):n&&Pu(n)?zi(n.\u0275providers,t):t(n)}function nl(e,t){e instanceof _n&&e.assertNotDestroyed();let n,r=Ye(e),o=de(void 0);try{return t()}finally{Ye(r),de(o)}}function rl(){return Fu()!==void 0||qh()!=null}function Ap(e){if(!rl())throw new b(-203,!1)}function Op(e){return typeof e=="function"}var Be=0,w=1,v=2,re=3,Te=4,pe=5,Wt=6,Hr=7,ee=8,qt=9,Pe=10,V=11,Tn=12,Uc=13,nn=14,me=15,wt=16,Bt=17,je=18,wo=19,ol=20,Je=21,Or=22,ve=23,Q=25,il=1;var It=7,zr=8,Zt=9,te=10,Gr=function(e){return e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews",e}(Gr||{});function Ke(e){return Array.isArray(e)&&typeof e[il]=="object"}function $e(e){return Array.isArray(e)&&e[il]===!0}function Qs(e){return(e.flags&4)!==0}function Io(e){return e.componentOffset>-1}function Eo(e){return(e.flags&1)===1}function tt(e){return!!e.template}function Gi(e){return(e[v]&512)!==0}var Wi=class{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function sl(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}function Js(){return al}function al(e){return e.type.prototype.ngOnChanges&&(e.setInput=Pp),Rp}Js.ngInherit=!0;function Rp(){let e=ul(this),t=e?.current;if(t){let n=e.previous;if(n===zt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Pp(e,t,n,r,o){let i=this.declaredInputs[r],s=ul(e)||Fp(e,{previous:zt,current:null}),a=s.current||(s.current={}),c=s.previous,u=c[i];a[i]=new Wi(u&&u.currentValue,n,c===zt),sl(e,t,o,n)}var cl="__ngSimpleChanges__";function ul(e){return e[cl]||null}function Fp(e,t){return e[cl]=t}var Hc=null;var Ae=function(e,t,n){Hc?.(e,t,n)},ll="svg",kp="math";function Fe(e){for(;Array.isArray(e);)e=e[Be];return e}function dl(e,t){return Fe(t[e])}function we(e,t){return Fe(t[e.index])}function Ks(e,t){return e.data[t]}function Xs(e,t){return e[t]}function st(e,t){let n=t[e];return Ke(n)?n:n[Be]}function Lp(e){return(e[v]&4)===4}function ea(e){return(e[v]&128)===128}function jp(e){return $e(e[re])}function nt(e,t){return t==null?null:e[t]}function fl(e){e[Bt]=0}function hl(e){e[v]&1024||(e[v]|=1024,ea(e)&&bo(e))}function Vp(e,t){for(;e>0;)t=t[nn],e--;return t}function Co(e){return!!(e[v]&9216||e[ve]?.dirty)}function qi(e){e[Pe].changeDetectionScheduler?.notify(8),e[v]&64&&(e[v]|=1024),Co(e)&&bo(e)}function bo(e){e[Pe].changeDetectionScheduler?.notify(0);let t=Et(e);for(;t!==null&&!(t[v]&8192||(t[v]|=8192,!ea(t)));)t=Et(t)}function pl(e,t){if((e[v]&256)===256)throw new b(911,!1);e[Je]===null&&(e[Je]=[]),e[Je].push(t)}function Bp(e,t){if(e[Je]===null)return;let n=e[Je].indexOf(t);n!==-1&&e[Je].splice(n,1)}function Et(e){let t=e[re];return $e(t)?t[re]:t}var E={lFrame:El(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var gl=!1;function $p(){return E.lFrame.elementDepthCount}function Up(){E.lFrame.elementDepthCount++}function Hp(){E.lFrame.elementDepthCount--}function ml(){return E.bindingsEnabled}function yl(){return E.skipHydrationRootTNode!==null}function zp(e){return E.skipHydrationRootTNode===e}function Gp(){E.skipHydrationRootTNode=null}function y(){return E.lFrame.lView}function B(){return E.lFrame.tView}function c0(e){return E.lFrame.contextLView=e,e[ee]}function u0(e){return E.lFrame.contextLView=null,e}function K(){let e=vl();for(;e!==null&&e.type===64;)e=e.parent;return e}function vl(){return E.lFrame.currentTNode}function Wp(){let e=E.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Nt(e,t){let n=E.lFrame;n.currentTNode=e,n.isParent=t}function ta(){return E.lFrame.isParent}function na(){E.lFrame.isParent=!1}function qp(){return E.lFrame.contextLView}function Dl(){return gl}function zc(e){gl=e}function rn(){let e=E.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function ra(){return E.lFrame.bindingIndex}function Zp(e){return E.lFrame.bindingIndex=e}function on(){return E.lFrame.bindingIndex++}function Rn(e){let t=E.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Yp(){return E.lFrame.inI18n}function Qp(e,t){let n=E.lFrame;n.bindingIndex=n.bindingRootIndex=e,Zi(t)}function Jp(){return E.lFrame.currentDirectiveIndex}function Zi(e){E.lFrame.currentDirectiveIndex=e}function Kp(e){let t=E.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function oa(){return E.lFrame.currentQueryIndex}function Mo(e){E.lFrame.currentQueryIndex=e}function Xp(e){let t=e[w];return t.type===2?t.declTNode:t.type===1?e[pe]:null}function wl(e,t,n){if(n&x.SkipSelf){let o=t,i=e;for(;o=o.parent,o===null&&!(n&x.Host);)if(o=Xp(i),o===null||(i=i[nn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=E.lFrame=Il();return r.currentTNode=t,r.lView=e,!0}function ia(e){let t=Il(),n=e[w];E.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Il(){let e=E.lFrame,t=e===null?null:e.child;return t===null?El(e):t}function El(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 Cl(){let e=E.lFrame;return E.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var bl=Cl;function sa(){let e=Cl();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(E.lFrame.contextLView=Vp(e,E.lFrame.contextLView))[ee]}function ke(){return E.lFrame.selectedIndex}function Ct(e){E.lFrame.selectedIndex=e}function sn(){let e=E.lFrame;return Ks(e.tView,e.selectedIndex)}function l0(){E.lFrame.currentNamespace=ll}function tg(){return E.lFrame.currentNamespace}var Ml=!0;function _o(){return Ml}function To(e){Ml=e}function ng(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=al(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 xo(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:u,ngOnDestroy:l}=i;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),u&&((e.viewHooks??=[]).push(n,u),(e.viewCheckHooks??=[]).push(n,u)),l!=null&&(e.destroyHooks??=[]).push(n,l)}}function Rr(e,t,n){_l(e,t,3,n)}function Pr(e,t,n,r){(e[v]&3)===n&&_l(e,t,n,r)}function _i(e,t){let n=e[v];(n&3)===t&&(n&=16383,n+=1,e[v]=n)}function _l(e,t,n,r){let o=r!==void 0?e[Bt]&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[Bt]+=65536),(a<i||i==-1)&&(rg(e,n,t,c),e[Bt]=(e[Bt]&4294901760)+c+2),c++}function Gc(e,t){Ae(4,e,t);let n=M(null);try{t.call(e)}finally{M(n),Ae(5,e,t)}}function rg(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[Bt]>>16&&(e[v]&3)===t&&(e[v]+=16384,Gc(a,i)):Gc(a,i)}var Ht=-1,bt=class{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function og(e){return e instanceof bt}function ig(e){return(e.flags&8)!==0}function sg(e){return(e.flags&16)!==0}var Ti={},Yi=class{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=vo(r);let o=this.injector.get(t,Ti,r);return o!==Ti||n===Ti?o:this.parentInjector.get(t,n,r)}};function Tl(e){return e!==Ht}function Wr(e){return e&32767}function ag(e){return e>>16}function qr(e,t){let n=ag(e),r=t;for(;n>0;)r=r[nn],n--;return r}var Qi=!0;function Zr(e){let t=Qi;return Qi=e,t}var cg=256,xl=cg-1,Nl=5,ug=0,Oe={};function lg(e,t,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(En)&&(r=n[En]),r==null&&(r=n[En]=ug++);let o=r&xl,i=1<<o;t.data[e+(o>>Nl)]|=i}function Yr(e,t){let n=Sl(e,t);if(n!==-1)return n;let r=t[w];r.firstCreatePass&&(e.injectorIndex=t.length,xi(r.data,e),xi(t,null),xi(r.blueprint,null));let o=aa(e,t),i=e.injectorIndex;if(Tl(o)){let s=Wr(o),a=qr(o,t),c=a[w].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|c[s+u]}return t[i+8]=o,i}function xi(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Sl(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function aa(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=Fl(o),r===null)return Ht;if(n++,o=o[nn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Ht}function Ji(e,t,n){lg(e,t,n)}function dg(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($u(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 Al(e,t,n){if(n&x.Optional||e!==void 0)return e;Hs(t,"NodeInjector")}function Ol(e,t,n,r){if(n&x.Optional&&r===void 0&&(r=null),!(n&(x.Self|x.Host))){let o=e[qt],i=de(void 0);try{return o?o.get(t,r,n&x.Optional):ku(t,r,n&x.Optional)}finally{de(i)}}return Al(r,t,n)}function Rl(e,t,n,r=x.Default,o){if(e!==null){if(t[v]&2048&&!(r&x.Self)){let s=gg(e,t,n,r,Oe);if(s!==Oe)return s}let i=Pl(e,t,n,r,Oe);if(i!==Oe)return i}return Ol(t,n,r,o)}function Pl(e,t,n,r,o){let i=hg(n);if(typeof i=="function"){if(!wl(t,e,r))return r&x.Host?Al(o,n,r):Ol(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&x.Optional))Hs(n);else return s}finally{bl()}}else if(typeof i=="number"){let s=null,a=Sl(e,t),c=Ht,u=r&x.Host?t[me][pe]:null;for((a===-1||r&x.SkipSelf)&&(c=a===-1?aa(e,t):t[a+8],c===Ht||!qc(r,!1)?a=-1:(s=t[w],a=Wr(c),t=qr(c,t)));a!==-1;){let l=t[w];if(Wc(i,a,l.data)){let d=fg(a,t,n,s,r,u);if(d!==Oe)return d}c=t[a+8],c!==Ht&&qc(r,t[w].data[a+8]===u)&&Wc(i,a,t)?(s=l,a=Wr(c),t=qr(c,t)):a=-1}}return o}function fg(e,t,n,r,o,i){let s=t[w],a=s.data[e+8],c=r==null?Io(a)&&Qi:r!=s&&(a.type&3)!==0,u=o&x.Host&&i===a,l=Fr(a,s,n,c,u);return l!==null?Mt(t,s,l,a):Oe}function Fr(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,u=e.directiveEnd,l=i>>20,d=r?a:a+l,h=o?a+l:u;for(let f=d;f<h;f++){let p=s[f];if(f<c&&n===p||f>=c&&p.type===n)return f}if(o){let f=s[c];if(f&&tt(f)&&f.type===n)return c}return null}function Mt(e,t,n,r){let o=e[n],i=t.data;if(og(o)){let s=o;s.resolving&&$h(Bh(i[n]));let a=Zr(s.canSeeViewProviders);s.resolving=!0;let c,u=s.injectImpl?de(s.injectImpl):null,l=wl(e,r,x.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&ng(n,i[n],t)}finally{u!==null&&de(u),Zr(a),s.resolving=!1,bl()}}return o}function hg(e){if(typeof e=="string")return e.charCodeAt(0)||0;let t=e.hasOwnProperty(En)?e[En]:void 0;return typeof t=="number"?t>=0?t&xl:pg:t}function Wc(e,t,n){let r=1<<e;return!!(n[t+(e>>Nl)]&r)}function qc(e,t){return!(e&x.Self)&&!(e&x.Host&&t)}var vt=class{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Rl(this._tNode,this._lView,t,vo(r),n)}};function pg(){return new vt(K(),y())}function d0(e){return mo(()=>{let t=e.prototype.constructor,n=t[jr]||Ki(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[jr]||Ki(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Ki(e){return Su(e)?()=>{let t=Ki(ie(e));return t&&t()}:Dt(e)}function gg(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[v]&2048&&!(s[v]&512);){let a=Pl(i,s,n,r|x.Self,Oe);if(a!==Oe)return a;let c=i.parent;if(!c){let u=s[ol];if(u){let l=u.get(n,Oe,r);if(l!==Oe)return l}c=Fl(s),s=s[nn]}i=c}return o}function Fl(e){let t=e[w],n=t.type;return n===2?t.declTNode:n===1?e[pe]:null}function mg(e){return dg(K(),e)}function Zc(e,t=null,n=null,r){let o=kl(e,t,n,r);return o.resolveInjectorInitializers(),o}function kl(e,t=null,n=null,r,o=new Set){let i=[n||se,wp(e)];return r=r||(typeof e=="object"?void 0:he(e)),new _n(i,t||Ys(),r||null,o)}var Yt=class e{static{this.THROW_IF_NOT_FOUND=Cn}static{this.NULL=new Ur}static create(t,n){if(Array.isArray(t))return Zc({name:""},n,t,"");{let r=t.name??"";return Zc({name:r},t.parent,t.providers,r)}}static{this.\u0275prov=R({token:e,providedIn:"any",factory:()=>$(ju)})}static{this.__NG_ELEMENT_ID__=-1}};var yg=new N("");yg.__NG_ELEMENT_ID__=e=>{let t=K();if(t===null)throw new b(204,!1);if(t.type&2)return t.value;if(e&x.Optional)return null;throw new b(204,!1)};var vg="ngOriginalError";function Ni(e){return e[vg]}var Ll=!0,No=(()=>{class e{static{this.__NG_ELEMENT_ID__=Dg}static{this.__NG_ENV_ID__=n=>n}}return e})(),Xi=class extends No{constructor(t){super(),this._lView=t}onDestroy(t){return pl(this._lView,t),()=>Bp(this._lView,t)}};function Dg(){return new Xi(y())}var St=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new fn(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static{this.\u0275prov=R({token:e,providedIn:"root",factory:()=>new e})}}return e})();var es=class extends Se{constructor(t=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=t,rl()&&(this.destroyRef=D(No,{optional:!0})??void 0,this.pendingTasks=D(St,{optional:!0})??void 0)}emit(t){let n=M(null);try{super.next(t)}finally{M(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t=="object"){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof Y&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{t(n),r!==void 0&&this.pendingTasks?.remove(r)})}}},_e=es;function Qr(...e){}function jl(e){let t,n;function r(){e=Qr;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 Yc(e){return queueMicrotask(()=>e()),()=>{e=Qr}}var ca="isAngularZone",Jr=ca+"_ID",wg=0,ne=class e{constructor(t){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new _e(!1),this.onMicrotaskEmpty=new _e(!1),this.onStable=new _e(!1),this.onError=new _e(!1);let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=Ll}=t;if(typeof Zone>"u")throw new b(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,Cg(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(ca)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new b(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,Ig,Qr,Qr);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)}},Ig={};function ua(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 Eg(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){jl(()=>{e.callbackScheduled=!1,ts(e),e.isCheckStableRunning=!0,ua(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ts(e)}function Cg(e){let t=()=>{Eg(e)},n=wg++;e._inner=e._inner.fork({name:"angular",properties:{[ca]:!0,[Jr]:n,[Jr+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(bg(c))return r.invokeTask(i,s,a,c);try{return Qc(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&t(),Jc(e)}},onInvoke:(r,o,i,s,a,c,u)=>{try{return Qc(e),r.invoke(i,s,a,c,u)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Mg(c)&&t(),Jc(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,ts(e),ua(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 Qc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Jc(e){e._nesting--,ua(e)}var Kr=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new _e,this.onMicrotaskEmpty=new _e,this.onStable=new _e,this.onError=new _e}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 bg(e){return Vl(e,"__ignore_ng_zone__")}function Mg(e){return Vl(e,"__scheduler_tick__")}function Vl(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var rt=class{constructor(){this._console=console}handleError(t){let n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Ni(t);for(;n&&Ni(n);)n=Ni(n);return n||null}},_g=new N("",{providedIn:"root",factory:()=>{let e=D(ne),t=D(rt);return n=>e.runOutsideAngular(()=>t.handleError(n))}}),Xr=class{constructor(){this.destroyed=!1,this.listeners=null,this.errorHandler=D(rt,{optional:!0}),this.destroyRef=D(No),this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new b(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 b(953,!1);if(this.listeners===null)return;let n=M(null);try{for(let r of this.listeners)try{r(t)}catch(o){this.errorHandler?.handleError(o)}}finally{M(n)}}};function f0(e){return new Xr}function Kc(e,t){return xu(e,t)}function Tg(e){return xu(go,e)}var h0=(Kc.required=Tg,Kc);function xg(){return an(K(),y())}function an(e,t){return new cn(we(e,t))}var cn=(()=>{class e{constructor(n){this.nativeElement=n}static{this.__NG_ELEMENT_ID__=xg}}return e})();function Bl(e){return e instanceof cn?e.nativeElement:e}function Ng(){return this._results[Symbol.iterator]()}var ns=class e{get changes(){return this._changes??=new _e}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let n=e.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Ng)}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=Xh(t);(this._changesDetected=!Kh(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.emit(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function $l(e){return(e.flags&128)===128}var Ul=new Map,Sg=0;function Ag(){return Sg++}function Og(e){Ul.set(e[wo],e)}function rs(e){Ul.delete(e[wo])}var Xc="__ngContext__";function ot(e,t){Ke(t)?(e[Xc]=t[wo],Og(t)):e[Xc]=t}function Hl(e){return Gl(e[Tn])}function zl(e){return Gl(e[Te])}function Gl(e){for(;e!==null&&!$e(e);)e=e[Te];return e}var os;function p0(e){os=e}function Wl(){if(os!==void 0)return os;if(typeof document<"u")return document;throw new b(210,!1)}var g0=new N("",{providedIn:"root",factory:()=>Rg}),Rg="ng",Pg=new N(""),la=new N("",{providedIn:"platform",factory:()=>"unknown"});var m0=new N("",{providedIn:"root",factory:()=>Wl().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var Fg="h",kg="b";var Lg=()=>null;function da(e,t,n=!1){return Lg(e,t,n)}var ql=!1,jg=new N("",{providedIn:"root",factory:()=>ql});var Mr;function Vg(){if(Mr===void 0&&(Mr=null,Qe.trustedTypes))try{Mr=Qe.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Mr}function So(e){return Vg()?.createHTML(e)||e}var _r;function Zl(){if(_r===void 0&&(_r=null,Qe.trustedTypes))try{_r=Qe.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _r}function eu(e){return Zl()?.createHTML(e)||e}function tu(e){return Zl()?.createScriptURL(e)||e}var Ve=class{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${_u})`}},is=class extends Ve{getTypeName(){return"HTML"}},ss=class extends Ve{getTypeName(){return"Style"}},as=class extends Ve{getTypeName(){return"Script"}},cs=class extends Ve{getTypeName(){return"URL"}},us=class extends Ve{getTypeName(){return"ResourceURL"}};function At(e){return e instanceof Ve?e.changingThisBreaksApplicationSecurity:e}function fa(e,t){let n=Bg(e);if(n!=null&&n!==t){if(n==="ResourceURL"&&t==="URL")return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${_u})`)}return n===t}function Bg(e){return e instanceof Ve&&e.getTypeName()||null}function y0(e){return new is(e)}function v0(e){return new ss(e)}function D0(e){return new as(e)}function w0(e){return new cs(e)}function I0(e){return new us(e)}function $g(e){let t=new ds(e);return Ug()?new ls(t):t}var ls=class{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{let n=new window.DOMParser().parseFromString(So(t),"text/html").body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch{return null}}},ds=class{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let n=this.inertDocument.createElement("template");return n.innerHTML=So(t),n}};function Ug(){try{return!!new window.DOMParser().parseFromString(So(""),"text/html")}catch{return!1}}var Hg=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Yl(e){return e=String(e),e.match(Hg)?e:"unsafe:"+e}function Ue(e){let t={};for(let n of e.split(","))t[n]=!0;return t}function Pn(...e){let t={};for(let n of e)for(let r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}var Ql=Ue("area,br,col,hr,img,wbr"),Jl=Ue("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Kl=Ue("rp,rt"),zg=Pn(Kl,Jl),Gg=Pn(Jl,Ue("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")),Wg=Pn(Kl,Ue("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")),nu=Pn(Ql,Gg,Wg,zg),Xl=Ue("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qg=Ue("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"),Zg=Ue("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"),Yg=Pn(Xl,qg,Zg),Qg=Ue("script,style,template"),fs=class{constructor(){this.sanitizedSomething=!1,this.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=Xg(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=Kg(n);if(i){n=i;break}n=o.pop()}}return this.buf.join("")}startElement(t){let n=ru(t).toLowerCase();if(!nu.hasOwnProperty(n))return this.sanitizedSomething=!0,!Qg.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(!Yg.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;Xl[a]&&(c=Yl(c)),this.buf.push(" ",s,'="',ou(c),'"')}return this.buf.push(">"),!0}endElement(t){let n=ru(t).toLowerCase();nu.hasOwnProperty(n)&&!Ql.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(ou(t))}};function Jg(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Kg(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw ed(t);return t}function Xg(e){let t=e.firstChild;if(t&&Jg(e,t))throw ed(t);return t}function ru(e){let t=e.nodeName;return typeof t=="string"?t:"FORM"}function ed(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var em=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tm=/([^\#-~ |!])/g;function ou(e){return e.replace(/&/g,"&amp;").replace(em,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return"&#"+((n-55296)*1024+(r-56320)+65536)+";"}).replace(tm,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Tr;function nm(e,t){let n=null;try{Tr=Tr||$g(e);let r=t?String(t):"";n=Tr.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=Tr.getInertBodyElement(r)}while(r!==i);let a=new fs().sanitizeChildren(iu(n)||n);return So(a)}finally{if(n){let r=iu(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function iu(e){return"content"in e&&rm(e)?e.content:null}function rm(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}var Ao=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}(Ao||{});function E0(e){let t=ha();return t?eu(t.sanitize(Ao.HTML,e)||""):fa(e,"HTML")?eu(At(e)):nm(Wl(),fe(e))}function om(e){let t=ha();return t?t.sanitize(Ao.URL,e)||"":fa(e,"URL")?At(e):Yl(fe(e))}function im(e){let t=ha();if(t)return tu(t.sanitize(Ao.RESOURCE_URL,e)||"");if(fa(e,"ResourceURL"))return tu(At(e));throw new b(904,!1)}function sm(e,t){return t==="src"&&(e==="embed"||e==="frame"||e==="iframe"||e==="media"||e==="script")||t==="href"&&(e==="base"||e==="link")?im:om}function C0(e,t,n){return sm(t,n)(e)}function ha(){let e=y();return e&&e[Pe].sanitizer}var am=/^>|^->|<!--|-->|--!>|<!-$/g,cm=/(<|>)/g,um="\u200B$1\u200B";function lm(e){return e.replace(am,t=>t.replace(cm,um))}function td(e){return e instanceof Function?e():e}var eo=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(eo||{}),dm;function pa(e,t){return dm(e,t)}function $t(e,t,n,r,o){if(r!=null){let i,s=!1;$e(r)?i=r:Ke(r)&&(s=!0,r=r[Be]);let a=Fe(r);e===0&&n!==null?o==null?sd(t,n,a):to(t,n,a,o||null,!0):e===1&&n!==null?to(t,n,a,o||null,!0):e===2?Mm(t,a,s):e===3&&t.destroyNode(a),i!=null&&Tm(t,e,i,n,o)}}function fm(e,t){return e.createText(t)}function hm(e,t,n){e.setValue(t,n)}function pm(e,t){return e.createComment(lm(t))}function nd(e,t,n){return e.createElement(t,n)}function gm(e,t){rd(e,t),t[Be]=null,t[pe]=null}function mm(e,t,n,r,o,i){r[Be]=o,r[pe]=t,Po(e,r,n,1,o,i)}function rd(e,t){t[Pe].changeDetectionScheduler?.notify(9),Po(e,t,t[V],2,null,null)}function ym(e){let t=e[Tn];if(!t)return Si(e[w],e);for(;t;){let n=null;if(Ke(t))n=t[Tn];else{let r=t[te];r&&(n=r)}if(!n){for(;t&&!t[Te]&&t!==e;)Ke(t)&&Si(t[w],t),t=t[re];t===null&&(t=e),Ke(t)&&Si(t[w],t),n=t&&t[Te]}t=n}}function vm(e,t,n,r){let o=te+r,i=n.length;r>0&&(n[o-1][Te]=t),r<i-te?(t[Te]=n[o],Lu(n,te+r,t)):(n.push(t),t[Te]=null),t[re]=n;let s=t[wt];s!==null&&n!==s&&od(s,t);let a=t[je];a!==null&&a.insertView(e),qi(t),t[v]|=128}function od(e,t){let n=e[Zt],r=t[re];if(Ke(r))e[v]|=Gr.HasTransplantedViews;else{let o=r[re][me];t[me]!==o&&(e[v]|=Gr.HasTransplantedViews)}n===null?e[Zt]=[t]:n.push(t)}function ga(e,t){let n=e[Zt],r=n.indexOf(t);n.splice(r,1)}function xn(e,t){if(e.length<=te)return;let n=te+t,r=e[n];if(r){let o=r[wt];o!==null&&o!==e&&ga(o,r),t>0&&(e[n-1][Te]=r[Te]);let i=Br(e,te+t);gm(r[w],r);let s=i[je];s!==null&&s.detachView(i[w]),r[re]=null,r[Te]=null,r[v]&=-129}return r}function Oo(e,t){if(!(t[v]&256)){let n=t[V];n.destroyNode&&Po(e,t,n,3,null,null),ym(t)}}function Si(e,t){if(t[v]&256)return;let n=M(null);try{t[v]&=-129,t[v]|=256,t[ve]&&Er(t[ve]),wm(e,t),Dm(e,t),t[w].type===1&&t[V].destroy();let r=t[wt];if(r!==null&&$e(t[re])){r!==t[re]&&ga(r,t);let o=t[je];o!==null&&o.detachView(e)}rs(t)}finally{M(n)}}function Dm(e,t){let n=e.cleanup,r=t[Hr];if(n!==null)for(let i=0;i<n.length-1;i+=2)if(typeof n[i]=="string"){let s=n[i+3];s>=0?r[s]():r[-s].unsubscribe(),i+=2}else{let s=r[n[i+1]];n[i].call(s)}r!==null&&(t[Hr]=null);let o=t[Je];if(o!==null){t[Je]=null;for(let i=0;i<o.length;i++){let s=o[i];s()}}}function wm(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 bt)){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];Ae(4,a,c);try{c.call(a)}finally{Ae(5,a,c)}}else{Ae(4,o,i);try{i.call(o)}finally{Ae(5,o,i)}}}}}function id(e,t,n){return Im(e,t.parent,n)}function Im(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[Be];{let{componentOffset:o}=r;if(o>-1){let{encapsulation:i}=e.data[r.directiveStart+o];if(i===bn.None||i===bn.Emulated)return null}return we(r,n)}}function to(e,t,n,r,o){e.insertBefore(t,n,r,o)}function sd(e,t,n){e.appendChild(t,n)}function su(e,t,n,r,o){r!==null?to(e,t,n,r,o):sd(e,t,n)}function ad(e,t){return e.parentNode(t)}function Em(e,t){return e.nextSibling(t)}function cd(e,t,n){return bm(e,t,n)}function Cm(e,t,n){return e.type&40?we(e,n):null}var bm=Cm,au;function Ro(e,t,n,r){let o=id(e,r,t),i=t[V],s=r.parent||t[pe],a=cd(s,r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)su(i,o,n[c],a,!1);else su(i,o,n,a,!1);au!==void 0&&au(i,r,t,n,o)}function wn(e,t){if(t!==null){let n=t.type;if(n&3)return we(t,e);if(n&4)return hs(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return wn(e,r);{let o=e[t.index];return $e(o)?hs(-1,o):Fe(o)}}else{if(n&128)return wn(e,t.next);if(n&32)return pa(t,e)()||Fe(e[t.index]);{let r=ud(e,t);if(r!==null){if(Array.isArray(r))return r[0];let o=Et(e[me]);return wn(o,r)}else return wn(e,t.next)}}}return null}function ud(e,t){if(t!==null){let r=e[me][pe],o=t.projection;return r.projection[o]}return null}function hs(e,t){let n=te+e+1;if(n<t.length){let r=t[n],o=r[w].firstChild;if(o!==null)return wn(r,o)}return t[It]}function Mm(e,t,n){e.removeChild(null,t,n)}function ma(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&&ot(Fe(a),r),n.flags|=2),(n.flags&32)!==32)if(c&8)ma(e,t,n.child,r,o,i,!1),$t(t,e,o,a,i);else if(c&32){let u=pa(n,r),l;for(;l=u();)$t(t,e,o,l,i);$t(t,e,o,a,i)}else c&16?ld(e,t,r,n,o,i):$t(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Po(e,t,n,r,o,i){ma(n,r,e.firstChild,t,o,i,!1)}function _m(e,t,n){let r=t[V],o=id(e,n,t),i=n.parent||t[pe],s=cd(i,n,t);ld(r,0,t,n,o,s)}function ld(e,t,n,r,o,i){let s=n[me],c=s[pe].projection[r.projection];if(Array.isArray(c))for(let u=0;u<c.length;u++){let l=c[u];$t(t,e,o,l,i)}else{let u=c,l=s[re];$l(r)&&(u.flags|=128),ma(e,t,u,l,o,i,!0)}}function Tm(e,t,n,r,o){let i=n[It],s=Fe(n);i!==s&&$t(t,e,r,i,o);for(let a=te;a<n.length;a++){let c=n[a];Po(c[w],c,e,t,r,i)}}function xm(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf("-")===-1?void 0:eo.DashCase;o==null?e.removeStyle(n,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=eo.Important),e.setStyle(n,r,o,i))}}function Nm(e,t,n){e.setAttribute(t,"style",n)}function dd(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&&$i(e,t,r),o!==null&&dd(e,t,o),i!==null&&Nm(e,t,i)}var Z={};function b0(e=1){hd(B(),y(),ke()+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&&Pr(t,i,0,n)}Ct(n)}function He(e,t=x.Default){let n=y();if(n===null)return $(e,t);let r=K();return Rl(r,n,ie(e),t)}function pd(e,t,n,r,o,i){let s=M(null);try{let a=null;o&Xe.SignalBased&&(a=t[r][le]),a!==null&&a.transformFn!==void 0&&(i=a.transformFn(i)),o&Xe.HasDecoratorInputTransform&&(i=e.inputTransforms[r].call(t,i)),e.setInput!==null?e.setInput(t,a,i,n,r):sl(t,a,r,i)}finally{M(s)}}function Sm(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)Ct(~o);else{let i=o,s=n[++r],a=n[++r];Qp(s,i);let c=t[i];a(2,c)}}}finally{Ct(-1)}}function Fo(e,t,n,r,o,i,s,a,c,u,l){let d=t.blueprint.slice();return d[Be]=o,d[v]=r|4|128|8|64,(u!==null||e&&e[v]&2048)&&(d[v]|=2048),fl(d),d[re]=d[nn]=e,d[ee]=n,d[Pe]=s||e&&e[Pe],d[V]=a||e&&e[V],d[qt]=c||e&&e[qt]||null,d[pe]=i,d[wo]=Ag(),d[Wt]=l,d[ol]=u,d[me]=t.type==2?e[me]:d,d}function un(e,t,n,r,o){let i=e.data[t];if(i===null)i=Am(e,t,n,r,o),Yp()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=Wp();i.injectorIndex=s===null?-1:s.injectorIndex}return Nt(i,!0),i}function Am(e,t,n,r,o){let i=vl(),s=ta(),a=s?i:i&&i.parent,c=e.data[t]=Lm(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 gd(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 md(e,t,n,r,o){let i=ke(),s=r&2;try{Ct(-1),s&&t.length>Q&&hd(e,t,Q,!1),Ae(s?2:0,o),n(r,o)}finally{Ct(i),Ae(s?3:1,o)}}function ya(e,t,n){if(Qs(t)){let r=M(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{M(r)}}}function va(e,t,n){ml()&&(Hm(e,t,n,we(n,t)),(n.flags&64)===64&&Dd(e,t,n))}function Da(e,t,n=we){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 yd(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=wa(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function wa(e,t,n,r,o,i,s,a,c,u,l){let d=Q+r,h=d+o,f=Om(d,h),p=typeof u=="function"?u():u;return f[w]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:p,incompleteFirstPass:!1,ssrId:l}}function Om(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:Z);return n}function Rm(e,t,n,r){let i=r.get(jg,ql)||n===bn.ShadowDom,s=e.selectRootElement(t,i);return Pm(s),s}function Pm(e){Fm(e)}var Fm=()=>null;function km(e,t,n,r){let o=Ed(t);o.push(n),e.firstCreatePass&&Cd(e).push(r,o.length-1)}function Lm(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return yl()&&(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 cu(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=Xe.None;Array.isArray(s)?(a=s[0],c=s[1]):a=s;let u=i;if(o!==null){if(!o.hasOwnProperty(i))continue;u=o[i]}e===0?uu(r,n,u,a,c):uu(r,n,u,a)}return r}function uu(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 jm(e,t,n){let r=t.directiveStart,o=t.directiveEnd,i=e.data,s=t.attrs,a=[],c=null,u=null;for(let l=r;l<o;l++){let d=i[l],h=n?n.get(d):null,f=h?h.inputs:null,p=h?h.outputs:null;c=cu(0,d.inputs,l,c,f),u=cu(1,d.outputs,l,u,p);let g=c!==null&&s!==null&&!Gs(t)?ey(c,l,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=u}function Vm(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Fn(e,t,n,r,o,i,s,a){let c=we(t,n),u=t.inputs,l;!a&&u!=null&&(l=u[r])?(Ea(e,n,l,r,o),Io(t)&&Bm(n,t.index)):t.type&3?(r=Vm(r),o=s!=null?s(o,t.value||"",r):o,i.setProperty(c,r,o)):t.type&12}function Bm(e,t){let n=st(t,e);n[v]&16||(n[v]|=64)}function Ia(e,t,n,r){if(ml()){let o=r===null?null:{"":-1},i=Gm(e,n),s,a;i===null?s=a=null:[s,a]=i,s!==null&&vd(e,t,n,s,o,a),o&&Wm(n,r,o)}n.mergedAttrs=Mn(n.mergedAttrs,n.attrs)}function vd(e,t,n,r,o,i){for(let u=0;u<r.length;u++)Ji(Yr(n,t),e,r[u].type);Zm(n,e.data.length,r.length);for(let u=0;u<r.length;u++){let l=r[u];l.providersResolver&&l.providersResolver(l)}let s=!1,a=!1,c=gd(e,t,r.length,null);for(let u=0;u<r.length;u++){let l=r[u];n.mergedAttrs=Mn(n.mergedAttrs,l.hostAttrs),Ym(e,n,t,c,l),qm(c,l,o),l.contentQueries!==null&&(n.flags|=4),(l.hostBindings!==null||l.hostAttrs!==null||l.hostVars!==0)&&(n.flags|=64);let d=l.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++}jm(e,n,i)}function $m(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;Um(s)!=a&&s.push(a),s.push(n,r,i)}}function Um(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n=="number"&&n<0)return n}return 0}function Hm(e,t,n,r){let o=n.directiveStart,i=n.directiveEnd;Io(n)&&Qm(t,n,e.data[o+n.componentOffset]),e.firstCreatePass||Yr(n,t),ot(r,t);let s=n.initialInputs;for(let a=o;a<i;a++){let c=e.data[a],u=Mt(t,e,a,n);if(ot(u,t),s!==null&&Xm(t,a-o,u,c,n,s),tt(c)){let l=st(n.index,t);l[ee]=Mt(t,e,a,n)}}}function Dd(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Jp();try{Ct(i);for(let a=r;a<o;a++){let c=e.data[a],u=t[a];Zi(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&zm(c,u)}}finally{Ct(-1),Zi(s)}}function zm(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function Gm(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(Hu(t,s.selectors,!1))if(r||(r=[]),tt(s))if(s.findHostDirectiveDefs!==null){let a=[];o=o||new Map,s.findHostDirectiveDefs(s,a,o),r.unshift(...a,s);let c=a.length;ps(e,t,c)}else r.unshift(s),ps(e,t,0);else o=o||new Map,s.findHostDirectiveDefs?.(s,r,o),r.push(s)}return r===null?null:[r,o]}function ps(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function Wm(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 b(-301,!1);r.push(t[o],i)}}}function qm(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;tt(t)&&(n[""]=e)}}function Zm(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ym(e,t,n,r,o){e.data[r]=o;let i=o.factory||(o.factory=Dt(o.type,!0)),s=new bt(i,tt(o),He);e.blueprint[r]=s,n[r]=s,$m(e,t,r,gd(e,n,o.hostVars,Z),o)}function Qm(e,t,n){let r=we(t,e),o=yd(n),i=e[Pe].rendererFactory,s=16;n.signals?s=4096:n.onPush&&(s=64);let a=ko(e,Fo(e,o,null,s,r,t,null,i.createRenderer(r,n),null,null,null));e[t.index]=a}function Jm(e,t,n,r,o,i){let s=we(e,t);Km(t[V],s,i,e.value,n,r,o)}function Km(e,t,n,r,o,i,s){if(i==null)e.removeAttribute(t,o,n);else{let a=s==null?fe(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}function Xm(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;){let c=s[a++],u=s[a++],l=s[a++],d=s[a++];pd(r,n,c,u,l,d)}}function ey(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 wd(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function Id(e,t){let n=e.contentQueries;if(n!==null){let r=M(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];Mo(i),a.contentQueries(2,t[s],s)}}}finally{M(r)}}}function ko(e,t){return e[Tn]?e[Uc][Te]=t:e[Tn]=t,e[Uc]=t,t}function gs(e,t,n){Mo(0);let r=M(null);try{t(e,n)}finally{M(r)}}function Ed(e){return e[Hr]??=[]}function Cd(e){return e.cleanup??=[]}function bd(e,t){let n=e[qt],r=n?n.get(rt,null):null;r&&r.handleError(t)}function Ea(e,t,n,r,o){for(let i=0;i<n.length;){let s=n[i++],a=n[i++],c=n[i++],u=t[s],l=e.data[s];pd(l,u,r,a,c,o)}}function Ca(e,t,n){let r=dl(t,e);hm(e[V],r,n)}function ty(e,t){let n=st(t,e),r=n[w];ny(r,n);let o=n[Be];o!==null&&n[Wt]===null&&(n[Wt]=da(o,n[qt])),ba(r,n,n[ee])}function ny(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function ba(e,t,n){ia(t);try{let r=e.viewQuery;r!==null&&gs(1,r,n);let o=e.template;o!==null&&md(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[je]?.finishViewCreation(e),e.staticContentQueries&&Id(e,t),e.staticViewQueries&&gs(2,e.viewQuery,n);let i=e.components;i!==null&&ry(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[v]&=-5,sa()}}function ry(e,t){for(let n=0;n<t.length;n++)ty(e,t[n])}function kn(e,t,n,r){let o=M(null);try{let i=t.tView,a=e[v]&4096?4096:16,c=Fo(e,i,n,a,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),u=e[t.index];c[wt]=u;let l=e[je];return l!==null&&(c[je]=l.createEmbeddedView(i)),ba(i,c,n),c}finally{M(o)}}function Md(e,t){let n=te+t;if(n<e.length)return e[n]}function Qt(e,t){return!t||t.firstChild===null||$l(e)}function Ln(e,t,n,r=!0){let o=t[w];if(vm(o,t,e,n),r){let s=hs(n,e),a=t[V],c=ad(a,e[It]);c!==null&&mm(o,e[pe],a,t,c,s)}let i=t[Wt];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function _d(e,t){let n=xn(e,t);return n!==void 0&&Oo(n[w],n),n}function no(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(Fe(i)),$e(i)&&oy(i,r);let s=n.type;if(s&8)no(e,t,n.child,r);else if(s&32){let a=pa(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=ud(t,n);if(Array.isArray(a))r.push(...a);else{let c=Et(t[me]);no(c[w],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function oy(e,t){for(let n=te;n<e.length;n++){let r=e[n],o=r[w].firstChild;o!==null&&no(r[w],r,o,t)}e[It]!==e[Be]&&t.push(e[It])}var Td=[];function iy(e){return e[ve]??sy(e)}function sy(e){let t=Td.pop()??Object.create(cy);return t.lView=e,t}function ay(e){e.lView[ve]!==e&&(e.lView=null,Td.push(e))}var cy=Ce(ge({},jt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{bo(e.lView)},consumerOnSignalRead(){this.lView[ve]=this}});function uy(e){let t=e[ve]??Object.create(ly);return t.lView=e,t}var ly=Ce(ge({},jt),{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{let t=Et(e.lView);for(;t&&!xd(t[w]);)t=Et(t);t&&hl(t)},consumerOnSignalRead(){this.lView[ve]=this}});function xd(e){return e.type!==2}var dy=100;function Nd(e,t=!0,n=0){let r=e[Pe],o=r.rendererFactory,i=!1;i||o.begin?.();try{fy(e,n)}catch(s){throw t&&bd(e,s),s}finally{i||(o.end?.(),r.inlineEffectRunner?.flush())}}function fy(e,t){let n=Dl();try{zc(!0),ms(e,t);let r=0;for(;Co(e);){if(r===dy)throw new b(103,!1);r++,ms(e,1)}}finally{zc(n)}}function hy(e,t,n,r){let o=t[v];if((o&256)===256)return;let i=!1,s=!1;!i&&t[Pe].inlineEffectRunner?.flush(),ia(t);let a=!0,c=null,u=null;i||(xd(e)?(u=iy(t),c=vn(u)):Dc()===null?(a=!1,u=uy(t),c=vn(u)):t[ve]&&(Er(t[ve]),t[ve]=null));try{fl(t),Zp(e.bindingStartIndex),n!==null&&md(e,t,n,2,r);let l=(o&3)===3;if(!i)if(l){let f=e.preOrderCheckHooks;f!==null&&Rr(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Pr(t,f,0,null),_i(t,0)}if(s||py(t),Sd(t,0),e.contentQueries!==null&&Id(e,t),!i)if(l){let f=e.contentCheckHooks;f!==null&&Rr(t,f)}else{let f=e.contentHooks;f!==null&&Pr(t,f,1),_i(t,1)}Sm(e,t);let d=e.components;d!==null&&Od(t,d,0);let h=e.viewQuery;if(h!==null&&gs(2,h,r),!i)if(l){let f=e.viewCheckHooks;f!==null&&Rr(t,f)}else{let f=e.viewHooks;f!==null&&Pr(t,f,2),_i(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(l){throw i||bo(t),l}finally{u!==null&&(wr(u,c),a&&ay(u)),sa()}}function Sd(e,t){for(let n=Hl(e);n!==null;n=zl(n))for(let r=te;r<n.length;r++){let o=n[r];Ad(o,t)}}function py(e){for(let t=Hl(e);t!==null;t=zl(t)){if(!(t[v]&Gr.HasTransplantedViews))continue;let n=t[Zt];for(let r=0;r<n.length;r++){let o=n[r];hl(o)}}}function gy(e,t,n){let r=st(t,e);Ad(r,n)}function Ad(e,t){ea(e)&&ms(e,t)}function ms(e,t){let r=e[w],o=e[v],i=e[ve],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Ir(i)),s||=!1,i&&(i.dirty=!1),e[v]&=-9217,s)hy(r,e,r.template,e[ee]);else if(o&8192){Sd(e,1);let a=r.components;a!==null&&Od(e,a,1)}}function Od(e,t,n){for(let r=0;r<t.length;r++)gy(e,t[r],n)}function Ma(e,t){let n=Dl()?64:1088;for(e[Pe].changeDetectionScheduler?.notify(t);e;){e[v]|=n;let r=Et(e);if(Gi(e)&&!r)return e;e=r}return null}var _t=class{get rootNodes(){let t=this._lView,n=t[w];return no(n,t,n.firstChild,[])}constructor(t,n,r=!0){this._lView=t,this._cdRefInjectingView=n,this.notifyErrorHandler=r,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[ee]}set context(t){this._lView[ee]=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[re];if($e(t)){let n=t[zr],r=n?n.indexOf(this):-1;r>-1&&(xn(t,r),Br(n,r))}this._attachedToViewContainer=!1}Oo(this._lView[w],this._lView)}onDestroy(t){pl(this._lView,t)}markForCheck(){Ma(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[v]&=-129}reattach(){qi(this._lView),this._lView[v]|=128}detectChanges(){this._lView[v]|=1024,Nd(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Gi(this._lView),n=this._lView[wt];n!==null&&!t&&ga(n,this._lView),rd(this._lView[w],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t;let n=Gi(this._lView),r=this._lView[wt];r!==null&&!n&&od(r,this._lView),qi(this._lView)}},Nn=(()=>{class e{static{this.__NG_ELEMENT_ID__=vy}}return e})(),my=Nn,yy=class extends my{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=kn(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new _t(o)}};function vy(){return Lo(K(),y())}function Lo(e,t){return e.type&4?new yy(t,e,an(e,t)):null}var _0=new RegExp(`^(\\d+)*(${kg}|${Fg})*(.*)`);var Dy=()=>null;function Jt(e,t){return Dy(e,t)}var Tt=class{},_a=new N("",{providedIn:"root",factory:()=>!1});var Rd=new N(""),Ta=new N(""),ys=class{},ro=class{};function wy(e){let t=Error(`No component factory found for ${he(e)}.`);return t[Iy]=e,t}var Iy="ngComponent";var vs=class{resolveComponentFactory(t){throw wy(t)}},Kt=class{static{this.NULL=new vs}},oo=class{},Pd=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>Ey()}}return e})();function Ey(){let e=y(),t=K(),n=st(t.index,e);return(Ke(n)?n:e)[V]}var Cy=(()=>{class e{static{this.\u0275prov=R({token:e,providedIn:"root",factory:()=>null})}}return e})();function io(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,u=t[++s];r=ji(r,c+": "+u+";")}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var so=class extends Kt{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){let n=et(t);return new Xt(n,this.ngModule)}};function lu(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]:Xe.None;t?n.push({propName:s,templateName:r,isSignal:(a&Xe.SignalBased)!==0}):n.push({propName:s,templateName:r})}return n}function by(e){let t=e.toLowerCase();return t==="svg"?ll:t==="math"?kp:null}var Xt=class extends ro{get inputs(){let t=this.componentDef,n=t.inputTransforms,r=lu(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 lu(this.componentDef.outputs,!1)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=pp(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=M(null);try{o=o||this.ngModule;let s=o instanceof Re?o:o?.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let a=s?new Yi(t,s):t,c=a.get(oo,null);if(c===null)throw new b(407,!1);let u=a.get(Cy,null),l=a.get(Tt,null),d={rendererFactory:c,sanitizer:u,inlineEffectRunner:null,changeDetectionScheduler:l},h=c.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",p=r?Rm(h,r,this.componentDef.encapsulation,a):nd(h,f,by(f)),g=512;this.componentDef.signals?g|=4096:this.componentDef.onPush||(g|=16);let m=null;p!==null&&(m=da(p,a,!0));let C=wa(0,null,null,1,0,null,null,null,null,null,null),j=Fo(null,C,null,g,null,null,d,h,a,null,m);ia(j);let P,J,ce=null;try{let G=this.componentDef,Le,ti=null;G.findHostDirectiveDefs?(Le=[],ti=new Map,G.findHostDirectiveDefs(G,Le,ti),Le.push(G)):Le=[G];let Gf=My(j,p);ce=_y(Gf,p,G,Le,j,d,h),J=Ks(C,Q),p&&Ny(h,G,p,r),n!==void 0&&Sy(J,this.ngContentSelectors,n),P=xy(ce,G,Le,ti,j,[Ay]),ba(C,j,null)}catch(G){throw ce!==null&&rs(ce),rs(j),G}finally{sa()}return new Ds(this.componentType,P,an(J,j),j,J)}finally{M(i)}}},Ds=class extends ys{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new _t(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;Ea(i[w],i,o,t,n),this.previousInputValues.set(t,n);let s=st(this._tNode.index,i);Ma(s,1)}}get injector(){return new vt(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function My(e,t){let n=e[w],r=Q;return e[r]=t,un(n,r,2,"#host",null)}function _y(e,t,n,r,o,i,s){let a=o[w];Ty(r,e,t,s);let c=null;t!==null&&(c=da(t,o[qt]));let u=i.rendererFactory.createRenderer(t,n),l=16;n.signals?l=4096:n.onPush&&(l=64);let d=Fo(o,yd(n),null,l,o[e.index],e,i,u,null,null,c);return a.firstCreatePass&&ps(a,e,r.length-1),ko(o,d),o[e.index]=d}function Ty(e,t,n,r){for(let o of e)t.mergedAttrs=Mn(t.mergedAttrs,o.hostAttrs);t.mergedAttrs!==null&&(io(t,t.mergedAttrs,!0),n!==null&&fd(r,n,t))}function xy(e,t,n,r,o,i){let s=K(),a=o[w],c=we(s,o);vd(a,o,s,n,null,r);for(let l=0;l<n.length;l++){let d=s.directiveStart+l,h=Mt(o,a,d,s);ot(h,o)}Dd(a,o,s),c&&ot(c,o);let u=Mt(o,a,s.directiveStart+s.componentOffset,s);if(e[ee]=o[ee]=u,i!==null)for(let l of i)l(u,t);return ya(a,s,o),u}function Ny(e,t,n,r){if(r)$i(e,n,["ng-version","18.2.7"]);else{let{attrs:o,classes:i}=gp(t.selectors[0]);o&&$i(e,n,o),i&&i.length>0&&dd(e,n,i.join(" "))}}function Sy(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null?Array.from(i):null)}}function Ay(){let e=K();xo(y()[w],e)}var jn=(()=>{class e{static{this.__NG_ELEMENT_ID__=Oy}}return e})();function Oy(){let e=K();return kd(e,y())}var Ry=jn,Fd=class extends Ry{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return an(this._hostTNode,this._hostLView)}get injector(){return new vt(this._hostTNode,this._hostLView)}get parentInjector(){let t=aa(this._hostTNode,this._hostLView);if(Tl(t)){let n=qr(t,this._hostLView),r=Wr(t),o=n[w].data[r+8];return new vt(o,n)}else return new vt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=du(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-te}createEmbeddedView(t,n,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=Jt(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,Qt(this._hostTNode,s)),a}createComponent(t,n,r,o,i){let s=t&&!Op(t),a;if(s)a=n;else{let p=n||{};a=p.index,r=p.injector,o=p.projectableNodes,i=p.environmentInjector||p.ngModuleRef}let c=s?t:new Xt(et(t)),u=r||this.parentInjector;if(!i&&c.ngModule==null){let g=(s?u:this.parentInjector).get(Re,null);g&&(i=g)}let l=et(c.componentType??{}),d=Jt(this._lContainer,l?.id??null),h=d?.firstChild??null,f=c.create(u,o,h,i);return this.insertImpl(f.hostView,a,Qt(this._hostTNode,d)),f}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(jp(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[re],u=new Fd(c,c[pe],c[re]);u.detach(u.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Ln(s,o,i,r),t.attachToViewContainerRef(),Lu(Ai(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=du(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=xn(this._lContainer,n);r&&(Br(Ai(this._lContainer),n),Oo(r[w],r))}detach(t){let n=this._adjustIndex(t,-1),r=xn(this._lContainer,n);return r&&Br(Ai(this._lContainer),n)!=null?new _t(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function du(e){return e[zr]}function Ai(e){return e[zr]||(e[zr]=[])}function kd(e,t){let n,r=t[e.index];return $e(r)?n=r:(n=wd(r,t,null,e),t[e.index]=n,ko(t,n)),Fy(n,t,e,r),new Fd(n,e,t)}function Py(e,t){let n=e[V],r=n.createComment(""),o=we(t,e),i=ad(n,o);return to(n,i,r,Em(n,o),!1),r}var Fy=jy,ky=()=>!1;function Ly(e,t,n){return ky(e,t,n)}function jy(e,t,n,r){if(e[It])return;let o;n.type&8?o=Fe(r):o=Py(t,n),e[It]=o}var ws=class e{constructor(t){this.queryList=t,this.matches=null}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},Is=class e{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++)Na(t,n).matches!==null&&this.queries[n].setDirty()}},ao=class{constructor(t,n,r=null){this.flags=n,this.read=r,typeof t=="string"?this.predicate=Gy(t):this.predicate=t}},Es=class e{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)}},Cs=class e{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,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,Vy(n,i)),this.matchTNodeWithReadOption(t,n,Fr(n,t,i,!1,!1))}else r===Nn?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Fr(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===cn||o===jn||o===Nn&&n.type&4)this.addMatch(n.index,-2);else{let i=Fr(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 Vy(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 By(e,t){return e.type&11?an(e,t):e.type&4?Lo(e,t):null}function $y(e,t,n,r){return n===-1?By(t,e):n===-2?Uy(e,t,r):Mt(e,e[w],n,t)}function Uy(e,t,n){if(n===cn)return an(t,e);if(n===Nn)return Lo(t,e);if(n===jn)return kd(t,e)}function Ld(e,t,n,r){let o=t[je].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 u=s[c];if(u<0)a.push(null);else{let l=i[u];a.push($y(t,l,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function bs(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=Ld(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 u=i[a+1],l=t[-c];for(let d=te;d<l.length;d++){let h=l[d];h[wt]===h[re]&&bs(h[w],h,u,r)}if(l[Zt]!==null){let d=l[Zt];for(let h=0;h<d.length;h++){let f=d[h];bs(f[w],f,u,r)}}}}}return r}function xa(e,t){return e[je].queries[t].queryList}function jd(e,t,n){let r=new ns((n&4)===4);return km(e,t,r,r.destroy),(t[je]??=new Is).queries.push(new ws(r))-1}function Hy(e,t,n){let r=B();return r.firstCreatePass&&(Vd(r,new ao(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),jd(r,y(),t)}function zy(e,t,n,r){let o=B();if(o.firstCreatePass){let i=K();Vd(o,new ao(t,n,r),i.index),Wy(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return jd(o,y(),n)}function Gy(e){return e.split(",").map(t=>t.trim())}function Vd(e,t,n){e.queries===null&&(e.queries=new Es),e.queries.track(new Cs(t,n))}function Wy(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 Na(e,t){return e.queries.getByIndex(t)}function Bd(e,t){let n=e[w],r=Na(n,t);return r.crossesNgTemplate?bs(n,e,t,[]):Ld(n,e,r,t)}var fu=new Set;function ze(e){fu.has(e)||(fu.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function qy(e){return typeof e=="function"&&e[le]!==void 0}function Zy(e,t){ze("NgSignals");let n=Sc(e),r=n[le];return t?.equal&&(r.equal=t.equal),n.set=o=>Dn(r,o),n.update=o=>Ac(r,o),n.asReadonly=$d.bind(n),n}function $d(){let e=this[le];if(e.readonlyFn===void 0){let t=()=>this();t[le]=e,e.readonlyFn=t}return e.readonlyFn}function Ud(e){return qy(e)&&typeof e.set=="function"}function Hd(e,t){let n,r=Ei(()=>{n._dirtyCounter();let o=Ky(n,e);if(t&&o===void 0)throw new b(-951,!1);return o});return n=r[le],n._dirtyCounter=Zy(0),n._flatValue=void 0,r}function Yy(){return Hd(!0,!1)}function Qy(){return Hd(!0,!0)}function Jy(e,t){let n=e[le];n._lView=y(),n._queryIndex=t,n._queryList=xa(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Ky(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[v]&4)return t?void 0:se;let o=xa(n,r),i=Bd(n,r);return o.reset(i,Bl),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function hu(e,t){return Yy()}function Xy(e,t){return Qy()}var x0=(hu.required=Xy,hu);function zd(e){let t=Object.create(Tu),n=new Xr;t.value=e;function r(){return yn(t),pu(t.value),t.value}return r[le]=t,r.asReadonly=$d.bind(r),r.set=o=>{t.equal(t.value,o)||(Dn(t,o),n.emit(o))},r.update=o=>{pu(t.value),r.set(o(t.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function pu(e){if(e===go)throw new b(952,!1)}function gu(e){return zd(e)}function ev(){return zd(go)}var N0=(gu.required=ev,gu);function tv(e){return Object.getPrototypeOf(e.prototype).constructor}function nv(e){let t=tv(e.type),n=!0,r=[e];for(;t;){let o;if(tt(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(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&&av(e,a);let c=o.viewQuery,u=o.contentQueries;if(c&&iv(e,c),u&&sv(e,u),rv(e,o),Oh(e.outputs,o.outputs),tt(o)&&o.data.animation){let l=e.data;l.animation=(l.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===nv&&(n=!1)}}t=Object.getPrototypeOf(t)}ov(r)}function rv(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 ov(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=Mn(o.hostAttrs,n=Mn(n,o.hostAttrs))}}function xr(e){return e===zt?{}:e===se?[]:e}function iv(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function sv(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function av(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function cv(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}var it=class{},Ms=class{};var _s=class extends it{constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new so(this);let i=Zu(t);this._bootstrapComponents=td(i.bootstrap),this._r3Injector=kl(t,n,[{provide:it,useValue:this},{provide:Kt,useValue:this.componentFactoryResolver},...r],he(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)}},Ts=class extends Ms{constructor(t){super(),this.moduleType=t}create(t){return new _s(this.moduleType,t,[])}};var co=class extends it{constructor(t){super(),this.componentFactoryResolver=new so(this),this.instance=null;let n=new _n([...t.providers,{provide:it,useValue:this},{provide:Kt,useValue:this.componentFactoryResolver}],t.parent||Ys(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function uv(e,t,n=null){return new co({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}function jo(e,t,n){return e[t]=n}function lv(e,t){return e[t]}function De(e,t,n){let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function Sn(e,t,n,r){let o=De(e,t,n);return De(e,t+1,r)||o}function dv(e,t,n,r,o){let i=Sn(e,t,n,r);return De(e,t+2,o)||i}function Gd(e,t,n,r,o,i){let s=Sn(e,t,n,r);return Sn(e,t+2,o,i)||s}function fv(e){return(e.flags&32)===32}function hv(e,t,n,r,o,i,s,a,c){let u=t.consts,l=un(t,e,4,s||null,a||null);Ia(t,n,l,nt(u,c)),xo(t,l);let d=l.tView=wa(2,l,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return t.queries!==null&&(t.queries.template(t,l),d.queries=t.queries.embeddedTView(l)),l}function uo(e,t,n,r,o,i,s,a,c,u){let l=n+Q,d=t.firstCreatePass?hv(l,t,e,r,o,i,s,a,c):t.data[l];Nt(d,!1);let h=gv(t,e,d,n);_o()&&Ro(t,e,h,d),ot(h,e);let f=wd(h,e,h,d);return e[l]=f,ko(e,f),Ly(f,d,e),Eo(d)&&va(t,e,d),c!=null&&Da(e,d,u),d}function pv(e,t,n,r,o,i,s,a){let c=y(),u=B(),l=nt(u.consts,i);return uo(c,u,e,t,n,r,o,l,s,a),pv}var gv=mv;function mv(e,t,n,r){return To(!0),t[V].createComment("")}var In=function(e){return e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read",e}(In||{}),yv=(()=>{class e{constructor(){this.impl=null}execute(){this.impl?.execute()}static{this.\u0275prov=R({token:e,providedIn:"root",factory:()=>new e})}}return e})(),mu=class e{constructor(){this.ngZone=D(ne),this.scheduler=D(Tt),this.errorHandler=D(rt,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static{this.PHASES=[In.EarlyRead,In.Write,In.MixedReadWrite,In.Read]}execute(){this.executing=!0;for(let t of e.PHASES)for(let n of this.sequences)if(!(n.erroredOrDestroyed||!n.hooks[t]))try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[t](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(let t of this.sequences)t.afterRun(),t.once&&this.sequences.delete(t);for(let t of this.deferredRegistrations)this.sequences.add(t);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(t){this.executing?this.deferredRegistrations.add(t):(this.sequences.add(t),this.scheduler.notify(6))}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}static{this.\u0275prov=R({token:e,providedIn:"root",factory:()=>new e})}};function vv(e,t,n,r){let o=y(),i=on();if(De(o,i,t)){let s=B(),a=sn();Jm(a,o,e,t,n,r)}return vv}function Wd(e,t,n,r){return De(e,on(),n)?t+fe(n)+r:Z}function qd(e,t,n,r,o,i){let s=ra(),a=Sn(e,s,n,o);return Rn(2),a?t+fe(n)+r+fe(o)+i:Z}function Dv(e,t,n,r,o,i,s,a){let c=ra(),u=dv(e,c,n,o,s);return Rn(3),u?t+fe(n)+r+fe(o)+i+fe(s)+a:Z}function wv(e,t,n,r,o,i,s,a,c,u){let l=ra(),d=Gd(e,l,n,o,s,c);return Rn(4),d?t+fe(n)+r+fe(o)+i+fe(s)+a+fe(c)+u:Z}function Nr(e,t){return e<<17|t<<2}function xt(e){return e>>17&32767}function Iv(e){return(e&2)==2}function Ev(e,t){return e&131071|t<<17}function xs(e){return e|2}function en(e){return(e&131068)>>2}function Oi(e,t){return e&-131069|t<<2}function Cv(e){return(e&1)===1}function Ns(e){return e|1}function bv(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=xt(s),c=en(s);e[r]=n;let u=!1,l;if(Array.isArray(n)){let d=n;l=d[1],(l===null||On(d,l)>0)&&(u=!0)}else l=n;if(o)if(c!==0){let h=xt(e[a+1]);e[r+1]=Nr(h,a),h!==0&&(e[h+1]=Oi(e[h+1],r)),e[a+1]=Ev(e[a+1],r)}else e[r+1]=Nr(a,0),a!==0&&(e[a+1]=Oi(e[a+1],r)),a=r;else e[r+1]=Nr(c,0),a===0?a=r:e[c+1]=Oi(e[c+1],r),c=r;u&&(e[r+1]=xs(e[r+1])),yu(e,l,r,!0),yu(e,l,r,!1),Mv(t,l,e,r,i),s=Nr(a,c),i?t.classBindings=s:t.styleBindings=s}function Mv(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t=="string"&&On(i,t)>=0&&(n[r+1]=Ns(n[r+1]))}function yu(e,t,n,r){let o=e[n+1],i=t===null,s=r?xt(o):en(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],u=e[s+1];_v(c,t)&&(a=!0,e[s+1]=r?Ns(u):xs(u)),s=r?xt(u):en(u)}a&&(e[n+1]=r?xs(o):Ns(o))}function _v(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t=="string"?On(e,t)>=0:!1}var q={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Zd(e){return e.substring(q.key,q.keyEnd)}function Tv(e){return e.substring(q.value,q.valueEnd)}function xv(e){return Jd(e),Yd(e,tn(e,0,q.textEnd))}function Yd(e,t){let n=q.textEnd;return n===t?-1:(t=q.keyEnd=Sv(e,q.key=t,n),tn(e,t,n))}function Nv(e){return Jd(e),Qd(e,tn(e,0,q.textEnd))}function Qd(e,t){let n=q.textEnd,r=q.key=tn(e,t,n);return n===r?-1:(r=q.keyEnd=Av(e,r,n),r=vu(e,r,n,58),r=q.value=tn(e,r,n),r=q.valueEnd=Ov(e,r,n),vu(e,r,n,59))}function Jd(e){q.key=0,q.keyEnd=0,q.value=0,q.valueEnd=0,q.textEnd=e.length}function tn(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Sv(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function Av(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 vu(e,t,n,r){return t=tn(e,t,n),t<n&&t++,t}function Ov(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=Du(e,c,s,n):t===s-4&&i===85&&o===82&&r===76&&c===40?a=s=Du(e,41,s,n):c>32&&(a=s),i=o,o=r,r=c&-33}return a}function Du(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 Rv(e,t,n){let r=y(),o=on();if(De(r,o,t)){let i=B(),s=sn();Fn(i,s,r,e,t,r[V],n,!1)}return Rv}function Ss(e,t,n,r,o){let i=t.inputs,s=o?"class":"style";Ea(e,n,i[s],s,r)}function Kd(e,t,n){return Xd(e,t,n,!1),Kd}function Pv(e,t){return Xd(e,t,null,!0),Pv}function S0(e){ef(rf,Fv,e,!1)}function Fv(e,t){for(let n=Nv(t);n>=0;n=Qd(t,n))rf(e,Zd(t),Tv(t))}function A0(e){ef(Uv,kv,e,!0)}function kv(e,t){for(let n=xv(t);n>=0;n=Yd(t,n))Do(e,Zd(t),!0)}function Xd(e,t,n,r){let o=y(),i=B(),s=Rn(2);if(i.firstUpdatePass&&nf(i,e,s,r),t!==Z&&De(o,s,t)){let a=i.data[ke()];of(i,a,o,o[V],e,o[s+1]=zv(t,n),r,s)}}function ef(e,t,n,r){let o=B(),i=Rn(2);o.firstUpdatePass&&nf(o,null,i,r);let s=y();if(n!==Z&&De(s,i,n)){let a=o.data[ke()];if(sf(a,r)&&!tf(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=ji(c,n||"")),Ss(o,a,s,n,r)}else Hv(o,a,s,s[V],s[i+1],s[i+1]=$v(e,t,n),r,i)}}function tf(e,t){return t>=e.expandoStartIndex}function nf(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[ke()],s=tf(e,n);sf(i,r)&&t===null&&!s&&(t=!1),t=Lv(o,i,t,r),bv(o,i,t,n,s,r)}}function Lv(e,t,n,r){let o=Kp(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ri(null,e,t,n,r),n=An(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ri(o,e,t,n,r),i===null){let c=jv(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ri(null,e,t,c[1],r),c=An(c,t.attrs,r),Vv(e,t,r,c))}else i=Bv(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function jv(e,t,n){let r=n?t.classBindings:t.styleBindings;if(en(r)!==0)return e[xt(r)]}function Vv(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[xt(o)]=r}function Bv(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=An(r,s,n)}return An(r,t.attrs,n)}function Ri(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=An(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function An(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]),Do(e,s,n?!0:t[++i]))}return e===void 0?null:e}function $v(e,t,n){if(n==null||n==="")return se;let r=[],o=At(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 rf(e,t,n){Do(e,t,At(n))}function Uv(e,t,n){let r=String(t);r!==""&&!r.includes(" ")&&Do(e,r,n)}function Hv(e,t,n,r,o,i,s,a){o===Z&&(o=se);let c=0,u=0,l=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;l!==null||d!==null;){let h=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,p=null,g;l===d?(c+=2,u+=2,h!==f&&(p=d,g=f)):d===null||l!==null&&l<d?(c+=2,p=l):(u+=2,p=d,g=f),p!==null&&of(e,t,n,r,p,g,s,a),l=c<o.length?o[c]:null,d=u<i.length?i[u]:null}}function of(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,u=c[a+1],l=Cv(u)?wu(c,t,n,o,en(u),s):void 0;if(!lo(l)){lo(i)||Iv(u)&&(i=wu(c,null,n,o,a,s));let d=dl(ke(),n);xm(r,s,d,o,i)}}function wu(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],u=Array.isArray(c),l=u?c[1]:c,d=l===null,h=n[o+1];h===Z&&(h=d?se:void 0);let f=d?bi(h,r):l===r?h:void 0;if(u&&!lo(f)&&(f=bi(c,r)),lo(f)&&(a=f,s))return a;let p=e[o+1];o=s?xt(p):en(p)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=bi(c,r))}return a}function lo(e){return e!==void 0}function zv(e,t){return e==null||e===""||(typeof t=="string"?e=e+t:typeof e=="object"&&(e=he(At(e)))),e}function sf(e,t){return(e.flags&(t?8:16))!==0}var As=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 Pi(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function Gv(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 u=e.at(i),l=t[i],d=Pi(i,u,i,l,n);if(d!==0){d<0&&e.updateValue(i,l),i++;continue}let h=e.at(s),f=t[c],p=Pi(s,h,c,f,n);if(p!==0){p<0&&e.updateValue(s,f),s--,c--;continue}let g=n(i,u),m=n(s,h),C=n(i,l);if(Object.is(C,m)){let j=n(c,f);Object.is(j,g)?(e.swap(i,s),e.updateValue(s,f),c--,s--):e.move(s,i),e.updateValue(i,l),i++;continue}if(r??=new fo,o??=Eu(e,i,s,n),Os(e,r,i,C))e.updateValue(i,l),i++,s++;else if(o.has(C))r.set(g,e.detach(i)),s--;else{let j=e.create(i,t[i]);e.attach(i,j),i++,s++}}for(;i<=c;)Iu(e,r,n,i,t[i]),i++}else if(t!=null){let c=t[Symbol.iterator](),u=c.next();for(;!u.done&&i<=s;){let l=e.at(i),d=u.value,h=Pi(i,l,i,d,n);if(h!==0)h<0&&e.updateValue(i,d),i++,u=c.next();else{r??=new fo,o??=Eu(e,i,s,n);let f=n(i,d);if(Os(e,r,i,f))e.updateValue(i,d),i++,s++,u=c.next();else if(!o.has(f))e.attach(i,e.create(i,d)),i++,s++,u=c.next();else{let p=n(i,l);r.set(p,e.detach(i)),s--}}}for(;!u.done;)Iu(e,r,n,e.length,u.value),u=c.next()}for(;i<=s;)e.destroy(e.detach(s--));r?.forEach(c=>{e.destroy(c)})}function Os(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function Iu(e,t,n,r,o){if(Os(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Eu(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 fo=class{constructor(){this.kvMap=new Map,this._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 O0(e,t){ze("NgControlFlow");let n=y(),r=on(),o=n[r]!==Z?n[r]:-1,i=o!==-1?ho(n,Q+o):void 0,s=0;if(De(n,r,e)){let a=M(null);try{if(i!==void 0&&_d(i,s),e!==-1){let c=Q+e,u=ho(n,c),l=ks(n[w],c),d=Jt(u,l.tView.ssrId),h=kn(n,l,t,{dehydratedView:d});Ln(u,h,s,Qt(l,d))}}finally{M(a)}}else if(i!==void 0){let a=Md(i,s);a!==void 0&&(a[ee]=t)}}var Rs=class{constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-te}};function R0(e){return e}var Ps=class{constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function P0(e,t,n,r,o,i,s,a,c,u,l,d,h){ze("NgControlFlow");let f=y(),p=B(),g=c!==void 0,m=y(),C=a?s.bind(m[me][ee]):s,j=new Ps(g,C);m[Q+e]=j,uo(f,p,e+1,t,n,r,o,nt(p.consts,i)),g&&uo(f,p,e+2,c,u,l,d,nt(p.consts,h))}var Fs=class extends As{constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r,this.operationsCounter=void 0,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-te}at(t){return this.getLView(t)[ee].$implicit}attach(t,n){let r=n[Wt];this.needsIndexUpdate||=t!==this.length,Ln(this.lContainer,n,t,Qt(this.templateTNode,r))}detach(t){return this.needsIndexUpdate||=t!==this.length-1,Wv(this.lContainer,t)}create(t,n){let r=Jt(this.lContainer,this.templateTNode.tView.ssrId),o=kn(this.hostLView,this.templateTNode,new Rs(this.lContainer,n,t),{dehydratedView:r});return this.operationsCounter?.recordCreate(),o}destroy(t){Oo(t[w],t),this.operationsCounter?.recordDestroy()}updateValue(t,n){this.getLView(t)[ee].$implicit=n}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ee].$index=t}getLView(t){return qv(this.lContainer,t)}};function F0(e){let t=M(null),n=ke();try{let r=y(),o=r[w],i=r[n],s=n+1,a=ho(r,s);if(i.liveCollection===void 0){let u=ks(o,s);i.liveCollection=new Fs(a,r,u)}else i.liveCollection.reset();let c=i.liveCollection;if(Gv(c,e,i.trackByFn),c.updateIndexes(),i.hasEmptyBlock){let u=on(),l=c.length===0;if(De(r,u,l)){let d=n+2,h=ho(r,d);if(l){let f=ks(o,d),p=Jt(h,f.tView.ssrId),g=kn(r,f,void 0,{dehydratedView:p});Ln(h,g,0,Qt(f,p))}else _d(h,0)}}}finally{M(t)}}function ho(e,t){return e[t]}function Wv(e,t){return xn(e,t)}function qv(e,t){return Md(e,t)}function ks(e,t){return Ks(e,t)}function Zv(e,t,n,r,o,i){let s=t.consts,a=nt(s,o),c=un(t,e,2,r,a);return Ia(t,n,c,nt(s,i)),c.attrs!==null&&io(c,c.attrs,!1),c.mergedAttrs!==null&&io(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}function af(e,t,n,r){let o=y(),i=B(),s=Q+e,a=o[V],c=i.firstCreatePass?Zv(s,i,o,t,n,r):i.data[s],u=Qv(i,o,c,a,t,e);o[s]=u;let l=Eo(c);return Nt(c,!0),fd(a,u,c),!fv(c)&&_o()&&Ro(i,o,u,c),$p()===0&&ot(u,o),Up(),l&&(va(i,o,c),ya(i,c,o)),r!==null&&Da(o,c),af}function cf(){let e=K();ta()?na():(e=e.parent,Nt(e,!1));let t=e;zp(t)&&Gp(),Hp();let n=B();return n.firstCreatePass&&(xo(n,e),Qs(e)&&n.queries.elementEnd(e)),t.classesWithoutHost!=null&&ig(t)&&Ss(n,t,y(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&sg(t)&&Ss(n,t,y(),t.stylesWithoutHost,!1),cf}function Yv(e,t,n,r){return af(e,t,n,r),cf(),Yv}var Qv=(e,t,n,r,o,i)=>(To(!0),nd(r,o,tg()));function Jv(e,t,n,r,o){let i=t.consts,s=nt(i,r),a=un(t,e,8,"ng-container",s);s!==null&&io(a,s,!0);let c=nt(i,o);return Ia(t,n,a,c),t.queries!==null&&t.queries.elementStart(t,a),a}function uf(e,t,n){let r=y(),o=B(),i=e+Q,s=o.firstCreatePass?Jv(i,o,r,t,n):o.data[i];Nt(s,!0);let a=Xv(o,r,s,e);return r[i]=a,_o()&&Ro(o,r,a,s),ot(a,r),Eo(s)&&(va(o,r,s),ya(o,s,r)),n!=null&&Da(r,s),uf}function lf(){let e=K(),t=B();return ta()?na():(e=e.parent,Nt(e,!1)),t.firstCreatePass&&(xo(t,e),Qs(e)&&t.queries.elementEnd(e)),lf}function Kv(e,t,n){return uf(e,t,n),lf(),Kv}var Xv=(e,t,n,r)=>(To(!0),pm(t[V],""));function k0(){return y()}var yt=void 0;function eD(e){let t=e,n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&r===0?1:5}var tD=["en",[["a","p"],["AM","PM"],yt],[["AM","PM"],yt,yt],[["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"]],yt,[["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"]],yt,[["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}",yt,"{1} 'at' {0}",yt],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",eD],Fi={};function Ie(e){let t=nD(e),n=Cu(t);if(n)return n;let r=t.split("-")[0];if(n=Cu(r),n)return n;if(r==="en")return tD;throw new b(701,!1)}function Cu(e){return e in Fi||(Fi[e]=Qe.ng&&Qe.ng.common&&Qe.ng.common.locales&&Qe.ng.common.locales[e]),Fi[e]}var U=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}(U||{});function nD(e){return e.toLowerCase().replace(/_/g,"-")}var po="en-US";var rD=po;function oD(e){typeof e=="string"&&(rD=e.toLowerCase().replace(/_/g,"-"))}var iD=(e,t,n)=>{};function sD(e,t,n,r){let o=y(),i=B(),s=K();return df(i,o,o[V],s,e,t,r),sD}function aD(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[Hr],c=o[i+2];return a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function df(e,t,n,r,o,i,s){let a=Eo(r),u=e.firstCreatePass&&Cd(e),l=t[ee],d=Ed(t),h=!0;if(r.type&3||s){let g=we(r,t),m=s?s(g):g,C=d.length,j=s?J=>s(Fe(J[r.index])):r.index,P=null;if(!s&&a&&(P=aD(e,t,o,r.index)),P!==null){let J=P.__ngLastListenerFn__||P;J.__ngNextListenerFn__=i,P.__ngLastListenerFn__=i,h=!1}else{i=Mu(r,t,l,i),iD(g,o,i);let J=n.listen(m,o,i);d.push(i,J),u&&u.push(o,j,C,C+1)}}else i=Mu(r,t,l,i);let f=r.outputs,p;if(h&&f!==null&&(p=f[o])){let g=p.length;if(g)for(let m=0;m<g;m+=2){let C=p[m],j=p[m+1],ce=t[C][j].subscribe(i),G=d.length;d.push(i,ce),u&&u.push(o,r.index,G,-(G+1))}}}function bu(e,t,n,r){let o=M(null);try{return Ae(6,t,n),n(r)!==!1}catch(i){return bd(e,i),!1}finally{Ae(7,t,n),M(o)}}function Mu(e,t,n,r){return function o(i){if(i===Function)return r;let s=e.componentOffset>-1?st(e.index,t):t;Ma(s,5);let a=bu(t,n,r,i),c=o.__ngNextListenerFn__;for(;c;)a=bu(t,n,c,i)&&a,c=c.__ngNextListenerFn__;return a}}function L0(e=1){return eg(e)}function cD(e,t){let n=null,r=up(e);for(let o=0;o<t.length;o++){let i=t[o];if(i==="*"){n=o;continue}if(r===null?Hu(e,i,!0):fp(r,i))return o}return n}function j0(e){let t=y()[me][pe];if(!t.projection){let n=e?e.length:1,r=t.projection=ep(n,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?cD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function V0(e,t=0,n,r,o,i){let s=y(),a=B(),c=r?e+1:null;c!==null&&uo(s,a,c,r,o,i,null,n);let u=un(a,Q+e,16,null,n||null);u.projection===null&&(u.projection=t),na();let d=!s[Wt]||yl();s[me][pe].projection[u.projection]===null&&c!==null?uD(s,a,c):d&&(u.flags&32)!==32&&_m(a,s,u)}function uD(e,t,n){let r=Q+n,o=t.data[r],i=e[r],s=Jt(i,o.tView.ssrId),a=kn(e,o,void 0,{dehydratedView:s});Ln(i,a,0,Qt(o,s))}function lD(e,t,n){return ff(e,"",t,"",n),lD}function ff(e,t,n,r,o){let i=y(),s=Wd(i,t,n,r);if(s!==Z){let a=B(),c=sn();Fn(a,c,i,e,s,i[V],o,!1)}return ff}function dD(e,t,n,r,o,i,s){let a=y(),c=qd(a,t,n,r,o,i);if(c!==Z){let u=B(),l=sn();Fn(u,l,a,e,c,a[V],s,!1)}return dD}function fD(e,t,n,r,o,i,s,a,c){let u=y(),l=Dv(u,t,n,r,o,i,s,a);if(l!==Z){let d=B(),h=sn();Fn(d,h,u,e,l,u[V],c,!1)}return fD}function B0(e,t,n,r){zy(e,t,n,r)}function $0(e){let t=y(),n=B(),r=oa();Mo(r+1);let o=Na(n,r);if(e.dirty&&Lp(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=Bd(t,r);e.reset(i,Bl),e.notifyOnChanges()}return!0}return!1}function U0(){return xa(y(),oa())}function H0(e,t,n,r){Jy(e,Hy(t,n,r))}function z0(e=1){Mo(oa()+e)}function hD(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function G0(e){let t=qp();return Xs(t,Q+e)}function W0(e,t=""){let n=y(),r=B(),o=e+Q,i=r.firstCreatePass?un(r,o,1,t,null):r.data[o],s=pD(r,n,i,t,e);n[o]=s,_o()&&Ro(r,n,s,i),Nt(i,!1)}var pD=(e,t,n,r,o)=>(To(!0),fm(t[V],r));function gD(e){return hf("",e,""),gD}function hf(e,t,n){let r=y(),o=Wd(r,e,t,n);return o!==Z&&Ca(r,ke(),o),hf}function mD(e,t,n,r,o){let i=y(),s=qd(i,e,t,n,r,o);return s!==Z&&Ca(i,ke(),s),mD}function yD(e,t,n,r,o,i,s,a,c){let u=y(),l=wv(u,e,t,n,r,o,i,s,a,c);return l!==Z&&Ca(u,ke(),l),yD}function vD(e,t,n){Ud(t)&&(t=t());let r=y(),o=on();if(De(r,o,t)){let i=B(),s=sn();Fn(i,s,r,e,t,r[V],n,!1)}return vD}function q0(e,t){let n=Ud(e);return n&&e.set(t),n}function DD(e,t){let n=y(),r=B(),o=K();return df(r,n,n[V],o,e,t),DD}function wD(e,t,n){let r=B();if(r.firstCreatePass){let o=tt(e);Ls(n,r.data,r.blueprint,o,!0),Ls(t,r.data,r.blueprint,o,!1)}}function Ls(e,t,n,r,o){if(e=ie(e),Array.isArray(e))for(let i=0;i<e.length;i++)Ls(e[i],t,n,r,o);else{let i=B(),s=y(),a=K(),c=Gt(e)?e:ie(e.provide),u=tl(e),l=a.providerIndexes&1048575,d=a.directiveStart,h=a.providerIndexes>>20;if(Gt(e)||!e.multi){let f=new bt(u,o,He),p=Li(c,t,o?l:l+h,d);p===-1?(Ji(Yr(a,s),i,c),ki(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[p]=f,s[p]=f)}else{let f=Li(c,t,l+h,d),p=Li(c,t,l,l+h),g=f>=0&&n[f],m=p>=0&&n[p];if(o&&!m||!o&&!g){Ji(Yr(a,s),i,c);let C=CD(o?ED:ID,n.length,o,r,u);!o&&m&&(n[p].providerFactory=C),ki(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(C),s.push(C)}else{let C=pf(n[o?p:f],u,!o&&r);ki(i,e,f>-1?f:p,C)}!o&&r&&m&&n[p].componentProviders++}}}function ki(e,t,n,r){let o=Gt(t),i=bp(t);if(o||i){let c=(i?ie(t.useClass):t).prototype.ngOnDestroy;if(c){let u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let l=u.indexOf(n);l===-1?u.push(n,[r,c]):u[l+1].push(r,c)}else u.push(n,c)}}}function pf(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Li(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function ID(e,t,n,r){return js(this.multi,[])}function ED(e,t,n,r){let o=this.multi,i;if(this.providerFactory){let s=this.providerFactory.componentProviders,a=Mt(n,n[w],this.providerFactory.index,r);i=a.slice(0,s),js(o,i);for(let c=s;c<a.length;c++)i.push(a[c])}else i=[],js(o,i);return i}function js(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function CD(e,t,n,r,o){let i=new bt(e,n,He);return i.multi=[],i.index=t,i.componentProviders=0,pf(i,o,r&&!n),i}function Z0(e,t=[]){return n=>{n.providersResolver=(r,o)=>wD(r,o?o(e):e,t)}}var bD=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=Ju(!1,n.type),o=r.length>0?uv([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{this.\u0275prov=R({token:e,providedIn:"environment",factory:()=>new e($(Re))})}}return e})();function Y0(e){ze("NgStandalone"),e.getStandaloneInjector=t=>t.get(bD).getOrCreateStandaloneInjector(e)}function Q0(e,t,n){let r=rn()+e,o=y();return o[r]===Z?jo(o,r,n?t.call(n):t()):lv(o,r)}function J0(e,t,n,r){return gf(y(),rn(),e,t,n,r)}function K0(e,t,n,r,o){return mf(y(),rn(),e,t,n,r,o)}function X0(e,t,n,r,o,i,s){return MD(y(),rn(),e,t,n,r,o,i,s)}function Sa(e,t){let n=e[t];return n===Z?void 0:n}function gf(e,t,n,r,o,i){let s=t+n;return De(e,s,o)?jo(e,s+1,i?r.call(i,o):r(o)):Sa(e,s+1)}function mf(e,t,n,r,o,i,s){let a=t+n;return Sn(e,a,o,i)?jo(e,a+2,s?r.call(s,o,i):r(o,i)):Sa(e,a+2)}function MD(e,t,n,r,o,i,s,a,c){let u=t+n;return Gd(e,u,o,i,s,a)?jo(e,u+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Sa(e,u+4)}function eT(e,t){let n=B(),r,o=e+Q;n.firstCreatePass?(r=_D(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=de(He);try{let c=Zr(!1),u=i();return Zr(c),hD(n,y(),o,u),u}finally{de(a)}}function _D(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function tT(e,t,n){let r=e+Q,o=y(),i=Xs(o,r);return yf(o,r)?gf(o,rn(),t,i.transform,n,i):i.transform(n)}function nT(e,t,n,r){let o=e+Q,i=y(),s=Xs(i,o);return yf(i,o)?mf(i,rn(),t,s.transform,n,r,s):s.transform(n,r)}function yf(e,t){return e[w].data[t].pure}function rT(e,t){return Lo(e,t)}var oT=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();var TD=new N("");function Aa(e){return!!e&&typeof e.then=="function"}function vf(e){return!!e&&typeof e.subscribe=="function"}var xD=new N(""),Df=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=D(xD,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=o();if(Aa(i))n.push(i);else if(vf(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{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),wf=new N("");function ND(){Nc(()=>{throw new b(600,!1)})}function SD(e){return e.isBoundToModule}var AD=10;function OD(e,t,n){try{let r=n();return Aa(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}var Vn=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=D(_g),this.afterRenderManager=D(yv),this.zonelessEnabled=D(_a),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new Se,this.afterTick=new Se,this.componentTypes=[],this.components=[],this.isStable=D(St).hasPendingTasks.pipe(oe(n=>!n)),this._injector=D(Re)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){let o=n instanceof ro;if(!this._injector.get(Df).done){let h=!o&&vp(n),f=!1;throw new b(405,f)}let s;o?s=n:s=this._injector.get(Kt).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let a=SD(s)?void 0:this._injector.get(it),c=r||s.selector,u=s.create(Yt.NULL,[],c,a),l=u.location.nativeElement,d=u.injector.get(TD,null);return d?.registerApplication(l),u.onDestroy(()=>{this.detachView(u.hostView),kr(this.components,u),d?.unregisterApplication(l)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new b(101,!1);let n=M(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,M(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get(oo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;this.dirtyFlags!==0&&r++<AD;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:o,notifyErrorHandler:i}of this._views)RD(o,i,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&7)return}else n?.begin?.(),n?.end?.();this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Co(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;kr(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);let r=this._injector.get(wf,[]);[...this._bootstrapListeners,...r].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._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>kr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function kr(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function RD(e,t,n,r){if(!n&&!Co(e))return;Nd(e,t,n&&!r?0:1)}var Vs=class{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}},iT=(()=>{class e{compileModuleSync(n){return new Ts(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let r=this.compileModuleSync(n),o=Zu(n),i=td(o.declarations).reduce((s,a)=>{let c=et(a);return c&&s.push(new Xt(c)),s},[]);return new Vs(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var PD=(()=>{class e{constructor(){this.zone=D(ne),this.changeDetectionScheduler=D(Tt),this.applicationRef=D(Vn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function FD({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:n}){return e??=()=>new ne(Ce(ge({},kD()),{scheduleInRootZone:n})),[{provide:ne,useFactory:e},{provide:$r,multi:!0,useFactory:()=>{let r=D(PD,{optional:!0});return()=>r.initialize()}},{provide:$r,multi:!0,useFactory:()=>{let r=D(LD);return()=>{r.initialize()}}},t===!0?{provide:Rd,useValue:!0}:[],{provide:Ta,useValue:n??Ll}]}function kD(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}var LD=(()=>{class e{constructor(){this.subscription=new Y,this.initialized=!1,this.zone=D(ne),this.pendingTasks=D(St)}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(()=>{ne.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ne.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var If=(()=>{class e{constructor(){this.appRef=D(Vn),this.taskService=D(St),this.ngZone=D(ne),this.zonelessEnabled=D(_a),this.disableScheduling=D(Rd,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Y,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Jr):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(D(Ta,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof Kr||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 7:{this.appRef.deferredDirtyFlags|=8;break}case 9:case 8:case 6:case 10:default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Yc:jl;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Jr+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Yc(()=>{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{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function sT(){return ze("NgZoneless"),qs([{provide:Tt,useExisting:If},{provide:ne,useClass:Kr},{provide:_a,useValue:!0},{provide:Ta,useValue:!1},[]])}function jD(){return typeof $localize<"u"&&$localize.locale||po}var Vo=new N("",{providedIn:"root",factory:()=>D(Vo,x.Optional|x.SkipSelf)||jD()});var Ef=new N("");function Sr(e){return!!e.platformInjector}function VD(e){let t=Sr(e)?e.r3Injector:e.moduleRef.injector,n=t.get(ne);return n.run(()=>{Sr(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(rt,null),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),Sr(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Ef);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else e.moduleRef.onDestroy(()=>{kr(e.allPlatformModules,e.moduleRef),o.unsubscribe()});return OD(r,n,()=>{let i=t.get(Df);return i.runInitializers(),i.donePromise.then(()=>{let s=t.get(Vo,po);if(oD(s||po),Sr(e)){let a=t.get(Vn);return e.rootComponent!==void 0&&a.bootstrap(e.rootComponent),a}else return BD(e.moduleRef,e.allPlatformModules),e.moduleRef})})})}function BD(e,t){let n=e.injector.get(Vn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>n.bootstrap(r));else if(e.instance.ngDoBootstrap)e.instance.ngDoBootstrap(n);else throw new b(-403,!1);t.push(e)}var Lr=null;function $D(e=[],t){return Yt.create({name:t,providers:[{provide:el,useValue:"platform"},{provide:Ef,useValue:new Set([()=>Lr=null])},...e]})}function UD(e=[]){if(Lr)return Lr;let t=$D(e);return Lr=t,ND(),HD(t),t}function HD(e){e.get(Pg,null)?.forEach(n=>n())}var Oa=(()=>{class e{static{this.__NG_ELEMENT_ID__=zD}}return e})();function zD(e){return GD(K(),y(),(e&16)===16)}function GD(e,t,n){if(Io(e)&&!n){let r=st(e.index,t);return new _t(r,r)}else if(e.type&175){let r=t[me];return new _t(r,t)}return null}function aT(e){try{let{rootComponent:t,appProviders:n,platformProviders:r}=e,o=UD(r),i=[FD({}),{provide:Tt,useExisting:If},...n||[]],s=new co({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1});return VD({r3Injector:s.injector,platformInjector:o,rootComponent:t})}catch(t){return Promise.reject(t)}}function WD(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function cT(e,t){ze("NgSignals");let n=Ei(e);return t?.equal&&(n[le].equal=t.equal),n}function qD(e){let t=M(null);try{return e()}finally{M(t)}}var ZD=new N("",{providedIn:"root",factory:()=>D(YD)}),YD=(()=>{class e{static{this.\u0275prov=R({token:e,providedIn:"root",factory:()=>new Bs})}}return e})(),Bs=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=D(St),this.taskId=null}scheduleEffect(t){if(this.enqueue(t),this.taskId===null){let n=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(n),this.taskId=null})}}enqueue(t){let n=t.creationZone;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()}},$s=class{constructor(t,n,r,o,i,s){this.scheduler=t,this.effectFn=n,this.creationZone=r,this.injector=i,this.watcher=Oc(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}runEffect(t){try{this.effectFn(t)}catch(n){this.injector.get(rt,null,{optional:!0})?.handleError(n)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}};function QD(e,t){ze("NgSignals"),!t?.injector&&Ap(QD);let n=t?.injector??D(Yt),r=t?.manualCleanup!==!0?n.get(No):null,o=new $s(n.get(ZD),e,typeof Zone>"u"?null:Zone.current,r,n,t?.allowSignalWrites??!1),i=n.get(Oa,null,{optional:!0});return!i||!(i._lView[v]&8)?o.watcher.notify():(i._lView[Or]??=[]).push(o.watcher.notify),o}function uT(e){let t=et(e);if(!t)return null;let n=new Xt(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}}}var xf=null;function Ra(){return xf}function RT(e){xf??=e}var bf=class{};var Qo=new N(""),Nf=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:()=>D(KD),providedIn:"platform"})}}return e})();var KD=(()=>{class e extends Nf{constructor(){super(),this._doc=D(Qo),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ra().getBaseHref(this._doc)}onPopState(n){let r=Ra().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){let r=Ra().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:()=>new e,providedIn:"platform"})}}return e})();function Sf(e,t){if(e.length==0)return t;if(t.length==0)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,n==2?e+t.substring(1):n==1?e+t:e+"/"+t}function Mf(e){let t=e.match(/#|\?|$/),n=t&&t.index||e.length,r=n-(e[n-1]==="/"?1:0);return e.slice(0,r)+e.slice(n)}function Ot(e){return e&&e[0]!=="?"?"?"+e:e}var La=(()=>{class e{historyGo(n){throw new Error("")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:()=>D(ew),providedIn:"root"})}}return e})(),XD=new N(""),ew=(()=>{class e extends La{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??D(Qo).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Sf(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+Ot(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Ot(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Ot(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static{this.\u0275fac=function(r){return new(r||e)($(Nf),$(XD,8))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var tw=(()=>{class e{constructor(n){this._subject=new _e,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=ow(Mf(_f(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Ot(r))}normalize(n){return e.stripTrailingSlash(rw(this._basePath,_f(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ot(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Ot(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}static{this.normalizeQueryParams=Ot}static{this.joinWithSlash=Sf}static{this.stripTrailingSlash=Mf}static{this.\u0275fac=function(r){return new(r||e)($(La))}}static{this.\u0275prov=R({token:e,factory:()=>nw(),providedIn:"root"})}}return e})();function nw(){return new tw($(La))}function rw(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===""||["/",";","?","#"].includes(n[0])?n:t}function _f(e){return e.replace(/\/index.html$/,"")}function ow(e){if(new RegExp("^(https?:)?//").test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var ae=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ae||{}),k=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(k||{}),ye=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(ye||{}),at={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function iw(e){return Ie(e)[U.LocaleId]}function sw(e,t,n){let r=Ie(e),o=[r[U.DayPeriodsFormat],r[U.DayPeriodsStandalone]],i=Ee(o,t);return Ee(i,n)}function aw(e,t,n){let r=Ie(e),o=[r[U.DaysFormat],r[U.DaysStandalone]],i=Ee(o,t);return Ee(i,n)}function cw(e,t,n){let r=Ie(e),o=[r[U.MonthsFormat],r[U.MonthsStandalone]],i=Ee(o,t);return Ee(i,n)}function uw(e,t){let r=Ie(e)[U.Eras];return Ee(r,t)}function Bo(e,t){let n=Ie(e);return Ee(n[U.DateFormat],t)}function $o(e,t){let n=Ie(e);return Ee(n[U.TimeFormat],t)}function Uo(e,t){let r=Ie(e)[U.DateTimeFormat];return Ee(r,t)}function Jo(e,t){let n=Ie(e),r=n[U.NumberSymbols][t];if(typeof r>"u"){if(t===at.CurrencyDecimal)return n[U.NumberSymbols][at.Decimal];if(t===at.CurrencyGroup)return n[U.NumberSymbols][at.Group]}return r}function Af(e){if(!e[U.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[U.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function lw(e){let t=Ie(e);return Af(t),(t[U.ExtraData][2]||[]).map(r=>typeof r=="string"?Pa(r):[Pa(r[0]),Pa(r[1])])}function dw(e,t,n){let r=Ie(e);Af(r);let o=[r[U.ExtraData][0],r[U.ExtraData][1]],i=Ee(o,t)||[];return Ee(i,n)||[]}function Ee(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function Pa(e){let[t,n]=e.split(":");return{hours:+t,minutes:+n}}var fw=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ho={},hw=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,We=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(We||{}),O=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(O||{}),A=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(A||{});function pw(e,t,n,r){let o=Cw(e);t=Ge(n,t)||t;let s=[],a;for(;t;)if(a=hw.exec(t),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;t=l}else{s.push(t);break}let c=o.getTimezoneOffset();r&&(c=Rf(r,c),o=Ew(o,r,!0));let u="";return s.forEach(l=>{let d=ww(l);u+=d?d(o,n,c):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function Zo(e,t,n){let r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function Ge(e,t){let n=iw(e);if(Ho[n]??={},Ho[n][t])return Ho[n][t];let r="";switch(t){case"shortDate":r=Bo(e,ye.Short);break;case"mediumDate":r=Bo(e,ye.Medium);break;case"longDate":r=Bo(e,ye.Long);break;case"fullDate":r=Bo(e,ye.Full);break;case"shortTime":r=$o(e,ye.Short);break;case"mediumTime":r=$o(e,ye.Medium);break;case"longTime":r=$o(e,ye.Long);break;case"fullTime":r=$o(e,ye.Full);break;case"short":let o=Ge(e,"shortTime"),i=Ge(e,"shortDate");r=zo(Uo(e,ye.Short),[o,i]);break;case"medium":let s=Ge(e,"mediumTime"),a=Ge(e,"mediumDate");r=zo(Uo(e,ye.Medium),[s,a]);break;case"long":let c=Ge(e,"longTime"),u=Ge(e,"longDate");r=zo(Uo(e,ye.Long),[c,u]);break;case"full":let l=Ge(e,"fullTime"),d=Ge(e,"fullDate");r=zo(Uo(e,ye.Full),[l,d]);break}return r&&(Ho[n][t]=r),r}function zo(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return t!=null&&r in t?t[r]:n})),e}function xe(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=-e+1:(e=-e,i=n));let s=String(e);for(;s.length<t;)s="0"+s;return r&&(s=s.slice(s.length-t)),i+s}function gw(e,t){return xe(e,3).substring(0,t)}function z(e,t,n=0,r=!1,o=!1){return function(i,s){let a=mw(e,i);if((n>0||a>-n)&&(a+=n),e===O.Hours)a===0&&n===-12&&(a=12);else if(e===O.FractionalSeconds)return gw(a,t);let c=Jo(s,at.MinusSign);return xe(a,t,c,r,o)}}function mw(e,t){switch(e){case O.FullYear:return t.getFullYear();case O.Month:return t.getMonth();case O.Date:return t.getDate();case O.Hours:return t.getHours();case O.Minutes:return t.getMinutes();case O.Seconds:return t.getSeconds();case O.FractionalSeconds:return t.getMilliseconds();case O.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}function L(e,t,n=ae.Format,r=!1){return function(o,i){return yw(o,i,e,t,n,r)}}function yw(e,t,n,r,o,i){switch(n){case A.Months:return cw(t,o,r)[e.getMonth()];case A.Days:return aw(t,o,r)[e.getDay()];case A.DayPeriods:let s=e.getHours(),a=e.getMinutes();if(i){let u=lw(t),l=dw(t,o,r),d=u.findIndex(h=>{if(Array.isArray(h)){let[f,p]=h,g=s>=f.hours&&a>=f.minutes,m=s<p.hours||s===p.hours&&a<p.minutes;if(f.hours<p.hours){if(g&&m)return!0}else if(g||m)return!0}else if(h.hours===s&&h.minutes===a)return!0;return!1});if(d!==-1)return l[d]}return sw(t,o,r)[s<12?0:1];case A.Eras:return uw(t,r)[e.getFullYear()<=0?0:1];default:let c=n;throw new Error(`unexpected translation type ${c}`)}}function Go(e){return function(t,n,r){let o=-1*r,i=Jo(n,at.MinusSign),s=o>0?Math.floor(o/60):Math.ceil(o/60);switch(e){case We.Short:return(o>=0?"+":"")+xe(s,2,i)+xe(Math.abs(o%60),2,i);case We.ShortGMT:return"GMT"+(o>=0?"+":"")+xe(s,1,i);case We.Long:return"GMT"+(o>=0?"+":"")+xe(s,2,i)+":"+xe(Math.abs(o%60),2,i);case We.Extended:return r===0?"Z":(o>=0?"+":"")+xe(s,2,i)+":"+xe(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}var vw=0,qo=4;function Dw(e){let t=Zo(e,vw,1).getDay();return Zo(e,0,1+(t<=qo?qo:qo+7)-t)}function Of(e){let t=e.getDay(),n=t===0?-3:qo-t;return Zo(e.getFullYear(),e.getMonth(),e.getDate()+n)}function Fa(e,t=!1){return function(n,r){let o;if(t){let i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{let i=Of(n),s=Dw(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return xe(o,e,Jo(r,at.MinusSign))}}function Wo(e,t=!1){return function(n,r){let i=Of(n).getFullYear();return xe(i,e,Jo(r,at.MinusSign),t)}}var ka={};function ww(e){if(ka[e])return ka[e];let t;switch(e){case"G":case"GG":case"GGG":t=L(A.Eras,k.Abbreviated);break;case"GGGG":t=L(A.Eras,k.Wide);break;case"GGGGG":t=L(A.Eras,k.Narrow);break;case"y":t=z(O.FullYear,1,0,!1,!0);break;case"yy":t=z(O.FullYear,2,0,!0,!0);break;case"yyy":t=z(O.FullYear,3,0,!1,!0);break;case"yyyy":t=z(O.FullYear,4,0,!1,!0);break;case"Y":t=Wo(1);break;case"YY":t=Wo(2,!0);break;case"YYY":t=Wo(3);break;case"YYYY":t=Wo(4);break;case"M":case"L":t=z(O.Month,1,1);break;case"MM":case"LL":t=z(O.Month,2,1);break;case"MMM":t=L(A.Months,k.Abbreviated);break;case"MMMM":t=L(A.Months,k.Wide);break;case"MMMMM":t=L(A.Months,k.Narrow);break;case"LLL":t=L(A.Months,k.Abbreviated,ae.Standalone);break;case"LLLL":t=L(A.Months,k.Wide,ae.Standalone);break;case"LLLLL":t=L(A.Months,k.Narrow,ae.Standalone);break;case"w":t=Fa(1);break;case"ww":t=Fa(2);break;case"W":t=Fa(1,!0);break;case"d":t=z(O.Date,1);break;case"dd":t=z(O.Date,2);break;case"c":case"cc":t=z(O.Day,1);break;case"ccc":t=L(A.Days,k.Abbreviated,ae.Standalone);break;case"cccc":t=L(A.Days,k.Wide,ae.Standalone);break;case"ccccc":t=L(A.Days,k.Narrow,ae.Standalone);break;case"cccccc":t=L(A.Days,k.Short,ae.Standalone);break;case"E":case"EE":case"EEE":t=L(A.Days,k.Abbreviated);break;case"EEEE":t=L(A.Days,k.Wide);break;case"EEEEE":t=L(A.Days,k.Narrow);break;case"EEEEEE":t=L(A.Days,k.Short);break;case"a":case"aa":case"aaa":t=L(A.DayPeriods,k.Abbreviated);break;case"aaaa":t=L(A.DayPeriods,k.Wide);break;case"aaaaa":t=L(A.DayPeriods,k.Narrow);break;case"b":case"bb":case"bbb":t=L(A.DayPeriods,k.Abbreviated,ae.Standalone,!0);break;case"bbbb":t=L(A.DayPeriods,k.Wide,ae.Standalone,!0);break;case"bbbbb":t=L(A.DayPeriods,k.Narrow,ae.Standalone,!0);break;case"B":case"BB":case"BBB":t=L(A.DayPeriods,k.Abbreviated,ae.Format,!0);break;case"BBBB":t=L(A.DayPeriods,k.Wide,ae.Format,!0);break;case"BBBBB":t=L(A.DayPeriods,k.Narrow,ae.Format,!0);break;case"h":t=z(O.Hours,1,-12);break;case"hh":t=z(O.Hours,2,-12);break;case"H":t=z(O.Hours,1);break;case"HH":t=z(O.Hours,2);break;case"m":t=z(O.Minutes,1);break;case"mm":t=z(O.Minutes,2);break;case"s":t=z(O.Seconds,1);break;case"ss":t=z(O.Seconds,2);break;case"S":t=z(O.FractionalSeconds,1);break;case"SS":t=z(O.FractionalSeconds,2);break;case"SSS":t=z(O.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Go(We.Short);break;case"ZZZZZ":t=Go(We.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Go(We.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Go(We.Long);break;default:return null}return ka[e]=t,t}function Rf(e,t){e=e.replace(/:/g,"");let n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Iw(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Ew(e,t,n){let r=n?-1:1,o=e.getTimezoneOffset(),i=Rf(t,o);return Iw(e,r*(i-o))}function Cw(e){if(Tf(e))return e;if(typeof e=="number"&&!isNaN(e))return new Date(e);if(typeof e=="string"){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){let[o,i=1,s=1]=e.split("-").map(a=>+a);return Zo(o,i-1,s)}let n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(fw))return bw(r)}let t=new Date(e);if(!Tf(t))throw new Error(`Unable to convert "${e}" into a date`);return t}function bw(e){let t=new Date(0),n=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));let s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,c=Number(e[6]||0),u=Math.floor(parseFloat("0."+(e[7]||0))*1e3);return i.call(t,s,a,c,u),t}function Tf(e){return e instanceof Date&&!isNaN(e.valueOf())}function Pf(e,t){t=encodeURIComponent(t);for(let n of e.split(";")){let r=n.indexOf("="),[o,i]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}var PT=(()=>{class e{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static{this.\u0275fac=function(r){return new(r||e)(He(jn))}}static{this.\u0275dir=Gu({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Js]})}}return e})();function Mw(e,t){return new b(2100,!1)}var _w="mediumDate",Tw=new N(""),xw=new N(""),FT=(()=>{class e{constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(n==null||n===""||n!==n)return null;try{let s=r??this.defaultOptions?.dateFormat??_w,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return pw(n,s,i||this.locale,a)}catch(s){throw Mw(e,s.message)}}static{this.\u0275fac=function(r){return new(r||e)(He(Vo,16),He(Tw,24),He(xw,24))}}static{this.\u0275pipe=Ws({name:"date",type:e,pure:!0,standalone:!0})}}return e})();var kT=(()=>{class e{transform(n){return JSON.stringify(n,null,2)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275pipe=Ws({name:"json",type:e,pure:!1,standalone:!0})}}return e})();var Nw="browser",Sw="server";function LT(e){return e===Nw}function Aw(e){return e===Sw}var Yo=class{};var $n=class{},Un=class{},qe=class e{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
8
+ `).forEach(n=>{let r=n.indexOf(":");if(r>0){let o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=(t.op==="a"?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":let i=t.value;if(!i)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=this.headers.get(n);if(!s)return;s=s.filter(a=>i.indexOf(a)===-1),s.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}break}}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var Va=class{encodeKey(t){return Ff(t)}encodeValue(t){return Ff(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Rw(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var Pw=/%(\d[a-f0-9])/gi,Fw={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ff(e){return encodeURIComponent(e).replace(Pw,(t,n)=>Fw[n]??t)}function Ko(e){return`${e}`}var ut=class e{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Va,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Rw(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(Ko):[Ko(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let n=(t.op==="a"?this.map.get(t.param):void 0)||[];n.push(Ko(t.value)),this.map.set(t.param,n);break;case"d":if(t.value!==void 0){let r=this.map.get(t.param)||[],o=r.indexOf(Ko(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}};var Ba=class{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function kw(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function kf(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Lf(e){return typeof Blob<"u"&&e instanceof Blob}function jf(e){return typeof FormData<"u"&&e instanceof FormData}function Lw(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var Bn=class e{constructor(t,n,r,o){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let i;if(kw(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new qe,this.context??=new Ba,!this.params)this.params=new ut,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n.indexOf("?"),c=a===-1?"?":a<n.length-1?"&":"";this.urlWithParams=n+c+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||kf(this.body)||Lf(this.body)||jf(this.body)||Lw(this.body)?this.body:this.body instanceof ut?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||jf(this.body)?null:Lf(this.body)?this.body.type||null:kf(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof ut?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.transferCache??this.transferCache,s=t.body!==void 0?t.body:this.body,a=t.withCredentials??this.withCredentials,c=t.reportProgress??this.reportProgress,u=t.headers||this.headers,l=t.params||this.params,d=t.context??this.context;return t.setHeaders!==void 0&&(u=Object.keys(t.setHeaders).reduce((h,f)=>h.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((h,f)=>h.set(f,t.setParams[f]),l)),new e(n,r,s,{params:l,headers:u,context:d,reportProgress:c,responseType:o,withCredentials:a,transferCache:i})}},lt=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(lt||{}),Hn=class{constructor(t,n=200,r="OK"){this.headers=t.headers||new qe,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},Xo=class e extends Hn{constructor(t={}){super(t),this.type=lt.ResponseHeader}clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},zn=class e extends Hn{constructor(t={}){super(t),this.type=lt.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},ct=class extends Hn{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||"(unknown url)"}`:this.message=`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}},Uf=200,jw=204;function ja(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var Vw=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Bn)i=n;else{let c;o.headers instanceof qe?c=o.headers:c=new qe(o.headers);let u;o.params&&(o.params instanceof ut?u=o.params:u=new ut({fromObject:o.params})),i=new Bn(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=cr(i).pipe(mi(c=>this.handler.handle(c)));if(n instanceof Bn||o.observe==="events")return s;let a=s.pipe(mt(c=>c instanceof zn));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(oe(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(oe(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(oe(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return a.pipe(oe(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:new ut().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,ja(o,r))}post(n,r,o={}){return this.request("POST",n,ja(o,r))}put(n,r,o={}){return this.request("PUT",n,ja(o,r))}static{this.\u0275fac=function(r){return new(r||e)($($n))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})(),Bw=/^\)\]\}',?\n/,$w="X-Request-URL";function Vf(e){if(e.url)return e.url;let t=$w.toLocaleLowerCase();return e.headers.get(t)}var $a=(()=>{class e{constructor(){this.fetchImpl=D(Ua,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n)),this.ngZone=D(ne)}handle(n){return new S(r=>{let o=new AbortController;return this.doRequest(n,o.signal,r).then(Ha,i=>r.error(new ct({error:i}))),()=>o.abort()})}async doRequest(n,r,o){let i=this.createRequestInit(n),s;try{let f=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,ge({signal:r},i)));Uw(f),o.next({type:lt.Sent}),s=await f}catch(f){o.error(new ct({error:f,status:f.status??0,statusText:f.statusText,url:n.urlWithParams,headers:f.headers}));return}let a=new qe(s.headers),c=s.statusText,u=Vf(s)??n.urlWithParams,l=s.status,d=null;if(n.reportProgress&&o.next(new Xo({headers:a,status:l,statusText:c,url:u})),s.body){let f=s.headers.get("content-length"),p=[],g=s.body.getReader(),m=0,C,j,P=typeof Zone<"u"&&Zone.current;await this.ngZone.runOutsideAngular(async()=>{for(;;){let{done:ce,value:G}=await g.read();if(ce)break;if(p.push(G),m+=G.length,n.reportProgress){j=n.responseType==="text"?(j??"")+(C??=new TextDecoder).decode(G,{stream:!0}):void 0;let Le=()=>o.next({type:lt.DownloadProgress,total:f?+f:void 0,loaded:m,partialText:j});P?P.run(Le):Le()}}});let J=this.concatChunks(p,m);try{let ce=s.headers.get("Content-Type")??"";d=this.parseBody(n,J,ce)}catch(ce){o.error(new ct({error:ce,headers:new qe(s.headers),status:s.status,statusText:s.statusText,url:Vf(s)??n.urlWithParams}));return}}l===0&&(l=d?Uf:0),l>=200&&l<300?(o.next(new zn({body:d,headers:a,status:l,statusText:c,url:u})),o.complete()):o.error(new ct({error:d,headers:a,status:l,statusText:c,url:u}))}parseBody(n,r,o){switch(n.responseType){case"json":let i=new TextDecoder().decode(r).replace(Bw,"");return i===""?null:JSON.parse(i);case"text":return new TextDecoder().decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){let r={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){let i=n.detectContentTypeHeader();i!==null&&(r["Content-Type"]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})(),Ua=class{};function Ha(){}function Uw(e){e.then(Ha,Ha)}function Hw(e,t){return t(e)}function zw(e,t,n){return(r,o)=>nl(n,()=>t(r,i=>e(i,o)))}var za=new N(""),Gw=new N(""),Ww=new N("",{providedIn:"root",factory:()=>!0});var Bf=(()=>{class e extends $n{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=D(St),this.contributeToStability=D(Ww)}handle(n){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(za),...this.injector.get(Gw,[])]));this.chain=r.reduceRight((o,i)=>zw(o,i,this.injector),Hw)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(ur(()=>this.pendingTasks.remove(r)))}else return this.chain(n,r=>this.backend.handle(r))}static{this.\u0275fac=function(r){return new(r||e)($(Un),$(Re))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();var qw=/^\)\]\}',?\n/;function Zw(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var $f=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new b(-2800,!1);let r=this.xhrFactory;return(r.\u0275loadImpl?Ne(r.\u0275loadImpl()):cr(null)).pipe(dr(()=>new S(i=>{let s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,m)=>s.setRequestHeader(g,m.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){let g=n.detectContentTypeHeader();g!==null&&s.setRequestHeader("Content-Type",g)}if(n.responseType){let g=n.responseType.toLowerCase();s.responseType=g!=="json"?g:"text"}let a=n.serializeBody(),c=null,u=()=>{if(c!==null)return c;let g=s.statusText||"OK",m=new qe(s.getAllResponseHeaders()),C=Zw(s)||n.url;return c=new Xo({headers:m,status:s.status,statusText:g,url:C}),c},l=()=>{let{headers:g,status:m,statusText:C,url:j}=u(),P=null;m!==jw&&(P=typeof s.response>"u"?s.responseText:s.response),m===0&&(m=P?Uf:0);let J=m>=200&&m<300;if(n.responseType==="json"&&typeof P=="string"){let ce=P;P=P.replace(qw,"");try{P=P!==""?JSON.parse(P):null}catch(G){P=ce,J&&(J=!1,P={error:G,text:P})}}J?(i.next(new zn({body:P,headers:g,status:m,statusText:C,url:j||void 0})),i.complete()):i.error(new ct({error:P,headers:g,status:m,statusText:C,url:j||void 0}))},d=g=>{let{url:m}=u(),C=new ct({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:m||void 0});i.error(C)},h=!1,f=g=>{h||(i.next(u()),h=!0);let m={type:lt.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),n.responseType==="text"&&s.responseText&&(m.partialText=s.responseText),i.next(m)},p=g=>{let m={type:lt.UploadProgress,loaded:g.loaded};g.lengthComputable&&(m.total=g.total),i.next(m)};return s.addEventListener("load",l),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",f),a!==null&&s.upload&&s.upload.addEventListener("progress",p)),s.send(a),i.next({type:lt.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",l),s.removeEventListener("timeout",d),n.reportProgress&&(s.removeEventListener("progress",f),a!==null&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(r){return new(r||e)($(Yo))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})(),Hf=new N(""),Yw="XSRF-TOKEN",Qw=new N("",{providedIn:"root",factory:()=>Yw}),Jw="X-XSRF-TOKEN",Kw=new N("",{providedIn:"root",factory:()=>Jw}),ei=class{},Xw=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Pf(n,this.cookieName),this.lastCookieString=n),this.lastToken}static{this.\u0275fac=function(r){return new(r||e)($(Qo),$(la),$(Qw))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();function eI(e,t){let n=e.url.toLowerCase();if(!D(Hf)||e.method==="GET"||e.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return t(e);let r=D(ei).getToken(),o=D(Kw);return r!=null&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Ga=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(Ga||{});function zf(e,t){return{\u0275kind:e,\u0275providers:t}}function JT(...e){let t=[Vw,$f,Bf,{provide:$n,useExisting:Bf},{provide:Un,useFactory:()=>D($a,{optional:!0})??D($f)},{provide:za,useValue:eI,multi:!0},{provide:Hf,useValue:!0},{provide:ei,useClass:Xw}];for(let n of e)t.push(...n.\u0275providers);return qs(t)}function KT(e){return zf(Ga.Interceptors,e.map(t=>({provide:za,useValue:t,multi:!0})))}function XT(){return zf(Ga.Fetch,[$a,{provide:Un,useExisting:$a}])}export{Y as a,X as b,Wf as c,S as d,di as e,fi as f,Se as g,fn as h,pi as i,hn as j,Ne as k,cr as l,ih as m,sh as n,gt as o,oe as p,ph as q,pt as r,li as s,lr as t,mh as u,yh as v,mt as w,gi as x,mi as y,pn as z,mr as A,vh as B,Dh as C,ur as D,yc as E,yi as F,Eh as G,Ch as H,hc as I,dr as J,bh as K,vi as L,b as M,Nu as N,R as O,Au as P,s0 as Q,N as R,x as S,$ as T,D as U,bn as V,a0 as W,zu as X,Gu as Y,Ws as Z,qs as _,el as $,Re as aa,nl as ba,Ap as ca,Js as da,c0 as ea,u0 as fa,l0 as ga,d0 as ha,mg as ia,Yt as ja,No as ka,St as la,_e as ma,ne as na,rt as oa,f0 as pa,h0 as qa,cn as ra,p0 as sa,g0 as ta,Pg as ua,la as va,m0 as wa,At as xa,fa as ya,y0 as za,v0 as Aa,D0 as Ba,w0 as Ca,I0 as Da,Yl as Ea,nm as Fa,Ao as Ga,E0 as Ha,om as Ia,C0 as Ja,eo as Ka,b0 as La,He as Ma,oo as Na,Pd as Oa,jn as Pa,qy as Qa,Zy as Ra,x0 as Sa,N0 as Ta,nv as Ua,cv as Va,Ms as Wa,uv as Xa,pv as Ya,vv as Za,Rv as _a,Kd as $a,Pv as ab,S0 as bb,A0 as cb,O0 as db,R0 as eb,P0 as fb,F0 as gb,af as hb,cf as ib,Yv as jb,uf as kb,lf as lb,Kv as mb,k0 as nb,sD as ob,L0 as pb,j0 as qb,V0 as rb,lD as sb,dD as tb,fD as ub,B0 as vb,$0 as wb,U0 as xb,H0 as yb,z0 as zb,G0 as Ab,W0 as Bb,gD as Cb,hf as Db,mD as Eb,yD as Fb,vD as Gb,q0 as Hb,DD as Ib,Z0 as Jb,Y0 as Kb,Q0 as Lb,J0 as Mb,K0 as Nb,X0 as Ob,eT as Pb,tT as Qb,nT as Rb,rT as Sb,oT as Tb,Aa as Ub,wf as Vb,Vn as Wb,iT as Xb,sT as Yb,Oa as Zb,aT as _b,WD as $b,cT as ac,qD as bc,QD as cc,uT as dc,Ra as ec,RT as fc,bf as gc,Qo as hc,La as ic,tw as jc,Pf as kc,PT as lc,FT as mc,kT as nc,Nw as oc,LT as pc,Aw as qc,Yo as rc,qe as sc,zn as tc,Vw as uc,JT as vc,KT as wc,XT as xc};
@@ -0,0 +1 @@
1
+ import{c as a,d as b}from"./chunk-773EKLAK.js";import"./chunk-PSWNF2DG.js";import"./chunk-FNCRTNLE.js";import"./chunk-QHAUETMH.js";import"./chunk-UQ2NU6Q3.js";import"./chunk-67W575RU.js";import"./chunk-KE7QHERU.js";import"./chunk-KOSBH5QY.js";import"./chunk-BBTWEIKC.js";import"./chunk-2KRJAVEC.js";import"./chunk-7CGTOI24.js";export{a as createRestoreSelectFilesForm,b as default};
@@ -0,0 +1 @@
1
+ import{a,b}from"./chunk-773EKLAK.js";import"./chunk-PSWNF2DG.js";import"./chunk-FNCRTNLE.js";import"./chunk-QHAUETMH.js";import"./chunk-UQ2NU6Q3.js";import"./chunk-67W575RU.js";import"./chunk-KE7QHERU.js";import"./chunk-KOSBH5QY.js";import"./chunk-BBTWEIKC.js";import"./chunk-2KRJAVEC.js";import"./chunk-7CGTOI24.js";export{a as createRestoreOptionsForm,b as default};
@@ -0,0 +1 @@
1
+ import{$a as R,Ab as ne,Bb as _,Cb as oe,Db as se,Gb as N,Hb as $,Ib as Y,Kb as g,La as y,Lb as X,O as G,Oa as K,Ra as h,Sa as M,Ta as j,U as x,W as m,Y as J,Ya as E,_a as Q,ab as B,ac as k,bb as Z,cb as L,cc as V,db as w,ea as p,eb as ee,fa as d,fb as te,gb as ie,hb as r,ib as a,jb as F,nb as b,ob as C,pa as W,pb as f,qa as u,qb as v,ra as A,rb as l,yb as I,zb as q}from"./chunk-2KRJAVEC.js";import{a as T,b as H}from"./chunk-7CGTOI24.js";var D=["*"],ae=[[["","icon",""]],[["","title",""]],"*",[["","content",""]]],le=["[icon]","[title]","*","[content]"];function ce(n,S){n&1&&(r(0,"spk-icon",3),_(1,"info"),a())}function pe(n,S){n&1&&(r(0,"spk-icon",3),_(1,"info"),a())}function de(n,S){n&1&&(r(0,"spk-icon",3),_(1,"check-circle"),a())}function ue(n,S){n&1&&(r(0,"spk-icon",3),_(1,"warning-octagon"),a())}function he(n,S){n&1&&(r(0,"spk-icon",3),_(1,"warning"),a())}function fe(n,S){n&1&&(r(0,"spk-icon",3),_(1,"question"),a())}function me(n,S){if(n&1){let e=b();r(0,"spk-icon",7),C("click",function(){p(e);let i=f();return d(i.removeAlert())}),_(1,"plus"),a()}}var ge=["spk-button",""];var ve=["inputWrap"];var Se=[[["label"]],[["","prefix",""]],[["","textPrefix",""]],[["input"]],[["textarea"]],[["","textSuffix",""]],[["","suffix",""]],[["","error",""]],[["","hint",""]]],Ce=["label","[prefix]","[textPrefix]","input","textarea","[textSuffix]","[suffix]","[error]","[hint]"],_e=["triggerRef"],ye=["popoverRef"],ke=[[["","trigger",""]],"*"],De=["[trigger]","*"],we=["*",[["","menu",""]]],be=["*","[menu]"],Oe=()=>({closeOnButton:!1,closeOnEsc:!0});var Ee=["optionsRef"],Te=["formFieldWrapper"],xe=[[["label"]],[["input"]],"*",[["","deselect-indicator",""]],[["","search-indicator",""]],[["","open-indicator",""]]],Me=["label","input","*","[deselect-indicator]","[search-indicator]","[open-indicator]"],Fe=()=>({closeOnButton:!1,closeOnEsc:!1});function Ie(n,S){if(n&1){let e=b();r(0,"spk-chip",12),C("click",function(i){let o=p(e).$implicit,s=f(3);return d(s.toggleOption(o,i))}),_(1),r(2,"spk-icon"),_(3,"x-circle"),a()()}if(n&2){let e,t=S.$implicit,i=f(3);L(i.chipClass()),y(),se(" ",(e=(e=i.displayFn())==null?null:e(t))!==null&&e!==void 0?e:t," ")}}function Ve(n,S){if(n&1&&te(0,Ie,4,3,"spk-chip",11,ee),n&2){let e=f(2);ie(e.inputValue().split(","))}}function Ae(n,S){if(n&1&&(r(0,"div",6),E(1,Ve,2,0),a()),n&2){let e=f();y(),w(e.inputValue().length>0?1:-1)}}function Re(n,S){if(n&1&&(r(0,"div",6),_(1),a()),n&2){let e=f();y(),oe(e._displayValue())}}function Pe(n,S){if(n&1){let e=b();r(0,"div",13),C("click",function(i){p(e);let o=f();return d(o.deselect(i))}),l(1,3),r(2,"spk-icon",14),_(3,"x-circle"),a()()}}function He(n,S){n&1&&(r(0,"div",8),l(1,4),r(2,"spk-icon",14),_(3,"magnifying-glass"),a()())}function je(n,S){if(n&1&&(r(0,"div",15),l(1,5),r(2,"spk-icon",14),_(3,"caret-down"),a()()),n&2){let e=f();B("open",e.isOpen())}}var Be=["dragImageElement"],We=[[["","sidenav",""]],[["","sidenav-closed-topbar",""]],"*"],Le=["[sidenav]","[sidenav-closed-topbar]","*"];function qe(n,S){n&1&&F(0,"div",1,0)}function Ue(n,S){if(n&1){let e=b();r(0,"div",7),C("drop",function(i){p(e);let o=f();return d(o.drop(i))})("dragover",function(i){p(e);let o=f();return d(o.dragOver(i))})("dragenter",function(){p(e);let i=f();return d(i.dragEnter())})("dragleave",function(){p(e);let i=f();return d(i.dragLeave())}),a()}}function Qe(n,S){if(n&1){let e=b();r(0,"div",8),C("dragstart",function(i){p(e);let o=f();return d(o.dragStart(i))})("dragend",function(i){p(e);let o=f();return d(o.dragEnd(i))})("drag",function(i){p(e);let o=f();return d(o.drag(i))})("touchstart",function(i){p(e);let o=f();return d(o.touchStart(i))})("touchmove",function(i){p(e);let o=f();return d(o.touchMove(i))})("touchend",function(i){p(e);let o=f();return d(o.touchEnd(i))})("touchcancel",function(i){p(e);let o=f();return d(o.touchCancel(i))}),a()}}var z=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-icon"]],standalone:!0,features:[g],ngContentSelectors:D,decls:1,vars:0,template:function(t,i){t&1&&(v(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),mt=(()=>{class n{constructor(){this._el=x(A),this.alertService=u(null),this.type=u("error"),this.id=u(null)}removeAlert(){this.id()&&this.alertService()&&this.alertService()?.removeAlert(this.id())}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-alert"]],hostVars:2,hostBindings:function(t,i){t&2&&L(i.type())},inputs:{alertService:[1,"alertService"],type:[1,"type"],id:[1,"id"]},standalone:!0,features:[g],ngContentSelectors:le,decls:17,vars:4,consts:[["ref",""],[1,"alert"],[1,"icon"],[1,"state-icon"],[1,"title"],[1,"close-icon"],[1,"content"],[1,"close-icon",3,"click"]],template:function(t,i){if(t&1&&(v(ae),r(0,"div",1)(1,"div",2,0),l(3),a(),r(4,"div",2),E(5,ce,2,0,"spk-icon",3)(6,pe,2,0,"spk-icon",3)(7,de,2,0,"spk-icon",3)(8,ue,2,0,"spk-icon",3)(9,he,2,0,"spk-icon",3)(10,fe,2,0,"spk-icon",3),a(),r(11,"div",4),l(12,1),l(13,2),a(),E(14,me,2,0,"spk-icon",5),r(15,"div",6),l(16,3),a()()),t&2){let o,s=ne(2);y(),R("display",s.children.length?"block":"none"),y(4),w((o=i.type())==="primary"?5:o==="accent"?6:o==="success"?7:o==="error"?8:o==="warning"?9:10),y(9),w(i.id()?14:-1)}},dependencies:[z],encapsulation:2,changeDetection:0})}}return n})();var gt=(()=>{class n{constructor(){this.alertHistory=h([]),this.alertHistoryIsOpen=h(!1),this.alertHistoryIsHidden=h(!0)}error(e){this.addAlert({type:"error",title:e??"An error occured"})}success(e){this.addAlert({type:"success",title:e})}question(e){this.addAlert({type:"question",title:e})}warning(e){this.addAlert({type:"warning",title:e})}info(e){this.addAlert({type:"primary",title:e})}addAlert(e){let t=crypto.randomUUID();this.alertHistory.update(i=>[H(T({},e),{isOpen:!0,animateIn:!0,animateOut:!1,id:t}),...i]),setTimeout(()=>{this.alertHistory.update(i=>i.map(o=>H(T({},o),{animateIn:o.id===t?!1:o.animateIn})))},40),setTimeout(()=>{this.hideAlert(t)},2500)}removeAlert(e){this.alertHistory.update(t=>t.map(i=>H(T({},i),{animateOut:i.id===e?!1:i.animateOut}))),setTimeout(()=>{this.alertHistory.update(t=>t.filter(i=>i.id!==e))},300)}hideAlert(e){this.alertHistory.update(t=>t.map(i=>H(T({},i),{isOpen:i.id===e?!1:i.isOpen})))}setHidden(e){this.alertHistoryIsHidden.set(e)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275prov=G({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})();var vt=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-button-group"]],standalone:!0,features:[g],ngContentSelectors:D,decls:1,vars:0,template:function(t,i){t&1&&(v(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),Ne=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["","spk-button",""]],standalone:!0,features:[g],attrs:ge,ngContentSelectors:D,decls:1,vars:0,template:function(t,i){t&1&&(v(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),St=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-card"]],standalone:!0,features:[g],ngContentSelectors:D,decls:1,vars:0,template:function(t,i){t&1&&(v(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),Ct=(()=>{class n{#e=x(A);onClick(){this.#e.nativeElement.querySelector("input")&&this.#e.nativeElement.querySelector("input").focus()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-checkbox"]],hostBindings:function(t,i){t&1&&C("click",function(){return i.onClick()})},standalone:!0,features:[g],ngContentSelectors:D,decls:6,vars:0,consts:[[1,"box"],[1,"inherit","default-indicator"],[1,"inherit","indeterminate-indicator"]],template:function(t,i){t&1&&(v(),r(0,"div",0)(1,"spk-icon",1),_(2,"check"),a(),r(3,"spk-icon",2),_(4,"minus"),a()(),l(5))},dependencies:[z],encapsulation:2,changeDetection:0})}}return n})(),$e=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-chip"]],standalone:!0,features:[g],ngContentSelectors:D,decls:1,vars:0,template:function(t,i){t&1&&(v(),l(0))},encapsulation:2,changeDetection:0})}}return n})();var Ye=(()=>{class n{#e=x(A);onClick(){this.#e.nativeElement.querySelector("input")&&this.#e.nativeElement.querySelector("input").focus(),this.#e.nativeElement.querySelector("textarea")&&this.#e.nativeElement.querySelector("textarea").focus()}ngOnInit(){let e=CSS.supports("field-sizing","content"),t=this.#e.nativeElement.querySelector("textarea");if(!e&&t!==null){let c=function(){s.style.height="auto",s.style.height=s.scrollHeight+"px"},O=function(){window.setTimeout(c,0)};var i=c,o=O;let s=this.#e.nativeElement.querySelector("textarea");s.addEventListener("change",c),s.addEventListener("cut",O),s.addEventListener("paste",O),s.addEventListener("drop",O),s.addEventListener("keydown",O),s.focus(),s.select(),c()}}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-form-field"]],hostBindings:function(t,i){t&1&&C("click",function(){return i.onClick()})},standalone:!0,features:[g],ngContentSelectors:Ce,decls:16,vars:0,consts:[[1,"input-wrap"],[1,"prefix"],[1,"prefix-space"],[1,"suffix-space"],[1,"helpers"],[1,"error"],[1,"hint"]],template:function(t,i){t&1&&(v(Se),l(0),r(1,"div",0)(2,"div",1),l(3,1),l(4,2),a(),F(5,"div",2),l(6,3),l(7,4),l(8,5),F(9,"div",3),l(10,6),a(),r(11,"div",4)(12,"div",5),l(13,7),a(),r(14,"div",6),l(15,8),a()())},encapsulation:2,changeDetection:0})}}return n})(),_t=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-list"]],standalone:!0,features:[g],ngContentSelectors:D,decls:1,vars:0,template:function(t,i){t&1&&(v(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),Xe={width:void 0,height:void 0,closeOnButton:!0,closeOnEsc:!0},re=(()=>{class n{constructor(){this.#e=4,this.SUPPORTS_ANCHOR=CSS.supports("position-anchor","--abc")&&CSS.supports("anchor-name","--abc"),this.above=u(!1),this.right=u(!1),this._above=h(this.above()),this._right=h(this.right()),this.disableOpenByClick=u(!1),this.isOpen=j(!1),this.options=u(),this.closed=W(),this.defaultOptionMerge=k(()=>T(T({},Xe),this.options())),this.triggerRef=M.required("triggerRef"),this.popoverRef=M.required("popoverRef"),this.id=h("--"+crypto.randomUUID()),this.menuStyle=h(null),this.openAbort=null,this.isCalculatingPosition=k(()=>{let e=this.popoverRef()?.nativeElement;return this.isOpen()?(this.openAbort&&this.openAbort.abort(),this.openAbort=new AbortController,e?.showPopover(),document.addEventListener("keydown",i=>{i.key==="Escape"&&!this.defaultOptionMerge().closeOnEsc&&i.preventDefault(),i.key==="Escape"&&this.defaultOptionMerge().closeOnEsc&&this.isOpen.set(!1)},{capture:!0,signal:this.abortController?.signal}),!0):(e.hidePopover(),this.abortController?.abort(),this.openAbort?.abort(),this.closed.emit(),!1)}),this.abortController=null,this.calcPositionEffect=V(()=>{if(!this.isCalculatingPosition())return;this.abortController&&this.abortController.abort(),this.abortController=new AbortController;let t=this.abortController.signal;this.calculateMenuPosition(),this.#s(this.popoverRef()?.nativeElement).addEventListener("scroll",()=>this.calculateMenuPosition(),{signal:t}),document.addEventListener("resize",()=>this.calculateMenuPosition(),{signal:t})},{allowSignalWrites:!0}),this.scrollableStyles=["scroll","auto"]}#e;toggleIsOpen(e){e.preventDefault(),e.stopPropagation(),this.disableOpenByClick()||this.isOpen.set(!this.isOpen())}#s(e){let t=e.parentElement;for(;t;){if(this.scrollableStyles.indexOf(window.getComputedStyle(t).overflowY)>-1&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return document.documentElement}eventClose(e){e.stopPropagation(),e.preventDefault(),this.isOpen.set(!1)}ngOnDestroy(){this.abortController&&this.abortController.abort()}calculateMenuPosition(){let e=this.triggerRef()?.nativeElement.getBoundingClientRect(),t=this.popoverRef()?.nativeElement.getBoundingClientRect(),i=e.left,o=e.bottom,s=i,c=o+this.#e,O=s+t.width>window.innerWidth,U=c+t.height>window.innerHeight;if(this.SUPPORTS_ANCHOR)this._above.set(U),this._right.set(O);else{if(this.above()){let P=e.top-t.height-this.#e;P>=0&&(c=P)}else U&&(c=e.top-t.height-this.#e);if(this.right()){let P=e.right-t.width;P>=0&&(s=P)}else O&&(c=U?e.top+e.height-t.height:e.top,s=e.left-t.width-this.#e);this.menuStyle.set({left:s+"px",top:c+"px"})}}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-popover"]],viewQuery:function(t,i){t&1&&(I(i.triggerRef,_e,5),I(i.popoverRef,ye,5)),t&2&&q(2)},hostVars:4,hostBindings:function(t,i){t&2&&B("above",i._above())("right",i._right())},inputs:{above:[1,"above"],right:[1,"right"],disableOpenByClick:[1,"disableOpenByClick"],isOpen:[1,"isOpen"],options:[1,"options"]},outputs:{isOpen:"isOpenChange",closed:"closed"},standalone:!0,features:[g],ngContentSelectors:De,decls:10,vars:6,consts:[["triggerRef",""],["popoverRef",""],[1,"trigger",3,"click"],[1,"trigger-wrapper"],["spk-button","",1,"outlined"],["popover","",1,"popover"],[1,"overlay",3,"click"]],template:function(t,i){if(t&1){let o=b();v(ke),r(0,"div",2,0),C("click",function(c){return p(o),d(i.toggleIsOpen(c))}),r(2,"div",3),l(3),a(),r(4,"button",4),_(5,"Open popover"),a()(),r(6,"div",5,1)(8,"div",6),C("click",function(c){return p(o),d(i.isOpen()&&i.eventClose(c))}),a(),l(9,1),a()}t&2&&(R("anchor-name",i.id()),y(6),Z(i.menuStyle()),R("position-anchor",i.id()))},dependencies:[Ne],encapsulation:2,changeDetection:0})}}return n})(),yt=(()=>{class n{constructor(){this.above=u(!1),this.right=u(!1),this.isOpen=j(!1),this.closed=W()}close(e="closed"){this.isOpen.set(!1),this.closed.emit(e==="selected")}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-menu"]],inputs:{above:[1,"above"],right:[1,"right"],isOpen:[1,"isOpen"]},outputs:{isOpen:"isOpenChange",closed:"closed"},standalone:!0,features:[g],ngContentSelectors:be,decls:6,vars:6,consts:[["formFieldWrapper",""],[3,"isOpenChange","closed","isOpen","disableOpenByClick","above","right","options"],["trigger","",3,"click"],[1,"options",3,"click"]],template:function(t,i){if(t&1){let o=b();v(we),r(0,"spk-popover",1,0),Y("isOpenChange",function(c){return p(o),$(i.isOpen,c)||(i.isOpen=c),d(c)}),C("closed",function(){return p(o),d(i.close())}),r(2,"div",2),C("click",function(){return p(o),d(i.isOpen.set(!0))}),l(3),a(),r(4,"div",3),C("click",function(){return p(o),d(i.close("selected"))}),l(5,1),a()()}t&2&&(N("isOpen",i.isOpen),Q("disableOpenByClick",!0)("above",i.above())("right",i.right())("options",X(5,Oe)))},dependencies:[re],encapsulation:2,changeDetection:0})}}return n})(),kt=(()=>{class n{constructor(){this.value=u(void 0)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-progress-bar"]],inputs:{value:[1,"value"]},standalone:!0,features:[g],decls:1,vars:2,consts:[[1,"progress-bar"]],template:function(t,i){t&1&&F(0,"div",0),t&2&&R("width",i.value(),"%")},encapsulation:2,changeDetection:0})}}return n})(),Dt=(()=>{class n{#e=x(A);onClick(){this.#e.nativeElement.querySelector("input")&&this.#e.nativeElement.querySelector("input").focus()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-radio"]],hostBindings:function(t,i){t&1&&C("click",function(){return i.onClick()})},standalone:!0,features:[g],ngContentSelectors:D,decls:2,vars:0,consts:[[1,"radio"]],template:function(t,i){t&1&&(v(),F(0,"div",0),l(1))},encapsulation:2,changeDetection:0})}}return n})();var wt=(()=>{class n{constructor(){this.value=u(null)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-option"]],inputs:{value:[1,"value"]},standalone:!0,features:[g],ngContentSelectors:D,decls:1,vars:0,template:function(t,i){t&1&&(v(),l(0))},encapsulation:2,changeDetection:0})}}return n})(),ze=["primary","accent","tertiary","warn","success"],bt=(()=>{class n{constructor(){this.#e=x(K),this.#s=document.getElementsByTagName("body")[0],this.#p=x(A),this.#d=new MutationObserver(e=>{for(let t of e)if(t.type==="childList"&&t.target instanceof HTMLElement){let i=[...Array.from(t.addedNodes),...Array.from(t.removedNodes)];for(let o=0;o<i.length;o++){let s=i[o];(s.nodeName==="OPTION"||s.nodeName==="SPK-OPTION")&&this.#o.set(!this.#o())}}}),this.optionsRef=M("optionsRef"),this.formFieldWrapperRef=M.required("formFieldWrapper"),this.inputWrapRef=M.required("inputWrap"),this.inputValue=j(""),this.readonly=u(!1),this.selectMultiple=u(!1),this.hideClearButton=u(!1),this.displayValue=u(""),this.displayFn=u(e=>`${e}`),this.above=u(!1),this.right=u(!1),this.#l=h(!1),this.#o=h(!1),this.#t=h(null),this.#r=h(null),this.#c=h(-1),this.#a=h(!1),this.#i=h(-1),this.isOpen=h(!1),this.isSearchInput=k(()=>this.#t()?.type==="search"),this.optionsEl=k(()=>this.optionsRef()?.nativeElement),this.#n=k(()=>{this.#o();let e=this.optionsRef()?.nativeElement.querySelectorAll("option"),t=this.optionsRef()?.nativeElement.querySelectorAll("spk-option");return e?.length?Array.from(e):t?.length?Array.from(t):[]}),this.chipClass=k(()=>Array.from(this.#p.nativeElement.classList).filter(e=>ze.includes(e)).join(" ")),this._displayValue=k(()=>this.displayFn()?this.displayFn()(this.inputValue()):this.displayValue()??this.inputValue()),this.selectedOption=k(()=>this.#r()?this.#n().find(e=>(e.getAttribute("value")||e.getAttribute("ng-reflect-value"))===this.#r()):null),this.optionsOpenController=null,this.inputController=null,this.clickController=null,this.inputAbortController=null,this.#f=V(()=>{this.#l();let e=this.#p.nativeElement.querySelector("input");e&&(this.#k(e),e.addEventListener("inputValueChanged",t=>{this.inputValue.set(t.detail.value),this.selectMultiple()&&this.#h()}),this.#t.set(e),e.autocomplete="off",typeof e.value=="string"&&this.inputValue.set(e.value))},{allowSignalWrites:!0}),this.#m=V(()=>{this.inputController&&this.inputController.abort(),this.inputController=new AbortController;let e=this.#t();e&&e.addEventListener("keydown",t=>{(this.selectMultiple()||!this.isSearchInput())&&t.preventDefault(),t.key==="Escape"?this.close():t.key==="ArrowDown"?this.#i()===null||this.#i()<0||this.#i()===this.#n().length-1?this.#i.set(this.#c()):this.#i.set(this.#i()+1):t.key==="ArrowUp"?this.#i()===null||this.#i()<0||this.#i()===0?this.#i.set(this.#n().length-1):this.#i.set(this.#i()-1):t.key==="Enter"?this.#i()>-1&&this.selected(this.getOptionElement(this.#i())):t.key==="Tab"&&this.close(!0)},{signal:this.inputController?.signal})}),this.#g=V(()=>{this.isOpen()&&this.#_()}),this.#v=V(()=>{let e=this.inputValue();this.#t()&&(this.#t().value=e??"",this.#t().dispatchEvent(new Event("input")))},{allowSignalWrites:!0}),this.#u=new MutationObserver(e=>{for(var t of e)t.type=="childList"&&t.target.classList.contains("input")&&this.#l.set(!this.#l())})}#e;#s;#p;#d;#l;#o;#t;#r;#c;#a;#i;#n;#f;#m;#g;#v;ngOnInit(){this.#u.observe(this.inputWrapRef().nativeElement,{attributes:!0,childList:!0,subtree:!0})}getOptionElement(e){return this.#n()[e]}deselect(e,t=!1){e?.stopPropagation(),this.#t()&&(this.#t().value="",this.#t().dispatchEvent(new Event("input"))),this.#i.set(this.#c()),this.#a.set(!1),(t||!this.selectMultiple())&&(this.isOpen.set(!1),this.#t()?.blur())}selected(e){if(!e)return;let t=(e.getAttribute("value")||e.getAttribute("ng-reflect-value"))??"",i=this.#n().indexOf(e);if(e.hasAttribute("deselect"))return this.deselect(null,!0);if(this.#i.set(i),e&&!this.selectMultiple()){this.inputValue.set(t);for(let o=0;o<this.#n().length;o++){let s=this.#n()[o];(s.getAttribute("value")||s.getAttribute("ng-reflect-value"))===t?this.#e.setAttribute(s,"selected","selected"):this.#e.removeAttribute(s,"selected")}}else e&&this.selectMultiple()&&(this.inputValue().includes(t)?(this.#e.removeAttribute(e,"selected"),this.toggleOption(t)):(this.#e.setAttribute(e,"selected","selected"),this.inputValue.set(this.inputValue().length?`${this.inputValue()},${t}`:t)));this.#a.set(!1),this.#r.set(null),this.selectMultiple()?this.#t()?.focus():(this.isOpen.set(!1),this.#t()?.blur())}toggleOption(e,t){t&&(t.preventDefault(),t.stopPropagation()),this.inputValue.set(this.inputValue().startsWith(e+",")?this.inputValue().replace(e+",",""):this.inputValue().includes(","+e)?this.inputValue().replace(","+e,""):this.inputValue().replace(e,""))}close(e=!1){this.#o.set(!this.#o());let t=this.#r();this.isSearchInput()&&t&&setTimeout(()=>this.inputValue.set(t)),this.isOpen.set(!1),this.#a.set(!1),e||this.#t()?.blur(),this.#d.disconnect(),this.#C()}open(e){e.preventDefault(),!this.isOpen()&&(this.isOpen.set(!0),this.#d.observe(this.optionsEl(),{childList:!0,subtree:!0}),this.isSearchInput()&&!this.#a()?(this.#r.set(this.inputValue()),this.inputValue.set(""),this.#t().focus(),this.#t().value="",this.#t().dispatchEvent(new Event("input")),this.#i.set(-1)):(this.isSearchInput()||this.selectMultiple())&&this.#t().focus(),this.#a.set(!0),this.#S(),this.#h(),setTimeout(()=>{this.#c.set(this.#y())}))}#S(){this.clickController&&this.clickController.abort(),this.clickController=new AbortController,this.optionsEl()?.addEventListener("click",e=>{if(!e.target)return;this.#o.set(!this.#o());let t=e.target.closest("option"),i=e.target.closest("spk-option"),o=t||i;this.#n().indexOf(o)>-1&&this.selected(o)},{signal:this.clickController?.signal})}#C(){this.clickController&&this.clickController.abort()}#_(){for(let e=0;e<this.#n().length;e++){let t=this.#n()[e];this.#e.removeClass(t,"focused"),this.#i()===e&&(this.#e.addClass(t,"focused"),t.scrollIntoView({block:"center"}))}}#h(){let e=this.#t();if(!e)return;this.inputValue.set(e.value);let t=e.value.split(",");setTimeout(()=>{let i=this.#n();for(let o=0;o<i.length;o++){let s=i[o].getAttribute("ng-reflect-value");s&&t.includes(s)?this.#e.setAttribute(i[o],"selected","selected"):this.#e.removeAttribute(i[o],"selected")}})}#y(){let e=this.#n();for(let t=0;t<e.length;t++)if(!e[t].hasAttribute("deselect"))return t;return-1}#u;#k(e){return Object.defineProperty(e,"value",{configurable:!0,get(){return Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").get.call(this)},set(t){Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value").set.call(this,t);let o=new CustomEvent("inputValueChanged",{bubbles:!0,cancelable:!0,detail:{value:t}});return this.dispatchEvent(o),t}}),e}ngOnDestroy(){this.clickController&&this.clickController.abort(),this.inputController&&this.inputController.abort(),this.optionsOpenController&&this.optionsOpenController.abort(),this.#u.disconnect()}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-select"]],viewQuery:function(t,i){t&1&&(I(i.optionsRef,Ee,5),I(i.formFieldWrapperRef,Te,5),I(i.inputWrapRef,ve,5)),t&2&&q(3)},inputs:{inputValue:[1,"inputValue"],readonly:[1,"readonly"],selectMultiple:[1,"selectMultiple"],hideClearButton:[1,"hideClearButton"],displayValue:[1,"displayValue"],displayFn:[1,"displayFn"],above:[1,"above"],right:[1,"right"]},outputs:{inputValue:"inputValueChange"},standalone:!0,features:[g],ngContentSelectors:Me,decls:15,vars:8,consts:[["formFieldWrapper",""],["inputWrap",""],["optionsRef",""],[3,"isOpenChange","closed","isOpen","disableOpenByClick","options"],["trigger","",3,"click"],["ngProjectAs","input",5,["input"],1,"input"],[1,"display-value"],["suffix","",1,"deselect-indicator"],["suffix","",1,"search-indicator"],["suffix","",1,"select-open-indicator",3,"open"],[1,"sparkle-options"],[1,"small","simple",3,"class"],[1,"small","simple",3,"click"],["suffix","",1,"deselect-indicator",3,"click"],[1,"default-indicator"],["suffix","",1,"select-open-indicator"]],template:function(t,i){if(t&1){let o=b();v(xe),r(0,"spk-popover",3,0),Y("isOpenChange",function(c){return p(o),$(i.isOpen,c)||(i.isOpen=c),d(c)}),C("closed",function(){return p(o),d(i.close())}),r(2,"spk-form-field",4),C("click",function(c){return p(o),d(i.open(c))}),l(3,0,["ngProjectAs","label",5,["label"]]),r(4,"div",5,1),E(6,Ae,2,1,"div",6)(7,Re,2,1,"div",6),l(8,1),a(),E(9,Pe,4,0,"div",7)(10,He,4,0,"div",8)(11,je,4,2,"div",9),a(),r(12,"div",10,2),l(14,2),a()()}t&2&&(N("isOpen",i.isOpen),Q("disableOpenByClick",!0)("options",X(7,Fe)),y(2),L(i.readonly()?"readonly":""),y(4),w(i.selectMultiple()?6:i._displayValue()&&i.isSearchInput()&&!i.isOpen()||i._displayValue()&&!i.isSearchInput()?7:-1),y(3),w((i.inputValue()&&!i.isOpen()&&i.inputValue().length>0||i.selectedOption())&&!i.hideClearButton()?9:i.isSearchInput()&&!i.selectedOption()?10:11))},dependencies:[Ye,z,$e,re],encapsulation:2,changeDetection:0})}}return n})(),Ot=(()=>{class n{constructor(){this.openWidth=280,this.openWidthTreshold=this.openWidth*.9,this.disableDrag=u(!1),this.isOpen=j(!1),this.type=u(""),this.dragImageElement=M.required("dragImageElement"),this.dragIsEnding=h(!1),this.dragIsOnScreen=h(!0),this.isDragging=h(!1),this.dragPositionX=h(0),this.dragActualPositionX=k(()=>{let e=this.dragPositionX(),t=.32;return e>this.openWidthTreshold?this.openWidthTreshold+(e-this.openWidthTreshold)*t:e}),this.draggingStyle=k(()=>this.type()!=="overlay"?null:this.isDragging()?`translateX(${this.dragActualPositionX()}px)`:this.isOpen()?`translateX(${this.openWidth}px)`:"translateX(0px)"),this.draggingEffect=V(()=>{this.isDragging()&&document.body.classList.add("dragging")})}drop(e){e.stopPropagation(),this.#e(e.clientX)}#e(e){this.isDragging.set(!1),e<=0?this.isOpen.set(!1):e>this.openWidthTreshold?this.isOpen.set(!0):e<this.openWidthTreshold&&(!this.isOpen()&&e<this.openWidthTreshold*.6?this.isOpen.set(!0):this.isOpen.set(!1))}dragEnd(e){(e.clientX<0||!this.dragIsOnScreen())&&this.#e(0)}dragEnter(){this.dragIsOnScreen.set(!0)}dragLeave(){this.dragIsOnScreen.set(!1)}dragOver(e){e.preventDefault(),this.#s(e)}dragStart(e){e.stopPropagation(),this.isDragging.set(!0),this.#s(e)}#s(e){e.dataTransfer?.setDragImage(this.dragImageElement().nativeElement,0,0)}drag(e){e.stopPropagation(),setTimeout(()=>{this.isDragging()&&this.dragIsOnScreen()&&this.dragPositionX.set(e.clientX)}),this.#s(e)}touchStart(e){e.stopPropagation(),this.isDragging.set(!0)}touchMove(e){e.stopPropagation(),setTimeout(()=>{this.isDragging()&&this.dragIsOnScreen()&&this.dragPositionX.set(e.touches[0].clientX)})}touchEnd(e){e.stopPropagation(),this.#e(e.changedTouches[0].clientX)}touchCancel(e){e.stopPropagation(),this.isDragging.set(!1)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-sidenav"]],viewQuery:function(t,i){t&1&&I(i.dragImageElement,Be,5),t&2&&q()},hostVars:10,hostBindings:function(t,i){t&2&&B("open",i.isOpen())("closed",!i.isOpen())("overlay",i.type()==="overlay")("simple",i.type()==="simple")("is-dragging",i.isDragging())},inputs:{disableDrag:[1,"disableDrag"],isOpen:[1,"isOpen"],type:[1,"type"]},outputs:{isOpen:"isOpenChange"},standalone:!0,features:[g],ngContentSelectors:Le,decls:10,vars:5,consts:[["dragImageElement",""],[1,"drag-image"],[1,"dropping-surface"],[1,"sidenav"],[1,"main-wrap"],["draggable","true",1,"dragable"],[1,"closed-topbar"],[1,"dropping-surface",3,"drop","dragover","dragenter","dragleave"],["draggable","true",1,"dragable",3,"dragstart","dragend","drag","touchstart","touchmove","touchend","touchcancel"]],template:function(t,i){t&1&&(v(We),E(0,qe,2,0,"div",1)(1,Ue,1,0,"div",2),r(2,"div",3),l(3),a(),r(4,"div",4),E(5,Qe,1,0,"div",5),r(6,"div",6),l(7,1),a(),r(8,"main"),l(9,2),a()()),t&2&&(w(i.type()==="overlay"?0:-1),y(),w(i.type()==="overlay"&&i.isDragging()?1:-1),y(3),R("transform",i.draggingStyle()),y(),w(i.type()==="overlay"&&!i.disableDrag()?5:-1))},encapsulation:2,changeDetection:0})}}return n})();var Et=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-stepper"]],standalone:!0,features:[g],ngContentSelectors:D,decls:1,vars:0,template:function(t,i){t&1&&(v(),l(0))},encapsulation:2,changeDetection:0})}}return n})();var Tt=(()=>{class n{static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=m({type:n,selectors:[["spk-toggle"]],standalone:!0,features:[g],ngContentSelectors:D,decls:3,vars:0,consts:[[1,"box"],[1,"knob"]],template:function(t,i){t&1&&(v(),r(0,"div",0),F(1,"div",1),a(),l(2))},encapsulation:2,changeDetection:0})}}return n})(),xt=(()=>{class n{constructor(){this.filesOver=h(!1),this.filesDropped=W()}onDragOver(e){e.preventDefault(),e.stopPropagation(),this.filesOver.set(!0)}onDragLeave(e){e.preventDefault(),e.stopPropagation(),this.filesOver.set(!1)}ondrop(e){e.preventDefault(),e.stopPropagation(),this.filesOver.set(!1);let t=e.dataTransfer?.files;t&&t.length>0&&this.filesDropped.emit(t)}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275dir=J({type:n,selectors:[["","spkDragDrop",""]],hostVars:2,hostBindings:function(t,i){t&1&&C("dragover",function(s){return i.onDragOver(s)})("dragleave",function(s){return i.onDragLeave(s)})("drop",function(s){return i.ondrop(s)}),t&2&&B("filesover",i.filesOver())},outputs:{filesDropped:"filesDropped"},standalone:!0})}}return n})();export{z as a,mt as b,gt as c,vt as d,Ne as e,St as f,Ct as g,$e as h,Ye as i,_t as j,yt as k,kt as l,Dt as m,wt as n,bt as o,Ot as p,Et as q,Tt as r,xt as s};
@@ -1,2 +1,2 @@
1
- import{b as M}from"./chunk-6PJU5W5X.js";import{l as k}from"./chunk-3SP3MQEU.js";import{c as S}from"./chunk-KLPRJO2S.js";import{a as b}from"./chunk-ZUVMWAQY.js";import{Bb as h,D as p,Ha as c,Hb as v,La as g,Ra as f,U as i,W as m,Ya as d,_a as u,db as C,hb as y,ib as o,jb as r,p as l}from"./chunk-NGPWOMCW.js";import"./chunk-7CGTOI24.js";function D(n,e){n&1&&r(0,"spk-progress-bar",0)}var a=class n{#e=i(S);#n=i(b);isLoading=f(!0);generalInfo=M(this.#n.getApiV1Acknowledgements().pipe(l(e=>e.Acknowledgements?this.#e.bypassSecurityTrustHtml(e.Acknowledgements.replace(/\r/g,`
1
+ import{b as M}from"./chunk-QHAUETMH.js";import{l as k}from"./chunk-67W575RU.js";import{c as S}from"./chunk-KOSBH5QY.js";import{a as b}from"./chunk-BBTWEIKC.js";import{Bb as h,D as p,Ha as c,Kb as v,La as g,Ra as f,U as i,W as m,Ya as d,_a as u,db as C,hb as y,ib as o,jb as r,p as l}from"./chunk-2KRJAVEC.js";import"./chunk-7CGTOI24.js";function D(n,e){n&1&&r(0,"spk-progress-bar",0)}var a=class n{#e=i(S);#n=i(b);isLoading=f(!0);generalInfo=M(this.#n.getApiV1Acknowledgements().pipe(l(e=>e.Acknowledgements?this.#e.bypassSecurityTrustHtml(e.Acknowledgements.replace(/\r/g,`
2
2
  `)):""),p(()=>this.isLoading.set(!1))));static \u0275fac=function(t){return new(t||n)};static \u0275cmp=m({type:n,selectors:[["app-general"]],standalone:!0,features:[v],decls:5,vars:2,consts:[[1,"indeterminate","primary"],[3,"innerHTML"]],template:function(t,s){t&1&&(d(0,D,1,0,"spk-progress-bar",0),y(1,"section")(2,"h3"),h(3,"General"),o(),r(4,"div",1),o()),t&2&&(C(s.isLoading()?0:-1),g(4),u("innerHTML",s.generalInfo(),c))},dependencies:[k],styles:["[_nghost-%COMP%]{display:block;position:relative}h3[_ngcontent-%COMP%]{font:var(--title-30)}section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem}spk-progress-bar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0}"],changeDetection:0})};export{a as default};