@signalk/freeboard-sk 2.24.0 → 2.24.2

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 (61) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/assets/icons/icon-192x192.png +0 -0
  3. package/docs/screenshots/1_freeboard-sk.png +0 -0
  4. package/docs/screenshots/README.md +31 -0
  5. package/package.json +26 -7
  6. package/public/3rdpartylicenses.txt +9 -361
  7. package/public/chunk-2AF4T5IB.js +1 -0
  8. package/public/chunk-346FAZUS.js +1 -0
  9. package/public/{chunk-BTVNOQ7K.js → chunk-3GHIRJ3C.js} +2 -2
  10. package/public/chunk-4SHFYAXK.js +1 -0
  11. package/public/{chunk-2LV2AYBP.js → chunk-64QDJX7X.js} +1 -1
  12. package/public/chunk-A4TULHTL.js +1 -0
  13. package/public/chunk-AEB5DG3B.js +1 -0
  14. package/public/chunk-AFVK3UQJ.js +5482 -0
  15. package/public/chunk-AX3UMUXB.js +1 -0
  16. package/public/{chunk-TLBNKF2R.js → chunk-EFVTFEXB.js} +1 -1
  17. package/public/chunk-FALIRPMH.js +1035 -0
  18. package/public/{chunk-A7QJNGJ7.js → chunk-FEIJMPL7.js} +2 -2
  19. package/public/chunk-G4GM24WE.js +1 -0
  20. package/public/{chunk-DPEXDGKO.js → chunk-GQXHMDKV.js} +1 -1
  21. package/public/chunk-KFWFMRV7.js +1 -0
  22. package/public/chunk-LXUTMJYP.js +1145 -0
  23. package/public/chunk-NTIQMWPW.js +2718 -0
  24. package/public/chunk-QIOZNURQ.js +1 -0
  25. package/public/chunk-RWJHAOI2.js +1 -0
  26. package/public/chunk-SBFXQ3G7.js +1 -0
  27. package/public/chunk-TAJAMNLU.js +1 -0
  28. package/public/chunk-UEUVGTXJ.js +1 -0
  29. package/public/{chunk-WUXY5N7A.js → chunk-WA2ENVQZ.js} +1 -1
  30. package/public/index.html +2 -2
  31. package/public/main-AZEF35BN.js +466 -0
  32. package/public/polyfills-RV3JTMEC.js +2 -0
  33. package/public/styles-FMJMFQ5P.css +1 -0
  34. package/public/worker-AUTVLQL7.js +3 -0
  35. package/public/worker-FRXPLBUO.js +12 -0
  36. package/public/worker-T4RJR7DG.js +12 -0
  37. package/public/worker-Y35X2QU7.js +26 -0
  38. package/public/chunk-3MOH2GUU.js +0 -1
  39. package/public/chunk-3ZBG3EOD.js +0 -1
  40. package/public/chunk-4SN3Q6K3.js +0 -1
  41. package/public/chunk-5KDMJ54F.js +0 -1
  42. package/public/chunk-67IVDHNW.js +0 -1
  43. package/public/chunk-AZK5ODAA.js +0 -1
  44. package/public/chunk-GMWUHE7S.js +0 -131
  45. package/public/chunk-GQRIAFM6.js +0 -1
  46. package/public/chunk-HQSHA6SH.js +0 -13
  47. package/public/chunk-LXWUCH7T.js +0 -1
  48. package/public/chunk-QPQHN5VS.js +0 -22
  49. package/public/chunk-RBFFWNLA.js +0 -1
  50. package/public/chunk-TQPGRJVE.js +0 -19
  51. package/public/chunk-V3DD3MHN.js +0 -1
  52. package/public/chunk-Y6FV7FIU.js +0 -1
  53. package/public/chunk-YPACWLLV.js +0 -1
  54. package/public/chunk-YUTPR5Z4.js +0 -1
  55. package/public/main-SF5NH7GR.js +0 -11
  56. package/public/polyfills-5CFQRCPP.js +0 -2
  57. package/public/styles-N7HVRSAT.css +0 -1
  58. package/public/worker-42LKK6ER.js +0 -26
  59. package/public/worker-FPJG6QKK.js +0 -5
  60. package/public/worker-UZNU4LIJ.js +0 -12
  61. package/public/worker-WYOFLVNH.js +0 -12
@@ -1,22 +0,0 @@
1
- import{a as E,b as W,f as Zr}from"./chunk-EQVTEUXC.js";var Ve=null,Hs=!1,nd=1,aC=null,me=Symbol("SIGNAL");function M(t){let n=Ve;return Ve=t,n}function Us(){return Ve}var bn={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Dn(t){if(Hs)throw new Error("");if(Ve===null)return;Ve.consumerOnSignalRead(t);let n=Ve.producersTail;if(n!==void 0&&n.producer===t)return;let e,r=Ve.recomputing;if(r&&(e=n!==void 0?n.nextProducer:Ve.producers,e!==void 0&&e.producer===t)){Ve.producersTail=e,e.lastReadVersion=t.version;return}let i=t.consumersTail;if(i!==void 0&&i.consumer===Ve&&(!r||cC(i,Ve)))return;let o=Xr(Ve),s={producer:t,consumer:Ve,nextProducer:e,prevConsumer:i,lastReadVersion:t.version,nextConsumer:void 0};Ve.producersTail=s,n!==void 0?n.nextProducer=s:Ve.producers=s,o&&am(t,s)}function im(){nd++}function ir(t){if(!(Xr(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===nd)){if(!t.producerMustRecompute(t)&&!Qr(t)){Kr(t);return}t.producerRecomputeValue(t),Kr(t)}}function rd(t){if(t.consumers===void 0)return;let n=Hs;Hs=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let r=e.consumer;r.dirty||lC(r)}}finally{Hs=n}}function id(){return Ve?.consumerAllowSignalWrites!==!1}function lC(t){t.dirty=!0,rd(t),t.consumerMarkedDirty?.(t)}function Kr(t){t.dirty=!1,t.lastCleanEpoch=nd}function Jt(t){return t&&om(t),M(t)}function om(t){t.producersTail=void 0,t.recomputing=!0}function En(t,n){M(n),t&&sm(t)}function sm(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(Xr(t))do e=od(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function Qr(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,r=n.lastReadVersion;if(r!==e.version||(ir(e),r!==e.version))return!0}return!1}function Cn(t){if(Xr(t)){let n=t.producers;for(;n!==void 0;)n=od(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function am(t,n){let e=t.consumersTail,r=Xr(t);if(e!==void 0?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!r)for(let i=t.producers;i!==void 0;i=i.nextProducer)am(i.producer,i)}function od(t){let n=t.producer,e=t.nextProducer,r=t.nextConsumer,i=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,r!==void 0?r.prevConsumer=i:n.consumersTail=i,i!==void 0)i.nextConsumer=r;else if(n.consumers=r,!Xr(n)){let o=n.producers;for(;o!==void 0;)o=od(o)}return e}function Xr(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function oo(t){aC?.(t)}function cC(t,n){let e=n.producersTail;if(e!==void 0){let r=n.producers;do{if(r===t)return!0;if(r===e)break;r=r.nextProducer}while(r!==void 0)}return!1}function so(t,n){return Object.is(t,n)}function ao(t,n){let e=Object.create(dC);e.computation=t,n!==void 0&&(e.equal=n);let r=()=>{if(ir(e),Dn(e),e.value===Xt)throw e.error;return e.value};return r[me]=e,oo(e),r}var _n=Symbol("UNSET"),rr=Symbol("COMPUTING"),Xt=Symbol("ERRORED"),dC=W(E({},bn),{value:_n,dirty:!0,error:null,equal:so,kind:"computed",producerMustRecompute(t){return t.value===_n||t.value===rr},producerRecomputeValue(t){if(t.value===rr)throw new Error("");let n=t.value;t.value=rr;let e=Jt(t),r,i=!1;try{r=t.computation(),M(null),i=n!==_n&&n!==Xt&&r!==Xt&&t.equal(n,r)}catch(o){r=Xt,t.error=o}finally{En(t,e)}if(i){t.value=n;return}t.value=r,t.version++}});function uC(){throw new Error}var lm=uC;function cm(t){lm(t)}function sd(t){lm=t}var fC=null;function ad(t,n){let e=Object.create(lo);e.value=t,n!==void 0&&(e.equal=n);let r=()=>dm(e);return r[me]=e,oo(e),[r,s=>or(e,s),s=>zs(e,s)]}function dm(t){return Dn(t),t.value}function or(t,n){id()||cm(t),t.equal(t.value,n)||(t.value=n,hC(t))}function zs(t,n){id()||cm(t),or(t,n(t.value))}var lo=W(E({},bn),{equal:so,value:void 0,kind:"signal"});function hC(t){t.version++,im(),rd(t),fC?.(t)}function ld(t){let n=M(null);try{return t()}finally{M(n)}}var cd=W(E({},bn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function dd(t){if(t.dirty=!1,t.version>0&&!Qr(t))return;t.version++;let n=Jt(t);try{t.cleanup(),t.fn()}finally{En(t,n)}}function T(t){return typeof t=="function"}function $s(t){let e=t(r=>{Error.call(r),r.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var Gs=$s(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
2
- ${e.map((r,i)=>`${i+1}) ${r.toString()}`).join(`
3
- `)}`:"",this.name="UnsubscriptionError",this.errors=e});function sr(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var j=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let o of e)o.remove(this);else e.remove(this);let{initialTeardown:r}=this;if(T(r))try{r()}catch(o){n=o instanceof Gs?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{um(o)}catch(s){n=n??[],s instanceof Gs?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Gs(n)}}add(n){var e;if(n&&n!==this)if(this.closed)um(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&sr(e,n)}remove(n){let{_finalizers:e}=this;e&&sr(e,n),n instanceof t&&n._removeParent(this)}};j.EMPTY=(()=>{let t=new j;return t.closed=!0,t})();var ud=j.EMPTY;function Ws(t){return t instanceof j||t&&"closed"in t&&T(t.remove)&&T(t.add)&&T(t.unsubscribe)}function um(t){T(t)?t():t.unsubscribe()}var Ct={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Jr={setTimeout(t,n,...e){let{delegate:r}=Jr;return r?.setTimeout?r.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Jr;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function qs(t){Jr.setTimeout(()=>{let{onUnhandledError:n}=Ct;if(n)n(t);else throw t})}function co(){}var fm=fd("C",void 0,void 0);function hm(t){return fd("E",void 0,t)}function pm(t){return fd("N",t,void 0)}function fd(t,n,e){return{kind:t,value:n,error:e}}var ar=null;function ei(t){if(Ct.useDeprecatedSynchronousErrorHandling){let n=!ar;if(n&&(ar={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:r}=ar;if(ar=null,e)throw r}}else t()}function mm(t){Ct.useDeprecatedSynchronousErrorHandling&&ar&&(ar.errorThrown=!0,ar.error=t)}var lr=class extends j{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ws(n)&&n.add(this)):this.destination=gC}static create(n,e,r){return new en(n,e,r)}next(n){this.isStopped?pd(pm(n),this):this._next(n)}error(n){this.isStopped?pd(hm(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?pd(fm,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},pC=Function.prototype.bind;function hd(t,n){return pC.call(t,n)}var md=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(r){Ys(r)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(r){Ys(r)}else Ys(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Ys(e)}}},en=class extends lr{constructor(n,e,r){super();let i;if(T(n)||!n)i={next:n??void 0,error:e??void 0,complete:r??void 0};else{let o;this&&Ct.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),i={next:n.next&&hd(n.next,o),error:n.error&&hd(n.error,o),complete:n.complete&&hd(n.complete,o)}):i=n}this.destination=new md(i)}};function Ys(t){Ct.useDeprecatedSynchronousErrorHandling?mm(t):qs(t)}function mC(t){throw t}function pd(t,n){let{onStoppedNotification:e}=Ct;e&&Jr.setTimeout(()=>e(t,n))}var gC={closed:!0,next:co,error:mC,complete:co};var ti=typeof Symbol=="function"&&Symbol.observable||"@@observable";function wt(t){return t}function gm(t){return t.length===0?wt:t.length===1?t[0]:function(e){return t.reduce((r,i)=>i(r),e)}}var N=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let r=new t;return r.source=this,r.operator=e,r}subscribe(e,r,i){let o=yC(e)?e:new en(e,r,i);return ei(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(r){e.error(r)}}forEach(e,r){return r=vm(r),new r((i,o)=>{let s=new en({next:a=>{try{e(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)}[ti](){return this}pipe(...e){return gm(e)(this)}toPromise(e){return e=vm(e),new e((r,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>r(o))})}}return t.create=n=>new t(n),t})();function vm(t){var n;return(n=t??Ct.Promise)!==null&&n!==void 0?n:Promise}function vC(t){return t&&T(t.next)&&T(t.error)&&T(t.complete)}function yC(t){return t&&t instanceof lr||vC(t)&&Ws(t)}function gd(t){return T(t?.lift)}function L(t){return n=>{if(gd(n))return n.lift(function(e){try{return t(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function k(t,n,e,r,i){return new uo(t,n,e,r,i)}var uo=class extends lr{constructor(n,e,r,i,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function ym(){return L((t,n)=>{let e=null;t._refCount++;let r=k(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let i=t._connection,o=e;e=null,i&&(!o||i===o)&&i.unsubscribe(),n.unsubscribe()});t.subscribe(r),r.closed||(e=t.connect())})}var fo=class extends N{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,gd(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new j;let e=this.getSubject();n.add(this.source.subscribe(k(e,void 0,()=>{this._teardown(),e.complete()},r=>{this._teardown(),e.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=j.EMPTY)}return n}refCount(){return ym()(this)}};var ni={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:r}=ni;r&&(n=r.requestAnimationFrame,e=r.cancelAnimationFrame);let i=n(o=>{e=void 0,t(o)});return new j(()=>e?.(i))},requestAnimationFrame(...t){let{delegate:n}=ni;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=ni;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var _m=$s(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var D=(()=>{class t extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let r=new Zs(this,this);return r.operator=e,r}_throwIfClosed(){if(this.closed)throw new _m}next(e){ei(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(e)}})}error(e){ei(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:r}=this;for(;r.length;)r.shift().error(e)}})}complete(){ei(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:r,isStopped:i,observers:o}=this;return r||i?ud:(this.currentObservers=null,o.push(e),new j(()=>{this.currentObservers=null,sr(o,e)}))}_checkFinalizedStatuses(e){let{hasError:r,thrownError:i,isStopped:o}=this;r?e.error(i):o&&e.complete()}asObservable(){let e=new N;return e.source=this,e}}return t.create=(n,e)=>new Zs(n,e),t})(),Zs=class extends D{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.next)===null||r===void 0||r.call(e,n)}error(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.error)===null||r===void 0||r.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,r;return(r=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&r!==void 0?r:ud}};var cr=class extends D{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:r}=this;if(n)throw e;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var ho={now(){return(ho.delegate||Date).now()},delegate:void 0};var wn=class extends D{constructor(n=1/0,e=1/0,r=ho){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;e||(r.push(n),!i&&r.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let s=0;s<o.length&&!n.closed;s+=r?1:2)n.next(o[s]);return this._checkFinalizedStatuses(n),e}_trimBuffer(){let{_bufferSize:n,_timestampProvider:e,_buffer:r,_infiniteTimeWindow:i}=this,o=(i?1:2)*n;if(n<1/0&&o<r.length&&r.splice(0,r.length-o),!i){let s=e.now(),a=0;for(let l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}}};var vd=class extends D{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(n){let{hasError:e,_hasValue:r,_value:i,thrownError:o,isStopped:s,_isComplete:a}=this;e?n.error(o):(s||a)&&(r&&n.next(i),n.complete())}next(n){this.isStopped||(this._value=n,this._hasValue=!0)}complete(){let{_hasValue:n,_value:e,_isComplete:r}=this;r||(this._isComplete=!0,n&&super.next(e),super.complete())}};var Ks=class extends j{constructor(n,e){super()}schedule(n,e=0){return this}};var po={setInterval(t,n,...e){let{delegate:r}=po;return r?.setInterval?r.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=po;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var In=class extends Ks{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var r;if(this.closed)return this;this.state=n;let i=this.id,o=this.scheduler;return i!=null&&(this.id=this.recycleAsyncId(o,i,e)),this.pending=!0,this.delay=e,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,r=0){return po.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,e,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return e;e!=null&&po.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,e);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let r=!1,i;try{this.work(n)}catch(o){r=!0,i=o||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),i}unsubscribe(){if(!this.closed){let{id:n,scheduler:e}=this,{actions:r}=e;this.work=this.state=this.scheduler=null,this.pending=!1,sr(r,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var _C=1,yd,_d={};function bm(t){return t in _d?(delete _d[t],!0):!1}var Dm={setImmediate(t){let n=_C++;return _d[n]=!0,yd||(yd=Promise.resolve()),yd.then(()=>bm(n)&&t()),n},clearImmediate(t){bm(t)}};var{setImmediate:bC,clearImmediate:DC}=Dm,mo={setImmediate(...t){let{delegate:n}=mo;return(n?.setImmediate||bC)(...t)},clearImmediate(t){let{delegate:n}=mo;return(n?.clearImmediate||DC)(t)},delegate:void 0};var Qs=class extends In{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,r=0){return r!==null&&r>0?super.requestAsyncId(n,e,r):(n.actions.push(this),n._scheduled||(n._scheduled=mo.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,r=0){var i;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,e,r);let{actions:o}=n;e!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==e&&(mo.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var ri=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,r){return new this.schedulerActionCtor(this,n).schedule(r,e)}};ri.now=ho.now;var xn=class extends ri{constructor(n,e=ri.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,r){for(;n=e.shift();)n.unsubscribe();throw r}}};var Xs=class extends xn{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:r}=this,i;n=n||r.shift();do if(i=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===e&&r.shift());if(this._active=!1,i){for(;(n=r[0])&&n.id===e&&r.shift();)n.unsubscribe();throw i}}};var bd=new Xs(Qs);var dr=new xn(In),Em=dr;var Js=class extends In{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,r=0){return r!==null&&r>0?super.requestAsyncId(n,e,r):(n.actions.push(this),n._scheduled||(n._scheduled=ni.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,r=0){var i;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,e,r);let{actions:o}=n;e!=null&&e===n._scheduled&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==e&&(ni.cancelAnimationFrame(e),n._scheduled=void 0)}};var ea=class extends xn{flush(n){this._active=!0;let e;n?e=n.id:(e=this._scheduled,this._scheduled=void 0);let{actions:r}=this,i;n=n||r.shift();do if(i=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===e&&r.shift());if(this._active=!1,i){for(;(n=r[0])&&n.id===e&&r.shift();)n.unsubscribe();throw i}}};var Dd=new ea(Js);var ur=new N(t=>t.complete());function ta(t){return t&&T(t.schedule)}function Ed(t){return t[t.length-1]}function na(t){return T(Ed(t))?t.pop():void 0}function Bt(t){return ta(Ed(t))?t.pop():void 0}function Cm(t,n){return typeof Ed(t)=="number"?t.pop():n}function Im(t,n,e,r){function i(o){return o instanceof e?o:new e(function(s){s(o)})}return new(e||(e=Promise))(function(o,s){function a(d){try{c(r.next(d))}catch(f){s(f)}}function l(d){try{c(r.throw(d))}catch(f){s(f)}}function c(d){d.done?o(d.value):i(d.value).then(a,l)}c((r=r.apply(t,n||[])).next())})}function wm(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function fr(t){return this instanceof fr?(this.v=t,this):new fr(t)}function xm(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e.apply(t,n||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(h){return function(m){return Promise.resolve(m).then(h,f)}}function a(h,m){r[h]&&(i[h]=function(v){return new Promise(function(_,b){o.push([h,v,_,b])>1||l(h,v)})},m&&(i[h]=m(i[h])))}function l(h,m){try{c(r[h](m))}catch(v){p(o[0][3],v)}}function c(h){h.value instanceof fr?Promise.resolve(h.value.v).then(d,f):p(o[0][2],h)}function d(h){l("next",h)}function f(h){l("throw",h)}function p(h,m){h(m),o.shift(),o.length&&l(o[0][0],o[0][1])}}function Sm(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof wm=="function"?wm(t):t[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){s=t[o](s),i(a,l,s.done,s.value)})}}function i(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var ii=t=>t&&typeof t.length=="number"&&typeof t!="function";function ra(t){return T(t?.then)}function ia(t){return T(t[ti])}function oa(t){return Symbol.asyncIterator&&T(t?.[Symbol.asyncIterator])}function sa(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function EC(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var aa=EC();function la(t){return T(t?.[aa])}function ca(t){return xm(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:r,done:i}=yield fr(e.read());if(i)return yield fr(void 0);yield yield fr(r)}}finally{e.releaseLock()}})}function da(t){return T(t?.getReader)}function Q(t){if(t instanceof N)return t;if(t!=null){if(ia(t))return CC(t);if(ii(t))return wC(t);if(ra(t))return IC(t);if(oa(t))return Mm(t);if(la(t))return xC(t);if(da(t))return SC(t)}throw sa(t)}function CC(t){return new N(n=>{let e=t[ti]();if(T(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function wC(t){return new N(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function IC(t){return new N(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,qs)})}function xC(t){return new N(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function Mm(t){return new N(n=>{MC(t,n).catch(e=>n.error(e))})}function SC(t){return Mm(ca(t))}function MC(t,n){var e,r,i,o;return Im(this,void 0,void 0,function*(){try{for(e=Sm(t);r=yield e.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){i={error:s}}finally{try{r&&!r.done&&(o=e.return)&&(yield o.call(e))}finally{if(i)throw i.error}}n.complete()})}function tt(t,n,e,r=0,i=!1){let o=n.schedule(function(){e(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function ua(t,n=0){return L((e,r)=>{e.subscribe(k(r,i=>tt(r,t,()=>r.next(i),n),()=>tt(r,t,()=>r.complete(),n),i=>tt(r,t,()=>r.error(i),n)))})}function fa(t,n=0){return L((e,r)=>{r.add(t.schedule(()=>e.subscribe(r),n))})}function Tm(t,n){return Q(t).pipe(fa(n),ua(n))}function Am(t,n){return Q(t).pipe(fa(n),ua(n))}function Nm(t,n){return new N(e=>{let r=0;return n.schedule(function(){r===t.length?e.complete():(e.next(t[r++]),e.closed||this.schedule())})})}function Rm(t,n){return new N(e=>{let r;return tt(e,n,()=>{r=t[aa](),tt(e,n,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(s){e.error(s);return}o?e.complete():e.next(i)},0,!0)}),()=>T(r?.return)&&r.return()})}function ha(t,n){if(!t)throw new Error("Iterable cannot be null");return new N(e=>{tt(e,n,()=>{let r=t[Symbol.asyncIterator]();tt(e,n,()=>{r.next().then(i=>{i.done?e.complete():e.next(i.value)})},0,!0)})})}function Om(t,n){return ha(ca(t),n)}function Fm(t,n){if(t!=null){if(ia(t))return Tm(t,n);if(ii(t))return Nm(t,n);if(ra(t))return Am(t,n);if(oa(t))return ha(t,n);if(la(t))return Rm(t,n);if(da(t))return Om(t,n)}throw sa(t)}function ht(t,n){return n?Fm(t,n):Q(t)}function ge(...t){let n=Bt(t);return ht(t,n)}function Cd(t,n){let e=T(t)?t:()=>t,r=i=>i.error(e());return new N(n?i=>n.schedule(r,0,i):r)}function tn(t){return!!t&&(t instanceof N||T(t.lift)&&T(t.subscribe))}function km(t){return t instanceof Date&&!isNaN(t)}function X(t,n){return L((e,r)=>{let i=0;e.subscribe(k(r,o=>{r.next(t.call(n,o,i++))}))})}var{isArray:TC}=Array;function AC(t,n){return TC(n)?t(...n):t(n)}function oi(t){return X(n=>AC(t,n))}var{isArray:NC}=Array,{getPrototypeOf:RC,prototype:OC,keys:FC}=Object;function pa(t){if(t.length===1){let n=t[0];if(NC(n))return{args:n,keys:null};if(kC(n)){let e=FC(n);return{args:e.map(r=>n[r]),keys:e}}}return{args:t,keys:null}}function kC(t){return t&&typeof t=="object"&&RC(t)===OC}function ma(t,n){return t.reduce((e,r,i)=>(e[r]=n[i],e),{})}function wd(...t){let n=Bt(t),e=na(t),{args:r,keys:i}=pa(t);if(r.length===0)return ht([],n);let o=new N(PC(r,n,i?s=>ma(i,s):wt));return e?o.pipe(oi(e)):o}function PC(t,n,e=wt){return r=>{Pm(n,()=>{let{length:i}=t,o=new Array(i),s=i,a=i;for(let l=0;l<i;l++)Pm(n,()=>{let c=ht(t[l],n),d=!1;c.subscribe(k(r,f=>{o[l]=f,d||(d=!0,a--),a||r.next(e(o.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Pm(t,n,e){t?tt(e,t,n):n()}function Lm(t,n,e,r,i,o,s,a){let l=[],c=0,d=0,f=!1,p=()=>{f&&!l.length&&!c&&n.complete()},h=v=>c<r?m(v):l.push(v),m=v=>{o&&n.next(v),c++;let _=!1;Q(e(v,d++)).subscribe(k(n,b=>{i?.(b),o?h(b):n.next(b)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;l.length&&c<r;){let b=l.shift();s?tt(n,s,()=>m(b)):m(b)}p()}catch(b){n.error(b)}}))};return t.subscribe(k(n,h,()=>{f=!0,p()})),()=>{a?.()}}function Sn(t,n,e=1/0){return T(n)?Sn((r,i)=>X((o,s)=>n(r,o,i,s))(Q(t(r,i))),e):(typeof n=="number"&&(e=n),L((r,i)=>Lm(r,i,t,e)))}function ga(t=1/0){return Sn(wt,t)}function Vm(){return ga(1)}function si(...t){return Vm()(ht(t,Bt(t)))}function go(t){return new N(n=>{Q(t()).subscribe(n)})}function vo(...t){let n=na(t),{args:e,keys:r}=pa(t),i=new N(o=>{let{length:s}=e;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d<s;d++){let f=!1;Q(e[d]).subscribe(k(o,p=>{f||(f=!0,c--),a[d]=p},()=>l--,void 0,()=>{(!l||!f)&&(c||o.next(r?ma(r,a):a),o.complete())}))}});return n?i.pipe(oi(n)):i}var LC=["addListener","removeListener"],VC=["addEventListener","removeEventListener"],jC=["on","off"];function Id(t,n,e,r){if(T(e)&&(r=e,e=void 0),r)return Id(t,n,e).pipe(oi(r));let[i,o]=UC(t)?VC.map(s=>a=>t[s](n,a,e)):BC(t)?LC.map(jm(t,n)):HC(t)?jC.map(jm(t,n)):[];if(!i&&ii(t))return Sn(s=>Id(s,n,e))(Q(t));if(!i)throw new TypeError("Invalid event target");return new N(s=>{let a=(...l)=>s.next(1<l.length?l:l[0]);return i(a),()=>o(a)})}function jm(t,n){return e=>r=>t[e](n,r)}function BC(t){return T(t.addListener)&&T(t.removeListener)}function HC(t){return T(t.on)&&T(t.off)}function UC(t){return T(t.addEventListener)&&T(t.removeEventListener)}function yo(t=0,n,e=Em){let r=-1;return n!=null&&(ta(n)?e=n:r=n),new N(i=>{let o=km(t)?+t-e.now():t;o<0&&(o=0);let s=0;return e.schedule(function(){i.closed||(i.next(s++),0<=r?this.schedule(void 0,r):i.complete())},o)})}function zC(t=0,n=dr){return t<0&&(t=0),yo(t,t,n)}function _o(...t){let n=Bt(t),e=Cm(t,1/0),r=t;return r.length?r.length===1?Q(r[0]):ga(e)(ht(r,n)):ur}function ue(t,n){return L((e,r)=>{let i=0;e.subscribe(k(r,o=>t.call(n,o,i++)&&r.next(o)))})}function Bm(t){return L((n,e)=>{let r=!1,i=null,o=null,s=!1,a=()=>{if(o?.unsubscribe(),o=null,r){r=!1;let c=i;i=null,e.next(c)}s&&e.complete()},l=()=>{o=null,s&&e.complete()};n.subscribe(k(e,c=>{r=!0,i=c,o||Q(t(c)).subscribe(o=k(e,a,l))},()=>{s=!0,(!r||!o||o.closed)&&e.complete()}))})}function bo(t,n=dr){return Bm(()=>yo(t,n))}function va(t){return L((n,e)=>{let r=null,i=!1,o;r=n.subscribe(k(e,void 0,void 0,s=>{o=Q(t(s,va(t)(n))),r?(r.unsubscribe(),r=null,o.subscribe(e)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(e))})}function Hm(t,n,e,r,i){return(o,s)=>{let a=e,l=n,c=0;o.subscribe(k(s,d=>{let f=c++;l=a?t(l,d,f):(a=!0,d),r&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}function $C(t,n){return L(Hm(t,n,arguments.length>=2,!1,!0))}function xd(t,n){return T(n)?Sn(t,n,1):Sn(t,1)}function hr(t,n=dr){return L((e,r)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let c=o;o=null,r.next(c)}};function l(){let c=s+t,d=n.now();if(d<c){i=this.schedule(void 0,c-d),r.add(i);return}a()}e.subscribe(k(r,c=>{o=c,s=n.now(),i||(i=n.schedule(l,t),r.add(i))},()=>{a(),r.complete()},void 0,()=>{o=i=null}))})}function nt(t){return t<=0?()=>ur:L((n,e)=>{let r=0;n.subscribe(k(e,i=>{++r<=t&&(e.next(i),t<=r&&e.complete())}))})}function GC(t){return X(()=>t)}function Do(t,n=wt){return t=t??WC,L((e,r)=>{let i,o=!0;e.subscribe(k(r,s=>{let a=n(s);(o||!t(i,a))&&(o=!1,i=a,r.next(s))}))})}function WC(t,n){return t===n}function ai(t){return L((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function qC(t,n,e,r){return L((i,o)=>{let s;!n||typeof n=="function"?s=n:{duration:e,element:s,connector:r}=n;let a=new Map,l=m=>{a.forEach(m),m(o)},c=m=>l(v=>v.error(m)),d=0,f=!1,p=new uo(o,m=>{try{let v=t(m),_=a.get(v);if(!_){a.set(v,_=r?r():new D);let b=h(v,_);if(o.next(b),e){let H=k(_,()=>{_.complete(),H?.unsubscribe()},void 0,void 0,()=>a.delete(v));p.add(Q(e(b)).subscribe(H))}}_.next(s?s(m):m)}catch(v){c(v)}},()=>l(m=>m.complete()),c,()=>a.clear(),()=>(f=!0,d===0));i.subscribe(p);function h(m,v){let _=new N(b=>{d++;let H=v.subscribe(b);return()=>{H.unsubscribe(),--d===0&&f&&p.unsubscribe()}});return _.key=m,_}})}function Eo(){return L((t,n)=>{let e,r=!1;t.subscribe(k(n,i=>{let o=e;e=i,r&&n.next([o,i]),r=!0}))})}function Co(t={}){let{connector:n=()=>new D,resetOnError:e=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=t;return o=>{let s,a,l,c=0,d=!1,f=!1,p=()=>{a?.unsubscribe(),a=void 0},h=()=>{p(),s=l=void 0,d=f=!1},m=()=>{let v=s;h(),v?.unsubscribe()};return L((v,_)=>{c++,!f&&!d&&p();let b=l=l??n();_.add(()=>{c--,c===0&&!f&&!d&&(a=Sd(m,i))}),b.subscribe(_),!s&&c>0&&(s=new en({next:H=>b.next(H),error:H=>{f=!0,p(),a=Sd(h,e,H),b.error(H)},complete:()=>{d=!0,p(),a=Sd(h,r),b.complete()}}),Q(v).subscribe(s))})(o)}}function Sd(t,n,...e){if(n===!0){t();return}if(n===!1)return;let r=new en({next:()=>{r.unsubscribe(),t()}});return Q(n(...e)).subscribe(r)}function wo(t,n,e){let r,i=!1;return t&&typeof t=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:i=!1,scheduler:e}=t:r=t??1/0,Co({connector:()=>new wn(r,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Io(t){return ue((n,e)=>t<=e)}function pt(...t){let n=Bt(t);return L((e,r)=>{(n?si(t,e,n):si(t,e)).subscribe(r)})}function xo(t,n){return L((e,r)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&r.complete();e.subscribe(k(r,l=>{i?.unsubscribe();let c=0,d=o++;Q(t(l,d)).subscribe(i=k(r,f=>r.next(n?n(l,f,d,c++):f),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function at(t){return L((n,e)=>{Q(t).subscribe(k(e,()=>e.complete(),co)),!e.closed&&n.subscribe(e)})}function Md(t,n=!1){return L((e,r)=>{let i=0;e.subscribe(k(r,o=>{let s=t(o,i++);(s||n)&&r.next(o),!s&&r.complete()}))})}function pr(t,n,e){let r=T(t)||n||e?{next:t,error:n,complete:e}:t;return r?L((i,o)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;i.subscribe(k(o,l=>{var c;(c=r.next)===null||c===void 0||c.call(r,l),o.next(l)},()=>{var l;a=!1,(l=r.complete)===null||l===void 0||l.call(r),o.complete()},l=>{var c;a=!1,(c=r.error)===null||c===void 0||c.call(r,l),o.error(l)},()=>{var l,c;a&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):wt}var Td;function ya(){return Td}function Ht(t){let n=Td;return Td=t,n}var Um=Symbol("NotFound");function li(t){return t===Um||t?.name==="\u0275NotFound"}function Ad(t,n,e){let r=Object.create(YC);r.source=t,r.computation=n,e!=null&&(r.equal=e);let o=()=>{if(ir(r),Dn(r),r.value===Xt)throw r.error;return r.value};return o[me]=r,oo(r),o}function zm(t,n){ir(t),or(t,n),Kr(t)}function $m(t,n){ir(t),zs(t,n),Kr(t)}var YC=W(E({},bn),{value:_n,dirty:!0,error:null,equal:so,kind:"linkedSignal",producerMustRecompute(t){return t.value===_n||t.value===rr},producerRecomputeValue(t){if(t.value===rr)throw new Error("");let n=t.value;t.value=rr;let e=Jt(t),r;try{let i=t.source(),o=n===_n||n===Xt?void 0:{source:t.sourceValue,value:n};r=t.computation(i,o),t.sourceValue=i}catch(i){r=Xt,t.error=i}finally{En(t,e)}if(n!==_n&&r!==Xt&&t.equal(n,r)){t.value=n;return}t.value=r,t.version++}});var Ia="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",w=class extends Error{code;constructor(n,e){super(Rn(n,e)),this.code=n}};function ZC(t){return`NG0${Math.abs(t)}`}function Rn(t,n){return`${ZC(t)}${n?": "+n:""}`}var On=globalThis;function se(t){for(let n in t)if(t[n]===se)return n;throw Error("")}function Zm(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Mn(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Mn).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(`
4
- `);return r>=0?e.slice(0,r):e}function xa(t,n){return t?n?`${t} ${n}`:t:n||""}var KC=se({__forward_ref__:se});function Oe(t){return t.__forward_ref__=Oe,t.toString=function(){return Mn(this())},t}function Ie(t){return zd(t)?t():t}function zd(t){return typeof t=="function"&&t.hasOwnProperty(KC)&&t.__forward_ref__===Oe}function y(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function B(t){return{providers:t.providers||[],imports:t.imports||[]}}function Sa(t){return QC(t,Ma)}function QC(t,n){return t.hasOwnProperty(n)&&t[n]||null}function XC(t){let n=t?.[Ma]??null;return n||null}function Rd(t){return t&&t.hasOwnProperty(ba)?t[ba]:null}var Ma=se({\u0275prov:se}),ba=se({\u0275inj:se}),g=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=y({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function $d(t){return t&&!!t.\u0275providers}var Gd=se({\u0275cmp:se}),Wd=se({\u0275dir:se}),qd=se({\u0275pipe:se});var Mo=se({\u0275fac:se}),_r=se({__NG_ELEMENT_ID__:se}),Gm=se({__NG_ENV_ID__:se});function rn(t){return t[Gd]||null}function Oo(t){return t[Wd]||null}function Yd(t){return t[qd]||null}function Fn(t){return typeof t=="string"?t:t==null?"":String(t)}function Km(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Fn(t)}var Qm=se({ngErrorCode:se}),JC=se({ngErrorMessage:se}),ew=se({ngTokenPath:se});function Zd(t,n){return Xm("",-200,n)}function Ta(t,n){throw new w(-201,!1)}function Xm(t,n,e){let r=new w(n,t);return r[Qm]=n,r[JC]=t,e&&(r[ew]=e),r}function tw(t){return t[Qm]}var Od;function Jm(){return Od}function Ge(t){let n=Od;return Od=t,n}function Kd(t,n,e){let r=Sa(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(e&8)return null;if(n!==void 0)return n;Ta(t,"Injector")}var nw={},mr=nw,rw="__NG_DI_FLAG__",Fd=class{injector;constructor(n){this.injector=n}retrieve(n,e){let r=gr(e)||0;try{return this.injector.get(n,r&8?null:mr,r)}catch(i){if(li(i))return i;throw i}}};function iw(t,n=0){let e=ya();if(e===void 0)throw new w(-203,!1);if(e===null)return Kd(t,void 0,n);{let r=ow(n),i=e.retrieve(t,r);if(li(i)){if(r.optional)return null;throw i}return i}}function A(t,n=0){return(Jm()||iw)(Ie(t),n)}function u(t,n){return A(t,gr(n))}function gr(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function ow(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function kd(t){let n=[];for(let e=0;e<t.length;e++){let r=Ie(t[e]);if(Array.isArray(r)){if(r.length===0)throw new w(900,!1);let i,o=0;for(let s=0;s<r.length;s++){let a=r[s],l=sw(a);typeof l=="number"?l===-1?i=a.token:o|=l:i=a}n.push(A(i,o))}else n.push(A(r))}return n}function sw(t){return t[rw]}function Tn(t,n){let e=t.hasOwnProperty(Mo);return e?t[Mo]:null}function eg(t,n,e){if(t.length!==n.length)return!1;for(let r=0;r<t.length;r++){let i=t[r],o=n[r];if(e&&(i=e(i),o=e(o)),o!==i)return!1}return!0}function tg(t){return t.flat(Number.POSITIVE_INFINITY)}function Aa(t,n){t.forEach(e=>Array.isArray(e)?Aa(e,n):n(e))}function Qd(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Fo(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function ng(t,n){let e=[];for(let r=0;r<t;r++)e.push(n);return e}function rg(t,n,e,r){let i=t.length;if(i==n)t.push(e,r);else if(i===1)t.push(r,t[0]),t[0]=e;else{for(i--,t.push(t[i-1],t[i]);i>n;){let o=i-2;t[i]=t[o],i--}t[n]=e,t[n+1]=r}}function ko(t,n,e){let r=di(t,n);return r>=0?t[r|1]=e:(r=~r,rg(t,r,n,e)),r}function Na(t,n){let e=di(t,n);if(e>=0)return t[e|1]}function di(t,n){return aw(t,n,1)}function aw(t,n,e){let r=0,i=t.length>>e;for(;i!==r;){let o=r+(i-r>>1),s=t[o<<e];if(n===s)return o<<e;s>n?i=o:r=o+1}return~(i<<e)}var xt={},je=[],kn=new g(""),Xd=new g("",-1),Jd=new g(""),To=class{get(n,e=mr){if(e===mr){let i=Xm("",-201);throw i.name="\u0275NotFound",i}return e}};function ui(t){return{\u0275providers:t}}function ig(...t){return{\u0275providers:Ra(!0,t),\u0275fromNgModule:!0}}function Ra(t,...n){let e=[],r=new Set,i,o=s=>{e.push(s)};return Aa(n,s=>{let a=s;Da(a,o,[],r)&&(i||=[],i.push(a))}),i!==void 0&&og(i,o),e}function og(t,n){for(let e=0;e<t.length;e++){let{ngModule:r,providers:i}=t[e];eu(i,o=>{n(o,r)})}}function Da(t,n,e,r){if(t=Ie(t),!t)return!1;let i=null,o=Rd(t),s=!o&&rn(t);if(!o&&!s){let l=t.ngModule;if(o=Rd(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=t}let a=r.has(i);if(s){if(a)return!1;if(r.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)Da(c,n,e,r)}}else if(o){if(o.imports!=null&&!a){r.add(i);let c;try{Aa(o.imports,d=>{Da(d,n,e,r)&&(c||=[],c.push(d))})}finally{}c!==void 0&&og(c,n)}if(!a){let c=Tn(i)||(()=>new i);n({provide:i,useFactory:c,deps:je},i),n({provide:Jd,useValue:i,multi:!0},i),n({provide:kn,useValue:()=>A(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let c=t;eu(l,d=>{n(d,c)})}}else return!1;return i!==t&&t.providers!==void 0}function eu(t,n){for(let e of t)$d(e)&&(e=e.\u0275providers),Array.isArray(e)?eu(e,n):n(e)}var lw=se({provide:String,useValue:se});function sg(t){return t!==null&&typeof t=="object"&&lw in t}function cw(t){return!!(t&&t.useExisting)}function dw(t){return!!(t&&t.useFactory)}function vr(t){return typeof t=="function"}function ag(t){return!!t.useClass}var Po=new g(""),_a={},Wm={},Nd;function fi(){return Nd===void 0&&(Nd=new To),Nd}var fe=class{},yr=class extends fe{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,r,i){super(),this.parent=e,this.source=r,this.scopes=i,Ld(n,s=>this.processProvider(s)),this.records.set(Xd,ci(void 0,this)),i.has("environment")&&this.records.set(fe,ci(void 0,this));let o=this.records.get(Po);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Jd,je,{self:!0}))}retrieve(n,e){let r=gr(e)||0;try{return this.get(n,mr,r)}catch(i){if(li(i))return i;throw i}}destroy(){So(this),this._destroyed=!0;let n=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(n)}}onDestroy(n){return So(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){So(this);let e=Ht(this),r=Ge(void 0),i;try{return n()}finally{Ht(e),Ge(r)}}get(n,e=mr,r){if(So(this),n.hasOwnProperty(Gm))return n[Gm](this);let i=gr(r),o,s=Ht(this),a=Ge(void 0);try{if(!(i&4)){let c=this.records.get(n);if(c===void 0){let d=mw(n)&&Sa(n);d&&this.injectableDefInScope(d)?c=ci(Pd(n),_a):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,i)}let l=i&2?fi():this.parent;return e=i&8&&e===mr?null:e,l.get(n,e)}catch(l){let c=tw(l);throw c===-200||c===-201?new w(c,null):l}finally{Ge(a),Ht(s)}}resolveInjectorInitializers(){let n=M(null),e=Ht(this),r=Ge(void 0),i;try{let o=this.get(kn,je,{self:!0});for(let s of o)s()}finally{Ht(e),Ge(r),M(n)}}toString(){let n=[],e=this.records;for(let r of e.keys())n.push(Mn(r));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=Ie(n);let e=vr(n)?n:Ie(n&&n.provide),r=fw(n);if(!vr(n)&&n.multi===!0){let i=this.records.get(e);i||(i=ci(void 0,_a,!0),i.factory=()=>kd(i.multi),this.records.set(e,i)),e=n,i.multi.push(n)}this.records.set(e,r)}hydrate(n,e,r){let i=M(null);try{if(e.value===Wm)throw Zd(Mn(n));return e.value===_a&&(e.value=Wm,e.value=e.factory(void 0,r)),typeof e.value=="object"&&e.value&&pw(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{M(i)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=Ie(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Pd(t){let n=Sa(t),e=n!==null?n.factory:Tn(t);if(e!==null)return e;if(t instanceof g)throw new w(204,!1);if(t instanceof Function)return uw(t);throw new w(204,!1)}function uw(t){if(t.length>0)throw new w(204,!1);let e=XC(t);return e!==null?()=>e.factory(t):()=>new t}function fw(t){if(sg(t))return ci(void 0,t.useValue);{let n=tu(t);return ci(n,_a)}}function tu(t,n,e){let r;if(vr(t)){let i=Ie(t);return Tn(i)||Pd(i)}else if(sg(t))r=()=>Ie(t.useValue);else if(dw(t))r=()=>t.useFactory(...kd(t.deps||[]));else if(cw(t))r=(i,o)=>A(Ie(t.useExisting),o!==void 0&&o&8?8:void 0);else{let i=Ie(t&&(t.useClass||t.provide));if(hw(t))r=()=>new i(...kd(t.deps));else return Tn(i)||Pd(i)}return r}function So(t){if(t.destroyed)throw new w(205,!1)}function ci(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function hw(t){return!!t.deps}function pw(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function mw(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function Ld(t,n){for(let e of t)Array.isArray(e)?Ld(e,n):e&&$d(e)?Ld(e.\u0275providers,n):n(e)}function hi(t,n){let e;t instanceof yr?(So(t),e=t):e=new Fd(t);let r,i=Ht(e),o=Ge(void 0);try{return n()}finally{Ht(i),Ge(o)}}function lg(){return Jm()!==void 0||ya()!=null}var St=0,x=1,O=2,be=3,mt=4,We=5,br=6,pi=7,ve=8,qe=9,Ut=10,oe=11,mi=12,nu=13,Dr=14,Ye=15,Pn=16,Er=17,zt=18,Lo=19,ru=20,nn=21,Oa=22,An=23,lt=24,Cr=25,wr=26,J=27,cg=1,Ln=6,Vn=7,Vo=8,Ir=9,he=10;function $t(t){return Array.isArray(t)&&typeof t[cg]=="object"}function Mt(t){return Array.isArray(t)&&t[cg]===!0}function iu(t){return(t.flags&4)!==0}function on(t){return t.componentOffset>-1}function gi(t){return(t.flags&1)===1}function Tt(t){return!!t.template}function vi(t){return(t[O]&512)!==0}function jn(t){return(t[O]&256)===256}var ou="svg",dg="math";function gt(t){for(;Array.isArray(t);)t=t[St];return t}function su(t,n){return gt(n[t])}function vt(t,n){return gt(n[t.index])}function xr(t,n){return t.data[n]}function yi(t,n){return t[n]}function jo(t,n,e,r){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=r}function yt(t,n){let e=n[t];return $t(e)?e:e[St]}function ug(t){return(t[O]&4)===4}function Fa(t){return(t[O]&128)===128}function fg(t){return Mt(t[be])}function ct(t,n){return n==null?null:t[n]}function au(t){t[Er]=0}function lu(t){t[O]&1024||(t[O]|=1024,Fa(t)&&Sr(t))}function hg(t,n){for(;t>0;)n=n[Dr],t--;return n}function Bo(t){return!!(t[O]&9216||t[lt]?.dirty)}function ka(t){t[Ut].changeDetectionScheduler?.notify(8),t[O]&64&&(t[O]|=1024),Bo(t)&&Sr(t)}function Sr(t){t[Ut].changeDetectionScheduler?.notify(0);let n=Nn(t);for(;n!==null&&!(n[O]&8192||(n[O]|=8192,!Fa(n)));)n=Nn(n)}function Pa(t,n){if(jn(t))throw new w(911,!1);t[nn]===null&&(t[nn]=[]),t[nn].push(n)}function cu(t,n){if(t[nn]===null)return;let e=t[nn].indexOf(n);e!==-1&&t[nn].splice(e,1)}function Nn(t){let n=t[be];return Mt(n)?n[be]:n}function du(t){return t[pi]??=[]}function uu(t){return t.cleanup??=[]}function pg(t,n,e,r){let i=du(n);i.push(e),t.firstCreatePass&&uu(t).push(r,i.length-1)}var V={lFrame:Ig(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Vd=!1;function mg(){return V.lFrame.elementDepthCount}function gg(){V.lFrame.elementDepthCount++}function fu(){V.lFrame.elementDepthCount--}function La(){return V.bindingsEnabled}function hu(){return V.skipHydrationRootTNode!==null}function pu(t){return V.skipHydrationRootTNode===t}function mu(){V.skipHydrationRootTNode=null}function I(){return V.lFrame.lView}function te(){return V.lFrame.tView}function Va(t){return V.lFrame.contextLView=t,t[ve]}function ja(t){return V.lFrame.contextLView=null,t}function pe(){let t=gu();for(;t!==null&&t.type===64;)t=t.parent;return t}function gu(){return V.lFrame.currentTNode}function vg(){let t=V.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function Mr(t,n){let e=V.lFrame;e.currentTNode=t,e.isParent=n}function vu(){return V.lFrame.isParent}function yu(){V.lFrame.isParent=!1}function _u(){return V.lFrame.contextLView}function bu(){return Vd}function Ao(t){let n=Vd;return Vd=t,n}function sn(){let t=V.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function yg(){return V.lFrame.bindingIndex}function _g(t){return V.lFrame.bindingIndex=t}function an(){return V.lFrame.bindingIndex++}function Ba(t){let n=V.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function bg(){return V.lFrame.inI18n}function Dg(t,n){let e=V.lFrame;e.bindingIndex=e.bindingRootIndex=t,Ha(n)}function Eg(){return V.lFrame.currentDirectiveIndex}function Ha(t){V.lFrame.currentDirectiveIndex=t}function Cg(t){let n=V.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Ua(){return V.lFrame.currentQueryIndex}function Ho(t){V.lFrame.currentQueryIndex=t}function gw(t){let n=t[x];return n.type===2?n.declTNode:n.type===1?t[We]:null}function Du(t,n,e){if(e&4){let i=n,o=t;for(;i=i.parent,i===null&&!(e&1);)if(i=gw(o),i===null||(o=o[Dr],i.type&10))break;if(i===null)return!1;n=i,t=o}let r=V.lFrame=wg();return r.currentTNode=n,r.lView=t,!0}function za(t){let n=wg(),e=t[x];V.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function wg(){let t=V.lFrame,n=t===null?null:t.child;return n===null?Ig(t):n}function Ig(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function xg(){let t=V.lFrame;return V.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Eu=xg;function $a(){let t=xg();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Sg(t){return(V.lFrame.contextLView=hg(t,V.lFrame.contextLView))[ve]}function At(){return V.lFrame.selectedIndex}function Bn(t){V.lFrame.selectedIndex=t}function _i(){let t=V.lFrame;return xr(t.tView,t.selectedIndex)}function Mg(){V.lFrame.currentNamespace=ou}function Tg(){vw()}function vw(){V.lFrame.currentNamespace=null}function Ag(){return V.lFrame.currentNamespace}var Ng=!0;function Ga(){return Ng}function Uo(t){Ng=t}function jd(t,n=null,e=null,r){let i=Rg(t,n,e,r);return i.resolveInjectorInitializers(),i}function Rg(t,n=null,e=null,r,i=new Set){let o=[e||je,ig(t)];return r=r||(typeof t=="object"?void 0:Mn(t)),new yr(o,n||fi(),r||null,i)}var P=class t{static THROW_IF_NOT_FOUND=mr;static NULL=new To;static create(n,e){if(Array.isArray(n))return jd({name:""},e,n,"");{let r=n.name??"";return jd({name:r},n.parent,n.providers,r)}}static \u0275prov=y({token:t,providedIn:"any",factory:()=>A(Xd)});static __NG_ELEMENT_ID__=-1},R=new g(""),rt=(()=>{class t{static __NG_ELEMENT_ID__=yw;static __NG_ENV_ID__=e=>e}return t})(),Ea=class extends rt{_lView;constructor(n){super(),this._lView=n}get destroyed(){return jn(this._lView)}onDestroy(n){let e=this._lView;return Pa(e,n),()=>cu(e,n)}};function yw(){return new Ea(I())}var Cu=!1,Hn=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new cr(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),Bd=class extends D{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,lg()&&(this.destroyRef=u(rt,{optional:!0})??void 0,this.pendingTasks=u(Hn,{optional:!0})??void 0)}emit(n){let e=M(null);try{super.next(n)}finally{M(e)}}subscribe(n,e,r){let i=n,o=e||(()=>null),s=r;if(n&&typeof n=="object"){let l=n;i=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return n instanceof j&&n.add(a),a}wrapInTimeout(n){return e=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},G=Bd;function Ca(...t){}function wu(t){let n,e;function r(){t=Ca;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),r()})),()=>r()}function Iu(t){return queueMicrotask(()=>t()),()=>{t=Ca}}var xu="isAngularZone",No=xu+"_ID",_w=0,C=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new G(!1);onMicrotaskEmpty=new G(!1);onStable=new G(!1);onError=new G(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:o=Cu}=n;if(typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&r,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=o,Ew(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(xu)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new w(909,!1)}run(n,e,r){return this._inner.run(n,e,r)}runTask(n,e,r,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,n,bw,Ca,Ca);try{return o.runTask(s,e,r)}finally{o.cancelTask(s)}}runGuarded(n,e,r){return this._inner.runGuarded(n,e,r)}runOutsideAngular(n){return this._outer.run(n)}},bw={};function Su(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Dw(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){wu(()=>{t.callbackScheduled=!1,Hd(t),t.isCheckStableRunning=!0,Su(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Hd(t)}function Ew(t){let n=()=>{Dw(t)},e=_w++;t._inner=t._inner.fork({name:"angular",properties:{[xu]:!0,[No]:e,[No+e]:!0},onInvokeTask:(r,i,o,s,a,l)=>{if(Cw(l))return r.invokeTask(o,s,a,l);try{return qm(t),r.invokeTask(o,s,a,l)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),Ym(t)}},onInvoke:(r,i,o,s,a,l,c)=>{try{return qm(t),r.invoke(o,s,a,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!ww(l)&&n(),Ym(t)}},onHasTask:(r,i,o,s)=>{r.hasTask(o,s),i===o&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Hd(t),Su(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,i,o,s)=>(r.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Hd(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function qm(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ym(t){t._nesting--,Su(t)}var Ro=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new G;onMicrotaskEmpty=new G;onStable=new G;onError=new G;run(n,e,r){return n.apply(e,r)}runGuarded(n,e,r){return n.apply(e,r)}runOutsideAngular(n){return n()}runTask(n,e,r,i){return n.apply(e,r)}};function Cw(t){return Og(t,"__ignore_ng_zone__")}function ww(t){return Og(t,"__scheduler_tick__")}function Og(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var Be=class{_console=console;handleError(n){this._console.error("ERROR",n)}},ln=new g("",{factory:()=>{let t=u(C),n=u(fe),e;return r=>{t.runOutsideAngular(()=>{n.destroyed&&!e?setTimeout(()=>{throw r}):(e??=n.get(Be),e.handleError(r))})}}}),Fg={provide:kn,useValue:()=>{let t=u(Be,{optional:!0})},multi:!0};function ae(t,n){let[e,r,i]=ad(t,n?.equal),o=e,s=o[me];return o.set=r,o.update=i,o.asReadonly=zo.bind(o),o}function zo(){let t=this[me];if(t.readonlyFn===void 0){let n=()=>this();n[me]=t,t.readonlyFn=n}return t.readonlyFn}var bi=(()=>{class t{view;node;constructor(e,r){this.view=e,this.node=r}static __NG_ELEMENT_ID__=Iw}return t})();function Iw(){return new bi(I(),pe())}var It=class{},Di=new g("",{factory:()=>!0});var Wa=new g(""),Un=(()=>{class t{internalPendingTasks=u(Hn);scheduler=u(It);errorHandler=u(ln);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let r=this.add();e().catch(this.errorHandler).finally(r)}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),qa=(()=>{class t{static \u0275prov=y({token:t,providedIn:"root",factory:()=>new Ud})}return t})(),Ud=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let e=n.zone,r=this.queues.get(e);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let r=this.queues.get(e);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,r]of this.queues)e===null?n||=this.flushQueue(r):n||=e.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,e=!0,r.run());return e}},wa=class{[me];constructor(n){this[me]=n}destroy(){this[me].destroy()}};function Nt(t,n){let e=n?.injector??u(P),r=n?.manualCleanup!==!0?e.get(rt):null,i,o=e.get(bi,null,{optional:!0}),s=e.get(It);return o!==null?(i=Mw(o.view,s,t),r instanceof Ea&&r._lView===o.view&&(r=null)):i=Tw(t,e.get(qa),s),i.injector=e,r!==null&&(i.onDestroyFns=[r.onDestroy(()=>i.destroy())]),new wa(i)}var kg=W(E({},cd),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=Ao(!1);try{dd(this)}finally{Ao(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=M(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],M(t)}}}),xw=W(E({},kg),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(Cn(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),Sw=W(E({},kg),{consumerMarkedDirty(){this.view[O]|=8192,Sr(this.view),this.notifier.notify(13)},destroy(){if(Cn(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[An]?.delete(this)}});function Mw(t,n,e){let r=Object.create(Sw);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=Pg(r,e),t[An]??=new Set,t[An].add(r),r.consumerMarkedDirty(r),r}function Tw(t,n,e){let r=Object.create(xw);return r.fn=Pg(r,t),r.scheduler=n,r.notifier=e,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Pg(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}function le(t){return ld(t)}function Xo(t){return{toString:t}.toString()}function Lw(t){return typeof t=="function"}function wv(t,n,e,r){n!==null?n.applyValueToInputSignal(n,r):t[e]=r}var il=class{previousValue;currentValue;firstChange;constructor(n,e,r){this.previousValue=n,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}},Fe=(()=>{let t=()=>Iv;return t.ngInherit=!0,t})();function Iv(t){return t.type.prototype.ngOnChanges&&(t.setInput=jw),Vw}function Vw(){let t=Sv(this),n=t?.current;if(n){let e=t.previous;if(e===xt)t.previous=n;else for(let r in n)e[r]=n[r];t.current=null,this.ngOnChanges(n)}}function jw(t,n,e,r,i){let o=this.declaredInputs[r],s=Sv(t)||Bw(t,{previous:xt,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new il(c&&c.currentValue,e,l===xt),wv(t,n,i,e)}var xv="__ngSimpleChanges__";function Sv(t){return t[xv]||null}function Bw(t,n){return t[xv]=n}var Lg=[];var Z=function(t,n=null,e){for(let r=0;r<Lg.length;r++){let i=Lg[r];i(t,n,e)}},q=(function(t){return t[t.TemplateCreateStart=0]="TemplateCreateStart",t[t.TemplateCreateEnd=1]="TemplateCreateEnd",t[t.TemplateUpdateStart=2]="TemplateUpdateStart",t[t.TemplateUpdateEnd=3]="TemplateUpdateEnd",t[t.LifecycleHookStart=4]="LifecycleHookStart",t[t.LifecycleHookEnd=5]="LifecycleHookEnd",t[t.OutputStart=6]="OutputStart",t[t.OutputEnd=7]="OutputEnd",t[t.BootstrapApplicationStart=8]="BootstrapApplicationStart",t[t.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",t[t.BootstrapComponentStart=10]="BootstrapComponentStart",t[t.BootstrapComponentEnd=11]="BootstrapComponentEnd",t[t.ChangeDetectionStart=12]="ChangeDetectionStart",t[t.ChangeDetectionEnd=13]="ChangeDetectionEnd",t[t.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",t[t.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",t[t.AfterRenderHooksStart=16]="AfterRenderHooksStart",t[t.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",t[t.ComponentStart=18]="ComponentStart",t[t.ComponentEnd=19]="ComponentEnd",t[t.DeferBlockStateStart=20]="DeferBlockStateStart",t[t.DeferBlockStateEnd=21]="DeferBlockStateEnd",t[t.DynamicComponentStart=22]="DynamicComponentStart",t[t.DynamicComponentEnd=23]="DynamicComponentEnd",t[t.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",t[t.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",t})(q||{});function Hw(t,n,e){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=n.type.prototype;if(r){let s=Iv(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}i&&(e.preOrderHooks??=[]).push(0-t,i),o&&((e.preOrderHooks??=[]).push(t,o),(e.preOrderCheckHooks??=[]).push(t,o))}function Mv(t,n){for(let e=n.directiveStart,r=n.directiveEnd;e<r;e++){let o=t.data[e].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:l,ngAfterViewChecked:c,ngOnDestroy:d}=o;s&&(t.contentHooks??=[]).push(-e,s),a&&((t.contentHooks??=[]).push(e,a),(t.contentCheckHooks??=[]).push(e,a)),l&&(t.viewHooks??=[]).push(-e,l),c&&((t.viewHooks??=[]).push(e,c),(t.viewCheckHooks??=[]).push(e,c)),d!=null&&(t.destroyHooks??=[]).push(e,d)}}function Xa(t,n,e){Tv(t,n,3,e)}function Ja(t,n,e,r){(t[O]&3)===e&&Tv(t,n,e,r)}function Mu(t,n){let e=t[O];(e&3)===n&&(e&=16383,e+=1,t[O]=e)}function Tv(t,n,e,r){let i=r!==void 0?t[Er]&65535:0,o=r??-1,s=n.length-1,a=0;for(let l=i;l<s;l++)if(typeof n[l+1]=="number"){if(a=n[l],r!=null&&a>=r)break}else n[l]<0&&(t[Er]+=65536),(a<o||o==-1)&&(Uw(t,e,n,l),t[Er]=(t[Er]&4294901760)+l+2),l++}function Vg(t,n){Z(q.LifecycleHookStart,t,n);let e=M(null);try{n.call(t)}finally{M(e),Z(q.LifecycleHookEnd,t,n)}}function Uw(t,n,e,r){let i=e[r]<0,o=e[r+1],s=i?-e[r]:e[r],a=t[s];i?t[O]>>14<t[Er]>>16&&(t[O]&3)===n&&(t[O]+=16384,Vg(a,o)):Vg(a,o)}var Ci=-1,Ar=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,r,i){this.factory=n,this.name=i,this.canSeeViewProviders=e,this.injectImpl=r}};function zw(t){return(t.flags&8)!==0}function $w(t){return(t.flags&16)!==0}function Gw(t,n,e){let r=0;for(;r<e.length;){let i=e[r];if(typeof i=="number"){if(i!==0)break;r++;let o=e[r++],s=e[r++],a=e[r++];t.setAttribute(n,s,a,o)}else{let o=i,s=e[++r];Ww(o)?t.setProperty(n,o,s):t.setAttribute(n,o,s),r++}}return r}function Av(t){return t===3||t===4||t===6}function Ww(t){return t.charCodeAt(0)===64}function Ii(t,n){if(!(n===null||n.length===0))if(t===null||t.length===0)t=n.slice();else{let e=-1;for(let r=0;r<n.length;r++){let i=n[r];typeof i=="number"?e=i:e===0||(e===-1||e===2?jg(t,e,i,null,n[++r]):jg(t,e,i,null,null))}}return t}function jg(t,n,e,r,i){let o=0,s=t.length;if(n===-1)s=-1;else for(;o<t.length;){let a=t[o++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=o-1;break}}}for(;o<t.length;){let a=t[o];if(typeof a=="number")break;if(a===e){i!==null&&(t[o+1]=i);return}o++,i!==null&&o++}s!==-1&&(t.splice(s,0,n),o=s+1),t.splice(o++,0,e),i!==null&&t.splice(o++,0,i)}function Nv(t){return t!==Ci}function ol(t){return t&32767}function qw(t){return t>>16}function sl(t,n){let e=qw(t),r=n;for(;e>0;)r=r[Dr],e--;return r}var Bu=!0;function al(t){let n=Bu;return Bu=t,n}var Yw=256,Rv=Yw-1,Ov=5,Zw=0,Gt={};function Kw(t,n,e){let r;typeof e=="string"?r=e.charCodeAt(0)||0:e.hasOwnProperty(_r)&&(r=e[_r]),r==null&&(r=e[_r]=Zw++);let i=r&Rv,o=1<<i;n.data[t+(i>>Ov)]|=o}function ll(t,n){let e=Fv(t,n);if(e!==-1)return e;let r=n[x];r.firstCreatePass&&(t.injectorIndex=n.length,Tu(r.data,t),Tu(n,null),Tu(r.blueprint,null));let i=Cf(t,n),o=t.injectorIndex;if(Nv(i)){let s=ol(i),a=sl(i,n),l=a[x].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=i,o}function Tu(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Fv(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function Cf(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,r=null,i=n;for(;i!==null;){if(r=jv(i),r===null)return Ci;if(e++,i=i[Dr],r.injectorIndex!==-1)return r.injectorIndex|e<<16}return Ci}function Hu(t,n,e){Kw(t,n,e)}function Qw(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let r=e.length,i=0;for(;i<r;){let o=e[i];if(Av(o))break;if(o===0)i=i+2;else if(typeof o=="number")for(i++;i<r&&typeof e[i]=="string";)i++;else{if(o===n)return e[i+1];i=i+2}}}return null}function kv(t,n,e){if(e&8||t!==void 0)return t;Ta(n,"NodeInjector")}function Pv(t,n,e,r){if(e&8&&r===void 0&&(r=null),(e&3)===0){let i=t[qe],o=Ge(void 0);try{return i?i.get(n,r,e&8):Kd(n,r,e&8)}finally{Ge(o)}}return kv(r,n,e)}function Lv(t,n,e,r=0,i){if(t!==null){if(n[O]&2048&&!(r&2)){let s=tI(t,n,e,r,Gt);if(s!==Gt)return s}let o=Vv(t,n,e,r,Gt);if(o!==Gt)return o}return Pv(n,e,r,i)}function Vv(t,n,e,r,i){let o=Jw(e);if(typeof o=="function"){if(!Du(n,t,r))return r&1?kv(i,e,r):Pv(n,e,r,i);try{let s;if(s=o(r),s==null&&!(r&8))Ta(e);else return s}finally{Eu()}}else if(typeof o=="number"){let s=null,a=Fv(t,n),l=Ci,c=r&1?n[Ye][We]:null;for((a===-1||r&4)&&(l=a===-1?Cf(t,n):n[a+8],l===Ci||!Hg(r,!1)?a=-1:(s=n[x],a=ol(l),n=sl(l,n)));a!==-1;){let d=n[x];if(Bg(o,a,d.data)){let f=Xw(a,n,e,s,r,c);if(f!==Gt)return f}l=n[a+8],l!==Ci&&Hg(r,n[x].data[a+8]===c)&&Bg(o,a,n)?(s=d,a=ol(l),n=sl(l,n)):a=-1}}return i}function Xw(t,n,e,r,i,o){let s=n[x],a=s.data[t+8],l=r==null?on(a)&&Bu:r!=s&&(a.type&3)!==0,c=i&1&&o===a,d=el(a,s,e,l,c);return d!==null?Wo(n,s,d,a,i):Gt}function el(t,n,e,r,i){let o=t.providerIndexes,s=n.data,a=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,f=r?a:a+d,p=i?a+d:c;for(let h=f;h<p;h++){let m=s[h];if(h<l&&e===m||h>=l&&m.type===e)return h}if(i){let h=s[l];if(h&&Tt(h)&&h.type===e)return l}return null}function Wo(t,n,e,r,i){let o=t[e],s=n.data;if(o instanceof Ar){let a=o;if(a.resolving){let h=Km(s[e]);throw Zd(h)}let l=al(a.canSeeViewProviders);a.resolving=!0;let c=s[e].type||s[e],d,f=a.injectImpl?Ge(a.injectImpl):null,p=Du(t,r,0);try{o=t[e]=a.factory(void 0,i,s,t,r),n.firstCreatePass&&e>=r.directiveStart&&Hw(e,s[e],n)}finally{f!==null&&Ge(f),al(l),a.resolving=!1,Eu()}}return o}function Jw(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(_r)?t[_r]:void 0;return typeof n=="number"?n>=0?n&Rv:eI:n}function Bg(t,n,e){let r=1<<t;return!!(e[n+(t>>Ov)]&r)}function Hg(t,n){return!(t&2)&&!(t&1&&n)}var Tr=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,r){return Lv(this._tNode,this._lView,n,gr(r),e)}};function eI(){return new Tr(pe(),I())}function Ue(t){return Xo(()=>{let n=t.prototype.constructor,e=n[Mo]||Uu(n),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[Mo]||Uu(i);if(o&&o!==e)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function Uu(t){return zd(t)?()=>{let n=Uu(Ie(t));return n&&n()}:Tn(t)}function tI(t,n,e,r,i){let o=t,s=n;for(;o!==null&&s!==null&&s[O]&2048&&!vi(s);){let a=Vv(o,s,e,r|2,Gt);if(a!==Gt)return a;let l=o.parent;if(!l){let c=s[ru];if(c){let d=c.get(e,Gt,r);if(d!==Gt)return d}l=jv(s),s=s[Dr]}o=l}return i}function jv(t){let n=t[x],e=n.type;return e===2?n.declTNode:e===1?t[We]:null}function wf(t){return Qw(pe(),t)}function nI(){return Ni(pe(),I())}function Ni(t,n){return new F(vt(t,n))}var F=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=nI}return t})();function Bv(t){return t instanceof F?t.nativeElement:t}function rI(){return this._results[Symbol.iterator]()}var cn=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new D}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let r=tg(n);(this._changesDetected=!eg(this._results,r,e))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=rI};function Hv(t){return(t.flags&128)===128}var If=(function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t})(If||{}),Uv=new Map,iI=0;function oI(){return iI++}function sI(t){Uv.set(t[Lo],t)}function zu(t){Uv.delete(t[Lo])}var Ug="__ngContext__";function xi(t,n){$t(n)?(t[Ug]=n[Lo],sI(n)):t[Ug]=n}function zv(t){return Gv(t[mi])}function $v(t){return Gv(t[mt])}function Gv(t){for(;t!==null&&!Mt(t);)t=t[mt];return t}var $u;function xf(t){$u=t}function Wv(){if($u!==void 0)return $u;if(typeof document<"u")return document;throw new w(210,!1)}var Wn=new g("",{factory:()=>aI}),aI="ng";var vl=new g(""),kr=new g("",{providedIn:"platform",factory:()=>"unknown"}),Jo=new g(""),Ri=new g("",{factory:()=>u(R).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var qv="r";var Sf="di",Mf="s";var Yv=!1,Zv=new g("",{factory:()=>Yv});var Kv=new g("");var lI=(t,n,e,r)=>{};function cI(t,n,e,r){lI(t,n,e,r)}var Qv=new g("");function yl(t){return(t.flags&32)===32}var dI=()=>null;function Xv(t,n,e=!1){return dI(t,n,e)}function Tf(t){return t.get(Kv,!1,{optional:!0})}function Jv(t,n){let e=t.contentQueries;if(e!==null){let r=M(null);try{for(let i=0;i<e.length;i+=2){let o=e[i],s=e[i+1];if(s!==-1){let a=t.data[s];Ho(o),a.contentQueries(2,n[s],s)}}}finally{M(r)}}}function Gu(t,n,e){Ho(0);let r=M(null);try{n(t,e)}finally{M(r)}}function Af(t,n,e){if(iu(n)){let r=M(null);try{let i=n.directiveStart,o=n.directiveEnd;for(let s=i;s<o;s++){let a=t.data[s];if(a.contentQueries){let l=e[s];a.contentQueries(1,l,s)}}}finally{M(r)}}}var Ot=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t[t.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",t})(Ot||{});var Ya;function uI(){if(Ya===void 0&&(Ya=null,On.trustedTypes))try{Ya=On.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ya}function _l(t){return uI()?.createHTML(t)||t}var Za;function ey(){if(Za===void 0&&(Za=null,On.trustedTypes))try{Za=On.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Za}function zg(t){return ey()?.createHTML(t)||t}function $g(t){return ey()?.createScriptURL(t)||t}var dn=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ia})`}},Wu=class extends dn{getTypeName(){return"HTML"}},qu=class extends dn{getTypeName(){return"Style"}},Yu=class extends dn{getTypeName(){return"Script"}},Zu=class extends dn{getTypeName(){return"URL"}},Ku=class extends dn{getTypeName(){return"ResourceURL"}};function dt(t){return t instanceof dn?t.changingThisBreaksApplicationSecurity:t}function qt(t,n){let e=ty(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Ia})`)}return e===n}function ty(t){return t instanceof dn&&t.getTypeName()||null}function Nf(t){return new Wu(t)}function Rf(t){return new qu(t)}function Of(t){return new Yu(t)}function Ff(t){return new Zu(t)}function kf(t){return new Ku(t)}function fI(t){let n=new Xu(t);return hI()?new Qu(n):n}var Qu=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(_l(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Xu=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=_l(n),e}};function hI(){try{return!!new window.DOMParser().parseFromString(_l(""),"text/html")}catch{return!1}}var pI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function es(t){return t=String(t),t.match(pI)?t:"unsafe:"+t}function un(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function ts(...t){let n={};for(let e of t)for(let r in e)e.hasOwnProperty(r)&&(n[r]=!0);return n}var ny=un("area,br,col,hr,img,wbr"),ry=un("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),iy=un("rp,rt"),mI=ts(iy,ry),gI=ts(ry,un("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")),vI=ts(iy,un("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")),Gg=ts(ny,gI,vI,mI),oy=un("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),yI=un("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"),_I=un("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"),bI=ts(oy,yI,_I),DI=un("script,style,template"),Ju=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,r=!0,i=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?r=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,r&&e.firstChild){i.push(e),e=wI(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=CI(e);if(o){e=o;break}e=i.pop()}}return this.buf.join("")}startElement(n){let e=Wg(n).toLowerCase();if(!Gg.hasOwnProperty(e))return this.sanitizedSomething=!0,!DI.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let r=n.attributes;for(let i=0;i<r.length;i++){let o=r.item(i),s=o.name,a=s.toLowerCase();if(!bI.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let l=o.value;oy[a]&&(l=es(l)),this.buf.push(" ",s,'="',qg(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=Wg(n).toLowerCase();Gg.hasOwnProperty(e)&&!ny.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(qg(n))}};function EI(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function CI(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw sy(n);return n}function wI(t){let n=t.firstChild;if(n&&EI(t,n))throw sy(n);return n}function Wg(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function sy(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var II=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,xI=/([^\#-~ |!])/g;function qg(t){return t.replace(/&/g,"&amp;").replace(II,function(n){let e=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((e-55296)*1024+(r-56320)+65536)+";"}).replace(xI,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var Ka;function bl(t,n){let e=null;try{Ka=Ka||fI(t);let r=n?String(n):"";e=Ka.getInertBodyElement(r);let i=5,o=r;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=e.innerHTML,e=Ka.getInertBodyElement(r)}while(r!==o);let a=new Ju().sanitizeChildren(Yg(e)||e);return _l(a)}finally{if(e){let r=Yg(e)||e;for(;r.firstChild;)r.firstChild.remove()}}}function Yg(t){return"content"in t&&SI(t)?t.content:null}function SI(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var MI=/^>|^->|<!--|-->|--!>|<!-$/g,TI=/(<|>)/g,AI="\u200B$1\u200B";function NI(t){return t.replace(MI,n=>n.replace(TI,AI))}function RI(t,n){return t.createText(n)}function OI(t,n,e){t.setValue(n,e)}function FI(t,n){return t.createComment(NI(n))}function ay(t,n,e){return t.createElement(n,e)}function cl(t,n,e,r,i){t.insertBefore(n,e,r,i)}function ly(t,n,e){t.appendChild(n,e)}function Zg(t,n,e,r,i){r!==null?cl(t,n,e,r,i):ly(t,n,e)}function cy(t,n,e,r){t.removeChild(null,n,e,r)}function kI(t,n,e){t.setAttribute(n,"style",e)}function PI(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function dy(t,n,e){let{mergedAttrs:r,classes:i,styles:o}=e;r!==null&&Gw(t,n,r),i!==null&&PI(t,n,i),o!==null&&kI(t,n,o)}var Ne=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t})(Ne||{});function LI(t){let n=Pf();return n?zg(n.sanitize(Ne.HTML,t)||""):qt(t,"HTML")?zg(dt(t)):bl(Wv(),Fn(t))}function VI(t){let n=Pf();return n?n.sanitize(Ne.URL,t)||"":qt(t,"URL")?dt(t):es(Fn(t))}function jI(t){let n=Pf();if(n)return $g(n.sanitize(Ne.RESOURCE_URL,t)||"");if(qt(t,"ResourceURL"))return $g(dt(t));throw new w(904,!1)}function Pf(){let t=I();return t&&t[Ut].sanitizer}function BI(t){return t.ownerDocument}function HI(t,n,e){let r=t.length;for(;;){let i=t.indexOf(n,e);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=n.length;if(i+o===r||t.charCodeAt(i+o)<=32)return i}e=i+1}}var uy="ng-template";function UI(t,n,e,r){let i=0;if(r){for(;i<n.length&&typeof n[i]=="string";i+=2)if(n[i]==="class"&&HI(n[i+1].toLowerCase(),e,0)!==-1)return!0}else if(Lf(t))return!1;if(i=n.indexOf(1,i),i>-1){let o;for(;++i<n.length&&typeof(o=n[i])=="string";)if(o.toLowerCase()===e)return!0}return!1}function Lf(t){return t.type===4&&t.value!==uy}function zI(t,n,e){let r=t.type===4&&!e?uy:t.value;return n===r}function $I(t,n,e){let r=4,i=t.attrs,o=i!==null?qI(i):0,s=!1;for(let a=0;a<n.length;a++){let l=n[a];if(typeof l=="number"){if(!s&&!Rt(r)&&!Rt(l))return!1;if(s&&Rt(l))continue;s=!1,r=l|r&1;continue}if(!s)if(r&4){if(r=2|r&1,l!==""&&!zI(t,l,e)||l===""&&n.length===1){if(Rt(r))return!1;s=!0}}else if(r&8){if(i===null||!UI(t,i,l,e)){if(Rt(r))return!1;s=!0}}else{let c=n[++a],d=GI(l,i,Lf(t),e);if(d===-1){if(Rt(r))return!1;s=!0;continue}if(c!==""){let f;if(d>o?f="":f=i[d+1].toLowerCase(),r&2&&c!==f){if(Rt(r))return!1;s=!0}}}}return Rt(r)||s}function Rt(t){return(t&1)===0}function GI(t,n,e,r){if(n===null)return-1;let i=0;if(r||!e){let o=!1;for(;i<n.length;){let s=n[i];if(s===t)return i;if(s===3||s===6)o=!0;else if(s===1||s===2){let a=n[++i];for(;typeof a=="string";)a=n[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=o?1:2}return-1}else return YI(n,t)}function fy(t,n,e=!1){for(let r=0;r<n.length;r++)if($I(t,n[r],e))return!0;return!1}function WI(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function qI(t){for(let n=0;n<t.length;n++){let e=t[n];if(Av(e))return n}return t.length}function YI(t,n){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){let r=t[e];if(typeof r=="number")return-1;if(r===n)return e;e++}return-1}function ZI(t,n){e:for(let e=0;e<n.length;e++){let r=n[e];if(t.length===r.length){for(let i=0;i<t.length;i++)if(t[i]!==r[i])continue e;return!0}}return!1}function Kg(t,n){return t?":not("+n.trim()+")":n}function KI(t){let n=t[0],e=1,r=2,i="",o=!1;for(;e<t.length;){let s=t[e];if(typeof s=="string")if(r&2){let a=t[++e];i+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?i+="."+s:r&4&&(i+=" "+s);else i!==""&&!Rt(s)&&(n+=Kg(o,i),i=""),r=s,o=o||!Rt(r);e++}return i!==""&&(n+=Kg(o,i)),n}function QI(t){return t.map(KI).join(",")}function XI(t){let n=[],e=[],r=1,i=2;for(;r<t.length;){let o=t[r];if(typeof o=="string")i===2?o!==""&&n.push(o,t[++r]):i===8&&e.push(o);else{if(!Rt(i))break;i=o}r++}return e.length&&n.push(1,...e),n}var Ze={};function Vf(t,n,e,r,i,o,s,a,l,c,d){let f=J+r,p=f+i,h=JI(f,p),m=typeof c=="function"?c():c;return h[x]={type:t,blueprint:h,template:e,queries:null,viewQuery:a,declTNode:n,data:h.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:l,consts:m,incompleteFirstPass:!1,ssrId:d}}function JI(t,n){let e=[];for(let r=0;r<n;r++)e.push(r<t?null:Ze);return e}function ex(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=Vf(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function jf(t,n,e,r,i,o,s,a,l,c,d){let f=n.blueprint.slice();return f[St]=i,f[O]=r|4|128|8|64|1024,(c!==null||t&&t[O]&2048)&&(f[O]|=2048),au(f),f[be]=f[Dr]=t,f[ve]=e,f[Ut]=s||t&&t[Ut],f[oe]=a||t&&t[oe],f[qe]=l||t&&t[qe]||null,f[We]=o,f[Lo]=oI(),f[br]=d,f[ru]=c,f[Ye]=n.type==2?t[Ye]:f,f}function tx(t,n,e){let r=vt(n,t),i=ex(e),o=t[Ut].rendererFactory,s=Bf(t,jf(t,i,null,hy(e),r,n,null,o.createRenderer(r,e),null,null,null));return t[n.index]=s}function hy(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function py(t,n,e,r){if(e===0)return-1;let i=n.length;for(let o=0;o<e;o++)n.push(r),t.blueprint.push(r),t.data.push(null);return i}function Bf(t,n){return t[mi]?t[nu][mt]=n:t[mi]=n,t[nu]=n,n}function Se(t=1){my(te(),I(),At()+t,!1)}function my(t,n,e,r){if(!r)if((n[O]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Xa(n,o,e)}else{let o=t.preOrderHooks;o!==null&&Ja(n,o,0,e)}Bn(e)}var Dl=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(Dl||{});function ef(t,n,e,r){let i=M(null);try{let[o,s,a]=t.inputs[e],l=null;(s&Dl.SignalBased)!==0&&(l=n[o][me]),l!==null&&l.transformFn!==void 0?r=l.transformFn(r):a!==null&&(r=a.call(n,r)),t.setInput!==null?t.setInput(n,l,r,e,o):wv(n,l,o,r)}finally{M(i)}}var Wt=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(Wt||{}),nx;function Hf(t,n){return nx(t,n)}var Nr=new Set,El=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(El||{}),Yt=new g(""),Qg=new Set;function Zt(t){Qg.has(t)||(Qg.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Cl=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),Uf=[0,1,2,3],zf=(()=>{class t{ngZone=u(C);scheduler=u(It);errorHandler=u(Be,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(Yt,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Z(q.AfterRenderHooksStart),this.executing=!0;for(let r of Uf)for(let i of this.sequences)if(!(i.erroredOrDestroyed||!i.hooks[r]))try{i.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=i.hooks[r];return o(i.pipelinedValue)},i.snapshot))}catch(o){i.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&Z(q.AfterRenderHooksEnd)}register(e){let{view:r}=e;r!==void 0?((r[Cr]??=[]).push(e),Sr(r),r[O]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,r){return r?r.run(El.AFTER_NEXT_RENDER,e):e()}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})(),qo=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,r,i,o,s=null){this.impl=n,this.hooks=e,this.view=r,this.once=i,this.snapshot=s,this.unregisterOnDestroy=o?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[Cr];n&&(this.view[Cr]=n.filter(e=>e!==this))}};function Ft(t,n){let e=n?.injector??u(P);return Zt("NgAfterNextRender"),ix(t,e,n,!0)}function rx(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function ix(t,n,e,r){let i=n.get(Cl);i.impl??=n.get(zf);let o=n.get(Yt,null,{optional:!0}),s=e?.manualCleanup!==!0?n.get(rt):null,a=n.get(bi,null,{optional:!0}),l=new qo(i.impl,rx(t),a?.view,r,s,o?.snapshot(null));return i.impl.register(l),l}var gy=new g("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:u(fe)})});function vy(t,n,e){let r=t.get(gy);if(Array.isArray(n))for(let i of n)r.queue.add(i),e?.detachedLeaveAnimationFns?.push(i);else r.queue.add(n),e?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(t)}function ox(t,n){let e=t.get(gy);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)e.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function sx(t,n){for(let[e,r]of n)vy(t,r.animateFns)}function Xg(t,n,e,r){let i=t?.[wr]?.enter;n!==null&&i&&i.has(e.index)&&sx(r,i)}function Ei(t,n,e,r,i,o,s,a){if(i!=null){let l,c=!1;Mt(i)?l=i:$t(i)&&(c=!0,i=i[St]);let d=gt(i);t===0&&r!==null?(Xg(a,r,o,e),s==null?ly(n,r,d):cl(n,r,d,s||null,!0)):t===1&&r!==null?(Xg(a,r,o,e),cl(n,r,d,s||null,!0)):t===2?Jg(a,o,e,f=>{cy(n,d,c,f)}):t===3&&Jg(a,o,e,()=>{n.destroyNode(d)}),l!=null&&vx(n,t,e,l,o,r,s)}}function ax(t,n){yy(t,n),n[St]=null,n[We]=null}function lx(t,n,e,r,i,o){r[St]=i,r[We]=n,Il(t,r,e,1,i,o)}function yy(t,n){n[Ut].changeDetectionScheduler?.notify(9),Il(t,n,n[oe],2,null,null)}function cx(t){let n=t[mi];if(!n)return Au(t[x],t);for(;n;){let e=null;if($t(n))e=n[mi];else{let r=n[he];r&&(e=r)}if(!e){for(;n&&!n[mt]&&n!==t;)$t(n)&&Au(n[x],n),n=n[be];n===null&&(n=t),$t(n)&&Au(n[x],n),e=n&&n[mt]}n=e}}function $f(t,n){let e=t[Ir],r=e.indexOf(n);e.splice(r,1)}function wl(t,n){if(jn(n))return;let e=n[oe];e.destroyNode&&Il(t,n,e,3,null,null),cx(n)}function Au(t,n){if(jn(n))return;let e=M(null);try{n[O]&=-129,n[O]|=256,n[lt]&&Cn(n[lt]),fx(t,n),ux(t,n),n[x].type===1&&n[oe].destroy();let r=n[Pn];if(r!==null&&Mt(n[be])){r!==n[be]&&$f(r,n);let i=n[zt];i!==null&&i.detachView(t)}zu(n)}finally{M(e)}}function Jg(t,n,e,r){let i=t?.[wr];if(i==null||i.leave==null||!i.leave.has(n.index))return r(!1);t&&Nr.add(t),vy(e,()=>{if(i.leave&&i.leave.has(n.index)){let s=i.leave.get(n.index),a=[];if(s){for(let l=0;l<s.animateFns.length;l++){let c=s.animateFns[l],{promise:d}=c();a.push(d)}i.detachedLeaveAnimationFns=void 0}i.running=Promise.allSettled(a),dx(t,r)}else t&&Nr.delete(t),r(!1)},i)}function dx(t,n){let e=t[wr]?.running;if(e){e.then(()=>{t[wr].running=void 0,Nr.delete(t),n(!0)});return}n(!1)}function ux(t,n){let e=t.cleanup,r=n[pi];if(e!==null)for(let s=0;s<e.length-1;s+=2)if(typeof e[s]=="string"){let a=e[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[e[s+1]];e[s].call(a)}r!==null&&(n[pi]=null);let i=n[nn];if(i!==null){n[nn]=null;for(let s=0;s<i.length;s++){let a=i[s];a()}}let o=n[An];if(o!==null){n[An]=null;for(let s of o)s.destroy()}}function fx(t,n){let e;if(t!=null&&(e=t.destroyHooks)!=null)for(let r=0;r<e.length;r+=2){let i=n[e[r]];if(!(i instanceof Ar)){let o=e[r+1];if(Array.isArray(o))for(let s=0;s<o.length;s+=2){let a=i[o[s]],l=o[s+1];Z(q.LifecycleHookStart,a,l);try{l.call(a)}finally{Z(q.LifecycleHookEnd,a,l)}}else{Z(q.LifecycleHookStart,i,o);try{o.call(i)}finally{Z(q.LifecycleHookEnd,i,o)}}}}}function _y(t,n,e){return hx(t,n.parent,e)}function hx(t,n,e){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return e[St];if(on(r)){let{encapsulation:i}=t.data[r.directiveStart+r.componentOffset];if(i===Ot.None||i===Ot.Emulated)return null}return vt(r,e)}function by(t,n,e){return mx(t,n,e)}function px(t,n,e){return t.type&40?vt(t,e):null}var mx=px,ev;function Gf(t,n,e,r){let i=_y(t,r,n),o=n[oe],s=r.parent||n[We],a=by(s,r,n);if(i!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)Zg(o,i,e[l],a,!1);else Zg(o,i,e,a,!1);ev!==void 0&&ev(o,r,n,e,i)}function $o(t,n){if(n!==null){let e=n.type;if(e&3)return vt(n,t);if(e&4)return tf(-1,t[n.index]);if(e&8){let r=n.child;if(r!==null)return $o(t,r);{let i=t[n.index];return Mt(i)?tf(-1,i):gt(i)}}else{if(e&128)return $o(t,n.next);if(e&32)return Hf(n,t)()||gt(t[n.index]);{let r=Dy(t,n);if(r!==null){if(Array.isArray(r))return r[0];let i=Nn(t[Ye]);return $o(i,r)}else return $o(t,n.next)}}}return null}function Dy(t,n){if(n!==null){let r=t[Ye][We],i=n.projection;return r.projection[i]}return null}function tf(t,n){let e=he+t+1;if(e<n.length){let r=n[e],i=r[x].firstChild;if(i!==null)return $o(r,i)}return n[Vn]}function Wf(t,n,e,r,i,o,s){for(;e!=null;){let a=r[qe];if(e.type===128){e=e.next;continue}let l=r[e.index],c=e.type;if(s&&n===0&&(l&&xi(gt(l),r),e.flags|=2),!yl(e))if(c&8)Wf(t,n,e.child,r,i,o,!1),Ei(n,t,a,i,l,e,o,r);else if(c&32){let d=Hf(e,r),f;for(;f=d();)Ei(n,t,a,i,f,e,o,r);Ei(n,t,a,i,l,e,o,r)}else c&16?Ey(t,n,r,e,i,o):Ei(n,t,a,i,l,e,o,r);e=s?e.projectionNext:e.next}}function Il(t,n,e,r,i,o){Wf(e,r,t.firstChild,n,i,o,!1)}function gx(t,n,e){let r=n[oe],i=_y(t,e,n),o=e.parent||n[We],s=by(o,e,n);Ey(r,0,n,e,i,s)}function Ey(t,n,e,r,i,o){let s=e[Ye],l=s[We].projection[r.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Ei(n,t,e[qe],i,d,r,o,e)}else{let c=l,d=s[be];Hv(r)&&(c.flags|=128),Wf(t,n,c,d,i,o,!0)}}function vx(t,n,e,r,i,o,s){let a=r[Vn],l=gt(r);a!==l&&Ei(n,t,e,o,a,i,s);for(let c=he;c<r.length;c++){let d=r[c];Il(d[x],d,t,n,o,a)}}function yx(t,n,e,r,i){if(n)i?t.addClass(e,r):t.removeClass(e,r);else{let o=r.indexOf("-")===-1?void 0:Wt.DashCase;i==null?t.removeStyle(e,r,o):(typeof i=="string"&&i.endsWith("!important")&&(i=i.slice(0,-10),o|=Wt.Important),t.setStyle(e,r,i,o))}}function Cy(t,n,e,r,i){let o=At(),s=r&2;try{Bn(-1),s&&n.length>J&&my(t,n,J,!1);let a=s?q.TemplateUpdateStart:q.TemplateCreateStart;Z(a,i,e),e(r,i)}finally{Bn(o);let a=s?q.TemplateUpdateEnd:q.TemplateCreateEnd;Z(a,i,e)}}function xl(t,n,e){Cx(t,n,e),(e.flags&64)===64&&wx(t,n,e)}function ns(t,n,e=vt){let r=n.localNames;if(r!==null){let i=n.index+1;for(let o=0;o<r.length;o+=2){let s=r[o+1],a=s===-1?e(n,t):t[s];t[i++]=a}}}function _x(t,n,e,r){let o=r.get(Zv,Yv)||e===Ot.ShadowDom||e===Ot.ExperimentalIsolatedShadowDom,s=t.selectRootElement(n,o);return bx(s),s}function bx(t){Dx(t)}var Dx=()=>null;function Ex(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function wy(t,n,e,r,i,o){let s=n[x];if(Sl(t,s,n,e,r)){on(t)&&xy(n,t.index);return}t.type&3&&(e=Ex(e)),Iy(t,n,e,r,i,o)}function Iy(t,n,e,r,i,o){if(t.type&3){let s=vt(t,n);r=o!=null?o(r,t.value||"",e):r,i.setProperty(s,e,r)}else t.type&12}function xy(t,n){let e=yt(n,t);e[O]&16||(e[O]|=64)}function Cx(t,n,e){let r=e.directiveStart,i=e.directiveEnd;on(e)&&tx(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||ll(e,n);let o=e.initialInputs;for(let s=r;s<i;s++){let a=t.data[s],l=Wo(n,t,s,e);if(xi(l,n),o!==null&&Sx(n,s-r,l,a,e,o),Tt(a)){let c=yt(e.index,n);c[ve]=Wo(n,t,s,e)}}}function wx(t,n,e){let r=e.directiveStart,i=e.directiveEnd,o=e.index,s=Eg();try{Bn(o);for(let a=r;a<i;a++){let l=t.data[a],c=n[a];Ha(a),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&Ix(l,c)}}finally{Bn(-1),Ha(s)}}function Ix(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function qf(t,n){let e=t.directiveRegistry,r=null;if(e)for(let i=0;i<e.length;i++){let o=e[i];fy(n,o.selectors,!1)&&(r??=[],Tt(o)?r.unshift(o):r.push(o))}return r}function xx(t,n,e,r,i,o){let s=vt(t,n);Sy(n[oe],s,o,t.value,e,r,i)}function Sy(t,n,e,r,i,o,s){if(o==null)t.removeAttribute(n,i,e);else{let a=s==null?Fn(o):s(o,r||"",i);t.setAttribute(n,i,a,e)}}function Sx(t,n,e,r,i,o){let s=o[n];if(s!==null)for(let a=0;a<s.length;a+=2){let l=s[a],c=s[a+1];ef(r,e,l,c)}}function Yf(t,n,e,r,i){let o=J+e,s=n[x],a=i(s,n,t,r,e);n[o]=a,Mr(t,!0);let l=t.type===2;return l?(dy(n[oe],a,t),(mg()===0||gi(t))&&xi(a,n),gg()):xi(a,n),Ga()&&(!l||!yl(t))&&Gf(s,n,a,t),t}function Zf(t){let n=t;return vu()?yu():(n=n.parent,Mr(n,!1)),n}function Kf(t,n){let e=t[qe];if(!e)return;let r;try{r=e.get(ln,null)}catch{r=null}r?.(n)}function Sl(t,n,e,r,i){let o=t.inputs?.[r],s=t.hostDirectiveInputs?.[r],a=!1;if(s)for(let l=0;l<s.length;l+=2){let c=s[l],d=s[l+1],f=n.data[c];ef(f,e[c],d,i),a=!0}if(o)for(let l of o){let c=e[l],d=n.data[l];ef(d,c,r,i),a=!0}return a}function Mx(t,n){let e=yt(n,t),r=e[x];Tx(r,e);let i=e[St];i!==null&&e[br]===null&&(e[br]=Xv(i,e[qe])),Z(q.ComponentStart);try{Qf(r,e,e[ve])}finally{Z(q.ComponentEnd,e[ve])}}function Tx(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function Qf(t,n,e){za(n);try{let r=t.viewQuery;r!==null&&Gu(1,r,e);let i=t.template;i!==null&&Cy(t,n,i,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[zt]?.finishViewCreation(t),t.staticContentQueries&&Jv(t,n),t.staticViewQueries&&Gu(2,t.viewQuery,e);let o=t.components;o!==null&&Ax(n,o)}catch(r){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),r}finally{n[O]&=-5,$a()}}function Ax(t,n){for(let e=0;e<n.length;e++)Mx(t,n[e])}function Oi(t,n,e,r){let i=M(null);try{let o=n.tView,a=t[O]&4096?4096:16,l=jf(t,o,e,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),c=t[n.index];l[Pn]=c;let d=t[zt];return d!==null&&(l[zt]=d.createEmbeddedView(o)),Qf(o,l,e),l}finally{M(i)}}function Rr(t,n){return!n||n.firstChild===null||Hv(t)}function Yo(t,n,e,r,i=!1){for(;e!==null;){if(e.type===128){e=i?e.projectionNext:e.next;continue}let o=n[e.index];o!==null&&r.push(gt(o)),Mt(o)&&My(o,r);let s=e.type;if(s&8)Yo(t,n,e.child,r);else if(s&32){let a=Hf(e,n),l;for(;l=a();)r.push(l)}else if(s&16){let a=Dy(n,e);if(Array.isArray(a))r.push(...a);else{let l=Nn(n[Ye]);Yo(l[x],l,a,r,!0)}}e=i?e.projectionNext:e.next}return r}function My(t,n){for(let e=he;e<t.length;e++){let r=t[e],i=r[x].firstChild;i!==null&&Yo(r[x],r,i,n)}t[Vn]!==t[St]&&n.push(t[Vn])}function Ty(t){if(t[Cr]!==null){for(let n of t[Cr])n.impl.addSequence(n);t[Cr].length=0}}var Ay=[];function Nx(t){return t[lt]??Rx(t)}function Rx(t){let n=Ay.pop()??Object.create(Fx);return n.lView=t,n}function Ox(t){t.lView[lt]!==t&&(t.lView=null,Ay.push(t))}var Fx=W(E({},bn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Sr(t.lView)},consumerOnSignalRead(){this.lView[lt]=this}});function kx(t){let n=t[lt]??Object.create(Px);return n.lView=t,n}var Px=W(E({},bn),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=Nn(t.lView);for(;n&&!Ny(n[x]);)n=Nn(n);n&&lu(n)},consumerOnSignalRead(){this.lView[lt]=this}});function Ny(t){return t.type!==2}function Ry(t){if(t[An]===null)return;let n=!0;for(;n;){let e=!1;for(let r of t[An])r.dirty&&(e=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=e&&!!(t[O]&8192)}}var Lx=100;function Oy(t,n=0){let r=t[Ut].rendererFactory,i=!1;i||r.begin?.();try{Vx(t,n)}finally{i||r.end?.()}}function Vx(t,n){let e=bu();try{Ao(!0),nf(t,n);let r=0;for(;Bo(t);){if(r===Lx)throw new w(103,!1);r++,nf(t,1)}}finally{Ao(e)}}function jx(t,n,e,r){if(jn(n))return;let i=n[O],o=!1,s=!1;za(n);let a=!0,l=null,c=null;o||(Ny(t)?(c=Nx(n),l=Jt(c)):Us()===null?(a=!1,c=kx(n),l=Jt(c)):n[lt]&&(Cn(n[lt]),n[lt]=null));try{au(n),_g(t.bindingStartIndex),e!==null&&Cy(t,n,e,2,r);let d=(i&3)===3;if(!o)if(d){let h=t.preOrderCheckHooks;h!==null&&Xa(n,h,null)}else{let h=t.preOrderHooks;h!==null&&Ja(n,h,0,null),Mu(n,0)}if(s||Bx(n),Ry(n),Fy(n,0),t.contentQueries!==null&&Jv(t,n),!o)if(d){let h=t.contentCheckHooks;h!==null&&Xa(n,h)}else{let h=t.contentHooks;h!==null&&Ja(n,h,1),Mu(n,1)}Ux(t,n);let f=t.components;f!==null&&Py(n,f,0);let p=t.viewQuery;if(p!==null&&Gu(2,p,r),!o)if(d){let h=t.viewCheckHooks;h!==null&&Xa(n,h)}else{let h=t.viewHooks;h!==null&&Ja(n,h,2),Mu(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Oa]){for(let h of n[Oa])h();n[Oa]=null}o||(Ty(n),n[O]&=-73)}catch(d){throw o||Sr(n),d}finally{c!==null&&(En(c,l),a&&Ox(c)),$a()}}function Fy(t,n){for(let e=zv(t);e!==null;e=$v(e))for(let r=he;r<e.length;r++){let i=e[r];ky(i,n)}}function Bx(t){for(let n=zv(t);n!==null;n=$v(n)){if(!(n[O]&2))continue;let e=n[Ir];for(let r=0;r<e.length;r++){let i=e[r];lu(i)}}}function Hx(t,n,e){Z(q.ComponentStart);let r=yt(n,t);try{ky(r,e)}finally{Z(q.ComponentEnd,r[ve])}}function ky(t,n){Fa(t)&&nf(t,n)}function nf(t,n){let r=t[x],i=t[O],o=t[lt],s=!!(n===0&&i&16);if(s||=!!(i&64&&n===0),s||=!!(i&1024),s||=!!(o?.dirty&&Qr(o)),s||=!1,o&&(o.dirty=!1),t[O]&=-9217,s)jx(r,t,r.template,t[ve]);else if(i&8192){let a=M(null);try{Ry(t),Fy(t,1);let l=r.components;l!==null&&Py(t,l,1),Ty(t)}finally{M(a)}}}function Py(t,n,e){for(let r=0;r<n.length;r++)Hx(t,n[r],e)}function Ux(t,n){let e=t.hostBindingOpCodes;if(e!==null)try{for(let r=0;r<e.length;r++){let i=e[r];if(i<0)Bn(~i);else{let o=i,s=e[++r],a=e[++r];Dg(s,o);let l=n[o];Z(q.HostBindingsUpdateStart,l);try{a(2,l)}finally{Z(q.HostBindingsUpdateEnd,l)}}}}finally{Bn(-1)}}function Ml(t,n){let e=bu()?64:1088;for(t[Ut].changeDetectionScheduler?.notify(n);t;){t[O]|=e;let r=Nn(t);if(vi(t)&&!r)return t;t=r}return null}function Ly(t,n,e,r){return[t,!0,0,n,null,r,null,e,null,null]}function Vy(t,n){let e=he+n;if(e<t.length)return t[e]}function Fi(t,n,e,r=!0){let i=n[x];if(zx(i,n,t,e),r){let s=tf(e,t),a=n[oe],l=a.parentNode(t[Vn]);l!==null&&lx(i,t[We],a,n,l,s)}let o=n[br];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function Xf(t,n){let e=Zo(t,n);return e!==void 0&&wl(e[x],e),e}function Zo(t,n){if(t.length<=he)return;let e=he+n,r=t[e];if(r){let i=r[Pn];i!==null&&i!==t&&$f(i,r),n>0&&(t[e-1][mt]=r[mt]);let o=Fo(t,he+n);ax(r[x],r);let s=o[zt];s!==null&&s.detachView(o[x]),r[be]=null,r[mt]=null,r[O]&=-129}return r}function zx(t,n,e,r){let i=he+r,o=e.length;r>0&&(e[i-1][mt]=n),r<o-he?(n[mt]=e[i],Qd(e,he+r,n)):(e.push(n),n[mt]=null),n[be]=e;let s=n[Pn];s!==null&&e!==s&&jy(s,n);let a=n[zt];a!==null&&a.insertView(t),ka(n),n[O]|=128}function jy(t,n){let e=t[Ir],r=n[be];if($t(r))t[O]|=2;else{let i=r[be][Ye];n[Ye]!==i&&(t[O]|=2)}e===null?t[Ir]=[n]:e.push(n)}var $n=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[x];return Yo(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[ve]}set context(n){this._lView[ve]=n}get destroyed(){return jn(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[be];if(Mt(n)){let e=n[Vo],r=e?e.indexOf(this):-1;r>-1&&(Zo(n,r),Fo(e,r))}this._attachedToViewContainer=!1}wl(this._lView[x],this._lView)}onDestroy(n){Pa(this._lView,n)}markForCheck(){Ml(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[O]&=-129}reattach(){ka(this._lView),this._lView[O]|=128}detectChanges(){this._lView[O]|=1024,Oy(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=vi(this._lView),e=this._lView[Pn];e!==null&&!n&&$f(e,this._lView),yy(this._lView[x],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=n;let e=vi(this._lView),r=this._lView[Pn];r!==null&&!e&&jy(r,this._lView),ka(this._lView)}};var He=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=$x;constructor(e,r,i){this._declarationLView=e,this._declarationTContainer=r,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,i){let o=Oi(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:i});return new $n(o)}}return t})();function $x(){return Tl(pe(),I())}function Tl(t,n){return t.type&4?new He(n,t,Ni(t,n)):null}function Pr(t,n,e,r,i){let o=t.data[n];if(o===null)o=Gx(t,n,e,r,i),bg()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=r,o.attrs=i;let s=vg();o.injectorIndex=s===null?-1:s.injectorIndex}return Mr(o,!0),o}function Gx(t,n,e,r,i){let o=gu(),s=vu(),a=s?o:o&&o.parent,l=t.data[n]=qx(t,a,e,n,r,i);return Wx(t,l,o,s),l}function Wx(t,n,e,r){t.firstChild===null&&(t.firstChild=n),e!==null&&(r?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function qx(t,n,e,r,i,o){let s=n?n.injectorIndex:-1,a=0;return hu()&&(a|=128),{type:e,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,fieldIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Yx(t){let n=t[Ln]??[],r=t[be][oe],i=[];for(let o of n)o.data[Sf]!==void 0?i.push(o):Zx(o,r);t[Ln]=i}function Zx(t,n){let e=0,r=t.firstChild;if(r){let i=t.data[qv];for(;e<i;){let o=r.nextSibling;cy(n,r,!1),r=o,e++}}}var Kx=()=>null,Qx=()=>null;function dl(t,n){return Kx(t,n)}function By(t,n,e){return Qx(t,n,e)}var Hy=class{},Al=class{},rf=class{resolveComponentFactory(n){throw new w(917,!1)}},Nl=class{static NULL=new rf},Ee=class{},Me=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>Xx()}return t})();function Xx(){let t=I(),n=pe(),e=yt(n.index,t);return($t(e)?e:t)[oe]}var Uy=(()=>{class t{static \u0275prov=y({token:t,providedIn:"root",factory:()=>null})}return t})();var tl={},wi=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,r){let i=this.injector.get(n,tl,r);return i!==tl||e===tl?i:this.parentInjector.get(n,e,r)}};function ul(t,n,e){let r=e?t.styles:null,i=e?t.classes:null,o=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")o=a;else if(o==1)i=xa(i,a);else if(o==2){let l=a,c=n[++s];r=xa(r,l+": "+c+";")}}e?t.styles=r:t.stylesWithoutHost=r,e?t.classes=i:t.classesWithoutHost=i}function $(t,n=0){let e=I();if(e===null)return A(t,n);let r=pe();return Lv(r,e,Ie(t),n)}function Jx(){let t="invalid";throw new Error(t)}function zy(t,n,e,r,i){let o=r===null?null:{"":-1},s=i(t,e);if(s!==null){let a=s,l=null,c=null;for(let d of s)if(d.resolveHostDirectives!==null){[a,l,c]=d.resolveHostDirectives(s);break}n0(t,n,e,a,o,l,c)}o!==null&&r!==null&&e0(e,r,o)}function e0(t,n,e){let r=t.localNames=[];for(let i=0;i<n.length;i+=2){let o=e[n[i+1]];if(o==null)throw new w(-301,!1);r.push(n[i],o)}}function t0(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function n0(t,n,e,r,i,o,s){let a=r.length,l=null;for(let p=0;p<a;p++){let h=r[p];l===null&&Tt(h)&&(l=h,t0(t,e,p)),Hu(ll(e,n),t,h.type)}l0(e,t.data.length,a),l?.viewProvidersResolver&&l.viewProvidersResolver(l);for(let p=0;p<a;p++){let h=r[p];h.providersResolver&&h.providersResolver(h)}let c=!1,d=!1,f=py(t,n,a,null);a>0&&(e.directiveToIndex=new Map);for(let p=0;p<a;p++){let h=r[p];if(e.mergedAttrs=Ii(e.mergedAttrs,h.hostAttrs),i0(t,e,n,f,h),a0(f,h,i),s!==null&&s.has(h)){let[v,_]=s.get(h);e.directiveToIndex.set(h.type,[f,v+e.directiveStart,_+e.directiveStart])}else(o===null||!o.has(h))&&e.directiveToIndex.set(h.type,f);h.contentQueries!==null&&(e.flags|=4),(h.hostBindings!==null||h.hostAttrs!==null||h.hostVars!==0)&&(e.flags|=64);let m=h.type.prototype;!c&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),c=!0),!d&&(m.ngOnChanges||m.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),d=!0),f++}r0(t,e,o)}function r0(t,n,e){for(let r=n.directiveStart;r<n.directiveEnd;r++){let i=t.data[r];if(e===null||!e.has(i))tv(0,n,i,r),tv(1,n,i,r),rv(n,r,!1);else{let o=e.get(i);nv(0,n,o,r),nv(1,n,o,r),rv(n,r,!0)}}}function tv(t,n,e,r){let i=t===0?e.inputs:e.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s;t===0?s=n.inputs??={}:s=n.outputs??={},s[o]??=[],s[o].push(r),$y(n,o)}}function nv(t,n,e,r){let i=t===0?e.inputs:e.outputs;for(let o in i)if(i.hasOwnProperty(o)){let s=i[o],a;t===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,o),$y(n,s)}}function $y(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function rv(t,n,e){let{attrs:r,inputs:i,hostDirectiveInputs:o}=t;if(r===null||!e&&i===null||e&&o===null||Lf(t)){t.initialInputs??=[],t.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let l=r[a];if(l===0){a+=4;continue}else if(l===5){a+=2;continue}else if(typeof l=="number")break;if(!e&&i.hasOwnProperty(l)){let c=i[l];for(let d of c)if(d===n){s??=[],s.push(l,r[a+1]);break}}else if(e&&o.hasOwnProperty(l)){let c=o[l];for(let d=0;d<c.length;d+=2)if(c[d]===n){s??=[],s.push(c[d+1],r[a+1]);break}}a+=2}t.initialInputs??=[],t.initialInputs.push(s)}function i0(t,n,e,r,i){t.data[r]=i;let o=i.factory||(i.factory=Tn(i.type,!0)),s=new Ar(o,Tt(i),$,null);t.blueprint[r]=s,e[r]=s,o0(t,n,r,py(t,e,i.hostVars,Ze),i)}function o0(t,n,e,r,i){let o=i.hostBindings;if(o){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let a=~n.index;s0(s)!=a&&s.push(a),s.push(e,r,o)}}function s0(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function a0(t,n,e){if(e){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)e[n.exportAs[r]]=t;Tt(n)&&(e[""]=t)}}function l0(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function Jf(t,n,e,r,i,o,s,a){let l=n[x],c=l.consts,d=ct(c,s),f=Pr(l,t,e,r,d);return o&&zy(l,n,f,ct(c,a),i),f.mergedAttrs=Ii(f.mergedAttrs,f.attrs),f.attrs!==null&&ul(f,f.attrs,!1),f.mergedAttrs!==null&&ul(f,f.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,f),f}function eh(t,n){Mv(t,n),iu(n)&&t.queries.elementEnd(n)}function c0(t,n,e,r,i,o){let s=n.consts,a=ct(s,i),l=Pr(n,t,e,r,a);if(l.mergedAttrs=Ii(l.mergedAttrs,l.attrs),o!=null){let c=ct(s,o);l.localNames=[];for(let d=0;d<c.length;d+=2)l.localNames.push(c[d],-1)}return l.attrs!==null&&ul(l,l.attrs,!1),l.mergedAttrs!==null&&ul(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function th(t){return Wy(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function Gy(t,n){if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else{let e=t[Symbol.iterator](),r;for(;!(r=e.next()).done;)n(r.value)}}function Wy(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function rs(t,n,e){return t[n]=e}function qy(t,n){return t[n]}function ot(t,n,e){if(e===Ze)return!1;let r=t[n];return Object.is(r,e)?!1:(t[n]=e,!0)}function Si(t,n,e,r){let i=ot(t,n,e);return ot(t,n+1,r)||i}function d0(t,n,e,r,i){let o=Si(t,n,e,r);return ot(t,n+2,i)||o}function u0(t,n,e,r,i,o){let s=Si(t,n,e,r);return Si(t,n+2,i,o)||s}function nl(t,n,e){return function r(i){let o=on(t)?yt(t.index,n):n;Ml(o,5);let s=n[ve],a=iv(n,s,e,i),l=r.__ngNextListenerFn__;for(;l;)a=iv(n,s,l,i)&&a,l=l.__ngNextListenerFn__;return a}}function iv(t,n,e,r){let i=M(null);try{return Z(q.OutputStart,n,e),e(r)!==!1}catch(o){return Kf(t,o),!1}finally{Z(q.OutputEnd,n,e),M(i)}}function Yy(t,n,e,r,i,o,s,a){let l=gi(t),c=!1,d=null;if(!r&&l&&(d=h0(n,e,o,t.index)),d!==null){let f=d.__ngLastListenerFn__||d;f.__ngNextListenerFn__=s,d.__ngLastListenerFn__=s,c=!0}else{let f=vt(t,e),p=r?r(f):f;cI(e,p,o,a);let h=i.listen(p,o,a);if(!f0(o)){let m=r?v=>r(gt(v[t.index])):t.index;Zy(m,n,e,o,a,h,!1)}}return c}function f0(t){return t.startsWith("animation")||t.startsWith("transition")}function h0(t,n,e,r){let i=t.cleanup;if(i!=null)for(let o=0;o<i.length-1;o+=2){let s=i[o];if(s===e&&i[o+1]===r){let a=n[pi],l=i[o+2];return a&&a.length>l?a[l]:null}typeof s=="string"&&(o+=2)}return null}function Zy(t,n,e,r,i,o,s){let a=n.firstCreatePass?uu(n):null,l=du(e),c=l.length;l.push(i,o),a&&a.push(r,t,c,(c+1)*(s?-1:1))}function ov(t,n,e,r,i,o){let s=n[e],a=n[x],c=a.data[e].outputs[r],f=s[c].subscribe(o);Zy(t.index,a,n,i,o,f,!0)}var of=Symbol("BINDING");var sf=class extends Nl{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=rn(n);return new Mi(e,this.ngModule)}};function p0(t){return Object.keys(t).map(n=>{let[e,r,i]=t[n],o={propName:e,templateName:n,isSignal:(r&Dl.SignalBased)!==0};return i&&(o.transform=i),o})}function m0(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function g0(t,n,e){let r=n instanceof fe?n:n?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new wi(e,r):e}function v0(t){let n=t.get(Ee,null);if(n===null)throw new w(407,!1);let e=t.get(Uy,null),r=t.get(It,null);return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:r,ngReflect:!1}}function y0(t,n){let e=Ky(t);return ay(n,e,e==="svg"?ou:e==="math"?dg:null)}function Ky(t){return(t.selectors[0][0]||"div").toLowerCase()}var Mi=class extends Al{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=p0(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=m0(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=QI(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,r,i,o,s){Z(q.DynamicComponentStart);let a=M(null);try{let l=this.componentDef,c=_0(r,l,s,o),d=g0(l,i||this.ngModule,n),f=v0(d),p=f.rendererFactory.createRenderer(null,l),h=r?_x(p,r,l.encapsulation,d):y0(l,p),m=s?.some(sv)||o?.some(b=>typeof b!="function"&&b.bindings.some(sv)),v=jf(null,c,null,512|hy(l),null,null,f,p,d,null,Xv(h,d,!0));v[J]=h,za(v);let _=null;try{let b=Jf(J,v,2,"#host",()=>c.directiveRegistry,!0,0);dy(p,h,b),xi(h,v),xl(c,v,b),Af(c,b,v),eh(c,b),e!==void 0&&D0(b,this.ngContentSelectors,e),_=yt(b.index,v),v[ve]=_[ve],Qf(c,v,null)}catch(b){throw _!==null&&zu(_),zu(v),b}finally{Z(q.DynamicComponentEnd),$a()}return new fl(this.componentType,v,!!m)}finally{M(a)}}};function _0(t,n,e,r){let i=t?["ng-version","21.0.5"]:XI(n.selectors[0]),o=null,s=null,a=0;if(e)for(let d of e)a+=d[of].requiredVars,d.create&&(d.targetIdx=0,(o??=[]).push(d)),d.update&&(d.targetIdx=0,(s??=[]).push(d));if(r)for(let d=0;d<r.length;d++){let f=r[d];if(typeof f!="function")for(let p of f.bindings){a+=p[of].requiredVars;let h=d+1;p.create&&(p.targetIdx=h,(o??=[]).push(p)),p.update&&(p.targetIdx=h,(s??=[]).push(p))}}let l=[n];if(r)for(let d of r){let f=typeof d=="function"?d:d.type,p=Oo(f);l.push(p)}return Vf(0,null,b0(o,s),1,a,l,null,null,null,[i],null)}function b0(t,n){return!t&&!n?null:e=>{if(e&1&&t)for(let r of t)r.create();if(e&2&&n)for(let r of n)r.update()}}function sv(t){let n=t[of].kind;return n==="input"||n==="twoWay"}var fl=class extends Hy{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,r){super(),this._rootLView=e,this._hasInputBindings=r,this._tNode=xr(e[x],J),this.location=Ni(this._tNode,e),this.instance=yt(this._tNode.index,e)[ve],this.hostView=this.changeDetectorRef=new $n(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let i=this._rootLView,o=Sl(r,i[x],i,n,e);this.previousInputValues.set(n,e);let s=yt(r.index,i);Ml(s,1)}get injector(){return new Tr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function D0(t,n,e){let r=t.projection=[];for(let i=0;i<n.length;i++){let o=e[i];r.push(o!=null&&o.length?Array.from(o):null)}}var Ke=(()=>{class t{static __NG_ELEMENT_ID__=E0}return t})();function E0(){let t=pe();return Xy(t,I())}var C0=Ke,Qy=class extends C0{_lContainer;_hostTNode;_hostLView;constructor(n,e,r){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=r}get element(){return Ni(this._hostTNode,this._hostLView)}get injector(){return new Tr(this._hostTNode,this._hostLView)}get parentInjector(){let n=Cf(this._hostTNode,this._hostLView);if(Nv(n)){let e=sl(n,this._hostLView),r=ol(n),i=e[x].data[r+8];return new Tr(i,e)}else return new Tr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=av(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-he}createEmbeddedView(n,e,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let s=dl(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},o,s);return this.insertImpl(a,i,Rr(this._hostTNode,s)),a}createComponent(n,e,r,i,o,s,a){let l=n&&!Lw(n),c;if(l)c=e;else{let _=e||{};c=_.index,r=_.injector,i=_.projectableNodes,o=_.environmentInjector||_.ngModuleRef,s=_.directives,a=_.bindings}let d=l?n:new Mi(rn(n)),f=r||this.parentInjector;if(!o&&d.ngModule==null){let b=(l?f:this.parentInjector).get(fe,null);b&&(o=b)}let p=rn(d.componentType??{}),h=dl(this._lContainer,p?.id??null),m=h?.firstChild??null,v=d.create(f,i,m,o,s,a);return this.insertImpl(v.hostView,c,Rr(this._hostTNode,h)),v}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,r){let i=n._lView;if(fg(i)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let l=i[be],c=new Qy(l,l[We],l[be]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),s=this._lContainer;return Fi(s,i,o,r),n.attachToViewContainerRef(),Qd(Nu(s),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=av(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),r=Zo(this._lContainer,e);r&&(Fo(Nu(this._lContainer),e),wl(r[x],r))}detach(n){let e=this._adjustIndex(n,-1),r=Zo(this._lContainer,e);return r&&Fo(Nu(this._lContainer),e)!=null?new $n(r):null}_adjustIndex(n,e=0){return n??this.length+e}};function av(t){return t[Vo]}function Nu(t){return t[Vo]||(t[Vo]=[])}function Xy(t,n){let e,r=n[t.index];return Mt(r)?e=r:(e=Ly(r,n,null,t),n[t.index]=e,Bf(n,e)),I0(e,n,t,r),new Qy(e,t,n)}function w0(t,n){let e=t[oe],r=e.createComment(""),i=vt(n,t),o=e.parentNode(i);return cl(e,o,r,e.nextSibling(i),!1),r}var I0=S0,x0=()=>!1;function Jy(t,n,e){return x0(t,n,e)}function S0(t,n,e,r){if(t[Vn])return;let i;e.type&8?i=gt(r):i=w0(n,e),t[Vn]=i}var af=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},lf=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let r=n.contentQueries!==null?n.contentQueries[0]:e.length,i=[];for(let o=0;o<r;o++){let s=e.getByIndex(o),a=this.queries[s.indexInDeclarationView];i.push(a.clone())}return new t(i)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let e=0;e<this.queries.length;e++)rh(n,e).matches!==null&&this.queries[e].setDirty()}},hl=class{flags;read;predicate;constructor(n,e,r=null){this.flags=e,this.read=r,typeof n=="string"?this.predicate=R0(n):this.predicate=n}},cf=class t{queries;constructor(n=[]){this.queries=n}elementStart(n,e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,e)}elementEnd(n){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(n)}embeddedTView(n){let e=null;for(let r=0;r<this.length;r++){let i=e!==null?e.length:0,o=this.getByIndex(r).embeddedTView(n,i);o&&(o.indexInDeclarationView=r,e!==null?e.push(o):e=[o])}return e!==null?new t(e):null}template(n,e){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,e)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},df=class t{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,e=-1){this.metadata=n,this._declarationNodeIndex=e}elementStart(n,e){this.isApplyingToNode(e)&&this.matchTNode(n,e)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,e){this.elementStart(n,e)}embeddedTView(n,e){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,e),new t(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let e=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==e;)r=r.parent;return e===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,e){let r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){let o=r[i];this.matchTNodeWithReadOption(n,e,M0(e,o)),this.matchTNodeWithReadOption(n,e,el(e,n,o,!1,!1))}else r===He?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,el(e,n,r,!1,!1))}matchTNodeWithReadOption(n,e,r){if(r!==null){let i=this.metadata.read;if(i!==null)if(i===F||i===Ke||i===He&&e.type&4)this.addMatch(e.index,-2);else{let o=el(e,n,i,!1,!1);o!==null&&this.addMatch(e.index,o)}else this.addMatch(e.index,r)}}addMatch(n,e){this.matches===null?this.matches=[n,e]:this.matches.push(n,e)}};function M0(t,n){let e=t.localNames;if(e!==null){for(let r=0;r<e.length;r+=2)if(e[r]===n)return e[r+1]}return null}function T0(t,n){return t.type&11?Ni(t,n):t.type&4?Tl(t,n):null}function A0(t,n,e,r){return e===-1?T0(n,t):e===-2?N0(t,n,r):Wo(t,t[x],e,n)}function N0(t,n,e){if(e===F)return Ni(n,t);if(e===He)return Tl(n,t);if(e===Ke)return Xy(n,t)}function e_(t,n,e,r){let i=n[zt].queries[r];if(i.matches===null){let o=t.data,s=e.matches,a=[];for(let l=0;s!==null&&l<s.length;l+=2){let c=s[l];if(c<0)a.push(null);else{let d=o[c];a.push(A0(n,d,s[l+1],e.metadata.read))}}i.matches=a}return i.matches}function uf(t,n,e,r){let i=t.queries.getByIndex(e),o=i.matches;if(o!==null){let s=e_(t,n,i,e);for(let a=0;a<o.length;a+=2){let l=o[a];if(l>0)r.push(s[a/2]);else{let c=o[a+1],d=n[-l];for(let f=he;f<d.length;f++){let p=d[f];p[Pn]===p[be]&&uf(p[x],p,c,r)}if(d[Ir]!==null){let f=d[Ir];for(let p=0;p<f.length;p++){let h=f[p];uf(h[x],h,c,r)}}}}}return r}function nh(t,n){return t[zt].queries[n].queryList}function t_(t,n,e){let r=new cn((e&4)===4);return pg(t,n,r,r.destroy),(n[zt]??=new lf).queries.push(new af(r))-1}function n_(t,n,e){let r=te();return r.firstCreatePass&&(i_(r,new hl(t,n,e),-1),(n&2)===2&&(r.staticViewQueries=!0)),t_(r,I(),n)}function r_(t,n,e,r){let i=te();if(i.firstCreatePass){let o=pe();i_(i,new hl(n,e,r),o.index),O0(i,t),(e&2)===2&&(i.staticContentQueries=!0)}return t_(i,I(),e)}function R0(t){return t.split(",").map(n=>n.trim())}function i_(t,n,e){t.queries===null&&(t.queries=new cf),t.queries.track(new df(n,e))}function O0(t,n){let e=t.contentQueries||(t.contentQueries=[]),r=e.length?e[e.length-1]:-1;n!==r&&e.push(t.queries.length-1,n)}function rh(t,n){return t.queries.getByIndex(n)}function o_(t,n){let e=t[x],r=rh(e,n);return r.crossesNgTemplate?uf(e,t,n,[]):e_(e,t,r,n)}function ih(t,n,e){let r,i=ao(()=>{r._dirtyCounter();let o=F0(r,t);if(n&&o===void 0)throw new w(-951,!1);return o});return r=i[me],r._dirtyCounter=ae(0),r._flatValue=void 0,i}function oh(t){return ih(!0,!1,t)}function sh(t){return ih(!0,!0,t)}function ah(t){return ih(!1,!1,t)}function s_(t,n){let e=t[me];e._lView=I(),e._queryIndex=n,e._queryList=nh(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(r=>r+1))}function F0(t,n){let e=t._lView,r=t._queryIndex;if(e===void 0||r===void 0||e[O]&4)return n?void 0:je;let i=nh(e,r),o=o_(e,r);return i.reset(o,Bv),n?i.first:i._changesDetected||t._flatValue===void 0?t._flatValue=i.toArray():t._flatValue}var Gn=class{};var Ko=class extends Gn{injector;componentFactoryResolver=new sf(this);instance=null;constructor(n){super();let e=new yr([...n.providers,{provide:Gn,useValue:this},{provide:Nl,useValue:this.componentFactoryResolver}],n.parent||fi(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function lh(t,n,e=null){return new Ko({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var k0=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let r=Ra(!1,e.type),i=r.length>0?lh([r],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,i)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:t,providedIn:"environment",factory:()=>new t(A(fe))})}return t})();function ne(t){return Xo(()=>{let n=a_(t),e=W(E({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===If.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?i=>i.get(k0).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Ot.Emulated,styles:t.styles||je,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&Zt("NgStandalone"),l_(e);let r=t.dependencies;return e.directiveDefs=lv(r,P0),e.pipeDefs=lv(r,Yd),e.id=j0(e),e})}function P0(t){return rn(t)||Oo(t)}function U(t){return Xo(()=>({type:t.type,bootstrap:t.bootstrap||je,declarations:t.declarations||je,imports:t.imports||je,exports:t.exports||je,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function L0(t,n){if(t==null)return xt;let e={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o,s,a,l;Array.isArray(i)?(a=i[0],o=i[1],s=i[2]??o,l=i[3]||null):(o=i,s=i,a=Dl.None,l=null),e[o]=[r,a,l],n[o]=s}return e}function V0(t){if(t==null)return xt;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function S(t){return Xo(()=>{let n=a_(t);return l_(n),n})}function ch(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function a_(t){let n={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||xt,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||je,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:L0(t.inputs,n),outputs:V0(t.outputs),debugInfo:null}}function l_(t){t.features?.forEach(n=>n(t))}function lv(t,n){return t?()=>{let e=typeof t=="function"?t():t,r=[];for(let i of e){let o=n(i);o!==null&&r.push(o)}return r}:null}function j0(t){let n=0,e=typeof t.consts=="function"?"":t.consts,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let o of r.join("|"))n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function dh(t){let n=e=>{let r=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=B0,e.hostDirectives=r?t.map(ff):[t]):r?e.hostDirectives.unshift(...t.map(ff)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function B0(t){let n=[],e=!1,r=null,i=null;for(let o=0;o<t.length;o++){let s=t[o];if(s.hostDirectives!==null){let a=n.length;r??=new Map,i??=new Map,c_(s,n,r),i.set(s,[a,n.length-1])}o===0&&Tt(s)&&(e=!0,n.push(s))}for(let o=e?1:0;o<t.length;o++)n.push(t[o]);return[n,r,i]}function c_(t,n,e){if(t.hostDirectives!==null)for(let r of t.hostDirectives)if(typeof r=="function"){let i=r();for(let o of i)cv(ff(o),n,e)}else cv(r,n,e)}function cv(t,n,e){let r=Oo(t.directive);H0(r.declaredInputs,t.inputs),c_(r,n,e),e.set(r,t),n.push(r)}function ff(t){return typeof t=="function"?{directive:Ie(t),inputs:xt,outputs:xt}:{directive:Ie(t.directive),inputs:dv(t.inputs),outputs:dv(t.outputs)}}function dv(t){if(t===void 0||t.length===0)return xt;let n={};for(let e=0;e<t.length;e+=2)n[t[e]]=t[e+1];return n}function H0(t,n){for(let e in n)if(n.hasOwnProperty(e)){let r=n[e],i=t[e];t[r]=i}}function U0(t){return Object.getPrototypeOf(t.prototype).constructor}function Y(t){let n=U0(t.type),e=!0,r=[t];for(;n;){let i;if(Tt(t))i=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new w(903,!1);i=n.\u0275dir}if(i){if(e){r.push(i);let s=t;s.inputs=Ru(t.inputs),s.declaredInputs=Ru(t.declaredInputs),s.outputs=Ru(t.outputs);let a=i.hostBindings;a&&q0(t,a);let l=i.viewQuery,c=i.contentQueries;if(l&&G0(t,l),c&&W0(t,c),z0(t,i),Zm(t.outputs,i.outputs),Tt(i)&&i.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s<o.length;s++){let a=o[s];a&&a.ngInherit&&a(t),a===Y&&(e=!1)}}n=Object.getPrototypeOf(n)}$0(r)}function z0(t,n){for(let e in n.inputs){if(!n.inputs.hasOwnProperty(e)||t.inputs.hasOwnProperty(e))continue;let r=n.inputs[e];r!==void 0&&(t.inputs[e]=r,t.declaredInputs[e]=n.declaredInputs[e])}}function $0(t){let n=0,e=null;for(let r=t.length-1;r>=0;r--){let i=t[r];i.hostVars=n+=i.hostVars,i.hostAttrs=Ii(i.hostAttrs,e=Ii(e,i.hostAttrs))}}function Ru(t){return t===xt?{}:t===je?[]:t}function G0(t,n){let e=t.viewQuery;e?t.viewQuery=(r,i)=>{n(r,i),e(r,i)}:t.viewQuery=n}function W0(t,n){let e=t.contentQueries;e?t.contentQueries=(r,i,o)=>{n(r,i,o),e(r,i,o)}:t.contentQueries=n}function q0(t,n){let e=t.hostBindings;e?t.hostBindings=(r,i)=>{n(r,i),e(r,i)}:t.hostBindings=n}function d_(t,n,e,r,i,o,s,a){if(e.firstCreatePass){t.mergedAttrs=Ii(t.mergedAttrs,t.attrs);let d=t.tView=Vf(2,t,i,o,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),d.queries=e.queries.embeddedTView(t))}a&&(t.flags|=a),Mr(t,!1);let l=Z0(e,n,t,r);Ga()&&Gf(e,n,l,t),xi(l,n);let c=Ly(l,n,l,t);n[r+J]=c,Bf(n,c),Jy(c,t,n)}function Y0(t,n,e,r,i,o,s,a,l,c,d){let f=e+J,p;return n.firstCreatePass?(p=Pr(n,f,4,s||null,a||null),La()&&zy(n,t,p,ct(n.consts,c),qf),Mv(n,p)):p=n.data[f],d_(p,t,n,e,r,i,o,l),gi(p)&&xl(n,t,p),c!=null&&ns(t,p,d),p}function Or(t,n,e,r,i,o,s,a,l,c,d){let f=e+J,p;if(n.firstCreatePass){if(p=Pr(n,f,4,s||null,a||null),c!=null){let h=ct(n.consts,c);p.localNames=[];for(let m=0;m<h.length;m+=2)p.localNames.push(h[m],-1)}}else p=n.data[f];return d_(p,t,n,e,r,i,o,l),c!=null&&ns(t,p,d),p}function Kt(t,n,e,r,i,o,s,a){let l=I(),c=te(),d=ct(c.consts,o);return Y0(l,c,t,n,e,r,i,d,void 0,s,a),Kt}function u_(t,n,e,r,i,o,s,a){let l=I(),c=te(),d=ct(c.consts,o);return Or(l,c,t,n,e,r,i,d,void 0,s,a),u_}var Z0=K0;function K0(t,n,e,r){return Uo(!0),n[oe].createComment("")}var it=(function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t})(it||{}),uv=0,Q0=1,De=(function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t})(De||{}),f_=(function(t){return t[t.Initial=-1]="Initial",t})(f_||{}),X0=0,Rl=1;var J0=4,eS=5,tS=6,nS=7,Ou=8,rS=9,uh=(function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t})(uh||{});function h_(t,n,e){let r=m_(t);n[r]===null&&(n[r]=[]),n[r].push(e)}function rl(t,n){let e=m_(t),r=n[e];if(r!==null){for(let i of r)i();n[e]=null}}function p_(t){rl(1,t),rl(0,t),rl(2,t)}function m_(t){let n=J0;return t===1?n=eS:t===2&&(n=rS),n}function Ol(t){return t+1}function ki(t,n){let e=t[x],r=Ol(n.index);return t[r]}function iS(t,n,e){let r=t[x],i=Ol(n);t[i]=e}function Pi(t,n){let e=Ol(n.index);return t.data[e]}function oS(t,n,e){let r=Ol(n);t.data[r]=e}function sS(t,n,e){let r=n[x],i=Pi(r,e);switch(t){case De.Complete:return i.primaryTmplIndex;case De.Loading:return i.loadingTmplIndex;case De.Error:return i.errorTmplIndex;case De.Placeholder:return i.placeholderTmplIndex;default:return null}}function fv(t,n){return n===De.Placeholder?t.placeholderBlockConfig?.[uv]??null:n===De.Loading?t.loadingBlockConfig?.[uv]??null:null}function aS(t){return t.loadingBlockConfig?.[Q0]??null}function hv(t,n){if(!t||t.length===0)return n;let e=new Set(t);for(let r of n)e.add(r);return t.length===e.size?t:Array.from(e)}function lS(t,n){let e=n.primaryTmplIndex+J;return xr(t,e)}function cS(t,n){let e=n.get(fS),r=()=>e.remove(t);return e.add(t),r}var dS=()=>typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout,uS=()=>typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout,fS=(()=>{class t{executingCallbacks=!1;idleId=null;current=new Set;deferred=new Set;ngZone=u(C);requestIdleCallbackFn=dS().bind(globalThis);cancelIdleCallbackFn=uS().bind(globalThis);add(e){(this.executingCallbacks?this.deferred:this.current).add(e),this.idleId===null&&this.scheduleIdleCallback()}remove(e){let{current:r,deferred:i}=this;r.delete(e),i.delete(e),r.size===0&&i.size===0&&this.cancelIdleCallback()}scheduleIdleCallback(){let e=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(let r of this.current)r();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(let r of this.deferred)this.current.add(r);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(e))}cancelIdleCallback(){this.idleId!==null&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static \u0275prov=y({token:t,providedIn:"root",factory:()=>new t})}return t})();var hS=(()=>{class t{cachedInjectors=new Map;getOrCreateInjector(e,r,i,o){if(!this.cachedInjectors.has(e)){let s=i.length>0?lh(i,r,o):null;this.cachedInjectors.set(e,s)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=y({token:t,providedIn:"environment",factory:()=>new t})}return t})();var g_=new g("");function Fu(t,n,e){return t.get(hS).getOrCreateInjector(n,t,e,"")}function pS(t,n,e){if(t instanceof wi){let i=t.injector,o=t.parentInjector,s=Fu(o,n,e);return new wi(i,s)}let r=t.get(fe);if(r!==t){let i=Fu(r,n,e);return new wi(t,i)}return Fu(t,n,e)}function zn(t,n,e,r=!1){let i=e[be],o=i[x];if(jn(i))return;let s=ki(i,n),a=s[Rl],l=s[nS];if(!(l!==null&&t<l)&&pv(a,t)&&pv(s[X0]??-1,t)){let c=Pi(o,n),f=!r&&!0&&(aS(c)!==null||fv(c,De.Loading)!==null||fv(c,De.Placeholder))?yS:gS;try{f(t,s,e,n,i)}catch(p){Kf(i,p)}}}function mS(t,n){let e=t[Ln]?.findIndex(i=>i.data[Mf]===n[Rl])??-1;return{dehydratedView:e>-1?t[Ln][e]:null,dehydratedViewIx:e}}function gS(t,n,e,r,i){Z(q.DeferBlockStateStart);let o=sS(t,i,r);if(o!==null){n[Rl]=t;let s=i[x],a=o+J,l=xr(s,a),c=0;Xf(e,c);let d;if(t===De.Complete){let m=Pi(s,r),v=m.providers;v&&v.length>0&&(d=pS(i[qe],m,v))}let{dehydratedView:f,dehydratedViewIx:p}=mS(e,n),h=Oi(i,l,null,{injector:d,dehydratedView:f});if(Fi(e,h,c,Rr(l,f)),Ml(h,2),p>-1&&e[Ln]?.splice(p,1),(t===De.Complete||t===De.Error)&&Array.isArray(n[Ou])){for(let m of n[Ou])m();n[Ou]=null}}Z(q.DeferBlockStateEnd)}function pv(t,n){return t<n}function vS(t,n){let e=t[n.index];zn(De.Placeholder,n,e)}function mv(t,n,e){t.loadingPromise.then(()=>{t.loadingState===it.COMPLETE?zn(De.Complete,n,e):t.loadingState===it.FAILED&&zn(De.Error,n,e)})}var yS=null;function Lr(t){return typeof t=="function"&&t[me]!==void 0}function fh(t){return Lr(t)&&typeof t.set=="function"}var hh=new g("");function Li(t){return!!t&&typeof t.then=="function"}function ph(t){return!!t&&typeof t.subscribe=="function"}var v_=new g("");var mh=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,r)=>{this.resolve=e,this.reject=r});appInits=u(v_,{optional:!0})??[];injector=u(P);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let i of this.appInits){let o=hi(this.injector,i);if(Li(o))e.push(o);else if(ph(o)){let s=new Promise((a,l)=>{o.subscribe({complete:a,error:l})});e.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{r()}).catch(i=>{this.reject(i)}),e.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),y_=new g("");function __(){sd(()=>{let t="";throw new w(600,t)})}function b_(t){return t.isBoundToModule}var _S=10;var ut=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(ln);afterRenderManager=u(Cl);zonelessEnabled=u(Di);rootEffectScheduler=u(qa);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new D;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=u(Hn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(X(e=>!e))}constructor(){u(Yt,{optional:!0})}whenStable(){let e;return new Promise(r=>{e=this.isStable.subscribe({next:i=>{i&&r()}})}).finally(()=>{e.unsubscribe()})}_injector=u(fe);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,r){return this.bootstrapImpl(e,r)}bootstrapImpl(e,r,i=P.NULL){return this._injector.get(C).run(()=>{Z(q.BootstrapComponentStart);let s=e instanceof Al;if(!this._injector.get(mh).done){let m="";throw new w(405,m)}let l;s?l=e:l=this._injector.get(Nl).resolveComponentFactory(e),this.componentTypes.push(l.componentType);let c=b_(l)?void 0:this._injector.get(Gn),d=r||l.selector,f=l.create(i,[],d,c),p=f.location.nativeElement,h=f.injector.get(hh,null);return h?.registerApplication(p),f.onDestroy(()=>{this.detachView(f.hostView),Go(this.components,f),h?.unregisterApplication(p)}),this._loadComponent(f),Z(q.BootstrapComponentEnd,f),f})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Z(q.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(El.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw Z(q.ChangeDetectionEnd),new w(101,!1);let e=M(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(e),this.afterTick.next(),Z(q.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Ee,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<_S;){Z(q.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{Z(q.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:i}of this.allViews){if(!r&&!Bo(i))continue;let o=r&&!this.zonelessEnabled?0:1;Oy(i,o),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:e})=>Bo(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let r=e;this._views.push(r),r.attachToAppRef(this)}detachView(e){let r=e;Go(this._views,r),r.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(i){this.internalErrorHandler(i)}this.components.push(e),this._injector.get(y_,[]).forEach(i=>i(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Go(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new w(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Go(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function bS(t){let n=I(),e=pe();if(vS(n,e),!E_(0,n))return;let r=n[qe],i=ki(n,e),o=t(()=>DS(0,n,e),r);h_(0,i,o)}function D_(t,n,e){let r=n[qe],i=n[x];if(t.loadingState!==it.NOT_STARTED)return t.loadingPromise??Promise.resolve();let o=ki(n,e),s=lS(i,t);t.loadingState=it.IN_PROGRESS,rl(1,o);let a=t.dependencyResolverFn,l=r.get(Un).add();return a?(t.loadingPromise=Promise.allSettled(a()).then(c=>{let d=!1,f=[],p=[];for(let h of c)if(h.status==="fulfilled"){let m=h.value,v=rn(m)||Oo(m);if(v)f.push(v);else{let _=Yd(m);_&&p.push(_)}}else{d=!0;break}if(d){if(t.loadingState=it.FAILED,t.errorTmplIndex===null){let m=new w(-750,!1);Kf(n,m)}}else{t.loadingState=it.COMPLETE;let h=s.tView;if(f.length>0){h.directiveRegistry=hv(h.directiveRegistry,f);let m=f.map(_=>_.type),v=Ra(!1,...m);t.providers=v}p.length>0&&(h.pipeRegistry=hv(h.pipeRegistry,p))}}),t.loadingPromise.finally(()=>{t.loadingPromise=null,l()})):(t.loadingPromise=Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=it.COMPLETE,l()}),t.loadingPromise)}function E_(t,n){return n[qe].get(g_,null,{optional:!0})?.behavior!==uh.Manual}function DS(t,n,e){let r=n[x],i=n[e.index];if(!E_(t,n))return;let o=ki(n,e),s=Pi(r,e);switch(p_(o),s.loadingState){case it.NOT_STARTED:zn(De.Loading,e,i),D_(s,n,e),s.loadingState===it.IN_PROGRESS&&mv(s,e,i);break;case it.IN_PROGRESS:zn(De.Loading,e,i),mv(s,e,i);break;case it.COMPLETE:zn(De.Complete,e,i);break;case it.FAILED:zn(De.Error,e,i);break;default:}}function ES(t,n,e){return t===0?gv(n,e):t===2?!gv(n,e):!0}function CS(t){return t!=null&&(t&1)===1}function gv(t,n){let e=t[qe],r=Pi(t[x],n),i=Tf(e),o=CS(r.flags),a=ki(t,n)[tS]!==null;return!(o&&a&&i)}function wS(t,n,e,r,i,o,s,a,l,c){let d=I(),f=te(),p=t+J,h=Or(d,f,t,null,0,0),m=d[qe],v=Tf(m);if(f.firstCreatePass){Zt("NgDefer");let Et={primaryTmplIndex:n,loadingTmplIndex:r??null,placeholderTmplIndex:i??null,errorTmplIndex:o??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:e??null,loadingState:it.NOT_STARTED,loadingPromise:null,providers:null,hydrateTriggers:null,debug:null,flags:c??0};l?.(f,Et,a,s),oS(f,p,Et)}let _=d[p];Jy(_,h,d);let b=null,H=null;if(_[Ln]?.length>0){let Et=_[Ln][0].data;H=Et[Sf]??null,b=Et[Mf]}let Re=[null,f_.Initial,null,null,null,null,H,b,null,null];iS(d,p,Re);let de=null;H!==null&&v&&(de=m.get(Qv),de.add(H,{lView:d,tNode:h,lContainer:_}));let yn=()=>{p_(Re),H!==null&&de?.cleanup([H])};h_(0,Re,()=>cu(d,yn)),Pa(d,yn)}function IS(){let t=I(),n=pe();ES(0,t,n)&&bS(cS)}function C_(t,n){let e=I(),r=an();if(ot(e,r,n)){let i=te(),o=_i();if(Sl(o,i,e,t,n))on(o)&&xy(e,o.index);else{let a=vt(o,e);Sy(e[oe],a,null,o.value,t,n,null)}}return C_}function ye(t,n,e,r){let i=I(),o=an();if(ot(i,o,n)){let s=te(),a=_i();xx(a,i,t,n,e,r)}return ye}var tH=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var hf=class{destroy(n){}updateValue(n,e){}swap(n,e){let r=Math.min(n,e),i=Math.max(n,e),o=this.detach(i);if(i-r>1){let s=this.detach(r);this.attach(r,o),this.attach(i,s)}else this.attach(r,o)}move(n,e){this.attach(e,this.detach(n))}};function ku(t,n,e,r,i){return t===e&&Object.is(n,r)?1:Object.is(i(t,n),i(e,r))?-1:0}function xS(t,n,e,r){let i,o,s=0,a=t.length-1,l=void 0;if(Array.isArray(n)){M(r);let c=n.length-1;for(M(null);s<=a&&s<=c;){let d=t.at(s),f=n[s],p=ku(s,d,s,f,e);if(p!==0){p<0&&t.updateValue(s,f),s++;continue}let h=t.at(a),m=n[c],v=ku(a,h,c,m,e);if(v!==0){v<0&&t.updateValue(a,m),a--,c--;continue}let _=e(s,d),b=e(a,h),H=e(s,f);if(Object.is(H,b)){let Re=e(c,m);Object.is(Re,_)?(t.swap(s,a),t.updateValue(a,m),c--,a--):t.move(a,s),t.updateValue(s,f),s++;continue}if(i??=new pl,o??=yv(t,s,a,e),pf(t,i,s,H))t.updateValue(s,f),s++,a++;else if(o.has(H))i.set(_,t.detach(s)),a--;else{let Re=t.create(s,n[s]);t.attach(s,Re),s++,a++}}for(;s<=c;)vv(t,i,e,s,n[s]),s++}else if(n!=null){M(r);let c=n[Symbol.iterator]();M(null);let d=c.next();for(;!d.done&&s<=a;){let f=t.at(s),p=d.value,h=ku(s,f,s,p,e);if(h!==0)h<0&&t.updateValue(s,p),s++,d=c.next();else{i??=new pl,o??=yv(t,s,a,e);let m=e(s,p);if(pf(t,i,s,m))t.updateValue(s,p),s++,a++,d=c.next();else if(!o.has(m))t.attach(s,t.create(s,p)),s++,a++,d=c.next();else{let v=e(s,f);i.set(v,t.detach(s)),a--}}}for(;!d.done;)vv(t,i,e,t.length,d.value),d=c.next()}for(;s<=a;)t.destroy(t.detach(a--));i?.forEach(c=>{t.destroy(c)})}function pf(t,n,e,r){return n!==void 0&&n.has(r)?(t.attach(e,n.get(r)),n.delete(r),!0):!1}function vv(t,n,e,r,i){if(pf(t,n,r,e(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function yv(t,n,e,r){let i=new Set;for(let o=n;o<=e;o++)i.add(r(o,t.at(o)));return i}var pl=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let i=this._vMap;for(;i.has(r);)r=i.get(r);i.set(r,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,r]of this.kvMap)if(n(r,e),this._vMap!==void 0){let i=this._vMap;for(;i.has(r);)r=i.get(r),n(r,e)}}};function Qe(t,n,e,r,i,o,s,a){Zt("NgControlFlow");let l=I(),c=te(),d=ct(c.consts,o);return Or(l,c,t,n,e,r,i,d,256,s,a),gh}function gh(t,n,e,r,i,o,s,a){Zt("NgControlFlow");let l=I(),c=te(),d=ct(c.consts,o);return Or(l,c,t,n,e,r,i,d,512,s,a),gh}function Xe(t,n){Zt("NgControlFlow");let e=I(),r=an(),i=e[r]!==Ze?e[r]:-1,o=i!==-1?ml(e,J+i):void 0,s=0;if(ot(e,r,t)){let a=M(null);try{if(o!==void 0&&Xf(o,s),t!==-1){let l=J+t,c=ml(e,l),d=yf(e[x],l),f=By(c,d,e),p=Oi(e,d,n,{dehydratedView:f});Fi(c,p,s,Rr(d,f))}}finally{M(a)}}else if(o!==void 0){let a=Vy(o,s);a!==void 0&&(a[ve]=n)}}var mf=class{lContainer;$implicit;$index;constructor(n,e,r){this.lContainer=n,this.$implicit=e,this.$index=r}get $count(){return this.lContainer.length-he}};function SS(t){return t}function MS(t,n){return n}var gf=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,r){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=r}};function TS(t,n,e,r,i,o,s,a,l,c,d,f,p){Zt("NgControlFlow");let h=I(),m=te(),v=l!==void 0,_=I(),b=a?s.bind(_[Ye][ve]):s,H=new gf(v,b);_[J+t]=H,Or(h,m,t+1,n,e,r,i,ct(m.consts,o),256),v&&Or(h,m,t+2,l,c,d,f,ct(m.consts,p),512)}var vf=class extends hf{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,r){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=r}get length(){return this.lContainer.length-he}at(n){return this.getLView(n)[ve].$implicit}attach(n,e){let r=e[br];this.needsIndexUpdate||=n!==this.length,Fi(this.lContainer,e,n,Rr(this.templateTNode,r)),NS(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,RS(this.lContainer,n),OS(this.lContainer,n)}create(n,e){let r=dl(this.lContainer,this.templateTNode.tView.ssrId);return Oi(this.hostLView,this.templateTNode,new mf(this.lContainer,e,n),{dehydratedView:r})}destroy(n){wl(n[x],n)}updateValue(n,e){this.getLView(n)[ve].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[ve].$index=n}getLView(n){return FS(this.lContainer,n)}};function AS(t){let n=M(null),e=At();try{let r=I(),i=r[x],o=r[e],s=e+1,a=ml(r,s);if(o.liveCollection===void 0){let c=yf(i,s);o.liveCollection=new vf(a,r,c)}else o.liveCollection.reset();let l=o.liveCollection;if(xS(l,t,o.trackByFn,n),l.updateIndexes(),o.hasEmptyBlock){let c=an(),d=l.length===0;if(ot(r,c,d)){let f=e+2,p=ml(r,f);if(d){let h=yf(i,f),m=By(p,h,r),v=Oi(r,h,void 0,{dehydratedView:m});Fi(p,v,0,Rr(h,m))}else i.firstUpdatePass&&Yx(p),Xf(p,0)}}}finally{M(n)}}function ml(t,n){return t[n]}function NS(t,n){if(t.length<=he)return;let e=he+n,r=t[e],i=r?r[wr]:void 0;if(r&&i&&i.detachedLeaveAnimationFns&&i.detachedLeaveAnimationFns.length>0){let o=r[qe];ox(o,i),Nr.delete(r),i.detachedLeaveAnimationFns=void 0}}function RS(t,n){if(t.length<=he)return;let e=he+n,r=t[e],i=r?r[wr]:void 0;i&&i.leave&&i.leave.size>0&&(i.detachedLeaveAnimationFns=[])}function OS(t,n){return Zo(t,n)}function FS(t,n){return Vy(t,n)}function yf(t,n){return xr(t,n)}function qn(t,n,e){let r=I(),i=an();if(ot(r,i,n)){let o=te(),s=_i();wy(s,r,t,n,r[oe],e)}return qn}function _f(t,n,e,r,i){Sl(n,t,e,i?"class":"style",r)}function Te(t,n,e,r){let i=I(),o=i[x],s=t+J,a=o.firstCreatePass?Jf(s,i,2,n,qf,La(),e,r):o.data[s];if(Yf(a,i,t,n,w_),gi(a)){let l=i[x];xl(l,i,a),Af(l,a,i)}return r!=null&&ns(i,a),Te}function Ae(){let t=te(),n=pe(),e=Zf(n);return t.firstCreatePass&&eh(t,e),pu(e)&&mu(),fu(),e.classesWithoutHost!=null&&zw(e)&&_f(t,e,I(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&$w(e)&&_f(t,e,I(),e.stylesWithoutHost,!1),Ae}function Vr(t,n,e,r){return Te(t,n,e,r),Ae(),Vr}function kt(t,n,e,r){let i=I(),o=i[x],s=t+J,a=o.firstCreatePass?c0(s,o,2,n,e,r):o.data[s];return Yf(a,i,t,n,w_),r!=null&&ns(i,a),kt}function Pt(){let t=pe(),n=Zf(t);return pu(n)&&mu(),fu(),Pt}function ke(t,n,e,r){return kt(t,n,e,r),Pt(),ke}var w_=(t,n,e,r,i)=>(Uo(!0),ay(n[oe],r,Ag()));function vh(t,n,e){let r=I(),i=r[x],o=t+J,s=i.firstCreatePass?Jf(o,r,8,"ng-container",qf,La(),n,e):i.data[o];if(Yf(s,r,t,"ng-container",kS),gi(s)){let a=r[x];xl(a,r,s),Af(a,s,r)}return e!=null&&ns(r,s),vh}function yh(){let t=te(),n=pe(),e=Zf(n);return t.firstCreatePass&&eh(t,e),yh}function I_(t,n,e){return vh(t,n,e),yh(),I_}var kS=(t,n,e,r,i)=>(Uo(!0),FI(n[oe],""));function _h(){return I()}function Qt(t,n,e){let r=I(),i=an();if(ot(r,i,n)){let o=te(),s=_i();Iy(s,r,t,n,r[oe],e)}return Qt}var is="en-US";var PS=is;function x_(t){typeof t=="string"&&(PS=t.toLowerCase().replace(/_/g,"-"))}function ft(t,n,e){let r=I(),i=te(),o=pe();return M_(i,r,r[oe],o,t,n,e),ft}function S_(t,n,e){let r=I(),i=te(),o=pe();return(o.type&3||e)&&Yy(o,i,r,e,r[oe],t,n,nl(o,r,n)),S_}function M_(t,n,e,r,i,o,s){let a=!0,l=null;if((r.type&3||s)&&(l??=nl(r,n,o),Yy(r,t,n,s,e,i,o,l)&&(a=!1)),a){let c=r.outputs?.[i],d=r.hostDirectiveOutputs?.[i];if(d&&d.length)for(let f=0;f<d.length;f+=2){let p=d[f],h=d[f+1];l??=nl(r,n,o),ov(r,n,p,h,i,l)}if(c&&c.length)for(let f of c)l??=nl(r,n,o),ov(r,n,f,i,i,l)}}function fn(t=1){return Sg(t)}function LS(t,n){let e=null,r=WI(t);for(let i=0;i<n.length;i++){let o=n[i];if(o==="*"){e=i;continue}if(r===null?fy(t,o,!0):ZI(r,o))return i}return e}function ze(t){let n=I()[Ye][We];if(!n.projection){let e=t?t.length:1,r=n.projection=ng(e,null),i=r.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let s=t?LS(o,t):0;s!==null&&(i[s]?i[s].projectionNext=o:r[s]=o,i[s]=o)}o=o.next}}}function re(t,n=0,e,r,i,o){let s=I(),a=te(),l=r?t+1:null;l!==null&&Or(s,a,l,r,i,o,null,e);let c=Pr(a,J+t,16,null,e||null);c.projection===null&&(c.projection=n),yu();let f=!s[br]||hu();s[Ye][We].projection[c.projection]===null&&l!==null?VS(s,a,l):f&&!yl(c)&&gx(a,s,c)}function VS(t,n,e){let r=J+e,i=n.data[r],o=t[r],s=dl(o,i.tView.ssrId),a=Oi(t,i,void 0,{dehydratedView:s});Fi(o,a,0,Rr(i,s))}function Fl(t,n,e,r){return r_(t,n,e,r),Fl}function hn(t,n,e){return n_(t,n,e),hn}function Ce(t){let n=I(),e=te(),r=Ua();Ho(r+1);let i=rh(e,r);if(t.dirty&&ug(n)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let o=o_(n,r);t.reset(o,Bv),t.notifyOnChanges()}return!0}return!1}function we(){return nh(I(),Ua())}function kl(t,n,e,r,i){return s_(n,r_(t,e,r,i)),kl}function Pl(t,n,e,r){return s_(t,n_(n,e,r)),Pl}function Ll(t=1){Ho(Ua()+t)}function Vl(t){let n=_u();return yi(n,J+t)}function Qa(t,n){return t<<17|n<<2}function Fr(t){return t>>17&32767}function jS(t){return(t&2)==2}function BS(t,n){return t&131071|n<<17}function bf(t){return t|2}function Ti(t){return(t&131068)>>2}function Pu(t,n){return t&-131069|n<<2}function HS(t){return(t&1)===1}function Df(t){return t|1}function US(t,n,e,r,i,o){let s=o?n.classBindings:n.styleBindings,a=Fr(s),l=Ti(s);t[r]=e;let c=!1,d;if(Array.isArray(e)){let f=e;d=f[1],(d===null||di(f,d)>0)&&(c=!0)}else d=e;if(i)if(l!==0){let p=Fr(t[a+1]);t[r+1]=Qa(p,a),p!==0&&(t[p+1]=Pu(t[p+1],r)),t[a+1]=BS(t[a+1],r)}else t[r+1]=Qa(a,0),a!==0&&(t[a+1]=Pu(t[a+1],r)),a=r;else t[r+1]=Qa(l,0),a===0?a=r:t[l+1]=Pu(t[l+1],r),l=r;c&&(t[r+1]=bf(t[r+1])),_v(t,d,r,!0),_v(t,d,r,!1),zS(n,d,t,r,o),s=Qa(a,l),o?n.classBindings=s:n.styleBindings=s}function zS(t,n,e,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&di(o,n)>=0&&(e[r+1]=Df(e[r+1]))}function _v(t,n,e,r){let i=t[e+1],o=n===null,s=r?Fr(i):Ti(i),a=!1;for(;s!==0&&(a===!1||o);){let l=t[s],c=t[s+1];$S(l,n)&&(a=!0,t[s+1]=r?Df(c):bf(c)),s=r?Fr(c):Ti(c)}a&&(t[e+1]=r?bf(i):Df(i))}function $S(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?di(t,n)>=0:!1}var xe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function T_(t){return t.substring(xe.key,xe.keyEnd)}function GS(t){return t.substring(xe.value,xe.valueEnd)}function WS(t){return R_(t),A_(t,Ai(t,0,xe.textEnd))}function A_(t,n){let e=xe.textEnd;return e===n?-1:(n=xe.keyEnd=YS(t,xe.key=n,e),Ai(t,n,e))}function qS(t){return R_(t),N_(t,Ai(t,0,xe.textEnd))}function N_(t,n){let e=xe.textEnd,r=xe.key=Ai(t,n,e);return e===r?-1:(r=xe.keyEnd=ZS(t,r,e),r=bv(t,r,e,58),r=xe.value=Ai(t,r,e),r=xe.valueEnd=KS(t,r,e),bv(t,r,e,59))}function R_(t){xe.key=0,xe.keyEnd=0,xe.value=0,xe.valueEnd=0,xe.textEnd=t.length}function Ai(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function YS(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function ZS(t,n,e){let r;for(;n<e&&((r=t.charCodeAt(n))===45||r===95||(r&-33)>=65&&(r&-33)<=90||r>=48&&r<=57);)n++;return n}function bv(t,n,e,r){return n=Ai(t,n,e),n<e&&n++,n}function KS(t,n,e){let r=-1,i=-1,o=-1,s=n,a=s;for(;s<e;){let l=t.charCodeAt(s++);if(l===59)return a;l===34||l===39?a=s=Dv(t,l,s,e):n===s-4&&o===85&&i===82&&r===76&&l===40?a=s=Dv(t,41,s,e):l>32&&(a=s),o=i,i=r,r=l&-33}return a}function Dv(t,n,e,r){let i=-1,o=e;for(;o<r;){let s=t.charCodeAt(o++);if(s==n&&i!==92)return o;s==92&&i===92?i=0:i=s}throw new Error}function jl(t,n,e){return O_(t,n,e,!1),jl}function ee(t,n){return O_(t,n,null,!0),ee}function QS(t){F_(L_,XS,t,!1)}function XS(t,n){for(let e=qS(n);e>=0;e=N_(n,e))L_(t,T_(n),GS(n))}function os(t){F_(oM,JS,t,!0)}function JS(t,n){for(let e=WS(n);e>=0;e=A_(n,e))ko(t,T_(n),!0)}function O_(t,n,e,r){let i=I(),o=te(),s=Ba(2);if(o.firstUpdatePass&&P_(o,t,s,r),n!==Ze&&ot(i,s,n)){let a=o.data[At()];V_(o,a,i,i[oe],t,i[s+1]=aM(n,e),r,s)}}function F_(t,n,e,r){let i=te(),o=Ba(2);i.firstUpdatePass&&P_(i,null,o,r);let s=I();if(e!==Ze&&ot(s,o,e)){let a=i.data[At()];if(j_(a,r)&&!k_(i,o)){let l=r?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(e=xa(l,e||"")),_f(i,a,s,e,r)}else sM(i,a,s,s[oe],s[o+1],s[o+1]=iM(t,n,e),r,o)}}function k_(t,n){return n>=t.expandoStartIndex}function P_(t,n,e,r){let i=t.data;if(i[e+1]===null){let o=i[At()],s=k_(t,e);j_(o,r)&&n===null&&!s&&(n=!1),n=eM(i,o,n,r),US(i,o,n,e,s,r)}}function eM(t,n,e,r){let i=Cg(t),o=r?n.residualClasses:n.residualStyles;if(i===null)(r?n.classBindings:n.styleBindings)===0&&(e=Lu(null,t,n,e,r),e=Qo(e,n.attrs,r),o=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==i)if(e=Lu(i,t,n,e,r),o===null){let l=tM(t,n,r);l!==void 0&&Array.isArray(l)&&(l=Lu(null,t,n,l[1],r),l=Qo(l,n.attrs,r),nM(t,n,r,l))}else o=rM(t,n,r)}return o!==void 0&&(r?n.residualClasses=o:n.residualStyles=o),e}function tM(t,n,e){let r=e?n.classBindings:n.styleBindings;if(Ti(r)!==0)return t[Fr(r)]}function nM(t,n,e,r){let i=e?n.classBindings:n.styleBindings;t[Fr(i)]=r}function rM(t,n,e){let r,i=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<i;o++){let s=t[o].hostAttrs;r=Qo(r,s,e)}return Qo(r,n.attrs,e)}function Lu(t,n,e,r,i){let o=null,s=e.directiveEnd,a=e.directiveStylingLast;for(a===-1?a=e.directiveStart:a++;a<s&&(o=n[a],r=Qo(r,o.hostAttrs,i),o!==t);)a++;return t!==null&&(e.directiveStylingLast=a),r}function Qo(t,n,e){let r=e?1:2,i=-1;if(n!==null)for(let o=0;o<n.length;o++){let s=n[o];typeof s=="number"?i=s:i===r&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),ko(t,s,e?!0:n[++o]))}return t===void 0?null:t}function iM(t,n,e){if(e==null||e==="")return je;let r=[],i=dt(e);if(Array.isArray(i))for(let o=0;o<i.length;o++)t(r,i[o],!0);else if(typeof i=="object")for(let o in i)i.hasOwnProperty(o)&&t(r,o,i[o]);else typeof i=="string"&&n(r,i);return r}function L_(t,n,e){ko(t,n,dt(e))}function oM(t,n,e){let r=String(n);r!==""&&!r.includes(" ")&&ko(t,r,e)}function sM(t,n,e,r,i,o,s,a){i===Ze&&(i=je);let l=0,c=0,d=0<i.length?i[0]:null,f=0<o.length?o[0]:null;for(;d!==null||f!==null;){let p=l<i.length?i[l+1]:void 0,h=c<o.length?o[c+1]:void 0,m=null,v;d===f?(l+=2,c+=2,p!==h&&(m=f,v=h)):f===null||d!==null&&d<f?(l+=2,m=d):(c+=2,m=f,v=h),m!==null&&V_(t,n,e,r,m,v,s,a),d=l<i.length?i[l]:null,f=c<o.length?o[c]:null}}function V_(t,n,e,r,i,o,s,a){if(!(n.type&3))return;let l=t.data,c=l[a+1],d=HS(c)?Ev(l,n,e,i,Ti(c),s):void 0;if(!gl(d)){gl(o)||jS(c)&&(o=Ev(l,null,e,i,a,s));let f=su(At(),e);yx(r,s,f,i,o)}}function Ev(t,n,e,r,i,o){let s=n===null,a;for(;i>0;){let l=t[i],c=Array.isArray(l),d=c?l[1]:l,f=d===null,p=e[i+1];p===Ze&&(p=f?je:void 0);let h=f?Na(p,r):d===r?p:void 0;if(c&&!gl(h)&&(h=Na(l,r)),gl(h)&&(a=h,s))return a;let m=t[i+1];i=s?Fr(m):Ti(m)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(a=Na(l,r))}return a}function gl(t){return t!==void 0}function aM(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Mn(dt(t)))),t}function j_(t,n){return(t.flags&(n?8:16))!==0}function bh(t,n=""){let e=I(),r=te(),i=t+J,o=r.firstCreatePass?Pr(r,i,1,n,null):r.data[i],s=lM(r,e,o,n,t);e[i]=s,Ga()&&Gf(r,e,s,o),Mr(o,!1)}var lM=(t,n,e,r,i)=>(Uo(!0),RI(n[oe],r));function B_(t,n,e,r=""){return ot(t,an(),e)?n+Fn(e)+r:Ze}function cM(t,n,e,r,i,o=""){let s=yg(),a=Si(t,s,e,i);return Ba(2),a?n+Fn(e)+r+Fn(i)+o:Ze}function Bl(t){return Dh("",t),Bl}function Dh(t,n,e){let r=I(),i=B_(r,t,n,e);return i!==Ze&&U_(r,At(),i),Dh}function H_(t,n,e,r,i){let o=I(),s=cM(o,t,n,e,r,i);return s!==Ze&&U_(o,At(),s),H_}function U_(t,n,e){let r=su(n,t);OI(t[oe],r,e)}function z_(t,n,e){fh(n)&&(n=n());let r=I(),i=an();if(ot(r,i,n)){let o=te(),s=_i();wy(s,r,t,n,r[oe],e)}return z_}function dM(t,n){let e=fh(t);return e&&t.set(n),e}function $_(t,n){let e=I(),r=te(),i=pe();return M_(r,e,e[oe],i,t,n),$_}var G_={};function W_(t){Zt("NgLet");let n=te(),e=I(),r=t+J,i=Pr(n,r,128,null,null);return Mr(i,!1),jo(n,e,r,G_),W_}function uM(t){let n=te(),e=I(),r=At();return jo(n,e,r,t),t}function fM(t){let n=_u(),e=yi(n,J+t);if(e===G_)throw new w(314,!1);return e}function hM(t,n,e=""){return B_(I(),t,n,e)}function Cv(t,n,e){let r=te();r.firstCreatePass&&q_(n,r.data,r.blueprint,Tt(t),e)}function q_(t,n,e,r,i){if(t=Ie(t),Array.isArray(t))for(let o=0;o<t.length;o++)q_(t[o],n,e,r,i);else{let o=te(),s=I(),a=pe(),l=vr(t)?t:Ie(t.provide),c=tu(t),d=a.providerIndexes&1048575,f=a.directiveStart,p=a.providerIndexes>>20;if(vr(t)||!t.multi){let h=new Ar(c,i,$,null),m=ju(l,n,i?d:d+p,f);m===-1?(Hu(ll(a,s),o,l),Vu(o,t,n.length),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),e.push(h),s.push(h)):(e[m]=h,s[m]=h)}else{let h=ju(l,n,d+p,f),m=ju(l,n,d,d+p),v=h>=0&&e[h],_=m>=0&&e[m];if(i&&!_||!i&&!v){Hu(ll(a,s),o,l);let b=gM(i?mM:pM,e.length,i,r,c,t);!i&&_&&(e[m].providerFactory=b),Vu(o,t,n.length,0),n.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),e.push(b),s.push(b)}else{let b=Y_(e[i?m:h],c,!i&&r);Vu(o,t,h>-1?h:m,b)}!i&&r&&_&&e[m].componentProviders++}}}function Vu(t,n,e,r){let i=vr(n),o=ag(n);if(i||o){let l=(o?Ie(n.useClass):n).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!i&&n.multi){let d=c.indexOf(e);d===-1?c.push(e,[r,l]):c[d+1].push(r,l)}else c.push(e,l)}}}function Y_(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function ju(t,n,e,r){for(let i=e;i<r;i++)if(n[i]===t)return i;return-1}function pM(t,n,e,r,i){return Ef(this.multi,[])}function mM(t,n,e,r,i){let o=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,l=Wo(r,r[x],this.providerFactory.index,i);s=l.slice(0,a),Ef(o,s);for(let c=a;c<l.length;c++)s.push(l[c])}else s=[],Ef(o,s);return s}function Ef(t,n){for(let e=0;e<t.length;e++){let r=t[e];n.push(r())}return n}function gM(t,n,e,r,i,o){let s=new Ar(t,e,$,null);return s.multi=[],s.index=n,s.componentProviders=0,Y_(s,i,r&&!e),s}function ce(t,n){return e=>{e.providersResolver=(r,i)=>Cv(r,i?i(t):t,!1),n&&(e.viewProvidersResolver=(r,i)=>Cv(r,i?i(n):n,!0))}}function vM(t,n,e){let r=sn()+t,i=I();return i[r]===Ze?rs(i,r,e?n.call(e):n()):qy(i,r)}function yM(t,n,e,r){return Z_(I(),sn(),t,n,e,r)}function _M(t,n,e,r,i){return K_(I(),sn(),t,n,e,r,i)}function bM(t,n,e,r,i,o){return Q_(I(),sn(),t,n,e,r,i,o)}function DM(t,n,e,r,i,o,s,a,l){let c=sn()+t,d=I(),f=u0(d,c,e,r,i,o);return Si(d,c+4,s,a)||f?rs(d,c+6,l?n.call(l,e,r,i,o,s,a):n(e,r,i,o,s,a)):qy(d,c+6)}function Eh(t,n){let e=t[n];return e===Ze?void 0:e}function Z_(t,n,e,r,i,o){let s=n+e;return ot(t,s,i)?rs(t,s+1,o?r.call(o,i):r(i)):Eh(t,s+1)}function K_(t,n,e,r,i,o,s){let a=n+e;return Si(t,a,i,o)?rs(t,a+2,s?r.call(s,i,o):r(i,o)):Eh(t,a+2)}function Q_(t,n,e,r,i,o,s,a){let l=n+e;return d0(t,l,i,o,s)?rs(t,l+3,a?r.call(a,i,o,s):r(i,o,s)):Eh(t,l+3)}function EM(t,n){let e=te(),r,i=t+J;e.firstCreatePass?(r=CM(n,e.pipeRegistry),e.data[i]=r,r.onDestroy&&(e.destroyHooks??=[]).push(i,r.onDestroy)):r=e.data[i];let o=r.factory||(r.factory=Tn(r.type,!0)),s,a=Ge($);try{let l=al(!1),c=o();return al(l),jo(e,I(),i,c),c}finally{Ge(a)}}function CM(t,n){if(n)for(let e=n.length-1;e>=0;e--){let r=n[e];if(t===r.name)return r}}function wM(t,n,e){let r=t+J,i=I(),o=yi(i,r);return Ch(i,r)?Z_(i,sn(),n,o.transform,e,o):o.transform(e)}function IM(t,n,e,r){let i=t+J,o=I(),s=yi(o,i);return Ch(o,i)?K_(o,sn(),n,s.transform,e,r,s):s.transform(e,r)}function xM(t,n,e,r,i){let o=t+J,s=I(),a=yi(s,o);return Ch(s,o)?Q_(s,sn(),n,a.transform,e,r,i,a):a.transform(e,r,i)}function Ch(t,n){return t[x].data[n].pure}function wh(t,n){return Tl(t,n)}var X_=(()=>{class t{applicationErrorHandler=u(ln);appRef=u(ut);taskService=u(Hn);ngZone=u(C);zonelessEnabled=u(Di);tracing=u(Yt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new j;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(No):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(Wa,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;case 9:case 8:case 7:case 10:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Iu:wu;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.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(No+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.taskService.remove(e),this.applicationErrorHandler(r)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Iu(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function J_(){return[{provide:It,useExisting:X_},{provide:C,useClass:Ro},{provide:Di,useValue:!0}]}function SM(){return typeof $localize<"u"&&$localize.locale||is}var Hl=new g("",{factory:()=>u(Hl,{optional:!0,skipSelf:!0})||SM()});var Ul=class{destroyed=!1;listeners=null;errorHandler=u(Be,{optional:!0});destroyRef=u(rt);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new w(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let e=this.listeners?.indexOf(n);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(n){if(this.destroyed){console.warn(Rn(953,!1));return}if(this.listeners===null)return;let e=M(null);try{for(let r of this.listeners)try{r(n)}catch(i){this.errorHandler?.handleError(i)}}finally{M(e)}}};function Pe(t,n){return ao(t,n?.equal)}var MM=t=>t;function Ih(t,n){if(typeof t=="function"){let e=Ad(t,MM,n?.equal);return eb(e,n?.debugName)}else{let e=Ad(t.source,t.computation,t.equal);return eb(e,t.debugName)}}function eb(t,n){let e=t[me],r=t;return r.set=i=>zm(e,i),r.update=i=>$m(e,i),r.asReadonly=zo.bind(t),r}function TM(t){let n=t.request,e=t.params??n??(()=>null);return new zl(e,NM(t),t.defaultValue,t.equal?AM(t.equal):void 0,t.debugName,t.injector??u(P))}var xh=class{value;isLoading;constructor(n,e){this.value=n,this.value.set=this.set.bind(this),this.value.update=this.update.bind(this),this.value.asReadonly=zo,this.isLoading=Pe(()=>this.status()==="loading"||this.status()==="reloading",void 0)}isError=Pe(()=>this.status()==="error");update(n){this.set(n(le(this.value)))}isValueDefined=Pe(()=>this.isError()?!1:this.value()!==void 0);hasValue(){return this.isValueDefined()}asReadonly(){return this}},zl=class extends xh{loaderFn;equal;debugName;pendingTasks;state;extRequest;effectRef;pendingController;resolvePendingTask=void 0;destroyed=!1;unregisterOnDestroy;status;error;constructor(n,e,r,i,o,s){super(Pe(()=>{let a=this.state().stream?.();if(!a||this.state().status==="loading"&&this.error())return r;if(!Sh(a))throw new Mh(this.error());return a.value},{equal:i}),o),this.loaderFn=e,this.equal=i,this.debugName=o,this.extRequest=Ih({source:n,computation:a=>({request:a,reload:0})}),this.state=Ih({source:this.extRequest,computation:(a,l)=>{let c=a.request===void 0?"idle":"loading";return l?{extRequest:a,status:c,previousStatus:tb(l.value),stream:l.value.extRequest.request===a.request?l.value.stream:void 0}:{extRequest:a,status:c,previousStatus:"idle",stream:void 0}}}),this.effectRef=Nt(this.loadEffect.bind(this),{injector:s,manualCleanup:!0}),this.pendingTasks=s.get(Un),this.unregisterOnDestroy=s.get(rt).onDestroy(()=>this.destroy()),this.status=Pe(()=>tb(this.state()),void 0),this.error=Pe(()=>{let a=this.state().stream?.();return a&&!Sh(a)?a.error:void 0},void 0)}set(n){if(this.destroyed)return;let e=le(this.error),r=le(this.state);if(!e){let i=le(this.value);if(r.status==="local"&&(this.equal?this.equal(i,n):i===n))return}this.state.set({extRequest:r.extRequest,status:"local",previousStatus:"local",stream:ae({value:n},void 0)}),this.abortInProgressLoad()}reload(){let{status:n}=le(this.state);return n==="idle"||n==="loading"?!1:(this.extRequest.update(({request:e,reload:r})=>({request:e,reload:r+1})),!0)}destroy(){this.destroyed=!0,this.unregisterOnDestroy(),this.effectRef.destroy(),this.abortInProgressLoad(),this.state.set({extRequest:{request:void 0,reload:0},status:"idle",previousStatus:"idle",stream:void 0})}loadEffect(){return Zr(this,null,function*(){let n=this.extRequest(),{status:e,previousStatus:r}=le(this.state);if(n.request===void 0)return;if(e!=="loading")return;this.abortInProgressLoad();let i=this.resolvePendingTask=this.pendingTasks.add(),{signal:o}=this.pendingController=new AbortController;try{let s=yield le(()=>this.loaderFn({params:n.request,request:n.request,abortSignal:o,previous:{status:r}}));if(o.aborted||le(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"resolved",stream:s})}catch(s){if(o.aborted||le(this.extRequest)!==n)return;this.state.set({extRequest:n,status:"resolved",previousStatus:"error",stream:ae({error:Ah(s)},void 0)})}finally{i?.(),i=void 0}})}abortInProgressLoad(){le(()=>this.pendingController?.abort()),this.pendingController=void 0,this.resolvePendingTask?.(),this.resolvePendingTask=void 0}};function AM(t){return(n,e)=>n===void 0||e===void 0?n===e:t(n,e)}function NM(t){return RM(t)?t.stream:n=>Zr(null,null,function*(){try{return ae({value:yield t.loader(n)},void 0)}catch(e){return ae({error:Ah(e)},void 0)}})}function RM(t){return!!t.stream}function tb(t){switch(t.status){case"loading":return t.extRequest.reload===0?"loading":"reloading";case"resolved":return Sh(t.stream())?"resolved":"error";default:return t.status}}function Sh(t){return t.error===void 0}function Ah(t){return OM(t)?t:new Th(t)}function OM(t){return t instanceof Error||typeof t=="object"&&typeof t.name=="string"&&typeof t.message=="string"}var Mh=class extends Error{constructor(n){super(n.message,{cause:n})}},Th=class extends Error{constructor(n){super(String(n),{cause:n})}};var lb=Symbol("InputSignalNode#UNSET"),qM=W(E({},lo),{transformFn:void 0,applyValueToInputSignal(t,n){or(t,n)}});function cb(t,n){let e=Object.create(qM);e.value=t,e.transformFn=n?.transform;function r(){if(Dn(e),e.value===lb){let i=null;throw new w(-950,i)}return e.value}return r[me]=e,r}var Gl=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>wf(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},_8=(()=>{let t=new g("");return t.__NG_ELEMENT_ID__=n=>{let e=pe();if(e===null)throw new w(204,!1);if(e.type&2)return e.value;if(n&8)return null;throw new w(204,!1)},t})();function b8(t){return new Ul}function nb(t,n){return cb(t,n)}function YM(t){return cb(lb,t)}var D8=(nb.required=YM,nb);function rb(t,n){return oh(n)}function ZM(t,n){return sh(n)}var as=(rb.required=ZM,rb);function E8(t,n){return ah(n)}function ib(t,n){return oh(n)}function KM(t,n){return sh(n)}var db=(ib.required=KM,ib);function C8(t,n){return ah(n)}var QM=(()=>{class t{zone=u(C);changeDetectionScheduler=u(It);applicationRef=u(ut);applicationErrorHandler=u(ln);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),XM=new g("",{factory:()=>!1});function JM({ngZoneFactory:t,scheduleInRootZone:n}){return t??=()=>new C(W(E({},ub()),{scheduleInRootZone:n})),[{provide:Di,useValue:!1},{provide:C,useFactory:t},{provide:kn,multi:!0,useFactory:()=>{let e=u(QM,{optional:!0});return()=>e.initialize()}},{provide:kn,multi:!0,useFactory:()=>{let e=u(eT);return()=>{e.initialize()}}},{provide:Wa,useValue:n??Cu}]}function w8(t){let n=t?.scheduleInRootZone,e=JM({ngZoneFactory:()=>{let r=ub(t);return r.scheduleInRootZone=n,r.shouldCoalesceEventChangeDetection&&Zt("NgZone_CoalesceEvent"),new C(r)},scheduleInRootZone:n});return ui([{provide:XM,useValue:!0},e])}function ub(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var eT=(()=>{class t{subscription=new j;initialized=!1;zone=u(C);pendingTasks=u(Hn);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{C.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{C.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Rh=new g(""),tT=new g("");function ss(t){return!t.moduleRef}function nT(t){let n=ss(t)?t.r3Injector:t.moduleRef.injector,e=n.get(C);return e.run(()=>{ss(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=n.get(ln),i;if(e.runOutsideAngular(()=>{i=e.onError.subscribe({next:r})}),ss(t)){let o=()=>n.destroy(),s=t.platformInjector.get(Rh);s.add(o),n.onDestroy(()=>{i.unsubscribe(),s.delete(o)})}else{let o=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Rh);s.add(o),t.moduleRef.onDestroy(()=>{Go(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(o)})}return iT(r,e,()=>{let o=n.get(Hn),s=o.add(),a=n.get(mh);return a.runInitializers(),a.donePromise.then(()=>{let l=n.get(Hl,is);if(x_(l||is),!n.get(tT,!0))return ss(t)?n.get(ut):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(ss(t)){let d=n.get(ut);return t.rootComponent!==void 0&&d.bootstrap(t.rootComponent),d}else return rT?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>void o.remove(s))})})}var rT;function iT(t,n,e){try{let r=e();return Li(r)?r.catch(i=>{throw n.runOutsideAngular(()=>t(i)),i}):r}catch(r){throw n.runOutsideAngular(()=>t(r)),r}}var $l=null;function oT(t=[],n){return P.create({name:n,providers:[{provide:Po,useValue:"platform"},{provide:Rh,useValue:new Set([()=>$l=null])},...t]})}function sT(t=[]){if($l)return $l;let n=oT(t);return $l=n,__(),aT(n),n}function aT(t){let n=t.get(vl,null);hi(t,()=>{n?.forEach(e=>e())})}function I8(){return!1}var pn=(()=>{class t{static __NG_ELEMENT_ID__=lT}return t})();function lT(t){return cT(pe(),I(),(t&16)===16)}function cT(t,n,e){if(on(t)&&!e){let r=yt(t.index,n);return new $n(r,r)}else if(t.type&175){let r=n[Ye];return new $n(r,n)}return null}var Oh=class{constructor(){}supports(n){return th(n)}create(n){return new Fh(n)}},dT=(t,n)=>n,Fh=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||dT}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,r=this._removalsHead,i=0,o=null;for(;e||r;){let s=!r||e&&e.currentIndex<ob(r,i,o)?e:r,a=ob(s,i,o),l=s.currentIndex;if(s===r)i--,r=r._nextRemoved;else if(e=e._next,s.previousIndex==null)i++;else{o||(o=[]);let c=a-i,d=l-i;if(c!=d){for(let p=0;p<c;p++){let h=p<o.length?o[p]:o[p]=0,m=h+p;d<=m&&m<c&&(o[p]=h+1)}let f=s.previousIndex;o[f]=d-c}}a!==l&&n(s,a,l)}}forEachPreviousItem(n){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)n(e)}forEachAddedItem(n){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)n(e)}forEachMovedItem(n){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)n(e)}forEachRemovedItem(n){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)n(e)}forEachIdentityChange(n){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)n(e)}diff(n){if(n==null&&(n=[]),!th(n))throw new w(900,!1);return this.check(n)?this:null}onDestroy(){}check(n){this._reset();let e=this._itHead,r=!1,i,o,s;if(Array.isArray(n)){this.length=n.length;for(let a=0;a<this.length;a++)o=n[a],s=this._trackByFn(a,o),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,o,s,a),r=!0):(r&&(e=this._verifyReinsertion(e,o,s,a)),Object.is(e.item,o)||this._addIdentityChange(e,o)),e=e._next}else i=0,Gy(n,a=>{s=this._trackByFn(i,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,i),r=!0):(r&&(e=this._verifyReinsertion(e,a,s,i)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,i++}),this.length=i;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,r,i){let o;return n===null?o=this._itTail:(o=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,i)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,i),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,i)):n=this._addAfter(new kh(e,r),o,i)),n}_verifyReinsertion(n,e,r,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return o!==null?n=this._reinsertAfter(o,n._prev,i):n.currentIndex!=i&&(n.currentIndex=i,this._addToMoves(n,i)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let i=n._prevRemoved,o=n._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(n,e,r),this._addToMoves(n,r),n}_moveAfter(n,e,r){return this._unlink(n),this._insertAfter(n,e,r),this._addToMoves(n,r),n}_addAfter(n,e,r){return this._insertAfter(n,e,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,r){let i=e===null?this._itHead:e._next;return n._next=i,n._prev=e,i===null?this._itTail=n:i._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new Wl),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,r=n._next;return e===null?this._itHead=r:e._next=r,r===null?this._itTail=e:r._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Wl),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},kh=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,e){this.item=n,this.trackById=e}},Ph=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let r;for(r=this._head;r!==null;r=r._nextDup)if((e===null||e<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let e=n._prevDup,r=n._nextDup;return e===null?this._head=r:e._nextDup=r,r===null?this._tail=e:r._prevDup=e,this._head===null}},Wl=class{map=new Map;put(n){let e=n.trackById,r=this.map.get(e);r||(r=new Ph,this.map.set(e,r)),r.add(n)}get(n,e){let r=n,i=this.map.get(r);return i?i.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function ob(t,n,e){let r=t.previousIndex;if(r===null)return r;let i=0;return e&&r<e.length&&(i=e[r]),r+n+i}function sb(){return new ls([new Oh])}var ls=(()=>{class t{factories;static \u0275prov=y({token:t,providedIn:"root",factory:sb});constructor(e){this.factories=e}static create(e,r){if(r!=null){let i=r.factories.slice();e=e.concat(i)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let r=u(t,{optional:!0,skipSelf:!0});return t.create(e,r||sb())}}}find(e){let r=this.factories.find(i=>i.supports(e));if(r!=null)return r;throw new w(901,!1)}}return t})();function fb(t){let{rootComponent:n,appProviders:e,platformProviders:r,platformRef:i}=t;Z(q.BootstrapApplicationStart);try{let o=i?.injector??sT(r),s=[J_(),Fg,...e||[]],a=new Ko({providers:s,parent:o,debugName:"",runEnvironmentInitializers:!1});return nT({r3Injector:a.injector,platformInjector:o,rootComponent:n})}catch(o){return Promise.reject(o)}finally{Z(q.BootstrapApplicationEnd)}}function ie(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function hb(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var Nh=Symbol("NOT_SET"),pb=new Set,uT=W(E({},lo),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Nh,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(t){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Nh&&!Qr(this))return this.signal;try{for(let i of this.cleanup??pb)i()}finally{this.cleanup?.clear()}let n=[];t!==void 0&&n.push(t),n.push(this.registerCleanupFn);let e=Jt(this),r;try{r=this.userFn.apply(null,n)}finally{En(this,e)}return(this.value===Nh||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),Lh=class extends qo{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,e,r,i,o,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,o.get(rt),s),this.scheduler=i;for(let a of Uf){let l=e[a];if(l===void 0)continue;let c=Object.create(uT);c.sequence=this,c.phase=a,c.userFn=l,c.dirty=!0,c.signal=()=>(Dn(c),c.value),c.signal[me]=c,c.registerCleanupFn=d=>(c.cleanup??=new Set).add(d),this.nodes[a]=c,this.hooks[a]=d=>c.phaseFn(d)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let e of n.cleanup??pb)e()}finally{Cn(n)}}};function mb(t,n){let e=n?.injector??u(P),r=e.get(It),i=e.get(Cl),o=e.get(Yt,null,{optional:!0});i.impl??=e.get(zf);let s=t;typeof s=="function"&&(s={mixedReadWrite:t});let a=e.get(bi,null,{optional:!0}),l=new Lh(i.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,e,o?.snapshot(null));return i.impl.register(l),l}function ql(t,n){let e=rn(t),r=n.elementInjector||fi();return new Mi(e).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var gb=null;function _t(){return gb}function Vh(t){gb??=t}var cs=class{},Vi=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>u(vb),providedIn:"platform"})}return t})();var vb=(()=>{class t extends Vi{_location;_history;_doc=u(R);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _t().getBaseHref(this._doc)}onPopState(e){let r=_t().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=_t().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,r,i){this._history.pushState(e,r,i)}replaceState(e,r,i){this._history.replaceState(e,r,i)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function bb(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function yb(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function Yn(t){return t&&t[0]!=="?"?`?${t}`:t}var Yl=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:()=>u(hT),providedIn:"root"})}return t})(),fT=new g(""),hT=(()=>{class t extends Yl{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??u(R).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return bb(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+Yn(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${r}${i}`:r}pushState(e,r,i,o){let s=this.prepareExternalUrl(i+Yn(o));this._platformLocation.pushState(e,r,s)}replaceState(e,r,i,o){let s=this.prepareExternalUrl(i+Yn(o));this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(A(Vi),A(fT,8))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Zl=(()=>{class t{_subject=new D;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=gT(yb(_b(r))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+Yn(r))}normalize(e){return t.stripTrailingSlash(mT(this._basePath,_b(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",i=null){this._locationStrategy.pushState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Yn(r)),i)}replaceState(e,r="",i=null){this._locationStrategy.replaceState(i,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Yn(r)),i)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(i=>i(e,r))}subscribe(e,r,i){return this._subject.subscribe({next:e,error:r??void 0,complete:i??void 0})}static normalizeQueryParams=Yn;static joinWithSlash=bb;static stripTrailingSlash=yb;static \u0275fac=function(r){return new(r||t)(A(Yl))};static \u0275prov=y({token:t,factory:()=>pT(),providedIn:"root"})}return t})();function pT(){return new Zl(A(Yl))}function mT(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function _b(t){return t.replace(/\/index.html$/,"")}function gT(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var jh=/\s+/,Db=[],vT=(()=>{class t{_ngEl;_renderer;initialClasses=Db;rawClass;stateMap=new Map;constructor(e,r){this._ngEl=e,this._renderer=r}set klass(e){this.initialClasses=e!=null?e.trim().split(jh):Db}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(jh):e}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let r of e)this._updateState(r,!0);else if(e!=null)for(let r of Object.keys(e))this._updateState(r,!!e[r]);this._applyStateDiff()}_updateState(e,r){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==r&&(i.changed=!0,i.enabled=r),i.touched=!0):this.stateMap.set(e,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let r=e[0],i=e[1];i.changed?(this._toggleClass(r,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),i.touched=!1}}_toggleClass(e,r){e=e.trim(),e.length>0&&e.split(jh).forEach(i=>{r?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(r){return new(r||t)($(F),$(Me))};static \u0275dir=S({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Kl=class{$implicit;ngForOf;index;count;constructor(n,e,r,i){this.$implicit=n,this.ngForOf=e,this.index=r,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},wb=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,r,i){this._viewContainer=e,this._template=r,this._differs=i}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let r=this._viewContainer;e.forEachOperation((i,o,s)=>{if(i.previousIndex==null)r.createEmbeddedView(this._template,new Kl(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(o===null?void 0:o);else if(o!==null){let a=r.get(o);r.move(a,s),Eb(a,i)}});for(let i=0,o=r.length;i<o;i++){let a=r.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(i=>{let o=r.get(i.currentIndex);Eb(o,i)})}static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)($(Ke),$(He),$(ls))};static \u0275dir=S({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function Eb(t,n){t.context.$implicit=n.item}var yT=(()=>{class t{_viewContainer;_context=new Ql;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,r){this._viewContainer=e,this._thenTemplateRef=r}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Cb(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Cb(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)($(Ke),$(He))};static \u0275dir=S({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Ql=class{$implicit=null;ngIf=null};function Cb(t,n){if(t&&!t.createEmbeddedView)throw new w(2020,!1)}var Bh=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let i=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,r,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,i):!1,get:(e,r,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,i)}})}static \u0275fac=function(r){return new(r||t)($(Ke))};static \u0275dir=S({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Fe]})}return t})();var _T=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=ch({name:"json",type:t,pure:!1})}return t})();var Ib=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({})}return t})();function ds(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let r=e.indexOf("="),[i,o]=r==-1?[e,""]:[e.slice(0,r),e.slice(r+1)];if(i.trim()===n)return decodeURIComponent(o)}return null}var jr=class{};var Hh="browser";function xb(t){return t===Hh}var us=class{_doc;constructor(n){this._doc=n}manager},Xl=(()=>{class t extends us{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,i,o){return e.addEventListener(r,i,o),()=>this.removeEventListener(e,r,i,o)}removeEventListener(e,r,i,o){return e.removeEventListener(r,i,o)}static \u0275fac=function(r){return new(r||t)(A(R))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),tc=new g(""),Gh=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let i=e.filter(s=>!(s instanceof Xl));this._plugins=i.slice().reverse();let o=e.find(s=>s instanceof Xl);o&&this._plugins.push(o)}addEventListener(e,r,i,o){return this._findPluginFor(r).addEventListener(e,r,i,o)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(o=>o.supports(e)),!r)throw new w(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(A(tc),A(C))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),Uh="ng-app-id";function Sb(t){for(let n of t)n.remove()}function Mb(t,n){let e=n.createElement("style");return e.textContent=t,e}function bT(t,n,e,r){let i=t.head?.querySelectorAll(`style[${Uh}="${n}"],link[${Uh}="${n}"]`);if(i)for(let o of i)o.removeAttribute(Uh),o instanceof HTMLLinkElement?r.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function $h(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Wh=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,i,o={}){this.doc=e,this.appId=r,this.nonce=i,bT(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let i of e)this.addUsage(i,this.inline,Mb);r?.forEach(i=>this.addUsage(i,this.external,$h))}removeStyles(e,r){for(let i of e)this.removeUsage(i,this.inline);r?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,r,i){let o=r.get(e);o?o.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,r){let i=r.get(e);i&&(i.usage--,i.usage<=0&&(Sb(i.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Sb(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:i}]of this.inline)i.push(this.addElement(e,Mb(r,this.doc)));for(let[r,{elements:i}]of this.external)i.push(this.addElement(e,$h(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(A(R),A(Wn),A(Ri,8),A(kr))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),zh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},qh=/%COMP%/g;var Ab="%COMP%",DT=`_nghost-${Ab}`,ET=`_ngcontent-${Ab}`,CT=!0,wT=new g("",{factory:()=>CT});function IT(t){return ET.replace(qh,t)}function xT(t){return DT.replace(qh,t)}function Nb(t,n){return n.map(e=>e.replace(qh,t))}var Yh=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,r,i,o,s,a,l=null,c=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.ngZone=a,this.nonce=l,this.tracingService=c,this.platformIsServer=!1,this.defaultRenderer=new fs(e,s,a,this.platformIsServer,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let i=this.getOrCreateRenderer(e,r);return i instanceof ec?i.applyToHost(e):i instanceof hs&&i.applyStyles(),i}getOrCreateRenderer(e,r){let i=this.rendererByCompId,o=i.get(r.id);if(!o){let s=this.doc,a=this.ngZone,l=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,f=this.platformIsServer,p=this.tracingService;switch(r.encapsulation){case Ot.Emulated:o=new ec(l,c,r,this.appId,d,s,a,f,p);break;case Ot.ShadowDom:return new Jl(l,e,r,s,a,this.nonce,f,p,c);case Ot.ExperimentalIsolatedShadowDom:return new Jl(l,e,r,s,a,this.nonce,f,p);default:o=new hs(l,c,r,d,s,a,f,p);break}i.set(r.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||t)(A(Gh),A(Wh),A(Wn),A(wT),A(R),A(C),A(Ri),A(Yt,8))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),fs=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,i,o){this.eventManager=n,this.doc=e,this.ngZone=r,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(zh[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Tb(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(Tb(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new w(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,i){if(i){e=i+":"+e;let o=zh[i];o?n.setAttributeNS(o,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let i=zh[r];i?n.removeAttributeNS(i,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,i){i&(Wt.DashCase|Wt.Important)?n.style.setProperty(e,r,i&Wt.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&Wt.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,i){if(typeof n=="string"&&(n=_t().getGlobalEventTarget(this.doc,n),!n))throw new w(5102,!1);let o=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(n,e,o)),this.eventManager.addEventListener(n,e,o,i)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function Tb(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Jl=class extends fs{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,r,i,o,s,a,l,c){super(n,i,o,a,l),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let d=r.styles;d=Nb(r.id,d);for(let p of d){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=p,this.shadowRoot.appendChild(h)}let f=r.getExternalStyles?.();if(f)for(let p of f){let h=$h(p,i);s&&h.setAttribute("nonce",s),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},hs=class extends fs{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,i,o,s,a,l,c){super(n,o,s,a,l),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let d=r.styles;this.styles=c?Nb(c,d):d,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Nr.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ec=class extends hs{contentAttr;hostAttr;constructor(n,e,r,i,o,s,a,l,c){let d=i+"-"+r.id;super(n,e,r,o,s,a,l,c,d),this.contentAttr=IT(d),this.hostAttr=xT(d)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}};var nc=class t extends cs{supportsDOMEvents=!0;static makeCurrent(){Vh(new t)}onAndCancel(n,e,r,i){return n.addEventListener(e,r,i),()=>{n.removeEventListener(e,r,i)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=ST();return e==null?null:MT(e)}resetBaseElement(){ps=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return ds(document.cookie,n)}},ps=null;function ST(){return ps=ps||document.head.querySelector("base"),ps?ps.getAttribute("href"):null}function MT(t){return new URL(t,document.baseURI).pathname}var TT=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})(),Rb=["alt","control","meta","shift"],AT={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},NT={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Ob=(()=>{class t extends us{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,i,o){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>_t().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let r=e.toLowerCase().split("."),i=r.shift();if(r.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Rb.forEach(c=>{let d=r.indexOf(c);d>-1&&(r.splice(d,1),s+=c+".")}),s+=o,r.length!=0||o.length===0)return null;let l={};return l.domEventName=i,l.fullKey=s,l}static matchEventFullKeyCode(e,r){let i=AT[e.key]||e.key,o="";return r.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),Rb.forEach(s=>{if(s!==i){let a=NT[s];a(e)&&(o+=s+".")}}),o+=i,o===r)}static eventCallback(e,r,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>r(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(A(R))};static \u0275prov=y({token:t,factory:t.\u0275fac})}return t})();function RT(t,n,e){let r=E({rootComponent:t,platformRef:e?.platformRef},OT(n));return fb(r)}function OT(t){return{appProviders:[...VT,...t?.providers??[]],platformProviders:LT}}function FT(){nc.makeCurrent()}function kT(){return new Be}function PT(){return xf(document),document}var LT=[{provide:kr,useValue:Hh},{provide:vl,useValue:FT,multi:!0},{provide:R,useFactory:PT}];var VT=[{provide:Po,useValue:"root"},{provide:Be,useFactory:kT},{provide:tc,useClass:Xl,multi:!0},{provide:tc,useClass:Ob,multi:!0},Yh,Wh,Gh,{provide:Ee,useExisting:Yh},{provide:jr,useClass:TT},[]];var Zn=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(`
5
- `).forEach(e=>{let r=e.indexOf(":");if(r>0){let i=e.slice(0,r),o=e.slice(r+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let i=(n.op==="a"?this.headers.get(e):void 0)||[];i.push(...r),this.headers.set(e,i);break;case"d":let o=n.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=n.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(n,i)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var ic=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},oc=class{encodeKey(n){return Fb(n)}encodeValue(n){return Fb(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function jT(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[n.decodeKey(i),""]:[n.decodeKey(i.slice(0,o)),n.decodeValue(i.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}var BT=/%(\d[a-f0-9])/gi,HT={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Fb(t){return encodeURIComponent(t).replace(BT,(n,e)=>HT[e]??n)}function rc(t){return`${t}`}var mn=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new oc,n.fromString){if(n.fromObject)throw new w(2805,!1);this.map=jT(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],i=Array.isArray(r)?r.map(rc):[rc(r)];this.map.set(e,i)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let i=n[r];Array.isArray(i)?i.forEach(o=>{e.push({param:r,value:o,op:"a"})}):e.push({param:r,value:i,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=(n.op==="a"?this.map.get(n.param):void 0)||[];e.push(rc(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=this.map.get(n.param)||[],i=r.indexOf(rc(n.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null)}};function UT(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function kb(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Pb(t){return typeof Blob<"u"&&t instanceof Blob}function Lb(t){return typeof FormData<"u"&&t instanceof FormData}function zT(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Vb="Content-Type",jb="Accept",Hb="text/plain",Ub="application/json",$T=`${Ub}, ${Hb}, */*`,ji=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,r,i){this.url=e,this.method=n.toUpperCase();let o;if(UT(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new w(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new Zn,this.context??=new ic,!this.params)this.params=new mn,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),l=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+l+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||kb(this.body)||Pb(this.body)||Lb(this.body)||zT(this.body)?this.body:this.body instanceof mn?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||Lb(this.body)?null:Pb(this.body)?this.body.type||null:kb(this.body)?null:typeof this.body=="string"?Hb:this.body instanceof mn?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Ub:null}clone(n={}){let e=n.method||this.method,r=n.url||this.url,i=n.responseType||this.responseType,o=n.keepalive??this.keepalive,s=n.priority||this.priority,a=n.cache||this.cache,l=n.mode||this.mode,c=n.redirect||this.redirect,d=n.credentials||this.credentials,f=n.referrer||this.referrer,p=n.integrity||this.integrity,h=n.referrerPolicy||this.referrerPolicy,m=n.transferCache??this.transferCache,v=n.timeout??this.timeout,_=n.body!==void 0?n.body:this.body,b=n.withCredentials??this.withCredentials,H=n.reportProgress??this.reportProgress,Re=n.headers||this.headers,de=n.params||this.params,yn=n.context??this.context;return n.setHeaders!==void 0&&(Re=Object.keys(n.setHeaders).reduce((Et,nr)=>Et.set(nr,n.setHeaders[nr]),Re)),n.setParams&&(de=Object.keys(n.setParams).reduce((Et,nr)=>Et.set(nr,n.setParams[nr]),de)),new t(e,r,_,{params:de,headers:Re,context:yn,reportProgress:H,responseType:i,withCredentials:b,transferCache:m,keepalive:o,cache:a,priority:s,timeout:v,mode:l,redirect:c,credentials:d,referrer:f,integrity:p,referrerPolicy:h})}},Br=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(Br||{}),Hi=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,r="OK"){this.headers=n.headers||new Zn,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},sc=class t extends Hi{constructor(n={}){super(n)}type=Br.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},ms=class t extends Hi{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=Br.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},Bi=class extends Hi{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},GT=200,WT=204;var qT=new g("");var YT=/^\)\]\}',?\n/;var Kh=(()=>{class t{xhrFactory;tracingService=u(Yt,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new w(-2800,!1);let r=this.xhrFactory;return ge(null).pipe(xo(()=>new N(o=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((_,b)=>s.setRequestHeader(_,b.join(","))),e.headers.has(jb)||s.setRequestHeader(jb,$T),!e.headers.has(Vb)){let _=e.detectContentTypeHeader();_!==null&&s.setRequestHeader(Vb,_)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let _=e.responseType.toLowerCase();s.responseType=_!=="json"?_:"text"}let a=e.serializeBody(),l=null,c=()=>{if(l!==null)return l;let _=s.statusText||"OK",b=new Zn(s.getAllResponseHeaders()),H=s.responseURL||e.url;return l=new sc({headers:b,status:s.status,statusText:_,url:H}),l},d=this.maybePropagateTrace(()=>{let{headers:_,status:b,statusText:H,url:Re}=c(),de=null;b!==WT&&(de=typeof s.response>"u"?s.responseText:s.response),b===0&&(b=de?GT:0);let yn=b>=200&&b<300;if(e.responseType==="json"&&typeof de=="string"){let Et=de;de=de.replace(YT,"");try{de=de!==""?JSON.parse(de):null}catch(nr){de=Et,yn&&(yn=!1,de={error:nr,text:de})}}yn?(o.next(new ms({body:de,headers:_,status:b,statusText:H,url:Re||void 0})),o.complete()):o.error(new Bi({error:de,headers:_,status:b,statusText:H,url:Re||void 0}))}),f=this.maybePropagateTrace(_=>{let{url:b}=c(),H=new Bi({error:_,status:s.status||0,statusText:s.statusText||"Unknown Error",url:b||void 0});o.error(H)}),p=f;e.timeout&&(p=this.maybePropagateTrace(_=>{let{url:b}=c(),H=new Bi({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:b||void 0});o.error(H)}));let h=!1,m=this.maybePropagateTrace(_=>{h||(o.next(c()),h=!0);let b={type:Br.DownloadProgress,loaded:_.loaded};_.lengthComputable&&(b.total=_.total),e.responseType==="text"&&s.responseText&&(b.partialText=s.responseText),o.next(b)}),v=this.maybePropagateTrace(_=>{let b={type:Br.UploadProgress,loaded:_.loaded};_.lengthComputable&&(b.total=_.total),o.next(b)});return s.addEventListener("load",d),s.addEventListener("error",f),s.addEventListener("timeout",p),s.addEventListener("abort",f),e.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),o.next({type:Br.Sent}),()=>{s.removeEventListener("error",f),s.removeEventListener("abort",f),s.removeEventListener("load",d),s.removeEventListener("timeout",p),e.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(A(jr))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function zb(t,n){return n(t)}function ZT(t,n){return(e,r)=>n.intercept(e,{handle:i=>t(i,r)})}function KT(t,n,e){return(r,i)=>hi(e,()=>n(r,o=>t(o,i)))}var $b=new g(""),Qh=new g("",{factory:()=>[]}),Gb=new g(""),Xh=new g("",{providedIn:"root",factory:()=>!0});function QT(){let t=null;return(n,e)=>{t===null&&(t=(u($b,{optional:!0})??[]).reduceRight(ZT,zb));let r=u(Un);if(u(Xh)){let o=r.add();return t(n,e).pipe(ai(o))}else return t(n,e)}}var Jh=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=A(Kh),i},providedIn:"root"})}return t})();var ac=(()=>{class t{backend;injector;chain=null;pendingTasks=u(Un);contributeToStability=u(Xh);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=Array.from(new Set([...this.injector.get(Qh),...this.injector.get(Gb,[])]));this.chain=r.reduceRight((i,o)=>KT(i,o,this.injector),zb)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(ai(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(A(Jh),A(fe))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ep=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=A(ac),i},providedIn:"root"})}return t})();function Zh(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer,referrerPolicy:t.referrerPolicy}}var lc=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,i={}){let o;if(e instanceof ji)o=e;else{let l;i.headers instanceof Zn?l=i.headers:l=new Zn(i.headers);let c;i.params&&(i.params instanceof mn?c=i.params:c=new mn({fromObject:i.params})),o=new ji(e,r,i.body!==void 0?i.body:null,{headers:l,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect,credentials:i.credentials,referrer:i.referrer,referrerPolicy:i.referrerPolicy,integrity:i.integrity,timeout:i.timeout})}let s=ge(o).pipe(xd(l=>this.handler.handle(l)));if(e instanceof ji||i.observe==="events")return s;let a=s.pipe(ue(l=>l instanceof ms));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(X(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new w(2806,!1);return l.body}));case"blob":return a.pipe(X(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new w(2807,!1);return l.body}));case"text":return a.pipe(X(l=>{if(l.body!==null&&typeof l.body!="string")throw new w(2808,!1);return l.body}));case"json":default:return a.pipe(X(l=>l.body))}case"response":return a;default:throw new w(2809,!1)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new mn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,i={}){return this.request("PATCH",e,Zh(i,r))}post(e,r,i={}){return this.request("POST",e,Zh(i,r))}put(e,r,i={}){return this.request("PUT",e,Zh(i,r))}static \u0275fac=function(r){return new(r||t)(A(ep))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var XT=new g("",{factory:()=>!0}),JT="XSRF-TOKEN",eA=new g("",{providedIn:"root",factory:()=>JT}),tA="X-XSRF-TOKEN",nA=new g("",{providedIn:"root",factory:()=>tA}),rA=(()=>{class t{cookieName=u(eA);doc=u(R);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=ds(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Wb=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=A(rA),i},providedIn:"root"})}return t})();function iA(t,n){if(!u(XT)||t.method==="GET"||t.method==="HEAD")return n(t);try{let i=u(Vi).href,{origin:o}=new URL(i),{origin:s}=new URL(t.url,o);if(o!==s)return n(t)}catch{return n(t)}let e=u(Wb).getToken(),r=u(nA);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}var tp=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(tp||{});function oA(t,n){return{\u0275kind:t,\u0275providers:n}}function sA(...t){let n=[lc,ac,{provide:ep,useExisting:ac},{provide:Jh,useFactory:()=>u(qT,{optional:!0})??u(Kh)},{provide:Qh,useValue:iA,multi:!0}];for(let e of t)n.push(...e.\u0275providers);return ui(n)}var Bb=new g("");function aA(){return oA(tp.LegacyInterceptors,[{provide:Bb,useFactory:QT},{provide:Qh,useExisting:Bb,multi:!0}])}var np=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:function(r){let i=null;return r?i=new(r||t):i=A(cA),i},providedIn:"root"})}return t})(),cA=(()=>{class t extends np{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case Ne.NONE:return r;case Ne.HTML:return qt(r,"HTML")?dt(r):bl(this._doc,String(r)).toString();case Ne.STYLE:return qt(r,"Style")?dt(r):r;case Ne.SCRIPT:if(qt(r,"Script"))return dt(r);throw new w(5200,!1);case Ne.URL:return qt(r,"URL")?dt(r):es(String(r));case Ne.RESOURCE_URL:if(qt(r,"ResourceURL"))return dt(r);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(e){return Nf(e)}bypassSecurityTrustStyle(e){return Rf(e)}bypassSecurityTrustScript(e){return Of(e)}bypassSecurityTrustUrl(e){return Ff(e)}bypassSecurityTrustResourceUrl(e){return kf(e)}static \u0275fac=function(r){return new(r||t)(A(R))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function gs(t){return t.buttons===0||t.detail===0}function vs(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var rp;function qb(){if(rp==null){let t=typeof document<"u"?document.head:null;rp=!!(t&&(t.createShadowRoot||t.attachShadow))}return rp}function ip(t){if(qb()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Hr(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Je(t){return t.composedPath?t.composedPath()[0]:t.target}var op;try{op=typeof Intl<"u"&&Intl.v8BreakIterator}catch{op=!1}var K=(()=>{class t{_platformId=u(kr);isBrowser=this._platformId?xb(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||op)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ys;function Yb(){if(ys==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ys=!0}))}finally{ys=ys||!1}return ys}function Ui(t){return Yb()?t:!!t.capture}function bt(t,n=0){return Zb(t)?Number(t):arguments.length===2?n:0}function Zb(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function et(t){return t instanceof F?t.nativeElement:t}var Kb=new g("cdk-input-modality-detector-options"),Qb={ignoreKeys:[18,17,224,91,16]},Xb=650,sp={passive:!0,capture:!0},Jb=(()=>{class t{_platform=u(K);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new cr(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(r=>r===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Je(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<Xb||(this._modality.next(gs(e)?"keyboard":"mouse"),this._mostRecentTarget=Je(e))};_onTouchstart=e=>{if(vs(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Je(e)};constructor(){let e=u(C),r=u(R),i=u(Kb,{optional:!0});if(this._options=E(E({},Qb),i),this.modalityDetected=this._modality.pipe(Io(1)),this.modalityChanged=this.modalityDetected.pipe(Do()),this._platform.isBrowser){let o=u(Ee).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(r,"keydown",this._onKeydown,sp),o.listen(r,"mousedown",this._onMousedown,sp),o.listen(r,"touchstart",this._onTouchstart,sp)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),_s=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(_s||{}),eD=new g("cdk-focus-monitor-default-options"),cc=Ui({passive:!0,capture:!0}),zi=(()=>{class t{_ngZone=u(C);_platform=u(K);_inputModalityDetector=u(Jb);_origin=null;_lastFocusOrigin;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=u(R);_stopInputModalityDetector=new D;constructor(){let e=u(eD,{optional:!0});this._detectionMode=e?.detectionMode||_s.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let r=Je(e);for(let i=r;i;i=i.parentElement)e.type==="focus"?this._onFocus(e,i):this._onBlur(e,i)};monitor(e,r=!1){let i=et(e);if(!this._platform.isBrowser||i.nodeType!==1)return ge();let o=ip(i)||this._document,s=this._elementInfo.get(i);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new D,rootNode:o};return this._elementInfo.set(i,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let r=et(e),i=this._elementInfo.get(r);i&&(i.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(i))}focusVia(e,r,i){let o=et(e),s=this._document.activeElement;o===s?this._getClosestElementsInfo(o).forEach(([a,l])=>this._originChanged(a,r,l)):(this._setOrigin(r),typeof o.focus=="function"&&o.focus(i))}ngOnDestroy(){this._elementInfo.forEach((e,r)=>this.stopMonitoring(r))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===_s.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,r){e.classList.toggle("cdk-focused",!!r),e.classList.toggle("cdk-touch-focused",r==="touch"),e.classList.toggle("cdk-keyboard-focused",r==="keyboard"),e.classList.toggle("cdk-mouse-focused",r==="mouse"),e.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(e,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&r,this._detectionMode===_s.IMMEDIATE){clearTimeout(this._originTimeoutId);let i=this._originFromTouchInteraction?Xb:1;this._originTimeoutId=setTimeout(()=>this._origin=null,i)}})}_onFocus(e,r){let i=this._elementInfo.get(r),o=Je(e);!i||!i.checkChildren&&r!==o||this._originChanged(r,this._getFocusOrigin(o),i)}_onBlur(e,r){let i=this._elementInfo.get(r);!i||i.checkChildren&&e.relatedTarget instanceof Node&&r.contains(e.relatedTarget)||(this._setClasses(r),this._emitOrigin(i,null))}_emitOrigin(e,r){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(r))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let r=e.rootNode,i=this._rootNodeFocusListenerCount.get(r)||0;i||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,cc),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,cc)}),this._rootNodeFocusListenerCount.set(r,i+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(at(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(e){let r=e.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let i=this._rootNodeFocusListenerCount.get(r);i>1?this._rootNodeFocusListenerCount.set(r,i-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,cc),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,cc),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,r,i){this._setClasses(e,r),this._emitOrigin(i,r),this._lastFocusOrigin=r}_getClosestElementsInfo(e){let r=[];return this._elementInfo.forEach((i,o)=>{(o===e||i.checkChildren&&o.contains(e))&&r.push([o,i])}),r}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:r,mostRecentModality:i}=this._inputModalityDetector;if(i!=="mouse"||!r||r===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let o=e.labels;if(o){for(let s=0;s<o.length;s++)if(o[s].contains(r))return!0}return!1}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),uA=(()=>{class t{_elementRef=u(F);_focusMonitor=u(zi);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new G;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(r=>{this._focusOrigin=r,this.cdkFocusChange.emit(r)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var dc=new WeakMap,st=(()=>{class t{_appRef;_injector=u(P);_environmentInjector=u(fe);load(e){let r=this._appRef=this._appRef||this._injector.get(ut),i=dc.get(r);i||(i={loaders:new Set,refs:[]},dc.set(r,i),r.onDestroy(()=>{dc.get(r)?.refs.forEach(o=>o.destroy()),dc.delete(r)})),i.loaders.has(e)||(i.loaders.add(e),i.refs.push(ql(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var bs=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,i){},styles:[`.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}
6
- `],encapsulation:2,changeDetection:0})}return t})();function $i(t){return Array.isArray(t)?t:[t]}var tD=new Set,Ur,uc=(()=>{class t{_platform=u(K);_nonce=u(Ri,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):hA}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&fA(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function fA(t,n){if(!tD.has(t))try{Ur||(Ur=document.createElement("style"),n&&Ur.setAttribute("nonce",n),Ur.setAttribute("type","text/css"),document.head.appendChild(Ur)),Ur.sheet&&(Ur.sheet.insertRule(`@media ${t} {body{ }}`,0),tD.add(t))}catch(e){console.error(e)}}function hA(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var ap=(()=>{class t{_mediaMatcher=u(uc);_zone=u(C);_queries=new Map;_destroySubject=new D;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return nD($i(e)).some(i=>this._registerQuery(i).mql.matches)}observe(e){let i=nD($i(e)).map(s=>this._registerQuery(s).observable),o=wd(i);return o=si(o.pipe(nt(1)),o.pipe(Io(1),hr(0))),o.pipe(X(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:l,query:c})=>{a.matches=a.matches||l,a.breakpoints[c]=l}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let r=this._mediaMatcher.matchMedia(e),o={observable:new N(s=>{let a=l=>this._zone.run(()=>s.next(l));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(pt(r),X(({matches:s})=>({query:e,matches:s})),at(this._destroySubject)),mql:r};return this._queries.set(e,o),o}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function nD(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function pA(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n<t.addedNodes.length;n++)if(!(t.addedNodes[n]instanceof Comment))return!1;for(let n=0;n<t.removedNodes.length;n++)if(!(t.removedNodes[n]instanceof Comment))return!1;return!0}return!1}var rD=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),iD=(()=>{class t{_mutationObserverFactory=u(rD);_observedElements=new Map;_ngZone=u(C);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,r)=>this._cleanupObserver(r))}observe(e){let r=et(e);return new N(i=>{let s=this._observeElement(r).pipe(X(a=>a.filter(l=>!pA(l))),ue(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{i.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let r=new D,i=this._mutationObserverFactory.create(o=>r.next(o));i&&i.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:i,stream:r,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:r,stream:i}=this._observedElements.get(e);r&&r.disconnect(),i.complete(),this._observedElements.delete(e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),v4=(()=>{class t{_contentObserver=u(iD);_elementRef=u(F);event=new G;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=bt(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(hr(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",ie],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),fc=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({providers:[rD]})}return t})();var pc=(()=>{class t{_platform=u(K);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return gA(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let r=mA(wA(e));if(r&&(oD(r)===-1||!this.isVisible(r)))return!1;let i=e.nodeName.toLowerCase(),o=oD(e);return e.hasAttribute("contenteditable")?o!==-1:i==="iframe"||i==="object"||this._platform.WEBKIT&&this._platform.IOS&&!EA(e)?!1:i==="audio"?e.hasAttribute("controls")?o!==-1:!1:i==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,r){return CA(e)&&!this.isDisabled(e)&&(r?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function mA(t){try{return t.frameElement}catch{return null}}function gA(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function vA(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function yA(t){return bA(t)&&t.type=="hidden"}function _A(t){return DA(t)&&t.hasAttribute("href")}function bA(t){return t.nodeName.toLowerCase()=="input"}function DA(t){return t.nodeName.toLowerCase()=="a"}function lD(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function oD(t){if(!lD(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function EA(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function CA(t){return yA(t)?!1:vA(t)||_A(t)||t.hasAttribute("contenteditable")||lD(t)}function wA(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var hc=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,r,i,o=!1,s){this._element=n,this._checker=e,this._ngZone=r,this._document=i,this._injector=s,o||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let r=this._getFirstTabbableElement(e);return r?.focus(n),!!r}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let r=0;r<e.length;r++){let i=e[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[r]):null;if(i)return i}return null}_getLastTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let r=e.length-1;r>=0;r--){let i=e[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[r]):null;if(i)return i}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?Ft(n,{injector:this._injector}):setTimeout(n)}},mc=(()=>{class t{_checker=u(pc);_ngZone=u(C);_document=u(R);_injector=u(P);constructor(){u(st).load(bs)}create(e,r=!1){return new hc(e,this._checker,this._ngZone,this._document,r,this._injector)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),IA=(()=>{class t{_elementRef=u(F);_focusTrapFactory=u(mc);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){u(K).isBrowser&&(this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0))}ngOnDestroy(){this.focusTrap?.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap?.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap&&!this.focusTrap.hasAttached()&&this.focusTrap.attachAnchors()}ngOnChanges(e){let r=e.autoCapture;r&&!r.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Hr(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",ie],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",ie]},exportAs:["cdkTrapFocus"],features:[Fe]})}return t})(),cD=new g("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),dD=new g("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),xA=0,SA=(()=>{class t{_ngZone=u(C);_defaultOptions=u(dD,{optional:!0});_liveElement;_document=u(R);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(cD,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...r){let i=this._defaultOptions,o,s;return r.length===1&&typeof r[0]=="number"?s=r[0]:[o,s]=r,this.clear(),clearTimeout(this._previousTimeout),o||(o=i&&i.politeness?i.politeness:"polite"),s==null&&i&&(s=i.duration),this._liveElement.setAttribute("aria-live",o),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let e="cdk-live-announcer-element",r=this._document.getElementsByClassName(e),i=this._document.createElement("div");for(let o=0;o<r.length;o++)r[o].remove();return i.classList.add(e),i.classList.add("cdk-visually-hidden"),i.setAttribute("aria-atomic","true"),i.setAttribute("aria-live","polite"),i.id=`cdk-live-announcer-${xA++}`,this._document.body.appendChild(i),i}_exposeAnnouncerToModals(e){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let i=0;i<r.length;i++){let o=r[i],s=o.getAttribute("aria-owns");s?s.indexOf(e)===-1&&o.setAttribute("aria-owns",s+" "+e):o.setAttribute("aria-owns",e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Kn=(function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t})(Kn||{}),sD="cdk-high-contrast-black-on-white",aD="cdk-high-contrast-white-on-black",lp="cdk-high-contrast-active",uD=(()=>{class t{_platform=u(K);_hasCheckedHighContrastMode;_document=u(R);_breakpointSubscription;constructor(){this._breakpointSubscription=u(ap).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Kn.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let r=this._document.defaultView||window,i=r&&r.getComputedStyle?r.getComputedStyle(e):null,o=(i&&i.backgroundColor||"").replace(/ /g,"");switch(e.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Kn.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Kn.BLACK_ON_WHITE}return Kn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(lp,sD,aD),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===Kn.BLACK_ON_WHITE?e.add(lp,sD):r===Kn.WHITE_ON_BLACK&&e.add(lp,aD)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),cp=(()=>{class t{constructor(){u(uD)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({imports:[fc]})}return t})();var dp={},$e=class t{_appId=u(Wn);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,e=!1){return this._appId!=="ng"&&(n+=this._appId),dp.hasOwnProperty(n)||(dp[n]=0),`${n}${e?t._infix+"-":""}${dp[n]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})};var MA=200,Gi=class{_letterKeyStream=new D;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new D;selectedItem=this._selectedItem;constructor(n,e){let r=typeof e?.debounceInterval=="number"?e.debounceInterval:MA;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(pr(e=>this._pressedLetters.push(e)),hr(n),ue(()=>this._pressedLetters.length>0),X(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let r=1;r<this._items.length+1;r++){let i=(this._selectedItemIndex+r)%this._items.length,o=this._items[i];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(e)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};function Qn(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var Wi=class{_items;_activeItemIndex=ae(-1);_activeItem=ae(null);_wrap=!1;_typeaheadSubscription=j.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof cn?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):Lr(n)&&(this._effectRef=Nt(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new D;change=new D;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Gi(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(n){let e=n.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o<s?o:s-1,-1);break}else return;default:(i||Qn(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let e=this._getItemsArray(),r=typeof n=="number"?n:e.indexOf(n),i=e[r];this._activeItem.set(i??null),this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let e=this._getItemsArray();for(let r=1;r<=e.length;r++){let i=(this._activeItemIndex()+n*r+e.length)%e.length,o=e[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,e){let r=this._getItemsArray();if(r[n]){for(;this._skipPredicateFn(r[n]);)if(n+=e,!r[n])return;this.setActiveItem(n)}}_getItemsArray(){return Lr(this._items)?this._items():this._items instanceof cn?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let e=this._activeItem();if(e){let r=n.indexOf(e);r>-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r))}}};var up=class extends Wi{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var fp=class extends Wi{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function hp(t){return tn(t)?t:ge(t)}var pp=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=n=>!1;_trackByFn=n=>n;_items=[];_typeahead;_typeaheadSubscription=j.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let r=0;r<this._items.length;r++)if(!this._skipPredicateFn(this._items[r])&&!this._isItemDisabled(this._items[r])){n=r;break}let e=this._items[n];e.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=n,this._activeItem=e,this._typeahead?.setCurrentSelectedItemIndex(n),e.makeFocusable()):this.focusItem(n),this._hasInitialFocused=!0}constructor(n,e){n instanceof cn?(this._items=n.toArray(),n.changes.subscribe(r=>{this._items=r.toArray(),this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()})):tn(n)?n.subscribe(r=>{this._items=r,this._typeahead?.setItems(r),this._updateActiveItemIndex(r),this._initializeFocus()}):(this._items=n,this._initializeFocus()),typeof e.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=e.shouldActivationFollowFocus),e.horizontalOrientation&&(this._horizontalOrientation=e.horizontalOrientation),e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),e.trackBy&&(this._trackByFn=e.trackBy),typeof e.typeAheadDebounceInterval<"u"&&this._setTypeAhead(e.typeAheadDebounceInterval)}change=new D;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_focusFirstItem(){this.focusItem(this._findNextAvailableItemIndex(-1))}_focusLastItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._items.length))}_focusNextItem(){this.focusItem(this._findNextAvailableItemIndex(this._activeItemIndex))}_focusPreviousItem(){this.focusItem(this._findPreviousAvailableItemIndex(this._activeItemIndex))}focusItem(n,e={}){e.emitChangeEvent??=!0;let r=typeof n=="number"?n:this._items.findIndex(s=>this._trackByFn(s)===this._trackByFn(n));if(r<0||r>=this._items.length)return;let i=this._items[r];if(this._activeItem!==null&&this._trackByFn(i)===this._trackByFn(this._activeItem))return;let o=this._activeItem;this._activeItem=i??null,this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r),this._activeItem?.focus(),o?.unfocus(),e.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let e=this._activeItem;if(!e)return;let r=n.findIndex(i=>this._trackByFn(i)===this._trackByFn(e));r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}_setTypeAhead(n){this._typeahead=new Gi(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.focusItem(e)})}_findNextAvailableItemIndex(n){for(let e=n+1;e<this._items.length;e++)if(!this._skipPredicateFn(this._items[e]))return e;return n}_findPreviousAvailableItemIndex(n){for(let e=n-1;e>=0;e--)if(!this._skipPredicateFn(this._items[e]))return e;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?hp(this._activeItem.getChildren()).pipe(nt(1)).subscribe(n=>{let e=n.find(r=>!this._skipPredicateFn(r));e&&this.focusItem(e)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),e;n?e=hp(n.getChildren()):e=ge(this._items.filter(r=>r.getParent()===null)),e.pipe(nt(1)).subscribe(r=>{for(let i of r)i.expand()})}_activateCurrentItem(){this._activeItem?.activate()}},h5=new g("tree-key-manager",{providedIn:"root",factory:()=>(t,n)=>new pp(t,n)});var hD=" ";function TA(t,n,e){let r=vc(t,n);e=e.trim(),!r.some(i=>i.trim()===e)&&(r.push(e),t.setAttribute(n,r.join(hD)))}function AA(t,n,e){let r=vc(t,n);e=e.trim();let i=r.filter(o=>o!==e);i.length?t.setAttribute(n,i.join(hD)):t.removeAttribute(n)}function vc(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var pD="cdk-describedby-message",gc="cdk-describedby-host",gp=0,C5=(()=>{class t{_platform=u(K);_document=u(R);_messageRegistry=new Map;_messagesContainer=null;_id=`${gp++}`;constructor(){u(st).load(bs),this._id=u(Wn)+"-"+gp++}describe(e,r,i){if(!this._canBeDescribed(e,r))return;let o=mp(r,i);typeof r!="string"?(fD(r,this._id),this._messageRegistry.set(o,{messageElement:r,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(r,i),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,r,i){if(!r||!this._isElementNode(e))return;let o=mp(r,i);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),typeof r=="string"){let s=this._messageRegistry.get(o);s&&s.referenceCount===0&&this._deleteMessageElement(o)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let e=this._document.querySelectorAll(`[${gc}="${this._id}"]`);for(let r=0;r<e.length;r++)this._removeCdkDescribedByReferenceIds(e[r]),e[r].removeAttribute(gc);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,r){let i=this._document.createElement("div");fD(i,this._id),i.textContent=e,r&&i.setAttribute("role",r),this._createMessagesContainer(),this._messagesContainer.appendChild(i),this._messageRegistry.set(mp(e,r),{messageElement:i,referenceCount:0})}_deleteMessageElement(e){this._messageRegistry.get(e)?.messageElement?.remove(),this._messageRegistry.delete(e)}_createMessagesContainer(){if(this._messagesContainer)return;let e="cdk-describedby-message-container",r=this._document.querySelectorAll(`.${e}[platform="server"]`);for(let o=0;o<r.length;o++)r[o].remove();let i=this._document.createElement("div");i.style.visibility="hidden",i.classList.add(e),i.classList.add("cdk-visually-hidden"),this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._messagesContainer=i}_removeCdkDescribedByReferenceIds(e){let r=vc(e,"aria-describedby").filter(i=>i.indexOf(pD)!=0);e.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(e,r){let i=this._messageRegistry.get(r);TA(e,"aria-describedby",i.messageElement.id),e.setAttribute(gc,this._id),i.referenceCount++}_removeMessageReference(e,r){let i=this._messageRegistry.get(r);i.referenceCount--,AA(e,"aria-describedby",i.messageElement.id),e.removeAttribute(gc)}_isElementDescribedByMessage(e,r){let i=vc(e,"aria-describedby"),o=this._messageRegistry.get(r),s=o&&o.messageElement.id;return!!s&&i.indexOf(s)!=-1}_canBeDescribed(e,r){if(!this._isElementNode(e))return!1;if(r&&typeof r=="object")return!0;let i=r==null?"":`${r}`.trim(),o=e.getAttribute("aria-label");return i?!o||o.trim()!==i:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function mp(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function fD(t,n){t.id||(t.id=`${pD}-${n}-${gp++}`)}var NA=new g("cdk-dir-doc",{providedIn:"root",factory:()=>u(R)}),RA=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function mD(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?RA.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Lt=(()=>{class t{get value(){return this.valueSignal()}valueSignal=ae("ltr");change=new G;constructor(){let e=u(NA,{optional:!0});if(e){let r=e.body?e.body.dir:null,i=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(mD(r||i||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Vt=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Vt||{}),yc,zr;function _c(){if(zr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return zr=!1,zr;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)zr=!0;else{let t=Element.prototype.scrollTo;t?zr=!/\{\s*\[native code\]\s*\}/.test(t.toString()):zr=!1}}return zr}function qi(){if(typeof document!="object"||!document)return Vt.NORMAL;if(yc==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),r=e.style;r.width="2px",r.height="1px",t.appendChild(e),document.body.appendChild(t),yc=Vt.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,yc=t.scrollLeft===0?Vt.NEGATED:Vt.INVERTED),t.remove()}return yc}var Le=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({})}return t})();var bc=class{};function gD(t){return t&&typeof t.connect=="function"&&!(t instanceof fo)}var Dc=class extends bc{_data;constructor(n){super(),this._data=n}connect(){return tn(this._data)?this._data:ge(this._data)}disconnect(){}},Ds=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(Ds||{}),vp=new g("_ViewRepeater"),Ec=class{viewCacheSize=20;_viewCache=[];applyChanges(n,e,r,i,o){n.forEachOperation((s,a,l)=>{let c,d;if(s.previousIndex==null){let f=()=>r(s,a,l);c=this._insertView(f,l,e,i(s)),d=c?Ds.INSERTED:Ds.REPLACED}else l==null?(this._detachAndCacheView(a,e),d=Ds.REMOVED):(c=this._moveView(a,l,e,i(s)),d=Ds.MOVED);o&&o({context:c?.context,operation:d,record:s})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,e,r,i){let o=this._insertViewFromCache(e,r);if(o){o.context.$implicit=i;return}let s=n();return r.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(n,e){let r=e.detach(n);this._maybeCacheView(r,e)}_moveView(n,e,r,i){let o=r.get(n);return r.move(o,e),o.context.$implicit=i,o}_maybeCacheView(n,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(n);else{let r=e.indexOf(n);r===-1?n.destroy():e.remove(r)}}_insertViewFromCache(n,e){let r=this._viewCache.pop();return r&&e.insert(r,n),r||null}};var OA=["contentWrapper"],FA=["*"],_D=new g("VIRTUAL_SCROLL_STRATEGY"),yp=class{_scrolledIndexChange=new D;scrolledIndexChange=this._scrolledIndexChange.pipe(Do());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(n,e,r){this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=r}attach(n){this._viewport=n,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(n,e,r){r<e,this._itemSize=n,this._minBufferPx=e,this._maxBufferPx=r,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(n,e){this._viewport&&this._viewport.scrollToOffset(n*this._itemSize,e)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let n=this._viewport.getRenderedRange(),e={start:n.start,end:n.end},r=this._viewport.getViewportSize(),i=this._viewport.getDataLength(),o=this._viewport.measureScrollOffset(),s=this._itemSize>0?o/this._itemSize:0;if(e.end>i){let l=Math.ceil(r/this._itemSize),c=Math.max(0,Math.min(s,i-l));s!=c&&(s=c,o=c*this._itemSize,e.start=Math.floor(s)),e.end=Math.max(0,Math.min(i,e.start+l))}let a=o-e.start*this._itemSize;if(a<this._minBufferPx&&e.start!=0){let l=Math.ceil((this._maxBufferPx-a)/this._itemSize);e.start=Math.max(0,e.start-l),e.end=Math.min(i,Math.ceil(s+(r+this._minBufferPx)/this._itemSize))}else{let l=e.end*this._itemSize-(o+r);if(l<this._minBufferPx&&e.end!=i){let c=Math.ceil((this._maxBufferPx-l)/this._itemSize);c>0&&(e.end=Math.min(i,e.end+c),e.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*e.start)),this._scrolledIndexChange.next(Math.floor(s))}};function kA(t){return t._scrollStrategy}var PA=(()=>{class t{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=bt(e)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=bt(e)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=bt(e)}_maxBufferPx=200;_scrollStrategy=new yp(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[ce([{provide:_D,useFactory:kA,deps:[Oe(()=>t)]}]),Fe]})}return t})(),LA=20,Es=(()=>{class t{_ngZone=u(C);_platform=u(K);_renderer=u(Ee).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new D;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let r=this.scrollContainers.get(e);r&&(r.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=LA){return this._platform.isBrowser?new N(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let i=e>0?this._scrolled.pipe(bo(e)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{i.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):ge()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(e,r){let i=this.getAncestorScrollContainers(e);return this.scrolled(r).pipe(ue(o=>!o||i.indexOf(o)>-1))}getAncestorScrollContainers(e){let r=[];return this.scrollContainers.forEach((i,o)=>{this._scrollableContainsElement(o,e)&&r.push(o)}),r}_scrollableContainsElement(e,r){let i=et(r),o=e.getElementRef().nativeElement;do if(i==o)return!0;while(i=i.parentElement);return!1}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Cs=(()=>{class t{elementRef=u(F);scrollDispatcher=u(Es);ngZone=u(C);dir=u(Lt,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new D;_renderer=u(Me);_cleanupScroll;_elementScrolled=new D;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let r=this.elementRef.nativeElement,i=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=i?e.end:e.start),e.right==null&&(e.right=i?e.start:e.end),e.bottom!=null&&(e.top=r.scrollHeight-r.clientHeight-e.bottom),i&&qi()!=Vt.NORMAL?(e.left!=null&&(e.right=r.scrollWidth-r.clientWidth-e.left),qi()==Vt.INVERTED?e.left=e.right:qi()==Vt.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=r.scrollWidth-r.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let r=this.elementRef.nativeElement;_c()?r.scrollTo(e):(e.top!=null&&(r.scrollTop=e.top),e.left!=null&&(r.scrollLeft=e.left))}measureScrollOffset(e){let r="left",i="right",o=this.elementRef.nativeElement;if(e=="top")return o.scrollTop;if(e=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?i:r:e=="end"&&(e=s?r:i),s&&qi()==Vt.INVERTED?e==r?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:s&&qi()==Vt.NEGATED?e==r?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:e==r?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),VA=20,$r=(()=>{class t{_platform=u(K);_listeners;_viewportSize;_change=new D;_document=u(R);constructor(){let e=u(C),r=u(Ee).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let i=o=>this._change.next(o);this._listeners=[r.listen("window","resize",i),r.listen("window","orientationchange",i)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:r,height:i}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+r,height:i,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,r=this._getWindow(),i=e.documentElement,o=i.getBoundingClientRect(),s=-o.top||e.body.scrollTop||r.scrollY||i.scrollTop||0,a=-o.left||e.body.scrollLeft||r.scrollX||i.scrollLeft||0;return{top:s,left:a}}change(e=VA){return e>0?this._change.pipe(bo(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),vD=new g("VIRTUAL_SCROLLABLE"),jA=(()=>{class t extends Cs{constructor(){super()}measureViewportSize(e){let r=this.elementRef.nativeElement;return e==="horizontal"?r.clientWidth:r.clientHeight}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,features:[Y]})}return t})();function BA(t,n){return t.start==n.start&&t.end==n.end}var HA=typeof requestAnimationFrame<"u"?Dd:bd,bD=(()=>{class t extends jA{elementRef=u(F);_changeDetectorRef=u(pn);_scrollStrategy=u(_D,{optional:!0});scrollable=u(vD,{optional:!0});_platform=u(K);_detachedSubject=new D;_renderedRangeSubject=new D;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new N(e=>this._scrollStrategy.scrolledIndexChange.subscribe(r=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(r)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;_totalContentSize=0;_totalContentWidth=ae("");_totalContentHeight=ae("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=ae(!1);_runAfterChangeDetection=[];_viewportChanges=j.EMPTY;_injector=u(P);_isDestroyed=!1;constructor(){super();let e=u($r);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let r=Nt(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:u(ut).injector});u(rt).onDestroy(()=>void r.destroy())}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(pt(null),bo(0,HA),at(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(at(this._detachedSubject)).subscribe(r=>{let i=r.length;i!==this._dataLength&&(this._dataLength=i,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){BA(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,r="to-start"){e=this.appendOnly&&r==="to-start"?0:e;let i=this.dir&&this.dir.value=="rtl",o=this.orientation=="horizontal",s=o?"X":"Y",l=`translate${s}(${Number((o&&i?-1:1)*e)}px)`;this._renderedContentOffset=e,r==="to-end"&&(l+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=l&&(this._renderedContentTransform=l,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,r="auto"){let i={behavior:r};this.orientation==="horizontal"?i.start=e:i.top=e,this.scrollable.scrollTo(i)}scrollToIndex(e,r="auto"){this._scrollStrategy.scrollToIndex(e,r)}measureScrollOffset(e){let r;return this.scrollable==this?r=i=>super.measureScrollOffset(i):r=i=>this.scrollable.measureScrollOffset(i),Math.max(0,r(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let r,i="left",o="right",s=this.dir?.value=="rtl";e=="start"?r=s?o:i:e=="end"?r=s?i:o:e?r=e:r=this.orientation==="horizontal"?"left":"top";let a=this.scrollable.measureBoundingClientRectWithScrollOffset(r);return this.elementRef.nativeElement.getBoundingClientRect()[r]-a}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),!le(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,Ft(()=>{this._changeDetectionNeeded.set(!1);let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let r of e)r()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(r,i){if(r&1&&hn(OA,7),r&2){let o;Ce(o=we())&&(i._contentWrapper=o.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(r,i){r&2&&ee("cdk-virtual-scroll-orientation-horizontal",i.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",i.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",ie]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[ce([{provide:Cs,useFactory:()=>u(vD,{optional:!0})||u(t)}]),Y],ngContentSelectors:FA,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(r,i){r&1&&(ze(),kt(0,"div",1,0),re(2),Pt(),ke(3,"div",2)),r&2&&(Se(3),jl("width",i._totalContentWidth())("height",i._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}
7
- `],encapsulation:2,changeDetection:0})}return t})();function yD(t,n,e){let r=e;if(!r.getBoundingClientRect)return 0;let i=r.getBoundingClientRect();return t==="horizontal"?n==="start"?i.left:i.right:n==="start"?i.top:i.bottom}var UA=(()=>{class t{_viewContainerRef=u(Ke);_template=u(He);_differs=u(ls);_viewRepeater=u(vp);_viewport=u(bD,{skipSelf:!0});viewChange=new D;_dataSourceChanges=new D;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,gD(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new Dc(tn(e)?e:Array.from(e||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(r,i)=>e(r+(this._renderedRange?this._renderedRange.start:0),i):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=bt(e)}dataStream=this._dataSourceChanges.pipe(pt(null),Eo(),xo(([e,r])=>this._changeDataSource(e,r)),wo(1));_differ=null;_data;_renderedItems;_renderedRange;_needsUpdate=!1;_destroyed=new D;constructor(){let e=u(C);this.dataStream.subscribe(r=>{this._data=r,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(at(this._destroyed)).subscribe(r=>{this._renderedRange=r,this.viewChange.observers.length&&e.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,r){if(e.start>=e.end)return 0;e.start<this._renderedRange.start||e.end>this._renderedRange.end;let i=e.start-this._renderedRange.start,o=e.end-e.start,s,a;for(let l=0;l<o;l++){let c=this._viewContainerRef.get(l+i);if(c&&c.rootNodes.length){s=a=c.rootNodes[0];break}}for(let l=o-1;l>-1;l--){let c=this._viewContainerRef.get(l+i);if(c&&c.rootNodes.length){a=c.rootNodes[c.rootNodes.length-1];break}}return s&&a?yD(r,"end",a)-yD(r,"start",s):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,r)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,r):r)),this._needsUpdate=!0)}_changeDataSource(e,r){return e&&e.disconnect(this),this._needsUpdate=!0,r?r.connect(this):ge()}_updateContext(){let e=this._data.length,r=this._viewContainerRef.length;for(;r--;){let i=this._viewContainerRef.get(r);i.context.index=this._renderedRange.start+r,i.context.count=e,this._updateComputedContextProperties(i.context),i.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(o,s,a)=>this._getEmbeddedViewArgs(o,a),o=>o.item),e.forEachIdentityChange(o=>{let s=this._viewContainerRef.get(o.currentIndex);s.context.$implicit=o.item});let r=this._data.length,i=this._viewContainerRef.length;for(;i--;){let o=this._viewContainerRef.get(i);o.context.index=this._renderedRange.start+i,o.context.count=r,this._updateComputedContextProperties(o.context)}}_updateComputedContextProperties(e){e.first=e.index===0,e.last=e.index===e.count-1,e.even=e.index%2===0,e.odd=!e.even}_getEmbeddedViewArgs(e,r){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:r}}static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"},features:[ce([{provide:vp,useClass:Ec}])]})}return t})();var _p=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({})}return t})(),bp=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({imports:[Le,_p,Le,_p]})}return t})();function Dp(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function _e(t){return t==null?"":typeof t=="string"?t:`${t}px`}var ws=class{_attachedHost;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Yi=class extends ws{component;viewContainerRef;injector;projectableNodes;constructor(n,e,r,i){super(),this.component=n,this.viewContainerRef=e,this.injector=r,this.projectableNodes=i}},Xn=class extends ws{templateRef;viewContainerRef;context;injector;constructor(n,e,r,i){super(),this.templateRef=n,this.viewContainerRef=e,this.context=r,this.injector=i}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Ep=class extends ws{element;constructor(n){super(),this.element=n instanceof F?n.nativeElement:n}},Zi=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Yi)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Xn)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Ep)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Cc=class extends Zi{outletElement;_appRef;_defaultInjector;constructor(n,e,r){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=r}attachComponentPortal(n){let e;if(n.viewContainerRef){let r=n.injector||n.viewContainerRef.injector,i=r.get(Gn,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:r,ngModuleRef:i,projectableNodes:n.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let r=this._appRef,i=n.injector||this._defaultInjector||P.NULL,o=i.get(fe,r.injector);e=ql(n.component,{elementInjector:i,environmentInjector:o,projectableNodes:n.projectableNodes||void 0}),r.attachView(e.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,r=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=e.indexOf(r);i!==-1&&e.remove(i)}),this._attachedPortal=n,r}attachDomPortal=n=>{let e=n.element;e.parentNode;let r=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(r,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(e,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},mq=(()=>{class t extends Xn{constructor(){let e=u(He),r=u(Ke);super(e,r)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[Y]})}return t})(),Is=(()=>{class t extends Zi{_moduleRef=u(Gn,{optional:!0});_document=u(R);_viewContainerRef=u(Ke);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new G;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let r=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,i=r.createComponent(e.component,{index:r.length,injector:e.injector||r.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(i.hostView.rootNodes[0]),super.setDisposeFn(()=>i.destroy()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachTemplatePortal(e){e.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachDomPortal=e=>{let r=e.element;r.parentNode;let i=this._document.createComment("dom-portal");e.setAttachedHost(this),r.parentNode.insertBefore(i,r),this._getRootNode().appendChild(r),this._attachedPortal=e,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(r,i)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Y]})}return t})(),Gr=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({})}return t})();var DD=_c();function Qi(t){return new wc(t.get($r),t.get(R))}var wc=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=_e(-this._previousScrollPosition.left),n.style.top=_e(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,r=n.style,i=e.style,o=r.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),DD&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),DD&&(r.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,r=this._viewportRuler.getViewportSize();return e.scrollHeight>r.height||e.scrollWidth>r.width}};function MD(t,n){return new Ic(t.get(Es),t.get(C),t.get($r),n)}var Ic=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,r,i){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=r,this._config=i}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(ue(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var xs=class{enable(){}disable(){}attach(){}};function Cp(t,n){return n.some(e=>{let r=t.bottom<e.top,i=t.top>e.bottom,o=t.right<e.left,s=t.left>e.right;return r||i||o||s})}function ED(t,n){return n.some(e=>{let r=t.top<e.top,i=t.bottom>e.bottom,o=t.left<e.left,s=t.right>e.right;return r||i||o||s})}function Sp(t,n){return new xc(t.get(Es),t.get($r),t.get(C),n)}var xc=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,r,i){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=r,this._config=i}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();Cp(e,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},TD=(()=>{class t{_injector=u(P);constructor(){}noop=()=>new xs;close=e=>MD(this._injector,e);block=()=>Qi(this._injector);reposition=e=>Sp(this._injector,e);static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),qr=class{positionStrategy;scrollStrategy=new xs;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;constructor(n){if(n){let e=Object.keys(n);for(let r of e)n[r]!==void 0&&(this[r]=n[r])}}};var Sc=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var AD=(()=>{class t{_attachedOverlays=[];_document=u(R);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let r=this._attachedOverlays.indexOf(e);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ND=(()=>{class t extends AD{_ngZone=u(C);_renderer=u(Ee).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let r=this._attachedOverlays;for(let i=r.length-1;i>-1;i--)if(r[i]._keydownEvents.observers.length>0){this._ngZone.run(()=>r[i]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ue(t)))(i||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),RD=(()=>{class t extends AD{_platform=u(K);_ngZone=u(C);_renderer=u(Ee).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let r=this._document.body,i={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(r,"pointerdown",this._pointerDownListener,i),o.listen(r,"click",this._clickListener,i),o.listen(r,"auxclick",this._clickListener,i),o.listen(r,"contextmenu",this._clickListener,i)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=r.style.cursor,r.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=Je(e)};_clickListener=e=>{let r=Je(e),i=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let o=this._attachedOverlays.slice();for(let s=o.length-1;s>-1;s--){let a=o[s];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(CD(a.overlayElement,r)||CD(a.overlayElement,i))break;let l=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(e)):l.next(e)}};static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ue(t)))(i||t)}})();static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function CD(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,r=n;for(;r;){if(r===t)return!0;r=e&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}var OD=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(r,i){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}.cdk-overlay-popover{background:none;border:none;padding:0;outline:0;overflow:visible;position:fixed;pointer-events:none;white-space:normal;color:inherit;text-decoration:none;width:100%;height:100%;inset:auto;top:0;left:0}.cdk-overlay-popover::backdrop{display:none}.cdk-overlay-popover .cdk-overlay-backdrop{position:fixed;z-index:auto}
8
- `],encapsulation:2,changeDetection:0})}return t})(),Ss=(()=>{class t{_platform=u(K);_containerElement;_document=u(R);_styleLoader=u(st);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Dp()){let i=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;o<i.length;o++)i[o].remove()}let r=this._document.createElement("div");r.classList.add(e),Dp()?r.setAttribute("platform","test"):this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(OD)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),wp=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(n,e,r,i){this._renderer=e,this._ngZone=r,this.element=n.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",i)}detach(){this._ngZone.runOutsideAngular(()=>{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function Mp(t){return t&&t.nodeType===1}var Ki=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new D;_attachments=new D;_detachments=new D;_positionStrategy;_scrollStrategy;_locationChanges=j.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed;_previousHostParent;_keydownEvents=new D;_outsidePointerEvents=new D;_afterNextRenderRef;constructor(n,e,r,i,o,s,a,l,c,d=!1,f,p){this._portalOutlet=n,this._host=e,this._pane=r,this._config=i,this._ngZone=o,this._keyboardDispatcher=s,this._document=a,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._injector=f,this._renderer=p,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(n){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(n);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Ft(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){if(this._disposed)return;let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=E(E({},this._config),n),this._updateElementSize()}setDirection(n){this._config=W(E({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=_e(this._config.width),n.height=_e(this._config.height),n.minWidth=_e(this._config.minWidth),n.minHeight=_e(this._config.minHeight),n.maxWidth=_e(this._config.maxWidth),n.maxHeight=_e(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachHost(){if(!this._host.parentElement){let n=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;Mp(n)?n.after(this._host):n?.type==="parent"?n.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch{}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new wp(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,r){let i=$i(e||[]).filter(o=>!!o);i.length&&(r?n.classList.add(...i):n.classList.remove(...i))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Ft(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},wD="cdk-overlay-connected-position-bounding-box",$A=/([A-Za-z%]+)$/;function Tp(t,n){return new Mc(n,t.get($r),t.get(R),t.get(K),t.get(Ss))}var Mc=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new D;_resizeSubscription=j.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,r,i,o){this._viewportRuler=e,this._document=r,this._platform=i,this._overlayContainer=o,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(wD),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._originRect,e=this._overlayRect,r=this._viewportRect,i=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,i,a),c=this._getOverlayPoint(l,e,a),d=this._getOverlayFit(c,e,r,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,r)){o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleArea<d.visibleArea)&&(s={overlayFit:d,overlayPoint:c,originPoint:l,position:a,overlayRect:e})}if(o.length){let a=null,l=-1;for(let c of o){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Wr(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(wD),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}withPopoverLocation(n){return this._popoverLocation=n,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof F?this._origin.nativeElement:Mp(this._origin)?this._origin:null}_getOriginPoint(n,e,r){let i;if(r.originX=="center")i=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;i=r.originX=="start"?s:a}e.left<0&&(i-=e.left);let o;return r.originY=="center"?o=n.top+n.height/2:o=r.originY=="top"?n.top:n.bottom,e.top<0&&(o-=e.top),{x:i,y:o}}_getOverlayPoint(n,e,r){let i;r.overlayX=="center"?i=-e.width/2:r.overlayX==="start"?i=this._isRtl()?-e.width:0:i=this._isRtl()?0:-e.width;let o;return r.overlayY=="center"?o=-e.height/2:o=r.overlayY=="top"?0:-e.height,{x:n.x+i,y:n.y+o}}_getOverlayFit(n,e,r,i){let o=xD(e),{x:s,y:a}=n,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(s+=l),c&&(a+=c);let d=0-s,f=s+o.width-r.width,p=0-a,h=a+o.height-r.height,m=this._subtractOverflows(o.width,d,f),v=this._subtractOverflows(o.height,p,h),_=m*v;return{visibleArea:_,isCompletelyWithinViewport:o.width*o.height===_,fitsInViewportVertically:v===o.height,fitsInViewportHorizontally:m==o.width}}_canFitWithFlexibleDimensions(n,e,r){if(this._hasFlexibleDimensions){let i=r.bottom-e.y,o=r.right-e.x,s=ID(this._overlayRef.getConfig().minHeight),a=ID(this._overlayRef.getConfig().minWidth),l=n.fitsInViewportVertically||s!=null&&s<=i,c=n.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(n,e,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let i=xD(e),o=this._viewportRect,s=Math.max(n.x+i.width-o.width,0),a=Math.max(n.y+i.height-o.height,0),l=Math.max(o.top-r.top-n.y,0),c=Math.max(o.left-r.left-n.x,0),d=0,f=0;return i.width<=o.width?d=c||-s:d=n.x<this._getViewportMarginStart()?o.left-r.left-n.x:0,i.height<=o.height?f=l||-a:f=n.y<this._getViewportMarginTop()?o.top-r.top-n.y:0,this._previousPushAmount={x:d,y:f},{x:n.x+d,y:n.y+f}}_applyPosition(n,e){if(this._setTransformOrigin(n),this._setOverlayElementStyles(e,n),this._setBoundingBoxStyles(e,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._positionChanges.observers.length){let r=this._getScrollVisibility();if(n!==this._lastPosition||!this._lastScrollVisibility||!GA(this._lastScrollVisibility,r)){let i=new Sc(n,r);this._positionChanges.next(i)}this._lastScrollVisibility=r}this._lastPosition=n,this._isInitialRender=!1}_setTransformOrigin(n){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,i=n.overlayY;n.overlayX==="center"?r="center":this._isRtl()?r=n.overlayX==="start"?"right":"left":r=n.overlayX==="start"?"left":"right";for(let o=0;o<e.length;o++)e[o].style.transformOrigin=`${r} ${i}`}_calculateBoundingBoxRect(n,e){let r=this._viewportRect,i=this._isRtl(),o,s,a;if(e.overlayY==="top")s=n.y,o=r.height-s+this._getViewportMarginBottom();else if(e.overlayY==="bottom")a=r.height-n.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),o=r.height-a+this._getViewportMarginTop();else{let h=Math.min(r.bottom-n.y+r.top,n.y),m=this._lastBoundingBoxSize.height;o=h*2,s=n.y-h,o>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}let l=e.overlayX==="start"&&!i||e.overlayX==="end"&&i,c=e.overlayX==="end"&&!i||e.overlayX==="start"&&i,d,f,p;if(c)p=r.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),d=n.x-this._getViewportMarginStart();else if(l)f=n.x,d=r.right-n.x-this._getViewportMarginEnd();else{let h=Math.min(r.right-n.x+r.left,n.x),m=this._lastBoundingBoxSize.width;d=h*2,f=n.x-h,d>m&&!this._isInitialRender&&!this._growAfterOpen&&(f=n.x-m/2)}return{top:s,left:f,bottom:a,right:p,width:d,height:o}}_setBoundingBoxStyles(n,e){let r=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="auto",i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.width=_e(r.width),i.height=_e(r.height),i.top=_e(r.top)||"auto",i.bottom=_e(r.bottom)||"auto",i.left=_e(r.left)||"auto",i.right=_e(r.right)||"auto",e.overlayX==="center"?i.alignItems="center":i.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?i.justifyContent="center":i.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=_e(o)),s&&(i.maxWidth=_e(s))}this._lastBoundingBoxSize=r,Wr(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Wr(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Wr(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){let d=this._viewportRuler.getViewportScrollPosition();Wr(r,this._getExactOverlayY(e,n,d)),Wr(r,this._getExactOverlayX(e,n,d))}else r.position="static";let a="",l=this._getOffset(e,"x"),c=this._getOffset(e,"y");l&&(a+=`translateX(${l}px) `),c&&(a+=`translateY(${c}px)`),r.transform=a.trim(),s.maxHeight&&(i?r.maxHeight=_e(s.maxHeight):o&&(r.maxHeight="")),s.maxWidth&&(i?r.maxWidth=_e(s.maxWidth):o&&(r.maxWidth="")),Wr(this._pane.style,r)}_getExactOverlayY(n,e,r){let i={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;i.bottom=`${s-(o.y+this._overlayRect.height)}px`}else i.top=_e(o.y);return i}_getExactOverlayX(n,e,r){let i={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;i.right=`${a-(o.x+this._overlayRect.width)}px`}else i.left=_e(o.x);return i}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ED(n,r),isOriginOutsideView:Cp(n,r),isOverlayClipped:ED(e,r),isOverlayOutsideView:Cp(e,r)}}_subtractOverflows(n,...e){return e.reduce((r,i)=>r-Math.max(i,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._getViewportMarginTop(),left:r.left+this._getViewportMarginStart(),right:r.left+n-this._getViewportMarginEnd(),bottom:r.top+e-this._getViewportMarginBottom(),width:n-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&$i(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let n=this._origin;if(n instanceof F)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+e,height:r,width:e}}};function Wr(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function ID(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split($A);return!e||e==="px"?parseFloat(n):null}return t||null}function xD(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function GA(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var SD="cdk-global-overlay-wrapper";function Xi(t){return new Tc}var Tc=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(SD),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=r,l=(i==="100%"||i==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,f=this._xOffset,p=this._overlayRef.getConfig().direction==="rtl",h="",m="",v="";l?v="flex-start":d==="center"?(v="center",p?m=f:h=f):p?d==="left"||d==="end"?(v="flex-end",h=f):(d==="right"||d==="start")&&(v="flex-start",m=f):d==="left"||d==="start"?(v="flex-start",h=f):(d==="right"||d==="end")&&(v="flex-end",m=f),n.position=this._cssPosition,n.marginLeft=l?"0":h,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":m,e.justifyContent=v,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,r=e.style;e.classList.remove(SD),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},FD=(()=>{class t{_injector=u(P);constructor(){}global(){return Xi()}flexibleConnectedTo(e){return Tp(this._injector,e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ap=new g("OVERLAY_DEFAULT_CONFIG");function Ms(t,n){t.get(st).load(OD);let e=t.get(Ss),r=t.get(R),i=t.get($e),o=t.get(ut),s=t.get(Lt),a=t.get(Me,null,{optional:!0})||t.get(Ee).createRenderer(null,null),l=new qr(n),c=t.get(Ap,null,{optional:!0})?.usePopover??!0;l.direction=l.direction||s.value,"showPopover"in r.body?l.usePopover=n?.usePopover??c:l.usePopover=!1;let d=r.createElement("div"),f=r.createElement("div");d.id=i.getId("cdk-overlay-"),d.classList.add("cdk-overlay-pane"),f.appendChild(d),l.usePopover&&(f.setAttribute("popover","manual"),f.classList.add("cdk-overlay-popover"));let p=l.usePopover?l.positionStrategy?.getPopoverInsertionPoint?.():null;return e.getContainerElement().appendChild(f),Mp(p)?p.after(f):p?.type==="parent"&&p.element.appendChild(f),new Ki(new Cc(d,o,t),f,d,l,t.get(C),t.get(ND),r,t.get(Zl),t.get(RD),n?.disableAnimations??t.get(Jo,null,{optional:!0})==="NoopAnimations",t.get(fe),a)}var kD=(()=>{class t{scrollStrategies=u(TD);_positionBuilder=u(FD);_injector=u(P);constructor(){}create(e){return Ms(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),WA=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],qA=new g("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(P);return()=>Sp(t)}}),Ip=(()=>{class t{elementRef=u(F);constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),PD=new g("cdk-connected-overlay-default-config"),YA=(()=>{class t{_dir=u(Lt,{optional:!0});_injector=u(P);_overlayRef;_templatePortal;_backdropSubscription=j.EMPTY;_attachSubscription=j.EMPTY;_detachSubscription=j.EMPTY;_positionSubscription=j.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=u(qA);_ngZone=u(C);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(e){typeof e!="string"&&this._assignConfig(e)}backdropClick=new G;positionChange=new G;attach=new G;detach=new G;overlayKeydown=new G;overlayOutsideClick=new G;constructor(){let e=u(He),r=u(Ke),i=u(PD,{optional:!0}),o=u(Ap,{optional:!0});this.usePopover=o?.usePopover===!1?null:"global",this._templatePortal=new Xn(e,r),this.scrollStrategy=this._scrollStrategyFactory(),i&&this._assignConfig(i)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=WA);let e=this._overlayRef=Ms(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!Qn(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let i=this._getOriginElement(),o=Je(r);(!i||i!==o&&!i.contains(o))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),r=new qr({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(e){let r=this.positions.map(i=>({originX:i.originX,originY:i.originY,overlayX:i.overlayX,overlayY:i.overlayY,offsetX:i.offsetX||this.offsetX,offsetY:i.offsetY||this.offsetY,panelClass:i.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let e=Tp(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof Ip?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof Ip?this.origin.elementRef.nativeElement:this.origin instanceof F?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let e=this._overlayRef;e.getConfig().hasBackdrop=this.hasBackdrop,e.updateSize({width:this._getWidth()}),e.hasAttached()||e.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=e.backdropClick().subscribe(r=>this.backdropClick.emit(r)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Md(()=>this.positionChange.observers.length>0)).subscribe(r=>{this._ngZone.run(()=>this.positionChange.emit(r)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(e){this.origin=e.origin??this.origin,this.positions=e.positions??this.positions,this.positionStrategy=e.positionStrategy??this.positionStrategy,this.offsetX=e.offsetX??this.offsetX,this.offsetY=e.offsetY??this.offsetY,this.width=e.width??this.width,this.height=e.height??this.height,this.minWidth=e.minWidth??this.minWidth,this.minHeight=e.minHeight??this.minHeight,this.backdropClass=e.backdropClass??this.backdropClass,this.panelClass=e.panelClass??this.panelClass,this.viewportMargin=e.viewportMargin??this.viewportMargin,this.scrollStrategy=e.scrollStrategy??this.scrollStrategy,this.disableClose=e.disableClose??this.disableClose,this.transformOriginSelector=e.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=e.hasBackdrop??this.hasBackdrop,this.lockPosition=e.lockPosition??this.lockPosition,this.flexibleDimensions=e.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=e.growAfterOpen??this.growAfterOpen,this.push=e.push??this.push,this.disposeOnNavigation=e.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=e.usePopover??this.usePopover,this.matchWidth=e.matchWidth??this.matchWidth}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",ie],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",ie],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ie],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ie],push:[2,"cdkConnectedOverlayPush","push",ie],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ie],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",ie],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Fe]})}return t})(),Ts=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({providers:[kD],imports:[Le,Gr,bp,bp]})}return t})();function ZA(t,n){}var Jn=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;positionStrategy;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;scrollStrategy;closeOnNavigation=!0;closeOnDestroy=!0;closeOnOverlayDetachments=!0;disableAnimations=!1;providers;container;templateContext};var Rp=(()=>{class t extends Zi{_elementRef=u(F);_focusTrapFactory=u(mc);_config;_interactivityChecker=u(pc);_ngZone=u(C);_focusMonitor=u(zi);_renderer=u(Me);_changeDetectorRef=u(pn);_injector=u(P);_platform=u(K);_document=u(R);_portalOutlet;_focusTrapped=new D;_focusTrap=null;_elementFocusedBeforeDialogWasOpened=null;_closeInteractionType=null;_ariaLabelledByQueue=[];_isDestroyed=!1;constructor(){super(),this._config=u(Jn,{optional:!0})||new Jn,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(e){this._ariaLabelledByQueue.push(e),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(e){let r=this._ariaLabelledByQueue.indexOf(e);r>-1&&(this._ariaLabelledByQueue.splice(r,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._focusTrapped.complete(),this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(e){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachComponentPortal(e);return this._contentAttached(),r}attachTemplatePortal(e){this._portalOutlet.hasAttached();let r=this._portalOutlet.attachTemplatePortal(e);return this._contentAttached(),r}attachDomPortal=e=>{this._portalOutlet.hasAttached();let r=this._portalOutlet.attachDomPortal(e);return this._contentAttached(),r};_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,r){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let i=()=>{o(),s(),e.removeAttribute("tabindex")},o=this._renderer.listen(e,"blur",i),s=this._renderer.listen(e,"mousedown",i)})),e.focus(r)}_focusByCssSelector(e,r){let i=this._elementRef.nativeElement.querySelector(e);i&&this._forceFocus(i,r)}_trapFocus(e){this._isDestroyed||Ft(()=>{let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus(e);break;case!0:case"first-tabbable":this._focusTrap?.focusInitialElement(e)||this._focusDialogContainer(e);break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]',e);break;default:this._focusByCssSelector(this._config.autoFocus,e);break}this._focusTrapped.next()},{injector:this._injector})}_restoreFocus(){let e=this._config.restoreFocus,r=null;if(typeof e=="string"?r=this._document.querySelector(e):typeof e=="boolean"?r=e?this._elementFocusedBeforeDialogWasOpened:null:e&&(r=e),this._config.restoreFocus&&r&&typeof r.focus=="function"){let i=Hr(),o=this._elementRef.nativeElement;(!i||i===this._document.body||i===o||o.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(r,this._closeInteractionType),this._closeInteractionType=null):r.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(e){this._elementRef.nativeElement.focus?.(e)}_containsFocus(){let e=this._elementRef.nativeElement,r=Hr();return e===r||e.contains(r)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Hr()))}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(r,i){if(r&1&&hn(Is,7),r&2){let o;Ce(o=we())&&(i._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(r,i){r&2&&ye("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},features:[Y],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,i){r&1&&Kt(0,ZA,0,0,"ng-template",0)},dependencies:[Is],styles:[`.cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}
9
- `],encapsulation:2})}return t})(),As=class{overlayRef;config;componentInstance;componentRef;containerInstance;disableClose;closed=new D;backdropClick;keydownEvents;outsidePointerEvents;id;_detachSubscription;constructor(n,e){this.overlayRef=n,this.config=e,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(r=>{r.keyCode===27&&!this.disableClose&&!Qn(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{!this.disableClose&&this._canClose()?this.close(void 0,{focusOrigin:"mouse"}):this.containerInstance._recaptureFocus?.()}),this._detachSubscription=n.detachments().subscribe(()=>{e.closeOnOverlayDetachments!==!1&&this.close()})}close(n,e){if(this._canClose(n)){let r=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(n),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}_canClose(n){let e=this.config;return!!this.containerInstance&&(!e.closePredicate||e.closePredicate(n,e,this.componentInstance))}},KA=new g("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=u(P);return()=>Qi(t)}}),QA=new g("DialogData"),XA=new g("DefaultDialogConfig");function JA(t){let n=ae(t),e=new G;return{valueSignal:n,get value(){return n()},change:e,ngOnDestroy(){e.complete()}}}var Op=(()=>{class t{_injector=u(P);_defaultOptions=u(XA,{optional:!0});_parentDialog=u(t,{optional:!0,skipSelf:!0});_overlayContainer=u(Ss);_idGenerator=u($e);_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new D;_afterOpenedAtThisLevel=new D;_ariaHiddenElements=new Map;_scrollStrategy=u(KA);get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}afterAllClosed=go(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(pt(void 0)));constructor(){}open(e,r){let i=this._defaultOptions||new Jn;r=E(E({},i),r),r.id=r.id||this._idGenerator.getId("cdk-dialog-"),r.id&&this.getDialogById(r.id);let o=this._getOverlayConfig(r),s=Ms(this._injector,o),a=new As(s,r),l=this._attachContainer(s,a,r);if(a.containerInstance=l,!this.openDialogs.length){let c=this._overlayContainer.getContainerElement();l._focusTrapped?l._focusTrapped.pipe(nt(1)).subscribe(()=>{this._hideNonDialogContentFromAssistiveTechnology(c)}):this._hideNonDialogContentFromAssistiveTechnology(c)}return this._attachDialogContent(e,a,l,r),this.openDialogs.push(a),a.closed.subscribe(()=>this._removeOpenDialog(a,!0)),this.afterOpened.next(a),a}closeAll(){Np(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(r=>r.id===e)}ngOnDestroy(){Np(this._openDialogsAtThisLevel,e=>{e.config.closeOnDestroy===!1&&this._removeOpenDialog(e,!1)}),Np(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){let r=new qr({positionStrategy:e.positionStrategy||Xi().centerHorizontally().centerVertically(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,width:e.width,height:e.height,disposeOnNavigation:e.closeOnNavigation,disableAnimations:e.disableAnimations});return e.backdropClass&&(r.backdropClass=e.backdropClass),r}_attachContainer(e,r,i){let o=i.injector||i.viewContainerRef?.injector,s=[{provide:Jn,useValue:i},{provide:As,useValue:r},{provide:Ki,useValue:e}],a;i.container?typeof i.container=="function"?a=i.container:(a=i.container.type,s.push(...i.container.providers(i))):a=Rp;let l=new Yi(a,i.viewContainerRef,P.create({parent:o||this._injector,providers:s}));return e.attach(l).instance}_attachDialogContent(e,r,i,o){if(e instanceof He){let s=this._createInjector(o,r,i,void 0),a={$implicit:o.data,dialogRef:r};o.templateContext&&(a=E(E({},a),typeof o.templateContext=="function"?o.templateContext():o.templateContext)),i.attachTemplatePortal(new Xn(e,null,a,s))}else{let s=this._createInjector(o,r,i,this._injector),a=i.attachComponentPortal(new Yi(e,o.viewContainerRef,s));r.componentRef=a,r.componentInstance=a.instance}}_createInjector(e,r,i,o){let s=e.injector||e.viewContainerRef?.injector,a=[{provide:QA,useValue:e.data},{provide:As,useValue:r}];return e.providers&&(typeof e.providers=="function"?a.push(...e.providers(r,e,i)):a.push(...e.providers)),e.direction&&(!s||!s.get(Lt,null,{optional:!0}))&&a.push({provide:Lt,useValue:JA(e.direction)}),P.create({parent:s||o,providers:a})}_removeOpenDialog(e,r){let i=this.openDialogs.indexOf(e);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),r&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(e){if(e.parentElement){let r=e.parentElement.children;for(let i=r.length-1;i>-1;i--){let o=r[i];o!==e&&o.nodeName!=="SCRIPT"&&o.nodeName!=="STYLE"&&!o.hasAttribute("aria-live")&&!o.hasAttribute("popover")&&(this._ariaHiddenElements.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Np(t,n){let e=t.length;for(;e--;)n(t[e])}var LD=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({providers:[Op],imports:[Ts,Gr,cp,Gr]})}return t})();function Ji(t){return t!=null&&`${t}`!="false"}function C6(t,n=/\s+/){let e=[];if(t!=null){let r=Array.isArray(t)?t:`${t}`.split(n);for(let i of r){let o=`${i}`.trim();o&&e.push(o)}}return e}var x6={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var eN=new g("MATERIAL_ANIMATIONS"),VD=null;function tN(){return u(eN,{optional:!0})?.animationsDisabled||u(Jo,{optional:!0})==="NoopAnimations"?"di-disabled":(VD??=u(uc).matchMedia("(prefers-reduced-motion)").matches,VD?"reduced-motion":"enabled")}function jt(){return tN()!=="enabled"}function nN(t,n){}var Nc=class{viewContainerRef;injector;id;role="dialog";panelClass="";hasBackdrop=!0;backdropClass="";disableClose=!1;closePredicate;width="";height="";minWidth;minHeight;maxWidth;maxHeight;position;data=null;direction;ariaDescribedBy=null;ariaLabelledBy=null;ariaLabel=null;ariaModal=!1;autoFocus="first-tabbable";restoreFocus=!0;delayFocusTrap=!0;scrollStrategy;closeOnNavigation=!0;enterAnimationDuration;exitAnimationDuration},Fp="mdc-dialog--open",jD="mdc-dialog--opening",BD="mdc-dialog--closing",rN=150,iN=75,oN=(()=>{class t extends Rp{_animationStateChanged=new G;_animationsEnabled=!jt();_actionSectionCount=0;_hostElement=this._elementRef.nativeElement;_enterAnimationDuration=this._animationsEnabled?UD(this._config.enterAnimationDuration)??rN:0;_exitAnimationDuration=this._animationsEnabled?UD(this._config.exitAnimationDuration)??iN:0;_animationTimer=null;_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(HD,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(jD,Fp)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Fp),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Fp),this._animationsEnabled?(this._hostElement.style.setProperty(HD,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(BD)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(e){this._actionSectionCount+=e,this._changeDetectorRef.markForCheck()}_finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)};_finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})};_clearAnimationClasses(){this._hostElement.classList.remove(jD,BD)}_waitForAnimationToComplete(e,r){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(r,e)}_requestAnimationFrame(e){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(e):e()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(e){let r=super.attachComponentPortal(e);return r.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),r}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ue(t)))(i||t)}})();static \u0275cmp=ne({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(r,i){r&2&&(Qt("id",i._config.id),ye("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),ee("_mat-animation-noopable",!i._animationsEnabled)("mat-mdc-dialog-container-with-actions",i._actionSectionCount>0))},features:[Y],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(r,i){r&1&&(Te(0,"div",0)(1,"div",1),Kt(2,nN,0,0,"ng-template",2),Ae()())},dependencies:[Is],styles:[`.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 560px);min-width:var(--mat-dialog-container-min-width, 280px)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, calc(100vw - 32px))}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, none);border-radius:var(--mat-dialog-container-shape, var(--mat-sys-corner-extra-large, 4px));background-color:var(--mat-dialog-container-color, var(--mat-sys-surface, white))}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 6px 24px 13px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mat-dialog-subhead-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-dialog-subhead-font, var(--mat-sys-headline-small-font, inherit));line-height:var(--mat-dialog-subhead-line-height, var(--mat-sys-headline-small-line-height, 1.5rem));font-size:var(--mat-dialog-subhead-size, var(--mat-sys-headline-small-size, 1rem));font-weight:var(--mat-dialog-subhead-weight, var(--mat-sys-headline-small-weight, 400));letter-spacing:var(--mat-dialog-subhead-tracking, var(--mat-sys-headline-small-tracking, 0.03125em))}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mat-dialog-supporting-text-color, var(--mat-sys-on-surface-variant, rgba(0, 0, 0, 0.6)));font-family:var(--mat-dialog-supporting-text-font, var(--mat-sys-body-medium-font, inherit));line-height:var(--mat-dialog-supporting-text-line-height, var(--mat-sys-body-medium-line-height, 1.5rem));font-size:var(--mat-dialog-supporting-text-size, var(--mat-sys-body-medium-size, 1rem));font-weight:var(--mat-dialog-supporting-text-weight, var(--mat-sys-body-medium-weight, 400));letter-spacing:var(--mat-dialog-supporting-text-tracking, var(--mat-sys-body-medium-tracking, 0.03125em))}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px 0)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;box-sizing:border-box;min-height:52px;margin:0;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 16px 24px);justify-content:var(--mat-dialog-actions-alignment, flex-end)}@media(forced-colors: active){.mat-mdc-dialog-actions{border-top-color:CanvasText}}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}
10
- `],encapsulation:2})}return t})(),HD="--mat-dialog-transition-duration";function UD(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?bt(t.substring(0,t.length-2)):t.endsWith("s")?bt(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var Ac=(function(t){return t[t.OPEN=0]="OPEN",t[t.CLOSING=1]="CLOSING",t[t.CLOSED=2]="CLOSED",t})(Ac||{}),Rc=class{_ref;_config;_containerInstance;componentInstance;componentRef;disableClose;id;_afterOpened=new wn(1);_beforeClosed=new wn(1);_result;_closeFallbackTimeout;_state=Ac.OPEN;_closeInteractionType;constructor(n,e,r){this._ref=n,this._config=e,this._containerInstance=r,this.disableClose=e.disableClose,this.id=n.id,n.addPanelClass("mat-mdc-dialog-panel"),r._animationStateChanged.pipe(ue(i=>i.state==="opened"),nt(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe(ue(i=>i.state==="closed"),nt(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),_o(this.backdropClick(),this.keydownEvents().pipe(ue(i=>i.keyCode===27&&!this.disableClose&&!Qn(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),sN(this,i.type==="keydown"?"keyboard":"mouse"))})}close(n){let e=this._config.closePredicate;e&&!e(n,this._config,this.componentInstance)||(this._result=n,this._containerInstance._animationStateChanged.pipe(ue(r=>r.state==="closing"),nt(1)).subscribe(r=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=Ac.CLOSING,this._containerInstance._startExitAnimation())}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=Ac.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function sN(t,n,e){return t._closeInteractionType=n,t.close(e)}var aN=new g("MatMdcDialogData"),lN=new g("mat-mdc-dialog-default-options"),cN=new g("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(P);return()=>Qi(t)}}),zD=(()=>{class t{_defaultOptions=u(lN,{optional:!0});_scrollStrategy=u(cN);_parentDialog=u(t,{optional:!0,skipSelf:!0});_idGenerator=u($e);_injector=u(P);_dialog=u(Op);_animationsDisabled=jt();_openDialogsAtThisLevel=[];_afterAllClosedAtThisLevel=new D;_afterOpenedAtThisLevel=new D;dialogConfigClass=Nc;_dialogRefConstructor;_dialogContainerType;_dialogDataToken;get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}afterAllClosed=go(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(pt(void 0)));constructor(){this._dialogRefConstructor=Rc,this._dialogContainerType=oN,this._dialogDataToken=aN}open(e,r){let i;r=E(E({},this._defaultOptions||new Nc),r),r.id=r.id||this._idGenerator.getId("mat-mdc-dialog-"),r.scrollStrategy=r.scrollStrategy||this._scrollStrategy();let o=this._dialog.open(e,W(E({},r),{positionStrategy:Xi(this._injector).centerHorizontally().centerVertically(),disableClose:!0,closePredicate:void 0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,disableAnimations:this._animationsDisabled||r.enterAnimationDuration?.toLocaleString()==="0"||r.exitAnimationDuration?.toString()==="0",container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:r},{provide:Jn,useValue:r}]},templateContext:()=>({dialogRef:i}),providers:(s,a,l)=>(i=new this._dialogRefConstructor(s,r,l),i.updatePosition(r?.position),[{provide:this._dialogContainerType,useValue:l},{provide:this._dialogDataToken,useValue:a.data},{provide:this._dialogRefConstructor,useValue:i}])}));return i.componentRef=o.componentRef,i.componentInstance=o.componentInstance,this.openDialogs.push(i),this.afterOpened.next(i),i.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(i);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),i}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(r=>r.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(e){let r=e.length;for(;r--;)e[r].close()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var $D=(()=>{class t{_dialogRef=u(Rc,{optional:!0});_elementRef=u(F);_dialog=u(zD);constructor(){}ngOnInit(){this._dialogRef||(this._dialogRef=dN(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){this._dialogRef?._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t})}return t})(),K6=(()=>{class t extends $D{id=u($e).getId("mat-mdc-dialog-title-");_onAdd(){this._dialogRef._containerInstance?._addAriaLabelledBy?.(this.id)}_onRemove(){this._dialogRef?._containerInstance?._removeAriaLabelledBy?.(this.id)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ue(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(r,i){r&2&&Qt("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],features:[Y]})}return t})(),Q6=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],features:[dh([Cs])]})}return t})(),X6=(()=>{class t extends $D{align;_onAdd(){this._dialogRef._containerInstance?._updateActionSectionCount?.(1)}_onRemove(){this._dialogRef._containerInstance?._updateActionSectionCount?.(-1)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ue(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(r,i){r&2&&ee("mat-mdc-dialog-actions-align-start",i.align==="start")("mat-mdc-dialog-actions-align-center",i.align==="center")("mat-mdc-dialog-actions-align-end",i.align==="end")},inputs:{align:"align"},features:[Y]})}return t})();function dN(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-mdc-dialog-container");)e=e.parentElement;return e?n.find(r=>r.id===e.id):null}var J6=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({providers:[zD],imports:[LD,Ts,Gr,Le]})}return t})();var Oc;function uN(){if(Oc===void 0&&(Oc=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Oc=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Oc}function eo(t){return uN()?.createHTML(t)||t}var to,GD=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function kp(){if(to)return to;if(typeof document!="object"||!document)return to=new Set(GD),to;let t=document.createElement("input");return to=new Set(GD.filter(n=>(t.setAttribute("type",n),t.type===n))),to}var Dt=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(Dt||{}),Pp=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Dt.HIDDEN;constructor(n,e,r,i=!1){this._renderer=n,this.element=e,this.config=r,this._animationForciblyDisabledThroughCss=i}fadeOut(){this._renderer.fadeOutRipple(this)}},WD=Ui({passive:!0,capture:!0}),Lp=class{_events=new Map;addHandler(n,e,r,i){let o=this._events.get(e);if(o){let s=o.get(r);s?s.add(i):o.set(r,new Set([i]))}else this._events.set(e,new Map([[r,new Set([i])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,WD)})}removeHandler(n,e,r){let i=this._events.get(n);if(!i)return;let o=i.get(e);o&&(o.delete(r),o.size===0&&i.delete(e),i.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,WD)))}_delegateEventHandler=n=>{let e=Je(n);e&&this._events.get(n.type)?.forEach((r,i)=>{(i===e||i.contains(e))&&r.forEach(o=>o.handleEvent(n))})}},Ns={enterDuration:225,exitDuration:150},fN=800,qD=Ui({passive:!0,capture:!0}),YD=["mousedown","touchstart"],ZD=["mouseup","mouseleave","touchend","touchcancel"],hN=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(r,i){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
11
- `],encapsulation:2,changeDetection:0})}return t})(),Rs=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new Lp;constructor(n,e,r,i,o){this._target=n,this._ngZone=e,this._platform=i,i.isBrowser&&(this._containerElement=et(r)),o&&o.get(st).load(hN)}fadeInRipple(n,e,r={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=E(E({},Ns),r.animation);r.centered&&(n=i.left+i.width/2,e=i.top+i.height/2);let s=r.radius||pN(n,e,i),a=n-i.left,l=e-i.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${a-s}px`,d.style.top=`${l-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,r.color!=null&&(d.style.backgroundColor=r.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let f=window.getComputedStyle(d),p=f.transitionProperty,h=f.transitionDuration,m=p==="none"||h==="0s"||h==="0s, 0s"||i.width===0&&i.height===0,v=new Pp(this,d,r,m);d.style.transform="scale3d(1, 1, 1)",v.state=Dt.FADING_IN,r.persistent||(this._mostRecentTransientRipple=v);let _=null;return!m&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let b=()=>{_&&(_.fallbackTimer=null),clearTimeout(Re),this._finishRippleTransition(v)},H=()=>this._destroyRipple(v),Re=setTimeout(H,c+100);d.addEventListener("transitionend",b),d.addEventListener("transitioncancel",H),_={onTransitionEnd:b,onTransitionCancel:H,fallbackTimer:Re}}),this._activeRipples.set(v,_),(m||!c)&&this._finishRippleTransition(v),v}fadeOutRipple(n){if(n.state===Dt.FADING_OUT||n.state===Dt.HIDDEN)return;let e=n.element,r=E(E({},Ns),n.config.animation);e.style.transitionDuration=`${r.exitDuration}ms`,e.style.opacity="0",n.state=Dt.FADING_OUT,(n._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=et(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,YD.forEach(r=>{t._eventManager.addHandler(this._ngZone,r,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{ZD.forEach(e=>{this._triggerElement.addEventListener(e,this,qD)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Dt.FADING_IN?this._startFadeOutTransition(n):n.state===Dt.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=Dt.VISIBLE,!r&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Dt.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=gs(n),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+fN;!this._target.rippleDisabled&&!e&&!r&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!vs(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=n.changedTouches;if(e)for(let r=0;r<e.length;r++)this.fadeInRipple(e[r].clientX,e[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let e=n.state===Dt.VISIBLE||n.config.terminateOnPointerUp&&n.state===Dt.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(YD.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(ZD.forEach(e=>n.removeEventListener(e,this,qD)),this._pointerUpEventsRegistered=!1))}};function pN(t,n,e){let r=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),i=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(r*r+i*i)}var Vp=new g("mat-ripple-global-options"),b9=(()=>{class t{_elementRef=u(F);_animationsDisabled=jt();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=u(C),r=u(K),i=u(Vp,{optional:!0}),o=u(P);this._globalOptions=i||{},this._rippleRenderer=new Rs(this,e,this._elementRef,r,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:E(E(E({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,r=0,i){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,r,E(E({},this.rippleConfig),i)):this._rippleRenderer.fadeInRipple(0,0,E(E({},this.rippleConfig),e))}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,i){r&2&&ee("mat-ripple-unbounded",i.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})();var mN={capture:!0},gN=["focus","mousedown","mouseenter","touchstart"],jp="mat-ripple-loader-uninitialized",Bp="mat-ripple-loader-class-name",KD="mat-ripple-loader-centered",Fc="mat-ripple-loader-disabled",QD=(()=>{class t{_document=u(R);_animationsDisabled=jt();_globalRippleOptions=u(Vp,{optional:!0});_platform=u(K);_ngZone=u(C);_injector=u(P);_eventCleanups;_hosts=new Map;constructor(){let e=u(Ee).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>gN.map(r=>e.listen(this._document,r,this._onInteraction,mN)))}ngOnDestroy(){let e=this._hosts.keys();for(let r of e)this.destroyRipple(r);this._eventCleanups.forEach(r=>r())}configureRipple(e,r){e.setAttribute(jp,this._globalRippleOptions?.namespace??""),(r.className||!e.hasAttribute(Bp))&&e.setAttribute(Bp,r.className||""),r.centered&&e.setAttribute(KD,""),r.disabled&&e.setAttribute(Fc,"")}setDisabled(e,r){let i=this._hosts.get(e);i?(i.target.rippleDisabled=r,!r&&!i.hasSetUpEvents&&(i.hasSetUpEvents=!0,i.renderer.setupTriggerEvents(e))):r?e.setAttribute(Fc,""):e.removeAttribute(Fc)}_onInteraction=e=>{let r=Je(e);if(r instanceof HTMLElement){let i=r.closest(`[${jp}="${this._globalRippleOptions?.namespace??""}"]`);i&&this._createRipple(i)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(Bp)),e.append(r);let i=this._globalRippleOptions,o=this._animationsDisabled?0:i?.animation?.enterDuration??Ns.enterDuration,s=this._animationsDisabled?0:i?.animation?.exitDuration??Ns.exitDuration,a={rippleDisabled:this._animationsDisabled||i?.disabled||e.hasAttribute(Fc),rippleConfig:{centered:e.hasAttribute(KD),terminateOnPointerUp:i?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:s}}},l=new Rs(a,this._ngZone,r,this._platform,this._injector),c=!a.rippleDisabled;c&&l.setupTriggerEvents(e),this._hosts.set(e,{target:a,renderer:l,hasSetUpEvents:c}),e.removeAttribute(jp)}destroyRipple(e){let r=this._hosts.get(e);r&&(r.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var XD=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,i){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
12
- `],encapsulation:2,changeDetection:0})}return t})();var vN=["mat-icon-button",""],yN=["*"],_N=new g("MAT_BUTTON_CONFIG");function JD(t){return t==null?void 0:hb(t)}var Os=(()=>{class t{_elementRef=u(F);_ngZone=u(C);_animationsDisabled=jt();_config=u(_N,{optional:!0});_focusMonitor=u(zi);_cleanupClick;_renderer=u(Me);_rippleLoader=u(QD);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){u(st).load(XD);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",r){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(r,i){r&2&&(ye("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled())("tabindex",i._getTabIndex()),os(i.color?"mat-"+i.color:""),ee("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("mat-unthemed",!i.color)("_mat-animation-noopable",i._animationsDisabled))},inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",ie],disabled:[2,"disabled","disabled",ie],ariaDisabled:[2,"aria-disabled","ariaDisabled",ie],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ie],tabIndex:[2,"tabIndex","tabIndex",JD],_tabindex:[2,"tabindex","_tabindex",JD]}})}return t})(),bN=(()=>{class t extends Os{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[Y],attrs:vN,ngContentSelectors:yN,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(ze(),ke(0,"span",0),re(1),ke(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%));flex-shrink:0;text-align:center;width:var(--mat-icon-button-state-layer-size, 40px);height:var(--mat-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2);font-size:var(--mat-icon-button-icon-size, 24px);color:var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-icon-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-icon-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-icon-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-icon-button-touch-target-size, 48px);display:var(--mat-icon-button-touch-target-display, block);left:50%;width:var(--mat-icon-button-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button img,.mat-mdc-icon-button svg{width:var(--mat-icon-button-icon-size, 24px);height:var(--mat-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%))}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}
13
- `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
14
- `],encapsulation:2,changeDetection:0})}return t})();var eE=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({imports:[Le]})}return t})();var DN=["matButton",""],Hp=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Up=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],EN=["mat-fab",""],CN=["mat-mini-fab",""],wN=`.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus>.mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mat-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-container-elevation-shadow, var(--mat-sys-level3))}@media(hover: hover){.mat-mdc-fab:hover{box-shadow:var(--mat-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}}.mat-mdc-fab:focus{box-shadow:var(--mat-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mat-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-touch-target-size, 48px);display:var(--mat-fab-touch-target-display, block);left:50%;width:var(--mat-fab-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mat-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-small-container-elevation-shadow, var(--mat-sys-level3))}@media(hover: hover){.mat-mdc-mini-fab:hover{box-shadow:var(--mat-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}}.mat-mdc-mini-fab:focus{box-shadow:var(--mat-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mat-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-small-touch-target-size, 48px);display:var(--mat-fab-small-touch-target-display);left:50%;width:var(--mat-fab-small-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mat-fab-extended-container-elevation-shadow, var(--mat-sys-level3));height:var(--mat-fab-extended-container-height, 56px);border-radius:var(--mat-fab-extended-container-shape, var(--mat-sys-corner-large));font-family:var(--mat-fab-extended-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-fab-extended-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-fab-extended-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-fab-extended-label-text-tracking, var(--mat-sys-label-large-tracking))}@media(hover: hover){.mat-mdc-extended-fab:hover{box-shadow:var(--mat-fab-extended-hover-container-elevation-shadow, var(--mat-sys-level4))}}.mat-mdc-extended-fab:focus{box-shadow:var(--mat-fab-extended-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mat-fab-extended-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}
15
- `,tE=new Map([["text",["mat-mdc-button"]],["filled",["mdc-button--unelevated","mat-mdc-unelevated-button"]],["elevated",["mdc-button--raised","mat-mdc-raised-button"]],["outlined",["mdc-button--outlined","mat-mdc-outlined-button"]],["tonal",["mat-tonal-button"]]]),J9=(()=>{class t extends Os{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=IN(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let r=this._elementRef.nativeElement.classList,i=this._appearance?tE.get(this._appearance):null,o=tE.get(e);i&&r.remove(...i),r.add(...o),this._appearance=e}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[Y],attrs:DN,ngContentSelectors:Up,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(ze(Hp),ke(0,"span",0),re(1),kt(2,"span",1),re(3,1),Pt(),re(4,2),ke(5,"span",2)(6,"span",3)),r&2&&ee("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:[`.mat-mdc-button-base{text-decoration:none}.mat-mdc-button-base .mat-icon{min-height:fit-content;flex-shrink:0}@media(hover: none){.mat-mdc-button-base:hover>span.mat-mdc-button-persistent-ripple::before{opacity:0}}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-button-text-horizontal-padding, 12px);height:var(--mat-button-text-container-height, 40px);font-family:var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-text-label-text-transform);font-weight:var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mat-button-text-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mat-button-text-label-text-color, var(--mat-sys-primary))}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-button-text-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-offset, -4px);margin-left:var(--mat-button-text-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-text-icon-spacing, 8px);margin-left:var(--mat-button-text-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-text-touch-target-size, 48px);display:var(--mat-button-text-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-filled-container-height, 40px);font-family:var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-filled-label-text-transform);font-weight:var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-filled-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-offset, -8px);margin-left:var(--mat-button-filled-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-filled-icon-spacing, 8px);margin-left:var(--mat-button-filled-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary))}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-unelevated-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-unelevated-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-filled-touch-target-size, 48px);display:var(--mat-button-filled-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary));background-color:var(--mat-button-filled-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mat-button-filled-container-shape, var(--mat-sys-corner-full))}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);box-shadow:var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1));height:var(--mat-button-protected-container-height, 40px);font-family:var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-protected-label-text-transform);font-weight:var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-protected-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-offset, -8px);margin-left:var(--mat-button-protected-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-protected-icon-spacing, 8px);margin-left:var(--mat-button-protected-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-state-layer-color, var(--mat-sys-primary))}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-raised-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-raised-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-protected-touch-target-size, 48px);display:var(--mat-button-protected-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-raised-button:not(:disabled){color:var(--mat-button-protected-label-text-color, var(--mat-sys-primary));background-color:var(--mat-button-protected-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mat-button-protected-container-shape, var(--mat-sys-corner-full))}@media(hover: hover){.mat-mdc-raised-button:hover{box-shadow:var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2))}}.mat-mdc-raised-button:focus{box-shadow:var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0))}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-outlined-container-height, 40px);font-family:var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-outlined-label-text-transform);font-weight:var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full));border-width:var(--mat-button-outlined-outline-width, 1px);padding:0 var(--mat-button-outlined-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-offset, -8px);margin-left:var(--mat-button-outlined-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-outlined-icon-spacing, 8px);margin-left:var(--mat-button-outlined-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary))}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-outlined-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-outlined-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-outlined-touch-target-size, 48px);display:var(--mat-button-outlined-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-outlined-button:not(:disabled){color:var(--mat-button-outlined-label-text-color, var(--mat-sys-primary));border-color:var(--mat-button-outlined-outline-color, var(--mat-sys-outline))}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-button-tonal-container-height, 40px);font-family:var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mat-button-tonal-label-text-transform);font-weight:var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-button-tonal-horizontal-padding, 24px)}.mat-tonal-button:not(:disabled){color:var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container));background-color:var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container))}.mat-tonal-button,.mat-tonal-button .mdc-button__ripple{border-radius:var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full))}.mat-tonal-button[disabled],.mat-tonal-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-tonal-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}[dir=rtl] .mat-tonal-button>.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}.mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-offset, -8px);margin-left:var(--mat-button-tonal-icon-spacing, 8px)}[dir=rtl] .mat-tonal-button .mdc-button__label+.mat-icon{margin-right:var(--mat-button-tonal-icon-spacing, 8px);margin-left:var(--mat-button-tonal-icon-offset, -8px)}.mat-tonal-button .mat-ripple-element{background-color:var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-tonal-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-tonal-button:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-tonal-button.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-tonal-button.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-tonal-button:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-tonal-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-button-tonal-touch-target-size, 48px);display:var(--mat-button-tonal-touch-target-display, block);left:0;right:0;transform:translateY(-50%)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button,.mat-tonal-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-tonal-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before,.mat-tonal-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-button .mat-icon,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-unelevated-button .mat-icon,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-raised-button .mat-icon,.mat-mdc-outlined-button .mdc-button__label,.mat-mdc-outlined-button .mat-icon,.mat-tonal-button .mdc-button__label,.mat-tonal-button .mat-icon{z-index:1;position:relative}.mat-mdc-button .mat-focus-indicator,.mat-mdc-unelevated-button .mat-focus-indicator,.mat-mdc-raised-button .mat-focus-indicator,.mat-mdc-outlined-button .mat-focus-indicator,.mat-tonal-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit}.mat-mdc-button:focus>.mat-focus-indicator::before,.mat-mdc-unelevated-button:focus>.mat-focus-indicator::before,.mat-mdc-raised-button:focus>.mat-focus-indicator::before,.mat-mdc-outlined-button:focus>.mat-focus-indicator::before,.mat-tonal-button:focus>.mat-focus-indicator::before{content:"";border-radius:inherit}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable,.mat-tonal-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon,.mat-tonal-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px}.mat-mdc-unelevated-button .mat-focus-indicator::before,.mat-tonal-button .mat-focus-indicator::before,.mat-mdc-raised-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}
16
- `,`@media(forced-colors: active){.mat-mdc-button:not(.mdc-button--outlined),.mat-mdc-unelevated-button:not(.mdc-button--outlined),.mat-mdc-raised-button:not(.mdc-button--outlined),.mat-mdc-outlined-button:not(.mdc-button--outlined),.mat-mdc-button-base.mat-tonal-button,.mat-mdc-icon-button.mat-mdc-icon-button,.mat-mdc-outlined-button .mdc-button__ripple{outline:solid 1px}}
17
- `],encapsulation:2,changeDetection:0})}return t})();function IN(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var nE=new g("mat-mdc-fab-default-options",{providedIn:"root",factory:()=>Fs}),Fs={color:"accent"},eY=(()=>{class t extends Os{_options=u(nE,{optional:!0});_isFab=!0;extended;constructor(){super(),this._options=this._options||Fs,this.color=this._options.color||Fs.color}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["button","mat-fab",""],["a","mat-fab",""],["button","matFab",""],["a","matFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mat-mdc-fab"],hostVars:4,hostBindings:function(r,i){r&2&&ee("mdc-fab--extended",i.extended)("mat-mdc-extended-fab",i.extended)},inputs:{extended:[2,"extended","extended",ie]},exportAs:["matButton","matAnchor"],features:[Y],attrs:EN,ngContentSelectors:Up,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(ze(Hp),ke(0,"span",0),re(1),kt(2,"span",1),re(3,1),Pt(),re(4,2),ke(5,"span",2)(6,"span",3)),r&2&&ee("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:[`.mat-mdc-fab-base{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1);flex-shrink:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-fab-base .mat-mdc-button-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple,.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab-base .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab-base .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-fab-base .mdc-button__label,.mat-mdc-fab-base .mat-icon{z-index:1;position:relative}.mat-mdc-fab-base .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab-base:focus>.mat-focus-indicator::before{content:""}.mat-mdc-fab-base._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab-base::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-fab-base[hidden]{display:none}.mat-mdc-fab-base::-moz-focus-inner{padding:0;border:0}.mat-mdc-fab-base:active,.mat-mdc-fab-base:focus{outline:none}.mat-mdc-fab-base:hover{cursor:pointer}.mat-mdc-fab-base>svg{width:100%}.mat-mdc-fab-base .mat-icon,.mat-mdc-fab-base .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab-base .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-fab-base[disabled],.mat-mdc-fab-base[disabled]:focus,.mat-mdc-fab-base.mat-mdc-button-disabled,.mat-mdc-fab-base.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-fab-base.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab{background-color:var(--mat-fab-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-container-shape, var(--mat-sys-corner-large));color:var(--mat-fab-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-container-elevation-shadow, var(--mat-sys-level3))}@media(hover: hover){.mat-mdc-fab:hover{box-shadow:var(--mat-fab-hover-container-elevation-shadow, var(--mat-sys-level4))}}.mat-mdc-fab:focus{box-shadow:var(--mat-fab-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab:active,.mat-mdc-fab:focus:active{box-shadow:var(--mat-fab-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-fab[disabled],.mat-mdc-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-touch-target-size, 48px);display:var(--mat-fab-touch-target-display, block);left:50%;width:var(--mat-fab-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-fab .mat-ripple-element{background-color:var(--mat-fab-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-disabled-state-layer-color)}.mat-mdc-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-mini-fab{width:40px;height:40px;background-color:var(--mat-fab-small-container-color, var(--mat-sys-primary-container));border-radius:var(--mat-fab-small-container-shape, var(--mat-sys-corner-medium));color:var(--mat-fab-small-foreground-color, var(--mat-sys-on-primary-container, inherit));box-shadow:var(--mat-fab-small-container-elevation-shadow, var(--mat-sys-level3))}@media(hover: hover){.mat-mdc-mini-fab:hover{box-shadow:var(--mat-fab-small-hover-container-elevation-shadow, var(--mat-sys-level4))}}.mat-mdc-mini-fab:focus{box-shadow:var(--mat-fab-small-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:var(--mat-fab-small-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-mini-fab[disabled],.mat-mdc-mini-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:var(--mat-fab-small-touch-target-size, 48px);display:var(--mat-fab-small-touch-target-display);left:50%;width:var(--mat-fab-small-touch-target-size, 48px);transform:translate(-50%, -50%)}.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-fab-small-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent))}.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-state-layer-color, var(--mat-sys-on-primary-container))}.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-fab-small-disabled-state-layer-color)}.mat-mdc-mini-fab:hover>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-mini-fab.cdk-program-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.cdk-keyboard-focused>.mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab.mat-mdc-button-disabled-interactive:focus>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-mini-fab:active>.mat-mdc-button-persistent-ripple::before{opacity:var(--mat-fab-small-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-extended-fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding-left:20px;padding-right:20px;width:auto;max-width:100%;line-height:normal;box-shadow:var(--mat-fab-extended-container-elevation-shadow, var(--mat-sys-level3));height:var(--mat-fab-extended-container-height, 56px);border-radius:var(--mat-fab-extended-container-shape, var(--mat-sys-corner-large));font-family:var(--mat-fab-extended-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mat-fab-extended-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mat-fab-extended-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mat-fab-extended-label-text-tracking, var(--mat-sys-label-large-tracking))}@media(hover: hover){.mat-mdc-extended-fab:hover{box-shadow:var(--mat-fab-extended-hover-container-elevation-shadow, var(--mat-sys-level4))}}.mat-mdc-extended-fab:focus{box-shadow:var(--mat-fab-extended-focus-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab:active,.mat-mdc-extended-fab:focus:active{box-shadow:var(--mat-fab-extended-pressed-container-elevation-shadow, var(--mat-sys-level3))}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab.mat-mdc-button-disabled{cursor:default;pointer-events:none}.mat-mdc-extended-fab[disabled],.mat-mdc-extended-fab[disabled]:focus,.mat-mdc-extended-fab.mat-mdc-button-disabled,.mat-mdc-extended-fab.mat-mdc-button-disabled:focus{box-shadow:none}.mat-mdc-extended-fab.mat-mdc-button-disabled-interactive{pointer-events:auto}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:-8px;margin-right:12px}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons,[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons{margin-left:12px;margin-right:-8px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}
18
- `],encapsulation:2,changeDetection:0})}return t})(),tY=(()=>{class t extends Os{_options=u(nE,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||Fs,this.color=this._options.color||Fs.color}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["button","mat-mini-fab",""],["a","mat-mini-fab",""],["button","matMiniFab",""],["a","matMiniFab",""]],hostAttrs:[1,"mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"],exportAs:["matButton","matAnchor"],features:[Y],attrs:CN,ngContentSelectors:Up,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,i){r&1&&(ze(Hp),ke(0,"span",0),re(1),kt(2,"span",1),re(3,1),Pt(),re(4,2),ke(5,"span",2)(6,"span",3)),r&2&&ee("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:[wN],encapsulation:2,changeDetection:0})}return t})();var nY=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({imports:[eE,Le]})}return t})();function rE(t){return Error(`Unable to find icon with the name "${t}"`)}function xN(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function iE(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function oE(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var gn=class{url;svgText;options;svgElement;constructor(n,e,r){this.url=n,this.svgText=e,this.options=r}},aE=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,r,i,o){this._httpClient=e,this._sanitizer=r,this._errorHandler=o,this._document=i}addSvgIcon(e,r,i){return this.addSvgIconInNamespace("",e,r,i)}addSvgIconLiteral(e,r,i){return this.addSvgIconLiteralInNamespace("",e,r,i)}addSvgIconInNamespace(e,r,i,o){return this._addSvgIconConfig(e,r,new gn(i,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,r,i,o){let s=this._sanitizer.sanitize(Ne.HTML,i);if(!s)throw oE(i);let a=eo(s);return this._addSvgIconConfig(e,r,new gn("",a,o))}addSvgIconSet(e,r){return this.addSvgIconSetInNamespace("",e,r)}addSvgIconSetLiteral(e,r){return this.addSvgIconSetLiteralInNamespace("",e,r)}addSvgIconSetInNamespace(e,r,i){return this._addSvgIconSetConfig(e,new gn(r,null,i))}addSvgIconSetLiteralInNamespace(e,r,i){let o=this._sanitizer.sanitize(Ne.HTML,r);if(!o)throw oE(r);let s=eo(o);return this._addSvgIconSetConfig(e,new gn("",s,i))}registerFontClassAlias(e,r=e){return this._fontCssClassesByAlias.set(e,r),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let r=this._sanitizer.sanitize(Ne.RESOURCE_URL,e);if(!r)throw iE(e);let i=this._cachedIconsByUrl.get(r);return i?ge(kc(i)):this._loadSvgIconFromConfig(new gn(e,null)).pipe(pr(o=>this._cachedIconsByUrl.set(r,o)),X(o=>kc(o)))}getNamedSvgIcon(e,r=""){let i=sE(r,e),o=this._svgIconConfigs.get(i);if(o)return this._getSvgFromConfig(o);if(o=this._getIconConfigFromResolvers(r,e),o)return this._svgIconConfigs.set(i,o),this._getSvgFromConfig(o);let s=this._iconSetConfigs.get(r);return s?this._getSvgFromIconSetConfigs(e,s):Cd(rE(i))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ge(kc(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(X(r=>kc(r)))}_getSvgFromIconSetConfigs(e,r){let i=this._extractIconWithNameFromAnySet(e,r);if(i)return ge(i);let o=r.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(va(a=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(Ne.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),ge(null)})));return vo(o).pipe(X(()=>{let s=this._extractIconWithNameFromAnySet(e,r);if(!s)throw rE(e);return s}))}_extractIconWithNameFromAnySet(e,r){for(let i=r.length-1;i>=0;i--){let o=r[i];if(o.svgText&&o.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(o),a=this._extractSvgIconFromSet(s,e,o.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(pr(r=>e.svgText=r),X(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ge(null):this._fetchIcon(e).pipe(pr(r=>e.svgText=r))}_extractSvgIconFromSet(e,r,i){let o=e.querySelector(`[id="${r}"]`);if(!o)return null;let s=o.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,i);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),i);let a=this._svgElementFromString(eo("<svg></svg>"));return a.appendChild(s),this._setSvgAttributes(a,i)}_svgElementFromString(e){let r=this._document.createElement("DIV");r.innerHTML=e;let i=r.querySelector("svg");if(!i)throw Error("<svg> tag not found");return i}_toSvgElement(e){let r=this._svgElementFromString(eo("<svg></svg>")),i=e.attributes;for(let o=0;o<i.length;o++){let{name:s,value:a}=i[o];s!=="id"&&r.setAttribute(s,a)}for(let o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&r.appendChild(e.childNodes[o].cloneNode(!0));return r}_setSvgAttributes(e,r){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),r&&r.viewBox&&e.setAttribute("viewBox",r.viewBox),e}_fetchIcon(e){let{url:r,options:i}=e,o=i?.withCredentials??!1;if(!this._httpClient)throw xN();if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);let s=this._sanitizer.sanitize(Ne.RESOURCE_URL,r);if(!s)throw iE(r);let a=this._inProgressUrlFetches.get(s);if(a)return a;let l=this._httpClient.get(s,{responseType:"text",withCredentials:o}).pipe(X(c=>eo(c)),ai(()=>this._inProgressUrlFetches.delete(s)),Co());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,r,i){return this._svgIconConfigs.set(sE(e,r),i),this}_addSvgIconSetConfig(e,r){let i=this._iconSetConfigs.get(e);return i?i.push(r):this._iconSetConfigs.set(e,[r]),this}_svgElementFromConfig(e){if(!e.svgElement){let r=this._svgElementFromString(e.svgText);this._setSvgAttributes(r,e.options),e.svgElement=r}return e.svgElement}_getIconConfigFromResolvers(e,r){for(let i=0;i<this._resolvers.length;i++){let o=this._resolvers[i](r,e);if(o)return SN(o)?new gn(o.url,null,o.options):new gn(o,null)}}static \u0275fac=function(r){return new(r||t)(A(lc,8),A(np),A(R,8),A(Be))};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function kc(t){return t.cloneNode(!0)}function sE(t,n){return t+":"+n}function SN(t){return!!(t.url&&t.options)}var MN=["*"],TN=new g("MAT_ICON_DEFAULT_OPTIONS"),AN=new g("mat-icon-location",{providedIn:"root",factory:()=>{let t=u(R),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),lE=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],NN=lE.map(t=>`[${t}]`).join(", "),RN=/^url\(['"]?#(.*?)['"]?\)$/,EY=(()=>{class t{_elementRef=u(F);_iconRegistry=u(aE);_location=u(AN);_errorHandler=u(Be);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let r=this._cleanupFontValue(e);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let r=this._cleanupFontValue(e);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName;_svgNamespace;_previousPath;_elementsWithExternalReferences;_currentIconFetch=j.EMPTY;constructor(){let e=u(new Gl("aria-hidden"),{optional:!0}),r=u(TN,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let r=e.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,r=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let i=e.childNodes[r];(i.nodeType!==1||i.nodeName.toLowerCase()==="svg")&&i.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(i=>i.length>0);this._previousFontSetClass.forEach(i=>e.classList.remove(i)),r.forEach(i=>e.classList.add(i)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let r=this._elementsWithExternalReferences;r&&r.forEach((i,o)=>{i.forEach(s=>{o.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let r=e.querySelectorAll(NN),i=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<r.length;o++)lE.forEach(s=>{let a=r[o],l=a.getAttribute(s),c=l?l.match(RN):null;if(c){let d=i.get(a);d||(d=[],i.set(a,d)),d.push({name:s,value:c[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[r,i]=this._splitIconName(e);r&&(this._svgNamespace=r),i&&(this._svgName=i),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(i,r).pipe(nt(1)).subscribe(o=>this._setSvgElement(o),o=>{let s=`Error retrieving icon ${r}:${i}! ${o.message}`;this._errorHandler.handleError(new Error(s))})}}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,i){r&2&&(ye("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),os(i.color?"mat-"+i.color:""),ee("mat-icon-inline",i.inline)("mat-icon-no-color",i.color!=="primary"&&i.color!=="accent"&&i.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",ie],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:MN,decls:1,vars:0,template:function(r,i){r&1&&(ze(),re(0))},styles:[`mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color, inherit)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}
19
- `],encapsulation:2,changeDetection:0})}return t})(),CY=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({imports:[Le]})}return t})();var mE=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,r){this._renderer=e,this._elementRef=r}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(r){return new(r||t)($(Me),$(F))};static \u0275dir=S({type:t})}return t})(),gE=(()=>{class t extends mE{static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ue(t)))(i||t)}})();static \u0275dir=S({type:t,features:[Y]})}return t})(),Zc=new g("");var ON={provide:Zc,useExisting:Oe(()=>vE),multi:!0};function FN(){let t=_t()?_t().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var kN=new g(""),vE=(()=>{class t extends mE{_compositionMode;_composing=!1;constructor(e,r,i){super(e,r),this._compositionMode=i,this._compositionMode==null&&(this._compositionMode=!FN())}writeValue(e){let r=e??"";this.setProperty("value",r)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(r){return new(r||t)($(Me),$(F),$(kN,8))};static \u0275dir=S({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,i){r&1&&ft("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},standalone:!1,features:[ce([ON]),Y]})}return t})();function Gp(t){return t==null||Wp(t)===0}function Wp(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var tr=new g(""),Kc=new g(""),PN=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Lc=class{static min(n){return yE(n)}static max(n){return _E(n)}static required(n){return bE(n)}static requiredTrue(n){return LN(n)}static email(n){return VN(n)}static minLength(n){return jN(n)}static maxLength(n){return BN(n)}static pattern(n){return DE(n)}static nullValidator(n){return Vc()}static compose(n){return SE(n)}static composeAsync(n){return ME(n)}};function yE(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e<t?{min:{min:t,actual:n.value}}:null}}function _E(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function bE(t){return Gp(t.value)?{required:!0}:null}function LN(t){return t.value===!0?null:{required:!0}}function VN(t){return Gp(t.value)||PN.test(t.value)?null:{email:!0}}function jN(t){return n=>{let e=n.value?.length??Wp(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function BN(t){return n=>{let e=n.value?.length??Wp(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function DE(t){if(!t)return Vc;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),r=>{if(Gp(r.value))return null;let i=r.value;return n.test(i)?null:{pattern:{requiredPattern:e,actualValue:i}}}}function Vc(t){return null}function EE(t){return t!=null}function CE(t){return Li(t)?ht(t):t}function wE(t){let n={};return t.forEach(e=>{n=e!=null?E(E({},n),e):n}),Object.keys(n).length===0?null:n}function IE(t,n){return n.map(e=>e(t))}function HN(t){return!t.validate}function xE(t){return t.map(n=>HN(n)?n:e=>n.validate(e))}function SE(t){if(!t)return null;let n=t.filter(EE);return n.length==0?null:function(e){return wE(IE(e,n))}}function qp(t){return t!=null?SE(xE(t)):null}function ME(t){if(!t)return null;let n=t.filter(EE);return n.length==0?null:function(e){let r=IE(e,n).map(CE);return vo(r).pipe(X(wE))}}function Yp(t){return t!=null?ME(xE(t)):null}function cE(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function TE(t){return t._rawValidators}function AE(t){return t._rawAsyncValidators}function zp(t){return t?Array.isArray(t)?t:[t]:[]}function jc(t,n){return Array.isArray(t)?t.includes(n):t===n}function dE(t,n){let e=zp(n);return zp(t).forEach(i=>{jc(e,i)||e.push(i)}),e}function uE(t,n){return zp(n).filter(e=>!jc(t,e))}var Bc=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=qp(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Yp(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},Yr=class extends Bc{name;get formDirective(){return null}get path(){return null}},vn=class extends Bc{_parent=null;name=null;valueAccessor=null},$p=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var BY=(()=>{class t extends $p{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)($(vn,2))};static \u0275dir=S({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,i){r&2&&ee("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},standalone:!1,features:[Y]})}return t})();var ks="VALID",Pc="INVALID",no="PENDING",Ps="DISABLED",er=class{},Hc=class extends er{value;source;constructor(n,e){super(),this.value=n,this.source=e}},Vs=class extends er{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},js=class extends er{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},ro=class extends er{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Uc=class extends er{source;constructor(n){super(),this.source=n}},zc=class extends er{source;constructor(n){super(),this.source=n}};function NE(t){return(Qc(t)?t.validators:t)||null}function UN(t){return Array.isArray(t)?qp(t):t||null}function RE(t,n){return(Qc(n)?n.asyncValidators:t)||null}function zN(t){return Array.isArray(t)?Yp(t):t||null}function Qc(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function $N(t,n,e){let r=t.controls;if(!(n?Object.keys(r):r).length)throw new w(1e3,"");if(!r[e])throw new w(1001,"")}function GN(t,n,e){t._forEachChild((r,i)=>{if(e[i]===void 0)throw new w(1002,"")})}var $c=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return le(this.statusReactive)}set status(n){le(()=>this.statusReactive.set(n))}_status=Pe(()=>this.statusReactive());statusReactive=ae(void 0);get valid(){return this.status===ks}get invalid(){return this.status===Pc}get pending(){return this.status==no}get disabled(){return this.status===Ps}get enabled(){return this.status!==Ps}errors;get pristine(){return le(this.pristineReactive)}set pristine(n){le(()=>this.pristineReactive.set(n))}_pristine=Pe(()=>this.pristineReactive());pristineReactive=ae(!0);get dirty(){return!this.pristine}get touched(){return le(this.touchedReactive)}set touched(n){le(()=>this.touchedReactive.set(n))}_touched=Pe(()=>this.touchedReactive());touchedReactive=ae(!1);get untouched(){return!this.touched}_events=new D;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(dE(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(dE(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(uE(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(uE(n,this._rawAsyncValidators))}hasValidator(n){return jc(this._rawValidators,n)}hasAsyncValidator(n){return jc(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsTouched(W(E({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new js(!0,r))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=n.sourceControl??this;this._forEachChild(i=>{i.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,r),e&&n.emitEvent!==!1&&this._events.next(new js(!1,r))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(W(E({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new Vs(!1,r))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(i=>{i.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n,r),e&&n.emitEvent!==!1&&this._events.next(new Vs(!0,r))}markAsPending(n={}){this.status=no;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new ro(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(W(E({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Ps,this.errors=null,this._forEachChild(i=>{i.disable(W(E({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Hc(this.value,r)),this._events.next(new ro(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(W(E({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=ks,this._forEachChild(r=>{r.enable(W(E({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(W(E({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,e){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine({},e),this._parent._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ks||this.status===no)&&this._runAsyncValidator(r,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Hc(this.value,e)),this._events.next(new ro(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(W(E({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ps:ks}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=no,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let r=CE(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((r,i)=>r&&r._find(i),this)}getError(n,e){let r=e?this.get(e):this;return r&&r.errors?r.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new ro(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,r)}_initObservables(){this.valueChanges=new G,this.statusChanges=new G}_calculateStatus(){return this._allControlsDisabled()?Ps:this.errors?Pc:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(no)?no:this._anyControlsHaveStatus(Pc)?Pc:ks}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let r=!this._anyControlsDirty(),i=this.pristine!==r;this.pristine=r,this._parent&&!n.onlySelf&&this._parent._updatePristine(n,e),i&&this._events.next(new Vs(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new js(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Qc(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){let e=this._parent&&this._parent.dirty;return!n&&!!e&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=UN(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=zN(this._rawAsyncValidators)}},Gc=class extends $c{constructor(n,e,r){super(NE(e),RE(r,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,r={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){GN(this,!0,n),Object.keys(n).forEach(r=>{$N(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(r=>{let i=this.controls[r];i&&i.patchValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((r,i)=>{r.reset(n?n[i]:null,W(E({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new zc(this))}getRawValue(){return this._reduceChildren({},(n,e,r)=>(n[r]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,r)=>r._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let r=this.controls[e];r&&n(r,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,r]of Object.entries(this.controls))if(this.contains(e)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,r,i)=>((r.enabled||this.disabled)&&(e[i]=r.value),e))}_reduceChildren(n,e){let r=n;return this._forEachChild((i,o)=>{r=e(r,i,o)}),r}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var io=new g("",{factory:()=>Xc}),Xc="always";function WN(t,n){return[...n.path,t]}function Bs(t,n,e=Xc){Zp(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),YN(t,n),KN(t,n),ZN(t,n),qN(t,n)}function Wc(t,n,e=!0){let r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),Yc(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function qc(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function qN(t,n){if(n.valueAccessor.setDisabledState){let e=r=>{n.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Zp(t,n){let e=TE(t);n.validator!==null?t.setValidators(cE(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let r=AE(t);n.asyncValidator!==null?t.setAsyncValidators(cE(r,n.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let i=()=>t.updateValueAndValidity();qc(n._rawValidators,i),qc(n._rawAsyncValidators,i)}function Yc(t,n){let e=!1;if(t!==null){if(n.validator!==null){let i=TE(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==n.validator);o.length!==i.length&&(e=!0,t.setValidators(o))}}if(n.asyncValidator!==null){let i=AE(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==n.asyncValidator);o.length!==i.length&&(e=!0,t.setAsyncValidators(o))}}}let r=()=>{};return qc(n._rawValidators,r),qc(n._rawAsyncValidators,r),e}function YN(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&OE(t,n)})}function ZN(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&OE(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function OE(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function KN(t,n){let e=(r,i)=>{n.valueAccessor.writeValue(r),i&&n.viewToModelUpdate(r)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function FE(t,n){t==null,Zp(t,n)}function QN(t,n){return Yc(t,n)}function kE(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function XN(t){return Object.getPrototypeOf(t.constructor)===gE}function PE(t,n){t._syncPendingControls(),n.forEach(e=>{let r=e.control;r.updateOn==="submit"&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function LE(t,n){if(!n)return null;Array.isArray(n);let e,r,i;return n.forEach(o=>{o.constructor===vE?e=o:XN(o)?r=o:i=o}),i||r||e||null}function JN(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var eR={provide:Yr,useExisting:Oe(()=>Kp)},Ls=Promise.resolve(),Kp=(()=>{class t extends Yr{callSetDisabledState;get submitted(){return le(this.submittedReactive)}_submitted=Pe(()=>this.submittedReactive());submittedReactive=ae(!1);_directives=new Set;form;ngSubmit=new G;options;constructor(e,r,i){super(),this.callSetDisabledState=i,this.form=new Gc({},qp(e),Yp(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Ls.then(()=>{let r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),Bs(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Ls.then(()=>{let r=this._findContainer(e.path);r&&r.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Ls.then(()=>{let r=this._findContainer(e.path),i=new Gc({});FE(i,e),r.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Ls.then(()=>{let r=this._findContainer(e.path);r&&r.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){Ls.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),PE(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Uc(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(r){return new(r||t)($(tr,10),$(Kc,10),$(io,8))};static \u0275dir=S({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,i){r&1&&ft("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ce([eR]),Y]})}return t})();function fE(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function hE(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var VE=class extends $c{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,r){super(NE(e),RE(r,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Qc(e)&&(e.nonNullable||e.initialValueIsDefault)&&(hE(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new zc(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){fE(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){fE(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){hE(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};var tR=t=>t instanceof VE;var nR={provide:vn,useExisting:Oe(()=>rR)},pE=Promise.resolve(),rR=(()=>{class t extends vn{_changeDetectorRef;callSetDisabledState;control=new VE;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new G;constructor(e,r,i,o,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(r),this._setAsyncValidators(i),this.valueAccessor=LE(this,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let r=e.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),kE(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Bs(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){pE.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let r=e.isDisabled.currentValue,i=r!==0&&ie(r);pE.then(()=>{i&&!this.control.disabled?this.control.disable():!i&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?WN(e,this._parent):[e]}static \u0275fac=function(r){return new(r||t)($(Yr,9),$(tr,10),$(Kc,10),$(Zc,10),$(pn,8),$(io,8))};static \u0275dir=S({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ce([nR]),Y,Fe]})}return t})();var iR={provide:Zc,useExisting:Oe(()=>oR),multi:!0},oR=(()=>{class t extends gE{writeValue(e){let r=e??"";this.setProperty("value",r)}registerOnChange(e){this.onChange=r=>{e(r==""?null:parseFloat(r))}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ue(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,i){r&1&&ft("input",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},standalone:!1,features:[ce([iR]),Y]})}return t})();var sR=(()=>{class t extends Yr{callSetDisabledState;get submitted(){return le(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Pe(()=>this._submittedReactive());_submittedReactive=ae(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,r,i){super(),this.callSetDisabledState=i,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(Yc(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let r=this.form.get(e.path);return Bs(r,e,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){Wc(e.control||null,e,!1),JN(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,r){this.form.get(e.path).setValue(r)}onReset(){this.resetForm()}resetForm(e=void 0,r={}){this.form.reset(e,r),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,PE(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Uc(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let r=e.control,i=this.form.get(e.path);r!==i&&(Wc(r||null,e),tR(i)&&(Bs(i,e,this.callSetDisabledState),e.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let r=this.form.get(e.path);FE(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let r=this.form.get(e.path);r&&QN(r,e)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Zp(this.form,this),this._oldForm&&Yc(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||t)($(tr,10),$(Kc,10),$(io,8))};static \u0275dir=S({type:t,features:[Y,Fe]})}return t})();var jE=new g(""),aR={provide:vn,useExisting:Oe(()=>lR)},lR=(()=>{class t extends vn{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new G;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,r,i,o,s){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=s,this._setValidators(e),this._setAsyncValidators(r),this.valueAccessor=LE(this,i)}ngOnChanges(e){if(this._isControlChanged(e)){let r=e.form.previousValue;r&&Wc(r,this,!1),Bs(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}kE(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Wc(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(r){return new(r||t)($(tr,10),$(Kc,10),$(Zc,10),$(jE,8),$(io,8))};static \u0275dir=S({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ce([aR]),Y,Fe]})}return t})();var cR={provide:Yr,useExisting:Oe(()=>Qp)},Qp=(()=>{class t extends sR{form=null;ngSubmit=new G;get control(){return this.form}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ue(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["","formGroup",""]],hostBindings:function(r,i){r&1&&ft("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ce([cR]),Y]})}return t})();function BE(t){return typeof t=="number"?t:parseFloat(t)}var Jc=(()=>{class t{_validator=Vc;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let r=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Vc,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,features:[Fe]})}return t})(),dR={provide:tr,useExisting:Oe(()=>uR),multi:!0},uR=(()=>{class t extends Jc{max;inputName="max";normalizeInput=e=>BE(e);createValidator=e=>_E(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ue(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,i){r&2&&ye("max",i._enabled?i.max:null)},inputs:{max:"max"},standalone:!1,features:[ce([dR]),Y]})}return t})(),fR={provide:tr,useExisting:Oe(()=>hR),multi:!0},hR=(()=>{class t extends Jc{min;inputName="min";normalizeInput=e=>BE(e);createValidator=e=>yE(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ue(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,i){r&2&&ye("min",i._enabled?i.min:null)},inputs:{min:"min"},standalone:!1,features:[ce([fR]),Y]})}return t})(),pR={provide:tr,useExisting:Oe(()=>mR),multi:!0};var mR=(()=>{class t extends Jc{required;inputName="required";normalizeInput=ie;createValidator=e=>bE;enabled(e){return e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ue(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,i){r&2&&ye("required",i._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ce([pR]),Y]})}return t})();var gR={provide:tr,useExisting:Oe(()=>vR),multi:!0},vR=(()=>{class t extends Jc{pattern;inputName="pattern";normalizeInput=e=>e;createValidator=e=>DE(e);static \u0275fac=(()=>{let e;return function(i){return(e||(e=Ue(t)))(i||t)}})();static \u0275dir=S({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,i){r&2&&ye("pattern",i._enabled?i.pattern:null)},inputs:{pattern:"pattern"},standalone:!1,features:[ce([gR]),Y]})}return t})();var HE=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({})}return t})();var UY=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:io,useValue:e.callSetDisabledState??Xc}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({imports:[HE]})}return t})(),zY=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:jE,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:io,useValue:e.callSetDisabledState??Xc}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({imports:[HE]})}return t})();var Xp=class{_box;_destroyed=new D;_resizeSubject=new D;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new N(e=>{let r=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),r.unsubscribe(),this._elementObservables.delete(n)}}).pipe(ue(e=>e.some(r=>r.target===n)),wo({bufferSize:1,refCount:!0}),at(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},UE=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=u(C);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,r){let i=r?.box||"content-box";return this._observers.has(i)||this._observers.set(i,new Xp(i)),this._observers.get(i).observe(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var yR=["notch"],_R=["matFormFieldNotchedOutline",""],bR=["*"],zE=["iconPrefixContainer"],$E=["textPrefixContainer"],GE=["iconSuffixContainer"],WE=["textSuffixContainer"],DR=["textField"],ER=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],CR=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function wR(t,n){t&1&&Vr(0,"span",21)}function IR(t,n){if(t&1&&(Te(0,"label",20),re(1,1),Qe(2,wR,1,0,"span",21),Ae()),t&2){let e=fn(2);qn("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),ye("for",e._control.disableAutomaticLabeling?null:e._control.id),Se(2),Xe(!e.hideRequiredMarker&&e._control.required?2:-1)}}function xR(t,n){if(t&1&&Qe(0,IR,3,5,"label",20),t&2){let e=fn();Xe(e._hasFloatingLabel()?0:-1)}}function SR(t,n){t&1&&Vr(0,"div",7)}function MR(t,n){}function TR(t,n){if(t&1&&Kt(0,MR,0,0,"ng-template",13),t&2){fn(2);let e=Vl(1);qn("ngTemplateOutlet",e)}}function AR(t,n){if(t&1&&(Te(0,"div",9),Qe(1,TR,1,1,null,13),Ae()),t&2){let e=fn();qn("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),Se(),Xe(e._forceDisplayInfixLabel()?-1:1)}}function NR(t,n){t&1&&(Te(0,"div",10,2),re(2,2),Ae())}function RR(t,n){t&1&&(Te(0,"div",11,3),re(2,3),Ae())}function OR(t,n){}function FR(t,n){if(t&1&&Kt(0,OR,0,0,"ng-template",13),t&2){fn();let e=Vl(1);qn("ngTemplateOutlet",e)}}function kR(t,n){t&1&&(Te(0,"div",14,4),re(2,4),Ae())}function PR(t,n){t&1&&(Te(0,"div",15,5),re(2,5),Ae())}function LR(t,n){t&1&&Vr(0,"div",16)}function VR(t,n){t&1&&(Te(0,"div",18),re(1,6),Ae())}function jR(t,n){if(t&1&&(Te(0,"mat-hint",22),bh(1),Ae()),t&2){let e=fn(2);qn("id",e._hintLabelId),Se(),Bl(e.hintLabel)}}function BR(t,n){if(t&1&&(Te(0,"div",19),Qe(1,jR,2,2,"mat-hint",22),re(2,7),Vr(3,"div",23),re(4,8),Ae()),t&2){let e=fn();Se(),Xe(e.hintLabel?1:-1)}}var Jp=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["mat-label"]]})}return t})(),JE=new g("MatError"),HR=(()=>{class t{id=u($e).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(r,i){r&2&&Qt("id",i.id)},inputs:{id:"id"},features:[ce([{provide:JE,useExisting:t}])]})}return t})(),em=(()=>{class t{align="start";id=u($e).getId("mat-mdc-hint-");static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(r,i){r&2&&(Qt("id",i.id),ye("align",null),ee("mat-mdc-form-field-hint-end",i.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),UR=new g("MatPrefix");var eC=new g("MatSuffix"),zR=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[ce([{provide:eC,useExisting:t}])]})}return t})(),tC=new g("FloatingLabelParent"),qE=(()=>{class t{_elementRef=u(F);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=u(UE);_ngZone=u(C);_parent=u(tC);_resizeSubscription=new j;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return $R(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(r,i){r&2&&ee("mdc-floating-label--float-above",i.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function $R(t){let n=t;if(n.offsetParent!==null)return n.scrollWidth;let e=n.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let r=e.scrollWidth;return e.remove(),r}var YE="mdc-line-ripple--active",ed="mdc-line-ripple--deactivating",ZE=(()=>{class t{_elementRef=u(F);_cleanupTransitionEnd;constructor(){let e=u(C),r=u(Me);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=r.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(ed),e.add(YE)}deactivate(){this._elementRef.nativeElement.classList.add(ed)}_handleTransitionEnd=e=>{let r=this._elementRef.nativeElement.classList,i=r.contains(ed);e.propertyName==="opacity"&&i&&r.remove(YE,ed)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),KE=(()=>{class t{_elementRef=u(F);_ngZone=u(C);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,r=e.querySelector(".mdc-floating-label");r?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(r.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>r.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let r=this._notch.nativeElement;!this.open||!e?r.style.width="":r.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(r,i){if(r&1&&hn(yR,5),r&2){let o;Ce(o=we())&&(i._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(r,i){r&2&&ee("mdc-notched-outline--notched",i.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:_R,ngContentSelectors:bR,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(r,i){r&1&&(ze(),ke(0,"div",1),kt(1,"div",2,0),re(3),Pt(),ke(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),tm=(()=>{class t{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t})}return t})();var nm=new g("MatFormField"),GR=new g("MAT_FORM_FIELD_DEFAULT_OPTIONS"),QE="fill",WR="auto",XE="fixed",qR="translateY(-50%)",nC=(()=>{class t{_elementRef=u(F);_changeDetectorRef=u(pn);_platform=u(K);_idGenerator=u($e);_ngZone=u(C);_defaults=u(GR,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=as("iconPrefixContainer");_textPrefixContainerSignal=as("textPrefixContainer");_iconSuffixContainerSignal=as("iconSuffixContainer");_textSuffixContainerSignal=as("textSuffixContainer");_prefixSuffixContainers=Pe(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=db(Jp);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=Ji(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||WR}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let r=e||this._defaults?.appearance||QE;this._appearanceSignal.set(r)}_appearanceSignal=ae(QE);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||XE}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||XE}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new D;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=jt();constructor(){let e=this._defaults,r=u(Lt);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),Nt(()=>this._currentDirection=r.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Pe(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let r=this._control,i="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(i+e.controlType),r.controlType&&this._elementRef.nativeElement.classList.add(i+r.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=r.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=r.stateChanges.pipe(pt([void 0,void 0]),X(()=>[r.errorState,r.userAriaDescribedBy]),Eo(),ue(([[o,s],[a,l]])=>o!==a||s!==l)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),r.ngControl&&r.ngControl.valueChanges&&(this._valueChanges=r.ngControl.valueChanges.pipe(at(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),_o(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){mb({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Pe(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let r=this._control?this._control.ngControl:null;return r&&r[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,s=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),s&&e.push(s.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let r=this._control.describedByIds,i;if(r){let o=this._describedByIds||e;i=e.concat(r.filter(s=>s&&!o.includes(s)))}else i=e;this._control.setDescribedByIds(i),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,r=this._textPrefixContainer?.nativeElement,i=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,s=e?.getBoundingClientRect().width??0,a=r?.getBoundingClientRect().width??0,l=i?.getBoundingClientRect().width??0,c=o?.getBoundingClientRect().width??0,d=this._currentDirection==="rtl"?"-1":"1",f=`${s+a}px`,h=`calc(${d} * (${f} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,m=`var(--mat-mdc-form-field-label-transform, ${qR} translateX(${h}))`,v=s+a+l+c;return[m,v]}_writeOutlinedLabelStyles(e){if(e!==null){let[r,i]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=r),i!==null&&this._notchedOutline?._setMaxWidth(i)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let r=e.getRootNode();return r&&r!==e}return document.documentElement.contains(e)}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["mat-form-field"]],contentQueries:function(r,i,o){if(r&1&&(kl(o,i._labelChild,Jp,5),Fl(o,tm,5)(o,UR,5)(o,eC,5)(o,JE,5)(o,em,5)),r&2){Ll();let s;Ce(s=we())&&(i._formFieldControl=s.first),Ce(s=we())&&(i._prefixChildren=s),Ce(s=we())&&(i._suffixChildren=s),Ce(s=we())&&(i._errorChildren=s),Ce(s=we())&&(i._hintChildren=s)}},viewQuery:function(r,i){if(r&1&&(Pl(i._iconPrefixContainerSignal,zE,5)(i._textPrefixContainerSignal,$E,5)(i._iconSuffixContainerSignal,GE,5)(i._textSuffixContainerSignal,WE,5),hn(DR,5)(zE,5)($E,5)(GE,5)(WE,5)(qE,5)(KE,5)(ZE,5)),r&2){Ll(4);let o;Ce(o=we())&&(i._textField=o.first),Ce(o=we())&&(i._iconPrefixContainer=o.first),Ce(o=we())&&(i._textPrefixContainer=o.first),Ce(o=we())&&(i._iconSuffixContainer=o.first),Ce(o=we())&&(i._textSuffixContainer=o.first),Ce(o=we())&&(i._floatingLabel=o.first),Ce(o=we())&&(i._notchedOutline=o.first),Ce(o=we())&&(i._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(r,i){r&2&&ee("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-appearance-fill",i.appearance=="fill")("mat-form-field-appearance-outline",i.appearance=="outline")("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-primary",i.color!=="accent"&&i.color!=="warn")("mat-accent",i.color==="accent")("mat-warn",i.color==="warn")("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[ce([{provide:nm,useExisting:t},{provide:tC,useExisting:t}])],ngContentSelectors:CR,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(r,i){if(r&1){let o=_h();ze(ER),Kt(0,xR,1,1,"ng-template",null,0,wh),Te(2,"div",6,1),ft("click",function(a){return Va(o),ja(i._control.onContainerClick(a))}),Qe(4,SR,1,0,"div",7),Te(5,"div",8),Qe(6,AR,2,2,"div",9),Qe(7,NR,3,0,"div",10),Qe(8,RR,3,0,"div",11),Te(9,"div",12),Qe(10,FR,1,1,null,13),re(11),Ae(),Qe(12,kR,3,0,"div",14),Qe(13,PR,3,0,"div",15),Ae(),Qe(14,LR,1,0,"div",16),Ae(),Te(15,"div",17),Qe(16,VR,2,0,"div",18)(17,BR,5,1,"div",19),Ae()}if(r&2){let o;Se(2),ee("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),Se(2),Xe(!i._hasOutline()&&!i._control.disabled?4:-1),Se(2),Xe(i._hasOutline()?6:-1),Se(),Xe(i._hasIconPrefix?7:-1),Se(),Xe(i._hasTextPrefix?8:-1),Se(2),Xe(!i._hasOutline()||i._forceDisplayInfixLabel()?10:-1),Se(2),Xe(i._hasTextSuffix?12:-1),Se(),Xe(i._hasIconSuffix?13:-1),Se(),Xe(i._hasOutline()?-1:14),Se(),ee("mat-mdc-form-field-subscript-dynamic-size",i.subscriptSizing==="dynamic");let s=i._getSubscriptMessageType();Se(),Xe((o=s)==="error"?16:o==="hint"?17:-1)}},dependencies:[qE,KE,Bh,ZE,em],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
20
- `],encapsulation:2,changeDetection:0})}return t})();var rm=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({imports:[fc,nC,Le]})}return t})();var YR=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(r,i){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}
21
- `],encapsulation:2,changeDetection:0})}return t})(),ZR={passive:!0},rC=(()=>{class t{_platform=u(K);_ngZone=u(C);_renderer=u(Ee).createRenderer(null,null);_styleLoader=u(st);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return ur;this._styleLoader.load(YR);let r=et(e),i=this._monitoredElements.get(r);if(i)return i.subject;let o=new D,s="cdk-text-field-autofilled",a=c=>{c.animationName==="cdk-text-field-autofill-start"&&!r.classList.contains(s)?(r.classList.add(s),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&r.classList.contains(s)&&(r.classList.remove(s),this._ngZone.run(()=>o.next({target:c.target,isAutofilled:!1})))},l=this._ngZone.runOutsideAngular(()=>(r.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(r,"animationstart",a,ZR)));return this._monitoredElements.set(r,{subject:o,unlisten:l}),o}stopMonitoring(e){let r=et(e),i=this._monitoredElements.get(r);i&&(i.unlisten(),i.subject.complete(),r.classList.remove("cdk-text-field-autofill-monitored"),r.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(r))}ngOnDestroy(){this._monitoredElements.forEach((e,r)=>this.stopMonitoring(r))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var iC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({})}return t})();var oC=new g("MAT_INPUT_VALUE_ACCESSOR");var sC=(()=>{class t{isErrorState(e,r){return!!(e&&e.invalid&&(e.touched||r&&r.submitted))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var td=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(n,e,r,i,o){this._defaultMatcher=n,this.ngControl=e,this._parentFormGroup=r,this._parentForm=i,this._stateChanges=o}updateErrorState(){let n=this.errorState,e=this._parentFormGroup||this._parentForm,r=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=r?.isErrorState(i,e)??!1;o!==n&&(this.errorState=o,this._stateChanges.next())}};var KR=["button","checkbox","file","hidden","image","radio","range","reset","submit"],QR=new g("MAT_INPUT_CONFIG"),n7=(()=>{class t{_elementRef=u(F);_platform=u(K);ngControl=u(vn,{optional:!0,self:!0});_autofillMonitor=u(rC);_ngZone=u(C);_formField=u(nm,{optional:!0});_renderer=u(Me);_uid=u($e).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=u(QR,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new D;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=Ji(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Lc.required)??!1}set required(e){this._required=Ji(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&kp().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=Ji(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>kp().has(e));constructor(){let e=u(Kp,{optional:!0}),r=u(Qp,{optional:!0}),i=u(sC),o=u(oC,{optional:!0,self:!0}),s=this._elementRef.nativeElement,a=s.nodeName.toLowerCase();o?Lr(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=s,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(s,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new td(i,this.ngControl,r,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=a==="select",this._isTextarea=a==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=s.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Nt(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let r=this._elementRef.nativeElement;r.type==="number"?(r.type="text",r.setSelectionRange(0,0),r.type="number"):r.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let r=this._elementRef.nativeElement;this._previousPlaceholder=e,e?r.setAttribute("placeholder",e):r.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){KR.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,r=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&r&&r.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let r=this._elementRef.nativeElement;e.length?r.setAttribute("aria-describedby",e.join(" ")):r.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let r=e.target;!r.value&&r.selectionStart===0&&r.selectionEnd===0&&(r.setSelectionRange(1,1),r.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(r){return new(r||t)};static \u0275dir=S({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(r,i){r&1&&ft("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),r&2&&(Qt("id",i.id)("disabled",i.disabled&&!i.disabledInteractive)("required",i.required),ye("name",i.name||null)("readonly",i._getReadonlyAttribute())("aria-disabled",i.disabled&&i.disabledInteractive?"true":null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required)("id",i.id),ee("mat-input-server",i._isServer)("mat-mdc-form-field-textarea-control",i._isInFormField&&i._isTextarea)("mat-mdc-form-field-input-control",i._isInFormField)("mat-mdc-input-disabled-interactive",i.disabledInteractive)("mdc-text-field__input",i._isInFormField)("mat-mdc-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",ie]},exportAs:["matInput"],features:[ce([{provide:tm,useExisting:t}]),Fe]})}return t})(),r7=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=U({type:t});static \u0275inj=B({imports:[rm,rm,iC,Le]})}return t})();var XR=["mat-internal-form-field",""],JR=["*"],o7=(()=>{class t{labelPosition;static \u0275fac=function(r){return new(r||t)};static \u0275cmp=ne({type:t,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(r,i){r&2&&ee("mdc-form-field--align-end",i.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:XR,ngContentSelectors:JR,decls:1,vars:0,template:function(r,i){r&1&&(ze(),re(0))},styles:[`.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}
22
- `],encapsulation:2,changeDetection:0})}return t})();export{j as a,N as b,D as c,cr as d,vd as e,Dd as f,ur as g,ge as h,tn as i,X as j,wd as k,si as l,go as m,vo as n,Id as o,yo as p,zC as q,_o as r,ue as s,va as t,$C as u,xd as v,hr as w,nt as x,GC as y,Do as z,qC as A,Io as B,pt as C,xo as D,at as E,pr as F,Oe as G,y as H,B as I,g as J,A as K,u as L,Va as M,ja as N,Mg as O,Tg as P,P as Q,R,rt as S,G as T,C as U,ae as V,Nt as W,Fe as X,Ue as Y,wf as Z,F as _,cn as $,Ne as aa,LI as ba,VI as ca,jI as da,BI as ea,Se as fa,Ft as ga,He as ha,Ee as ia,Me as ja,$ as ka,Jx as la,Ke as ma,ne as na,U as oa,S as pa,ch as qa,Y as ra,Kt as sa,u_ as ta,Lr as ua,ut as va,wS as wa,IS as xa,C_ as ya,ye as za,Qe as Aa,Xe as Ba,SS as Ca,MS as Da,TS as Ea,AS as Fa,qn as Ga,Te as Ha,Ae as Ia,Vr as Ja,kt as Ka,Pt as La,ke as Ma,vh as Na,yh as Oa,I_ as Pa,_h as Qa,Qt as Ra,ft as Sa,S_ as Ta,fn as Ua,ze as Va,re as Wa,Fl as Xa,hn as Ya,Ce as Za,we as _a,kl as $a,Pl as ab,Ll as bb,Vl as cb,jl as db,ee as eb,QS as fb,os as gb,bh as hb,Bl as ib,Dh as jb,H_ as kb,z_ as lb,dM as mb,$_ as nb,W_ as ob,uM as pb,fM as qb,hM as rb,ce as sb,vM as tb,yM as ub,_M as vb,bM as wb,DM as xb,EM as yb,wM as zb,IM as Ab,xM as Bb,wh as Cb,Hl as Db,Pe as Eb,Ih as Fb,TM as Gb,Gl as Hb,_8 as Ib,b8 as Jb,D8 as Kb,E8 as Lb,C8 as Mb,w8 as Nb,I8 as Ob,pn as Pb,ls as Qb,ie as Rb,hb as Sb,vT as Tb,wb as Ub,yT as Vb,Bh as Wb,_T as Xb,Ib as Yb,RT as Zb,Zn as _b,lc as $b,sA as ac,aA as bc,np as cc,gs as dc,vs as ec,ip as fc,Hr as gc,Je as hc,K as ic,Ui as jc,bt as kc,et as lc,zi as mc,uA as nc,st as oc,bs as pc,$i as qc,ap as rc,v4 as sc,fc as tc,pc as uc,mc as vc,IA as wc,SA as xc,cp as yc,$e as zc,Qn as Ac,up as Bc,fp as Cc,hp as Dc,h5 as Ec,TA as Fc,AA as Gc,C5 as Hc,Lt as Ic,Le as Jc,gD as Kc,PA as Lc,Es as Mc,Cs as Nc,$r as Oc,bD as Pc,UA as Qc,_p as Rc,bp as Sc,Yi as Tc,Xn as Uc,Zi as Vc,Cc as Wc,mq as Xc,Is as Yc,Gr as Zc,Qi as _c,Sp as $c,qr as ad,Ss as bd,Tp as cd,Mc as dd,Xi as ed,Ms as fd,Ip as gd,YA as hd,Ts as id,Rp as jd,Op as kd,LD as ld,Ji as md,C6 as nd,x6 as od,tN as pd,jt as qd,Rc as rd,aN as sd,zD as td,K6 as ud,Q6 as vd,X6 as wd,J6 as xd,Dt as yd,Rs as zd,Vp as Ad,b9 as Bd,QD as Cd,XD as Dd,bN as Ed,eE as Fd,J9 as Gd,eY as Hd,tY as Id,nY as Jd,aE as Kd,EY as Ld,CY as Md,Zc as Nd,vE as Od,tr as Pd,Lc as Qd,Yr as Rd,vn as Sd,BY as Td,Kp as Ud,VE as Vd,rR as Wd,oR as Xd,lR as Yd,Qp as Zd,uR as _d,hR as $d,mR as ae,vR as be,UY as ce,zY as de,o7 as ee,UE as fe,Jp as ge,HR as he,em as ie,zR as je,tm as ke,nm as le,nC as me,rm as ne,oC as oe,sC as pe,td as qe,n7 as re,r7 as se};