UNPKG

p3x-redis-ui-material

Version:

💿 P3X Redis UI triple frontend — Angular + React/MUI + Vue/Vuetify with 54 languages, 7 themes, Socket.IO, desktop notifications, and full feature parity

1,279 lines 425 kB
import{a as F$1,d as L$1,i as E$1,n as s,t as o}from"./main-OCJB5534.js";function k(e){return typeof e==`function`}function pl(e){return k(e?.lift)}function x(e){return t=>{if(pl(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError(`Unable to lift unknown Observable type`)}}function Sr(e){let n=e(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var is=Sr(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:
${n.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
  `)}`:``,this.name=`UnsubscriptionError`,this.errors=n});function kn(e,t){if(e){let n=e.indexOf(t);0<=n&&e.splice(n,1)}}var L=class e{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let i of n)i.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(k(r))try{r()}catch(i){t=i instanceof is?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Jp(i)}catch(s){t=t??[],s instanceof is?t=[...t,...s.errors]:t.push(s)}}if(t)throw new is(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Jp(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}}_hasParent(t){let{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){let{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&kn(n,t)}remove(t){let{_finalizers:n}=this;n&&kn(n,t),t instanceof e&&t._removeParent(this)}};L.EMPTY=(()=>{let e=new L;return e.closed=!0,e})();var hl=L.EMPTY;function ss(e){return e instanceof L||e&&`closed`in e&&k(e.remove)&&k(e.add)&&k(e.unsubscribe)}function Jp(e){k(e)?e():e.unsubscribe()}var ct={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Cr={setTimeout(e,t,...n){let{delegate:r}=Cr;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){let{delegate:t}=Cr;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function as(e){Cr.setTimeout(()=>{let{onUnhandledError:t}=ct;if(t)t(e);else throw e})}function Fn(){}var eh=ml(`C`,void 0,void 0);function th(e){return ml(`E`,void 0,e)}function nh(e){return ml(`N`,e,void 0)}function ml(e,t,n){return{kind:e,value:t,error:n}}var Pn=null;function xr(e){if(ct.useDeprecatedSynchronousErrorHandling){let t=!Pn;if(t&&(Pn={errorThrown:!1,error:null}),e(),t){let{errorThrown:n,error:r}=Pn;if(Pn=null,n)throw r}}else e()}function rh(e){ct.useDeprecatedSynchronousErrorHandling&&Pn&&(Pn.errorThrown=!0,Pn.error=e)}var Ln=class extends L{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ss(t)&&t.add(this)):this.destination=ME}static create(t,n,r){return new Lt(t,n,r)}next(t){this.isStopped?vl(nh(t),this):this._next(t)}error(t){this.isStopped?vl(th(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?vl(eh,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}};var TE=Function.prototype.bind;function gl(e,t){return TE.call(e,t)}var yl=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){cs(r)}}error(t){let{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){cs(r)}else cs(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){cs(n)}}};var Lt=class extends Ln{constructor(t,n,r){super();let o;if(k(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ct.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&gl(t.next,i),error:t.error&&gl(t.error,i),complete:t.complete&&gl(t.complete,i)}):o=t}this.destination=new yl(o)}};function cs(e){ct.useDeprecatedSynchronousErrorHandling?rh(e):as(e)}function NE(e){throw e}function vl(e,t){let{onStoppedNotification:n}=ct;n&&Cr.setTimeout(()=>n(e,t))}var ME={closed:!0,next:Fn,error:NE,complete:Fn};function S(e,t,n,r,o){return new bl(e,t,n,r,o)}var bl=class extends Ln{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(c){t.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){t.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function _e(e,t){return x((n,r)=>{let o=0;n.subscribe(S(r,i=>e.call(t,i,o++)&&r.next(i)))})}var Ie=null;var ls=!1;var jn=1;var AE=null;var de=Symbol(`SIGNAL`);function w(e){let t=Ie;return Ie=e,t}function ps(){return Ie}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 Vn(e){if(ls)throw new Error(``);if(Ie===null)return;Ie.consumerOnSignalRead(e);let t=Ie.producersTail;if(t!==void 0&&t.producer===e)return;let n,r=Ie.recomputing;if(r&&(n=t!==void 0?t.nextProducer:Ie.producers,n!==void 0&&n.producer===e)){Ie.producersTail=n,n.lastReadVersion=e.version,n.knownValidAtEpoch=jn;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===Ie&&(!r||o.knownValidAtEpoch===jn))return;let i=Nr(Ie),s={producer:e,consumer:Ie,nextProducer:n,prevConsumer:void 0,knownValidAtEpoch:jn,lastReadVersion:e.version,nextConsumer:void 0};Ie.producersTail=s,t!==void 0?t.nextProducer=s:Ie.producers=s,i&&ah(e,s)}function oh(){jn++}function hs(e){if(!(Nr(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===jn)){if(!e.producerMustRecompute(e)&&!Tr(e)){fs(e);return}e.producerRecomputeValue(e),fs(e)}}function _l(e){if(e.consumers===void 0)return;let t=ls;ls=!0;try{for(let n=e.consumers;n!==void 0;n=n.nextConsumer){let r=n.consumer;r.dirty||RE(r)}}finally{ls=t}}function Dl(){return Ie?.consumerAllowSignalWrites!==!1}function RE(e){e.dirty=!0,_l(e),e.consumerMarkedDirty?.(e)}function fs(e){e.dirty=!1,e.lastCleanEpoch=jn}function on(e){return e&&ih(e),w(e)}function ih(e){if(e.producersTail?.knownValidAtEpoch===jn){let t=e.producers;for(;t!==void 0;)t.knownValidAtEpoch=null,t=t.nextProducer}e.producersTail=void 0,e.recomputing=!0}function Hn(e,t){w(t),e&&sh(e)}function sh(e){e.recomputing=!1;let t=e.producersTail,n=t!==void 0?t.nextProducer:e.producers;if(n!==void 0){if(Nr(e))do n=El(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:e.producers=void 0}}function Tr(e){for(let t=e.producers;t!==void 0;t=t.nextProducer){let n=t.producer,r=t.lastReadVersion;if(r!==n.version||(hs(n),r!==n.version))return!0}return!1}function sn(e){if(Nr(e)){let t=e.producers;for(;t!==void 0;)t=El(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ah(e,t){let n=e.consumersTail,r=Nr(e);if(n!==void 0?(t.nextConsumer=n.nextConsumer,n.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=n,e.consumersTail=t,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)ah(o.producer,o)}function El(e){let t=e.producer,n=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:t.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(t.consumers=r,!Nr(t)){let i=t.producers;for(;i!==void 0;)i=El(i)}return n}function Nr(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function ms(e){AE?.(e)}function gs(e,t){return Object.is(e,t)}function ko(e,t){let n=Object.create(OE);n.computation=e,t!==void 0&&(n.equal=t);let r=()=>{if(hs(n),Vn(n),n.value===Oo)throw n.error;return n.value};return r[de]=n,ms(n),r}var us=Symbol(`UNSET`);var ds=Symbol(`COMPUTING`);var Oo=Symbol(`ERRORED`);var OE=F$1(E$1({},Bn),{value:us,dirty:!0,error:null,equal:gs,kind:`computed`,producerMustRecompute(e){return e.value===us||e.value===ds},producerRecomputeValue(e){if(e.value===ds)throw new Error(``);let t=e.value;e.value=ds;let n=on(e),r,o=!1;try{r=e.computation(),w(null),o=t!==us&&t!==Oo&&r!==Oo&&e.equal(t,r)}catch(i){r=Oo,e.error=i}finally{Hn(e,n)}if(o){e.value=t;return}e.value=r,e.version++}});function kE(){throw new Error}var ch=kE;function lh(e){ch(e)}function wl(e){ch=e}var FE=null;function Il(e,t){let n=Object.create(Fo);n.value=e,t!==void 0&&(n.equal=t);let r=()=>uh(n);return r[de]=n,ms(n),[r,s=>Mr(n,s),s=>Sl(n,s)]}function uh(e){return Vn(e),e.value}function Mr(e,t){Dl()||lh(e),e.equal(e.value,t)||(e.value=t,PE(e))}function Sl(e,t){Dl()||lh(e),Mr(e,t(e.value))}var Fo=F$1(E$1({},Bn),{equal:gs,value:void 0,kind:`signal`});function PE(e){e.version++,oh(),_l(e),FE?.(e)}var Cl=F$1(E$1({},Bn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:`effect`});function xl(e){if(e.dirty=!1,e.version>0&&!Tr(e))return;e.version++;let t=on(e);try{e.cleanup(),e.fn()}finally{Hn(e,t)}}var Tl;function vs(){return Tl}function Dt(e){let t=Tl;return Tl=e,t}var dh=Symbol(`NotFound`);function Ar(e){return e===dh||e?.name===`ɵNotFound`}function fh(e){let t=w(null);try{return e()}finally{w(t)}}var Rr=typeof Symbol==`function`&&Symbol.observable||`@@observable`;function je(e){return e}function LE(...e){return Nl(e)}function Nl(e){return e.length===0?je:e.length===1?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}var T=class e{constructor(t){t&&(this._subscribe=t)}lift(t){let n=new e;return n.source=this,n.operator=t,n}subscribe(t,n,r){let o=BE(t)?t:new Lt(t,n,r);return xr(()=>{let{operator:i,source:s}=this;o.add(i?i.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(n){t.error(n)}}forEach(t,n){return n=ph(n),new n((r,o)=>{let i=new Lt({next:s=>{try{t(s)}catch(a){o(a),i.unsubscribe()}},error:o,complete:r});this.subscribe(i)})}_subscribe(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)}[Rr](){return this}pipe(...t){return Nl(t)(this)}toPromise(t){return t=ph(t),new t((n,r)=>{let o;this.subscribe(i=>o=i,i=>r(i),()=>n(o))})}};T.create=e=>new T(e);function ph(e){var t;return(t=e??ct.Promise)!==null&&t!==void 0?t:Promise}function jE(e){return e&&k(e.next)&&k(e.error)&&k(e.complete)}function BE(e){return e&&e instanceof Ln||jE(e)&&ss(e)}function hh(){return x((e,t)=>{let n=null;e._refCount++;let r=S(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount){n=null;return}let o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}var Po=class extends T{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,pl(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new L;let n=this.getSubject();t.add(this.source.subscribe(S(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=L.EMPTY)}return t}refCount(){return hh()(this)}};var Or={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame,{delegate:r}=Or;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);let o=t(i=>{n=void 0,e(i)});return new L(()=>n?.(o))},requestAnimationFrame(...e){let{delegate:t}=Or;return(t?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:t}=Or;return(t?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var mh=Sr(e=>function(){e(this),this.name=`ObjectUnsubscribedError`,this.message=`object unsubscribed`});var I=class extends T{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let n=new ys(this,this);return n.operator=t,n}_throwIfClosed(){if(this.closed)throw new mh}next(t){xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(t)}})}error(t){xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:n}=this;for(;n.length;)n.shift().error(t)}})}complete(){xr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:n,isStopped:r,observers:o}=this;return n||r?hl:(this.currentObservers=null,o.push(t),new L(()=>{this.currentObservers=null,kn(o,t)}))}_checkFinalizedStatuses(t){let{hasError:n,thrownError:r,isStopped:o}=this;n?t.error(r):o&&t.complete()}asObservable(){let t=new T;return t.source=this,t}};I.create=(e,t)=>new ys(e,t);var ys=class extends I{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,t)}error(t){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,t)}complete(){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||n===void 0||n.call(t)}_subscribe(t){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(t))!==null&&r!==void 0?r:hl}};var Un=class extends I{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){let{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}};var Lo={now(){return(Lo.delegate||Date).now()},delegate:void 0};var jo=class extends I{constructor(t=Infinity,n=Infinity,r=Lo){super(),this._bufferSize=t,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===Infinity,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,n)}next(t){let{isStopped:n,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;n||(r.push(t),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!t.closed;s+=r?1:2)t.next(i[s]);return this._checkFinalizedStatuses(t),n}_trimBuffer(){let{_bufferSize:t,_timestampProvider:n,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*t;if(t<Infinity&&i<r.length&&r.splice(0,r.length-i),!o){let s=n.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var bs=class extends L{constructor(t,n){super()}schedule(t,n=0){return this}};var Bo={setInterval(e,t,...n){let{delegate:r}=Bo;return r?.setInterval?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){let{delegate:t}=Bo;return(t?.clearInterval||clearInterval)(e)},delegate:void 0};var an=class extends bs{constructor(t,n){super(t,n),this.scheduler=t,this.work=n,this.pending=!1}schedule(t,n=0){var r;if(this.closed)return this;this.state=t;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,n)),this.pending=!0,this.delay=n,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,n),this}requestAsyncId(t,n,r=0){return Bo.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,n,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return n;n!=null&&Bo.clearInterval(n)}execute(t,n){if(this.closed)return new Error(`executing a cancelled action`);this.pending=!1;let r=this._execute(t,n);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,n){let r=!1,o;try{this.work(t)}catch(i){r=!0,o=i||new Error(`Scheduled action threw falsy error`)}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:t,scheduler:n}=this,{actions:r}=n;this.work=this.state=this.scheduler=null,this.pending=!1,kn(r,this),t!=null&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,super.unsubscribe()}}};var VE=1;var Ml;var Al={};function gh(e){return e in Al?(delete Al[e],!0):!1}var{setImmediate:HE,clearImmediate:UE}={setImmediate(e){let t=VE++;return Al[t]=!0,Ml||(Ml=Promise.resolve()),Ml.then(()=>gh(t)&&e()),t},clearImmediate(e){gh(e)}},Vo={setImmediate(...e){let{delegate:t}=Vo;return(t?.setImmediate||HE)(...e)},clearImmediate(e){let{delegate:t}=Vo;return(t?.clearImmediate||UE)(e)},delegate:void 0};var _s=class extends an{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Vo.setImmediate(t.flush.bind(t,void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Vo.clearImmediate(n),t._scheduled===n&&(t._scheduled=void 0))}};var Rl=(()=>{class e{constructor(n,r=e.now){this.schedulerActionCtor=n,this.now=r}schedule(n,r=0,o){return new this.schedulerActionCtor(this,n).schedule(o,r)}}return e.now=Lo.now,e})();var cn=class extends Rl{constructor(t,n=Rl.now){super(t,n),this.actions=[],this._active=!1}flush(t){let{actions:n}=this;if(this._active){n.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=n.shift());if(this._active=!1,r){for(;t=n.shift();)t.unsubscribe();throw r}}};var Ds=class extends cn{flush(t){this._active=!0;let n=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var Ol=new Ds(_s);var jt=new cn(an);var yh=jt;var Es=class extends an{constructor(t,n){super(t,n),this.scheduler=t,this.work=n}requestAsyncId(t,n,r=0){return r!==null&&r>0?super.requestAsyncId(t,n,r):(t.actions.push(this),t._scheduled||(t._scheduled=Or.requestAnimationFrame(()=>t.flush(void 0))))}recycleAsyncId(t,n,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(t,n,r);let{actions:i}=t;n!=null&&n===t._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==n&&(Or.cancelAnimationFrame(n),t._scheduled=void 0)}};var ws=class extends cn{flush(t){this._active=!0;let n;t?n=t.id:(n=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;t=t||r.shift();do if(o=t.execute(t.state,t.delay))break;while((t=r[0])&&t.id===n&&r.shift());if(this._active=!1,o){for(;(t=r[0])&&t.id===n&&r.shift();)t.unsubscribe();throw o}}};var kl=new ws(Es);var $n=new T(e=>e.complete());function Is(e){return e&&k(e.schedule)}function Fl(e){return e[e.length-1]}function Ss(e){return k(Fl(e))?e.pop():void 0}function Et(e){return Is(Fl(e))?e.pop():void 0}function bh(e,t){return typeof Fl(e)==`number`?e.pop():t}function Dh(e,t,n,r){function o(i){return i instanceof n?i:new n(function(s){s(i)})}return new(n||(n=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,t||[])).next())})}function _h(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}function zn(e){return this instanceof zn?(this.v=e,this):new zn(e)}function Eh(e,t,n){if(!Symbol.asyncIterator)throw new TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),o,i=[];return o=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),a(`next`),a(`throw`),a(`return`,s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(o[f]=function(g){return new Promise(function(D,b){i.push([f,g,D,b])>1||c(f,g)})},m&&(o[f]=m(o[f])))}function c(f,m){try{l(r[f](m))}catch(g){p(i[0][3],g)}}function l(f){f.value instanceof zn?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c(`next`,f)}function d(f){c(`throw`,f)}function p(f,m){f(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function wh(e){if(!Symbol.asyncIterator)throw new TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof _h==`function`?_h(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var Cs=(e=>e&&typeof e.length==`number`&&typeof e!=`function`);function xs(e){return k(e?.then)}function Ts(e){return k(e[Rr])}function Ns(e){return Symbol.asyncIterator&&k(e?.[Symbol.asyncIterator])}function Ms(e){return new TypeError(`You provided ${e!==null&&typeof e==`object`?`an invalid object`:`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function $E(){return typeof Symbol!=`function`||!Symbol.iterator?`@@iterator`:Symbol.iterator}var As=$E();function Rs(e){return k(e?.[As])}function Os(e){return Eh(this,arguments,function*(){let n=e.getReader();try{for(;;){let{value:r,done:o}=yield zn(n.read());if(o)return yield zn(void 0);yield yield zn(r)}}finally{n.releaseLock()}})}function ks(e){return k(e?.getReader)}function W(e){if(e instanceof T)return e;if(e!=null){if(Ts(e))return zE(e);if(Cs(e))return WE(e);if(xs(e))return GE(e);if(Ns(e))return Ih(e);if(Rs(e))return qE(e);if(ks(e))return YE(e)}throw Ms(e)}function zE(e){return new T(t=>{let n=e[Rr]();if(k(n.subscribe))return n.subscribe(t);throw new TypeError(`Provided object does not correctly implement Symbol.observable`)})}function WE(e){return new T(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function GE(e){return new T(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,as)})}function qE(e){return new T(t=>{for(let n of e)if(t.next(n),t.closed)return;t.complete()})}function Ih(e){return new T(t=>{ZE(e,t).catch(n=>t.error(n))})}function YE(e){return Ih(Os(e))}function ZE(e,t){var n,r,o,i;return Dh(this,void 0,void 0,function*(){try{for(n=wh(e);r=yield n.next(),!r.done;){let s=r.value;if(t.next(s),t.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})}function Ae(e,t,n,r=0,o=!1){let i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Fs(e,t=0){return x((n,r)=>{n.subscribe(S(r,o=>Ae(r,e,()=>r.next(o),t),()=>Ae(r,e,()=>r.complete(),t),o=>Ae(r,e,()=>r.error(o),t)))})}function Ps(e,t=0){return x((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Sh(e,t){return W(e).pipe(Ps(t),Fs(t))}function Ch(e,t){return W(e).pipe(Ps(t),Fs(t))}function xh(e,t){return new T(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function Th(e,t){return new T(n=>{let r;return Ae(n,t,()=>{r=e[As](),Ae(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){n.error(s);return}i?n.complete():n.next(o)},0,!0)}),()=>k(r?.return)&&r.return()})}function Ls(e,t){if(!e)throw new Error(`Iterable cannot be null`);return new T(n=>{Ae(n,t,()=>{let r=e[Symbol.asyncIterator]();Ae(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Nh(e,t){return Ls(Os(e),t)}function Mh(e,t){if(e!=null){if(Ts(e))return Sh(e,t);if(Cs(e))return xh(e,t);if(xs(e))return Ch(e,t);if(Ns(e))return Ls(e,t);if(Rs(e))return Th(e,t);if(ks(e))return Nh(e,t)}throw Ms(e)}function wt(e,t){return t?Mh(e,t):W(e)}function Re(...e){return wt(e,Et(e))}function KE(e,t){let n=k(e)?e:()=>e,r=o=>o.error(n());return new T(t?o=>t.schedule(r,0,o):r)}function Bt(e){return!!e&&(e instanceof T||k(e.lift)&&k(e.subscribe))}var Ho=Sr(e=>function(){e(this),this.name=`EmptyError`,this.message=`no elements in sequence`});function Ah(e){return e instanceof Date&&!isNaN(e)}function ie(e,t){return x((n,r)=>{let o=0;n.subscribe(S(r,i=>{r.next(e.call(t,i,o++))}))})}var{isArray:XE}=Array;function QE(e,t){return XE(t)?e(...t):e(t)}function js(e){return ie(t=>QE(e,t))}var{isArray:JE}=Array,{getPrototypeOf:ew,prototype:tw,keys:nw}=Object;function Bs(e){if(e.length===1){let t=e[0];if(JE(t))return{args:t,keys:null};if(rw(t)){let n=nw(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}function rw(e){return e&&typeof e==`object`&&ew(e)===tw}function Vs(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function Pl(...e){let t=Et(e),n=Ss(e),{args:r,keys:o}=Bs(e);if(r.length===0)return wt([],t);let i=new T(ow(r,t,o?s=>Vs(o,s):je));return n?i.pipe(js(n)):i}function ow(e,t,n=je){return r=>{Rh(t,()=>{let{length:o}=e,i=new Array(o),s=o,a=o;for(let c=0;c<o;c++)Rh(t,()=>{let l=wt(e[c],t),u=!1;l.subscribe(S(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function Rh(e,t,n){e?Ae(n,e,t):t()}function Oh(e,t,n,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&t.complete()},f=g=>l<r?m(g):c.push(g),m=g=>{i&&t.next(g),l++;let D=!1;W(n(g,u++)).subscribe(S(t,b=>{o?.(b),i?f(b):t.next(b)},()=>{D=!0},void 0,()=>{if(D)try{for(l--;c.length&&l<r;){let b=c.shift();s?Ae(t,s,()=>m(b)):m(b)}p()}catch(b){t.error(b)}}))};return e.subscribe(S(t,f,()=>{d=!0,p()})),()=>{a?.()}}function Vt(e,t,n=Infinity){return k(t)?Vt((r,o)=>ie((i,s)=>t(r,i,o,s))(W(e(r,o))),n):(typeof t==`number`&&(n=t),x((r,o)=>Oh(r,o,e,n)))}function Uo(e=Infinity){return Vt(je,e)}function kh(){return Uo(1)}function ln(...e){return kh()(wt(e,Et(e)))}function iw(e){return new T(t=>{W(e()).subscribe(t)})}function sw(...e){let t=Ss(e),{args:n,keys:r}=Bs(e),o=new T(i=>{let{length:s}=n;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;W(n[u]).subscribe(S(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Vs(r,a):a),i.complete())}))}});return t?o.pipe(js(t)):o}function Wn(e=0,t,n=yh){let r=-1;return t!=null&&(Is(t)?n=t:r=t),new T(o=>{let i=Ah(e)?+e-n.now():e;i<0&&(i=0);let s=0;return n.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function aw(e=0,t=jt){return e<0&&(e=0),Wn(e,e,t)}function cw(...e){let t=Et(e),n=bh(e,Infinity),r=e;return r.length?r.length===1?W(r[0]):Uo(n)(wt(r,t)):$n}function Fh(e){return x((t,n)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,n.next(l)}s&&n.complete()},c=()=>{i=null,s&&n.complete()};t.subscribe(S(n,l=>{r=!0,o=l,i||W(e(l)).subscribe(i=S(n,a,c))},()=>{s=!0,(!r||!i||i.closed)&&n.complete()}))})}function $o(e,t=jt){return Fh(()=>Wn(e,t))}function Ph(e){return x((t,n)=>{let r=null,o=!1,i;r=t.subscribe(S(n,void 0,void 0,s=>{i=W(e(s,Ph(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}function Lh(e,t,n,r,o){return(i,s)=>{let a=n,c=t,l=0;i.subscribe(S(s,u=>{let d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function lw(e,t){return x(Lh(e,t,arguments.length>=2,!1,!0))}function Ll(e,t){return k(t)?Vt(e,t,1):Vt(e,1)}function Gn(e,t=jt){return x((n,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=t.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}n.subscribe(S(r,l=>{i=l,s=t.now(),o||(o=t.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function jh(e){return x((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function lt(e){return e<=0?()=>$n:x((t,n)=>{let r=0;t.subscribe(S(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Bh(){return x((e,t)=>{e.subscribe(S(t,Fn))})}function Vh(e){return ie(()=>e)}function jl(e,t){return t?n=>ln(t.pipe(lt(1),Bh()),n.pipe(jl(e))):Vt((n,r)=>W(e(n,r)).pipe(lt(1),Vh(n)))}function uw(e,t=jt){let n=Wn(e,t);return jl(()=>n)}function kr(e,t=je){return e=e??dw,x((n,r)=>{let o,i=!0;n.subscribe(S(r,s=>{let a=t(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function dw(e,t){return e===t}function Hh(e=fw){return x((t,n)=>{let r=!1;t.subscribe(S(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function fw(){return new Ho}function Bl(e){return x((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}function pw(e,t){let n=arguments.length>=2;return r=>r.pipe(e?_e((o,i)=>e(o,i,r)):je,lt(1),n?jh(t):Hh(()=>new Ho))}function hw(e){return e<=0?()=>$n:x((t,n)=>{let r=[];t.subscribe(S(n,o=>{r.push(o),e<r.length&&r.shift()},()=>{for(let o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Vl(){return x((e,t)=>{let n,r=!1;e.subscribe(S(t,o=>{let i=n;n=o,r&&t.next([i,o]),r=!0}))})}function Ul(e={}){let{connector:t=()=>new I,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},m=()=>{let g=s;f(),g?.unsubscribe()};return x((g,D)=>{l++,!d&&!u&&p();let b=c=c??t();D.add(()=>{l--,l===0&&!d&&!u&&(a=Hl(m,o))}),b.subscribe(D),!s&&l>0&&(s=new Lt({next:B=>b.next(B),error:B=>{d=!0,p(),a=Hl(f,n,B),b.error(B)},complete:()=>{u=!0,p(),a=Hl(f,r),b.complete()}}),W(g).subscribe(s))})(i)}}function Hl(e,t,...n){if(t===!0){e();return}if(t===!1)return;let r=new Lt({next:()=>{r.unsubscribe(),e()}});return W(t(...n)).subscribe(r)}function $l(e,t,n){let r,o=!1;return e&&typeof e==`object`?{bufferSize:r=Infinity,windowTime:t=Infinity,refCount:o=!1,scheduler:n}=e:r=e??Infinity,Ul({connector:()=>new jo(r,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function zo(e){return _e((t,n)=>e<=n)}function Fr(...e){let t=Et(e);return x((n,r)=>{(t?ln(e,n,t):ln(e,n)).subscribe(r)})}function Hs(e,t){return x((n,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();n.subscribe(S(r,c=>{o?.unsubscribe();let l=0,u=i++;W(e(c,u)).subscribe(o=S(r,d=>r.next(t?t(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ht(e){return x((t,n)=>{W(e).subscribe(S(n,()=>n.complete(),Fn)),!n.closed&&t.subscribe(n)})}function zl(e,t=!1){return x((n,r)=>{let o=0;n.subscribe(S(r,i=>{let s=e(i,o++);(s||t)&&r.next(i),!s&&r.complete()}))})}function Wl(e,t,n){let r=k(e)||t||n?{next:e,error:t,complete:n}:e;return r?x((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(S(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):je}var Ys=`https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss`;var y=class extends Error{code;constructor(t,n){super(fn(t,n)),this.code=t}};function mw(e){return`NG0${Math.abs(e)}`}function fn(e,t){return`${mw(e)}${t?`: `+t:``}`}function H(e){for(let t in e)if(e[t]===H)return t;throw Error(``)}function qh(e,t){for(let n in t)Object.hasOwn(t,n)&&!Object.hasOwn(e,n)&&(e[n]=t[n])}function Xo(e){if(typeof e==`string`)return e;if(Array.isArray(e))return`[${e.map(Xo).join(`, `)}]`;if(e==null)return``+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let n=e.toString();if(n==null)return``+n;let r=n.indexOf(`
`);return r>=0?n.slice(0,r):n}function Zs(e,t){return e?t?`${e} ${t}`:e:t||``}var gw=H({__forward_ref__:H});function Br(e){return e.__forward_ref__=Br,e}function fe(e){return iu(e)?e():e}function iu(e){return typeof e==`function`&&Object.hasOwn(e,gw)&&e.__forward_ref__===Br}function P(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function te(e){return{providers:e.providers||[],imports:e.imports||[]}}function Qo(e){return yw(e,Ks)}function vw(e){return Qo(e)!==null}function yw(e,t){return Object.hasOwn(e,t)&&e[t]||null}function bw(e){return(e?.[Ks]??null)||null}function ql(e){return e&&Object.hasOwn(e,$s)?e[$s]:null}var Ks=H({ɵprov:H});var $s=H({ɵinj:H});var v=class{_desc;ngMetadataName=`InjectionToken`;ɵprov;constructor(t,n){this._desc=t,this.ɵprov=void 0,typeof n==`number`?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.ɵprov=P({token:this,providedIn:n.providedIn||`root`,factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function su(e){return e&&!!e.ɵproviders}var Jo=H({ɵcmp:H});var ei=H({ɵdir:H});var au=H({ɵpipe:H});var cu=H({ɵmod:H});var qo=H({ɵfac:H});var Xn=H({__NG_ELEMENT_ID__:H});var Uh=H({__NG_ENV_ID__:H});function Yh(e){return Qs(e,`@NgModule`),e[cu]||null}function Wt(e){return Qs(e,`@Component`),e[Jo]||null}function Xs(e){return Qs(e,`@Directive`),e[ei]||null}function Zh(e){return Qs(e,`@Pipe`),e[au]||null}function Qs(e,t){if(e==null)throw new y(-919,!1)}function Be(e){return typeof e==`string`?e:e==null?``:String(e)}var Kh=H({ngErrorCode:H});var _w=H({ngErrorMessage:H});var Dw=H({ngTokenPath:H});function lu(e,t){return Xh(``,-200,t)}function Js(e,t){throw new y(-201,!1)}function Xh(e,t,n){let r=new y(t,e);return r[Kh]=t,r[_w]=e,n&&(r[Dw]=n),r}function Ew(e){return e[Kh]}var Yl;function Qh(){return Yl}function Se(e){let t=Yl;return Yl=e,t}function uu(e,t,n){let r=Qo(e);if(r&&r.providedIn==`root`)return r.value===void 0?r.value=r.factory():r.value;if(n&8)return null;if(t!==void 0)return t;Js(e,``)}var Ge=globalThis;var qn={};var Iw=`__NG_DI_FLAG__`;var Zl=class{injector;constructor(t){this.injector=t}retrieve(t,n){let r=Yn(n)||0;try{return this.injector.get(t,r&8?null:qn,r)}catch(o){if(Ar(o))return o;throw o}}};function Sw(e,t=0){let n=vs();if(n===void 0)throw new y(-203,!1);if(n===null)return uu(e,void 0,t);{let r=Cw(t),o=n.retrieve(e,r);if(Ar(o)){if(r.optional)return null;throw o}return o}}function N(e,t=0){return(Qh()||Sw)(fe(e),t)}function h(e,t){return N(e,Yn(t))}function Yn(e){return typeof e>`u`||typeof e==`number`?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Cw(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function Kl(e){let t=[];for(let n=0;n<e.length;n++){let r=fe(e[n]);if(Array.isArray(r)){if(r.length===0)throw new y(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=xw(a);typeof c==`number`?c===-1?o=a.token:i|=c:o=a}t.push(N(o,i))}else t.push(N(r))}return t}function xw(e){return e[Iw]}function dn(e,t){return Object.hasOwn(e,qo)?e[qo]:null}function Jh(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=t[r];if(n&&(o=n(o),i=n(i)),i!==o)return!1}return!0}function em(e){return e.flat(Number.POSITIVE_INFINITY)}function ea(e,t){e.forEach(n=>Array.isArray(n)?ea(n,t):t(n))}function du(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ti(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function tm(e,t){let n=[];for(let r=0;r<e;r++)n.push(t);return n}function nm(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(o===1)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}function ta(e,t,n){let r=Vr(e,t);return r>=0?e[r|1]=n:(r=~r,nm(e,r,t,n)),r}function na(e,t){let n=Vr(e,t);if(n>=0)return e[n|1]}function Vr(e,t){return Tw(e,t,1)}function Tw(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}var pn={};var De=[];var Hr=new v(``);var ni=new v(``,-1);var fu=new v(``);var Lr=class{get(t,n=qn){if(n===qn){let o=Xh(``,-201);throw o.name=`ɵNotFound`,o}return n}};function Ur(e){return{ɵproviders:e}}function rm(...e){return{ɵproviders:pu(!0,e),ɵfromNgModule:!0}}function pu(e,...t){let n=[],r=new Set,o,i=s=>{n.push(s)};return ea(t,s=>{let a=s;zs(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&om(o,i),n}function om(e,t){for(let n=0;n<e.length;n++){let{ngModule:r,providers:o}=e[n];hu(o,i=>{t(i,r)})}}function zs(e,t,n,r){if(e=fe(e),!e)return!1;let o=null,i=ql(e),s=!i&&Wt(e);if(!i&&!s){let c=e.ngModule;if(i=ql(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies==`function`?s.dependencies():s.dependencies;for(let l of c)zs(l,t,n,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;ea(i.imports,u=>{zs(u,t,n,r)&&(l||=[],l.push(u))}),l!==void 0&&om(l,t)}if(!a){let l=dn(o)||(()=>new o);t({provide:o,useFactory:l,deps:De},o),t({provide:fu,useValue:o,multi:!0},o),t({provide:Hr,useValue:()=>N(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;hu(c,u=>{t(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function hu(e,t){for(let n of e)su(n)&&(n=n.ɵproviders),Array.isArray(n)?hu(n,t):t(n)}var Nw=H({provide:String,useValue:H});function im(e){return e!==null&&typeof e==`object`&&Nw in e}function Mw(e){return!!(e&&e.useExisting)}function Aw(e){return!!(e&&e.useFactory)}function Zn(e){return typeof e==`function`}function sm(e){return!!e.useClass}var ri=new v(``);var Us={};var $h={};var Gl;function $r(){return Gl===void 0&&(Gl=new Lr),Gl}var se=class{};var Kn=class extends se{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,Ql(t,s=>this.processProvider(s)),this.records.set(ni,Pr(void 0,this)),o.has(`environment`)&&this.records.set(se,Pr(void 0,this));let i=this.records.get(ri);i!=null&&typeof i.value==`string`&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(fu,De,{self:!0}))}retrieve(t,n){let r=Yn(n)||0;try{return this.get(t,qn,r)}catch(o){if(Ar(o))return o;throw o}}destroy(){Wo(this),this._destroyed=!0;let t=w(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let n=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),w(t)}}onDestroy(t){return Wo(this),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){Wo(this);let n=Dt(this),r=Se(void 0);try{return t()}finally{Dt(n),Se(r)}}get(t,n=qn,r){if(Wo(this),Object.hasOwn(t,Uh))return t[Uh](this);let o=Yn(r),s=Dt(this),a=Se(void 0);try{if(!(o&4)){let l=this.records.get(t);if(l===void 0){let u=Pw(t)&&Qo(t);u&&this.injectableDefInScope(u)?l=Pr(Xl(t),Us):l=null,this.records.set(t,l)}if(l!=null)return this.hydrate(t,l,o)}let c=o&2?$r():this.parent;return n=o&8&&n===qn?null:n,c.get(t,n)}catch(c){let l=Ew(c);throw l===-200||l===-201?new y(l,null):c}finally{Se(a),Dt(s)}}resolveInjectorInitializers(){let t=w(null),n=Dt(this),r=Se(void 0);try{let i=this.get(Hr,De,{self:!0});for(let s of i)s()}finally{Dt(n),Se(r),w(t)}}toString(){return`R3Injector[...]`}processProvider(t){t=fe(t);let n=Zn(t)?t:fe(t&&t.provide),r=Ow(t);if(!Zn(t)&&t.multi===!0){let o=this.records.get(n);o||(o=Pr(void 0,Us,!0),o.factory=()=>Kl(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n,r){let o=w(null);try{if(n.value===$h)throw lu(``);return n.value===Us&&(n.value=$h,n.value=n.factory(void 0,r)),typeof n.value==`object`&&n.value&&Fw(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{w(o)}}injectableDefInScope(t){if(!t.providedIn)return!1;let n=fe(t.providedIn);return typeof n==`string`?n===`any`||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){let n=this._onDestroyHooks.indexOf(t);n!==-1&&this._onDestroyHooks.splice(n,1)}};function Xl(e){let t=Qo(e),n=t!==null?t.factory:dn(e);if(n!==null)return n;if(e instanceof v)throw new y(-204,!1);if(e instanceof Function)return Rw(e);throw new y(-204,!1)}function Rw(e){if(e.length>0)throw new y(-204,!1);let n=bw(e);return n!==null?()=>n.factory(e):()=>new e}function Ow(e){if(im(e))return Pr(void 0,e.useValue);return Pr(mu(e),Us)}function mu(e,t,n){let r;if(Zn(e)){let o=fe(e);return dn(o)||Xl(o)}else if(im(e))r=()=>fe(e.useValue);else if(Aw(e))r=()=>e.useFactory(...Kl(e.deps||[]));else if(Mw(e))r=(o,i)=>N(fe(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=fe(e&&(e.useClass||e.provide));if(kw(e))r=()=>new o(...Kl(e.deps));else return dn(o)||Xl(o)}return r}function Wo(e){if(e.destroyed)throw new y(-205,!1)}function Pr(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function kw(e){return!!e.deps}function Fw(e){return e!==null&&typeof e==`object`&&typeof e.ngOnDestroy==`function`}function Pw(e){return typeof e==`function`||typeof e==`object`&&e.ngMetadataName===`InjectionToken`}function Ql(e,t){for(let n of e)Array.isArray(n)?Ql(n,t):n&&su(n)?Ql(n.ɵproviders,t):t(n)}function zr(e,t){let n;e instanceof Kn?(Wo(e),n=e):n=new Zl(e);let o=Dt(n),i=Se(void 0);try{return t()}finally{Dt(o),Se(i)}}function am(){return Qh()!==void 0||vs()!=null}var ut=0;var E=1;var C=2;var pe=3;var qe=4;var ve=5;var Qn=6;var Wr=7;var ae=8;var Ct=9;var dt=10;var U=11;var Gr=12;var gu=13;var hn=14;var Ce=15;var mn=16;var Jn=17;var xt=18;var Tt=19;var vu=20;var Ut=21;var ra=22;var $t=23;var Ve=24;var er=25;var Nt=26;var K=27;var cm=1;var yu=6;var tr=7;var oi=8;var nr=9;var ne=10;function Gt(e){return Array.isArray(e)&&typeof e[cm]==`object`}function Ye(e){return Array.isArray(e)&&e[cm]===!0}function bu(e){return(e.flags&4)!==0}function Mt(e){return e.componentOffset>-1}function qr(e){return(e.flags&1)===1}function ft(e){return!!e.template}function Yr(e){return(e[C]&512)!==0}function rr(e){return(e[C]&256)===256}var Q=(function(e){return e[e.NONE=0]=`NONE`,e[e.HTML=1]=`HTML`,e[e.STYLE=2]=`STYLE`,e[e.SCRIPT=3]=`SCRIPT`,e[e.URL=4]=`URL`,e[e.RESOURCE_URL=5]=`RESOURCE_URL`,e[e.ATTRIBUTE_NO_BINDING=6]=`ATTRIBUTE_NO_BINDING`,e})(Q||{});var Go;var jr=`svg`;var oa=`math`;var lm=``;var zh=`*`;var Jl=()=>Object.create(null);function Lw(){return Go||(Go=Jl(),un(Q.HTML,void 0,[[`iframe`,[`srcdoc`]],[`*`,[`innerHTML`,`outerHTML`]]]),un(Q.STYLE,void 0,[[`*`,[`style`]]]),un(Q.URL,void 0,[[`*`,[`formAction`]],[`area`,[`href`]],[`a`,[`href`,`xlink:href`]],[`form`,[`action`]],[`img`,[`src`]],[`video`,[`src`]]]),un(Q.URL,oa,[[`*`,[`href`,`xlink:href`]]]),un(Q.RESOURCE_URL,void 0,[[`base`,[`href`]],[`embed`,[`src`]],[`frame`,[`src`]],[`iframe`,[`src`]],[`link`,[`href`]],[`object`,[`codebase`,`data`]]]),un(Q.URL,jr,[[`a`,[`href`,`xlink:href`]]]),un(Q.ATTRIBUTE_NO_BINDING,jr,[[`animate`,[`attributeName`,`values`,`to`,`from`]],[`set`,[`to`,`attributeName`]],[`animateMotion`,[`attributeName`]],[`animateTransform`,[`attributeName`]]]),un(Q.ATTRIBUTE_NO_BINDING,void 0,[[`unknown`,[`attributeName`,`values`,`to`,`from`,`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]],[`iframe`,[`sandbox`,`allow`,`allowFullscreen`,`referrerPolicy`,`csp`,`fetchPriority`,`credentialless`]]]),Go)}function un(e,t,n){let r=t??lm;for(let[o,i]of n){let s=o.toLowerCase();for(let a of i){let c=a.toLowerCase(),l=Go[c]??=Jl(),u=l[r]??=Jl();u[s]=e}}}function um(e,t,n){let o=Lw()[t.toLowerCase()];if(!o)return Q.NONE;let i=e.toLowerCase(),s;if(n){let a=o[n];a&&(s=a[i]??a[zh])}if(s===void 0){let a=o[lm];a&&(s=a[i]??a[zh])}return s??Q.NONE}function ye(e){for(;Array.isArray(e);)e=e[ut];return e}function _u(e,t){return ye(t[e])}function ke(e,t){return ye(t[e.index])}function ia(e,t){return e.data[t]}function sa(e,t){return e[t]}function Du(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ze(e,t){let n=t[e];return Gt(n)?n:n[ut]}function dm(e){return(e[C]&4)===4}function aa(e){return(e[C]&128)===128}function fm(e){return Ye(e[pe])}function He(e,t){return t==null?null:e[t]}function Eu(e){e[Jn]=0}function wu(e){e[C]&1024||(e[C]|=1024,aa(e)&&or(e))}function pm(e,t){for(;e>0;)t=t[hn],e--;return t}function ii(e){return!!(e[C]&9216||e[Ve]?.dirty)}function ca(e){e[dt].changeDetectionScheduler?.notify(8),e[C]&64&&(e[C]|=1024),ii(e)&&or(e)}function or(e){e[dt].changeDetectionScheduler?.notify(0);let t=zt(e);for(;t!==null&&!(t[C]&8192||(t[C]|=8192,!aa(t)));)t=zt(t)}function la(e,t){if(rr(e))throw new y(911,!1);e[Ut]===null&&(e[Ut]=[]),e[Ut].push(t)}function hm(e,t){if(e[Ut]===null)return;let n=e[Ut].indexOf(t);n!==-1&&e[Ut].splice(n,1)}function zt(e){let t=e[pe];return Ye(t)?t[pe]:t}function Iu(e){return e[Wr]??=[]}function Su(e){return e.cleanup??=[]}function mm(e,t,n,r){let o=Iu(t);o.push(n),e.firstCreatePass&&Su(e).push(r,o.length-1)}var F={lFrame:Tm(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var eu=!1;function gm(){return F.lFrame.elementDepthCount}function vm(){F.lFrame.elementDepthCount++}function Cu(){F.lFrame.elementDepthCount--}function ua(){return F.bindingsEnabled}function xu(){return F.skipHydrationRootTNode!==null}function Tu(e){return F.skipHydrationRootTNode===e}function Nu(){F.skipHydrationRootTNode=null}function _(){return F.lFrame.lView}function G(){return F.lFrame.tView}function ym(e){return F.lFrame.contextLView=e,e[ae]}function bm(e){return F.lFrame.contextLView=null,e}function ce(){let e=Mu();for(;e!==null&&e.type===64;)e=e.parent;return e}function Mu(){return F.lFrame.currentTNode}function _m(){let e=F.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Zr(e,t){let n=F.lFrame;n.currentTNode=e,n.isParent=t}function Au(){return F.lFrame.isParent}function Ru(){F.lFrame.isParent=!1}function Dm(){return F.lFrame.contextLView}function Ou(){return eu}function Yo(e){let t=eu;return eu=e,t}function si(){let e=F.lFrame,t=e.bindingRootIndex;return t===-1&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function da(){return F.lFrame.bindingIndex}function Em(e){return F.lFrame.bindingIndex=e}function qt(){return F.lFrame.bindingIndex++}function Kr(e){let t=F.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function wm(){return F.lFrame.inI18n}function Im(e,t){let n=F.lFrame;n.bindingIndex=n.bindingRootIndex=e,fa(t)}function Sm(){return F.lFrame.currentDirectiveIndex}function fa(e){F.lFrame.currentDirectiveIndex=e}function Cm(e){let t=F.lFrame.currentDirectiveIndex;return t===-1?null:e[t]}function pa(){return F.lFrame.currentQueryIndex}function ai(e){F.lFrame.currentQueryIndex=e}function jw(e){let t=e[E];return t.type===2?t.declTNode:t.type===1?e[ve]:null}function ku(e,t,n){if(n&4){let o=t,i=e;for(;o=o.parent,o===null&&!(n&1);)if(o=jw(i),o===null||(i=i[hn],o.type&10))break;if(o===null)return!1;t=o,e=i}let r=F.lFrame=xm();return r.currentTNode=t,r.lView=e,!0}function ha(e){let t=xm(),n=e[E];F.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function xm(){let e=F.lFrame,t=e===null?null:e.child;return t===null?Tm(e):t}function Tm(e){let t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=t),t}function Nm(){let e=F.lFrame;return F.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Fu=Nm;function ma(){let e=Nm();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Mm(e){return(F.lFrame.contextLView=pm(e,F.lFrame.contextLView))[ae]}function Ue(){return F.lFrame.selectedIndex}function gn(e){F.lFrame.selectedIndex=e}function vn(){let e=F.lFrame;return ia(e.tView,e.selectedIndex)}function Am(){F.lFrame.currentNamespace=jr}function Rm(){Bw()}function Bw(){F.lFrame.currentNamespace=null}function Pu(){return F.lFrame.currentNamespace}var Om=!0;function ga(){return Om}function ci(e){Om=e}function tu(e,t=null,n=null,r){let o=Lu(e,t,n,r);return o.resolveInjectorInitializers(),o}function Lu(e,t=null,n=null,r,o=new Set){return new Kn([n||De,rm(e)],t||$r(),null,o)}var V=class e{static THROW_IF_NOT_FOUND=qn;static NULL=new Lr;static create(t,n){if(Array.isArray(t))return tu({name:``},n,t,``);{let r=t.name??``;return tu({name:r},t.parent,t.providers,r)}}static ɵprov=P({token:e,providedIn:`any`,factory:()=>N(ni)});static __NG_ELEMENT_ID__=-1};var R=new v(``);var Oe=class{static __NG_ELEMENT_ID__=Vw;static __NG_ENV_ID__=t=>t};var Ws=class extends Oe{_lView;constructor(t){super(),this._lView=t}get destroyed(){return rr(this._lView)}onDestroy(t){let n=this._lView;return la(n,t),()=>hm(n,t)}};function Vw(){return new Ws(_())}var km=!1;var Fm=new v(``);var ir=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Un(!1);debugTaskTracker=h(Fm,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new T(n=>{n.next(!1),n.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),this.debugTaskTracker?.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.debugTaskTracker?.remove(n),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 ɵprov=P({token:e,providedIn:`root`,factory:()=>new e})}return e})();var nu=class extends I{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(t=!1){super(),this.__isAsync=t,am()&&(this.destroyRef=h(Oe,{optional:!0})??void 0,this.pendingTasks=h(ir,{optional:!0})??void 0)}emit(t){let n=w(null);try{super.next(t)}finally{w(n)}}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&typeof t==`object`){let c=t;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return t instanceof L&&t.add(a),a}wrapInTimeout(t){return n=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{t(n)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}};var J=nu;function Gs(...e){}function ju(e){let t,n;function r(){e=Gs;try{n!==void 0&&typeof cancelAnimationFrame==`function`&&cancelAnimationFrame(n),t!==void 0&&clearTimeout(t)}catch(o){}}return t=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame==`function`&&(n=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Pm(e){return queueMicrotask(()=>e()),()=>{e=Gs}}var Bu=`isAngularZone`;var Zo=Bu+`_ID`;var Hw=0;var O=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new J(!1);onMicrotaskEmpty=new J(!1);onStable=new J(!1);onError=new J(!1);constructor(t){let{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=km}=t;if(typeof Zone>`u`)throw new y(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,zw(s)}static isInAngularZone(){return typeof Zone<`u`&&Zone.current.get(Bu)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new y(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new y(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){let i=this._inner,s=i.scheduleEventTask(`NgZoneEvent: `+o,t,Uw,Gs,Gs);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}};var Uw={};function Vu(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function $w(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function t(){ju(()=>{e.callbackScheduled=!1,ru(e),e.isCheckStableRunning=!0,Vu(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),ru(e)}function zw(e){let t=()=>{$w(e)},n=Hw++;e._inner=e._inner.fork({name:`angular`,properties:{[Bu]:!0,[Zo]:n,[Zo+n]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(Ww(c))return r.invokeTask(i,s,a,c);try{return Wh(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type===`eventTask`||e.shouldCoalesceRunChangeDetection)&&t(),Gh(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Wh(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!Gw(c)&&t(),Gh(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change==`microTask`?(e._hasPendingMicrotasks=s.microTask,ru(e),Vu(e)):s.change==`macroTask`&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function ru(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Wh(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Gh(e){e._nesting--,Vu(e)}var Ko=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new J;onMicrotaskEmpty=new J;onStable=new J;onError=new J;run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}};function Ww(e){return Lm(e,`__ignore_ng_zone__`)}function Gw(e){return Lm(e,`__scheduler_tick__`)}function Lm(e,t){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[t]===!0}var It=class{_console=console;handleError(t){this._console.error(`ERROR`,t)}};var yn=new v(``,{factory:()=>{let e=h(O),t=h(se),n;return r=>{e.runOutsideAngular(()=>{t.destroyed&&!n?setTimeout(()=>{throw r}):(n??=t.get(It),n.handleError(r))})}}});var jm={provide:Hr,useValue:()=>{h(It,{optional:!0})},multi:!0};function xe(e,t){let[n,r,o]=Il(e,t?.equal),i=n;i[de];return i.set=r,i.update=o,i.asReadonly=Bm.bind(i),i}function Bm(){let e=this[de];if(e.readonlyFn===void 0){let t=()=>this();t[de]=e,e.readonlyFn=t}return e.readonlyFn}var Yt=new v(``,{factory:()=>qw});var qw=`ng`;var va=new v(``);var sr=new v(``,{providedIn:`platform`,factory:()=>`unknown`});var li=new v(``);var ar=new v(``,{factory:()=>h(R).body?.querySelector(`[ngCspNonce]`)?.getAttribute(`ngCspNonce`)||null});var Xr=(()=>{class e{view;node;constructor(n,r){this.view=n,this.node=r}static __NG_ELEMENT_ID__=Yw}return e})();function Yw(){return new Xr(_(),ce())}var St=class{};var ui=new v(``,{factory:()=>!0});var Hu=new v(``);var ya=(()=>{class e{static ɵprov=P({token:e,providedIn:`root`,factory:()=>new ou})}return e})();var ou=class{dirtyEffectCount=0;queues=new Map;add(t){this.enqueue(t),this.schedule(t)}schedule(t){t.dirty&&this.dirtyEffectCount++}remove(t){let n=t.zone,r=this.queues.get(n);r.has(t)&&(r.delete(t),t.dirty&&this.dirtyEffectCount--)}enqueue(t){let n=t.zone;this.queues.has(n)||this.queues.set(n,new Set);let r=this.queues.get(n);r.has(t)||r.add(t)}flush(){for(;this.dirtyEffectCount>0;){let t=!1;for(let[n,r]of this.queues)n===null?t||=this.flushQueue(r):t||=n.run(()=>this.flushQueue(r));t||(this.dirtyEffectCount=0)}}flushQueue(t){let n=!1;for(let r of t)r.dirty&&(this.dirtyEffectCount--,n=!0,r.run());return n}};var qs=class{[de];constructor(t){this[de]=t}destroy(){this[de].destroy()}};function cr(e,t){let n=t?.injector??h(V),r=t?.manualCleanup!==!0?n.get(Oe):null,o,i=n.get(Xr,null,{optional:!0}),s=n.get(St);return i!==null?(o=Xw(i.view,s,e),r instanceof Ws&&r._lView===i.view&&(r=null)):o=Qw(e,n.get(ya),s),o.injector=n,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new qs(o)}var Vm=F$1(E$1({},Cl),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Yo(!1);try{xl(this)}finally{Yo(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=w(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],w(e)}}});var Zw=F$1(E$1({},Vm),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(sn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}});var Kw=F$1(E$1({},Vm),{consumerMarkedDirty(){this.view[C]|=8192,or(this.view),this.notifier.notify(13)},destroy(){if(sn(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[$t]?.delete(this)}});function Xw(e,t,n){let r=Object.create(Kw);return r.view=e,r.zone=typeof Zone<`u`?Zone.current:null,r.notifier=t,r.fn=Hm(r,n),e[$t]??=new Set,e[$t].add(r),r.consumerMarkedDirty(r),r}function Qw(e,t,n){let r=Object.create(Zw);return r.fn=Hm(r,e),r.scheduler=t,r.notifier=n,r.zone=typeof Zone<`u`?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function Hm(e,t){return()=>{t(n=>(e.cleanupFns??=[]).push(n))}}function lr(e){return typeof e==`function`&&e[de]!==void 0}function ba(e){return lr(e)&&typeof e.set==`function`}var _a=(()=>{class e{internalPendingTasks=h(ir);scheduler=h(St);errorHandler=h(yn);add(){let n=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(n)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(n))}}run(n){let r=this.add();try{n().catch(this.errorHandler).finally(r)}catch(o){this.errorHandler(o),r()}}static ɵprov=P({token:e,providedIn:`root`,factory:()=>new e})}return e})();function Ei(e){return{toString:e}.toString()}var j=(function(e){return e[e.TemplateCreateStart=0]=`TemplateCreateStart`,e[e.TemplateCreateEnd=1]=`TemplateCreateEnd`,e[e.TemplateUpdateStart=2]=`TemplateUpdateStart`,e[e.TemplateUpdateEnd=3]=`TemplateUpdateEnd`,e[e.LifecycleHookStart=4]=`LifecycleHookStart`,e[e.LifecycleHookEnd=5]=`LifecycleHookEnd`,e[e.OutputStart=6]=`OutputStart`,e[e.OutputEnd=7]=`OutputEnd`,e[e.BootstrapApplicationStart=8]=`BootstrapApplicationStart`,e[e.BootstrapApplicationEnd=9]=`BootstrapApplicationEnd`,e[e.BootstrapComponentStart=10]=`BootstrapComponentStart`,e[e.BootstrapComponentEnd=11]=`BootstrapComponentEnd`,e[e.ChangeDetectionStart=12]=`ChangeDetectionStart`,e[e.ChangeDetectionEnd=13]=`ChangeDetectionEnd`,e[e.ChangeDetectionSyncStart=14]=`ChangeDetectionSyncStart`,e[e.ChangeDetectionSyncEnd=15]=`ChangeDetectionSyncEnd`,e[e.AfterRenderHooksStart=16]=`AfterRenderHooksStart`,e[e.AfterRenderHooksEnd=17]=`AfterRenderHooksEnd`,e[e.ComponentStart=18]=`ComponentStart`,e[e.ComponentEnd=19]=`ComponentEnd`,e[e.DeferBlockStateStart=20]=`DeferBlockStateStart`,e[e.DeferBlockStateEnd=21]=`DeferBlockStateEnd`,e[e.DynamicComponentStart=22]=`DynamicComponentStart`,e[e.DynamicComponentEnd=23]=`DynamicComponentEnd`,e[e.HostBindingsUpdateStart=24]=`HostBindingsUpdateStart`,e[e.HostBindingsUpdateEnd=25]=`HostBindingsUpdateEnd`,e})(j||{});var Na=class{previousValue;currentValue;firstChange;constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function xg(e,t,n,r){t!==null?t.applyValueToInputSignal(t,r):e[n]=r}var Tg=null;var En=(()=>{Tg=Um;let e=()=>Um;return e.ngInherit=!0,e})();function uI(){return Tg}function Um(e){return e.type.prototype.ngOnChanges&&(e.setInput=fI),dI}function dI(){let e=Ng(this),t=e?.current;if(t){let n=e.previous;if(n===pn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function fI(e,t,n,r,o){let i=this.declaredInputs[r],s=Ng(e)||pI(e,{previous:pn,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new Na(l&&l.currentValue,n,c===pn),xg(e,t,o,n)}var Ju=`__ngSimpleChanges__`;function Ng(e){return Object.hasOwn(e,Ju)&&e[Ju]||null}function pI(e,t){return e[Ju]=t}var $m=[];var $=function(e,t=null,n){for(let r=0;r<$m.length;r++){let o=$m[r];o(e,t,n)}};function hI(e,t,n){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){let s=uI()(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}function Mg(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){let{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=e.data[n].type.prototype;s&&(e.contentHooks??=[]).push(-n,s),a&&((e.contentHooks??=[]).push(n,a),(e.contentCheckHooks??=[]).push(n,a)),c&&(e.viewHooks??=[]).push(-n,c),l&&((e.viewHooks??=[]).push(n,l),(e.viewCheckHooks??=[]).push(n,l)),u!=null&&(e.destroyHooks??=[]).push(n,u)}}function Sa(e,t,n){Ag(e,t,3,n)}function Ca(e,t,n,r){(e[C]&3)===n&&Ag(e,t,n,r)}function Uu(e,t){let n=e[C];(n&3)===t&&(n&=16383,n+=1,e[C]=n)}function Ag(e,t,n,r){let o=r!==void 0?e[Jn]&65535:0,i=r??-1,s=t.length-1,a=0;for(let c=o;c<s;c++)if(typeof t[c+1]==`number`){if(a=t[c],r!=null&&a>=r)break}else t[c]<0&&(e[Jn]+=65536),(a<i||i==-1)&&(mI(e,n,t,c),e[Jn]=(e[Jn]&4294901760)+c+2),c++}function zm(e,t){$(j.LifecycleHookStart,e,t);let n=w(null);try{t.call(e)}finally{w(n),$(j.LifecycleHookEnd,e,t)}}function mI(e,t,n,r){let o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[C]>>14<e[Jn]>>16&&(e[C]&3)===t&&(e[C]+=16384,zm(a,i)):zm(a,i)}var Jr=-1;var fr=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(t,n,r,o){this.factory=t,this.name=o,this.canSeeViewProviders=n,this.injectImpl=r}};function gI(e){return(e.flags&8)!==0}function vI(e){return(e.flags&16)!==0}function yI(e,t,n){let r=0;for(;r<n.length;){let o=n[r];if(typeof o==`number`){if(o!==0)break;r++;let i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{let i=o,s=n[++r];bI(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Rg(e){return e===3||e===4||e===6}function bI(e){return e.charCodeAt(0)===64}function eo(e,t){if(!(t===null||t.length===0))if(e===null||e.length===0)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){let o=t[r];typeof o==`number`?n=o:n===0||(n===-1||n===2?Wm(e,n,o,null,t[++r]):Wm(e,n,o,null,null))}}return e}function Wm(e,t,n,r,o){let i=0,s=e.length;if(t===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a==`number`){if(a===t){s=-1;break}else if(a>t){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a==`number`)break;if(a===n){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),o!==null&&e.splice(i++,0,o)}function Og(e){return e!==Jr}function Ma(e){return e&32767}function _I(e){return e>>16}function Aa(e,t){let n=_I(e),r=t;for(;n>0;)r=r[hn],n--;return r}var ed=!0;function Ra(e){let t=ed;return ed=e,t}var kg=255;var Fg=5;var EI=0;var At={};function wI(e,t,n){let r;typeof n==`string`?r=n.charCodeAt(0)||0:Object.hasOwn(n,Xn)&&(r=n[Xn]),r??=n[Xn]=EI++;let o=r&kg,i=1<<o;t.data[e+(o>>Fg)]|=i}function Oa(e,t){let n=Pg(e,t);if(n!==-1)return n;let r=t[E];r.firstCreatePass&&(e.injectorIndex=t.length,$u(r.data,e),$u(t,null),$u(r.blueprint,null));let o=Fd(e,t),i=e.injectorIndex;if(Og(o)){let s=Ma(o),a=Aa(o,t),c=a[E].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|c[s+l]}return t[i+8]=o,i}function $u(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Pg(e,t){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||t[e.injectorIndex+8]===null?-1:e.injectorIndex}function Fd(e,t){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;o!==null;){if(r=Hg(o),r===null)return Jr;if(n++,o=o[hn],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Jr}function td(e,t,n){wI(e,t,n)}function II(e,t){if(t===`class`)return e.classes;if(t===`style`)return e.styles;let n=e.attrs;if(n){let r=n.length,o=0;for(;o<r;){let i=n[o];if(Rg(i))break;if(i===0)o=o+2;else if(typeof i==`number`)for(o++;o<r&&typeof n[o]==`string`;)o++;else{if(i===t)return n[o+1];o=o+2}}}return null}function Lg(e,t,n){if(n&8||e!==void 0)return e;Js(t,`NodeInjector`)}function jg(e,t,n,r){if(n&8&&r===void 0&&(r=null),(n&3)===0){let o=e[Ct],i=Se(void 0);try{return o?o.get(t,r,n&8):uu(t,r,n&8)}finally{Se(i)}}return Lg(r,t,n)}function Bg(e,t,n,r=0,o){if(e!==null){if(t[C]&2048&&!(r&2)){let s=TI(e,t,n,r,At);if(s!==At)return s}let i=Vg(e,t,n,r,At);if(i!==At)return i}return jg(t,n,r,o)}function Vg(e,t,n,r,o){let i=CI(n);if(typeof i==`function`){if(!ku(t,e,r))return r&1?Lg(o,n,r):jg(t,n,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Js(n);else return s}finally{Fu()}}else if(typeof i==`number`){let s=null,a=Pg(e,t),c=Jr,l=r&1?t[Ce][ve]:null;for((a===-1||r&4)&&(c=a===-1?Fd(e,t):t[a+8],c===Jr||!qm(r,!1)?a=-1:(s=t[E],a=Ma(c),t=Aa(c,t)));a!==-1;){let u=t[E];if(Gm(i,a,u.data)){let d=SI(a,t,n,s,r,l);if(d!==At)return d}c=t[a+8],c!==Jr&&qm(r,t[E].data[a+8]===l)&&Gm(i,a,t)?(s=u,a=Ma(c),t=Aa(c,t)):a=-1}}return o}function SI(e,t,n,r,o,i){let s=t[E],a=s.data[e+8],u=xa(a,s,n,r==null?Mt(a)&&ed:r!=s&&(a.type&3)!==0,o&1&&i===a);return u!==null?mi(t,s,u,a,o):At}function xa(e,t,n,r,o){let i=e.providerIndexes,s=t.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let m=s[f];if(f<c&&n===m||f>=c&&m.type===n)return f}if(o){let f=s[c];if(f&&ft(f)&&f.type===n)return c}return null}function mi(e,t,n,r,o){let i=e[n],s=t.data;if(i instanceof fr){let a=i;if(a.resolving)throw lu(``);let c=Ra(a.canSeeViewProviders);a.resolving=!0;s[n].type||s[n];let d=a.injectImpl?Se(a.injectImpl):null;ku(e,r,0);try{i=e[n]=a.factory(void 0,o,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&hI(n,s[n],t)}finally{d!==null&&Se(d),Ra(c),a.resolving=!1,Fu()}}return i}function CI(e){if(typeof e==`string`)return e.charCodeAt(0)||0;let t=Object.hasOwn(e,Xn)?e[Xn]:void 0;return typeof t==`number`?t>=0?t&kg:xI:t}function Gm(e,t,n){let r=1<<e;return!!(n[t+(e>>Fg)]&r)}function qm(e,t){return!(e&2)&&!(e&1&&t)}var bn=class{_tNode;_lView;constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Bg(this._tNode,this._lView,t,Yn(r),n)}};function xI(){return new bn(ce(),_())}function io(e){return Ei(()=>{let t=e.prototype.constructor,n=t[qo]||nd(t),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[qo]||nd(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function nd(e){return iu(e)?()=>{let t=nd(fe(e));return t&&t()}:dn(e)}function TI(e,t,n,r,o){let i=e,s=t;for(;i!==null&&s!==null&&s[C]&2048&&!Yr(s);){let a=Vg(i,s,n,r|2,At);if(a!==At)return a;let c=i.parent;if(!c){let l=s[vu];if(l){let u=l.get(n,At,r&-5);if(u!==At)return u}c=Hg(s),s=s[hn]}i=c}return o}function Hg(e){let t=e[E],n=t.type;return n===2?t.declTNode:n===1?e[ve]:null}function Pd(e){return II(ce(),e)}function M(e){return{token:e.token,providedIn:e.autoProvided===!1?null:`root`,factory:e.factory,value:void 0}}function NI(){return so(ce(),_())}function so(e,t){return new q(ke(e,t))}var q=(()=>{class e{nativeElement;constructor(n){this.nativeElement=n}static __NG_ELEMENT_ID__=NI}return e})();function Ug(e){return e instanceof q?e.nativeElement:e}function MI(){return this._results[Symbol.iterator]()}var Zt=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 I}constructor(t=!1){this._emitDistinctChangesOnly=t}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){this.dirty=!1;let r=em(t);(this._changesDetected=!Jh(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(t){this._onDirty=t}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=MI};function $g(e){return(e.flags&128)===128}var Ld=(function(e){return e[e.OnPush=0]=`OnPush`,e[e.Eager=1]=`Eager`,e[e.Default=1]=`Default`,e})(Ld||{});var zg=new Map;var AI=0;function RI(){return AI++}function OI(e){zg.set(e[Tt],e)}function rd(e){zg.delete(e[Tt])}var Ym=`__ngContext__`;function to(e,t){Gt(t)?(e[Ym]=t[Tt],OI(t)):e[Ym]=t}function Wg(e){return qg(e[Gr])}function Gg(e){return qg(e[qe])}function qg(e){for(;e!==null&&!Ye(e);)e=e[qe];return e}var od;function jd(e){od=e}function Bd(){if(od!==void 0)return od;if(typeof document<`u`)return document;throw new y(210,!1)}var Yg=`r`;var Zg=`di`;var kI=new v(``);var Kg=!1;var Xg=new v(``,{factory:()=>Kg});var Qg=new v(``);var Zm=new WeakMap;function FI(e,t){if(e==null||typeof e!=`object`)return;let n=Zm.get(e);n||(n=new WeakSet,Zm.set(e,n)),n.add(t)}function qa(e){return(e.flags&32)===32}var jI=()=>null;function Jg(e,t,n=!1){return jI(e,t,n)}function ev(e,t){let n=e.contentQueries;if(n!==null){let r=w(null);try{for(let o=0;o<n.length;o+=2){let i=n[o],s=n[o+1];if(s!==-1){let a=e.data[s];ai(i),a.contentQueries(2,t[s],s)}}}finally{w(r)}}}function id(e,t,n){ai(0);let r=w(null);try{t(e,n)}finally{w(r)}}function Vd(e,t,n){if(bu(t)){let r=w(null);try{let o=t.directiveStart,i=t.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=n[s];a.contentQueries(1,c,s)}}}finally{w(r)}}}var mt=(function(e){return e[e.Emulated=0]=`Emulated`,e[e.None=2]=`None`,e[e.ShadowDom=3]=`ShadowDom`,e[e.ExperimentalIsolatedShadowDom=4]=`ExperimentalIsolatedShadowDom`,e})(mt||{});var BI={"http://www.w3.org/2000/svg":jr,"http://www.w3.org/1998/Math/MathML":oa};var Da;function VI(){if(Da===void 0&&(Da=null,Ge.trustedTypes))try{Da=Ge.trustedTypes.createPolicy(`angular`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Da}function Ya(e){return VI()?.createHTML(e)||e}var Ea;function HI(){if(Ea===void 0&&(Ea=null,Ge.trustedTypes))try{Ea=Ge.trustedTypes.createPolicy(`angular#unsafe-bypass`,{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Ea}function Km(e){return HI()?.createHTML(e)||e}var Kt=class{changingThisBreaksApplicationSecurity;constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ys})`}};var sd=class extends Kt{getTypeName(){return`HTML`}};var ad=class extends Kt{getTypeName(){return`Style`}};var cd=class extends Kt{getTypeName(){return`Script`}};var ld=class extends Kt{getTypeName(){return`URL`}};var ud=class extends Kt{getTypeName(){return`ResourceURL`}};function Ke(e){return e instanceof Kt?e.changingThisBreaksApplicationSecurity:e}function wn(e,t){let n=tv(e);if(n!=null&&n!==t){if(n===`ResourceURL`&&t===`URL`)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Ys})`)}return n===t}function tv(e){return e instanceof Kt&&e.getTypeName()||null}function Hd(e){return new sd(e)}function Ud(e){return new ad(e)}function $d(e){return new cd(e)}function zd(e){return new ld(e)}function Wd(e){return new ud(e)}function UI(e){let t=new fd(e);return $I()?new dd(t):t}var dd=class{inertDocumentHelper;constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=`<body><remove></remove>`+t;try{let n=new window.DOMParser().parseFromString(Ya(t),`text/html`).body;return n===null?this.inertDocumentHelper.getInertBodyElement(t):(n.firstChild?.remove(),n)}catch(n){return null}}};var fd=class{defaultDoc;inertDocument;constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument(`sanitization-inert`)}getInertBodyElement(t){let n=this.inertDocument.createElement(`template`);return n.innerHTML=Ya(t),n}};function $I(){try{return!!new window.DOMParser().parseFromString(Ya(``),`text/html`)}catch(e){return!1}}var zI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Za(e){return e=String(e),e.match(zI)?e:`unsafe:`+e}function Xt(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=!0;return t}function wi(...e){let t=Object.create(null);for(let n of e)for(let r in n)Object.hasOwn(n,r)&&(t[r]=!0);return t}var nv=Xt(`area,br,col,hr,img,wbr`);var rv=Xt(`colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr`);var ov=Xt(`rp,rt`);var WI=wi(ov,rv);var Xm=wi(nv,wi(rv,Xt(`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`)),wi(ov,Xt(`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`)),WI);var iv=Xt(`background,cite,href,itemtype,longdesc,poster,src,xlink:href`);var KI=wi(iv,Xt(`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`),Xt(`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`));var XI=Xt(`script,style,template`);var pd=class{sanitizedSomething=!1;buf=[];sanitizeChildren(t){let n=t.firstChild,r=!0,o=[];for(;n;){if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild){o.push(n),n=eS(n);continue}for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=JI(n);if(i){n=i;break}n=o.pop()}}return this.buf.join(``)}startElement(t){let n=Qm(t).toLowerCase();if(!Object.hasOwn(Xm,n))return this.sanitizedSomething=!0,!Object.hasOwn(XI,n);this.buf.push(`<`),this.buf.push(n);let r=t.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!Object.hasOwn(KI,a)){this.sanitizedSomething=!0;continue}let c=i.value;iv[a]&&(c=Za(c)),this.buf.push(` `,s,`="`,Jm(c),`"`)}return this.buf.push(`>`),!0}endElement(t){let n=Qm(t).toLowerCase();Object.hasOwn(Xm,n)&&!Object.hasOwn(nv,n)&&(this.buf.push(`</`),this.buf.push(n),this.buf.push(`>`))}chars(t){this.buf.push(Jm(t))}};function QI(e,t){return(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function JI(e){let t=e.nextSibling;if(t&&e!==t.previousSibling)throw sv(t);return t}function eS(e){let t=e.firstChild;if(t&&QI(e,t))throw sv(t);return t}function Qm(e){let t=e.nodeName;return typeof t==`string`?t:`FORM`}function sv(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var tS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;var nS=/([^\#-~ |!])/g;function Jm(e){return e.replace(/&/g,`&amp;`).replace(tS,function(t){let n=t.charCodeAt(0),r=t.charCodeAt(1);return`&#`+((n-55296)*1024+(r-56320)+65536)+`;`}).replace(nS,function(t){return`&#`+t.charCodeAt(0)+`;`}).replace(/</g,`&lt;`).replace(/>/g,`&gt;`)}var wa;function Ka(e,t){let n=null;try{wa=wa||UI(e);let r=t?String(t):``;n=wa.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error(`Failed to sanitize html because the input is unstable`);o--,r=i,i=n.innerHTML,n=wa.getInertBodyElement(r)}while(r!==i);return Ya(new pd().sanitizeChildren(eg(n)||n))}finally{if(n){let r=eg(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}function eg(e){return`content`in e&&rS(e)?e.content:null}function rS(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName===`TEMPLATE`}var oS=/^>|^->|<!--|-->|--!>|<!-$/g;var iS=/(<|>)/g;var sS=`​$1​`;function aS(e){return e.replace(oS,t=>t.replace(iS,sS))}function cS(e,t){return e.createText(t)}function lS(e,t,n){e.setValue(t,n)}function uS(e,t){return e.createComment(aS(t))}function av(e,t,n){return e.createElement(t,n)}function ur(e,t,n,r,o){e.insertBefore(t,n,r,o)}function cv(e,t,n){e.appendChild(t,n)}function tg(e,t,n,r,o){r!==null?ur(e,t,n,r,o):cv(e,t,n)}function lv(e,t,n,r){e.removeChild(null,t,n,r)}function dS(e,t,n){e.setAttribute(t,`style`,n)}function fS(e,t,n){n===``?e.removeAttribute(t,`class`):e.setAttribute(t,`class`,n)}function uv(e,t,n){let{mergedAttrs:r,classes:o,styles:i}=n;r!==null&&yI(e,t,r),o!==null&&fS(e,t,o),i!==null&&dS(e,t,i)}function pS(e,t=!0){if(e[0]!=`:`)return[null,e];let n=e.indexOf(`:`,1);if(n===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function hS(e,t,n){if(t!==void 0&&n!==void 0&&gS(t,n)!==Q.HTML)return e;let r=mS();return r?Km(r.sanitize(Q.HTML,e)||``):wn(e,`HTML`)?Km(Ke(e)):Ka(Bd(),Be(e))}function mS(){let e=_();return e&&e[dt].sanitizer}function gS(e,t){let[n,r]=vS(e);return um(r,t,n)}function vS(e){e=e.toLowerCase();let t=pS(e,!1);if(t[0])return t;let r=Ue()===-1?null:vn(),o=r?.namespace;if(e===`#host`&&r?.type===2){let i=ke(r,_());if(i.tagName&&(e=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&BI[s]}}return[o,e]}function yS(e){return e.ownerDocument}function bS(e){return e instanceof Function?e():e}function _S(e,t,n){let r=e.length;for(;;){let o=e.indexOf(t,n);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}var dv=`ng-template`;function DS(e,t,n,r){let o=0;if(r){for(;o<t.length&&typeof t[o]==`string`;o+=2)if(t[o]===`class`&&_S(t[o+1].toLowerCase(),n,0)!==-1)return!0}else if(Gd(e))return!1;if(o=t.indexOf(1,o),o>-1){let i;for(;++o<t.length&&typeof(i=t[o])==`string`;)if(i.toLowerCase()===n)return!0}return!1}function Gd(e){return e.type===4&&e.value!==dv}function ES(e,t,n){return t===(e.type===4&&!n?dv:e.value)}function wS(e,t,n){let r=4,o=e.attrs,i=o!==null?CS(o):0,s=!1;for(let a=0;a<t.length;a++){let c=t[a];if(typeof c==`number`){if(!s&&!pt(r)&&!pt(c))return!1;if(s&&pt(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==``&&!ES(e,c,n)||c===``&&t.length===1){if(pt(r))return!1;s=!0}}else if(r&8){if(o===null||!DS(e,o,c,n)){if(pt(r))return!1;s=!0}}else{let l=t[++a],u=IS(c,o,Gd(e),n);if(u===-1){if(pt(r))return!1;s=!0;continue}if(l!==``){let d;if(u>i?d=``:d=o[u+1].toLowerCase(),r&2&&l!==d){if(pt(r))return!1;s=!0}}}}return pt(r)||s}function pt(e){return(e&1)===0}function IS(e,t,n,r){if(t===null)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){let s=t[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=t[++o];for(;typeof a==`string`;)a=t[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return xS(t,e)}function fv(e,t,n=!1){for(let r=0;r<t.length;r++)if(wS(e,t[r],n))return!0;return!1}function SS(e){let t=e.attrs;if(t!=null){let n=t.indexOf(5);if((n&1)===0)return t[n+1]}return null}function CS(e){for(let t=0;t<e.length;t++){let n=e[t];if(Rg(n))return t}return e.length}function xS(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){let r=e[n];if(typeof r==`number`)return-1;if(r===t)return n;n++}return-1}function TS(e,t){e:for(let n=0;n<t.length;n++){let r=t[n];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function ng(e,t){return e?`:not(`+t.trim()+`)`:t}function NS(e){let t=e[0],n=1,r=2,o=``,i=!1;for(;n<e.length;){let s=e[n];if(typeof s==`string`)if(r&2){let a=e[++n];o+=`[`+s+(a.length>0?`="`+a+`"`:``)+`]`}else r&8?o+=`.`+s:r&4&&(o+=` `+s);else o!==``&&!pt(s)&&(t+=ng(i,o),o=``),r=s,i=i||!pt(r);n++}return o!==``&&(t+=ng(i,o)),t}function MS(e){return e.map(NS).join(`,`)}function AS(e){let t=[],n=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i==`string`)o===2?i!==``&&t.push(i,e[++r]):o===8&&n.push(i);else{if(!pt(o))break;o=i}r++}return n.length&&t.push(1,...n),t}var ge={};var Rt=(function(e){return e[e.Important=1]=`Important`,e[e.DashCase=2]=`DashCase`,e})(Rt||{});var RS;function qd(e,t){return RS(e,t)}var _n=new Set;typeof document<`u`&&document?.documentElement?.getAnimations;var hd=new WeakMap;function pv(e){return e?e[hn]??e:null}var fi=new WeakSet;function OS(e,t,n){let r=hd.get(e);if(!r||r.length===0)return;let o=t.parentNode,i=t.previousSibling,s=pv(n);for(let a=r.length-1;a>=0;a--){let{el:c,declarationView:l}=r[a],u=c.parentNode;c===t?(r.splice(a,1),fi.add(c),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}}))):i&&c===i?(r.splice(a,1),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),c.parentNode?.removeChild(c)):u&&o&&u!==o&&(s===null||l===null||s===l)&&(r.splice(a,1),c.dispatchEvent(new CustomEvent(`animationend`,{detail:{cancel:!0}})),c.parentNode?.removeChild(c))}}function kS(e,t,n){let r=pv(n),o=hd.get(e);o?o.some(i=>i.el===t)||o.push({el:t,declarationView:r}):hd.set(e,[{el:t,declarationView:r}])}var Xa=(function(e){return e[e.CHANGE_DETECTION=0]=`CHANGE_DETECTION`,e[e.AFTER_NEXT_RENDER=1]=`AFTER_NEXT_RENDER`,e})(Xa||{});var kt=new v(``);var rg=new Set;function Qt(e){rg.has(e)||(rg.add(e),performance?.mark?.(`mark_feature_usage`,{detail:{feature:e}}))}var Qa=(()=>{class e{impl=null;execute(){this.impl?.execute()}static ɵprov=P({token:e,providedIn:`root`,factory:()=>new e})}return e})();var Yd=[0,1,2,3];var Zd=(()=>{class e{ngZone=h(O);scheduler=h(St);errorHandler=h(It,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){h(kt,{optional:!0})}execute(){let n=this.sequences.size>0;n&&$(j.AfterRenderHooksStart),this.executing=!0;for(let r of Yd)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}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(),n&&$(j.AfterRenderHooksEnd)}register(n){let{view:r}=n;r!==void 0?((r[er]??=[]).push(n),or(r),r[C]|=8192):this.executing?this.deferredRegistrations.add(n):this.addSequence(n)}addSequence(n){this.sequences.add(n),this.scheduler.notify(7)}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,r){return r?r.run(Xa.AFTER_NEXT_RENDER,n):n()}static ɵprov=P({token:e,providedIn:`root`,factory:()=>new e})}return e})();var gi=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(t,n,r,o,i,s=null){this.impl=t,this.hooks=n,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.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 t=this.view?.[er];t&&(this.view[er]=t.filter(n=>n!==this))}};function In(e,t){let n=t?.injector??h(V);return Qt(`NgAfterNextRender`),PS(e,n,t,!0)}function FS(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function PS(e,t,n,r){let o=t.get(Qa);o.impl??=t.get(Zd);let i=t.get(kt,null,{optional:!0}),s=n?.manualCleanup!==!0?t.get(Oe):null,a=t.get(Xr,null,{optional:!0}),c=new gi(o.impl,FS(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var Kd=new v(``,{factory:()=>{let e=h(se),t=new Set;return e.onDestroy(()=>t.clear()),{queue:t,isScheduled:!1,scheduler:null,injector:e}}});function hv(e,t,n){let r=e.get(Kd);if(Array.isArray(t))for(let o of t)r.queue.add(o),n?.detachedLeaveAnimationFns?.push(o);else r.queue.add(t),n?.detachedLeaveAnimationFns?.push(t);r.scheduler&&r.scheduler(e)}function LS(e,t){let n=e.get(Kd);if(Array.isArray(t))for(let r of t)n.queue.delete(r);else n.queue.delete(t)}function jS(e,t){let n=e.get(Kd);if(t.detachedLeaveAnimationFns){for(let r of t.detachedLeaveAnimationFns)n.queue.delete(r);t.detachedLeaveAnimationFns=void 0}}function BS(e,t){for(let[n,r]of t)hv(e,r.animateFns)}function og(e,t,n,r){let o=e?.[Nt]?.enter;t!==null&&o&&o.has(n.index)&&BS(r,o)}function ig(e,t,n,r){try{n.get(ni)}catch(s){return r(!1)}let o=e?.[Nt];o?.enter?.has(t.index)&&LS(n,o.enter.get(t.index).animateFns);let i=VS(e,t,o);if(i.size===0){let s=!1;if(e){let a=[];Ja(e,t,a),s=a.length>0}if(!s)return r(!1)}e&&_n.add(e[Tt]),hv(n,()=>HS(e,t,o||void 0,i,r),o||void 0)}function VS(e,t,n){let r=new Map,o=n?.leave;if(o&&o.has(t.index)&&r.set(t.index,o.get(t.index)),e&&o)for(let[i,s]of o){if(r.has(i))continue;let c=e[E].data[i].parent;for(;c;){if(c===t){r.set(i,s);break}c=c.parent}}return r}function HS(e,t,n,r,o){let i=[];if(n&&n.leave)for(let[s]of r){if(!n.leave.has(s))continue;let a=n.leave.get(s);for(let c of a.animateFns){let{promise:l}=c();i.push(l)}n.detachedLeaveAnimationFns=void 0}if(e&&Ja(e,t,i),i.length>0){let s=n||e?.[Nt];if(s){let a=s.running;a&&i.push(a),s.running=Promise.allSettled(i),$S(e,s.running,o)}else Promise.allSettled(i).then(()=>{e&&_n.delete(e[Tt]),o(!0)})}else e&&_n.delete(e[Tt]),o(!1)}function Ja(e,t,n){if(t.type&12){let o=e[t.index];if(Ye(o))for(let i=ne;i<o.length;i++){let s=o[i];s[E].type===2&&US(s,n)}}let r=t.child;for(;r;)Ja(e,r,n),r=r.next}function US(e,t){let n=e[Nt];if(n&&n.leave)for(let o of n.leave.values())for(let i of o.animateFns){let{promise:s}=i();t.push(s)}let r=e[E].firstChild;for(;r;)Ja(e,r,t),r=r.next}function $S(e,t,n){t.then(()=>{e[Nt]?.running===t&&(e[Nt].running=void 0,_n.delete(e[Tt])),n(!0)})}function Qr(e,t,n,r,o,i,s,a){if(o!=null){let c,l=!1;Ye(o)?c=o:Gt(o)&&(l=!0,o=o[ut]);let u=ye(o);e===0&&r!==null?(og(a,r,i,n),s==null?cv(t,r,u):ur(t,r,u,s||null,!0)):e===1&&r!==null?(og(a,r,i,n),ur(t,r,u,s||null,!0),OS(i,u,a)):e===2?(a?.[Nt]?.leave?.has(i.index)&&kS(i,u,a),fi.delete(u),ig(a,i,n,d=>{if(fi.has(u)){fi.delete(u);return}lv(t,u,l,d)})):e===3&&(fi.delete(u),ig(a,i,n,()=>{t.destroyNode(u)})),c!=null&&eC(t,e,n,c,i,r,s)}}function zS(e,t){mv(e,t),t[ut]=null,t[ve]=null}function WS(e,t,n,r,o,i){r[ut]=o,r[ve]=t,tc(e,r,n,1,o,i)}function mv(e,t){t[dt].changeDetectionScheduler?.notify(9),tc(e,t,t[U],2,null,null)}function GS(e){let t=e[Gr];if(!t)return zu(e[E],e);for(;t;){let n=null;if(Gt(t))n=t[Gr];else{let r=t[ne];r&&(n=r)}if(!n){for(;t&&!t[qe]&&t!==e;)Gt(t)&&zu(t[E],t),t=t[pe];t===null&&(t=e),Gt(t)&&zu(t[E],t),n=t&&t[qe]}t=n}}function Xd(e,t){let n=e[nr],r=n.indexOf(t);n.splice(r,1)}function ec(e,t){if(rr(t))return;let n=t[U];n.destroyNode&&tc(e,t,n,3,null,null),GS(t)}function zu(e,t){if(rr(t))return;let n=w(null);try{t[C]&=-129,t[C]|=256,t[Ve]&&sn(t[Ve]),YS(e,t),qS(e,t),t[E].type===1&&t[U].destroy();let r=t[mn];if(r!==null&&Ye(t[pe])){r!==t[pe]&&Xd(r,t);let o=t[xt];o!==null&&o.detachView(e)}rd(t)}finally{w(n)}}function qS(e,t){let n=e.cleanup,r=t[Wr];if(n!==null)for(let s=0;s<n.length-1;s+=2)if(typeof n[s]==`string`){let a=n[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[n[s+1]];n[s].call(a)}r!==null&&(t[Wr]=null);let o=t[Ut];if(o!==null){t[Ut]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=t[$t];if(i!==null){t[$t]=null;for(let s of i)s.destroy()}}function YS(e,t){let n;if(e!=null&&(n=e.destroyHooks)!=null)for(let r=0;r<n.length;r+=2){let o=t[n[r]];if(!(o instanceof fr)){let i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];$(j.LifecycleHookStart,a,c);try{c.call(a)}finally{$(j.LifecycleHookEnd,a,c)}}else{$(j.LifecycleHookStart,o,i);try{i.call(o)}finally{$(j.LifecycleHookEnd,o,i)}}}}}function gv(e,t,n){if(t===null)throw new y(510,!1);return ZS(e,t.parent,n)}function ZS(e,t,n){let r=t;for(;r!==null&&r.type&168;)t=r,r=t.parent;if(r===null)return n[ut];if(Mt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===mt.None||o===mt.Emulated)return null}return ke(r,n)}function vv(e,t,n){return XS(e,t,n)}function KS(e,t,n){return e.type&40?ke(e,n):null}var XS=KS;var sg;function Qd(e,t,n,r){let o=gv(e,r,t),i=t[U],a=vv(r.parent||t[ve],r,t);if(o!=null)if(Array.isArray(n))for(let c=0;c<n.length;c++)tg(i,o,n[c],a,!1);else tg(i,o,n,a,!1);sg!==void 0&&sg(i,r,t,n,o)}function pi(e,t){if(t!==null){let n=t.type;if(n&3)return ke(t,e);if(n&4)return md(-1,e[t.index]);if(n&8){let r=t.child;if(r!==null)return pi(e,r);{let o=e[t.index];return Ye(o)?md(-1,o):ye(o)}}else{if(n&128)return pi(e,t.next);if(n&32)return qd(t,e)()||ye(e[t.index]);{let r=yv(e,t);if(r!==null){if(Array.isArray(r))return r[0];return pi(zt(e[Ce]),r)}else return pi(e,t.next)}}}return null}function yv(e,t){if(t!==null){let r=e[Ce][ve],o=t.projection;return r.projection[o]}return null}function md(e,t){let n=ne+e+1;if(n<t.length){let r=t[n],o=r[E].firstChild;if(o!==null)return pi(r,o)}return t[tr]}function Jd(e,t,n,r,o,i,s){for(;n!=null;){let a=r[Ct];if(n.type===128){n=n.next;continue}let c=r[n.index],l=n.type;if(s&&t===0&&(c&&to(ye(c),r),n.flags|=2),!qa(n))if(l&8)Jd(e,t,n.child,r,o,i,!1),Qr(t,e,a,o,c,n,i,r);else if(l&32){let u=qd(n,r),d;for(;d=u();)Qr(t,e,a,o,d,n,i,r);Qr(t,e,a,o,c,n,i,r)}else l&16?bv(e,t,r,n,o,i):Qr(t,e,a,o,c,n,i,r);n=s?n.projectionNext:n.next}}function tc(e,t,n,r,o,i){e.type===3?QS(n,r,t,o,i):Jd(n,r,e.firstChild,t,o,i,!1)}function QS(e,t,n,r,o){let s=n[E].firstChild,a=s.next,c=ye(n[s.index]),l=ye(n[a.index]),u=a.index+1,d=n[u];if(t===1||t===0)r!==null&&(d&&d.hasChildNodes()?ur(e,r,d,o,!0):(ur(e,r,c,o,!0),ur(e,r,l,o,!0)));else if(t===2){if(d||(d=document.createDocumentFragment(),n[u]=d),c&&c.parentNode===d)return;let p=c;for(;p!==null;){let f=p.nextSibling;if(d.appendChild(p),p===l)break;p=f}}}function JS(e,t,n){let r=t[U];bv(r,0,t,n,gv(e,n,t),vv(n.parent||t[ve],n,t))}function bv(e,t,n,r,o,i){let s=n[Ce],c=s[ve].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];Qr(t,e,n[Ct],o,u,r,i,n)}else{let l=c,u=s[pe];$g(r)&&(l.flags|=128),Jd(e,t,l,u,o,i,!0)}}function eC(e,t,n,r,o,i,s){let a=r[tr];if(a!==ye(r)&&Qr(t,e,n,i,a,o,s),(r[C]&4)===0)for(let l=ne;l<r.length;l++){let u=r[l];tc(u[E],u,e,t,i,a)}}function tC(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=r.indexOf(`-`)===-1?void 0:Rt.DashCase;o==null?e.removeStyle(n,r,i):(typeof o==`string`&&o.endsWith(`!important`)&&(o=o.slice(0,-10),i|=Rt.Important),e.setStyle(n,r,o,i))}}function ef(e,t,n,r,o,i,s,a,c,l,u){let d=K+r,p=d+o,f=nC(d,p),m=typeof l==`function`?l():l;return f[E]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i==`function`?i():i,pipeRegistry:typeof s==`function`?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:u}}function nC(e,t){let n=[];for(let r=0;r<t;r++)n.push(r<e?null:ge);return n}function rC(e){let t=e.tView;return t===null||t.incompleteFirstPass?e.tView=ef(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function tf(e,t,n,r,o,i,s,a,c,l,u){let d=t.blueprint.slice();return d[ut]=o,d[C]=r|1228,(l!==null||e&&e[C]&2048)&&(d[C]|=2048),Eu(d),d[pe]=d[hn]=e,d[ae]=n,d[dt]=s||e&&e[dt],d[U]=a||e&&e[U],d[Ct]=c||e&&e[Ct]||null,d[ve]=i,d[Tt]=RI(),d[Qn]=u,d[vu]=l,d[Ce]=t.type==2?e[Ce]:d,d}function oC(e,t,n){let r=ke(t,e),o=rC(n),i=e[dt].rendererFactory,s=nf(e,tf(e,o,null,_v(n),r,t,null,i.createRenderer(r,n),null,null,null));return e[t.index]=s}function _v(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function Dv(e,t,n,r){if(n===0)return-1;let o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function nf(e,t){return e[Gr]?e[gu][qe]=t:e[Gr]=t,e[gu]=t,t}function Sn(e=1){Ev(G(),_(),Ue()+e,!1)}function Ev(e,t,n,r){if(!r)if((t[C]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Sa(t,i,n)}else{let i=e.preOrderHooks;i!==null&&Ca(t,i,0,n)}gn(n)}var nc=(function(e){return e[e.None=0]=`None`,e[e.SignalBased=1]=`SignalBased`,e[e.HasDecoratorInputTransform=2]=`HasDecoratorInputTransform`,e})(nc||{});function pr(e,t,n,r){let o=w(null);try{let[i,s,a]=e.inputs[n],c=null;(s&nc.SignalBased)!==0&&(c=t[i][de]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(t,r)),e.setInput!==null?e.setInput(t,c,r,n,i):xg(t,c,i,r)}finally{w(o)}}function wv(e,t,n,r,o){let i=Ue(),s=r&2;try{gn(-1),s&&t.length>K&&Ev(e,t,K,!1);$(s?j.TemplateUpdateStart:j.TemplateCreateStart,o,n),n(r,o)}finally{gn(i);$(s?j.TemplateUpdateEnd:j.TemplateCreateEnd,o,n)}}function rc(e,t,n){lC(e,t,n),(n.flags&64)===64&&uC(e,t,n)}function Ii(e,t,n=ke){let r=t.localNames;if(r!==null){let o=t.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?n(t,e):e[s];e[o++]=a}}}function iC(e,t,n,r){let i=r.get(Xg,Kg)||n===mt.ShadowDom||n===mt.ExperimentalIsolatedShadowDom;return e.selectRootElement(t,i)}function cC(e){return e===`class`?`className`:e===`for`?`htmlFor`:e===`formaction`?`formAction`:e===`innerHtml`?`innerHTML`:e===`readonly`?`readOnly`:e===`tabindex`?`tabIndex`:e}function Iv(e,t,n,r,o,i){let s=t[E];if(oc(e,s,t,n,r)){Mt(e)&&Cv(t,e.index);return}e.type&3&&(n=cC(n)),Sv(e,t,n,r,o,i)}function Sv(e,t,n,r,o,i){if(e.type&3){let s=ke(e,t);r=i!=null?i(r,e.value||``,n):r,o.setProperty(s,n,r)}else e.type&12}function Cv(e,t){let n=Ze(t,e);n[C]&16||(n[C]|=64)}function lC(e,t,n){let r=n.directiveStart,o=n.directiveEnd;Mt(n)&&oC(t,n,e.data[r+n.componentOffset]),e.firstCreatePass||Oa(n,t);let i=n.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=mi(t,e,s,n);if(to(c,t),i!==null&&pC(t,s-r,c,a,n,i),ft(a)){let l=Ze(n.index,t);l[ae]=mi(t,e,s,n)}}}function uC(e,t,n){let r=n.directiveStart,o=n.directiveEnd,i=n.index,s=Sm();try{gn(i);for(let a=r;a<o;a++){let c=e.data[a],l=t[a];fa(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&dC(c,l)}}finally{gn(-1),fa(s)}}function dC(e,t){e.hostBindings!==null&&e.hostBindings(1,t)}function rf(e,t){let n=e.directiveRegistry,r=null;if(n)for(let o=0;o<n.length;o++){let i=n[o];fv(t,i.selectors,!1)&&(r??=[],ft(i)?r.unshift(i):r.push(i))}return r}function fC(e,t,n,r,o,i){let s=ke(e,t);xv(t[U],s,i,e.value,n,r,o)}function xv(e,t,n,r,o,i,s){if(i==null)s?.(i,r||``,o),e.removeAttribute(t,o,n);else{let a=s==null?Be(i):s(i,r||``,o);e.setAttribute(t,o,a,n)}}function pC(e,t,n,r,o,i){let s=i[t];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];pr(r,n,c,l)}}function of(e,t,n,r,o){let i=K+n,s=t[E],a=o(s,t,e,r,n);t[i]=a,Zr(e,!0);let c=e.type===2;return c?(uv(t[U],a,e),(gm()===0||qr(e))&&to(a,t),vm()):to(a,t),ga()&&(!c||!qa(e))&&Qd(s,t,a,e),e}function sf(e){let t=e;return Au()?Ru():(t=t.parent,Zr(t,!1)),t}function hC(e,t){let n=e[Ct];if(!n)return;let r;try{r=n.get(yn,null)}catch(o){r=null}r?.(t)}function oc(e,t,n,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=t.data[l];pr(d,n[l],u,o),a=!0}if(i)for(let c of i){let l=n[c],u=t.data[c];pr(u,l,r,o),a=!0}return a}function mC(e,t,n,r,o,i){let s=null,a=null,c=null,l=!1,u=e.directiveToIndex.get(r.type);if(typeof u==`number`?s=u:[s,a,c]=u,a!==null&&c!==null&&e.hostDirectiveInputs&&Object.hasOwn(e.hostDirectiveInputs,o)){let d=e.hostDirectiveInputs[o];for(let p=0;p<d.length;p+=2){let f=d[p];if(f>=a&&f<=c){let m=t.data[f],g=d[p+1];pr(m,n[f],g,i),l=!0}else if(f>c)break}}return s!==null&&Object.hasOwn(r.inputs,o)&&(pr(r,n[s],o,i),l=!0),l}function gC(e,t){let n=Ze(t,e),r=n[E];vC(r,n);let o=n[ut];o!==null&&n[Qn]===null&&(n[Qn]=Jg(o,n[Ct])),$(j.ComponentStart);try{af(r,n,n[ae])}finally{$(j.ComponentEnd,n[ae])}}function vC(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}function af(e,t,n){ha(t);try{let r=e.viewQuery;r!==null&&id(1,r,n);let o=e.template;o!==null&&wv(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),t[xt]?.finishViewCreation(e),e.staticContentQueries&&ev(e,t),e.staticViewQueries&&id(2,e.viewQuery,n);let i=e.components;i!==null&&yC(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[C]&=-5,ma()}}function yC(e,t){for(let n=0;n<t.length;n++)gC(e,t[n])}function Si(e,t,n,r){let o=w(null);try{let i=t.tView,c=tf(e,i,n,e[C]&4096?4096:16,null,t,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null);c[mn]=e[t.index];let u=e[xt];return u!==null&&(c[xt]=u.createEmbeddedView(i)),af(i,c,n),c}finally{w(o)}}function no(e,t){return!t||t.firstChild===null||$g(e)}function vi(e,t,n,r,o=!1){if(e.type===3){let i=e.firstChild,s=i.next,a=ye(t[i.index]),c=ye(t[s.index]),l=a;for(;l!==null&&(r.push(l),l!==c);)l=l.nextSibling;return r}for(;n!==null;){if(n.type===128){n=o?n.projectionNext:n.next;continue}let i=t[n.index];if(i!==null)if(Ye(i)){let a=i[tr];a!==i[ut]&&r.push(ye(i)),i[C]&4||Tv(i,r),r.push(a)}else r.push(ye(i));let s=n.type;if(s&8)vi(e,t,n.child,r);else if(s&32){let a=qd(n,t),c;for(;c=a();)r.push(c)}else if(s&16){let a=yv(t,n);if(Array.isArray(a))r.push(...a);else{let c=zt(t[Ce]);vi(c[E],c,a,r,!0)}}n=o?n.projectionNext:n.next}return r}function Tv(e,t){for(let n=ne;n<e.length;n++){let r=e[n],o=r[E].firstChild;o!==null&&vi(r[E],r,o,t)}}function Nv(e){if(e[er]!==null){for(let t of e[er])t.impl.addSequence(t);e[er].length=0}}var Mv=[];function bC(e){return e[Ve]??_C(e)}function _C(e){let t=Mv.pop()??Object.create(EC);return t.lView=e,t}function DC(e){e.lView[Ve]!==e&&(e.lView=null,Mv.push(e))}var EC=F$1(E$1({},Bn),{consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{or(e.lView)},consumerOnSignalRead(){this.lView[Ve]=this}});function wC(e){let t=e[Ve]??Object.create(IC);return t.lView=e,t}var IC=F$1(E$1({},Bn),{consumerIsAlwaysLive:!0,kind:`template`,consumerMarkedDirty:e=>{let t=zt(e.lView);for(;t&&!Av(t[E]);)t=zt(t);t&&wu(t)},consumerOnSignalRead(){this.lView[Ve]=this}});function Av(e){return e.type!==2}function Rv(e){if(e[$t]===null)return;let t=!0;for(;t;){let n=!1;for(let r of e[$t])if(r.dirty&&(n=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()),e[$t]===null))return;t=n&&!!(e[C]&8192)}}var SC=100;function Ov(e,t=0){let r=e[dt].rendererFactory;r.begin?.();try{CC(e,t)}finally{r.end?.()}}function CC(e,t){let n=Ou();try{Yo(!0),gd(e,t);let r=0;for(;ii(e);){if(r===SC)throw new y(103,!1);r++,gd(e,1)}}finally{Yo(n)}}function xC(e,t,n,r){if(rr(t))return;let o=t[C];ha(t);let a=!0,c=null,l=null;Av(e)?(l=bC(t),c=on(l)):ps()===null?(a=!1,l=wC(t),c=on(l)):t[Ve]&&(sn(t[Ve]),t[Ve]=null);try{Eu(t),Em(e.bindingStartIndex),n!==null&&wv(e,t,n,2,r);let u=(o&3)===3;if(u){let f=e.preOrderCheckHooks;f!==null&&Sa(t,f,null)}else{let f=e.preOrderHooks;f!==null&&Ca(t,f,0,null),Uu(t,0)}if(TC(t),Rv(t),kv(t,0),e.contentQueries!==null&&ev(e,t),true)if(u){let f=e.contentCheckHooks;f!==null&&Sa(t,f)}else{let f=e.contentHooks;f!==null&&Ca(t,f,1),Uu(t,1)}MC(e,t);let d=e.components;d!==null&&Pv(t,d,0);let p=e.viewQuery;if(p!==null&&id(2,p,r),true)if(u){let f=e.viewCheckHooks;f!==null&&Sa(t,f)}else{let f=e.viewHooks;f!==null&&Ca(t,f,2),Uu(t,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),t[ra]){for(let f of t[ra])f();t[ra]=null}Nv(t),t[C]&=-73}catch(u){throw or(t),u}finally{l!==null&&(Hn(l,c),a&&DC(l)),ma()}}function kv(e,t){for(let n=Wg(e);n!==null;n=Gg(n))for(let r=ne;r<n.length;r++){let o=n[r];Fv(o,t)}}function TC(e){for(let t=Wg(e);t!==null;t=Gg(t)){if(!(t[C]&2))continue;let n=t[nr];for(let r=0;r<n.length;r++){let o=n[r];wu(o)}}}function NC(e,t,n){$(j.ComponentStart);let r=Ze(t,e);try{Fv(r,n)}finally{$(j.ComponentEnd,r[ae])}}function Fv(e,t){aa(e)&&gd(e,t)}function gd(e,t){let r=e[E],o=e[C],i=e[Ve],s=!!(t===0&&o&16);if(s||=!!(o&64&&t===0),s||=!!(o&1024),s||=!!(i?.dirty&&Tr(i)),s||=!1,i&&(i.dirty=!1),e[C]&=-9217,s)xC(r,e,r.template,e[ae]);else if(o&8192){let a=w(null);try{Rv(e),kv(e,1);let c=r.components;c!==null&&Pv(e,c,1),Nv(e)}finally{w(a)}}}function Pv(e,t,n){for(let r=0;r<t.length;r++)NC(e,t[r],n)}function MC(e,t){let n=e.hostBindingOpCodes;if(n!==null)try{for(let r=0;r<n.length;r++){let o=n[r];if(o<0)gn(~o);else{let i=o,s=n[++r],a=n[++r];Im(s,i);let c=t[i];$(j.HostBindingsUpdateStart,c);try{a(2,c)}finally{$(j.HostBindingsUpdateEnd,c)}}}}finally{gn(-1)}}function cf(e,t){let n=Ou()?64:1088;for(e[dt].changeDetectionScheduler?.notify(t);e;){e[C]|=n;let r=zt(e);if(Yr(e)&&!r)return e;e=r}return null}function Lv(e,t,n,r){return[e,!0,0,t,null,r,null,n,null,null]}function jv(e,t){let n=ne+t;if(n<e.length)return e[n]}function Ci(e,t,n,r=!0){let o=t[E];if(AC(o,t,e,n),r){let s=md(n,e),a=t[U],c=a.parentNode(e[tr]);c!==null&&WS(o,e[ve],a,t,c,s)}let i=t[Qn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Bv(e,t){let n=yi(e,t);return n!==void 0&&ec(n[E],n),n}function yi(e,t){if(e.length<=ne)return;let n=ne+t,r=e[n];if(r){let o=r[mn];o!==null&&o!==e&&Xd(o,r),t>0&&(e[n-1][qe]=r[qe]);let i=ti(e,ne+t);zS(r[E],r);let s=i[xt];s!==null&&s.detachView(i[E]),r[pe]=null,r[qe]=null,r[C]&=-129}return r}function AC(e,t,n,r){let o=ne+r,i=n.length;r>0&&(n[o-1][qe]=t),r<i-ne?(t[qe]=n[o],du(n,ne+r,t)):(n.push(t),t[qe]=null),t[pe]=n;let s=t[mn];s!==null&&n!==s&&Vv(s,t);let a=t[xt];a!==null&&a.insertView(e),ca(t),t[C]|=128}function Vv(e,t){let n=e[nr],r=t[pe];if(Gt(r))e[C]|=2;else{let o=r[pe][Ce];t[Ce]!==o&&(e[C]|=2)}n===null?e[nr]=[t]:n.push(t)}var Dn=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let t=this._lView,n=t[E];return vi(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n}get context(){return this._lView[ae]}set context(t){this._lView[ae]=t}get destroyed(){return rr(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[pe];if(Ye(t)){let n=t[oi],r=n?n.indexOf(this):-1;r>-1&&(yi(t,r),ti(n,r))}this._attachedToViewContainer=!1}ec(this._lView[E],this._lView)}onDestroy(t){la(this._lView,t)}markForCheck(){cf(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[C]&=-129}reattach(){ca(this._lView),this._lView[C]|=128}detectChanges(){this._lView[C]|=1024,Ov(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=Yr(this._lView),n=this._lView[mn];n!==null&&!t&&Xd(n,this._lView),mv(this._lView[E],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new y(902,!1);this._appRef=t;let n=Yr(this._lView),r=this._lView[mn];r!==null&&!n&&Vv(r,this._lView),ca(this._lView)}};var $e=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=RC;constructor(n,r,o){this._declarationLView=n,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,r){return this.createEmbeddedViewImpl(n,r)}createEmbeddedViewImpl(n,r,o){return new Dn(Si(this._declarationLView,this._declarationTContainer,n,{embeddedViewInjector:r,dehydratedView:o}))}}return e})();function RC(){return ic(ce(),_())}function ic(e,t){return e.type&4?new $e(t,e,so(e,t)):null}function ao(e,t,n,r,o){let i=e.data[t];if(i===null)i=OC(e,t,n,r,o),wm()&&(i.flags|=32);else if(i.type&64){i.type=n,i.value=r,i.attrs=o;let s=_m();i.injectorIndex=s===null?-1:s.injectorIndex}return Zr(i,!0),i}function OC(e,t,n,r,o){let i=Mu(),s=Au(),a=s?i:i&&i.parent,c=e.data[t]=FC(e,a,n,t,r,o);return kC(e,c,i,s),c}function kC(e,t,n,r){e.firstChild===null&&(e.firstChild=t),n!==null&&(r?n.child==null&&t.parent!==null&&(n.child=t):n.next===null&&(n.next=t,t.prev=n))}function FC(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return xu()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,namespace:Pu(),attrs:i,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:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function PC(e){let t=e[yu]??[],r=e[pe][U],o=[];for(let i of t)i.data[Zg]!==void 0?o.push(i):LC(i,r);e[yu]=o}function LC(e,t){let n=0,r=e.firstChild;if(r){let o=e.data[Yg];for(;n<o;){let i=r.nextSibling;lv(t,r,!1),r=i,n++}}}var jC=()=>null;var BC=()=>null;function ka(e,t){return jC(e,t)}function Hv(e,t,n){return BC(e,t,n)}var Uv=class{};var me=class{};var Xe=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>VC()};function VC(){let e=_(),n=Ze(ce().index,e);return(Gt(n)?n:e)[U]}var $v=(()=>{class e{static ɵprov=P({token:e,providedIn:`root`,factory:()=>null})}return e})();function zv(e){return e.debugInfo?.className||e.type.name||null}var Ta={};var Fa=class{injector;parentInjector;constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){let o=this.injector.get(t,Ta,r);return o!==Ta||n===Ta?o:this.parentInjector.get(t,n,r)}};function lf(e){return Gv(e)?Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e:!1}function Wv(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{let n=e[Symbol.iterator](),r;for(;!(r=n.next()).done;)t(r.value)}}function Gv(e){return e!==null&&(typeof e==`function`||typeof e==`object`)}function qv(e,t,n){return e[t]=n}function Fe(e,t,n){if(n===ge)return!1;let r=e[t];return Object.is(r,n)?!1:(e[t]=n,!0)}function bi(e,t,n,r){let o=Fe(e,t,n);return Fe(e,t+1,r)||o}function HC(e,t,n,r,o){let i=bi(e,t,n,r);return Fe(e,t+2,o)||i}function UC(e,t,n,r,o,i){let s=bi(e,t,n,r);return bi(e,t+2,o,i)||s}function dr(e,t,n){return function r(o){let i=r.__ngNativeEl__;i!==void 0&&FI(o,i);cf(Mt(e)?Ze(e.index,t):t,5);let a=t[ae],c=ag(t,a,n,o),l=r.__ngNextListenerFn__;for(;l;)c=ag(t,a,l,o)&&c,l=l.__ngNextListenerFn__;return c}}function ag(e,t,n,r){let o=w(null);try{return $(j.OutputStart,t,n),n(r)!==!1}catch(i){return hC(e,i),!1}finally{$(j.OutputEnd,t,n),w(o)}}function uf(e,t,n,r,o,i,s,a){let c=qr(e),l=!1,u=null;if(!r&&c&&(u=zC(t,n,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=ke(e,n),p=r?r(d):d;r||(a.__ngNativeEl__=d);let f=o.listen(p,i,a);if(!$C(i))Yv(r?g=>r(ye(g[e.index])):e.index,t,n,i,a,f,!1)}return l}function $C(e){return e.startsWith(`animation`)||e.startsWith(`transition`)}function zC(e,t,n,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===n&&o[i+1]===r){let a=t[Wr],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s==`string`&&(i+=2)}return null}function Yv(e,t,n,r,o,i,s){let a=t.firstCreatePass?Su(t):null,c=Iu(n),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function cg(e,t,n,r,o){let i=null,s=null,a=null,c=!1,l=e.directiveToIndex.get(n.type);if(typeof l==`number`?i=l:[i,s,a]=l,s!==null&&a!==null&&e.hostDirectiveOutputs&&Object.hasOwn(e.hostDirectiveOutputs,r)){let u=e.hostDirectiveOutputs[r];for(let d=0;d<u.length;d+=2){let p=u[d];if(p>=s&&p<=a)c=!0,Pa(e,t,p,u[d+1],r,o);else if(p>a)break}}return Object.hasOwn(n.outputs,r)&&(c=!0,Pa(e,t,i,r,r,o)),c}function Pa(e,t,n,r,o,i){let s=t[n],a=t[E],d=s[a.data[n].outputs[r]].subscribe(i);Yv(e.index,a,t,o,i,d,!0)}function WC(){GC()}function GC(){let e=_(),t=G(),n=ce();if(t.firstCreatePass&&ZC(t,n),n.controlDirectiveIndex===-1)return;Qt(`NgSignalForms`);let r=e[n.controlDirectiveIndex];t.data[n.controlDirectiveIndex].controlDef.create(r,new La(e,t,n))}function qC(){YC()}function YC(){let e=_(),t=G(),n=vn();if(n.controlDirectiveIndex===-1)return;let r=t.data[n.controlDirectiveIndex].controlDef,o=e[n.controlDirectiveIndex];r.update(o,new La(e,t,n))}var La=class{lView;tView;tNode;hasPassThrough;constructor(t,n,r){this.lView=t,this.tView=n,this.tNode=r,this.hasPassThrough=!!(r.flags&4096)}get customControl(){return this.tNode.customControlIndex!==-1?this.lView[this.tNode.customControlIndex]:void 0}get nativeElement(){return ke(this.tNode,this.lView)}get descriptor(){return`<${this.tNode.value}>`}listenToCustomControlOutput(t,n){let r=this.tView.data[this.tNode.customControlIndex];cg(this.tNode,this.lView,r,t,dr(this.tNode,this.lView,n))}listenToCustomControlModel(t){let n=this.tNode.flags&1024?`valueChange`:`checkedChange`,r=this.tView.data[this.tNode.customControlIndex];cg(this.tNode,this.lView,r,n,dr(this.tNode,this.lView,t))}listenToDom(t,n){uf(this.tNode,this.tView,this.lView,void 0,this.lView[U],t,n,dr(this.tNode,this.lView,n))}setInputOnDirectives(t,n){let r=this.tNode.inputs?.[t],o=this.tNode.hostDirectiveInputs?.[t];if(!r&&!o)return!1;let i=!1;if(r)for(let s of r){if(s===this.tNode.controlDirectiveIndex)continue;let a=this.tView.data[s],c=this.lView[s];pr(a,c,t,n),i=!0}if(o)for(let s=0;s<o.length;s+=2){let a=o[s];if(a===this.tNode.controlDirectiveIndex)continue;let c=o[s+1],l=this.tView.data[a],u=this.lView[a];pr(l,u,c,n),i=!0}return i}setCustomControlModelInput(t){let n=this.tView.data[this.tNode.customControlIndex],r=this.tNode.flags&1024?`value`:`checked`;mC(this.tNode,this.tView,this.lView,n,r,t)}customControlHasInput(t){if(this.tNode.customControlIndex===-1)return!1;let n=this.tView.data[this.tNode.customControlIndex];return(n.signalFormsInputPresence??=this._buildCustomControlInputCache(n))[t]===!0}_buildCustomControlInputCache(t){let n={};for(let r in t.inputs)n[r]=!0;if(t.hostDirectives!==null){let r=[...t.hostDirectives];for(;r.length>0;){let o=r.shift();if(typeof o!=`function`){for(let s in o.inputs)n[o.inputs[s]]=!0;let i=lg(o.directive);i!==null&&r.push(...i);continue}for(let i of o()){if(typeof i==`function`)continue;if(i.inputs)for(let a=0;a<i.inputs.length;a+=2){let c=i.inputs[a+1]||i.inputs[a];n[c]=!0}let s=lg(i.directive);s!==null&&r.push(...s)}}}return n}};function lg(e){return typeof e==`function`&&`ɵdir`in e?e.ɵdir.hostDirectives??null:null}function ZC(e,t,n){for(let o=t.directiveStart;o<t.directiveEnd;o++)if(e.data[o].controlDef){t.controlDirectiveIndex=o;break}if(t.controlDirectiveIndex===-1)return;let r=e.data[t.controlDirectiveIndex].controlDef;if(r.passThroughInput&&(t.inputs?.[r.passThroughInput]?.length??0)>1){t.flags|=4096;return}KC(e,t)}function KC(e,t){for(let n=t.directiveStart;n<t.directiveEnd;n++){let r=e.data[n];if(!(t.directiveToIndex&&!t.directiveToIndex.has(r.type))){if(ug(r,`value`)){t.flags|=1024,t.customControlIndex=n;return}if(ug(r,`checked`)){t.flags|=2048,t.customControlIndex=n;return}}}if(t.hostDirectiveInputs!==null&&t.hostDirectiveOutputs!==null&&t.directiveToIndex!==null){let n=(r,o)=>{let i=t.hostDirectiveInputs[r],s=t.hostDirectiveOutputs[r+`Change`];if(!i||!s)return!1;for(let a=0;a<i.length;a+=2){let c=i[a];for(let l=0;l<s.length;l+=2)if(c===s[l])for(let d of t.directiveToIndex.values()){if(!Array.isArray(d))continue;let[p,f,m]=d;if(c>=f&&c<=m)return t.flags|=o,t.customControlIndex=p,!0}}return!1};if(n(`value`,1024)||n(`checked`,2048))return}}function ug(e,t){return XC(e,t)&&QC(e,t+`Change`)}function XC(e,t){return t in e.inputs}function QC(e,t){return t in e.outputs}var vd=Symbol(`BINDING`);var gr=new v(``);function ja(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(t!==null)for(let s=0;s<t.length;s++){let a=t[s];if(typeof a==`number`)i=a;else if(i==1)o=Zs(o,a);else if(i==2){let c=a,l=t[++s];r=Zs(r,c+`: `+l+`;`)}}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Qe(e,t=0){let n=_();if(n===null)return N(e,t);return Bg(ce(),n,fe(e),t)}function JC(){throw new Error(`invalid`)}function Zv(e,t,n,r,o){let i=r===null?null:{"":-1},s=o(e,n);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}nx(e,t,n,a,i,c,l)}i!==null&&r!==null&&ex(n,r,i)}function ex(e,t,n){let r=e.localNames=[];for(let o=0;o<t.length;o+=2){let i=n[t[o+1]];if(i==null)throw new y(-301,!1);r.push(t[o],i)}}function tx(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function nx(e,t,n,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&ft(f)&&(c=f,tx(e,n,p)),td(Oa(n,t),e,f.type)}cx(n,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=Dv(e,t,a,null);a>0&&(n.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(n.mergedAttrs=eo(n.mergedAttrs,f.hostAttrs),ox(e,n,t,d,f),ax(d,f,o),s!==null&&s.has(f)){let[g,D]=s.get(f);n.directiveToIndex.set(f.type,[d,g+n.directiveStart,D+n.directiveStart])}else(i===null||!i.has(f))&&n.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(n.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(n.flags|=64);let m=f.type.prototype;!l&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),l=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),u=!0),d++}rx(e,n,i)}function rx(e,t,n){for(let r=t.directiveStart;r<t.directiveEnd;r++){let o=e.data[r];if(n===null||!n.has(o))dg(0,t,o,r),dg(1,t,o,r),pg(t,r,!1);else{let i=n.get(o);fg(0,t,i,r),fg(1,t,i,r),pg(t,r,!0)}}}function dg(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(Object.hasOwn(o,i)){let s;e===0?s=t.inputs??={}:s=t.outputs??={},s[i]??=[],s[i].push(r),Kv(t,i)}}function fg(e,t,n,r){let o=e===0?n.inputs:n.outputs;for(let i in o)if(Object.hasOwn(o,i)){let s=o[i],a;e===0?a=t.hostDirectiveInputs??={}:a=t.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Kv(t,s)}}function Kv(e,t){t===`class`?e.flags|=8:t===`style`&&(e.flags|=16)}function pg(e,t,n){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!n&&o===null||n&&i===null||Gd(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c==`number`)break;if(!n&&Object.hasOwn(o,c)){let l=o[c];for(let u of l)if(u===t){s??=[],s.push(c,r[a+1]);break}}else if(n&&Object.hasOwn(i,c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===t){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function ox(e,t,n,r,o){e.data[r]=o;let s=new fr(o.factory||(o.factory=dn(o.type,!0)),ft(o),Qe,null);e.blueprint[r]=s,n[r]=s,ix(e,t,r,Dv(e,n,o.hostVars,ge),o)}function ix(e,t,n,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~t.index;sx(s)!=a&&s.push(a),s.push(n,r,i)}}function sx(e){let t=e.length;for(;t>0;){let n=e[--t];if(typeof n==`number`&&n<0)return n}return 0}function ax(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ft(t)&&(n[``]=e)}}function cx(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function df(e,t,n,r,o,i,s,a){let c=t[E],l=c.consts,d=ao(c,e,n,r,He(l,s));return i&&Zv(c,t,d,He(l,a),o),d.mergedAttrs=eo(d.mergedAttrs,d.attrs),d.attrs!==null&&ja(d,d.attrs,!1),d.mergedAttrs!==null&&ja(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function ff(e,t){Mg(e,t),bu(t)&&e.queries.elementEnd(t)}function lx(e,t,n,r,o,i){let s=t.consts,c=ao(t,e,n,r,He(s,o));if(c.mergedAttrs=eo(c.mergedAttrs,c.attrs),i!=null){let l=He(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&ja(c,c.attrs,!1),c.mergedAttrs!==null&&ja(c,c.mergedAttrs,!0),t.queries!==null&&t.queries.elementStart(t,c),c}var Xv=typeof ShadowRoot<`u`;var ux=typeof Document<`u`;function dx(e){return Object.keys(e).map(t=>{let[n,r,o]=e[t],i={propName:n,templateName:t,isSignal:(r&nc.SignalBased)!==0};return o&&(i.transform=o),i})}function fx(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}function px(e,t,n){let r=t instanceof se?t:t?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new Fa(n,r):n}function hx(e){let t=e.get(me,null);if(t===null)throw new y(407,!1);return{rendererFactory:t,sanitizer:e.get($v,null),changeDetectionScheduler:e.get(St,null),ngReflect:!1,tracingService:e.get(kt,null,{optional:!0})}}function mx(e,t,n){let r=Qv(e);return av(t,r,r===`svg`?jr:r===`math`?oa:n)}function gx(e){if((e&&`localName`in e&&typeof e.localName==`string`?e.localName:e?.tagName)?.toLowerCase()===`script`)throw new y(905,!1)}function Qv(e){return(e.selectors[0][0]||`div`).toLowerCase()}var hr=class{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=dx(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=fx(this.componentDef.outputs),this.cachedOutputs}constructor(t,n){this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=MS(t.selectors),this.ngContentSelectors=t.ngContentSelectors??[],this.isBoundToModule=!!n}create(t,n,r,o,i,s,a){$(j.DynamicComponentStart);let c=w(null);try{let l=this.componentDef,u=px(l,o||this.ngModule,t),d=hx(u),p=d.tracingService;return p&&p.componentCreate?p.componentCreate(zv(l),()=>this.createComponentRef(d,u,n,r,i,s,a)):this.createComponentRef(d,u,n,r,i,s,a)}finally{w(c)}}createComponentRef(t,n,r,o,i,s,a){let c=this.componentDef,l=vx(o,c,s,i),u=t.rendererFactory.createRenderer(null,c),d=o?iC(u,o,c.encapsulation,n):mx(c,u,a??null);gx(d);let p=n.get(gr,null),f=yx(d,()=>n.get(R,null)??Bd());p&&p.addHost(f);let m=s?.some(hg)||i?.some(b=>typeof b!=`function`&&b.bindings.some(hg)),g=tf(null,l,null,512|_v(c),null,null,t,u,n,null,Jg(d,n,!0));p&&Xv&&f instanceof ShadowRoot&&la(g,()=>{p.removeHost(f)}),g[K]=d,ha(g);let D=null;try{let b=df(K,g,2,`#host`,()=>l.directiveRegistry,!0,0);uv(u,d,b),to(d,g),rc(l,g,b),Vd(l,b,g),ff(l,b),r!==void 0&&_x(b,this.ngContentSelectors,r),D=Ze(b.index,g),g[ae]=D[ae],af(l,g,null)}catch(b){throw D!==null&&rd(D),rd(g),b}finally{$(j.DynamicComponentEnd),ma()}return new Ba(this.componentType,g,!!m)}};function vx(e,t,n,r){let o=e?[`ng-version`,`22.1.4`]:AS(t.selectors[0]),i=null,s=null,a=0;if(n)for(let u of n)a+=u[vd].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!=`function`)for(let p of d.bindings){a+=p[vd].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[t];if(r)for(let u of r){let p=Xs(typeof u==`function`?u:u.type);c.push(p)}return ef(0,null,bx(i,s),1,a,c,null,null,null,[o],null)}function yx(e,t){let n=e.getRootNode?.();return ux&&n instanceof Document?n.head:n&&Xv&&n instanceof ShadowRoot?n:t().head}function bx(e,t){return!e&&!t?null:n=>{if(n&1&&e)for(let r of e)r.create();if(n&2&&t)for(let r of t)r.update()}}function hg(e){let t=e[vd].kind;return t===`input`||t===`twoWay`}var Ba=class extends Uv{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(t,n,r){super(),this._rootLView=n,this._hasInputBindings=r,this._tNode=ia(n[E],K),this.location=so(this._tNode,n),this.instance=Ze(this._tNode.index,n)[ae],this.hostView=this.changeDetectorRef=new Dn(n,void 0),this.componentType=t}setInput(t,n){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;let o=this._rootLView;oc(r,o[E],o,t,n);this.previousInputValues.set(t,n);cf(Ze(r.index,o),1)}get injector(){return new bn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}};function _x(e,t,n){let r=e.projection=[];for(let o=0;o<t.length;o++){let i=n[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Pe=(()=>{class e{static __NG_ELEMENT_ID__=Dx}return e})();function Dx(){return Jv(ce(),_())}var yd=class e extends Pe{_lContainer;_hostTNode;_hostLView;constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return so(this._hostTNode,this._hostLView)}get injector(){return new bn(this._hostTNode,this._hostLView)}get parentInjector(){let t=Fd(this._hostTNode,this._hostLView);if(Og(t)){let n=Aa(t,this._hostLView),r=Ma(t),o=n[E].data[r+8];return new bn(o,n)}else return new bn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){let n=mg(this._lContainer);return n!==null&&n[t]||null}get length(){return this._lContainer.length-ne}createEmbeddedView(t,n,r){let o,i;typeof r==`number`?o=r:r!=null&&(o=r.index,i=r.injector);let s=ka(this._lContainer,t.ssrId),a=t.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(a,o,no(this._hostTNode,s)),a}createComponent(t,n,r,o,i,s,a){let c,l=n||{};c=l.index,r=l.injector,o=l.projectableNodes,i=l.environmentInjector||l.ngModuleRef,s=l.directives,a=l.bindings;let u=new hr(Wt(t)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let b=this.parentInjector.get(se,null);b&&(i=b)}let p=Wt(u.componentType??{}),f=ka(this._lContainer,p?.id??null),m=f?.firstChild??null,g=u.create(d,o,m,i,s,a,this._getHostElementNamespace());return this.insertImpl(g.hostView,c,no(this._hostTNode,f)),g}_getHostElementNamespace(){if(this._hostTNode.type&2){let t=this._hostTNode.parent??this._hostLView[ve];return t!==null&&t.type&2&&typeof t.value==`string`&&t.value.toLowerCase()===`foreignobject`?null:t?.namespace??null}return this._hostTNode.namespace}insert(t,n){return this.insertImpl(t,n,!0)}insertImpl(t,n,r){let o=t._lView;if(fm(o)){let a=this.indexOf(t);if(a!==-1)this.detach(a);else{let c=o[pe],l=new e(c,c[ve],c[pe]);l.detach(l.indexOf(t))}}let i=this._adjustIndex(n),s=this._lContainer;return Ci(s,o,i,r),t.attachToViewContainerRef(),du(Wu(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){let n=mg(this._lContainer);return n!==null?n.indexOf(t):-1}remove(t){let n=this._adjustIndex(t,-1),r=yi(this._lContainer,n);r&&(ti(Wu(this._lContainer),n),ec(r[E],r))}detach(t){let n=this._adjustIndex(t,-1),r=yi(this._lContainer,n);return r&&ti(Wu(this._lContainer),n)!=null?new Dn(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function mg(e){return e[oi]}function Wu(e){return e[oi]||(e[oi]=[])}function Jv(e,t){let n,r=t[e.index];return Ye(r)?n=r:(n=Lv(r,t,null,e),t[e.index]=n,nf(t,n)),wx(n,t,e,r),new yd(n,e,t)}function Ex(e,t){let n=e[U],r=n.createComment(``),o=ke(t,e);return ur(n,n.parentNode(o),r,n.nextSibling(o),!1),r}var wx=Cx;var Ix=()=>!1;function Sx(e,t,n){return Ix(e,t,n)}function Cx(e,t,n,r){if(e[tr])return;let o;n.type&8?o=ye(r):o=Ex(t,n),e[tr]=o}var bd=class e{queryList;matches=null;constructor(t){this.queryList=t}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}};var _d=class e{queries;constructor(t=[]){this.queries=t}createEmbeddedView(t){let n=t.queries;if(n!==null){let r=t.contentQueries!==null?t.contentQueries[0]:n.length,o=[];for(let i=0;i<r;i++){let s=n.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}finishViewCreation(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)hf(t,n).matches!==null&&this.queries[n].setDirty()}};var Va=class{flags;read;predicate;constructor(t,n,r=null){this.flags=n,this.read=r,typeof t==`string`?this.predicate=Ax(t):this.predicate=t}};var Dd=class e{queries;constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){let o=n!==null?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,n!==null?n.push(i):n=[i])}return n!==null?new e(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}};var Ed=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(t,n=-1){this.metadata=t,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let n=this._declarationNodeIndex,r=t.parent;for(;r!==null&&r.type&8&&r.index!==n;)r=r.parent;return n===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(t,n,xx(n,i)),this.matchTNodeWithReadOption(t,n,xa(n,t,i,!1,!1))}else r===$e?n.type&4&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,xa(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===q||o===Pe||o===$e&&n.type&4)this.addMatch(n.index,-2);else{let i=xa(n,t,o,!1,!1);i!==null&&this.addMatch(n.index,i)}else this.addMatch(n.index,r)}}addMatch(t,n){this.matches===null?this.matches=[t,n]:this.matches.push(t,n)}};function xx(e,t){let n=e.localNames;if(n!==null){for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1]}return null}function Tx(e,t){return e.type&11?so(e,t):e.type&4?ic(e,t):null}function Nx(e,t,n,r){return n===-1?Tx(t,e):n===-2?Mx(e,t,r):mi(e,e[E],n,t)}function Mx(e,t,n){if(n===q)return so(t,e);if(n===$e)return ic(t,e);if(n===Pe)return Jv(t,e)}function ey(e,t,n,r){let o=t[xt].queries[r];if(o.matches===null){let i=e.data,s=n.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(Nx(t,u,s[c+1],n.metadata.read))}}o.matches=a}return o.matches}function wd(e,t,n,r){let o=e.queries.getByIndex(n),i=o.matches;if(i!==null){let s=ey(e,t,o,n);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=t[-c];for(let d=ne;d<u.length;d++){let p=u[d];p[mn]===p[pe]&&wd(p[E],p,l,r)}if(u[nr]!==null){let d=u[nr];for(let p=0;p<d.length;p++){let f=d[p];wd(f[E],f,l,r)}}}}}return r}function pf(e,t){return e[xt].queries[t].queryList}function ty(e,t,n){let r=new Zt((n&4)===4);return mm(e,t,r,r.destroy),(t[xt]??=new _d).queries.push(new bd(r))-1}function ny(e,t,n){let r=G();return r.firstCreatePass&&(oy(r,new Va(e,t,n),-1),(t&2)===2&&(r.staticViewQueries=!0)),ty(r,_(),t)}function ry(e,t,n,r){let o=G();if(o.firstCreatePass){let i=ce();oy(o,new Va(t,n,r),i.index),Rx(o,e),(n&2)===2&&(o.staticContentQueries=!0)}return ty(o,_(),n)}function Ax(e){return e.split(`,`).map(t=>t.trim())}function oy(e,t,n){e.queries===null&&(e.queries=new Dd),e.queries.track(new Ed(t,n))}function Rx(e,t){let n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}function hf(e,t){return e.queries.getByIndex(t)}function iy(e,t){let n=e[E],r=hf(n,t);return r.crossesNgTemplate?wd(n,e,t,[]):ey(n,e,r,t)}function sy(e,t,n){let r,o=ko(()=>{r._dirtyCounter();let i=Ox(r,e);if(t&&i===void 0)throw new y(-951,!1);return i});return r=o[de],r._dirtyCounter=xe(0),r._flatValue=void 0,o}function mf(e){return sy(!0,!1,e)}function gf(e){return sy(!0,!0,e)}function ay(e,t){let n=e[de];n._lView=_(),n._queryIndex=t,n._queryList=pf(n._lView,t),n._queryList.onDirty(()=>n._dirtyCounter.update(r=>r+1))}function Ox(e,t){let n=e._lView,r=e._queryIndex;if(n===void 0||r===void 0||n[C]&4)return t?void 0:De;let o=pf(n,r),i=iy(n,r);return o.reset(i,Ug),t?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}function sc(e){return!!e&&typeof e.then==`function`}function vf(e){return!!e&&typeof e.subscribe==`function`}var Ot=class{};var cy=class{};var Ha=class extends Ot{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];constructor(t,n,r,o=!0){super(),this.ngModuleType=t,this._parent=n;let i=Yh(t);this._bootstrapComponents=bS(i.bootstrap),this._r3Injector=Lu(t,n,[{provide:Ot,useValue:this},...r],Xo(t),new Set([`environment`])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}};var Ua=class extends cy{moduleType;constructor(t){super(),this.moduleType=t}create(t){return new Ha(this.moduleType,t,[])}};var _i=class extends Ot{injector;instance=null;constructor(t){super();let n=new Kn([...t.providers,{provide:Ot,useValue:this}],t.parent||$r(),t.debugName,new Set([`environment`]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}};function ly(e,t,n=null){return new _i({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}var kx=(()=>{class e{_injector;cachedInjectors=new Map;constructor(n){this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let r=pu(!1,n.type),o=r.length>0?ly([r],this._injector,``):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}static ɵprov=P({token:e,providedIn:`environment`,factory:()=>new e(N(se))})}return e})();function Ee(e){return Ei(()=>{let t=uy(e),n=F$1(E$1({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection!==Ld.Eager,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?o=>o.get(kx).getOrCreateStandaloneInjector(n):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||mt.Emulated,styles:e.styles||De,_:null,schemas:e.schemas||null,tView:null,id:``});t.standalone&&Qt(`NgStandalone`),dy(n);let r=e.dependencies;return n.directiveDefs=gg(r,Fx),n.pipeDefs=gg(r,Zh),n.id=jx(n),n})}function Fx(e){return Wt(e)||Xs(e)}function oe(e){return Ei(()=>({type:e.type,bootstrap:e.bootstrap||De,declarations:e.declarations||De,imports:e.imports||De,exports:e.exports||De,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Px(e,t){if(e==null)return pn;let n={};for(let r in e)if(Object.hasOwn(e,r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=nc.None,c=null),n[i]=[r,a,c],t[i]=s}return n}function Lx(e){if(e==null)return pn;let t={};for(let n in e)Object.hasOwn(e,n)&&(t[e[n]]=n);return t}function Z(e){return Ei(()=>{let t=uy(e);return dy(t),t})}function ac(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function uy(e){let t={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputConfig:e.inputs||pn,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||De,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,signalFormsInputPresence:null,inputs:Px(e.inputs,t),outputs:Lx(e.outputs),debugInfo:null}}function dy(e){e.features?.forEach(t=>t(e))}function gg(e,t){return e?()=>{let n=typeof e==`function`?e():e,r=[];for(let o of n){let i=t(o);i!==null&&r.push(i)}return r}:null}function jx(e){let t=0,n=typeof e.consts==`function`?``:e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,n,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join(`|`))t=Math.imul(31,t)+i.charCodeAt(0)<<0;return t+=2147483648,`c`+t}var yf=new v(``);function Bx(e){return Ur([{provide:yf,multi:!0,useValue:e}])}var bf=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r});appInits=h(yf,{optional:!0})??[];injector=h(V);constructor(){}runInitializers(){if(this.initialized)return;let n=[];for(let o of this.appInits){let i=zr(this.injector,o);if(sc(i))n.push(i);else if(vf(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});n.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),n.length===0&&r(),this.initialized=!0}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();function Vx(e){return t=>{t.controlDef={create:(n,r)=>{n?.ɵngControlCreate(r)},update:(n,r)=>{n?.ɵngControlUpdate?.(r)},passThroughInput:e}}}function Hx(e){let t=n=>{let r=Array.isArray(e);n.hostDirectives===null?(n.resolveHostDirectives=Ux,n.hostDirectives=r?e.map(Id):[e]):r?n.hostDirectives.unshift(...e.map(Id)):n.hostDirectives.unshift(e)};return t.ngInherit=!0,t}function Ux(e){let t=[],n=!1,r=null,o=null;for(let i=0;i<e.length;i++){let s=e[i];if(s.hostDirectives!==null){let a=t.length;r??=new Map,o??=new Map,fy(s,t,r,e),o.set(s,[a,t.length-1])}i===0&&ft(s)&&(n=!0,t.push(s))}for(let i=n?1:0;i<e.length;i++)t.push(e[i]);return r!==null&&r.forEach((i,s)=>{$x(s.declaredInputs,i.inputs)}),[t,r,o]}function fy(e,t,n,r){if(e.hostDirectives!==null)for(let o of e.hostDirectives)if(typeof o==`function`){let i=o();for(let s of i)vg(Id(s),t,n,r)}else vg(o,t,n,r)}function vg(e,t,n,r){let o=Xs(e.directive);if(fy(o,t,n,r),n.has(o)){let i=n.get(o);yg(i,e.inputs,`input`),yg(i,e.outputs,`output`)}else r.includes(o)||(n.set(o,e),t.push(o))}function yg(e,t,n){let r=n===`input`?e.inputs:e.outputs;Object.keys(t).forEach(o=>{let i=t[o];(!Object.hasOwn(r,o)||r[o]===i)&&(r[o]=i)})}function Id(e){return typeof e==`function`?{directive:fe(e),inputs:{},outputs:{}}:{directive:fe(e.directive),inputs:bg(e.inputs),outputs:bg(e.outputs)}}function bg(e){let t={};if(e!==void 0&&e.length>0)for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function $x(e,t){for(let n in t)if(Object.hasOwn(t,n)){let r=t[n];e[r]=e[n]}}function zx(e){return Object.getPrototypeOf(e.prototype).constructor}function ze(e){let t=zx(e.type),n=!0,r=[e];for(;t&&t!==Function.prototype&&t!==Object.prototype;){let o,i=Object.hasOwn(t,Jo)?t[Jo]:void 0,s=Object.hasOwn(t,ei)?t[ei]:void 0;if(ft(e))o=i??s;else{if(i)throw new y(903,!1);o=s}if(o){if(n){r.push(o);let c=e;c.inputs=Gu(e.inputs),c.declaredInputs=Gu(e.declaredInputs),c.outputs=Gu(e.outputs);let l=o.hostBindings;l&&Zx(e,l);let u=o.viewQuery,d=o.contentQueries;if(u&&qx(e,u),d&&Yx(e,d),Wx(e,o),qh(e.outputs,o.outputs),ft(o)&&o.data.animation){let p=e.data;p.animation=(p.animation||[]).concat(o.data.animation)}}let a=o.features;if(a)for(let c=0;c<a.length;c++){let l=a[c];l&&l.ngInherit&&l(e),l===ze&&(n=!1)}}t=Object.getPrototypeOf(t)}Gx(r)}function Wx(e,t){for(let n in t.inputs){if(!Object.hasOwn(t.inputs,n)||Object.hasOwn(e.inputs,n))continue;let r=t.inputs[n];r!==void 0&&(e.inputs[n]=r,e.declaredInputs[n]=t.declaredInputs[n])}}function Gx(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=eo(o.hostAttrs,n=eo(n,o.hostAttrs))}}function Gu(e){return e===pn?{}:e===De?[]:e}function qx(e,t){let n=e.viewQuery;n?e.viewQuery=(r,o)=>{t(r,o),n(r,o)}:e.viewQuery=t}function Yx(e,t){let n=e.contentQueries;n?e.contentQueries=(r,o,i)=>{t(r,o,i),n(r,o,i)}:e.contentQueries=t}function Zx(e,t){let n=e.hostBindings;n?e.hostBindings=(r,o)=>{t(r,o),n(r,o)}:e.hostBindings=t}function py(e,t,n,r,o,i,s,a){if(n.firstCreatePass){e.mergedAttrs=eo(e.mergedAttrs,e.attrs);let u=e.tView=ef(2,e,o,i,s,n.directiveRegistry,n.pipeRegistry,null,n.schemas,n.consts,null);n.queries!==null&&(n.queries.template(n,e),u.queries=n.queries.embeddedTView(e))}a&&(e.flags|=a),Zr(e,!1);let c=Xx(n,t,e,r);ga()&&Qd(n,t,c,e),to(c,t);let l=Lv(c,t,c,e);t[r+K]=l,nf(t,l),Sx(l,e,t)}function Kx(e,t,n,r,o,i,s,a,c,l,u){let d=n+K,p;return t.firstCreatePass?(p=ao(t,d,4,s||null,a||null),ua()&&Zv(t,e,p,He(t.consts,l),rf),Mg(t,p)):p=t.data[d],py(p,e,t,n,r,o,i,c),qr(p)&&rc(t,e,p),l!=null&&Ii(e,p,u),p}function ro(e,t,n,r,o,i,s,a,c,l,u){let d=n+K,p;if(t.firstCreatePass){if(p=ao(t,d,4,s||null,a||null),l!=null){let f=He(t.consts,l);p.localNames=[];for(let m=0;m<f.length;m+=2)p.localNames.push(f[m],-1)}}else p=t.data[d];return py(p,e,t,n,r,o,i,c),l!=null&&Ii(e,p,u),p}function hy(e,t,n,r,o,i,s,a){let c=_(),l=G();return Kx(c,l,e,t,n,r,o,He(l.consts,i),void 0,s,a),hy}function my(e,t,n,r,o,i,s,a){let c=_(),l=G();return ro(c,l,e,t,n,r,o,He(l.consts,i),void 0,s,a),my}var Xx=Qx;function Qx(e,t,n,r){return ci(!0),t[U].createComment(``)}var gy=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=P({token:e,factory:e.ɵfac,providedIn:`platform`})}return e})();var _f=new v(``);var Df=new v(``);function vy(){wl(()=>{throw new y(600,``)})}var Jx=10;var gt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(yn);afterRenderManager=h(Qa);zonelessEnabled=h(ui);rootEffectScheduler=h(ya);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new I;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=h(ir);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ie(n=>!n))}constructor(){h(kt,{optional:!0})}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}_injector=h(se);_rendererFactory=null;get injector(){return this._injector}bootstrap(n,r){return this.bootstrapImpl(n,r)}bootstrapImpl(n,r,o=V.NULL){return this._injector.get(O).run(()=>{if($(j.BootstrapComponentStart),!this._injector.get(bf).done)throw new y(405,``);let a=Wt(n),c=this._injector.get(Ot),l=new hr(a,c);this.componentTypes.push(n);let{hostElement:u,directives:d,bindings:p}=eT(r),f=u||l.selector,m=l.create(o,[],f,c.injector,d,p),g=m.location.nativeElement,D=m.injector.get(_f,null);return D?.registerApplication(g),m.onDestroy(()=>{this.detachView(m.hostView),hi(this.components,m),D?.unregisterApplication(g)}),this._loadComponent(m),$(j.BootstrapComponentEnd,m),m})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){$(j.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Xa.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw $(j.ChangeDetectionEnd),new y(101,!1);let n=w(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,w(n),this.afterTick.next(),$(j.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(me,null,{optional:!0}));let n=0;for(;this.dirtyFlags!==0&&n++<Jx;){$(j.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{$(j.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let n=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!ii(o))continue;Ov(o,r&&!this.zonelessEnabled?0:1),n=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}n||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>ii(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){let r=n;hi(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(n),this._injector.get(Df,[]).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>hi(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new y(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();function eT(e){return e===void 0||typeof e==`string`||e instanceof Element?{hostElement:e}:e}function hi(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}function yy(e,t){let n=_();if(Fe(n,qt(),t)){let o=G(),i=vn();if(oc(i,o,n,e,t))Mt(i)&&Cv(n,i.index);else{let a=ke(i,n);xv(n[U],a,null,i.value,e,t,null)}}return yy}function xi(e,t,n,r){let o=_();if(Fe(o,qt(),t)){G();fC(vn(),o,e,t,n,r)}return xi}var Sd=class{destroy(t){}updateValue(t,n){}swap(t,n){let r=Math.min(t,n),o=Math.max(t,n),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(t,n){this.attach(n,this.detach(t))}};function qu(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function tT(e,t,n,r){let o,i,s=0,a=e.length-1;if(Array.isArray(t)){w(r);let l=t.length-1;for(w(null);s<=a&&s<=l;){let u=e.at(s),d=t[s],p=qu(s,u,s,d,n);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),m=t[l],g=qu(a,f,l,m,n);if(g!==0){g<0&&e.updateValue(a,m),a--,l--;continue}let D=n(s,u),b=n(a,f),B=n(s,d);if(Object.is(B,b)){let be=n(l,m);Object.is(be,D)?(e.swap(s,a),e.updateValue(a,m),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new $a,i??=Dg(e,s,a,n),Cd(e,o,s,B))e.updateValue(s,d),s++,a++;else if(i.has(B))o.set(D,e.detach(s)),a--;else{let be=e.create(s,t[s]);e.attach(s,be),s++,a++}}for(;s<=l;)_g(e,o,n,s,t[s]),s++}else if(t!=null){w(r);let l=t[Symbol.iterator]();w(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=qu(s,d,s,p,n);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new $a,i??=Dg(e,s,a,n);let m=n(s,p);if(Cd(e,o,s,m))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(m))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let g=n(s,d);o.set(g,e.detach(s)),a--}}}for(;!u.done;)_g(e,o,n,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function Cd(e,t,n,r){return t!==void 0&&t.has(r)?(e.attach(n,t.get(r)),t.delete(r),!0):!1}function _g(e,t,n,r,o){if(Cd(e,t,r,n(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function Dg(e,t,n,r){let o=new Set;for(let i=t;i<=n;i++)o.add(r(i,e.at(i)));return o}var $a=class{kvMap=new Map;_vMap=void 0;has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let n=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(n)?(this.kvMap.set(t,this._vMap.get(n)),this._vMap.delete(n)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,n){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,n)}else this.kvMap.set(t,n)}forEach(t){for(let[n,r]of this.kvMap)if(t(r,n),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),t(r,n)}}};function co(e,t,n,r,o,i,s,a){Qt(`NgControlFlow`);let c=_(),l=G();return ro(c,l,e,t,n,r,o,He(l.consts,i),256,s,a),Ef}function Ef(e,t,n,r,o,i,s,a){Qt(`NgControlFlow`);let c=_(),l=G();return ro(c,l,e,t,n,r,o,He(l.consts,i),512,s,a),Ef}function lo(e,t){Qt(`NgControlFlow`);let n=_(),r=qt(),o=n[r]!==ge?n[r]:-1,i=o!==-1?za(n,K+o):void 0,s=0;if(Fe(n,r,e)){let a=w(null);try{if(i!==void 0&&Bv(i,s),e!==-1){let c=K+e,l=za(n,c),u=Md(n[E],c),d=Hv(l,u,n);Ci(l,Si(n,u,t,{dehydratedView:d}),s,no(u,d))}}finally{w(a)}}else if(i!==void 0){let a=jv(i,s);a!==void 0&&(a[ae]=t)}}var xd=class{lContainer;$implicit;$index;constructor(t,n,r){this.lContainer=t,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-ne}};function nT(e){return e}function rT(e,t){return t}var Td=class{hasEmptyBlock;trackByFn;liveCollection;constructor(t,n,r){this.hasEmptyBlock=t,this.trackByFn=n,this.liveCollection=r}};function oT(e,t,n,r,o,i,s,a,c,l,u,d,p){Qt(`NgControlFlow`);let f=_(),m=G(),g=c!==void 0,D=_(),B=new Td(g,a?s.bind(D[Ce][ae]):s);D[K+e]=B,ro(f,m,e+1,t,n,r,o,He(m.consts,i),256),g&&ro(f,m,e+2,c,l,u,d,He(m.consts,p),512)}var Nd=class extends Sd{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(t,n,r){super(),this.lContainer=t,this.hostLView=n,this.templateTNode=r}get length(){return this.lContainer.length-ne}at(t){return this.getLView(t)[ae].$implicit}attach(t,n){let r=n[Qn];this.needsIndexUpdate||=t!==this.length,Ci(this.lContainer,n,t,no(this.templateTNode,r)),sT(this.lContainer,t)}detach(t){return this.needsIndexUpdate||=t!==this.length-1,aT(this.lContainer,t),cT(this.lContainer,t)}create(t,n){let r=ka(this.lContainer,this.templateTNode.tView.ssrId);return Si(this.hostLView,this.templateTNode,new xd(this.lContainer,n,t),{dehydratedView:r})}destroy(t){ec(t[E],t)}updateValue(t,n){this.getLView(t)[ae].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let t=0;t<this.length;t++)this.getLView(t)[ae].$index=t}getLView(t){return lT(this.lContainer,t)}};function iT(e){let t=w(null),n=Ue();try{let r=_(),o=r[E],i=r[n],s=n+1,a=za(r,s);if(i.liveCollection===void 0)i.liveCollection=new Nd(a,r,Md(o,s));else i.liveCollection.reset();let c=i.liveCollection;if(tT(c,e,i.trackByFn,t),c.updateIndexes(),i.hasEmptyBlock){let l=qt(),u=c.length===0;if(Fe(r,l,u)){let d=n+2,p=za(r,d);if(u){let f=Md(o,d),m=Hv(p,f,r);Ci(p,Si(r,f,void 0,{dehydratedView:m}),0,no(f,m))}else o.firstUpdatePass&&PC(p),Bv(p,0)}}}finally{w(t)}}function za(e,t){return e[t]}function sT(e,t){if(e.length<=ne)return;let r=e[ne+t],o=r?r[Nt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[Ct];jS(i,o),_n.delete(r[Tt]),o.detachedLeaveAnimationFns=void 0}}function aT(e,t){if(e.length<=ne)return;let r=e[ne+t],o=r?r[Nt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function cT(e,t){return yi(e,t)}function lT(e,t){return jv(e,t)}function Md(e,t){return ia(e,t)}function by(e,t,n){let r=_();if(Fe(r,qt(),t)){G();Iv(vn(),r,e,t,r[U],n)}return by}function Ad(e,t,n,r,o){oc(t,e,n,o?`class`:`style`,r)}function Wa(e,t,n,r){let o=_(),i=o[E],s=e+K,a=i.firstCreatePass?df(s,o,2,t,rf,ua(),n,r):i.data[s];if(Mt(a)){let c=o[dt].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(zv(l),()=>(Eg(e,t,o,a,r),Wa))}}return Eg(e,t,o,a,r),Wa}function Eg(e,t,n,r,o){if(of(r,n,e,t,Dy),qr(r)){let i=n[E];rc(i,n,r),Vd(i,r,n)}o!=null&&Ii(n,r)}function wf(){let e=G(),n=sf(ce());return e.firstCreatePass&&ff(e,n),Tu(n)&&Nu(),Cu(),n.classesWithoutHost!=null&&gI(n)&&Ad(e,n,_(),n.classesWithoutHost,!0),n.stylesWithoutHost!=null&&vI(n)&&Ad(e,n,_(),n.stylesWithoutHost,!1),wf}function _y(e,t,n,r){return Wa(e,t,n,r),wf(),_y}function Je(e,t,n,r){let o=_(),i=o[E],s=e+K,a=i.firstCreatePass?lx(s,i,2,t,n,r):i.data[s];return of(a,o,e,t,Dy),r!=null&&Ii(o,a),Je}function et(){return Tu(sf(ce()))&&Nu(),Cu(),et}function tt(e,t,n,r){return Je(e,t,n,r),et(),tt}var Dy=(e,t,n,r,o)=>(ci(!0),av(t[U],r,Pu()));function If(e,t,n){let r=_(),o=r[E],i=e+K,s=o.firstCreatePass?df(i,r,8,`ng-container`,rf,ua(),t,n):o.data[i];if(of(s,r,e,`ng-container`,uT),qr(s)){let a=r[E];rc(a,r,s),Vd(a,s,r)}return n!=null&&Ii(r,s),If}function Sf(){let e=G(),n=sf(ce());return e.firstCreatePass&&ff(e,n),Sf}function Ey(e,t,n){return If(e,t,n),Sf(),Ey}var uT=(e,t,n,r,o)=>(ci(!0),uS(t[U],``));function dT(){return _()}function wy(e,t,n){let r=_();if(Fe(r,qt(),t)){G();Sv(vn(),r,e,t,r[U],n)}return wy}var di=void 0;function fT(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,``).length;return t===1&&n===0?1:5}var pT=[`en`,[[`a`,`p`],[`AM`,`PM`]],[[`AM`,`PM`]],[[`S`,`M`,`T`,`W`,`T`,`F`,`S`],[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`]],di,[[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]],di,[[`B`,`A`],[`BC`,`AD`],[`Before Christ`,`Anno Domini`]],0,[6,0],[`M/d/yy`,`MMM d, y`,`MMMM d, y`,`EEEE, MMMM d, y`],[`h:mm a`,`h:mm:ss a`,`h:mm:ss a z`,`h:mm:ss a zzzz`],[`{1}, {0}`,di,di,di],[`.`,`,`,`;`,`%`,`+`,`-`,`E`,`×`,`‰`,`∞`,`NaN`,`:`],[`#,##0.###`,`#,##0%`,`¤#,##0.00`,`#E0`],`USD`,`$`,`US Dollar`,{},`ltr`,fT];var Yu=Object.create(null);function cc(e){let t=hT(e),n=wg(t);if(n)return n;let r=t.split(`-`)[0];if(n=wg(r),n)return n;if(r===`en`)return pT;throw new y(701,!1)}function wg(e){if(!(e in Yu)){let t=Ge.ng&&Ge.ng.common&&Ge.ng.common.locales&&Ge.ng.common.locales[e];return t!==void 0&&(Yu[e]=t),t}return Yu[e]}var uo={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};function hT(e){return e.toLowerCase().replace(/_/g,`-`)}var Ti=`en-US`;function Iy(e){typeof e==`string`&&e.toLowerCase().replace(/_/g,`-`)}function Sy(e,t,n){let r=_(),o=G(),i=ce();return xy(o,r,r[U],i,e,t,n),Sy}function Cy(e,t,n){let r=_(),o=G(),i=ce();return(i.type&3||n)&&uf(i,o,r,n,r[U],e,t,dr(i,r,t)),Cy}function xy(e,t,n,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=dr(r,t,i),uf(r,e,t,s,n,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=dr(r,t,i),Pa(r,t,p,f,o,c)}if(l&&l.length)for(let d of l)c??=dr(r,t,i),Pa(r,t,d,o,o,c)}}function gT(e=1){return Mm(e)}function vT(e,t){let n=null,r=SS(e);for(let o=0;o<t.length;o++){let i=t[o];if(i===`*`){n=o;continue}if(r===null?fv(e,i,!0):TS(r,i))return o}return n}function Cn(e){let t=_()[Ce][ve];if(!t.projection){let r=t.projection=tm(e?e.length:1,null),o=r.slice(),i=t.child;for(;i!==null;){if(i.type!==128){let s=e?vT(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function Te(e,t=0,n,r,o,i){let s=_(),a=G(),c=r?e+1:null;c!==null&&ro(s,a,c,r,o,i,null,n);let l=ao(a,K+e,16,null,n||null);l.projection===null&&(l.projection=t),Ru();let d=!s[Qn]||xu();s[Ce][ve].projection[l.projection]===null&&c!==null?yT(s,a,c):d&&!qa(l)&&JS(a,s,l)}function yT(e,t,n){let r=K+n,o=t.data[r],i=e[r],s=ka(i,o.tView.ssrId);Ci(i,Si(e,o,void 0,{dehydratedView:s}),0,no(o,s))}function Ty(e,t,n,r){return ry(e,t,n,r),Ty}function lc(e,t,n){return ny(e,t,n),lc}function Cf(e){let t=_(),n=G(),r=pa();ai(r+1);let o=hf(n,r);if(e.dirty&&dm(t)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=iy(t,r);e.reset(i,Ug),e.notifyOnChanges()}return!0}return!1}function xf(){return pf(_(),pa())}function Ny(e,t,n,r,o){return ay(t,ry(e,n,r,o)),Ny}function My(e,t,n,r){return ay(e,ny(t,n,r)),My}function bT(e=1){ai(pa()+e)}function _T(e){return sa(Dm(),K+e)}function Ia(e,t){return e<<17|t<<2}function mr(e){return e>>17&32767}function DT(e){return(e&2)==2}function ET(e,t){return e&131071|t<<17}function Rd(e){return e|2}function oo(e){return(e&131068)>>2}function Zu(e,t){return e&-131069|t<<2}function wT(e){return(e&1)===1}function Od(e){return e|1}function IT(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=mr(s),c=oo(s);e[r]=n;let l=!1,u;if(Array.isArray(n)){let d=n;u=d[1],(u===null||Vr(d,u)>0)&&(l=!0)}else u=n;if(o)if(c!==0){let p=mr(e[a+1]);e[r+1]=Ia(p,a),p!==0&&(e[p+1]=Zu(e[p+1],r)),e[a+1]=ET(e[a+1],r)}else e[r+1]=Ia(a,0),a!==0&&(e[a+1]=Zu(e[a+1],r)),a=r;else e[r+1]=Ia(c,0),a===0?a=r:e[c+1]=Zu(e[c+1],r),c=r;l&&(e[r+1]=Rd(e[r+1])),Ig(e,u,r,!0),Ig(e,u,r,!1),ST(t,u,e,r,i),s=Ia(a,c),i?t.classBindings=s:t.styleBindings=s}function ST(e,t,n,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof t==`string`&&Vr(i,t)>=0&&(n[r+1]=Od(n[r+1]))}function Ig(e,t,n,r){let o=e[n+1],i=t===null,s=r?mr(o):oo(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];CT(c,t)&&(a=!0,e[s+1]=r?Od(l):Rd(l)),s=r?mr(l):oo(l)}a&&(e[n+1]=r?Rd(o):Od(o))}function CT(e,t){return e===null||t==null||(Array.isArray(e)?e[1]:e)===t?!0:Array.isArray(e)&&typeof t==`string`?Vr(e,t)>=0:!1}var ht={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xT(e){return e.substring(ht.key,ht.keyEnd)}function TT(e){return NT(e),Ay(e,Ry(e,0,ht.textEnd))}function Ay(e,t){let n=ht.textEnd;return n===t?-1:(t=ht.keyEnd=MT(e,ht.key=t,n),Ry(e,t,n))}function NT(e){ht.key=0,ht.keyEnd=0,ht.value=0,ht.valueEnd=0,ht.textEnd=e.length}function Ry(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function MT(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}function uc(e,t,n){return Oy(e,t,n,!1),uc}function vt(e,t){return Oy(e,t,null,!0),vt}function Tf(e){RT(jT,AT,e,!0)}function AT(e,t){for(let n=TT(t);n>=0;n=Ay(t,n))ta(e,xT(t),!0)}function Oy(e,t,n,r){let o=_(),i=G(),s=Kr(2);if(i.firstUpdatePass&&Fy(i,e,s,r),t!==ge&&Fe(o,s,t)){let a=i.data[Ue()];Py(i,a,o,o[U],e,o[s+1]=VT(t,n),r,s)}}function RT(e,t,n,r){let o=G(),i=Kr(2);o.firstUpdatePass&&Fy(o,null,i,r);let s=_();if(n!==ge&&Fe(s,i,n)){let a=o.data[Ue()];if(Ly(a,r)&&!ky(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(n=Zs(c,n||``)),Ad(o,a,s,n,r)}else BT(o,a,s,s[U],s[i+1],s[i+1]=LT(e,t,n),r,i)}}function ky(e,t){return t>=e.expandoStartIndex}function Fy(e,t,n,r){let o=e.data;if(o[n+1]===null){let i=o[Ue()],s=ky(e,n);Ly(i,r)&&t===null&&!s&&(t=!1),t=OT(o,i,t,r),IT(o,i,t,n,s,r)}}function OT(e,t,n,r){let o=Cm(e),i=r?t.residualClasses:t.residualStyles;if(o===null)(r?t.classBindings:t.styleBindings)===0&&(n=Ku(null,e,t,n,r),n=Di(n,t.attrs,r),i=null);else{let s=t.directiveStylingLast;if(s===-1||e[s]!==o)if(n=Ku(o,e,t,n,r),i===null){let c=kT(e,t,r);c!==void 0&&Array.isArray(c)&&(c=Ku(null,e,t,c[1],r),c=Di(c,t.attrs,r),FT(e,t,r,c))}else i=PT(e,t,r)}return i!==void 0&&(r?t.residualClasses=i:t.residualStyles=i),n}function kT(e,t,n){let r=n?t.classBindings:t.styleBindings;if(oo(r)!==0)return e[mr(r)]}function FT(e,t,n,r){let o=n?t.classBindings:t.styleBindings;e[mr(o)]=r}function PT(e,t,n){let r,o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=Di(r,s,n)}return Di(r,t.attrs,n)}function Ku(e,t,n,r,o){let i=null,s=n.directiveEnd,a=n.directiveStylingLast;for(a===-1?a=n.directiveStart:a++;a<s&&(i=t[a],r=Di(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(n.directiveStylingLast=a),r}function Di(e,t,n){let r=n?1:2,o=-1;if(t!==null)for(let i=0;i<t.length;i++){let s=t[i];typeof s==`number`?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:[``,e]),ta(e,s,n?!0:t[++i]))}return e===void 0?null:e}function LT(e,t,n){if(n==null||n===``)return De;let r=[],o=Ke(n);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o==`object`)for(let i in o)Object.hasOwn(o,i)&&e(r,i,o[i]);else typeof o==`string`&&t(r,o);return r}function jT(e,t,n){let r=String(t);r!==``&&!r.includes(` `)&&ta(e,r,n)}function BT(e,t,n,r,o,i,s,a){o===ge&&(o=De);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,m=null,g;u===d?(c+=2,l+=2,p!==f&&(m=d,g=f)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,g=f),m!==null&&Py(e,t,n,r,m,g,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Py(e,t,n,r,o,i,s,a){if(!(t.type&3))return;let c=e.data,l=c[a+1];if(!Ga(wT(l)?Sg(c,t,n,o,oo(l),s):void 0)){Ga(i)||DT(l)&&(i=Sg(c,null,n,o,a,s));tC(r,s,_u(Ue(),n),o,i)}}function Sg(e,t,n,r,o,i){let s=t===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=n[o+1];p===ge&&(p=d?De:void 0);let f=d?na(p,r):u===r?p:void 0;if(l&&!Ga(f)&&(f=na(c,r)),Ga(f)&&(a=f,s))return a;let m=e[o+1];o=s?mr(m):oo(m)}if(t!==null){let c=i?t.residualClasses:t.residualStyles;c!=null&&(a=na(c,r))}return a}function Ga(e){return e!==void 0}function VT(e,t){return e==null||e===``||(typeof t==`string`?e=Ke(e)+t:typeof e==`object`&&(e=Xo(Ke(e)))),e}function Ly(e,t){return(e.flags&(t?8:16))!==0}function HT(e,t=``){let n=_(),r=G(),o=e+K,i=r.firstCreatePass?ao(r,o,1,t,null):r.data[o],s=UT(r,n,i,t);n[o]=s,ga()&&Qd(r,n,s,i),Zr(i,!1)}var UT=(e,t,n,r)=>(ci(!0),cS(t[U],r));function $T(e,t,n,r=``){return Fe(e,qt(),n)?t+Be(n)+r:ge}function zT(e,t,n,r,o,i=``){let a=bi(e,da(),n,o);return Kr(2),a?t+Be(n)+r+Be(o)+i:ge}function WT(e,t,n,r,o,i,s,a=``){let l=HC(e,da(),n,o,s);return Kr(3),l?t+Be(n)+r+Be(o)+i+Be(s)+a:ge}function GT(e,t,n,r,o,i,s,a,c,l=``){let d=UC(e,da(),n,o,s,c);return Kr(4),d?t+Be(n)+r+Be(o)+i+Be(s)+a+Be(c)+l:ge}function jy(e){return Nf(``,e),jy}function Nf(e,t,n){let r=_(),o=$T(r,e,t,n);return o!==ge&&dc(r,Ue(),o),Nf}function By(e,t,n,r,o){let i=_(),s=zT(i,e,t,n,r,o);return s!==ge&&dc(i,Ue(),s),By}function Vy(e,t,n,r,o,i,s){let a=_(),c=WT(a,e,t,n,r,o,i,s);return c!==ge&&dc(a,Ue(),c),Vy}function Hy(e,t,n,r,o,i,s,a,c){let l=_(),u=GT(l,e,t,n,r,o,i,s,a,c);return u!==ge&&dc(l,Ue(),u),Hy}function dc(e,t,n){let r=_u(t,e);lS(e[U],r,n)}function Uy(e,t,n){ba(t)&&(t=t());let r=_();if(Fe(r,qt(),t)){G();Iv(vn(),r,e,t,r[U],n)}return Uy}function qT(e,t){let n=ba(e);return n&&e.set(t),n}function $y(e,t){let n=_(),r=G(),o=ce();return xy(r,n,n[U],o,e,t),$y}function Cg(e,t,n){let r=G();r.firstCreatePass&&zy(t,r.data,r.blueprint,ft(e),n)}function zy(e,t,n,r,o){if(e=fe(e),Array.isArray(e))for(let i=0;i<e.length;i++)zy(e[i],t,n,r,o);else{let i=G(),s=_(),a=ce(),c=Zn(e)?e:fe(e.provide),l=mu(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(Zn(e)||!e.multi){let f=new fr(l,o,Qe,null),m=Qu(c,t,o?u:u+p,d);m===-1?(td(Oa(a,s),i,c),Xu(i,e,t.length),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(f),s.push(f)):(n[m]=f,s[m]=f)}else{let f=Qu(c,t,u+p,d),m=Qu(c,t,u,u+p),g=f>=0&&n[f],D=m>=0&&n[m];if(o&&!D||!o&&!g){td(Oa(a,s),i,c);let b=KT(o?ZT:YT,n.length,o,r,l,e);!o&&D&&(n[m].providerFactory=b),Xu(i,e,t.length,0),t.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),n.push(b),s.push(b)}else{let b=Wy(n[o?m:f],l,!o&&r);Xu(i,e,f>-1?f:m,b)}!o&&r&&D&&n[m].componentProviders++}}}function Xu(e,t,n,r){let o=Zn(t),i=sm(t);if(o||i){let c=(i?fe(t.useClass):t).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){let u=l.indexOf(n);u===-1?l.push(n,[r,c]):l[u+1].push(r,c)}else l.push(n,c)}}}function Wy(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Qu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function YT(e,t,n,r,o){return kd(this.multi,[])}function ZT(e,t,n,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=mi(r,r[E],this.providerFactory.index,o);s=c.slice(0,a),kd(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],kd(i,s);return s}function kd(e,t){for(let n=0;n<e.length;n++){let r=e[n];t.push(r())}return t}function KT(e,t,n,r,o,i){let s=new fr(e,n,Qe,null);return s.multi=[],s.index=t,s.componentProviders=0,Wy(s,o,r&&!n),s}function Ni(e,t){return n=>{n.providersResolver=(r,o)=>Cg(r,o?o(e):e,!1),t&&(n.viewProvidersResolver=(r,o)=>Cg(r,o?o(t):t,!0))}}function XT(e,t,n){return qy(_(),si(),e,t,n)}function QT(e,t,n,r){return Yy(_(),si(),e,t,n,r)}function Gy(e,t){let n=e[t];return n===ge?void 0:n}function qy(e,t,n,r,o,i){let s=t+n;return Fe(e,s,o)?qv(e,s+1,i?r.call(i,o):r(o)):Gy(e,s+1)}function Yy(e,t,n,r,o,i,s){let a=t+n;return bi(e,a,o,i)?qv(e,a+2,s?r.call(s,o,i):r(o,i)):Gy(e,a+2)}function JT(e,t){let n=G(),r,o=e+K;n.firstCreatePass?(r=eN(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];let i=r.factory||(r.factory=dn(r.type,!0)),a=Se(Qe);try{let c=Ra(!1),l=i();return Ra(c),Du(n,_(),o,l),l}finally{Se(a)}}function eN(e,t){if(t)for(let n=t.length-1;n>=0;n--){let r=t[n];if(e===r.name)return r}}function tN(e,t,n){let r=e+K,o=_(),i=sa(o,r);return Zy(o,r)?qy(o,si(),t,i.transform,n,i):i.transform(n)}function nN(e,t,n,r){let o=e+K,i=_(),s=sa(i,o);return Zy(i,o)?Yy(i,si(),t,s.transform,n,r,s):s.transform(n,r)}function Zy(e,t){return e[E].data[t].pure}function rN(e,t){return ic(e,t)}var Ky=(()=>{class e{applicationErrorHandler=h(yn);appRef=h(gt);taskService=h(ir);ngZone=h(O);zonelessEnabled=h(ui);tracing=h(kt,{optional:!0});zoneIsDefined=typeof Zone<`u`&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new L;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Zo):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h(Hu,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let n=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(n);return}this.switchToMicrotaskScheduler(),this.taskService.remove(n)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let n=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})})}notify(n){if(!this.zonelessEnabled&&n===5)return;switch(n){case 0:case 2:this.appRef.dirtyFlags|=2;break;case 3: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;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Pm:ju;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(Zo+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(n),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();function Xy(){return[{provide:St,useExisting:Ky},{provide:O,useClass:Ko},{provide:ui,useValue:!0}]}var oN=(()=>{class e{compileModuleSync(n){return new Ua(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();function iN(){return typeof $localize<`u`&&$localize.locale||Ti}var Mi=new v(``,{factory:()=>h(Mi,{optional:!0,skipSelf:!0})||iN()});function Mf(e,t){return ko(e,t?.equal)}function vr(e){return fh(e)}(class e extends Error{_brand;constructor(t){super(t)}static IDLE=new e(`IDLE`);static LOADING=new e(`LOADING`)});var ab=Symbol(`InputSignalNode#UNSET`);var vN=F$1(E$1({},Fo),{transformFn:void 0,applyValueToInputSignal(e,t){Mr(e,t)}});function cb(e,t){let n=Object.create(vN);n.value=e,n.transformFn=t?.transform;function r(){if(Vn(n),n.value===ab)throw new y(-950,null);return n.value}return r[de]=n,r}var Jy=class{attributeName;constructor(t){this.attributeName=t}__NG_ELEMENT_ID__=()=>Pd(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};var Y3=(()=>{let e=new v(``);return e.__NG_ELEMENT_ID__=t=>{let n=ce();if(n===null)throw new y(-204,!1);if(n.type&2)return n.value;if(t&8)return null;throw new y(-204,!1)},e})();function Z3(e){return yN(e)?e.default:e}function yN(e){return e&&typeof e==`object`&&`default`in e}function eb(e,t){return cb(e,t)}function bN(e){return cb(ab,e)}var lb=(eb.required=bN,eb);function tb(e,t){return mf(t)}function _N(e,t){return gf(t)}var K3=(tb.required=_N,tb);function nb(e,t){return mf(t)}function DN(e,t){return gf(t)}var X3=(nb.required=DN,nb);var Rf=class{supports(t){return lf(t)}create(t){return new Of(t)}};var wN=(e,t)=>t;var Of=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(t){this._trackByFn=t||wN}forEachItem(t){let n;for(n=this._itHead;n!==null;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){let s=!r||n&&n.currentIndex<rb(r,o,i)?n:r,a=rb(s,o,i),c=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,s.previousIndex==null)o++;else{i||(i=[]);let l=a-o,u=c-o;if(l!=u){for(let p=0;p<l;p++){let f=p<i.length?i[p]:i[p]=0,m=f+p;u<=m&&m<l&&(i[p]=f+1)}let d=s.previousIndex;i[d]=u-l}}a!==c&&t(s,a,c)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;n!==null;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;n!==null;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;n!==null;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;n!==null;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;n!==null;n=n._nextIdentityChange)t(n)}diff(t){if(t??=[],!lf(t))throw new y(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._itHead,r=!1,o,i,s;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,i,s,a),r=!0):(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)),n=n._next}else o=0,Wv(t,a=>{s=this._trackByFn(o,a),n===null||!Object.is(n.trackById,s)?(n=this._mismatch(n,a,s,o),r=!0):(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,o),t!==null?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new kf(n,r),i,o)),t}_verifyReinsertion(t,n,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;t!==null;){let n=t._next;this._addToRemovals(this._unlink(t)),t=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let o=t._prevRemoved,i=t._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){let o=n===null?this._itHead:n._next;return t._next=o,t._prev=n,o===null?this._itTail=t:o._prev=t,n===null?this._itHead=t:n._next=t,this._linkedRecords===null&&(this._linkedRecords=new pc),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let n=t._prev,r=t._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new pc),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}};var kf=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(t,n){this.item=t,this.trackById=n}};var Ff=class{_head=null;_tail=null;add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let n=t._prevDup,r=t._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}};var pc=class{map=new Map;put(t){let n=t.trackById,r=this.map.get(n);r||(r=new Ff,this.map.set(n,r)),r.add(t)}get(t,n){let r=t,o=this.map.get(r);return o?o.get(t,n):null}remove(t){let n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function rb(e,t,n){let r=e.previousIndex;if(r===null)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}function ob(){return new hc([new Rf])}var hc=(()=>{class e{factories;static ɵprov=P({token:e,providedIn:`root`,factory:ob});constructor(n){this.factories=n}static create(n,r){if(r!=null){let o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:()=>{let r=h(e,{optional:!0,skipSelf:!0});return e.create(n,r||ob())}}}find(n){let r=this.factories.find(o=>o.supports(n));if(r!=null)return r;throw new y(901,!1)}}return e})();var mc=(()=>{class e{static __NG_ELEMENT_ID__=IN}return e})();function IN(e){return SN(ce(),_(),(e&16)===16)}function SN(e,t,n){if(Mt(e)&&!n){let r=Ze(e.index,t);return new Dn(r,r)}else if(e.type&175){let r=t[Ce];return new Dn(r,t)}return null}var Pf=new v(``);var CN=new v(``);function Ai(e){return!e.moduleRef}function xN(e){let t=Ai(e)?e.r3Injector:e.moduleRef.injector,n=t.get(O);return n.run(()=>{Ai(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=t.get(yn),o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:r})}),Ai(e)){let i=()=>t.destroy(),s=e.platformInjector.get(Pf);s.add(i),t.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(Pf);s.add(i),e.moduleRef.onDestroy(()=>{hi(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return NN(r,n,()=>{let i=t.get(ir),s=i.add(),a=t.get(bf);return a.runInitializers(),a.donePromise.then(()=>{if(Iy(t.get(Mi,Ti)||Ti),!t.get(CN,!0))return Ai(e)?t.get(gt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Ai(e)){let u=t.get(gt);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return TN?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var TN;function NN(e,t,n){try{let r=n();return sc(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e(r)),r}}var fc=null;function MN(e=[],t){return V.create({name:t,providers:[{provide:ri,useValue:`platform`},{provide:Pf,useValue:new Set([()=>fc=null])},...e]})}function AN(e=[]){if(fc)return fc;let t=MN(e);return fc=t,vy(),RN(t),t}function RN(e){let t=e.get(va,null);zr(e,()=>{t?.forEach(n=>n())})}function ub(e){let{rootComponent:t,appProviders:n,platformProviders:r,platformRef:o}=e;$(j.BootstrapApplicationStart);try{let i=o?.injector??AN(r);return xN({r3Injector:new _i({providers:[Xy(),jm,...n||[]],parent:i,debugName:``,runEnvironmentInitializers:!1}).injector,platformInjector:i,rootComponent:t})}catch(i){return Promise.reject(i)}finally{$(j.BootstrapApplicationEnd)}}function le(e){return typeof e==`boolean`?e:e!=null&&e!==`false`}function jf(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}var Af=Symbol(`NOT_SET`);var db=new Set;var ON=F$1(E$1({},Fo),{kind:`afterRenderEffectPhase`,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:Af,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(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==Af&&!Tr(this))return this.signal;try{for(let o of this.cleanup??db)o()}finally{this.cleanup?.clear()}let t=[];e!==void 0&&t.push(e),t.push(this.registerCleanupFn);let n=on(this),r;try{r=this.userFn.apply(null,t)}finally{Hn(this,n)}return(this.value===Af||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}});var Lf=class extends gi{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(t,n,r,o,i,s=null){super(t,[void 0,void 0,void 0,void 0],r,!1,i.get(Oe),s),this.scheduler=o;for(let a of Yd){let c=n[a];if(c===void 0)continue;let l=Object.create(ON);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Vn(l),l.value),l.signal[de]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();super.destroy();for(let t of this.nodes)if(t)try{for(let n of t.cleanup??db)n()}finally{sn(t)}}};function J3(e,t){let n=t?.injector??h(V),r=n.get(St),o=n.get(Qa),i=n.get(kt,null,{optional:!0});o.impl??=n.get(Zd);let s=e;typeof s==`function`&&(s={mixedReadWrite:e});let a=n.get(Xr,null,{optional:!0}),c=new Lf(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,n,i?.snapshot(null));return o.impl.register(c),c}function gc(e,t){let n=Wt(e),r=t.elementInjector||$r();return new hr(n).create(r,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}function eG(e){let t=Wt(e);if(!t)return null;let n=new hr(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone},get isSignal(){return t.signals}}}var fb=null;function Jt(){return fb}function Bf(e){fb??=e}var Ri=class{};var xn=(()=>{class e{historyGo(n){throw new Error(``)}static ɵfac=function(r){return new(r||e)};static ɵprov=P({token:e,factory:()=>h(pb),providedIn:`platform`})}return e})();var kN=new v(``);var pb=(()=>{class e extends xn{_location;_history;_doc=h(R);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Jt().getBaseHref(this._doc)}onPopState(n){let r=Jt().getGlobalEventTarget(this._doc,`window`);return r.addEventListener(`popstate`,n,!1),()=>r.removeEventListener(`popstate`,n)}onHashChange(n){let r=Jt().getGlobalEventTarget(this._doc,`window`);return r.addEventListener(`hashchange`,n,!1),()=>r.removeEventListener(`hashchange`,n)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}static ɵfac=function(r){return new(r||e)};static ɵprov=P({token:e,factory:()=>new e,providedIn:`platform`})}return e})();function vc(e,t){return e?t?e.endsWith(`/`)?t.startsWith(`/`)?e+t.slice(1):e+t:t.startsWith(`/`)?e+t:`${e}/${t}`:e:t}function hb(e){let t=e.search(/#|\?|$/);return e[t-1]===`/`?e.slice(0,t-1)+e.slice(t):e}function yt(e){return e&&e[0]!==`?`?`?${e}`:e}var fo=(()=>{class e{historyGo(n){throw new Error(``)}static ɵfac=function(r){return new(r||e)};static ɵprov=P({token:e,factory:()=>h(gb),providedIn:`root`})}return e})();var yc=new v(``);var gb=(()=>{class e extends fo{_platformLocation;_baseHref;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??h(R).location?.origin??``}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return vc(this._baseHref,n)}path(n=!1){let r=this._platformLocation.pathname+yt(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+yt(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+yt(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static ɵfac=function(r){return new(r||e)(N(xn),N(yc,8))};static ɵprov=P({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var bc=(()=>{class e{_subject=new I;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(n){this._locationStrategy=n;let r=this._locationStrategy.getBaseHref();this._basePath=LN(hb(mb(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=``){return this.path()==this.normalize(n+yt(r))}normalize(n){return e.stripTrailingSlash(PN(this._basePath,mb(n)))}prepareExternalUrl(n){return n&&n[0]!==`/`&&(n=`/`+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r=``,o=null){this._locationStrategy.pushState(o,``,n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+yt(r)),o)}replaceState(n,r=``,o=null){this._locationStrategy.replaceState(o,``,n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+yt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n=``,r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=yt;static joinWithSlash=vc;static stripTrailingSlash=hb;static ɵfac=function(r){return new(r||e)(N(fo))};static ɵprov=P({token:e,factory:()=>FN(),providedIn:`root`})}return e})();function FN(){return new bc(N(fo))}function PN(e,t){if(!e||!t.startsWith(e))return t;let n=t.substring(e.length);return n===``||[`/`,`;`,`?`,`#`].includes(n[0])?n:t}function mb(e){return e.replace(/\/index\.html$/,``)}function LN(e){if(new RegExp(`^(https?:)?//`).test(e)){let[,n]=e.split(/\/\/[^\/]+/);return n}return e}var jN=(()=>{class e extends fo{_platformLocation;_baseHref=``;_removeListenerFns=[];constructor(n,r){super(),this._platformLocation=n,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash??`#`;return r.length>0?r.substring(1):r}prepareExternalUrl(n){let r=vc(this._baseHref,n);return r.length>0?`#`+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+yt(i))||this._platformLocation.pathname;this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+yt(i))||this._platformLocation.pathname;this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}static ɵfac=function(r){return new(r||e)(N(xn),N(yc,8))};static ɵprov=P({token:e,factory:e.ɵfac})}return e})();var $f=(function(e){return e[e.Decimal=0]=`Decimal`,e[e.Percent=1]=`Percent`,e[e.Currency=2]=`Currency`,e[e.Scientific=3]=`Scientific`,e})($f||{});var bt={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function po(e,t){let n=cc(e),r=n[uo.NumberSymbols][t];if(typeof r>`u`){if(t===bt.CurrencyDecimal)return n[uo.NumberSymbols][bt.Decimal];if(t===bt.CurrencyGroup)return n[uo.NumberSymbols][bt.Group]}return r}function _b(e,t){return cc(e)[uo.NumberFormats][t]}var BN=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var vb=22;var _c=`.`;var Oi=`0`;var VN=`;`;var HN=`,`;var Vf=`#`;function UN(e,t,n,r,o,i,s=!1){let a=``,c=!1;if(!isFinite(e))a=po(n,Number.isNaN(e)?bt.NaN:bt.Infinity);else{let l=WN(e);s&&(l=zN(l));let u=t.minInt,d=t.minFrac,p=t.maxFrac;if(i){let B=i.match(BN);if(B===null)throw new y(2306,!1);let be=B[1],st=B[3],we=B[5];be!=null&&(u=Hf(be)),st!=null&&(d=Hf(st)),we!=null?p=Hf(we):st!=null&&d>p&&(p=d);let z=100;if(u>z||d>z||p>z)throw new y(2306,!1)}GN(l,d,p);let f=l.digits,m=l.integerLen,g=l.exponent,D=[];for(c=f.every(B=>!B);m<u;m++)f.unshift(0);for(;m<0;m++)f.unshift(0);m>0?D=f.splice(m,f.length):(D=f,f=[0]);let b=[];for(f.length>=t.lgSize&&b.unshift(f.splice(-t.lgSize,f.length).join(``));f.length>t.gSize;)b.unshift(f.splice(-t.gSize,f.length).join(``));f.length&&b.unshift(f.join(``)),a=b.join(po(n,r)),D.length&&(a+=po(n,o)+D.join(``)),g&&(a+=po(n,bt.Exponential)+`+`+g)}return e<0&&!c?a=t.negPre+a+t.negSuf:a=t.posPre+a+t.posSuf,a}function Db(e,t,n){return UN(e,$N(_b(t,$f.Decimal),po(t,bt.MinusSign)),t,bt.Group,bt.Decimal,n)}function $N(e,t=`-`){let n={minInt:1,minFrac:0,maxFrac:0,posPre:``,posSuf:``,negPre:``,negSuf:``,gSize:0,lgSize:0},r=e.split(VN),o=r[0],i=r[1],s=o.indexOf(_c)!==-1?o.split(_c):[o.substring(0,o.lastIndexOf(Oi)+1),o.substring(o.lastIndexOf(Oi)+1)],a=s[0],c=s[1]||``;n.posPre=a.substring(0,a.indexOf(Vf));for(let u=0;u<c.length;u++){let d=c.charAt(u);d===Oi?n.minFrac=n.maxFrac=u+1:d===Vf?n.maxFrac=u+1:n.posSuf+=d}let l=a.split(HN);if(n.gSize=l[1]?l[1].length:0,n.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,i){let u=o.length-n.posPre.length-n.posSuf.length,d=i.indexOf(Vf);n.negPre=i.substring(0,d).replace(/'/g,``),n.negSuf=i.slice(d+u).replace(/'/g,``)}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function zN(e){if(e.digits[0]===0)return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(t===0?e.digits.push(0,0):t===1&&e.digits.push(0),e.integerLen+=2),e}function WN(e){let t=Math.abs(e)+``,n=0,r,o,i,s,a;for((o=t.indexOf(_c))>-1&&(t=t.replace(_c,``)),(i=t.search(/e/i))>0?(o<0&&(o=i),o+=+t.slice(i+1),t=t.substring(0,i)):o<0&&(o=t.length),i=0;t.charAt(i)===Oi;i++);if(i===(a=t.length))r=[0],o=1;else{for(a--;t.charAt(a)===Oi;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(t.charAt(i))}return o>vb&&(r=r.splice(0,vb-1),n=o-1,o=1),{digits:r,exponent:n,integerLen:o}}function GN(e,t,n){if(t>n)throw new y(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(t,o),n),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,l=t+e.integerLen,u=r.reduceRight(function(d,p,f,m){return p=p+d,m[f]=p<10?p:p-10,c&&(m[f]===0&&f>=l?m.pop():c=!1),p>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}function Hf(e){let t=parseInt(e);if(isNaN(t))throw new y(2305,!1);return t}var Uf=/\s+/;var yb=[];var qN=(()=>{class e{_ngEl;_renderer;initialClasses=yb;rawClass;stateMap=new Map;constructor(n,r){this._ngEl=n,this._renderer=r}set klass(n){this.initialClasses=n!=null?n.trim().split(Uf):yb}set ngClass(n){this.rawClass=typeof n==`string`?n.trim().split(Uf):n}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let r of n)this._updateState(r,!0);else if(n!=null)for(let r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){let o=this.stateMap.get(n);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){n=n.trim(),n.length>0&&n.split(Uf).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static ɵfac=function(r){return new(r||e)(Qe(q),Qe(Xe))};static ɵdir=Z({type:e,selectors:[[``,`ngClass`,``]],inputs:{klass:[0,`class`,`klass`],ngClass:`ngClass`}})}return e})();var YN=(()=>{class e{_viewContainer;_context=new Dc;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(n,r){this._viewContainer=n,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){bb(n,!1),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){bb(n,!1),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(n,r){return!0}static ɵfac=function(r){return new(r||e)(Qe(Pe),Qe($e))};static ɵdir=Z({type:e,selectors:[[``,`ngIf`,``]],inputs:{ngIf:`ngIf`,ngIfThen:`ngIfThen`,ngIfElse:`ngIfElse`}})}return e})();var Dc=class{$implicit=null;ngIf=null};function bb(e,t){if(e&&!e.createEmbeddedView)throw new y(2020,!1)}var ZN=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=h(V);constructor(n){this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector===`outlet`?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static ɵfac=function(r){return new(r||e)(Qe(Pe))};static ɵdir=Z({type:e,selectors:[[``,`ngTemplateOutlet`,``]],inputs:{ngTemplateOutletContext:`ngTemplateOutletContext`,ngTemplateOutlet:`ngTemplateOutlet`,ngTemplateOutletInjector:`ngTemplateOutletInjector`},features:[En]})}return e})();function KN(e,t){return new y(2100,!1)}var XN=(()=>{class e{transform(n){return JSON.stringify(n,null,2)}static ɵfac=function(r){return new(r||e)};static ɵpipe=ac({name:`json`,type:e,pure:!1})}return e})();var QN=(()=>{class e{_locale;constructor(n){this._locale=n}transform(n,r,o){if(!JN(n))return null;o||=this._locale;try{return Db(eM(n),o,r)}catch(i){throw KN(e,i.message)}}static ɵfac=function(r){return new(r||e)(Qe(Mi,16))};static ɵpipe=ac({name:`number`,type:e,pure:!0})}return e})();function JN(e){return!(e==null||e===``||e!==e)}function eM(e){if(typeof e==`string`&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!=`number`)throw new y(2309,!1);return e}var Eb=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=oe({type:e});static ɵinj=te({})}return e})();function ki(e,t){t=encodeURIComponent(t);for(let n of e.split(`;`)){let r=n.indexOf(`=`),[o,i]=r==-1?[n,``]:[n.slice(0,r),n.slice(r+1)];if(o.trim()!==t)continue;let s=i;try{s=decodeURIComponent(i)}catch(a){}return s.length>1&&s[0]===`"`&&s[s.length-1]===`"`&&(s=s.slice(1,-1)),s}return null}var Wf=`browser`;function wb(e){return e===Wf}var L4=(()=>{class e{static ɵprov=P({token:e,providedIn:`root`,factory:()=>new zf(h(R),window)})}return e})();var zf=class{document;window;offset=()=>[0,0];constructor(t,n){this.document=t,this.window=n}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=t}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(t,n){this.window.scrollTo(F$1(E$1({},n),{left:t[0],top:t[1]}))}scrollToAnchor(t,n){let r=rM(this.document,t);r&&(this.scrollToElement(r,n),r.focus({preventScroll:!0}))}setHistoryScrollRestoration(t){try{this.window.history.scrollRestoration=t}catch(n){console.warn(fn(2400,!1))}}scrollToElement(t,n){let r=t.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(F$1(E$1({},n),{left:o-s[0],top:i-s[1]}))}};function rM(e,t){let n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if(typeof e.createTreeWalker==`function`&&e.body&&typeof e.body.attachShadow==`function`){let r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(t)||i.querySelector(`[name="${CSS.escape(t)}"]`);if(s)return s}o=r.nextNode()}}return null}var Fi=class{_doc;constructor(t){this._doc=t}manager};var Ec=(()=>{class e extends Fi{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o,i){return n.addEventListener(r,o,i),()=>this.removeEventListener(n,r,o,i)}removeEventListener(n,r,o,i){return n.removeEventListener(r,o,i)}static ɵfac=function(r){return new(r||e)(N(R))};static ɵprov=P({token:e,factory:e.ɵfac})}return e})();var Sc=new v(``);var Zf=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(n,r){this._zone=r,n.forEach(s=>{s.manager=this});let o=n.filter(s=>!(s instanceof Ec));this._plugins=o.slice().reverse();let i=n.find(s=>s instanceof Ec);i&&this._plugins.push(i)}addEventListener(n,r,o,i){return this._findPluginFor(r).addEventListener(n,r,o,i)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new y(-5101,!1);return this._eventNameToPlugin.set(n,r),r}static ɵfac=function(r){return new(r||e)(N(Sc),N(O))};static ɵprov=P({token:e,factory:e.ɵfac})}return e})();var Gf=`ng-app-id`;function Ib(e){for(let t of e)t.remove()}function Sb(e,t){let n=t.createElement(`style`);return n.textContent=e,n}function oM(e,t,n,r){let o=e.head?.querySelectorAll(`style[${Gf}="${t}"],link[${Gf}="${t}"]`);if(!o||o.length===0)return!1;for(let i of o)i.removeAttribute(Gf),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf(`/`)+1),{usage:0,elements:[i]}):i.textContent&&n.set(i.textContent,{usage:0,elements:[i]});return!0}function Yf(e,t){let n=t.createElement(`link`);return n.setAttribute(`rel`,`stylesheet`),n.setAttribute(`href`,e),n}var Kf=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,oM(n,r,this.inline,this.external)&&this.hosts.add(n.head)}addStyles(n,r){for(let o of n)this.addUsage(o,this.inline,Sb);r?.forEach(o=>this.addUsage(o,this.external,Yf))}removeStyles(n,r){for(let o of n)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(n,r,o){let i=r.get(n);i?i.usage++:r.set(n,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(n,this.doc)))})}removeUsage(n,r){let o=r.get(n);o&&(o.usage--,o.usage<=0&&(Ib(o.elements),r.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])Ib(n);this.hosts.clear()}addHost(n){if(!this.hosts.has(n)){this.hosts.add(n);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(n,Sb(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(n,Yf(r,this.doc)))}}removeHost(n){this.hosts.delete(n);for(let r of[...this.inline.values(),...this.external.values()]){let o=[];for(let i of r.elements)i.parentNode===n?i.remove():o.push(i);r.elements=o}}addElement(n,r){return this.nonce&&r.setAttribute(`nonce`,this.nonce),n.appendChild(r)}static ɵfac=function(r){return new(r||e)(N(R),N(Yt),N(ar,8),N(sr))};static ɵprov=P({token:e,factory:e.ɵfac})}return e})();var qf={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`};var Xf=/%COMP%/g;var xb=`%COMP%`;var iM=`_nghost-${xb}`;var sM=`_ngcontent-${xb}`;var aM=!0;var cM=new v(``,{factory:()=>aM});var lM=new v(``);function uM(e){return sM.replace(Xf,e)}function dM(e){return iM.replace(Xf,e)}function Tb(e,t){return t.map(n=>n.replace(Xf,e))}var Qf=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;cssVarNamespace;constructor(n,r,o,i,s,a,c=null,l=null,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.cssVarNamespace=u??``,this.defaultRenderer=new Pi(n,s,a,this.tracingService,this.cssVarNamespace)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(n,r);return o instanceof Ic?o.applyToHost(n):o instanceof Li&&o.applyStyles(),o}getOrCreateRenderer(n,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case mt.Emulated:i=new Ic(c,l,r,this.appId,u,s,a,d,this.cssVarNamespace);break;case mt.ShadowDom:return new wc(c,n,r,s,a,this.nonce,d,this.cssVarNamespace,l);case mt.ExperimentalIsolatedShadowDom:return new wc(c,n,r,s,a,this.nonce,d,this.cssVarNamespace);default:i=new Li(c,l,r,u,s,a,d,this.cssVarNamespace);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){this.rendererByCompId.delete(n)}static ɵfac=function(r){return new(r||e)(N(Zf),N(gr),N(Yt),N(cM),N(R),N(O),N(ar),N(kt,8),N(lM,8))};static ɵprov=P({token:e,factory:e.ɵfac})}return e})();var Pi=class{eventManager;doc;ngZone;tracingService;cssVarNamespace;data=Object.create(null);throwOnSyntheticProps=!0;constructor(t,n,r,o,i=``){this.eventManager=t,this.doc=n,this.ngZone=r,this.tracingService=o,this.cssVarNamespace=i}destroy(){}destroyNode=null;createElement(t,n){return n?this.doc.createElementNS(qf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Cb(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){if(t){let o=Cb(t)?t.content:t;if(r!=null&&r.parentNode!==o)throw new y(-5106,!1);o.insertBefore(n,r)}}removeChild(t,n){n.remove()}selectRootElement(t,n){let r=typeof t==`string`?this.doc.querySelector(t):t;if(!r)throw new y(-5104,!1);return n||(r.textContent=``),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+`:`+n;let i=qf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){let o=qf[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){let i=n.startsWith(`--`);i&&(n=n.replace(`%NS%`,this.cssVarNamespace)),i||o&(Rt.DashCase|Rt.Important)?t.style.setProperty(n,r,o&Rt.Important?`important`:``):t.style[n]=r}removeStyle(t,n,r){let o=n.startsWith(`--`);o&&(n=n.replace(`%NS%`,this.cssVarNamespace)),o||r&Rt.DashCase?t.style.removeProperty(n):t.style[n]=``}setProperty(t,n,r){t!=null&&(t[n]=r)}setValue(t,n){t.nodeValue=n}listen(t,n,r,o){if(typeof t==`string`&&(t=Jt().getGlobalEventTarget(this.doc,t),!t))throw new y(-5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(t,n,i)),this.eventManager.addEventListener(t,n,i,o)}decoratePreventDefault(t){return n=>{if(n===`__ngUnwrap__`)return t;t(n)===!1&&n.preventDefault()}}};function Cb(e){return e.tagName===`TEMPLATE`&&e.content!==void 0}var wc=class extends Pi{hostEl;sharedStylesHost;shadowRoot;constructor(t,n,r,o,i,s,a,c,l){super(t,o,i,a,c),this.hostEl=n,this.sharedStylesHost=l,this.shadowRoot=n.attachShadow({mode:`open`}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let u=r.styles;u=Tb(r.id,u).map(p=>p.replace(/%NS%/g,c));for(let p of u){let f=document.createElement(`style`);s&&f.setAttribute(`nonce`,s),f.textContent=p,this.shadowRoot.appendChild(f)}let d=r.getExternalStyles?.();if(d)for(let p of d){let f=Yf(p,o);s&&f.setAttribute(`nonce`,s),this.shadowRoot.appendChild(f)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(null,n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}};var Li=class extends Pi{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(t,n,r,o,i,s,a,c,l){super(t,i,s,a,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o;let u=r.styles,d=l?Tb(l,u):u;this.styles=d.map(p=>p.replace(/%NS%/g,c)),this.styleUrls=r.getExternalStyles?.(l)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&_n.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}};var Ic=class extends Li{contentAttr;hostAttr;constructor(t,n,r,o,i,s,a,c,l){let u=o+`-`+r.id;super(t,n,r,i,s,a,c,l,u),this.contentAttr=uM(u),this.hostAttr=dM(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,``)}createElement(t,n){let r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,``),r}};var Cc=class e extends Ri{supportsDOMEvents=!0;static makeCurrent(){Bf(new e)}onAndCancel(t,n,r,o){return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.remove()}createElement(t,n){return n=n||this.getDefaultDocument(),n.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument(`fakeTitle`)}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return n===`window`?window:n===`document`?t:n===`body`?t.body:null}getBaseHref(t){let n=fM();return n==null?null:pM(n)}resetBaseElement(){ji=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ki(document.cookie,t)}};var ji=null;function fM(){return ji=ji||document.head.querySelector(`base`),ji?ji.getAttribute(`href`):null}function pM(e){return new URL(e,document.baseURI).pathname}var Nb=[`alt`,`control`,`meta`,`shift`];var hM={"\b":`Backspace`,"	":`Tab`,"":`Delete`,"\x1B":`Escape`,Del:`Delete`,Esc:`Escape`,Left:`ArrowLeft`,Right:`ArrowRight`,Up:`ArrowUp`,Down:`ArrowDown`,Menu:`ContextMenu`,Scroll:`ScrollLock`,Win:`OS`};var mM={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};var Mb=(()=>{class e extends Fi{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Jt().onAndCancel(n,s.domEventName,a,i))}static parseEventName(n){let r=n.toLowerCase().split(`.`),o=r.shift();if(r.length===0||!(o===`keydown`||o===`keyup`))return null;let i=e._normalizeKey(r.pop()),s=``,a=r.indexOf(`code`);if(a>-1&&(r.splice(a,1),s=`code.`),Nb.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+`.`)}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(n,r){let o=hM[n.key]||n.key,i=``;return r.indexOf(`code.`)>-1&&(o=n.code,i=`code.`),o==null||!o?!1:(o=o.toLowerCase(),o===` `?o=`space`:o===`.`&&(o=`dot`),Nb.forEach(s=>{if(s!==o){let a=mM[s];a(n)&&(i+=s+`.`)}}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return n===`esc`?`escape`:n}static ɵfac=function(r){return new(r||e)(N(R))};static ɵprov=P({token:e,factory:e.ɵfac})}return e})();function gM(e,t,n){return L$1(this,null,function*(){return ub(E$1({rootComponent:e},vM(t,n)))})}function vM(e,t){return{platformRef:t?.platformRef,appProviders:[...EM,...e?.providers??[]],platformProviders:DM}}function yM(){Cc.makeCurrent()}function bM(){return new It}function _M(){return jd(document),document}var DM=[{provide:sr,useValue:Wf},{provide:va,useValue:yM,multi:!0},{provide:R,useFactory:_M}];var EM=[{provide:ri,useValue:`root`},{provide:It,useFactory:bM},{provide:Sc,useClass:Ec,multi:!0},{provide:Sc,useClass:Mb,multi:!0},Qf,{provide:gr,useClass:Kf},{provide:Kf,useExisting:gr},Zf,{provide:me,useExisting:Qf},[]];var tn=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(t){t?typeof t==`string`?this.lazyInit=()=>{this.headers=new Map,t.split(`
`).forEach(n=>{let r=n.indexOf(`:`);if(r>0){let o=n.slice(0,r),i=n.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<`u`&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.addHeaderEntry(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:`a`})}set(t,n){return this.clone({name:t,value:n,op:`s`})}delete(t,n){return this.clone({name:t,value:n,op:`d`})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init();for(let[n,r]of t.headers.entries())this.headers.set(n,r),this.normalizedNames.set(n,t.normalizedNames.get(n))}clone(t){let n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){let n=t.name.toLowerCase();switch(t.op){case`a`:case`s`:let r=t.value;if(typeof r==`string`&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(t.name,n);let o=t.op===`a`?(this.headers.get(n)||[]).slice():[];o.push(...r),this.headers.set(n,o);break;case`d`:let i=t.value;if(i===void 0)this.headers.delete(n),this.normalizedNames.delete(n);else{let s=Array.isArray(i)?i:[i],a=this.headers.get(n);if(!a)return;a=a.filter(c=>s.indexOf(c)===-1),a.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,a)}break}}addHeaderEntry(t,n){let r=t.toLowerCase();this.maybeSetNormalizedName(t,r),this.headers.has(r)?this.headers.get(r).push(n):this.headers.set(r,[n])}setHeaderEntries(t,n){let r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}};var tp=class{map=new Map;set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};var np=class{encodeKey(t){return Ab(t)}encodeValue(t){return Ab(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function wM(e,t){let n=new Map;return e.length>0&&e.replace(/^\?/,``).split(`&`).forEach(o=>{let i=o.indexOf(`=`),[s,a]=i==-1?[t.decodeKey(o),``]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],c=n.get(s)||[];c.push(a),n.set(s,c)}),n}var IM=/%(\d[a-f0-9])/gi;var SM={40:`@`,"3A":`:`,24:`$`,"2C":`,`,"3B":`;`,"3D":`=`,"3F":`?`,"2F":`/`};function Ab(e){return encodeURIComponent(e).replace(IM,(t,n)=>SM[n]??t)}function xc(e){return`${e}`}var en=class e{map;encoder;updates=null;cloneFrom=null;constructor(t={}){if(this.encoder=t.encoder||new np,t.fromString){if(t.fromObject)throw new y(2805,!1);this.map=wM(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{let r=t.fromObject[n],o=Array.isArray(r)?r.map(xc):[xc(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:`a`})}appendAll(t){let n=[];return Object.keys(t).forEach(r=>{let o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:`a`})}):n.push({param:r,value:o,op:`a`})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:`s`})}delete(t,n){return this.clone({param:t,value:n,op:`d`})}toString(){return this.init(),this.keys().map(t=>{let n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+`=`+this.encoder.encodeValue(r)).join(`&`)}).filter(t=>t!==``).join(`&`)}clone(t){let n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[t,n]of this.cloneFrom.map.entries())this.map.set(t,n);this.updates.forEach(t=>{switch(t.op){case`a`:case`s`:let n=t.op===`a`?(this.map.get(t.param)||[]).slice():[];n.push(xc(t.value)),this.map.set(t.param,n);break;case`d`:if(t.value!==void 0){let r=(this.map.get(t.param)||[]).slice(),o=r.indexOf(xc(t.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null}}};function CM(e){switch(e){case`DELETE`:case`GET`:case`HEAD`:case`OPTIONS`:case`JSONP`:return!1;default:return!0}}function Rb(e){return typeof ArrayBuffer<`u`&&e instanceof ArrayBuffer}function Ob(e){return typeof Blob<`u`&&e instanceof Blob}function kb(e){return typeof FormData<`u`&&e instanceof FormData}function xM(e){return typeof URLSearchParams<`u`&&e instanceof URLSearchParams}var Jf=`Content-Type`;var Fb=`Accept`;var jb=`text/plain`;var Bb=`application/json`;var TM=`${Bb}, ${jb}, */*`;var ho=class e{url;body=null;headers;context;reportProgress=!1;reportUploadProgress=!1;reportDownloadProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType=`json`;method;params;urlWithParams;transferCache;timeout;constructor(t,n,r,o){this.url=n,this.method=t.toUpperCase();let i;if(CM(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,this.reportUploadProgress=!!i.reportUploadProgress,this.reportDownloadProgress=!!i.reportDownloadProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),typeof i.timeout==`number`){if(i.timeout<1||!Number.isInteger(i.timeout))throw new y(2822,``);this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer!==void 0&&(this.referrer=i.referrer),i.referrerPolicy&&(this.referrerPolicy=i.referrerPolicy),this.transferCache=i.transferCache}if(this.headers??=new tn,this.context??=new tp,!this.params)this.params=new en,this.urlWithParams=n;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=n;else{let a=n,c=``,l=n.indexOf(`#`);l!==-1&&(c=n.substring(l),a=n.substring(0,l));let u=a.indexOf(`?`),d=u===-1?`?`:u<a.length-1?`&`:``;this.urlWithParams=a+d+s+c}}}serializeBody(){return this.body===null?null:typeof this.body==`string`||Rb(this.body)||Ob(this.body)||kb(this.body)||xM(this.body)?this.body:this.body instanceof en?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||kb(this.body)?null:Ob(this.body)?this.body.type||null:Rb(this.body)?null:typeof this.body==`string`?jb:this.body instanceof en?`application/x-www-form-urlencoded;charset=UTF-8`:typeof this.body==`object`||typeof this.body==`number`||typeof this.body==`boolean`?Bb:null}clone(t={}){let n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=t.keepalive??this.keepalive,s=t.priority||this.priority,a=t.cache||this.cache,c=t.mode||this.mode,l=t.redirect||this.redirect,u=t.credentials||this.credentials,d=t.referrer??this.referrer,p=t.integrity||this.integrity,f=t.referrerPolicy||this.referrerPolicy,m=t.transferCache??this.transferCache,g=t.timeout??this.timeout,D=t.body!==void 0?t.body:this.body,b=t.withCredentials??this.withCredentials,B=t.reportProgress??this.reportProgress,be=t.reportUploadProgress??this.reportUploadProgress,st=t.reportDownloadProgress??this.reportDownloadProgress,we=t.headers||this.headers,z=t.params||this.params,Me=t.context??this.context;return t.setHeaders!==void 0&&(we=Object.keys(t.setHeaders).reduce((We,at)=>We.set(at,t.setHeaders[at]),we)),t.setParams&&(z=Object.keys(t.setParams).reduce((We,at)=>We.set(at,t.setParams[at]),z)),new e(n,r,D,{params:z,headers:we,context:Me,reportProgress:B,reportUploadProgress:be,reportDownloadProgress:st,responseType:o,withCredentials:b,transferCache:m,keepalive:i,cache:a,priority:s,timeout:g,mode:c,redirect:l,credentials:u,referrer:d,integrity:p,referrerPolicy:f})}};var br=(function(e){return e[e.Sent=0]=`Sent`,e[e.UploadProgress=1]=`UploadProgress`,e[e.ResponseHeader=2]=`ResponseHeader`,e[e.DownloadProgress=3]=`DownloadProgress`,e[e.Response=4]=`Response`,e[e.User=5]=`User`,e})(br||{});var Bi=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(t,n=200,r=`OK`){this.headers=t.headers||new tn,this.status=t.status!==void 0?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.redirected=t.redirected,this.responseType=t.responseType,this.ok=this.status>=200&&this.status<300}};var rp=class e extends Bi{constructor(t={}){super(t)}type=br.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}};var Vi=class e extends Bi{body;constructor(t={}){super(t),this.body=t.body!==void 0?t.body:null}type=br.Response;clone(t={}){return new e({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected,responseType:t.responseType??this.responseType})}};var yr=class extends Bi{name=`HttpErrorResponse`;message;error;ok=!1;constructor(t){super(t,0,`Unknown Error`),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${t.url||`(unknown url)`}`:this.message=`Http failure response for ${t.url||`(unknown url)`}: ${t.status} ${t.statusText}`,this.error=t.error||null}};var NM=200;var MM=/^\)\]\}',?\n/;var AM=new v(``,{factory:()=>null});var RM=(()=>{class e{fetchImpl=h(op,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n));ngZone=h(O);destroyRef=h(Oe);maxResponseSize=h(AM);handle(n){return new T(r=>{let o=new AbortController,i=!1,s={next:c=>{c.type===br.Response&&(i=!0),r.next(c)},error:c=>{i=!0,r.error(c)},complete:()=>{i=!0,r.complete()}};this.doRequest(n,o.signal,s).then(ip,c=>s.error(new yr({error:c})));let a;return n.timeout&&(a=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{o.signal.aborted||o.abort(new DOMException(`signal timed out`,`TimeoutError`))},n.timeout))),()=>{a!==void 0&&clearTimeout(a),!i&&!o.signal.aborted&&o.abort()}})}doRequest(n,r,o){return L$1(this,null,function*(){let i=this.createRequestInit(n),s;try{let D=this.ngZone.runOutsideAngular(()=>this.fetchImpl(n.urlWithParams,E$1({signal:r},i)));OM(D),o.next({type:br.Sent}),s=yield D}catch(D){o.error(new yr({error:D,status:D.status??0,statusText:D.statusText,url:n.urlWithParams,headers:D.headers}));return}let a=new tn(s.headers),c=s.statusText,l=s.url||n.urlWithParams,u=s.status,d=null,p=n.reportProgress||n.reportDownloadProgress;if(p&&o.next(new rp({headers:a,status:u,statusText:c,url:l})),s.body){let D=s.headers.get(Jf)??``,b=s.headers.get(`content-length`),B=b!==null?Number(b):NaN;this.maxResponseSize!==null&&Number.isFinite(B)&&B>this.maxResponseSize&&(yield s.body.cancel(),Pb(this.maxResponseSize));let be=[],st=s.body.getReader(),we=0,z,Me,We=typeof Zone<`u`&&Zone.current,at=!1;if(yield this.ngZone.runOutsideAngular(()=>L$1(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield st.cancel(),at=!0;break}let{done:dl,value:fl}=yield st.read();if(dl)break;if(be.push(fl),we+=fl.length,this.maxResponseSize!==null&&we>this.maxResponseSize&&(yield st.cancel(),Pb(this.maxResponseSize)),p){Me=n.responseType===`text`?(Me??``)+(z??=Lb(D)).decode(fl,{stream:!0}):void 0;let Kp=()=>o.next({type:br.DownloadProgress,total:Number.isFinite(B)?B:void 0,loaded:we,partialText:Me});We?We.run(Kp):Kp()}}})),at){o.complete();return}let xE=this.concatChunks(be,we);try{d=this.parseBody(n,xE,D,u)}catch(dl){o.error(new yr({error:dl,headers:new tn(s.headers),status:s.status,statusText:s.statusText,url:s.url||n.urlWithParams}));return}}u===0&&(u=d?NM:0);let f=u>=200&&u<300,m=s.redirected,g=s.type;f?(o.next(new Vi({body:d,headers:a,status:u,statusText:c,url:l,redirected:m,responseType:g})),o.complete()):o.error(new yr({error:d,headers:a,status:u,statusText:c,url:l,redirected:m,responseType:g}))})}parseBody(n,r,o,i){switch(n.responseType){case`json`:let s=new TextDecoder().decode(r).replace(MM,``);if(s===``)return null;try{return JSON.parse(s)}catch(a){if(i<200||i>=300)return s;throw a}case`text`:return Lb(o).decode(r);case`blob`:return new Blob([r],{type:o});case`arraybuffer`:return r.buffer}}createRequestInit(n){if(n.reportUploadProgress)throw new y(2824,!1);let r={},o;if(o=n.credentials,n.withCredentials&&(o=`include`),n.headers.forEach((i,s)=>r[i]=s.join(`,`)),n.headers.has(Fb)||(r[Fb]=TM),!n.headers.has(Jf)){let i=n.detectContentTypeHeader();i!==null&&(r[Jf]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o,keepalive:n.keepalive,cache:n.cache,priority:n.priority,mode:n.mode,redirect:n.redirect,referrer:n.referrer,integrity:n.integrity,referrerPolicy:n.referrerPolicy}}concatChunks(n,r){let o=new Uint8Array(r),i=0;for(let s of n)o.set(s,i),i+=s.length;return o}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var op=class{};function ip(){}function OM(e){e.then(ip,ip)}function Pb(e){throw new y(-2825,!1)}var kM=/charset=\s*["']?([^;"'\s]+)["']?/i;function Lb(e){let t=e.match(kM);if(t!==null)try{return new TextDecoder(t[1])}catch(n){}return new TextDecoder}var FM=new v(``,{factory:()=>!0});var PM=`XSRF-TOKEN`;var LM=new v(``,{factory:()=>PM});var jM=`X-XSRF-TOKEN`;var BM=new v(``,{factory:()=>jM});var VM=(()=>{class e{cookieName=h(LM);doc=h(R);lastCookieString=``;lastToken=null;parseCount=0;getToken(){let n=this.doc.cookie||``;return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=ki(n,this.cookieName),this.lastCookieString=n),this.lastToken}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var HM=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=P({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=N(VM),o},providedIn:`root`})}return e})();function UM(e,t){if(!h(FM)||e.method===`GET`||e.method===`HEAD`)return t(e);try{let o=h(xn).href,{origin:i}=new URL(o),{origin:s}=new URL(e.url,i);if(i!==s)return t(e)}catch(o){return t(e)}let n=h(HM).getToken(),r=h(BM);return n!=null&&!e.headers.has(r)&&(e=e.clone({headers:e.headers.set(r,n)})),t(e)}function $M(e,t){return t(e)}function zM(e,t,n){return(r,o)=>zr(n,()=>t(r,i=>e(i,o)))}var WM=new v(``,{factory:()=>[UM]});var Vb=new v(``);var GM=new v(``,{factory:()=>!0});var qM=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=P({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=N(RM),o},providedIn:`root`})}return e})();var YM=(()=>{class e{backend;injector;chain=null;pendingTasks=h(_a);contributeToStability=h(GM);constructor(n,r){this.backend=n,this.injector=r}handle(n){if(this.chain===null){let o=this.injector.get(Hb,null,{skipSelf:!0}),i=o!==null&&this.backend===o,s=this.injector.get(Vb,[],i?{self:!0}:void 0),a=Array.from(new Set([...this.injector.get(WM),...s]));this.chain=a.reduceRight((c,l)=>zM(c,l,this.injector),$M)}let r=this.chain;if(this.contributeToStability){let o=this.pendingTasks.add();return vr(()=>r(n,i=>this.backend.handle(i))).pipe(Bl(o))}else return vr(()=>r(n,o=>this.backend.handle(o)))}static ɵfac=function(r){return new(r||e)(N(qM),N(se))};static ɵprov=P({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var Hb=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=P({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=N(YM),o},providedIn:`root`})}return e})();function ep(e,t){return E$1({body:t},e)}var ZM=(()=>{class e{handler;constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof ho)i=n;else{let c;o.headers instanceof tn?c=o.headers:c=new tn(o.headers);let l;o.params&&(o.params instanceof en?l=o.params:l=new en({fromObject:o.params})),i=new ho(n,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,reportUploadProgress:o.reportUploadProgress,reportDownloadProgress:o.reportDownloadProgress,responseType:o.responseType||`json`,withCredentials:o.withCredentials,transferCache:o.transferCache,keepalive:o.keepalive,priority:o.priority,cache:o.cache,mode:o.mode,redirect:o.redirect,credentials:o.credentials,referrer:o.referrer,referrerPolicy:o.referrerPolicy,integrity:o.integrity,timeout:o.timeout})}let s=Re(i).pipe(Ll(c=>this.handler.handle(c)));if(n instanceof ho||o.observe===`events`)return s;let a=s.pipe(_e(c=>c instanceof Vi));switch(o.observe||`body`){case`body`:switch(i.responseType){case`arraybuffer`:return a.pipe(ie(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new y(2806,!1);return c.body}));case`blob`:return a.pipe(ie(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new y(2807,!1);return c.body}));case`text`:return a.pipe(ie(c=>{if(c.body!==null&&typeof c.body!=`string`)throw new y(2808,!1);return c.body}));default:return a.pipe(ie(c=>c.body))}case`response`:return a;default:throw new y(2809,!1)}}delete(n,r={}){return this.request(`DELETE`,n,r)}get(n,r={}){return this.request(`GET`,n,r)}head(n,r={}){return this.request(`HEAD`,n,r)}jsonp(n,r){return this.request(`JSONP`,n,{params:new en().append(r,`JSONP_CALLBACK`),observe:`body`,responseType:`json`})}options(n,r={}){return this.request(`OPTIONS`,n,r)}patch(n,r,o={}){return this.request(`PATCH`,n,ep(o,r))}post(n,r,o={}){return this.request(`POST`,n,ep(o,r))}put(n,r,o={}){return this.request(`PUT`,n,ep(o,r))}static ɵfac=function(r){return new(r||e)(N(Hb))};static ɵprov=P({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var G5=(()=>{class e{_doc;constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||``}static ɵfac=function(r){return new(r||e)(N(R))};static ɵprov=P({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var sp=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵprov=P({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=N(KM),o},providedIn:`root`})}return e})();var KM=(()=>{class e extends sp{_doc=h(R);sanitize(n,r){if(r==null)return null;switch(n){case Q.NONE:return r;case Q.HTML:return wn(r,`HTML`)?Ke(r):Ka(this._doc,String(r)).toString();case Q.STYLE:return wn(r,`Style`)?Ke(r):r;case Q.SCRIPT:if(wn(r,`Script`))return Ke(r);throw new y(5200,!1);case Q.URL:return wn(r,`URL`)?Ke(r):Za(String(r));case Q.RESOURCE_URL:if(wn(r,`ResourceURL`))return Ke(r);throw new y(-5201,!1);default:throw new y(5202,!1)}}bypassSecurityTrustHtml(n){return Hd(n)}bypassSecurityTrustStyle(n){return Ud(n)}bypassSecurityTrustScript(n){return $d(n)}bypassSecurityTrustUrl(n){return zd(n)}bypassSecurityTrustResourceUrl(n){return Wd(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var ap;try{ap=typeof Intl<`u`&&Intl.v8BreakIterator}catch(e){ap=!1}var re=(()=>{class e{_platformId=h(sr);isBrowser=this._platformId?wb(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||ap)&&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;static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();function _r(e){return Array.isArray(e)?e:[e]}var Ub=new Set;var Dr;var Tc=(()=>{class e{_platform=h(re);_nonce=h(ar,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):QM}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&XM(n,this._nonce),this._matchMedia(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();function XM(e,t){if(!Ub.has(e))try{Dr||(Dr=document.createElement(`style`),t&&Dr.setAttribute(`nonce`,t),Dr.setAttribute(`type`,`text/css`),document.head.appendChild(Dr)),Dr.sheet&&(Dr.sheet.insertRule(`@media ${e.replace(/[{}]/g,``)} {body{ }}`,0),Ub.add(e))}catch(n){console.error(n)}}function QM(e){return{matches:e===`all`||e===``,media:e,addListener:()=>{},removeListener:()=>{}}}var cp=(()=>{class e{_mediaMatcher=h(Tc);_zone=h(O);_queries=new Map;_destroySubject=new I;ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return $b(_r(n)).some(o=>this._registerQuery(o).mql.matches)}observe(n){let i=Pl($b(_r(n)).map(s=>this._registerQuery(s).observable));return i=ln(i.pipe(lt(1)),i.pipe(zo(1),Gn(0))),i.pipe(ie(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let r=this._mediaMatcher.matchMedia(n),i={observable:new T(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(Fr(r),ie(({matches:s})=>({query:n,matches:s})),Ht(this._destroySubject)),mql:r};return this._queries.set(n,i),i}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();function $b(e){return e.map(t=>t.split(`,`)).reduce((t,n)=>t.concat(n)).map(t=>t.trim())}function Nc(e,...t){return t.length?t.some(n=>e[n]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var cq={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)`};function Tn(e,t=0){return zb(e)?Number(e):arguments.length===2?t:0}function zb(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function nt(e){return e instanceof q?e.nativeElement:e}var JM=new v(`cdk-dir-doc`,{providedIn:`root`,factory:()=>h(R)});var e0=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Wb(e){let t=e?.toLowerCase()||``;return t===`auto`&&typeof navigator<`u`&&navigator?.language?e0.test(navigator.language)?`rtl`:`ltr`:t===`rtl`?`rtl`:`ltr`}var mo=(()=>{class e{get value(){return this.valueSignal()}valueSignal=xe(`ltr`);change=new J;constructor(){let n=h(JM,{optional:!0});if(n){let r=n.body?n.body.dir:null,o=n.documentElement?n.documentElement.dir:null;this.valueSignal.set(Wb(r||o||`ltr`))}}ngOnDestroy(){this.change.complete()}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var _t=(function(e){return e[e.NORMAL=0]=`NORMAL`,e[e.NEGATED=1]=`NEGATED`,e[e.INVERTED=2]=`INVERTED`,e})(_t||{});var Mc;var Er;function Ac(){if(Er==null){if(typeof document!=`object`||!document||typeof Element!=`function`||!Element)return Er=!1,Er;if(document.documentElement?.style&&`scrollBehavior`in document.documentElement.style)Er=!0;else{let e=Element.prototype.scrollTo;e?Er=!/\{\s*\[native code\]\s*\}/.test(e.toString()):Er=!1}}return Er}function go(){if(typeof document!=`object`||!document)return _t.NORMAL;if(Mc==null){let e=document.createElement(`div`),t=e.style;e.dir=`rtl`,t.width=`1px`,t.overflow=`auto`,t.visibility=`hidden`,t.pointerEvents=`none`,t.position=`absolute`;let n=document.createElement(`div`),r=n.style;r.width=`2px`,r.height=`1px`,e.appendChild(n),document.body.appendChild(e),Mc=_t.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,Mc=e.scrollLeft===0?_t.NEGATED:_t.INVERTED),e.remove()}return Mc}var Rc=class{};function Gb(e){return e&&typeof e.connect==`function`&&!(e instanceof Po)}var Oc=class extends Rc{_data;constructor(t){super(),this._data=t}connect(){return Bt(this._data)?this._data:Re(this._data)}disconnect(){}};var Hi=(function(e){return e[e.REPLACED=0]=`REPLACED`,e[e.INSERTED=1]=`INSERTED`,e[e.MOVED=2]=`MOVED`,e[e.REMOVED=3]=`REMOVED`,e})(Hi||{});var kc=class{viewCacheSize=20;_viewCache=[];applyChanges(t,n,r,o,i){t.forEachOperation((s,a,c)=>{let l,u;if(s.previousIndex==null){let d=()=>r(s,a,c);l=this._insertView(d,c,n,o(s)),u=l?Hi.INSERTED:Hi.REPLACED}else c==null?(this._detachAndCacheView(a,n),u=Hi.REMOVED):(l=this._moveView(a,c,n,o(s)),u=Hi.MOVED);i&&i({context:l?.context,operation:u,record:s})})}detach(){for(let t of this._viewCache)t.destroy();this._viewCache=[]}_insertView(t,n,r,o){let i=this._insertViewFromCache(n,r);if(i){i.context.$implicit=o;return}let s=t();return r.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(t,n){let r=n.detach(t);this._maybeCacheView(r,n)}_moveView(t,n,r,o){let i=r.get(t);return r.move(i,n),i.context.$implicit=o,i}_maybeCacheView(t,n){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(t);else{let r=n.indexOf(t);r===-1?t.destroy():n.remove(r)}}_insertViewFromCache(t,n){let r=this._viewCache.pop();return r&&n.insert(r,t),r||null}};var nn=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=oe({type:e});static ɵinj=te({})}return e})();var t0=[`contentWrapper`];var n0=[`*`];var Zb=new v(`VIRTUAL_SCROLL_STRATEGY`);var lp=class{_scrolledIndexChange=new I;scrolledIndexChange=this._scrolledIndexChange.pipe(kr());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(t,n,r){this._itemSize=t,this._minBufferPx=n,this._maxBufferPx=r}attach(t){this._viewport=t,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(t,n,r){this._itemSize=t,this._minBufferPx=n,this._maxBufferPx=r,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(t,n){this._viewport&&this._viewport.scrollToOffset(t*this._itemSize,n)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let t=this._viewport.getRenderedRange(),n={start:t.start,end:t.end},r=this._viewport.getViewportSize(),o=this._viewport.getDataLength(),i=this._viewport.measureScrollOffset(),s=this._itemSize>0?i/this._itemSize:0;if(n.end>o){let c=Math.ceil(r/this._itemSize),l=Math.max(0,Math.min(s,o-c));s!=l&&(s=l,i=l*this._itemSize,n.start=Math.floor(s)),n.end=Math.max(0,Math.min(o,n.start+c))}let a=i-n.start*this._itemSize;if(a<this._minBufferPx&&n.start!=0){let c=Math.ceil((this._maxBufferPx-a)/this._itemSize);n.start=Math.max(0,n.start-c),n.end=Math.min(o,Math.ceil(s+(r+this._minBufferPx)/this._itemSize))}else{let c=n.end*this._itemSize-(i+r);if(c<this._minBufferPx&&n.end!=o){let l=Math.ceil((this._maxBufferPx-c)/this._itemSize);l>0&&(n.end=Math.min(o,n.end+l),n.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(n),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*n.start)),this._scrolledIndexChange.next(Math.floor(s))}};function r0(e){return e._scrollStrategy}var o0=(()=>{class e{get itemSize(){return this._itemSize}set itemSize(n){this._itemSize=Tn(n)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(n){this._minBufferPx=Tn(n)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(n){this._maxBufferPx=Tn(n)}_maxBufferPx=200;_scrollStrategy=new lp(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static ɵfac=function(r){return new(r||e)};static ɵdir=Z({type:e,selectors:[[`cdk-virtual-scroll-viewport`,`itemSize`,``]],inputs:{itemSize:`itemSize`,minBufferPx:`minBufferPx`,maxBufferPx:`maxBufferPx`},features:[Ni([{provide:Zb,useFactory:r0,deps:[Br(()=>e)]}]),En]})}return e})();var i0=20;var Ui=(()=>{class e{_ngZone=h(O);_platform=h(re);_renderer=h(me).createRenderer(null,null);_cleanupGlobalListener;_scrolled=new I;_scrolledCount=0;scrollContainers=new Map;register(n){this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe(()=>this._scrolled.next(n)))}deregister(n){let r=this.scrollContainers.get(n);r&&(r.unsubscribe(),this.scrollContainers.delete(n))}scrolled(n=i0){return this._platform.isBrowser?new T(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen(`document`,`scroll`,()=>this._scrolled.next())));let o=n>0?this._scrolled.pipe($o(n)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Re()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((n,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(n,r){let o=this.getAncestorScrollContainers(n);return this.scrolled(r).pipe(_e(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(n){let r=[];return this.scrollContainers.forEach((o,i)=>{this._targetContainsElement(i,n)&&r.push(i)}),r}_targetContainsElement(n,r){let o=nt(r),i=n.getElementRef().nativeElement;do if(o==i)return!0;while(o=o.parentElement);return!1}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var dp=(()=>{class e{elementRef=h(q);scrollDispatcher=h(Ui);ngZone=h(O);dir=h(mo,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new I;_renderer=h(Xe);_cleanupScroll;_elementScrolled=new I;ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,`scroll`,n=>this._elementScrolled.next(n))),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(n){let r=this.elementRef.nativeElement,o=this.dir&&this.dir.value==`rtl`;n.left??=o?n.end:n.start,n.right??=o?n.start:n.end,n.bottom!=null&&(n.top=r.scrollHeight-r.clientHeight-n.bottom),o&&go()!=_t.NORMAL?(n.left!=null&&(n.right=r.scrollWidth-r.clientWidth-n.left),go()==_t.INVERTED?n.left=n.right:go()==_t.NEGATED&&(n.left=n.right?-n.right:n.right)):n.right!=null&&(n.left=r.scrollWidth-r.clientWidth-n.right),this._applyScrollToOptions(n)}_applyScrollToOptions(n){let r=this.elementRef.nativeElement;Ac()?r.scrollTo(n):(n.top!=null&&(r.scrollTop=n.top),n.left!=null&&(r.scrollLeft=n.left))}measureScrollOffset(n){let r=`left`,o=`right`,i=this.elementRef.nativeElement;if(n==`top`)return i.scrollTop;if(n==`bottom`)return i.scrollHeight-i.clientHeight-i.scrollTop;let s=this.dir&&this.dir.value==`rtl`;return n==`start`?n=s?o:r:n==`end`&&(n=s?r:o),s&&go()==_t.INVERTED?n==r?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:s&&go()==_t.NEGATED?n==r?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:n==r?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}static ɵfac=function(r){return new(r||e)};static ɵdir=Z({type:e,selectors:[[``,`cdk-scrollable`,``],[``,`cdkScrollable`,``]]})}return e})();var s0=20;var wr=(()=>{class e{_platform=h(re);_listeners;_viewportSize=null;_change=new I;_document=h(R);constructor(){let n=h(O),r=h(me).createRenderer(null,null);n.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=i=>this._change.next(i);this._listeners=[r.listen(`window`,`resize`,o),r.listen(`window`,`orientationchange`,o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(n=>n()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}getViewportRect(){let n=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:n.top,left:n.left,bottom:n.top+o,right:n.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let n=this._document,r=this._getWindow(),o=n.documentElement,i=o.getBoundingClientRect();return{top:-i.top||n.body?.scrollTop||r.scrollY||o.scrollTop||0,left:-i.left||n.body?.scrollLeft||r.scrollX||o.scrollLeft||0}}change(n=s0){return n>0?this._change.pipe($o(n)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var qb=new v(`VIRTUAL_SCROLLABLE`);var a0=(()=>{class e extends dp{measureViewportSize(n){let r=this.elementRef.nativeElement;return n===`horizontal`?r.clientWidth:r.clientHeight}static ɵfac=(()=>{let n;return function(o){return(n||(n=io(e)))(o||e)}})();static ɵdir=Z({type:e,features:[ze]})}return e})();function c0(e,t){return e.start==t.start&&e.end==t.end}var l0=typeof requestAnimationFrame<`u`?kl:Ol;var Kb=new v(`CDK_VIRTUAL_SCROLL_VIEWPORT`);var u0=(()=>{class e extends a0{elementRef=h(q);_changeDetectorRef=h(mc);_scrollStrategy=h(Zb,{optional:!0});scrollable=h(qb,{optional:!0});_platform=h(re);_detachedSubject=new I;_renderedRangeSubject=new I;_renderedContentOffsetSubject=new I;get orientation(){return this._orientation}set orientation(n){this._orientation!==n&&(this._orientation=n,this._calculateSpacerSize())}_orientation=`vertical`;appendOnly=!1;scrolledIndexChange=new T(n=>this._scrollStrategy.scrolledIndexChange.subscribe(r=>Promise.resolve().then(()=>this.ngZone.run(()=>n.next(r)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(_e(n=>n!==null),kr());_totalContentSize=0;_totalContentWidth=xe(``);_totalContentHeight=xe(``);_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=xe(!1);_runAfterChangeDetection=[];_viewportChanges=L.EMPTY;_injector=h(V);_isDestroyed=!1;constructor(){super();let n=h(wr);this._scrollStrategy,this._viewportChanges=n.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add(`cdk-virtual-scrollable`),this.scrollable=this);let r=cr(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:h(gt).injector});h(Oe).onDestroy(()=>{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(Fr(null),$o(0,l0),Ht(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(n){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=n,this._forOf.dataStream.pipe(Ht(this._detachedSubject)).subscribe(r=>{let o=r.length;o!==this._dataLength&&(this._dataLength=o,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(n){return this.getElementRef().nativeElement.getBoundingClientRect()[n]}setTotalContentSize(n){this._totalContentSize!==n&&(this._totalContentSize=n,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(n){c0(this._renderedRange,n)||(this.appendOnly&&(n={start:0,end:Math.max(this._renderedRange.end,n.end)}),this._renderedRangeSubject.next(this._renderedRange=n),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(n,r=`to-start`){n=this.appendOnly&&r===`to-start`?0:n;let o=this.dir&&this.dir.value==`rtl`,i=this.orientation==`horizontal`,s=i?`X`:`Y`,c=`translate${s}(${Number((i&&o?-1:1)*n)}px)`;this._renderedContentOffset=n,r===`to-end`&&(c+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=c&&(this._renderedContentTransform=c,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(n,r=`auto`){let o={behavior:r};this.orientation===`horizontal`?o.start=n:o.top=n,this.scrollable.scrollTo(o)}scrollToIndex(n,r=`auto`){this._scrollStrategy.scrollToIndex(n,r)}measureScrollOffset(n){let r;return this.scrollable==this?r=o=>super.measureScrollOffset(o):r=o=>this.scrollable.measureScrollOffset(o),Math.max(0,r(n??(this.orientation===`horizontal`?`start`:`top`))-this.measureViewportOffset())}measureViewportOffset(n){let r,o=`left`,i=`right`,s=this.dir?.value==`rtl`;n==`start`?r=s?i:o:n==`end`?r=s?o:i:n?r=n:r=this.orientation===`horizontal`?`left`:`top`;let a=this.scrollable.measureBoundingClientRectWithScrollOffset(r);return this.elementRef.nativeElement.getBoundingClientRect()[r]-a}measureRenderedContentSize(){let n=this._contentWrapper.nativeElement;return this.orientation===`horizontal`?n.offsetWidth:n.offsetHeight}measureRangeSize(n){return this._forOf?this._forOf.measureRangeSize(n,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(n){n&&this._runAfterChangeDetection.push(n),!vr(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,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),In(()=>{this._changeDetectionNeeded.set(!1);let n=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let r of n)r()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation===`horizontal`?``:`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation===`horizontal`?`${this._totalContentSize}px`:``)}static ɵfac=function(r){return new(r||e)};static ɵcmp=Ee({type:e,selectors:[[`cdk-virtual-scroll-viewport`]],viewQuery:function(r,o){if(r&1&&lc(t0,7),r&2){let i;Cf(i=xf())&&(o._contentWrapper=i.first)}},hostAttrs:[1,`cdk-virtual-scroll-viewport`],hostVars:4,hostBindings:function(r,o){r&2&&vt(`cdk-virtual-scroll-orientation-horizontal`,o.orientation===`horizontal`)(`cdk-virtual-scroll-orientation-vertical`,o.orientation!==`horizontal`)},inputs:{orientation:`orientation`,appendOnly:[2,`appendOnly`,`appendOnly`,le]},outputs:{scrolledIndexChange:`scrolledIndexChange`},features:[Ni([{provide:dp,useFactory:()=>h(qb,{optional:!0})||h(e)},{provide:Kb,useExisting:e}]),ze],ngContentSelectors:n0,decls:4,vars:4,consts:[[`contentWrapper`,``],[1,`cdk-virtual-scroll-content-wrapper`],[1,`cdk-virtual-scroll-spacer`]],template:function(r,o){r&1&&(Cn(),Je(0,`div`,1,0),Te(2),et(),tt(3,`div`,2)),r&2&&(Sn(3),uc(`width`,o._totalContentWidth())(`height`,o._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport {
  display: block;
  position: relative;
  transform: translateZ(0);
}

.cdk-virtual-scrollable {
  overflow: auto;
  will-change: scroll-position;
  contain: strict;
  overflow-anchor: none;
  scroll-behavior: auto;
}

.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;
}
`],encapsulation:2})}return e})();function Yb(e,t,n){let r=n;if(!r.getBoundingClientRect)return 0;let o=r.getBoundingClientRect();return e===`horizontal`?t===`start`?o.left:o.right:t===`start`?o.top:o.bottom}var d0=(()=>{class e{_viewContainerRef=h(Pe);_template=h($e);_differs=h(hc);_viewRepeater=new kc;_viewport=h(Kb,{skipSelf:!0});viewChange=new I;_dataSourceChanges=new I;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(n){this._cdkVirtualForOf=n,Gb(n)?this._dataSourceChanges.next(n):this._dataSourceChanges.next(new Oc(Bt(n)?n:Array.from(n||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(n){this._needsUpdate=!0,this._cdkVirtualForTrackBy=n?(r,o)=>n(r+(this._renderedRange?this._renderedRange.start:0),o):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(n){n&&(this._needsUpdate=!0,this._template=n)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(n){this._viewRepeater.viewCacheSize=Tn(n)}dataStream=this._dataSourceChanges.pipe(Fr(null),Vl(),Hs(([n,r])=>this._changeDataSource(n,r)),$l(1));_differ=null;_data=[];_renderedItems=[];_renderedRange={start:0,end:0};_needsUpdate=!1;_destroyed=new I;constructor(){let n=h(O);this.dataStream.subscribe(r=>{this._data=r,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(Ht(this._destroyed)).subscribe(r=>{this._renderedRange=r,this.viewChange.observers.length&&n.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(n,r){if(n.start>=n.end)return 0;n.start<this._renderedRange.start||(n.end,this._renderedRange.end);let o=n.start-this._renderedRange.start,i=n.end-n.start,s,a;for(let c=0;c<i;c++){let l=this._viewContainerRef.get(c+o);if(l&&l.rootNodes.length){s=a=l.rootNodes[0];break}}for(let c=i-1;c>-1;c--){let l=this._viewContainerRef.get(c+o);if(l&&l.rootNodes.length){a=l.rootNodes[l.rootNodes.length-1];break}}return s&&a?Yb(r,`end`,a)-Yb(r,`start`,s):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let n=this._differ.diff(this._renderedItems);n?this._applyChanges(n):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((n,r)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(n,r):r)),this._needsUpdate=!0)}_changeDataSource(n,r){return n&&n.disconnect(this),this._needsUpdate=!0,r?r.connect(this):Re()}_updateContext(){let n=this._data.length,r=this._viewContainerRef.length;for(;r--;){let o=this._viewContainerRef.get(r);o.context.index=this._renderedRange.start+r,o.context.count=n,this._updateComputedContextProperties(o.context),o.detectChanges()}}_applyChanges(n){this._viewRepeater.applyChanges(n,this._viewContainerRef,(i,s,a)=>this._getEmbeddedViewArgs(i,a),i=>i.item),n.forEachIdentityChange(i=>{let s=this._viewContainerRef.get(i.currentIndex);s.context.$implicit=i.item});let r=this._data.length,o=this._viewContainerRef.length;for(;o--;){let i=this._viewContainerRef.get(o);i.context.index=this._renderedRange.start+o,i.context.count=r,this._updateComputedContextProperties(i.context)}}_updateComputedContextProperties(n){n.first=n.index===0,n.last=n.index===n.count-1,n.even=n.index%2===0,n.odd=!n.even}_getEmbeddedViewArgs(n,r){return{templateRef:this._template,context:{$implicit:n.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:r}}static ngTemplateContextGuard(n,r){return!0}static ɵfac=function(r){return new(r||e)};static ɵdir=Z({type:e,selectors:[[``,`cdkVirtualFor`,``,`cdkVirtualForOf`,``]],inputs:{cdkVirtualForOf:`cdkVirtualForOf`,cdkVirtualForTrackBy:`cdkVirtualForTrackBy`,cdkVirtualForTemplate:`cdkVirtualForTemplate`,cdkVirtualForTemplateCacheSize:`cdkVirtualForTemplateCacheSize`}})}return e})();var up=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=oe({type:e});static ɵinj=te({})}return e})();var fp=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=oe({type:e});static ɵinj=te({imports:[nn,up,nn,up]})}return e})();function $i(e){return e.buttons===0||e.detail===0}function zi(e){let t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!t&&t.identifier===-1&&(t.radiusX==null||t.radiusX===1)&&(t.radiusY==null||t.radiusY===1)}var pp;function Xb(){if(pp==null){let e=typeof document<`u`?document.head:null;pp=!!(e&&(e.createShadowRoot||e.attachShadow))}return pp}function hp(e){if(Xb()){let t=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<`u`&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}function f0(){let e=typeof document<`u`&&document?document.activeElement:null;for(;e&&e.shadowRoot;){let t=e.shadowRoot.activeElement;if(t===e)break;e=t}return e}function Ne(e){if(e.composedPath)try{return e.composedPath()[0]}catch(t){}return e.target}var Wi;function Qb(){if(Wi==null&&typeof window<`u`)try{window.addEventListener(`test`,null,Object.defineProperty({},"passive",{get:()=>Wi=!0}))}finally{Wi=Wi||!1}return Wi}function vo(e){return Qb()?e:!!e.capture}var Jb=new v(`cdk-input-modality-detector-options`);var e_={ignoreKeys:[18,17,224,91,16]};var t_=650;var mp={passive:!0,capture:!0};var n_=(()=>{class e{_platform=h(re);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Un(null);_options;_lastTouchMs=0;_onKeydown=n=>{this._options?.ignoreKeys?.some(r=>r===n.keyCode)||(this._modality.next(`keyboard`),this._mostRecentTarget=Ne(n))};_onMousedown=n=>{Date.now()-this._lastTouchMs<t_||(this._modality.next($i(n)?`keyboard`:`mouse`),this._mostRecentTarget=Ne(n))};_onTouchstart=n=>{if(zi(n)){this._modality.next(`keyboard`);return}this._lastTouchMs=Date.now(),this._modality.next(`touch`),this._mostRecentTarget=Ne(n)};constructor(){let n=h(O),r=h(R),o=h(Jb,{optional:!0});if(this._options=E$1(E$1({},e_),o),this.modalityDetected=this._modality.pipe(zo(1)),this.modalityChanged=this.modalityDetected.pipe(kr()),this._platform.isBrowser){let i=h(me).createRenderer(null,null);this._listenerCleanups=n.runOutsideAngular(()=>[i.listen(r,`keydown`,this._onKeydown,mp),i.listen(r,`mousedown`,this._onMousedown,mp),i.listen(r,`touchstart`,this._onTouchstart,mp)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(n=>n())}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var Gi=(function(e){return e[e.IMMEDIATE=0]=`IMMEDIATE`,e[e.EVENTUAL=1]=`EVENTUAL`,e})(Gi||{});var r_=new v(`cdk-focus-monitor-default-options`);var Fc=vo({passive:!0,capture:!0});var Pc=(()=>{class e{_ngZone=h(O);_platform=h(re);_inputModalityDetector=h(n_);_origin=null;_lastFocusOrigin=null;_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=h(R);_stopInputModalityDetector=new I;constructor(){let n=h(r_,{optional:!0});this._detectionMode=n?.detectionMode||Gi.IMMEDIATE}_rootNodeFocusAndBlurListener=n=>{let r=Ne(n);for(let o=r;o;o=o.parentElement)n.type===`focus`?this._onFocus(n,o):this._onBlur(n,o)};monitor(n,r=!1){let o=nt(n);if(!this._platform.isBrowser||o.nodeType!==1)return Re();let i=hp(o)||this._document,s=this._elementInfo.get(o);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new I,rootNode:i};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(n){let r=nt(n),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(n,r,o){let i=nt(n);i===this._document.activeElement?this._getClosestElementsInfo(i).forEach(([a,c])=>this._originChanged(a,r,c)):(this._setOrigin(r),typeof i.focus==`function`&&i.focus(o))}ngOnDestroy(){this._elementInfo.forEach((n,r)=>this.stopMonitoring(r))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?`touch`:`program`:this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?`mouse`:`program`}_shouldBeAttributedToTouch(n){return this._detectionMode===Gi.EVENTUAL||!!n?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(n,r){n.classList.toggle(`cdk-focused`,!!r),n.classList.toggle(`cdk-touch-focused`,r===`touch`),n.classList.toggle(`cdk-keyboard-focused`,r===`keyboard`),n.classList.toggle(`cdk-mouse-focused`,r===`mouse`),n.classList.toggle(`cdk-program-focused`,r===`program`)}_setOrigin(n,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n===`touch`&&r,this._detectionMode===Gi.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?t_:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(n,r){let o=this._elementInfo.get(r),i=Ne(n);!o||!o.checkChildren&&r!==i||this._originChanged(r,this._getFocusOrigin(i),o)}_onBlur(n,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&n.relatedTarget instanceof Node&&r.contains(n.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(n,r){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(r))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let r=n.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener(`focus`,this._rootNodeFocusAndBlurListener,Fc),r.addEventListener(`blur`,this._rootNodeFocusAndBlurListener,Fc)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener(`focus`,this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ht(this._stopInputModalityDetector)).subscribe(i=>{this._setOrigin(i,!0)}))}_removeGlobalListeners(n){let r=n.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener(`focus`,this._rootNodeFocusAndBlurListener,Fc),r.removeEventListener(`blur`,this._rootNodeFocusAndBlurListener,Fc),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener(`focus`,this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,r,o){this._setClasses(n,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(n){let r=[];return this._elementInfo.forEach((o,i)=>{(i===n||o.checkChildren&&i.contains(n))&&r.push([i,o])}),r}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!==`mouse`||!r||r===n||n.nodeName!==`INPUT`&&n.nodeName!==`TEXTAREA`||n.disabled)return!1;let i=n.labels;if(i){for(let s=0;s<i.length;s++)if(i[s].contains(r))return!0}return!1}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var p0=(()=>{class e{_elementRef=h(q);_focusMonitor=h(Pc);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new J;get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let n=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(n,n.nodeType===1&&n.hasAttribute(`cdkMonitorSubtreeFocus`)).subscribe(r=>{this._focusOrigin=r,this.cdkFocusChange.emit(r)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static ɵfac=function(r){return new(r||e)};static ɵdir=Z({type:e,selectors:[[``,`cdkMonitorElementFocus`,``],[``,`cdkMonitorSubtreeFocus`,``]],outputs:{cdkFocusChange:`cdkFocusChange`},exportAs:[`cdkMonitorFocus`]})}return e})();var Lc=new WeakMap;var rt=(()=>{class e{_appRef;_injector=h(V);_environmentInjector=h(se);load(n){let r=this._appRef=this._appRef||this._injector.get(gt),o=Lc.get(r);o||(o={loaders:new Set,refs:[]},Lc.set(r,o),r.onDestroy(()=>{Lc.get(r)?.refs.forEach(i=>i.destroy()),Lc.delete(r)})),o.loaders.has(n)||(o.loaders.add(n),o.refs.push(gc(n,{environmentInjector:this._environmentInjector})))}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var Bc=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵcmp=Ee({type:e,selectors:[[`ng-component`]],exportAs:[`cdkVisuallyHidden`],decls:0,vars:0,template:function(r,o){},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;
}
`],encapsulation:2})}return e})();var jc;function h0(){if(jc===void 0&&(jc=null,typeof window<`u`)){let e=window;if(e.trustedTypes!==void 0)try{jc=e.trustedTypes.createPolicy(`angular#components`,{createHTML:t=>t})}catch(t){console.error(t)}}return jc}function m0(e){return h0()?.createHTML(e)||e}function o_(e,t,n){e.innerHTML=m0(n.sanitize(Q.HTML,t)||``)}function g0(e){if(e.type===`characterData`&&e.target instanceof Comment)return!0;if(e.type===`childList`){for(let t=0;t<e.addedNodes.length;t++)if(!(e.addedNodes[t]instanceof Comment))return!1;for(let t=0;t<e.removedNodes.length;t++)if(!(e.removedNodes[t]instanceof Comment))return!1;return!0}return!1}var i_=(()=>{class e{create(n){return typeof MutationObserver>`u`?null:new MutationObserver(n)}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var s_=(()=>{class e{_mutationObserverFactory=h(i_);_observedElements=new Map;_ngZone=h(O);ngOnDestroy(){this._observedElements.forEach((n,r)=>this._cleanupObserver(r))}observe(n){let r=nt(n);return new T(o=>{let s=this._observeElement(r).pipe(ie(a=>a.filter(c=>!g0(c))),_e(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{o.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(n){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(n))this._observedElements.get(n).count++;else{let r=new I,o=this._mutationObserverFactory.create(i=>r.next(i));o&&o.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:o,stream:r,count:1})}return this._observedElements.get(n).stream})}_unobserveElement(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}_cleanupObserver(n){if(this._observedElements.has(n)){let{observer:r,stream:o}=this._observedElements.get(n);r&&r.disconnect(),o.complete(),this._observedElements.delete(n)}}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var x6=(()=>{class e{_contentObserver=h(s_);_elementRef=h(q);event=new J;get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(n){this._debounce=Tn(n),this._subscribe()}_debounce;_currentSubscription=null;ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let n=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?n.pipe(Gn(this.debounce)):n).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static ɵfac=function(r){return new(r||e)};static ɵdir=Z({type:e,selectors:[[``,`cdkObserveContent`,``]],inputs:{disabled:[2,`cdkObserveContentDisabled`,`disabled`,le],debounce:`debounce`},outputs:{event:`cdkObserveContent`},exportAs:[`cdkObserveContent`]})}return e})();var a_=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=oe({type:e});static ɵinj=te({providers:[i_]})}return e})();var v0=(()=>{class e{_platform=h(re);isDisabled(n){return n.hasAttribute(`disabled`)}isVisible(n){return b0(n)&&getComputedStyle(n).visibility===`visible`}isTabbable(n){if(!this._platform.isBrowser)return!1;let r=y0(x0(n));if(r&&(c_(r)===-1||!this.isVisible(r)))return!1;let o=n.nodeName.toLowerCase(),i=c_(n);return n.hasAttribute(`contenteditable`)?i!==-1:o===`iframe`||o===`object`||this._platform.WEBKIT&&this._platform.IOS&&!S0(n)?!1:o===`audio`?n.hasAttribute(`controls`)?i!==-1:!1:o===`video`?i===-1?!1:i!==null?!0:this._platform.FIREFOX||n.hasAttribute(`controls`):n.tabIndex>=0}isFocusable(n,r){return C0(n)&&!this.isDisabled(n)&&(r?.ignoreVisibility||this.isVisible(n))}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();function y0(e){try{return e.frameElement}catch(t){return null}}function b0(e){return!!(e.offsetWidth||e.offsetHeight||typeof e.getClientRects==`function`&&e.getClientRects().length)}function _0(e){let t=e.nodeName.toLowerCase();return t===`input`||t===`select`||t===`button`||t===`textarea`}function D0(e){return w0(e)&&e.type==`hidden`}function E0(e){return I0(e)&&e.hasAttribute(`href`)}function w0(e){return e.nodeName.toLowerCase()==`input`}function I0(e){return e.nodeName.toLowerCase()==`a`}function d_(e){if(!e.hasAttribute(`tabindex`)||e.tabIndex===void 0)return!1;let t=e.getAttribute(`tabindex`);return!!(t&&!isNaN(parseInt(t,10)))}function c_(e){if(!d_(e))return null;let t=parseInt(e.getAttribute(`tabindex`)||``,10);return isNaN(t)?-1:t}function S0(e){let t=e.nodeName.toLowerCase(),n=t===`input`&&e.type;return n===`text`||n===`password`||t===`select`||t===`textarea`}function C0(e){return D0(e)?!1:_0(e)||E0(e)||e.hasAttribute(`contenteditable`)||d_(e)}function x0(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}var vp=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>{!this.focusLastTabbableElement()&&this._checker.isFocusable(this._element)&&this._element.focus()};endAnchorListener=()=>{!this.focusFirstTabbableElement()&&this._checker.isFocusable(this._element)&&this._element.focus()};get enabled(){return this._enabled}set enabled(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_enabled=!0;constructor(t,n,r,o,i=!1,s){this._element=t,this._checker=n,this._ngZone=r,this._document=o,this._injector=s,i||this.attachAnchors()}destroy(){let t=this._startAnchor,n=this._endAnchor;t&&(t.removeEventListener(`focus`,this.startAnchorListener),t.remove()),n&&(n.removeEventListener(`focus`,this.endAnchorListener),n.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(t){return new Promise(n=>{this._executeOnStable(()=>n(this.focusInitialElement(t)))})}focusFirstTabbableElementWhenReady(t){return new Promise(n=>{this._executeOnStable(()=>n(this.focusFirstTabbableElement(t)))})}focusLastTabbableElementWhenReady(t){return new Promise(n=>{this._executeOnStable(()=>n(this.focusLastTabbableElement(t)))})}_getRegionBoundary(t){let n=this._element.querySelectorAll(`[cdk-focus-region-${t}], [cdkFocusRegion${t}], [cdk-focus-${t}]`);return t==`start`?n.length?n[0]:this._getFirstTabbableElement(this._element):n.length?n[n.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(t){let n=this._element.querySelector(`[cdk-focus-initial], [cdkFocusInitial]`);if(n){if(!this._checker.isFocusable(n)){let r=this._getFirstTabbableElement(n);return r?.focus(t),!!r}return n.focus(t),!0}return this.focusFirstTabbableElement(t)}focusFirstTabbableElement(t){let n=this._getRegionBoundary(`start`);return n&&n.focus(t),!!n}focusLastTabbableElement(t){let n=this._getRegionBoundary(`end`);return n&&n.focus(t),!!n}hasAttached(){return this._hasAttached}_getFirstTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let n=t.children;for(let r=0;r<n.length;r++){let o=n[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(n[r]):null;if(o)return o}return null}_getLastTabbableElement(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;let n=t.children;for(let r=n.length-1;r>=0;r--){let o=n[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[r]):null;if(o)return o}return null}_createAnchor(){let t=this._document.createElement(`div`);return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add(`cdk-visually-hidden`),t.classList.add(`cdk-focus-trap-anchor`),t.setAttribute(`aria-hidden`,`true`),t}_toggleAnchorTabIndex(t,n){t?n.setAttribute(`tabindex`,`0`):n.removeAttribute(`tabindex`)}toggleAnchors(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}_executeOnStable(t){In(t,{injector:this._injector})}};var T0=(()=>{class e{_checker=h(v0);_ngZone=h(O);_document=h(R);_injector=h(V);constructor(){h(rt).load(Bc)}create(n,r=!1){return new vp(n,this._checker,this._ngZone,this._document,r,this._injector)}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var f_=new v(`liveAnnouncerElement`,{providedIn:`root`,factory:()=>null});var p_=new v(`LIVE_ANNOUNCER_DEFAULT_OPTIONS`);var N0=0;var M0=(()=>{class e{_ngZone=h(O);_defaultOptions=h(p_,{optional:!0});_liveElement;_document=h(R);_sanitizer=h(sp);_previousTimeout;_currentPromise;_currentResolve;constructor(){let n=h(f_,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...r){let o=this._defaultOptions,i,s;return r.length===1&&typeof r[0]==`number`?s=r[0]:[i,s]=r,this.clear(),clearTimeout(this._previousTimeout),i||(i=o&&o.politeness?o.politeness:`polite`),s==null&&o&&(s=o.duration),this._liveElement.setAttribute(`aria-live`,i),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(()=>{!n||typeof n==`string`?this._liveElement.textContent=n:o_(this._liveElement,n,this._sanitizer),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 n=`cdk-live-announcer-element`,r=this._document.getElementsByClassName(n),o=this._document.createElement(`div`);for(let i=0;i<r.length;i++)r[i].remove();return o.classList.add(n),o.classList.add(`cdk-visually-hidden`),o.setAttribute(`aria-atomic`,`true`),o.setAttribute(`aria-live`,`polite`),o.id=`cdk-live-announcer-${N0++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(n){let r=this._document.querySelectorAll(`body > .cdk-overlay-container [aria-modal="true"]`);for(let o=0;o<r.length;o++){let i=r[o],s=i.getAttribute(`aria-owns`);s?s.indexOf(n)===-1&&i.setAttribute(`aria-owns`,s+` `+n):i.setAttribute(`aria-owns`,n)}}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var Nn=(function(e){return e[e.NONE=0]=`NONE`,e[e.BLACK_ON_WHITE=1]=`BLACK_ON_WHITE`,e[e.WHITE_ON_BLACK=2]=`WHITE_ON_BLACK`,e})(Nn||{});var l_=`cdk-high-contrast-black-on-white`;var u_=`cdk-high-contrast-white-on-black`;var gp=`cdk-high-contrast-active`;var h_=(()=>{class e{_platform=h(re);_hasCheckedHighContrastMode=!1;_document=h(R);_breakpointSubscription;constructor(){this._breakpointSubscription=h(cp).observe(`(forced-colors: active)`).subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Nn.NONE;let n=this._document.createElement(`div`);n.style.backgroundColor=`rgb(1,2,3)`,n.style.position=`absolute`,this._document.body.appendChild(n);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(n):null,i=(o&&o.backgroundColor||``).replace(/ /g,``);switch(n.remove(),i){case`rgb(0,0,0)`:case`rgb(45,50,54)`:case`rgb(32,32,32)`:return Nn.WHITE_ON_BLACK;case`rgb(255,255,255)`:case`rgb(255,250,239)`:return Nn.BLACK_ON_WHITE}return Nn.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(gp,l_,u_),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===Nn.BLACK_ON_WHITE?n.add(gp,l_):r===Nn.WHITE_ON_BLACK&&n.add(gp,u_)}}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var A0=(()=>{class e{constructor(){h(h_)._applyBodyHighContrastModeCssClasses()}static ɵfac=function(r){return new(r||e)};static ɵmod=oe({type:e});static ɵinj=te({imports:[a_]})}return e})();var R0=200;var yo=class{_letterKeyStream=new I;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new I;selectedItem=this._selectedItem;constructor(t,n){let r=typeof n?.debounceInterval==`number`?n.debounceInterval:R0;n?.skipPredicate&&(this._skipPredicateFn=n.skipPredicate),this.setItems(t),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(t){this._selectedItemIndex=t}setItems(t){this._items=t}handleKey(t){let n=t.keyCode;t.key&&t.key.length===1?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(t){this._letterKeyStream.pipe(Wl(n=>this._pressedLetters.push(n)),Gn(t),_e(()=>this._pressedLetters.length>0),ie(()=>this._pressedLetters.join(``).toLocaleUpperCase())).subscribe(n=>{for(let r=1;r<this._items.length+1;r++){let o=(this._selectedItemIndex+r)%this._items.length,i=this._items[o];if(!this._skipPredicateFn?.(i)&&i.getLabel?.().toLocaleUpperCase().trim().indexOf(n)===0){this._selectedItem.next(i);break}}this._pressedLetters=[]})}};var bo=class{_items;_activeItemIndex=xe(-1);_activeItem=xe(null);_wrap=!1;_typeaheadSubscription=L.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=t=>t.disabled;constructor(t,n){this._items=t,t instanceof Zt?this._itemChangesSubscription=t.changes.subscribe(r=>this._itemsChanged(r.toArray())):lr(t)&&(this._effectRef=cr(()=>this._itemsChanged(t()),{injector:n}))}tabOut=new I;change=new I;skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){this._typeaheadSubscription.unsubscribe();let n=this._getItemsArray();return this._typeahead=new yo(n,{debounceInterval:typeof t==`number`?t: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(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,n=10){return this._pageUpAndDown={enabled:t,delta:n},this}setActiveItem(t){let n=this._activeItem();this.updateActiveItem(t),this._activeItem()!==n&&this.change.next(this._activeItemIndex())}onKeydown(t){let n=t.keyCode,o=[`altKey`,`ctrlKey`,`metaKey`,`shiftKey`].every(i=>!t[i]||this._allowedModifierKeys.indexOf(i)>-1);switch(n){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal===`rtl`?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal===`rtl`?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(i>0?i:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(i<s?i:s-1,-1);break}else return;default:(o||Nc(t,`shiftKey`))&&this._typeahead?.handleKey(t);return}this._typeahead?.reset(),t.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(t){let n=this._getItemsArray(),r=typeof t==`number`?t:n.indexOf(t),o=n[r];this._activeItem.set(o??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(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let n=this._getItemsArray();for(let r=1;r<=n.length;r++){let o=(this._activeItemIndex()+t*r+n.length)%n.length,i=n[o];if(!this._skipPredicateFn(i)){this.setActiveItem(o);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex()+t,t)}_setActiveItemByIndex(t,n){let r=this._getItemsArray();if(r[t]){for(;this._skipPredicateFn(r[t]);)if(t+=n,!r[t])return;this.setActiveItem(t)}}_getItemsArray(){return lr(this._items)?this._items():this._items instanceof Zt?this._items.toArray():this._items}_itemsChanged(t){this._typeahead?.setItems(t);let n=this._activeItem();if(n){let r=t.indexOf(n);r>-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r))}}};var yp=class extends bo{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}};var bp=class extends bo{_origin=`program`;setFocusOrigin(t){return this._origin=t,this}setActiveItem(t){super.setActiveItem(t),this.activeItem&&this.activeItem.focus(this._origin)}};function _p(e){return Bt(e)?e:Re(e)}var Dp=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation=`ltr`;_skipPredicateFn=t=>!1;_trackByFn=t=>t;_items=[];_typeahead;_typeaheadSubscription=L.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let t=0;for(let r=0;r<this._items.length;r++)if(!this._skipPredicateFn(this._items[r])&&!this._isItemDisabled(this._items[r])){t=r;break}let n=this._items[t];n.makeFocusable?(this._activeItem?.unfocus(),this._activeItemIndex=t,this._activeItem=n,this._typeahead?.setCurrentSelectedItemIndex(t),n.makeFocusable()):this.focusItem(t),this._hasInitialFocused=!0}constructor(t,n){t instanceof Zt?(this._items=t.toArray(),t.changes.subscribe(r=>this._itemsChanged(r.toArray()))):Bt(t)?t.subscribe(r=>this._itemsChanged(r)):(this._items=t,this._initializeFocus()),typeof n.shouldActivationFollowFocus==`boolean`&&(this._shouldActivationFollowFocus=n.shouldActivationFollowFocus),n.horizontalOrientation&&(this._horizontalOrientation=n.horizontalOrientation),n.skipPredicate&&(this._skipPredicateFn=n.skipPredicate),n.trackBy&&(this._trackByFn=n.trackBy),typeof n.typeAheadDebounceInterval<`u`&&this._setTypeAhead(n.typeAheadDebounceInterval)}change=new I;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(t){switch(t.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(t.key===`*`){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(t);return}this._typeahead?.reset(),t.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_itemsChanged(t){this._hasInitialFocused&&this._activeItem&&!t.includes(this._activeItem)&&(this._activeItem=null,this._hasInitialFocused=!1),this._items=t,this._typeahead?.setItems(this._items),this._updateActiveItemIndex(this._items),this._initializeFocus()}_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(t,n={}){n.emitChangeEvent??=!0;let r=typeof t==`number`?t:this._items.findIndex(s=>this._trackByFn(s)===this._trackByFn(t));if(r<0||r>=this._items.length)return;let o=this._items[r];if(this._activeItem!==null&&this._trackByFn(o)===this._trackByFn(this._activeItem))return;let i=this._activeItem;this._activeItem=o??null,this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r),this._activeItem?.focus(),i?.unfocus(),n.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(t){let n=this._activeItem;if(!n)return;let r=t.findIndex(o=>this._trackByFn(o)===this._trackByFn(n));r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}_setTypeAhead(t){this._typeahead=new yo(this._items,{debounceInterval:typeof t==`number`?t:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.focusItem(n)})}_findNextAvailableItemIndex(t){for(let n=t+1;n<this._items.length;n++)if(!this._skipPredicateFn(this._items[n]))return n;return t}_findPreviousAvailableItemIndex(t){for(let n=t-1;n>=0;n--)if(!this._skipPredicateFn(this._items[n]))return n;return t}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let t=this._activeItem.getParent();if(!t||this._skipPredicateFn(t))return;this.focusItem(t)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?_p(this._activeItem.getChildren()).pipe(lt(1)).subscribe(t=>{let n=t.find(r=>!this._skipPredicateFn(r));n&&this.focusItem(n)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded==`boolean`?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(t){return typeof t.isDisabled==`boolean`?t.isDisabled:t.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let t=this._activeItem.getParent(),n;t?n=_p(t.getChildren()):n=Re(this._items.filter(r=>r.getParent()===null)),n.pipe(lt(1)).subscribe(r=>{for(let o of r)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}};var b9=new v(`tree-key-manager`,{providedIn:`root`,factory:()=>(e,t)=>new Dp(e,t)});var m_=new Map;var qi=class e{_appId=h(Yt);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(t,n=!1){this._appId!==`ng`&&(t+=this._appId);let r=m_.get(t);return r===void 0?r=0:r++,m_.set(t,r),`${t}${n?e._infix+`-`:``}${r}`}static ɵfac=function(n){return new(n||e)};static ɵprov=M({token:e,factory:e.ɵfac})};var v_=` `;function O0(e,t,n){let r=Hc(e,t);n=n.trim(),!r.some(o=>o.trim()===n)&&(r.push(n),e.setAttribute(t,r.join(v_)))}function k0(e,t,n){let r=Hc(e,t);n=n.trim();let o=r.filter(i=>i!==n);o.length?e.setAttribute(t,o.join(v_)):e.removeAttribute(t)}function Hc(e,t){return e.getAttribute(t)?.match(/\S+/g)??[]}var y_=`cdk-describedby-message`;var Vc=`cdk-describedby-host`;var wp=0;var R9=(()=>{class e{_platform=h(re);_document=h(R);_messageRegistry=new Map;_messagesContainer=null;_id=`${wp++}`;constructor(){h(rt).load(Bc),this._id=h(Yt)+`-`+wp++}describe(n,r,o){if(!this._canBeDescribed(n,r))return;let i=Ep(r,o);typeof r!=`string`?(g_(r,this._id),this._messageRegistry.set(i,{messageElement:r,referenceCount:0})):this._messageRegistry.has(i)||this._createMessageElement(r,o),this._isElementDescribedByMessage(n,i)||this._addMessageReference(n,i)}removeDescription(n,r,o){if(!r||!this._isElementNode(n))return;let i=Ep(r,o);if(this._isElementDescribedByMessage(n,i)&&this._removeMessageReference(n,i),typeof r==`string`){let s=this._messageRegistry.get(i);s&&s.referenceCount===0&&this._deleteMessageElement(i)}this._messagesContainer?.childNodes.length===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){let n=this._document.querySelectorAll(`[${Vc}="${this._id}"]`);for(let r=0;r<n.length;r++)this._removeCdkDescribedByReferenceIds(n[r]),n[r].removeAttribute(Vc);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,r){let o=this._document.createElement(`div`);g_(o,this._id),o.textContent=n,r&&o.setAttribute(`role`,r),this._createMessagesContainer(),this._messagesContainer.appendChild(o),this._messageRegistry.set(Ep(n,r),{messageElement:o,referenceCount:0})}_deleteMessageElement(n){this._messageRegistry.get(n)?.messageElement?.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n=`cdk-describedby-message-container`,r=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let i=0;i<r.length;i++)r[i].remove();let o=this._document.createElement(`div`);o.style.visibility=`hidden`,o.classList.add(n),o.classList.add(`cdk-visually-hidden`),this._platform.isBrowser||o.setAttribute(`platform`,`server`),this._document.body.appendChild(o),this._messagesContainer=o}_removeCdkDescribedByReferenceIds(n){let r=Hc(n,`aria-describedby`).filter(o=>o.indexOf(y_)!=0);n.setAttribute(`aria-describedby`,r.join(` `))}_addMessageReference(n,r){let o=this._messageRegistry.get(r);O0(n,`aria-describedby`,o.messageElement.id),n.setAttribute(Vc,this._id),o.referenceCount++}_removeMessageReference(n,r){let o=this._messageRegistry.get(r);o.referenceCount--,k0(n,`aria-describedby`,o.messageElement.id),n.removeAttribute(Vc)}_isElementDescribedByMessage(n,r){let o=Hc(n,`aria-describedby`),i=this._messageRegistry.get(r),s=i&&i.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(n,r){if(!this._isElementNode(n))return!1;if(r&&typeof r==`object`)return!0;let o=r==null?``:`${r}`.trim(),i=n.getAttribute(`aria-label`);return o?!i||i.trim()!==o:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();function Ep(e,t){return typeof e==`string`?`${t||``}/${e}`:e}function g_(e,t){e.id||(e.id=`${y_}-${t}-${wp++}`)}function Ip(){return typeof __karma__<`u`&&!!__karma__||typeof jasmine<`u`&&!!jasmine||typeof jest<`u`&&!!jest||typeof Mocha<`u`&&!!Mocha}var _o;var b_=[`color`,`button`,`checkbox`,`date`,`datetime-local`,`email`,`file`,`hidden`,`image`,`month`,`number`,`password`,`radio`,`range`,`reset`,`search`,`submit`,`tel`,`text`,`time`,`url`,`week`];function H9(){if(_o)return _o;if(typeof document!=`object`||!document)return _o=new Set(b_),_o;let e=document.createElement(`input`);return _o=new Set(b_.filter(t=>(e.setAttribute(`type`,t),e.type===t))),_o}var F0=new v(`MATERIAL_ANIMATIONS`);var __=null;function P0(){return h(F0,{optional:!0})?.animationsDisabled||h(li,{optional:!0})===`NoopAnimations`?`di-disabled`:(__??=h(Tc).matchMedia(`(prefers-reduced-motion)`).matches,__?`reduced-motion`:`enabled`)}function Do(){return P0()!==`enabled`}function ue(e){return e==null?``:typeof e==`string`?e:`${e}px`}function K9(e){return e!=null&&`${e}`!=`false`}var ot=(function(e){return e[e.FADING_IN=0]=`FADING_IN`,e[e.VISIBLE=1]=`VISIBLE`,e[e.FADING_OUT=2]=`FADING_OUT`,e[e.HIDDEN=3]=`HIDDEN`,e})(ot||{});var Sp=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=ot.HIDDEN;constructor(t,n,r,o=!1){this._renderer=t,this.element=n,this.config=r,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}};var D_=vo({passive:!0,capture:!0});var Cp=class{_events=new Map;addHandler(t,n,r,o){let i=this._events.get(n);if(i){let s=i.get(r);s?s.add(o):i.set(r,new Set([o]))}else this._events.set(n,new Map([[r,new Set([o])]])),t.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,D_)})}removeHandler(t,n,r){let o=this._events.get(t);if(!o)return;let i=o.get(n);i&&(i.delete(r),i.size===0&&o.delete(n),o.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,D_)))}_delegateEventHandler=t=>{let n=Ne(t);n&&this._events.get(t.type)?.forEach((r,o)=>{(o===n||o.contains(n))&&r.forEach(i=>i.handleEvent(t))})}};var Yi={enterDuration:225,exitDuration:150};var L0=800;var E_=vo({passive:!0,capture:!0});var w_=[`mousedown`,`touchstart`];var I_=[`mouseup`,`mouseleave`,`touchend`,`touchcancel`];var j0=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵcmp=Ee({type:e,selectors:[[`ng-component`]],hostAttrs:[`mat-ripple-style-loader`,``],decls:0,vars:0,template:function(r,o){},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(--%NS%mat-ripple-color, color-mix(in srgb, var(--%NS%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;
}
`],encapsulation:2})}return e})();var Zi=class e{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Cp;constructor(t,n,r,o,i){this._target=t,this._ngZone=n,this._platform=o,o.isBrowser&&(this._containerElement=nt(r)),i&&i.get(rt).load(j0)}fadeInRipple(t,n,r={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=E$1(E$1({},Yi),r.animation);r.centered&&(t=o.left+o.width/2,n=o.top+o.height/2);let s=r.radius||B0(t,n,o),a=t-o.left,c=n-o.top,l=i.enterDuration,u=document.createElement(`div`);u.classList.add(`mat-ripple-element`),u.style.left=`${a-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,r.color!=null&&(u.style.backgroundColor=r.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);let d=window.getComputedStyle(u),p=d.transitionProperty,f=d.transitionDuration,m=p===`none`||f===`0s`||f===`0s, 0s`||o.width===0&&o.height===0,g=new Sp(this,u,r,m);u.style.transform=`scale3d(1, 1, 1)`,g.state=ot.FADING_IN,r.persistent||(this._mostRecentTransientRipple=g);let D=null;return!m&&(l||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let b=()=>{D&&(D.fallbackTimer=null),clearTimeout(be),this._finishRippleTransition(g)},B=()=>this._destroyRipple(g),be=setTimeout(B,l+100);u.addEventListener(`transitionend`,b),u.addEventListener(`transitioncancel`,B),D={onTransitionEnd:b,onTransitionCancel:B,fallbackTimer:be}}),this._activeRipples.set(g,D),(m||!l)&&this._finishRippleTransition(g),g}fadeOutRipple(t){if(t.state===ot.FADING_OUT||t.state===ot.HIDDEN)return;let n=t.element,r=E$1(E$1({},Yi),t.config.animation);n.style.transitionDuration=`${r.exitDuration}ms`,n.style.opacity=`0`,t.state=ot.FADING_OUT,(t._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let n=nt(t);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,w_.forEach(r=>{e._eventManager.addHandler(this._ngZone,r,n,this)}))}handleEvent(t){t.type===`mousedown`?this._onMousedown(t):t.type===`touchstart`?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{I_.forEach(n=>{this._triggerElement.addEventListener(n,this,E_)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===ot.FADING_IN?this._startFadeOutTransition(t):t.state===ot.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let n=t===this._mostRecentTransientRipple,{persistent:r}=t.config;t.state=ot.VISIBLE,!r&&(!n||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let n=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=ot.HIDDEN,n!==null&&(t.element.removeEventListener(`transitionend`,n.onTransitionEnd),t.element.removeEventListener(`transitioncancel`,n.onTransitionCancel),n.fallbackTimer!==null&&clearTimeout(n.fallbackTimer)),t.element.remove()}_onMousedown(t){let n=$i(t),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+L0;!this._target.rippleDisabled&&!n&&!r&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!zi(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let n=t.changedTouches;if(n)for(let r=0;r<n.length;r++)this.fadeInRipple(n[r].clientX,n[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let n=t.state===ot.VISIBLE||t.config.terminateOnPointerUp&&t.state===ot.FADING_IN;!t.config.persistent&&n&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(w_.forEach(n=>e._eventManager.removeHandler(n,t,this)),this._pointerUpEventsRegistered&&(I_.forEach(n=>t.removeEventListener(n,this,E_)),this._pointerUpEventsRegistered=!1))}};function B0(e,t,n){let r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),o=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+o*o)}var xp=new v(`mat-ripple-global-options`);var uY=(()=>{class e{_elementRef=h(q);_animationsDisabled=Do();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let n=h(O),r=h(re),o=h(xp,{optional:!0}),i=h(V);this._globalOptions=o||{},this._rippleRenderer=new Zi(this,n,this._elementRef,r,i)}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$1(E$1(E$1({},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(n,r=0,o){return typeof n==`number`?this._rippleRenderer.fadeInRipple(n,r,E$1(E$1({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,E$1(E$1({},this.rippleConfig),n))}static ɵfac=function(r){return new(r||e)};static ɵdir=Z({type:e,selectors:[[``,`mat-ripple`,``],[``,`matRipple`,``]],hostAttrs:[1,`mat-ripple`],hostVars:2,hostBindings:function(r,o){r&2&&vt(`mat-ripple-unbounded`,o.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 e})();var V0={capture:!0};var H0=[`focus`,`mousedown`,`mouseenter`,`touchstart`];var Tp=`mat-ripple-loader-uninitialized`;var Np=`mat-ripple-loader-class-name`;var S_=`mat-ripple-loader-centered`;var Uc=`mat-ripple-loader-disabled`;var C_=(()=>{class e{_document=h(R);_animationsDisabled=Do();_globalRippleOptions=h(xp,{optional:!0});_platform=h(re);_ngZone=h(O);_injector=h(V);_eventCleanups;_hosts=new Map;constructor(){let n=h(me).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>H0.map(r=>n.listen(this._document,r,this._onInteraction,V0)))}ngOnDestroy(){let n=this._hosts.keys();for(let r of n)this.destroyRipple(r);this._eventCleanups.forEach(r=>r())}configureRipple(n,r){n.setAttribute(Tp,this._globalRippleOptions?.namespace??``),(r.className||!n.hasAttribute(Np))&&n.setAttribute(Np,r.className||``),r.centered&&n.setAttribute(S_,``),r.disabled&&n.setAttribute(Uc,``)}setDisabled(n,r){let o=this._hosts.get(n);o?(o.target.rippleDisabled=r,!r&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(n))):r?n.setAttribute(Uc,``):n.removeAttribute(Uc)}_onInteraction=n=>{let r=Ne(n);if(r instanceof HTMLElement){let o=r.closest(`[${Tp}="${this._globalRippleOptions?.namespace??``}"]`);o&&this._createRipple(o)}};_createRipple(n){if(!this._document||this._hosts.has(n))return;n.querySelector(`.mat-ripple`)?.remove();let r=this._document.createElement(`span`);r.classList.add(`mat-ripple`,n.getAttribute(Np)),n.append(r);let o=this._globalRippleOptions,i=this._animationsDisabled?0:o?.animation?.enterDuration??Yi.enterDuration,s=this._animationsDisabled?0:o?.animation?.exitDuration??Yi.exitDuration,a={rippleDisabled:this._animationsDisabled||o?.disabled||n.hasAttribute(Uc),rippleConfig:{centered:n.hasAttribute(S_),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:i,exitDuration:s}}},c=new Zi(a,this._ngZone,r,this._platform,this._injector),l=!a.rippleDisabled;l&&c.setupTriggerEvents(n),this._hosts.set(n,{target:a,renderer:c,hasSetUpEvents:l}),n.removeAttribute(Tp)}destroyRipple(n){let r=this._hosts.get(n);r&&(r.renderer._removeTriggerEvents(),this._hosts.delete(n))}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var x_=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵcmp=Ee({type:e,selectors:[[`structural-styles`]],decls:0,vars:0,template:function(r,o){},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(--%NS%mat-focus-indicator-display, none);
  border-width: var(--%NS%mat-focus-indicator-border-width, 3px);
  border-style: var(--%NS%mat-focus-indicator-border-style, solid);
  border-color: var(--%NS%mat-focus-indicator-border-color, transparent);
  border-radius: var(--%NS%mat-focus-indicator-border-radius, 4px);
}
.mat-focus-indicator:focus-visible::before {
  content: "";
}

@media (forced-colors: active) {
  html {
    --%NS%mat-focus-indicator-display: block;
    --%NS%mat-focus-indicator-fallback-border-style: none;
  }
}
`],encapsulation:2})}return e})();var U0=[`*`,[[``,`progressIndicator`,``]]];var $0=[`*`,`[progressIndicator]`];function z0(e,t){e&1&&(Je(0,`div`,1),Te(1,1),et())}var W0=new v(`MAT_BUTTON_CONFIG`);function T_(e){return e==null?void 0:jf(e)}var $c=(()=>{class e{_elementRef=h(q);_ngZone=h(O);_animationsDisabled=Do();_config=h(W0,{optional:!0});_focusMonitor=h(Pc);_cleanupClick;_renderer=h(Xe);_rippleLoader=h(C_);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(n){this.tabIndex=n}showProgress=lb(!1,{transform:le});constructor(){h(rt).load(x_);let n=this._elementRef.nativeElement;this._isAnchor=n.tagName===`A`,this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(n,{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(n=`program`,r){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,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`,n=>{this.disabled&&(n.preventDefault(),n.stopImmediatePropagation())}))}static ɵfac=function(r){return new(r||e)};static ɵdir=Z({type:e,hostAttrs:[1,`mat-mdc-button-base`],hostVars:15,hostBindings:function(r,o){r&2&&(xi(`disabled`,o._getDisabledAttribute())(`aria-disabled`,o._getAriaDisabled())(`tabindex`,o._getTabIndex()),Tf(o.color?`mat-`+o.color:``),vt(`mat-mdc-button-progress-indicator-shown`,o.showProgress())(`mat-mdc-button-disabled`,o.disabled)(`mat-mdc-button-disabled-interactive`,o.disabledInteractive)(`mat-unthemed`,!o.color)(`_mat-animation-noopable`,o._animationsDisabled))},inputs:{color:`color`,disableRipple:[2,`disableRipple`,`disableRipple`,le],disabled:[2,`disabled`,`disabled`,le],ariaDisabled:[2,`aria-disabled`,`ariaDisabled`,le],disabledInteractive:[2,`disabledInteractive`,`disabledInteractive`,le],tabIndex:[2,`tabIndex`,`tabIndex`,T_],_tabindex:[2,`tabindex`,`_tabindex`,T_],showProgress:[1,`showProgress`]}})}return e})();var G0=(()=>{class e extends $c{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static ɵfac=function(r){return new(r||e)};static ɵcmp=Ee({type:e,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:[ze],ngContentSelectors:$0,decls:5,vars:1,consts:[[1,`mat-mdc-button-persistent-ripple`,`mdc-icon-button__ripple`],[1,`mat-mdc-button-progress-indicator-container`],[1,`mat-focus-indicator`],[1,`mat-mdc-button-touch-target`]],template:function(r,o){r&1&&(Cn(U0),tt(0,`span`,0),Te(1),co(2,z0,2,0,`div`,1),tt(3,`span`,2)(4,`span`,3)),r&2&&(Sn(2),lo(o.showProgress()?2:-1))},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: transparent;
  fill: currentColor;
  text-decoration: none;
  cursor: pointer;
  z-index: 0;
  overflow: visible;
  border-radius: var(--%NS%mat-icon-button-container-shape, var(--%NS%mat-sys-corner-full, 50%));
  flex-shrink: 0;
  text-align: center;
  width: var(--%NS%mat-icon-button-state-layer-size, 40px);
  height: var(--%NS%mat-icon-button-state-layer-size, 40px);
  padding: calc(calc(var(--%NS%mat-icon-button-state-layer-size, 40px) - var(--%NS%mat-icon-button-icon-size, 24px)) / 2);
  font-size: var(--%NS%mat-icon-button-icon-size, 24px);
  color: var(--%NS%mat-icon-button-icon-color, var(--%NS%mat-sys-on-surface-variant));
  -webkit-tap-highlight-color: transparent;
}
.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-visible > .mat-focus-indicator::before {
  content: "";
  border-radius: inherit;
}
.mat-mdc-icon-button .mat-ripple-element {
  background-color: var(--%NS%mat-icon-button-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface-variant) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));
}
.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-icon-button-state-layer-color, var(--%NS%mat-sys-on-surface-variant));
}
.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-icon-button-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));
}
.mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-icon-button-hover-state-layer-opacity, var(--%NS%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(--%NS%mat-icon-button-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
}
.mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-icon-button-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
}
.mat-mdc-icon-button .mat-mdc-button-touch-target {
  position: absolute;
  top: 50%;
  height: var(--%NS%mat-icon-button-touch-target-size, 48px);
  display: var(--%NS%mat-icon-button-touch-target-display, block);
  left: 50%;
  width: var(--%NS%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(--%NS%mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--%NS%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(--%NS%mat-icon-button-icon-size, 24px);
  height: var(--%NS%mat-icon-button-icon-size, 24px);
  vertical-align: baseline;
}
.mat-mdc-icon-button .mat-mdc-button-progress-indicator-container .mdc-circular-progress__determinate-circle-graphic {
  width: inherit;
  height: inherit;
}
.mat-mdc-icon-button .mat-mdc-button-progress-indicator-container .mdc-circular-progress__indeterminate-circle-graphic {
  height: 100%;
}
.mat-mdc-icon-button .mat-mdc-button-persistent-ripple {
  border-radius: var(--%NS%mat-icon-button-container-shape, var(--%NS%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: transparent;
  opacity: 1;
}

.mat-mdc-button-progress-indicator-container {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.mat-mdc-button-progress-indicator-shown mat-icon {
  visibility: hidden;
}
`,`@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;
  }
}
`],encapsulation:2})}return e})();var N_=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=oe({type:e});static ɵinj=te({imports:[nn]})}return e})();var A_=[[[``,8,`material-icons`,3,`iconPositionEnd`,``],[`mat-icon`,3,`iconPositionEnd`,``],[``,`matButtonIcon`,``,3,`iconPositionEnd`,``]],`*`,[[``,`iconPositionEnd`,``,8,`material-icons`],[`mat-icon`,`iconPositionEnd`,``],[``,`matButtonIcon`,``,`iconPositionEnd`,``]],[[``,`progressIndicator`,``]]];var R_=[`.material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])`,`*`,`.material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]`,`[progressIndicator]`];function q0(e,t){e&1&&(Je(0,`div`,2),Te(1,3),et())}function Y0(e,t){e&1&&(Je(0,`div`,2),Te(1,3),et())}var Z0=`.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: transparent;
}
.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-visible > .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 transparent;
  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(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1);
  border-radius: calc(var(--%NS%mat-fab-container-shape, var(--%NS%mat-sys-corner-large)) + calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px));
}
.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(--%NS%mat-fab-container-color, var(--%NS%mat-sys-primary-container));
  border-radius: var(--%NS%mat-fab-container-shape, var(--%NS%mat-sys-corner-large));
  color: var(--%NS%mat-fab-foreground-color, var(--%NS%mat-sys-on-primary-container, inherit));
  box-shadow: var(--%NS%mat-fab-container-elevation-shadow, var(--%NS%mat-sys-level3));
}
@media (hover: hover) {
  .mat-mdc-fab:hover {
    box-shadow: var(--%NS%mat-fab-hover-container-elevation-shadow, var(--%NS%mat-sys-level4));
  }
}
.mat-mdc-fab:focus {
  box-shadow: var(--%NS%mat-fab-focus-container-elevation-shadow, var(--%NS%mat-sys-level3));
}
.mat-mdc-fab:active, .mat-mdc-fab:focus:active {
  box-shadow: var(--%NS%mat-fab-pressed-container-elevation-shadow, var(--%NS%mat-sys-level3));
}
.mat-mdc-fab[disabled], .mat-mdc-fab.mat-mdc-button-disabled {
  cursor: default;
  pointer-events: none;
  color: var(--%NS%mat-fab-disabled-state-foreground-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
  background-color: var(--%NS%mat-fab-disabled-state-container-color, color-mix(in srgb, var(--%NS%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(--%NS%mat-fab-touch-target-size, 48px);
  display: var(--%NS%mat-fab-touch-target-display, block);
  left: 50%;
  width: var(--%NS%mat-fab-touch-target-size, 48px);
  transform: translate(-50%, -50%);
}
.mat-mdc-fab .mat-ripple-element {
  background-color: var(--%NS%mat-fab-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-primary-container) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));
}
.mat-mdc-fab .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-fab-state-layer-color, var(--%NS%mat-sys-on-primary-container));
}
.mat-mdc-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-fab-disabled-state-layer-color);
}
.mat-mdc-fab:hover > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-fab-hover-state-layer-opacity, var(--%NS%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(--%NS%mat-fab-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
}
.mat-mdc-fab:active > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-fab-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
}

.mat-mdc-mini-fab {
  width: 40px;
  height: 40px;
  background-color: var(--%NS%mat-fab-small-container-color, var(--%NS%mat-sys-primary-container));
  border-radius: var(--%NS%mat-fab-small-container-shape, var(--%NS%mat-sys-corner-medium));
  color: var(--%NS%mat-fab-small-foreground-color, var(--%NS%mat-sys-on-primary-container, inherit));
  box-shadow: var(--%NS%mat-fab-small-container-elevation-shadow, var(--%NS%mat-sys-level3));
}
@media (hover: hover) {
  .mat-mdc-mini-fab:hover {
    box-shadow: var(--%NS%mat-fab-small-hover-container-elevation-shadow, var(--%NS%mat-sys-level4));
  }
}
.mat-mdc-mini-fab:focus {
  box-shadow: var(--%NS%mat-fab-small-focus-container-elevation-shadow, var(--%NS%mat-sys-level3));
}
.mat-mdc-mini-fab:active, .mat-mdc-mini-fab:focus:active {
  box-shadow: var(--%NS%mat-fab-small-pressed-container-elevation-shadow, var(--%NS%mat-sys-level3));
}
.mat-mdc-mini-fab .mat-focus-indicator::before {
  border-radius: calc(var(--%NS%mat-fab-small-container-shape, var(--%NS%mat-sys-corner-medium)) + calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 2px));
}
.mat-mdc-mini-fab[disabled], .mat-mdc-mini-fab.mat-mdc-button-disabled {
  cursor: default;
  pointer-events: none;
  color: var(--%NS%mat-fab-small-disabled-state-foreground-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
  background-color: var(--%NS%mat-fab-small-disabled-state-container-color, color-mix(in srgb, var(--%NS%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(--%NS%mat-fab-small-touch-target-size, 48px);
  display: var(--%NS%mat-fab-small-touch-target-display);
  left: 50%;
  width: var(--%NS%mat-fab-small-touch-target-size, 48px);
  transform: translate(-50%, -50%);
}
.mat-mdc-mini-fab .mat-ripple-element {
  background-color: var(--%NS%mat-fab-small-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-primary-container) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));
}
.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-fab-small-state-layer-color, var(--%NS%mat-sys-on-primary-container));
}
.mat-mdc-mini-fab.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-fab-small-disabled-state-layer-color);
}
.mat-mdc-mini-fab:hover > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-fab-small-hover-state-layer-opacity, var(--%NS%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(--%NS%mat-fab-small-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
}
.mat-mdc-mini-fab:active > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-fab-small-pressed-state-layer-opacity, var(--%NS%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(--%NS%mat-fab-extended-container-elevation-shadow, var(--%NS%mat-sys-level3));
  height: var(--%NS%mat-fab-extended-container-height, 56px);
  border-radius: var(--%NS%mat-fab-extended-container-shape, var(--%NS%mat-sys-corner-large));
  font-family: var(--%NS%mat-fab-extended-label-text-font, var(--%NS%mat-sys-label-large-font));
  font-size: var(--%NS%mat-fab-extended-label-text-size, var(--%NS%mat-sys-label-large-size));
  font-weight: var(--%NS%mat-fab-extended-label-text-weight, var(--%NS%mat-sys-label-large-weight));
  letter-spacing: var(--%NS%mat-fab-extended-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));
}
@media (hover: hover) {
  .mat-mdc-extended-fab:hover {
    box-shadow: var(--%NS%mat-fab-extended-hover-container-elevation-shadow, var(--%NS%mat-sys-level4));
  }
}
.mat-mdc-extended-fab:focus {
  box-shadow: var(--%NS%mat-fab-extended-focus-container-elevation-shadow, var(--%NS%mat-sys-level3));
}
.mat-mdc-extended-fab:active, .mat-mdc-extended-fab:focus:active {
  box-shadow: var(--%NS%mat-fab-extended-pressed-container-elevation-shadow, var(--%NS%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%;
}

.mat-mdc-button-progress-indicator-container {
  position: absolute;
  inset-inline-start: 0;
  margin-block-start: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.mat-mdc-button-progress-indicator-shown mat-icon,
.mat-mdc-button-progress-indicator-shown [matButtonIcon],
.mat-mdc-button-progress-indicator-shown .mdc-button__label {
  visibility: hidden;
}
`;var M_=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`]]]);var HY=(()=>{class e extends $c{get appearance(){return this._appearance}set appearance(n){this.setAppearance(n||this._config?.defaultAppearance||`text`)}_appearance=null;constructor(){super();let n=K0(this._elementRef.nativeElement);n&&this.setAppearance(n)}setAppearance(n){if(n===this._appearance)return;let r=this._elementRef.nativeElement.classList,o=this._appearance?M_.get(this._appearance):null,i=M_.get(n);o&&r.remove(...o),r.add(...i),this._appearance=n}static ɵfac=function(r){return new(r||e)};static ɵcmp=Ee({type:e,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:[ze],ngContentSelectors:R_,decls:8,vars:5,consts:[[1,`mat-mdc-button-persistent-ripple`],[1,`mdc-button__label`],[1,`mat-mdc-button-progress-indicator-container`],[1,`mat-focus-indicator`],[1,`mat-mdc-button-touch-target`]],template:function(r,o){r&1&&(Cn(A_),tt(0,`span`,0),Te(1),Je(2,`span`,1),Te(3,1),et(),Te(4,2),co(5,q0,2,0,`div`,2),tt(6,`span`,3)(7,`span`,4)),r&2&&(vt(`mdc-button__ripple`,!o._isFab)(`mdc-fab__ripple`,o._isFab),Sn(5),lo(o.showProgress()?5:-1))},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: transparent;
  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(--%NS%mat-button-text-horizontal-padding, 12px);
  height: var(--%NS%mat-button-text-container-height, 40px);
  font-family: var(--%NS%mat-button-text-label-text-font, var(--%NS%mat-sys-label-large-font));
  font-size: var(--%NS%mat-button-text-label-text-size, var(--%NS%mat-sys-label-large-size));
  letter-spacing: var(--%NS%mat-button-text-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));
  text-transform: var(--%NS%mat-button-text-label-text-transform);
  font-weight: var(--%NS%mat-button-text-label-text-weight, var(--%NS%mat-sys-label-large-weight));
}
.mat-mdc-button, .mat-mdc-button .mdc-button__ripple {
  border-radius: var(--%NS%mat-button-text-container-shape, var(--%NS%mat-sys-corner-full));
}
.mat-mdc-button:not(:disabled) {
  color: var(--%NS%mat-button-text-label-text-color, var(--%NS%mat-sys-primary));
}
.mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled {
  cursor: default;
  pointer-events: none;
  color: var(--%NS%mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--%NS%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(--%NS%mat-button-text-with-icon-horizontal-padding, 16px);
}
.mat-mdc-button > .mat-icon {
  margin-right: var(--%NS%mat-button-text-icon-spacing, 8px);
  margin-left: var(--%NS%mat-button-text-icon-offset, -4px);
}
[dir=rtl] .mat-mdc-button > .mat-icon {
  margin-right: var(--%NS%mat-button-text-icon-offset, -4px);
  margin-left: var(--%NS%mat-button-text-icon-spacing, 8px);
}
.mat-mdc-button .mdc-button__label + .mat-icon {
  margin-right: var(--%NS%mat-button-text-icon-offset, -4px);
  margin-left: var(--%NS%mat-button-text-icon-spacing, 8px);
}
[dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon {
  margin-right: var(--%NS%mat-button-text-icon-spacing, 8px);
  margin-left: var(--%NS%mat-button-text-icon-offset, -4px);
}
.mat-mdc-button .mat-ripple-element {
  background-color: var(--%NS%mat-button-text-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));
}
.mat-mdc-button .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-button-text-state-layer-color, var(--%NS%mat-sys-primary));
}
.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-button-text-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));
}
.mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-button-text-hover-state-layer-opacity, var(--%NS%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(--%NS%mat-button-text-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
}
.mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-button-text-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
}
.mat-mdc-button .mat-mdc-button-touch-target {
  position: absolute;
  top: 50%;
  height: var(--%NS%mat-button-text-touch-target-size, 48px);
  display: var(--%NS%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(--%NS%mat-button-filled-container-height, 40px);
  font-family: var(--%NS%mat-button-filled-label-text-font, var(--%NS%mat-sys-label-large-font));
  font-size: var(--%NS%mat-button-filled-label-text-size, var(--%NS%mat-sys-label-large-size));
  letter-spacing: var(--%NS%mat-button-filled-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));
  text-transform: var(--%NS%mat-button-filled-label-text-transform);
  font-weight: var(--%NS%mat-button-filled-label-text-weight, var(--%NS%mat-sys-label-large-weight));
  padding: 0 var(--%NS%mat-button-filled-horizontal-padding, 24px);
}
.mat-mdc-unelevated-button > .mat-icon {
  margin-right: var(--%NS%mat-button-filled-icon-spacing, 8px);
  margin-left: var(--%NS%mat-button-filled-icon-offset, -8px);
}
[dir=rtl] .mat-mdc-unelevated-button > .mat-icon {
  margin-right: var(--%NS%mat-button-filled-icon-offset, -8px);
  margin-left: var(--%NS%mat-button-filled-icon-spacing, 8px);
}
.mat-mdc-unelevated-button .mdc-button__label + .mat-icon {
  margin-right: var(--%NS%mat-button-filled-icon-offset, -8px);
  margin-left: var(--%NS%mat-button-filled-icon-spacing, 8px);
}
[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon {
  margin-right: var(--%NS%mat-button-filled-icon-spacing, 8px);
  margin-left: var(--%NS%mat-button-filled-icon-offset, -8px);
}
.mat-mdc-unelevated-button .mat-ripple-element {
  background-color: var(--%NS%mat-button-filled-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));
}
.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-button-filled-state-layer-color, var(--%NS%mat-sys-on-primary));
}
.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-button-filled-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));
}
.mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-button-filled-hover-state-layer-opacity, var(--%NS%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(--%NS%mat-button-filled-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
}
.mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-button-filled-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
}
.mat-mdc-unelevated-button .mat-mdc-button-touch-target {
  position: absolute;
  top: 50%;
  height: var(--%NS%mat-button-filled-touch-target-size, 48px);
  display: var(--%NS%mat-button-filled-touch-target-display, block);
  left: 0;
  right: 0;
  transform: translateY(-50%);
}
.mat-mdc-unelevated-button:not(:disabled) {
  color: var(--%NS%mat-button-filled-label-text-color, var(--%NS%mat-sys-on-primary));
  background-color: var(--%NS%mat-button-filled-container-color, var(--%NS%mat-sys-primary));
}
.mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple {
  border-radius: var(--%NS%mat-button-filled-container-shape, var(--%NS%mat-sys-corner-full));
}
.mat-mdc-unelevated-button .mat-mdc-button-progress-indicator-container {
  --%NS%mat-progress-spinner-active-indicator-color: var(--%NS%mat-button-filled-progress-active-indicator-color, var(--%NS%mat-sys-on-primary));
}
.mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled {
  cursor: default;
  pointer-events: none;
  color: var(--%NS%mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
  background-color: var(--%NS%mat-button-filled-disabled-container-color, color-mix(in srgb, var(--%NS%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(--%NS%mat-button-protected-container-elevation-shadow, var(--%NS%mat-sys-level1));
  height: var(--%NS%mat-button-protected-container-height, 40px);
  font-family: var(--%NS%mat-button-protected-label-text-font, var(--%NS%mat-sys-label-large-font));
  font-size: var(--%NS%mat-button-protected-label-text-size, var(--%NS%mat-sys-label-large-size));
  letter-spacing: var(--%NS%mat-button-protected-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));
  text-transform: var(--%NS%mat-button-protected-label-text-transform);
  font-weight: var(--%NS%mat-button-protected-label-text-weight, var(--%NS%mat-sys-label-large-weight));
  padding: 0 var(--%NS%mat-button-protected-horizontal-padding, 24px);
}
.mat-mdc-raised-button > .mat-icon {
  margin-right: var(--%NS%mat-button-protected-icon-spacing, 8px);
  margin-left: var(--%NS%mat-button-protected-icon-offset, -8px);
}
[dir=rtl] .mat-mdc-raised-button > .mat-icon {
  margin-right: var(--%NS%mat-button-protected-icon-offset, -8px);
  margin-left: var(--%NS%mat-button-protected-icon-spacing, 8px);
}
.mat-mdc-raised-button .mdc-button__label + .mat-icon {
  margin-right: var(--%NS%mat-button-protected-icon-offset, -8px);
  margin-left: var(--%NS%mat-button-protected-icon-spacing, 8px);
}
[dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon {
  margin-right: var(--%NS%mat-button-protected-icon-spacing, 8px);
  margin-left: var(--%NS%mat-button-protected-icon-offset, -8px);
}
.mat-mdc-raised-button .mat-ripple-element {
  background-color: var(--%NS%mat-button-protected-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));
}
.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-button-protected-state-layer-color, var(--%NS%mat-sys-primary));
}
.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-button-protected-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));
}
.mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-button-protected-hover-state-layer-opacity, var(--%NS%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(--%NS%mat-button-protected-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
}
.mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-button-protected-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
}
.mat-mdc-raised-button .mat-mdc-button-touch-target {
  position: absolute;
  top: 50%;
  height: var(--%NS%mat-button-protected-touch-target-size, 48px);
  display: var(--%NS%mat-button-protected-touch-target-display, block);
  left: 0;
  right: 0;
  transform: translateY(-50%);
}
.mat-mdc-raised-button:not(:disabled) {
  color: var(--%NS%mat-button-protected-label-text-color, var(--%NS%mat-sys-primary));
  background-color: var(--%NS%mat-button-protected-container-color, var(--%NS%mat-sys-surface));
}
.mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple {
  border-radius: var(--%NS%mat-button-protected-container-shape, var(--%NS%mat-sys-corner-full));
}
@media (hover: hover) {
  .mat-mdc-raised-button:hover {
    box-shadow: var(--%NS%mat-button-protected-hover-container-elevation-shadow, var(--%NS%mat-sys-level2));
  }
}
.mat-mdc-raised-button:focus {
  box-shadow: var(--%NS%mat-button-protected-focus-container-elevation-shadow, var(--%NS%mat-sys-level1));
}
.mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active {
  box-shadow: var(--%NS%mat-button-protected-pressed-container-elevation-shadow, var(--%NS%mat-sys-level1));
}
.mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled {
  cursor: default;
  pointer-events: none;
  color: var(--%NS%mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
  background-color: var(--%NS%mat-button-protected-disabled-container-color, color-mix(in srgb, var(--%NS%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(--%NS%mat-button-protected-disabled-container-elevation-shadow, var(--%NS%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(--%NS%mat-button-outlined-container-height, 40px);
  font-family: var(--%NS%mat-button-outlined-label-text-font, var(--%NS%mat-sys-label-large-font));
  font-size: var(--%NS%mat-button-outlined-label-text-size, var(--%NS%mat-sys-label-large-size));
  letter-spacing: var(--%NS%mat-button-outlined-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));
  text-transform: var(--%NS%mat-button-outlined-label-text-transform);
  font-weight: var(--%NS%mat-button-outlined-label-text-weight, var(--%NS%mat-sys-label-large-weight));
  border-radius: var(--%NS%mat-button-outlined-container-shape, var(--%NS%mat-sys-corner-full));
  border-width: var(--%NS%mat-button-outlined-outline-width, 1px);
  padding: 0 var(--%NS%mat-button-outlined-horizontal-padding, 24px);
}
.mat-mdc-outlined-button > .mat-icon {
  margin-right: var(--%NS%mat-button-outlined-icon-spacing, 8px);
  margin-left: var(--%NS%mat-button-outlined-icon-offset, -8px);
}
[dir=rtl] .mat-mdc-outlined-button > .mat-icon {
  margin-right: var(--%NS%mat-button-outlined-icon-offset, -8px);
  margin-left: var(--%NS%mat-button-outlined-icon-spacing, 8px);
}
.mat-mdc-outlined-button .mdc-button__label + .mat-icon {
  margin-right: var(--%NS%mat-button-outlined-icon-offset, -8px);
  margin-left: var(--%NS%mat-button-outlined-icon-spacing, 8px);
}
[dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon {
  margin-right: var(--%NS%mat-button-outlined-icon-spacing, 8px);
  margin-left: var(--%NS%mat-button-outlined-icon-offset, -8px);
}
.mat-mdc-outlined-button .mat-ripple-element {
  background-color: var(--%NS%mat-button-outlined-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-primary) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));
}
.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-button-outlined-state-layer-color, var(--%NS%mat-sys-primary));
}
.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-button-outlined-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));
}
.mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-button-outlined-hover-state-layer-opacity, var(--%NS%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(--%NS%mat-button-outlined-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
}
.mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-button-outlined-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
}
.mat-mdc-outlined-button .mat-mdc-button-touch-target {
  position: absolute;
  top: 50%;
  height: var(--%NS%mat-button-outlined-touch-target-size, 48px);
  display: var(--%NS%mat-button-outlined-touch-target-display, block);
  left: 0;
  right: 0;
  transform: translateY(-50%);
}
.mat-mdc-outlined-button:not(:disabled) {
  color: var(--%NS%mat-button-outlined-label-text-color, var(--%NS%mat-sys-primary));
  border-color: var(--%NS%mat-button-outlined-outline-color, var(--%NS%mat-sys-outline));
}
.mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled {
  cursor: default;
  pointer-events: none;
  color: var(--%NS%mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
  border-color: var(--%NS%mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--%NS%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(--%NS%mat-button-tonal-container-height, 40px);
  font-family: var(--%NS%mat-button-tonal-label-text-font, var(--%NS%mat-sys-label-large-font));
  font-size: var(--%NS%mat-button-tonal-label-text-size, var(--%NS%mat-sys-label-large-size));
  letter-spacing: var(--%NS%mat-button-tonal-label-text-tracking, var(--%NS%mat-sys-label-large-tracking));
  text-transform: var(--%NS%mat-button-tonal-label-text-transform);
  font-weight: var(--%NS%mat-button-tonal-label-text-weight, var(--%NS%mat-sys-label-large-weight));
  padding: 0 var(--%NS%mat-button-tonal-horizontal-padding, 24px);
}
.mat-tonal-button:not(:disabled) {
  color: var(--%NS%mat-button-tonal-label-text-color, var(--%NS%mat-sys-on-secondary-container));
  background-color: var(--%NS%mat-button-tonal-container-color, var(--%NS%mat-sys-secondary-container));
}
.mat-tonal-button, .mat-tonal-button .mdc-button__ripple {
  border-radius: var(--%NS%mat-button-tonal-container-shape, var(--%NS%mat-sys-corner-full));
}
.mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled {
  cursor: default;
  pointer-events: none;
  color: var(--%NS%mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--%NS%mat-sys-on-surface) 38%, transparent));
  background-color: var(--%NS%mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--%NS%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(--%NS%mat-button-tonal-icon-spacing, 8px);
  margin-left: var(--%NS%mat-button-tonal-icon-offset, -8px);
}
[dir=rtl] .mat-tonal-button > .mat-icon {
  margin-right: var(--%NS%mat-button-tonal-icon-offset, -8px);
  margin-left: var(--%NS%mat-button-tonal-icon-spacing, 8px);
}
.mat-tonal-button .mdc-button__label + .mat-icon {
  margin-right: var(--%NS%mat-button-tonal-icon-offset, -8px);
  margin-left: var(--%NS%mat-button-tonal-icon-spacing, 8px);
}
[dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon {
  margin-right: var(--%NS%mat-button-tonal-icon-spacing, 8px);
  margin-left: var(--%NS%mat-button-tonal-icon-offset, -8px);
}
.mat-tonal-button .mat-ripple-element {
  background-color: var(--%NS%mat-button-tonal-ripple-color, color-mix(in srgb, var(--%NS%mat-sys-on-secondary-container) calc(var(--%NS%mat-sys-pressed-state-layer-opacity) * 100%), transparent));
}
.mat-tonal-button .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-button-tonal-state-layer-color, var(--%NS%mat-sys-on-secondary-container));
}
.mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before {
  background-color: var(--%NS%mat-button-tonal-disabled-state-layer-color, var(--%NS%mat-sys-on-surface-variant));
}
.mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-button-tonal-hover-state-layer-opacity, var(--%NS%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(--%NS%mat-button-tonal-focus-state-layer-opacity, var(--%NS%mat-sys-focus-state-layer-opacity));
}
.mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before {
  opacity: var(--%NS%mat-button-tonal-pressed-state-layer-opacity, var(--%NS%mat-sys-pressed-state-layer-opacity));
}
.mat-tonal-button .mat-mdc-button-touch-target {
  position: absolute;
  top: 50%;
  height: var(--%NS%mat-button-tonal-touch-target-size, 48px);
  display: var(--%NS%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: transparent;
}
.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-visible > .mat-focus-indicator::before,
.mat-mdc-unelevated-button:focus-visible > .mat-focus-indicator::before,
.mat-mdc-raised-button:focus-visible > .mat-focus-indicator::before,
.mat-mdc-outlined-button:focus-visible > .mat-focus-indicator::before,
.mat-tonal-button:focus-visible > .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(--%NS%mat-focus-indicator-border-width, 3px) + 2px) * -1);
}

.mat-mdc-outlined-button .mat-focus-indicator::before {
  margin: calc(calc(var(--%NS%mat-focus-indicator-border-width, 3px) + 3px) * -1);
}

.mat-mdc-button-progress-indicator-container {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.mat-mdc-button-progress-indicator-shown mat-icon,
.mat-mdc-button-progress-indicator-shown [matButtonIcon],
.mat-mdc-button-progress-indicator-shown .mdc-button__label {
  visibility: hidden;
}
`,`@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;
  }
}
`],encapsulation:2})}return e})();function K0(e){return e.hasAttribute(`mat-raised-button`)?`elevated`:e.hasAttribute(`mat-stroked-button`)?`outlined`:e.hasAttribute(`mat-flat-button`)?`filled`:e.hasAttribute(`mat-button`)?`text`:null}var X0=new v(`mat-mdc-fab-default-options`,{providedIn:`root`,factory:()=>Mp});var Mp={color:`accent`};var UY=(()=>{class e extends $c{_options=h(X0,{optional:!0});_isFab=!0;constructor(){super(),this._options=this._options||Mp,this.color=this._options.color||Mp.color}static ɵfac=function(r){return new(r||e)};static ɵcmp=Ee({type:e,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:[ze],ngContentSelectors:R_,decls:8,vars:5,consts:[[1,`mat-mdc-button-persistent-ripple`],[1,`mdc-button__label`],[1,`mat-mdc-button-progress-indicator-container`],[1,`mat-focus-indicator`],[1,`mat-mdc-button-touch-target`]],template:function(r,o){r&1&&(Cn(A_),tt(0,`span`,0),Te(1),Je(2,`span`,1),Te(3,1),et(),Te(4,2),co(5,Y0,2,0,`div`,2),tt(6,`span`,3)(7,`span`,4)),r&2&&(vt(`mdc-button__ripple`,!o._isFab)(`mdc-fab__ripple`,o._isFab),Sn(5),lo(o.showProgress()?5:-1))},styles:[Z0],encapsulation:2})}return e})();var $Y=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=oe({type:e});static ɵinj=te({imports:[N_,nn]})}return e})();function Q0(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var he=Q0;var zc=typeof global==`object`&&global&&global.Object===Object&&global;var eA=typeof self==`object`&&self&&self.Object===Object&&self;var Le=zc||eA||Function(`return this`)();var nA=function(){return Le.Date.now()};var Wc=nA;var rA=/\s/;function oA(e){for(var t=e.length;t--&&rA.test(e.charAt(t)););return t}var O_=oA;var iA=/^\s+/;function sA(e){return e&&e.slice(0,O_(e)+1).replace(iA,``)}var k_=sA;var Eo=Le.Symbol;var F_=Object.prototype;var cA=F_.hasOwnProperty;var lA=F_.toString;var Ki=Eo?Eo.toStringTag:void 0;function uA(e){var t=cA.call(e,Ki),n=e[Ki];try{e[Ki]=void 0;var r=!0}catch(i){}var o=lA.call(e);return r&&(t?e[Ki]=n:delete e[Ki]),o}var P_=uA;var fA=Object.prototype.toString;function pA(e){return fA.call(e)}var L_=pA;var hA=`[object Null]`;var mA=`[object Undefined]`;var j_=Eo?Eo.toStringTag:void 0;function gA(e){return e==null?e===void 0?mA:hA:j_&&j_ in Object(e)?P_(e):L_(e)}var Ft=gA;function vA(e){return e!=null&&typeof e==`object`}var it=vA;var yA=`[object Symbol]`;function bA(e){return typeof e==`symbol`||it(e)&&Ft(e)==yA}var B_=bA;var V_=NaN;var _A=/^[-+]0x[0-9a-f]+$/i;var DA=/^0b[01]+$/i;var EA=/^0o[0-7]+$/i;var wA=parseInt;function IA(e){if(typeof e==`number`)return e;if(B_(e))return V_;if(he(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=he(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=k_(e);var n=DA.test(e);return n||EA.test(e)?wA(e.slice(2),n?2:8):_A.test(e)?V_:+e}var Ap=IA;var SA=`Expected a function`;var CA=Math.max;var xA=Math.min;function TA(e,t,n){var r,o,i,s,a,c,l=0,u=!1,d=!1,p=!0;if(typeof e!=`function`)throw new TypeError(SA);t=Ap(t)||0,he(n)&&(u=!!n.leading,d=`maxWait`in n,i=d?CA(Ap(n.maxWait)||0,t):i,p=`trailing`in n?!!n.trailing:p);function f(z){var Me=r,We=o;return r=o=void 0,l=z,s=e.apply(We,Me),s}function m(z){return l=z,a=setTimeout(b,t),u?f(z):s}function g(z){var Me=z-c,We=z-l,at=t-Me;return d?xA(at,i-We):at}function D(z){var Me=z-c,We=z-l;return c===void 0||Me>=t||Me<0||d&&We>=i}function b(){var z=Wc();if(D(z))return B(z);a=setTimeout(b,g(z))}function B(z){return a=void 0,p&&r?f(z):(r=o=void 0,s)}function be(){a!==void 0&&clearTimeout(a),l=0,r=c=o=a=void 0}function st(){return a===void 0?s:B(Wc())}function we(){var z=Wc(),Me=D(z);if(r=arguments,o=this,c=z,Me){if(a===void 0)return m(c);if(d)return clearTimeout(a),a=setTimeout(b,t),f(c)}return a===void 0&&(a=setTimeout(b,t)),s}return we.cancel=be,we.flush=st,we}var NA=TA;var Xi=Array.isArray;function AA(e){return e}var Gc=AA;var RA=`[object AsyncFunction]`;var OA=`[object Function]`;var kA=`[object GeneratorFunction]`;var FA=`[object Proxy]`;function PA(e){if(!he(e))return!1;var t=Ft(e);return t==OA||t==kA||t==RA||t==FA}var wo=PA;var qc=Le[`__core-js_shared__`];var H_=(function(){var e=/[^.]+$/.exec(qc&&qc.keys&&qc.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``})();function jA(e){return!!H_&&H_ in e}var U_=jA;var VA=Function.prototype.toString;function HA(e){if(e!=null){try{return VA.call(e)}catch(t){}try{return e+``}catch(t){}}return``}var $_=HA;var UA=/[\\^$.*+?()[\]{}|]/g;var $A=/^\[object .+?Constructor\]$/;var zA=Function.prototype;var WA=Object.prototype;var GA=zA.toString;var qA=WA.hasOwnProperty;var YA=RegExp(`^`+GA.call(qA).replace(UA,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function ZA(e){if(!he(e)||U_(e))return!1;return(wo(e)?YA:$A).test($_(e))}var z_=ZA;function KA(e,t){return e?.[t]}var W_=KA;function XA(e,t){var n=W_(e,t);return z_(n)?n:void 0}var Io=XA;var G_=Object.create;var q_=(function(){function e(){}return function(t){if(!he(t))return{};if(G_)return G_(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();function JA(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Y_=JA;function eR(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Z_=eR;var tR=800;var nR=16;var rR=Date.now;function oR(e){var t=0,n=0;return function(){var r=rR(),o=nR-(r-n);if(n=r,o>0){if(++t>=tR)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var K_=oR;function iR(e){return function(){return e}}var X_=iR;var So=(function(){try{var e=Io(Object,`defineProperty`);return e({},``,{}),e}catch(t){}})();var J_=K_(So?function(e,t){return So(e,`toString`,{configurable:!0,enumerable:!1,value:X_(t),writable:!0})}:Gc);var lR=9007199254740991;var uR=/^(?:0|[1-9]\d*)$/;function dR(e,t){var n=typeof e;return t=t??lR,!!t&&(n==`number`||n!=`symbol`&&uR.test(e))&&e>-1&&e%1==0&&e<t}var Yc=dR;function fR(e,t,n){t==`__proto__`&&So?So(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Co=fR;function pR(e,t){return e===t||e!==e&&t!==t}var Mn=pR;var mR=Object.prototype.hasOwnProperty;function gR(e,t,n){var r=e[t];(!(mR.call(e,t)&&Mn(r,n))||n===void 0&&!(t in e))&&Co(e,t,n)}var eD=gR;function vR(e,t,n,r){var o=!n;n||(n={});for(var i=-1,s=t.length;++i<s;){var a=t[i],c=r?r(n[a],e[a],a,n,e):void 0;c===void 0&&(c=e[a]),o?Co(n,a,c):eD(n,a,c)}return n}var tD=vR;var nD=Math.max;function yR(e,t,n){return t=nD(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=nD(r.length-t,0),s=Array(i);++o<i;)s[o]=r[t+o];o=-1;for(var a=Array(t+1);++o<t;)a[o]=r[o];return a[t]=n(s),Y_(e,this,a)}}var rD=yR;function bR(e,t){return J_(rD(e,t,Gc),e+``)}var oD=bR;var _R=9007199254740991;function DR(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=_R}var Zc=DR;function ER(e){return e!=null&&Zc(e.length)&&!wo(e)}var xo=ER;function wR(e,t,n){if(!he(n))return!1;var r=typeof t;return(r==`number`?xo(n)&&Yc(t,n.length):r==`string`&&t in n)?Mn(n[t],e):!1}var iD=wR;function IR(e){return oD(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(i=e.length>3&&typeof i==`function`?(o--,i):void 0,s&&iD(n[0],n[1],s)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var a=n[r];a&&e(t,a,r,i)}return t})}var sD=IR;var SR=Object.prototype;function CR(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||SR)}var Kc=CR;function xR(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var aD=xR;var TR=`[object Arguments]`;function NR(e){return it(e)&&Ft(e)==TR}var Rp=NR;var cD=Object.prototype;var MR=cD.hasOwnProperty;var AR=cD.propertyIsEnumerable;var Qi=Rp((function(){return arguments})())?Rp:function(e){return it(e)&&MR.call(e,`callee`)&&!AR.call(e,`callee`)};function OR(){return!1}var lD=OR;var fD=typeof exports==`object`&&exports&&!exports.nodeType&&exports;var uD=fD&&typeof module==`object`&&module&&!module.nodeType&&module;var dD=uD&&uD.exports===fD?Le.Buffer:void 0;var Xc=(dD?dD.isBuffer:void 0)||lD;var LR=`[object Arguments]`;var jR=`[object Array]`;var BR=`[object Boolean]`;var VR=`[object Date]`;var HR=`[object Error]`;var UR=`[object Function]`;var $R=`[object Map]`;var zR=`[object Number]`;var WR=`[object Object]`;var GR=`[object RegExp]`;var qR=`[object Set]`;var YR=`[object String]`;var ZR=`[object WeakMap]`;var KR=`[object ArrayBuffer]`;var XR=`[object DataView]`;var QR=`[object Float32Array]`;var JR=`[object Float64Array]`;var eO=`[object Int8Array]`;var tO=`[object Int16Array]`;var nO=`[object Int32Array]`;var rO=`[object Uint8Array]`;var oO=`[object Uint8ClampedArray]`;var iO=`[object Uint16Array]`;var sO=`[object Uint32Array]`;var X={};X[QR]=X[JR]=X[eO]=X[tO]=X[nO]=X[rO]=X[oO]=X[iO]=X[sO]=!0;X[LR]=X[jR]=X[KR]=X[BR]=X[XR]=X[VR]=X[HR]=X[UR]=X[$R]=X[zR]=X[WR]=X[GR]=X[qR]=X[YR]=X[ZR]=!1;function aO(e){return it(e)&&Zc(e.length)&&!!X[Ft(e)]}var pD=aO;function cO(e){return function(t){return e(t)}}var hD=cO;var mD=typeof exports==`object`&&exports&&!exports.nodeType&&exports;var Ji=mD&&typeof module==`object`&&module&&!module.nodeType&&module;var Op=Ji&&Ji.exports===mD&&zc.process;var kp=(function(){try{return Ji&&Ji.require&&Ji.require(`util`).types||Op&&Op.binding&&Op.binding(`util`)}catch(t){}})();var gD=kp&&kp.isTypedArray;var Qc=gD?hD(gD):pD;var pO=Object.prototype.hasOwnProperty;function hO(e,t){var n=Xi(e),r=!n&&Qi(e),o=!n&&!r&&Xc(e),i=!n&&!r&&!o&&Qc(e),s=n||r||o||i,a=s?aD(e.length,String):[],c=a.length;for(var l in e)(t||pO.call(e,l))&&!(s&&(l==`length`||o&&(l==`offset`||l==`parent`)||i&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||Yc(l,c)))&&a.push(l);return a}var vD=hO;function mO(e,t){return function(n){return e(t(n))}}var yD=mO;function gO(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var bD=gO;var yO=Object.prototype.hasOwnProperty;function bO(e){if(!he(e))return bD(e);var t=Kc(e),n=[];for(var r in e)r==`constructor`&&(t||!yO.call(e,r))||n.push(r);return n}var _D=bO;function _O(e){return xo(e)?vD(e,!0):_D(e)}var Jc=_O;var rn=Io(Object,`create`);function EO(){this.__data__=rn?rn(null):{},this.size=0}var DD=EO;function wO(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ED=wO;var IO=`__lodash_hash_undefined__`;var CO=Object.prototype.hasOwnProperty;function xO(e){var t=this.__data__;if(rn){var n=t[e];return n===IO?void 0:n}return CO.call(t,e)?t[e]:void 0}var wD=xO;var NO=Object.prototype.hasOwnProperty;function MO(e){var t=this.__data__;return rn?t[e]!==void 0:NO.call(t,e)}var ID=MO;var AO=`__lodash_hash_undefined__`;function RO(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=rn&&t===void 0?AO:t,this}var SD=RO;function To(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}To.prototype.clear=DD;To.prototype.delete=ED;To.prototype.get=wD;To.prototype.has=ID;To.prototype.set=SD;var Fp=To;function OO(){this.__data__=[],this.size=0}var CD=OO;function kO(e,t){for(var n=e.length;n--;)if(Mn(e[n][0],t))return n;return-1}var An=kO;var PO=Array.prototype.splice;function LO(e){var t=this.__data__,n=An(t,e);if(n<0)return!1;return n==t.length-1?t.pop():PO.call(t,n,1),--this.size,!0}var xD=LO;function jO(e){var t=this.__data__,n=An(t,e);return n<0?void 0:t[n][1]}var TD=jO;function BO(e){return An(this.__data__,e)>-1}var ND=BO;function VO(e,t){var n=this.__data__,r=An(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var MD=VO;function No(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}No.prototype.clear=CD;No.prototype.delete=xD;No.prototype.get=TD;No.prototype.has=ND;No.prototype.set=MD;var Rn=No;var el=Io(Le,`Map`);function UO(){this.size=0,this.__data__={hash:new Fp,map:new(el||Rn),string:new Fp}}var AD=UO;function $O(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}var RD=$O;function zO(e,t){var n=e.__data__;return RD(t)?n[typeof t==`string`?`string`:`hash`]:n.map}var On=zO;function WO(e){var t=On(this,e).delete(e);return this.size-=t?1:0,t}var OD=WO;function GO(e){return On(this,e).get(e)}var kD=GO;function qO(e){return On(this,e).has(e)}var FD=qO;function YO(e,t){var n=On(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var PD=YO;function Mo(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Mo.prototype.clear=AD;Mo.prototype.delete=OD;Mo.prototype.get=kD;Mo.prototype.has=FD;Mo.prototype.set=PD;var LD=Mo;var tl=yD(Object.getPrototypeOf,Object);var KO=`[object Object]`;var XO=Function.prototype;var QO=Object.prototype;var jD=XO.toString;var JO=QO.hasOwnProperty;var ek=jD.call(Object);function tk(e){if(!it(e)||Ft(e)!=KO)return!1;var t=tl(e);if(t===null)return!0;var n=JO.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&jD.call(n)==ek}var BD=tk;function nk(){this.__data__=new Rn,this.size=0}var VD=nk;function rk(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var HD=rk;function ok(e){return this.__data__.get(e)}var UD=ok;function ik(e){return this.__data__.has(e)}var $D=ik;var sk=200;function ak(e,t){var n=this.__data__;if(n instanceof Rn){var r=n.__data__;if(!el||r.length<sk-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new LD(r)}return n.set(e,t),this.size=n.size,this}var zD=ak;function Ao(e){var t=this.__data__=new Rn(e);this.size=t.size}Ao.prototype.clear=VD;Ao.prototype.delete=HD;Ao.prototype.get=UD;Ao.prototype.has=$D;Ao.prototype.set=zD;var WD=Ao;var ZD=typeof exports==`object`&&exports&&!exports.nodeType&&exports;var GD=ZD&&typeof module==`object`&&module&&!module.nodeType&&module;var qD=GD&&GD.exports===ZD?Le.Buffer:void 0;var YD=qD?qD.allocUnsafe:void 0;function lk(e,t){if(t)return e.slice();var n=e.length,r=YD?YD(n):new e.constructor(n);return e.copy(r),r}var KD=lk;var Pp=Le.Uint8Array;function dk(e){var t=new e.constructor(e.byteLength);return new Pp(t).set(new Pp(e)),t}var XD=dk;function fk(e,t){var n=t?XD(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var QD=fk;function pk(e){return typeof e.constructor==`function`&&!Kc(e)?q_(tl(e)):{}}var JD=pk;function hk(e){return function(t,n,r){for(var o=-1,i=Object(t),s=r(t),a=s.length;a--;){var c=s[e?a:++o];if(n(i[c],c,i)===!1)break}return t}}var tE=hk();function gk(e,t,n){(n!==void 0&&!Mn(e[t],n)||n===void 0&&!(t in e))&&Co(e,t,n)}var es=gk;function vk(e){return it(e)&&xo(e)}var nE=vk;function yk(e,t){if(!(t===`constructor`&&typeof e[t]==`function`)&&t!=`__proto__`)return e[t]}var ts=yk;function bk(e){return tD(e,Jc(e))}var rE=bk;function _k(e,t,n,r,o,i,s){var a=ts(e,n),c=ts(t,n),l=s.get(c);if(l){es(e,n,l);return}var u=i?i(a,c,n+``,e,t,s):void 0,d=u===void 0;if(d){var p=Xi(c),f=!p&&Xc(c),m=!p&&!f&&Qc(c);u=c,p||f||m?Xi(a)?u=a:nE(a)?u=Z_(a):f?(d=!1,u=KD(c,!0)):m?(d=!1,u=QD(c,!0)):u=[]:BD(c)||Qi(c)?(u=a,Qi(a)?u=rE(a):(!he(a)||wo(a))&&(u=JD(c))):d=!1}d&&(s.set(c,u),o(u,c,r,i,s),s.delete(c)),es(e,n,u)}var oE=_k;function iE(e,t,n,r,o){e!==t&&tE(t,function(i,s){if(o||(o=new WD),he(i))oE(e,t,s,n,iE,r,o);else{var a=r?r(ts(e,s),i,s+``,e,t,o):void 0;a===void 0&&(a=i),es(e,s,a)}},Jc)}var sE=iE;var Lp=sD(function(e,t,n){sE(e,t,n)});var jp=[`ar`,`az`,`be`,`bg`,`bn`,`bs`,`cs`,`da`,`de`,`el`,`en`,`es`,`et`,`fi`,`fil`,`fr`,`he`,`hr`,`hu`,`hy`,`id`,`it`,`ja`,`ka`,`kk`,`km`,`ko`,`ky`,`lt`,`mk`,`ms`,`ne`,`nl`,`no`,`pl`,`pt-BR`,`pt-PT`,`ro`,`ru`,`si`,`sk`,`sl`,`sr`,`sv`,`sw`,`ta`,`tg`,`th`,`tr`,`uk`,`vi`,`zh-HK`,`zh-TW`,`zn`];function Bp(e){if(!e)return`en`;let n=e.trim().toLowerCase();if(n.startsWith(`zh`))return n===`zh-hk`?`zh-HK`:n===`zh-tw`||n.startsWith(`zh-hant`)?`zh-TW`:`zn`;let r=jp.find(a=>a.toLowerCase()===n);if(r)return r;let o=jp.find(a=>a.toLowerCase()===n.replace(`_`,`-`));if(o)return o;let i=n.split(`-`)[0].split(`_`)[0];if(i===`pt`)return`pt-PT`;if(i===`tl`)return`fil`;if(i===`nb`||i===`nn`)return`no`;return jp.find(a=>a.toLowerCase()===i)||`en`}var YQ=(()=>{class e{static STORAGE_KEY=`p3xr-language`;static AUTO=`auto`;isAuto=xe(this.detectIsAuto());currentLang=xe(this.detectInitialLanguage());strings=Mf(()=>{let n=this.getTranslations();return Lp({},n.en||{},n[this.currentLang()]||{})});constructor(){cr(()=>{let n=this.currentLang(),o=this.isAuto()?e.AUTO:n;this.setStorageItem(e.STORAGE_KEY,o),this.applyDocumentLanguage(n);try{window.parent&&window.parent!==window&&window.parent.postMessage({type:`p3x-ui-storage-set`,key:e.STORAGE_KEY,value:o},`*`)}catch(i){}})}setLanguage(n){let r=n===e.AUTO,o$1=r?this.resolveAutoLanguage():n||`en`;this.isAuto.set(r),o(o$1).then(()=>this.currentLang.set(o$1),()=>this.currentLang.set(o$1))}resolveAutoLanguage(){try{return Bp(navigator.language)}catch(n){return`en`}}getAvailableLanguages(){return Object.keys(this.getTranslations())}getTranslations(){return s()}detectIsAuto(){let n=this.readStorageItem(e.STORAGE_KEY);return!n||n===e.AUTO}detectInitialLanguage(){let n=this.readStorageItem(e.STORAGE_KEY);if(n&&n!==e.AUTO)return n;try{return Bp(navigator.language)}catch(r){return`en`}}readStorageItem(n){try{return localStorage.getItem(n)}catch(r){return null}}setStorageItem(n,r){try{localStorage.setItem(n,r)}catch(o){}}applyDocumentLanguage(n){typeof document>`u`||document.documentElement.setAttribute(`lang`,n===`zn`?`zh`:n)}static ɵfac=function(r){return new(r||e)};static ɵprov=P({token:e,factory:e.ɵfac,providedIn:`root`})}return e})();var ns=class{_attachedHost=null;attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}};var Vp=class extends ns{component;viewContainerRef;injector;projectableNodes;bindings;directives;constructor(t,n,r,o,i,s){super(),this.component=t,this.viewContainerRef=n,this.injector=r,this.projectableNodes=o,this.bindings=i||null,this.directives=s||null}};var Ro=class extends ns{templateRef;viewContainerRef;context;injector;constructor(t,n,r,o){super(),this.templateRef=t,this.viewContainerRef=n,this.context=r,this.injector=o}get origin(){return this.templateRef.elementRef}attach(t,n=this.context){return this.context=n,super.attach(t)}detach(){return this.context=void 0,super.detach()}};var Hp=class extends ns{element;constructor(t){super(),this.element=t instanceof q?t.nativeElement:t}};var nl=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof Vp)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof Ro)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof Hp)return this._attachedPortal=t,this.attachDomPortal(t)}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(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var rl=class extends nl{outletElement;_appRef;_defaultInjector;constructor(t,n,r){super(),this.outletElement=t,this._appRef=n,this._defaultInjector=r}attachComponentPortal(t){let n;if(t.viewContainerRef){let r=t.injector||t.viewContainerRef.injector,o=r.get(Ot,null,{optional:!0})||void 0;n=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:r,ngModuleRef:o,projectableNodes:t.projectableNodes||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0}),this.setDisposeFn(()=>n.destroy())}else{let r=this._appRef,o=t.injector||this._defaultInjector||V.NULL,i=o.get(se,r.injector);n=gc(t.component,{elementInjector:o,environmentInjector:i,projectableNodes:t.projectableNodes||void 0,bindings:t.bindings||void 0,directives:t.directives||void 0}),r.attachView(n.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(n.hostView),n.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(n)),this._attachedPortal=t,n}attachTemplatePortal(t){let n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return r.rootNodes.forEach(o=>this.outletElement.appendChild(o)),r.detectChanges(),this.setDisposeFn(()=>{let o=n.indexOf(r);o!==-1&&n.remove(o)}),this._attachedPortal=t,r}attachDomPortal=t=>{let n=t.element;n.parentNode;let r=this.outletElement.ownerDocument.createComment(`dom-portal`);n.parentNode.insertBefore(r,n),this.outletElement.appendChild(n),this._attachedPortal=t,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(n,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}};var tJ=(()=>{class e extends Ro{constructor(){let n=h($e),r=h(Pe);super(n,r)}static ɵfac=function(r){return new(r||e)};static ɵdir=Z({type:e,selectors:[[``,`cdkPortal`,``]],exportAs:[`cdkPortal`],features:[ze]})}return e})();var nJ=(()=>{class e extends nl{_moduleRef=h(Ot,{optional:!0});_document=h(R);_viewContainerRef=h(Pe);_isInitialized=!1;_attachedRef=null;get portal(){return this._attachedPortal}set portal(n){this.hasAttached()&&!n&&!this._isInitialized||(this.hasAttached()&&super.detach(),n&&super.attach(n),this._attachedPortal=n||null)}attached=new J;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(n){n.setAttachedHost(this);let r=n.viewContainerRef!=null?n.viewContainerRef:this._viewContainerRef,o=r.createComponent(n.component,{index:r.length,injector:n.injector||r.injector,projectableNodes:n.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:n.bindings||void 0,directives:n.directives||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=n,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(n){n.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=n,this._attachedRef=r,this.attached.emit(r),r}attachDomPortal=n=>{let r=n.element;r.parentNode;let o=this._document.createComment(`dom-portal`);n.setAttachedHost(this),r.parentNode.insertBefore(o,r),this._getRootNode().appendChild(r),this._attachedPortal=n,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(r,o)})};_getRootNode(){let n=this._viewContainerRef.element.nativeElement;return n.nodeType===n.ELEMENT_NODE?n:n.parentNode}static ɵfac=(()=>{let n;return function(o){return(n||(n=io(e)))(o||e)}})();static ɵdir=Z({type:e,selectors:[[``,`cdkPortalOutlet`,``]],inputs:{portal:[0,`cdkPortalOutlet`,`portal`]},outputs:{attached:`attached`},exportAs:[`cdkPortalOutlet`],features:[ze]})}return e})();var aE=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=oe({type:e});static ɵinj=te({})}return e})();var cE=Ac();function mE(e){return new ol(e.get(wr),e.get(R))}var ol=class{_viewportRuler;_previousHTMLStyles={top:``,left:``};_previousScrollPosition;_isEnabled=!1;_document;constructor(t,n){this._viewportRuler=t,this._document=n}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||``,this._previousHTMLStyles.top=t.style.top||``,t.style.left=ue(-this._previousScrollPosition.left),t.style.top=ue(-this._previousScrollPosition.top),t.classList.add(`cdk-global-scrollblock`),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,n=this._document.body,r=t.style,o=n.style,i=r.scrollBehavior||``,s=o.scrollBehavior||``;this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,t.classList.remove(`cdk-global-scrollblock`),cE&&(r.scrollBehavior=o.scrollBehavior=`auto`),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),cE&&(r.scrollBehavior=i,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains(`cdk-global-scrollblock`)||this._isEnabled)return!1;let n=this._document.documentElement,r=this._viewportRuler.getViewportSize();return n.scrollHeight>r.height||n.scrollWidth>r.width}};function gE(e,t){return new il(e.get(Ui),e.get(O),e.get(wr),t)}var il=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,n,r,o){this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=r,this._config=o}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(_e(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.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 rs=class{enable(){}disable(){}attach(){}};function Up(e,t){return t.some(n=>{let r=e.bottom<n.top,o=e.top>n.bottom,i=e.right<n.left,s=e.left>n.right;return r||o||i||s})}function lE(e,t){return t.some(n=>{let r=e.top<n.top,o=e.bottom>n.bottom,i=e.left<n.left,s=e.right>n.right;return r||o||i||s})}function Wp(e,t){return new sl(e.get(Ui),e.get(wr),e.get(O),t)}var sl=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,n,r,o){this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=r,this._config=o}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:o}=this._viewportRuler.getViewportSize();Up(n,[{width:r,height:o,bottom:o,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}};var vE=(()=>{class e{_injector=h(V);noop=()=>new rs;close=n=>gE(this._injector,n);block=()=>mE(this._injector);reposition=n=>Wp(this._injector,n);static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var os=class{positionStrategy;scrollStrategy=new rs;panelClass=``;hasBackdrop=!1;backdropClass=`cdk-overlay-dark-backdrop`;disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(t){if(t){let n=Object.keys(t);for(let r of n)t[r]!==void 0&&(this[r]=t[r])}}};var al=class{connectionPair;scrollableViewProperties;constructor(t,n){this.connectionPair=t,this.scrollableViewProperties=n}};var yE=(()=>{class e{_attachedOverlays=[];_document=h(R);_isAttached=!1;ngOnDestroy(){this.detach()}add(n){this.remove(n),this._attachedOverlays.push(n)}remove(n){let r=this._attachedOverlays.indexOf(n);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(n,r,o){return o.observers.length<1?!1:n.eventPredicate?n.eventPredicate(r):!0}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var bE=(()=>{class e extends yE{_ngZone=h(O);_renderer=h(me).createRenderer(null,null);_cleanupKeydown;add(n){super.add(n),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=n=>{let r=this._attachedOverlays;for(let o=r.length-1;o>-1;o--){let i=r[o];if(this.canReceiveEvent(i,n,i._keydownEvents)){this._ngZone.run(()=>i._keydownEvents.next(n));break}}};static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var _E=(()=>{class e extends yE{_platform=h(re);_ngZone=h(O);_renderer=h(me).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(n){if(super.add(n),!this._isAttached){let r=this._document.body,o={capture:!0},i=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[i.listen(r,`pointerdown`,this._pointerDownListener,o),i.listen(r,`click`,this._clickListener,o),i.listen(r,`auxclick`,this._clickListener,o),i.listen(r,`contextmenu`,this._clickListener,o)]),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(n=>n()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=n=>{this._pointerDownEventTarget=Ne(n)};_clickListener=n=>{let r=Ne(n),o=n.type===`click`&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;let i=this._attachedOverlays.slice();for(let s=i.length-1;s>-1;s--){let a=i[s],c=a._outsidePointerEvents;if(!(!a.hasAttached()||!this.canReceiveEvent(a,n,c))){if(uE(a.overlayElement,r)||uE(a.overlayElement,o))break;this._ngZone?this._ngZone.run(()=>c.next(n)):c.next(n)}}};static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();function uE(e,t){let n=typeof ShadowRoot<`u`&&ShadowRoot,r=t;for(;r;){if(r===e)return!0;r=n&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}var DE=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵcmp=Ee({type:e,selectors:[[`ng-component`]],hostAttrs:[`cdk-overlay-style-loader`,``],decls:0,vars:0,template:function(r,o){},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: transparent;
  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: 0.6;
  }
}

@layer cdk-overlay {
  .cdk-overlay-dark-backdrop {
    background: rgba(0, 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;
}
`],encapsulation:2})}return e})();var EE=(()=>{class e{_platform=h(re);_containerElement;_document=h(R);_styleLoader=h(rt);ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let n=`cdk-overlay-container`;if(this._platform.isBrowser||Ip()){let o=this._document.querySelectorAll(`.${n}[platform="server"], .${n}[platform="test"]`);for(let i=0;i<o.length;i++)o[i].remove()}let r=this._document.createElement(`div`);r.classList.add(n),Ip()?r.setAttribute(`platform`,`test`):this._platform.isBrowser||r.setAttribute(`platform`,`server`),this._document.body.appendChild(r),this._containerElement=r}_loadStyles(){this._styleLoader.load(DE)}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var $p=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(t,n,r,o){this._renderer=n,this._ngZone=r,this.element=t.createElement(`div`),this.element.classList.add(`cdk-overlay-backdrop`),this._cleanupClick=n.listen(this.element,`click`,o)}detach(){this._ngZone.runOutsideAngular(()=>{let t=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(t,`transitionend`,this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),t.style.pointerEvents=`none`,t.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 Gp(e){return e&&e.nodeType===1}var cl=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new I;_attachments=new I;_detachments=new I;_positionStrategy;_scrollStrategy;_locationChanges=L.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new I;_outsidePointerEvents=new I;_afterNextRenderRef;constructor(t,n,r,o,i,s,a,c,l,u=!1,d,p){this._portalOutlet=t,this._host=n,this._pane=r,this._config=o,this._ngZone=i,this._keyboardDispatcher=s,this._document=a,this._location=c,this._outsideClickDispatcher=l,this._animationsDisabled=u,this._injector=d,this._renderer=p,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}get eventPredicate(){return this._config?.eventPredicate||null}attach(t){if(this._disposed)return null;this._attachHost();let n=this._portalOutlet.attach(t);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=In(()=>{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 n?.onDestroy==`function`&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){if(this._disposed)return;let t=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,t&&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(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=E$1(E$1({},this._config),t),this._updateElementSize()}setDirection(t){this._config=F$1(E$1({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t==`string`?t:t.value:`ltr`}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute(`dir`,this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=ue(this._config.width),t.height=ue(this._config.height),t.minWidth=ue(this._config.minWidth),t.minHeight=ue(this._config.minHeight),t.maxWidth=ue(this._config.maxWidth),t.maxHeight=ue(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?``:`none`}_attachHost(){if(!this._host.parentElement){let t=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;Gp(t)?t.after(this._host):t?.type===`parent`?t.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch(t){}}_attachBackdrop(){let t=`cdk-overlay-backdrop-showing`;this._backdropRef?.dispose(),this._backdropRef=new $p(this._document,this._renderer,this._ngZone,n=>{this._backdropClick.next(n)}),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(t))}):this._backdropRef.element.classList.add(t)}_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(t,n,r){let o=_r(n||[]).filter(i=>!!i);o.length&&(r?t.classList.add(...o):t.classList.remove(...o))}_detachContentWhenEmpty(){let t=!1;try{this._detachContentAfterRenderRef=In(()=>{t=!0,this._detachContent()},{injector:this._injector})}catch(n){if(t)throw n;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 t=this._scrollStrategy;t?.disable(),t?.detach?.()}};var dE=`cdk-overlay-connected-position-bounding-box`;var Ek=/([A-Za-z%]+)$/;function qp(e,t){return new ll(t,e.get(wr),e.get(R),e.get(re),e.get(EE))}var ll=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender=!1;_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=!1;_boundingBox=null;_lastPosition=null;_lastScrollVisibility=null;_positionChanges=new I;_resizeSubscription=L.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation=`global`;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(t,n,r,o,i){this._viewportRuler=n,this._document=r,this._platform=o,this._overlayContainer=i,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(dE),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.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._getContainerRect();let t=this._originRect,n=this._overlayRect,r=this._viewportRect,o=this._containerRect,i=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(t,o,a),l=this._getOverlayPoint(c,n,a),u=this._getOverlayFit(l,n,r,a);if(u.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,c);return}if(this._canFitWithFlexibleDimensions(u,l,r)){i.push({position:a,origin:c,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleArea<u.visibleArea)&&(s={overlayFit:u,overlayPoint:l,originPoint:c,position:a,overlayRect:n})}if(i.length){let a=null,c=-1;for(let l of i){let u=l.boundingBoxRect.width*l.boundingBoxRect.height*(l.position.weight||1);u>c&&(c=u,a=l)}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&&Ir(this._boundingBox.style,{top:``,left:``,right:``,bottom:``,height:``,width:``,alignItems:``,justifyContent:``}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(dE),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;t?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(t,this._getOriginPoint(this._originRect,this._containerRect,t))):this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}withPopoverLocation(t){return this._popoverLocation=t,this}getPopoverInsertionPoint(){return this._popoverLocation===`global`?null:this._popoverLocation!==`inline`?this._popoverLocation:this._origin instanceof q?this._origin.nativeElement:Gp(this._origin)?this._origin:null}_getOriginPoint(t,n,r){let o;if(r.originX==`center`)o=t.left+t.width/2;else{let s=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;o=r.originX==`start`?s:a}n.left<0&&(o-=n.left);let i;return r.originY==`center`?i=t.top+t.height/2:i=r.originY==`top`?t.top:t.bottom,n.top<0&&(i-=n.top),{x:o,y:i}}_getOverlayPoint(t,n,r){let o;r.overlayX==`center`?o=-n.width/2:r.overlayX===`start`?o=this._isRtl()?-n.width:0:o=this._isRtl()?0:-n.width;let i;return r.overlayY==`center`?i=-n.height/2:i=r.overlayY==`top`?0:-n.height,{x:t.x+o,y:t.y+i}}_getOverlayFit(t,n,r,o){let i=pE(n),{x:s,y:a}=t,c=this._getOffset(o,`x`),l=this._getOffset(o,`y`);c&&(s+=c),l&&(a+=l);let u=0-s,d=s+i.width-r.width,p=0-a,f=a+i.height-r.height,m=this._subtractOverflows(i.width,u,d),g=this._subtractOverflows(i.height,p,f),D=m*g;return{visibleArea:D,isCompletelyWithinViewport:i.width*i.height===D,fitsInViewportVertically:g===i.height,fitsInViewportHorizontally:m==i.width}}_canFitWithFlexibleDimensions(t,n,r){if(this._hasFlexibleDimensions){let o=r.bottom-n.y,i=r.right-n.x,s=fE(this._overlayRef.getConfig().minHeight),a=fE(this._overlayRef.getConfig().minWidth),c=t.fitsInViewportVertically||s!=null&&s<=o,l=t.fitsInViewportHorizontally||a!=null&&a<=i;return c&&l}return!1}_pushOverlayOnScreen(t,n,r){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let o=pE(n),i=this._viewportRect,s=Math.max(t.x+o.width-i.width,0),a=Math.max(t.y+o.height-i.height,0),c=Math.max(i.top-r.top-t.y,0),l=Math.max(i.left-r.left-t.x,0),u=0,d=0;return o.width<=i.width?u=l||-s:u=t.x<this._getViewportMarginStart()?i.left-r.left-t.x:0,o.height<=i.height?d=c||-a:d=t.y<this._getViewportMarginTop()?i.top-r.top-t.y:0,this._previousPushAmount={x:u,y:d},{x:t.x+u,y:t.y+d}}_applyPosition(t,n){if(this._setTransformOrigin(t),this._setOverlayElementStyles(n,t),this._setBoundingBoxStyles(n,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._positionChanges.observers.length){let r=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!wk(this._lastScrollVisibility,r)){let o=new al(t,r);this._positionChanges.next(o)}this._lastScrollVisibility=r}this._lastPosition=t,this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;let n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,o=t.overlayY;t.overlayX===`center`?r=`center`:this._isRtl()?r=t.overlayX===`start`?`right`:`left`:r=t.overlayX===`start`?`left`:`right`;for(let i=0;i<n.length;i++)n[i].style.transformOrigin=`${r} ${o}`}_calculateBoundingBoxRect(t,n){let r=this._viewportRect,o=this._isRtl(),i,s,a;if(n.overlayY===`top`)s=t.y,i=r.height-s+this._getViewportMarginBottom();else if(n.overlayY===`bottom`)a=r.height-t.y+this._getViewportMarginTop()+this._getViewportMarginBottom(),i=r.height-a+this._getViewportMarginTop();else{let f=Math.min(r.bottom-t.y+r.top,t.y),m=this._lastBoundingBoxSize.height;i=f*2,s=t.y-f,i>m&&!this._isInitialRender&&!this._growAfterOpen&&(s=t.y-m/2)}let c=n.overlayX===`start`&&!o||n.overlayX===`end`&&o,l=n.overlayX===`end`&&!o||n.overlayX===`start`&&o,u,d,p;if(l)p=r.width-t.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),u=t.x-this._getViewportMarginStart();else if(c)d=t.x,u=r.right-t.x-this._getViewportMarginEnd();else{let f=Math.min(r.right-t.x+r.left,t.x),m=this._lastBoundingBoxSize.width;u=f*2,d=t.x-f,u>m&&!this._isInitialRender&&!this._growAfterOpen&&(d=t.x-m/2)}return{top:s,left:d,bottom:a,right:p,width:u,height:i}}_setBoundingBoxStyles(t,n){let r=this._calculateBoundingBoxRect(t,n);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let o={};if(this._hasExactPosition())o.top=o.left=`0`,o.bottom=o.right=`auto`,o.maxHeight=o.maxWidth=``,o.width=o.height=`100%`;else{let i=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;o.width=ue(r.width),o.height=ue(r.height),o.top=ue(r.top)||`auto`,o.bottom=ue(r.bottom)||`auto`,o.left=ue(r.left)||`auto`,o.right=ue(r.right)||`auto`,n.overlayX===`center`?o.alignItems=`center`:o.alignItems=n.overlayX===`end`?`flex-end`:`flex-start`,n.overlayY===`center`?o.justifyContent=`center`:o.justifyContent=n.overlayY===`bottom`?`flex-end`:`flex-start`,i&&(o.maxHeight=ue(i)),s&&(o.maxWidth=ue(s))}this._lastBoundingBoxSize=r,Ir(this._boundingBox.style,o)}_resetBoundingBoxStyles(){Ir(this._boundingBox.style,{top:`0`,left:`0`,right:`0`,bottom:`0`,height:``,width:``,alignItems:``,justifyContent:``})}_resetOverlayElementStyles(){Ir(this._pane.style,{top:``,left:``,bottom:``,right:``,position:``,transform:``})}_setOverlayElementStyles(t,n){let r={},o=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){let u=this._viewportRuler.getViewportScrollPosition();Ir(r,this._getExactOverlayY(n,t,u)),Ir(r,this._getExactOverlayX(n,t,u))}else r.position=`static`;let a=``,c=this._getOffset(n,`x`),l=this._getOffset(n,`y`);c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),r.transform=a.trim(),s.maxHeight&&(o?r.maxHeight=ue(s.maxHeight):i&&(r.maxHeight=``)),s.maxWidth&&(o?r.maxWidth=ue(s.maxWidth):i&&(r.maxWidth=``)),Ir(this._pane.style,r)}_getExactOverlayY(t,n,r){let o={top:``,bottom:``},i=this._getOverlayPoint(n,this._overlayRect,t);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),t.overlayY===`bottom`)o.bottom=`${this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)}px`;else o.top=ue(i.y);return o}_getExactOverlayX(t,n,r){let o={left:``,right:``},i=this._getOverlayPoint(n,this._overlayRect,t);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r));let s;if(this._isRtl()?s=t.overlayX===`end`?`left`:`right`:s=t.overlayX===`end`?`right`:`left`,s===`right`)o.right=`${this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)}px`;else o.left=ue(i.x);return o}_getScrollVisibility(){let t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:lE(t,r),isOriginOutsideView:Up(t,r),isOverlayClipped:lE(n,r),isOverlayOutsideView:Up(n,r)}}_subtractOverflows(t,...n){return n.reduce((r,o)=>r-Math.max(o,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._getViewportMarginTop(),left:r.left+this._getViewportMarginStart(),right:r.left+t-this._getViewportMarginEnd(),bottom:r.top+n-this._getViewportMarginBottom(),width:t-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:n-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()===`rtl`}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,n){return n===`x`?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&_r(t).forEach(n=>{n!==``&&this._appliedPanelClasses.indexOf(n)===-1&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),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 t=this._origin;if(t instanceof q)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let n=t.width||0,r=t.height||0;return{top:t.y,bottom:t.y+r,left:t.x,right:t.x+n,height:r,width:n}}_getContainerRect(){let t=this._overlayRef.getConfig().usePopover&&this._popoverLocation!==`global`,n=this._overlayContainer.getContainerElement();t&&(n.style.display=`block`);let r=n.getBoundingClientRect();return t&&(n.style.display=``),r}};function Ir(e,t){for(let n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function fE(e){if(typeof e!=`number`&&e!=null){let[t,n]=e.split(Ek);return!n||n===`px`?parseFloat(t):null}return e||null}function pE(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}function wk(e,t){return e===t?!0:e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}var hE=`cdk-global-overlay-wrapper`;function wE(e){return new ul}var ul=class{_overlayRef;_cssPosition=`static`;_topOffset=``;_bottomOffset=``;_alignItems=``;_xPosition=``;_xOffset=``;_width=``;_height=``;_isDisposed=!1;attach(t){let n=t.getConfig();this._overlayRef=t,this._width&&!n.width&&t.updateSize({width:this._width}),this._height&&!n.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(hE),this._isDisposed=!1}top(t=``){return this._bottomOffset=``,this._topOffset=t,this._alignItems=`flex-start`,this}left(t=``){return this._xOffset=t,this._xPosition=`left`,this}bottom(t=``){return this._topOffset=``,this._bottomOffset=t,this._alignItems=`flex-end`,this}right(t=``){return this._xOffset=t,this._xPosition=`right`,this}start(t=``){return this._xOffset=t,this._xPosition=`start`,this}end(t=``){return this._xOffset=t,this._xPosition=`end`,this}width(t=``){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=``){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=``){return this.left(t),this._xPosition=`center`,this}centerVertically(t=``){return this.top(t),this._alignItems=`center`,this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,{width:o,height:i,maxWidth:s,maxHeight:a}=this._overlayRef.getConfig(),c=(o===`100%`||o===`100vw`)&&(!s||s===`100%`||s===`100vw`),l=(i===`100%`||i===`100vh`)&&(!a||a===`100%`||a===`100vh`),u=this._xPosition,d=this._xOffset,p=this._overlayRef.getConfig().direction===`rtl`,f=``,m=``,g=``;c?g=`flex-start`:u===`center`?(g=`center`,p?m=d:f=d):p?u===`left`||u===`end`?(g=`flex-end`,f=d):(u===`right`||u===`start`)&&(g=`flex-start`,m=d):u===`left`||u===`start`?(g=`flex-start`,f=d):(u===`right`||u===`end`)&&(g=`flex-end`,m=d),t.position=this._cssPosition,t.marginLeft=c?`0`:f,t.marginTop=l?`0`:this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=c?`0`:m,n.justifyContent=g,n.alignItems=l?`flex-start`:this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,r=n.style;n.classList.remove(hE),r.justifyContent=r.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position=``,this._overlayRef=null,this._isDisposed=!0}};var IE=(()=>{class e{_injector=h(V);global(){return wE()}flexibleConnectedTo(n){return qp(this._injector,n)}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var Yp=new v(`OVERLAY_DEFAULT_CONFIG`);function Zp(e,t){e.get(rt).load(DE);let n=e.get(EE),r=e.get(R),o=e.get(qi),i=e.get(gt),s=e.get(mo),a=e.get(Xe,null,{optional:!0})||e.get(me).createRenderer(null,null),c=new os(t),l=e.get(Yp,null,{optional:!0})?.usePopover??!0;c.direction=c.direction||s.value,!r.body||!(`showPopover`in r.body)?c.usePopover=!1:c.usePopover=t?.usePopover??l;let u=r.createElement(`div`),d=r.createElement(`div`);u.id=o.getId(`cdk-overlay-`),u.classList.add(`cdk-overlay-pane`),d.appendChild(u),c.usePopover&&(d.setAttribute(`popover`,`manual`),d.classList.add(`cdk-overlay-popover`));let p=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return Gp(p)?p.after(d):p?.type===`parent`?p.element.appendChild(d):n.getContainerElement().appendChild(d),new cl(new rl(u,i,e),d,u,c,e.get(O),e.get(bE),r,e.get(bc),e.get(_E),t?.disableAnimations??e.get(li,null,{optional:!0})===`NoopAnimations`,e.get(se),a)}var SE=(()=>{class e{scrollStrategies=h(vE);_positionBuilder=h(IE);_injector=h(V);create(n){return Zp(this._injector,n)}position(){return this._positionBuilder}static ɵfac=function(r){return new(r||e)};static ɵprov=M({token:e,factory:e.ɵfac})}return e})();var Ik=[{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`}];var Sk=new v(`cdk-connected-overlay-scroll-strategy`,{providedIn:`root`,factory:()=>{let e=h(V);return()=>Wp(e)}});var zp=(()=>{class e{elementRef=h(q);static ɵfac=function(r){return new(r||e)};static ɵdir=Z({type:e,selectors:[[``,`cdk-overlay-origin`,``],[``,`overlay-origin`,``],[``,`cdkOverlayOrigin`,``]],exportAs:[`cdkOverlayOrigin`]})}return e})();var CE=new v(`cdk-connected-overlay-default-config`);var Ck=(()=>{class e{_dir=h(mo,{optional:!0});_injector=h(V);_overlayRef;_templatePortal;_backdropSubscription=L.EMPTY;_attachSubscription=L.EMPTY;_detachSubscription=L.EMPTY;_positionSubscription=L.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=h(Sk);_ngZone=h(O);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(n){this._offsetY=n,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(n){typeof n!=`string`&&this._assignConfig(n)}backdropClick=new J;positionChange=new J;attach=new J;detach=new J;overlayKeydown=new J;overlayOutsideClick=new J;constructor(){let n=h($e),r=h(Pe),o=h(CE,{optional:!0}),i=h(Yp,{optional:!0});this.usePopover=i?.usePopover===!1?null:`global`,this._templatePortal=new Ro(n,r),this.scrollStrategy=this._scrollStrategyFactory(),o&&this._assignConfig(o)}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(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Ik);let n=this._overlayRef=Zp(this._injector,this._buildConfig());this._attachSubscription=n.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=n.detachments().subscribe(()=>this.detach.emit()),n.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!Nc(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),i=Ne(r);(!o||o!==i&&!o.contains(i))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let n=this._position=this.positionStrategy||this._createPositionStrategy(),r=new os({direction:this._dir||`ltr`,positionStrategy:n,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(n){let r=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return n.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 n=qp(this._injector,this._getOrigin());return this._updatePositionStrategy(n),n}_getOrigin(){return this.origin instanceof zp?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof zp?this.origin.elementRef.nativeElement:this.origin instanceof q?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 n=this._overlayRef;n.getConfig().hasBackdrop=this.hasBackdrop,n.updateSize({width:this._getWidth()}),n.hasAttached()||n.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=n.backdropClick().subscribe(r=>this.backdropClick.emit(r)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(zl(()=>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(n){this.origin=n.origin??this.origin,this.positions=n.positions??this.positions,this.positionStrategy=n.positionStrategy??this.positionStrategy,this.offsetX=n.offsetX??this.offsetX,this.offsetY=n.offsetY??this.offsetY,this.width=n.width??this.width,this.height=n.height??this.height,this.minWidth=n.minWidth??this.minWidth,this.minHeight=n.minHeight??this.minHeight,this.backdropClass=n.backdropClass??this.backdropClass,this.panelClass=n.panelClass??this.panelClass,this.viewportMargin=n.viewportMargin??this.viewportMargin,this.scrollStrategy=n.scrollStrategy??this.scrollStrategy,this.disableClose=n.disableClose??this.disableClose,this.transformOriginSelector=n.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=n.hasBackdrop??this.hasBackdrop,this.lockPosition=n.lockPosition??this.lockPosition,this.flexibleDimensions=n.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=n.growAfterOpen??this.growAfterOpen,this.push=n.push??this.push,this.disposeOnNavigation=n.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=n.usePopover??this.usePopover,this.matchWidth=n.matchWidth??this.matchWidth}static ɵfac=function(r){return new(r||e)};static ɵdir=Z({type:e,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`,le],lockPosition:[2,`cdkConnectedOverlayLockPosition`,`lockPosition`,le],flexibleDimensions:[2,`cdkConnectedOverlayFlexibleDimensions`,`flexibleDimensions`,le],growAfterOpen:[2,`cdkConnectedOverlayGrowAfterOpen`,`growAfterOpen`,le],push:[2,`cdkConnectedOverlayPush`,`push`,le],disposeOnNavigation:[2,`cdkConnectedOverlayDisposeOnNavigation`,`disposeOnNavigation`,le],usePopover:[0,`cdkConnectedOverlayUsePopover`,`usePopover`],matchWidth:[2,`cdkConnectedOverlayMatchWidth`,`matchWidth`,le],_config:[0,`cdkConnectedOverlay`,`_config`]},outputs:{backdropClick:`backdropClick`,positionChange:`positionChange`,attach:`attach`,detach:`detach`,overlayKeydown:`overlayKeydown`,overlayOutsideClick:`overlayOutsideClick`},exportAs:[`cdkConnectedOverlay`],features:[En]})}return e})();var xk=(()=>{class e{static ɵfac=function(r){return new(r||e)};static ɵmod=oe({type:e});static ɵinj=te({providers:[SE],imports:[nn,aE,fp,fp]})}return e})();export{KE as $,gM as $n,qN as $r,Vp as $t,G5 as A,wy as Ai,aw as An,lw as Ar,R as At,Hy as B,ym as Bi,cq as Bn,nT as Br,Tc as Bt,EE as C,vr as Ci,_T as Cn,lb as Cr,Pl as Ct,Ey as D,wf as Di,_y as Dn,lo as Dr,Qe as Dt,En as E,wE as Ei,_r as En,ln as Er,QT as Et,HY as F,xi as Fi,bp as Fn,me as Fr,Ro as Ft,J3 as G,zi as Gi,dT as Gn,oN as Gr,UY as Gt,In as H,yp as Hi,cw as Hn,nn as Hr,Tf as Ht,Ho as I,xk as Ii,by as In,mo as Ir,Sn as It,Je as J,zr as Ji,et as Jn,os as Jr,Un as Jt,JC as K,zo as Ki,dp as Kn,oT as Kr,Ui as Kt,Hs as L,xp as Li,cl as Ln,my as Lr,Sy as Lt,Gn as M,x_ as Mi,bT as Mn,m0 as Mr,Rc as Mt,H9 as N,xe as Ni,bc as Nn,mE as Nr,Re as Nt,Fr as O,wr as Oi,aE as On,lr as Or,Qg as Ot,HT as P,xf as Pi,bm as Pn,mc as Pr,Rm as Pt,K9 as Q,fp as Qn,qC as Qr,Vl as Qt,Ht as R,y as Ri,co as Rn,nJ as Rr,T as Rt,Do as S,v0 as Si,Zt as Sn,kr as Sr,Ph as St,Ee as T,vw as Ti,_p as Tn,le as Tr,QN as Tt,It as U,yy as Ui,cy as Un,nt as Ur,Tn as Ut,I as V,yn as Vi,cr as Vn,nl as Vr,Te as Vt,J as W,ze as Wi,d0 as Wn,o0 as Wr,Ty as Wt,Jy as X,fn as Xn,pw as Xr,Uy as Xt,Jt as Y,f0 as Yn,p0 as Yr,Uo as Yt,K3 as Z,fo as Zn,q as Zr,V as Zt,Cf as _,uY as _i,Z3 as _n,jo as _r,Oe as _t,$n as a,re as ai,Wl as an,hS as ar,M0 as at,Cy as b,uw as bi,Zi as bn,kN as br,Pc as bt,A0 as c,sc as ci,X3 as cn,hw as cr,N as ct,Bl as d,sw as di,Xe as dn,ie as dr,Nc as dt,qT as ei,Vt as en,gT as er,L as et,Br as f,tJ as fi,Y3 as fn,io as fr,Ne as ft,C_ as g,u0 as gi,Z as gn,jf as gr,O as gt,By as h,tt as hi,Yp as hn,jN as hr,Ny as ht,$l as i,rT as ii,Wa as in,h as ir,M as it,Gb as j,x6 as ji,b9 as jn,ly as jr,R9 as jt,G0 as k,wt as ki,a_ as kn,lt as kr,Qt as kt,Am as l,se as li,XN as ln,hy as lr,NA as lt,Bx as m,te as mi,YQ as mn,iw as mr,Ni as mt,$e as n,qp as ni,Vy as nn,gt as nr,LE as nt,$o as o,rm as oi,Wn as on,hc as or,Mf as ot,Bt as p,tN as pi,YN as pn,ir as pr,Nf as pt,JT as q,zp as qi,eG as qn,oe as qr,Ul as qt,$i as r,rN as ri,WC as rn,gy as rr,Ll as rt,$y as s,rt as si,Wp as sn,hp as sr,My as st,$Y as t,qi as ti,Vx as tn,gb as tr,L4 as tt,Bc as u,sp as ui,XT as un,iT as ur,N_ as ut,Ck as v,uc as vi,ZM as vn,jy as vr,P as vt,Eb as w,vt as wi,_e as wn,lc as wr,Q as wt,Df as x,v as xi,Zp as xn,kl as xr,Pe as xt,Cn as y,up as yi,ZN as yn,kI as yr,P0 as yt,Hx as z,yS as zi,cp as zn,nN as zr,T0 as zt};