var $S=Object.create;var $a=Object.defineProperty,zS=Object.defineProperties,GS=Object.getOwnPropertyDescriptor,WS=Object.getOwnPropertyDescriptors,qS=Object.getOwnPropertyNames,Ha=Object.getOwnPropertySymbols,YS=Object.getPrototypeOf,Ud=Object.prototype.hasOwnProperty,Rv=Object.prototype.propertyIsEnumerable;var Av=(t,n,e)=>n in t?$a(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,g=(t,n)=>{for(var e in n||={})Ud.call(n,e)&&Av(t,e,n[e]);if(Ha)for(var e of Ha(n))Rv.call(n,e)&&Av(t,e,n[e]);return t},F=(t,n)=>zS(t,WS(n));var ZS=(t,n)=>{var e={};for(var r in t)Ud.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(t!=null&&Ha)for(var r of Ha(t))n.indexOf(r)<0&&Rv.call(t,r)&&(e[r]=t[r]);return e};var o1=(t,n)=>()=>{try{return n||t((n={exports:{}}).exports,n),n.exports}catch(e){throw n=0,e}},i1=(t,n)=>{for(var e in n)$a(t,e,{get:n[e],enumerable:!0})},KS=(t,n,e,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of qS(n))!Ud.call(t,o)&&o!==e&&$a(t,o,{get:()=>n[o],enumerable:!(r=GS(n,o))||r.enumerable});return t};var s1=(t,n,e)=>(e=t!=null?$S(YS(t)):{},KS(n||!t||!t.__esModule?$a(e,"default",{value:t,enumerable:!0}):e,t));function R(t){return typeof t=="function"}function tr(t){let e=t(r=>{Error.call(r),r.stack=new Error().stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var za=tr(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription: ${e.map((r,o)=>`${o+1}) ${r.toString()}`).join(` `)}`:"",this.name="UnsubscriptionError",this.errors=e});function Rr(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var G=class t{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(let i of e)i.remove(this);else e.remove(this);let{initialTeardown:r}=this;if(R(r))try{r()}catch(i){n=i instanceof za?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{Nv(i)}catch(s){n=n??[],s instanceof za?n=[...n,...s.errors]:n.push(s)}}if(n)throw new za(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Nv(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(n)}}_hasParent(n){let{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){let{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){let{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&Rr(e,n)}remove(n){let{_finalizers:e}=this;e&&Rr(e,n),n instanceof t&&n._removeParent(this)}};G.EMPTY=(()=>{let t=new G;return t.closed=!0,t})();var Hd=G.EMPTY;function Ga(t){return t instanceof G||t&&"closed"in t&&R(t.remove)&&R(t.add)&&R(t.unsubscribe)}function Nv(t){R(t)?t():t.unsubscribe()}var Pt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Co={setTimeout(t,n,...e){let{delegate:r}=Co;return r?.setTimeout?r.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=Co;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Wa(t){Co.setTimeout(()=>{let{onUnhandledError:n}=Pt;if(n)n(t);else throw t})}function Nr(){}var Ov=$d("C",void 0,void 0);function kv(t){return $d("E",void 0,t)}function Fv(t){return $d("N",t,void 0)}function $d(t,n,e){return{kind:t,value:n,error:e}}var Or=null;function Io(t){if(Pt.useDeprecatedSynchronousErrorHandling){let n=!Or;if(n&&(Or={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:r}=Or;if(Or=null,e)throw r}}else t()}function Pv(t){Pt.useDeprecatedSynchronousErrorHandling&&Or&&(Or.errorThrown=!0,Or.error=t)}var kr=class extends G{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Ga(n)&&n.add(this)):this.destination=JS}static create(n,e,r){return new Lt(n,e,r)}next(n){this.isStopped?Gd(Fv(n),this):this._next(n)}error(n){this.isStopped?Gd(kv(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Gd(Ov,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},QS=Function.prototype.bind;function zd(t,n){return QS.call(t,n)}var Wd=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(r){qa(r)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(r){qa(r)}else qa(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){qa(e)}}},Lt=class extends kr{constructor(n,e,r){super();let o;if(R(n)||!n)o={next:n??void 0,error:e??void 0,complete:r??void 0};else{let i;this&&Pt.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&zd(n.next,i),error:n.error&&zd(n.error,i),complete:n.complete&&zd(n.complete,i)}):o=n}this.destination=new Wd(o)}};function qa(t){Pt.useDeprecatedSynchronousErrorHandling?Pv(t):Wa(t)}function XS(t){throw t}function Gd(t,n){let{onStoppedNotification:e}=Pt;e&&Co.setTimeout(()=>e(t,n))}var JS={closed:!0,next:Nr,error:XS,complete:Nr};var So=typeof Symbol=="function"&&Symbol.observable||"@@observable";function dt(t){return t}function qd(...t){return Yd(t)}function Yd(t){return t.length===0?dt:t.length===1?t[0]:function(e){return t.reduce((r,o)=>o(r),e)}}var P=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){let r=new t;return r.source=this,r.operator=e,r}subscribe(e,r,o){let i=tM(e)?e:new Lt(e,r,o);return Io(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(e){try{return this._subscribe(e)}catch(r){e.error(r)}}forEach(e,r){return r=Lv(r),new r((o,i)=>{let s=new Lt({next:a=>{try{e(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(e){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(e)}[So](){return this}pipe(...e){return Yd(e)(this)}toPromise(e){return e=Lv(e),new e((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=n=>new t(n),t})();function Lv(t){var n;return(n=t??Pt.Promise)!==null&&n!==void 0?n:Promise}function eM(t){return t&&R(t.next)&&R(t.error)&&R(t.complete)}function tM(t){return t&&t instanceof kr||eM(t)&&Ga(t)}var jv=tr(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var x=(()=>{class t extends P{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let r=new Ya(this,this);return r.operator=e,r}_throwIfClosed(){if(this.closed)throw new jv}next(e){Io(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(e)}})}error(e){Io(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:r}=this;for(;r.length;)r.shift().error(e)}})}complete(){Io(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Hd:(this.currentObservers=null,i.push(e),new G(()=>{this.currentObservers=null,Rr(i,e)}))}_checkFinalizedStatuses(e){let{hasError:r,thrownError:o,isStopped:i}=this;r?e.error(o):i&&e.complete()}asObservable(){let e=new P;return e.source=this,e}}return t.create=(n,e)=>new Ya(n,e),t})(),Ya=class extends x{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.next)===null||r===void 0||r.call(e,n)}error(n){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.error)===null||r===void 0||r.call(e,n)}complete(){var n,e;(e=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||e===void 0||e.call(n)}_subscribe(n){var e,r;return(r=(e=this.source)===null||e===void 0?void 0:e.subscribe(n))!==null&&r!==void 0?r:Hd}};function Zd(t){return R(t?.lift)}function k(t){return n=>{if(Zd(n))return n.lift(function(e){try{return t(e,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function N(t,n,e,r,o){return new Kd(t,n,e,r,o)}var Kd=class extends kr{constructor(n,e,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};function Bv(t,n,e,r){function o(i){return i instanceof e?i:new e(function(s){s(i)})}return new(e||(e=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(t,n||[])).next())})}function Vv(t){var n=typeof Symbol=="function"&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Fr(t){return this instanceof Fr?(this.v=t,this):new Fr(t)}function Uv(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e.apply(t,n||[]),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(p){return function(m){return Promise.resolve(m).then(p,d)}}function a(p,m){r[p]&&(o[p]=function(_){return new Promise(function(D,C){i.push([p,_,D,C])>1||c(p,_)})},m&&(o[p]=m(o[p])))}function c(p,m){try{l(r[p](m))}catch(_){h(i[0][3],_)}}function l(p){p.value instanceof Fr?Promise.resolve(p.value.v).then(u,d):h(i[0][2],p)}function u(p){c("next",p)}function d(p){c("throw",p)}function h(p,m){p(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Hv(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],e;return n?n.call(t):(t=typeof Vv=="function"?Vv(t):t[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(i){e[i]=t[i]&&function(s){return new Promise(function(a,c){s=t[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 Mo=t=>t&&typeof t.length=="number"&&typeof t!="function";function Za(t){return R(t?.then)}function Ka(t){return R(t[So])}function Qa(t){return Symbol.asyncIterator&&R(t?.[Symbol.asyncIterator])}function Xa(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function nM(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Ja=nM();function ec(t){return R(t?.[Ja])}function tc(t){return Uv(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:r,done:o}=yield Fr(e.read());if(o)return yield Fr(void 0);yield yield Fr(r)}}finally{e.releaseLock()}})}function nc(t){return R(t?.getReader)}function X(t){if(t instanceof P)return t;if(t!=null){if(Ka(t))return rM(t);if(Mo(t))return oM(t);if(Za(t))return iM(t);if(Qa(t))return $v(t);if(ec(t))return sM(t);if(nc(t))return aM(t)}throw Xa(t)}function rM(t){return new P(n=>{let e=t[So]();if(R(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function oM(t){return new P(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Wa)})}function sM(t){return new P(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function $v(t){return new P(n=>{cM(t,n).catch(e=>n.error(e))})}function aM(t){return $v(tc(t))}function cM(t,n){var e,r,o,i;return Bv(this,void 0,void 0,function*(){try{for(e=Hv(t);r=yield e.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=e.return)&&(yield i.call(e))}finally{if(o)throw o.error}}n.complete()})}function jt(t){return k((n,e)=>{X(t).subscribe(N(e,()=>e.complete(),Nr)),!e.closed&&n.subscribe(e)})}function zv(){return k((t,n)=>{let e=null;t._refCount++;let r=N(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){e=null;return}let o=t._connection,i=e;e=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(r),r.closed||(e=t.connect())})}var Ui=class extends P{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Zd(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){let n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new G;let e=this.getSubject();n.add(this.source.subscribe(N(e,void 0,()=>{this._teardown(),e.complete()},r=>{this._teardown(),e.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=G.EMPTY)}return n}refCount(){return zv()(this)}};var To={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:r}=To;r&&(n=r.requestAnimationFrame,e=r.cancelAnimationFrame);let o=n(i=>{e=void 0,t(i)});return new G(()=>e?.(o))},requestAnimationFrame(...t){let{delegate:n}=To;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=To;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var Ae=class extends x{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){let{hasError:n,thrownError:e,_value:r}=this;if(n)throw e;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var Hi={now(){return(Hi.delegate||Date).now()},delegate:void 0};var $i=class extends x{constructor(n=1/0,e=1/0,r=Hi){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){let{isStopped:e,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;e||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;sGv(n)&&t()),n},clearImmediate(t){Gv(t)}};var{setImmediate:uM,clearImmediate:dM}=Wv,Gi={setImmediate(...t){let{delegate:n}=Gi;return(n?.setImmediate||uM)(...t)},clearImmediate(t){let{delegate:n}=Gi;return(n?.clearImmediate||dM)(t)},delegate:void 0};var oc=class extends nr{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,r=0){return r!==null&&r>0?super.requestAsyncId(n,e,r):(n.actions.push(this),n._scheduled||(n._scheduled=Gi.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,e,r);let{actions:i}=n;e!=null&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==e&&(Gi.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}};var xo=class t{constructor(n,e=t.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,r){return new this.schedulerActionCtor(this,n).schedule(r,e)}};xo.now=Hi.now;var rr=class extends xo{constructor(n,e=xo.now){super(n,e),this.actions=[],this._active=!1}flush(n){let{actions:e}=this;if(this._active){e.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=e.shift());if(this._active=!1,r){for(;n=e.shift();)n.unsubscribe();throw r}}};var ic=class extends rr{flush(n){this._active=!0;let e=this._scheduled;this._scheduled=void 0;let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===e&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===e&&r.shift();)n.unsubscribe();throw o}}};var qv=new ic(oc);var Ct=new rr(nr),Jd=Ct;var sc=class extends nr{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,r=0){return r!==null&&r>0?super.requestAsyncId(n,e,r):(n.actions.push(this),n._scheduled||(n._scheduled=To.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,e,r);let{actions:i}=n;e!=null&&e===n._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==e&&(To.cancelAnimationFrame(e),n._scheduled=void 0)}};var ac=class extends rr{flush(n){this._active=!0;let e;n?e=n.id:(e=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===e&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===e&&r.shift();)n.unsubscribe();throw o}}};var Yv=new ac(sc);var Re=new P(t=>t.complete());function cc(t){return t&&R(t.schedule)}function ef(t){return t[t.length-1]}function lc(t){return R(ef(t))?t.pop():void 0}function an(t){return cc(ef(t))?t.pop():void 0}function Zv(t,n){return typeof ef(t)=="number"?t.pop():n}function We(t,n,e,r=0,o=!1){let i=n.schedule(function(){e(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function uc(t,n=0){return k((e,r)=>{e.subscribe(N(r,o=>We(r,t,()=>r.next(o),n),()=>We(r,t,()=>r.complete(),n),o=>We(r,t,()=>r.error(o),n)))})}function Wi(t,n=0){return k((e,r)=>{r.add(t.schedule(()=>e.subscribe(r),n))})}function Kv(t,n){return X(t).pipe(Wi(n),uc(n))}function Qv(t,n){return X(t).pipe(Wi(n),uc(n))}function Xv(t,n){return new P(e=>{let r=0;return n.schedule(function(){r===t.length?e.complete():(e.next(t[r++]),e.closed||this.schedule())})})}function Jv(t,n){return new P(e=>{let r;return We(e,n,()=>{r=t[Ja](),We(e,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){e.error(s);return}i?e.complete():e.next(o)},0,!0)}),()=>R(r?.return)&&r.return()})}function dc(t,n){if(!t)throw new Error("Iterable cannot be null");return new P(e=>{We(e,n,()=>{let r=t[Symbol.asyncIterator]();We(e,n,()=>{r.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function ey(t,n){return dc(tc(t),n)}function ty(t,n){if(t!=null){if(Ka(t))return Kv(t,n);if(Mo(t))return Xv(t,n);if(Za(t))return Qv(t,n);if(Qa(t))return dc(t,n);if(ec(t))return Jv(t,n);if(nc(t))return ey(t,n)}throw Xa(t)}function ae(t,n){return n?ty(t,n):X(t)}function S(...t){let n=an(t);return ae(t,n)}function xn(t,n){let e=R(t)?t:()=>t,r=o=>o.error(e());return new P(n?o=>n.schedule(r,0,o):r)}function Vt(t){return!!t&&(t instanceof P||R(t.lift)&&R(t.subscribe))}var An=tr(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function fM(t,n){let e=typeof n=="object";return new Promise((r,o)=>{let i=new Lt({next:s=>{r(s),i.unsubscribe()},error:o,complete:()=>{e?r(n.defaultValue):o(new An)}});t.subscribe(i)})}function fc(t){return t instanceof Date&&!isNaN(t)}var hM=tr(t=>function(e=null){t(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=e});function pM(t,n){let{first:e,each:r,with:o=mM,scheduler:i=n??Ct,meta:s=null}=fc(t)?{first:t}:typeof t=="number"?{each:t}:t;if(e==null&&r==null)throw new TypeError("No timeout provided.");return k((a,c)=>{let l,u,d=null,h=0,p=m=>{u=We(c,i,()=>{try{l.unsubscribe(),X(o({meta:s,lastValue:d,seen:h})).subscribe(c)}catch(_){c.error(_)}},m)};l=a.subscribe(N(c,m=>{u?.unsubscribe(),h++,c.next(d=m),r>0&&p(r)},void 0,void 0,()=>{u?.closed||u?.unsubscribe(),d=null})),!h&&p(e!=null?typeof e=="number"?e:+e-i.now():r)})}function mM(t){throw new hM(t)}function V(t,n){return k((e,r)=>{let o=0;e.subscribe(N(r,i=>{r.next(t.call(n,i,o++))}))})}var{isArray:gM}=Array;function vM(t,n){return gM(n)?t(...n):t(n)}function Ao(t){return V(n=>vM(t,n))}var{isArray:yM}=Array,{getPrototypeOf:bM,prototype:_M,keys:DM}=Object;function hc(t){if(t.length===1){let n=t[0];if(yM(n))return{args:n,keys:null};if(EM(n)){let e=DM(n);return{args:e.map(r=>n[r]),keys:e}}}return{args:t,keys:null}}function EM(t){return t&&typeof t=="object"&&bM(t)===_M}function pc(t,n){return t.reduce((e,r,o)=>(e[r]=n[o],e),{})}function Ro(...t){let n=an(t),e=lc(t),{args:r,keys:o}=hc(t);if(r.length===0)return ae([],n);let i=new P(wM(r,n,o?s=>pc(o,s):dt));return e?i.pipe(Ao(e)):i}function wM(t,n,e=dt){return r=>{ny(n,()=>{let{length:o}=t,i=new Array(o),s=o,a=o;for(let c=0;c{let l=ae(t[c],n),u=!1;l.subscribe(N(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(e(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}function ny(t,n,e){t?We(e,t,n):n()}function ry(t,n,e,r,o,i,s,a){let c=[],l=0,u=0,d=!1,h=()=>{d&&!c.length&&!l&&n.complete()},p=_=>l{i&&n.next(_),l++;let D=!1;X(e(_,u++)).subscribe(N(n,C=>{o?.(C),i?p(C):n.next(C)},()=>{D=!0},void 0,()=>{if(D)try{for(l--;c.length&&lm(C)):m(C)}h()}catch(C){n.error(C)}}))};return t.subscribe(N(n,p,()=>{d=!0,h()})),()=>{a?.()}}function Ee(t,n,e=1/0){return R(n)?Ee((r,o)=>V((i,s)=>n(r,i,o,s))(X(t(r,o))),e):(typeof n=="number"&&(e=n),k((r,o)=>ry(r,o,t,e)))}function cn(t=1/0){return Ee(dt,t)}function oy(){return cn(1)}function ln(...t){return oy()(ae(t,an(t)))}function qi(t){return new P(n=>{X(t()).subscribe(n)})}function Yi(...t){let n=lc(t),{args:e,keys:r}=hc(t),o=new P(i=>{let{length:s}=e;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=h},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?pc(r,a):a),i.complete())}))}});return n?o.pipe(Ao(n)):o}var CM=["addListener","removeListener"],IM=["addEventListener","removeEventListener"],SM=["on","off"];function tf(t,n,e,r){if(R(e)&&(r=e,e=void 0),r)return tf(t,n,e).pipe(Ao(r));let[o,i]=xM(t)?IM.map(s=>a=>t[s](n,a,e)):MM(t)?CM.map(iy(t,n)):TM(t)?SM.map(iy(t,n)):[];if(!o&&Mo(t))return Ee(s=>tf(s,n,e))(X(t));if(!o)throw new TypeError("Invalid event target");return new P(s=>{let a=(...c)=>s.next(1i(a)})}function iy(t,n){return e=>r=>t[e](n,r)}function MM(t){return R(t.addListener)&&R(t.removeListener)}function TM(t){return R(t.on)&&R(t.off)}function xM(t){return R(t.addEventListener)&&R(t.removeEventListener)}function Pr(t=0,n,e=Jd){let r=-1;return n!=null&&(cc(n)?e=n:r=n),new P(o=>{let i=fc(t)?+t-e.now():t;i<0&&(i=0);let s=0;return e.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function AM(t=0,n=Ct){return t<0&&(t=0),Pr(t,t,n)}function RM(...t){let n=an(t),e=Zv(t,1/0),r=t;return r.length?r.length===1?X(r[0]):cn(e)(ae(r,n)):Re}function he(t,n){return k((e,r)=>{let o=0;e.subscribe(N(r,i=>t.call(n,i,o++)&&r.next(i)))})}function sy(t){return k((n,e)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,e.next(l)}s&&e.complete()},c=()=>{i=null,s&&e.complete()};n.subscribe(N(e,l=>{r=!0,o=l,i||X(t(l)).subscribe(i=N(e,a,c))},()=>{s=!0,(!r||!i||i.closed)&&e.complete()}))})}function mc(t,n=Ct){return sy(()=>Pr(t,n))}function It(t){return k((n,e)=>{let r=null,o=!1,i;r=n.subscribe(N(e,void 0,void 0,s=>{i=X(t(s,It(t)(n))),r?(r.unsubscribe(),r=null,i.subscribe(e)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(e))})}function ay(t,n,e,r,o){return(i,s)=>{let a=e,c=n,l=0;i.subscribe(N(s,u=>{let d=l++;c=a?t(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}function NM(t,n){return k(ay(t,n,arguments.length>=2,!1,!0))}function or(t,n){return R(n)?Ee(t,n,1):Ee(t,1)}function Lr(t,n=Ct){return k((e,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+t,u=n.now();if(u{i=l,s=n.now(),o||(o=n.schedule(c,t),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function cy(t){return k((n,e)=>{let r=!1;n.subscribe(N(e,o=>{r=!0,e.next(o)},()=>{r||e.next(t),e.complete()}))})}function Ne(t){return t<=0?()=>Re:k((n,e)=>{let r=0;n.subscribe(N(e,o=>{++r<=t&&(e.next(o),t<=r&&e.complete())}))})}function ly(){return k((t,n)=>{t.subscribe(N(n,Nr))})}function nf(t){return V(()=>t)}function rf(t,n){return n?e=>ln(n.pipe(Ne(1),ly()),e.pipe(rf(t))):Ee((e,r)=>X(t(e,r)).pipe(Ne(1),nf(e)))}function OM(t,n=Ct){let e=Pr(t,n);return rf(()=>e)}function gc(t,n=dt){return t=t??kM,k((e,r)=>{let o,i=!0;e.subscribe(N(r,s=>{let a=n(s);(i||!t(o,a))&&(i=!1,o=a,r.next(s))}))})}function kM(t,n){return t===n}function uy(t=FM){return k((n,e)=>{let r=!1;n.subscribe(N(e,o=>{r=!0,e.next(o)},()=>r?e.complete():e.error(t())))})}function FM(){return new An}function Rn(t){return k((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Nn(t,n){let e=arguments.length>=2;return r=>r.pipe(t?he((o,i)=>t(o,i,r)):dt,Ne(1),e?cy(n):uy(()=>new An))}function vc(t){return t<=0?()=>Re:k((n,e)=>{let r=[];n.subscribe(N(e,o=>{r.push(o),t{for(let o of r)e.next(o);e.complete()},void 0,()=>{r=null}))})}function dy(){return k((t,n)=>{let e,r=!1;t.subscribe(N(n,o=>{let i=e;e=o,r&&n.next([i,o]),r=!0}))})}function Zi(t={}){let{connector:n=()=>new x,resetOnError:e=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=t;return i=>{let s,a,c,l=0,u=!1,d=!1,h=()=>{a?.unsubscribe(),a=void 0},p=()=>{h(),s=c=void 0,u=d=!1},m=()=>{let _=s;p(),_?.unsubscribe()};return k((_,D)=>{l++,!d&&!u&&h();let C=c=c??n();D.add(()=>{l--,l===0&&!d&&!u&&(a=of(m,o))}),C.subscribe(D),!s&&l>0&&(s=new Lt({next:z=>C.next(z),error:z=>{d=!0,h(),a=of(p,e,z),C.error(z)},complete:()=>{u=!0,h(),a=of(p,r),C.complete()}}),X(_).subscribe(s))})(i)}}function of(t,n,...e){if(n===!0){t();return}if(n===!1)return;let r=new Lt({next:()=>{r.unsubscribe(),t()}});return X(n(...e)).subscribe(r)}function fy(t,n,e){let r,o=!1;return t&&typeof t=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:e}=t:r=t??1/0,Zi({connector:()=>new $i(r,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Ki(t){return he((n,e)=>t<=e)}function No(...t){let n=an(t);return k((e,r)=>{(n?ln(t,e,n):ln(t,e)).subscribe(r)})}function Ve(t,n){return k((e,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();e.subscribe(N(r,c=>{o?.unsubscribe();let l=0,u=i++;X(t(c,u)).subscribe(o=N(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function sf(t,n=!1){return k((e,r)=>{let o=0;e.subscribe(N(r,i=>{let s=t(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function Be(t,n,e){let r=R(t)||n||e?{next:t,error:n,complete:e}:t;return r?k((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(N(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)}))}):dt}var qe=null,yc=!1,af=1,PM=null,me=Symbol("SIGNAL");function M(t){let n=qe;return qe=t,n}function bc(){return qe}var ir={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 On(t){if(yc)throw new Error("");if(qe===null)return;qe.consumerOnSignalRead(t);let n=qe.producersTail;if(n!==void 0&&n.producer===t)return;let e,r=qe.recomputing;if(r&&(e=n!==void 0?n.nextProducer:qe.producers,e!==void 0&&e.producer===t)){qe.producersTail=e,e.lastReadVersion=t.version;return}let o=t.consumersTail;if(o!==void 0&&o.consumer===qe&&(!r||jM(o,qe)))return;let i=Fo(qe),s={producer:t,consumer:qe,nextProducer:e,prevConsumer:o,lastReadVersion:t.version,nextConsumer:void 0};qe.producersTail=s,n!==void 0?n.nextProducer=s:qe.producers=s,i&&gy(t,s)}function hy(){af++}function Br(t){if(!(Fo(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===af)){if(!t.producerMustRecompute(t)&&!ko(t)){Oo(t);return}t.producerRecomputeValue(t),Oo(t)}}function cf(t){if(t.consumers===void 0)return;let n=yc;yc=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let r=e.consumer;r.dirty||LM(r)}}finally{yc=n}}function lf(){return qe?.consumerAllowSignalWrites!==!1}function LM(t){t.dirty=!0,cf(t),t.consumerMarkedDirty?.(t)}function Oo(t){t.dirty=!1,t.lastCleanEpoch=af}function kn(t){return t&&py(t),M(t)}function py(t){t.producersTail=void 0,t.recomputing=!0}function sr(t,n){M(n),t&&my(t)}function my(t){t.recomputing=!1;let n=t.producersTail,e=n!==void 0?n.nextProducer:t.producers;if(e!==void 0){if(Fo(t))do e=uf(e);while(e!==void 0);n!==void 0?n.nextProducer=void 0:t.producers=void 0}}function ko(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,r=n.lastReadVersion;if(r!==e.version||(Br(e),r!==e.version))return!0}return!1}function ar(t){if(Fo(t)){let n=t.producers;for(;n!==void 0;)n=uf(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function gy(t,n){let e=t.consumersTail,r=Fo(t);if(e!==void 0?(n.nextConsumer=e.nextConsumer,e.nextConsumer=n):(n.nextConsumer=void 0,t.consumers=n),n.prevConsumer=e,t.consumersTail=n,!r)for(let o=t.producers;o!==void 0;o=o.nextProducer)gy(o.producer,o)}function uf(t){let n=t.producer,e=t.nextProducer,r=t.nextConsumer,o=t.prevConsumer;if(t.nextConsumer=void 0,t.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!Fo(n)){let i=n.producers;for(;i!==void 0;)i=uf(i)}return e}function Fo(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function Qi(t){PM?.(t)}function jM(t,n){let e=n.producersTail;if(e!==void 0){let r=n.producers;do{if(r===t)return!0;if(r===e)break;r=r.nextProducer}while(r!==void 0)}return!1}function Xi(t,n){return Object.is(t,n)}function Ji(t,n){let e=Object.create(VM);e.computation=t,n!==void 0&&(e.equal=n);let r=()=>{if(Br(e),On(e),e.value===un)throw e.error;return e.value};return r[me]=e,Qi(e),r}var jr=Symbol("UNSET"),Vr=Symbol("COMPUTING"),un=Symbol("ERRORED"),VM=F(g({},ir),{value:jr,dirty:!0,error:null,equal:Xi,kind:"computed",producerMustRecompute(t){return t.value===jr||t.value===Vr},producerRecomputeValue(t){if(t.value===Vr)throw new Error("");let n=t.value;t.value=Vr;let e=kn(t),r,o=!1;try{r=t.computation(),M(null),o=n!==jr&&n!==un&&r!==un&&t.equal(n,r)}catch(i){r=un,t.error=i}finally{sr(t,e)}if(o){t.value=n;return}t.value=r,t.version++}});function BM(){throw new Error}var vy=BM;function yy(t){vy(t)}function df(t){vy=t}var UM=null;function ff(t,n){let e=Object.create(es);e.value=t,n!==void 0&&(e.equal=n);let r=()=>by(e);return r[me]=e,Qi(e),[r,s=>cr(e,s),s=>_c(e,s)]}function by(t){return On(t),t.value}function cr(t,n){lf()||yy(t),t.equal(t.value,n)||(t.value=n,HM(t))}function _c(t,n){lf()||yy(t),cr(t,n(t.value))}var es=F(g({},ir),{equal:Xi,value:void 0,kind:"signal"});function HM(t){t.version++,hy(),cf(t),UM?.(t)}var hf=F(g({},ir),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function pf(t){if(t.dirty=!1,t.version>0&&!ko(t))return;t.version++;let n=kn(t);try{t.cleanup(),t.fn()}finally{sr(t,n)}}var mf;function Dc(){return mf}function dn(t){let n=mf;return mf=t,n}var _y=Symbol("NotFound");function Po(t){return t===_y||t?.name==="\u0275NotFound"}function gf(t,n,e){let r=Object.create($M);r.source=t,r.computation=n,e!=null&&(r.equal=e);let i=()=>{if(Br(r),On(r),r.value===un)throw r.error;return r.value};return i[me]=r,Qi(r),i}function Dy(t,n){Br(t),cr(t,n),Oo(t)}function Ey(t,n){if(Br(t),t.value===un)throw t.error;_c(t,n),Oo(t)}var $M=F(g({},ir),{value:jr,dirty:!0,error:null,equal:Xi,kind:"linkedSignal",producerMustRecompute(t){return t.value===jr||t.value===Vr},producerRecomputeValue(t){if(t.value===Vr)throw new Error("");let n=t.value;t.value=Vr;let e=kn(t),r,o=!1;try{let i=t.source(),s=n!==jr&&n!==un,a=s?{source:t.sourceValue,value:n}:void 0;r=t.computation(i,a),t.sourceValue=i,M(null),o=s&&r!==un&&t.equal(n,r)}catch(i){r=un,t.error=i}finally{sr(t,e)}if(o){t.value=n;return}t.value=r,t.version++}});function wy(t){let n=M(null);try{return t()}finally{M(n)}}var xc="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",b=class extends Error{code;constructor(n,e){super(St(n,e)),this.code=n}};function zM(t){return`NG0${Math.abs(t)}`}function St(t,n){return`${zM(t)}${n?": "+n:""}`}var we=globalThis;function ne(t){for(let n in t)if(t[n]===ne)return n;throw Error("")}function Ty(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function cs(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(cs).join(", ")}]`;if(t==null)return""+t;let n=t.overriddenName||t.name;if(n)return`${n}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(` `);return r>=0?e.slice(0,r):e}function Ac(t,n){return t?n?`${t} ${n}`:t:n||""}var GM=ne({__forward_ref__:ne});function Ie(t){return t.__forward_ref__=Ie,t}function Oe(t){return xf(t)?t():t}function xf(t){return typeof t=="function"&&t.hasOwnProperty(GM)&&t.__forward_ref__===Ie}function v(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function q(t){return{providers:t.providers||[],imports:t.imports||[]}}function ls(t){return WM(t,Rc)}function Af(t){return ls(t)!==null}function WM(t,n){return t.hasOwnProperty(n)&&t[n]||null}function qM(t){let n=t?.[Rc]??null;return n||null}function yf(t){return t&&t.hasOwnProperty(Cc)?t[Cc]:null}var Rc=ne({\u0275prov:ne}),Cc=ne({\u0275inj:ne}),y=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,e){this._desc=n,this.\u0275prov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.\u0275prov=v({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Rf(t){return t&&!!t.\u0275providers}var us=ne({\u0275cmp:ne}),ds=ne({\u0275dir:ne}),Nf=ne({\u0275pipe:ne}),Of=ne({\u0275mod:ne}),ns=ne({\u0275fac:ne}),Gr=ne({__NG_ELEMENT_ID__:ne}),Cy=ne({__NG_ENV_ID__:ne});function kf(t){return Oc(t,"@NgModule"),t[Of]||null}function hn(t){return Oc(t,"@Component"),t[us]||null}function Nc(t){return Oc(t,"@Directive"),t[ds]||null}function xy(t){return Oc(t,"@Pipe"),t[Nf]||null}function Oc(t,n){if(t==null)throw new b(-919,!1)}function Se(t){return typeof t=="string"?t:t==null?"":String(t)}var Ay=ne({ngErrorCode:ne}),YM=ne({ngErrorMessage:ne}),ZM=ne({ngTokenPath:ne});function Ff(t,n){return Ry("",-200,n)}function kc(t,n){throw new b(-201,!1)}function Ry(t,n,e){let r=new b(n,t);return r[Ay]=n,r[YM]=t,e&&(r[ZM]=e),r}function KM(t){return t[Ay]}var bf;function Ny(){return bf}function tt(t){let n=bf;return bf=t,n}function Pf(t,n,e){let r=ls(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(e&8)return null;if(n!==void 0)return n;kc(t,"")}var QM={},Ur=QM,XM="__NG_DI_FLAG__",_f=class{injector;constructor(n){this.injector=n}retrieve(n,e){let r=Hr(e)||0;try{return this.injector.get(n,r&8?null:Ur,r)}catch(o){if(Po(o))return o;throw o}}};function JM(t,n=0){let e=Dc();if(e===void 0)throw new b(-203,!1);if(e===null)return Pf(t,void 0,n);{let r=eT(n),o=e.retrieve(t,r);if(Po(o)){if(r.optional)return null;throw o}return o}}function w(t,n=0){return(Ny()||JM)(Oe(t),n)}function f(t,n){return w(t,Hr(n))}function Hr(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function eT(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function Df(t){let n=[];for(let e=0;eArray.isArray(e)?Fc(e,n):n(e))}function Lf(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function fs(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function Fy(t,n){let e=[];for(let r=0;rn;){let i=o-2;t[o]=t[i],o--}t[n]=e,t[n+1]=r}}function Pc(t,n,e){let r=jo(t,n);return r>=0?t[r|1]=e:(r=~r,Py(t,r,n,e)),r}function Lc(t,n){let e=jo(t,n);if(e>=0)return t[e|1]}function jo(t,n){return nT(t,n,1)}function nT(t,n,e){let r=0,o=t.length>>e;for(;o!==r;){let i=r+(o-r>>1),s=t[i<n?o=i:r=i+1}return~(o<{e.push(s)};return Fc(n,s=>{let a=s;Ic(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&jy(o,i),e}function jy(t,n){for(let e=0;e{n(i,r)})}}function Ic(t,n,e,r){if(t=Oe(t),!t)return!1;let o=null,i=yf(t),s=!i&&hn(t);if(!i&&!s){let c=t.ngModule;if(i=yf(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=t}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)Ic(l,n,e,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;Fc(i.imports,u=>{Ic(u,n,e,r)&&(l||=[],l.push(u))}),l!==void 0&&jy(l,n)}if(!a){let l=ur(o)||(()=>new o);n({provide:o,useFactory:l,deps:Ye},o),n({provide:Vf,useValue:o,multi:!0},o),n({provide:Wr,useValue:()=>w(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=t;Uf(c,u=>{n(u,l)})}}else return!1;return o!==t&&t.providers!==void 0}function Uf(t,n){for(let e of t)Rf(e)&&(e=e.\u0275providers),Array.isArray(e)?Uf(e,n):n(e)}var rT=ne({provide:String,useValue:ne});function Vy(t){return t!==null&&typeof t=="object"&&rT in t}function oT(t){return!!(t&&t.useExisting)}function iT(t){return!!(t&&t.useFactory)}function $r(t){return typeof t=="function"}function By(t){return!!t.useClass}var hs=new y(""),Ec={},Iy={},vf;function Vo(){return vf===void 0&&(vf=new rs),vf}var re=class{},zr=class extends re{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,e,r,o){super(),this.parent=e,this.source=r,this.scopes=o,wf(n,s=>this.processProvider(s)),this.records.set(jf,Lo(void 0,this)),o.has("environment")&&this.records.set(re,Lo(void 0,this));let i=this.records.get(hs);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Vf,Ye,{self:!0}))}retrieve(n,e){let r=Hr(e)||0;try{return this.get(n,Ur,r)}catch(o){if(Po(o))return o;throw o}}destroy(){ts(this),this._destroyed=!0;let n=M(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of e)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),M(n)}}onDestroy(n){return ts(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){ts(this);let e=dn(this),r=tt(void 0),o;try{return n()}finally{dn(e),tt(r)}}get(n,e=Ur,r){if(ts(this),n.hasOwnProperty(Cy))return n[Cy](this);let o=Hr(r),i,s=dn(this),a=tt(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=uT(n)&&ls(n);u&&this.injectableDefInScope(u)?l=Lo(Ef(n),Ec):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?Vo():this.parent;return e=o&8&&e===Ur?null:e,c.get(n,e)}catch(c){let l=KM(c);throw l===-200||l===-201?new b(l,null):c}finally{tt(a),dn(s)}}resolveInjectorInitializers(){let n=M(null),e=dn(this),r=tt(void 0),o;try{let i=this.get(Wr,Ye,{self:!0});for(let s of i)s()}finally{dn(e),tt(r),M(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=Oe(n);let e=$r(n)?n:Oe(n&&n.provide),r=aT(n);if(!$r(n)&&n.multi===!0){let o=this.records.get(e);o||(o=Lo(void 0,Ec,!0),o.factory=()=>Df(o.multi),this.records.set(e,o)),e=n,o.multi.push(n)}this.records.set(e,r)}hydrate(n,e,r){let o=M(null);try{if(e.value===Iy)throw Ff("");return e.value===Ec&&(e.value=Iy,e.value=e.factory(void 0,r)),typeof e.value=="object"&&e.value&&lT(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{M(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=Oe(n.providedIn);return typeof e=="string"?e==="any"||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(n){let e=this._onDestroyHooks.indexOf(n);e!==-1&&this._onDestroyHooks.splice(e,1)}};function Ef(t){let n=ls(t),e=n!==null?n.factory:ur(t);if(e!==null)return e;if(t instanceof y)throw new b(-204,!1);if(t instanceof Function)return sT(t);throw new b(-204,!1)}function sT(t){if(t.length>0)throw new b(-204,!1);let e=qM(t);return e!==null?()=>e.factory(t):()=>new t}function aT(t){if(Vy(t))return Lo(void 0,t.useValue);{let n=Hf(t);return Lo(n,Ec)}}function Hf(t,n,e){let r;if($r(t)){let o=Oe(t);return ur(o)||Ef(o)}else if(Vy(t))r=()=>Oe(t.useValue);else if(iT(t))r=()=>t.useFactory(...Df(t.deps||[]));else if(oT(t))r=(o,i)=>w(Oe(t.useExisting),i!==void 0&&i&8?8:void 0);else{let o=Oe(t&&(t.useClass||t.provide));if(cT(t))r=()=>new o(...Df(t.deps));else return ur(o)||Ef(o)}return r}function ts(t){if(t.destroyed)throw new b(-205,!1)}function Lo(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function cT(t){return!!t.deps}function lT(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function uT(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function wf(t,n){for(let e of t)Array.isArray(e)?wf(e,n):e&&Rf(e)?wf(e.\u0275providers,n):n(e)}function Fe(t,n){let e;t instanceof zr?(ts(t),e=t):e=new _f(t);let r,o=dn(e),i=tt(void 0);try{return n()}finally{dn(o),tt(i)}}function $f(){return Ny()!==void 0||Dc()!=null}var Ut=0,A=1,L=2,ke=3,Mt=4,nt=5,qr=6,Bo=7,ge=8,Pn=9,Ht=10,se=11,Uo=12,zf=13,Yr=14,Ke=15,pr=16,Zr=17,pn=18,Ln=19,Gf=20,Fn=21,jc=22,dr=23,ft=24,Kr=25,mr=26,de=27,Uy=1,Wf=6,gr=7,ps=8,Qr=9,ve=10;function jn(t){return Array.isArray(t)&&typeof t[Uy]=="object"}function $t(t){return Array.isArray(t)&&t[Uy]===!0}function qf(t){return(t.flags&4)!==0}function mn(t){return t.componentOffset>-1}function Ho(t){return(t.flags&1)===1}function zt(t){return!!t.template}function $o(t){return(t[L]&512)!==0}function Xr(t){return(t[L]&256)===256}var J=(function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t[t.ATTRIBUTE_NO_BINDING=6]="ATTRIBUTE_NO_BINDING",t})(J||{}),wc,os="svg",Yf="math";function Hy(){return wc||(wc={},lr(J.HTML,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),lr(J.STYLE,void 0,[["*",["style"]]]),lr(J.URL,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),lr(J.URL,Yf,[["*",["href","xlink:href"]],["annotation",["href","xlink:href"]],["annotation-xml",["href","xlink:href"]],["maction",["href","xlink:href"]],["malignmark",["href","xlink:href"]],["math",["href","xlink:href"]],["mroot",["href","xlink:href"]],["msqrt",["href","xlink:href"]],["merror",["href","xlink:href"]],["mfrac",["href","xlink:href"]],["mglyph",["href","xlink:href"]],["msub",["href","xlink:href"]],["msup",["href","xlink:href"]],["msubsup",["href","xlink:href"]],["mmultiscripts",["href","xlink:href"]],["mprescripts",["href","xlink:href"]],["mi",["href","xlink:href"]],["mn",["href","xlink:href"]],["mo",["href","xlink:href"]],["mpadded",["href","xlink:href"]],["mphantom",["href","xlink:href"]],["mrow",["href","xlink:href"]],["ms",["href","xlink:href"]],["mspace",["href","xlink:href"]],["mstyle",["href","xlink:href"]],["mtable",["href","xlink:href"]],["mtd",["href","xlink:href"]],["mtr",["href","xlink:href"]],["mtext",["href","xlink:href"]],["mover",["href","xlink:href"]],["munder",["href","xlink:href"]],["munderover",["href","xlink:href"]],["semantics",["href","xlink:href"]],["none",["href","xlink:href"]]]),lr(J.RESOURCE_URL,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),lr(J.URL,os,[["a",["href","xlink:href"]]]),lr(J.ATTRIBUTE_NO_BINDING,os,[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),lr(J.ATTRIBUTE_NO_BINDING,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority"]]])),wc}function lr(t,n,e){for(let[r,o]of e){let i=n&&r!=="unknown"?`:${n}:${r}`:r;i=i.toLowerCase();for(let s of o)wc[`${i}|${s.toLowerCase()}`]=t}}function $y(t,n,e){let r=Hy(),o=t.toLowerCase(),i=n.toLowerCase(),s=e&&o!=="*"&&o!=="unknown"?r[`:${e}:${o}|${i}`]:void 0,a=e?r[`:${e}:*|${i}`]:void 0;return s??a??r[`${o}|${i}`]??r[`*|${i}`]??J.NONE}function Tt(t){for(;Array.isArray(t);)t=t[Ut];return t}function Zf(t,n){return Tt(n[t])}function ht(t,n){return Tt(n[t.index])}function Vc(t,n){return t.data[n]}function ms(t,n){return t[n]}function Kf(t,n,e,r){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=r}function xt(t,n){let e=n[t];return jn(e)?e:e[Ut]}function zy(t){return(t[L]&4)===4}function Bc(t){return(t[L]&128)===128}function Gy(t){return $t(t[ke])}function pt(t,n){return n==null?null:t[n]}function Qf(t){t[Zr]=0}function Xf(t){t[L]&1024||(t[L]|=1024,Bc(t)&&Jr(t))}function Wy(t,n){for(;t>0;)n=n[Yr],t--;return n}function gs(t){return!!(t[L]&9216||t[ft]?.dirty)}function Uc(t){t[Ht].changeDetectionScheduler?.notify(8),t[L]&64&&(t[L]|=1024),gs(t)&&Jr(t)}function Jr(t){t[Ht].changeDetectionScheduler?.notify(0);let n=fr(t);for(;n!==null&&!(n[L]&8192||(n[L]|=8192,!Bc(n)));)n=fr(n)}function Jf(t,n){if(Xr(t))throw new b(911,!1);t[Fn]===null&&(t[Fn]=[]),t[Fn].push(n)}function qy(t,n){if(t[Fn]===null)return;let e=t[Fn].indexOf(n);e!==-1&&t[Fn].splice(e,1)}function fr(t){let n=t[ke];return $t(n)?n[ke]:n}function eh(t){return t[Bo]??=[]}function th(t){return t.cleanup??=[]}function Yy(t,n,e,r){let o=eh(n);o.push(e),t.firstCreatePass&&th(t).push(r,o.length-1)}var U={lFrame:ab(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Cf=!1;function Zy(){return U.lFrame.elementDepthCount}function Ky(){U.lFrame.elementDepthCount++}function nh(){U.lFrame.elementDepthCount--}function Hc(){return U.bindingsEnabled}function rh(){return U.skipHydrationRootTNode!==null}function oh(t){return U.skipHydrationRootTNode===t}function ih(){U.skipHydrationRootTNode=null}function I(){return U.lFrame.lView}function le(){return U.lFrame.tView}function Qy(t){return U.lFrame.contextLView=t,t[ge]}function Xy(t){return U.lFrame.contextLView=null,t}function Me(){let t=sh();for(;t!==null&&t.type===64;)t=t.parent;return t}function sh(){return U.lFrame.currentTNode}function Jy(){let t=U.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function zo(t,n){let e=U.lFrame;e.currentTNode=t,e.isParent=n}function ah(){return U.lFrame.isParent}function ch(){U.lFrame.isParent=!1}function eb(){return U.lFrame.contextLView}function lh(){return Cf}function is(t){let n=Cf;return Cf=t,n}function gn(){let t=U.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function vs(){return U.lFrame.bindingIndex}function tb(t){return U.lFrame.bindingIndex=t}function Vn(){return U.lFrame.bindingIndex++}function eo(t){let n=U.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function nb(){return U.lFrame.inI18n}function rb(t,n){let e=U.lFrame;e.bindingIndex=e.bindingRootIndex=t,$c(n)}function ob(){return U.lFrame.currentDirectiveIndex}function $c(t){U.lFrame.currentDirectiveIndex=t}function ib(t){let n=U.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function zc(){return U.lFrame.currentQueryIndex}function ys(t){U.lFrame.currentQueryIndex=t}function dT(t){let n=t[A];return n.type===2?n.declTNode:n.type===1?t[nt]:null}function uh(t,n,e){if(e&4){let o=n,i=t;for(;o=o.parent,o===null&&!(e&1);)if(o=dT(i),o===null||(i=i[Yr],o.type&10))break;if(o===null)return!1;n=o,t=i}let r=U.lFrame=sb();return r.currentTNode=n,r.lView=t,!0}function Gc(t){let n=sb(),e=t[A];U.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function sb(){let t=U.lFrame,n=t===null?null:t.child;return n===null?ab(t):n}function ab(t){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=n),n}function cb(){let t=U.lFrame;return U.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var dh=cb;function Wc(){let t=cb();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function lb(t){return(U.lFrame.contextLView=Wy(t,U.lFrame.contextLView))[ge]}function st(){return U.lFrame.selectedIndex}function vr(t){U.lFrame.selectedIndex=t}function to(){let t=U.lFrame;return Vc(t.tView,t.selectedIndex)}function ub(){U.lFrame.currentNamespace=os}function db(){fT()}function fT(){U.lFrame.currentNamespace=null}function fh(){return U.lFrame.currentNamespace}var fb=!0;function qc(){return fb}function bs(t){fb=t}function If(t,n=null,e=null,r){let o=hh(t,n,e,r);return o.resolveInjectorInitializers(),o}function hh(t,n=null,e=null,r,o=new Set){let i=[e||Ye,Ly(t)],s;return new zr(i,n||Vo(),s||null,o)}var W=class t{static THROW_IF_NOT_FOUND=Ur;static NULL=new rs;static create(n,e){if(Array.isArray(n))return If({name:""},e,n,"");{let r=n.name??"";return If({name:r},n.parent,n.providers,r)}}static \u0275prov=v({token:t,providedIn:"any",factory:()=>w(jf)});static __NG_ELEMENT_ID__=-1},O=new y(""),Ue=(()=>{class t{static __NG_ELEMENT_ID__=hT;static __NG_ENV_ID__=e=>e}return t})(),Sc=class extends Ue{_lView;constructor(n){super(),this._lView=n}get destroyed(){return Xr(this._lView)}onDestroy(n){let e=this._lView;return Jf(e,n),()=>qy(e,n)}};function hT(){return new Sc(I())}var hb=!1,pb=new y(""),Bn=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Ae(!1);debugTaskTracker=f(pb,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new P(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),this.debugTaskTracker?.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),this.debugTaskTracker?.remove(e),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),Sf=class extends x{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,$f()&&(this.destroyRef=f(Ue,{optional:!0})??void 0,this.pendingTasks=f(Bn,{optional:!0})??void 0)}emit(n){let e=M(null);try{super.next(n)}finally{M(e)}}subscribe(n,e,r){let o=n,i=e||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;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 n instanceof G&&n.add(a),a}wrapInTimeout(n){return e=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(e)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},H=Sf;function Mc(...t){}function ph(t){let n,e;function r(){t=Mc;try{e!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(e),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{t(),r()}),typeof requestAnimationFrame=="function"&&(e=requestAnimationFrame(()=>{t(),r()})),()=>r()}function mb(t){return queueMicrotask(()=>t()),()=>{t=Mc}}var mh="isAngularZone",ss=mh+"_ID",pT=0,j=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new H(!1);onMicrotaskEmpty=new H(!1);onStable=new H(!1);onError=new H(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=hb}=n;if(typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();let s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,vT(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(mh)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new b(909,!1)}run(n,e,r){return this._inner.run(n,e,r)}runTask(n,e,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,mT,Mc,Mc);try{return i.runTask(s,e,r)}finally{i.cancelTask(s)}}runGuarded(n,e,r){return this._inner.runGuarded(n,e,r)}runOutsideAngular(n){return this._outer.run(n)}},mT={};function gh(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function gT(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){ph(()=>{t.callbackScheduled=!1,Mf(t),t.isCheckStableRunning=!0,gh(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Mf(t)}function vT(t){let n=()=>{gT(t)},e=pT++;t._inner=t._inner.fork({name:"angular",properties:{[mh]:!0,[ss]:e,[ss+e]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(yT(c))return r.invokeTask(i,s,a,c);try{return Sy(t),r.invokeTask(i,s,a,c)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),My(t)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Sy(t),r.invoke(i,s,a,c,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!bT(c)&&n(),My(t)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,Mf(t),gh(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function Mf(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Sy(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function My(t){t._nesting--,gh(t)}var as=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new H;onMicrotaskEmpty=new H;onStable=new H;onError=new H;run(n,e,r){return n.apply(e,r)}runGuarded(n,e,r){return n.apply(e,r)}runOutsideAngular(n){return n()}runTask(n,e,r,o){return n.apply(e,r)}};function yT(t){return gb(t,"__ignore_ng_zone__")}function bT(t){return gb(t,"__scheduler_tick__")}function gb(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var Ze=class{_console=console;handleError(n){this._console.error("ERROR",n)}},mt=new y("",{factory:()=>{let t=f(j),n=f(re),e;return r=>{t.runOutsideAngular(()=>{n.destroyed&&!e?setTimeout(()=>{throw r}):(e??=n.get(Ze),e.handleError(r))})}}}),vb={provide:Wr,useValue:()=>{let t=f(Ze,{optional:!0})},multi:!0};function K(t,n){let[e,r,o]=ff(t,n?.equal),i=e,s=i[me];return i.set=r,i.update=o,i.asReadonly=_s.bind(i),i}function _s(){let t=this[me];if(t.readonlyFn===void 0){let n=()=>this();n[me]=t,t.readonlyFn=n}return t.readonlyFn}var Go=(()=>{class t{view;node;constructor(e,r){this.view=e,this.node=r}static __NG_ELEMENT_ID__=_T}return t})();function _T(){return new Go(I(),Me())}var fn=class{},Ds=new y("",{factory:()=>!0});var vh=new y(""),Wo=(()=>{class t{internalPendingTasks=f(Bn);scheduler=f(fn);errorHandler=f(mt);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let r=this.add();e().catch(this.errorHandler).finally(r)}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),Yc=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>new Tf})}return t})(),Tf=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let e=n.zone,r=this.queues.get(e);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let e=n.zone;this.queues.has(e)||this.queues.set(e,new Set);let r=this.queues.get(e);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[e,r]of this.queues)e===null?n||=this.flushQueue(r):n||=e.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let e=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,e=!0,r.run());return e}},Tc=class{[me];constructor(n){this[me]=n}destroy(){this[me].destroy()}};function Es(t,n){let e=n?.injector??f(W),r=n?.manualCleanup!==!0?e.get(Ue):null,o,i=e.get(Go,null,{optional:!0}),s=e.get(fn);return i!==null?(o=wT(i.view,s,t),r instanceof Sc&&r._lView===i.view&&(r=null)):o=CT(t,e.get(Yc),s),o.injector=e,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Tc(o)}var yb=F(g({},hf),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let t=is(!1);try{pf(this)}finally{is(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=M(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],M(t)}}}),DT=F(g({},yb),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(ar(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.scheduler.remove(this)}}),ET=F(g({},yb),{consumerMarkedDirty(){this.view[L]|=8192,Jr(this.view),this.notifier.notify(13)},destroy(){if(ar(this),this.onDestroyFns!==null)for(let t of this.onDestroyFns)t();this.cleanup(),this.view[dr]?.delete(this)}});function wT(t,n,e){let r=Object.create(ET);return r.view=t,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=bb(r,e),t[dr]??=new Set,t[dr].add(r),r.consumerMarkedDirty(r),r}function CT(t,n,e){let r=Object.create(DT);return r.fn=bb(r,t),r.scheduler=n,r.notifier=e,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function bb(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}function Os(t){return{toString:t}.toString()}function RT(t){return typeof t=="function"}function r_(t,n,e,r){n!==null?n.applyValueToInputSignal(n,r):t[e]=r}var ol=class{previousValue;currentValue;firstChange;constructor(n,e,r){this.previousValue=n,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}},$e=(()=>{let t=()=>o_;return t.ngInherit=!0,t})();function o_(t){return t.type.prototype.ngOnChanges&&(t.setInput=OT),NT}function NT(){let t=s_(this),n=t?.current;if(n){let e=t.previous;if(e===Bt)t.previous=n;else for(let r in n)e[r]=n[r];t.current=null,this.ngOnChanges(n)}}function OT(t,n,e,r,o){let i=this.declaredInputs[r],s=s_(t)||kT(t,{previous:Bt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new ol(l&&l.currentValue,e,c===Bt),r_(t,n,o,e)}var i_="__ngSimpleChanges__";function s_(t){return t[i_]||null}function kT(t,n){return t[i_]=n}var _b=[];var oe=function(t,n=null,e){for(let r=0;r<_b.length;r++){let o=_b[r];o(t,n,e)}},ee=(function(t){return t[t.TemplateCreateStart=0]="TemplateCreateStart",t[t.TemplateCreateEnd=1]="TemplateCreateEnd",t[t.TemplateUpdateStart=2]="TemplateUpdateStart",t[t.TemplateUpdateEnd=3]="TemplateUpdateEnd",t[t.LifecycleHookStart=4]="LifecycleHookStart",t[t.LifecycleHookEnd=5]="LifecycleHookEnd",t[t.OutputStart=6]="OutputStart",t[t.OutputEnd=7]="OutputEnd",t[t.BootstrapApplicationStart=8]="BootstrapApplicationStart",t[t.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",t[t.BootstrapComponentStart=10]="BootstrapComponentStart",t[t.BootstrapComponentEnd=11]="BootstrapComponentEnd",t[t.ChangeDetectionStart=12]="ChangeDetectionStart",t[t.ChangeDetectionEnd=13]="ChangeDetectionEnd",t[t.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",t[t.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",t[t.AfterRenderHooksStart=16]="AfterRenderHooksStart",t[t.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",t[t.ComponentStart=18]="ComponentStart",t[t.ComponentEnd=19]="ComponentEnd",t[t.DeferBlockStateStart=20]="DeferBlockStateStart",t[t.DeferBlockStateEnd=21]="DeferBlockStateEnd",t[t.DynamicComponentStart=22]="DynamicComponentStart",t[t.DynamicComponentEnd=23]="DynamicComponentEnd",t[t.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",t[t.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",t})(ee||{});function FT(t,n,e){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=o_(n);(e.preOrderHooks??=[]).push(t,s),(e.preOrderCheckHooks??=[]).push(t,s)}o&&(e.preOrderHooks??=[]).push(0-t,o),i&&((e.preOrderHooks??=[]).push(t,i),(e.preOrderCheckHooks??=[]).push(t,i))}function a_(t,n){for(let e=n.directiveStart,r=n.directiveEnd;e=r)break}else n[c]<0&&(t[Zr]+=65536),(a>14>16&&(t[L]&3)===n&&(t[L]+=16384,Db(a,i)):Db(a,i)}var Yo=-1,ro=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,e,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=e,this.injectImpl=r}};function LT(t){return(t.flags&8)!==0}function jT(t){return(t.flags&16)!==0}function VT(t,n,e){let r=0;for(;rn){s=i-1;break}}}for(;i>16}function sl(t,n){let e=UT(t),r=n;for(;e>0;)r=r[Yr],e--;return r}var xh=!0;function al(t){let n=xh;return xh=t,n}var HT=256,d_=HT-1,f_=5,$T=0,vn={};function zT(t,n,e){let r;typeof e=="string"?r=e.charCodeAt(0)||0:e.hasOwnProperty(Gr)&&(r=e[Gr]),r==null&&(r=e[Gr]=$T++);let o=r&d_,i=1<>f_)]|=i}function cl(t,n){let e=h_(t,n);if(e!==-1)return e;let r=n[A];r.firstCreatePass&&(t.injectorIndex=n.length,bh(r.data,t),bh(n,null),bh(r.blueprint,null));let o=hp(t,n),i=t.injectorIndex;if(u_(o)){let s=il(o),a=sl(o,n),c=a[A].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function bh(t,n){t.push(0,0,0,0,0,0,0,0,n)}function h_(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function hp(t,n){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let e=0,r=null,o=n;for(;o!==null;){if(r=y_(o),r===null)return Yo;if(e++,o=o[Yr],r.injectorIndex!==-1)return r.injectorIndex|e<<16}return Yo}function Ah(t,n,e){zT(t,n,e)}function GT(t,n){if(n==="class")return t.classes;if(n==="style")return t.styles;let e=t.attrs;if(e){let r=e.length,o=0;for(;o>20,d=r?a:a+u,h=o?a+u:l;for(let p=d;p=c&&m.type===e)return p}if(o){let p=s[c];if(p&&zt(p)&&p.type===e)return c}return null}function Ms(t,n,e,r,o){let i=t[e],s=n.data;if(i instanceof ro){let a=i;if(a.resolving)throw Ff("");let c=al(a.canSeeViewProviders);a.resolving=!0;let l=s[e].type||s[e],u,d=a.injectImpl?tt(a.injectImpl):null,h=uh(t,r,0);try{i=t[e]=a.factory(void 0,o,s,t,r),n.firstCreatePass&&e>=r.directiveStart&&FT(e,s[e],n)}finally{d!==null&&tt(d),al(c),a.resolving=!1,dh()}}return i}function qT(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(Gr)?t[Gr]:void 0;return typeof n=="number"?n>=0?n&d_:YT:n}function wb(t,n,e){let r=1<>f_)]&r)}function Cb(t,n){return!(t&2)&&!(t&1&&n)}var no=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,r){return g_(this._tNode,this._lView,n,Hr(r),e)}};function YT(){return new no(Me(),I())}function Pe(t){return Os(()=>{let n=t.prototype.constructor,e=n[ns]||Rh(n),r=Object.prototype,o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){let i=o[ns]||Rh(o);if(i&&i!==e)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Rh(t){return xf(t)?()=>{let n=Rh(Oe(t));return n&&n()}:ur(t)}function ZT(t,n,e,r,o){let i=t,s=n;for(;i!==null&&s!==null&&s[L]&2048&&!$o(s);){let a=v_(i,s,e,r|2,vn);if(a!==vn)return a;let c=i.parent;if(!c){let l=s[Gf];if(l){let u=l.get(e,vn,r&-5);if(u!==vn)return u}c=y_(s),s=s[Yr]}i=c}return o}function y_(t){let n=t[A],e=n.type;return e===2?n.declTNode:e===1?t[nt]:null}function ks(t){return GT(Me(),t)}function KT(){return ti(Me(),I())}function ti(t,n){return new $(ht(t,n))}var $=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=KT}return t})();function b_(t){return t instanceof $?t.nativeElement:t}function QT(){return this._results[Symbol.iterator]()}var Un=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 x}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){this.dirty=!1;let r=ky(n);(this._changesDetected=!Oy(this._results,r,e))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=QT};function __(t){return(t.flags&128)===128}var pp=(function(t){return t[t.OnPush=0]="OnPush",t[t.Eager=1]="Eager",t[t.Default=1]="Default",t})(pp||{}),D_=new Map,XT=0;function JT(){return XT++}function e0(t){D_.set(t[Ln],t)}function Nh(t){D_.delete(t[Ln])}var Ib="__ngContext__";function Ko(t,n){jn(n)?(t[Ib]=n[Ln],e0(n)):t[Ib]=n}function E_(t){return C_(t[Uo])}function w_(t){return C_(t[Mt])}function C_(t){for(;t!==null&&!$t(t);)t=t[Mt];return t}var Oh;function mp(t){Oh=t}function I_(){if(Oh!==void 0)return Oh;if(typeof document<"u")return document;throw new b(210,!1)}var _r=new y("",{factory:()=>t0}),t0="ng";var El=new y(""),so=new y("",{providedIn:"platform",factory:()=>"unknown"}),Fs=new y(""),ao=new y("",{factory:()=>f(O).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var S_="r";var M_="di";var gp=new y(""),T_=!1,x_=new y("",{factory:()=>T_});var wl=new y("");var Sb=new WeakMap;function n0(t,n){if(t==null||typeof t!="object")return;let e=Sb.get(t);e||(e=new WeakSet,Sb.set(t,e)),e.add(n)}var r0=(t,n,e,r)=>{};function o0(t,n,e,r){r0(t,n,e,r)}function Cl(t){return(t.flags&32)===32}var i0=()=>null;function A_(t,n,e=!1){return i0(t,n,e)}function R_(t,n){let e=t.contentQueries;if(e!==null){let r=M(null);try{for(let o=0;ot,createScript:t=>t,createScriptURL:t=>t})}catch{}return Zc}function Il(t){return l0()?.createHTML(t)||t}var Kc;function N_(){if(Kc===void 0&&(Kc=null,we.trustedTypes))try{Kc=we.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Kc}function Mb(t){return N_()?.createHTML(t)||t}function Tb(t){return N_()?.createScriptURL(t)||t}var Hn=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${xc})`}},Fh=class extends Hn{getTypeName(){return"HTML"}},Ph=class extends Hn{getTypeName(){return"Style"}},Lh=class extends Hn{getTypeName(){return"Script"}},jh=class extends Hn{getTypeName(){return"URL"}},Vh=class extends Hn{getTypeName(){return"ResourceURL"}};function vt(t){return t instanceof Hn?t.changingThisBreaksApplicationSecurity:t}function bn(t,n){let e=O_(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${xc})`)}return e===n}function O_(t){return t instanceof Hn&&t.getTypeName()||null}function yp(t){return new Fh(t)}function bp(t){return new Ph(t)}function _p(t){return new Lh(t)}function Dp(t){return new jh(t)}function Ep(t){return new Vh(t)}function u0(t){let n=new Uh(t);return d0()?new Bh(n):n}var Bh=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{let e=new window.DOMParser().parseFromString(Il(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},Uh=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let e=this.inertDocument.createElement("template");return e.innerHTML=Il(n),e}};function d0(){try{return!!new window.DOMParser().parseFromString(Il(""),"text/html")}catch{return!1}}var f0=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Ps(t){return t=String(t),t.match(f0)?t:"unsafe:"+t}function $n(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function Ls(...t){let n={};for(let e of t)for(let r in e)e.hasOwnProperty(r)&&(n[r]=!0);return n}var k_=$n("area,br,col,hr,img,wbr"),F_=$n("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),P_=$n("rp,rt"),h0=Ls(P_,F_),p0=Ls(F_,$n("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")),m0=Ls(P_,$n("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")),xb=Ls(k_,p0,m0,h0),L_=$n("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),g0=$n("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"),v0=$n("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"),y0=Ls(L_,g0,v0),b0=$n("script,style,template"),Hh=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let e=n.firstChild,r=!0,o=[];for(;e;){if(e.nodeType===Node.ELEMENT_NODE?r=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,r&&e.firstChild){o.push(e),e=E0(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=D0(e);if(i){e=i;break}e=o.pop()}}return this.buf.join("")}startElement(n){let e=Ab(n).toLowerCase();if(!xb.hasOwnProperty(e))return this.sanitizedSomething=!0,!b0.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let r=n.attributes;for(let o=0;o"),!0}endElement(n){let e=Ab(n).toLowerCase();xb.hasOwnProperty(e)&&!k_.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(Rb(n))}};function _0(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function D0(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw j_(n);return n}function E0(t){let n=t.firstChild;if(n&&_0(t,n))throw j_(n);return n}function Ab(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function j_(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var w0=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,C0=/([^\#-~ |!])/g;function Rb(t){return t.replace(/&/g,"&").replace(w0,function(n){let e=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((e-55296)*1024+(r-56320)+65536)+";"}).replace(C0,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}var Qc;function Sl(t,n){let e=null;try{Qc=Qc||u0(t);let r=n?String(n):"";e=Qc.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=e.innerHTML,e=Qc.getInertBodyElement(r)}while(r!==i);let a=new Hh().sanitizeChildren(Nb(e)||e);return Il(a)}finally{if(e){let r=Nb(e)||e;for(;r.firstChild;)r.firstChild.remove()}}}function Nb(t){return"content"in t&&I0(t)?t.content:null}function I0(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var S0=/^>|^->||--!>|)/g,T0="\u200B$1\u200B";function x0(t){return t.replace(S0,n=>n.replace(M0,T0))}function A0(t,n){return t.createText(n)}function R0(t,n,e){t.setValue(n,e)}function N0(t,n){return t.createComment(x0(n))}function V_(t,n,e){return t.createElement(n,e)}function ll(t,n,e,r,o){t.insertBefore(n,e,r,o)}function B_(t,n,e){t.appendChild(n,e)}function Ob(t,n,e,r,o){r!==null?ll(t,n,e,r,o):B_(t,n,e)}function U_(t,n,e,r){t.removeChild(null,n,e,r)}function O0(t,n,e){t.setAttribute(n,"style",e)}function k0(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function H_(t,n,e){let{mergedAttrs:r,classes:o,styles:i}=e;r!==null&&VT(t,n,r),o!==null&&k0(t,n,o),i!==null&&O0(t,n,i)}function F0(t,n=!0){if(t[0]!=":")return[null,t];let e=t.indexOf(":",1);if(e===-1){if(n)throw new Error(`Unsupported format "${t}" expecting ":namespace:name"`);return[null,t]}return[t.slice(1,e),t.slice(e+1)]}function P0(t,n,e){if(n!==void 0&&e!==void 0&&G_(n,e)!==J.HTML)return t;let r=Cp();return r?Mb(r.sanitize(J.HTML,t)||""):bn(t,"HTML")?Mb(vt(t)):Sl(I_(),Se(t))}function $_(t){let n=Cp();return n?n.sanitize(J.URL,t)||"":bn(t,"URL")?vt(t):Ps(Se(t))}function z_(t){let n=Cp();if(n)return Tb(n.sanitize(J.RESOURCE_URL,t)||"");if(bn(t,"ResourceURL"))return Tb(vt(t));throw new b(904,!1)}function L0(t,n){switch(G_(t,n)){case J.RESOURCE_URL:return z_;case J.URL:return $_;default:return null}}function wp(t,n,e){return L0(n,e)?.(t)??t}function Cp(){let t=I();return t&&t[Ht].sanitizer}function G_(t,n){let[e,r]=j0(t);return $y(r,n,e)}function j0(t){t=t.toLowerCase();let n=F0(t,!1);if(n[0])return n;let r=st()===-1?null:to(),o=r?.namespace;if(t==="#host"&&r?.type===2){let i=ht(r,I());if(i.tagName&&(t=i.tagName.toLowerCase()),o==null){let s=i.namespaceURI;o=s&&c0[s]}}return[o,t]}function V0(t){return t.ownerDocument.defaultView}function B0(t){return t.ownerDocument}function W_(t){return t instanceof Function?t():t}function U0(t,n,e){let r=t.length;for(;;){let o=t.indexOf(n,e);if(o===-1)return o;if(o===0||t.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||t.charCodeAt(o+i)<=32)return o}e=o+1}}var q_="ng-template";function H0(t,n,e,r){let o=0;if(r){for(;o-1){let i;for(;++oi?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Gt(r))return!1;s=!0}}}}return Gt(r)||s}function Gt(t){return(t&1)===0}function G0(t,n,e,r){if(n===null)return-1;let o=0;if(r||!e){let i=!1;for(;o-1)for(e++;e0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Gt(s)&&(n+=kb(i,o),o=""),r=s,i=i||!Gt(r);e++}return o!==""&&(n+=kb(i,o)),n}function Q0(t){return t.map(K0).join(",")}function X0(t){let n=[],e=[],r=1,o=2;for(;r=0;i--){let s=e[i],a=s.parentNode;s===n?(e.splice(i,1),Cs.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(e.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function ox(t,n){let e=zh.get(t);e?e.includes(n)||e.push(n):zh.set(t,[n])}var oo=new Set,Tl=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(Tl||{}),Zt=new y(""),Fb=new Set;function Kt(t){Fb.has(t)||(Fb.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var xl=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ap=[0,1,2,3],Rp=(()=>{class t{ngZone=f(j);scheduler=f(fn);errorHandler=f(Ze,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){f(Zt,{optional:!0})}execute(){let e=this.sequences.size>0;e&&oe(ee.AfterRenderHooksStart),this.executing=!0;for(let r of Ap)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(),e&&oe(ee.AfterRenderHooksEnd)}register(e){let{view:r}=e;r!==void 0?((r[Kr]??=[]).push(e),Jr(r),r[L]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,r){return r?r.run(Tl.AFTER_NEXT_RENDER,e):e()}static \u0275prov=v({token:t,providedIn:"root",factory:()=>new t})}return t})(),Ts=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,e,r,o,i,s=null){this.impl=n,this.hooks=e,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 n=this.view?.[Kr];n&&(this.view[Kr]=n.filter(e=>e!==this))}};function At(t,n){let e=n?.injector??f(W);return Kt("NgAfterNextRender"),sx(t,e,n,!0)}function ix(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function sx(t,n,e,r){let o=n.get(xl);o.impl??=n.get(Rp);let i=n.get(Zt,null,{optional:!0}),s=e?.manualCleanup!==!0?n.get(Ue):null,a=n.get(Go,null,{optional:!0}),c=new Ts(o.impl,ix(t),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var J_=new y("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:f(re)})});function eD(t,n,e){let r=t.get(J_);if(Array.isArray(n))for(let o of n)r.queue.add(o),e?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),e?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(t)}function ax(t,n){let e=t.get(J_);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)e.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function cx(t,n){for(let[e,r]of n)eD(t,r.animateFns)}function Pb(t,n,e,r){let o=t?.[mr]?.enter;n!==null&&o&&o.has(e.index)&&cx(r,o)}function qo(t,n,e,r,o,i,s,a){if(o!=null){let c,l=!1;$t(o)?c=o:jn(o)&&(l=!0,o=o[Ut]);let u=Tt(o);t===0&&r!==null?(Pb(a,r,i,e),s==null?B_(n,r,u):ll(n,r,u,s||null,!0)):t===1&&r!==null?(Pb(a,r,i,e),ll(n,r,u,s||null,!0),rx(i,u)):t===2?(a?.[mr]?.leave?.has(i.index)&&ox(i,u),Cs.delete(u),Lb(a,i,e,d=>{if(Cs.has(u)){Cs.delete(u);return}U_(n,u,l,d)})):t===3&&(Cs.delete(u),Lb(a,i,e,()=>{n.destroyNode(u)})),c!=null&&bx(n,t,e,c,i,r,s)}}function lx(t,n){tD(t,n),n[Ut]=null,n[nt]=null}function ux(t,n,e,r,o,i){r[Ut]=o,r[nt]=n,Rl(t,r,e,1,o,i)}function tD(t,n){n[Ht].changeDetectionScheduler?.notify(9),Rl(t,n,n[se],2,null,null)}function dx(t){let n=t[Uo];if(!n)return _h(t[A],t);for(;n;){let e=null;if(jn(n))e=n[Uo];else{let r=n[ve];r&&(e=r)}if(!e){for(;n&&!n[Mt]&&n!==t;)jn(n)&&_h(n[A],n),n=n[ke];n===null&&(n=t),jn(n)&&_h(n[A],n),e=n&&n[Mt]}n=e}}function Np(t,n){let e=t[Qr],r=e.indexOf(n);e.splice(r,1)}function Al(t,n){if(Xr(n))return;let e=n[se];e.destroyNode&&Rl(t,n,e,3,null,null),dx(n)}function _h(t,n){if(Xr(n))return;let e=M(null);try{n[L]&=-129,n[L]|=256,n[ft]&&ar(n[ft]),px(t,n),hx(t,n),n[A].type===1&&n[se].destroy();let r=n[pr];if(r!==null&&$t(n[ke])){r!==n[ke]&&Np(r,n);let o=n[pn];o!==null&&o.detachView(t)}Nh(n)}finally{M(e)}}function Lb(t,n,e,r){let o=t?.[mr];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);t&&oo.add(t[Ln]),eD(e,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c{t[mr].running=void 0,oo.delete(t[Ln]),n(!0)});return}n(!1)}function hx(t,n){let e=t.cleanup,r=n[Bo];if(e!==null)for(let s=0;s=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[e[s+1]];e[s].call(a)}r!==null&&(n[Bo]=null);let o=n[Fn];if(o!==null){n[Fn]=null;for(let s=0;sde&&X_(t,n,de,!1);let a=s?ee.TemplateUpdateStart:ee.TemplateCreateStart;oe(a,o,e),e(r,o)}finally{vr(i);let a=s?ee.TemplateUpdateEnd:ee.TemplateCreateEnd;oe(a,o,e)}}function Nl(t,n,e){Ix(t,n,e),(e.flags&64)===64&&Sx(t,n,e)}function js(t,n,e=ht){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;inull;function Cx(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function aD(t,n,e,r,o,i){let s=n[A];if(Ol(t,s,n,e,r)){mn(t)&&lD(n,t.index);return}t.type&3&&(e=Cx(e)),cD(t,n,e,r,o,i)}function cD(t,n,e,r,o,i){if(t.type&3){let s=ht(t,n);r=i!=null?i(r,t.value||"",e):r,o.setProperty(s,e,r)}else t.type&12}function lD(t,n){let e=xt(n,t);e[L]&16||(e[L]|=64)}function Ix(t,n,e){let r=e.directiveStart,o=e.directiveEnd;mn(e)&&tx(n,e,t.data[r+e.componentOffset]),t.firstCreatePass||cl(e,n);let i=e.initialInputs;for(let s=r;s{Jr(t.lView)},consumerOnSignalRead(){this.lView[ft]=this}});function jx(t){let n=t[ft]??Object.create(Vx);return n.lView=t,n}var Vx=F(g({},ir),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=fr(t.lView);for(;n&&!pD(n[A]);)n=fr(n);n&&Xf(n)},consumerOnSignalRead(){this.lView[ft]=this}});function pD(t){return t.type!==2}function mD(t){if(t[dr]===null)return;let n=!0;for(;n;){let e=!1;for(let r of t[dr])r.dirty&&(e=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=e&&!!(t[L]&8192)}}var Bx=100;function gD(t,n=0){let r=t[Ht].rendererFactory,o=!1;o||r.begin?.();try{Ux(t,n)}finally{o||r.end?.()}}function Ux(t,n){let e=lh();try{is(!0),Wh(t,n);let r=0;for(;gs(t);){if(r===Bx)throw new b(103,!1);r++,Wh(t,1)}}finally{is(e)}}function Hx(t,n,e,r){if(Xr(n))return;let o=n[L],i=!1,s=!1;Gc(n);let a=!0,c=null,l=null;i||(pD(t)?(l=kx(n),c=kn(l)):bc()===null?(a=!1,l=jx(n),c=kn(l)):n[ft]&&(ar(n[ft]),n[ft]=null));try{Qf(n),tb(t.bindingStartIndex),e!==null&&sD(t,n,e,2,r);let u=(o&3)===3;if(!i)if(u){let p=t.preOrderCheckHooks;p!==null&&Jc(n,p,null)}else{let p=t.preOrderHooks;p!==null&&el(n,p,0,null),yh(n,0)}if(s||$x(n),mD(n),vD(n,0),t.contentQueries!==null&&R_(t,n),!i)if(u){let p=t.contentCheckHooks;p!==null&&Jc(n,p)}else{let p=t.contentHooks;p!==null&&el(n,p,1),yh(n,1)}Gx(t,n);let d=t.components;d!==null&&bD(n,d,0);let h=t.viewQuery;if(h!==null&&kh(2,h,r),!i)if(u){let p=t.viewCheckHooks;p!==null&&Jc(n,p)}else{let p=t.viewHooks;p!==null&&el(n,p,2),yh(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[jc]){for(let p of n[jc])p();n[jc]=null}i||(fD(n),n[L]&=-73)}catch(u){throw i||Jr(n),u}finally{l!==null&&(sr(l,c),a&&Px(l)),Wc()}}function vD(t,n){for(let e=E_(t);e!==null;e=w_(e))for(let r=ve;r0&&(t[e-1][Mt]=r[Mt]);let i=fs(t,ve+n);lx(r[A],r);let s=i[pn];s!==null&&s.detachView(i[A]),r[ke]=null,r[Mt]=null,r[L]&=-129}return r}function Wx(t,n,e,r){let o=ve+r,i=e.length;r>0&&(e[o-1][Mt]=n),r-1&&(As(n,r),fs(e,r))}this._attachedToViewContainer=!1}Al(this._lView[A],this._lView)}onDestroy(n){Jf(this._lView,n)}markForCheck(){Vp(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[L]&=-129}reattach(){Uc(this._lView),this._lView[L]|=128}detectChanges(){this._lView[L]|=1024,gD(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=$o(this._lView),e=this._lView[pr];e!==null&&!n&&Np(e,this._lView),tD(this._lView[A],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=n;let e=$o(this._lView),r=this._lView[pr];r!==null&&!e&&wD(r,this._lView),Uc(this._lView)}};var gt=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=qx;constructor(e,r,o){this._declarationLView=e,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,o){let i=Vs(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:o});return new yr(i)}}return t})();function qx(){return kl(Me(),I())}function kl(t,n){return t.type&4?new gt(n,t,ti(t,n)):null}function ni(t,n,e,r,o){let i=t.data[n];if(i===null)i=Yx(t,n,e,r,o),nb()&&(i.flags|=32);else if(i.type&64){i.type=e,i.value=r,i.attrs=o;let s=Jy();i.injectorIndex=s===null?-1:s.injectorIndex}return zo(i,!0),i}function Yx(t,n,e,r,o){let i=sh(),s=ah(),a=s?i:i&&i.parent,c=t.data[n]=Kx(t,a,e,n,r,o);return Zx(t,c,i,s),c}function Zx(t,n,e,r){t.firstChild===null&&(t.firstChild=n),e!==null&&(r?e.child==null&&n.parent!==null&&(e.child=n):e.next===null&&(e.next=n,n.prev=e))}function Kx(t,n,e,r,o,i){let s=n?n.injectorIndex:-1,a=0;return rh()&&(a|=128),{type:e,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:fh(),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:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Qx(t){let n=t[Wf]??[],r=t[ke][se],o=[];for(let i of n)i.data[M_]!==void 0?o.push(i):Xx(i,r);t[Wf]=o}function Xx(t,n){let e=0,r=t.firstChild;if(r){let o=t.data[S_];for(;enull,eA=()=>null;function ul(t,n){return Jx(t,n)}function CD(t,n,e){return eA(t,n,e)}var ID=class{},Fl=class{},qh=class{resolveComponentFactory(n){throw new b(917,!1)}},Us=class{static NULL=new qh},He=class{},Le=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>tA()}return t})();function tA(){let t=I(),n=Me(),e=xt(n.index,t);return(jn(e)?e:t)[se]}var SD=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>null})}return t})();var nl={},Yh=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,r){let o=this.injector.get(n,nl,r);return o!==nl||e===nl?o:this.parentInjector.get(n,e,r)}};function dl(t,n,e){let r=e?t.styles:null,o=e?t.classes:null,i=0;if(n!==null)for(let s=0;s0&&(e.directiveToIndex=new Map);for(let h=0;h0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function lA(t,n,e){if(e){if(n.exportAs)for(let r=0;rr(Tt(_[t.index])):t.index;OD(m,n,e,i,a,p,!1)}}return l}function fA(t){return t.startsWith("animation")||t.startsWith("transition")}function hA(t,n,e,r){let o=t.cleanup;if(o!=null)for(let i=0;ic?a[c]:null}typeof s=="string"&&(i+=2)}return null}function OD(t,n,e,r,o,i,s){let a=n.firstCreatePass?th(n):null,c=eh(e),l=c.length;c.push(o,i),a&&a.push(r,t,l,(l+1)*(s?-1:1))}function $b(t,n,e,r,o,i){let s=n[e],a=n[A],l=a.data[e].outputs[r],d=s[l].subscribe(i);OD(t.index,a,n,o,i,d,!0)}var Zh=Symbol("BINDING");function kD(t){return t.debugInfo?.className||t.type.name||null}var fl=class extends Us{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=hn(n);return new br(e,this.ngModule)}};function pA(t){return Object.keys(t).map(n=>{let[e,r,o]=t[n],i={propName:e,templateName:n,isSignal:(r&Ml.SignalBased)!==0};return o&&(i.transform=o),i})}function mA(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function gA(t,n,e){let r=n instanceof re?n:n?.injector;return r&&t.getStandaloneInjector!==null&&(r=t.getStandaloneInjector(r)||r),r?new Yh(e,r):e}function vA(t){let n=t.get(He,null);if(n===null)throw new b(407,!1);let e=t.get(SD,null),r=t.get(fn,null),o=t.get(Zt,null,{optional:!0});return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function yA(t,n){let e=FD(t);return V_(n,e,e==="svg"?os:e==="math"?Yf:null)}function bA(t){if(t?.toLowerCase()==="script")throw new b(905,!1)}function FD(t){return(t.selectors[0][0]||"div").toLowerCase()}var br=class extends Fl{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=pA(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=mA(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=Q0(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,r,o,i,s){oe(ee.DynamicComponentStart);let a=M(null);try{let c=this.componentDef,l=gA(c,o||this.ngModule,n),u=vA(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(kD(c),()=>this.createComponentRef(u,l,e,r,i,s)):this.createComponentRef(u,l,e,r,i,s)}finally{M(a)}}createComponentRef(n,e,r,o,i,s){let a=this.componentDef,c=_A(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?Dx(l,o,a.encapsulation,e):yA(a,l);bA(u?.tagName);let d=s?.some(zb)||i?.some(m=>typeof m!="function"&&m.bindings.some(zb)),h=Mp(null,c,null,512|Z_(a),null,null,n,l,e,null,A_(u,e,!0));h[de]=u,Gc(h);let p=null;try{let m=Up(de,h,2,"#host",()=>c.directiveRegistry,!0,0);H_(l,u,m),Ko(u,h),Nl(c,h,m),vp(c,m,h),Hp(c,m),r!==void 0&&EA(m,this.ngContentSelectors,r),p=xt(m.index,h),h[ge]=p[ge],jp(c,h,null)}catch(m){throw p!==null&&Nh(p),Nh(h),m}finally{oe(ee.DynamicComponentEnd),Wc()}return new hl(this.componentType,h,!!d)}};function _A(t,n,e,r){let o=t?["ng-version","21.2.21"]:X0(n.selectors[0]),i=null,s=null,a=0;if(e)for(let u of e)a+=u[Zh].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u{if(e&1&&t)for(let r of t)r.create();if(e&2&&n)for(let r of n)r.update()}}function zb(t){let n=t[Zh].kind;return n==="input"||n==="twoWay"}var hl=class extends ID{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,r){super(),this._rootLView=e,this._hasInputBindings=r,this._tNode=Vc(e[A],de),this.location=ti(this._tNode,e),this.instance=xt(this._tNode.index,e)[ge],this.hostView=this.changeDetectorRef=new yr(e,void 0),this.componentType=n}setInput(n,e){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),e))return;let o=this._rootLView,i=Ol(r,o[A],o,n,e);this.previousInputValues.set(n,e);let s=xt(r.index,o);Vp(s,1)}get injector(){return new no(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function EA(t,n,e){let r=t.projection=[];for(let o=0;o{class t{static __NG_ELEMENT_ID__=wA}return t})();function wA(){let t=Me();return PD(t,I())}var Kh=class t extends Qe{_lContainer;_hostTNode;_hostLView;constructor(n,e,r){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=r}get element(){return ti(this._hostTNode,this._hostLView)}get injector(){return new no(this._hostTNode,this._hostLView)}get parentInjector(){let n=hp(this._hostTNode,this._hostLView);if(u_(n)){let e=sl(n,this._hostLView),r=il(n),o=e[A].data[r+8];return new no(o,e)}else return new no(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=Gb(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-ve}createEmbeddedView(n,e,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=ul(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(e||{},i,s);return this.insertImpl(a,o,Qo(this._hostTNode,s)),a}createComponent(n,e,r,o,i,s,a){let c=n&&!RT(n),l;if(c)l=e;else{let D=e||{};l=D.index,r=D.injector,o=D.projectableNodes,i=D.environmentInjector||D.ngModuleRef,s=D.directives,a=D.bindings}let u=c?n:new br(hn(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let C=(c?d:this.parentInjector).get(re,null);C&&(i=C)}let h=hn(u.componentType??{}),p=ul(this._lContainer,h?.id??null),m=p?.firstChild??null,_=u.create(d,o,m,i,s,a);return this.insertImpl(_.hostView,l,Qo(this._hostTNode,p)),_}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,r){let o=n._lView;if(Gy(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[ke],l=new t(c,c[nt],c[ke]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(e),s=this._lContainer;return Bs(s,o,i,r),n.attachToViewContainerRef(),Lf(Dh(s),i,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=Gb(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),r=As(this._lContainer,e);r&&(fs(Dh(this._lContainer),e),Al(r[A],r))}detach(n){let e=this._adjustIndex(n,-1),r=As(this._lContainer,e);return r&&fs(Dh(this._lContainer),e)!=null?new yr(r):null}_adjustIndex(n,e=0){return n??this.length+e}};function Gb(t){return t[ps]}function Dh(t){return t[ps]||(t[ps]=[])}function PD(t,n){let e,r=n[t.index];return $t(r)?e=r:(e=_D(r,n,null,t),n[t.index]=e,Tp(n,e)),IA(e,n,t,r),new Kh(e,t,n)}function CA(t,n){let e=t[se],r=e.createComment(""),o=ht(n,t),i=e.parentNode(o);return ll(e,i,r,e.nextSibling(o),!1),r}var IA=TA,SA=()=>!1;function MA(t,n,e){return SA(t,n,e)}function TA(t,n,e,r){if(t[gr])return;let o;e.type&8?o=Tt(r):o=CA(n,e),t[gr]=o}var Qh=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},Xh=class t{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let e=n.queries;if(e!==null){let r=n.contentQueries!==null?n.contentQueries[0]:e.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{let l=i[a+1],u=n[-c];for(let d=ve;dn.trim())}function UD(t,n,e){t.queries===null&&(t.queries=new Jh),t.queries.track(new ep(n,e))}function kA(t,n){let e=t.contentQueries||(t.contentQueries=[]),r=e.length?e[e.length-1]:-1;n!==r&&e.push(t.queries.length-1,n)}function Wp(t,n){return t.queries.getByIndex(n)}function HD(t,n){let e=t[A],r=Wp(e,n);return r.crossesNgTemplate?tp(e,t,n,[]):LD(e,t,r,n)}function qp(t,n,e){let r,o=Ji(()=>{r._dirtyCounter();let i=FA(r,t);if(n&&i===void 0)throw new b(-951,!1);return i});return r=o[me],r._dirtyCounter=K(0),r._flatValue=void 0,o}function Yp(t){return qp(!0,!1,t)}function Zp(t){return qp(!0,!0,t)}function $D(t){return qp(!1,!1,t)}function zD(t,n){let e=t[me];e._lView=I(),e._queryIndex=n,e._queryList=Gp(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(r=>r+1))}function FA(t,n){let e=t._lView,r=t._queryIndex;if(e===void 0||r===void 0||e[L]&4)return n?void 0:Ye;let o=Gp(e,r),i=HD(e,r);return o.reset(i,b_),n?o.first:o._changesDetected||t._flatValue===void 0?t._flatValue=o.toArray():t._flatValue}var yn=class{},Ll=class{};var ml=class extends yn{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new fl(this);constructor(n,e,r,o=!0){super(),this.ngModuleType=n,this._parent=e;let i=kf(n);this._bootstrapComponents=W_(i.bootstrap),this._r3Injector=hh(n,e,[{provide:yn,useValue:this},{provide:Us,useValue:this.componentFactoryResolver},...r],cs(n),new Set(["environment"])),o&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}},gl=class extends Ll{moduleType;constructor(n){super(),this.moduleType=n}create(n){return new ml(this.moduleType,n,[])}};var Rs=class extends yn{injector;componentFactoryResolver=new fl(this);instance=null;constructor(n){super();let e=new zr([...n.providers,{provide:yn,useValue:this},{provide:Us,useValue:this.componentFactoryResolver}],n.parent||Vo(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function oi(t,n,e=null){return new Rs({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var PA=(()=>{class t{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let r=Bf(!1,e.type),o=r.length>0?oi([r],this._injector,""):null;this.cachedInjectors.set(e,o)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())e!==null&&e.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:t,providedIn:"environment",factory:()=>new t(w(re))})}return t})();function Te(t){return Os(()=>{let n=GD(t),e=F(g({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===pp.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(PA).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||qt.Emulated,styles:t.styles||Ye,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&Kt("NgStandalone"),WD(e);let r=t.dependencies;return e.directiveDefs=Wb(r,LA),e.pipeDefs=Wb(r,xy),e.id=BA(e),e})}function LA(t){return hn(t)||Nc(t)}function Q(t){return Os(()=>({type:t.type,bootstrap:t.bootstrap||Ye,declarations:t.declarations||Ye,imports:t.imports||Ye,exports:t.exports||Ye,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function jA(t,n){if(t==null)return Bt;let e={};for(let r in t)if(t.hasOwnProperty(r)){let o=t[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=Ml.None,c=null),e[i]=[r,a,c],n[i]=s}return e}function VA(t){if(t==null)return Bt;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function T(t){return Os(()=>{let n=GD(t);return WD(n),n})}function ii(t){return{type:t.type,name:t.name,factory:null,pure:t.pure!==!1,standalone:t.standalone??!0,onDestroy:t.type.prototype.ngOnDestroy||null}}function GD(t){let n={};return{type:t.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:n,inputConfig:t.inputs||Bt,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||Ye,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:jA(t.inputs,n),outputs:VA(t.outputs),debugInfo:null}}function WD(t){t.features?.forEach(n=>n(t))}function Wb(t,n){return t?()=>{let e=typeof t=="function"?t():t,r=[];for(let o of e){let i=n(o);i!==null&&r.push(i)}return r}:null}function BA(t){let n=0,e=typeof t.consts=="function"?"":t.consts,r=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,e,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function UA(t){let n=e=>{let r=Array.isArray(t);e.hostDirectives===null?(e.resolveHostDirectives=HA,e.hostDirectives=r?t.map(np):[t]):r?e.hostDirectives.unshift(...t.map(np)):e.hostDirectives.unshift(t)};return n.ngInherit=!0,n}function HA(t){let n=[],e=!1,r=null,o=null;for(let i=0;i=0;r--){let o=t[r];o.hostVars=n+=o.hostVars,o.hostAttrs=Zo(o.hostAttrs,e=Zo(e,o.hostAttrs))}}function Eh(t){return t===Bt?{}:t===Ye?[]:t}function qA(t,n){let e=t.viewQuery;e?t.viewQuery=(r,o)=>{n(r,o),e(r,o)}:t.viewQuery=n}function YA(t,n){let e=t.contentQueries;e?t.contentQueries=(r,o,i)=>{n(r,o,i),e(r,o,i)}:t.contentQueries=n}function ZA(t,n){let e=t.hostBindings;e?t.hostBindings=(r,o)=>{n(r,o),e(r,o)}:t.hostBindings=n}function YD(t,n,e,r,o,i,s,a){if(e.firstCreatePass){t.mergedAttrs=Zo(t.mergedAttrs,t.attrs);let u=t.tView=Sp(2,t,o,i,s,e.directiveRegistry,e.pipeRegistry,null,e.schemas,e.consts,null);e.queries!==null&&(e.queries.template(e,t),u.queries=e.queries.embeddedTView(t))}a&&(t.flags|=a),zo(t,!1);let c=QA(e,n,t,r);qc()&&Op(e,n,c,t),Ko(c,n);let l=_D(c,n,c,t);n[r+de]=l,Tp(n,l),MA(l,t,n)}function KA(t,n,e,r,o,i,s,a,c,l,u){let d=e+de,h;return n.firstCreatePass?(h=ni(n,d,4,s||null,a||null),Hc()&&MD(n,t,h,pt(n.consts,l),Fp),a_(n,h)):h=n.data[d],YD(h,t,n,e,r,o,i,c),Ho(h)&&Nl(n,t,h),l!=null&&js(t,h,u),h}function Jo(t,n,e,r,o,i,s,a,c,l,u){let d=e+de,h;if(n.firstCreatePass){if(h=ni(n,d,4,s||null,a||null),l!=null){let p=pt(n.consts,l);h.localNames=[];for(let m=0;m{class t{log(e){console.log(e)}warn(e){console.warn(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function si(t){return typeof t=="function"&&t[me]!==void 0}function Kp(t){return si(t)&&typeof t.set=="function"}var Vl=new y(""),Bl=new y(""),Hs=(()=>{class t{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,r,o){this._ngZone=e,this.registry=r,$f()&&(this._destroyRef=f(Ue,{optional:!0})??void 0),Qp||(XD(o),o.addToWindow(r)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),r=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{j.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),r.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>r.updateCb&&r.updateCb(e)?(clearTimeout(r.timeoutId),!1):!0)}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),e()},r)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:o})}whenStable(e,r,o){if(o&&!this._taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,r,o),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,r,o){return[]}static \u0275fac=function(r){return new(r||t)(w(j),w(QD),w(Bl))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),QD=(()=>{class t{_applications=new Map;registerApplication(e,r){this._applications.set(e,r)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,r=!0){return Qp?.findTestabilityInTree(this,e,r)??null}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function XD(t){Qp=t}var Qp;function zn(t){return!!t&&typeof t.then=="function"}function Ul(t){return!!t&&typeof t.subscribe=="function"}var Xp=new y("");function Hl(t){return hr([{provide:Xp,multi:!0,useValue:t}])}var Jp=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,r)=>{this.resolve=e,this.reject=r});appInits=f(Xp,{optional:!0})??[];injector=f(W);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let o of this.appInits){let i=Fe(this.injector,o);if(zn(i))e.push(i);else if(Ul(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});e.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{r()}).catch(o=>{this.reject(o)}),e.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),$l=new y("");function JD(){df(()=>{let t="";throw new b(600,t)})}function eE(t){return t.isBoundToModule}var JA=10;var Ge=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=f(mt);afterRenderManager=f(xl);zonelessEnabled=f(Ds);rootEffectScheduler=f(Yc);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new x;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=f(Bn);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(V(e=>!e))}constructor(){f(Zt,{optional:!0})}whenStable(){let e;return new Promise(r=>{e=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{e.unsubscribe()})}_injector=f(re);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,r){return this.bootstrapImpl(e,r)}bootstrapImpl(e,r,o=W.NULL){return this._injector.get(j).run(()=>{oe(ee.BootstrapComponentStart);let s=e instanceof Fl;if(!this._injector.get(Jp).done){let m="";throw new b(405,m)}let c;s?c=e:c=this._injector.get(Us).resolveComponentFactory(e),this.componentTypes.push(c.componentType);let l=eE(c)?void 0:this._injector.get(yn),u=r||c.selector,d=c.create(o,[],u,l),h=d.location.nativeElement,p=d.injector.get(Vl,null);return p?.registerApplication(h),d.onDestroy(()=>{this.detachView(d.hostView),Ss(this.components,d),p?.unregisterApplication(h)}),this._loadComponent(d),oe(ee.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){oe(ee.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Tl.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw oe(ee.ChangeDetectionEnd),new b(101,!1);let e=M(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,M(e),this.afterTick.next(),oe(ee.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(He,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++gs(e))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(e){let r=e;this._views.push(r),r.attachToAppRef(this)}detachView(e){let r=e;Ss(this._views,r),r.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(e),this._injector.get($l,[]).forEach(o=>o(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>Ss(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new b(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ss(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function tE(t,n){let e=I(),r=Vn();if(at(e,r,n)){let o=le(),i=to();if(Ol(i,o,e,t,n))mn(i)&&lD(e,i.index);else{let a=ht(i,e);uD(e[se],a,null,i.value,t,n,null)}}return tE}function yt(t,n,e,r){let o=I(),i=Vn();if(at(o,i,n)){let s=le(),a=to();Tx(a,o,t,n,e,r)}return yt}function eR(){return I()[Ke][ge]}var rp=class{destroy(n){}updateValue(n,e){}swap(n,e){let r=Math.min(n,e),o=Math.max(n,e),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(n,e){this.attach(e,this.detach(n))}};function wh(t,n,e,r,o){return t===e&&Object.is(n,r)?1:Object.is(o(t,n),o(e,r))?-1:0}function tR(t,n,e,r){let o,i,s=0,a=t.length-1,c=void 0;if(Array.isArray(n)){M(r);let l=n.length-1;for(M(null);s<=a&&s<=l;){let u=t.at(s),d=n[s],h=wh(s,u,s,d,e);if(h!==0){h<0&&t.updateValue(s,d),s++;continue}let p=t.at(a),m=n[l],_=wh(a,p,l,m,e);if(_!==0){_<0&&t.updateValue(a,m),a--,l--;continue}let D=e(s,u),C=e(a,p),z=e(s,d);if(Object.is(z,C)){let De=e(l,m);Object.is(De,D)?(t.swap(s,a),t.updateValue(a,m),l--,a--):t.move(a,s),t.updateValue(s,d),s++;continue}if(o??=new vl,i??=Kb(t,s,a,e),op(t,o,s,z))t.updateValue(s,d),s++,a++;else if(i.has(z))o.set(D,t.detach(s)),a--;else{let De=t.create(s,n[s]);t.attach(s,De),s++,a++}}for(;s<=l;)Zb(t,o,e,s,n[s]),s++}else if(n!=null){M(r);let l=n[Symbol.iterator]();M(null);let u=l.next();for(;!u.done&&s<=a;){let d=t.at(s),h=u.value,p=wh(s,d,s,h,e);if(p!==0)p<0&&t.updateValue(s,h),s++,u=l.next();else{o??=new vl,i??=Kb(t,s,a,e);let m=e(s,h);if(op(t,o,s,m))t.updateValue(s,h),s++,a++,u=l.next();else if(!i.has(m))t.attach(s,t.create(s,h)),s++,a++,u=l.next();else{let _=e(s,d);o.set(_,t.detach(s)),a--}}}for(;!u.done;)Zb(t,o,e,t.length,u.value),u=l.next()}for(;s<=a;)t.destroy(t.detach(a--));o?.forEach(l=>{t.destroy(l)})}function op(t,n,e,r){return n!==void 0&&n.has(r)?(t.attach(e,n.get(r)),n.delete(r),!0):!1}function Zb(t,n,e,r,o){if(op(t,n,r,e(r,o)))t.updateValue(r,o);else{let i=t.create(r,o);t.attach(r,i)}}function Kb(t,n,e,r){let o=new Set;for(let i=n;i<=e;i++)o.add(r(i,t.at(i)));return o}var vl=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let e=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(n,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,e){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,e)}else this.kvMap.set(n,e)}forEach(n){for(let[e,r]of this.kvMap)if(n(r,e),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,e)}}};function nR(t,n,e,r,o,i,s,a){Kt("NgControlFlow");let c=I(),l=le(),u=pt(l.consts,i);return Jo(c,l,t,n,e,r,o,u,256,s,a),em}function em(t,n,e,r,o,i,s,a){Kt("NgControlFlow");let c=I(),l=le(),u=pt(l.consts,i);return Jo(c,l,t,n,e,r,o,u,512,s,a),em}function rR(t,n){Kt("NgControlFlow");let e=I(),r=Vn(),o=e[r]!==ye?e[r]:-1,i=o!==-1?yl(e,de+o):void 0,s=0;if(at(e,r,t)){let a=M(null);try{if(i!==void 0&&ED(i,s),t!==-1){let c=de+t,l=yl(e,c),u=cp(e[A],c),d=CD(l,u,e),h=Vs(e,u,n,{dehydratedView:d});Bs(l,h,s,Qo(u,d))}}finally{M(a)}}else if(i!==void 0){let a=DD(i,s);a!==void 0&&(a[ge]=n)}}var ip=class{lContainer;$implicit;$index;constructor(n,e,r){this.lContainer=n,this.$implicit=e,this.$index=r}get $count(){return this.lContainer.length-ve}};function oR(t){return t}function iR(t,n){return n}var sp=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,r){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=r}};function sR(t,n,e,r,o,i,s,a,c,l,u,d,h){Kt("NgControlFlow");let p=I(),m=le(),_=c!==void 0,D=I(),C=a?s.bind(D[Ke][ge]):s,z=new sp(_,C);D[de+t]=z,Jo(p,m,t+1,n,e,r,o,pt(m.consts,i),256),_&&Jo(p,m,t+2,c,l,u,d,pt(m.consts,h),512)}var ap=class extends rp{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,e,r){super(),this.lContainer=n,this.hostLView=e,this.templateTNode=r}get length(){return this.lContainer.length-ve}at(n){return this.getLView(n)[ge].$implicit}attach(n,e){let r=e[qr];this.needsIndexUpdate||=n!==this.length,Bs(this.lContainer,e,n,Qo(this.templateTNode,r)),cR(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,lR(this.lContainer,n),uR(this.lContainer,n)}create(n,e){let r=ul(this.lContainer,this.templateTNode.tView.ssrId);return Vs(this.hostLView,this.templateTNode,new ip(this.lContainer,e,n),{dehydratedView:r})}destroy(n){Al(n[A],n)}updateValue(n,e){this.getLView(n)[ge].$implicit=e}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n0){let i=r[Pn];ax(i,o),oo.delete(r[Ln]),o.detachedLeaveAnimationFns=void 0}}function lR(t,n){if(t.length<=ve)return;let e=ve+n,r=t[e],o=r?r[mr]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function uR(t,n){return As(t,n)}function dR(t,n){return DD(t,n)}function cp(t,n){return Vc(t,n)}function nE(t,n,e){let r=I(),o=Vn();if(at(r,o,n)){let i=le(),s=to();aD(s,r,t,n,r[se],e)}return nE}function lp(t,n,e,r,o){Ol(n,t,e,o?"class":"style",r)}function bl(t,n,e,r){let o=I(),i=o[A],s=t+de,a=i.firstCreatePass?Up(s,o,2,n,Fp,Hc(),e,r):i.data[s];if(mn(a)){let c=o[Ht].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(kD(l),()=>(Qb(t,n,o,a,r),bl))}}return Qb(t,n,o,a,r),bl}function Qb(t,n,e,r,o){if(Pp(r,e,t,n,rE),Ho(r)){let i=e[A];Nl(i,e,r),vp(i,r,e)}o!=null&&js(e,r)}function tm(){let t=le(),n=Me(),e=Lp(n);return t.firstCreatePass&&Hp(t,e),oh(e)&&ih(),nh(),e.classesWithoutHost!=null&<(e)&&lp(t,e,I(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&jT(e)&&lp(t,e,I(),e.stylesWithoutHost,!1),tm}function zl(t,n,e,r){return bl(t,n,e,r),tm(),zl}function ai(t,n,e,r){let o=I(),i=o[A],s=t+de,a=i.firstCreatePass?dA(s,i,2,n,e,r):i.data[s];return Pp(a,o,t,n,rE),r!=null&&js(o,a),ai}function ci(){let t=Me(),n=Lp(t);return oh(n)&&ih(),nh(),ci}function Gn(t,n,e,r){return ai(t,n,e,r),ci(),Gn}var rE=(t,n,e,r,o)=>(bs(!0),V_(n[se],r,fh()));function nm(t,n,e){let r=I(),o=r[A],i=t+de,s=o.firstCreatePass?Up(i,r,8,"ng-container",Fp,Hc(),n,e):o.data[i];if(Pp(s,r,t,"ng-container",fR),Ho(s)){let a=r[A];Nl(a,r,s),vp(a,s,r)}return e!=null&&js(r,s),nm}function rm(){let t=le(),n=Me(),e=Lp(n);return t.firstCreatePass&&Hp(t,e),rm}function oE(t,n,e){return nm(t,n,e),rm(),oE}var fR=(t,n,e,r,o)=>(bs(!0),N0(n[se],""));function hR(){return I()}function iE(t,n,e){let r=I(),o=Vn();if(at(r,o,n)){let i=le(),s=to();cD(s,r,t,n,r[se],e)}return iE}var ws=void 0;function pR(t){let n=Math.floor(Math.abs(t)),e=t.toString().replace(/^[^.]*\.?/,"").length;return n===1&&e===0?1:5}var mR=["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"]],ws,[["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"]],ws,[["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\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",ws,ws,ws],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",pR],Ch=Object.create(null);function ct(t){let n=gR(t),e=Xb(n);if(e)return e;let r=n.split("-")[0];if(e=Xb(r),e)return e;if(r==="en")return mR;throw new b(701,!1)}function Xb(t){if(!(t in Ch)){let n=we.ng&&we.ng.common&&we.ng.common.locales&&we.ng.common.locales[t];return n!==void 0&&(Ch[t]=n),n}return Ch[t]}var be=(function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t})(be||{});function gR(t){return t.toLowerCase().replace(/_/g,"-")}var $s="en-US";var vR=$s;function sE(t){typeof t=="string"&&(vR=t.toLowerCase().replace(/_/g,"-"))}function Qt(t,n,e){let r=I(),o=le(),i=Me();return cE(o,r,r[se],i,t,n,e),Qt}function aE(t,n,e){let r=I(),o=le(),i=Me();return(i.type&3||e)&&ND(i,o,r,e,r[se],t,n,rl(i,r,n)),aE}function cE(t,n,e,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=rl(r,n,i),ND(r,t,n,s,e,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d>17&32767}function wR(t){return(t&2)==2}function CR(t,n){return t&131071|n<<17}function up(t){return t|2}function ei(t){return(t&131068)>>2}function Ih(t,n){return t&-131069|n<<2}function IR(t){return(t&1)===1}function dp(t){return t|1}function SR(t,n,e,r,o,i){let s=i?n.classBindings:n.styleBindings,a=io(s),c=ei(s);t[r]=e;let l=!1,u;if(Array.isArray(e)){let d=e;u=d[1],(u===null||jo(d,u)>0)&&(l=!0)}else u=e;if(o)if(c!==0){let h=io(t[a+1]);t[r+1]=Xc(h,a),h!==0&&(t[h+1]=Ih(t[h+1],r)),t[a+1]=CR(t[a+1],r)}else t[r+1]=Xc(a,0),a!==0&&(t[a+1]=Ih(t[a+1],r)),a=r;else t[r+1]=Xc(c,0),a===0?a=r:t[c+1]=Ih(t[c+1],r),c=r;l&&(t[r+1]=up(t[r+1])),Jb(t,u,r,!0),Jb(t,u,r,!1),MR(n,u,t,r,i),s=Xc(a,c),i?n.classBindings=s:n.styleBindings=s}function MR(t,n,e,r,o){let i=o?t.residualClasses:t.residualStyles;i!=null&&typeof n=="string"&&jo(i,n)>=0&&(e[r+1]=dp(e[r+1]))}function Jb(t,n,e,r){let o=t[e+1],i=n===null,s=r?io(o):ei(o),a=!1;for(;s!==0&&(a===!1||i);){let c=t[s],l=t[s+1];TR(c,n)&&(a=!0,t[s+1]=r?dp(l):up(l)),s=r?io(l):ei(l)}a&&(t[e+1]=r?up(o):dp(o))}function TR(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?jo(t,n)>=0:!1}var Wt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xR(t){return t.substring(Wt.key,Wt.keyEnd)}function AR(t){return RR(t),dE(t,fE(t,0,Wt.textEnd))}function dE(t,n){let e=Wt.textEnd;return e===n?-1:(n=Wt.keyEnd=NR(t,Wt.key=n,e),fE(t,n,e))}function RR(t){Wt.key=0,Wt.keyEnd=0,Wt.value=0,Wt.valueEnd=0,Wt.textEnd=t.length}function fE(t,n,e){for(;n32;)n++;return n}function im(t,n,e){return hE(t,n,e,!1),im}function Xe(t,n){return hE(t,n,null,!0),Xe}function zs(t){kR(BR,OR,t,!0)}function OR(t,n){for(let e=AR(n);e>=0;e=dE(n,e))Pc(t,xR(n),!0)}function hE(t,n,e,r){let o=I(),i=le(),s=eo(2);if(i.firstUpdatePass&&mE(i,t,s,r),n!==ye&&at(o,s,n)){let a=i.data[st()];gE(i,a,o,o[se],t,o[s+1]=HR(n,e),r,s)}}function kR(t,n,e,r){let o=le(),i=eo(2);o.firstUpdatePass&&mE(o,null,i,r);let s=I();if(e!==ye&&at(s,i,e)){let a=o.data[st()];if(vE(a,r)&&!pE(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(e=Ac(c,e||"")),lp(o,a,s,e,r)}else UR(o,a,s,s[se],s[i+1],s[i+1]=VR(t,n,e),r,i)}}function pE(t,n){return n>=t.expandoStartIndex}function mE(t,n,e,r){let o=t.data;if(o[e+1]===null){let i=o[st()],s=pE(t,e);vE(i,r)&&n===null&&!s&&(n=!1),n=FR(o,i,n,r),SR(o,i,n,e,s,r)}}function FR(t,n,e,r){let o=ib(t),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(e=Sh(null,t,n,e,r),e=Ns(e,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||t[s]!==o)if(e=Sh(o,t,n,e,r),i===null){let c=PR(t,n,r);c!==void 0&&Array.isArray(c)&&(c=Sh(null,t,n,c[1],r),c=Ns(c,n.attrs,r),LR(t,n,r,c))}else i=jR(t,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),e}function PR(t,n,e){let r=e?n.classBindings:n.styleBindings;if(ei(r)!==0)return t[io(r)]}function LR(t,n,e,r){let o=e?n.classBindings:n.styleBindings;t[io(o)]=r}function jR(t,n,e){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i0;){let c=t[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,h=e[o+1];h===ye&&(h=d?Ye:void 0);let p=d?Lc(h,r):u===r?h:void 0;if(l&&!_l(p)&&(p=Lc(c,r)),_l(p)&&(a=p,s))return a;let m=t[o+1];o=s?io(m):ei(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Lc(c,r))}return a}function _l(t){return t!==void 0}function HR(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=cs(vt(t)))),t}function vE(t,n){return(t.flags&(n?8:16))!==0}function $R(t,n=""){let e=I(),r=le(),o=t+de,i=r.firstCreatePass?ni(r,o,1,n,null):r.data[o],s=zR(r,e,i,n);e[o]=s,qc()&&Op(r,e,s,i),zo(i,!1)}var zR=(t,n,e,r)=>(bs(!0),A0(n[se],r));function yE(t,n,e,r=""){return at(t,Vn(),e)?n+Se(e)+r:ye}function GR(t,n,e,r,o,i=""){let s=vs(),a=Xo(t,s,e,o);return eo(2),a?n+Se(e)+r+Se(o)+i:ye}function WR(t,n,e,r,o,i,s,a=""){let c=vs(),l=RD(t,c,e,o,s);return eo(3),l?n+Se(e)+r+Se(o)+i+Se(s)+a:ye}function qR(t,n,e,r,o,i,s,a,c,l=""){let u=vs(),d=zp(t,u,e,o,s,c);return eo(4),d?n+Se(e)+r+Se(o)+i+Se(s)+a+Se(c)+l:ye}function YR(t,n,e,r,o,i,s,a,c,l,u,d,h,p=""){let m=vs(),_=zp(t,m,e,o,s,c);return _=Xo(t,m+4,u,h)||_,eo(6),_?n+Se(e)+r+Se(o)+i+Se(s)+a+Se(c)+l+Se(u)+d+Se(h)+p:ye}function bE(t){return sm("",t),bE}function sm(t,n,e){let r=I(),o=yE(r,t,n,e);return o!==ye&&Gs(r,st(),o),sm}function _E(t,n,e,r,o){let i=I(),s=GR(i,t,n,e,r,o);return s!==ye&&Gs(i,st(),s),_E}function DE(t,n,e,r,o,i,s){let a=I(),c=WR(a,t,n,e,r,o,i,s);return c!==ye&&Gs(a,st(),c),DE}function EE(t,n,e,r,o,i,s,a,c){let l=I(),u=qR(l,t,n,e,r,o,i,s,a,c);return u!==ye&&Gs(l,st(),u),EE}function wE(t,n,e,r,o,i,s,a,c,l,u,d,h){let p=I(),m=YR(p,t,n,e,r,o,i,s,a,c,l,u,d,h);return m!==ye&&Gs(p,st(),m),wE}function Gs(t,n,e){let r=Zf(n,t);R0(t[se],r,e)}function CE(t,n,e){Kp(n)&&(n=n());let r=I(),o=Vn();if(at(r,o,n)){let i=le(),s=to();aD(s,r,t,n,r[se],e)}return CE}function ZR(t,n){let e=Kp(t);return e&&t.set(n),e}function IE(t,n){let e=I(),r=le(),o=Me();return cE(r,e,e[se],o,t,n),IE}function KR(t,n,e=""){return yE(I(),t,n,e)}function QR(t,n,e){let r=gn()+t,o=I();return o[r]===ye?ri(o,r,n(e,o)):AD(o,r)}function t_(t,n,e){let r=le();r.firstCreatePass&&SE(n,r.data,r.blueprint,zt(t),e)}function SE(t,n,e,r,o){if(t=Oe(t),Array.isArray(t))for(let i=0;i>20;if($r(t)||!t.multi){let p=new ro(l,o,E,null),m=Th(c,n,o?u:u+h,d);m===-1?(Ah(cl(a,s),i,c),Mh(i,t,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(p),s.push(p)):(e[m]=p,s[m]=p)}else{let p=Th(c,n,u+h,d),m=Th(c,n,u,u+h),_=p>=0&&e[p],D=m>=0&&e[m];if(o&&!D||!o&&!_){Ah(cl(a,s),i,c);let C=eN(o?JR:XR,e.length,o,r,l,t);!o&&D&&(e[m].providerFactory=C),Mh(i,t,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),e.push(C),s.push(C)}else{let C=ME(e[o?m:p],l,!o&&r);Mh(i,t,p>-1?p:m,C)}!o&&r&&D&&e[m].componentProviders++}}}function Mh(t,n,e,r){let o=$r(n),i=By(n);if(o||i){let c=(i?Oe(n.useClass):n).prototype.ngOnDestroy;if(c){let l=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){let u=l.indexOf(e);u===-1?l.push(e,[r,c]):l[u+1].push(r,c)}else l.push(e,c)}}}function ME(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Th(t,n,e,r){for(let o=e;o{e.providersResolver=(r,o)=>t_(r,o?o(t):t,!1),n&&(e.viewProvidersResolver=(r,o)=>t_(r,o?o(n):n,!0))}}function tN(t,n){let e=gn()+t,r=I();return r[e]===ye?ri(r,e,n()):AD(r,e)}function nN(t,n,e){return TE(I(),gn(),t,n,e)}function rN(t,n,e,r){return xE(I(),gn(),t,n,e,r)}function oN(t,n,e,r,o){return AE(I(),gn(),t,n,e,r,o)}function iN(t,n,e,r,o,i,s){return sN(I(),gn(),t,n,e,r,o,i)}function Yl(t,n){let e=t[n];return e===ye?void 0:e}function TE(t,n,e,r,o,i){let s=n+e;return at(t,s,o)?ri(t,s+1,i?r.call(i,o):r(o)):Yl(t,s+1)}function xE(t,n,e,r,o,i,s){let a=n+e;return Xo(t,a,o,i)?ri(t,a+2,s?r.call(s,o,i):r(o,i)):Yl(t,a+2)}function AE(t,n,e,r,o,i,s,a){let c=n+e;return RD(t,c,o,i,s)?ri(t,c+3,a?r.call(a,o,i,s):r(o,i,s)):Yl(t,c+3)}function sN(t,n,e,r,o,i,s,a,c){let l=n+e;return zp(t,l,o,i,s,a)?ri(t,l+4,c?r.call(c,o,i,s,a):r(o,i,s,a)):Yl(t,l+4)}function aN(t,n){let e=le(),r,o=t+de;e.firstCreatePass?(r=cN(n,e.pipeRegistry),e.data[o]=r,r.onDestroy&&(e.destroyHooks??=[]).push(o,r.onDestroy)):r=e.data[o];let i=r.factory||(r.factory=ur(r.type,!0)),s,a=tt(E);try{let c=al(!1),l=i();return al(c),Kf(e,I(),o,l),l}finally{tt(a)}}function cN(t,n){if(n)for(let e=n.length-1;e>=0;e--){let r=n[e];if(t===r.name)return r}}function lN(t,n,e){let r=t+de,o=I(),i=ms(o,r);return am(o,r)?TE(o,gn(),n,i.transform,e,i):i.transform(e)}function uN(t,n,e,r){let o=t+de,i=I(),s=ms(i,o);return am(i,o)?xE(i,gn(),n,s.transform,e,r,s):s.transform(e,r)}function dN(t,n,e,r,o){let i=t+de,s=I(),a=ms(s,i);return am(s,i)?AE(s,gn(),n,a.transform,e,r,o,a):a.transform(e,r,o)}function am(t,n){return t[A].data[n].pure}function fN(t,n){return kl(t,n)}var Dl=class{ngModuleFactory;componentFactories;constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}},cm=(()=>{class t{compileModuleSync(e){return new gl(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){let r=this.compileModuleSync(e),o=kf(e),i=W_(o.declarations).reduce((s,a)=>{let c=hn(a);return c&&s.push(new br(c)),s},[]);return new Dl(r,i)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var RE=(()=>{class t{applicationErrorHandler=f(mt);appRef=f(Ge);taskService=f(Bn);ngZone=f(j);zonelessEnabled=f(Ds);tracing=f(Zt,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new G;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(ss):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(f(vh,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let e=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(e);return}this.switchToMicrotaskScheduler(),this.taskService.remove(e)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let e=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})})}notify(e){if(!this.zonelessEnabled&&e===5)return;switch(e){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?mb:ph;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(ss+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(this.appRef.dirtyFlags===0){this.cleanup();return}!this.zonelessEnabled&&this.appRef.dirtyFlags&7&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(e),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function hN(){return Kt("NgZoneless"),hr([...lm(),[]])}function lm(){return[{provide:fn,useExisting:RE},{provide:j,useClass:as},{provide:Ds,useValue:!0}]}function pN(){return typeof $localize<"u"&&$localize.locale||$s}var li=new y("",{factory:()=>f(li,{optional:!0,skipSelf:!0})||pN()});var Ws=class{destroyed=!1;listeners=null;errorHandler=f(Ze,{optional:!0});destroyRef=f(Ue);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new b(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let e=this.listeners?.indexOf(n);e!==void 0&&e!==-1&&this.listeners?.splice(e,1)}}}emit(n){if(this.destroyed){console.warn(St(953,!1));return}if(this.listeners===null)return;let e=M(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{M(e)}}};function Y(t){return wy(t)}function Xt(t,n){return Ji(t,n?.equal)}var mN=t=>t;function um(t,n){if(typeof t=="function"){let e=gf(t,mN,n?.equal);return NE(e,n?.debugName)}else{let e=gf(t.source,t.computation,t.equal);return NE(e,t.debugName)}}function NE(t,n){let e=t[me],r=t;return r.set=o=>Dy(e,o),r.update=o=>Ey(e,o),r.asReadonly=_s.bind(t),r}var Ql=Symbol("InputSignalNode#UNSET"),HE=F(g({},es),{transformFn:void 0,applyValueToInputSignal(t,n){cr(t,n)}});function $E(t,n){let e=Object.create(HE);e.value=t,e.transformFn=n?.transform;function r(){if(On(e),e.value===Ql){let o=null;throw new b(-950,o)}return e.value}return r[me]=e,r}var ui=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>ks(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},M5=(()=>{let t=new y("");return t.__NG_ELEMENT_ID__=n=>{let e=Me();if(e===null)throw new b(-204,!1);if(e.type&2)return e.value;if(n&8)return null;throw new b(-204,!1)},t})();function T5(t){return new Ws}function OE(t,n){return $E(t,n)}function SN(t){return $E(Ql,t)}var zE=(OE.required=SN,OE);function kE(t,n){return Yp(n)}function MN(t,n){return Zp(n)}var x5=(kE.required=MN,kE);function A5(t,n){return $D(n)}function FE(t,n){return Yp(n)}function TN(t,n){return Zp(n)}var R5=(FE.required=TN,FE);function GE(t,n){let e=Object.create(HE),r=new Ws;e.value=t;function o(){return On(e),PE(e.value),e.value}return o[me]=e,o.asReadonly=_s.bind(o),o.set=i=>{e.equal(e.value,i)||(cr(e,i),r.emit(i))},o.update=i=>{PE(e.value),o.set(i(e.value))},o.subscribe=r.subscribe.bind(r),o.destroyRef=r.destroyRef,o}function PE(t){if(t===Ql)throw new b(952,!1)}function LE(t,n){return GE(t,n)}function xN(t){return GE(Ql,t)}var N5=(LE.required=xN,LE);var fm=new y(""),AN=new y("");function qs(t){return!t.moduleRef}function RN(t){let n=qs(t)?t.r3Injector:t.moduleRef.injector,e=n.get(j);return e.run(()=>{qs(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let r=n.get(mt),o;if(e.runOutsideAngular(()=>{o=e.onError.subscribe({next:r})}),qs(t)){let i=()=>n.destroy(),s=t.platformInjector.get(fm);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>t.moduleRef.destroy(),s=t.platformInjector.get(fm);s.add(i),t.moduleRef.onDestroy(()=>{Ss(t.allPlatformModules,t.moduleRef),o.unsubscribe(),s.delete(i)})}return ON(r,e,()=>{let i=n.get(Bn),s=i.add(),a=n.get(Jp);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(li,$s);if(sE(c||$s),!n.get(AN,!0))return qs(t)?n.get(Ge):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(qs(t)){let u=n.get(Ge);return t.rootComponent!==void 0&&u.bootstrap(t.rootComponent),u}else return NN?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>{i.remove(s)})})})}var NN;function ON(t,n,e){try{let r=e();return zn(r)?r.catch(o=>{throw n.runOutsideAngular(()=>t(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>t(r)),r}}var Zl=null;function kN(t=[],n){return W.create({name:n,providers:[{provide:hs,useValue:"platform"},{provide:fm,useValue:new Set([()=>Zl=null])},...t]})}function FN(t=[]){if(Zl)return Zl;let n=kN(t);return Zl=n,JD(),PN(n),n}function PN(t){let n=t.get(El,null);Fe(t,()=>{n?.forEach(e=>e())})}var LN=1e4;var O5=LN-1e3;var Jt=(()=>{class t{static __NG_ELEMENT_ID__=jN}return t})();function jN(t){return VN(Me(),I(),(t&16)===16)}function VN(t,n,e){if(mn(t)&&!e){let r=xt(t.index,n);return new yr(r,r)}else if(t.type&175){let r=n[Ke];return new yr(r,n)}return null}var hm=class{supports(n){return $p(n)}create(n){return new pm(n)}},BN=(t,n)=>n,pm=class{length=0;collection;_linkedRecords=null;_unlinkedRecords=null;_previousItHead=null;_itHead=null;_itTail=null;_additionsHead=null;_additionsTail=null;_movesHead=null;_movesTail=null;_removalsHead=null;_removalsTail=null;_identityChangesHead=null;_identityChangesTail=null;_trackByFn;constructor(n){this._trackByFn=n||BN}forEachItem(n){let e;for(e=this._itHead;e!==null;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,r=this._removalsHead,o=0,i=null;for(;e||r;){let s=!r||e&&e.currentIndex{s=this._trackByFn(o,a),e===null||!Object.is(e.trackById,s)?(e=this._mismatch(e,a,s,o),r=!0):(r&&(e=this._verifyReinsertion(e,a,s,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;n!==null;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;n!==null;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,r,o){let i;return n===null?i=this._itTail:(i=n._prev,this._remove(n)),n=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,i,o)):(n=this._linkedRecords===null?null:this._linkedRecords.get(r,o),n!==null?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,i,o)):n=this._addAfter(new mm(e,r),i,o)),n}_verifyReinsertion(n,e,r,o){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;n!==null;){let e=n._next;this._addToRemovals(this._unlink(n)),n=e}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(n);let o=n._prevRemoved,i=n._nextRemoved;return o===null?this._removalsHead=i:o._nextRemoved=i,i===null?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,e,r),this._addToMoves(n,r),n}_moveAfter(n,e,r){return this._unlink(n),this._insertAfter(n,e,r),this._addToMoves(n,r),n}_addAfter(n,e,r){return this._insertAfter(n,e,r),this._additionsTail===null?this._additionsTail=this._additionsHead=n:this._additionsTail=this._additionsTail._nextAdded=n,n}_insertAfter(n,e,r){let o=e===null?this._itHead:e._next;return n._next=o,n._prev=e,o===null?this._itTail=n:o._prev=n,e===null?this._itHead=n:e._next=n,this._linkedRecords===null&&(this._linkedRecords=new Kl),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){this._linkedRecords!==null&&this._linkedRecords.remove(n);let e=n._prev,r=n._next;return e===null?this._itHead=r:e._next=r,r===null?this._itTail=e:r._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=n:this._movesTail=this._movesTail._nextMoved=n),n}_addToRemovals(n){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Kl),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=n:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=n,n}},mm=class{item;trackById;currentIndex=null;previousIndex=null;_nextPrevious=null;_prev=null;_next=null;_prevDup=null;_nextDup=null;_prevRemoved=null;_nextRemoved=null;_nextAdded=null;_nextMoved=null;_nextIdentityChange=null;constructor(n,e){this.item=n,this.trackById=e}},gm=class{_head=null;_tail=null;add(n){this._head===null?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let r;for(r=this._head;r!==null;r=r._nextDup)if((e===null||e<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){let e=n._prevDup,r=n._nextDup;return e===null?this._head=r:e._nextDup=r,r===null?this._tail=e:r._prevDup=e,this._head===null}},Kl=class{map=new Map;put(n){let e=n.trackById,r=this.map.get(e);r||(r=new gm,this.map.set(e,r)),r.add(n)}get(n,e){let r=n,o=this.map.get(r);return o?o.get(n,e):null}remove(n){let e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function jE(t,n,e){let r=t.previousIndex;if(r===null)return r;let o=0;return e&&r{if(e&&e.key===o)this._maybeAddToChanges(e,r),this._appendAfter=e,e=e._next;else{let i=this._getOrCreateRecordForKey(o,r);e=this._insertBeforeOrAppend(e,i)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let r=e;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){let r=n._prev;return e._next=n,e._prev=r,n._prev=e,r&&(r._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){let o=this._records.get(n);this._maybeAddToChanges(o,e);let i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}let r=new bm(n);return this._records.set(n,r),r.currentValue=e,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;n!==null;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;n!==null;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;n!=null;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){this._additionsHead===null?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){this._changesHead===null?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(r=>e(n[r],r))}},bm=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function VE(){return new Xl([new hm])}var Xl=(()=>{class t{factories;static \u0275prov=v({token:t,providedIn:"root",factory:VE});constructor(e){this.factories=e}static create(e,r){if(r!=null){let o=r.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let r=f(t,{optional:!0,skipSelf:!0});return t.create(e,r||VE())}}}find(e){let r=this.factories.find(o=>o.supports(e));if(r!=null)return r;throw new b(901,!1)}}return t})();function BE(){return new Em([new vm])}var Em=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:BE});factories;constructor(e){this.factories=e}static create(e,r){if(r){let o=r.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:()=>{let r=f(t,{optional:!0,skipSelf:!0});return t.create(e,r||BE())}}}find(e){let r=this.factories.find(o=>o.supports(e));if(r)return r;throw new b(901,!1)}}return t})();var WE=(()=>{class t{constructor(e){}static \u0275fac=function(r){return new(r||t)(w(Ge))};static \u0275mod=Q({type:t});static \u0275inj=q({})}return t})();function qE(t){let{rootComponent:n,appProviders:e,platformProviders:r,platformRef:o}=t;oe(ee.BootstrapApplicationStart);try{let i=o?.injector??FN(r),s=[lm(),vb,...e||[]],a=new Rs({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return RN({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{oe(ee.BootstrapApplicationEnd)}}function ue(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function wm(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var dm=Symbol("NOT_SET"),YE=new Set,UN=F(g({},es),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:dm,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase(On(l),l.value),l.signal[me]=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 n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let e of n.cleanup??YE)e()}finally{ar(n)}}};function k5(t,n){let e=n?.injector??f(W),r=e.get(fn),o=e.get(xl),i=e.get(Zt,null,{optional:!0});o.impl??=e.get(Rp);let s=t;typeof s=="function"&&(s={mixedReadWrite:t});let a=e.get(Go,null,{optional:!0}),c=new _m(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,e,i?.snapshot(null));return o.impl.register(c),c}function Jl(t,n){let e=hn(t),r=n.elementInjector||Vo();return new br(e).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}function ZE(t){let n=hn(t);if(!n)return null;let e=new br(n);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}var KE=null;function bt(){return KE}function Cm(t){KE??=t}var Ys=class{},Wn=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(QE),providedIn:"platform"})}return t})(),Im=new y(""),QE=(()=>{class t extends Wn{_location;_history;_doc=f(O);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return bt().getBaseHref(this._doc)}onPopState(e){let r=bt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",e,!1),()=>r.removeEventListener("popstate",e)}onHashChange(e){let r=bt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",e,!1),()=>r.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,r,o){this._history.pushState(e,r,o)}replaceState(e,r,o){this._history.replaceState(e,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function eu(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function XE(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function en(t){return t&&t[0]!=="?"?`?${t}`:t}var tn=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(nu),providedIn:"root"})}return t})(),tu=new y(""),nu=(()=>{class t extends tn{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??f(O).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return eu(this._baseHref,e)}path(e=!1){let r=this._platformLocation.pathname+en(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${r}${o}`:r}pushState(e,r,o,i){let s=this.prepareExternalUrl(o+en(i));this._platformLocation.pushState(e,r,s)}replaceState(e,r,o,i){let s=this.prepareExternalUrl(o+en(i));this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(w(Wn),w(tu,8))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Dn=(()=>{class t{_subject=new x;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let r=this._locationStrategy.getBaseHref();this._basePath=zN(XE(JE(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(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,r=""){return this.path()==this.normalize(e+en(r))}normalize(e){return t.stripTrailingSlash($N(this._basePath,JE(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,r="",o=null){this._locationStrategy.pushState(o,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+en(r)),o)}replaceState(e,r="",o=null){this._locationStrategy.replaceState(o,"",e,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+en(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",r){this._urlChangeListeners.forEach(o=>o(e,r))}subscribe(e,r,o){return this._subject.subscribe({next:e,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=en;static joinWithSlash=eu;static stripTrailingSlash=XE;static \u0275fac=function(r){return new(r||t)(w(tn))};static \u0275prov=v({token:t,factory:()=>HN(),providedIn:"root"})}return t})();function HN(){return new Dn(w(tn))}function $N(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function JE(t){return t.replace(/\/index\.html$/,"")}function zN(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var km=(()=>{class t extends tn{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,r){super(),this._platformLocation=e,r!=null&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let r=this._platformLocation.hash??"#";return r.length>0?r.substring(1):r}prepareExternalUrl(e){let r=eu(this._baseHref,e);return r.length>0?"#"+r:r}pushState(e,r,o,i){let s=this.prepareExternalUrl(o+en(i))||this._platformLocation.pathname;this._platformLocation.pushState(e,r,s)}replaceState(e,r,o,i){let s=this.prepareExternalUrl(o+en(i))||this._platformLocation.pathname;this._platformLocation.replaceState(e,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(r){return new(r||t)(w(Wn),w(tu,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();var Fm=(function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t})(Fm||{});var Je=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(Je||{}),ce=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(ce||{}),lt=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(lt||{}),ut={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function iw(t){return ct(t)[be.LocaleId]}function sw(t,n,e){let r=ct(t),o=[r[be.DayPeriodsFormat],r[be.DayPeriodsStandalone]],i=Rt(o,n);return Rt(i,e)}function aw(t,n,e){let r=ct(t),o=[r[be.DaysFormat],r[be.DaysStandalone]],i=Rt(o,n);return Rt(i,e)}function cw(t,n,e){let r=ct(t),o=[r[be.MonthsFormat],r[be.MonthsStandalone]],i=Rt(o,n);return Rt(i,e)}function lw(t,n){let r=ct(t)[be.Eras];return Rt(r,n)}function Zs(t,n){let e=ct(t);return Rt(e[be.DateFormat],n)}function Ks(t,n){let e=ct(t);return Rt(e[be.TimeFormat],n)}function Qs(t,n){let r=ct(t)[be.DateTimeFormat];return Rt(r,n)}function En(t,n){let e=ct(t),r=e[be.NumberSymbols][n];if(typeof r>"u"){if(n===ut.CurrencyDecimal)return e[be.NumberSymbols][ut.Decimal];if(n===ut.CurrencyGroup)return e[be.NumberSymbols][ut.Group]}return r}function uw(t,n){return ct(t)[be.NumberFormats][n]}function dw(t){if(!t[be.ExtraData])throw new b(2303,!1)}function fw(t){let n=ct(t);return dw(n),(n[be.ExtraData][2]||[]).map(r=>typeof r=="string"?Sm(r):[Sm(r[0]),Sm(r[1])])}function hw(t,n,e){let r=ct(t);dw(r);let o=[r[be.ExtraData][0],r[be.ExtraData][1]],i=Rt(o,n)||[];return Rt(i,e)||[]}function Rt(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new b(2304,!1)}function Sm(t){let[n,e]=t.split(":");return{hours:+n,minutes:+e}}var GN=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ru={},WN=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,qN=256;function pw(t,n,e,r){let o=rO(t);YN(n),n=qn(e,n)||n;let s=[],a;for(;n;)if(a=WN.exec(n),a){s=s.concat(a.slice(1));let u=s.pop();if(!u)break;n=u}else{s.push(n);break}let c=o.getTimezoneOffset();r&&(c=gw(r,c),o=nO(o,r));let l="";return s.forEach(u=>{let d=eO(u);l+=d?d(o,e,c):u==="''"?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function YN(t){if(t.length>qN)throw new b(2300,!1)}function cu(t,n,e){let r=new Date(0);return r.setFullYear(t,n,e),r.setHours(0,0,0),r}function qn(t,n){let e=iw(t);if(ru[e]??={},ru[e][n])return ru[e][n];let r="";switch(n){case"shortDate":r=Zs(t,lt.Short);break;case"mediumDate":r=Zs(t,lt.Medium);break;case"longDate":r=Zs(t,lt.Long);break;case"fullDate":r=Zs(t,lt.Full);break;case"shortTime":r=Ks(t,lt.Short);break;case"mediumTime":r=Ks(t,lt.Medium);break;case"longTime":r=Ks(t,lt.Long);break;case"fullTime":r=Ks(t,lt.Full);break;case"short":let o=qn(t,"shortTime"),i=qn(t,"shortDate");r=ou(Qs(t,lt.Short),[o,i]);break;case"medium":let s=qn(t,"mediumTime"),a=qn(t,"mediumDate");r=ou(Qs(t,lt.Medium),[s,a]);break;case"long":let c=qn(t,"longTime"),l=qn(t,"longDate");r=ou(Qs(t,lt.Long),[c,l]);break;case"full":let u=qn(t,"fullTime"),d=qn(t,"fullDate");r=ou(Qs(t,lt.Full),[u,d]);break}return r&&(ru[e][n]=r),r}function ou(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,r){return n!=null&&r in n?n[r]:e})),t}function nn(t,n,e="-",r,o){let i="";(t<0||o&&t<=0)&&(o?t=-t+1:(t=-t,i=e));let s=String(t);for(;s.length0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return ZN(a,n);let c=En(s,ut.MinusSign);return nn(a,n,c,r,o)}}function KN(t,n){switch(t){case 0:return n.getFullYear();case 1:return n.getMonth();case 2:return n.getDate();case 3:return n.getHours();case 4:return n.getMinutes();case 5:return n.getSeconds();case 6:return n.getMilliseconds();case 7:return n.getDay();default:throw new b(2301,!1)}}function fe(t,n,e=Je.Format,r=!1){return function(o,i){return QN(o,i,t,n,e,r)}}function QN(t,n,e,r,o,i){switch(e){case 2:return cw(n,o,r)[t.getMonth()];case 1:return aw(n,o,r)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(i){let l=fw(n),u=hw(n,o,r),d=l.findIndex(h=>{if(Array.isArray(h)){let[p,m]=h,_=s>=p.hours&&a>=p.minutes,D=s0?Math.floor(o/60):Math.ceil(o/60);switch(t){case 0:return(o>=0?"+":"")+nn(s,2,i)+nn(Math.abs(o%60),2,i);case 1:return"GMT"+(o>=0?"+":"")+nn(s,1,i);case 2:return"GMT"+(o>=0?"+":"")+nn(s,2,i)+":"+nn(Math.abs(o%60),2,i);case 3:return r===0?"Z":(o>=0?"+":"")+nn(s,2,i)+":"+nn(Math.abs(o%60),2,i);default:throw new b(2310,!1)}}}var XN=0,au=4;function JN(t){let n=cu(t,XN,1).getDay();return cu(t,0,1+(n<=au?au:au+7)-n)}function mw(t){let n=t.getDay(),e=n===0?-3:au-n;return cu(t.getFullYear(),t.getMonth(),t.getDate()+e)}function Mm(t,n=!1){return function(e,r){let o;if(n){let i=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();o=1+Math.floor((s+i)/7)}else{let i=mw(e),s=JN(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return nn(o,t,En(r,ut.MinusSign))}}function su(t,n=!1){return function(e,r){let i=mw(e).getFullYear();return nn(i,t,En(r,ut.MinusSign),n)}}var Tm={};function eO(t){if(Tm[t])return Tm[t];let n;switch(t){case"G":case"GG":case"GGG":n=fe(3,ce.Abbreviated);break;case"GGGG":n=fe(3,ce.Wide);break;case"GGGGG":n=fe(3,ce.Narrow);break;case"y":n=xe(0,1,0,!1,!0);break;case"yy":n=xe(0,2,0,!0,!0);break;case"yyy":n=xe(0,3,0,!1,!0);break;case"yyyy":n=xe(0,4,0,!1,!0);break;case"Y":n=su(1);break;case"YY":n=su(2,!0);break;case"YYY":n=su(3);break;case"YYYY":n=su(4);break;case"M":case"L":n=xe(1,1,1);break;case"MM":case"LL":n=xe(1,2,1);break;case"MMM":n=fe(2,ce.Abbreviated);break;case"MMMM":n=fe(2,ce.Wide);break;case"MMMMM":n=fe(2,ce.Narrow);break;case"LLL":n=fe(2,ce.Abbreviated,Je.Standalone);break;case"LLLL":n=fe(2,ce.Wide,Je.Standalone);break;case"LLLLL":n=fe(2,ce.Narrow,Je.Standalone);break;case"w":n=Mm(1);break;case"ww":n=Mm(2);break;case"W":n=Mm(1,!0);break;case"d":n=xe(2,1);break;case"dd":n=xe(2,2);break;case"c":case"cc":n=xe(7,1);break;case"ccc":n=fe(1,ce.Abbreviated,Je.Standalone);break;case"cccc":n=fe(1,ce.Wide,Je.Standalone);break;case"ccccc":n=fe(1,ce.Narrow,Je.Standalone);break;case"cccccc":n=fe(1,ce.Short,Je.Standalone);break;case"E":case"EE":case"EEE":n=fe(1,ce.Abbreviated);break;case"EEEE":n=fe(1,ce.Wide);break;case"EEEEE":n=fe(1,ce.Narrow);break;case"EEEEEE":n=fe(1,ce.Short);break;case"a":case"aa":case"aaa":n=fe(0,ce.Abbreviated);break;case"aaaa":n=fe(0,ce.Wide);break;case"aaaaa":n=fe(0,ce.Narrow);break;case"b":case"bb":case"bbb":n=fe(0,ce.Abbreviated,Je.Standalone,!0);break;case"bbbb":n=fe(0,ce.Wide,Je.Standalone,!0);break;case"bbbbb":n=fe(0,ce.Narrow,Je.Standalone,!0);break;case"B":case"BB":case"BBB":n=fe(0,ce.Abbreviated,Je.Format,!0);break;case"BBBB":n=fe(0,ce.Wide,Je.Format,!0);break;case"BBBBB":n=fe(0,ce.Narrow,Je.Format,!0);break;case"h":n=xe(3,1,-12);break;case"hh":n=xe(3,2,-12);break;case"H":n=xe(3,1);break;case"HH":n=xe(3,2);break;case"m":n=xe(4,1);break;case"mm":n=xe(4,2);break;case"s":n=xe(5,1);break;case"ss":n=xe(5,2);break;case"S":n=xe(6,1);break;case"SS":n=xe(6,2);break;case"SSS":n=xe(6,3);break;case"Z":case"ZZ":case"ZZZ":n=iu(0);break;case"ZZZZZ":n=iu(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=iu(1);break;case"OOOO":case"ZZZZ":case"zzzz":n=iu(2);break;default:return null}return Tm[t]=n,n}function gw(t,n){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function tO(t,n){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+n),t}function nO(t,n,e){let o=t.getTimezoneOffset(),i=gw(n,o);return tO(t,-1*(i-o))}function rO(t){if(ew(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[o,i=1,s=1]=t.split("-").map(a=>+a);return cu(o,i-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let r;if(r=t.match(GN))return oO(r)}let n=new Date(t);if(!ew(n))throw new b(2311,!1);return n}function oO(t){let n=new Date(0),e=0,r=0,o=t[8]?n.setUTCFullYear:n.setFullYear,i=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),r=Number(t[9]+t[11])),o.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-e,a=Number(t[5]||0)-r,c=Number(t[6]||0),l=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return i.call(n,s,a,c,l),n}function ew(t){return t instanceof Date&&!isNaN(t.valueOf())}var iO=/^(\d+)?\.((\d+)(-(\d+))?)?$/,tw=22,lu=".",Xs="0",sO=";",aO=",",xm="#";function cO(t,n,e,r,o,i,s=!1){let a="",c=!1;if(!isFinite(t))a=En(e,ut.Infinity);else{let l=dO(t);s&&(l=uO(l));let u=n.minInt,d=n.minFrac,h=n.maxFrac;if(i){let z=i.match(iO);if(z===null)throw new b(2306,!1);let De=z[1],pe=z[3],er=z[5];De!=null&&(u=Am(De)),pe!=null&&(d=Am(pe)),er!=null?h=Am(er):pe!=null&&d>h&&(h=d);let Tn=100;if(u>Tn||d>Tn||h>Tn)throw new b(2306,!1)}fO(l,d,h);let p=l.digits,m=l.integerLen,_=l.exponent,D=[];for(c=p.every(z=>!z);m0?D=p.splice(m,p.length):(D=p,p=[0]);let C=[];for(p.length>=n.lgSize&&C.unshift(p.splice(-n.lgSize,p.length).join(""));p.length>n.gSize;)C.unshift(p.splice(-n.gSize,p.length).join(""));p.length&&C.unshift(p.join("")),a=C.join(En(e,r)),D.length&&(a+=En(e,o)+D.join("")),_&&(a+=En(e,ut.Exponential)+"+"+_)}return t<0&&!c?a=n.negPre+a+n.negSuf:a=n.posPre+a+n.posSuf,a}function vw(t,n,e){let r=uw(n,Fm.Decimal),o=lO(r,En(n,ut.MinusSign));return cO(t,o,n,ut.Group,ut.Decimal,e)}function lO(t,n="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(sO),o=r[0],i=r[1],s=o.indexOf(lu)!==-1?o.split(lu):[o.substring(0,o.lastIndexOf(Xs)+1),o.substring(o.lastIndexOf(Xs)+1)],a=s[0],c=s[1]||"";e.posPre=a.substring(0,a.indexOf(xm));for(let u=0;u-1&&(n=n.replace(lu,"")),(i=n.search(/e/i))>0?(o<0&&(o=i),o+=+n.slice(i+1),n=n.substring(0,i)):o<0&&(o=n.length),i=0;n.charAt(i)===Xs;i++);if(i===(a=n.length))r=[0],o=1;else{for(a--;n.charAt(a)===Xs;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(n.charAt(i))}return o>tw&&(r=r.splice(0,tw-1),e=o-1,o=1),{digits:r,exponent:e,integerLen:o}}function fO(t,n,e){if(n>e)throw new b(2307,!1);let r=t.digits,o=r.length-t.integerLen,i=Math.min(Math.max(n,o),e),s=i+t.integerLen,a=r[s];if(s>0){r.splice(Math.max(t.integerLen,s));for(let d=s;d=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[s-1]++;for(;o=l?m.pop():c=!1),h>=10?1:0},0);u&&(r.unshift(u),t.integerLen++)}function Am(t){let n=parseInt(t);if(isNaN(n))throw new b(2305,!1);return n}var Rm=/\s+/,nw=[],hO=(()=>{class t{_ngEl;_renderer;initialClasses=nw;rawClass;stateMap=new Map;constructor(e,r){this._ngEl=e,this._renderer=r}set klass(e){this.initialClasses=e!=null?e.trim().split(Rm):nw}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Rm):e}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let r of e)this._updateState(r,!0);else if(e!=null)for(let r of Object.keys(e))this._updateState(r,!!e[r]);this._applyStateDiff()}_updateState(e,r){let o=this.stateMap.get(e);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(e,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let r=e[0],o=e[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(e,r){e=e.trim(),e.length>0&&e.split(Rm).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||t)(E($),E(Le))};static \u0275dir=T({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var uu=class{$implicit;ngForOf;index;count;constructor(n,e,r,o){this.$implicit=n,this.ngForOf=e,this.index=r,this.count=o}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},yw=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,r,o){this._viewContainer=e,this._template=r,this._differs=o}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let r=this._viewContainer;e.forEachOperation((o,i,s)=>{if(o.previousIndex==null)r.createEmbeddedView(this._template,new uu(o.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)r.remove(i===null?void 0:i);else if(i!==null){let a=r.get(i);r.move(a,s),rw(a,o)}});for(let o=0,i=r.length;o{let i=r.get(o.currentIndex);rw(i,o)})}static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(E(Qe),E(gt),E(Xl))};static \u0275dir=T({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function rw(t,n){t.context.$implicit=n.item}var pO=(()=>{class t{_viewContainer;_context=new du;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,r){this._viewContainer=e,this._thenTemplateRef=r}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){ow(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){ow(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,r){return!0}static \u0275fac=function(r){return new(r||t)(E(Qe),E(gt))};static \u0275dir=T({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),du=class{$implicit=null;ngIf=null};function ow(t,n){if(t&&!t.createEmbeddedView)throw new b(2020,!1)}var mO=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,r,o){this._ngEl=e,this._differs=r,this._renderer=o}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,r){let[o,i]=e.split("."),s=o.indexOf("-")===-1?void 0:Yt.DashCase;r!=null?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(e){e.forEachRemovedItem(r=>this._setStyle(r.key,null)),e.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),e.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}static \u0275fac=function(r){return new(r||t)(E($),E(Em),E(Le))};static \u0275dir=T({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),gO=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=f(W);constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let 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(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(e,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||t)(E(Qe))};static \u0275dir=T({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[$e]})}return t})();function fu(t,n){return new b(2100,!1)}var Nm=class{createSubscription(n,e,r){return Y(()=>n.subscribe({next:e,error:r}))}dispose(n){Y(()=>n.unsubscribe())}},Om=class{createSubscription(n,e,r){return n.then(o=>e?.(o),o=>r?.(o)),{unsubscribe:()=>{e=null,r=null}}}dispose(n){n.unsubscribe()}},vO=new Om,yO=new Nm,bO=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=f(mt);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,r=>this._updateLatestValue(e,r),r=>this.applicationErrorHandler(r))}_selectStrategy(e){if(zn(e))return vO;if(Ul(e))return yO;throw fu(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,r){e===this._obj&&(this._latestValue=r,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(r){return new(r||t)(E(Jt,16))};static \u0275pipe=ii({name:"async",type:t,pure:!1})}return t})();var _O=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,DO=(()=>{class t{transform(e){return e==null?null:(EO(t,e),e.replace(_O,r=>r[0].toUpperCase()+r.slice(1).toLowerCase()))}static \u0275fac=function(r){return new(r||t)};static \u0275pipe=ii({name:"titlecase",type:t,pure:!0})}return t})();function EO(t,n){if(typeof n!="string")throw fu(t,n)}var wO="mediumDate",bw=new y(""),_w=new y(""),CO=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,r,o){this.locale=e,this.defaultTimezone=r,this.defaultOptions=o}transform(e,r,o,i){if(e==null||e===""||e!==e)return null;try{let s=r??this.defaultOptions?.dateFormat??wO,a=o??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return pw(e,s,i||this.locale,a)}catch(s){throw fu(t,s.message)}}static \u0275fac=function(r){return new(r||t)(E(li,16),E(bw,24),E(_w,24))};static \u0275pipe=ii({name:"date",type:t,pure:!0})}return t})();var IO=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,r,o){if(!SO(e))return null;o||=this._locale;try{let i=MO(e);return vw(i,o,r)}catch(i){throw fu(t,i.message)}}static \u0275fac=function(r){return new(r||t)(E(li,16))};static \u0275pipe=ii({name:"number",type:t,pure:!0})}return t})();function SO(t){return!(t==null||t===""||t!==t)}function MO(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new b(2309,!1);return t}var Pm=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({})}return t})();function Js(t,n){n=encodeURIComponent(n);for(let e of t.split(";")){let r=e.indexOf("="),[o,i]=r==-1?[e,""]:[e.slice(0,r),e.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var co=class{};var jm="browser";function Dw(t){return t===jm}var Vm=(()=>{class t{static \u0275prov=v({token:t,providedIn:"root",factory:()=>new Lm(f(O),window)})}return t})(),Lm=class{document;window;offset=()=>[0,0];constructor(n,e){this.document=n,this.window=e}setOffset(n){Array.isArray(n)?this.offset=()=>n:this.offset=n}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(n,e){this.window.scrollTo(F(g({},e),{left:n[0],top:n[1]}))}scrollToAnchor(n,e){let r=TO(this.document,n);r&&(this.scrollToElement(r,e),r.focus({preventScroll:!0}))}setHistoryScrollRestoration(n){try{this.window.history.scrollRestoration=n}catch{console.warn(St(2400,!1))}}scrollToElement(n,e){let r=n.getBoundingClientRect(),o=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(F(g({},e),{left:o-s[0],top:i-s[1]}))}};function TO(t,n){let e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let r=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),o=r.currentNode;for(;o;){let i=o.shadowRoot;if(i){let s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}var ea=class{_doc;constructor(n){this._doc=n}manager},hu=(()=>{class t extends ea{constructor(e){super(e)}supports(e){return!0}addEventListener(e,r,o,i){return e.addEventListener(r,o,i),()=>this.removeEventListener(e,r,o,i)}removeEventListener(e,r,o,i){return e.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||t)(w(O))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),gu=new y(""),$m=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,r){this._zone=r,e.forEach(s=>{s.manager=this});let o=e.filter(s=>!(s instanceof hu));this._plugins=o.slice().reverse();let i=e.find(s=>s instanceof hu);i&&this._plugins.push(i)}addEventListener(e,r,o,i){return this._findPluginFor(r).addEventListener(e,r,o,i)}getZone(){return this._zone}_findPluginFor(e){let r=this._eventNameToPlugin.get(e);if(r)return r;if(r=this._plugins.find(i=>i.supports(e)),!r)throw new b(5101,!1);return this._eventNameToPlugin.set(e,r),r}static \u0275fac=function(r){return new(r||t)(w(gu),w(j))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Bm="ng-app-id";function Ew(t){for(let n of t)n.remove()}function ww(t,n){let e=n.createElement("style");return e.textContent=t,e}function AO(t,n,e,r){let o=t.head?.querySelectorAll(`style[${Bm}="${n}"],link[${Bm}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Bm),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&e.set(i.textContent,{usage:0,elements:[i]})}function Hm(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var zm=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,r,o,i={}){this.doc=e,this.appId=r,this.nonce=o,AO(e,r,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,r){for(let o of e)this.addUsage(o,this.inline,ww);r?.forEach(o=>this.addUsage(o,this.external,Hm))}removeStyles(e,r){for(let o of e)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(e,r,o){let i=r.get(e);i?i.usage++:r.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(e,this.doc)))})}removeUsage(e,r){let o=r.get(e);o&&(o.usage--,o.usage<=0&&(Ew(o.elements),r.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])Ew(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(e,ww(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(e,Hm(r,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,r){return this.nonce&&r.setAttribute("nonce",this.nonce),e.appendChild(r)}static \u0275fac=function(r){return new(r||t)(w(O),w(_r),w(ao,8),w(so))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Um={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"},Gm=/%COMP%/g;var Iw="%COMP%",RO=`_nghost-${Iw}`,NO=`_ngcontent-${Iw}`,OO=!0,kO=new y("",{factory:()=>OO});function FO(t){return NO.replace(Gm,t)}function PO(t){return RO.replace(Gm,t)}function Sw(t,n){return n.map(e=>e.replace(Gm,t))}var Wm=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,r,o,i,s,a,c=null,l=null){this.eventManager=e,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new ta(e,s,a,this.tracingService)}createRenderer(e,r){if(!e||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(e,r);return o instanceof mu?o.applyToHost(e):o instanceof na&&o.applyStyles(),o}getOrCreateRenderer(e,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 qt.Emulated:i=new mu(c,l,r,this.appId,u,s,a,d);break;case qt.ShadowDom:return new pu(c,e,r,s,a,this.nonce,d,l);case qt.ExperimentalIsolatedShadowDom:return new pu(c,e,r,s,a,this.nonce,d);default:i=new na(c,l,r,u,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(r){return new(r||t)(w($m),w(zm),w(_r),w(kO),w(O),w(j),w(ao),w(Zt,8))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),ta=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,e,r,o){this.eventManager=n,this.doc=e,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,e){return e?this.doc.createElementNS(Um[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(Cw(n)?n.content:n).appendChild(e)}insertBefore(n,e,r){n&&(Cw(n)?n.content:n).insertBefore(e,r)}removeChild(n,e){e.remove()}selectRootElement(n,e){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new b(-5104,!1);return e||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,r,o){if(o){e=o+":"+e;let i=Um[o];i?n.setAttributeNS(i,e,r):n.setAttribute(e,r)}else n.setAttribute(e,r)}removeAttribute(n,e,r){if(r){let o=Um[r];o?n.removeAttributeNS(o,e):n.removeAttribute(`${r}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,r,o){o&(Yt.DashCase|Yt.Important)?n.style.setProperty(e,r,o&Yt.Important?"important":""):n.style[e]=r}removeStyle(n,e,r){r&Yt.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,r){n!=null&&(n[e]=r)}setValue(n,e){n.nodeValue=e}listen(n,e,r,o){if(typeof n=="string"&&(n=bt().getGlobalEventTarget(this.doc,n),!n))throw new b(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,e,i)),this.eventManager.addEventListener(n,e,i,o)}decoratePreventDefault(n){return e=>{if(e==="__ngUnwrap__")return n;n(e)===!1&&e.preventDefault()}}};function Cw(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var pu=class extends ta{hostEl;sharedStylesHost;shadowRoot;constructor(n,e,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=e,this.sharedStylesHost=c,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=Sw(r.id,l);for(let d of l){let h=document.createElement("style");s&&h.setAttribute("nonce",s),h.textContent=d,this.shadowRoot.appendChild(h)}let u=r.getExternalStyles?.();if(u)for(let d of u){let h=Hm(d,o);s&&h.setAttribute("nonce",s),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,e){return super.appendChild(this.nodeOrShadowRoot(n),e)}insertBefore(n,e,r){return super.insertBefore(this.nodeOrShadowRoot(n),e,r)}removeChild(n,e){return super.removeChild(null,e)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},na=class extends ta{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,e,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?Sw(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&oo.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},mu=class extends na{contentAttr;hostAttr;constructor(n,e,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,e,r,i,s,a,c,l),this.contentAttr=FO(l),this.hostAttr=PO(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,e){let r=super.createElement(n,e);return super.setAttribute(r,this.contentAttr,""),r}};var vu=class t extends Ys{supportsDOMEvents=!0;static makeCurrent(){Cm(new t)}onAndCancel(n,e,r,o){return n.addEventListener(e,r,o),()=>{n.removeEventListener(e,r,o)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.remove()}createElement(n,e){return e=e||this.getDefaultDocument(),e.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return e==="window"?window:e==="document"?n:e==="body"?n.body:null}getBaseHref(n){let e=LO();return e==null?null:jO(e)}resetBaseElement(){ra=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Js(document.cookie,n)}},ra=null;function LO(){return ra=ra||document.head.querySelector("base"),ra?ra.getAttribute("href"):null}function jO(t){return new URL(t,document.baseURI).pathname}var yu=class{addToWindow(n){we.getAngularTestability=(r,o=!0)=>{let i=n.findTestabilityInTree(r,o);if(i==null)throw new b(5103,!1);return i},we.getAllAngularTestabilities=()=>n.getAllTestabilities(),we.getAllAngularRootElements=()=>n.getAllRootElements();let e=r=>{let o=we.getAllAngularTestabilities(),i=o.length,s=function(){i--,i==0&&r()};o.forEach(a=>{a.whenStable(s)})};we.frameworkStabilizers||(we.frameworkStabilizers=[]),we.frameworkStabilizers.push(e)}findTestabilityInTree(n,e,r){if(e==null)return null;let o=n.getTestability(e);return o??(r?bt().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},VO=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Mw=["alt","control","meta","shift"],BO={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},UO={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},Tw=(()=>{class t extends ea{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,r,o,i){let s=t.parseEventName(r),a=t.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>bt().onAndCancel(e,s.domEventName,a,i))}static parseEventName(e){let r=e.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=t._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Mw.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(e,r){let o=BO[e.key]||e.key,i="";return r.indexOf("code.")>-1&&(o=e.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Mw.forEach(s=>{if(s!==o){let a=UO[s];a(e)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(e,r,o){return i=>{t.matchEventFullKeyCode(i,e)&&o.runGuarded(()=>r(i))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(r){return new(r||t)(w(O))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();async function HO(t,n,e){let r=g({rootComponent:t},$O(n,e));return qE(r)}function $O(t,n){return{platformRef:n?.platformRef,appProviders:[...xw,...t?.providers??[]],platformProviders:qO}}function zO(){vu.makeCurrent()}function GO(){return new Ze}function WO(){return mp(document),document}var qO=[{provide:so,useValue:jm},{provide:El,useValue:zO,multi:!0},{provide:O,useFactory:WO}];var YO=[{provide:Bl,useClass:yu},{provide:Vl,useClass:Hs},{provide:Hs,useClass:Hs}],xw=[{provide:hs,useValue:"root"},{provide:Ze,useFactory:GO},{provide:gu,useClass:hu,multi:!0},{provide:gu,useClass:Tw,multi:!0},Wm,zm,$m,{provide:He,useExisting:Wm},{provide:co,useClass:VO},[]],ZO=(()=>{class t{constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({providers:[...xw,...YO],imports:[Pm,WE]})}return t})();var wn=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(n){n?typeof n=="string"?this.lazyInit=()=>{this.headers=new Map,n.split(` `).forEach(e=>{let r=e.indexOf(":");if(r>0){let o=e.slice(0,r),i=e.slice(r+1).trim();this.addHeaderEntry(o,i)}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((e,r)=>{this.addHeaderEntry(r,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([e,r])=>{this.setHeaderEntries(e,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();let e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init();for(let[e,r]of n.headers.entries())this.headers.set(e,r),this.normalizedNames.set(e,n.normalizedNames.get(e))}clone(n){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){let e=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(n.name,e);let o=n.op==="a"?(this.headers.get(e)||[]).slice():[];o.push(...r),this.headers.set(e,o);break;case"d":let i=n.value;if(i===void 0)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=Array.isArray(i)?i:[i],a=this.headers.get(e);if(!a)return;a=a.filter(c=>s.indexOf(c)===-1),a.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}break}}addHeaderEntry(n,e){let r=n.toLowerCase();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(e):this.headers.set(r,[e])}setHeaderEntries(n,e){let r=(Array.isArray(e)?e:[e]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}};var _u=class{map=new Map;set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}},Du=class{encodeKey(n){return Aw(n)}encodeValue(n){return Aw(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function KO(t,n){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{let i=o.indexOf("="),[s,a]=i==-1?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=e.get(s)||[];c.push(a),e.set(s,c)}),e}var QO=/%(\d[a-f0-9])/gi,XO={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Aw(t){return encodeURIComponent(t).replace(QO,(n,e)=>XO[e]??n)}function bu(t){return`${t}`}var Yn=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new Du,n.fromString){if(n.fromObject)throw new b(2805,!1);this.map=KO(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{let r=n.fromObject[e],o=Array.isArray(r)?r.map(bu):[bu(r)];this.map.set(e,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();let e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){let e=[];return Object.keys(n).forEach(r=>{let o=n[r];Array.isArray(o)?o.forEach(i=>{e.push({param:r,value:i,op:"a"})}):e.push({param:r,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{let e=this.encoder.encodeKey(n);return this.map.get(n).map(r=>e+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>n!=="").join("&")}clone(n){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){if(this.map===null&&(this.map=new Map),this.cloneFrom!==null){this.cloneFrom.init();for(let[n,e]of this.cloneFrom.map.entries())this.map.set(n,e);this.updates.forEach(n=>{switch(n.op){case"a":case"s":let e=n.op==="a"?(this.map.get(n.param)||[]).slice():[];e.push(bu(n.value)),this.map.set(n.param,e);break;case"d":if(n.value!==void 0){let r=(this.map.get(n.param)||[]).slice(),o=r.indexOf(bu(n.value));o!==-1&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}else{this.map.delete(n.param);break}}}),this.cloneFrom=this.updates=null}}};function JO(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Rw(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function Nw(t){return typeof Blob<"u"&&t instanceof Blob}function Ow(t){return typeof FormData<"u"&&t instanceof FormData}function ek(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var kw="Content-Type",Fw="Accept",Lw="text/plain",jw="application/json",tk=`${jw}, ${Lw}, */*`,di=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(n,e,r,o){this.url=e,this.method=n.toUpperCase();let i;if(JO(this.method)||o?(this.body=r!==void 0?r:null,i=o):i=r,i){if(this.reportProgress=!!i.reportProgress,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 b(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 wn,this.context??=new _u,!this.params)this.params=new Yn,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),c=a===-1?"?":aTn.set(Ar,n.setHeaders[Ar]),De)),n.setParams&&(pe=Object.keys(n.setParams).reduce((Tn,Ar)=>Tn.set(Ar,n.setParams[Ar]),pe)),new t(e,r,D,{params:pe,headers:De,context:er,reportProgress:z,responseType:o,withCredentials:C,transferCache:m,keepalive:i,cache:a,priority:s,timeout:_,mode:c,redirect:l,credentials:u,referrer:d,integrity:h,referrerPolicy:p})}},lo=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(lo||{}),hi=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(n,e=200,r="OK"){this.headers=n.headers||new wn,this.status=n.status!==void 0?n.status:e,this.statusText=n.statusText||r,this.url=n.url||null,this.redirected=n.redirected,this.responseType=n.responseType,this.ok=this.status>=200&&this.status<300}},Eu=class t extends hi{constructor(n={}){super(n)}type=lo.ResponseHeader;clone(n={}){return new t({headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}},oa=class t extends hi{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=lo.Response;clone(n={}){return new t({body:n.body!==void 0?n.body:this.body,headers:n.headers||this.headers,status:n.status!==void 0?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0,redirected:n.redirected??this.redirected,responseType:n.responseType??this.responseType})}},fi=class extends hi{name="HttpErrorResponse";message;error;ok=!1;constructor(n){super(n,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${n.url||"(unknown url)"}`:this.message=`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}},nk=200,rk=204;var ok=new y("");var ik=/^\)\]\}',?\n/;var Ym=(()=>{class t{xhrFactory;tracingService=f(Zt,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new b(-2800,!1);let r=this.xhrFactory;return S(null).pipe(Ve(()=>new P(i=>{let s=r.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((D,C)=>s.setRequestHeader(D,C.join(","))),e.headers.has(Fw)||s.setRequestHeader(Fw,tk),!e.headers.has(kw)){let D=e.detectContentTypeHeader();D!==null&&s.setRequestHeader(kw,D)}if(e.timeout&&(s.timeout=e.timeout),e.responseType){let D=e.responseType.toLowerCase();s.responseType=D!=="json"?D:"text"}let a=e.serializeBody(),c=null,l=()=>{if(c!==null)return c;let D=s.statusText||"OK",C=new wn(s.getAllResponseHeaders()),z=s.responseURL||e.url;return c=new Eu({headers:C,status:s.status,statusText:D,url:z}),c},u=this.maybePropagateTrace(()=>{let{headers:D,status:C,statusText:z,url:De}=l(),pe=null;C!==rk&&(pe=typeof s.response>"u"?s.responseText:s.response),C===0&&(C=pe?nk:0);let er=C>=200&&C<300;if(e.responseType==="json"&&typeof pe=="string"){let Tn=pe;pe=pe.replace(ik,"");try{pe=pe!==""?JSON.parse(pe):null}catch(Ar){pe=Tn,er&&(er=!1,pe={error:Ar,text:pe})}}er?(i.next(new oa({body:pe,headers:D,status:C,statusText:z,url:De||void 0})),i.complete()):i.error(new fi({error:pe,headers:D,status:C,statusText:z,url:De||void 0}))}),d=this.maybePropagateTrace(D=>{let{url:C}=l(),z=new fi({error:D,status:s.status||0,statusText:s.statusText||"Unknown Error",url:C||void 0});i.error(z)}),h=d;e.timeout&&(h=this.maybePropagateTrace(D=>{let{url:C}=l(),z=new fi({error:new DOMException("Request timed out","TimeoutError"),status:s.status||0,statusText:s.statusText||"Request timeout",url:C||void 0});i.error(z)}));let p=!1,m=this.maybePropagateTrace(D=>{p||(i.next(l()),p=!0);let C={type:lo.DownloadProgress,loaded:D.loaded};D.lengthComputable&&(C.total=D.total),e.responseType==="text"&&s.responseText&&(C.partialText=s.responseText),i.next(C)}),_=this.maybePropagateTrace(D=>{let C={type:lo.UploadProgress,loaded:D.loaded};D.lengthComputable&&(C.total=D.total),i.next(C)});return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",h),s.addEventListener("abort",d),e.reportProgress&&(s.addEventListener("progress",m),a!==null&&s.upload&&s.upload.addEventListener("progress",_)),s.send(a),i.next({type:lo.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",h),e.reportProgress&&(s.removeEventListener("progress",m),a!==null&&s.upload&&s.upload.removeEventListener("progress",_)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(r){return new(r||t)(w(co))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),sk=new y("",{factory:()=>!0}),ak="XSRF-TOKEN",ck=new y("",{factory:()=>ak}),lk="X-XSRF-TOKEN",uk=new y("",{factory:()=>lk}),dk=(()=>{class t{cookieName=f(ck);doc=f(O);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Js(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vw=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=w(dk),o},providedIn:"root"})}return t})();function Bw(t,n){if(!f(sk)||t.method==="GET"||t.method==="HEAD")return n(t);try{let o=f(Wn).href,{origin:i}=new URL(o),{origin:s}=new URL(t.url,i);if(i!==s)return n(t)}catch{return n(t)}let e=f(Vw).getToken(),r=f(uk);return e!=null&&!t.headers.has(r)&&(t=t.clone({headers:t.headers.set(r,e)})),n(t)}function Uw(t,n){return n(t)}function fk(t,n){return(e,r)=>n.intercept(e,{handle:o=>t(o,r)})}function hk(t,n,e){return(r,o)=>Fe(e,()=>n(r,i=>t(i,o)))}var Hw=new y(""),Zm=new y("",{factory:()=>[Bw]}),$w=new y(""),Km=new y("",{factory:()=>!0});function pk(){let t=null;return(n,e)=>{t===null&&(t=(f(Hw,{optional:!0})??[]).reduceRight(fk,Uw));let r=f(Wo);if(f(Km)){let i=r.add();return t(n,e).pipe(Rn(i))}else return t(n,e)}}var Qm=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=w(Ym),o},providedIn:"root"})}return t})();var wu=(()=>{class t{backend;injector;chain=null;pendingTasks=f(Wo);contributeToStability=f(Km);constructor(e,r){this.backend=e,this.injector=r}handle(e){if(this.chain===null){let r=this.injector.get(Cu,null,{skipSelf:!0}),o=r!==null&&this.backend===r,i=this.injector.get($w,[],o?{self:!0}:void 0),s=Array.from(new Set([...this.injector.get(Zm),...i]));this.chain=s.reduceRight((a,c)=>hk(a,c,this.injector),Uw)}if(this.contributeToStability){let r=this.pendingTasks.add();return this.chain(e,o=>this.backend.handle(o)).pipe(Rn(r))}else return this.chain(e,r=>this.backend.handle(r))}static \u0275fac=function(r){return new(r||t)(w(Qm),w(re))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Cu=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=w(wu),o},providedIn:"root"})}return t})();function qm(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer,referrerPolicy:t.referrerPolicy}}var pi=(()=>{class t{handler;constructor(e){this.handler=e}request(e,r,o={}){let i;if(e instanceof di)i=e;else{let c;o.headers instanceof wn?c=o.headers:c=new wn(o.headers);let l;o.params&&(o.params instanceof Yn?l=o.params:l=new Yn({fromObject:o.params})),i=new di(e,r,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,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=S(i).pipe(or(c=>this.handler.handle(c)));if(e instanceof di||o.observe==="events")return s;let a=s.pipe(he(c=>c instanceof oa));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(V(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new b(2806,!1);return c.body}));case"blob":return a.pipe(V(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new b(2807,!1);return c.body}));case"text":return a.pipe(V(c=>{if(c.body!==null&&typeof c.body!="string")throw new b(2808,!1);return c.body}));default:return a.pipe(V(c=>c.body))}case"response":return a;default:throw new b(2809,!1)}}delete(e,r={}){return this.request("DELETE",e,r)}get(e,r={}){return this.request("GET",e,r)}head(e,r={}){return this.request("HEAD",e,r)}jsonp(e,r){return this.request("JSONP",e,{params:new Yn().append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,r={}){return this.request("OPTIONS",e,r)}patch(e,r,o={}){return this.request("PATCH",e,qm(o,r))}post(e,r,o={}){return this.request("POST",e,qm(o,r))}put(e,r,o={}){return this.request("PUT",e,qm(o,r))}static \u0275fac=function(r){return new(r||t)(w(Cu))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Xm=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(Xm||{});function mk(t,n){return{\u0275kind:t,\u0275providers:n}}function zw(...t){let n=[pi,wu,{provide:Cu,useExisting:wu},{provide:Qm,useFactory:()=>f(ok,{optional:!0})??f(Ym)},{provide:Zm,useValue:Bw,multi:!0}];for(let e of t)n.push(...e.\u0275providers);return hr(n)}var Pw=new y("");function Gw(){return mk(Xm.LegacyInterceptors,[{provide:Pw,useFactory:pk},{provide:Zm,useExisting:Pw,multi:!0}])}var gk=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({providers:[zw(Gw())]})}return t})();var qw=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(r){return new(r||t)(w(O))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vk(t,n){if(typeof COMPILED>"u"||!COMPILED){let e=we.ng=we.ng||{};e[t]=n}}var Jm=class{msPerTick;numTicks;constructor(n,e){this.msPerTick=n,this.numTicks=e}},eg=class{appRef;constructor(n){this.appRef=n.injector.get(Ge)}timeChangeDetection(n){let e=n&&n.record,r="Change Detection";e&&"profile"in console&&typeof console.profile=="function"&&console.profile(r);let o=performance.now(),i=0;for(;i<5||performance.now()-o<500;)this.appRef.tick(),i++;let s=performance.now();e&&"profileEnd"in console&&typeof console.profileEnd=="function"&&console.profileEnd(r);let a=(s-o)/i;return console.log(`ran ${i} change detection cycles`),console.log(`${a.toFixed(2)} ms per check`),new Jm(a,i)}},yk="profiler";function cY(t){return vk(yk,new eg(t)),t}var ia=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:function(r){let o=null;return r?o=new(r||t):o=w(bk),o},providedIn:"root"})}return t})(),bk=(()=>{class t extends ia{_doc;constructor(e){super(),this._doc=e}sanitize(e,r){if(r==null)return null;switch(e){case J.NONE:return r;case J.HTML:return bn(r,"HTML")?vt(r):Sl(this._doc,String(r)).toString();case J.STYLE:return bn(r,"Style")?vt(r):r;case J.SCRIPT:if(bn(r,"Script"))return vt(r);throw new b(5200,!1);case J.URL:return bn(r,"URL")?vt(r):Ps(String(r));case J.RESOURCE_URL:if(bn(r,"ResourceURL"))return vt(r);throw new b(5201,!1);default:throw new b(5202,!1)}}bypassSecurityTrustHtml(e){return yp(e)}bypassSecurityTrustStyle(e){return bp(e)}bypassSecurityTrustScript(e){return _p(e)}bypassSecurityTrustUrl(e){return Dp(e)}bypassSecurityTrustResourceUrl(e){return Ep(e)}static \u0275fac=function(r){return new(r||t)(w(O))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var oC=(()=>{class t{_renderer;_elementRef;onChange=e=>{};onTouched=()=>{};constructor(e,r){this._renderer=e,this._elementRef=r}setProperty(e,r){this._renderer.setProperty(this._elementRef.nativeElement,e,r)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static \u0275fac=function(r){return new(r||t)(E(Le),E($))};static \u0275dir=T({type:t})}return t})(),Fu=(()=>{class t extends oC{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Pe(t)))(o||t)}})();static \u0275dir=T({type:t,features:[ie]})}return t})(),fo=new y("");var _k={provide:fo,useExisting:Ie(()=>iC),multi:!0};function Dk(){let t=bt()?bt().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var Ek=new y(""),iC=(()=>{class t extends oC{_compositionMode;_composing=!1;constructor(e,r,o){super(e,r),this._compositionMode=o,this._compositionMode==null&&(this._compositionMode=!Dk())}writeValue(e){let r=e??"";this.setProperty("value",r)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static \u0275fac=function(r){return new(r||t)(E(Le),E($),E(Ek,8))};static \u0275dir=T({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){r&1&&Qt("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},standalone:!1,features:[ze([_k]),ie]})}return t})();function og(t){return t==null||ig(t)===0}function ig(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var Cn=new y(""),ho=new y(""),wk=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Zw=class{static min(n){return sC(n)}static max(n){return aC(n)}static required(n){return cC(n)}static requiredTrue(n){return Ck(n)}static email(n){return Ik(n)}static minLength(n){return Sk(n)}static maxLength(n){return Mk(n)}static pattern(n){return Tk(n)}static nullValidator(n){return Su()}static compose(n){return pC(n)}static composeAsync(n){return mC(n)}};function sC(t){return n=>{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e{if(n.value==null||t==null)return null;let e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function cC(t){return og(t.value)?{required:!0}:null}function Ck(t){return t.value===!0?null:{required:!0}}function Ik(t){return og(t.value)||wk.test(t.value)?null:{email:!0}}function Sk(t){return n=>{let e=n.value?.length??ig(n.value);return e===null||e===0?null:e{let e=n.value?.length??ig(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function Tk(t){if(!t)return Su;let n,e;return typeof t=="string"?(e="",t.charAt(0)!=="^"&&(e+="^"),e+=t,t.charAt(t.length-1)!=="$"&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),r=>{if(og(r.value))return null;let o=r.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function Su(t){return null}function lC(t){return t!=null}function uC(t){return zn(t)?ae(t):t}function dC(t){let n={};return t.forEach(e=>{n=e!=null?g(g({},n),e):n}),Object.keys(n).length===0?null:n}function fC(t,n){return n.map(e=>e(t))}function xk(t){return!t.validate}function hC(t){return t.map(n=>xk(n)?n:e=>n.validate(e))}function pC(t){if(!t)return null;let n=t.filter(lC);return n.length==0?null:function(e){return dC(fC(e,n))}}function sg(t){return t!=null?pC(hC(t)):null}function mC(t){if(!t)return null;let n=t.filter(lC);return n.length==0?null:function(e){let r=fC(e,n).map(uC);return Yi(r).pipe(V(dC))}}function ag(t){return t!=null?mC(hC(t)):null}function Kw(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function gC(t){return t._rawValidators}function vC(t){return t._rawAsyncValidators}function tg(t){return t?Array.isArray(t)?t:[t]:[]}function Mu(t,n){return Array.isArray(t)?t.includes(n):t===n}function Qw(t,n){let e=tg(n);return tg(t).forEach(o=>{Mu(e,o)||e.push(o)}),e}function Xw(t,n){return tg(n).filter(e=>!Mu(t,e))}var Tu=class{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators=[];_rawAsyncValidators=[];_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=sg(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=ag(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control?.reset(n)}hasError(n,e){return this.control?this.control.hasError(n,e):!1}getError(n,e){return this.control?this.control.getError(n,e):null}},rt=class extends Tu{name;get formDirective(){return null}get path(){return null}},Zn=class extends Tu{_parent=null;name=null;valueAccessor=null},xu=class{_cd;constructor(n){this._cd=n}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}};var IY=(()=>{class t extends xu{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(E(Zn,2))};static \u0275dir=T({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){r&2&&Xe("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},standalone:!1,features:[ie]})}return t})(),SY=(()=>{class t extends xu{constructor(e){super(e)}static \u0275fac=function(r){return new(r||t)(E(rt,10))};static \u0275dir=T({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["","formArray",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){r&2&&Xe("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},standalone:!1,features:[ie]})}return t})();var sa="VALID",Iu="INVALID",mi="PENDING",aa="DISABLED",Er=class{},Au=class extends Er{value;source;constructor(n,e){super(),this.value=n,this.source=e}},la=class extends Er{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},ua=class extends Er{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},gi=class extends Er{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Ru=class extends Er{source;constructor(n){super(),this.source=n}},da=class extends Er{source;constructor(n){super(),this.source=n}};function cg(t){return(Pu(t)?t.validators:t)||null}function Ak(t){return Array.isArray(t)?sg(t):t||null}function lg(t,n){return(Pu(n)?n.asyncValidators:t)||null}function Rk(t){return Array.isArray(t)?ag(t):t||null}function Pu(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function yC(t,n,e){let r=t.controls;if(!(n?Object.keys(r):r).length)throw new b(1e3,"");if(!r[e])throw new b(1001,"")}function bC(t,n,e){t._forEachChild((r,o)=>{if(e[o]===void 0)throw new b(-1002,"")})}var yi=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(n,e){this._assignValidators(n),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get status(){return Y(this.statusReactive)}set status(n){Y(()=>this.statusReactive.set(n))}_status=Xt(()=>this.statusReactive());statusReactive=K(void 0);get valid(){return this.status===sa}get invalid(){return this.status===Iu}get pending(){return this.status===mi}get disabled(){return this.status===aa}get enabled(){return this.status!==aa}errors;get pristine(){return Y(this.pristineReactive)}set pristine(n){Y(()=>this.pristineReactive.set(n))}_pristine=Xt(()=>this.pristineReactive());pristineReactive=K(!0);get dirty(){return!this.pristine}get touched(){return Y(this.touchedReactive)}set touched(n){Y(()=>this.touchedReactive.set(n))}_touched=Xt(()=>this.touchedReactive());touchedReactive=K(!1);get untouched(){return!this.touched}_events=new x;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Qw(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Qw(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Xw(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Xw(n,this._rawAsyncValidators))}hasValidator(n){return Mu(this._rawValidators,n)}hasAsyncValidator(n){return Mu(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){let e=this.touched===!1;this.touched=!0;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsTouched(F(g({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new ua(!0,r))}markAllAsDirty(n={}){this.markAsDirty({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsDirty(n))}markAllAsTouched(n={}){this.markAsTouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:this}),this._forEachChild(e=>e.markAllAsTouched(n))}markAsUntouched(n={}){let e=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:n.emitEvent,sourceControl:r})}),n.onlySelf||this._parent?._updateTouched(n,r),e&&n.emitEvent!==!1&&this._events.next(new ua(!1,r))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let r=n.sourceControl??this;n.onlySelf||this._parent?.markAsDirty(F(g({},n),{sourceControl:r})),e&&n.emitEvent!==!1&&this._events.next(new la(!1,r))}markAsPristine(n={}){let e=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let r=n.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:n.emitEvent})}),n.onlySelf||this._parent?._updatePristine(n,r),e&&n.emitEvent!==!1&&this._events.next(new la(!0,r))}markAsPending(n={}){this.status=mi;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new gi(this.status,e)),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.markAsPending(F(g({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=aa,this.errors=null,this._forEachChild(o=>{o.disable(F(g({},n),{onlySelf:!0}))}),this._updateValue();let r=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Au(this.value,r)),this._events.next(new gi(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(F(g({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=sa,this._forEachChild(r=>{r.enable(F(g({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(F(g({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n,e){n.onlySelf||(this._parent?.updateValueAndValidity(n),n.skipPristineCheck||this._parent?._updatePristine({},e),this._parent?._updateTouched({},e))}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===sa||this.status===mi)&&this._runAsyncValidator(r,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Au(this.value,e)),this._events.next(new gi(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),n.onlySelf||this._parent?.updateValueAndValidity(F(g({},n),{sourceControl:e}))}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?aa:sa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=mi,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let r=uC(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:e,shouldHaveEmitted:n})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let n=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,n}return!1}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(e.emitEvent!==!1,this,e.shouldHaveEmitted)}get(n){let e=n;return e==null||(Array.isArray(e)||(e=e.split(".")),e.length===0)?null:e.reduce((r,o)=>r&&r._find(o),this)}getError(n,e){let r=e?this.get(e):this;return r?.errors?r.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n,e,r){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),(n||r)&&this._events.next(new gi(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,r)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?aa:this.errors?Iu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(mi)?mi:this._anyControlsHaveStatus(Iu)?Iu:sa}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n,e){let r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,n.onlySelf||this._parent?._updatePristine(n,e),o&&this._events.next(new la(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new ua(this.touched,e)),n.onlySelf||this._parent?._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Pu(n)&&n.updateOn!=null&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!!this._parent?.dirty&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=Ak(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=Rk(this._rawAsyncValidators)}},uo=class extends yi{constructor(n,e,r){super(cg(e),lg(r,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,r={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){bC(this,!0,n),Object.keys(n).forEach(r=>{yC(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(Object.keys(n).forEach(r=>{let o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,F(g({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new da(this))}getRawValue(){return this._reduceChildren({},(n,e,r)=>(n[r]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,r)=>r._syncPendingControls()?!0:e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{let r=this.controls[e];r&&n(r,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(let[e,r]of Object.entries(this.controls))if(this.contains(e)&&n(r))return!0;return!1}_reduceValue(){let n={};return this._reduceChildren(n,(e,r,o)=>((r.enabled||this.disabled)&&(e[o]=r.value),e))}_reduceChildren(n,e){let r=n;return this._forEachChild((o,i)=>{r=e(r,o,i)}),r}_allControlsDisabled(){for(let n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}};var MY=uo;var ng=class extends uo{};var bi=new y("",{factory:()=>Lu}),Lu="always";function ju(t,n){return[...n.path,t]}function fa(t,n,e=Lu){ug(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),Ok(t,n),Fk(t,n),kk(t,n),Nk(t,n)}function Nu(t,n,e=!0){let r=()=>{};n?.valueAccessor?.registerOnChange(r),n?.valueAccessor?.registerOnTouched(r),ku(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Ou(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function Nk(t,n){if(n.valueAccessor.setDisabledState){let e=r=>{n.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function ug(t,n){let e=gC(t);n.validator!==null?t.setValidators(Kw(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let r=vC(t);n.asyncValidator!==null?t.setAsyncValidators(Kw(r,n.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let o=()=>t.updateValueAndValidity();Ou(n._rawValidators,o),Ou(n._rawAsyncValidators,o)}function ku(t,n){let e=!1;if(t!==null){if(n.validator!==null){let o=gC(t);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.validator);i.length!==o.length&&(e=!0,t.setValidators(i))}}if(n.asyncValidator!==null){let o=vC(t);if(Array.isArray(o)&&o.length>0){let i=o.filter(s=>s!==n.asyncValidator);i.length!==o.length&&(e=!0,t.setAsyncValidators(i))}}}let r=()=>{};return Ou(n._rawValidators,r),Ou(n._rawAsyncValidators,r),e}function Ok(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&_C(t,n)})}function kk(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&_C(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function _C(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Fk(t,n){let e=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function DC(t,n){t==null,ug(t,n)}function Pk(t,n){return ku(t,n)}function dg(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function Lk(t){return Object.getPrototypeOf(t.constructor)===Fu}function EC(t,n){t._syncPendingControls(),n.forEach(e=>{let r=e.control;r.updateOn==="submit"&&r._pendingChange&&(e.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function fg(t,n){if(!n)return null;Array.isArray(n);let e,r,o;return n.forEach(i=>{i.constructor===iC?e=i:Lk(i)?r=i:o=i}),o||r||e||null}function jk(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var Vk={provide:rt,useExisting:Ie(()=>Bk)},ca=Promise.resolve(),Bk=(()=>{class t extends rt{callSetDisabledState;get submitted(){return Y(this.submittedReactive)}_submitted=Xt(()=>this.submittedReactive());submittedReactive=K(!1);_directives=new Set;form;ngSubmit=new H;options;constructor(e,r,o){super(),this.callSetDisabledState=o,this.form=new uo({},sg(e),ag(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ca.then(()=>{let r=this._findContainer(e.path);e.control=r.registerControl(e.name,e.control),fa(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ca.then(()=>{this._findContainer(e.path)?.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){ca.then(()=>{let r=this._findContainer(e.path),o=new uo({});DC(o,e),r.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ca.then(()=>{this._findContainer(e.path)?.removeControl?.(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,r){ca.then(()=>{this.form.get(e.path).setValue(r)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),EC(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Ru(this.control)),e?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submittedReactive.set(!1)}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static \u0275fac=function(r){return new(r||t)(E(Cn,10),E(ho,10),E(bi,8))};static \u0275dir=T({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup","",3,"formArray",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){r&1&&Qt("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ze([Vk]),ie]})}return t})();function Jw(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function eC(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var vi=class extends yi{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,r){super(cg(e),lg(r,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Pu(e)&&(e.nonNullable||e.initialValueIsDefault)&&(eC(n)?this.defaultValue=n.value:this.defaultValue=n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&e.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,e.emitViewToModelChange!==!1)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),e.overwriteDefaultValue&&(this.defaultValue=this.value),this._pendingChange=!1,e?.emitEvent!==!1&&this._events.next(new da(this))}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){Jw(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){Jw(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(n){eC(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},xY=vi,Uk=t=>t instanceof vi,Hk=(()=>{class t extends rt{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective?.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return ju(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Pe(t)))(o||t)}})();static \u0275dir=T({type:t,standalone:!1,features:[ie]})}return t})();var $k={provide:Zn,useExisting:Ie(()=>zk)},tC=Promise.resolve(),zk=(()=>{class t extends Zn{_changeDetectorRef;callSetDisabledState;control=new vi;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new H;constructor(e,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this._parent=e,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=fg(this,i)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){let r=e.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),dg(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective?.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){fa(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(e){tC.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){let r=e.isDisabled.currentValue,o=r!==0&&ue(r);tC.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?ju(e,this._parent):[e]}static \u0275fac=function(r){return new(r||t)(E(rt,9),E(Cn,10),E(ho,10),E(fo,10),E(Jt,8),E(bi,8))};static \u0275dir=T({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[ze([$k]),ie,$e]})}return t})();var AY=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return t})(),Gk={provide:fo,useExisting:Ie(()=>Wk),multi:!0},Wk=(()=>{class t extends Fu{writeValue(e){let r=e??"";this.setProperty("value",r)}registerOnChange(e){this.onChange=r=>{e(r==""?null:parseFloat(r))}}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Pe(t)))(o||t)}})();static \u0275dir=T({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(r,o){r&1&&Qt("input",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},standalone:!1,features:[ze([Gk]),ie]})}return t})();var rg=class extends yi{constructor(n,e,r){super(cg(e),lg(r,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){Array.isArray(n)?n.forEach(r=>{this.controls.push(r),this._registerControl(r)}):(this.controls.push(n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,r={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,e={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,r={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),e&&(this.controls.splice(o,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){bC(this,!1,n),n.forEach((r,o)=>{yC(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){n!=null&&(n.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((r,o)=>{r.reset(n[o],F(g({},e),{onlySelf:!0}))}),this._updatePristine(e,this),this._updateTouched(e,this),this.updateValueAndValidity(e),e?.emitEvent!==!1&&this._events.next(new da(this))}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,r)=>r._syncPendingControls()?!0:e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,r)=>{n(e,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(let n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}};var wC=(()=>{class t extends rt{callSetDisabledState;get submitted(){return Y(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=Xt(()=>this._submittedReactive());_submittedReactive=K(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];constructor(e,r,o){super(),this.callSetDisabledState=o,this._setValidators(e),this._setAsyncValidators(r)}ngOnChanges(e){this.onChanges(e)}ngOnDestroy(){this.onDestroy()}onChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}onDestroy(){this.form&&(ku(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get path(){return[]}addControl(e){let r=this.form.get(e.path);return fa(r,e,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),r}getControl(e){return this.form.get(e.path)}removeControl(e){Nu(e.control||null,e,!1),jk(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}getFormArray(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}updateModel(e,r){this.form.get(e.path).setValue(r)}onReset(){this.resetForm()}resetForm(e=void 0,r={}){this.form.reset(e,r),this._submittedReactive.set(!1)}onSubmit(e){return this.submitted=!0,EC(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Ru(this.control)),e?.target?.method==="dialog"}_updateDomValue(){this.directives.forEach(e=>{let r=e.control,o=this.form.get(e.path);r!==o&&(Nu(r||null,e),Uk(o)&&(fa(o,e,this.callSetDisabledState),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let r=this.form.get(e.path);DC(r,e),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){let r=this.form?.get(e.path);r&&Pk(r,e)&&r.updateValueAndValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm?._registerOnCollectionChange(()=>{})}_updateValidators(){ug(this.form,this),this._oldForm&&ku(this._oldForm,this)}_checkFormPresent(){this.form}static \u0275fac=function(r){return new(r||t)(E(Cn,10),E(ho,10),E(bi,8))};static \u0275dir=T({type:t,features:[ie,$e]})}return t})();var hg=new y(""),qk={provide:Zn,useExisting:Ie(()=>Yk)},Yk=(()=>{class t extends Zn{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new H;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,r,o,i,s){super(),this._ngModelWarningConfig=i,this.callSetDisabledState=s,this._setValidators(e),this._setAsyncValidators(r),this.valueAccessor=fg(this,o)}ngOnChanges(e){if(this._isControlChanged(e)){let r=e.form.previousValue;r&&Nu(r,this,!1),fa(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}dg(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Nu(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static \u0275fac=function(r){return new(r||t)(E(Cn,10),E(ho,10),E(fo,10),E(hg,8),E(bi,8))};static \u0275dir=T({type:t,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[ze([qk]),ie,$e]})}return t})(),Zk={provide:rt,useExisting:Ie(()=>CC)},CC=(()=>{class t extends Hk{name=null;constructor(e,r,o){super(),this._parent=e,this._setValidators(r),this._setAsyncValidators(o)}_checkParentType(){SC(this._parent)}static \u0275fac=function(r){return new(r||t)(E(rt,13),E(Cn,10),E(ho,10))};static \u0275dir=T({type:t,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[ze([Zk]),ie]})}return t})(),Kk={provide:rt,useExisting:Ie(()=>IC)},IC=(()=>{class t extends rt{_parent;name=null;constructor(e,r,o){super(),this._parent=e,this._setValidators(r),this._setAsyncValidators(o)}ngOnInit(){SC(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return ju(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(r){return new(r||t)(E(rt,13),E(Cn,10),E(ho,10))};static \u0275dir=T({type:t,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[ze([Kk]),ie]})}return t})();function SC(t){return!(t instanceof CC)&&!(t instanceof wC)&&!(t instanceof IC)}var Qk={provide:Zn,useExisting:Ie(()=>Xk)},Xk=(()=>{class t extends Zn{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(e){}model;update=new H;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(e,r,o,i,s){super(),this._ngModelWarningConfig=s,this._parent=e,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=fg(this,i)}ngOnChanges(e){this._added||this._setUpControl(),dg(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective?.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return ju(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(r){return new(r||t)(E(rt,13),E(Cn,10),E(ho,10),E(fo,10),E(hg,8))};static \u0275dir=T({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[ze([Qk]),ie,$e]})}return t})();var Jk={provide:rt,useExisting:Ie(()=>eF)},eF=(()=>{class t extends wC{form=null;ngSubmit=new H;get control(){return this.form}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Pe(t)))(o||t)}})();static \u0275dir=T({type:t,selectors:[["","formGroup",""]],hostBindings:function(r,o){r&1&&Qt("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],standalone:!1,features:[ze([Jk]),ie]})}return t})(),tF={provide:fo,useExisting:Ie(()=>TC),multi:!0};function MC(t,n){return t==null?`${n}`:(n&&typeof n=="object"&&(n="Object"),`${t}: ${n}`.slice(0,50))}function nF(t){return t.split(":")[0]}var TC=(()=>{class t extends Fu{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;appRefInjector=f(Ge).injector;destroyRef=f(Ue);cdr=f(Jt);_queuedWrite=!1;_writeValueAfterRender(){this._queuedWrite||this.appRefInjector.destroyed||(this._queuedWrite=!0,At({write:()=>{this.destroyRef.destroyed||(this._queuedWrite=!1,this.writeValue(this.value))}},{injector:this.appRefInjector}))}writeValue(e){this.cdr.markForCheck(),this.value=e;let r=this._getOptionId(e),o=MC(r,e);this.setProperty("value",o)}registerOnChange(e){this.onChange=r=>{this.value=this._getOptionValue(r),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(let r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),e))return r;return null}_getOptionValue(e){let r=nF(e);return this._optionMap.has(r)?this._optionMap.get(r):e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Pe(t)))(o||t)}})();static \u0275dir=T({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){r&1&&Qt("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[ze([tF]),ie]})}return t})(),RY=(()=>{class t{_element;_renderer;_select;id;constructor(e,r,o){this._element=e,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(e){this._select!=null&&(this._select._optionMap.set(this.id,e),this._setElementValue(MC(this.id,e)),this._select._writeValueAfterRender())}set value(e){this._setElementValue(e),this._select?._writeValueAfterRender()}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select?._optionMap.delete(this.id),this._select?._writeValueAfterRender()}static \u0275fac=function(r){return new(r||t)(E($),E(Le),E(TC,9))};static \u0275dir=T({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})(),rF={provide:fo,useExisting:Ie(()=>xC),multi:!0};function nC(t,n){return t==null?`${n}`:(typeof n=="string"&&(n=`'${n}'`),n&&typeof n=="object"&&(n="Object"),`${t}: ${n}`.slice(0,50))}function oF(t){return t.split(":")[0]}var xC=(()=>{class t extends Fu{value;_optionMap=new Map;_idCounter=0;set compareWith(e){this._compareWith=e}_compareWith=Object.is;writeValue(e){this.value=e;let r;if(Array.isArray(e)){let o=e.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s)>-1)}}else r=o=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(e){this.onChange=r=>{let o=[],i=r.selectedOptions;if(i!==void 0){let s=i;for(let a=0;a{let e;return function(o){return(e||(e=Pe(t)))(o||t)}})();static \u0275dir=T({type:t,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(r,o){r&1&&Qt("change",function(s){return o.onChange(s.target)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},standalone:!1,features:[ze([rF]),ie]})}return t})(),NY=(()=>{class t{_element;_renderer;_select;id;_value;constructor(e,r,o){this._element=e,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){this._select!=null&&(this._value=e,this._setElementValue(nC(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(nC(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static \u0275fac=function(r){return new(r||t)(E($),E(Le),E(xC,9))};static \u0275dir=T({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"},standalone:!1})}return t})();function AC(t){return typeof t=="number"?t:parseFloat(t)}var pg=(()=>{class t{_validator=Su;_onChange;_enabled;ngOnChanges(e){if(this.inputName in e){let r=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Su,this._onChange?.()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return e!=null}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,features:[$e]})}return t})(),iF={provide:Cn,useExisting:Ie(()=>sF),multi:!0},sF=(()=>{class t extends pg{max;inputName="max";normalizeInput=e=>AC(e);createValidator=e=>aC(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Pe(t)))(o||t)}})();static \u0275dir=T({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&yt("max",o._enabled?o.max:null)},inputs:{max:"max"},standalone:!1,features:[ze([iF]),ie]})}return t})(),aF={provide:Cn,useExisting:Ie(()=>cF),multi:!0},cF=(()=>{class t extends pg{min;inputName="min";normalizeInput=e=>AC(e);createValidator=e=>sC(e);static \u0275fac=(()=>{let e;return function(o){return(e||(e=Pe(t)))(o||t)}})();static \u0275dir=T({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(r,o){r&2&&yt("min",o._enabled?o.min:null)},inputs:{min:"min"},standalone:!1,features:[ze([aF]),ie]})}return t})(),lF={provide:Cn,useExisting:Ie(()=>uF),multi:!0};var uF=(()=>{class t extends pg{required;inputName="required";normalizeInput=ue;createValidator=e=>cC;enabled(e){return e}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Pe(t)))(o||t)}})();static \u0275dir=T({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(r,o){r&2&&yt("required",o._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[ze([lF]),ie]})}return t})();var RC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({})}return t})();function rC(t){return!!t&&(t.asyncValidators!==void 0||t.validators!==void 0||t.updateOn!==void 0)}var dF=(()=>{class t{useNonNullable=!1;get nonNullable(){let e=new t;return e.useNonNullable=!0,e}group(e,r=null){let o=this._reduceControls(e),i={};return rC(r)?i=r:r!==null&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new uo(o,i)}record(e,r=null){let o=this._reduceControls(e);return new ng(o,r)}control(e,r,o){let i={};return this.useNonNullable?(rC(r)?i=r:(i.validators=r,i.asyncValidators=o),new vi(e,F(g({},i),{nonNullable:!0}))):new vi(e,r,o)}array(e,r,o){let i=e.map(s=>this._createControl(s));return new rg(i,r,o)}_reduceControls(e){let r={};return Object.keys(e).forEach(o=>{r[o]=this._createControl(e[o])}),r}_createControl(e){if(e instanceof vi)return e;if(e instanceof yi)return e;if(Array.isArray(e)){let r=e[0],o=e.length>1?e[1]:null,i=e.length>2?e[2]:null;return this.control(r,o,i)}else return this.control(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var OY=(()=>{class t extends dF{group(e,r=null){return super.group(e,r)}control(e,r,o){return super.control(e,r,o)}array(e,r,o){return super.array(e,r,o)}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Pe(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),kY=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:bi,useValue:e.callSetDisabledState??Lu}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({imports:[RC]})}return t})(),FY=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:hg,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:bi,useValue:e.callSetDisabledState??Lu}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({imports:[RC]})}return t})();var Vu=new WeakMap,Nt=(()=>{class t{_appRef;_injector=f(W);_environmentInjector=f(re);load(e){let r=this._appRef=this._appRef||this._injector.get(Ge),o=Vu.get(r);o||(o={loaders:new Set,refs:[]},Vu.set(r,o),r.onDestroy(()=>{Vu.get(r)?.refs.forEach(i=>i.destroy()),Vu.delete(r)})),o.loaders.has(e)||(o.loaders.add(e),o.refs.push(Jl(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Uu=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Te({type:t,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,changeDetection:0})}return t})(),Bu;function fF(){if(Bu===void 0&&(Bu=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(Bu=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Bu}function po(t){return fF()?.createHTML(t)||t}function NC(t,n,e){let r=e.sanitize(J.HTML,n);t.innerHTML=po(r||"")}function OC(t){return Error(`Unable to find icon with the name "${t}"`)}function hF(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function kC(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function FC(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var Kn=class{url;svgText;options;svgElement=null;constructor(n,e,r){this.url=n,this.svgText=e,this.options=r}},LC=(()=>{class t{_httpClient;_sanitizer;_errorHandler;_document;_svgIconConfigs=new Map;_iconSetConfigs=new Map;_cachedIconsByUrl=new Map;_inProgressUrlFetches=new Map;_fontCssClassesByAlias=new Map;_resolvers=[];_defaultFontSetClass=["material-icons","mat-ligature-font"];constructor(e,r,o,i){this._httpClient=e,this._sanitizer=r,this._errorHandler=i,this._document=o}addSvgIcon(e,r,o){return this.addSvgIconInNamespace("",e,r,o)}addSvgIconLiteral(e,r,o){return this.addSvgIconLiteralInNamespace("",e,r,o)}addSvgIconInNamespace(e,r,o,i){return this._addSvgIconConfig(e,r,new Kn(o,null,i))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,r,o,i){let s=this._sanitizer.sanitize(J.HTML,o);if(!s)throw FC(o);let a=po(s);return this._addSvgIconConfig(e,r,new Kn("",a,i))}addSvgIconSet(e,r){return this.addSvgIconSetInNamespace("",e,r)}addSvgIconSetLiteral(e,r){return this.addSvgIconSetLiteralInNamespace("",e,r)}addSvgIconSetInNamespace(e,r,o){return this._addSvgIconSetConfig(e,new Kn(r,null,o))}addSvgIconSetLiteralInNamespace(e,r,o){let i=this._sanitizer.sanitize(J.HTML,r);if(!i)throw FC(r);let s=po(i);return this._addSvgIconSetConfig(e,new Kn("",s,o))}registerFontClassAlias(e,r=e){return this._fontCssClassesByAlias.set(e,r),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){let r=this._sanitizer.sanitize(J.RESOURCE_URL,e);if(!r)throw kC(e);let o=this._cachedIconsByUrl.get(r);return o?S(Hu(o)):this._loadSvgIconFromConfig(new Kn(e,null)).pipe(Be(i=>this._cachedIconsByUrl.set(r,i)),V(i=>Hu(i)))}getNamedSvgIcon(e,r=""){let o=PC(r,e),i=this._svgIconConfigs.get(o);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(r,e),i)return this._svgIconConfigs.set(o,i),this._getSvgFromConfig(i);let s=this._iconSetConfigs.get(r);return s?this._getSvgFromIconSetConfigs(e,s):xn(OC(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?S(Hu(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(V(r=>Hu(r)))}_getSvgFromIconSetConfigs(e,r){let o=this._extractIconWithNameFromAnySet(e,r);if(o)return S(o);let i=r.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(It(a=>{let l=`Loading icon set URL: ${this._sanitizer.sanitize(J.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(l)),S(null)})));return Yi(i).pipe(V(()=>{let s=this._extractIconWithNameFromAnySet(e,r);if(!s)throw OC(e);return s}))}_extractIconWithNameFromAnySet(e,r){for(let o=r.length-1;o>=0;o--){let i=r[o];if(i.svgText&&i.svgText.toString().indexOf(e)>-1){let s=this._svgElementFromConfig(i),a=this._extractSvgIconFromSet(s,e,i.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Be(r=>e.svgText=r),V(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?S(null):this._fetchIcon(e).pipe(Be(r=>e.svgText=r))}_extractSvgIconFromSet(e,r,o){let i=e.querySelector(`[id="${r}"]`);if(!i)return null;let s=i.cloneNode(!0);if(s.removeAttribute("id"),s.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(s,o);if(s.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(s),o);let a=this._svgElementFromString(po(""));return a.appendChild(s),this._setSvgAttributes(a,o)}_svgElementFromString(e){let r=this._document.createElement("DIV");r.innerHTML=e;let o=r.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){let r=this._svgElementFromString(po("")),o=e.attributes;for(let i=0;ipo(l)),Rn(()=>this._inProgressUrlFetches.delete(s)),Zi());return this._inProgressUrlFetches.set(s,c),c}_addSvgIconConfig(e,r,o){return this._svgIconConfigs.set(PC(e,r),o),this}_addSvgIconSetConfig(e,r){let o=this._iconSetConfigs.get(e);return o?o.push(r):this._iconSetConfigs.set(e,[r]),this}_svgElementFromConfig(e){if(!e.svgElement){let r=this._svgElementFromString(e.svgText);this._setSvgAttributes(r,e.options),e.svgElement=r}return e.svgElement}_getIconConfigFromResolvers(e,r){for(let o=0;of(O)}),gF=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function jC(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?gF.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var _i=(()=>{class t{get value(){return this.valueSignal()}valueSignal=K("ltr");change=new H;constructor(){let e=f(mF,{optional:!0});if(e){let r=e.body?e.body.dir:null,o=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(jC(r||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var rn=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({})}return t})();var vF=["*"],yF=new y("MAT_ICON_DEFAULT_OPTIONS"),bF=new y("mat-icon-location",{providedIn:"root",factory:()=>{let t=f(O),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}}),VC=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],_F=VC.map(t=>`[${t}]`).join(", "),DF=/^url\(['"]?#(.*?)['"]?\)$/,gZ=(()=>{class t{_elementRef=f($);_iconRegistry=f(LC);_location=f(bF);_errorHandler=f(Ze);_defaultColor;get color(){return this._color||this._defaultColor}set color(e){this._color=e}_color;inline=!1;get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}_svgIcon;get fontSet(){return this._fontSet}set fontSet(e){let r=this._cleanupFontValue(e);r!==this._fontSet&&(this._fontSet=r,this._updateFontIconClasses())}_fontSet;get fontIcon(){return this._fontIcon}set fontIcon(e){let r=this._cleanupFontValue(e);r!==this._fontIcon&&(this._fontIcon=r,this._updateFontIconClasses())}_fontIcon;_previousFontSetClass=[];_previousFontIconClass;_svgName=null;_svgNamespace=null;_previousPath;_elementsWithExternalReferences;_currentIconFetch=G.EMPTY;constructor(){let e=f(new ui("aria-hidden"),{optional:!0}),r=f(yF,{optional:!0});r&&(r.color&&(this.color=this._defaultColor=r.color),r.fontSet&&(this.fontSet=r.fontSet)),e||this._elementRef.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let r=e.split(":");switch(r.length){case 1:return["",r[0]];case 2:return r;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let e=this._elementsWithExternalReferences;if(e&&e.size){let r=this._location.getPathname();r!==this._previousPath&&(this._previousPath=r,this._prependPathToReferences(r))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();let r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(r),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,r=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=e.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,r=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>e.classList.remove(o)),r.forEach(o=>e.classList.add(o)),this._previousFontSetClass=r,this.fontIcon!==this._previousFontIconClass&&!r.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let r=this._elementsWithExternalReferences;r&&r.forEach((o,i)=>{o.forEach(s=>{i.setAttribute(s.name,`url('${e}#${s.value}')`)})})}_cacheChildrenWithExternalReferences(e){let r=e.querySelectorAll(_F),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let i=0;i{let a=r[i],c=a.getAttribute(s),l=c?c.match(DF):null;if(l){let u=o.get(a);u||(u=[],o.set(a,u)),u.push({name:s,value:l[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[r,o]=this._splitIconName(e);r&&(this._svgNamespace=r),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,r).pipe(Ne(1)).subscribe(i=>this._setSvgElement(i),i=>{let s=`Error retrieving icon ${r}:${o}! ${i.message}`;this._errorHandler.handleError(new Error(s))})}}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Te({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(r,o){r&2&&(yt("data-mat-icon-type",o._usingFontIcon()?"font":"svg")("data-mat-icon-name",o._svgName||o.fontIcon)("data-mat-icon-namespace",o._svgNamespace||o.fontSet)("fontIcon",o._usingFontIcon()?o.fontIcon:null),zs(o.color?"mat-"+o.color:""),Xe("mat-icon-inline",o.inline)("mat-icon-no-color",o.color!=="primary"&&o.color!=="accent"&&o.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",ue],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:vF,decls:1,vars:0,template:function(r,o){r&1&&(Dr(),_n(0))},styles:[`mat-icon, mat-icon.mat-primary, mat-icon.mat-accent, mat-icon.mat-warn { color: var(--mat-icon-color, inherit); } .mat-icon { -webkit-user-select: none; user-select: none; background-repeat: no-repeat; display: inline-block; fill: currentColor; height: 24px; width: 24px; overflow: hidden; } .mat-icon.mat-icon-inline { font-size: inherit; height: inherit; line-height: inherit; width: inherit; } .mat-icon.mat-ligature-font[fontIcon]::before { content: attr(fontIcon); } [dir=rtl] .mat-icon-rtl-mirror { transform: scale(-1, 1); } .mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon, .mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon { display: block; } .mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon, .mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon { margin: auto; } `],encapsulation:2,changeDetection:0})}return t})(),vZ=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({imports:[rn]})}return t})();function ha(t){return t.buttons===0||t.detail===0}function pa(t){let n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var mg;function BC(){if(mg==null){let t=typeof document<"u"?document.head:null;mg=!!(t&&(t.createShadowRoot||t.attachShadow))}return mg}function gg(t){if(BC()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function EF(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function ot(t){return t.composedPath?t.composedPath()[0]:t.target}var vg;try{vg=typeof Intl<"u"&&Intl.v8BreakIterator}catch{vg=!1}var _e=(()=>{class t{_platformId=f(so);isBrowser=this._platformId?Dw(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||vg)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ma;function UC(){if(ma==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ma=!0}))}finally{ma=ma||!1}return ma}function Di(t){return UC()?t:!!t.capture}function $u(t,n=0){return HC(t)?Number(t):arguments.length===2?n:0}function HC(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Ot(t){return t instanceof $?t.nativeElement:t}var $C=new y("cdk-input-modality-detector-options"),zC={ignoreKeys:[18,17,224,91,16]},GC=650,yg={passive:!0,capture:!0},WC=(()=>{class t{_platform=f(_e);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Ae(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(r=>r===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=ot(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs{if(pa(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=ot(e)};constructor(){let e=f(j),r=f(O),o=f($C,{optional:!0});if(this._options=g(g({},zC),o),this.modalityDetected=this._modality.pipe(Ki(1)),this.modalityChanged=this.modalityDetected.pipe(gc()),this._platform.isBrowser){let i=f(He).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[i.listen(r,"keydown",this._onKeydown,yg),i.listen(r,"mousedown",this._onMousedown,yg),i.listen(r,"touchstart",this._onTouchstart,yg)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ga=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(ga||{}),qC=new y("cdk-focus-monitor-default-options"),zu=Di({passive:!0,capture:!0}),Gu=(()=>{class t{_ngZone=f(j);_platform=f(_e);_inputModalityDetector=f(WC);_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=f(O);_stopInputModalityDetector=new x;constructor(){let e=f(qC,{optional:!0});this._detectionMode=e?.detectionMode||ga.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let r=ot(e);for(let o=r;o;o=o.parentElement)e.type==="focus"?this._onFocus(e,o):this._onBlur(e,o)};monitor(e,r=!1){let o=Ot(e);if(!this._platform.isBrowser||o.nodeType!==1)return S();let i=gg(o)||this._document,s=this._elementInfo.get(o);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new x,rootNode:i};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){let r=Ot(e),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(e,r,o){let i=Ot(e),s=this._document.activeElement;i===s?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((e,r)=>this.stopMonitoring(r))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return this._detectionMode===ga.EVENTUAL||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,r){e.classList.toggle("cdk-focused",!!r),e.classList.toggle("cdk-touch-focused",r==="touch"),e.classList.toggle("cdk-keyboard-focused",r==="keyboard"),e.classList.toggle("cdk-mouse-focused",r==="mouse"),e.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(e,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=e,this._originFromTouchInteraction=e==="touch"&&r,this._detectionMode===ga.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?GC:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(e,r){let o=this._elementInfo.get(r),i=ot(e);!o||!o.checkChildren&&r!==i||this._originChanged(r,this._getFocusOrigin(i),o)}_onBlur(e,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&e.relatedTarget instanceof Node&&r.contains(e.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(e,r){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(r))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;let r=e.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,zu),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,zu)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(jt(this._stopInputModalityDetector)).subscribe(i=>{this._setOrigin(i,!0)}))}_removeGlobalListeners(e){let r=e.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,zu),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,zu),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,r,o){this._setClasses(e,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(e){let r=[];return this._elementInfo.forEach((o,i)=>{(i===e||o.checkChildren&&i.contains(e))&&r.push([i,o])}),r}_isLastInteractionFromInputLabel(e){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===e||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA"||e.disabled)return!1;let i=e.labels;if(i){for(let s=0;s{class t{_elementRef=f($);_focusMonitor=f(Gu);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new H;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,e.nodeType===1&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(r=>{this._focusOrigin=r,this.cdkFocusChange.emit(r)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();function mo(t){return Array.isArray(t)?t:[t]}var YC=new Set,go,Wu=(()=>{class t{_platform=f(_e);_nonce=f(ao,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):IF}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&CF(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function CF(t,n){if(!YC.has(t))try{go||(go=document.createElement("style"),n&&go.setAttribute("nonce",n),go.setAttribute("type","text/css"),document.head.appendChild(go)),go.sheet&&(go.sheet.insertRule(`@media ${t} {body{ }}`,0),YC.add(t))}catch(e){console.error(e)}}function IF(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var bg=(()=>{class t{_mediaMatcher=f(Wu);_zone=f(j);_queries=new Map;_destroySubject=new x;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return ZC(mo(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let o=ZC(mo(e)).map(s=>this._registerQuery(s).observable),i=Ro(o);return i=ln(i.pipe(Ne(1)),i.pipe(Ki(1),Lr(0))),i.pipe(V(s=>{let a={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:l})=>{a.matches=a.matches||c,a.breakpoints[l]=c}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);let r=this._mediaMatcher.matchMedia(e),i={observable:new P(s=>{let a=c=>this._zone.run(()=>s.next(c));return r.addListener(a),()=>{r.removeListener(a)}}).pipe(No(r),V(({matches:s})=>({query:e,matches:s})),jt(this._destroySubject)),mql:r};return this._queries.set(e,i),i}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ZC(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function SF(t){if(t.type==="characterData"&&t.target instanceof Comment)return!0;if(t.type==="childList"){for(let n=0;n{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),QC=(()=>{class t{_mutationObserverFactory=f(KC);_observedElements=new Map;_ngZone=f(j);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,r)=>this._cleanupObserver(r))}observe(e){let r=Ot(e);return new P(o=>{let s=this._observeElement(r).pipe(V(a=>a.filter(c=>!SF(c))),he(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{o.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(e){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(e))this._observedElements.get(e).count++;else{let r=new x,o=this._mutationObserverFactory.create(i=>r.next(i));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:r,count:1})}return this._observedElements.get(e).stream})}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){let{observer:r,stream:o}=this._observedElements.get(e);r&&r.disconnect(),o.complete(),this._observedElements.delete(e)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),l7=(()=>{class t{_contentObserver=f(QC);_elementRef=f($);event=new H;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(e){this._debounce=$u(e),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let e=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?e.pipe(Lr(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",ue],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),XC=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({providers:[KC]})}return t})();var nI=(()=>{class t{_platform=f(_e);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return TF(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let r=MF(PF(e));if(r&&(JC(r)===-1||!this.isVisible(r)))return!1;let o=e.nodeName.toLowerCase(),i=JC(e);return e.hasAttribute("contenteditable")?i!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!kF(e)?!1:o==="audio"?e.hasAttribute("controls")?i!==-1:!1:o==="video"?i===-1?!1:i!==null?!0:this._platform.FIREFOX||e.hasAttribute("controls"):e.tabIndex>=0}isFocusable(e,r){return FF(e)&&!this.isDisabled(e)&&(r?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function MF(t){try{return t.frameElement}catch{return null}}function TF(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function xF(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function AF(t){return NF(t)&&t.type=="hidden"}function RF(t){return OF(t)&&t.hasAttribute("href")}function NF(t){return t.nodeName.toLowerCase()=="input"}function OF(t){return t.nodeName.toLowerCase()=="a"}function rI(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function JC(t){if(!rI(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function kF(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function FF(t){return AF(t)?!1:xF(t)||RF(t)||t.hasAttribute("contenteditable")||rI(t)}function PF(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var qu=class{_element;_checker;_ngZone;_document;_injector;_startAnchor=null;_endAnchor=null;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_enabled=!0;constructor(n,e,r,o,i=!1,s){this._element=n,this._checker=e,this._ngZone=r,this._document=o,this._injector=s,i||this.attachAnchors()}destroy(){let n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){let e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return n=="start"?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){let e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){let r=this._getFirstTabbableElement(e);return r?.focus(n),!!r}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){let e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){let e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;let e=n.children;for(let r=0;r=0;r--){let o=e[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[r]):null;if(o)return o}return null}_createAnchor(){let n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._injector?At(n,{injector:this._injector}):setTimeout(n)}},LF=(()=>{class t{_checker=f(nI);_ngZone=f(j);_document=f(O);_injector=f(W);constructor(){f(Nt).load(Uu)}create(e,r=!1){return new qu(e,this._checker,this._ngZone,this._document,r,this._injector)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var oI=new y("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),iI=new y("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),jF=0,VF=(()=>{class t{_ngZone=f(j);_defaultOptions=f(iI,{optional:!0});_liveElement;_document=f(O);_sanitizer=f(ia);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=f(oI,{optional:!0});this._liveElement=e||this._createLiveElement()}announce(e,...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(()=>{!e||typeof e=="string"?this._liveElement.textContent=e:NC(this._liveElement,e,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 e="cdk-live-announcer-element",r=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let i=0;i .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{class t{_platform=f(_e);_hasCheckedHighContrastMode=!1;_document=f(O);_breakpointSubscription;constructor(){this._breakpointSubscription=f(bg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return wr.NONE;let e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);let r=this._document.defaultView||window,o=r&&r.getComputedStyle?r.getComputedStyle(e):null,i=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),i){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return wr.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return wr.BLACK_ON_WHITE}return wr.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(_g,eI,tI),this._hasCheckedHighContrastMode=!0;let r=this.getHighContrastMode();r===wr.BLACK_ON_WHITE?e.add(_g,eI):r===wr.WHITE_ON_BLACK&&e.add(_g,tI)}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),BF=(()=>{class t{constructor(){f(sI)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({imports:[XC]})}return t})();var UF=200,Ei=class{_letterKeyStream=new x;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new x;selectedItem=this._selectedItem;constructor(n,e){let r=typeof e?.debounceInterval=="number"?e.debounceInterval:UF;e?.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(n),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let e=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Be(e=>this._pressedLetters.push(e)),Lr(n),he(()=>this._pressedLetters.length>0),V(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{for(let r=1;rt[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var wi=class{_items;_activeItemIndex=K(-1);_activeItem=K(null);_wrap=!1;_typeaheadSubscription=G.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,e){this._items=n,n instanceof Un?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):si(n)&&(this._effectRef=Es(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new x;change=new x;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new Ei(e,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,e=10){return this._pageUpAndDown={enabled:n,delta:e},this}setActiveItem(n){let e=this._activeItem();this.updateActiveItem(n),this._activeItem()!==e&&this.change.next(this._activeItemIndex())}onKeydown(n){let e=n.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(i=>!n[i]||this._allowedModifierKeys.indexOf(i)>-1);switch(e){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-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r))}}};var Dg=class extends wi{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var Eg=class extends wi{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};function wg(t){return Vt(t)?t:S(t)}var Cg=class{_activeItemIndex=-1;_activeItem=null;_shouldActivationFollowFocus=!1;_horizontalOrientation="ltr";_skipPredicateFn=n=>!1;_trackByFn=n=>n;_items=[];_typeahead;_typeaheadSubscription=G.EMPTY;_hasInitialFocused=!1;_initializeFocus(){if(this._hasInitialFocused||this._items.length===0)return;let n=0;for(let r=0;rthis._itemsChanged(r.toArray()))):Vt(n)?n.subscribe(r=>this._itemsChanged(r)):(this._items=n,this._initializeFocus()),typeof e.shouldActivationFollowFocus=="boolean"&&(this._shouldActivationFollowFocus=e.shouldActivationFollowFocus),e.horizontalOrientation&&(this._horizontalOrientation=e.horizontalOrientation),e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),e.trackBy&&(this._trackByFn=e.trackBy),typeof e.typeAheadDebounceInterval<"u"&&this._setTypeAhead(e.typeAheadDebounceInterval)}change=new x;destroy(){this._typeaheadSubscription.unsubscribe(),this._typeahead?.destroy(),this.change.complete()}onKeydown(n){switch(n.key){case"Tab":return;case"ArrowDown":this._focusNextItem();break;case"ArrowUp":this._focusPreviousItem();break;case"ArrowRight":this._horizontalOrientation==="rtl"?this._collapseCurrentItem():this._expandCurrentItem();break;case"ArrowLeft":this._horizontalOrientation==="rtl"?this._expandCurrentItem():this._collapseCurrentItem();break;case"Home":this._focusFirstItem();break;case"End":this._focusLastItem();break;case"Enter":case" ":this._activateCurrentItem();break;default:if(n.key==="*"){this._expandAllItemsAtCurrentItemLevel();break}this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}getActiveItemIndex(){return this._activeItemIndex}getActiveItem(){return this._activeItem}_itemsChanged(n){this._hasInitialFocused&&this._activeItem&&!n.includes(this._activeItem)&&(this._activeItem=null,this._hasInitialFocused=!1),this._items=n,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(n,e={}){e.emitChangeEvent??=!0;let r=typeof n=="number"?n:this._items.findIndex(s=>this._trackByFn(s)===this._trackByFn(n));if(r<0||r>=this._items.length)return;let 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(),e.emitChangeEvent&&this.change.next(this._activeItem),this._shouldActivationFollowFocus&&this._activateCurrentItem()}_updateActiveItemIndex(n){let e=this._activeItem;if(!e)return;let r=n.findIndex(o=>this._trackByFn(o)===this._trackByFn(e));r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r,this._typeahead?.setCurrentSelectedItemIndex(r))}_setTypeAhead(n){this._typeahead=new Ei(this._items,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:e=>this._skipPredicateFn(e)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(e=>{this.focusItem(e)})}_findNextAvailableItemIndex(n){for(let e=n+1;e=0;e--)if(!this._skipPredicateFn(this._items[e]))return e;return n}_collapseCurrentItem(){if(this._activeItem)if(this._isCurrentItemExpanded())this._activeItem.collapse();else{let n=this._activeItem.getParent();if(!n||this._skipPredicateFn(n))return;this.focusItem(n)}}_expandCurrentItem(){this._activeItem&&(this._isCurrentItemExpanded()?wg(this._activeItem.getChildren()).pipe(Ne(1)).subscribe(n=>{let e=n.find(r=>!this._skipPredicateFn(r));e&&this.focusItem(e)}):this._activeItem.expand())}_isCurrentItemExpanded(){return this._activeItem?typeof this._activeItem.isExpanded=="boolean"?this._activeItem.isExpanded:this._activeItem.isExpanded():!1}_isItemDisabled(n){return typeof n.isDisabled=="boolean"?n.isDisabled:n.isDisabled?.()}_expandAllItemsAtCurrentItemLevel(){if(!this._activeItem)return;let n=this._activeItem.getParent(),e;n?e=wg(n.getChildren()):e=S(this._items.filter(r=>r.getParent()===null)),e.pipe(Ne(1)).subscribe(r=>{for(let o of r)o.expand()})}_activateCurrentItem(){this._activeItem?.activate()}},nK=new y("tree-key-manager",{providedIn:"root",factory:()=>(t,n)=>new Cg(t,n)});var Ig={},va=class t{_appId=f(_r);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,e=!1){return this._appId!=="ng"&&(n+=this._appId),Ig.hasOwnProperty(n)||(Ig[n]=0),`${n}${e?t._infix+"-":""}${Ig[n]++}`}static \u0275fac=function(e){return new(e||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})};var cI=" ";function HF(t,n,e){let r=Ku(t,n);e=e.trim(),!r.some(o=>o.trim()===e)&&(r.push(e),t.setAttribute(n,r.join(cI)))}function $F(t,n,e){let r=Ku(t,n);e=e.trim();let o=r.filter(i=>i!==e);o.length?t.setAttribute(n,o.join(cI)):t.removeAttribute(n)}function Ku(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var lI="cdk-describedby-message",Zu="cdk-describedby-host",Mg=0,gK=(()=>{class t{_platform=f(_e);_document=f(O);_messageRegistry=new Map;_messagesContainer=null;_id=`${Mg++}`;constructor(){f(Nt).load(Uu),this._id=f(_r)+"-"+Mg++}describe(e,r,o){if(!this._canBeDescribed(e,r))return;let i=Sg(r,o);typeof r!="string"?(aI(r,this._id),this._messageRegistry.set(i,{messageElement:r,referenceCount:0})):this._messageRegistry.has(i)||this._createMessageElement(r,o),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}removeDescription(e,r,o){if(!r||!this._isElementNode(e))return;let i=Sg(r,o);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,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 e=this._document.querySelectorAll(`[${Zu}="${this._id}"]`);for(let r=0;ro.indexOf(lI)!=0);e.setAttribute("aria-describedby",r.join(" "))}_addMessageReference(e,r){let o=this._messageRegistry.get(r);HF(e,"aria-describedby",o.messageElement.id),e.setAttribute(Zu,this._id),o.referenceCount++}_removeMessageReference(e,r){let o=this._messageRegistry.get(r);o.referenceCount--,$F(e,"aria-describedby",o.messageElement.id),e.removeAttribute(Zu)}_isElementDescribedByMessage(e,r){let o=Ku(e,"aria-describedby"),i=this._messageRegistry.get(r),s=i&&i.messageElement.id;return!!s&&o.indexOf(s)!=-1}_canBeDescribed(e,r){if(!this._isElementNode(e))return!1;if(r&&typeof r=="object")return!0;let o=r==null?"":`${r}`.trim(),i=e.getAttribute("aria-label");return o?!i||i.trim()!==o:!1}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Sg(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function aI(t,n){t.id||(t.id=`${lI}-${n}-${Mg++}`)}var on=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(on||{}),Qu,vo;function Xu(){if(vo==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return vo=!1,vo;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)vo=!0;else{let t=Element.prototype.scrollTo;t?vo=!/\{\s*\[native code\]\s*\}/.test(t.toString()):vo=!1}}return vo}function Ci(){if(typeof document!="object"||!document)return on.NORMAL;if(Qu==null){let t=document.createElement("div"),n=t.style;t.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let e=document.createElement("div"),r=e.style;r.width="2px",r.height="1px",t.appendChild(e),document.body.appendChild(t),Qu=on.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,Qu=t.scrollLeft===0?on.NEGATED:on.INVERTED),t.remove()}return Qu}function Tg(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Ii,uI=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function SK(){if(Ii)return Ii;if(typeof document!="object"||!document)return Ii=new Set(uI),Ii;let t=document.createElement("input");return Ii=new Set(uI.filter(n=>(t.setAttribute("type",n),t.type===n))),Ii}var RK={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};var zF=new y("MATERIAL_ANIMATIONS"),dI=null;function GF(){return f(zF,{optional:!0})?.animationsDisabled||f(Fs,{optional:!0})==="NoopAnimations"?"di-disabled":(dI??=f(Wu).matchMedia("(prefers-reduced-motion)").matches,dI?"reduced-motion":"enabled")}function Cr(){return GF()!=="enabled"}function Ce(t){return t==null?"":typeof t=="string"?t:`${t}px`}function jK(t){return t!=null&&`${t}`!="false"}var kt=(function(t){return t[t.FADING_IN=0]="FADING_IN",t[t.VISIBLE=1]="VISIBLE",t[t.FADING_OUT=2]="FADING_OUT",t[t.HIDDEN=3]="HIDDEN",t})(kt||{}),xg=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=kt.HIDDEN;constructor(n,e,r,o=!1){this._renderer=n,this.element=e,this.config=r,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},fI=Di({passive:!0,capture:!0}),Ag=class{_events=new Map;addHandler(n,e,r,o){let i=this._events.get(e);if(i){let s=i.get(r);s?s.add(o):i.set(r,new Set([o]))}else this._events.set(e,new Map([[r,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,fI)})}removeHandler(n,e,r){let o=this._events.get(n);if(!o)return;let i=o.get(e);i&&(i.delete(r),i.size===0&&o.delete(e),o.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,fI)))}_delegateEventHandler=n=>{let e=ot(n);e&&this._events.get(n.type)?.forEach((r,o)=>{(o===e||o.contains(e))&&r.forEach(i=>i.handleEvent(n))})}},ya={enterDuration:225,exitDuration:150},WF=800,hI=Di({passive:!0,capture:!0}),pI=["mousedown","touchstart"],mI=["mouseup","mouseleave","touchend","touchcancel"],qF=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Te({type:t,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(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent)); } @media (forced-colors: active) { .mat-ripple-element { display: none; } } .cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element { display: none; } `],encapsulation:2,changeDetection:0})}return t})(),ba=class t{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Ag;constructor(n,e,r,o,i){this._target=n,this._ngZone=e,this._platform=o,o.isBrowser&&(this._containerElement=Ot(r)),i&&i.get(Nt).load(qF)}fadeInRipple(n,e,r={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=g(g({},ya),r.animation);r.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);let s=r.radius||YF(n,e,o),a=n-o.left,c=e-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),h=d.transitionProperty,p=d.transitionDuration,m=h==="none"||p==="0s"||p==="0s, 0s"||o.width===0&&o.height===0,_=new xg(this,u,r,m);u.style.transform="scale3d(1, 1, 1)",_.state=kt.FADING_IN,r.persistent||(this._mostRecentTransientRipple=_);let D=null;return!m&&(l||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let C=()=>{D&&(D.fallbackTimer=null),clearTimeout(De),this._finishRippleTransition(_)},z=()=>this._destroyRipple(_),De=setTimeout(z,l+100);u.addEventListener("transitionend",C),u.addEventListener("transitioncancel",z),D={onTransitionEnd:C,onTransitionCancel:z,fallbackTimer:De}}),this._activeRipples.set(_,D),(m||!l)&&this._finishRippleTransition(_),_}fadeOutRipple(n){if(n.state===kt.FADING_OUT||n.state===kt.HIDDEN)return;let e=n.element,r=g(g({},ya),n.config.animation);e.style.transitionDuration=`${r.exitDuration}ms`,e.style.opacity="0",n.state=kt.FADING_OUT,(n._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let e=Ot(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,pI.forEach(r=>{t._eventManager.addHandler(this._ngZone,r,e,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{mI.forEach(e=>{this._triggerElement.addEventListener(e,this,hI)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===kt.FADING_IN?this._startFadeOutTransition(n):n.state===kt.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=kt.VISIBLE,!r&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=kt.HIDDEN,e!==null&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),n.element.remove()}_onMousedown(n){let e=ha(n),r=this._lastTouchStartEvent&&Date.now(){let e=n.state===kt.VISIBLE||n.config.terminateOnPointerUp&&n.state===kt.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(pI.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(mI.forEach(e=>n.removeEventListener(e,this,hI)),this._pointerUpEventsRegistered=!1))}};function YF(t,n,e){let r=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(r*r+o*o)}var Rg=new y("mat-ripple-global-options"),JK=(()=>{class t{_elementRef=f($);_animationsDisabled=Cr();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=f(j),r=f(_e),o=f(Rg,{optional:!0}),i=f(W);this._globalOptions=o||{},this._rippleRenderer=new ba(this,e,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:g(g(g({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,r=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,r,g(g({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,g(g({},this.rippleConfig),e))}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&Xe("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 t})();var ZF={capture:!0},KF=["focus","mousedown","mouseenter","touchstart"],Ng="mat-ripple-loader-uninitialized",Og="mat-ripple-loader-class-name",gI="mat-ripple-loader-centered",Ju="mat-ripple-loader-disabled",vI=(()=>{class t{_document=f(O);_animationsDisabled=Cr();_globalRippleOptions=f(Rg,{optional:!0});_platform=f(_e);_ngZone=f(j);_injector=f(W);_eventCleanups;_hosts=new Map;constructor(){let e=f(He).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>KF.map(r=>e.listen(this._document,r,this._onInteraction,ZF)))}ngOnDestroy(){let e=this._hosts.keys();for(let r of e)this.destroyRipple(r);this._eventCleanups.forEach(r=>r())}configureRipple(e,r){e.setAttribute(Ng,this._globalRippleOptions?.namespace??""),(r.className||!e.hasAttribute(Og))&&e.setAttribute(Og,r.className||""),r.centered&&e.setAttribute(gI,""),r.disabled&&e.setAttribute(Ju,"")}setDisabled(e,r){let o=this._hosts.get(e);o?(o.target.rippleDisabled=r,!r&&!o.hasSetUpEvents&&(o.hasSetUpEvents=!0,o.renderer.setupTriggerEvents(e))):r?e.setAttribute(Ju,""):e.removeAttribute(Ju)}_onInteraction=e=>{let r=ot(e);if(r instanceof HTMLElement){let o=r.closest(`[${Ng}="${this._globalRippleOptions?.namespace??""}"]`);o&&this._createRipple(o)}};_createRipple(e){if(!this._document||this._hosts.has(e))return;e.querySelector(".mat-ripple")?.remove();let r=this._document.createElement("span");r.classList.add("mat-ripple",e.getAttribute(Og)),e.append(r);let o=this._globalRippleOptions,i=this._animationsDisabled?0:o?.animation?.enterDuration??ya.enterDuration,s=this._animationsDisabled?0:o?.animation?.exitDuration??ya.exitDuration,a={rippleDisabled:this._animationsDisabled||o?.disabled||e.hasAttribute(Ju),rippleConfig:{centered:e.hasAttribute(gI),terminateOnPointerUp:o?.terminateOnPointerUp,animation:{enterDuration:i,exitDuration:s}}},c=new ba(a,this._ngZone,r,this._platform,this._injector),l=!a.rippleDisabled;l&&c.setupTriggerEvents(e),this._hosts.set(e,{target:a,renderer:c,hasSetUpEvents:l}),e.removeAttribute(Ng)}destroyRipple(e){let r=this._hosts.get(e);r&&(r.renderer._removeTriggerEvents(),this._hosts.delete(e))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var yI=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Te({type:t,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(--mat-focus-indicator-display, none); border-width: var(--mat-focus-indicator-border-width, 3px); border-style: var(--mat-focus-indicator-border-style, solid); border-color: var(--mat-focus-indicator-border-color, transparent); border-radius: var(--mat-focus-indicator-border-radius, 4px); } .mat-focus-indicator:focus-visible::before { content: ""; } @media (forced-colors: active) { html { --mat-focus-indicator-display: block; } } `],encapsulation:2,changeDetection:0})}return t})();var QF=["mat-icon-button",""],XF=["*"],JF=new y("MAT_BUTTON_CONFIG");function bI(t){return t==null?void 0:wm(t)}var kg=(()=>{class t{_elementRef=f($);_ngZone=f(j);_animationsDisabled=Cr();_config=f(JF,{optional:!0});_focusMonitor=f(Gu);_cleanupClick;_renderer=f(Le);_rippleLoader=f(vI);_isAnchor;_isFab=!1;color;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=e,this._updateRippleDisabled()}_disableRipple=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._updateRippleDisabled()}_disabled=!1;ariaDisabled;disabledInteractive;tabIndex;set _tabindex(e){this.tabIndex=e}constructor(){f(Nt).load(yI);let e=this._elementRef.nativeElement;this._isAnchor=e.tagName==="A",this.disabledInteractive=this._config?.disabledInteractive??!1,this.color=this._config?.color??null,this._rippleLoader?.configureRipple(e,{className:"mat-mdc-button-ripple"})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0),this._isAnchor&&this._setupAsAnchor()}ngOnDestroy(){this._cleanupClick?.(),this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(e="program",r){e?this._focusMonitor.focusVia(this._elementRef.nativeElement,e,r):this._elementRef.nativeElement.focus(r)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this._isAnchor?this.disabled||null:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}_getTabIndex(){return this._isAnchor?this.disabled&&!this.disabledInteractive?-1:this.tabIndex:this.tabIndex}_setupAsAnchor(){this._cleanupClick=this._ngZone.runOutsideAngular(()=>this._renderer.listen(this._elementRef.nativeElement,"click",e=>{this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}))}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(r,o){r&2&&(yt("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled())("tabindex",o._getTabIndex()),zs(o.color?"mat-"+o.color:""),Xe("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",ue],disabled:[2,"disabled","disabled",ue],ariaDisabled:[2,"aria-disabled","ariaDisabled",ue],disabledInteractive:[2,"disabledInteractive","disabledInteractive",ue],tabIndex:[2,"tabIndex","tabIndex",bI],_tabindex:[2,"tabindex","_tabindex",bI]}})}return t})(),eP=(()=>{class t extends kg{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Te({type:t,selectors:[["button","mat-icon-button",""],["a","mat-icon-button",""],["button","matIconButton",""],["a","matIconButton",""]],hostAttrs:[1,"mdc-icon-button","mat-mdc-icon-button"],exportAs:["matButton","matAnchor"],features:[ie],attrs:QF,ngContentSelectors:XF,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(Dr(),Gn(0,"span",0),_n(1),Gn(2,"span",1)(3,"span",2))},styles:[`.mat-mdc-icon-button { -webkit-user-select: none; user-select: none; display: inline-block; position: relative; box-sizing: border-box; border: none; outline: none; background-color: transparent; fill: currentColor; text-decoration: none; cursor: pointer; z-index: 0; overflow: visible; border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%)); flex-shrink: 0; text-align: center; width: var(--mat-icon-button-state-layer-size, 40px); height: var(--mat-icon-button-state-layer-size, 40px); padding: calc(calc(var(--mat-icon-button-state-layer-size, 40px) - var(--mat-icon-button-icon-size, 24px)) / 2); font-size: var(--mat-icon-button-icon-size, 24px); color: var(--mat-icon-button-icon-color, var(--mat-sys-on-surface-variant)); -webkit-tap-highlight-color: 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(--mat-icon-button-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface-variant) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); } .mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before { background-color: var(--mat-icon-button-state-layer-color, var(--mat-sys-on-surface-variant)); } .mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { background-color: var(--mat-icon-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); } .mat-mdc-icon-button:hover > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-icon-button-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); } .mat-mdc-icon-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-icon-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); } .mat-mdc-icon-button:active > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-icon-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); } .mat-mdc-icon-button .mat-mdc-button-touch-target { position: absolute; top: 50%; height: var(--mat-icon-button-touch-target-size, 48px); display: var(--mat-icon-button-touch-target-display, block); left: 50%; width: var(--mat-icon-button-touch-target-size, 48px); transform: translate(-50%, -50%); } .mat-mdc-icon-button._mat-animation-noopable { transition: none !important; animation: none !important; } .mat-mdc-icon-button[disabled], .mat-mdc-icon-button.mat-mdc-button-disabled { cursor: default; pointer-events: none; color: var(--mat-icon-button-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mat-mdc-icon-button.mat-mdc-button-disabled-interactive { pointer-events: auto; } .mat-mdc-icon-button img, .mat-mdc-icon-button svg { width: var(--mat-icon-button-icon-size, 24px); height: var(--mat-icon-button-icon-size, 24px); vertical-align: baseline; } .mat-mdc-icon-button .mat-mdc-button-persistent-ripple { border-radius: var(--mat-icon-button-container-shape, var(--mat-sys-corner-full, 50%)); } .mat-mdc-icon-button[hidden] { display: none; } .mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before, .mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before { background: transparent; opacity: 1; } `,`@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,changeDetection:0})}return t})();var _I=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({imports:[rn]})}return t})();var tP=["matButton",""],nP=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],rP=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var DI=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"]]]),SQ=(()=>{class t extends kg{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=oP(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let r=this._elementRef.nativeElement.classList,o=this._appearance?DI.get(this._appearance):null,i=DI.get(e);o&&r.remove(...o),r.add(...i),this._appearance=e}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Te({type:t,selectors:[["button","matButton",""],["a","matButton",""],["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:[1,"mdc-button"],inputs:{appearance:[0,"matButton","appearance"]},exportAs:["matButton","matAnchor"],features:[ie],attrs:tP,ngContentSelectors:rP,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(r,o){r&1&&(Dr(nP),Gn(0,"span",0),_n(1),ai(2,"span",1),_n(3,1),ci(),_n(4,2),Gn(5,"span",2)(6,"span",3)),r&2&&Xe("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[`.mat-mdc-button-base { text-decoration: none; } .mat-mdc-button-base .mat-icon { min-height: fit-content; flex-shrink: 0; } @media (hover: none) { .mat-mdc-button-base:hover > span.mat-mdc-button-persistent-ripple::before { opacity: 0; } } .mdc-button { -webkit-user-select: none; user-select: none; position: relative; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 64px; border: none; outline: none; line-height: inherit; -webkit-appearance: none; overflow: visible; vertical-align: middle; background: 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(--mat-button-text-horizontal-padding, 12px); height: var(--mat-button-text-container-height, 40px); font-family: var(--mat-button-text-label-text-font, var(--mat-sys-label-large-font)); font-size: var(--mat-button-text-label-text-size, var(--mat-sys-label-large-size)); letter-spacing: var(--mat-button-text-label-text-tracking, var(--mat-sys-label-large-tracking)); text-transform: var(--mat-button-text-label-text-transform); font-weight: var(--mat-button-text-label-text-weight, var(--mat-sys-label-large-weight)); } .mat-mdc-button, .mat-mdc-button .mdc-button__ripple { border-radius: var(--mat-button-text-container-shape, var(--mat-sys-corner-full)); } .mat-mdc-button:not(:disabled) { color: var(--mat-button-text-label-text-color, var(--mat-sys-primary)); } .mat-mdc-button[disabled], .mat-mdc-button.mat-mdc-button-disabled { cursor: default; pointer-events: none; color: var(--mat-button-text-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mat-mdc-button.mat-mdc-button-disabled-interactive { pointer-events: auto; } .mat-mdc-button:has(.material-icons, mat-icon, [matButtonIcon]) { padding: 0 var(--mat-button-text-with-icon-horizontal-padding, 16px); } .mat-mdc-button > .mat-icon { margin-right: var(--mat-button-text-icon-spacing, 8px); margin-left: var(--mat-button-text-icon-offset, -4px); } [dir=rtl] .mat-mdc-button > .mat-icon { margin-right: var(--mat-button-text-icon-offset, -4px); margin-left: var(--mat-button-text-icon-spacing, 8px); } .mat-mdc-button .mdc-button__label + .mat-icon { margin-right: var(--mat-button-text-icon-offset, -4px); margin-left: var(--mat-button-text-icon-spacing, 8px); } [dir=rtl] .mat-mdc-button .mdc-button__label + .mat-icon { margin-right: var(--mat-button-text-icon-spacing, 8px); margin-left: var(--mat-button-text-icon-offset, -4px); } .mat-mdc-button .mat-ripple-element { background-color: var(--mat-button-text-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); } .mat-mdc-button .mat-mdc-button-persistent-ripple::before { background-color: var(--mat-button-text-state-layer-color, var(--mat-sys-primary)); } .mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { background-color: var(--mat-button-text-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); } .mat-mdc-button:hover > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-text-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); } .mat-mdc-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-text-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); } .mat-mdc-button:active > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-text-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); } .mat-mdc-button .mat-mdc-button-touch-target { position: absolute; top: 50%; height: var(--mat-button-text-touch-target-size, 48px); display: var(--mat-button-text-touch-target-display, block); left: 0; right: 0; transform: translateY(-50%); } .mat-mdc-unelevated-button { transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); height: var(--mat-button-filled-container-height, 40px); font-family: var(--mat-button-filled-label-text-font, var(--mat-sys-label-large-font)); font-size: var(--mat-button-filled-label-text-size, var(--mat-sys-label-large-size)); letter-spacing: var(--mat-button-filled-label-text-tracking, var(--mat-sys-label-large-tracking)); text-transform: var(--mat-button-filled-label-text-transform); font-weight: var(--mat-button-filled-label-text-weight, var(--mat-sys-label-large-weight)); padding: 0 var(--mat-button-filled-horizontal-padding, 24px); } .mat-mdc-unelevated-button > .mat-icon { margin-right: var(--mat-button-filled-icon-spacing, 8px); margin-left: var(--mat-button-filled-icon-offset, -8px); } [dir=rtl] .mat-mdc-unelevated-button > .mat-icon { margin-right: var(--mat-button-filled-icon-offset, -8px); margin-left: var(--mat-button-filled-icon-spacing, 8px); } .mat-mdc-unelevated-button .mdc-button__label + .mat-icon { margin-right: var(--mat-button-filled-icon-offset, -8px); margin-left: var(--mat-button-filled-icon-spacing, 8px); } [dir=rtl] .mat-mdc-unelevated-button .mdc-button__label + .mat-icon { margin-right: var(--mat-button-filled-icon-spacing, 8px); margin-left: var(--mat-button-filled-icon-offset, -8px); } .mat-mdc-unelevated-button .mat-ripple-element { background-color: var(--mat-button-filled-ripple-color, color-mix(in srgb, var(--mat-sys-on-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); } .mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before { background-color: var(--mat-button-filled-state-layer-color, var(--mat-sys-on-primary)); } .mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { background-color: var(--mat-button-filled-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); } .mat-mdc-unelevated-button:hover > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-filled-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); } .mat-mdc-unelevated-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-filled-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); } .mat-mdc-unelevated-button:active > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-filled-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); } .mat-mdc-unelevated-button .mat-mdc-button-touch-target { position: absolute; top: 50%; height: var(--mat-button-filled-touch-target-size, 48px); display: var(--mat-button-filled-touch-target-display, block); left: 0; right: 0; transform: translateY(-50%); } .mat-mdc-unelevated-button:not(:disabled) { color: var(--mat-button-filled-label-text-color, var(--mat-sys-on-primary)); background-color: var(--mat-button-filled-container-color, var(--mat-sys-primary)); } .mat-mdc-unelevated-button, .mat-mdc-unelevated-button .mdc-button__ripple { border-radius: var(--mat-button-filled-container-shape, var(--mat-sys-corner-full)); } .mat-mdc-unelevated-button[disabled], .mat-mdc-unelevated-button.mat-mdc-button-disabled { cursor: default; pointer-events: none; color: var(--mat-button-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); background-color: var(--mat-button-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); } .mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive { pointer-events: auto; } .mat-mdc-raised-button { transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--mat-button-protected-container-elevation-shadow, var(--mat-sys-level1)); height: var(--mat-button-protected-container-height, 40px); font-family: var(--mat-button-protected-label-text-font, var(--mat-sys-label-large-font)); font-size: var(--mat-button-protected-label-text-size, var(--mat-sys-label-large-size)); letter-spacing: var(--mat-button-protected-label-text-tracking, var(--mat-sys-label-large-tracking)); text-transform: var(--mat-button-protected-label-text-transform); font-weight: var(--mat-button-protected-label-text-weight, var(--mat-sys-label-large-weight)); padding: 0 var(--mat-button-protected-horizontal-padding, 24px); } .mat-mdc-raised-button > .mat-icon { margin-right: var(--mat-button-protected-icon-spacing, 8px); margin-left: var(--mat-button-protected-icon-offset, -8px); } [dir=rtl] .mat-mdc-raised-button > .mat-icon { margin-right: var(--mat-button-protected-icon-offset, -8px); margin-left: var(--mat-button-protected-icon-spacing, 8px); } .mat-mdc-raised-button .mdc-button__label + .mat-icon { margin-right: var(--mat-button-protected-icon-offset, -8px); margin-left: var(--mat-button-protected-icon-spacing, 8px); } [dir=rtl] .mat-mdc-raised-button .mdc-button__label + .mat-icon { margin-right: var(--mat-button-protected-icon-spacing, 8px); margin-left: var(--mat-button-protected-icon-offset, -8px); } .mat-mdc-raised-button .mat-ripple-element { background-color: var(--mat-button-protected-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); } .mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before { background-color: var(--mat-button-protected-state-layer-color, var(--mat-sys-primary)); } .mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { background-color: var(--mat-button-protected-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); } .mat-mdc-raised-button:hover > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-protected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); } .mat-mdc-raised-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-protected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); } .mat-mdc-raised-button:active > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-protected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); } .mat-mdc-raised-button .mat-mdc-button-touch-target { position: absolute; top: 50%; height: var(--mat-button-protected-touch-target-size, 48px); display: var(--mat-button-protected-touch-target-display, block); left: 0; right: 0; transform: translateY(-50%); } .mat-mdc-raised-button:not(:disabled) { color: var(--mat-button-protected-label-text-color, var(--mat-sys-primary)); background-color: var(--mat-button-protected-container-color, var(--mat-sys-surface)); } .mat-mdc-raised-button, .mat-mdc-raised-button .mdc-button__ripple { border-radius: var(--mat-button-protected-container-shape, var(--mat-sys-corner-full)); } @media (hover: hover) { .mat-mdc-raised-button:hover { box-shadow: var(--mat-button-protected-hover-container-elevation-shadow, var(--mat-sys-level2)); } } .mat-mdc-raised-button:focus { box-shadow: var(--mat-button-protected-focus-container-elevation-shadow, var(--mat-sys-level1)); } .mat-mdc-raised-button:active, .mat-mdc-raised-button:focus:active { box-shadow: var(--mat-button-protected-pressed-container-elevation-shadow, var(--mat-sys-level1)); } .mat-mdc-raised-button[disabled], .mat-mdc-raised-button.mat-mdc-button-disabled { cursor: default; pointer-events: none; color: var(--mat-button-protected-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); background-color: var(--mat-button-protected-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); } .mat-mdc-raised-button[disabled].mat-mdc-button-disabled, .mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled { box-shadow: var(--mat-button-protected-disabled-container-elevation-shadow, var(--mat-sys-level0)); } .mat-mdc-raised-button.mat-mdc-button-disabled-interactive { pointer-events: auto; } .mat-mdc-outlined-button { border-style: solid; transition: border 280ms cubic-bezier(0.4, 0, 0.2, 1); height: var(--mat-button-outlined-container-height, 40px); font-family: var(--mat-button-outlined-label-text-font, var(--mat-sys-label-large-font)); font-size: var(--mat-button-outlined-label-text-size, var(--mat-sys-label-large-size)); letter-spacing: var(--mat-button-outlined-label-text-tracking, var(--mat-sys-label-large-tracking)); text-transform: var(--mat-button-outlined-label-text-transform); font-weight: var(--mat-button-outlined-label-text-weight, var(--mat-sys-label-large-weight)); border-radius: var(--mat-button-outlined-container-shape, var(--mat-sys-corner-full)); border-width: var(--mat-button-outlined-outline-width, 1px); padding: 0 var(--mat-button-outlined-horizontal-padding, 24px); } .mat-mdc-outlined-button > .mat-icon { margin-right: var(--mat-button-outlined-icon-spacing, 8px); margin-left: var(--mat-button-outlined-icon-offset, -8px); } [dir=rtl] .mat-mdc-outlined-button > .mat-icon { margin-right: var(--mat-button-outlined-icon-offset, -8px); margin-left: var(--mat-button-outlined-icon-spacing, 8px); } .mat-mdc-outlined-button .mdc-button__label + .mat-icon { margin-right: var(--mat-button-outlined-icon-offset, -8px); margin-left: var(--mat-button-outlined-icon-spacing, 8px); } [dir=rtl] .mat-mdc-outlined-button .mdc-button__label + .mat-icon { margin-right: var(--mat-button-outlined-icon-spacing, 8px); margin-left: var(--mat-button-outlined-icon-offset, -8px); } .mat-mdc-outlined-button .mat-ripple-element { background-color: var(--mat-button-outlined-ripple-color, color-mix(in srgb, var(--mat-sys-primary) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); } .mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before { background-color: var(--mat-button-outlined-state-layer-color, var(--mat-sys-primary)); } .mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { background-color: var(--mat-button-outlined-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); } .mat-mdc-outlined-button:hover > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-outlined-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); } .mat-mdc-outlined-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-outlined-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); } .mat-mdc-outlined-button:active > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-outlined-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); } .mat-mdc-outlined-button .mat-mdc-button-touch-target { position: absolute; top: 50%; height: var(--mat-button-outlined-touch-target-size, 48px); display: var(--mat-button-outlined-touch-target-display, block); left: 0; right: 0; transform: translateY(-50%); } .mat-mdc-outlined-button:not(:disabled) { color: var(--mat-button-outlined-label-text-color, var(--mat-sys-primary)); border-color: var(--mat-button-outlined-outline-color, var(--mat-sys-outline)); } .mat-mdc-outlined-button[disabled], .mat-mdc-outlined-button.mat-mdc-button-disabled { cursor: default; pointer-events: none; color: var(--mat-button-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); border-color: var(--mat-button-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); } .mat-mdc-outlined-button.mat-mdc-button-disabled-interactive { pointer-events: auto; } .mat-tonal-button { transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); height: var(--mat-button-tonal-container-height, 40px); font-family: var(--mat-button-tonal-label-text-font, var(--mat-sys-label-large-font)); font-size: var(--mat-button-tonal-label-text-size, var(--mat-sys-label-large-size)); letter-spacing: var(--mat-button-tonal-label-text-tracking, var(--mat-sys-label-large-tracking)); text-transform: var(--mat-button-tonal-label-text-transform); font-weight: var(--mat-button-tonal-label-text-weight, var(--mat-sys-label-large-weight)); padding: 0 var(--mat-button-tonal-horizontal-padding, 24px); } .mat-tonal-button:not(:disabled) { color: var(--mat-button-tonal-label-text-color, var(--mat-sys-on-secondary-container)); background-color: var(--mat-button-tonal-container-color, var(--mat-sys-secondary-container)); } .mat-tonal-button, .mat-tonal-button .mdc-button__ripple { border-radius: var(--mat-button-tonal-container-shape, var(--mat-sys-corner-full)); } .mat-tonal-button[disabled], .mat-tonal-button.mat-mdc-button-disabled { cursor: default; pointer-events: none; color: var(--mat-button-tonal-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); background-color: var(--mat-button-tonal-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent)); } .mat-tonal-button.mat-mdc-button-disabled-interactive { pointer-events: auto; } .mat-tonal-button > .mat-icon { margin-right: var(--mat-button-tonal-icon-spacing, 8px); margin-left: var(--mat-button-tonal-icon-offset, -8px); } [dir=rtl] .mat-tonal-button > .mat-icon { margin-right: var(--mat-button-tonal-icon-offset, -8px); margin-left: var(--mat-button-tonal-icon-spacing, 8px); } .mat-tonal-button .mdc-button__label + .mat-icon { margin-right: var(--mat-button-tonal-icon-offset, -8px); margin-left: var(--mat-button-tonal-icon-spacing, 8px); } [dir=rtl] .mat-tonal-button .mdc-button__label + .mat-icon { margin-right: var(--mat-button-tonal-icon-spacing, 8px); margin-left: var(--mat-button-tonal-icon-offset, -8px); } .mat-tonal-button .mat-ripple-element { background-color: var(--mat-button-tonal-ripple-color, color-mix(in srgb, var(--mat-sys-on-secondary-container) calc(var(--mat-sys-pressed-state-layer-opacity) * 100%), transparent)); } .mat-tonal-button .mat-mdc-button-persistent-ripple::before { background-color: var(--mat-button-tonal-state-layer-color, var(--mat-sys-on-secondary-container)); } .mat-tonal-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before { background-color: var(--mat-button-tonal-disabled-state-layer-color, var(--mat-sys-on-surface-variant)); } .mat-tonal-button:hover > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-tonal-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); } .mat-tonal-button.cdk-program-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.cdk-keyboard-focused > .mat-mdc-button-persistent-ripple::before, .mat-tonal-button.mat-mdc-button-disabled-interactive:focus > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-tonal-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity)); } .mat-tonal-button:active > .mat-mdc-button-persistent-ripple::before { opacity: var(--mat-button-tonal-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity)); } .mat-tonal-button .mat-mdc-button-touch-target { position: absolute; top: 50%; height: var(--mat-button-tonal-touch-target-size, 48px); display: var(--mat-button-tonal-touch-target-display, block); left: 0; right: 0; transform: translateY(-50%); } .mat-mdc-button, .mat-mdc-unelevated-button, .mat-mdc-raised-button, .mat-mdc-outlined-button, .mat-tonal-button { -webkit-tap-highlight-color: 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(--mat-focus-indicator-border-width, 3px) + 2px) * -1); } .mat-mdc-outlined-button .mat-focus-indicator::before { margin: calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1); } `,`@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,changeDetection:0})}return t})();function oP(t){return t.hasAttribute("mat-raised-button")?"elevated":t.hasAttribute("mat-stroked-button")?"outlined":t.hasAttribute("mat-flat-button")?"filled":t.hasAttribute("mat-button")?"text":null}var MQ=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({imports:[_I,rn]})}return t})();var ed={production:!0,electron:!1,githubio:!1,solarputty_download_url:"",current_version:"v3",compute_id:"local"};var _a=class{};function iP(t){return t&&typeof t.connect=="function"&&!(t instanceof Ui)}var Fg=class extends _a{_data;constructor(n){super(),this._data=n}connect(){return Vt(this._data)?this._data:S(this._data)}disconnect(){}},In=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(In||{}),Pg=class{viewCacheSize=20;_viewCache=[];applyChanges(n,e,r,o,i){n.forEachOperation((s,a,c)=>{let l,u;if(s.previousIndex==null){let d=()=>r(s,a,c);l=this._insertView(d,c,e,o(s)),u=l?In.INSERTED:In.REPLACED}else c==null?(this._detachAndCacheView(a,e),u=In.REMOVED):(l=this._moveView(a,c,e,o(s)),u=In.MOVED);i&&i({context:l?.context,operation:u,record:s})})}detach(){for(let n of this._viewCache)n.destroy();this._viewCache=[]}_insertView(n,e,r,o){let i=this._insertViewFromCache(e,r);if(i){i.context.$implicit=o;return}let s=n();return r.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(n,e){let r=e.detach(n);this._maybeCacheView(r,e)}_moveView(n,e,r,o){let i=r.get(n);return r.move(i,e),i.context.$implicit=o,i}_maybeCacheView(n,e){if(this._viewCache.length{class t{_ngZone=f(j);_platform=f(_e);_renderer=f(He).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new x;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let r=this.scrollContainers.get(e);r&&(r.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=sP){return this._platform.isBrowser?new P(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=e>0?this._scrolled.pipe(mc(e)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):S()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(e,r){let o=this.getAncestorScrollContainers(e);return this.scrolled(r).pipe(he(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(e){let r=[];return this.scrollContainers.forEach((o,i)=>{this._scrollableContainsElement(i,e)&&r.push(i)}),r}_scrollableContainsElement(e,r){let o=Ot(r),i=e.getElementRef().nativeElement;do if(o==i)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),aP=(()=>{class t{elementRef=f($);scrollDispatcher=f(Da);ngZone=f(j);dir=f(_i,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new x;_renderer=f(Le);_cleanupScroll;_elementScrolled=new x;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let r=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=o?e.end:e.start),e.right==null&&(e.right=o?e.start:e.end),e.bottom!=null&&(e.top=r.scrollHeight-r.clientHeight-e.bottom),o&&Ci()!=on.NORMAL?(e.left!=null&&(e.right=r.scrollWidth-r.clientWidth-e.left),Ci()==on.INVERTED?e.left=e.right:Ci()==on.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=r.scrollWidth-r.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let r=this.elementRef.nativeElement;Xu()?r.scrollTo(e):(e.top!=null&&(r.scrollTop=e.top),e.left!=null&&(r.scrollLeft=e.left))}measureScrollOffset(e){let r="left",o="right",i=this.elementRef.nativeElement;if(e=="top")return i.scrollTop;if(e=="bottom")return i.scrollHeight-i.clientHeight-i.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?o:r:e=="end"&&(e=s?r:o),s&&Ci()==on.INVERTED?e==r?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:s&&Ci()==on.NEGATED?e==r?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:e==r?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),cP=20,Si=(()=>{class t{_platform=f(_e);_listeners;_viewportSize=null;_change=new x;_document=f(O);constructor(){let e=f(j),r=f(He).createRenderer(null,null);e.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(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,r=this._getWindow(),o=e.documentElement,i=o.getBoundingClientRect(),s=-i.top||e.body?.scrollTop||r.scrollY||o.scrollTop||0,a=-i.left||e.body?.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:s,left:a}}change(e=cP){return e>0?this._change.pipe(mc(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var XQ=new y("CDK_VIRTUAL_SCROLL_VIEWPORT");var Lg=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({})}return t})(),jg=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({imports:[rn,Lg,rn,Lg]})}return t})();var Ea=class{_attachedHost=null;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Vg=class extends Ea{component;viewContainerRef;injector;projectableNodes;bindings;constructor(n,e,r,o,i){super(),this.component=n,this.viewContainerRef=e,this.injector=r,this.projectableNodes=o,this.bindings=i||null}},Mi=class extends Ea{templateRef;viewContainerRef;context;injector;constructor(n,e,r,o){super(),this.templateRef=n,this.viewContainerRef=e,this.context=r,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Bg=class extends Ea{element;constructor(n){super(),this.element=n instanceof $?n.nativeElement:n}},td=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Vg)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Mi)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Bg)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},nd=class extends td{outletElement;_appRef;_defaultInjector;constructor(n,e,r){super(),this.outletElement=n,this._appRef=e,this._defaultInjector=r}attachComponentPortal(n){let e;if(n.viewContainerRef){let r=n.injector||n.viewContainerRef.injector,o=r.get(yn,null,{optional:!0})||void 0;e=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:r,ngModuleRef:o,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),this.setDisposeFn(()=>e.destroy())}else{let r=this._appRef,o=n.injector||this._defaultInjector||W.NULL,i=o.get(re,r.injector);e=Jl(n.component,{elementInjector:o,environmentInjector:i,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),r.attachView(e.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=n,e}attachTemplatePortal(n){let e=n.viewContainerRef,r=e.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(o=>this.outletElement.appendChild(o)),r.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(r);o!==-1&&e.remove(o)}),this._attachedPortal=n,r}attachDomPortal=n=>{let e=n.element;e.parentNode;let r=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(r,e),this.outletElement.appendChild(e),this._attachedPortal=n,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(e,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},iX=(()=>{class t extends Mi{constructor(){let e=f(gt),r=f(Qe);super(e,r)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[ie]})}return t})(),sX=(()=>{class t extends td{_moduleRef=f(yn,{optional:!0});_document=f(O);_viewContainerRef=f(Qe);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new H;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let r=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,o=r.createComponent(e.component,{index:r.length,injector:e.injector||r.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:e.bindings||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(e){e.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachDomPortal=e=>{let r=e.element;r.parentNode;let o=this._document.createComment("dom-portal");e.setAttachedHost(this),r.parentNode.insertBefore(o,r),this._getRootNode().appendChild(r),this._attachedPortal=e,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(r,o)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ie]})}return t})(),EI=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({})}return t})();var wI=Xu();function AI(t){return new rd(t.get(Si),t.get(O))}var rd=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(n,e){this._viewportRuler=n,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Ce(-this._previousScrollPosition.left),n.style.top=Ce(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let n=this._document.documentElement,e=this._document.body,r=n.style,o=e.style,i=r.scrollBehavior||"",s=o.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),wI&&(r.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),wI&&(r.scrollBehavior=i,o.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,r=this._viewportRuler.getViewportSize();return e.scrollHeight>r.height||e.scrollWidth>r.width}};function RI(t,n){return new od(t.get(Da),t.get(j),t.get(Si),n)}var od=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(n,e,r,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=r,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(this._scrollSubscription)return;let n=this._scrollDispatcher.scrolled(0).pipe(he(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var wa=class{enable(){}disable(){}attach(){}};function Ug(t,n){return n.some(e=>{let r=t.bottome.bottom,i=t.righte.right;return r||o||i||s})}function CI(t,n){return n.some(e=>{let r=t.tope.bottom,i=t.lefte.right;return r||o||i||s})}function zg(t,n){return new id(t.get(Da),t.get(Si),t.get(j),n)}var id=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(n,e,r,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=r,this._config=o}attach(n){this._overlayRef,this._overlayRef=n}enable(){if(!this._scrollSubscription){let n=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(n).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:o}=this._viewportRuler.getViewportSize();Ug(e,[{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}},NI=(()=>{class t{_injector=f(W);constructor(){}noop=()=>new wa;close=e=>RI(this._injector,e);block=()=>AI(this._injector);reposition=e=>zg(this._injector,e);static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ca=class{positionStrategy;scrollStrategy=new wa;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;usePopover;eventPredicate;constructor(n){if(n){let e=Object.keys(n);for(let r of e)n[r]!==void 0&&(this[r]=n[r])}}};var sd=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var OI=(()=>{class t{_attachedOverlays=[];_document=f(O);_isAttached=!1;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let r=this._attachedOverlays.indexOf(e);r>-1&&this._attachedOverlays.splice(r,1),this._attachedOverlays.length===0&&this.detach()}canReceiveEvent(e,r,o){return o.observers.length<1?!1:e.eventPredicate?e.eventPredicate(r):!0}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),kI=(()=>{class t extends OI{_ngZone=f(j);_renderer=f(He).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let r=this._attachedOverlays;for(let o=r.length-1;o>-1;o--){let i=r[o];if(this.canReceiveEvent(i,e,i._keydownEvents)){this._ngZone.run(()=>i._keydownEvents.next(e));break}}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=Pe(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),FI=(()=>{class t extends OI{_platform=f(_e);_ngZone=f(j);_renderer=f(He).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget=null;_cleanups;add(e){if(super.add(e),!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(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=ot(e)};_clickListener=e=>{let r=ot(e),o=e.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,e,c))){if(II(a.overlayElement,r)||II(a.overlayElement,o))break;this._ngZone?this._ngZone.run(()=>c.next(e)):c.next(e)}}};static \u0275fac=(()=>{let e;return function(o){return(e||(e=Pe(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function II(t,n){let e=typeof ShadowRoot<"u"&&ShadowRoot,r=n;for(;r;){if(r===t)return!0;r=e&&r instanceof ShadowRoot?r.host:r.parentNode}return!1}var PI=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Te({type:t,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,changeDetection:0})}return t})(),Gg=(()=>{class t{_platform=f(_e);_containerElement;_document=f(O);_styleLoader=f(Nt);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||Tg()){let o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let i=0;i{let n=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(n,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),n.style.pointerEvents="none",n.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}};function Wg(t){return t&&t.nodeType===1}var ad=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new x;_attachments=new x;_detachments=new x;_positionStrategy;_scrollStrategy;_locationChanges=G.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_disposed=!1;_previousHostParent;_keydownEvents=new x;_outsidePointerEvents=new x;_afterNextRenderRef;constructor(n,e,r,o,i,s,a,c,l,u=!1,d,h){this._portalOutlet=n,this._host=e,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=h,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(n){if(this._disposed)return null;this._attachHost();let e=this._portalOutlet.attach(n);return this._positionStrategy?.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=At(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let n=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){if(this._disposed)return;let n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,n&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent(),this._disposed=!0}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=g(g({},this._config),n),this._updateElementSize()}setDirection(n){this._config=F(g({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){let n=this._config.direction;return n?typeof n=="string"?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let n=this._pane.style;n.width=Ce(this._config.width),n.height=Ce(this._config.height),n.minWidth=Ce(this._config.minWidth),n.minHeight=Ce(this._config.minHeight),n.maxWidth=Ce(this._config.maxWidth),n.maxHeight=Ce(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachHost(){if(!this._host.parentElement){let n=this._config.usePopover?this._positionStrategy?.getPopoverInsertionPoint?.():null;Wg(n)?n.after(this._host):n?.type==="parent"?n.element.appendChild(this._host):this._previousHostParent?.appendChild(this._host)}if(this._config.usePopover)try{this._host.showPopover()}catch{}}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Hg(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._config.usePopover?this._host.prepend(this._backdropRef.element):this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(n))}):this._backdropRef.element.classList.add(n)}_updateStackingOrder(){!this._config.usePopover&&this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(n,e,r){let o=mo(e||[]).filter(i=>!!i);o.length&&(r?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=At(()=>{n=!0,this._detachContent()},{injector:this._injector})}catch(e){if(n)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let n=this._scrollStrategy;n?.disable(),n?.detach?.()}},SI="cdk-overlay-connected-position-bounding-box",lP=/([A-Za-z%]+)$/;function qg(t,n){return new cd(n,t.get(Si),t.get(O),t.get(_e),t.get(Gg))}var cd=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 x;_resizeSubscription=G.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount=null;_popoverLocation="global";positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(n,e,r,o,i){this._viewportRuler=e,this._document=r,this._platform=o,this._overlayContainer=i,this.setOrigin(n)}attach(n){this._overlayRef&&this._overlayRef,this._validatePositions(),n.hostElement.classList.add(SI),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._getContainerRect();let n=this._originRect,e=this._overlayRect,r=this._viewportRect,o=this._containerRect,i=[],s;for(let a of this._preferredPositions){let c=this._getOriginPoint(n,o,a),l=this._getOverlayPoint(c,e,a),u=this._getOverlayFit(l,e,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:e,boundingBoxRect:this._calculateBoundingBoxRect(c,a)});continue}(!s||s.overlayFit.visibleAreac&&(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&&yo(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(SI),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let n=this._lastPosition;n?(this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._getContainerRect(),this._applyPosition(n,this._getOriginPoint(this._originRect,this._containerRect,n))):this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,n.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}withPopoverLocation(n){return this._popoverLocation=n,this}getPopoverInsertionPoint(){return this._popoverLocation==="global"?null:this._popoverLocation!=="inline"?this._popoverLocation:this._origin instanceof $?this._origin.nativeElement:Wg(this._origin)?this._origin:null}_getOriginPoint(n,e,r){let o;if(r.originX=="center")o=n.left+n.width/2;else{let s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o=r.originX=="start"?s:a}e.left<0&&(o-=e.left);let i;return r.originY=="center"?i=n.top+n.height/2:i=r.originY=="top"?n.top:n.bottom,e.top<0&&(i-=e.top),{x:o,y:i}}_getOverlayPoint(n,e,r){let o;r.overlayX=="center"?o=-e.width/2:r.overlayX==="start"?o=this._isRtl()?-e.width:0:o=this._isRtl()?0:-e.width;let i;return r.overlayY=="center"?i=-e.height/2:i=r.overlayY=="top"?0:-e.height,{x:n.x+o,y:n.y+i}}_getOverlayFit(n,e,r,o){let i=TI(e),{x:s,y:a}=n,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,h=0-a,p=a+i.height-r.height,m=this._subtractOverflows(i.width,u,d),_=this._subtractOverflows(i.height,h,p),D=m*_;return{visibleArea:D,isCompletelyWithinViewport:i.width*i.height===D,fitsInViewportVertically:_===i.height,fitsInViewportHorizontally:m==i.width}}_canFitWithFlexibleDimensions(n,e,r){if(this._hasFlexibleDimensions){let o=r.bottom-e.y,i=r.right-e.x,s=MI(this._overlayRef.getConfig().minHeight),a=MI(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportVertically||s!=null&&s<=o,l=n.fitsInViewportHorizontally||a!=null&&a<=i;return c&&l}return!1}_pushOverlayOnScreen(n,e,r){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};let o=TI(e),i=this._viewportRect,s=Math.max(n.x+o.width-i.width,0),a=Math.max(n.y+o.height-i.height,0),c=Math.max(i.top-r.top-n.y,0),l=Math.max(i.left-r.left-n.x,0),u=0,d=0;return o.width<=i.width?u=l||-s:u=n.xm&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-m/2)}let c=e.overlayX==="start"&&!o||e.overlayX==="end"&&o,l=e.overlayX==="end"&&!o||e.overlayX==="start"&&o,u,d,h;if(l)h=r.width-n.x+this._getViewportMarginStart()+this._getViewportMarginEnd(),u=n.x-this._getViewportMarginStart();else if(c)d=n.x,u=r.right-n.x-this._getViewportMarginEnd();else{let p=Math.min(r.right-n.x+r.left,n.x),m=this._lastBoundingBoxSize.width;u=p*2,d=n.x-p,u>m&&!this._isInitialRender&&!this._growAfterOpen&&(d=n.x-m/2)}return{top:s,left:d,bottom:a,right:h,width:u,height:i}}_setBoundingBoxStyles(n,e){let r=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let 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=Ce(r.width),o.height=Ce(r.height),o.top=Ce(r.top)||"auto",o.bottom=Ce(r.bottom)||"auto",o.left=Ce(r.left)||"auto",o.right=Ce(r.right)||"auto",e.overlayX==="center"?o.alignItems="center":o.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?o.justifyContent="center":o.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",i&&(o.maxHeight=Ce(i)),s&&(o.maxWidth=Ce(s))}this._lastBoundingBoxSize=r,yo(this._boundingBox.style,o)}_resetBoundingBoxStyles(){yo(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){yo(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){let r={},o=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(o){let u=this._viewportRuler.getViewportScrollPosition();yo(r,this._getExactOverlayY(e,n,u)),yo(r,this._getExactOverlayX(e,n,u))}else r.position="static";let a="",c=this._getOffset(e,"x"),l=this._getOffset(e,"y");c&&(a+=`translateX(${c}px) `),l&&(a+=`translateY(${l}px)`),r.transform=a.trim(),s.maxHeight&&(o?r.maxHeight=Ce(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(o?r.maxWidth=Ce(s.maxWidth):i&&(r.maxWidth="")),yo(this._pane.style,r)}_getExactOverlayY(n,e,r){let o={top:"",bottom:""},i=this._getOverlayPoint(e,this._overlayRect,n);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),n.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;o.bottom=`${s-(i.y+this._overlayRect.height)}px`}else o.top=Ce(i.y);return o}_getExactOverlayX(n,e,r){let o={left:"",right:""},i=this._getOverlayPoint(e,this._overlayRect,n);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r));let s;if(this._isRtl()?s=n.overlayX==="end"?"left":"right":s=n.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;o.right=`${a-(i.x+this._overlayRect.width)}px`}else o.left=Ce(i.x);return o}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),r=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:CI(n,r),isOriginOutsideView:Ug(n,r),isOverlayClipped:CI(e,r),isOverlayOutsideView:Ug(e,r)}}_subtractOverflows(n,...e){return e.reduce((r,o)=>r-Math.max(o,0),n)}_getNarrowedViewportRect(){let n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._getViewportMarginTop(),left:r.left+this._getViewportMarginStart(),right:r.left+n-this._getViewportMarginEnd(),bottom:r.top+e-this._getViewportMarginBottom(),width:n-this._getViewportMarginStart()-this._getViewportMarginEnd(),height:e-this._getViewportMarginTop()-this._getViewportMarginBottom()}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return e==="x"?n.offsetX==null?this._offsetX:n.offsetX:n.offsetY==null?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&mo(n).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getViewportMarginStart(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.start??0}_getViewportMarginEnd(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.end??0}_getViewportMarginTop(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.top??0}_getViewportMarginBottom(){return typeof this._viewportMargin=="number"?this._viewportMargin:this._viewportMargin?.bottom??0}_getOriginRect(){let n=this._origin;if(n instanceof $)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();let e=n.width||0,r=n.height||0;return{top:n.y,bottom:n.y+r,left:n.x,right:n.x+e,height:r,width:e}}_getContainerRect(){let n=this._overlayRef.getConfig().usePopover&&this._popoverLocation!=="global",e=this._overlayContainer.getContainerElement();n&&(e.style.display="block");let r=e.getBoundingClientRect();return n&&(e.style.display=""),r}};function yo(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function MI(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(lP);return!e||e==="px"?parseFloat(n):null}return t||null}function TI(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}function uP(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var xI="cdk-global-overlay-wrapper";function LI(t){return new ld}var ld=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(n){let e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(xI),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:o,height:i,maxWidth:s,maxHeight:a}=r,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,h=this._overlayRef.getConfig().direction==="rtl",p="",m="",_="";c?_="flex-start":u==="center"?(_="center",h?m=d:p=d):h?u==="left"||u==="end"?(_="flex-end",p=d):(u==="right"||u==="start")&&(_="flex-start",m=d):u==="left"||u==="start"?(_="flex-start",p=d):(u==="right"||u==="end")&&(_="flex-end",m=d),n.position=this._cssPosition,n.marginLeft=c?"0":p,n.marginTop=l?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=c?"0":m,e.justifyContent=_,e.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,r=e.style;e.classList.remove(xI),r.justifyContent=r.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},jI=(()=>{class t{_injector=f(W);constructor(){}global(){return LI()}flexibleConnectedTo(e){return qg(this._injector,e)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Yg=new y("OVERLAY_DEFAULT_CONFIG");function Zg(t,n){t.get(Nt).load(PI);let e=t.get(Gg),r=t.get(O),o=t.get(va),i=t.get(Ge),s=t.get(_i),a=t.get(Le,null,{optional:!0})||t.get(He).createRenderer(null,null),c=new Ca(n),l=t.get(Yg,null,{optional:!0})?.usePopover??!0;c.direction=c.direction||s.value,"showPopover"in r.body?c.usePopover=n?.usePopover??l:c.usePopover=!1;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 h=c.usePopover?c.positionStrategy?.getPopoverInsertionPoint?.():null;return Wg(h)?h.after(d):h?.type==="parent"?h.element.appendChild(d):e.getContainerElement().appendChild(d),new ad(new nd(u,i,t),d,u,c,t.get(j),t.get(kI),r,t.get(Dn),t.get(FI),n?.disableAnimations??t.get(Fs,null,{optional:!0})==="NoopAnimations",t.get(re),a)}var VI=(()=>{class t{scrollStrategies=f(NI);_positionBuilder=f(jI);_injector=f(W);constructor(){}create(e){return Zg(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),dP=[{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"}],fP=new y("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=f(W);return()=>zg(t)}}),$g=(()=>{class t{elementRef=f($);constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),BI=new y("cdk-connected-overlay-default-config"),hP=(()=>{class t{_dir=f(_i,{optional:!0});_injector=f(W);_overlayRef;_templatePortal;_backdropSubscription=G.EMPTY;_attachSubscription=G.EMPTY;_detachSubscription=G.EMPTY;_positionSubscription=G.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=f(fP);_ngZone=f(j);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;disposeOnNavigation=!1;usePopover;matchWidth=!1;set _config(e){typeof e!="string"&&this._assignConfig(e)}backdropClick=new H;positionChange=new H;attach=new H;detach=new H;overlayKeydown=new H;overlayOutsideClick=new H;constructor(){let e=f(gt),r=f(Qe),o=f(BI,{optional:!0}),i=f(Yg,{optional:!0});this.usePopover=i?.usePopover===!1?null:"global",this._templatePortal=new Mi(e,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(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this._getWidth(),minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=dP);let e=this._overlayRef=Zg(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(r=>{this.overlayKeydown.next(r),r.keyCode===27&&!this.disableClose&&!Yu(r)&&(r.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(r=>{let o=this._getOriginElement(),i=ot(r);(!o||o!==i&&!o.contains(i))&&this.overlayOutsideClick.next(r)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),r=new Ca({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation,usePopover:!!this.usePopover});return(this.height||this.height===0)&&(r.height=this.height),(this.minWidth||this.minWidth===0)&&(r.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(r.minHeight=this.minHeight),this.backdropClass&&(r.backdropClass=this.backdropClass),this.panelClass&&(r.panelClass=this.panelClass),r}_updatePositionStrategy(e){let r=this.positions.map(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 e.setOrigin(this._getOrigin()).withPositions(r).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector).withPopoverLocation(this.usePopover===null?"global":this.usePopover)}_createPositionStrategy(){let e=qg(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof $g?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof $g?this.origin.elementRef.nativeElement:this.origin instanceof $?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_getWidth(){return this.width?this.width:this.matchWidth?this._getOriginElement()?.getBoundingClientRect?.().width:void 0}attachOverlay(){this._overlayRef||this._createOverlay();let e=this._overlayRef;e.getConfig().hasBackdrop=this.hasBackdrop,e.updateSize({width:this._getWidth()}),e.hasAttached()||e.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=e.backdropClick().subscribe(r=>this.backdropClick.emit(r)):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(sf(()=>this.positionChange.observers.length>0)).subscribe(r=>{this._ngZone.run(()=>this.positionChange.emit(r)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}_assignConfig(e){this.origin=e.origin??this.origin,this.positions=e.positions??this.positions,this.positionStrategy=e.positionStrategy??this.positionStrategy,this.offsetX=e.offsetX??this.offsetX,this.offsetY=e.offsetY??this.offsetY,this.width=e.width??this.width,this.height=e.height??this.height,this.minWidth=e.minWidth??this.minWidth,this.minHeight=e.minHeight??this.minHeight,this.backdropClass=e.backdropClass??this.backdropClass,this.panelClass=e.panelClass??this.panelClass,this.viewportMargin=e.viewportMargin??this.viewportMargin,this.scrollStrategy=e.scrollStrategy??this.scrollStrategy,this.disableClose=e.disableClose??this.disableClose,this.transformOriginSelector=e.transformOriginSelector??this.transformOriginSelector,this.hasBackdrop=e.hasBackdrop??this.hasBackdrop,this.lockPosition=e.lockPosition??this.lockPosition,this.flexibleDimensions=e.flexibleDimensions??this.flexibleDimensions,this.growAfterOpen=e.growAfterOpen??this.growAfterOpen,this.push=e.push??this.push,this.disposeOnNavigation=e.disposeOnNavigation??this.disposeOnNavigation,this.usePopover=e.usePopover??this.usePopover,this.matchWidth=e.matchWidth??this.matchWidth}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",ue],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",ue],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",ue],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",ue],push:[2,"cdkConnectedOverlayPush","push",ue],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",ue],usePopover:[0,"cdkConnectedOverlayUsePopover","usePopover"],matchWidth:[2,"cdkConnectedOverlayMatchWidth","matchWidth",ue],_config:[0,"cdkConnectedOverlay","_config"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[$e]})}return t})(),pP=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({providers:[VI],imports:[rn,EI,jg,jg]})}return t})();var B="primary",La=Symbol("RouteTitle"),ev=class{params;constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function _o(t){return new ev(t)}function Kg(t,n,e){for(let r=0;rt.length||e.pathMatch==="full"&&(n.hasChildren()||r.lengtht.length||e.pathMatch==="full"&&n.hasChildren()&&e.path!=="**")return null;let a={};return!Kg(i,t.slice(0,i.length),a)||!Kg(s,t.slice(t.length-s.length),a)?null:{consumed:t,posParams:a}}function md(t){return new Promise((n,e)=>{t.pipe(Nn()).subscribe({next:r=>n(r),error:r=>e(r)})})}function mP(t,n){if(t.length!==n.length)return!1;for(let e=0;er[i]===o)}else return t===n}function gP(t){return t.length>0?t[t.length-1]:null}function Eo(t){return Vt(t)?t:zn(t)?ae(Promise.resolve(t)):S(t)}function ZI(t){return Vt(t)?md(t):Promise.resolve(t)}var vP={exact:QI,subset:XI},KI={exact:yP,subset:bP,ignored:()=>!0},mv={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},xa={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function gv(t,n,e){let r=t instanceof it?t:n.parseUrl(t);return Xt(()=>nv(n.lastSuccessfulNavigation()?.finalUrl??new it,r,g(g({},xa),e)))}function nv(t,n,e){return vP[e.paths](t.root,n.root,e.matrixParams)&&KI[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function yP(t,n){return Sn(t,n)}function QI(t,n,e){if(!bo(t.segments,n.segments)||!fd(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let r in n.children)if(!t.children[r]||!QI(t.children[r],n.children[r],e))return!1;return!0}function bP(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>YI(t[e],n[e]))}function XI(t,n,e){return JI(t,n,n.segments,e)}function JI(t,n,e,r){if(t.segments.length>e.length){let o=t.segments.slice(0,e.length);return!(!bo(o,e)||n.hasChildren()||!fd(o,e,r))}else if(t.segments.length===e.length){if(!bo(t.segments,e)||!fd(t.segments,e,r))return!1;for(let o in n.children)if(!t.children[o]||!XI(t.children[o],n.children[o],r))return!1;return!0}else{let o=e.slice(0,t.segments.length),i=e.slice(t.segments.length);return!bo(t.segments,o)||!fd(t.segments,o,r)||!t.children[B]?!1:JI(t.children[B],n,i,r)}}function fd(t,n,e){return n.every((r,o)=>KI[e](t[o].parameters,r.parameters))}var it=class{root;queryParams;fragment;_queryParamMap;constructor(n=new te([],{}),e={},r=null){this.root=n,this.queryParams=e,this.fragment=r}get queryParamMap(){return this._queryParamMap??=_o(this.queryParams),this._queryParamMap}toString(){return EP.serialize(this)}},te=class{segments;children;parent=null;constructor(n,e){this.segments=n,this.children=e,Object.values(e).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return hd(this)}},Ir=class{path;parameters;_parameterMap;constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=_o(this.parameters),this._parameterMap}toString(){return tS(this)}};function _P(t,n){return bo(t,n)&&t.every((e,r)=>Sn(e.parameters,n[r].parameters))}function bo(t,n){return t.length!==n.length?!1:t.every((e,r)=>e.path===n[r].path)}function DP(t,n){let e=[];return Object.entries(t.children).forEach(([r,o])=>{r===B&&(e=e.concat(n(o,r)))}),Object.entries(t.children).forEach(([r,o])=>{r!==B&&(e=e.concat(n(o,r)))}),e}var Tr=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>new Xn,providedIn:"root"})}return t})(),Xn=class{parse(n){let e=new ov(n);return new it(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${Ia(n.root,!0)}`,r=IP(n.queryParams),o=typeof n.fragment=="string"?`#${wP(n.fragment)}`:"";return`${e}${r}${o}`}},EP=new Xn;function hd(t){return t.segments.map(n=>tS(n)).join("/")}function Ia(t,n){if(!t.hasChildren())return hd(t);if(n){let e=t.children[B]?Ia(t.children[B],!1):"",r=[];return Object.entries(t.children).forEach(([o,i])=>{o!==B&&r.push(`${o}:${Ia(i,!1)}`)}),r.length>0?`${e}(${r.join("//")})`:e}else{let e=DP(t,(r,o)=>o===B?[Ia(t.children[B],!1)]:[`${o}:${Ia(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[B]!=null?`${hd(t)}/${e[0]}`:`${hd(t)}/(${e.join("//")})`}}function eS(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function ud(t){return eS(t).replace(/%3B/gi,";")}function wP(t){return encodeURI(t)}function rv(t){return eS(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function pd(t){return decodeURIComponent(t)}function UI(t){return pd(t.replace(/\+/g,"%20"))}function tS(t){return`${rv(t.path)}${CP(t.parameters)}`}function CP(t){return Object.entries(t).map(([n,e])=>`;${rv(n)}=${rv(e)}`).join("")}function IP(t){let n=Object.entries(t).map(([e,r])=>Array.isArray(r)?r.map(o=>`${ud(e)}=${ud(o)}`).join("&"):`${ud(e)}=${ud(r)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var SP=/^[^\/()?;#]+/;function Qg(t){let n=t.match(SP);return n?n[0]:""}var MP=/^[^\/()?;=#]+/;function TP(t){let n=t.match(MP);return n?n[0]:""}var xP=/^[^=?&#]+/;function AP(t){let n=t.match(xP);return n?n[0]:""}var RP=/^[^&#]+/;function NP(t){let n=t.match(RP);return n?n[0]:""}var ov=class{url;remaining;constructor(n){this.url=n,this.remaining=n}parseRootSegment(){for(;this.consumeOptional("/"););return this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new te([],{}):new te([],this.parseChildren())}parseQueryParams(){let n={};if(this.consumeOptional("?"))do this.parseQueryParam(n);while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(n=0){if(n>50)throw new b(4010,!1);if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0,n));let o={};return this.peekStartsWith("(")&&(o=this.parseParens(!1,n)),(e.length>0||Object.keys(r).length>0)&&(o[B]=new te(e,r)),o}parseSegment(){let n=Qg(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new b(4009,!1);return this.capture(n),new Ir(pd(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=TP(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let o=Qg(this.remaining);o&&(r=o,this.capture(r))}n[pd(e)]=pd(r)}parseQueryParam(n){let e=AP(this.remaining);if(!e)return;this.capture(e);let r="";if(this.consumeOptional("=")){let s=NP(this.remaining);s&&(r=s,this.capture(r))}let o=UI(e),i=UI(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n,e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let o=Qg(this.remaining),i=this.remaining[o.length];if(i!=="/"&&i!==")"&&i!==";")throw new b(4010,!1);let s;o.indexOf(":")>-1?(s=o.slice(0,o.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=B);let a=this.parseChildren(e+1);r[s??B]=Object.keys(a).length===1&&a[B]?a[B]:new te([],a),this.consumeOptional("//")}return r}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return this.peekStartsWith(n)?(this.remaining=this.remaining.substring(n.length),!0):!1}capture(n){if(!this.consumeOptional(n))throw new b(4011,!1)}};function nS(t){return t.segments.length>0?new te([],{[B]:t}):t}function rS(t){let n={};for(let[r,o]of Object.entries(t.children)){let i=rS(o);if(r===B&&i.segments.length===0&&i.hasChildren())for(let[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}let e=new te(t.segments,n);return OP(e)}function OP(t){if(t.numberOfChildren===1&&t.children[B]){let n=t.children[B];return new te(t.segments.concat(n.segments),n.children)}return t}function Sr(t){return t instanceof it}function oS(t,n,e=null,r=null,o=new Xn){let i=iS(t);return sS(i,n,e,r,o)}function iS(t){let n;function e(i){let s={};for(let c of i.children){let l=e(c);s[c.outlet]=l}let a=new te(i.url,s);return i===t&&(n=a),a}let r=e(t.root),o=nS(r);return n??o}function sS(t,n,e,r,o){let i=t;for(;i.parent;)i=i.parent;if(n.length===0)return Xg(i,i,i,e,r,o);let s=kP(n);if(s.toRoot())return Xg(i,i,new te([],{}),e,r,o);let a=FP(s,i,t),c=a.processChildren?Ma(a.segmentGroup,a.index,s.commands):cS(a.segmentGroup,a.index,s.commands);return Xg(i,a.segmentGroup,c,e,r,o)}function gd(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Aa(t){return typeof t=="object"&&t!=null&&t.outlets}function HI(t,n,e){t||="\u0275";let r=new it;return r.queryParams={[t]:n},e.parse(e.serialize(r)).queryParams[t]}function Xg(t,n,e,r,o,i){let s={};for(let[l,u]of Object.entries(r??{}))s[l]=Array.isArray(u)?u.map(d=>HI(l,d,i)):HI(l,u,i);let a;t===n?a=e:a=aS(t,n,e);let c=nS(rS(a));return new it(c,s,o)}function aS(t,n,e){let r={};return Object.entries(t.children).forEach(([o,i])=>{i===n?r[o]=e:r[o]=aS(i,n,e)}),new te(t.segments,r)}var vd=class{isAbsolute;numberOfDoubleDots;commands;constructor(n,e,r){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=r,n&&r.length>0&&gd(r[0]))throw new b(4003,!1);let o=r.find(Aa);if(o&&o!==gP(r))throw new b(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function kP(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new vd(!0,0,t);let n=0,e=!1,r=t.reduce((o,i,s)=>{if(typeof i=="object"&&i!=null){if(i.outlets){let a={};return Object.entries(i.outlets).forEach(([c,l])=>{a[c]=typeof l=="string"?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return typeof i!="string"?[...o,i]:s===0?(i.split("/").forEach((a,c)=>{c==0&&a==="."||(c==0&&a===""?e=!0:a===".."?n++:a!=""&&o.push(a))}),o):[...o,i]},[]);return new vd(e,n,r)}var xi=class{segmentGroup;processChildren;index;constructor(n,e,r){this.segmentGroup=n,this.processChildren=e,this.index=r}};function FP(t,n,e){if(t.isAbsolute)return new xi(n,!0,0);if(!e)return new xi(n,!1,NaN);if(e.parent===null)return new xi(e,!0,0);let r=gd(t.commands[0])?0:1,o=e.segments.length-1+r;return PP(e,o,t.numberOfDoubleDots)}function PP(t,n,e){let r=t,o=n,i=e;for(;i>o;){if(i-=o,r=r.parent,!r)throw new b(4005,!1);o=r.segments.length}return new xi(r,!1,o-i)}function LP(t){return Aa(t[0])?t[0].outlets:{[B]:t}}function cS(t,n,e){if(t??=new te([],{}),t.segments.length===0&&t.hasChildren())return Ma(t,n,e);let r=jP(t,n,e),o=e.slice(r.commandIndex);if(r.match&&r.pathIndexi!==B)&&t.children[B]&&t.numberOfChildren===1&&t.children[B].segments.length===0){let i=Ma(t.children[B],n,e);return new te(t.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(o[i]=cS(t.children[i],n,s))}),Object.entries(t.children).forEach(([i,s])=>{r[i]===void 0&&(o[i]=s)}),new te(t.segments,o)}}function jP(t,n,e){let r=0,o=n,i={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return i;let s=t.segments[o],a=e[r];if(Aa(a))break;let c=`${a}`,l=r0&&c===void 0)break;if(c&&l&&typeof l=="object"&&l.outlets===void 0){if(!zI(c,l,s))return i;r+=2}else{if(!zI(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}function iv(t,n,e){let r=t.segments.slice(0,n),o=0;for(;o{typeof r=="string"&&(r=[r]),r!==null&&(n[e]=iv(new te([],{}),0,r))}),n}function $I(t){let n={};return Object.entries(t).forEach(([e,r])=>n[e]=`${r}`),n}function zI(t,n,e){return t==e.path&&Sn(n,e.parameters)}var Ai="imperative",je=(function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t})(je||{}),Dt=class{id;url;constructor(n,e){this.id=n,this.url=e}},Mr=class extends Dt{type=je.NavigationStart;navigationTrigger;restoredState;constructor(n,e,r="imperative",o=null){super(n,e),this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Et=class extends Dt{urlAfterRedirects;type=je.NavigationEnd;constructor(n,e,r){super(n,e),this.urlAfterRedirects=r}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},et=(function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t[t.Aborted=4]="Aborted",t})(et||{}),Ni=(function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t})(Ni||{}),Ft=class extends Dt{reason;code;type=je.NavigationCancel;constructor(n,e,r,o){super(n,e),this.reason=r,this.code=o}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}};function lS(t){return t instanceof Ft&&(t.code===et.Redirect||t.code===et.SupersededByNewNavigation)}var Mn=class extends Dt{reason;code;type=je.NavigationSkipped;constructor(n,e,r,o){super(n,e),this.reason=r,this.code=o}},Do=class extends Dt{error;target;type=je.NavigationError;constructor(n,e,r,o){super(n,e),this.error=r,this.target=o}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Ra=class extends Dt{urlAfterRedirects;state;type=je.RoutesRecognized;constructor(n,e,r,o){super(n,e),this.urlAfterRedirects=r,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},yd=class extends Dt{urlAfterRedirects;state;type=je.GuardsCheckStart;constructor(n,e,r,o){super(n,e),this.urlAfterRedirects=r,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},bd=class extends Dt{urlAfterRedirects;state;shouldActivate;type=je.GuardsCheckEnd;constructor(n,e,r,o,i){super(n,e),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},_d=class extends Dt{urlAfterRedirects;state;type=je.ResolveStart;constructor(n,e,r,o){super(n,e),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Dd=class extends Dt{urlAfterRedirects;state;type=je.ResolveEnd;constructor(n,e,r,o){super(n,e),this.urlAfterRedirects=r,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ed=class{route;type=je.RouteConfigLoadStart;constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},wd=class{route;type=je.RouteConfigLoadEnd;constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Cd=class{snapshot;type=je.ChildActivationStart;constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Id=class{snapshot;type=je.ChildActivationEnd;constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Sd=class{snapshot;type=je.ActivationStart;constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Md=class{snapshot;type=je.ActivationEnd;constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Oi=class{routerEvent;position;anchor;scrollBehavior;type=je.Scroll;constructor(n,e,r,o){this.routerEvent=n,this.position=e,this.anchor=r,this.scrollBehavior=o}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},ki=class{},Na=class{},Fi=class{url;navigationBehaviorOptions;constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function BP(t){return!(t instanceof ki)&&!(t instanceof Fi)&&!(t instanceof Na)}var Td=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return this.route?.snapshot._environmentInjector??this.rootInjector}constructor(n){this.rootInjector=n,this.children=new wo(this.rootInjector)}},wo=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,r){let o=this.getOrCreateContext(e);o.outlet=r,this.contexts.set(e,o)}onChildOutletDestroyed(e){let r=this.getContext(e);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let r=this.getContext(e);return r||(r=new Td(this.rootInjector),this.contexts.set(e,r)),r}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(r){return new(r||t)(w(re))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xd=class{_root;constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=sv(n,this._root);return e?e.children.map(r=>r.value):[]}firstChild(n){let e=sv(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=av(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return av(n,this._root).map(e=>e.value)}};function sv(t,n){if(t===n.value)return n;for(let e of n.children){let r=sv(t,e);if(r)return r}return null}function av(t,n){if(t===n.value)return[n];for(let e of n.children){let r=av(t,e);if(r.length)return r.unshift(n),r}return[]}var _t=class{value;children;constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function Ti(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Oa=class extends xd{snapshot;constructor(n,e){super(n),this.snapshot=e,yv(this,n)}toString(){return this.snapshot.toString()}};function uS(t,n){let e=UP(t,n),r=new Ae([new Ir("",{})]),o=new Ae({}),i=new Ae({}),s=new Ae({}),a=new Ae(""),c=new Jn(r,o,s,a,i,B,t,e.root);return c.snapshot=e.root,new Oa(new _t(c,[]),e)}function UP(t,n){let e={},r={},o={},s=new Pi([],e,o,"",r,B,t,null,{},n);return new ka("",new _t(s,[]))}var Jn=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(n,e,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(V(l=>l[La]))??S(void 0),this.url=n,this.params=e,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(V(n=>_o(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(V(n=>_o(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function vv(t,n,e="emptyOnly"){let r,{routeConfig:o}=t;return n!==null&&(e==="always"||o?.path===""||!n.component&&!n.routeConfig?.loadComponent)?r={params:g(g({},n.params),t.params),data:g(g({},n.data),t.data),resolve:g(g(g(g({},t.data),n.data),o?.data),t._resolvedData)}:r={params:g({},t.params),data:g({},t.data),resolve:g(g({},t.data),t._resolvedData??{})},o&&fS(o)&&(r.resolve[La]=o.title),r}var Pi=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;_environmentInjector;get title(){return this.data?.[La]}constructor(n,e,r,o,i,s,a,c,l,u){this.url=n,this.params=e,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l,this._environmentInjector=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=_o(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=_o(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(r=>r.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},ka=class extends xd{url;constructor(n,e){super(e),this.url=n,yv(this,e)}toString(){return dS(this._root)}};function yv(t,n){n.value._routerState=t,n.children.forEach(e=>yv(t,e))}function dS(t){let n=t.children.length>0?` { ${t.children.map(dS).join(", ")} } `:"";return`${t.value}${n}`}function Jg(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Sn(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Sn(n.params,e.params)||t.paramsSubject.next(e.params),mP(n.url,e.url)||t.urlSubject.next(e.url),Sn(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function cv(t,n){let e=Sn(t.params,n.params)&&_P(t.url,n.url),r=!t.parent!=!n.parent;return e&&!r&&(!t.parent||cv(t.parent,n.parent))}function fS(t){return typeof t.title=="string"||t.title===null}var hS=new y(""),bv=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=B;activateEvents=new H;deactivateEvents=new H;attachEvents=new H;detachEvents=new H;routerOutletData=zE();parentContexts=f(wo);location=f(Qe);changeDetector=f(Jt);inputBinder=f(ja,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:r,previousValue:o}=e.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new b(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new b(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new b(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,r){this.activated=e,this._activatedRoute=r,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,r){if(this.isActivated)throw new b(4013,!1);this._activatedRoute=e;let o=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new lv(e,a,o.injector,this.routerOutletData);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(r){return new(r||t)};static \u0275dir=T({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[$e]})}return t})(),lv=class{route;childContexts;parent;outletData;constructor(n,e,r,o){this.route=n,this.childContexts=e,this.parent=r,this.outletData=o}get(n,e){return n===Jn?this.route:n===wo?this.childContexts:n===hS?this.outletData:this.parent.get(n,e)}},ja=new y(""),_v=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:r}=e,o=Ro([r.queryParams,r.params,r.data]).pipe(Ve(([i,s,a],c)=>(a=g(g(g({},i),s),a),c===0?S(a):Promise.resolve(a)))).subscribe(i=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==r||r.component===null){this.unsubscribeFromRouteData(e);return}let s=ZE(r.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,i[a])});this.outletDataSubscriptions.set(e,o)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),Dv=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Te({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(r,o){r&1&&zl(0,"router-outlet")},dependencies:[bv],encapsulation:2})}return t})();function Ev(t){let n=t.children&&t.children.map(Ev),e=n?F(g({},t),{children:n}):g({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==B&&(e.component=Dv),e}function HP(t,n,e){let r=Fa(t,n._root,e?e._root:void 0);return new Oa(r,n)}function Fa(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let r=e.value;r._futureSnapshot=n.value;let o=$P(t,n,e);return new _t(r,o)}else{if(t.shouldAttach(n.value)){let i=t.retrieve(n.value);if(i!==null){let s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Fa(t,a)),s}}let r=zP(n.value),o=n.children.map(i=>Fa(t,i));return new _t(r,o)}}function $P(t,n,e){return n.children.map(r=>{for(let o of e.children)if(t.shouldReuseRoute(r.value,o.value.snapshot))return Fa(t,r,o);return Fa(t,r)})}function zP(t){return new Jn(new Ae(t.url),new Ae(t.params),new Ae(t.queryParams),new Ae(t.fragment),new Ae(t.data),t.outlet,t.component,t)}var Li=class{redirectTo;navigationBehaviorOptions;constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},pS="ngNavigationCancelingError";function Ad(t,n){let{redirectTo:e,navigationBehaviorOptions:r}=Sr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=mS(!1,et.Redirect);return o.url=e,o.navigationBehaviorOptions=r,o}function mS(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[pS]=!0,e.cancellationCode=n,e}function GP(t){return gS(t)&&Sr(t.url)}function gS(t){return!!t&&t[pS]}var uv=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(n,e,r,o,i){this.routeReuseStrategy=n,this.futureState=e,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){let e=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,r,n),Jg(this.futureState.root),this.activateChildRoutes(e,r,n)}deactivateChildRoutes(n,e,r){let o=Ti(e);n.children.forEach(i=>{let s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,e,r){let o=n.value,i=e?e.value:null;if(o===i)if(o.component){let s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,r);else i&&this.deactivateRouteAndItsChildren(e,r)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let r=e.getContext(n.value.outlet),o=r&&n.value.component?r.children:e,i=Ti(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);if(r&&r.outlet){let s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){let r=e.getContext(n.value.outlet),o=r&&n.value.component?r.children:e,i=Ti(n);for(let s of Object.values(i))this.deactivateRouteAndItsChildren(s,o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,e,r){let o=Ti(e);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Md(i.value.snapshot))}),n.children.length&&this.forwardEvent(new Id(n.value.snapshot))}activateRoutes(n,e,r){let o=n.value,i=e?e.value:null;if(Jg(o),o===i)if(o.component){let s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,e,r);else if(o.component){let s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){let a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Jg(a.route.value),this.activateChildRoutes(n,null,s.children)}else s.attachRef=null,s.route=o,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}else this.activateChildRoutes(n,null,r)}},Rd=class{path;route;constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},Ri=class{component;route;constructor(n,e){this.component=n,this.route=e}};function WP(t,n,e){let r=t._root,o=n?n._root:null;return Sa(r,o,e,[r.value])}function qP(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function Vi(t,n){let e=Symbol(),r=n.get(t,e);return r===e?typeof t=="function"&&!Af(t)?t:n.get(t):r}function Sa(t,n,e,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=Ti(n);return t.children.forEach(s=>{YP(s,i[s.value.outlet],e,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Ta(a,e.getContext(s),o)),o}function YP(t,n,e,r,o={canDeactivateChecks:[],canActivateChecks:[]}){let i=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){let c=ZP(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new Rd(r)):(i.data=s.data,i._resolvedData=s._resolvedData),i.component?Sa(t,n,a?a.children:null,r,o):Sa(t,n,e,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Ri(a.outlet.component,s))}else s&&Ta(n,a,o),o.canActivateChecks.push(new Rd(r)),i.component?Sa(t,null,a?a.children:null,r,o):Sa(t,null,e,r,o);return o}function ZP(t,n,e){if(typeof e=="function")return Fe(n._environmentInjector,()=>e(t,n));switch(e){case"pathParamsChange":return!bo(t.url,n.url);case"pathParamsOrQueryParamsChange":return!bo(t.url,n.url)||!Sn(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!cv(t,n)||!Sn(t.queryParams,n.queryParams);default:return!cv(t,n)}}function Ta(t,n,e){let r=Ti(t),o=t.value;Object.entries(r).forEach(([i,s])=>{o.component?n?Ta(s,n.children.getContext(i),e):Ta(s,null,e):Ta(s,n,e)}),o.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new Ri(n.outlet.component,o)):e.canDeactivateChecks.push(new Ri(null,o)):e.canDeactivateChecks.push(new Ri(null,o))}function Va(t){return typeof t=="function"}function KP(t){return typeof t=="boolean"}function QP(t){return t&&Va(t.canLoad)}function XP(t){return t&&Va(t.canActivate)}function JP(t){return t&&Va(t.canActivateChild)}function eL(t){return t&&Va(t.canDeactivate)}function tL(t){return t&&Va(t.canMatch)}function vS(t){return t instanceof An||t?.name==="EmptyError"}var dd=Symbol("INITIAL_VALUE");function ji(){return Ve(t=>Ro(t.map(n=>n.pipe(Ne(1),No(dd)))).pipe(V(n=>{for(let e of n)if(e!==!0){if(e===dd)return dd;if(e===!1||nL(e))return e}return!0}),he(n=>n!==dd),Ne(1)))}function nL(t){return Sr(t)||t instanceof Li}function yS(t){return t.aborted?S(void 0).pipe(Ne(1)):new P(n=>{let e=()=>{n.next(),n.complete()};return t.addEventListener("abort",e),()=>t.removeEventListener("abort",e)})}function bS(t){return jt(yS(t))}function rL(t){return Ee(n=>{let{targetSnapshot:e,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:i}}=n;return i.length===0&&o.length===0?S(F(g({},n),{guardsResult:!0})):oL(i,e,r).pipe(Ee(s=>s&&KP(s)?iL(e,o,t):S(s)),V(s=>F(g({},n),{guardsResult:s})))})}function oL(t,n,e){return ae(t).pipe(Ee(r=>uL(r.component,r.route,e,n)),Nn(r=>r!==!0,!0))}function iL(t,n,e){return ae(n).pipe(or(r=>ln(aL(r.route.parent,e),sL(r.route,e),lL(t,r.path),cL(t,r.route))),Nn(r=>r!==!0,!0))}function sL(t,n){return t!==null&&n&&n(new Sd(t)),S(!0)}function aL(t,n){return t!==null&&n&&n(new Cd(t)),S(!0)}function cL(t,n){let e=n.routeConfig?n.routeConfig.canActivate:null;if(!e||e.length===0)return S(!0);let r=e.map(o=>qi(()=>{let i=n._environmentInjector,s=Vi(o,i),a=XP(s)?s.canActivate(n,t):Fe(i,()=>s(n,t));return Eo(a).pipe(Nn())}));return S(r).pipe(ji())}function lL(t,n){let e=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(i=>qP(i)).filter(i=>i!==null).map(i=>qi(()=>{let s=i.guards.map(a=>{let c=i.node._environmentInjector,l=Vi(a,c),u=JP(l)?l.canActivateChild(e,t):Fe(c,()=>l(e,t));return Eo(u).pipe(Nn())});return S(s).pipe(ji())}));return S(o).pipe(ji())}function uL(t,n,e,r){let o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!o||o.length===0)return S(!0);let i=o.map(s=>{let a=n._environmentInjector,c=Vi(s,a),l=eL(c)?c.canDeactivate(t,n,e,r):Fe(a,()=>c(t,n,e,r));return Eo(l).pipe(Nn())});return S(i).pipe(ji())}function dL(t,n,e,r,o){let i=n.canLoad;if(i===void 0||i.length===0)return S(!0);let s=i.map(a=>{let c=Vi(a,t),l=QP(c)?c.canLoad(n,e):Fe(t,()=>c(n,e)),u=Eo(l);return o?u.pipe(bS(o)):u});return S(s).pipe(ji(),_S(r))}function _S(t){return qd(Be(n=>{if(typeof n!="boolean")throw Ad(t,n)}),V(n=>n===!0))}function fL(t,n,e,r,o,i){let s=n.canMatch;if(!s||s.length===0)return S(!0);let a=s.map(c=>{let l=Vi(c,t),u=tL(l)?l.canMatch(n,e,o):Fe(t,()=>l(n,e,o));return Eo(u).pipe(bS(i))});return S(a).pipe(ji(),_S(r))}var Qn=class t extends Error{segmentGroup;constructor(n){super(),this.segmentGroup=n||null,Object.setPrototypeOf(this,t.prototype)}},Pa=class t extends Error{urlTree;constructor(n){super(),this.urlTree=n,Object.setPrototypeOf(this,t.prototype)}};function hL(t){throw new b(4e3,!1)}function pL(t){throw mS(!1,et.GuardRejected)}var dv=class{urlSerializer;urlTree;constructor(n,e){this.urlSerializer=n,this.urlTree=e}async lineralizeSegments(n,e){let r=[],o=e.root;for(;;){if(r=r.concat(o.segments),o.numberOfChildren===0)return r;if(o.numberOfChildren>1||!o.children[B])throw hL(`${n.redirectTo}`);o=o.children[B]}}async applyRedirectCommands(n,e,r,o,i){let s=await mL(e,o,i);if(s instanceof it)throw new Pa(s);let a=this.applyRedirectCreateUrlTree(s,this.urlSerializer.parse(s),n,r);if(s[0]==="/")throw new Pa(a);return a}applyRedirectCreateUrlTree(n,e,r,o){let i=this.createSegmentGroup(n,e.root,r,o);return new it(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let r={};return Object.entries(n).forEach(([o,i])=>{if(typeof i=="string"&&i[0]===":"){let a=i.substring(1);r[o]=e[a]}else r[o]=i}),r}createSegmentGroup(n,e,r,o){let i=this.createSegments(n,e.segments,r,o),s={};return Object.entries(e.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new te(i,s)}createSegments(n,e,r,o){return e.map(i=>i.path[0]===":"?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,e,r){let o=r[e.path.substring(1)];if(!o)throw new b(4001,!1);return o}findOrReturn(n,e){let r=0;for(let o of e){if(o.path===n.path)return e.splice(r),o;r++}return n}};function mL(t,n,e){if(typeof t=="string")return Promise.resolve(t);let r=t;return md(Eo(Fe(e,()=>r(n))))}function gL(t,n){return t.providers&&!t._injector&&(t._injector=oi(t.providers,n,`Route: ${t.path}`)),t._injector??n}function sn(t){return t.outlet||B}function vL(t,n){let e=t.filter(r=>sn(r)===n);return e.push(...t.filter(r=>sn(r)!==n)),e}var fv={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function DS(t){return{routeConfig:t.routeConfig,url:t.url,params:t.params,queryParams:t.queryParams,fragment:t.fragment,data:t.data,outlet:t.outlet,title:t.title,paramMap:t.paramMap,queryParamMap:t.queryParamMap}}function yL(t,n,e,r,o,i,s){let a=ES(t,n,e);if(!a.matched)return S(a);let c=DS(i(a));return r=gL(n,r),fL(r,n,e,o,c,s).pipe(V(l=>l===!0?a:g({},fv)))}function ES(t,n,e){if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?g({},fv):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let o=(n.matcher||qI)(e,t,n);if(!o)return g({},fv);let i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});let s=o.consumed.length>0?g(g({},i),o.consumed[o.consumed.length-1].parameters):i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:e.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function GI(t,n,e,r,o){return e.length>0&&DL(t,e,r,o)?{segmentGroup:new te(n,_L(r,new te(e,t.children))),slicedSegments:[]}:e.length===0&&EL(t,e,r)?{segmentGroup:new te(t.segments,bL(t,e,r,t.children)),slicedSegments:e}:{segmentGroup:new te(t.segments,t.children),slicedSegments:e}}function bL(t,n,e,r){let o={};for(let i of e)if(Od(t,n,i)&&!r[sn(i)]){let s=new te([],{});o[sn(i)]=s}return g(g({},r),o)}function _L(t,n){let e={};e[B]=n;for(let r of t)if(r.path===""&&sn(r)!==B){let o=new te([],{});e[sn(r)]=o}return e}function DL(t,n,e,r){return e.some(o=>!Od(t,n,o)||!(sn(o)!==B)?!1:!(r!==void 0&&sn(o)===r))}function EL(t,n,e){return e.some(r=>Od(t,n,r))}function Od(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function wL(t,n,e){return n.length===0&&!t.children[e]}var hv=class{};async function CL(t,n,e,r,o,i,s="emptyOnly",a){return new pv(t,n,e,r,o,s,i,a).recognize()}var IL=31,pv=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;abortSignal;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(n,e,r,o,i,s,a,c){this.injector=n,this.configLoader=e,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.abortSignal=c,this.applyRedirects=new dv(this.urlSerializer,this.urlTree)}noMatchError(n){return new b(4002,`'${n.segmentGroup}'`)}async recognize(){let n=GI(this.urlTree.root,[],[],this.config).segmentGroup,{children:e,rootSnapshot:r}=await this.match(n),o=new _t(r,e),i=new ka("",o),s=oS(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),{state:i,tree:s}}async match(n){let e=new Pi([],Object.freeze({}),Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),B,this.rootComponentType,null,{},this.injector);try{return{children:await this.processSegmentGroup(this.injector,this.config,n,B,e),rootSnapshot:e}}catch(r){if(r instanceof Pa)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Qn?this.noMatchError(r):r}}async processSegmentGroup(n,e,r,o,i){if(r.segments.length===0&&r.hasChildren())return this.processChildren(n,e,r,i);let s=await this.processSegment(n,e,r,r.segments,o,!0,i);return s instanceof _t?[s]:[]}async processChildren(n,e,r,o){let i=[];for(let c of Object.keys(r.children))c==="primary"?i.unshift(c):i.push(c);let s=[];for(let c of i){let l=r.children[c],u=vL(e,c),d=await this.processSegmentGroup(n,u,l,c,o);s.push(...d)}let a=wS(s);return SL(a),a}async processSegment(n,e,r,o,i,s,a){for(let c of e)try{return await this.processSegmentAgainstRoute(c._injector??n,e,c,r,o,i,s,a)}catch(l){if(l instanceof Qn||vS(l))continue;throw l}if(wL(r,o,i))return new hv;throw new Qn(r)}async processSegmentAgainstRoute(n,e,r,o,i,s,a,c){if(sn(r)!==s&&(s===B||!Od(o,i,r)))throw new Qn(o);if(r.redirectTo===void 0)return this.matchSegmentAgainstRoute(n,o,r,i,s,c);if(this.allowRedirects&&a)return this.expandSegmentAgainstRouteUsingRedirect(n,o,e,r,i,s,c);throw new Qn(o)}async expandSegmentAgainstRouteUsingRedirect(n,e,r,o,i,s,a){let{matched:c,parameters:l,consumedSegments:u,positionalParamSegments:d,remainingSegments:h}=ES(e,o,i);if(!c)throw new Qn(e);typeof o.redirectTo=="string"&&o.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>IL&&(this.allowRedirects=!1));let p=this.createSnapshot(n,o,i,l,a);if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let m=await this.applyRedirects.applyRedirectCommands(u,o.redirectTo,d,DS(p),n),_=await this.applyRedirects.lineralizeSegments(o,m);return this.processSegment(n,r,e,_.concat(h),s,!1,a)}createSnapshot(n,e,r,o,i){let s=new Pi(r,o,Object.freeze(g({},this.urlTree.queryParams)),this.urlTree.fragment,TL(e),sn(e),e.component??e._loadedComponent??null,e,xL(e),n),a=vv(s,i,this.paramsInheritanceStrategy);return s.params=Object.freeze(a.params),s.data=Object.freeze(a.data),s}async matchSegmentAgainstRoute(n,e,r,o,i,s){if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);let a=De=>this.createSnapshot(n,r,De.consumedSegments,De.parameters,s),c=await md(yL(e,r,o,n,this.urlSerializer,a,this.abortSignal));if(r.path==="**"&&(e.children={}),!c?.matched)throw new Qn(e);n=r._injector??n;let{routes:l}=await this.getChildConfig(n,r,o),u=r._loadedInjector??n,{parameters:d,consumedSegments:h,remainingSegments:p}=c,m=this.createSnapshot(n,r,h,d,s),{segmentGroup:_,slicedSegments:D}=GI(e,h,p,l,i);if(D.length===0&&_.hasChildren()){let De=await this.processChildren(u,l,_,m);return new _t(m,De)}if(l.length===0&&D.length===0)return new _t(m,[]);let C=sn(r)===i,z=await this.processSegment(u,l,_,D,C?B:i,!0,m);return new _t(m,z instanceof _t?[z]:[])}async getChildConfig(n,e,r){if(e.children)return{routes:e.children,injector:n};if(e.loadChildren){if(e._loadedRoutes!==void 0){let i=e._loadedNgModuleFactory;return i&&!e._loadedInjector&&(e._loadedInjector=i.create(n).injector),{routes:e._loadedRoutes,injector:e._loadedInjector}}if(this.abortSignal.aborted)throw new Error(this.abortSignal.reason);if(await md(dL(n,e,r,this.urlSerializer,this.abortSignal))){let i=await this.configLoader.loadChildren(n,e);return e._loadedRoutes=i.routes,e._loadedInjector=i.injector,e._loadedNgModuleFactory=i.factory,i}throw pL(e)}return{routes:[],injector:n}}};function SL(t){t.sort((n,e)=>n.value.outlet===B?-1:e.value.outlet===B?1:n.value.outlet.localeCompare(e.value.outlet))}function ML(t){let n=t.value.routeConfig;return n&&n.path===""}function wS(t){let n=[],e=new Set;for(let r of t){if(!ML(r)){n.push(r);continue}let o=n.find(i=>r.value.routeConfig===i.value.routeConfig);o!==void 0?(o.children.push(...r.children),e.add(o)):n.push(r)}for(let r of e){let o=wS(r.children);n.push(new _t(r.value,o))}return n.filter(r=>!e.has(r))}function TL(t){return t.data||{}}function xL(t){return t.resolve||{}}function AL(t,n,e,r,o,i,s){return Ee(async a=>{let{state:c,tree:l}=await CL(t,n,e,r,a.extractedUrl,o,i,s);return F(g({},a),{targetSnapshot:c,urlAfterRedirects:l})})}function RL(t){return Ee(n=>{let{targetSnapshot:e,guards:{canActivateChecks:r}}=n;if(!r.length)return S(n);let o=new Set(r.map(a=>a.route)),i=new Set;for(let a of o)if(!i.has(a))for(let c of CS(a))i.add(c);let s=0;return ae(i).pipe(or(a=>o.has(a)?NL(a,e,t):(a.data=vv(a,a.parent,t).resolve,S(void 0))),Be(()=>s++),vc(1),Ee(a=>s===i.size?S(n):Re))})}function CS(t){let n=t.children.map(e=>CS(e)).flat();return[t,...n]}function NL(t,n,e){let r=t.routeConfig,o=t._resolve;return r?.title!==void 0&&!fS(r)&&(o[La]=r.title),qi(()=>(t.data=vv(t,t.parent,e).resolve,OL(o,t,n).pipe(V(i=>(t._resolvedData=i,t.data=g(g({},t.data),i),null)))))}function OL(t,n,e){let r=tv(t);if(r.length===0)return S({});let o={};return ae(r).pipe(Ee(i=>kL(t[i],n,e).pipe(Nn(),Be(s=>{if(s instanceof Li)throw Ad(new Xn,s);o[i]=s}))),vc(1),V(()=>o),It(i=>vS(i)?Re:xn(i)))}function kL(t,n,e){let r=n._environmentInjector,o=Vi(t,r),i=o.resolve?o.resolve(n,e):Fe(r,()=>o(n,e));return Eo(i)}function WI(t){return Ve(n=>{let e=t(n);return e?ae(e).pipe(V(()=>n)):S(n)})}var wv=(()=>{class t{buildTitle(e){let r,o=e.root;for(;o!==void 0;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===B);return r}getResolvedTitleForRoute(e){return e.data[La]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(IS),providedIn:"root"})}return t})(),IS=(()=>{class t extends wv{title;constructor(e){super(),this.title=e}updateTitle(e){let r=this.buildTitle(e);r!==void 0&&this.title.setTitle(r)}static \u0275fac=function(r){return new(r||t)(w(qw))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xr=new y("",{factory:()=>({})}),Bi=new y(""),kd=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=f(cm);async loadComponent(e,r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Promise.resolve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await ZI(Fe(e,()=>r.loadComponent())),s=await TS(MS(i));return this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=s,s}finally{this.componentLoaders.delete(r)}})();return this.componentLoaders.set(r,o),o}loadChildren(e,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return Promise.resolve({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);let o=(async()=>{try{let i=await SS(r,this.compiler,e,this.onLoadEndListener);return r._loadedRoutes=i.routes,r._loadedInjector=i.injector,r._loadedNgModuleFactory=i.factory,i}finally{this.childrenLoaders.delete(r)}})();return this.childrenLoaders.set(r,o),o}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();async function SS(t,n,e,r){let o=await ZI(Fe(e,()=>t.loadChildren())),i=await TS(MS(o)),s;i instanceof Ll||Array.isArray(i)?s=i:s=await n.compileModuleAsync(i),r&&r(t);let a,c,l=!1,u;return Array.isArray(s)?(c=s,l=!0):(a=s.create(e).injector,u=s,c=a.get(Bi,[],{optional:!0,self:!0}).flat()),{routes:c.map(Ev),injector:a,factory:u}}function FL(t){return t&&typeof t=="object"&&"default"in t}function MS(t){return FL(t)?t.default:t}async function TS(t){return t}var Fd=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(PL),providedIn:"root"})}return t})(),PL=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,r){return e}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Cv=new y(""),Iv=new y("");function xS(t,n,e){let r=t.get(Iv),o=t.get(O);if(!o.startViewTransition||r.skipNextTransition)return r.skipNextTransition=!1,new Promise(l=>setTimeout(l));let i,s=new Promise(l=>{i=l}),a=o.startViewTransition(()=>(i(),LL(t)));a.updateCallbackDone.catch(l=>{}),a.ready.catch(l=>{}),a.finished.catch(l=>{});let{onViewTransitionCreated:c}=r;return c&&Fe(t,()=>c({transition:a,from:n,to:e})),s}function LL(t){return new Promise(n=>{At({read:()=>setTimeout(n)},{injector:t})})}var jL=()=>{},Sv=new y(""),Pd=(()=>{class t{currentNavigation=K(null,{equal:()=>!1});currentTransition=null;lastSuccessfulNavigation=K(null);events=new x;transitionAbortWithErrorSubject=new x;configLoader=f(kd);environmentInjector=f(re);destroyRef=f(Ue);urlSerializer=f(Tr);rootContexts=f(wo);location=f(Dn);inputBindingEnabled=f(ja,{optional:!0})!==null;titleStrategy=f(wv);options=f(xr,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=f(Fd);createViewTransition=f(Cv,{optional:!0});navigationErrorHandler=f(Sv,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>S(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=o=>this.events.next(new Ed(o)),r=o=>this.events.next(new wd(o));this.configLoader.onLoadEndListener=r,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let r=++this.navigationId;Y(()=>{this.transitions?.next(F(g({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:r,routesRecognizeHandler:{},beforeActivateHandler:{}}))})}setupNavigations(e){return this.transitions=new Ae(null),this.transitions.pipe(he(r=>r!==null),Ve(r=>{let o=!1,i=new AbortController,s=()=>!o&&this.currentTransition?.id===r.id;return S(r).pipe(Ve(a=>{if(this.navigationId>r.id)return this.cancelNavigationTransition(r,"",et.SupersededByNewNavigation),Re;this.currentTransition=r;let c=this.lastSuccessfulNavigation();this.currentNavigation.set({id:a.id,initialUrl:a.rawUrl,extractedUrl:a.extractedUrl,targetBrowserUrl:typeof a.extras.browserUrl=="string"?this.urlSerializer.parse(a.extras.browserUrl):a.extras.browserUrl,trigger:a.source,extras:a.extras,previousNavigation:c?F(g({},c),{previousNavigation:null}):null,abort:()=>i.abort(),routesRecognizeHandler:a.routesRecognizeHandler,beforeActivateHandler:a.beforeActivateHandler});let l=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=a.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!l&&u!=="reload")return this.events.next(new Mn(a.id,this.urlSerializer.serialize(a.rawUrl),"",Ni.IgnoredSameUrlNavigation)),a.resolve(!1),Re;if(this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return S(a).pipe(Ve(d=>(this.events.next(new Mr(d.id,this.urlSerializer.serialize(d.extractedUrl),d.source,d.restoredState)),d.id!==this.navigationId?Re:Promise.resolve(d))),AL(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy,i.signal),Be(d=>{r.targetSnapshot=d.targetSnapshot,r.urlAfterRedirects=d.urlAfterRedirects,this.currentNavigation.update(h=>(h.finalUrl=d.urlAfterRedirects,h)),this.events.next(new Na)}),Ve(d=>ae(r.routesRecognizeHandler.deferredHandle??S(void 0)).pipe(V(()=>d))),Be(()=>{let d=new Ra(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)}));if(l&&this.urlHandlingStrategy.shouldProcessUrl(a.currentRawUrl)){let{id:d,extractedUrl:h,source:p,restoredState:m,extras:_}=a,D=new Mr(d,this.urlSerializer.serialize(h),p,m);this.events.next(D);let C=uS(this.rootComponentType,this.environmentInjector).snapshot;return this.currentTransition=r=F(g({},a),{targetSnapshot:C,urlAfterRedirects:h,extras:F(g({},_),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.update(z=>(z.finalUrl=h,z)),S(r)}else return this.events.next(new Mn(a.id,this.urlSerializer.serialize(a.extractedUrl),"",Ni.IgnoredByUrlHandlingStrategy)),a.resolve(!1),Re}),V(a=>{let c=new yd(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);return this.events.next(c),this.currentTransition=r=F(g({},a),{guards:WP(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),r}),rL(a=>this.events.next(a)),Ve(a=>{if(r.guardsResult=a.guardsResult,a.guardsResult&&typeof a.guardsResult!="boolean")throw Ad(this.urlSerializer,a.guardsResult);let c=new bd(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);if(this.events.next(c),!s())return Re;if(!a.guardsResult)return this.cancelNavigationTransition(a,"",et.GuardRejected),Re;if(a.guards.canActivateChecks.length===0)return S(a);let l=new _d(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);if(this.events.next(l),!s())return Re;let u=!1;return S(a).pipe(RL(this.paramsInheritanceStrategy),Be({next:()=>{u=!0;let d=new Dd(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(d)},complete:()=>{u||this.cancelNavigationTransition(a,"",et.NoDataFromResolver)}}))}),WI(a=>{let c=u=>{let d=[];if(u.routeConfig?._loadedComponent)u.component=u.routeConfig?._loadedComponent;else if(u.routeConfig?.loadComponent){let h=u._environmentInjector;d.push(this.configLoader.loadComponent(h,u.routeConfig).then(p=>{u.component=p}))}for(let h of u.children)d.push(...c(h));return d},l=c(a.targetSnapshot.root);return l.length===0?S(a):ae(Promise.all(l).then(()=>a))}),WI(()=>this.afterPreactivation()),Ve(()=>{let{currentSnapshot:a,targetSnapshot:c}=r,l=this.createViewTransition?.(this.environmentInjector,a.root,c.root);return l?ae(l).pipe(V(()=>r)):S(r)}),Ne(1),Ve(a=>{let c=HP(e.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);this.currentTransition=r=a=F(g({},a),{targetRouterState:c}),this.currentNavigation.update(u=>(u.targetRouterState=c,u)),this.events.next(new ki);let l=r.beforeActivateHandler.deferredHandle;return l?ae(l.then(()=>a)):S(a)}),Be(a=>{new uv(e.routeReuseStrategy,r.targetRouterState,r.currentRouterState,c=>this.events.next(c),this.inputBindingEnabled).activate(this.rootContexts),s()&&(o=!0,this.currentNavigation.update(c=>(c.abort=jL,c)),this.lastSuccessfulNavigation.set(Y(this.currentNavigation)),this.events.next(new Et(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects))),this.titleStrategy?.updateTitle(a.targetRouterState.snapshot),a.resolve(!0))}),jt(yS(i.signal).pipe(he(()=>!o&&!r.targetRouterState),Be(()=>{this.cancelNavigationTransition(r,i.signal.reason+"",et.Aborted)}))),Be({complete:()=>{o=!0}}),jt(this.transitionAbortWithErrorSubject.pipe(Be(a=>{throw a}))),Rn(()=>{i.abort(),o||this.cancelNavigationTransition(r,"",et.SupersededByNewNavigation),this.currentTransition?.id===r.id&&(this.currentNavigation.set(null),this.currentTransition=null)}),It(a=>{if(o=!0,this.destroyed)return r.resolve(!1),Re;if(gS(a))this.events.next(new Ft(r.id,this.urlSerializer.serialize(r.extractedUrl),a.message,a.cancellationCode)),GP(a)?this.events.next(new Fi(a.url,a.navigationBehaviorOptions)):r.resolve(!1);else{let c=new Do(r.id,this.urlSerializer.serialize(r.extractedUrl),a,r.targetSnapshot??void 0);try{let l=Fe(this.environmentInjector,()=>this.navigationErrorHandler?.(c));if(l instanceof Li){let{message:u,cancellationCode:d}=Ad(this.urlSerializer,l);this.events.next(new Ft(r.id,this.urlSerializer.serialize(r.extractedUrl),u,d)),this.events.next(new Fi(l.redirectTo,l.navigationBehaviorOptions))}else throw this.events.next(c),a}catch(l){this.options.resolveNavigationPromiseOnError?r.resolve(!1):r.reject(l)}}return Re}))}))}cancelNavigationTransition(e,r,o){let i=new Ft(e.id,this.urlSerializer.serialize(e.extractedUrl),r,o);this.events.next(i),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),r=Y(this.currentNavigation),o=r?.targetBrowserUrl??r?.extractedUrl;return e.toString()!==o?.toString()&&!r?.extras.skipLocationChange}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function VL(t){return t!==Ai}var AS=new y("");var RS=(()=>{class t{static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(BL),providedIn:"root"})}return t})(),Nd=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}shouldDestroyInjector(n){return!0}},BL=(()=>{class t extends Nd{static \u0275fac=(()=>{let e;return function(o){return(e||(e=Pe(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ld=(()=>{class t{urlSerializer=f(Tr);options=f(xr,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=f(Dn);urlHandlingStrategy=f(Fd);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new it;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:r,targetBrowserUrl:o}){let i=e!==void 0?this.urlHandlingStrategy.merge(e,r):r,s=o??i;return s instanceof it?this.urlSerializer.serialize(s):s}routerUrlState(e){return e?.targetBrowserUrl===void 0||e?.finalUrl===void 0?{}:{\u0275routerUrl:this.urlSerializer.serialize(e.finalUrl)}}commitTransition({targetRouterState:e,finalUrl:r,initialUrl:o}){r&&e?(this.currentUrlTree=r,this.rawUrlTree=this.urlHandlingStrategy.merge(r,o),this.routerState=e):this.rawUrlTree=o}routerState=uS(null,f(re));getRouterState(){return this.routerState}_stateMemento=this.createStateMemento();get stateMemento(){return this._stateMemento}updateStateMemento(){this._stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}restoredState(){return this.location.getState()}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:()=>f(UL),providedIn:"root"})}return t})(),UL=(()=>{class t extends Ld{currentPageId=0;lastSuccessfulId=-1;get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(r=>{r.type==="popstate"&&setTimeout(()=>{e(r.url,r.state,"popstate",{replaceUrl:!0})})})}handleRouterEvent(e,r){e instanceof Mr?this.updateStateMemento():e instanceof Mn?this.commitTransition(r):e instanceof Ra?this.urlUpdateStrategy==="eager"&&(r.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof ki?(this.commitTransition(r),this.urlUpdateStrategy==="deferred"&&!r.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(r),r)):e instanceof Ft&&!lS(e)?this.restoreHistory(r):e instanceof Do?this.restoreHistory(r,!0):e instanceof Et&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,r){let{extras:o,id:i}=r,{replaceUrl:s,state:a}=o;if(this.location.isCurrentPathEqualTo(e)||s){let c=this.browserPageId,l=g(g({},a),this.generateNgRouterState(i,c,r));this.location.replaceState(e,"",l)}else{let c=g(g({},a),this.generateNgRouterState(i,this.browserPageId+1,r));this.location.go(e,"",c)}}restoreHistory(e,r=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,i=this.currentPageId-o;i!==0?this.location.historyGo(i):this.getCurrentUrlTree()===e.finalUrl&&i===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(r&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,r,o){return this.canceledNavigationResolution==="computed"?g({navigationId:e,\u0275routerPageId:r},this.routerUrlState(o)):g({navigationId:e},this.routerUrlState(o))}static \u0275fac=(()=>{let e;return function(o){return(e||(e=Pe(t)))(o||t)}})();static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function jd(t,n){t.events.pipe(he(e=>e instanceof Et||e instanceof Ft||e instanceof Do||e instanceof Mn),V(e=>e instanceof Et||e instanceof Mn?0:(e instanceof Ft?e.code===et.Redirect||e.code===et.SupersededByNewNavigation:!1)?2:1),he(e=>e!==2),Ne(1)).subscribe(()=>{n()})}var wt=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=f(jl);stateManager=f(Ld);options=f(xr,{optional:!0})||{};pendingTasks=f(Bn);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=f(Pd);urlSerializer=f(Tr);location=f(Dn);urlHandlingStrategy=f(Fd);injector=f(re);_events=new x;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=f(RS);injectorCleanup=f(AS,{optional:!0});onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=f(Bi,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!f(ja,{optional:!0});currentNavigation=this.navigationTransitions.currentNavigation.asReadonly();constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{}}),this.subscribeToNavigationEvents()}eventsSubscription=new G;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(r=>{try{let o=this.navigationTransitions.currentTransition,i=Y(this.navigationTransitions.currentNavigation);if(o!==null&&i!==null){if(this.stateManager.handleRouterEvent(r,i),r instanceof Ft&&r.code!==et.Redirect&&r.code!==et.SupersededByNewNavigation)this.navigated=!0;else if(r instanceof Et)this.navigated=!0,this.injectorCleanup?.(this.routeReuseStrategy,this.routerState,this.config);else if(r instanceof Fi){let s=r.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),c=g({scroll:o.extras.scroll,browserUrl:o.extras.browserUrl,info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||VL(o.source)},s);this.scheduleNavigation(a,Ai,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}BP(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortWithErrorSubject.next(o)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ai,this.stateManager.restoredState(),{replaceUrl:!0})}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,r,o,i)=>{this.navigateToSyncWithBrowser(e,o,r,i)})}navigateToSyncWithBrowser(e,r,o,i){let s=o?.navigationId?o:null,a=o?.\u0275routerUrl??e;if(o?.\u0275routerUrl&&(i=F(g({},i),{browserUrl:e})),o){let l=g({},o);delete l.navigationId,delete l.\u0275routerPageId,delete l.\u0275routerUrl,Object.keys(l).length!==0&&(i.state=l)}let c=this.parseUrl(a);this.scheduleNavigation(c,r,s,i).catch(l=>{this.disposed||this.injector.get(mt)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return Y(this.navigationTransitions.currentNavigation)}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Ev),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription?.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0,this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,r={}){let{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s,u=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":u=g(g({},this.currentUrlTree.queryParams),i);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}u!==null&&(u=this.removeEmptyProps(u));let d;try{let h=o?o.snapshot:this.routerState.snapshot.root;d=iS(h)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),d=this.currentUrlTree.root}return sS(d,e,u,l??null,this.urlSerializer)}navigateByUrl(e,r={skipLocationChange:!1}){let o=Sr(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,Ai,null,r)}navigate(e,r={skipLocationChange:!1}){return HL(e),this.navigateByUrl(this.createUrlTree(e,r),r)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.console.warn(St(4018,!1)),this.urlSerializer.parse("/")}}isActive(e,r){let o;if(r===!0?o=g({},mv):r===!1?o=g({},xa):o=g(g({},xa),r),Sr(e))return nv(this.currentUrlTree,e,o);let i=this.parseUrl(e);return nv(this.currentUrlTree,i,o)}removeEmptyProps(e){return Object.entries(e).reduce((r,[o,i])=>(i!=null&&(r[o]=i),r),{})}scheduleNavigation(e,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,h)=>{a=d,c=h});let u=this.pendingTasks.add();return jd(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:i,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(Promise.reject.bind(Promise))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function HL(t){for(let n=0;n{class t{router=f(wt);stateManager=f(Ld);fragment=K("");queryParams=K({});path=K("");serializer=f(Tr);constructor(){this.updateState(),this.router.events?.subscribe(e=>{e instanceof Et&&this.updateState()})}updateState(){let{fragment:e,root:r,queryParams:o}=this.stateManager.getCurrentUrlTree();this.fragment.set(e),this.queryParams.set(o),this.path.set(this.serializer.serialize(new it(r)))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vd=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;hrefAttributeValue=f(new ui("href"),{optional:!0});reactiveHref=um(()=>this.isAnchorElement?this.computeHref(this._urlTree()):this.hrefAttributeValue);get href(){return Y(this.reactiveHref)}set href(e){this.reactiveHref.set(e)}set target(e){this._target.set(e)}get target(){return Y(this._target)}_target=K(void 0);set queryParams(e){this._queryParams.set(e)}get queryParams(){return Y(this._queryParams)}_queryParams=K(void 0,{equal:()=>!1});set fragment(e){this._fragment.set(e)}get fragment(){return Y(this._fragment)}_fragment=K(void 0);set queryParamsHandling(e){this._queryParamsHandling.set(e)}get queryParamsHandling(){return Y(this._queryParamsHandling)}_queryParamsHandling=K(void 0);set state(e){this._state.set(e)}get state(){return Y(this._state)}_state=K(void 0,{equal:()=>!1});set info(e){this._info.set(e)}get info(){return Y(this._info)}_info=K(void 0,{equal:()=>!1});set relativeTo(e){this._relativeTo.set(e)}get relativeTo(){return Y(this._relativeTo)}_relativeTo=K(void 0);set preserveFragment(e){this._preserveFragment.set(e)}get preserveFragment(){return Y(this._preserveFragment)}_preserveFragment=K(!1);set skipLocationChange(e){this._skipLocationChange.set(e)}get skipLocationChange(){return Y(this._skipLocationChange)}_skipLocationChange=K(!1);set replaceUrl(e){this._replaceUrl.set(e)}get replaceUrl(){return Y(this._replaceUrl)}_replaceUrl=K(!1);isAnchorElement;onChanges=new x;applicationErrorHandler=f(mt);options=f(xr,{optional:!0});reactiveRouterState=f($L);constructor(e,r,o,i,s,a){this.router=e,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area"||!!(typeof customElements=="object"&&customElements.get(c)?.observedAttributes?.includes?.("href"))}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.onChanges.next(this)}routerLinkInput=K(null);set routerLink(e){e==null?(this.routerLinkInput.set(null),this.setTabIndexIfNotOnNativeEl(null)):(Sr(e)?this.routerLinkInput.set(e):this.routerLinkInput.set(Array.isArray(e)?e:[e]),this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,r,o,i,s){let a=this._urlTree();if(a===null||this.isAnchorElement&&(e!==0||r||o||i||s||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,c)?.catch(l=>{this.applicationErrorHandler(l)}),!this.isAnchorElement}ngOnDestroy(){}applyAttributeValue(e,r){let o=this.renderer,i=this.el.nativeElement;r!==null?o.setAttribute(i,e,r):o.removeAttribute(i,e)}_urlTree=Xt(()=>{this.reactiveRouterState.path(),this._preserveFragment()&&this.reactiveRouterState.fragment();let e=o=>o==="preserve"||o==="merge";(e(this._queryParamsHandling())||e(this.options?.defaultQueryParamsHandling))&&this.reactiveRouterState.queryParams();let r=this.routerLinkInput();return r===null||!this.router.createUrlTree?null:Sr(r)?r:this.router.createUrlTree(r,{relativeTo:this._relativeTo()!==void 0?this._relativeTo():this.route,queryParams:this._queryParams(),fragment:this._fragment(),queryParamsHandling:this._queryParamsHandling(),preserveFragment:this._preserveFragment()})},{equal:(e,r)=>this.computeHref(e)===this.computeHref(r)});get urlTree(){return Y(this._urlTree)}computeHref(e){return e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e))??"":null}static \u0275fac=function(r){return new(r||t)(E(wt),E(Jn),ks("tabindex"),E(Le),E($),E(tn))};static \u0275dir=T({type:t,selectors:[["","routerLink",""]],hostVars:2,hostBindings:function(r,o){r&1&&Qt("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),r&2&&yt("href",o.reactiveHref(),wp)("target",o._target())},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",ue],skipLocationChange:[2,"skipLocationChange","skipLocationChange",ue],replaceUrl:[2,"replaceUrl","replaceUrl",ue],routerLink:"routerLink"},features:[$e]})}return t})(),zL=(()=>{class t{router;element;renderer;cdr;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new H;link=f(Vd,{optional:!0});constructor(e,r,o,i){this.router=e,this.element=r,this.renderer=o,this.cdr=i,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof Et&&this.update()})}ngAfterContentInit(){S(this.links.changes,S(null)).pipe(cn()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=ae(e).pipe(cn()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(e){let r=Array.isArray(e)?e:e.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(r=>{e?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let r=GL(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact??!1?g({},mv):g({},xa);return o=>{let i=o.urlTree;return i?Y(gv(i,e,r)):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(r){return new(r||t)(E(wt),E($),E(Le),E(Jt))};static \u0275dir=T({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(r,o,i){if(r&1&&Gl(i,Vd,5),r&2){let s;Wl(s=ql())&&(o.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[$e]})}return t})();function GL(t){let n=t;return!!(n.paths||n.matrixParams||n.queryParams||n.fragment)}var Ba=class{};var NS=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,r,o,i){this.router=e,this.injector=r,this.preloadingStrategy=o,this.loader=i}setUpPreloading(){this.subscription=this.router.events.pipe(he(e=>e instanceof Et),or(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription?.unsubscribe()}processRoutes(e,r){let o=[];for(let i of r){i.providers&&!i._injector&&(i._injector=oi(i.providers,e,""));let s=i._injector??e;i._loadedNgModuleFactory&&!i._loadedInjector&&(i._loadedInjector=i._loadedNgModuleFactory.create(s).injector);let a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&i.canLoad===void 0||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return ae(o).pipe(cn())}preloadConfig(e,r){return this.preloadingStrategy.preload(r,()=>{if(e.destroyed)return S(null);let o;r.loadChildren&&r.canLoad===void 0?o=ae(this.loader.loadChildren(e,r)):o=S(null);let i=o.pipe(Ee(s=>s===null?S(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,r._loadedNgModuleFactory=s.factory,this.processRoutes(s.injector??e,s.routes))));if(r.loadComponent&&!r._loadedComponent){let s=this.loader.loadComponent(e,r);return ae([i,s]).pipe(cn())}else return i})}static \u0275fac=function(r){return new(r||t)(w(wt),w(re),w(Ba),w(kd))};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),OS=new y(""),WL=(()=>{class t{options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=Ai;restoredId=0;store={};isHydrating=f(gp,{optional:!0})??!1;urlSerializer=f(Tr);zone=f(j);viewportScroller=f(Vm);transitions=f(Pd);constructor(e){this.options=e,this.options.scrollPositionRestoration||="disabled",this.options.anchorScrolling||="disabled",this.isHydrating&&f(Ge).whenStable().then(()=>{this.isHydrating=!1})}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Mr?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Et?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Mn&&e.code===Ni.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{if(!(e instanceof Oi)||e.scrollBehavior==="manual")return;let r={behavior:"instant"};e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0],r):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position,r):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0])})}scheduleScrollEvent(e,r){if(this.isHydrating)return;let o=Y(this.transitions.currentNavigation)?.extras.scroll;this.zone.runOutsideAngular(async()=>{await new Promise(i=>{setTimeout(i),typeof requestAnimationFrame<"u"&&requestAnimationFrame(i)}),this.zone.run(()=>{this.transitions.events.next(new Oi(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,r,o))})})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(r){Bp()};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();function qL(){return f(wt).routerState.root}function Ua(t,n){return{\u0275kind:t,\u0275providers:n}}function YL(){let t=f(W);return n=>{let e=t.get(Ge);if(n!==e.components[0])return;let r=t.get(wt),o=t.get(kS);t.get(Tv)===1&&r.initialNavigation(),t.get(LS,null,{optional:!0})?.setUpPreloading(),t.get(OS,null,{optional:!0})?.init(),r.resetRootComponentType(e.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}var kS=new y("",{factory:()=>new x}),Tv=new y("",{factory:()=>1});function FS(){let t=[{provide:wl,useValue:!0},{provide:Tv,useValue:0},Hl(()=>{let n=f(W);return n.get(Im,Promise.resolve()).then(()=>new Promise(r=>{let o=n.get(wt),i=n.get(kS);jd(o,()=>{r(!0)}),n.get(Pd).afterPreactivation=()=>(r(!0),i.closed?S(void 0):i),o.initialNavigation()}))})];return Ua(2,t)}function PS(){let t=[Hl(()=>{f(wt).setUpLocationChangeListener()}),{provide:Tv,useValue:2}];return Ua(3,t)}var LS=new y("");function jS(t){return Ua(0,[{provide:LS,useExisting:NS},{provide:Ba,useExisting:t}])}function VS(){return Ua(8,[_v,{provide:ja,useExisting:_v}])}function BS(t){Kt("NgRouterViewTransitions");let n=[{provide:Cv,useValue:xS},{provide:Iv,useValue:g({skipNextTransition:!!t?.skipInitialTransition},t)}];return Ua(9,n)}var US=[Dn,{provide:Tr,useClass:Xn},wt,wo,{provide:Jn,useFactory:qL},kd,[]],ZL=(()=>{class t{constructor(){}static forRoot(e,r){return{ngModule:t,providers:[US,[],{provide:Bi,multi:!0,useValue:e},[],r?.errorHandler?{provide:Sv,useValue:r.errorHandler}:[],{provide:xr,useValue:r||{}},r?.useHash?QL():XL(),KL(),r?.preloadingStrategy?jS(r.preloadingStrategy).\u0275providers:[],r?.initialNavigation?JL(r):[],r?.bindToComponentInputs?VS().\u0275providers:[],r?.enableViewTransitions?BS().\u0275providers:[],e1()]}}static forChild(e){return{ngModule:t,providers:[{provide:Bi,multi:!0,useValue:e}]}}static \u0275fac=function(r){return new(r||t)};static \u0275mod=Q({type:t});static \u0275inj=q({})}return t})();function KL(){return{provide:OS,useFactory:()=>{let t=f(Vm),n=f(xr);return n.scrollOffset&&t.setOffset(n.scrollOffset),new WL(n)}}}function QL(){return{provide:tn,useClass:km}}function XL(){return{provide:tn,useClass:nu}}function JL(t){return[t.initialNavigation==="disabled"?PS().\u0275providers:[],t.initialNavigation==="enabledBlocking"?FS().\u0275providers:[]]}var Mv=new y("");function e1(){return[{provide:Mv,useFactory:YL},{provide:$l,multi:!0,useExisting:Mv}]}var Bd=class t extends Error{originalError;constructor(n){super(n)}static fromError(n,e){let r=new t(n);return r.originalError=e,r}},n1=(()=>{class t{handleError(e){let r=e;return e.name==="HttpErrorResponse"&&e.status===0?r=Bd.fromError("Controller is unreachable",e):e.error?.message&&(r=Bd.fromError(e.error.message,e)),xn(()=>r)}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})(),eee=(()=>{class t{http;errorHandler;router;requestsNotificationEmitter=new H;isRefreshing=!1;failedQueue=[];constructor(e,r,o){this.http=e,this.errorHandler=r,this.router=o}get(e,r,o){o=this.getJsonOptions(o);let i=this.getOptionsForController(e,r,o);return this.requestsNotificationEmitter.emit(`GET ${i.url}`),this.handleResponse(e,this.http.get(i.url,i.options),"GET",r,null,o)}getText(e,r,o){o=this.getTextOptions(o);let i=this.getOptionsForController(e,r,o);return this.requestsNotificationEmitter.emit(`GET ${i.url}`),this.handleResponse(e,this.http.get(i.url,i.options),"GET",r,null,o)}getBlob(e,r,o){o=this.getBlobOptions(o);let i=this.getOptionsForController(e,r,o);return this.requestsNotificationEmitter.emit(`GET ${i.url}`),this.handleResponse(e,this.http.get(i.url,i.options),"GET",r,null,o)}post(e,r,o,i){i=this.getJsonOptions(i);let s=this.getOptionsForController(e,r,i);return this.requestsNotificationEmitter.emit(`POST ${s.url}`),this.handleResponse(e,this.http.post(s.url,o,s.options),"POST",r,o,i)}postBlob(e,r,o){let i={responseType:"blob",headers:{}},s=this.getOptionsForController(e,r,i);return this.requestsNotificationEmitter.emit(`POST ${s.url}`),this.handleResponse(e,this.http.post(s.url,o,s.options),"POST",r,o,i)}put(e,r,o,i){i=this.getJsonOptions(i);let s=this.getOptionsForController(e,r,i);return this.requestsNotificationEmitter.emit(`PUT ${s.url}`),this.handleResponse(e,this.http.put(s.url,o,s.options),"PUT",r,o,i)}delete(e,r,o){o=this.getJsonOptions(o);let i=this.getOptionsForController(e,r,o);return this.requestsNotificationEmitter.emit(`DELETE ${i.url}`),this.handleResponse(e,this.http.delete(i.url,i.options),"DELETE",r,null,o)}patch(e,r,o,i){i=this.getJsonOptions(i);let s=this.getOptionsForController(e,r,i);return this.handleResponse(e,this.http.patch(s.url,o,s.options),"PATCH",r,o,i)}head(e,r,o){o=this.getJsonOptions(o);let i=this.getOptionsForController(e,r,o);return this.handleResponse(e,this.http.head(i.url,i.options),"HEAD",r,null,o)}options(e,r,o){o=this.getJsonOptions(o);let i=this.getOptionsForController(e,r,o);return this.handleResponse(e,this.http.options(i.url,i.options),"OPTIONS",r,null,o)}getJsonOptions(e){return e||{responseType:"json"}}getTextOptions(e){return e||{responseType:"text"}}getBlobOptions(e){return e||{responseType:"blob"}}getOptionsForController(e,r,o){return e&&e.host&&e.port?(e.protocol||(e.protocol=location.protocol),r=`${e.protocol}//${e.host}:${e.port}/${ed.current_version}${r}`):r=`/${ed.current_version}${r}`,o.headers||(o.headers={}),e&&e.authToken&&!e.tokenExpired&&(o.headers.Authorization=`Bearer ${e.authToken}`),{url:r,options:o}}handleResponse(e,r,o,i,s,a){return r.pipe(It(c=>{if(c.status!==401)return this.errorHandler.handleError(c);if(i.endsWith("/access/users/login")||i.endsWith("/access/users/authenticate")||i.endsWith("/access/users/refresh"))return this.errorHandler.handleError(c);let l=localStorage.getItem(`refresh_token_${e.id}`);return l?this.retryAfterRefresh(e,o,i,s,a,l):(this.redirectToLogin(e),xn(()=>c))}))}retryAfterRefresh(e,r,o,i,s,a){return this.isRefreshing?new P(c=>{this.failedQueue.push({resolve:()=>{this.executeRequest(e,r,o,i,s).subscribe({next:l=>{c.next(l),c.complete()},error:l=>c.error(l)})},reject:l=>c.error(l)})}):(this.isRefreshing=!0,this.doRefreshToken(e,a).pipe(Ve(c=>(e.authToken=c.access_token,localStorage.setItem(`controller-${e.id}`,JSON.stringify(e)),c.refresh_token&&localStorage.setItem(`refresh_token_${e.id}`,c.refresh_token),this.isRefreshing=!1,this.processQueue(null),this.executeRequest(e,r,o,i,s))),It(c=>(this.isRefreshing=!1,this.processQueue(c),c.status===401&&this.redirectToLogin(e),xn(()=>c)))))}doRefreshToken(e,r){let o=`${e.protocol}//${e.host}:${e.port}/${ed.current_version}/access/users/refresh`;return this.http.post(o,{refresh_token:r},{headers:new wn({"Content-Type":"application/json"})})}executeRequest(e,r,o,i,s){let a=this.getOptionsForController(e,o,s);return this.requestsNotificationEmitter.emit(`${r} ${a.url}`),this.http.request(r,a.url,{body:i,headers:a.options.headers,params:a.options.params,responseType:a.options.responseType||"json"})}processQueue(e){e?this.failedQueue.forEach(r=>r.reject(e)):this.failedQueue.forEach(r=>r.resolve()),this.failedQueue=[]}clearTokens(e){localStorage.removeItem(`refresh_token_${e.id}`),e.authToken=null,localStorage.setItem(`controller-${e.id}`,JSON.stringify(e))}redirectToLogin(e){this.clearTokens(e),e.tokenExpired=!0,localStorage.setItem(`controller-${e.id}`,JSON.stringify(e)),this.isRefreshing=!1,this.processQueue(new Error("Session expired, redirecting to login")),this.router.navigate(["/controller",e.id,"login"])}static \u0275fac=function(r){return new(r||t)(w(pi),w(n1),w(wt))};static \u0275prov=v({token:t,factory:t.\u0275fac})}return t})();var xv=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected=null;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new x;constructor(n=!1,e,r=!0,o){this._multiple=n,this._emitChanges=r,this.compareWith=o,e&&e.length&&(n?e.forEach(i=>this._markSelected(i)):this._markSelected(e[0]),this._selectedToEmit.length=0)}select(...n){this._verifyValueAssignment(n),n.forEach(r=>this._markSelected(r));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(r=>this._unmarkSelected(r));let e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);let e=this.selected,r=new Set(n.map(i=>this._getConcreteValue(i)));n.forEach(i=>this._markSelected(i)),e.filter(i=>!r.has(this._getConcreteValue(i,r))).forEach(i=>this._unmarkSelected(i));let o=this._hasQueuedChanges();return this._emitChangeEvent(),o}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();let e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){return this._selection.has(this._getConcreteValue(n))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){n=this._getConcreteValue(n),this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){n=this._getConcreteValue(n),this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){n.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(n,e){if(this.compareWith){e=e??this._selection;for(let r of e)if(this.compareWith(n,r))return r;return n}else return n}};var r1=(()=>{class t{_listeners=[];notify(e,r){for(let o of this._listeners)o(e,r)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(r=>e!==r)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(r){return new(r||t)};static \u0275prov=v({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var HS=class{applyChanges(n,e,r,o,i){n.forEachOperation((s,a,c)=>{let l,u;if(s.previousIndex==null){let d=r(s,a,c);l=e.createEmbeddedView(d.templateRef,d.context,d.index),u=In.INSERTED}else c==null?(e.remove(a),u=In.REMOVED):(l=e.get(a),e.move(l,c),u=In.MOVED);i&&i({context:l?.context,operation:u,record:s})})}detach(){}};var pee=(()=>{class t{_animationsDisabled=Cr();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(r){return new(r||t)};static \u0275cmp=Te({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(r,o){r&2&&Xe("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(r,o){},styles:[`.mat-pseudo-checkbox { border-radius: 2px; cursor: pointer; display: inline-block; vertical-align: middle; box-sizing: border-box; position: relative; flex-shrink: 0; transition: border-color 90ms cubic-bezier(0, 0, 0.2, 0.1), background-color 90ms cubic-bezier(0, 0, 0.2, 0.1); } .mat-pseudo-checkbox::after { position: absolute; opacity: 0; content: ""; border-bottom: 2px solid currentColor; transition: opacity 90ms cubic-bezier(0, 0, 0.2, 0.1); } .mat-pseudo-checkbox._mat-animation-noopable { transition: none !important; animation: none !important; } .mat-pseudo-checkbox._mat-animation-noopable::after { transition: none; } .mat-pseudo-checkbox-disabled { cursor: default; } .mat-pseudo-checkbox-indeterminate::after { left: 1px; opacity: 1; border-radius: 2px; } .mat-pseudo-checkbox-checked::after { left: 1px; border-left: 2px solid currentColor; transform: rotate(-45deg); opacity: 1; box-sizing: content-box; } .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after { color: var(--mat-pseudo-checkbox-minimal-selected-checkmark-color, var(--mat-sys-primary)); } .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after { color: var(--mat-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mat-pseudo-checkbox-full { border-color: var(--mat-pseudo-checkbox-full-unselected-icon-color, var(--mat-sys-on-surface-variant)); border-width: 2px; border-style: solid; } .mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled { border-color: var(--mat-pseudo-checkbox-full-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate { background-color: var(--mat-pseudo-checkbox-full-selected-icon-color, var(--mat-sys-primary)); border-color: transparent; } .mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after { color: var(--mat-pseudo-checkbox-full-selected-checkmark-color, var(--mat-sys-on-primary)); } .mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled { background-color: var(--mat-pseudo-checkbox-full-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent)); } .mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after, .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after { color: var(--mat-pseudo-checkbox-full-disabled-selected-checkmark-color, var(--mat-sys-surface)); } .mat-pseudo-checkbox { width: 18px; height: 18px; } .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after { width: 14px; height: 6px; transform-origin: center; top: -4.2426406871px; left: 0; bottom: 0; right: 0; margin: auto; } .mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after { top: 8px; width: 16px; } .mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after { width: 10px; height: 4px; transform-origin: center; top: -2.8284271247px; left: 0; bottom: 0; right: 0; margin: auto; } .mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after { top: 6px; width: 12px; } `],encapsulation:2,changeDetection:0})}return t})();export{g as a,F as b,ZS as c,o1 as d,i1 as e,s1 as f,G as g,P as h,x as i,Ae as j,$i as k,qv as l,Ct as m,Yv as n,Re as o,Wi as p,ae as q,S as r,xn as s,Vt as t,fM as u,pM as v,V as w,Ro as x,Ee as y,ln as z,qi as A,Yi as B,tf as C,Pr as D,AM as E,RM as F,he as G,mc as H,It as I,NM as J,or as K,Lr as L,Ne as M,nf as N,OM as O,gc as P,Rn as Q,dy as R,Zi as S,fy as T,Ki as U,No as V,Ve as W,jt as X,Be as Y,b as Z,Ie as _,v as $,q as aa,y as ba,w as ca,f as da,Ly as ea,re as fa,J as ga,Qy as ha,Xy as ia,ub as ja,db as ka,W as la,O as ma,Ue as na,H as oa,j as pa,Ze as qa,K as ra,Es as sa,$e as ta,Pe as ua,$ as va,Un as wa,so as xa,Fs as ya,P0 as za,$_ as Aa,z_ as Ba,V0 as Ca,B0 as Da,Q_ as Ea,At as Fa,gt as Ga,He as Ha,Le as Ia,E as Ja,Bp as Ka,Qe as La,Te as Ma,Q as Na,T as Oa,ii as Pa,UA as Qa,ie as Ra,ZD as Sa,KD as Ta,si as Ua,Ge as Va,tE as Wa,yt as Xa,eR as Ya,nR as Za,em as _a,rR as $a,oR as ab,iR as bb,sR as cb,aR as db,nE as eb,bl as fb,tm as gb,zl as hb,ai as ib,ci as jb,Gn as kb,nm as lb,rm as mb,oE as nb,hR as ob,iE as pb,Qt as qb,aE as rb,yR as sb,Dr as tb,_n as ub,Gl as vb,om as wb,Wl as xb,ql as yb,lE as zb,uE as Ab,DR as Bb,ER as Cb,im as Db,Xe as Eb,zs as Fb,$R as Gb,bE as Hb,sm as Ib,_E as Jb,DE as Kb,EE as Lb,wE as Mb,CE as Nb,ZR as Ob,IE as Pb,KR as Qb,QR as Rb,ze as Sb,tN as Tb,nN as Ub,rN as Vb,oN as Wb,iN as Xb,aN as Yb,lN as Zb,uN as _b,dN as $b,fN as ac,hN as bc,Y as cc,Xt as dc,ui as ec,M5 as fc,T5 as gc,zE as hc,x5 as ic,A5 as jc,R5 as kc,N5 as lc,Jt as mc,Xl as nc,ue as oc,wm as pc,k5 as qc,Dn as rc,hO as sc,yw as tc,pO as uc,mO as vc,gO as wc,bO as xc,DO as yc,CO as zc,IO as Ac,Pm as Bc,Dw as Cc,Wm as Dc,HO as Ec,ZO as Fc,wn as Gc,Yn as Hc,di as Ic,lo as Jc,fi as Kc,Hw as Lc,pi as Mc,gk as Nc,qw as Oc,cY as Pc,ia as Qc,Nt as Rc,gg as Sc,EF as Tc,ot as Uc,ha as Vc,pa as Wc,$u as Xc,HC as Yc,Ot as Zc,_e as _c,_i as $c,_a as ad,iP as bd,Fg as cd,In as dd,Pg as ed,rn as fd,Da as gd,aP as hd,Si as id,XQ as jd,Lg as kd,jg as ld,va as md,mo as nd,Vg as od,Mi as pd,td as qd,nd as rd,iX as sd,sX as td,EI as ud,Yu as vd,AI as wd,zg as xd,Ca as yd,Gg as zd,ad as Ad,qg as Bd,LI as Cd,Yg as Dd,Zg as Ed,$g as Fd,hP as Gd,pP as Hd,HS as Id,fo as Jd,iC as Kd,Cn as Ld,Zw as Md,rt as Nd,Zn as Od,IY as Pd,SY as Qd,uo as Rd,MY as Sd,Bk as Td,vi as Ud,xY as Vd,zk as Wd,AY as Xd,Wk as Yd,Yk as Zd,CC as _d,IC as $d,Xk as ae,eF as be,RY as ce,NY as de,sF as ee,cF as fe,uF as ge,dF as he,OY as ie,kY as je,FY as ke,Gu as le,wF as me,Uu as ne,Wu as oe,bg as pe,l7 as qe,XC as re,nI as se,LF as te,VF as ue,BF as ve,Dg as we,Eg as xe,wg as ye,nK as ze,HF as Ae,$F as Be,gK as Ce,jK as De,SK as Ee,RK as Fe,GF as Ge,Cr as He,Mr as Ie,Et as Je,Ft as Ke,Do as Le,Jn as Me,bv as Ne,wt as Oe,Vd as Pe,zL as Qe,ZL as Re,LC as Se,gZ as Te,vZ as Ue,ba as Ve,Rg as We,JK as Xe,vI as Ye,yI as Ze,eP as _e,_I as $e,SQ as af,MQ as bf,ed as cf,n1 as df,eee as ef,xv as ff,r1 as gf,pee as hf};