@myhealth-belgium/webcomponent-vaccinations 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,9 @@
1
+ var Qp=Object.defineProperty;var Yp=(t,e,r)=>e in t?Qp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var o=(t,e,r)=>Yp(t,typeof e!="symbol"?e+"":e,r);var Jp=Object.defineProperty,Xp=Object.defineProperties,tm=Object.getOwnPropertyDescriptors,Yr=Object.getOwnPropertySymbols,tc=Object.prototype.hasOwnProperty,ec=Object.prototype.propertyIsEnumerable,ml=(t,e,r)=>e in t?Jp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Z=(t,e)=>{for(var r in e||(e={}))tc.call(e,r)&&ml(t,r,e[r]);if(Yr)for(var r of Yr(e))ec.call(e,r)&&ml(t,r,e[r]);return t},It=(t,e)=>Xp(t,tm(e)),HE=(t,e)=>{var r={};for(var n in t)tc.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Yr)for(var n of Yr(t))e.indexOf(n)<0&&ec.call(t,n)&&(r[n]=t[n]);return r},at=(t,e,r)=>new Promise((n,i)=>{var a=u=>{try{l(r.next(u))}catch(c){i(c)}},s=u=>{try{l(r.throw(u))}catch(c){i(c)}},l=u=>u.done?n(u.value):Promise.resolve(u.value).then(a,s);l((r=r.apply(t,e)).next())});function H(t){return typeof t=="function"}function nc(t){return H(t==null?void 0:t.lift)}function it(t){return e=>{if(nc(e))return e.lift(function(r){try{return t(r,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function em(t){return it((e,r)=>{try{e.subscribe(r)}finally{r.add(t)}})}function Bs(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 oa=Bs(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:
2
+ ${e.map((r,n)=>`${n+1}) ${r.toString()}`).join(`
3
+ `)}`:"",this.name="UnsubscriptionError",this.errors=e});function Jr(t,e){if(t){let r=t.indexOf(e);0<=r&&t.splice(r,1)}}var xt=class $a{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let a of r)a.remove(this);else r.remove(this);let{initialTeardown:n}=this;if(H(n))try{n()}catch(a){e=a instanceof oa?a.errors:[a]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let a of i)try{bl(a)}catch(s){e=e??[],s instanceof oa?e=[...e,...s.errors]:e.push(s)}}if(e)throw new oa(e)}}add(e){var r;if(e&&e!==this)if(this.closed)bl(e);else{if(e instanceof $a){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Jr(r,e)}remove(e){let{_finalizers:r}=this;r&&Jr(r,e),e instanceof $a&&e._removeParent(this)}};xt.EMPTY=(()=>{let t=new xt;return t.closed=!0,t})();var rc=xt.EMPTY;function ic(t){return t instanceof xt||t&&"closed"in t&&H(t.remove)&&H(t.add)&&H(t.unsubscribe)}function bl(t){H(t)?t():t.unsubscribe()}var Us={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Xr={setTimeout(t,e,...r){let{delegate:n}=Xr;return n!=null&&n.setTimeout?n.setTimeout(t,e,...r):setTimeout(t,e,...r)},clearTimeout(t){let{delegate:e}=Xr;return((e==null?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function ac(t){Xr.setTimeout(()=>{let{onUnhandledError:e}=Us;if(e)e(t);else throw t})}function Za(){}var nm=qs("C",void 0,void 0);function rm(t){return qs("E",void 0,t)}function im(t){return qs("N",t,void 0)}function qs(t,e,r){return{kind:t,value:e,error:r}}function Pr(t){t()}var $s=class extends xt{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,ic(t)&&t.add(this)):this.destination=om}static create(t,e,r){return new qn(t,e,r)}next(t){this.isStopped?la(im(t),this):this._next(t)}error(t){this.isStopped?la(rm(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?la(nm,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},am=class{constructor(t){this.partialObserver=t}next(t){let{partialObserver:e}=this;if(e.next)try{e.next(t)}catch(r){yr(r)}}error(t){let{partialObserver:e}=this;if(e.error)try{e.error(t)}catch(r){yr(r)}else yr(t)}complete(){let{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(e){yr(e)}}},qn=class extends $s{constructor(t,e,r){super();let n;H(t)||!t?n={next:t??void 0,error:e??void 0,complete:r??void 0}:n=t,this.destination=new am(n)}};function yr(t){ac(t)}function sm(t){throw t}function la(t,e){let{onStoppedNotification:r}=Us;r&&Xr.setTimeout(()=>r(t,e))}var om={closed:!0,next:Za,error:sm,complete:Za},Zs=typeof Symbol=="function"&&Symbol.observable||"@@observable";function wn(t){return t}function lm(t){return t.length===0?wn:t.length===1?t[0]:function(e){return t.reduce((r,n)=>n(r),e)}}var W=(()=>{class t{constructor(r){r&&(this._subscribe=r)}lift(r){let n=new t;return n.source=this,n.operator=r,n}subscribe(r,n,i){let a=cm(r)?r:new qn(r,n,i);return Pr(()=>{let{operator:s,source:l}=this;a.add(s?s.call(a,l):l?this._subscribe(a):this._trySubscribe(a))}),a}_trySubscribe(r){try{return this._subscribe(r)}catch(n){r.error(n)}}forEach(r,n){return n=gl(n),new n((i,a)=>{let s=new qn({next:l=>{try{r(l)}catch(u){a(u),s.unsubscribe()}},error:a,complete:i});this.subscribe(s)})}_subscribe(r){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(r)}[Zs](){return this}pipe(...r){return lm(r)(this)}toPromise(r){return r=gl(r),new r((n,i)=>{let a;this.subscribe(s=>a=s,s=>i(s),()=>n(a))})}}return t.create=e=>new t(e),t})();function gl(t){var e;return(e=t??Us.Promise)!==null&&e!==void 0?e:Promise}function um(t){return t&&H(t.next)&&H(t.error)&&H(t.complete)}function cm(t){return t&&t instanceof $s||um(t)&&ic(t)}function X(t,e,r,n,i){return new dm(t,e,r,n,i)}var dm=class extends $s{constructor(t,e,r,n,i,a){super(t),this.onFinalize=i,this.shouldUnsubscribe=a,this._next=e?function(s){try{e(s)}catch(l){t.error(l)}}:super._next,this._error=n?function(s){try{n(s)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){t.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:e}=this;super.unsubscribe(),!e&&((t=this.onFinalize)===null||t===void 0||t.call(this))}}};function fm(){return it((t,e)=>{let r=null;t._refCount++;let n=X(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){r=null;return}let i=t._connection,a=r;r=null,i&&(!a||i===a)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(n),n.closed||(r=t.connect())})}var zE=class extends W{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,nc(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){let t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:t}=this;this._subject=this._connection=null,t==null||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new xt;let e=this.getSubject();t.add(this.source.subscribe(X(e,void 0,()=>{this._teardown(),e.complete()},r=>{this._teardown(),e.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=xt.EMPTY)}return t}refCount(){return fm()(this)}},hm=Bs(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}),ut=(()=>{class t extends W{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let n=new yl(this,this);return n.operator=r,n}_throwIfClosed(){if(this.closed)throw new hm}next(r){Pr(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(r)}})}error(r){Pr(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:n}=this;for(;n.length;)n.shift().error(r)}})}complete(){Pr(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:n,isStopped:i,observers:a}=this;return n||i?rc:(this.currentObservers=null,a.push(r),new xt(()=>{this.currentObservers=null,Jr(a,r)}))}_checkFinalizedStatuses(r){let{hasError:n,thrownError:i,isStopped:a}=this;n?r.error(i):a&&r.complete()}asObservable(){let r=new W;return r.source=this,r}}return t.create=(e,r)=>new yl(e,r),t})(),yl=class extends ut{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.next)===null||r===void 0||r.call(e,t)}error(t){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.error)===null||r===void 0||r.call(e,t)}complete(){var t,e;(e=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||e===void 0||e.call(t)}_subscribe(t){var e,r;return(r=(e=this.source)===null||e===void 0?void 0:e.subscribe(t))!==null&&r!==void 0?r:rc}},sc=class extends ut{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){let e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){let{hasError:t,thrownError:e,_value:r}=this;if(t)throw e;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}},Ks={now(){return(Ks.delegate||Date).now()},delegate:void 0},pm=class extends ut{constructor(t=1/0,e=1/0,r=Ks){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){let{isStopped:e,_buffer:r,_infiniteTimeWindow:n,_timestampProvider:i,_windowTime:a}=this;e||(r.push(t),!n&&r.push(i.now()+a)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();let e=this._innerSubscribe(t),{_infiniteTimeWindow:r,_buffer:n}=this,i=n.slice();for(let a=0;a<i.length&&!t.closed;a+=r?1:2)t.next(i[a]);return this._checkFinalizedStatuses(t),e}_trimBuffer(){let{_bufferSize:t,_timestampProvider:e,_buffer:r,_infiniteTimeWindow:n}=this,i=(n?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!n){let a=e.now(),s=0;for(let l=1;l<r.length&&r[l]<=a;l+=2)s=l;s&&r.splice(0,s+1)}}},mm=class extends xt{constructor(t,e){super()}schedule(t,e=0){return this}},ti={setInterval(t,e,...r){let{delegate:n}=ti;return n!=null&&n.setInterval?n.setInterval(t,e,...r):setInterval(t,e,...r)},clearInterval(t){let{delegate:e}=ti;return((e==null?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0},bm=class extends mm{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){var r;if(this.closed)return this;this.state=t;let n=this.id,i=this.scheduler;return n!=null&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,r=0){return ti.setInterval(t.flush.bind(t,this),r)}recycleAsyncId(t,e,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return e;e!=null&&ti.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(t,e);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let r=!1,n;try{this.work(t)}catch(i){r=!0,n=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){let{id:t,scheduler:e}=this,{actions:r}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Jr(r,this),t!=null&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}},Ka=class oc{constructor(e,r=oc.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,n){return new this.schedulerActionCtor(this,e).schedule(n,r)}};Ka.now=Ks.now;var gm=class extends Ka{constructor(t,e=Ka.now){super(t,e),this.actions=[],this._active=!1}flush(t){let{actions:e}=this;if(this._active){e.push(t);return}let r;this._active=!0;do if(r=t.execute(t.state,t.delay))break;while(t=e.shift());if(this._active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}}},Ws=new gm(bm),ym=Ws,lc=new W(t=>t.complete());function uc(t){return t&&H(t.schedule)}function Gs(t){return t[t.length-1]}function cc(t){return H(Gs(t))?t.pop():void 0}function ar(t){return uc(Gs(t))?t.pop():void 0}function vm(t,e){return typeof Gs(t)=="number"?t.pop():e}function _m(t,e,r,n){function i(a){return a instanceof r?a:new r(function(s){s(a)})}return new(r||(r=Promise))(function(a,s){function l(d){try{c(n.next(d))}catch(f){s(f)}}function u(d){try{c(n.throw(d))}catch(f){s(f)}}function c(d){d.done?a(d.value):i(d.value).then(l,u)}c((n=n.apply(t,[])).next())})}function vl(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function an(t){return this instanceof an?(this.v=t,this):new an(t)}function wm(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,a=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),l("next"),l("throw"),l("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(h){return function(y){return Promise.resolve(y).then(h,f)}}function l(h,y){n[h]&&(i[h]=function(b){return new Promise(function(_,p){a.push([h,b,_,p])>1||u(h,b)})},y&&(i[h]=y(i[h])))}function u(h,y){try{c(n[h](y))}catch(b){m(a[0][3],b)}}function c(h){h.value instanceof an?Promise.resolve(h.value.v).then(d,f):m(a[0][2],h)}function d(h){u("next",h)}function f(h){u("throw",h)}function m(h,y){h(y),a.shift(),a.length&&u(a[0][0],a[0][1])}}function xm(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof vl=="function"?vl(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=t[a]&&function(s){return new Promise(function(l,u){s=t[a](s),i(l,u,s.done,s.value)})}}function i(a,s,l,u){Promise.resolve(u).then(function(c){a({value:c,done:l})},s)}}var Qs=t=>t&&typeof t.length=="number"&&typeof t!="function";function dc(t){return H(t==null?void 0:t.then)}function fc(t){return H(t[Zs])}function hc(t){return Symbol.asyncIterator&&H(t==null?void 0:t[Symbol.asyncIterator])}function pc(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 km(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var mc=km();function bc(t){return H(t==null?void 0:t[mc])}function gc(t){return wm(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:r,done:n}=yield an(e.read());if(n)return yield an(void 0);yield yield an(r)}}finally{e.releaseLock()}})}function yc(t){return H(t==null?void 0:t.getReader)}function bt(t){if(t instanceof W)return t;if(t!=null){if(fc(t))return Im(t);if(Qs(t))return Em(t);if(dc(t))return Cm(t);if(hc(t))return vc(t);if(bc(t))return Tm(t);if(yc(t))return Sm(t)}throw pc(t)}function Im(t){return new W(e=>{let r=t[Zs]();if(H(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Em(t){return new W(e=>{for(let r=0;r<t.length&&!e.closed;r++)e.next(t[r]);e.complete()})}function Cm(t){return new W(e=>{t.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,ac)})}function Tm(t){return new W(e=>{for(let r of t)if(e.next(r),e.closed)return;e.complete()})}function vc(t){return new W(e=>{Dm(t,e).catch(r=>e.error(r))})}function Sm(t){return vc(gc(t))}function Dm(t,e){var r,n,i,a;return _m(this,void 0,void 0,function*(){try{for(r=xm(t);n=yield r.next(),!n.done;){let s=n.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{n&&!n.done&&(a=r.return)&&(yield a.call(r))}finally{if(i)throw i.error}}e.complete()})}function re(t,e,r,n=0,i=!1){let a=e.schedule(function(){r(),i?t.add(this.schedule(null,n)):this.unsubscribe()},n);if(t.add(a),!i)return a}function _c(t,e=0){return it((r,n)=>{r.subscribe(X(n,i=>re(n,t,()=>n.next(i),e),()=>re(n,t,()=>n.complete(),e),i=>re(n,t,()=>n.error(i),e)))})}function wc(t,e=0){return it((r,n)=>{n.add(t.schedule(()=>r.subscribe(n),e))})}function Om(t,e){return bt(t).pipe(wc(e),_c(e))}function Am(t,e){return bt(t).pipe(wc(e),_c(e))}function Rm(t,e){return new W(r=>{let n=0;return e.schedule(function(){n===t.length?r.complete():(r.next(t[n++]),r.closed||this.schedule())})})}function Nm(t,e){return new W(r=>{let n;return re(r,e,()=>{n=t[mc](),re(r,e,()=>{let i,a;try{({value:i,done:a}=n.next())}catch(s){r.error(s);return}a?r.complete():r.next(i)},0,!0)}),()=>H(n==null?void 0:n.return)&&n.return()})}function xc(t,e){if(!t)throw new Error("Iterable cannot be null");return new W(r=>{re(r,e,()=>{let n=t[Symbol.asyncIterator]();re(r,e,()=>{n.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Lm(t,e){return xc(gc(t),e)}function Mm(t,e){if(t!=null){if(fc(t))return Om(t,e);if(Qs(t))return Rm(t,e);if(dc(t))return Am(t,e);if(hc(t))return xc(t,e);if(bc(t))return Nm(t,e);if(yc(t))return Lm(t,e)}throw pc(t)}function xn(t,e){return e?Mm(t,e):bt(t)}function Ys(...t){let e=ar(t);return xn(t,e)}function BE(t,e){let r=H(t)?t:()=>t,n=i=>i.error(r());return new W(n)}function UE(t){return!!t&&(t instanceof W||H(t.lift)&&H(t.subscribe))}Bs(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Pm(t){return t instanceof Date&&!isNaN(t)}function Ut(t,e){return it((r,n)=>{let i=0;r.subscribe(X(n,a=>{n.next(t.call(e,a,i++))}))})}var{isArray:Fm}=Array;function jm(t,e){return Fm(e)?t(...e):t(e)}function Js(t){return Ut(e=>jm(t,e))}var{isArray:Vm}=Array,{getPrototypeOf:Hm,prototype:zm,keys:Bm}=Object;function kc(t){if(t.length===1){let e=t[0];if(Vm(e))return{args:e,keys:null};if(Um(e)){let r=Bm(e);return{args:r.map(n=>e[n]),keys:r}}}return{args:t,keys:null}}function Um(t){return t&&typeof t=="object"&&Hm(t)===zm}function Ic(t,e){return t.reduce((r,n,i)=>(r[n]=e[i],r),{})}function qm(...t){let e=ar(t),r=cc(t),{args:n,keys:i}=kc(t);if(n.length===0)return xn([],e);let a=new W($m(n,e,i?s=>Ic(i,s):wn));return r?a.pipe(Js(r)):a}function $m(t,e,r=wn){return n=>{_l(e,()=>{let{length:i}=t,a=new Array(i),s=i,l=i;for(let u=0;u<i;u++)_l(e,()=>{let c=xn(t[u],e),d=!1;c.subscribe(X(n,f=>{a[u]=f,d||(d=!0,l--),l||n.next(r(a.slice()))},()=>{--s||n.complete()}))},n)},n)}}function _l(t,e,r){t?re(r,t,e):e()}function Zm(t,e,r,n,i,a,s,l){let u=[],c=0,d=0,f=!1,m=()=>{f&&!u.length&&!c&&e.complete()},h=b=>c<n?y(b):u.push(b),y=b=>{c++;let _=!1;bt(r(b,d++)).subscribe(X(e,p=>{e.next(p)},()=>{_=!0},void 0,()=>{if(_)try{for(c--;u.length&&c<n;){let p=u.shift();s?re(e,s,()=>y(p)):y(p)}m()}catch(p){e.error(p)}}))};return t.subscribe(X(e,h,()=>{f=!0,m()})),()=>{}}function $n(t,e,r=1/0){return H(e)?$n((n,i)=>Ut((a,s)=>e(n,a,i,s))(bt(t(n,i))),r):(typeof e=="number"&&(r=e),it((n,i)=>Zm(n,i,t,r)))}function Ec(t=1/0){return $n(wn,t)}function Km(){return Ec(1)}function Wa(...t){return Km()(xn(t,ar(t)))}function qE(t){return new W(e=>{bt(t()).subscribe(e)})}function $E(...t){let e=cc(t),{args:r,keys:n}=kc(t),i=new W(a=>{let{length:s}=r;if(!s){a.complete();return}let l=new Array(s),u=s,c=s;for(let d=0;d<s;d++){let f=!1;bt(r[d]).subscribe(X(a,m=>{f||(f=!0,c--),l[d]=m},()=>u--,void 0,()=>{(!u||!f)&&(c||a.next(n?Ic(n,l):l),a.complete())}))}});return e?i.pipe(Js(e)):i}var Wm=["addListener","removeListener"],Gm=["addEventListener","removeEventListener"],Qm=["on","off"];function wl(t,e,r,n){if(H(r)&&(n=r,r=void 0),n)return wl(t,e,r).pipe(Js(n));let[i,a]=Xm(t)?Gm.map(s=>l=>t[s](e,l,r)):Ym(t)?Wm.map(xl(t,e)):Jm(t)?Qm.map(xl(t,e)):[];if(!i&&Qs(t))return $n(s=>wl(s,e,r))(bt(t));if(!i)throw new TypeError("Invalid event target");return new W(s=>{let l=(...u)=>s.next(1<u.length?u:u[0]);return i(l),()=>a(l)})}function xl(t,e){return r=>n=>t[r](e,n)}function Ym(t){return H(t.addListener)&&H(t.removeListener)}function Jm(t){return H(t.on)&&H(t.off)}function Xm(t){return H(t.addEventListener)&&H(t.removeEventListener)}function tb(t=0,e,r=ym){let n=-1;return e!=null&&(uc(e)?r=e:n=e),new W(i=>{let a=Pm(t)?+t-r.now():t;a<0&&(a=0);let s=0;return r.schedule(function(){i.closed||(i.next(s++),0<=n?this.schedule(void 0,n):i.complete())},a)})}function ZE(...t){let e=ar(t),r=vm(t,1/0),n=t;return n.length?n.length===1?bt(n[0]):Ec(r)(xn(n,e)):lc}function Xs(t,e){return it((r,n)=>{let i=0;r.subscribe(X(n,a=>t.call(e,a,i++)&&n.next(a)))})}function eb(t){return it((e,r)=>{let n=!1,i=null,a=null,s=!1,l=()=>{if(a==null||a.unsubscribe(),a=null,n){n=!1;let c=i;i=null,r.next(c)}s&&r.complete()},u=()=>{a=null,s&&r.complete()};e.subscribe(X(r,c=>{n=!0,i=c,a||bt(t(c)).subscribe(a=X(r,l,u))},()=>{s=!0,(!n||!a||a.closed)&&r.complete()}))})}function KE(t,e=Ws){return eb(()=>tb(t,e))}function nb(t){return it((e,r)=>{let n=null,i=!1,a;n=e.subscribe(X(r,void 0,void 0,s=>{a=bt(t(s,nb(t)(e))),n?(n.unsubscribe(),n=null,a.subscribe(r)):i=!0})),i&&(n.unsubscribe(),n=null,a.subscribe(r))})}function rb(t,e){return H(e)?$n(t,e,1):$n(t,1)}function Cc(t,e=Ws){return it((r,n)=>{let i=null,a=null,s=null,l=()=>{if(i){i.unsubscribe(),i=null;let c=a;a=null,n.next(c)}};function u(){let c=s+t,d=e.now();if(d<c){i=this.schedule(void 0,c-d),n.add(i);return}l()}r.subscribe(X(n,c=>{a=c,s=e.now(),i||(i=e.schedule(u,t),n.add(i))},()=>{l(),n.complete()},void 0,()=>{a=i=null}))})}function ib(t){return t<=0?()=>lc:it((e,r)=>{let n=0;e.subscribe(X(r,i=>{++n<=t&&(r.next(i),t<=n&&r.complete())}))})}function ab(t,e=wn){return t=t??sb,it((r,n)=>{let i,a=!0;r.subscribe(X(n,s=>{let l=e(s);(a||!t(i,l))&&(a=!1,i=l,n.next(s))}))})}function sb(t,e){return t===e}function WE(){return it((t,e)=>{let r,n=!1;t.subscribe(X(e,i=>{let a=r;r=i,n&&e.next([a,i]),n=!0}))})}function ob(t={}){let{connector:e=()=>new ut,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=t;return a=>{let s,l,u,c=0,d=!1,f=!1,m=()=>{l==null||l.unsubscribe(),l=void 0},h=()=>{m(),s=u=void 0,d=f=!1},y=()=>{let b=s;h(),b==null||b.unsubscribe()};return it((b,_)=>{c++,!f&&!d&&m();let p=u=u??e();_.add(()=>{c--,c===0&&!f&&!d&&(l=ua(y,i))}),p.subscribe(_),!s&&c>0&&(s=new qn({next:v=>p.next(v),error:v=>{f=!0,m(),l=ua(h,r,v),p.error(v)},complete:()=>{d=!0,m(),l=ua(h,n),p.complete()}}),bt(b).subscribe(s))})(a)}}function ua(t,e,...r){if(e===!0){t();return}if(e===!1)return;let n=new qn({next:()=>{n.unsubscribe(),t()}});return bt(e(...r)).subscribe(n)}function GE(t,e,r){let n,i=!1;return typeof t=="object"?{bufferSize:n=1/0,windowTime:e=1/0,refCount:i=!1,scheduler:r}=t:n=t,ob({connector:()=>new pm(n,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Tc(t){return Xs((e,r)=>t<=r)}function lb(...t){let e=ar(t);return it((r,n)=>{(e?Wa(t,r,e):Wa(t,r)).subscribe(n)})}function ub(t,e){return it((r,n)=>{let i=null,a=0,s=!1,l=()=>s&&!i&&n.complete();r.subscribe(X(n,u=>{i==null||i.unsubscribe();let c=0,d=a++;bt(t(u,d)).subscribe(i=X(n,f=>n.next(e?e(u,f,d,c++):f),()=>{i=null,l()}))},()=>{s=!0,l()}))})}function Sc(t){return it((e,r)=>{bt(t).subscribe(X(r,()=>r.complete(),Za)),!r.closed&&e.subscribe(r)})}function QE(t,e=!1){return it((r,n)=>{let i=0;r.subscribe(X(n,a=>{let s=t(a,i++);(s||e)&&n.next(a),!s&&n.complete()}))})}function cb(t,e,r){let n=H(t)||e||r?{next:t,error:e,complete:r}:t;return n?it((i,a)=>{var s;(s=n.subscribe)===null||s===void 0||s.call(n);let l=!0;i.subscribe(X(a,u=>{var c;(c=n.next)===null||c===void 0||c.call(n,u),a.next(u)},()=>{var u;l=!1,(u=n.complete)===null||u===void 0||u.call(n),a.complete()},u=>{var c;l=!1,(c=n.error)===null||c===void 0||c.call(n,u),a.error(u)},()=>{var u,c;l&&((u=n.unsubscribe)===null||u===void 0||u.call(n)),(c=n.finalize)===null||c===void 0||c.call(n)}))}):wn}function Dc(t,e){return Object.is(t,e)}var Y=null,Fr=!1,to=1,_t=Symbol("SIGNAL");function F(t){let e=Y;return Y=t,e}function db(){return Y}var kn={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function eo(t){if(Fr)throw new Error("");if(Y===null)return;Y.consumerOnSignalRead(t);let e=Y.nextProducerIndex++;if(Ti(Y),e<Y.producerNode.length&&Y.producerNode[e]!==t&&Zn(Y)){let r=Y.producerNode[e];Ci(r,Y.producerIndexOfThis[e])}Y.producerNode[e]!==t&&(Y.producerNode[e]=t,Y.producerIndexOfThis[e]=Zn(Y)?Nc(t,Y,e):0),Y.producerLastReadVersion[e]=t.version}function fb(){to++}function Oc(t){if(!(Zn(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===to)){if(!t.producerMustRecompute(t)&&!ro(t)){kl(t);return}t.producerRecomputeValue(t),kl(t)}}function Ac(t){if(t.liveConsumerNode===void 0)return;let e=Fr;Fr=!0;try{for(let r of t.liveConsumerNode)r.dirty||hb(r)}finally{Fr=e}}function Rc(){return(Y==null?void 0:Y.consumerAllowSignalWrites)!==!1}function hb(t){var e;t.dirty=!0,Ac(t),(e=t.consumerMarkedDirty)==null||e.call(t,t)}function kl(t){t.dirty=!1,t.lastCleanEpoch=to}function ei(t){return t&&(t.nextProducerIndex=0),F(t)}function no(t,e){if(F(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(Zn(t))for(let r=t.nextProducerIndex;r<t.producerNode.length;r++)Ci(t.producerNode[r],t.producerIndexOfThis[r]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function ro(t){Ti(t);for(let e=0;e<t.producerNode.length;e++){let r=t.producerNode[e],n=t.producerLastReadVersion[e];if(n!==r.version||(Oc(r),n!==r.version))return!0}return!1}function Ei(t){if(Ti(t),Zn(t))for(let e=0;e<t.producerNode.length;e++)Ci(t.producerNode[e],t.producerIndexOfThis[e]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Nc(t,e,r){if(Lc(t),t.liveConsumerNode.length===0&&Mc(t))for(let n=0;n<t.producerNode.length;n++)t.producerIndexOfThis[n]=Nc(t.producerNode[n],t,n);return t.liveConsumerIndexOfThis.push(r),t.liveConsumerNode.push(e)-1}function Ci(t,e){if(Lc(t),t.liveConsumerNode.length===1&&Mc(t))for(let n=0;n<t.producerNode.length;n++)Ci(t.producerNode[n],t.producerIndexOfThis[n]);let r=t.liveConsumerNode.length-1;if(t.liveConsumerNode[e]=t.liveConsumerNode[r],t.liveConsumerIndexOfThis[e]=t.liveConsumerIndexOfThis[r],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,e<t.liveConsumerNode.length){let n=t.liveConsumerIndexOfThis[e],i=t.liveConsumerNode[e];Ti(i),i.producerIndexOfThis[n]=e}}function Zn(t){var e;return t.consumerIsAlwaysLive||(((e=t==null?void 0:t.liveConsumerNode)==null?void 0:e.length)??0)>0}function Ti(t){t.producerNode??(t.producerNode=[]),t.producerIndexOfThis??(t.producerIndexOfThis=[]),t.producerLastReadVersion??(t.producerLastReadVersion=[])}function Lc(t){t.liveConsumerNode??(t.liveConsumerNode=[]),t.liveConsumerIndexOfThis??(t.liveConsumerIndexOfThis=[])}function Mc(t){return t.producerNode!==void 0}function Pc(t){let e=Object.create(pb);e.computation=t;let r=()=>{if(Oc(e),eo(e),e.value===jr)throw e.error;return e.value};return r[_t]=e,r}var ca=Symbol("UNSET"),da=Symbol("COMPUTING"),jr=Symbol("ERRORED"),pb=It(Z({},kn),{value:ca,dirty:!0,error:null,equal:Dc,producerMustRecompute(t){return t.value===ca||t.value===da},producerRecomputeValue(t){if(t.value===da)throw new Error("Detected cycle in computations.");let e=t.value;t.value=da;let r=ei(t),n;try{n=t.computation()}catch(i){n=jr,t.error=i}finally{no(t,r)}if(e!==ca&&e!==jr&&n!==jr&&t.equal(e,n)){t.value=e;return}t.value=n,t.version++}});function mb(){throw new Error}var Fc=mb;function jc(){Fc()}function bb(t){Fc=t}function gb(t){let e=Object.create(Vc);e.value=t;let r=()=>(eo(e),e.value);return r[_t]=e,r}function io(t,e){Rc()||jc(),t.equal(t.value,e)||(t.value=e,vb(t))}function yb(t,e){Rc()||jc(),io(t,e(t.value))}var Vc=It(Z({},kn),{equal:Dc,value:void 0});function vb(t){t.version++,fb(),Ac(t)}var _b=()=>{};It(Z({},kn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule!==null&&t.schedule(t.ref)},hasRun:!1,cleanupFn:_b});var Hc="https://g.co/ng/security#xss",R=class extends Error{constructor(e,r){super(wb(e,r));o(this,"code");this.code=e}};function wb(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var zc=Symbol("InputSignalNode#UNSET"),xb=It(Z({},Vc),{transformFn:void 0,applyValueToInputSignal(t,e){io(t,e)}});function Bc(t,e){let r=Object.create(xb);r.value=t,r.transformFn=e==null?void 0:e.transform;function n(){if(eo(r),r.value===zc)throw new R(-950,!1);return r.value}return n[_t]=r,n}function sr(t){return{toString:t}.toString()}var vr="__parameters__";function kb(t){return function(...e){}}function Uc(t,e,r){return sr(()=>{let n=kb();function i(...a){if(this instanceof i)return n.apply(this,a),this;let s=new i(...a);return l.annotation=s,l;function l(u,c,d){let f=u.hasOwnProperty(vr)?u[vr]:Object.defineProperty(u,vr,{value:[]})[vr];for(;f.length<=d;)f.push(null);return(f[d]=f[d]||[]).push(s),u}}return i.prototype.ngMetadataName=t,i.annotationCls=i,i})}var Je=globalThis;function q(t){for(let e in t)if(t[e]===q)return e;throw Error("Could not find renamed property on target object.")}function Ib(t,e){for(let r in e)e.hasOwnProperty(r)&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function St(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(St).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let r=e.indexOf(`
4
+ `);return r===-1?e:e.substring(0,r)}function Ga(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var Eb=q({__forward_ref__:q});function qc(t){return t.__forward_ref__=qc,t.toString=function(){return St(this())},t}function ft(t){return $c(t)?t():t}function $c(t){return typeof t=="function"&&t.hasOwnProperty(Eb)&&t.__forward_ref__===qc}function C(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Gt(t){return{providers:t.providers||[],imports:t.imports||[]}}function ao(t){return Il(t,Zc)||Il(t,Kc)}function Il(t,e){return t.hasOwnProperty(e)?t[e]:null}function Cb(t){return t&&(t[Zc]||t[Kc])||null}function El(t){return t&&(t.hasOwnProperty(Cl)||t.hasOwnProperty(Tb))?t[Cl]:null}var Zc=q({ɵprov:q}),Cl=q({ɵinj:q}),Kc=q({ngInjectableDef:q}),Tb=q({ngInjectorDef:q}),A=class{constructor(t,e){o(this,"_desc");o(this,"ngMetadataName","InjectionToken");o(this,"ɵprov");this._desc=t,this.ɵprov=void 0,typeof e=="number"?this.__NG_ELEMENT_ID__=e:e!==void 0&&(this.ɵprov=C({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function Wc(t){return t&&!!t.ɵproviders}var Sb=q({ɵcmp:q}),Db=q({ɵdir:q}),Ob=q({ɵpipe:q}),Ab=q({ɵmod:q}),ni=q({ɵfac:q}),Hn=q({__NG_ELEMENT_ID__:q}),Tl=q({__NG_ENV_ID__:q});function Kn(t){return typeof t=="string"?t:t==null?"":String(t)}function Rb(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Kn(t)}function Nb(t,e){throw new R(-200,t)}function so(t,e){throw new R(-201,!1)}var j=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(j||{}),Qa;function Gc(){return Qa}function gt(t){let e=Qa;return Qa=t,e}function Qc(t,e,r){let n=ao(t);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(r&j.Optional)return null;if(e!==void 0)return e;so()}var Lb={},Wn=Lb,Ya="__NG_DI_FLAG__",ri="ngTempTokenPath",Mb="ngTokenPath",Pb=/\n/gm,Fb="ɵ",Sl="__source",sn;function jb(){return sn}function fe(t){let e=sn;return sn=t,e}function Vb(t,e=j.Default){if(sn===void 0)throw new R(-203,!1);return sn===null?Qc(t,void 0,e):sn.get(t,e&j.Optional?null:void 0,e)}function P(t,e=j.Default){return(Gc()||Vb)(ft(t),e)}function g(t,e=j.Default){return P(t,Si(e))}function Si(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Ja(t){let e=[];for(let r=0;r<t.length;r++){let n=ft(t[r]);if(Array.isArray(n)){if(n.length===0)throw new R(900,!1);let i,a=j.Default;for(let s=0;s<n.length;s++){let l=n[s],u=Hb(l);typeof u=="number"?u===-1?i=l.token:a|=u:i=l}e.push(P(i,a))}else e.push(P(n))}return e}function Yc(t,e){return t[Ya]=e,t.prototype[Ya]=e,t}function Hb(t){return t[Ya]}function zb(t,e,r,n){let i=t[ri];throw e[Sl]&&i.unshift(e[Sl]),t.message=Bb(`
5
+ `+t.message,i,r,n),t[Mb]=i,t[ri]=null,t}function Bb(t,e,r,n=null){t=t&&t.charAt(0)===`
6
+ `&&t.charAt(1)==Fb?t.slice(2):t;let i=St(e);if(Array.isArray(e))i=e.map(St).join(" -> ");else if(typeof e=="object"){let a=[];for(let s in e)if(e.hasOwnProperty(s)){let l=e[s];a.push(s+":"+(typeof l=="string"?JSON.stringify(l):St(l)))}i=`{${a.join(", ")}}`}return`${r}${n?"("+n+")":""}[${i}]: ${t.replace(Pb,`
7
+ `)}`}var Jc=Yc(Uc("Optional"),8),Xc=Yc(Uc("SkipSelf"),4);function Pe(t,e){return t.hasOwnProperty(ni)?t[ni]:null}function Ub(t,e,r){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++){let i=t[n],a=e[n];if(r&&(i=r(i),a=r(a)),a!==i)return!1}return!0}function qb(t){return t.flat(Number.POSITIVE_INFINITY)}function oo(t,e){t.forEach(r=>Array.isArray(r)?oo(r,e):e(r))}function td(t,e,r){e>=t.length?t.push(r):t.splice(e,0,r)}function ii(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function $b(t,e){let r=[];for(let n=0;n<t;n++)r.push(e);return r}function Zb(t,e,r,n){let i=t.length;if(i==e)t.push(r,n);else if(i===1)t.push(n,t[0]),t[0]=r;else{for(i--,t.push(t[i-1],t[i]);i>e;){let a=i-2;t[i]=t[a],i--}t[e]=r,t[e+1]=n}}function Di(t,e,r){let n=or(t,e);return n>=0?t[n|1]=r:(n=~n,Zb(t,n,e,r)),n}function fa(t,e){let r=or(t,e);if(r>=0)return t[r|1]}function or(t,e){return Kb(t,e,1)}function Kb(t,e,r){let n=0,i=t.length>>r;for(;i!==n;){let a=n+(i-n>>1),s=t[a<<r];if(e===s)return a<<r;s>e?i=a:n=a+1}return~(i<<r)}var dn={},ht=[],ai=new A(""),ed=new A("",-1),nd=new A(""),rd=class{get(t,e=Wn){if(e===Wn){let r=new Error(`NullInjectorError: No provider for ${St(t)}!`);throw r.name="NullInjectorError",r}return e}};function id(t,e){return t[Ab]||null}function be(t){return t[Sb]||null}function ad(t){return t[Db]||null}function sd(t){return t[Ob]||null}function Wb(t){let e=be(t)||ad(t)||sd(t);return e!==null&&e.standalone}function Gb(t){return{ɵproviders:t}}function Qb(...t){return{ɵproviders:od(!0,t),ɵfromNgModule:!0}}function od(t,...e){let r=[],n=new Set,i,a=s=>{r.push(s)};return oo(e,s=>{let l=s;Xa(l,a,[],n)&&(i||(i=[]),i.push(l))}),i!==void 0&&ld(i,a),r}function ld(t,e){for(let r=0;r<t.length;r++){let{ngModule:n,providers:i}=t[r];lo(i,a=>{e(a,n)})}}function Xa(t,e,r,n){if(t=ft(t),!t)return!1;let i=null,a=El(t),s=!a&&be(t);if(!a&&!s){let u=t.ngModule;if(a=El(u),a)i=u;else return!1}else{if(s&&!s.standalone)return!1;i=t}let l=n.has(i);if(s){if(l)return!1;if(n.add(i),s.dependencies){let u=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of u)Xa(c,e,r,n)}}else if(a){if(a.imports!=null&&!l){n.add(i);let c;try{oo(a.imports,d=>{Xa(d,e,r,n)&&(c||(c=[]),c.push(d))})}finally{}c!==void 0&&ld(c,e)}if(!l){let c=Pe(i)||(()=>new i);e({provide:i,useFactory:c,deps:ht},i),e({provide:nd,useValue:i,multi:!0},i),e({provide:ai,useValue:()=>P(i),multi:!0},i)}let u=a.providers;if(u!=null&&!l){let c=t;lo(u,d=>{e(d,c)})}}else return!1;return i!==t&&t.providers!==void 0}function lo(t,e){for(let r of t)Wc(r)&&(r=r.ɵproviders),Array.isArray(r)?lo(r,e):e(r)}var Yb=q({provide:String,useValue:q});function ud(t){return t!==null&&typeof t=="object"&&Yb in t}function Jb(t){return!!(t&&t.useExisting)}function Xb(t){return!!(t&&t.useFactory)}function fn(t){return typeof t=="function"}function tg(t){return!!t.useClass}var uo=new A(""),Vr={},eg={},ha;function Oi(){return ha===void 0&&(ha=new rd),ha}var ge=class{},co=class extends ge{constructor(e,r,n,i){super();o(this,"parent");o(this,"source");o(this,"scopes");o(this,"records",new Map);o(this,"_ngOnDestroyHooks",new Set);o(this,"_onDestroyHooks",[]);o(this,"_destroyed",!1);o(this,"injectorDefTypes");this.parent=r,this.source=n,this.scopes=i,es(e,s=>this.processProvider(s)),this.records.set(ed,Xe(void 0,this)),i.has("environment")&&this.records.set(ge,Xe(void 0,this));let a=this.records.get(uo);a!=null&&typeof a.value=="string"&&this.scopes.add(a.value),this.injectorDefTypes=new Set(this.get(nd,ht,j.Self))}get destroyed(){return this._destroyed}destroy(){Pn(this),this._destroyed=!0;let e=F(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of r)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),F(e)}}onDestroy(e){return Pn(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){Pn(this);let r=fe(this),n=gt(void 0);try{return e()}finally{fe(r),gt(n)}}get(e,r=Wn,n=j.Default){if(Pn(this),e.hasOwnProperty(Tl))return e[Tl](this);n=Si(n);let i=fe(this),a=gt(void 0);try{if(!(n&j.SkipSelf)){let l=this.records.get(e);if(l===void 0){let u=sg(e)&&ao(e);u&&this.injectableDefInScope(u)?l=Xe(ts(e),Vr):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let s=n&j.Self?Oi():this.parent;return r=n&j.Optional&&r===Wn?null:r,s.get(e,r)}catch(s){if(s.name==="NullInjectorError"){if((s[ri]=s[ri]||[]).unshift(St(e)),i)throw s;return zb(s,e,"R3InjectorError",this.source)}else throw s}finally{gt(a),fe(i)}}resolveInjectorInitializers(){let e=F(null),r=fe(this),n=gt(void 0);try{let i=this.get(ai,ht,j.Self);for(let a of i)a()}finally{fe(r),gt(n),F(e)}}toString(){let e=[],r=this.records;for(let n of r.keys())e.push(St(n));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=ft(e);let r=fn(e)?e:ft(e&&e.provide),n=rg(e);if(!fn(e)&&e.multi===!0){let i=this.records.get(r);i||(i=Xe(void 0,Vr,!0),i.factory=()=>Ja(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,n)}hydrate(e,r){let n=F(null);try{return r.value===Vr&&(r.value=eg,r.value=r.factory()),typeof r.value=="object"&&r.value&&ag(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{F(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=ft(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function ts(t){let e=ao(t),r=e!==null?e.factory:Pe(t);if(r!==null)return r;if(t instanceof A)throw new R(204,!1);if(t instanceof Function)return ng(t);throw new R(204,!1)}function ng(t){if(t.length>0)throw new R(204,!1);let e=Cb(t);return e!==null?()=>e.factory(t):()=>new t}function rg(t){if(ud(t))return Xe(void 0,t.useValue);{let e=cd(t);return Xe(e,Vr)}}function cd(t,e,r){let n;if(fn(t)){let i=ft(t);return Pe(i)||ts(i)}else if(ud(t))n=()=>ft(t.useValue);else if(Xb(t))n=()=>t.useFactory(...Ja(t.deps||[]));else if(Jb(t))n=()=>P(ft(t.useExisting));else{let i=ft(t&&(t.useClass||t.provide));if(ig(t))n=()=>new i(...Ja(t.deps));else return Pe(i)||ts(i)}return n}function Pn(t){if(t.destroyed)throw new R(205,!1)}function Xe(t,e,r=!1){return{factory:t,value:e,multi:r?[]:void 0}}function ig(t){return!!t.deps}function ag(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function sg(t){return typeof t=="function"||typeof t=="object"&&t instanceof A}function es(t,e){for(let r of t)Array.isArray(r)?es(r,e):r&&Wc(r)?es(r.ɵproviders,e):e(r)}function fo(t,e){t instanceof co&&Pn(t);let r=fe(t),n=gt(void 0);try{return e()}finally{fe(r),gt(n)}}function dd(){return Gc()!==void 0||jb()!=null}function ho(t){if(!dd())throw new R(-203,!1)}function og(t){return typeof t=="function"}var se=0,N=1,S=2,ct=3,Ft=4,yt=5,hn=6,on=7,pt=8,pn=9,ye=10,Q=11,Gn=12,Dl=13,In=14,Dt=15,Fe=16,tn=17,jt=18,Ai=19,fd=20,pe=21,pa=22,ee=23,wt=24,nt=25,hd=1,je=7,si=8,mn=9,lt=10,oi=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(oi||{});function me(t){return Array.isArray(t)&&typeof t[hd]=="object"}function oe(t){return Array.isArray(t)&&t[hd]===!0}function po(t){return(t.flags&4)!==0}function Ri(t){return t.componentOffset>-1}function Ni(t){return(t.flags&1)===1}function ve(t){return!!t.template}function ns(t){return(t[S]&512)!==0}var lg=class{constructor(t,e,r){o(this,"previousValue");o(this,"currentValue");o(this,"firstChange");this.previousValue=t,this.currentValue=e,this.firstChange=r}isFirstChange(){return this.firstChange}};function pd(t,e,r,n){e!==null?e.applyValueToInputSignal(e,n):t[r]=n}var ug=(()=>{let t=()=>md;return t.ngInherit=!0,t})();function md(t){return t.type.prototype.ngOnChanges&&(t.setInput=dg),cg}function cg(){let t=gd(this),e=t==null?void 0:t.current;if(e){let r=t.previous;if(r===dn)t.previous=e;else for(let n in e)r[n]=e[n];t.current=null,this.ngOnChanges(e)}}function dg(t,e,r,n,i){let a=this.declaredInputs[n],s=gd(t)||fg(t,{previous:dn,current:null}),l=s.current||(s.current={}),u=s.previous,c=u[a];l[a]=new lg(c&&c.currentValue,r,u===dn),pd(t,e,i,r)}var bd="__ngSimpleChanges__";function gd(t){return t[bd]||null}function fg(t,e){return t[bd]=e}var yd=function(t,e,r){},vd="svg",hg="math";function Kt(t){for(;Array.isArray(t);)t=t[se];return t}function _d(t,e){return Kt(e[t])}function At(t,e){return Kt(e[t.index])}function mo(t,e){return t.data[e]}function bo(t,e){return t[e]}function xe(t,e){let r=e[t];return me(r)?r:r[se]}function pg(t){return(t[S]&4)===4}function go(t){return(t[S]&128)===128}function mg(t){return oe(t[ct])}function Ve(t,e){return e==null?null:t[e]}function wd(t){t[tn]=0}function yo(t){t[S]&1024||(t[S]|=1024,go(t)&&lr(t))}function bg(t,e){for(;t>0;)e=e[In],t--;return e}function Li(t){var e;return!!(t[S]&9216||(e=t[wt])!=null&&e.dirty)}function rs(t){var e;(e=t[ye].changeDetectionScheduler)==null||e.notify(9),t[S]&64&&(t[S]|=1024),Li(t)&&lr(t)}function lr(t){var r;(r=t[ye].changeDetectionScheduler)==null||r.notify(0);let e=He(t);for(;e!==null&&!(e[S]&8192||(e[S]|=8192,!go(e)));)e=He(e)}function xd(t,e){if((t[S]&256)===256)throw new R(911,!1);t[pe]===null&&(t[pe]=[]),t[pe].push(e)}function gg(t,e){if(t[pe]===null)return;let r=t[pe].indexOf(e);r!==-1&&t[pe].splice(r,1)}function He(t){let e=t[ct];return oe(e)?e[ct]:e}var L={lFrame:Dd(null),bindingsEnabled:!0,skipHydrationRootTNode:null},is=!1;function yg(){return L.lFrame.elementDepthCount}function vg(){L.lFrame.elementDepthCount++}function _g(){L.lFrame.elementDepthCount--}function kd(){return L.skipHydrationRootTNode!==null}function wg(t){return L.skipHydrationRootTNode===t}function xg(){L.skipHydrationRootTNode=null}function O(){return L.lFrame.lView}function G(){return L.lFrame.tView}function YE(t){return L.lFrame.contextLView=t,t[pt]}function JE(t){return L.lFrame.contextLView=null,t}function ot(){let t=Id();for(;t!==null&&t.type===64;)t=t.parent;return t}function Id(){return L.lFrame.currentTNode}function kg(){let t=L.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function ke(t,e){let r=L.lFrame;r.currentTNode=t,r.isParent=e}function vo(){return L.lFrame.isParent}function _o(){L.lFrame.isParent=!1}function Ed(){return L.lFrame.contextLView}function Cd(){return is}function li(t){let e=is;return is=t,e}function wo(){let t=L.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Ig(){return L.lFrame.bindingIndex}function Eg(t){return L.lFrame.bindingIndex=t}function qe(){return L.lFrame.bindingIndex++}function xo(t){let e=L.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,r}function Cg(){return L.lFrame.inI18n}function Tg(t,e){let r=L.lFrame;r.bindingIndex=r.bindingRootIndex=t,as(e)}function Sg(){return L.lFrame.currentDirectiveIndex}function as(t){L.lFrame.currentDirectiveIndex=t}function Dg(t){let e=L.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function ko(){return L.lFrame.currentQueryIndex}function Mi(t){L.lFrame.currentQueryIndex=t}function Og(t){let e=t[N];return e.type===2?e.declTNode:e.type===1?t[yt]:null}function Td(t,e,r){if(r&j.SkipSelf){let i=e,a=t;for(;(i=i.parent,i===null&&!(r&j.Host))&&(i=Og(a),!(i===null||(a=a[In],i.type&10))););if(i===null)return!1;e=i,t=a}let n=L.lFrame=Sd();return n.currentTNode=e,n.lView=t,!0}function Io(t){let e=Sd(),r=t[N];L.lFrame=e,e.currentTNode=r.firstChild,e.lView=t,e.tView=r,e.contextLView=t,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function Sd(){let t=L.lFrame,e=t===null?null:t.child;return e===null?Dd(t):e}function Dd(t){let e={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=e),e}function Od(){let t=L.lFrame;return L.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var Ad=Od;function Eo(){let t=Od();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 Ag(t){return(L.lFrame.contextLView=bg(t,L.lFrame.contextLView))[pt]}function Qt(){return L.lFrame.selectedIndex}function ze(t){L.lFrame.selectedIndex=t}function Pi(){let t=L.lFrame;return mo(t.tView,t.selectedIndex)}function XE(){L.lFrame.currentNamespace=vd}function t1(){Rg()}function Rg(){L.lFrame.currentNamespace=null}function Ng(){return L.lFrame.currentNamespace}var Rd=!0;function Fi(){return Rd}function ji(t){Rd=t}function Lg(t,e,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:a}=e.type.prototype;if(n){let s=md(e);(r.preOrderHooks??(r.preOrderHooks=[])).push(t,s),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(t,s)}i&&(r.preOrderHooks??(r.preOrderHooks=[])).push(0-t,i),a&&((r.preOrderHooks??(r.preOrderHooks=[])).push(t,a),(r.preOrderCheckHooks??(r.preOrderCheckHooks=[])).push(t,a))}function Vi(t,e){for(let r=e.directiveStart,n=e.directiveEnd;r<n;r++){let i=t.data[r].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:c}=i;a&&(t.contentHooks??(t.contentHooks=[])).push(-r,a),s&&((t.contentHooks??(t.contentHooks=[])).push(r,s),(t.contentCheckHooks??(t.contentCheckHooks=[])).push(r,s)),l&&(t.viewHooks??(t.viewHooks=[])).push(-r,l),u&&((t.viewHooks??(t.viewHooks=[])).push(r,u),(t.viewCheckHooks??(t.viewCheckHooks=[])).push(r,u)),c!=null&&(t.destroyHooks??(t.destroyHooks=[])).push(r,c)}}function Hr(t,e,r){Nd(t,e,3,r)}function zr(t,e,r,n){(t[S]&3)===r&&Nd(t,e,r,n)}function ma(t,e){let r=t[S];(r&3)===e&&(r&=16383,r+=1,t[S]=r)}function Nd(t,e,r,n){let i=n!==void 0?t[tn]&65535:0,a=n??-1,s=e.length-1,l=0;for(let u=i;u<s;u++)if(typeof e[u+1]=="number"){if(l=e[u],n!=null&&l>=n)break}else e[u]<0&&(t[tn]+=65536),(l<a||a==-1)&&(Mg(t,r,e,u),t[tn]=(t[tn]&4294901760)+u+2),u++}function Ol(t,e){let r=F(null);try{e.call(t)}finally{F(r)}}function Mg(t,e,r,n){let i=r[n]<0,a=r[n+1],s=i?-r[n]:r[n],l=t[s];i?t[S]>>14<t[tn]>>16&&(t[S]&3)===e&&(t[S]+=16384,Ol(l,a)):Ol(l,a)}var ln=-1,ur=class{constructor(t,e,r){o(this,"factory");o(this,"injectImpl");o(this,"resolving",!1);o(this,"canSeeViewProviders");o(this,"multi");o(this,"componentProviders");o(this,"index");o(this,"providerFactory");this.factory=t,this.canSeeViewProviders=e,this.injectImpl=r}};function Pg(t){return t instanceof ur}function Fg(t){return(t.flags&8)!==0}function jg(t){return(t.flags&16)!==0}function ss(t,e,r){let n=0;for(;n<r.length;){let i=r[n];if(typeof i=="number"){if(i!==0)break;n++;let a=r[n++],s=r[n++],l=r[n++];t.setAttribute(e,s,l,a)}else{let a=i,s=r[++n];Vg(a)?t.setProperty(e,a,s):t.setAttribute(e,a,s),n++}}return n}function Ld(t){return t===3||t===4||t===6}function Vg(t){return t.charCodeAt(0)===64}function Qn(t,e){if(!(e===null||e.length===0))if(t===null||t.length===0)t=e.slice();else{let r=-1;for(let n=0;n<e.length;n++){let i=e[n];typeof i=="number"?r=i:r===0||(r===-1||r===2?Al(t,r,i,null,e[++n]):Al(t,r,i,null,null))}}return t}function Al(t,e,r,n,i){let a=0,s=t.length;if(e===-1)s=-1;else for(;a<t.length;){let l=t[a++];if(typeof l=="number"){if(l===e){s=-1;break}else if(l>e){s=a-1;break}}}for(;a<t.length;){let l=t[a];if(typeof l=="number")break;if(l===r){i!==null&&(t[a+1]=i);return}a++,i!==null&&a++}s!==-1&&(t.splice(s,0,e),a=s+1),t.splice(a++,0,r),i!==null&&t.splice(a++,0,i)}var ba={},Hg=class{constructor(t,e){o(this,"injector");o(this,"parentInjector");this.injector=t,this.parentInjector=e}get(t,e,r){r=Si(r);let n=this.injector.get(t,ba,r);return n!==ba||e===ba?n:this.parentInjector.get(t,e,r)}};function Md(t){return t!==ln}function ui(t){return t&32767}function zg(t){return t>>16}function ci(t,e){let r=zg(t),n=e;for(;r>0;)n=n[In],r--;return n}var os=!0;function di(t){let e=os;return os=t,e}var Bg=256,Pd=Bg-1,Fd=5,Ug=0,qt={};function qg(t,e,r){let n;typeof r=="string"?n=r.charCodeAt(0)||0:r.hasOwnProperty(Hn)&&(n=r[Hn]),n==null&&(n=r[Hn]=Ug++);let i=n&Pd,a=1<<i;e.data[t+(i>>Fd)]|=a}function fi(t,e){let r=jd(t,e);if(r!==-1)return r;let n=e[N];n.firstCreatePass&&(t.injectorIndex=e.length,ga(n.data,t),ga(e,null),ga(n.blueprint,null));let i=Co(t,e),a=t.injectorIndex;if(Md(i)){let s=ui(i),l=ci(i,e),u=l[N].data;for(let c=0;c<8;c++)e[a+c]=l[s+c]|u[s+c]}return e[a+8]=i,a}function ga(t,e){t.push(0,0,0,0,0,0,0,0,e)}function jd(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function Co(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let r=0,n=null,i=e;for(;i!==null;){if(n=Ud(i),n===null)return ln;if(r++,i=i[In],n.injectorIndex!==-1)return n.injectorIndex|r<<16}return ln}function ls(t,e,r){qg(t,e,r)}function $g(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let r=t.attrs;if(r){let n=r.length,i=0;for(;i<n;){let a=r[i];if(Ld(a))break;if(a===0)i=i+2;else if(typeof a=="number")for(i++;i<n&&typeof r[i]=="string";)i++;else{if(a===e)return r[i+1];i=i+2}}}return null}function Vd(t,e,r){if(r&j.Optional||t!==void 0)return t;so()}function Hd(t,e,r,n){if(r&j.Optional&&n===void 0&&(n=null),!(r&(j.Self|j.Host))){let i=t[pn],a=gt(void 0);try{return i?i.get(e,n,r&j.Optional):Qc(e,n,r&j.Optional)}finally{gt(a)}}return Vd(n,e,r)}function zd(t,e,r,n=j.Default,i){if(t!==null){if(e[S]&2048&&!(n&j.Self)){let s=Gg(t,e,r,n,qt);if(s!==qt)return s}let a=Bd(t,e,r,n,qt);if(a!==qt)return a}return Hd(e,r,n,i)}function Bd(t,e,r,n,i){let a=Kg(r);if(typeof a=="function"){if(!Td(e,t,n))return n&j.Host?Vd(i,r,n):Hd(e,r,n,i);try{let s;if(s=a(n),s==null&&!(n&j.Optional))so(r);else return s}finally{Ad()}}else if(typeof a=="number"){let s=null,l=jd(t,e),u=ln,c=n&j.Host?e[Dt][yt]:null;for((l===-1||n&j.SkipSelf)&&(u=l===-1?Co(t,e):e[l+8],u===ln||!Nl(n,!1)?l=-1:(s=e[N],l=ui(u),e=ci(u,e)));l!==-1;){let d=e[N];if(Rl(a,l,d.data)){let f=Zg(l,e,r,s,n,c);if(f!==qt)return f}u=e[l+8],u!==ln&&Nl(n,e[N].data[l+8]===c)&&Rl(a,l,e)?(s=d,l=ui(u),e=ci(u,e)):l=-1}}return i}function Zg(t,e,r,n,i,a){let s=e[N],l=s.data[t+8],u=n==null?Ri(l)&&os:n!=s&&(l.type&3)!==0,c=i&j.Host&&a===l,d=Br(l,s,r,u,c);return d!==null?Be(e,s,d,l):qt}function Br(t,e,r,n,i){let a=t.providerIndexes,s=e.data,l=a&1048575,u=t.directiveStart,c=t.directiveEnd,d=a>>20,f=n?l:l+d,m=i?l+d:c;for(let h=f;h<m;h++){let y=s[h];if(h<u&&r===y||h>=u&&y.type===r)return h}if(i){let h=s[u];if(h&&ve(h)&&h.type===r)return u}return null}function Be(t,e,r,n){let i=t[r],a=e.data;if(Pg(i)){let s=i;s.resolving&&Nb(Rb(a[r]));let l=di(s.canSeeViewProviders);s.resolving=!0;let u=s.injectImpl?gt(s.injectImpl):null;Td(t,n,j.Default);try{i=t[r]=s.factory(void 0,a,t,n),e.firstCreatePass&&r>=n.directiveStart&&Lg(r,a[r],e)}finally{u!==null&&gt(u),di(l),s.resolving=!1,Ad()}}return i}function Kg(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Hn)?t[Hn]:void 0;return typeof e=="number"?e>=0?e&Pd:Wg:e}function Rl(t,e,r){let n=1<<t;return!!(r[e+(t>>Fd)]&n)}function Nl(t,e){return!(t&j.Self)&&!(t&j.Host&&e)}var zn=class{constructor(t,e){o(this,"_tNode");o(this,"_lView");this._tNode=t,this._lView=e}get(t,e,r){return zd(this._tNode,this._lView,t,Si(r),e)}};function Wg(){return new zn(ot(),O())}function To(t){return sr(()=>{let e=t.prototype.constructor,r=e[ni]||us(e),n=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==n;){let a=i[ni]||us(i);if(a&&a!==r)return a;i=Object.getPrototypeOf(i)}return a=>new a})}function us(t){return $c(t)?()=>{let e=us(ft(t));return e&&e()}:Pe(t)}function Gg(t,e,r,n,i){let a=t,s=e;for(;a!==null&&s!==null&&s[S]&2048&&!(s[S]&512);){let l=Bd(a,s,r,n|j.Self,qt);if(l!==qt)return l;let u=a.parent;if(!u){let c=s[fd];if(c){let d=c.get(r,qt,n);if(d!==qt)return d}u=Ud(s),s=s[In]}a=u}return i}function Ud(t){let e=t[N],r=e.type;return r===2?e.declTNode:r===1?t[yt]:null}function Qg(t){return $g(ot(),t)}function Ll(t,e=null,r=null,n){let i=qd(t,e,r,n);return i.resolveInjectorInitializers(),i}function qd(t,e=null,r=null,n,i=new Set){let a=[r||ht,Qb(t)];return n=n||(typeof t=="object"?void 0:St(t)),new co(a,e||Oi(),n||null,i)}var Bt,le=(Bt=class{static create(e,r){if(Array.isArray(e))return Ll({name:""},r,e,"");{let n=e.name??"";return Ll({name:n},e.parent,e.providers,n)}}},o(Bt,"THROW_IF_NOT_FOUND",Wn),o(Bt,"NULL",new rd),o(Bt,"ɵprov",C({token:Bt,providedIn:"any",factory:()=>P(ed)})),o(Bt,"__NG_ELEMENT_ID__",-1),Bt),e1=class{constructor(t){o(this,"attributeName");o(this,"__NG_ELEMENT_ID__",()=>Qg(this.attributeName));this.attributeName=t}toString(){return`HostAttributeToken ${this.attributeName}`}},Yg=new A("");Yg.__NG_ELEMENT_ID__=t=>{let e=ot();if(e===null)throw new R(204,!1);if(e.type&2)return e.value;if(t&j.Optional)return null;throw new R(204,!1)};var $d=!1,cr=(()=>{class t{}return o(t,"__NG_ELEMENT_ID__",Jg),o(t,"__NG_ENV_ID__",r=>r),t})(),Zd=class extends cr{constructor(e){super();o(this,"_lView");this._lView=e}onDestroy(e){return xd(this._lView,e),()=>gg(this._lView,e)}};function Jg(){return new Zd(O())}var dr=class{},Kd=new A("",{providedIn:"root",factory:()=>!1}),Wd=new A(""),Gd=new A(""),En=(()=>{const e=class e{constructor(){o(this,"taskId",0);o(this,"pendingTasks",new Set);o(this,"hasPendingTasks",new sc(!1))}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let n=this.taskId++;return this.pendingTasks.add(n),n}has(n){return this.pendingTasks.has(n)}remove(n){this.pendingTasks.delete(n),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};o(e,"ɵprov",C({token:e,providedIn:"root",factory:()=>new e}));let t=e;return t})(),Xg=class extends ut{constructor(e=!1){super();o(this,"__isAsync");o(this,"destroyRef");o(this,"pendingTasks");this.__isAsync=e,dd()&&(this.destroyRef=g(cr,{optional:!0})??void 0,this.pendingTasks=g(En,{optional:!0})??void 0)}emit(e){let r=F(null);try{super.next(e)}finally{F(r)}}subscribe(e,r,n){var u,c,d;let i=e,a=r||(()=>null),s=n;if(e&&typeof e=="object"){let f=e;i=(u=f.next)==null?void 0:u.bind(f),a=(c=f.error)==null?void 0:c.bind(f),s=(d=f.complete)==null?void 0:d.bind(f)}this.__isAsync&&(a=this.wrapInTimeout(a),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let l=super.subscribe({next:i,error:a,complete:s});return e instanceof xt&&e.add(l),l}wrapInTimeout(e){return r=>{var i;let n=(i=this.pendingTasks)==null?void 0:i.add();setTimeout(()=>{var a;e(r),n!==void 0&&((a=this.pendingTasks)==null||a.remove(n))})}}},$t=Xg;function Yn(...t){}function Qd(t){let e,r;function n(){t=Yn;try{r!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(r),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),n()}),typeof requestAnimationFrame=="function"&&(r=requestAnimationFrame(()=>{t(),n()})),()=>n()}function Ml(t){return queueMicrotask(()=>t()),()=>{t=Yn}}var So="isAngularZone",hi=So+"_ID",ty=0,J=class cs{constructor(e){o(this,"hasPendingMacrotasks",!1);o(this,"hasPendingMicrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new $t(!1));o(this,"onMicrotaskEmpty",new $t(!1));o(this,"onStable",new $t(!1));o(this,"onError",new $t(!1));let{enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:i=!1,scheduleInRootZone:a=$d}=e;if(typeof Zone>"u")throw new R(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)),r&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&n,s.shouldCoalesceRunChangeDetection=i,s.callbackScheduled=!1,s.scheduleInRootZone=a,ry(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(So)===!0}static assertInAngularZone(){if(!cs.isInAngularZone())throw new R(909,!1)}static assertNotInAngularZone(){if(cs.isInAngularZone())throw new R(909,!1)}run(e,r,n){return this._inner.run(e,r,n)}runTask(e,r,n,i){let a=this._inner,s=a.scheduleEventTask("NgZoneEvent: "+i,e,ey,Yn,Yn);try{return a.runTask(s,r,n)}finally{a.cancelTask(s)}}runGuarded(e,r,n){return this._inner.runGuarded(e,r,n)}runOutsideAngular(e){return this._outer.run(e)}},ey={};function Do(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 ny(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function e(){Qd(()=>{t.callbackScheduled=!1,ds(t),t.isCheckStableRunning=!0,Do(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),ds(t)}function ry(t){let e=()=>{ny(t)},r=ty++;t._inner=t._inner.fork({name:"angular",properties:{[So]:!0,[hi]:r,[hi+r]:!0},onInvokeTask:(n,i,a,s,l,u)=>{if(ay(u))return n.invokeTask(a,s,l,u);try{return Pl(t),n.invokeTask(a,s,l,u)}finally{(t.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),Fl(t)}},onInvoke:(n,i,a,s,l,u,c)=>{try{return Pl(t),n.invoke(a,s,l,u,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!sy(u)&&e(),Fl(t)}},onHasTask:(n,i,a,s)=>{n.hasTask(a,s),i===a&&(s.change=="microTask"?(t._hasPendingMicrotasks=s.microTask,ds(t),Do(t)):s.change=="macroTask"&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,i,a,s)=>(n.handleError(a,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}function ds(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function Pl(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Fl(t){t._nesting--,Do(t)}var iy=class{constructor(){o(this,"hasPendingMicrotasks",!1);o(this,"hasPendingMacrotasks",!1);o(this,"isStable",!0);o(this,"onUnstable",new $t);o(this,"onMicrotaskEmpty",new $t);o(this,"onStable",new $t);o(this,"onError",new $t)}run(t,e,r){return t.apply(e,r)}runGuarded(t,e,r){return t.apply(e,r)}runOutsideAngular(t){return t()}runTask(t,e,r,n){return t.apply(e,r)}};function ay(t){return Yd(t,"__ignore_ng_zone__")}function sy(t){return Yd(t,"__scheduler_tick__")}function Yd(t,e){var r,n;return!Array.isArray(t)||t.length!==1?!1:((n=(r=t[0])==null?void 0:r.data)==null?void 0:n[e])===!0}var $e=class{constructor(){o(this,"_console",console)}handleError(t){this._console.error("ERROR",t)}},oy=new A("",{providedIn:"root",factory:()=>{let t=g(J),e=g($e);return r=>t.runOutsideAngular(()=>e.handleError(r))}}),ly=class{constructor(){o(this,"destroyed",!1);o(this,"listeners",null);o(this,"errorHandler",g($e,{optional:!0}));o(this,"destroyRef",g(cr));this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(t){if(this.destroyed)throw new R(953,!1);return(this.listeners??(this.listeners=[])).push(t),{unsubscribe:()=>{var r,n;let e=(r=this.listeners)==null?void 0:r.indexOf(t);e!==void 0&&e!==-1&&((n=this.listeners)==null||n.splice(e,1))}}}emit(t){var r;if(this.destroyed)throw new R(953,!1);if(this.listeners===null)return;let e=F(null);try{for(let n of this.listeners)try{n(t)}catch(i){(r=this.errorHandler)==null||r.handleError(i)}}finally{F(e)}}};function n1(t){return new ly}function jl(t,e){return Bc(t,e)}function uy(t){return Bc(zc,t)}var r1=(jl.required=uy,jl);function cy(){return Cn(ot(),O())}function Cn(t,e){return new Yt(At(t,e))}var Yt=(()=>{class t{constructor(r){o(this,"nativeElement");this.nativeElement=r}}return o(t,"__NG_ELEMENT_ID__",cy),t})();function Jd(t){return t instanceof Yt?t.nativeElement:t}function dy(){return this._results[Symbol.iterator]()}var Ju,fs=(Ju=Symbol.iterator,class{constructor(t=!1){o(this,"_emitDistinctChangesOnly");o(this,"dirty",!0);o(this,"_onDirty");o(this,"_results",[]);o(this,"_changesDetected",!1);o(this,"_changes");o(this,"length",0);o(this,"first");o(this,"last");o(this,Ju,dy);this._emitDistinctChangesOnly=t}get changes(){return this._changes??(this._changes=new ut)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){this.dirty=!1;let r=qb(t);(this._changesDetected=!Ub(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(t){this._onDirty=t}setDirty(){var t;this.dirty=!0,(t=this._onDirty)==null||t.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}});function Xd(t){return(t.flags&128)===128}var tf=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(tf||{}),ef=new Map,fy=0;function hy(){return fy++}function py(t){ef.set(t[Ai],t)}function hs(t){ef.delete(t[Ai])}var Vl="__ngContext__";function _e(t,e){me(e)?(t[Vl]=e[Ai],py(e)):t[Vl]=e}function nf(t){return af(t[Gn])}function rf(t){return af(t[Ft])}function af(t){for(;t!==null&&!oe(t);)t=t[Ft];return t}var ps;function my(t){ps=t}function by(){if(ps!==void 0)return ps;if(typeof document<"u")return document;throw new R(210,!1)}var Hi=new A("",{providedIn:"root",factory:()=>gy}),gy="ng",sf=new A(""),Tn=new A("",{providedIn:"platform",factory:()=>"unknown"}),zi=new A(""),Oo=new A("",{providedIn:"root",factory:()=>{var t,e;return((e=(t=by().body)==null?void 0:t.querySelector("[ngCspNonce]"))==null?void 0:e.getAttribute("ngCspNonce"))||null}}),of=!1,yy=new A("",{providedIn:"root",factory:()=>of}),Ao=function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t}(Ao||{}),Bi=new A(""),Hl=new Set;function ue(t){var e;Hl.has(t)||(Hl.add(t),(e=performance==null?void 0:performance.mark)==null||e.call(performance,"mark_feature_usage",{detail:{feature:t}}))}var en=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(en||{}),lf=(()=>{const e=class e{constructor(){o(this,"impl",null)}execute(){var n;(n=this.impl)==null||n.execute()}};o(e,"ɵprov",C({token:e,providedIn:"root",factory:()=>new e}));let t=e;return t})(),vy=[en.EarlyRead,en.Write,en.MixedReadWrite,en.Read],_y=(()=>{const e=class e{constructor(){o(this,"ngZone",g(J));o(this,"scheduler",g(dr));o(this,"errorHandler",g($e,{optional:!0}));o(this,"sequences",new Set);o(this,"deferredRegistrations",new Set);o(this,"executing",!1);g(Bi,{optional:!0})}execute(){var n;this.executing=!0;for(let i of vy)for(let a of this.sequences)if(!(a.erroredOrDestroyed||!a.hooks[i]))try{a.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>a.hooks[i](a.pipelinedValue),a.snapshot))}catch(s){a.erroredOrDestroyed=!0,(n=this.errorHandler)==null||n.handleError(s)}this.executing=!1;for(let i of this.sequences)i.afterRun(),i.once&&(this.sequences.delete(i),i.destroy());for(let i of this.deferredRegistrations)this.sequences.add(i);this.deferredRegistrations.size>0&&this.scheduler.notify(8),this.deferredRegistrations.clear()}register(n){this.executing?this.deferredRegistrations.add(n):(this.sequences.add(n),this.scheduler.notify(7))}unregister(n){this.executing&&this.sequences.has(n)?(n.erroredOrDestroyed=!0,n.pipelinedValue=void 0,n.once=!0):(this.sequences.delete(n),this.deferredRegistrations.delete(n))}maybeTrace(n,i){return i?i.run(Ao.AFTER_NEXT_RENDER,n):n()}};o(e,"ɵprov",C({token:e,providedIn:"root",factory:()=>new e}));let t=e;return t})(),wy=class{constructor(t,e,r,n,i=null){o(this,"impl");o(this,"hooks");o(this,"once");o(this,"snapshot");o(this,"erroredOrDestroyed",!1);o(this,"pipelinedValue");o(this,"unregisterOnDestroy");this.impl=t,this.hooks=e,this.once=r,this.snapshot=i,this.unregisterOnDestroy=n==null?void 0:n.onDestroy(()=>this.destroy())}afterRun(){var t;this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,(t=this.snapshot)==null||t.dispose(),this.snapshot=null}destroy(){var t;this.impl.unregister(this),(t=this.unregisterOnDestroy)==null||t.call(this)}};function i1(t,e){!(e!=null&&e.injector)&&ho();let r=(e==null?void 0:e.injector)??g(le);return ue("NgAfterRender"),uf(t,r,e,!1)}function a1(t,e){!(e!=null&&e.injector)&&ho();let r=(e==null?void 0:e.injector)??g(le);return ue("NgAfterNextRender"),uf(t,r,e,!0)}function xy(t,e){if(t instanceof Function){let r=[void 0,void 0,void 0,void 0];return r[e]=t,r}else return[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function uf(t,e,r,n){let i=e.get(lf);i.impl??(i.impl=e.get(_y));let a=e.get(Bi,null,{optional:!0}),s=(r==null?void 0:r.phase)??en.MixedReadWrite,l=(r==null?void 0:r.manualCleanup)!==!0?e.get(cr):null,u=new wy(i.impl,xy(t,s),n,l,a==null?void 0:a.snapshot(null));return i.impl.register(u),u}var ky=()=>null;function Ro(t,e,r=!1){return ky()}var ne=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(ne||{}),_r;function Iy(){if(_r===void 0&&(_r=null,Je.trustedTypes))try{_r=Je.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return _r}function Ui(t){var e;return((e=Iy())==null?void 0:e.createHTML(t))||t}var Ze=class{constructor(t){o(this,"changingThisBreaksApplicationSecurity");this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Hc})`}},Ey=class extends Ze{getTypeName(){return"HTML"}},Cy=class extends Ze{getTypeName(){return"Style"}},Ty=class extends Ze{getTypeName(){return"Script"}},Sy=class extends Ze{getTypeName(){return"URL"}},Dy=class extends Ze{getTypeName(){return"ResourceURL"}};function Ne(t){return t instanceof Ze?t.changingThisBreaksApplicationSecurity:t}function Rn(t,e){let r=Oy(t);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${r} (see ${Hc})`)}return r===e}function Oy(t){return t instanceof Ze&&t.getTypeName()||null}function Ay(t){return new Ey(t)}function Ry(t){return new Cy(t)}function Ny(t){return new Ty(t)}function Ly(t){return new Sy(t)}function My(t){return new Dy(t)}function Py(t){let e=new jy(t);return Vy()?new Fy(e):e}var Fy=class{constructor(t){o(this,"inertDocumentHelper");this.inertDocumentHelper=t}getInertBodyElement(t){var e;t="<body><remove></remove>"+t;try{let r=new window.DOMParser().parseFromString(Ui(t),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(t):((e=r.firstChild)==null||e.remove(),r)}catch{return null}}},jy=class{constructor(t){o(this,"defaultDoc");o(this,"inertDocument");this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){let e=this.inertDocument.createElement("template");return e.innerHTML=Ui(t),e}};function Vy(){try{return!!new window.DOMParser().parseFromString(Ui(""),"text/html")}catch{return!1}}var Hy=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function cf(t){return t=String(t),t.match(Hy)?t:"unsafe:"+t}function ce(t){let e={};for(let r of t.split(","))e[r]=!0;return e}function fr(...t){let e={};for(let r of t)for(let n in r)r.hasOwnProperty(n)&&(e[n]=!0);return e}var df=ce("area,br,col,hr,img,wbr"),ff=ce("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),hf=ce("rp,rt"),zy=fr(hf,ff),By=fr(ff,ce("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")),Uy=fr(hf,ce("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")),zl=fr(df,By,Uy,zy),pf=ce("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),qy=ce("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"),$y=ce("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"),Zy=fr(pf,qy,$y),Ky=ce("script,style,template"),Wy=class{constructor(){o(this,"sanitizedSomething",!1);o(this,"buf",[])}sanitizeChildren(t){let e=t.firstChild,r=!0,n=[];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){n.push(e),e=Yy(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let i=Qy(e);if(i){e=i;break}e=n.pop()}}return this.buf.join("")}startElement(t){let e=Bl(t).toLowerCase();if(!zl.hasOwnProperty(e))return this.sanitizedSomething=!0,!Ky.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);let r=t.attributes;for(let n=0;n<r.length;n++){let i=r.item(n),a=i.name,s=a.toLowerCase();if(!Zy.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=i.value;pf[s]&&(l=cf(l)),this.buf.push(" ",a,'="',Ul(l),'"')}return this.buf.push(">"),!0}endElement(t){let e=Bl(t).toLowerCase();zl.hasOwnProperty(e)&&!df.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(t){this.buf.push(Ul(t))}};function Gy(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function Qy(t){let e=t.nextSibling;if(e&&t!==e.previousSibling)throw mf(e);return e}function Yy(t){let e=t.firstChild;if(e&&Gy(t,e))throw mf(e);return e}function Bl(t){let e=t.nodeName;return typeof e=="string"?e:"FORM"}function mf(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var Jy=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Xy=/([^\#-~ |!])/g;function Ul(t){return t.replace(/&/g,"&amp;").replace(Jy,function(e){let r=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((r-55296)*1024+(n-56320)+65536)+";"}).replace(Xy,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var wr;function tv(t,e){let r=null;try{wr=wr||Py(t);let n=e?String(e):"";r=wr.getInertBodyElement(n);let i=5,a=n;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,n=a,a=r.innerHTML,r=wr.getInertBodyElement(n)}while(n!==a);let s=new Wy().sanitizeChildren(ql(r)||r);return Ui(s)}finally{if(r){let n=ql(r)||r;for(;n.firstChild;)n.firstChild.remove()}}}function ql(t){return"content"in t&&ev(t)?t.content:null}function ev(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var Ae=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}(Ae||{}),nv=/^>|^->|<!--|-->|--!>|<!-$/g,rv=/(<|>)/g,iv="​$1​";function av(t){return t.replace(nv,e=>e.replace(rv,iv))}function bf(t){return t instanceof Function?t():t}var we=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(we||{}),nn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(nn||{}),sv;function No(t,e){return sv(t,e)}function rn(t,e,r,n,i){if(n!=null){let a,s=!1;oe(n)?a=n:me(n)&&(s=!0,n=n[se]);let l=Kt(n);t===0&&r!==null?i==null?wf(e,r,l):pi(e,r,l,i||null,!0):t===1&&r!==null?pi(e,r,l,i||null,!0):t===2?_v(e,l,s):t===3&&e.destroyNode(l),a!=null&&xv(e,t,a,r,i)}}function ov(t,e){return t.createText(e)}function lv(t,e,r){t.setValue(e,r)}function uv(t,e){return t.createComment(av(e))}function gf(t,e,r){return t.createElement(e,r)}function cv(t,e){yf(t,e),e[se]=null,e[yt]=null}function dv(t,e,r,n,i,a){n[se]=i,n[yt]=e,Zi(t,n,r,1,i,a)}function yf(t,e){var r;(r=e[ye].changeDetectionScheduler)==null||r.notify(10),Zi(t,e,e[Q],2,null,null)}function fv(t){let e=t[Gn];if(!e)return ya(t[N],t);for(;e;){let r=null;if(me(e))r=e[Gn];else{let n=e[lt];n&&(r=n)}if(!r){for(;e&&!e[Ft]&&e!==t;)me(e)&&ya(e[N],e),e=e[ct];e===null&&(e=t),me(e)&&ya(e[N],e),r=e&&e[Ft]}e=r}}function hv(t,e,r,n){let i=lt+n,a=r.length;n>0&&(r[i-1][Ft]=e),n<a-lt?(e[Ft]=r[i],td(r,lt+n,e)):(r.push(e),e[Ft]=null),e[ct]=r;let s=e[Fe];s!==null&&r!==s&&vf(s,e);let l=e[jt];l!==null&&l.insertView(t),rs(e),e[S]|=128}function vf(t,e){let r=t[mn],n=e[ct];if(me(n))t[S]|=oi.HasTransplantedViews;else{let i=n[ct][Dt];e[Dt]!==i&&(t[S]|=oi.HasTransplantedViews)}r===null?t[mn]=[e]:r.push(e)}function Lo(t,e){let r=t[mn],n=r.indexOf(e);r.splice(n,1)}function Jn(t,e){if(t.length<=lt)return;let r=lt+e,n=t[r];if(n){let i=n[Fe];i!==null&&i!==t&&Lo(i,n),e>0&&(t[r-1][Ft]=n[Ft]);let a=ii(t,lt+e);cv(n[N],n);let s=a[jt];s!==null&&s.detachView(a[N]),n[ct]=null,n[Ft]=null,n[S]&=-129}return n}function qi(t,e){if(!(e[S]&256)){let r=e[Q];r.destroyNode&&Zi(t,e,r,3,null,null),fv(e)}}function ya(t,e){if(e[S]&256)return;let r=F(null);try{e[S]&=-129,e[S]|=256,e[wt]&&Ei(e[wt]),mv(t,e),pv(t,e),e[N].type===1&&e[Q].destroy();let n=e[Fe];if(n!==null&&oe(e[ct])){n!==e[ct]&&Lo(n,e);let i=e[jt];i!==null&&i.detachView(t)}hs(e)}finally{F(r)}}function pv(t,e){let r=t.cleanup,n=e[on];if(r!==null)for(let s=0;s<r.length-1;s+=2)if(typeof r[s]=="string"){let l=r[s+3];l>=0?n[l]():n[-l].unsubscribe(),s+=2}else{let l=n[r[s+1]];r[s].call(l)}n!==null&&(e[on]=null);let i=e[pe];if(i!==null){e[pe]=null;for(let s=0;s<i.length;s++){let l=i[s];l()}}let a=e[ee];if(a!==null){e[ee]=null;for(let s of a)s.destroy()}}function mv(t,e){let r;if(t!=null&&(r=t.destroyHooks)!=null)for(let n=0;n<r.length;n+=2){let i=e[r[n]];if(!(i instanceof ur)){let a=r[n+1];if(Array.isArray(a))for(let s=0;s<a.length;s+=2){let l=i[a[s]],u=a[s+1];try{u.call(l)}finally{}}else try{a.call(i)}finally{}}}}function _f(t,e,r){return bv(t,e.parent,r)}function bv(t,e,r){let n=e;for(;n!==null&&n.type&168;)e=n,n=e.parent;if(n===null)return r[se];{let{componentOffset:i}=n;if(i>-1){let{encapsulation:a}=t.data[n.directiveStart+i];if(a===ne.None||a===ne.Emulated)return null}return At(n,r)}}function pi(t,e,r,n,i){t.insertBefore(e,r,n,i)}function wf(t,e,r){t.appendChild(e,r)}function $l(t,e,r,n,i){n!==null?pi(t,e,r,n,i):wf(t,e,r)}function xf(t,e){return t.parentNode(e)}function gv(t,e){return t.nextSibling(e)}function kf(t,e,r){return vv(t,e,r)}function yv(t,e,r){return t.type&40?At(t,r):null}var vv=yv;function $i(t,e,r,n){let i=_f(t,n,e),a=e[Q],s=n.parent||e[yt],l=kf(s,n,e);if(i!=null)if(Array.isArray(r))for(let u=0;u<r.length;u++)$l(a,i,r[u],l,!1);else $l(a,i,r,l,!1)}function Fn(t,e){if(e!==null){let r=e.type;if(r&3)return At(e,t);if(r&4)return ms(-1,t[e.index]);if(r&8){let n=e.child;if(n!==null)return Fn(t,n);{let i=t[e.index];return oe(i)?ms(-1,i):Kt(i)}}else{if(r&128)return Fn(t,e.next);if(r&32)return No(e,t)()||Kt(t[e.index]);{let n=If(t,e);if(n!==null){if(Array.isArray(n))return n[0];let i=He(t[Dt]);return Fn(i,n)}else return Fn(t,e.next)}}}return null}function If(t,e){if(e!==null){let r=t[Dt][yt],n=e.projection;return r.projection[n]}return null}function ms(t,e){let r=lt+t+1;if(r<e.length){let n=e[r],i=n[N].firstChild;if(i!==null)return Fn(n,i)}return e[je]}function _v(t,e,r){t.removeChild(null,e,r)}function Mo(t,e,r,n,i,a,s){for(;r!=null;){if(r.type===128){r=r.next;continue}let l=n[r.index],u=r.type;if(s&&e===0&&(l&&_e(Kt(l),n),r.flags|=2),(r.flags&32)!==32)if(u&8)Mo(t,e,r.child,n,i,a,!1),rn(e,t,i,l,a);else if(u&32){let c=No(r,n),d;for(;d=c();)rn(e,t,i,d,a);rn(e,t,i,l,a)}else u&16?Ef(t,e,n,r,i,a):rn(e,t,i,l,a);r=s?r.projectionNext:r.next}}function Zi(t,e,r,n,i,a){Mo(r,n,t.firstChild,e,i,a,!1)}function wv(t,e,r){let n=e[Q],i=_f(t,r,e),a=r.parent||e[yt],s=kf(a,r,e);Ef(n,0,e,r,i,s)}function Ef(t,e,r,n,i,a){let s=r[Dt],l=s[yt].projection[n.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let c=l[u];rn(e,t,i,c,a)}else{let u=l,c=s[ct];Xd(n)&&(u.flags|=128),Mo(t,e,u,c,i,a,!0)}}function xv(t,e,r,n,i){let a=r[je],s=Kt(r);a!==s&&rn(e,t,n,a,i);for(let l=lt;l<r.length;l++){let u=r[l];Zi(u[N],u,t,e,n,a)}}function kv(t,e,r,n,i){i?t.addClass(r,n):t.removeClass(r,n)}function Iv(t,e,r){t.setAttribute(e,"style",r)}function Cf(t,e,r){r===""?t.removeAttribute(e,"class"):t.setAttribute(e,"class",r)}function Tf(t,e,r){let{mergedAttrs:n,classes:i,styles:a}=r;n!==null&&ss(t,e,n),i!==null&&Cf(t,e,i),a!==null&&Iv(t,e,a)}function Ev(t,e,r){let n=t.length;for(;;){let i=t.indexOf(e,r);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let a=e.length;if(i+a===n||t.charCodeAt(i+a)<=32)return i}r=i+1}}var Sf="ng-template";function Cv(t,e,r,n){let i=0;if(n){for(;i<e.length&&typeof e[i]=="string";i+=2)if(e[i]==="class"&&Ev(e[i+1].toLowerCase(),r,0)!==-1)return!0}else if(Po(t))return!1;if(i=e.indexOf(1,i),i>-1){let a;for(;++i<e.length&&typeof(a=e[i])=="string";)if(a.toLowerCase()===r)return!0}return!1}function Po(t){return t.type===4&&t.value!==Sf}function Tv(t,e,r){let n=t.type===4&&!r?Sf:t.value;return e===n}function Sv(t,e,r){let n=4,i=t.attrs,a=i!==null?Av(i):0,s=!1;for(let l=0;l<e.length;l++){let u=e[l];if(typeof u=="number"){if(!s&&!Lt(n)&&!Lt(u))return!1;if(s&&Lt(u))continue;s=!1,n=u|n&1;continue}if(!s)if(n&4){if(n=2|n&1,u!==""&&!Tv(t,u,r)||u===""&&e.length===1){if(Lt(n))return!1;s=!0}}else if(n&8){if(i===null||!Cv(t,i,u,r)){if(Lt(n))return!1;s=!0}}else{let c=e[++l],d=Dv(u,i,Po(t),r);if(d===-1){if(Lt(n))return!1;s=!0;continue}if(c!==""){let f;if(d>a?f="":f=i[d+1].toLowerCase(),n&2&&c!==f){if(Lt(n))return!1;s=!0}}}}return Lt(n)||s}function Lt(t){return(t&1)===0}function Dv(t,e,r,n){if(e===null)return-1;let i=0;if(n||!r){let a=!1;for(;i<e.length;){let s=e[i];if(s===t)return i;if(s===3||s===6)a=!0;else if(s===1||s===2){let l=e[++i];for(;typeof l=="string";)l=e[++i];continue}else{if(s===4)break;if(s===0){i+=4;continue}}i+=a?1:2}return-1}else return Rv(e,t)}function Df(t,e,r=!1){for(let n=0;n<e.length;n++)if(Sv(t,e[n],r))return!0;return!1}function Ov(t){let e=t.attrs;if(e!=null){let r=e.indexOf(5);if(!(r&1))return e[r+1]}return null}function Av(t){for(let e=0;e<t.length;e++){let r=t[e];if(Ld(r))return e}return t.length}function Rv(t,e){let r=t.indexOf(4);if(r>-1)for(r++;r<t.length;){let n=t[r];if(typeof n=="number")return-1;if(n===e)return r;r++}return-1}function Nv(t,e){t:for(let r=0;r<e.length;r++){let n=e[r];if(t.length===n.length){for(let i=0;i<t.length;i++)if(t[i]!==n[i])continue t;return!0}}return!1}function Zl(t,e){return t?":not("+e.trim()+")":e}function Lv(t){let e=t[0],r=1,n=2,i="",a=!1;for(;r<t.length;){let s=t[r];if(typeof s=="string")if(n&2){let l=t[++r];i+="["+s+(l.length>0?'="'+l+'"':"")+"]"}else n&8?i+="."+s:n&4&&(i+=" "+s);else i!==""&&!Lt(s)&&(e+=Zl(a,i),i=""),n=s,a=a||!Lt(n);r++}return i!==""&&(e+=Zl(a,i)),e}function Mv(t){return t.map(Lv).join(",")}function Pv(t){let e=[],r=[],n=1,i=2;for(;n<t.length;){let a=t[n];if(typeof a=="string")i===2?a!==""&&e.push(a,t[++n]):i===8&&r.push(a);else{if(!Lt(i))break;i=a}n++}return{attrs:e,classes:r}}var Et={};function Ur(t=1){Of(G(),O(),Qt()+t)}function Of(t,e,r,n){if((e[S]&3)===3){let i=t.preOrderCheckHooks;i!==null&&Hr(e,i,r)}else{let i=t.preOrderHooks;i!==null&&zr(e,i,0,r)}ze(r)}function mt(t,e=j.Default){let r=O();if(r===null)return P(t,e);let n=ot();return zd(n,r,ft(t),e)}function Af(t,e,r,n,i,a){let s=F(null);try{let l=null;i&we.SignalBased&&(l=e[n][_t]),l!==null&&l.transformFn!==void 0&&(a=l.transformFn(a)),i&we.HasDecoratorInputTransform&&(a=t.inputTransforms[n].call(e,a)),t.setInput!==null?t.setInput(e,l,a,r,n):pd(e,l,n,a)}finally{F(s)}}function Fv(t,e){let r=t.hostBindingOpCodes;if(r!==null)try{for(let n=0;n<r.length;n++){let i=r[n];if(i<0)ze(~i);else{let a=i,s=r[++n],l=r[++n];Tg(s,a);let u=e[a];l(2,u)}}}finally{ze(-1)}}function Ki(t,e,r,n,i,a,s,l,u,c,d){let f=e.blueprint.slice();return f[se]=i,f[S]=n|4|128|8|64|1024,(c!==null||t&&t[S]&2048)&&(f[S]|=2048),wd(f),f[ct]=f[In]=t,f[pt]=r,f[ye]=s||t&&t[ye],f[Q]=l||t&&t[Q],f[pn]=u||t&&t[pn]||null,f[yt]=a,f[Ai]=hy(),f[hn]=d,f[fd]=c,f[Dt]=e.type==2?t[Dt]:f,f}function Ke(t,e,r,n,i){let a=t.data[e];if(a===null)a=jv(t,e,r,n,i),Cg()&&(a.flags|=32);else if(a.type&64){a.type=r,a.value=n,a.attrs=i;let s=kg();a.injectorIndex=s===null?-1:s.injectorIndex}return ke(a,!0),a}function jv(t,e,r,n,i){let a=Id(),s=vo(),l=s?a:a&&a.parent,u=t.data[e]=Bv(t,l,r,e,n,i);return t.firstChild===null&&(t.firstChild=u),a!==null&&(s?a.child==null&&u.parent!==null&&(a.child=u):a.next===null&&(a.next=u,u.prev=a)),u}function Rf(t,e,r,n){if(r===0)return-1;let i=e.length;for(let a=0;a<r;a++)e.push(n),t.blueprint.push(n),t.data.push(null);return i}function Nf(t,e,r,n,i){let a=Qt(),s=n&2;try{ze(-1),s&&e.length>nt&&Of(t,e,nt,!1),yd(s?2:0,i),r(n,i)}finally{ze(a)}}function Fo(t,e,r){if(po(e)){let n=F(null);try{let i=e.directiveStart,a=e.directiveEnd;for(let s=i;s<a;s++){let l=t.data[s];if(l.contentQueries){let u=r[s];l.contentQueries(1,u,s)}}}finally{F(n)}}}function jo(t,e,r){Wv(t,e,r,At(r,e)),(r.flags&64)===64&&Pf(t,e,r)}function Vo(t,e,r=At){let n=e.localNames;if(n!==null){let i=e.index+1;for(let a=0;a<n.length;a+=2){let s=n[a+1],l=s===-1?r(e,t):t[s];t[i++]=l}}}function Lf(t){let e=t.tView;return e===null||e.incompleteFirstPass?t.tView=Ho(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):e}function Ho(t,e,r,n,i,a,s,l,u,c,d){let f=nt+n,m=f+i,h=Vv(f,m),y=typeof c=="function"?c():c;return h[N]={type:t,blueprint:h,template:r,queries:null,viewQuery:l,declTNode:e,data:h.slice().fill(null,f),bindingStartIndex:f,expandoStartIndex:m,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof a=="function"?a():a,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:u,consts:y,incompleteFirstPass:!1,ssrId:d}}function Vv(t,e){let r=[];for(let n=0;n<e;n++)r.push(n<t?null:Et);return r}function Hv(t,e,r,n){let i=n.get(yy,of)||r===ne.ShadowDom;return t.selectRootElement(e,i)}function zv(t,e,r,n){let i=Hf(e);i.push(r),t.firstCreatePass&&zf(t).push(n,i.length-1)}function Bv(t,e,r,n,i,a){let s=e?e.injectorIndex:-1,l=0;return kd()&&(l|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:l,providerIndexes:0,value:i,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function Kl(t,e,r,n,i){for(let a in e){if(!e.hasOwnProperty(a))continue;let s=e[a];if(s===void 0)continue;n??(n={});let l,u=we.None;Array.isArray(s)?(l=s[0],u=s[1]):l=s;let c=a;if(i!==null){if(!i.hasOwnProperty(a))continue;c=i[a]}t===0?Wl(n,r,c,l,u):Wl(n,r,c,l)}return n}function Wl(t,e,r,n,i){let a;t.hasOwnProperty(r)?(a=t[r]).push(e,n):a=t[r]=[e,n],i!==void 0&&a.push(i)}function Uv(t,e,r){let n=e.directiveStart,i=e.directiveEnd,a=t.data,s=e.attrs,l=[],u=null,c=null;for(let d=n;d<i;d++){let f=a[d],m=r?r.get(f):null,h=m?m.inputs:null,y=m?m.outputs:null;u=Kl(0,f.inputs,d,u,h),c=Kl(1,f.outputs,d,c,y);let b=u!==null&&s!==null&&!Po(e)?a_(u,d,s):null;l.push(b)}u!==null&&(u.hasOwnProperty("class")&&(e.flags|=8),u.hasOwnProperty("style")&&(e.flags|=16)),e.initialInputs=l,e.inputs=u,e.outputs=c}function qv(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function zo(t,e,r,n,i,a,s,l){let u=At(e,r),c=e.inputs,d;!l&&c!=null&&(d=c[n])?(Uo(t,r,d,n,i),Ri(e)&&$v(r,e.index)):e.type&3?(n=qv(n),i=s!=null?s(i,e.value||"",n):i,a.setProperty(u,n,i)):e.type&12}function $v(t,e){let r=xe(e,t);r[S]&16||(r[S]|=64)}function Bo(t,e,r,n){{let i=n===null?null:{"":-1},a=Qv(t,r),s,l;a===null?s=l=null:[s,l]=a,s!==null&&Mf(t,e,r,s,i,l),i&&Yv(r,n,i)}r.mergedAttrs=Qn(r.mergedAttrs,r.attrs)}function Mf(t,e,r,n,i,a){for(let c=0;c<n.length;c++)ls(fi(r,e),t,n[c].type);Xv(r,t.data.length,n.length);for(let c=0;c<n.length;c++){let d=n[c];d.providersResolver&&d.providersResolver(d)}let s=!1,l=!1,u=Rf(t,e,n.length,null);for(let c=0;c<n.length;c++){let d=n[c];r.mergedAttrs=Qn(r.mergedAttrs,d.hostAttrs),t_(t,r,e,u,d),Jv(u,d,i),d.contentQueries!==null&&(r.flags|=4),(d.hostBindings!==null||d.hostAttrs!==null||d.hostVars!==0)&&(r.flags|=64);let f=d.type.prototype;!s&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((t.preOrderHooks??(t.preOrderHooks=[])).push(r.index),s=!0),!l&&(f.ngOnChanges||f.ngDoCheck)&&((t.preOrderCheckHooks??(t.preOrderCheckHooks=[])).push(r.index),l=!0),u++}Uv(t,r,a)}function Zv(t,e,r,n,i){let a=i.hostBindings;if(a){let s=t.hostBindingOpCodes;s===null&&(s=t.hostBindingOpCodes=[]);let l=~e.index;Kv(s)!=l&&s.push(l),s.push(r,n,a)}}function Kv(t){let e=t.length;for(;e>0;){let r=t[--e];if(typeof r=="number"&&r<0)return r}return 0}function Wv(t,e,r,n){let i=r.directiveStart,a=r.directiveEnd;Ri(r)&&e_(e,r,t.data[i+r.componentOffset]),t.firstCreatePass||fi(r,e),_e(n,e);let s=r.initialInputs;for(let l=i;l<a;l++){let u=t.data[l],c=Be(e,t,l,r);if(_e(c,e),s!==null&&i_(e,l-i,c,u,r,s),ve(u)){let d=xe(r.index,e);d[pt]=Be(e,t,l,r)}}}function Pf(t,e,r){let n=r.directiveStart,i=r.directiveEnd,a=r.index,s=Sg();try{ze(a);for(let l=n;l<i;l++){let u=t.data[l],c=e[l];as(l),(u.hostBindings!==null||u.hostVars!==0||u.hostAttrs!==null)&&Gv(u,c)}}finally{ze(-1),as(s)}}function Gv(t,e){t.hostBindings!==null&&t.hostBindings(1,e)}function Qv(t,e){var a;let r=t.directiveRegistry,n=null,i=null;if(r)for(let s=0;s<r.length;s++){let l=r[s];if(Df(e,l.selectors,!1))if(n||(n=[]),ve(l))if(l.findHostDirectiveDefs!==null){let u=[];i=i||new Map,l.findHostDirectiveDefs(l,u,i),n.unshift(...u,l);let c=u.length;bs(t,e,c)}else n.unshift(l),bs(t,e,0);else i=i||new Map,(a=l.findHostDirectiveDefs)==null||a.call(l,l,n,i),n.push(l)}return n===null?null:[n,i]}function bs(t,e,r){e.componentOffset=r,(t.components??(t.components=[])).push(e.index)}function Yv(t,e,r){if(e){let n=t.localNames=[];for(let i=0;i<e.length;i+=2){let a=r[e[i+1]];if(a==null)throw new R(-301,!1);n.push(e[i],a)}}}function Jv(t,e,r){if(r){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)r[e.exportAs[n]]=t;ve(e)&&(r[""]=t)}}function Xv(t,e,r){t.flags|=1,t.directiveStart=e,t.directiveEnd=e+r,t.providerIndexes=e}function t_(t,e,r,n,i){t.data[n]=i;let a=i.factory||(i.factory=Pe(i.type)),s=new ur(a,ve(i),mt);t.blueprint[n]=s,r[n]=s,Zv(t,e,n,Rf(t,r,i.hostVars,Et),i)}function Ff(t){let e=16;return t.signals?e=4096:t.onPush&&(e=64),e}function e_(t,e,r){let n=At(e,t),i=Lf(r),a=t[ye].rendererFactory,s=Wi(t,Ki(t,i,null,Ff(r),n,e,null,a.createRenderer(n,r),null,null,null));t[e.index]=s}function n_(t,e,r,n,i,a){let s=At(t,e);r_(e[Q],s,a,t.value,r,n,i)}function r_(t,e,r,n,i,a,s){if(a==null)t.removeAttribute(e,i,r);else{let l=s==null?Kn(a):s(a,n||"",i);t.setAttribute(e,i,l,r)}}function i_(t,e,r,n,i,a){let s=a[e];if(s!==null)for(let l=0;l<s.length;){let u=s[l++],c=s[l++],d=s[l++],f=s[l++];Af(n,r,u,c,d,f)}}function a_(t,e,r){let n=null,i=0;for(;i<r.length;){let a=r[i];if(a===0){i+=4;continue}else if(a===5){i+=2;continue}if(typeof a=="number")break;if(t.hasOwnProperty(a)){n===null&&(n=[]);let s=t[a];for(let l=0;l<s.length;l+=3)if(s[l]===e){n.push(a,s[l+1],s[l+2],r[i+1]);break}}i+=2}return n}function jf(t,e,r,n){return[t,!0,0,e,null,n,null,r,null,null]}function Vf(t,e){let r=t.contentQueries;if(r!==null){let n=F(null);try{for(let i=0;i<r.length;i+=2){let a=r[i],s=r[i+1];if(s!==-1){let l=t.data[s];Mi(a),l.contentQueries(2,e[s],s)}}}finally{F(n)}}}function Wi(t,e){return t[Gn]?t[Dl][Ft]=e:t[Gn]=e,t[Dl]=e,e}function gs(t,e,r){Mi(0);let n=F(null);try{e(t,r)}finally{F(n)}}function Hf(t){return t[on]??(t[on]=[])}function zf(t){return t.cleanup??(t.cleanup=[])}function Bf(t,e){let r=t[pn],n=r?r.get($e,null):null;n&&n.handleError(e)}function Uo(t,e,r,n,i){for(let a=0;a<r.length;){let s=r[a++],l=r[a++],u=r[a++],c=e[s],d=t.data[s];Af(d,c,n,l,u,i)}}function Uf(t,e,r){let n=_d(e,t);lv(t[Q],n,r)}function s_(t,e){let r=xe(e,t),n=r[N];o_(n,r);let i=r[se];i!==null&&r[hn]===null&&(r[hn]=Ro(i,r[pn])),qo(n,r,r[pt])}function o_(t,e){for(let r=e.length;r<t.blueprint.length;r++)e.push(t.blueprint[r])}function qo(t,e,r){var n;Io(e);try{let i=t.viewQuery;i!==null&&gs(1,i,r);let a=t.template;a!==null&&Nf(t,e,a,1,r),t.firstCreatePass&&(t.firstCreatePass=!1),(n=e[jt])==null||n.finishViewCreation(t),t.staticContentQueries&&Vf(t,e),t.staticViewQueries&&gs(2,t.viewQuery,r);let s=t.components;s!==null&&l_(e,s)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{e[S]&=-5,Eo()}}function l_(t,e){for(let r=0;r<e.length;r++)s_(t,e[r])}function hr(t,e,r,n){let i=F(null);try{let a=e.tView,s=t[S]&4096?4096:16,l=Ki(t,a,r,s,null,e,null,null,(n==null?void 0:n.injector)??null,(n==null?void 0:n.embeddedViewInjector)??null,(n==null?void 0:n.dehydratedView)??null),u=t[e.index];l[Fe]=u;let c=t[jt];return c!==null&&(l[jt]=c.createEmbeddedView(a)),qo(a,l,r),l}finally{F(i)}}function qf(t,e){let r=lt+e;if(r<t.length)return t[r]}function bn(t,e){return!e||e.firstChild===null||Xd(t)}function pr(t,e,r,n=!0){let i=e[N];if(hv(i,e,t,r),n){let s=ms(r,t),l=e[Q],u=xf(l,t[je]);u!==null&&dv(i,t[yt],l,e,u,s)}let a=e[hn];a!==null&&a.firstChild!==null&&(a.firstChild=null)}function $f(t,e){let r=Jn(t,e);return r!==void 0&&qi(r[N],r),r}function mi(t,e,r,n,i=!1){for(;r!==null;){if(r.type===128){r=i?r.projectionNext:r.next;continue}let a=e[r.index];a!==null&&n.push(Kt(a)),oe(a)&&u_(a,n);let s=r.type;if(s&8)mi(t,e,r.child,n);else if(s&32){let l=No(r,e),u;for(;u=l();)n.push(u)}else if(s&16){let l=If(e,r);if(Array.isArray(l))n.push(...l);else{let u=He(e[Dt]);mi(u[N],u,l,n,!0)}}r=i?r.projectionNext:r.next}return n}function u_(t,e){for(let r=lt;r<t.length;r++){let n=t[r],i=n[N].firstChild;i!==null&&mi(n[N],n,i,e)}t[je]!==t[se]&&e.push(t[je])}var Zf=[];function c_(t){return t[wt]??d_(t)}function d_(t){let e=Zf.pop()??Object.create(h_);return e.lView=t,e}function f_(t){t.lView[wt]!==t&&(t.lView=null,Zf.push(t))}var h_=It(Z({},kn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{lr(t.lView)},consumerOnSignalRead(){this.lView[wt]=this}});function p_(t){let e=t[wt]??Object.create(m_);return e.lView=t,e}var m_=It(Z({},kn),{consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=He(t.lView);for(;e&&!Kf(e[N]);)e=He(e);e&&yo(e)},consumerOnSignalRead(){this.lView[wt]=this}});function Kf(t){return t.type!==2}function Wf(t){if(t[ee]===null)return;let e=!0;for(;e;){let r=!1;for(let n of t[ee])n.dirty&&(r=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));e=r&&!!(t[S]&8192)}}var b_=100;function Gf(t,e=!0,r=0){var i,a;let n=t[ye].rendererFactory;(i=n.begin)==null||i.call(n);try{g_(t,r)}catch(s){throw e&&Bf(t,s),s}finally{(a=n.end)==null||a.call(n)}}function g_(t,e){let r=Cd();try{li(!0),ys(t,e);let n=0;for(;Li(t);){if(n===b_)throw new R(103,!1);n++,ys(t,1)}}finally{li(r)}}function y_(t,e,r,n){let i=e[S];if((i&256)===256)return;let a=!1,s=!1;Io(e);let l=!0,u=null,c=null;Kf(t)?(c=c_(e),u=ei(c)):db()===null?(l=!1,c=p_(e),u=ei(c)):e[wt]&&(Ei(e[wt]),e[wt]=null);try{wd(e),Eg(t.bindingStartIndex),r!==null&&Nf(t,e,r,2,n);let d=(i&3)===3;if(!a)if(d){let h=t.preOrderCheckHooks;h!==null&&Hr(e,h,null)}else{let h=t.preOrderHooks;h!==null&&zr(e,h,0,null),ma(e,0)}if(s||v_(e),Wf(e),Qf(e,0),t.contentQueries!==null&&Vf(t,e),!a)if(d){let h=t.contentCheckHooks;h!==null&&Hr(e,h)}else{let h=t.contentHooks;h!==null&&zr(e,h,1),ma(e,1)}Fv(t,e);let f=t.components;f!==null&&Jf(e,f,0);let m=t.viewQuery;if(m!==null&&gs(2,m,n),!a)if(d){let h=t.viewCheckHooks;h!==null&&Hr(e,h)}else{let h=t.viewHooks;h!==null&&zr(e,h,2),ma(e,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),e[pa]){for(let h of e[pa])h();e[pa]=null}a||(e[S]&=-73)}catch(d){throw lr(e),d}finally{c!==null&&(no(c,u),l&&f_(c)),Eo()}}function Qf(t,e){for(let r=nf(t);r!==null;r=rf(r))for(let n=lt;n<r.length;n++){let i=r[n];Yf(i,e)}}function v_(t){for(let e=nf(t);e!==null;e=rf(e)){if(!(e[S]&oi.HasTransplantedViews))continue;let r=e[mn];for(let n=0;n<r.length;n++){let i=r[n];yo(i)}}}function __(t,e,r){let n=xe(e,t);Yf(n,r)}function Yf(t,e){go(t)&&ys(t,e)}function ys(t,e){let r=t[N],n=t[S],i=t[wt],a=!!(e===0&&n&16);if(a||(a=!!(n&64&&e===0)),a||(a=!!(n&1024)),a||(a=!!(i!=null&&i.dirty&&ro(i))),a||(a=!1),i&&(i.dirty=!1),t[S]&=-9217,a)y_(r,t,r.template,t[pt]);else if(n&8192){Wf(t),Qf(t,1);let s=r.components;s!==null&&Jf(t,s,1)}}function Jf(t,e,r){for(let n=0;n<e.length;n++)__(t,e[n],r)}function $o(t,e){var n;let r=Cd()?64:1088;for((n=t[ye].changeDetectionScheduler)==null?void 0:n.notify(e);t;){t[S]|=r;let i=He(t);if(ns(t)&&!i)return t;t=i}return null}var Xn=class{constructor(t,e,r=!0){o(this,"_lView");o(this,"_cdRefInjectingView");o(this,"notifyErrorHandler");o(this,"_appRef",null);o(this,"_attachedToViewContainer",!1);this._lView=t,this._cdRefInjectingView=e,this.notifyErrorHandler=r}get rootNodes(){let t=this._lView,e=t[N];return mi(e,t,e.firstChild,[])}get context(){return this._lView[pt]}get dirty(){var t;return!!(this._lView[S]&9280)||!!((t=this._lView[wt])!=null&&t.dirty)}set context(t){this._lView[pt]=t}get destroyed(){return(this._lView[S]&256)===256}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let t=this._lView[ct];if(oe(t)){let e=t[si],r=e?e.indexOf(this):-1;r>-1&&(Jn(t,r),ii(e,r))}this._attachedToViewContainer=!1}qi(this._lView[N],this._lView)}onDestroy(t){xd(this._lView,t)}markForCheck(){$o(this._cdRefInjectingView||this._lView,4)}markForRefresh(){yo(this._cdRefInjectingView||this._lView)}detach(){this._lView[S]&=-129}reattach(){rs(this._lView),this._lView[S]|=128}detectChanges(){this._lView[S]|=1024,Gf(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new R(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let t=ns(this._lView),e=this._lView[Fe];e!==null&&!t&&Lo(e,this._lView),yf(this._lView[N],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new R(902,!1);this._appRef=t;let e=ns(this._lView),r=this._lView[Fe];r!==null&&!e&&vf(r,this._lView),rs(this._lView)}},bi=(()=>{class t{}return o(t,"__NG_ELEMENT_ID__",k_),t})(),w_=bi,x_=class extends w_{constructor(e,r,n){super();o(this,"_declarationLView");o(this,"_declarationTContainer");o(this,"elementRef");this._declarationLView=e,this._declarationTContainer=r,this.elementRef=n}get ssrId(){var e;return((e=this._declarationTContainer.tView)==null?void 0:e.ssrId)||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,n){let i=hr(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:n});return new Xn(i)}};function k_(){return Gi(ot(),O())}function Gi(t,e){return t.type&4?new x_(e,t,Cn(t,e)):null}var I_=()=>null;function gn(t,e){return I_()}var E_=class{},Xf=class{},C_=class{resolveComponentFactory(t){throw Error(`No component factory found for ${St(t)}.`)}},qa,Qi=(qa=class{},o(qa,"NULL",new C_),qa),Zo=class{},Ko=(()=>{class t{constructor(){o(this,"destroyNode",null)}}return o(t,"__NG_ELEMENT_ID__",()=>T_()),t})();function T_(){let t=O(),e=ot(),r=xe(e.index,t);return(me(r)?r:t)[Q]}var S_=(()=>{const e=class e{};o(e,"ɵprov",C({token:e,providedIn:"root",factory:()=>null}));let t=e;return t})();function gi(t,e,r){let n=r?t.styles:null,i=r?t.classes:null,a=0;if(e!==null)for(let s=0;s<e.length;s++){let l=e[s];if(typeof l=="number")a=l;else if(a==1)i=Ga(i,l);else if(a==2){let u=l,c=e[++s];n=Ga(n,u+": "+c+";")}}r?t.styles=n:t.stylesWithoutHost=n,r?t.classes=i:t.classesWithoutHost=i}var th=class extends Qi{constructor(e){super();o(this,"ngModule");this.ngModule=e}resolveComponentFactory(e){let r=be(e);return new Yi(r,this.ngModule)}};function Gl(t,e){let r=[];for(let n in t){if(!t.hasOwnProperty(n))continue;let i=t[n];if(i===void 0)continue;let a=Array.isArray(i),s=a?i[0]:i,l=a?i[1]:we.None;e?r.push({propName:s,templateName:n,isSignal:(l&we.SignalBased)!==0}):r.push({propName:s,templateName:n})}return r}function D_(t){let e=t.toLowerCase();return e==="svg"?vd:e==="math"?hg:null}var Yi=class extends Xf{constructor(e,r){super();o(this,"componentDef");o(this,"ngModule");o(this,"selector");o(this,"componentType");o(this,"ngContentSelectors");o(this,"isBoundToModule");this.componentDef=e,this.ngModule=r,this.componentType=e.type,this.selector=Mv(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!r}get inputs(){let e=this.componentDef,r=e.inputTransforms,n=Gl(e.inputs,!0);if(r!==null)for(let i of n)r.hasOwnProperty(i.propName)&&(i.transform=r[i.propName]);return n}get outputs(){return Gl(this.componentDef.outputs,!1)}create(e,r,n,i){let a=F(null);try{i=i||this.ngModule;let s=i instanceof ge?i:i==null?void 0:i.injector;s&&this.componentDef.getStandaloneInjector!==null&&(s=this.componentDef.getStandaloneInjector(s)||s);let l=s?new Hg(e,s):e,u=l.get(Zo,null);if(u===null)throw new R(407,!1);let c=l.get(S_,null),d=l.get(dr,null),f={rendererFactory:u,sanitizer:c,changeDetectionScheduler:d},m=u.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",y=n?Hv(m,n,this.componentDef.encapsulation,l):gf(m,h,D_(h)),b=512;this.componentDef.signals?b|=4096:this.componentDef.onPush||(b|=16);let _=null;y!==null&&(_=Ro(y,l,!0));let p=Ho(0,null,null,1,0,null,null,null,null,null,null),v=Ki(null,p,null,b,null,null,f,m,l,null,_);Io(v);let x,I,M=null;try{let E=this.componentDef,w,D=null;E.findHostDirectiveDefs?(w=[],D=new Map,E.findHostDirectiveDefs(E,w,D),w.push(E)):w=[E];let V=A_(v,y);M=R_(V,y,E,w,v,f,m),I=mo(p,nt),y&&M_(m,E,y,n),r!==void 0&&P_(I,this.ngContentSelectors,r),x=L_(M,E,w,D,v,[F_]),qo(p,v,null)}catch(E){throw M!==null&&hs(M),hs(v),E}finally{Eo()}return new O_(this.componentType,x,Cn(I,v),v,I)}finally{F(a)}}},O_=class extends E_{constructor(e,r,n,i,a){super();o(this,"location");o(this,"_rootLView");o(this,"_tNode");o(this,"instance");o(this,"hostView");o(this,"changeDetectorRef");o(this,"componentType");o(this,"previousInputValues",null);this.location=n,this._rootLView=i,this._tNode=a,this.instance=r,this.hostView=this.changeDetectorRef=new Xn(i,void 0,!1),this.componentType=e}setInput(e,r){let n=this._tNode.inputs,i;if(n!==null&&(i=n[e])){if(this.previousInputValues??(this.previousInputValues=new Map),this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),r))return;let a=this._rootLView;Uo(a[N],a,i,e,r),this.previousInputValues.set(e,r);let s=xe(this._tNode.index,a);$o(s,1)}}get injector(){return new zn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function A_(t,e){let r=t[N],n=nt;return t[n]=e,Ke(r,n,2,"#host",null)}function R_(t,e,r,n,i,a,s){let l=i[N];N_(n,t,e,s);let u=null;e!==null&&(u=Ro(e,i[pn]));let c=a.rendererFactory.createRenderer(e,r),d=Ki(i,Lf(r),null,Ff(r),i[t.index],t,a,c,null,null,u);return l.firstCreatePass&&bs(l,t,n.length-1),Wi(i,d),i[t.index]=d}function N_(t,e,r,n){for(let i of t)e.mergedAttrs=Qn(e.mergedAttrs,i.hostAttrs);e.mergedAttrs!==null&&(gi(e,e.mergedAttrs,!0),r!==null&&Tf(n,r,e))}function L_(t,e,r,n,i,a){let s=ot(),l=i[N],u=At(s,i);Mf(l,i,s,r,null,n);for(let d=0;d<r.length;d++){let f=s.directiveStart+d,m=Be(i,l,f,s);_e(m,i)}Pf(l,i,s),u&&_e(u,i);let c=Be(i,l,s.directiveStart+s.componentOffset,s);if(t[pt]=i[pt]=c,a!==null)for(let d of a)d(c,e);return Fo(l,s,i),c}function M_(t,e,r,n){if(n)ss(t,r,["ng-version","19.0.7"]);else{let{attrs:i,classes:a}=Pv(e.selectors[0]);i&&ss(t,r,i),a&&a.length>0&&Cf(t,r,a.join(" "))}}function P_(t,e,r){let n=t.projection=[];for(let i=0;i<e.length;i++){let a=r[i];n.push(a!=null&&a.length?Array.from(a):null)}}function F_(){let t=ot();Vi(O()[N],t)}var Ji=(()=>{class t{}return o(t,"__NG_ELEMENT_ID__",j_),t})();function j_(){let t=ot();return nh(t,O())}var V_=Ji,eh=class extends V_{constructor(e,r,n){super();o(this,"_lContainer");o(this,"_hostTNode");o(this,"_hostLView");this._lContainer=e,this._hostTNode=r,this._hostLView=n}get element(){return Cn(this._hostTNode,this._hostLView)}get injector(){return new zn(this._hostTNode,this._hostLView)}get parentInjector(){let e=Co(this._hostTNode,this._hostLView);if(Md(e)){let r=ci(e,this._hostLView),n=ui(e),i=r[N].data[n+8];return new zn(i,r)}else return new zn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=Ql(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-lt}createEmbeddedView(e,r,n){let i,a;typeof n=="number"?i=n:n!=null&&(i=n.index,a=n.injector);let s=gn(this._lContainer,e.ssrId),l=e.createEmbeddedViewImpl(r||{},a,s);return this.insertImpl(l,i,bn(this._hostTNode,s)),l}createComponent(e,r,n,i,a){let s=e&&!og(e),l;if(s)l=r;else{let y=r||{};l=y.index,n=y.injector,i=y.projectableNodes,a=y.environmentInjector||y.ngModuleRef}let u=s?e:new Yi(be(e)),c=n||this.parentInjector;if(!a&&u.ngModule==null){let y=(s?c:this.parentInjector).get(ge,null);y&&(a=y)}let d=be(u.componentType??{}),f=gn(this._lContainer,(d==null?void 0:d.id)??null),m=null,h=u.create(c,i,m,a);return this.insertImpl(h.hostView,l,bn(this._hostTNode,f)),h}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,n){let i=e._lView;if(mg(i)){let l=this.indexOf(e);if(l!==-1)this.detach(l);else{let u=i[ct],c=new eh(u,u[yt],u[ct]);c.detach(c.indexOf(e))}}let a=this._adjustIndex(r),s=this._lContainer;return pr(s,i,a,n),e.attachToViewContainerRef(),td(va(s),a,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=Ql(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),n=Jn(this._lContainer,r);n&&(ii(va(this._lContainer),r),qi(n[N],n))}detach(e){let r=this._adjustIndex(e,-1),n=Jn(this._lContainer,r);return n&&ii(va(this._lContainer),r)!=null?new Xn(n):null}_adjustIndex(e,r=0){return e??this.length+r}};function Ql(t){return t[si]}function va(t){return t[si]||(t[si]=[])}function nh(t,e){let r,n=e[t.index];return oe(n)?r=n:(r=jf(n,e,null,t),e[t.index]=r,Wi(e,r)),z_(r,e,t,n),new eh(r,t,e)}function H_(t,e){let r=t[Q],n=r.createComment(""),i=At(e,t),a=xf(r,i);return pi(r,a,n,gv(r,i),!1),n}var z_=B_;function B_(t,e,r,n){if(t[je])return;let i;r.type&8?i=Kt(n):i=H_(e,r),t[je]=i}var U_=class rh{constructor(e){o(this,"queryList");o(this,"matches",null);this.queryList=e}clone(){return new rh(this.queryList)}setDirty(){this.queryList.setDirty()}},q_=class ih{constructor(e=[]){o(this,"queries");this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let n=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let a=0;a<n;a++){let s=r.getByIndex(a),l=this.queries[s.indexInDeclarationView];i.push(l.clone())}return new ih(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let r=0;r<this.queries.length;r++)Go(e,r).matches!==null&&this.queries[r].setDirty()}},ah=class{constructor(t,e,r=null){o(this,"flags");o(this,"read");o(this,"predicate");this.flags=e,this.read=r,typeof t=="string"?this.predicate=J_(t):this.predicate=t}},$_=class sh{constructor(e=[]){o(this,"queries");this.queries=e}elementStart(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,r)}elementEnd(e){for(let r=0;r<this.queries.length;r++)this.queries[r].elementEnd(e)}embeddedTView(e){let r=null;for(let n=0;n<this.length;n++){let i=r!==null?r.length:0,a=this.getByIndex(n).embeddedTView(e,i);a&&(a.indexInDeclarationView=n,r!==null?r.push(a):r=[a])}return r!==null?new sh(r):null}template(e,r){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,r)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Z_=class oh{constructor(e,r=-1){o(this,"metadata");o(this,"matches",null);o(this,"indexInDeclarationView",-1);o(this,"crossesNgTemplate",!1);o(this,"_declarationNodeIndex");o(this,"_appliesToNextNode",!0);this.metadata=e,this._declarationNodeIndex=r}elementStart(e,r){this.isApplyingToNode(r)&&this.matchTNode(e,r)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,r){this.elementStart(e,r)}embeddedTView(e,r){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,r),new oh(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let r=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==r;)n=n.parent;return r===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,r){let n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){let a=n[i];this.matchTNodeWithReadOption(e,r,K_(r,a)),this.matchTNodeWithReadOption(e,r,Br(r,e,a,!1,!1))}else n===bi?r.type&4&&this.matchTNodeWithReadOption(e,r,-1):this.matchTNodeWithReadOption(e,r,Br(r,e,n,!1,!1))}matchTNodeWithReadOption(e,r,n){if(n!==null){let i=this.metadata.read;if(i!==null)if(i===Yt||i===Ji||i===bi&&r.type&4)this.addMatch(r.index,-2);else{let a=Br(r,e,i,!1,!1);a!==null&&this.addMatch(r.index,a)}else this.addMatch(r.index,n)}}addMatch(e,r){this.matches===null?this.matches=[e,r]:this.matches.push(e,r)}};function K_(t,e){let r=t.localNames;if(r!==null){for(let n=0;n<r.length;n+=2)if(r[n]===e)return r[n+1]}return null}function W_(t,e){return t.type&11?Cn(t,e):t.type&4?Gi(t,e):null}function G_(t,e,r,n){return r===-1?W_(e,t):r===-2?Q_(t,e,n):Be(t,t[N],r,e)}function Q_(t,e,r){if(r===Yt)return Cn(e,t);if(r===bi)return Gi(e,t);if(r===Ji)return nh(e,t)}function lh(t,e,r,n){let i=e[jt].queries[n];if(i.matches===null){let a=t.data,s=r.matches,l=[];for(let u=0;s!==null&&u<s.length;u+=2){let c=s[u];if(c<0)l.push(null);else{let d=a[c];l.push(G_(e,d,s[u+1],r.metadata.read))}}i.matches=l}return i.matches}function vs(t,e,r,n){let i=t.queries.getByIndex(r),a=i.matches;if(a!==null){let s=lh(t,e,i,r);for(let l=0;l<a.length;l+=2){let u=a[l];if(u>0)n.push(s[l/2]);else{let c=a[l+1],d=e[-u];for(let f=lt;f<d.length;f++){let m=d[f];m[Fe]===m[ct]&&vs(m[N],m,c,n)}if(d[mn]!==null){let f=d[mn];for(let m=0;m<f.length;m++){let h=f[m];vs(h[N],h,c,n)}}}}}return n}function Wo(t,e){return t[jt].queries[e].queryList}function uh(t,e,r){let n=new fs((r&4)===4);return zv(t,e,n,n.destroy),(e[jt]??(e[jt]=new q_)).queries.push(new U_(n))-1}function Y_(t,e,r){let n=G();return n.firstCreatePass&&(dh(n,new ah(t,e,r),-1),(e&2)===2&&(n.staticViewQueries=!0)),uh(n,O(),e)}function ch(t,e,r,n){let i=G();if(i.firstCreatePass){let a=ot();dh(i,new ah(e,r,n),a.index),X_(i,t)}return uh(i,O(),r)}function J_(t){return t.split(",").map(e=>e.trim())}function dh(t,e,r){t.queries===null&&(t.queries=new $_),t.queries.track(new Z_(e,r))}function X_(t,e){let r=t.contentQueries||(t.contentQueries=[]),n=r.length?r[r.length-1]:-1;e!==n&&r.push(t.queries.length-1,e)}function Go(t,e){return t.queries.getByIndex(e)}function fh(t,e){let r=t[N],n=Go(r,e);return n.crossesNgTemplate?vs(r,t,e,[]):lh(r,t,n,e)}function yi(t){return typeof t=="function"&&t[_t]!==void 0}function hh(t,e){ue("NgSignals");let r=gb(t),n=r[_t];return r.set=i=>io(n,i),r.update=i=>yb(n,i),r.asReadonly=tw.bind(r),r}function tw(){let t=this[_t];if(t.readonlyFn===void 0){let e=()=>this();e[_t]=t,t.readonlyFn=e}return t.readonlyFn}function ph(t){return yi(t)&&typeof t.set=="function"}function mh(t,e,r){let n,i=Pc(()=>{n._dirtyCounter();let a=iw(n,t);if(e&&a===void 0)throw new R(-951,!1);return a});return n=i[_t],n._dirtyCounter=hh(0),n._flatValue=void 0,i}function ew(t){return mh(!0,!1)}function nw(t){return mh(!0,!0)}function rw(t,e){let r=t[_t];r._lView=O(),r._queryIndex=e,r._queryList=Wo(r._lView,e),r._queryList.onDirty(()=>r._dirtyCounter.update(n=>n+1))}function iw(t,e){let r=t._lView,n=t._queryIndex;if(r===void 0||n===void 0||r[S]&4)return e?void 0:ht;let i=Wo(r,n),a=fh(r,n);return i.reset(a,Jd),e?i.first:i._changesDetected||t._flatValue===void 0?t._flatValue=i.toArray():t._flatValue}function Yl(t,e){return ew()}function aw(t,e){return nw()}var s1=(Yl.required=aw,Yl),tr=class{},sw=class{},ow=class extends tr{constructor(e,r,n,i=!0){super();o(this,"ngModuleType");o(this,"_parent");o(this,"_bootstrapComponents",[]);o(this,"_r3Injector");o(this,"instance");o(this,"destroyCbs",[]);o(this,"componentFactoryResolver",new th(this));this.ngModuleType=e,this._parent=r;let a=id(e);this._bootstrapComponents=bf(a.bootstrap),this._r3Injector=qd(e,r,[{provide:tr,useValue:this},{provide:Qi,useValue:this.componentFactoryResolver},...n],St(e),new Set(["environment"])),i&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(r=>r()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},lw=class extends sw{constructor(e){super();o(this,"moduleType");this.moduleType=e}create(e){return new ow(this.moduleType,e,[])}},bh=class extends tr{constructor(e){super();o(this,"injector");o(this,"componentFactoryResolver",new th(this));o(this,"instance",null);let r=new co([...e.providers,{provide:tr,useValue:this},{provide:Qi,useValue:this.componentFactoryResolver}],e.parent||Oi(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function uw(t,e,r=null){return new bh({providers:t,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}var cw=(()=>{const e=class e{constructor(n){o(this,"_injector");o(this,"cachedInjectors",new Map);this._injector=n}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){let i=od(!1,n.type),a=i.length>0?uw([i],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,a)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(let n of this.cachedInjectors.values())n!==null&&n.destroy()}finally{this.cachedInjectors.clear()}}};o(e,"ɵprov",C({token:e,providedIn:"environment",factory:()=>new e(P(ge))}));let t=e;return t})();function Ie(t){return sr(()=>{let e=yh(t),r=It(Z({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===tf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:e.standalone?i=>i.get(cw).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||ne.Emulated,styles:t.styles||ht,_:null,schemas:t.schemas||null,tView:null,id:""});e.standalone&&ue("NgStandalone"),vh(r);let n=t.dependencies;return r.directiveDefs=Xl(n,!1),r.pipeDefs=Xl(n,!0),r.id=hw(r),r})}function dw(t){return be(t)||ad(t)}function fw(t){return t!==null}function Jt(t){return sr(()=>({type:t.type,bootstrap:t.bootstrap||ht,declarations:t.declarations||ht,imports:t.imports||ht,exports:t.exports||ht,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Jl(t,e){if(t==null)return dn;let r={};for(let n in t)if(t.hasOwnProperty(n)){let i=t[n],a,s,l=we.None;Array.isArray(i)?(l=i[0],a=i[1],s=i[2]??a):(a=i,s=i),e?(r[a]=l!==we.None?[n,l]:n,e[a]=s):r[a]=n}return r}function Sn(t){return sr(()=>{let e=yh(t);return vh(e),e})}function gh(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 yh(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||dn,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||ht,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Jl(t.inputs,e),outputs:Jl(t.outputs),debugInfo:null}}function vh(t){var e;(e=t.features)==null||e.forEach(r=>r(t))}function Xl(t,e){if(!t)return null;let r=e?sd:dw;return()=>(typeof t=="function"?t():t).map(n=>r(n)).filter(fw)}function hw(t){let e=0,r=typeof t.consts=="function"?"":t.consts,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,r,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 n.join("|"))e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function pw(t){return Object.getPrototypeOf(t.prototype).constructor}function mr(t){let e=pw(t.type),r=!0,n=[t];for(;e;){let i;if(ve(t))i=e.ɵcmp||e.ɵdir;else{if(e.ɵcmp)throw new R(903,!1);i=e.ɵdir}if(i){if(r){n.push(i);let s=t;s.inputs=xr(t.inputs),s.inputTransforms=xr(t.inputTransforms),s.declaredInputs=xr(t.declaredInputs),s.outputs=xr(t.outputs);let l=i.hostBindings;l&&vw(t,l);let u=i.viewQuery,c=i.contentQueries;if(u&&gw(t,u),c&&yw(t,c),mw(t,i),Ib(t.outputs,i.outputs),ve(i)&&i.data.animation){let d=t.data;d.animation=(d.animation||[]).concat(i.data.animation)}}let a=i.features;if(a)for(let s=0;s<a.length;s++){let l=a[s];l&&l.ngInherit&&l(t),l===mr&&(r=!1)}}e=Object.getPrototypeOf(e)}bw(n)}function mw(t,e){for(let r in e.inputs){if(!e.inputs.hasOwnProperty(r)||t.inputs.hasOwnProperty(r))continue;let n=e.inputs[r];if(n!==void 0&&(t.inputs[r]=n,t.declaredInputs[r]=e.declaredInputs[r],e.inputTransforms!==null)){let i=Array.isArray(n)?n[0]:n;if(!e.inputTransforms.hasOwnProperty(i))continue;t.inputTransforms??(t.inputTransforms={}),t.inputTransforms[i]=e.inputTransforms[i]}}}function bw(t){let e=0,r=null;for(let n=t.length-1;n>=0;n--){let i=t[n];i.hostVars=e+=i.hostVars,i.hostAttrs=Qn(i.hostAttrs,r=Qn(r,i.hostAttrs))}}function xr(t){return t===dn?{}:t===ht?[]:t}function gw(t,e){let r=t.viewQuery;r?t.viewQuery=(n,i)=>{e(n,i),r(n,i)}:t.viewQuery=e}function yw(t,e){let r=t.contentQueries;r?t.contentQueries=(n,i,a)=>{e(n,i,a),r(n,i,a)}:t.contentQueries=e}function vw(t,e){let r=t.hostBindings;r?t.hostBindings=(n,i)=>{e(n,i),r(n,i)}:t.hostBindings=e}function Qo(t){let e=t.inputConfig,r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];Array.isArray(i)&&i[3]&&(r[n]=i[3])}t.inputTransforms=r}function _h(t){return Yo(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function _w(t,e){if(Array.isArray(t))for(let r=0;r<t.length;r++)e(t[r]);else{let r=t[Symbol.iterator](),n;for(;!(n=r.next()).done;)e(n.value)}}function Yo(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Jo(t,e,r){return t[e]=r}function wh(t,e){return t[e]}function kt(t,e,r){let n=t[e];return Object.is(n,r)?!1:(t[e]=r,!0)}function _s(t,e,r,n){let i=kt(t,e,r);return kt(t,e+1,n)||i}function ww(t,e,r,n,i,a){let s=_s(t,e,r,n);return _s(t,e+2,i,a)||s}function xw(t){return(t.flags&32)===32}function kw(t,e,r,n,i,a,s,l,u){let c=e.consts,d=Ke(e,t,4,s||null,l||null);Bo(e,r,d,Ve(c,u)),Vi(e,d);let f=d.tView=Ho(2,d,n,i,a,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,d),f.queries=e.queries.embeddedTView(d)),d}function xh(t,e,r,n,i,a,s,l,u,c){let d=r+nt,f=e.firstCreatePass?kw(d,e,t,n,i,a,s,l,u):e.data[d];ke(f,!1);let m=Iw(e,t);Fi()&&$i(e,t,m,f),_e(m,t);let h=jf(m,t,m,f);return t[d]=h,Wi(t,h),Ni(f)&&jo(e,t,f),u!=null&&Vo(t,f,c),f}function ws(t,e,r,n,i,a,s,l){let u=O(),c=G(),d=Ve(c.consts,a);return xh(u,c,t,e,r,n,i,d,s,l),ws}var Iw=Ew;function Ew(t,e,r,n){return ji(!0),e[Q].createComment("")}(()=>{const e=class e{log(n){console.log(n)}warn(n){console.warn(n)}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"platform"}));let t=e;return t})();var Cw=new A("");function kh(t){return!!t&&typeof t.then=="function"}function Tw(t){return!!t&&typeof t.subscribe=="function"}var Ih=new A(""),Eh=(()=>{const e=class e{constructor(){o(this,"resolve");o(this,"reject");o(this,"initialized",!1);o(this,"done",!1);o(this,"donePromise",new Promise((n,i)=>{this.resolve=n,this.reject=i}));o(this,"appInits",g(Ih,{optional:!0})??[]);o(this,"injector",g(le))}runInitializers(){if(this.initialized)return;let n=[];for(let a of this.appInits){let s=fo(this.injector,a);if(kh(s))n.push(s);else if(Tw(s)){let l=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});n.push(l)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{i()}).catch(a=>{this.reject(a)}),n.length===0&&i(),this.initialized=!0}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),Ch=(()=>{const e=class e{};o(e,"ɵprov",C({token:e,providedIn:"root",factory:()=>new Th}));let t=e;return t})(),Th=class{constructor(){o(this,"queuedEffectCount",0);o(this,"queues",new Map)}schedule(t){this.enqueue(t)}remove(t){let e=t.zone,r=this.queues.get(e);r.has(t)&&(r.delete(t),this.queuedEffectCount--)}enqueue(t){let e=t.zone;this.queues.has(e)||this.queues.set(e,new Set);let r=this.queues.get(e);r.has(t)||(this.queuedEffectCount++,r.add(t))}flush(){for(;this.queuedEffectCount>0;)for(let[t,e]of this.queues)t===null?this.flushQueue(e):t.run(()=>this.flushQueue(e))}flushQueue(t){for(let e of t)t.delete(e),this.queuedEffectCount--,e.run()}},Sw=new A("");function Dw(){bb(()=>{throw new R(600,!1)})}function Ow(t){return t.isBoundToModule}var Aw=10;function Rw(t,e,r){try{let n=r();return kh(n)?n.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):n}catch(n){throw e.runOutsideAngular(()=>t.handleError(n)),n}}var yn=(()=>{const e=class e{constructor(){o(this,"_runningTick",!1);o(this,"_destroyed",!1);o(this,"_destroyListeners",[]);o(this,"_views",[]);o(this,"internalErrorHandler",g(oy));o(this,"afterRenderManager",g(lf));o(this,"zonelessEnabled",g(Kd));o(this,"rootEffectScheduler",g(Ch));o(this,"dirtyFlags",0);o(this,"deferredDirtyFlags",0);o(this,"tracingSnapshot",null);o(this,"externalTestViews",new Set);o(this,"afterTick",new ut);o(this,"componentTypes",[]);o(this,"components",[]);o(this,"isStable",g(En).hasPendingTasks.pipe(Ut(n=>!n)));o(this,"_injector",g(ge));o(this,"_rendererFactory",null);o(this,"_tick",()=>{if(this.tracingSnapshot!==null){let i=this.tracingSnapshot;this.tracingSnapshot=null,i.run(Ao.CHANGE_DETECTION,this._tick),i.dispose();return}if(this._runningTick)throw new R(101,!1);let n=F(null);try{this._runningTick=!0,this.synchronize()}catch(i){this.internalErrorHandler(i)}finally{this._runningTick=!1,F(n),this.afterTick.next()}});g(Bi,{optional:!0})}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(i=>{n=this.isStable.subscribe({next:a=>{a&&i()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,i){let a=n instanceof Xf;if(!this._injector.get(Eh).done){!a&&Wb(n);let m=!1;throw new R(405,m)}let s;a?s=n:s=this._injector.get(Qi).resolveComponentFactory(n),this.componentTypes.push(s.componentType);let l=Ow(s)?void 0:this._injector.get(tr),u=i||s.selector,c=s.create(le.NULL,[],u,l),d=c.location.nativeElement,f=c.injector.get(Cw,null);return f==null||f.registerApplication(d),c.onDestroy(()=>{this.detachView(c.hostView),qr(this.components,c),f==null||f.unregisterApplication(d)}),this._loadComponent(c),c}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Zo,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let n=0;for(;this.dirtyFlags!==0&&n++<Aw;)this.synchronizeOnce()}synchronizeOnce(){var n,i,a,s;if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush()),this.dirtyFlags&7){let l=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:u,notifyErrorHandler:c}of this.allViews)Nw(u,c,l,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}else(i=(n=this._rendererFactory)==null?void 0:n.begin)==null||i.call(n),(s=(a=this._rendererFactory)==null?void 0:a.end)==null||s.call(a);this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:n})=>Li(n))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(n){let i=n;this._views.push(i),i.attachToAppRef(this)}detachView(n){let i=n;qr(this._views,i),i.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Sw,[]).forEach(i=>i(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>qr(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new R(406,!1);let n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})();function qr(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}function Nw(t,e,r,n){!r&&!Li(t)||Gf(t,e,r&&!n?0:1)}function br(t,e,r,n){let i=O(),a=qe();if(kt(i,a,e)){G();let s=Pi();n_(s,i,t,e,r,n)}return br}function Sh(t,e,r,n){return kt(t,qe(),r)?e+Kn(r)+n:Et}function Lw(t,e,r,n,i,a){let s=Ig(),l=_s(t,s,r,i);return xo(2),l?e+Kn(r)+n+Kn(i)+a:Et}function kr(t,e){return t<<17|e<<2}function Ue(t){return t>>17&32767}function Mw(t){return(t&2)==2}function Pw(t,e){return t&131071|e<<17}function xs(t){return t|2}function vn(t){return(t&131068)>>2}function _a(t,e){return t&-131069|e<<2}function Fw(t){return(t&1)===1}function ks(t){return t|1}function jw(t,e,r,n,i,a){let s=e.classBindings,l=Ue(s),u=vn(s);t[n]=r;let c=!1,d;if(Array.isArray(r)){let f=r;d=f[1],(d===null||or(f,d)>0)&&(c=!0)}else d=r;if(i)if(u!==0){let f=Ue(t[l+1]);t[n+1]=kr(f,l),f!==0&&(t[f+1]=_a(t[f+1],n)),t[l+1]=Pw(t[l+1],n)}else t[n+1]=kr(l,0),l!==0&&(t[l+1]=_a(t[l+1],n)),l=n;else t[n+1]=kr(u,0),l===0?l=n:t[u+1]=_a(t[u+1],n),u=n;c&&(t[n+1]=xs(t[n+1])),tu(t,d,n,!0),tu(t,d,n,!1),Vw(e,d,t,n),s=kr(l,u),e.classBindings=s}function Vw(t,e,r,n,i){let a=t.residualClasses;a!=null&&typeof e=="string"&&or(a,e)>=0&&(r[n+1]=ks(r[n+1]))}function tu(t,e,r,n){let i=t[r+1],a=e===null,s=n?Ue(i):vn(i),l=!1;for(;s!==0&&(l===!1||a);){let u=t[s],c=t[s+1];Hw(u,e)&&(l=!0,t[s+1]=n?ks(c):xs(c)),s=n?Ue(c):vn(c)}l&&(t[r+1]=n?xs(i):ks(i))}function Hw(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?or(t,e)>=0:!1}var Pt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function zw(t){return t.substring(Pt.key,Pt.keyEnd)}function Bw(t){return Uw(t),Dh(t,Oh(t,0,Pt.textEnd))}function Dh(t,e){let r=Pt.textEnd;return r===e?-1:(e=Pt.keyEnd=qw(t,Pt.key=e,r),Oh(t,e,r))}function Uw(t){Pt.key=0,Pt.keyEnd=0,Pt.value=0,Pt.valueEnd=0,Pt.textEnd=t.length}function Oh(t,e,r){for(;e<r&&t.charCodeAt(e)<=32;)e++;return e}function qw(t,e,r){for(;e<r&&t.charCodeAt(e)>32;)e++;return e}function Xi(t,e,r){let n=O(),i=qe();if(kt(n,i,e)){let a=G(),s=Pi();zo(a,s,n,t,e,n[Q],r,!1)}return Xi}function Is(t,e,r,n,i){let a=e.inputs,s=i?"class":"style";Uo(t,r,a[s],s,n)}function ae(t,e){return $w(t,e,null,!0),ae}function Xo(t){Rh(Yw,Ah,t,!0)}function Ah(t,e){for(let r=Bw(e);r>=0;r=Dh(e,r))Di(t,zw(e),!0)}function $w(t,e,r,n){let i=O(),a=G(),s=xo(2);if(a.firstUpdatePass&&Lh(a,t,s,n),e!==Et&&kt(i,s,e)){let l=a.data[Qt()];Mh(a,l,i,i[Q],t,i[s+1]=Xw(e),n,s)}}function Rh(t,e,r,n){let i=G(),a=xo(2);i.firstUpdatePass&&Lh(i,null,a,n);let s=O();if(r!==Et&&kt(s,a,r)){let l=i.data[Qt()];if(Ph(l)&&!Nh(i,a)){let u=l.classesWithoutHost;u!==null&&(r=Ga(u,r||"")),Is(i,l,s,r,n)}else Jw(i,l,s,s[Q],s[a+1],s[a+1]=Qw(t,e,r),n,a)}}function Nh(t,e){return e>=t.expandoStartIndex}function Lh(t,e,r,n){let i=t.data;if(i[r+1]===null){let a=i[Qt()],s=Nh(t,r);Ph(a)&&e===null&&!s&&(e=!1),e=Zw(i,a,e,n),jw(i,a,e,r,s)}}function Zw(t,e,r,n){let i=Dg(t),a=e.residualClasses;if(i===null)e.classBindings===0&&(r=wa(null,t,e,r),r=er(r,e.attrs),a=null);else{let s=e.directiveStylingLast;if(s===-1||t[s]!==i)if(r=wa(i,t,e,r),a===null){let l=Kw(t,e);l!==void 0&&Array.isArray(l)&&(l=wa(null,t,e,l[1]),l=er(l,e.attrs),Ww(t,e,n,l))}else a=Gw(t,e)}return a!==void 0&&(e.residualClasses=a),r}function Kw(t,e,r){let n=e.classBindings;if(vn(n)!==0)return t[Ue(n)]}function Ww(t,e,r,n){let i=e.classBindings;t[Ue(i)]=n}function Gw(t,e,r){let n,i=e.directiveEnd;for(let a=1+e.directiveStylingLast;a<i;a++){let s=t[a].hostAttrs;n=er(n,s)}return er(n,e.attrs)}function wa(t,e,r,n,i){let a=null,s=r.directiveEnd,l=r.directiveStylingLast;for(l===-1?l=r.directiveStart:l++;l<s&&(a=e[l],n=er(n,a.hostAttrs),a!==t);)l++;return t!==null&&(r.directiveStylingLast=l),n}function er(t,e,r){let n=1,i=-1;if(e!==null)for(let a=0;a<e.length;a++){let s=e[a];typeof s=="number"?i=s:i===n&&(Array.isArray(t)||(t=t===void 0?[]:["",t]),Di(t,s,!0))}return t===void 0?null:t}function Qw(t,e,r){if(r==null||r==="")return ht;let n=[],i=Ne(r);if(Array.isArray(i))for(let a=0;a<i.length;a++)t(n,i[a],!0);else if(typeof i=="object")for(let a in i)i.hasOwnProperty(a)&&t(n,a,i[a]);else typeof i=="string"&&e(n,i);return n}function Yw(t,e,r){let n=String(e);n!==""&&!n.includes(" ")&&Di(t,n,r)}function Jw(t,e,r,n,i,a,s,l){i===Et&&(i=ht);let u=0,c=0,d=0<i.length?i[0]:null,f=0<a.length?a[0]:null;for(;d!==null||f!==null;){let m=u<i.length?i[u+1]:void 0,h=c<a.length?a[c+1]:void 0,y=null,b;d===f?(u+=2,c+=2,m!==h&&(y=f,b=h)):f===null||d!==null&&d<f?(u+=2,y=d):(c+=2,y=f,b=h),y!==null&&Mh(t,e,r,n,y,b,s,l),d=u<i.length?i[u]:null,f=c<a.length?a[c]:null}}function Mh(t,e,r,n,i,a,s,l){if(!(e.type&3))return;let u=t.data,c=u[l+1],d=Fw(c)?eu(u,e,r,i,vn(c)):void 0;if(!vi(d)){vi(a)||Mw(c)&&(a=eu(u,null,r,i,l));let f=_d(Qt(),r);kv(n,s,f,i,a)}}function eu(t,e,r,n,i,a){let s=e===null,l;for(;i>0;){let u=t[i],c=Array.isArray(u),d=c?u[1]:u,f=d===null,m=r[i+1];m===Et&&(m=f?ht:void 0);let h=f?fa(m,n):d===n?m:void 0;if(c&&!vi(h)&&(h=fa(u,n)),vi(h)&&(l=h,s))return l;let y=t[i+1];i=s?Ue(y):vn(y)}if(e!==null){let u=e.residualClasses;u!=null&&(l=fa(u,n))}return l}function vi(t){return t!==void 0}function Xw(t,e){return t==null||t===""||typeof t=="object"&&(t=St(Ne(t))),t}function Ph(t,e){return(t.flags&8)!==0}function o1(t,e,r){let n=O(),i=Sh(n,t,e,r);Rh(Di,Ah,i,!0)}var t0=class{destroy(t){}updateValue(t,e){}swap(t,e){let r=Math.min(t,e),n=Math.max(t,e),i=this.detach(n);if(n-r>1){let a=this.detach(r);this.attach(r,i),this.attach(n,a)}else this.attach(r,i)}move(t,e){this.attach(e,this.detach(t))}};function xa(t,e,r,n,i){return t===r&&Object.is(e,n)?1:Object.is(i(t,e),i(r,n))?-1:0}function e0(t,e,r){let n,i,a=0,s=t.length-1;if(Array.isArray(e)){let l=e.length-1;for(;a<=s&&a<=l;){let u=t.at(a),c=e[a],d=xa(a,u,a,c,r);if(d!==0){d<0&&t.updateValue(a,c),a++;continue}let f=t.at(s),m=e[l],h=xa(s,f,l,m,r);if(h!==0){h<0&&t.updateValue(s,m),s--,l--;continue}let y=r(a,u),b=r(s,f),_=r(a,c);if(Object.is(_,b)){let p=r(l,m);Object.is(p,y)?(t.swap(a,s),t.updateValue(s,m),l--,s--):t.move(s,a),t.updateValue(a,c),a++;continue}if(n??(n=new iu),i??(i=ru(t,a,s,r)),Es(t,n,a,_))t.updateValue(a,c),a++,s++;else if(i.has(_))n.set(y,t.detach(a)),s--;else{let p=t.create(a,e[a]);t.attach(a,p),a++,s++}}for(;a<=l;)nu(t,n,r,a,e[a]),a++}else if(e!=null){let l=e[Symbol.iterator](),u=l.next();for(;!u.done&&a<=s;){let c=t.at(a),d=u.value,f=xa(a,c,a,d,r);if(f!==0)f<0&&t.updateValue(a,d),a++,u=l.next();else{n??(n=new iu),i??(i=ru(t,a,s,r));let m=r(a,d);if(Es(t,n,a,m))t.updateValue(a,d),a++,s++,u=l.next();else if(!i.has(m))t.attach(a,t.create(a,d)),a++,s++,u=l.next();else{let h=r(a,c);n.set(h,t.detach(a)),s--}}}for(;!u.done;)nu(t,n,r,t.length,u.value),u=l.next()}for(;a<=s;)t.destroy(t.detach(s--));n==null||n.forEach(l=>{t.destroy(l)})}function Es(t,e,r,n){return e!==void 0&&e.has(n)?(t.attach(r,e.get(n)),e.delete(n),!0):!1}function nu(t,e,r,n,i){if(Es(t,e,n,r(n,i)))t.updateValue(n,i);else{let a=t.create(n,i);t.attach(n,a)}}function ru(t,e,r,n){let i=new Set;for(let a=e;a<=r;a++)i.add(n(a,t.at(a)));return i}var iu=class{constructor(){o(this,"kvMap",new Map);o(this,"_vMap")}has(t){return this.kvMap.has(t)}delete(t){if(!this.has(t))return!1;let e=this.kvMap.get(t);return this._vMap!==void 0&&this._vMap.has(e)?(this.kvMap.set(t,this._vMap.get(e)),this._vMap.delete(e)):this.kvMap.delete(t),!0}get(t){return this.kvMap.get(t)}set(t,e){if(this.kvMap.has(t)){let r=this.kvMap.get(t);this._vMap===void 0&&(this._vMap=new Map);let n=this._vMap;for(;n.has(r);)r=n.get(r);n.set(r,e)}else this.kvMap.set(t,e)}forEach(t){for(let[e,r]of this.kvMap)if(t(r,e),this._vMap!==void 0){let n=this._vMap;for(;n.has(r);)r=n.get(r),t(r,e)}}};function ka(t,e){ue("NgControlFlow");let r=O(),n=qe(),i=r[n]!==Et?r[n]:-1,a=i!==-1?_i(r,nt+i):void 0,s=0;if(kt(r,n,t)){let l=F(null);try{if(a!==void 0&&$f(a,s),t!==-1){let u=nt+t,c=_i(r,u),d=Cs(r[N],u),f=gn(c,d.tView.ssrId),m=hr(r,d,e,{dehydratedView:f});pr(c,m,s,bn(d,f))}}finally{F(l)}}else if(a!==void 0){let l=qf(a,s);l!==void 0&&(l[pt]=e)}}var n0=class{constructor(t,e,r){o(this,"lContainer");o(this,"$implicit");o(this,"$index");this.lContainer=t,this.$implicit=e,this.$index=r}get $count(){return this.lContainer.length-lt}};function l1(t,e){return e}var r0=class{constructor(t,e,r){o(this,"hasEmptyBlock");o(this,"trackByFn");o(this,"liveCollection");this.hasEmptyBlock=t,this.trackByFn=e,this.liveCollection=r}};function u1(t,e,r,n,i,a,s,l,u,c,d,f,m){ue("NgControlFlow");let h=O(),y=G(),b=u!==void 0,_=O(),p=s,v=new r0(b,p);_[nt+t]=v,xh(h,y,t+1,e,r,n,i,Ve(y.consts,a))}var i0=class extends t0{constructor(e,r,n){super();o(this,"lContainer");o(this,"hostLView");o(this,"templateTNode");o(this,"operationsCounter");o(this,"needsIndexUpdate",!1);this.lContainer=e,this.hostLView=r,this.templateTNode=n}get length(){return this.lContainer.length-lt}at(e){return this.getLView(e)[pt].$implicit}attach(e,r){let n=r[hn];this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length),pr(this.lContainer,r,e,bn(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length-1),a0(this.lContainer,e)}create(e,r){var a;let n=gn(this.lContainer,this.templateTNode.tView.ssrId),i=hr(this.hostLView,this.templateTNode,new n0(this.lContainer,r,e),{dehydratedView:n});return(a=this.operationsCounter)==null||a.recordCreate(),i}destroy(e){var r;qi(e[N],e),(r=this.operationsCounter)==null||r.recordDestroy()}updateValue(e,r){this.getLView(e)[pt].$implicit=r}reset(){var e;this.needsIndexUpdate=!1,(e=this.operationsCounter)==null||e.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[pt].$index=e}getLView(e){return s0(this.lContainer,e)}};function c1(t){let e=F(null),r=Qt();try{let n=O(),i=n[N],a=n[r],s=r+1,l=_i(n,s);if(a.liveCollection===void 0){let c=Cs(i,s);a.liveCollection=new i0(l,n,c)}else a.liveCollection.reset();let u=a.liveCollection;if(e0(u,t,a.trackByFn),u.updateIndexes(),a.hasEmptyBlock){let c=qe(),d=u.length===0;if(kt(n,c,d)){let f=r+2,m=_i(n,f);if(d){let h=Cs(i,f),y=gn(m,h.tView.ssrId),b=hr(n,h,void 0,{dehydratedView:y});pr(m,b,0,bn(h,y))}else $f(m,0)}}}finally{F(e)}}function _i(t,e){return t[e]}function a0(t,e){return Jn(t,e)}function s0(t,e){return qf(t,e)}function Cs(t,e){return mo(t,e)}function o0(t,e,r,n,i,a){let s=e.consts,l=Ve(s,i),u=Ke(e,t,2,n,l);return Bo(e,r,u,Ve(s,a)),u.attrs!==null&&gi(u,u.attrs,!1),u.mergedAttrs!==null&&gi(u,u.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,u),u}function Dn(t,e,r,n){let i=O(),a=G(),s=nt+t,l=i[Q],u=a.firstCreatePass?o0(s,a,i,e,r,n):a.data[s],c=l0(a,i,u,l,e);i[s]=c;let d=Ni(u);return ke(u,!0),Tf(l,c,u),!xw(u)&&Fi()&&$i(a,i,c,u),yg()===0&&_e(c,i),vg(),d&&(jo(a,i,u),Fo(a,u,i)),n!==null&&Vo(i,u),Dn}function On(){let t=ot();vo()?_o():(t=t.parent,ke(t,!1));let e=t;wg(e)&&xg(),_g();let r=G();return r.firstCreatePass&&(Vi(r,t),po(t)&&r.queries.elementEnd(t)),e.classesWithoutHost!=null&&Fg(e)&&Is(r,e,O(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&jg(e)&&Is(r,e,O(),e.stylesWithoutHost,!1),On}function Wt(t,e,r,n){return Dn(t,e,r,n),On(),Wt}var l0=(t,e,r,n,i,a)=>(ji(!0),gf(n,i,Ng()));function u0(t,e,r,n,i){let a=e.consts,s=Ve(a,n),l=Ke(e,t,8,"ng-container",s);s!==null&&gi(l,s,!0);let u=Ve(a,i);return Bo(e,r,l,u),e.queries!==null&&e.queries.elementStart(e,l),l}function Fh(t,e,r){let n=O(),i=G(),a=t+nt,s=i.firstCreatePass?u0(a,i,n,e,r):i.data[a];ke(s,!0);let l=d0(i,n);return n[a]=l,Fi()&&$i(i,n,l,s),_e(l,n),Ni(s)&&(jo(i,n,s),Fo(i,s,n)),r!=null&&Vo(n,s),Fh}function jh(){let t=ot(),e=G();return vo()?_o():(t=t.parent,ke(t,!1)),e.firstCreatePass&&(Vi(e,t),po(t)&&e.queries.elementEnd(t)),jh}function c0(t,e,r){return Fh(t,e,r),jh(),c0}var d0=(t,e,r,n)=>(ji(!0),uv(e[Q],""));function d1(){return O()}function Vh(t,e,r){let n=O(),i=qe();if(kt(n,i,e)){let a=G(),s=Pi();zo(a,s,n,t,e,n[Q],r,!0)}return Vh}var Se=void 0;function f0(t){let e=Math.floor(Math.abs(t)),r=t.toString().replace(/^[^.]*\.?/,"").length;return e===1&&r===0?1:5}var h0=["en",[["a","p"],["AM","PM"],Se],[["AM","PM"],Se,Se],[["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"]],Se,[["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"]],Se,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Se,"{1} 'at' {0}",Se],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",f0],Ia={};function Vt(t){let e=p0(t),r=au(e);if(r)return r;let n=e.split("-")[0];if(r=au(n),r)return r;if(n==="en")return h0;throw new R(701,!1)}function au(t){return t in Ia||(Ia[t]=Je.ng&&Je.ng.common&&Je.ng.common.locales&&Je.ng.common.locales[t]),Ia[t]}var st=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}(st||{});function p0(t){return t.toLowerCase().replace(/_/g,"-")}var Ts="en-US";function m0(t){typeof t=="string"&&t.toLowerCase().replace(/_/g,"-")}function Hh(t,e,r,n){let i=O(),a=G(),s=ot();return zh(a,i,i[Q],s,t,e,n),Hh}function b0(t,e,r,n){let i=t.cleanup;if(i!=null)for(let a=0;a<i.length-1;a+=2){let s=i[a];if(s===r&&i[a+1]===n){let l=e[on],u=i[a+2];return l.length>u?l[u]:null}typeof s=="string"&&(a+=2)}return null}function zh(t,e,r,n,i,a,s){let l=Ni(n),u=t.firstCreatePass&&zf(t),c=e[pt],d=Hf(e),f=!0;if(n.type&3||s){let y=At(n,e),b=s?s(y):y,_=d.length,p=s?x=>s(Kt(x[n.index])):n.index,v=null;if(!s&&l&&(v=b0(t,e,i,n.index)),v!==null){let x=v.__ngLastListenerFn__||v;x.__ngNextListenerFn__=a,v.__ngLastListenerFn__=a,f=!1}else{a=ou(n,e,c,a);let x=r.listen(b,i,a);d.push(a,x),u&&u.push(i,p,_,_+1)}}else a=ou(n,e,c,a);let m=n.outputs,h;if(f&&m!==null&&(h=m[i])){let y=h.length;if(y)for(let b=0;b<y;b+=2){let _=h[b],p=h[b+1],v=e[_][p].subscribe(a),x=d.length;d.push(a,v),u&&u.push(i,n.index,x,-(x+1))}}}function su(t,e,r,n){let i=F(null);try{return yd(6,e,r),r(n)!==!1}catch(a){return Bf(t,a),!1}finally{F(i)}}function ou(t,e,r,n){return function i(a){if(a===Function)return n;let s=t.componentOffset>-1?xe(t.index,e):e;$o(s,5);let l=su(e,r,n,a),u=i.__ngNextListenerFn__;for(;u;)l=su(e,r,u,a)&&l,u=u.__ngNextListenerFn__;return l}}function tl(t=1){return Ag(t)}function g0(t,e){let r=null,n=Ov(t);for(let i=0;i<e.length;i++){let a=e[i];if(a==="*"){r=i;continue}if(n===null?Df(t,a,!0):Nv(n,a))return i}return r}function ta(t){let e=O()[Dt][yt];if(!e.projection){let r=t?t.length:1,n=e.projection=$b(r,null),i=n.slice(),a=e.child;for(;a!==null;){if(a.type!==128){let s=t?g0(a,t):0;s!==null&&(i[s]?i[s].projectionNext=a:n[s]=a,i[s]=a)}a=a.next}}}function ie(t,e=0,r,n,i,a){let s=O(),l=G(),u=null,c=Ke(l,nt+t,16,null,null);c.projection===null&&(c.projection=e),_o();let d=!s[hn]||kd();s[Dt][yt].projection[c.projection]===null&&u!==null?y0(s,l,u):d&&(c.flags&32)!==32&&wv(l,s,c)}function y0(t,e,r){let n=nt+r,i=e.data[n],a=t[n],s=gn(a,i.tView.ssrId),l=hr(t,i,void 0,{dehydratedView:s});pr(a,l,0,bn(i,s))}function f1(t,e,r,n){ch(t,e,r,n)}function v0(t,e,r){Y_(t,e,r)}function _0(t){let e=O(),r=G(),n=ko();Mi(n+1);let i=Go(r,n);if(t.dirty&&pg(e)===((i.metadata.flags&2)===2)){if(i.matches===null)t.reset([]);else{let a=fh(e,n);t.reset(a,Jd),t.notifyOnChanges()}return!0}return!1}function w0(){return Wo(O(),ko())}function h1(t,e,r,n,i){rw(e,ch(t,r,n,i))}function p1(t=1){Mi(ko()+t)}function el(t,e,r,n){r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=n}function m1(t){let e=Ed();return bo(e,nt+t)}function x0(t,e=""){let r=O(),n=G(),i=t+nt,a=n.firstCreatePass?Ke(n,i,1,e,null):n.data[i],s=k0(n,r,a,e);r[i]=s,Fi()&&$i(n,r,s,a),ke(a,!1)}var k0=(t,e,r,n,i)=>(ji(!0),ov(e[Q],n));function I0(t){return nl("",t,""),I0}function nl(t,e,r){let n=O(),i=Sh(n,t,e,r);return i!==Et&&Uf(n,Qt(),i),nl}function E0(t,e,r,n,i){let a=O(),s=Lw(a,t,e,r,n,i);return s!==Et&&Uf(a,Qt(),s),E0}function C0(t,e,r){ph(e)&&(e=e());let n=O(),i=qe();if(kt(n,i,e)){let a=G(),s=Pi();zo(a,s,n,t,e,n[Q],r,!1)}return C0}function b1(t,e){let r=ph(t);return r&&t.set(e),r}function T0(t,e){let r=O(),n=G(),i=ot();return zh(n,r,r[Q],i,t,e),T0}var Bh={};function S0(t){let e=G(),r=O(),n=t+nt,i=Ke(e,n,128,null,null);return ke(i,!1),el(e,r,n,Bh),S0}function g1(t){ue("NgLet");let e=G(),r=O(),n=Qt();return el(e,r,n,t),t}function y1(t){let e=Ed(),r=bo(e,nt+t);if(r===Bh)throw new R(314,!1);return r}function D0(t,e,r){let n=G();if(n.firstCreatePass){let i=ve(t);Ss(r,n.data,n.blueprint,i,!0),Ss(e,n.data,n.blueprint,i,!1)}}function Ss(t,e,r,n,i){if(t=ft(t),Array.isArray(t))for(let a=0;a<t.length;a++)Ss(t[a],e,r,n,i);else{let a=G(),s=O(),l=ot(),u=fn(t)?t:ft(t.provide),c=cd(t),d=l.providerIndexes&1048575,f=l.directiveStart,m=l.providerIndexes>>20;if(fn(t)||!t.multi){let h=new ur(c,i,mt),y=Ca(u,e,i?d:d+m,f);y===-1?(ls(fi(l,s),a,u),Ea(a,t,e.length),e.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),r.push(h),s.push(h)):(r[y]=h,s[y]=h)}else{let h=Ca(u,e,d+m,f),y=Ca(u,e,d,d+m),b=h>=0&&r[h],_=y>=0&&r[y];if(i&&!_||!i&&!b){ls(fi(l,s),a,u);let p=R0(i?A0:O0,r.length,i,n,c);!i&&_&&(r[y].providerFactory=p),Ea(a,t,e.length,0),e.push(u),l.directiveStart++,l.directiveEnd++,i&&(l.providerIndexes+=1048576),r.push(p),s.push(p)}else{let p=Uh(r[i?y:h],c,!i&&n);Ea(a,t,h>-1?h:y,p)}!i&&n&&_&&r[y].componentProviders++}}}function Ea(t,e,r,n){let i=fn(e),a=tg(e);if(i||a){let s=(a?ft(e.useClass):e).prototype.ngOnDestroy;if(s){let l=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let u=l.indexOf(r);u===-1?l.push(r,[n,s]):l[u+1].push(n,s)}else l.push(r,s)}}}function Uh(t,e,r){return r&&t.componentProviders++,t.multi.push(e)-1}function Ca(t,e,r,n){for(let i=r;i<n;i++)if(e[i]===t)return i;return-1}function O0(t,e,r,n){return Ds(this.multi,[])}function A0(t,e,r,n){let i=this.multi,a;if(this.providerFactory){let s=this.providerFactory.componentProviders,l=Be(r,r[N],this.providerFactory.index,n);a=l.slice(0,s),Ds(i,a);for(let u=s;u<l.length;u++)a.push(l[u])}else a=[],Ds(i,a);return a}function Ds(t,e){for(let r=0;r<t.length;r++){let n=t[r];e.push(n())}return e}function R0(t,e,r,n,i){let a=new ur(t,r,mt);return a.multi=[],a.index=e,a.componentProviders=0,Uh(a,i,n&&!r),a}function v1(t,e=[]){return r=>{r.providersResolver=(n,i)=>D0(n,i?i(t):t,e)}}function _1(t,e,r){let n=wo()+t,i=O();return i[n]===Et?Jo(i,n,e()):wh(i,n)}function w1(t,e,r,n,i,a,s,l){let u=wo()+t,c=O(),d=ww(c,u,r,n,i,a);return kt(c,u+4,s)||d?Jo(c,u+5,e(r,n,i,a,s)):wh(c,u+5)}function N0(t,e){let r=t[e];return r===Et?void 0:r}function L0(t,e,r,n,i,a){let s=e+r;return kt(t,s,i)?Jo(t,s+1,a?n.call(a,i):n(i)):N0(t,s+1)}function x1(t,e){let r=G(),n,i=t+nt;r.firstCreatePass?(n=M0(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks??(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];let a=n.factory||(n.factory=Pe(n.type)),s=gt(mt);try{let l=di(!1),u=a();return di(l),el(r,O(),i,u),u}finally{gt(s)}}function M0(t,e){if(e)for(let r=e.length-1;r>=0;r--){let n=e[r];if(t===n.name)return n}}function k1(t,e,r){let n=t+nt,i=O(),a=bo(i,n);return P0(i,n)?L0(i,wo(),e,a.transform,r,a):a.transform(r)}function P0(t,e){return t[N].data[e].pure}function I1(t,e){return Gi(t,e)}var F0=class{constructor(t,e){o(this,"ngModuleFactory");o(this,"componentFactories");this.ngModuleFactory=t,this.componentFactories=e}};(()=>{const e=class e{compileModuleSync(n){return new lw(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){let i=this.compileModuleSync(n),a=id(n),s=bf(a.declarations).reduce((l,u)=>{let c=be(u);return c&&l.push(new Yi(c)),l},[]);return new F0(i,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})();var j0=(()=>{const e=class e{constructor(){o(this,"zone",g(J));o(this,"changeDetectionScheduler",g(dr));o(this,"applicationRef",g(yn));o(this,"_onMicrotaskEmptySubscription")}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var n;(n=this._onMicrotaskEmptySubscription)==null||n.unsubscribe()}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})();function V0({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:r}){return t??(t=()=>new J(It(Z({},H0()),{scheduleInRootZone:r}))),[{provide:J,useFactory:t},{provide:ai,multi:!0,useFactory:()=>{let n=g(j0,{optional:!0});return()=>n.initialize()}},{provide:ai,multi:!0,useFactory:()=>{let n=g(z0);return()=>{n.initialize()}}},e===!0?{provide:Wd,useValue:!0}:[],{provide:Gd,useValue:r??$d}]}function H0(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(t==null?void 0:t.eventCoalescing)??!1,shouldCoalesceRunChangeDetection:(t==null?void 0:t.runCoalescing)??!1}}var z0=(()=>{const e=class e{constructor(){o(this,"subscription",new xt);o(this,"initialized",!1);o(this,"zone",g(J));o(this,"pendingTasks",g(En))}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{n!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{J.assertInAngularZone(),n??(n=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),B0=(()=>{var e;const r=class r{constructor(){o(this,"appRef",g(yn));o(this,"taskService",g(En));o(this,"ngZone",g(J));o(this,"zonelessEnabled",g(Kd));o(this,"tracing",g(Bi,{optional:!0}));o(this,"disableScheduling",g(Wd,{optional:!0})??!1);o(this,"zoneIsDefined",typeof Zone<"u"&&!!Zone.root.run);o(this,"schedulerTickApplyArgs",[{data:{__scheduler_tick__:!0}}]);o(this,"subscriptions",new xt);o(this,"angularZoneId",this.zoneIsDefined?(e=this.ngZone._inner)==null?void 0:e.get(hi):null);o(this,"scheduleInRootZone",!this.zonelessEnabled&&this.zoneIsDefined&&(g(Gd,{optional:!0})??!1));o(this,"cancelScheduledCallback",null);o(this,"useMicrotaskScheduler",!1);o(this,"runningTick",!1);o(this,"pendingRenderTaskId",null);this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof iy||!this.zoneIsDefined))}notify(i){var l;if(!this.zonelessEnabled&&i===5)return;let a=!1;switch(i){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 8:{this.appRef.deferredDirtyFlags|=8;break}case 6:{this.appRef.dirtyFlags|=2,a=!0;break}case 13:{this.appRef.dirtyFlags|=16,a=!0;break}case 14:{this.appRef.dirtyFlags|=2,a=!0;break}case 12:{a=!0;break}case 10:case 9:case 7:case 11:default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=((l=this.tracing)==null?void 0:l.snapshot(this.appRef.tracingSnapshot))??null,!this.shouldScheduleTick(a))return;let s=this.useMicrotaskScheduler?Ml:Qd;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>s(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>s(()=>this.tick()))}shouldScheduleTick(i){return!(this.disableScheduling&&!i||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(hi+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 i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(a){throw this.taskService.remove(i),a}finally{this.cleanup()}this.useMicrotaskScheduler=!0,Ml(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var i;if(this.runningTick=!1,(i=this.cancelScheduledCallback)==null||i.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let a=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(a)}}};o(r,"ɵfac",function(i){return new(i||r)}),o(r,"ɵprov",C({token:r,factory:r.ɵfac,providedIn:"root"}));let t=r;return t})();function U0(){return typeof $localize<"u"&&$localize.locale||Ts}var rl=new A("",{providedIn:"root",factory:()=>g(rl,j.Optional|j.SkipSelf)||U0()}),Os=new A(""),q0=new A("");function Nn(t){return!t.moduleRef}function $0(t){let e=Nn(t)?t.r3Injector:t.moduleRef.injector,r=e.get(J);return r.run(()=>{Nn(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let n=e.get($e,null),i;if(r.runOutsideAngular(()=>{i=r.onError.subscribe({next:a=>{n.handleError(a)}})}),Nn(t)){let a=()=>e.destroy(),s=t.platformInjector.get(Os);s.add(a),e.onDestroy(()=>{i.unsubscribe(),s.delete(a)})}else{let a=()=>t.moduleRef.destroy(),s=t.platformInjector.get(Os);s.add(a),t.moduleRef.onDestroy(()=>{qr(t.allPlatformModules,t.moduleRef),i.unsubscribe(),s.delete(a)})}return Rw(n,r,()=>{let a=e.get(Eh);return a.runInitializers(),a.donePromise.then(()=>{let s=e.get(rl,Ts);if(m0(s||Ts),!e.get(q0,!0))return Nn(t)?e.get(yn):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Nn(t)){let l=e.get(yn);return t.rootComponent!==void 0&&l.bootstrap(t.rootComponent),l}else return Z0(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}function Z0(t,e){let r=t.injector.get(yn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(n=>r.bootstrap(n));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(r);else throw new R(-403,!1);e.push(t)}var $r=null;function K0(t=[],e){return le.create({name:e,providers:[{provide:uo,useValue:"platform"},{provide:Os,useValue:new Set([()=>$r=null])},...t]})}function W0(t=[]){if($r)return $r;let e=K0(t);return $r=e,Dw(),G0(e),e}function G0(t){let e=t.get(sf,null);fo(t,()=>{e==null||e.forEach(r=>r())})}function E1(){return!1}var qh=(()=>{class t{}return o(t,"__NG_ELEMENT_ID__",Q0),t})();function Q0(t){return Y0(ot(),O(),(t&16)===16)}function Y0(t,e,r){if(Ri(t)&&!r){let n=xe(t.index,e);return new Xn(n,n)}else if(t.type&175){let n=e[Dt];return new Xn(n,e)}return null}var J0=class{constructor(){}supports(t){return _h(t)}create(t){return new tx(t)}},X0=(t,e)=>e,tx=class{constructor(t){o(this,"length",0);o(this,"collection");o(this,"_linkedRecords",null);o(this,"_unlinkedRecords",null);o(this,"_previousItHead",null);o(this,"_itHead",null);o(this,"_itTail",null);o(this,"_additionsHead",null);o(this,"_additionsTail",null);o(this,"_movesHead",null);o(this,"_movesTail",null);o(this,"_removalsHead",null);o(this,"_removalsTail",null);o(this,"_identityChangesHead",null);o(this,"_identityChangesTail",null);o(this,"_trackByFn");this._trackByFn=t||X0}forEachItem(t){let e;for(e=this._itHead;e!==null;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,r=this._removalsHead,n=0,i=null;for(;e||r;){let a=!r||e&&e.currentIndex<uu(r,n,i)?e:r,s=uu(a,n,i),l=a.currentIndex;if(a===r)n--,r=r._nextRemoved;else if(e=e._next,a.previousIndex==null)n++;else{i||(i=[]);let u=s-n,c=l-n;if(u!=c){for(let f=0;f<u;f++){let m=f<i.length?i[f]:i[f]=0,h=m+f;c<=h&&h<u&&(i[f]=m+1)}let d=a.previousIndex;i[d]=c-u}}s!==l&&t(a,s,l)}}forEachPreviousItem(t){let e;for(e=this._previousItHead;e!==null;e=e._nextPrevious)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)t(e)}forEachMovedItem(t){let e;for(e=this._movesHead;e!==null;e=e._nextMoved)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)t(e)}forEachIdentityChange(t){let e;for(e=this._identityChangesHead;e!==null;e=e._nextIdentityChange)t(e)}diff(t){if(t==null&&(t=[]),!_h(t))throw new R(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._itHead,r=!1,n,i,a;if(Array.isArray(t)){this.length=t.length;for(let s=0;s<this.length;s++)i=t[s],a=this._trackByFn(s,i),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,i,a,s),r=!0):(r&&(e=this._verifyReinsertion(e,i,a,s)),Object.is(e.item,i)||this._addIdentityChange(e,i)),e=e._next}else n=0,_w(t,s=>{a=this._trackByFn(n,s),e===null||!Object.is(e.trackById,a)?(e=this._mismatch(e,s,a,n),r=!0):(r&&(e=this._verifyReinsertion(e,s,a,n)),Object.is(e.item,s)||this._addIdentityChange(e,s)),e=e._next,n++}),this.length=n;return this._truncate(e),this.collection=t,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;t!==null;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;t!==null;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,r,n){let i;return t===null?i=this._itTail:(i=t._prev,this._remove(t)),t=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),t!==null?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,n)):(t=this._linkedRecords===null?null:this._linkedRecords.get(r,n),t!==null?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,n)):t=this._addAfter(new ex(e,r),i,n)),t}_verifyReinsertion(t,e,r,n){let i=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return i!==null?t=this._reinsertAfter(i,t._prev,n):t.currentIndex!=n&&(t.currentIndex=n,this._addToMoves(t,n)),t}_truncate(t){for(;t!==null;){let e=t._next;this._addToRemovals(this._unlink(t)),t=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(t,e,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(t);let n=t._prevRemoved,i=t._nextRemoved;return n===null?this._removalsHead=i:n._nextRemoved=i,i===null?this._removalsTail=n:i._prevRemoved=n,this._insertAfter(t,e,r),this._addToMoves(t,r),t}_moveAfter(t,e,r){return this._unlink(t),this._insertAfter(t,e,r),this._addToMoves(t,r),t}_addAfter(t,e,r){return this._insertAfter(t,e,r),this._additionsTail===null?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,e,r){let n=e===null?this._itHead:e._next;return t._next=n,t._prev=e,n===null?this._itTail=t:n._prev=t,e===null?this._itHead=t:e._next=t,this._linkedRecords===null&&(this._linkedRecords=new lu),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){this._linkedRecords!==null&&this._linkedRecords.remove(t);let e=t._prev,r=t._next;return e===null?this._itHead=r:e._next=r,r===null?this._itTail=e:r._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail===null?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return this._unlinkedRecords===null&&(this._unlinkedRecords=new lu),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}},ex=class{constructor(t,e){o(this,"item");o(this,"trackById");o(this,"currentIndex",null);o(this,"previousIndex",null);o(this,"_nextPrevious",null);o(this,"_prev",null);o(this,"_next",null);o(this,"_prevDup",null);o(this,"_nextDup",null);o(this,"_prevRemoved",null);o(this,"_nextRemoved",null);o(this,"_nextAdded",null);o(this,"_nextMoved",null);o(this,"_nextIdentityChange",null);this.item=t,this.trackById=e}},nx=class{constructor(){o(this,"_head",null);o(this,"_tail",null)}add(t){this._head===null?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let r;for(r=this._head;r!==null;r=r._nextDup)if((e===null||e<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){let e=t._prevDup,r=t._nextDup;return e===null?this._head=r:e._nextDup=r,r===null?this._tail=e:r._prevDup=e,this._head===null}},lu=class{constructor(){o(this,"map",new Map)}put(t){let e=t.trackById,r=this.map.get(e);r||(r=new nx,this.map.set(e,r)),r.add(t)}get(t,e){let r=t,n=this.map.get(r);return n?n.get(t,e):null}remove(t){let e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function uu(t,e,r){let n=t.previousIndex;if(n===null)return n;let i=0;return r&&n<r.length&&(i=r[n]),n+e+i}var rx=class{constructor(){}supports(t){return t instanceof Map||Yo(t)}create(){return new ix}},ix=class{constructor(){o(this,"_records",new Map);o(this,"_mapHead",null);o(this,"_appendAfter",null);o(this,"_previousMapHead",null);o(this,"_changesHead",null);o(this,"_changesTail",null);o(this,"_additionsHead",null);o(this,"_additionsTail",null);o(this,"_removalsHead",null);o(this,"_removalsTail",null)}get isDirty(){return this._additionsHead!==null||this._changesHead!==null||this._removalsHead!==null}forEachItem(t){let e;for(e=this._mapHead;e!==null;e=e._next)t(e)}forEachPreviousItem(t){let e;for(e=this._previousMapHead;e!==null;e=e._nextPrevious)t(e)}forEachChangedItem(t){let e;for(e=this._changesHead;e!==null;e=e._nextChanged)t(e)}forEachAddedItem(t){let e;for(e=this._additionsHead;e!==null;e=e._nextAdded)t(e)}forEachRemovedItem(t){let e;for(e=this._removalsHead;e!==null;e=e._nextRemoved)t(e)}diff(t){if(!t)t=new Map;else if(!(t instanceof Map||Yo(t)))throw new R(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,n)=>{if(e&&e.key===n)this._maybeAddToChanges(e,r),this._appendAfter=e,e=e._next;else{let i=this._getOrCreateRecordForKey(n,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(t,e){if(t){let r=t._prev;return e._next=t,e._prev=r,t._prev=e,r&&(r._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){let n=this._records.get(t);this._maybeAddToChanges(n,e);let i=n._prev,a=n._next;return i&&(i._next=a),a&&(a._prev=i),n._next=null,n._prev=null,n}let r=new ax(t);return this._records.set(t,r),r.currentValue=e,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;t!==null;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;t!==null;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;t!=null;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){this._additionsHead===null?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){this._changesHead===null?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(r=>e(t[r],r))}},ax=class{constructor(t){o(this,"key");o(this,"previousValue",null);o(this,"currentValue",null);o(this,"_nextPrevious",null);o(this,"_next",null);o(this,"_prev",null);o(this,"_nextAdded",null);o(this,"_nextRemoved",null);o(this,"_nextChanged",null);this.key=t}};function cu(){return new sx([new J0])}var sx=(()=>{const e=class e{constructor(n){o(this,"factories");this.factories=n}static create(n,i){if(i!=null){let a=i.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||cu()),deps:[[e,new Xc,new Jc]]}}find(n){let i=this.factories.find(a=>a.supports(n));if(i!=null)return i;throw new R(901,!1)}};o(e,"ɵprov",C({token:e,providedIn:"root",factory:cu}));let t=e;return t})();function du(){return new $h([new rx])}var $h=(()=>{const e=class e{constructor(n){o(this,"factories");this.factories=n}static create(n,i){if(i){let a=i.factories.slice();n=n.concat(a)}return new e(n)}static extend(n){return{provide:e,useFactory:i=>e.create(n,i||du()),deps:[[e,new Xc,new Jc]]}}find(n){let i=this.factories.find(a=>a.supports(n));if(i)return i;throw new R(901,!1)}};o(e,"ɵprov",C({token:e,providedIn:"root",factory:du}));let t=e;return t})();function ox(t){try{let{rootComponent:e,appProviders:r,platformProviders:n}=t,i=W0(n),a=[V0({}),{provide:dr,useExisting:B0},...r||[]],s=new bh({providers:a,parent:i,debugName:"",runEnvironmentInitializers:!1});return $0({r3Injector:s.injector,platformInjector:i,rootComponent:e})}catch(e){return Promise.reject(e)}}function jn(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function lx(t,e=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):e}function C1(t,e){return ue("NgSignals"),Pc(t)}function T1(t){let e=F(null);try{return t()}finally{F(e)}}var Zh=(()=>{class t{constructor(r,n){o(this,"view");o(this,"node");this.view=r,this.node=n}}return o(t,"__NG_ELEMENT_ID__",ux),t})();function ux(){return new Zh(O(),ot())}(()=>{const e=class e extends Th{constructor(){super(...arguments);o(this,"pendingTasks",g(En));o(this,"taskId",null)}schedule(i){super.schedule(i),this.taskId===null&&(this.taskId=this.pendingTasks.add(),queueMicrotask(()=>this.flush()))}flush(){try{super.flush()}finally{this.taskId!==null&&(this.pendingTasks.remove(this.taskId),this.taskId=null)}}};o(e,"ɵprov",C({token:e,providedIn:"root",factory:()=>new e}));let t=e;return t})();var Xu,cx=(Xu=_t,class{constructor(t){o(this,Xu);this[_t]=t}destroy(){this[_t].destroy()}});function dx(t,e){ue("NgSignals"),!(e!=null&&e.injector)&&ho();let r=(e==null?void 0:e.injector)??g(le),n=(e==null?void 0:e.manualCleanup)!==!0?r.get(cr):null,i,a=r.get(Zh,null,{optional:!0}),s=r.get(dr);return a!==null&&!(e!=null&&e.forceRoot)?(i=px(a.view,s,t),n instanceof Zd&&n._lView===a.view&&(n=null)):i=mx(t,r.get(Ch),s),i.injector=r,n!==null&&(i.onDestroyFn=n.onDestroy(()=>i.destroy())),new cx(i)}var Kh=It(Z({},kn),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,onDestroyFn:Yn,run(){if(this.dirty=!1,this.hasRun&&!ro(this))return;this.hasRun=!0;let t=n=>(this.cleanupFns??(this.cleanupFns=[])).push(n),e=ei(this),r=li(!1);try{this.maybeCleanup(),this.fn(t)}finally{li(r),no(this,e)}},maybeCleanup(){var t;if((t=this.cleanupFns)!=null&&t.length)try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[]}}}),fx=It(Z({},Kh),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(13)},destroy(){Ei(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),hx=It(Z({},Kh),{consumerMarkedDirty(){this.view[S]|=8192,lr(this.view),this.notifier.notify(14)},destroy(){var t;Ei(this),this.onDestroyFn(),this.maybeCleanup(),(t=this.view[ee])==null||t.delete(this)}});function px(t,e,r){let n=Object.create(hx);return n.view=t,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=e,n.fn=r,t[ee]??(t[ee]=new Set),t[ee].add(n),n.consumerMarkedDirty(n),n}function mx(t,e,r){let n=Object.create(fx);return n.fn=t,n.scheduler=e,n.notifier=r,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.schedule(n),n.notifier.notify(13),n}function bx(t,e){let r=be(t),n=e.elementInjector||Oi();return new Yi(r).create(n,e.projectableNodes,e.hostElement,e.environmentInjector)}var Wh=null;function Bn(){return Wh}function gx(t){Wh??(Wh=t)}var yx=class{},rt=new A(""),Gh=(()=>{const e=class e{historyGo(n){throw new Error("")}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:()=>g(vx),providedIn:"platform"}));let t=e;return t})(),vx=(()=>{const e=class e extends Gh{constructor(){super();o(this,"_location");o(this,"_history");o(this,"_doc",g(rt));this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Bn().getBaseHref(this._doc)}onPopState(i){let a=Bn().getGlobalEventTarget(this._doc,"window");return a.addEventListener("popstate",i,!1),()=>a.removeEventListener("popstate",i)}onHashChange(i){let a=Bn().getGlobalEventTarget(this._doc,"window");return a.addEventListener("hashchange",i,!1),()=>a.removeEventListener("hashchange",i)}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(i){this._location.pathname=i}pushState(i,a,s){this._history.pushState(i,a,s)}replaceState(i,a,s){this._history.replaceState(i,a,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(i=0){this._history.go(i)}getState(){return this._history.state}};o(e,"ɵfac",function(i){return new(i||e)}),o(e,"ɵprov",C({token:e,factory:()=>new e,providedIn:"platform"}));let t=e;return t})();function Qh(t,e){if(t.length==0)return e;if(e.length==0)return t;let r=0;return t.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?t+e.substring(1):r==1?t+e:t+"/"+e}function fu(t){let e=t.match(/#|\?|$/),r=e&&e.index||t.length,n=r-(t[r-1]==="/"?1:0);return t.slice(0,n)+t.slice(r)}function Le(t){return t&&t[0]!=="?"?"?"+t:t}var il=(()=>{const e=class e{historyGo(n){throw new Error("")}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:()=>g(wx),providedIn:"root"}));let t=e;return t})(),_x=new A(""),wx=(()=>{const e=class e extends il{constructor(i,a){var s;super();o(this,"_platformLocation");o(this,"_baseHref");o(this,"_removeListenerFns",[]);this._platformLocation=i,this._baseHref=a??this._platformLocation.getBaseHrefFromDOM()??((s=g(rt).location)==null?void 0:s.origin)??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(i){this._removeListenerFns.push(this._platformLocation.onPopState(i),this._platformLocation.onHashChange(i))}getBaseHref(){return this._baseHref}prepareExternalUrl(i){return Qh(this._baseHref,i)}path(i=!1){let a=this._platformLocation.pathname+Le(this._platformLocation.search),s=this._platformLocation.hash;return s&&i?`${a}${s}`:a}pushState(i,a,s,l){let u=this.prepareExternalUrl(s+Le(l));this._platformLocation.pushState(i,a,u)}replaceState(i,a,s,l){let u=this.prepareExternalUrl(s+Le(l));this._platformLocation.replaceState(i,a,u)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(i=0){var a,s;(s=(a=this._platformLocation).historyGo)==null||s.call(a,i)}};o(e,"ɵfac",function(i){return new(i||e)(P(Gh),P(_x,8))}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),xx=(()=>{const e=class e{constructor(n){o(this,"_subject",new ut);o(this,"_basePath");o(this,"_locationStrategy");o(this,"_urlChangeListeners",[]);o(this,"_urlChangeSubscription",null);this._locationStrategy=n;let i=this._locationStrategy.getBaseHref();this._basePath=Ex(fu(hu(i))),this._locationStrategy.onPopState(a=>{this._subject.next({url:this.path(!0),pop:!0,state:a.state,type:a.type})})}ngOnDestroy(){var n;(n=this._urlChangeSubscription)==null||n.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,i=""){return this.path()==this.normalize(n+Le(i))}normalize(n){return e.stripTrailingSlash(Ix(this._basePath,hu(n)))}prepareExternalUrl(n){return n&&n[0]!=="/"&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,i="",a=null){this._locationStrategy.pushState(a,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Le(i)),a)}replaceState(n,i="",a=null){this._locationStrategy.replaceState(a,"",n,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Le(i)),a)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){var i,a;(a=(i=this._locationStrategy).historyGo)==null||a.call(i,n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription??(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{var a;let i=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&((a=this._urlChangeSubscription)==null||a.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",i){this._urlChangeListeners.forEach(a=>a(n,i))}subscribe(n,i,a){return this._subject.subscribe({next:n,error:i??void 0,complete:a??void 0})}};o(e,"normalizeQueryParams",Le),o(e,"joinWithSlash",Qh),o(e,"stripTrailingSlash",fu),o(e,"ɵfac",function(n){return new(n||e)(P(il))}),o(e,"ɵprov",C({token:e,factory:()=>kx(),providedIn:"root"}));let t=e;return t})();function kx(){return new xx(P(il))}function Ix(t,e){if(!t||!e.startsWith(t))return e;let r=e.substring(t.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function hu(t){return t.replace(/\/index.html$/,"")}function Ex(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var dt=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(dt||{}),U=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(U||{}),vt=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(vt||{}),ea={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 Cx(t){return Vt(t)[st.LocaleId]}function Tx(t,e,r){let n=Vt(t),i=[n[st.DayPeriodsFormat],n[st.DayPeriodsStandalone]],a=Ot(i,e);return Ot(a,r)}function Sx(t,e,r){let n=Vt(t),i=[n[st.DaysFormat],n[st.DaysStandalone]],a=Ot(i,e);return Ot(a,r)}function Dx(t,e,r){let n=Vt(t),i=[n[st.MonthsFormat],n[st.MonthsStandalone]],a=Ot(i,e);return Ot(a,r)}function Ox(t,e){let r=Vt(t)[st.Eras];return Ot(r,e)}function Ir(t,e){let r=Vt(t);return Ot(r[st.DateFormat],e)}function Er(t,e){let r=Vt(t);return Ot(r[st.TimeFormat],e)}function Cr(t,e){let r=Vt(t)[st.DateTimeFormat];return Ot(r,e)}function na(t,e){return Vt(t)[st.NumberSymbols][e]}function Yh(t){if(!t[st.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[st.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Ax(t){let e=Vt(t);return Yh(e),(e[st.ExtraData][2]||[]).map(r=>typeof r=="string"?Ta(r):[Ta(r[0]),Ta(r[1])])}function Rx(t,e,r){let n=Vt(t);Yh(n);let i=[n[st.ExtraData][0],n[st.ExtraData][1]],a=Ot(i,e)||[];return Ot(a,r)||[]}function Ot(t,e){for(let r=e;r>-1;r--)if(typeof t[r]<"u")return t[r];throw new Error("Locale data API: locale data undefined")}function Ta(t){let[e,r]=t.split(":");return{hours:+e,minutes:+r}}var Nx=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,We={},Lx=/((?:[^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]*)/;function Mx(t,e,r,n){let i=qx(t);e=te(r,e)||e;let a=[],s;for(;e;)if(s=Lx.exec(e),s){a=a.concat(s.slice(1));let c=a.pop();if(!c)break;e=c}else{a.push(e);break}let l=i.getTimezoneOffset();n&&(l=Xh(n,l),i=Ux(i,n));let u="";return a.forEach(c=>{let d=zx(c);u+=d?d(i,r,l):c==="''"?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function wi(t,e,r){let n=new Date(0);return n.setFullYear(t,e,r),n.setHours(0,0,0),n}function te(t,e){let r=Cx(t);if(We[r]??(We[r]={}),We[r][e])return We[r][e];let n="";switch(e){case"shortDate":n=Ir(t,vt.Short);break;case"mediumDate":n=Ir(t,vt.Medium);break;case"longDate":n=Ir(t,vt.Long);break;case"fullDate":n=Ir(t,vt.Full);break;case"shortTime":n=Er(t,vt.Short);break;case"mediumTime":n=Er(t,vt.Medium);break;case"longTime":n=Er(t,vt.Long);break;case"fullTime":n=Er(t,vt.Full);break;case"short":let i=te(t,"shortTime"),a=te(t,"shortDate");n=Tr(Cr(t,vt.Short),[i,a]);break;case"medium":let s=te(t,"mediumTime"),l=te(t,"mediumDate");n=Tr(Cr(t,vt.Medium),[s,l]);break;case"long":let u=te(t,"longTime"),c=te(t,"longDate");n=Tr(Cr(t,vt.Long),[u,c]);break;case"full":let d=te(t,"fullTime"),f=te(t,"fullDate");n=Tr(Cr(t,vt.Full),[d,f]);break}return n&&(We[r][e]=n),n}function Tr(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(r,n){return e!=null&&n in e?e[n]:r})),t}function Mt(t,e,r="-",n,i){let a="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,a=r));let s=String(t);for(;s.length<e;)s="0"+s;return n&&(s=s.slice(s.length-e)),a+s}function Px(t,e){return Mt(t,3).substring(0,e)}function tt(t,e,r=0,n=!1,i=!1){return function(a,s){let l=Fx(t,a);if((r>0||l>-r)&&(l+=r),t===3)l===0&&r===-12&&(l=12);else if(t===6)return Px(l,e);let u=na(s,ea.MinusSign);return Mt(l,e,u,n,i)}}function Fx(t,e){switch(t){case 0:return e.getFullYear();case 1:return e.getMonth();case 2:return e.getDate();case 3:return e.getHours();case 4:return e.getMinutes();case 5:return e.getSeconds();case 6:return e.getMilliseconds();case 7:return e.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function $(t,e,r=dt.Format,n=!1){return function(i,a){return jx(i,a,t,e,r,n)}}function jx(t,e,r,n,i,a){switch(r){case 2:return Dx(e,i,n)[t.getMonth()];case 1:return Sx(e,i,n)[t.getDay()];case 0:let s=t.getHours(),l=t.getMinutes();if(a){let c=Ax(e),d=Rx(e,i,n),f=c.findIndex(m=>{if(Array.isArray(m)){let[h,y]=m,b=s>=h.hours&&l>=h.minutes,_=s<y.hours||s===y.hours&&l<y.minutes;if(h.hours<y.hours){if(b&&_)return!0}else if(b||_)return!0}else if(m.hours===s&&m.minutes===l)return!0;return!1});if(f!==-1)return d[f]}return Tx(e,i,n)[s<12?0:1];case 3:return Ox(e,n)[t.getFullYear()<=0?0:1];default:let u=r;throw new Error(`unexpected translation type ${u}`)}}function Sr(t){return function(e,r,n){let i=-1*n,a=na(r,ea.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case 0:return(i>=0?"+":"")+Mt(s,2,a)+Mt(Math.abs(i%60),2,a);case 1:return"GMT"+(i>=0?"+":"")+Mt(s,1,a);case 2:return"GMT"+(i>=0?"+":"")+Mt(s,2,a)+":"+Mt(Math.abs(i%60),2,a);case 3:return n===0?"Z":(i>=0?"+":"")+Mt(s,2,a)+":"+Mt(Math.abs(i%60),2,a);default:throw new Error(`Unknown zone width "${t}"`)}}}var Vx=0,Zr=4;function Hx(t){let e=wi(t,Vx,1).getDay();return wi(t,0,1+(e<=Zr?Zr:Zr+7)-e)}function Jh(t){let e=t.getDay(),r=e===0?-3:Zr-e;return wi(t.getFullYear(),t.getMonth(),t.getDate()+r)}function Sa(t,e=!1){return function(r,n){let i;if(e){let a=new Date(r.getFullYear(),r.getMonth(),1).getDay()-1,s=r.getDate();i=1+Math.floor((s+a)/7)}else{let a=Jh(r),s=Hx(a.getFullYear()),l=a.getTime()-s.getTime();i=1+Math.round(l/6048e5)}return Mt(i,t,na(n,ea.MinusSign))}}function Dr(t,e=!1){return function(r,n){let i=Jh(r).getFullYear();return Mt(i,t,na(n,ea.MinusSign),e)}}var Da={};function zx(t){if(Da[t])return Da[t];let e;switch(t){case"G":case"GG":case"GGG":e=$(3,U.Abbreviated);break;case"GGGG":e=$(3,U.Wide);break;case"GGGGG":e=$(3,U.Narrow);break;case"y":e=tt(0,1,0,!1,!0);break;case"yy":e=tt(0,2,0,!0,!0);break;case"yyy":e=tt(0,3,0,!1,!0);break;case"yyyy":e=tt(0,4,0,!1,!0);break;case"Y":e=Dr(1);break;case"YY":e=Dr(2,!0);break;case"YYY":e=Dr(3);break;case"YYYY":e=Dr(4);break;case"M":case"L":e=tt(1,1,1);break;case"MM":case"LL":e=tt(1,2,1);break;case"MMM":e=$(2,U.Abbreviated);break;case"MMMM":e=$(2,U.Wide);break;case"MMMMM":e=$(2,U.Narrow);break;case"LLL":e=$(2,U.Abbreviated,dt.Standalone);break;case"LLLL":e=$(2,U.Wide,dt.Standalone);break;case"LLLLL":e=$(2,U.Narrow,dt.Standalone);break;case"w":e=Sa(1);break;case"ww":e=Sa(2);break;case"W":e=Sa(1,!0);break;case"d":e=tt(2,1);break;case"dd":e=tt(2,2);break;case"c":case"cc":e=tt(7,1);break;case"ccc":e=$(1,U.Abbreviated,dt.Standalone);break;case"cccc":e=$(1,U.Wide,dt.Standalone);break;case"ccccc":e=$(1,U.Narrow,dt.Standalone);break;case"cccccc":e=$(1,U.Short,dt.Standalone);break;case"E":case"EE":case"EEE":e=$(1,U.Abbreviated);break;case"EEEE":e=$(1,U.Wide);break;case"EEEEE":e=$(1,U.Narrow);break;case"EEEEEE":e=$(1,U.Short);break;case"a":case"aa":case"aaa":e=$(0,U.Abbreviated);break;case"aaaa":e=$(0,U.Wide);break;case"aaaaa":e=$(0,U.Narrow);break;case"b":case"bb":case"bbb":e=$(0,U.Abbreviated,dt.Standalone,!0);break;case"bbbb":e=$(0,U.Wide,dt.Standalone,!0);break;case"bbbbb":e=$(0,U.Narrow,dt.Standalone,!0);break;case"B":case"BB":case"BBB":e=$(0,U.Abbreviated,dt.Format,!0);break;case"BBBB":e=$(0,U.Wide,dt.Format,!0);break;case"BBBBB":e=$(0,U.Narrow,dt.Format,!0);break;case"h":e=tt(3,1,-12);break;case"hh":e=tt(3,2,-12);break;case"H":e=tt(3,1);break;case"HH":e=tt(3,2);break;case"m":e=tt(4,1);break;case"mm":e=tt(4,2);break;case"s":e=tt(5,1);break;case"ss":e=tt(5,2);break;case"S":e=tt(6,1);break;case"SS":e=tt(6,2);break;case"SSS":e=tt(6,3);break;case"Z":case"ZZ":case"ZZZ":e=Sr(0);break;case"ZZZZZ":e=Sr(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Sr(1);break;case"OOOO":case"ZZZZ":case"zzzz":e=Sr(2);break;default:return null}return Da[t]=e,e}function Xh(t,e){t=t.replace(/:/g,"");let r=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(r)?e:r}function Bx(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function Ux(t,e,r){let n=-1,i=t.getTimezoneOffset(),a=Xh(e,i);return Bx(t,n*(a-i))}function qx(t){if(pu(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[i,a=1,s=1]=t.split("-").map(l=>+l);return wi(i,a-1,s)}let r=parseFloat(t);if(!isNaN(t-r))return new Date(r);let n;if(n=t.match(Nx))return $x(n)}let e=new Date(t);if(!pu(e))throw new Error(`Unable to convert "${t}" into a date`);return e}function $x(t){let e=new Date(0),r=0,n=0,i=t[8]?e.setUTCFullYear:e.setFullYear,a=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=Number(t[4]||0)-r,l=Number(t[5]||0)-n,u=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return a.call(e,s,l,u,c),e}function pu(t){return t instanceof Date&&!isNaN(t.valueOf())}function tp(t,e){e=encodeURIComponent(e);for(let r of t.split(";")){let n=r.indexOf("="),[i,a]=n==-1?[r,""]:[r.slice(0,n),r.slice(n+1)];if(i.trim()===e)return decodeURIComponent(a)}return null}var Oa=/\s+/,mu=[],S1=(()=>{const e=class e{constructor(n,i){o(this,"_ngEl");o(this,"_renderer");o(this,"initialClasses",mu);o(this,"rawClass");o(this,"stateMap",new Map);this._ngEl=n,this._renderer=i}set klass(n){this.initialClasses=n!=null?n.trim().split(Oa):mu}set ngClass(n){this.rawClass=typeof n=="string"?n.trim().split(Oa):n}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(let i of n)this._updateState(i,!0);else if(n!=null)for(let i of Object.keys(n))this._updateState(i,!!n[i]);this._applyStateDiff()}_updateState(n,i){let a=this.stateMap.get(n);a!==void 0?(a.enabled!==i&&(a.changed=!0,a.enabled=i),a.touched=!0):this.stateMap.set(n,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let n of this.stateMap){let i=n[0],a=n[1];a.changed?(this._toggleClass(i,a.enabled),a.changed=!1):a.touched||(a.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),a.touched=!1}}_toggleClass(n,i){n=n.trim(),n.length>0&&n.split(Oa).forEach(a=>{i?this._renderer.addClass(this._ngEl.nativeElement,a):this._renderer.removeClass(this._ngEl.nativeElement,a)})}};o(e,"ɵfac",function(n){return new(n||e)(mt(Yt),mt(Ko))}),o(e,"ɵdir",Sn({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}}));let t=e;return t})(),D1=(()=>{const e=class e{constructor(n,i,a){o(this,"_ngEl");o(this,"_differs");o(this,"_renderer");o(this,"_ngStyle",null);o(this,"_differ",null);this._ngEl=n,this._differs=i,this._renderer=a}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){let n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,i){let[a,s]=n.split("."),l=a.indexOf("-")===-1?void 0:nn.DashCase;i!=null?this._renderer.setStyle(this._ngEl.nativeElement,a,s?`${i}${s}`:i,l):this._renderer.removeStyle(this._ngEl.nativeElement,a,l)}_applyChanges(n){n.forEachRemovedItem(i=>this._setStyle(i.key,null)),n.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),n.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}};o(e,"ɵfac",function(n){return new(n||e)(mt(Yt),mt($h),mt(Ko))}),o(e,"ɵdir",Sn({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}));let t=e;return t})(),O1=(()=>{const e=class e{constructor(n){o(this,"_viewContainerRef");o(this,"_viewRef",null);o(this,"ngTemplateOutletContext",null);o(this,"ngTemplateOutlet",null);o(this,"ngTemplateOutletInjector",null);this._viewContainerRef=n}ngOnChanges(n){if(this._shouldRecreateView(n)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let a=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,a,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,i,a)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,a):!1,get:(n,i,a)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,a)}})}};o(e,"ɵfac",function(n){return new(n||e)(mt(Ji))}),o(e,"ɵdir",Sn({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[ug]}));let t=e;return t})();function Zx(t,e){return new R(2100,!1)}var Kx="mediumDate",Wx=new A(""),Gx=new A(""),A1=(()=>{const e=class e{constructor(n,i,a){o(this,"locale");o(this,"defaultTimezone");o(this,"defaultOptions");this.locale=n,this.defaultTimezone=i,this.defaultOptions=a}transform(n,i,a,s){var l,u;if(n==null||n===""||n!==n)return null;try{let c=i??((l=this.defaultOptions)==null?void 0:l.dateFormat)??Kx,d=a??((u=this.defaultOptions)==null?void 0:u.timezone)??this.defaultTimezone??void 0;return Mx(n,c,s||this.locale,d)}catch(c){throw Zx(e,c.message)}}};o(e,"ɵfac",function(n){return new(n||e)(mt(rl,16),mt(Wx,24),mt(Gx,24))}),o(e,"ɵpipe",gh({name:"date",type:e,pure:!0}));let t=e;return t})(),R1=(()=>{const e=class e{};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵmod",Jt({type:e})),o(e,"ɵinj",Gt({}));let t=e;return t})(),ep="browser",Qx="server";function Yx(t){return t===ep}function np(t){return t===Qx}var rp=class{},al=class{},ip=class{},nr=class Kr{constructor(e){o(this,"headers");o(this,"normalizedNames",new Map);o(this,"lazyInit");o(this,"lazyUpdate",null);e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
8
+ `).forEach(r=>{let n=r.indexOf(":");if(n>0){let i=r.slice(0,n),a=r.slice(n+1).trim();this.addHeaderEntry(i,a)}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,n)=>{this.addHeaderEntry(n,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,n])=>{this.setHeaderEntries(r,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof Kr?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new Kr;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof Kr?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...n),this.headers.set(r,i);break;case"d":let a=e.value;if(!a)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(l=>a.indexOf(l)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}addHeaderEntry(e,r){let n=e.toLowerCase();this.maybeSetNormalizedName(e,n),this.headers.has(n)?this.headers.get(n).push(r):this.headers.set(n,[r])}setHeaderEntries(e,r){let n=(Array.isArray(r)?r:[r]).map(a=>a.toString()),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}},Jx=class{encodeKey(t){return bu(t)}encodeValue(t){return bu(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}};function Xx(t,e){let r=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(n=>{let i=n.indexOf("="),[a,s]=i==-1?[e.decodeKey(n),""]:[e.decodeKey(n.slice(0,i)),e.decodeValue(n.slice(i+1))],l=r.get(a)||[];l.push(s),r.set(a,l)}),r}var tk=/%(\d[a-f0-9])/gi,ek={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function bu(t){return encodeURIComponent(t).replace(tk,(e,r)=>ek[r]??e)}function Or(t){return`${t}`}var un=class ap{constructor(e={}){o(this,"map");o(this,"encoder");o(this,"updates",null);o(this,"cloneFrom",null);if(this.encoder=e.encoder||new Jx,e.fromString){if(e.fromObject)throw new R(2805,!1);this.map=Xx(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let n=e.fromObject[r],i=Array.isArray(n)?n.map(Or):[Or(n)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(n=>{let i=e[n];Array.isArray(i)?i.forEach(a=>{r.push({param:n,value:a,op:"a"})}):r.push({param:n,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(n=>r+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new ap({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Or(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],i=n.indexOf(Or(e.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}},nk=class{constructor(){o(this,"map",new Map)}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}};function rk(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function gu(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function yu(t){return typeof Blob<"u"&&t instanceof Blob}function vu(t){return typeof FormData<"u"&&t instanceof FormData}function ik(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var sp="X-Request-URL",op="text/plain",lp="application/json",ak=`${lp}, ${op}, */*`,Aa=class up{constructor(e,r,n,i){o(this,"url");o(this,"body",null);o(this,"headers");o(this,"context");o(this,"reportProgress",!1);o(this,"withCredentials",!1);o(this,"responseType","json");o(this,"method");o(this,"params");o(this,"urlWithParams");o(this,"transferCache");this.url=r,this.method=e.toUpperCase();let a;if(rk(this.method)||i?(this.body=n!==void 0?n:null,a=i):a=n,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.context&&(this.context=a.context),a.params&&(this.params=a.params),this.transferCache=a.transferCache),this.headers??(this.headers=new nr),this.context??(this.context=new nk),!this.params)this.params=new un,this.urlWithParams=r;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=r;else{let l=r.indexOf("?"),u=l===-1?"?":l<r.length-1?"&":"";this.urlWithParams=r+u+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||gu(this.body)||yu(this.body)||vu(this.body)||ik(this.body)?this.body:this.body instanceof un?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||vu(this.body)?null:yu(this.body)?this.body.type||null:gu(this.body)?null:typeof this.body=="string"?op:this.body instanceof un?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?lp:null}clone(e={}){let r=e.method||this.method,n=e.url||this.url,i=e.responseType||this.responseType,a=e.transferCache??this.transferCache,s=e.body!==void 0?e.body:this.body,l=e.withCredentials??this.withCredentials,u=e.reportProgress??this.reportProgress,c=e.headers||this.headers,d=e.params||this.params,f=e.context??this.context;return e.setHeaders!==void 0&&(c=Object.keys(e.setHeaders).reduce((m,h)=>m.set(h,e.setHeaders[h]),c)),e.setParams&&(d=Object.keys(e.setParams).reduce((m,h)=>m.set(h,e.setParams[h]),d)),new up(r,n,s,{params:d,headers:c,context:f,reportProgress:u,responseType:i,withCredentials:l,transferCache:a})}},cn=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}(cn||{}),sl=class{constructor(t,e=200,r="OK"){o(this,"headers");o(this,"status");o(this,"statusText");o(this,"url");o(this,"ok");o(this,"type");this.headers=t.headers||new nr,this.status=t.status!==void 0?t.status:e,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}},sk=class cp extends sl{constructor(r={}){super(r);o(this,"type",cn.ResponseHeader)}clone(r={}){return new cp({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},dp=class fp extends sl{constructor(r={}){super(r);o(this,"body");o(this,"type",cn.Response);this.body=r.body!==void 0?r.body:null}clone(r={}){return new fp({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},_u=class extends sl{constructor(e){super(e,0,"Unknown Error");o(this,"name","HttpErrorResponse");o(this,"message");o(this,"error");o(this,"ok",!1);this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},ok=200,lk=204;function Ra(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var uk=(()=>{const e=class e{constructor(n){o(this,"handler");this.handler=n}request(n,i,a={}){let s;if(n instanceof Aa)s=n;else{let c;a.headers instanceof nr?c=a.headers:c=new nr(a.headers);let d;a.params&&(a.params instanceof un?d=a.params:d=new un({fromObject:a.params})),s=new Aa(n,i,a.body!==void 0?a.body:null,{headers:c,context:a.context,params:d,reportProgress:a.reportProgress,responseType:a.responseType||"json",withCredentials:a.withCredentials,transferCache:a.transferCache})}let l=Ys(s).pipe(rb(c=>this.handler.handle(c)));if(n instanceof Aa||a.observe==="events")return l;let u=l.pipe(Xs(c=>c instanceof dp));switch(a.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return u.pipe(Ut(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return u.pipe(Ut(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return u.pipe(Ut(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return u.pipe(Ut(c=>c.body))}case"response":return u;default:throw new Error(`Unreachable: unhandled observe type ${a.observe}}`)}}delete(n,i={}){return this.request("DELETE",n,i)}get(n,i={}){return this.request("GET",n,i)}head(n,i={}){return this.request("HEAD",n,i)}jsonp(n,i){return this.request("JSONP",n,{params:new un().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,i={}){return this.request("OPTIONS",n,i)}patch(n,i,a={}){return this.request("PATCH",n,Ra(a,i))}post(n,i,a={}){return this.request("POST",n,Ra(a,i))}put(n,i,a={}){return this.request("PUT",n,Ra(a,i))}};o(e,"ɵfac",function(n){return new(n||e)(P(al))}),o(e,"ɵprov",C({token:e,factory:e.ɵfac}));let t=e;return t})(),ck=new A("");function dk(t,e){return e(t)}function fk(t,e,r){return(n,i)=>fo(r,()=>e(n,a=>t(a,i)))}var ol=new A(""),hk=new A(""),pk=new A("",{providedIn:"root",factory:()=>!0}),wu=(()=>{const e=class e extends al{constructor(i,a){super();o(this,"backend");o(this,"injector");o(this,"chain",null);o(this,"pendingTasks",g(En));o(this,"contributeToStability",g(pk));this.backend=i,this.injector=a}handle(i){if(this.chain===null){let a=Array.from(new Set([...this.injector.get(ol),...this.injector.get(hk,[])]));this.chain=a.reduceRight((s,l)=>fk(s,l,this.injector),dk)}if(this.contributeToStability){let a=this.pendingTasks.add();return this.chain(i,s=>this.backend.handle(s)).pipe(em(()=>this.pendingTasks.remove(a)))}else return this.chain(i,a=>this.backend.handle(a))}};o(e,"ɵfac",function(i){return new(i||e)(P(ip),P(ge))}),o(e,"ɵprov",C({token:e,factory:e.ɵfac}));let t=e;return t})(),mk=/^\)\]\}',?\n/,bk=RegExp(`^${sp}:`,"m");function gk(t){return"responseURL"in t&&t.responseURL?t.responseURL:bk.test(t.getAllResponseHeaders())?t.getResponseHeader(sp):null}var xu=(()=>{const e=class e{constructor(n){o(this,"xhrFactory");this.xhrFactory=n}handle(n){if(n.method==="JSONP")throw new R(-2800,!1);let i=this.xhrFactory;return(i.ɵloadImpl?xn(i.ɵloadImpl()):Ys(null)).pipe(ub(()=>new W(a=>{let s=i.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((b,_)=>s.setRequestHeader(b,_.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept",ak),!n.headers.has("Content-Type")){let b=n.detectContentTypeHeader();b!==null&&s.setRequestHeader("Content-Type",b)}if(n.responseType){let b=n.responseType.toLowerCase();s.responseType=b!=="json"?b:"text"}let l=n.serializeBody(),u=null,c=()=>{if(u!==null)return u;let b=s.statusText||"OK",_=new nr(s.getAllResponseHeaders()),p=gk(s)||n.url;return u=new sk({headers:_,status:s.status,statusText:b,url:p}),u},d=()=>{let{headers:b,status:_,statusText:p,url:v}=c(),x=null;_!==lk&&(x=typeof s.response>"u"?s.responseText:s.response),_===0&&(_=x?ok:0);let I=_>=200&&_<300;if(n.responseType==="json"&&typeof x=="string"){let M=x;x=x.replace(mk,"");try{x=x!==""?JSON.parse(x):null}catch(E){x=M,I&&(I=!1,x={error:E,text:x})}}I?(a.next(new dp({body:x,headers:b,status:_,statusText:p,url:v||void 0})),a.complete()):a.error(new _u({error:x,headers:b,status:_,statusText:p,url:v||void 0}))},f=b=>{let{url:_}=c(),p=new _u({error:b,status:s.status||0,statusText:s.statusText||"Unknown Error",url:_||void 0});a.error(p)},m=!1,h=b=>{m||(a.next(c()),m=!0);let _={type:cn.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(_.total=b.total),n.responseType==="text"&&s.responseText&&(_.partialText=s.responseText),a.next(_)},y=b=>{let _={type:cn.UploadProgress,loaded:b.loaded};b.lengthComputable&&(_.total=b.total),a.next(_)};return s.addEventListener("load",d),s.addEventListener("error",f),s.addEventListener("timeout",f),s.addEventListener("abort",f),n.reportProgress&&(s.addEventListener("progress",h),l!==null&&s.upload&&s.upload.addEventListener("progress",y)),s.send(l),a.next({type:cn.Sent}),()=>{s.removeEventListener("error",f),s.removeEventListener("abort",f),s.removeEventListener("load",d),s.removeEventListener("timeout",f),n.reportProgress&&(s.removeEventListener("progress",h),l!==null&&s.upload&&s.upload.removeEventListener("progress",y)),s.readyState!==s.DONE&&s.abort()}})))}};o(e,"ɵfac",function(n){return new(n||e)(P(rp))}),o(e,"ɵprov",C({token:e,factory:e.ɵfac}));let t=e;return t})(),hp=new A(""),yk="XSRF-TOKEN",vk=new A("",{providedIn:"root",factory:()=>yk}),_k="X-XSRF-TOKEN",wk=new A("",{providedIn:"root",factory:()=>_k}),pp=class{},xk=(()=>{const e=class e{constructor(n,i,a){o(this,"doc");o(this,"platform");o(this,"cookieName");o(this,"lastCookieString","");o(this,"lastToken",null);o(this,"parseCount",0);this.doc=n,this.platform=i,this.cookieName=a}getToken(){if(this.platform==="server")return null;let n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=tp(n,this.cookieName),this.lastCookieString=n),this.lastToken}};o(e,"ɵfac",function(n){return new(n||e)(P(rt),P(Tn),P(vk))}),o(e,"ɵprov",C({token:e,factory:e.ɵfac}));let t=e;return t})();function kk(t,e){let r=t.url.toLowerCase();if(!g(hp)||t.method==="GET"||t.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(t);let n=g(pp).getToken(),i=g(wk);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),e(t)}var mp=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}(mp||{});function Ik(t,e){return{ɵkind:t,ɵproviders:e}}function N1(...t){let e=[uk,xu,wu,{provide:al,useExisting:wu},{provide:ip,useFactory:()=>g(ck,{optional:!0})??g(xu)},{provide:ol,useValue:kk,multi:!0},{provide:hp,useValue:!0},{provide:pp,useClass:xk}];for(let r of t)e.push(...r.ɵproviders);return Gb(e)}function L1(t){return Ik(mp.Interceptors,t.map(e=>({provide:ol,useValue:e,multi:!0})))}var Ek=class extends yx{constructor(){super(...arguments);o(this,"supportsDOMEvents",!0)}},Ck=class bp extends Ek{static makeCurrent(){gx(new bp)}onAndCancel(e,r,n){return e.addEventListener(r,n),()=>{e.removeEventListener(r,n)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.remove()}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=Tk();return r==null?null:Sk(r)}resetBaseElement(){Vn=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return tp(document.cookie,e)}},Vn=null;function Tk(){return Vn=Vn||document.querySelector("base"),Vn?Vn.getAttribute("href"):null}function Sk(t){return new URL(t,document.baseURI).pathname}var Dk=(()=>{const e=class e{build(){return new XMLHttpRequest}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac}));let t=e;return t})(),As=new A(""),gp=(()=>{const e=class e{constructor(n,i){o(this,"_zone");o(this,"_plugins");o(this,"_eventNameToPlugin",new Map);this._zone=i,n.forEach(a=>{a.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,i,a){return this._findPluginFor(i).addEventListener(n,i,a)}getZone(){return this._zone}_findPluginFor(n){let i=this._eventNameToPlugin.get(n);if(i)return i;if(i=this._plugins.find(a=>a.supports(n)),!i)throw new R(5101,!1);return this._eventNameToPlugin.set(n,i),i}};o(e,"ɵfac",function(n){return new(n||e)(P(As),P(J))}),o(e,"ɵprov",C({token:e,factory:e.ɵfac}));let t=e;return t})(),yp=class{constructor(t){o(this,"_doc");o(this,"manager");this._doc=t}},Wr="ng-app-id";function ku(t){for(let e of t)e.remove()}function Iu(t,e){let r=e.createElement("style");return r.textContent=t,r}function Ok(t,e,r,n){var a;let i=(a=t.head)==null?void 0:a.querySelectorAll(`style[${Wr}="${e}"],link[${Wr}="${e}"]`);if(i)for(let s of i)s.removeAttribute(Wr),s instanceof HTMLLinkElement?n.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&r.set(s.textContent,{usage:0,elements:[s]})}function Rs(t,e){let r=e.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",t),r}var vp=(()=>{const e=class e{constructor(n,i,a,s={}){o(this,"doc");o(this,"appId");o(this,"nonce");o(this,"inline",new Map);o(this,"external",new Map);o(this,"hosts",new Set);o(this,"isServer");this.doc=n,this.appId=i,this.nonce=a,this.isServer=np(s),Ok(n,i,this.inline,this.external),this.hosts.add(n.head)}addStyles(n,i){for(let a of n)this.addUsage(a,this.inline,Iu);i==null||i.forEach(a=>this.addUsage(a,this.external,Rs))}removeStyles(n,i){for(let a of n)this.removeUsage(a,this.inline);i==null||i.forEach(a=>this.removeUsage(a,this.external))}addUsage(n,i,a){let s=i.get(n);s?s.usage++:i.set(n,{usage:1,elements:[...this.hosts].map(l=>this.addElement(l,a(n,this.doc)))})}removeUsage(n,i){let a=i.get(n);a&&(a.usage--,a.usage<=0&&(ku(a.elements),i.delete(n)))}ngOnDestroy(){for(let[,{elements:n}]of[...this.inline,...this.external])ku(n);this.hosts.clear()}addHost(n){this.hosts.add(n);for(let[i,{elements:a}]of this.inline)a.push(this.addElement(n,Iu(i,this.doc)));for(let[i,{elements:a}]of this.external)a.push(this.addElement(n,Rs(i,this.doc)))}removeHost(n){this.hosts.delete(n)}addElement(n,i){return this.nonce&&i.setAttribute("nonce",this.nonce),this.isServer&&i.setAttribute(Wr,this.appId),n.appendChild(i)}};o(e,"ɵfac",function(n){return new(n||e)(P(rt),P(Hi),P(Oo,8),P(Tn))}),o(e,"ɵprov",C({token:e,factory:e.ɵfac}));let t=e;return t})(),Na={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"},ll=/%COMP%/g,_p="%COMP%",Ak=`_nghost-${_p}`,Rk=`_ngcontent-${_p}`,Nk=!0,Lk=new A("",{providedIn:"root",factory:()=>Nk});function Mk(t){return Rk.replace(ll,t)}function Pk(t){return Ak.replace(ll,t)}function wp(t,e){return e.map(r=>r.replace(ll,t))}var Eu=(()=>{const e=class e{constructor(n,i,a,s,l,u,c,d=null){o(this,"eventManager");o(this,"sharedStylesHost");o(this,"appId");o(this,"removeStylesOnCompDestroy");o(this,"doc");o(this,"platformId");o(this,"ngZone");o(this,"nonce");o(this,"rendererByCompId",new Map);o(this,"defaultRenderer");o(this,"platformIsServer");this.eventManager=n,this.sharedStylesHost=i,this.appId=a,this.removeStylesOnCompDestroy=s,this.doc=l,this.platformId=u,this.ngZone=c,this.nonce=d,this.platformIsServer=np(u),this.defaultRenderer=new ul(n,l,c,this.platformIsServer)}createRenderer(n,i){if(!n||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===ne.ShadowDom&&(i=It(Z({},i),{encapsulation:ne.Emulated}));let a=this.getOrCreateRenderer(n,i);return a instanceof Tu?a.applyToHost(n):a instanceof Ns&&a.applyStyles(),a}getOrCreateRenderer(n,i){let a=this.rendererByCompId,s=a.get(i.id);if(!s){let l=this.doc,u=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,f=this.removeStylesOnCompDestroy,m=this.platformIsServer;switch(i.encapsulation){case ne.Emulated:s=new Tu(c,d,i,this.appId,f,l,u,m);break;case ne.ShadowDom:return new Fk(c,d,n,i,l,u,this.nonce,m);default:s=new Ns(c,d,i,f,l,u,m);break}a.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(n){var i;(i=this.rendererByCompId.get(n))==null||i.destroy(),this.rendererByCompId.delete(n)}};o(e,"ɵfac",function(n){return new(n||e)(P(gp),P(vp),P(Hi),P(Lk),P(rt),P(Tn),P(J),P(Oo))}),o(e,"ɵprov",C({token:e,factory:e.ɵfac}));let t=e;return t})(),ul=class{constructor(t,e,r,n){o(this,"eventManager");o(this,"doc");o(this,"ngZone");o(this,"platformIsServer");o(this,"data",Object.create(null));o(this,"throwOnSyntheticProps",!0);o(this,"destroyNode",null);this.eventManager=t,this.doc=e,this.ngZone=r,this.platformIsServer=n}destroy(){}createElement(t,e){return e?this.doc.createElementNS(Na[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(Cu(t)?t.content:t).appendChild(e)}insertBefore(t,e,r){t&&(Cu(t)?t.content:t).insertBefore(e,r)}removeChild(t,e){e.remove()}selectRootElement(t,e){let r=typeof t=="string"?this.doc.querySelector(t):t;if(!r)throw new R(-5104,!1);return e||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,r,n){if(n){e=n+":"+e;let i=Na[n];i?t.setAttributeNS(i,e,r):t.setAttribute(e,r)}else t.setAttribute(e,r)}removeAttribute(t,e,r){if(r){let n=Na[r];n?t.removeAttributeNS(n,e):t.removeAttribute(`${r}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,r,n){n&(nn.DashCase|nn.Important)?t.style.setProperty(e,r,n&nn.Important?"important":""):t.style[e]=r}removeStyle(t,e,r){r&nn.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,r){t!=null&&(t[e]=r)}setValue(t,e){t.nodeValue=e}listen(t,e,r){if(typeof t=="string"&&(t=Bn().getGlobalEventTarget(this.doc,t),!t))throw new Error(`Unsupported event target ${t} for event ${e}`);return this.eventManager.addEventListener(t,e,this.decoratePreventDefault(r))}decoratePreventDefault(t){return e=>{if(e==="__ngUnwrap__")return t;(this.platformIsServer?this.ngZone.runGuarded(()=>t(e)):t(e))===!1&&e.preventDefault()}}};function Cu(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Fk=class extends ul{constructor(e,r,n,i,a,s,l,u){var f;super(e,a,s,u);o(this,"sharedStylesHost");o(this,"hostEl");o(this,"shadowRoot");this.sharedStylesHost=r,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=wp(i.id,i.styles);for(let m of c){let h=document.createElement("style");l&&h.setAttribute("nonce",l),h.textContent=m,this.shadowRoot.appendChild(h)}let d=(f=i.getExternalStyles)==null?void 0:f.call(i);if(d)for(let m of d){let h=Rs(m,a);l&&h.setAttribute("nonce",l),this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,n){return super.insertBefore(this.nodeOrShadowRoot(e),r,n)}removeChild(e,r){return super.removeChild(null,r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ns=class extends ul{constructor(e,r,n,i,a,s,l,u){var c;super(e,a,s,l);o(this,"sharedStylesHost");o(this,"removeStylesOnCompDestroy");o(this,"styles");o(this,"styleUrls");this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=u?wp(u,n.styles):n.styles,this.styleUrls=(c=n.getExternalStyles)==null?void 0:c.call(n,u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Tu=class extends Ns{constructor(e,r,n,i,a,s,l,u){let c=i+"-"+n.id;super(e,r,n,a,s,l,u,c);o(this,"contentAttr");o(this,"hostAttr");this.contentAttr=Mk(c),this.hostAttr=Pk(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let n=super.createElement(e,r);return super.setAttribute(n,this.contentAttr,""),n}},jk=(()=>{const e=class e extends yp{constructor(n){super(n)}supports(n){return!0}addEventListener(n,i,a){return n.addEventListener(i,a,!1),()=>this.removeEventListener(n,i,a)}removeEventListener(n,i,a){return n.removeEventListener(i,a)}};o(e,"ɵfac",function(n){return new(n||e)(P(rt))}),o(e,"ɵprov",C({token:e,factory:e.ɵfac}));let t=e;return t})(),Su=["alt","control","meta","shift"],Vk={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Hk={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},zk=(()=>{const e=class e extends yp{constructor(n){super(n)}supports(n){return e.parseEventName(n)!=null}addEventListener(n,i,a){let s=e.parseEventName(i),l=e.eventCallback(s.fullKey,a,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Bn().onAndCancel(n,s.domEventName,l))}static parseEventName(n){let i=n.toLowerCase().split("."),a=i.shift();if(i.length===0||!(a==="keydown"||a==="keyup"))return null;let s=e._normalizeKey(i.pop()),l="",u=i.indexOf("code");if(u>-1&&(i.splice(u,1),l="code."),Su.forEach(d=>{let f=i.indexOf(d);f>-1&&(i.splice(f,1),l+=d+".")}),l+=s,i.length!=0||s.length===0)return null;let c={};return c.domEventName=a,c.fullKey=l,c}static matchEventFullKeyCode(n,i){let a=Vk[n.key]||n.key,s="";return i.indexOf("code.")>-1&&(a=n.code,s="code."),a==null||!a?!1:(a=a.toLowerCase(),a===" "?a="space":a==="."&&(a="dot"),Su.forEach(l=>{if(l!==a){let u=Hk[l];u(n)&&(s+=l+".")}}),s+=a,s===i)}static eventCallback(n,i,a){return s=>{e.matchEventFullKeyCode(s,n)&&a.runGuarded(()=>i(s))}}static _normalizeKey(n){return n==="esc"?"escape":n}};o(e,"ɵfac",function(n){return new(n||e)(P(rt))}),o(e,"ɵprov",C({token:e,factory:e.ɵfac}));let t=e;return t})();function M1(t){return ox(Bk(t))}function Bk(t){return{appProviders:[...Kk,...t==null?void 0:t.providers],platformProviders:Zk}}function Uk(){Ck.makeCurrent()}function qk(){return new $e}function $k(){return my(document),document}var Zk=[{provide:Tn,useValue:ep},{provide:sf,useValue:Uk,multi:!0},{provide:rt,useFactory:$k,deps:[]}],Kk=[{provide:uo,useValue:"root"},{provide:$e,useFactory:qk,deps:[]},{provide:As,useClass:jk,multi:!0,deps:[rt,J,Tn]},{provide:As,useClass:zk,multi:!0,deps:[rt]},Eu,vp,gp,{provide:Zo,useExisting:Eu},{provide:rp,useClass:Dk,deps:[]},[]];(()=>{const e=class e{constructor(n){o(this,"_doc");this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}};o(e,"ɵfac",function(n){return new(n||e)(P(rt))}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})();var Wk=(()=>{const e=class e{};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:function(n){let i=null;return n?i=new(n||e):i=P(Gk),i},providedIn:"root"}));let t=e;return t})(),Gk=(()=>{const e=class e extends Wk{constructor(i){super();o(this,"_doc");this._doc=i}sanitize(i,a){if(a==null)return null;switch(i){case Ae.NONE:return a;case Ae.HTML:return Rn(a,"HTML")?Ne(a):tv(this._doc,String(a)).toString();case Ae.STYLE:return Rn(a,"Style")?Ne(a):a;case Ae.SCRIPT:if(Rn(a,"Script"))return Ne(a);throw new R(5200,!1);case Ae.URL:return Rn(a,"URL")?Ne(a):cf(String(a));case Ae.RESOURCE_URL:if(Rn(a,"ResourceURL"))return Ne(a);throw new R(5201,!1);default:throw new R(5202,!1)}}bypassSecurityTrustHtml(i){return Ay(i)}bypassSecurityTrustStyle(i){return Ry(i)}bypassSecurityTrustScript(i){return Ny(i)}bypassSecurityTrustUrl(i){return Ly(i)}bypassSecurityTrustResourceUrl(i){return My(i)}};o(e,"ɵfac",function(i){return new(i||e)(P(rt))}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),Ls;try{Ls=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Ls=!1}var Ee=(()=>{const e=class e{constructor(){o(this,"_platformId",g(Tn));o(this,"isBrowser",this._platformId?Yx(this._platformId):typeof document=="object"&&!!document);o(this,"EDGE",this.isBrowser&&/(edge)/i.test(navigator.userAgent));o(this,"TRIDENT",this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent));o(this,"BLINK",this.isBrowser&&!!(window.chrome||Ls)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT);o(this,"WEBKIT",this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT);o(this,"IOS",this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window));o(this,"FIREFOX",this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent));o(this,"ANDROID",this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT);o(this,"SAFARI",this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT)}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),Ge,Du=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function P1(){if(Ge)return Ge;if(typeof document!="object"||!document)return Ge=new Set(Du),Ge;let t=document.createElement("input");return Ge=new Set(Du.filter(e=>(t.setAttribute("type",e),t.type===e))),Ge}var Ln;function Qk(){if(Ln==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Ln=!0}))}finally{Ln=Ln||!1}return Ln}function ra(t){return Qk()?t:!!t.capture}var De;function F1(){if(De==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return De=!1,De;if("scrollBehavior"in document.documentElement.style)De=!0;else{let t=Element.prototype.scrollTo;t?De=!/\{\s*\[native code\]\s*\}/.test(t.toString()):De=!1}}return De}var La;function Yk(){if(La==null){let t=typeof document<"u"?document.head:null;La=!!(t&&(t.createShadowRoot||t.attachShadow))}return La}function Jk(t){if(Yk()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Me(t){return t.composedPath?t.composedPath()[0]:t.target}function j1(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Ar=new WeakMap,rr=(()=>{const e=class e{constructor(){o(this,"_appRef");o(this,"_injector",g(le));o(this,"_environmentInjector",g(ge))}load(n){let i=this._appRef=this._appRef||this._injector.get(yn),a=Ar.get(i);a||(a={loaders:new Set,refs:[]},Ar.set(i,a),i.onDestroy(()=>{var s;(s=Ar.get(i))==null||s.refs.forEach(l=>l.destroy()),Ar.delete(i)})),a.loaders.has(n)||(a.loaders.add(n),a.refs.push(bx(n,{environmentInjector:this._environmentInjector})))}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),xp=(()=>{const e=class e{};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵcmp",Ie({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,i){},styles:[".cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}"],encapsulation:2,changeDetection:0}));let t=e;return t})();function kp(t,...e){return e.length?e.some(r=>t[r]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function V1(t){return t!=null&&`${t}`!="false"}function H1(t,e=0){return Xk(t)?Number(t):arguments.length===2?e:0}function Xk(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Ou(t){return Array.isArray(t)?t:[t]}function z1(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Un(t){return t instanceof Yt?t.nativeElement:t}var tI=(()=>{const e=class e{create(n){return typeof MutationObserver>"u"?null:new MutationObserver(n)}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),eI=(()=>{const e=class e{};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵmod",Jt({type:e})),o(e,"ɵinj",Gt({providers:[tI]}));let t=e;return t})(),Au=new Set,Oe,nI=(()=>{const e=class e{constructor(){o(this,"_platform",g(Ee));o(this,"_nonce",g(Oo,{optional:!0}));o(this,"_matchMedia");this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):iI}matchMedia(n){return(this._platform.WEBKIT||this._platform.BLINK)&&rI(n,this._nonce),this._matchMedia(n)}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})();function rI(t,e){if(!Au.has(t))try{Oe||(Oe=document.createElement("style"),e&&Oe.setAttribute("nonce",e),Oe.setAttribute("type","text/css"),document.head.appendChild(Oe)),Oe.sheet&&(Oe.sheet.insertRule(`@media ${t} {body{ }}`,0),Au.add(t))}catch(r){console.error(r)}}function iI(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var aI=(()=>{const e=class e{constructor(){o(this,"_mediaMatcher",g(nI));o(this,"_zone",g(J));o(this,"_queries",new Map);o(this,"_destroySubject",new ut)}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(n){return Ru(Ou(n)).some(i=>this._registerQuery(i).mql.matches)}observe(n){let i=Ru(Ou(n)).map(s=>this._registerQuery(s).observable),a=qm(i);return a=Wa(a.pipe(ib(1)),a.pipe(Tc(1),Cc(0))),a.pipe(Ut(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:u,query:c})=>{l.matches=l.matches||u,l.breakpoints[c]=u}),l}))}_registerQuery(n){if(this._queries.has(n))return this._queries.get(n);let i=this._mediaMatcher.matchMedia(n),a={observable:new W(s=>{let l=u=>this._zone.run(()=>s.next(u));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(lb(i),Ut(({matches:s})=>({query:n,matches:s})),Sc(this._destroySubject)),mql:i};return this._queries.set(n,a),a}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})();function Ru(t){return t.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var B1={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)"},Ip=" ";function sI(t,e,r){let n=xi(t,e);r=r.trim(),!n.some(i=>i.trim()===r)&&(n.push(r),t.setAttribute(e,n.join(Ip)))}function oI(t,e,r){let n=xi(t,e);r=r.trim();let i=n.filter(a=>a!==r);i.length?t.setAttribute(e,i.join(Ip)):t.removeAttribute(e)}function xi(t,e){var r;return((r=t.getAttribute(e))==null?void 0:r.match(/\S+/g))??[]}var Ep="cdk-describedby-message",Rr="cdk-describedby-host",Ms=0,U1=(()=>{const e=class e{constructor(){o(this,"_platform",g(Ee));o(this,"_document",g(rt));o(this,"_messageRegistry",new Map);o(this,"_messagesContainer",null);o(this,"_id",`${Ms++}`);g(rr).load(xp),this._id=g(Hi)+"-"+Ms++}describe(n,i,a){if(!this._canBeDescribed(n,i))return;let s=Ma(i,a);typeof i!="string"?(Nu(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,a),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}removeDescription(n,i,a){var l;if(!i||!this._isElementNode(n))return;let s=Ma(i,a);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),typeof i=="string"){let u=this._messageRegistry.get(s);u&&u.referenceCount===0&&this._deleteMessageElement(s)}((l=this._messagesContainer)==null?void 0:l.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var i;let n=this._document.querySelectorAll(`[${Rr}="${this._id}"]`);for(let a=0;a<n.length;a++)this._removeCdkDescribedByReferenceIds(n[a]),n[a].removeAttribute(Rr);(i=this._messagesContainer)==null||i.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(n,i){let a=this._document.createElement("div");Nu(a,this._id),a.textContent=n,i&&a.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(a),this._messageRegistry.set(Ma(n,i),{messageElement:a,referenceCount:0})}_deleteMessageElement(n){var i,a;(a=(i=this._messageRegistry.get(n))==null?void 0:i.messageElement)==null||a.remove(),this._messageRegistry.delete(n)}_createMessagesContainer(){if(this._messagesContainer)return;let n="cdk-describedby-message-container",i=this._document.querySelectorAll(`.${n}[platform="server"]`);for(let s=0;s<i.length;s++)i[s].remove();let a=this._document.createElement("div");a.style.visibility="hidden",a.classList.add(n),a.classList.add("cdk-visually-hidden"),this._platform.isBrowser||a.setAttribute("platform","server"),this._document.body.appendChild(a),this._messagesContainer=a}_removeCdkDescribedByReferenceIds(n){let i=xi(n,"aria-describedby").filter(a=>a.indexOf(Ep)!=0);n.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(n,i){let a=this._messageRegistry.get(i);sI(n,"aria-describedby",a.messageElement.id),n.setAttribute(Rr,this._id),a.referenceCount++}_removeMessageReference(n,i){let a=this._messageRegistry.get(i);a.referenceCount--,oI(n,"aria-describedby",a.messageElement.id),n.removeAttribute(Rr)}_isElementDescribedByMessage(n,i){let a=xi(n,"aria-describedby"),s=this._messageRegistry.get(i),l=s&&s.messageElement.id;return!!l&&a.indexOf(l)!=-1}_canBeDescribed(n,i){if(!this._isElementNode(n))return!1;if(i&&typeof i=="object")return!0;let a=i==null?"":`${i}`.trim(),s=n.getAttribute("aria-label");return a?!s||s.trim()!==a:!1}_isElementNode(n){return n.nodeType===this._document.ELEMENT_NODE}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})();function Ma(t,e){return typeof t=="string"?`${e||""}/${t}`:t}function Nu(t,e){t.id||(t.id=`${Ep}-${e}-${Ms++}`)}var lI=200,uI=class{constructor(t,e){o(this,"_letterKeyStream",new ut);o(this,"_items",[]);o(this,"_selectedItemIndex",-1);o(this,"_pressedLetters",[]);o(this,"_skipPredicateFn");o(this,"_selectedItem",new ut);o(this,"selectedItem",this._selectedItem);let r=typeof(e==null?void 0:e.debounceInterval)=="number"?e.debounceInterval:lI;e!=null&&e.skipPredicate&&(this._skipPredicateFn=e.skipPredicate),this.setItems(t),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(t){this._selectedItemIndex=t}setItems(t){this._items=t}handleKey(t){let e=t.keyCode;t.key&&t.key.length===1?this._letterKeyStream.next(t.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(t){this._letterKeyStream.pipe(cb(e=>this._pressedLetters.push(e)),Cc(t),Xs(()=>this._pressedLetters.length>0),Ut(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(e=>{var r,n;for(let i=1;i<this._items.length+1;i++){let a=(this._selectedItemIndex+i)%this._items.length,s=this._items[a];if(!((r=this._skipPredicateFn)!=null&&r.call(this,s))&&((n=s.getLabel)==null?void 0:n.call(s).toLocaleUpperCase().trim().indexOf(e))===0){this._selectedItem.next(s);break}}this._pressedLetters=[]})}},cI=class{constructor(t,e){o(this,"_items");o(this,"_activeItemIndex",-1);o(this,"_activeItem",hh(null));o(this,"_wrap",!1);o(this,"_typeaheadSubscription",xt.EMPTY);o(this,"_itemChangesSubscription");o(this,"_vertical",!0);o(this,"_horizontal");o(this,"_allowedModifierKeys",[]);o(this,"_homeAndEnd",!1);o(this,"_pageUpAndDown",{enabled:!1,delta:10});o(this,"_effectRef");o(this,"_typeahead");o(this,"_skipPredicateFn",t=>t.disabled);o(this,"tabOut",new ut);o(this,"change",new ut);this._items=t,t instanceof fs?this._itemChangesSubscription=t.changes.subscribe(r=>this._itemsChanged(r.toArray())):yi(t)&&(this._effectRef=dx(()=>this._itemsChanged(t()),{injector:e}))}skipPredicate(t){return this._skipPredicateFn=t,this}withWrap(t=!0){return this._wrap=t,this}withVerticalOrientation(t=!0){return this._vertical=t,this}withHorizontalOrientation(t){return this._horizontal=t,this}withAllowedModifierKeys(t){return this._allowedModifierKeys=t,this}withTypeAhead(t=200){this._typeaheadSubscription.unsubscribe();let e=this._getItemsArray();return this._typeahead=new uI(e,{debounceInterval:typeof t=="number"?t:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){var t;return(t=this._typeahead)==null||t.reset(),this}withHomeAndEnd(t=!0){return this._homeAndEnd=t,this}withPageUpDown(t=!0,e=10){return this._pageUpAndDown={enabled:t,delta:e},this}setActiveItem(t){let e=this._activeItem();this.updateActiveItem(t),this._activeItem()!==e&&this.change.next(this._activeItemIndex)}onKeydown(t){var n,i;let e=t.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(a=>!t[a]||this._allowedModifierKeys.indexOf(a)>-1);switch(e){case 9:this.tabOut.next();return;case 40:if(this._vertical&&r){this.setNextItemActive();break}else return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&r){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&r){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&r){let a=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(a>0?a:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&r){let a=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(a<s?a:s-1,-1);break}else return;default:(r||kp(t,"shiftKey"))&&((n=this._typeahead)==null||n.handleKey(t));return}(i=this._typeahead)==null||i.reset(),t.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(t){var i;let e=this._getItemsArray(),r=typeof t=="number"?t:e.indexOf(t),n=e[r];this._activeItem.set(n??null),this._activeItemIndex=r,(i=this._typeahead)==null||i.setCurrentSelectedItemIndex(r)}destroy(){var t,e,r;this._typeaheadSubscription.unsubscribe(),(t=this._itemChangesSubscription)==null||t.unsubscribe(),(e=this._effectRef)==null||e.destroy(),(r=this._typeahead)==null||r.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}_setActiveInWrapMode(t){let e=this._getItemsArray();for(let r=1;r<=e.length;r++){let n=(this._activeItemIndex+t*r+e.length)%e.length,i=e[n];if(!this._skipPredicateFn(i)){this.setActiveItem(n);return}}}_setActiveInDefaultMode(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}_setActiveItemByIndex(t,e){let r=this._getItemsArray();if(r[t]){for(;this._skipPredicateFn(r[t]);)if(t+=e,!r[t])return;this.setActiveItem(t)}}_getItemsArray(){return yi(this._items)?this._items():this._items instanceof fs?this._items.toArray():this._items}_itemsChanged(t){var r,n;(r=this._typeahead)==null||r.setItems(t);let e=this._activeItem();if(e){let i=t.indexOf(e);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i,(n=this._typeahead)==null||n.setCurrentSelectedItemIndex(i))}}},q1=class extends cI{setActiveItem(t){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(t),this.activeItem&&this.activeItem.setActiveStyles()}};function Cp(t){return t.buttons===0||t.detail===0}function Tp(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var dI=new A("cdk-input-modality-detector-options"),fI={ignoreKeys:[18,17,224,91,16]},Sp=650,Qe=ra({passive:!0,capture:!0}),hI=(()=>{const e=class e{constructor(){o(this,"_platform",g(Ee));o(this,"modalityDetected");o(this,"modalityChanged");o(this,"_mostRecentTarget",null);o(this,"_modality",new sc(null));o(this,"_options");o(this,"_lastTouchMs",0);o(this,"_onKeydown",n=>{var i,a;(a=(i=this._options)==null?void 0:i.ignoreKeys)!=null&&a.some(s=>s===n.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Me(n))});o(this,"_onMousedown",n=>{Date.now()-this._lastTouchMs<Sp||(this._modality.next(Cp(n)?"keyboard":"mouse"),this._mostRecentTarget=Me(n))});o(this,"_onTouchstart",n=>{if(Tp(n)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Me(n)});let n=g(J),i=g(rt),a=g(dI,{optional:!0});this._options=Z(Z({},fI),a),this.modalityDetected=this._modality.pipe(Tc(1)),this.modalityChanged=this.modalityDetected.pipe(ab()),this._platform.isBrowser&&n.runOutsideAngular(()=>{i.addEventListener("keydown",this._onKeydown,Qe),i.addEventListener("mousedown",this._onMousedown,Qe),i.addEventListener("touchstart",this._onTouchstart,Qe)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Qe),document.removeEventListener("mousedown",this._onMousedown,Qe),document.removeEventListener("touchstart",this._onTouchstart,Qe))}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),pI=new A("liveAnnouncerElement",{providedIn:"root",factory:mI});function mI(){return null}var bI=new A("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),gI=0,$1=(()=>{const e=class e{constructor(){o(this,"_ngZone",g(J));o(this,"_defaultOptions",g(bI,{optional:!0}));o(this,"_liveElement");o(this,"_document",g(rt));o(this,"_previousTimeout");o(this,"_currentPromise");o(this,"_currentResolve");let n=g(pI,{optional:!0});this._liveElement=n||this._createLiveElement()}announce(n,...i){let a=this._defaultOptions,s,l;return i.length===1&&typeof i[0]=="number"?l=i[0]:[s,l]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=a&&a.politeness?a.politeness:"polite"),l==null&&a&&(l=a.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(u=>this._currentResolve=u)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var u;this._liveElement.textContent=n,typeof l=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),l)),(u=this._currentResolve)==null||u.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var n,i;clearTimeout(this._previousTimeout),(n=this._liveElement)==null||n.remove(),this._liveElement=null,(i=this._currentResolve)==null||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let n="cdk-live-announcer-element",i=this._document.getElementsByClassName(n),a=this._document.createElement("div");for(let s=0;s<i.length;s++)i[s].remove();return a.classList.add(n),a.classList.add("cdk-visually-hidden"),a.setAttribute("aria-atomic","true"),a.setAttribute("aria-live","polite"),a.id=`cdk-live-announcer-${gI++}`,this._document.body.appendChild(a),a}_exposeAnnouncerToModals(n){let i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let a=0;a<i.length;a++){let s=i[a],l=s.getAttribute("aria-owns");l?l.indexOf(n)===-1&&s.setAttribute("aria-owns",l+" "+n):s.setAttribute("aria-owns",n)}}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),Gr=function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t}(Gr||{}),yI=new A("cdk-focus-monitor-default-options"),Nr=ra({passive:!0,capture:!0}),vI=(()=>{const e=class e{constructor(){o(this,"_ngZone",g(J));o(this,"_platform",g(Ee));o(this,"_inputModalityDetector",g(hI));o(this,"_origin",null);o(this,"_lastFocusOrigin");o(this,"_windowFocused",!1);o(this,"_windowFocusTimeoutId");o(this,"_originTimeoutId");o(this,"_originFromTouchInteraction",!1);o(this,"_elementInfo",new Map);o(this,"_monitoredElementCount",0);o(this,"_rootNodeFocusListenerCount",new Map);o(this,"_detectionMode");o(this,"_windowFocusListener",()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)});o(this,"_document",g(rt,{optional:!0}));o(this,"_stopInputModalityDetector",new ut);o(this,"_rootNodeFocusAndBlurListener",n=>{let i=Me(n);for(let a=i;a;a=a.parentElement)n.type==="focus"?this._onFocus(n,a):this._onBlur(n,a)});let n=g(yI,{optional:!0});this._detectionMode=(n==null?void 0:n.detectionMode)||Gr.IMMEDIATE}monitor(n,i=!1){let a=Un(n);if(!this._platform.isBrowser||a.nodeType!==1)return Ys();let s=Jk(a)||this._getDocument(),l=this._elementInfo.get(a);if(l)return i&&(l.checkChildren=!0),l.subject;let u={checkChildren:i,subject:new ut,rootNode:s};return this._elementInfo.set(a,u),this._registerGlobalListeners(u),u.subject}stopMonitoring(n){let i=Un(n),a=this._elementInfo.get(i);a&&(a.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(a))}focusVia(n,i,a){let s=Un(n),l=this._getDocument().activeElement;s===l?this._getClosestElementsInfo(s).forEach(([u,c])=>this._originChanged(u,i,c)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(a))}ngOnDestroy(){this._elementInfo.forEach((n,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:n&&this._isLastInteractionFromInputLabel(n)?"mouse":"program"}_shouldBeAttributedToTouch(n){return this._detectionMode===Gr.EVENTUAL||!!(n!=null&&n.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(n,i){n.classList.toggle("cdk-focused",!!i),n.classList.toggle("cdk-touch-focused",i==="touch"),n.classList.toggle("cdk-keyboard-focused",i==="keyboard"),n.classList.toggle("cdk-mouse-focused",i==="mouse"),n.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(n,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=n,this._originFromTouchInteraction=n==="touch"&&i,this._detectionMode===Gr.IMMEDIATE){clearTimeout(this._originTimeoutId);let a=this._originFromTouchInteraction?Sp:1;this._originTimeoutId=setTimeout(()=>this._origin=null,a)}})}_onFocus(n,i){let a=this._elementInfo.get(i),s=Me(n);!a||!a.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),a)}_onBlur(n,i){let a=this._elementInfo.get(i);!a||a.checkChildren&&n.relatedTarget instanceof Node&&i.contains(n.relatedTarget)||(this._setClasses(i),this._emitOrigin(a,null))}_emitOrigin(n,i){n.subject.observers.length&&this._ngZone.run(()=>n.subject.next(i))}_registerGlobalListeners(n){if(!this._platform.isBrowser)return;let i=n.rootNode,a=this._rootNodeFocusListenerCount.get(i)||0;a||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,Nr),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,Nr)}),this._rootNodeFocusListenerCount.set(i,a+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Sc(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(n){let i=n.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let a=this._rootNodeFocusListenerCount.get(i);a>1?this._rootNodeFocusListenerCount.set(i,a-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Nr),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Nr),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(n,i,a){this._setClasses(n,i),this._emitOrigin(a,i),this._lastFocusOrigin=i}_getClosestElementsInfo(n){let i=[];return this._elementInfo.forEach((a,s)=>{(s===n||a.checkChildren&&s.contains(n))&&i.push([s,a])}),i}_isLastInteractionFromInputLabel(n){let{_mostRecentTarget:i,mostRecentModality:a}=this._inputModalityDetector;if(a!=="mouse"||!i||i===n||n.nodeName!=="INPUT"&&n.nodeName!=="TEXTAREA"||n.disabled)return!1;let s=n.labels;if(s){for(let l=0;l<s.length;l++)if(s[l].contains(i))return!0}return!1}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),Re=function(t){return t[t.NONE=0]="NONE",t[t.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",t[t.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",t}(Re||{}),Lu="cdk-high-contrast-black-on-white",Mu="cdk-high-contrast-white-on-black",Pa="cdk-high-contrast-active",Dp=(()=>{const e=class e{constructor(){o(this,"_platform",g(Ee));o(this,"_hasCheckedHighContrastMode");o(this,"_document",g(rt));o(this,"_breakpointSubscription");this._breakpointSubscription=g(aI).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return Re.NONE;let n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);let i=this._document.defaultView||window,a=i&&i.getComputedStyle?i.getComputedStyle(n):null,s=(a&&a.backgroundColor||"").replace(/ /g,"");switch(n.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return Re.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return Re.BLACK_ON_WHITE}return Re.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let n=this._document.body.classList;n.remove(Pa,Lu,Mu),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===Re.BLACK_ON_WHITE?n.add(Pa,Lu):i===Re.WHITE_ON_BLACK&&n.add(Pa,Mu)}}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),Z1=(()=>{const e=class e{constructor(){g(Dp)._applyBodyHighContrastModeCssClasses()}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵmod",Jt({type:e})),o(e,"ɵinj",Gt({imports:[eI]}));let t=e;return t})(),Fa={},_I=(()=>{const e=class e{constructor(){o(this,"_appId",g(Hi))}getId(n){return this._appId!=="ng"&&(n+=this._appId),Fa.hasOwnProperty(n)||(Fa[n]=0),`${n}${Fa[n]++}`}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),wI=new A("cdk-dir-doc",{providedIn:"root",factory:xI});function xI(){return g(rt)}var kI=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function II(t){let e=(t==null?void 0:t.toLowerCase())||"";return e==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?kI.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var K1=(()=>{const e=class e{constructor(){o(this,"value","ltr");o(this,"change",new $t);let n=g(wI,{optional:!0});if(n){let i=n.body?n.body.dir:null,a=n.documentElement?n.documentElement.dir:null;this.value=II(i||a||"ltr")}}ngOnDestroy(){this.change.complete()}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),Pu=(()=>{const e=class e{};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵmod",Jt({type:e})),o(e,"ɵinj",Gt({}));let t=e;return t})(),EI=["text"],CI=[[["mat-icon"]],"*"],TI=["mat-icon","*"];function SI(t,e){if(t&1&&Wt(0,"mat-pseudo-checkbox",1),t&2){let r=tl();Xi("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function DI(t,e){if(t&1&&Wt(0,"mat-pseudo-checkbox",3),t&2){let r=tl();Xi("disabled",r.disabled)}}function OI(t,e){if(t&1&&(Dn(0,"span",4),x0(1),On()),t&2){let r=tl();Ur(),nl("(",r.group.label,")")}}var _n=(()=>{const e=class e{constructor(){g(Dp)._applyBodyHighContrastModeCssClasses()}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵmod",Jt({type:e})),o(e,"ɵinj",Gt({imports:[Pu,Pu]}));let t=e;return t})(),W1=class{constructor(t,e,r,n,i){o(this,"_defaultMatcher");o(this,"ngControl");o(this,"_parentFormGroup");o(this,"_parentForm");o(this,"_stateChanges");o(this,"errorState",!1);o(this,"matcher");this._defaultMatcher=t,this.ngControl=e,this._parentFormGroup=r,this._parentForm=n,this._stateChanges=i}updateErrorState(){let t=this.errorState,e=this._parentFormGroup||this._parentForm,r=this.matcher||this._defaultMatcher,n=this.ngControl?this.ngControl.control:null,i=(r==null?void 0:r.isErrorState(n,e))??!1;i!==t&&(this.errorState=i,this._stateChanges.next())}},G1=(()=>{const e=class e{isErrorState(n,i){return!!(n&&n.invalid&&(n.touched||i&&i.submitted))}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),Op=(()=>{const e=class e{};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵcmp",Ie({type:e,selectors:[["structural-styles"]],decls:0,vars:0,template:function(n,i){},styles:['.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}'],encapsulation:2,changeDetection:0}));let t=e;return t})(),Tt=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}(Tt||{}),AI=class{constructor(t,e,r,n=!1){o(this,"_renderer");o(this,"element");o(this,"config");o(this,"_animationForciblyDisabledThroughCss");o(this,"state",Tt.HIDDEN);this._renderer=t,this.element=e,this.config=r,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},Fu=ra({passive:!0,capture:!0}),RI=class{constructor(){o(this,"_events",new Map);o(this,"_delegateEventHandler",t=>{var r;let e=Me(t);e&&((r=this._events.get(t.type))==null||r.forEach((n,i)=>{(i===e||i.contains(e))&&n.forEach(a=>a.handleEvent(t))}))})}addHandler(t,e,r,n){let i=this._events.get(e);if(i){let a=i.get(r);a?a.add(n):i.set(r,new Set([n]))}else this._events.set(e,new Map([[r,new Set([n])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,Fu)})}removeHandler(t,e,r){let n=this._events.get(t);if(!n)return;let i=n.get(e);i&&(i.delete(r),i.size===0&&n.delete(e),n.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,Fu)))}},ki={enterDuration:225,exitDuration:150},NI=800,ju=ra({passive:!0,capture:!0}),Vu=["mousedown","touchstart"],Hu=["mouseup","mouseleave","touchend","touchcancel"],LI=(()=>{const e=class e{};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵcmp",Ie({type:e,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(n,i){},styles:[".mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}"],encapsulation:2,changeDetection:0}));let t=e;return t})(),he,Ap=(he=class{constructor(e,r,n,i,a){o(this,"_target");o(this,"_ngZone");o(this,"_platform");o(this,"_containerElement");o(this,"_triggerElement");o(this,"_isPointerDown",!1);o(this,"_activeRipples",new Map);o(this,"_mostRecentTransientRipple");o(this,"_lastTouchStartEvent");o(this,"_pointerUpEventsRegistered",!1);o(this,"_containerRect");this._target=e,this._ngZone=r,this._platform=i,i.isBrowser&&(this._containerElement=Un(n)),a&&a.get(rr).load(LI)}fadeInRipple(e,r,n={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Z(Z({},ki),n.animation);n.centered&&(e=i.left+i.width/2,r=i.top+i.height/2);let s=n.radius||MI(e,r,i),l=e-i.left,u=r-i.top,c=a.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${l-s}px`,d.style.top=`${u-s}px`,d.style.height=`${s*2}px`,d.style.width=`${s*2}px`,n.color!=null&&(d.style.backgroundColor=n.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let f=window.getComputedStyle(d),m=f.transitionProperty,h=f.transitionDuration,y=m==="none"||h==="0s"||h==="0s, 0s"||i.width===0&&i.height===0,b=new AI(this,d,n,y);d.style.transform="scale3d(1, 1, 1)",b.state=Tt.FADING_IN,n.persistent||(this._mostRecentTransientRipple=b);let _=null;return!y&&(c||a.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let p=()=>{_&&(_.fallbackTimer=null),clearTimeout(x),this._finishRippleTransition(b)},v=()=>this._destroyRipple(b),x=setTimeout(v,c+100);d.addEventListener("transitionend",p),d.addEventListener("transitioncancel",v),_={onTransitionEnd:p,onTransitionCancel:v,fallbackTimer:x}}),this._activeRipples.set(b,_),(y||!c)&&this._finishRippleTransition(b),b}fadeOutRipple(e){if(e.state===Tt.FADING_OUT||e.state===Tt.HIDDEN)return;let r=e.element,n=Z(Z({},ki),e.config.animation);r.style.transitionDuration=`${n.exitDuration}ms`,r.style.opacity="0",e.state=Tt.FADING_OUT,(e._animationForciblyDisabledThroughCss||!n.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=Un(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,Vu.forEach(n=>{he._eventManager.addHandler(this._ngZone,n,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Hu.forEach(r=>{this._triggerElement.addEventListener(r,this,ju)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===Tt.FADING_IN?this._startFadeOutTransition(e):e.state===Tt.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:n}=e.config;e.state=Tt.VISIBLE,!n&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let r=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=Tt.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel),r.fallbackTimer!==null&&clearTimeout(r.fallbackTimer)),e.element.remove()}_onMousedown(e){let r=Cp(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+NI;!this._target.rippleDisabled&&!r&&!n&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!Tp(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let r=e.changedTouches;if(r)for(let n=0;n<r.length;n++)this.fadeInRipple(r[n].clientX,r[n].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let r=e.state===Tt.VISIBLE||e.config.terminateOnPointerUp&&e.state===Tt.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(Vu.forEach(r=>he._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&(Hu.forEach(r=>e.removeEventListener(r,this,ju)),this._pointerUpEventsRegistered=!1))}},o(he,"_eventManager",new RI),he);function MI(t,e,r){let n=Math.max(Math.abs(t-r.left),Math.abs(t-r.right)),i=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(n*n+i*i)}var Rp=new A("mat-ripple-global-options"),PI=(()=>{const e=class e{constructor(){o(this,"_elementRef",g(Yt));o(this,"_animationMode",g(zi,{optional:!0}));o(this,"color");o(this,"unbounded");o(this,"centered");o(this,"radius",0);o(this,"animation");o(this,"_disabled",!1);o(this,"_trigger");o(this,"_rippleRenderer");o(this,"_globalOptions");o(this,"_isInitialized",!1);let n=g(J),i=g(Ee),a=g(Rp,{optional:!0}),s=g(le);this._globalOptions=a||{},this._rippleRenderer=new Ap(this,n,this._elementRef,i,s)}get disabled(){return this._disabled}set disabled(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}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:Z(Z(Z({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(n,i=0,a){return typeof n=="number"?this._rippleRenderer.fadeInRipple(n,i,Z(Z({},this.rippleConfig),a)):this._rippleRenderer.fadeInRipple(0,0,Z(Z({},this.rippleConfig),n))}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵdir",Sn({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(n,i){n&2&&ae("mat-ripple-unbounded",i.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]}));let t=e;return t})(),Np=(()=>{const e=class e{};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵmod",Jt({type:e})),o(e,"ɵinj",Gt({imports:[_n,_n]}));let t=e;return t})(),FI=(()=>{const e=class e{constructor(){o(this,"_animationMode",g(zi,{optional:!0}));o(this,"state","unchecked");o(this,"disabled",!1);o(this,"appearance","full")}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵcmp",Ie({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(n,i){n&2&&ae("mat-pseudo-checkbox-indeterminate",i.state==="indeterminate")("mat-pseudo-checkbox-checked",i.state==="checked")("mat-pseudo-checkbox-disabled",i.disabled)("mat-pseudo-checkbox-minimal",i.appearance==="minimal")("mat-pseudo-checkbox-full",i.appearance==="full")("_mat-animation-noopable",i._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(n,i){},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-minimal-pseudo-checkbox-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-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-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-full-pseudo-checkbox-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-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-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-full-pseudo-checkbox-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-full-pseudo-checkbox-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}));let t=e;return t})(),jI=(()=>{const e=class e{};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵmod",Jt({type:e})),o(e,"ɵinj",Gt({imports:[_n]}));let t=e;return t})(),VI=new A("MAT_OPTION_PARENT_COMPONENT"),HI=new A("MatOptgroup"),zI=class{constructor(t,e=!1){o(this,"source");o(this,"isUserInput");this.source=t,this.isUserInput=e}},Q1=(()=>{const e=class e{constructor(){o(this,"_element",g(Yt));o(this,"_changeDetectorRef",g(qh));o(this,"_parent",g(VI,{optional:!0}));o(this,"group",g(HI,{optional:!0}));o(this,"_signalDisableRipple",!1);o(this,"_selected",!1);o(this,"_active",!1);o(this,"_disabled",!1);o(this,"_mostRecentViewValue","");o(this,"value");o(this,"id",g(_I).getId("mat-option-"));o(this,"onSelectionChange",new $t);o(this,"_text");o(this,"_stateChanges",new ut);g(rr).load(Op),g(rr).load(xp),this._signalDisableRipple=!!this._parent&&yi(this._parent.disableRipple)}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(n){this._disabled=n}get disableRipple(){var n;return this._signalDisableRipple?this._parent.disableRipple():!!((n=this._parent)!=null&&n.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}get active(){return this._active}get viewValue(){var n;return(((n=this._text)==null?void 0:n.nativeElement.textContent)||"").trim()}select(n=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}deselect(n=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),n&&this._emitSelectionChangeEvent())}focus(n,i){let a=this._getHostElement();typeof a.focus=="function"&&a.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(n){(n.keyCode===13||n.keyCode===32)&&!kp(n)&&(this._selectViaInteraction(),n.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=n)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new zI(this,n))}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵcmp",Ie({type:e,selectors:[["mat-option"]],viewQuery:function(n,i){if(n&1&&v0(EI,7),n&2){let a;_0(a=w0())&&(i._text=a.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(n,i){n&1&&Hh("click",function(){return i._selectViaInteraction()})("keydown",function(a){return i._handleKeydown(a)}),n&2&&(Vh("id",i.id),br("aria-selected",i.selected)("aria-disabled",i.disabled.toString()),ae("mdc-list-item--selected",i.selected)("mat-mdc-option-multiple",i.multiple)("mat-mdc-option-active",i.active)("mdc-list-item--disabled",i.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",jn]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],features:[Qo],ngContentSelectors:TI,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(n,i){n&1&&(ta(CI),ws(0,SI,1,2,"mat-pseudo-checkbox",1),ie(1),Dn(2,"span",2,0),ie(4,1),On(),ws(5,DI,1,1,"mat-pseudo-checkbox",3)(6,OI,2,1,"span",4),Wt(7,"div",5)),n&2&&(ka(i.multiple?0:-1),Ur(5),ka(!i.multiple&&i.selected&&!i.hideSingleSelectionIndicator?5:-1),Ur(),ka(i.group&&i.group._inert?6:-1),Ur(),Xi("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[FI,PI],styles:['.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}));let t=e;return t})();function Y1(t,e,r){if(r.length){let n=e.toArray(),i=r.toArray(),a=0;for(let s=0;s<t+1;s++)n[s].group&&n[s].group===i[a]&&a++;return a}return 0}function J1(t,e,r,n){return t<r?t:t+e>r+n?Math.max(0,t-n+e):r}var X1=(()=>{const e=class e{};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵmod",Jt({type:e})),o(e,"ɵinj",Gt({imports:[Np,_n,jI]}));let t=e;return t})(),zu={capture:!0},Bu=["focus","mousedown","mouseenter","touchstart"],ja="mat-ripple-loader-uninitialized",Va="mat-ripple-loader-class-name",Uu="mat-ripple-loader-centered",Lr="mat-ripple-loader-disabled",BI=(()=>{const e=class e{constructor(){o(this,"_document",g(rt,{optional:!0}));o(this,"_animationMode",g(zi,{optional:!0}));o(this,"_globalRippleOptions",g(Rp,{optional:!0}));o(this,"_platform",g(Ee));o(this,"_ngZone",g(J));o(this,"_injector",g(le));o(this,"_hosts",new Map);o(this,"_onInteraction",n=>{var a;let i=Me(n);if(i instanceof HTMLElement){let s=i.closest(`[${ja}="${((a=this._globalRippleOptions)==null?void 0:a.namespace)??""}"]`);s&&this._createRipple(s)}});this._ngZone.runOutsideAngular(()=>{var n;for(let i of Bu)(n=this._document)==null||n.addEventListener(i,this._onInteraction,zu)})}ngOnDestroy(){var i;let n=this._hosts.keys();for(let a of n)this.destroyRipple(a);for(let a of Bu)(i=this._document)==null||i.removeEventListener(a,this._onInteraction,zu)}configureRipple(n,i){var a;n.setAttribute(ja,((a=this._globalRippleOptions)==null?void 0:a.namespace)??""),(i.className||!n.hasAttribute(Va))&&n.setAttribute(Va,i.className||""),i.centered&&n.setAttribute(Uu,""),i.disabled&&n.setAttribute(Lr,"")}setDisabled(n,i){let a=this._hosts.get(n);a?(a.target.rippleDisabled=i,!i&&!a.hasSetUpEvents&&(a.hasSetUpEvents=!0,a.renderer.setupTriggerEvents(n))):i?n.setAttribute(Lr,""):n.removeAttribute(Lr)}_createRipple(n){var m,h,y;if(!this._document||this._hosts.has(n))return;(m=n.querySelector(".mat-ripple"))==null||m.remove();let i=this._document.createElement("span");i.classList.add("mat-ripple",n.getAttribute(Va)),n.append(i);let a=this._animationMode==="NoopAnimations",s=this._globalRippleOptions,l=a?0:((h=s==null?void 0:s.animation)==null?void 0:h.enterDuration)??ki.enterDuration,u=a?0:((y=s==null?void 0:s.animation)==null?void 0:y.exitDuration)??ki.exitDuration,c={rippleDisabled:a||(s==null?void 0:s.disabled)||n.hasAttribute(Lr),rippleConfig:{centered:n.hasAttribute(Uu),terminateOnPointerUp:s==null?void 0:s.terminateOnPointerUp,animation:{enterDuration:l,exitDuration:u}}},d=new Ap(c,this._ngZone,i,this._platform,this._injector),f=!c.rippleDisabled;f&&d.setupTriggerEvents(n),this._hosts.set(n,{target:c,renderer:d,hasSetUpEvents:f}),n.removeAttribute(ja)}destroyRipple(n){let i=this._hosts.get(n);i&&(i.renderer._removeTriggerEvents(),this._hosts.delete(n))}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),Lp=["mat-button",""],Mp=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Pp=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],UI='.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-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(--mdc-text-button-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-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-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-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-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-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-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-filled-button-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-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-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-filled-button-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-filled-button-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:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-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(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-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(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-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-protected-button-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-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-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-protected-button-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-protected-button-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:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-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(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-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(--mdc-protected-button-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(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-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-outlined-button-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-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-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-outlined-button-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-outlined-button-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:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-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(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-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-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{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{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{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{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{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.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{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{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-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)}',Fp="@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-icon-button.mat-mdc-icon-button{outline:solid 1px}}",qI=["mat-icon-button",""],$I=["*"],ZI=new A("MAT_BUTTON_CONFIG"),KI=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mat-mdc-fab-base","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],cl=(()=>{const e=class e{constructor(){o(this,"_elementRef",g(Yt));o(this,"_platform",g(Ee));o(this,"_ngZone",g(J));o(this,"_animationMode",g(zi,{optional:!0}));o(this,"_focusMonitor",g(vI));o(this,"_rippleLoader",g(BI));o(this,"_isFab",!1);o(this,"color");o(this,"_disableRipple",!1);o(this,"_disabled",!1);o(this,"ariaDisabled");o(this,"disabledInteractive");var s;g(rr).load(Op);let n=g(ZI,{optional:!0}),i=this._elementRef.nativeElement,a=i.classList;this.disabledInteractive=(n==null?void 0:n.disabledInteractive)??!1,this.color=(n==null?void 0:n.color)??null,(s=this._rippleLoader)==null||s.configureRipple(i,{className:"mat-mdc-button-ripple"});for(let{attribute:l,mdcClasses:u}of KI)i.hasAttribute(l)&&a.add(...u)}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=n,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(n){this._disabled=n,this._updateRippleDisabled()}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var n;this._focusMonitor.stopMonitoring(this._elementRef),(n=this._rippleLoader)==null||n.destroyRipple(this._elementRef.nativeElement)}focus(n="program",i){n?this._focusMonitor.focusVia(this._elementRef.nativeElement,n,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){var n;(n=this._rippleLoader)==null||n.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵdir",Sn({type:e,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",jn],disabled:[2,"disabled","disabled",jn],ariaDisabled:[2,"aria-disabled","ariaDisabled",jn],disabledInteractive:[2,"disabledInteractive","disabledInteractive",jn]},features:[Qo]}));let t=e;return t})(),WI=(()=>{const e=class e extends cl{constructor(){super(...arguments);o(this,"_renderer",g(Ko));o(this,"_cleanupClick");o(this,"tabIndex");o(this,"_haltDisabledEvents",i=>{this.disabled&&(i.preventDefault(),i.stopImmediatePropagation())})}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._cleanupClick=this._renderer.listen(this._elementRef.nativeElement,"click",this._haltDisabledEvents)})}ngOnDestroy(){var i;super.ngOnDestroy(),(i=this._cleanupClick)==null||i.call(this)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled||null}};o(e,"ɵfac",(()=>{let i;return function(a){return(i||(i=To(e)))(a||e)}})()),o(e,"ɵdir",Sn({type:e,inputs:{tabIndex:[2,"tabIndex","tabIndex",i=>i==null?void 0:lx(i)]},features:[Qo,mr]}));let t=e;return t})(),tC=(()=>{const e=class e extends cl{};o(e,"ɵfac",(()=>{let n;return function(i){return(n||(n=To(e)))(i||e)}})()),o(e,"ɵcmp",Ie({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(n,i){n&2&&(br("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),Xo(i.color?"mat-"+i.color:""),ae("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[mr],attrs:Lp,ngContentSelectors:Pp,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(n,i){n&1&&(ta(Mp),Wt(0,"span",0),ie(1),Dn(2,"span",1),ie(3,1),On(),ie(4,2),Wt(5,"span",2)(6,"span",3)),n&2&&ae("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:['.mat-mdc-button-base{text-decoration:none}.mdc-button{-webkit-user-select:none;user-select:none;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0);padding:0 8px}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__label{position:relative}.mat-mdc-button{padding:0 var(--mat-text-button-horizontal-padding, 12px);height:var(--mdc-text-button-container-height, 40px);font-family:var(--mdc-text-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-text-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-text-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-text-button-label-text-transform);font-weight:var(--mdc-text-button-label-text-weight, var(--mat-sys-label-large-weight))}.mat-mdc-button,.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-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(--mdc-text-button-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-text-button-with-icon-horizontal-padding, 16px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, -4px);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, -4px)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-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-text-button-state-layer-color, var(--mat-sys-primary))}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-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-text-button-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity))}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display, block)}.mat-mdc-unelevated-button{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mdc-filled-button-container-height, 40px);font-family:var(--mdc-filled-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-filled-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-filled-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-filled-button-label-text-transform);font-weight:var(--mdc-filled-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-filled-button-horizontal-padding, 24px)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -8px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -8px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-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-filled-button-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-filled-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-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-filled-button-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-filled-button-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:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display, block)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, var(--mat-sys-on-primary));background-color:var(--mdc-filled-button-container-color, var(--mat-sys-primary))}.mat-mdc-unelevated-button,.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-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(--mdc-filled-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-filled-button-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(--mdc-protected-button-container-elevation-shadow, var(--mat-sys-level1));height:var(--mdc-protected-button-container-height, 40px);font-family:var(--mdc-protected-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-protected-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-protected-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-protected-button-label-text-transform);font-weight:var(--mdc-protected-button-label-text-weight, var(--mat-sys-label-large-weight));padding:0 var(--mat-protected-button-horizontal-padding, 24px)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -8px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -8px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-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-protected-button-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-protected-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-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-protected-button-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-protected-button-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:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display, block)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, var(--mat-sys-primary));background-color:var(--mdc-protected-button-container-color, var(--mat-sys-surface))}.mat-mdc-raised-button,.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mat-sys-corner-full))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow, var(--mat-sys-level2))}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow, var(--mat-sys-level1))}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-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(--mdc-protected-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));background-color:var(--mdc-protected-button-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(--mdc-protected-button-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(--mdc-outlined-button-container-height, 40px);font-family:var(--mdc-outlined-button-label-text-font, var(--mat-sys-label-large-font));font-size:var(--mdc-outlined-button-label-text-size, var(--mat-sys-label-large-size));letter-spacing:var(--mdc-outlined-button-label-text-tracking, var(--mat-sys-label-large-tracking));text-transform:var(--mdc-outlined-button-label-text-transform);font-weight:var(--mdc-outlined-button-label-text-weight, var(--mat-sys-label-large-weight));border-radius:var(--mdc-outlined-button-container-shape, var(--mat-sys-corner-full));border-width:var(--mdc-outlined-button-outline-width, 1px);padding:0 var(--mat-outlined-button-horizontal-padding, 24px)}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -8px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -8px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-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-outlined-button-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-outlined-button-disabled-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-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-outlined-button-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-outlined-button-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:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display, block)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, var(--mat-sys-primary));border-color:var(--mdc-outlined-button-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(--mdc-outlined-button-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:var(--mdc-outlined-button-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-mdc-outlined-button .mdc-button__ripple{border-width:var(--mdc-outlined-button-outline-width, 1px);border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{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{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{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{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{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-focus-indicator::before,.mat-mdc-raised-button:focus .mat-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-focus-indicator::before{content:""}.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{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{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-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-icon-button.mat-mdc-icon-button{outline:solid 1px}}"],encapsulation:2,changeDetection:0}));let t=e;return t})();(()=>{const e=class e extends WI{};o(e,"ɵfac",(()=>{let n;return function(i){return(n||(n=To(e)))(i||e)}})()),o(e,"ɵcmp",Ie({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(n,i){n&2&&(br("disabled",i._getDisabledAttribute())("tabindex",i.disabled&&!i.disabledInteractive?-1:i.tabIndex)("aria-disabled",i._getAriaDisabled()),Xo(i.color?"mat-"+i.color:""),ae("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],features:[mr],attrs:Lp,ngContentSelectors:Pp,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(n,i){n&1&&(ta(Mp),Wt(0,"span",0),ie(1),Dn(2,"span",1),ie(3,1),On(),ie(4,2),Wt(5,"span",2)(6,"span",3)),n&2&&ae("mdc-button__ripple",!i._isFab)("mdc-fab__ripple",i._isFab)},styles:[UI,Fp],encapsulation:2,changeDetection:0}));let t=e;return t})();var eC=(()=>{const e=class e extends cl{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵcmp",Ie({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(n,i){n&2&&(br("disabled",i._getDisabledAttribute())("aria-disabled",i._getAriaDisabled()),Xo(i.color?"mat-"+i.color:""),ae("mat-mdc-button-disabled",i.disabled)("mat-mdc-button-disabled-interactive",i.disabledInteractive)("_mat-animation-noopable",i._animationMode==="NoopAnimations")("mat-unthemed",!i.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[mr],attrs:qI,ngContentSelectors:$I,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(n,i){n&1&&(ta(),Wt(0,"span",0),ie(1),Wt(2,"span",1)(3,"span",2))},styles:['.mat-mdc-icon-button{-webkit-user-select:none;user-select:none;display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;z-index:0;overflow:visible;border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 40px);height:var(--mdc-icon-button-state-layer-size, 40px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 40px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size, 24px);color:var(--mdc-icon-button-icon-color, var(--mat-sys-on-surface-variant));-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label,.mat-mdc-icon-button .mat-icon{z-index:1;position:relative}.mat-mdc-icon-button .mat-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-focus-indicator::before{content:""}.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:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display, block)}.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(--mdc-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(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px);vertical-align:baseline}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button[hidden]{display:none}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',Fp],encapsulation:2,changeDetection:0}));let t=e;return t})(),nC=(()=>{const e=class e{};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵmod",Jt({type:e})),o(e,"ɵinj",Gt({imports:[_n,Np,_n]}));let t=e;return t})(),qu;function GI(t,e){for(var r=0;r<e.length;r++){let n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(let i in n)if(i!=="default"&&!(i in t)){let a=Object.getOwnPropertyDescriptor(n,i);a&&Object.defineProperty(t,i,a.get?a:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}function ia(t){return!!(t&&typeof t.then=="function")}function Ps(t,e){return ia(t)?Promise.resolve(t).then(e):e(t)}function Ha(t,e,r){function n(i){let a=e(i);throw t.emit(a),console.error(a),a}try{let i=r();return ia(i)?i.catch(n):i}catch(i){n(i)}}function Mr(t){let e=(Array.isArray(t)?t:[t]).map(n=>`'${n}'`),r=e.slice(-2).join(" or ");return`Tolgee: You need to specify ${[...e.slice(0,-2),r].join(", ")} option`}function QI(t){return typeof t=="object"&&!Array.isArray(t)&&t!==null}function YI(t){if(typeof t=="string")return[t];if(Array.isArray(t))return t}function Zt(t){return YI(t)||[]}function JI(t,e){return QI(e)?Zt(e==null?void 0:e[t]):Zt(e)}function ir(t){return Array.from(new Set(t))}function jp(t){return t&&t.replace(/\/+$/,"")}function XI(t){if(typeof t=="string")return t;if(typeof(t==null?void 0:t.message)=="string")return t.message}var tE=(t,e)=>fetch(t,e);function eE(t){return Object.fromEntries(new Headers(t).entries())}var Vp=(t=tE)=>(e,r)=>{let n=eE(r==null?void 0:r.headers);return n["x-api-key"]&&(n=Object.assign({"x-tolgee-sdk-type":"JS","x-tolgee-sdk-version":"prerelease"},n)),t(e,Object.assign(Object.assign({},r),{headers:n}))},Xt=(t,e)=>{let r=[];return{listen(n){let i=a=>{n(a)};return r.push(i),{unsubscribe(){r=r.filter(a=>i!==a)}}},emit(n){e()&&r.forEach(i=>i({type:t,value:n}))}}};function nE(t){let e=[],r=[];function n(){if(r.length===0)return;let i=r;r=[],e.forEach(a=>{a(i)})}return Object.freeze({listen(i){let a=s=>{i(s)};return e.push(a),{unsubscribe(){e=e.filter(s=>a!==s)}}},emit(i,a){t()&&t()&&(r.push(i),a?setTimeout(n,0):n())}})}function rE(){let t=!0;function e(){return t}let r=Object.freeze({onPendingLanguageChange:Xt("pendingLanguage",e),onLanguageChange:Xt("language",e),onLoadingChange:Xt("loading",e),onFetchingChange:Xt("fetching",e),onInitialLoaded:Xt("initialLoad",e),onRunningChange:Xt("running",e),onCacheChange:Xt("cache",e),onPermanentChange:Xt("permanentChange",e),onError:Xt("error",e),onUpdate:nE(e),setEmitterActive(n){t=n},on:(n,i)=>{switch(n){case"pendingLanguage":return r.onPendingLanguageChange.listen(i);case"language":return r.onLanguageChange.listen(i);case"loading":return r.onLoadingChange.listen(i);case"fetching":return r.onFetchingChange.listen(i);case"initialLoad":return r.onInitialLoaded.listen(i);case"running":return r.onRunningChange.listen(i);case"cache":return r.onCacheChange.listen(i);case"update":return r.onUpdate.listen(i);case"permanentChange":return r.onPermanentChange.listen(i);case"error":return r.onError.listen(i)}}});return r.onInitialLoaded.listen(n=>r.onUpdate.emit(n,!1)),r.onLanguageChange.listen(n=>r.onUpdate.emit(n,!1)),r.onCacheChange.listen(n=>r.onUpdate.emit(n,!0)),r}var $u=class extends Error{constructor(t,e,r=!1){let{language:n,namespace:i}=t;super(`Tolgee: Failed to fetch record for "${n}"${i&&` and "${i}"`}`),this.cause=e,this.isDev=r,this.name="RecordFetchError",this.language=n,this.namespace=i}},iE=class extends Error{constructor(t,e){super(t),this.cause=e,this.name="LanguageDetectorError"}},Zu=class extends Error{constructor(t,e){super(t),this.cause=e,this.name="LanguageStorageError"}},Hp=t=>{let e=new Map;return Object.entries(t).forEach(([r,n])=>{if(n!=null){if(typeof n=="object"){Hp(n).forEach((i,a)=>{e.set(r+"."+a,i)});return}e.set(r,n)}}),e},Mn=t=>Object.fromEntries(Hp(t).entries()),Ye=t=>{let[e,...r]=t.split(":"),n=r.join(":");return{language:e,namespace:n||""}},zt=({language:t,namespace:e})=>e?`${t}:${e}`:t;function aE(t,e,r,n,i,a,s){let l=new Map,u=new Map,c={},d=0;function f(b,_,p){let v=zt(b);u.set(v,{data:Mn(_),version:p}),t.onCacheChange.emit(Ye(v))}function m(b){return at(this,null,function*(){function _(x){let I=new $u(b,x);throw t.onError.emit(I),console.error(I),I}let p=e(b);if(ia(p)){let x=yield p.catch(_);if(x!==void 0)return x}let v=c[zt(b)];if(typeof v=="function")try{return yield v()}catch(x){_(x)}else return v})}function h(b,_){return at(this,null,function*(){let p;if(_)try{p=yield r(b)}catch(v){let x=new $u(b,v,!0);t.onError.emit(x),console.warn(x)}return p||(p=yield m(b)),p})}let y=Object.freeze({addStaticData(b){if(Array.isArray(b))for(let _ of b){let p=zt(_),v=u.get(p);(!v||v.version===0)&&f(_,Mn(_.data),0)}else b&&(c=Object.assign(Object.assign({},c),b),Object.entries(b).forEach(([_,p])=>{if(typeof p!="function"){let v=Ye(_),x=u.get(_);(!x||x.version===0)&&f(v,Mn(p),0)}}))},invalidate(){l.clear(),d+=1},addRecord(b,_){f(b,Mn(_),d)},exists(b,_=!1){let p=u.get(zt(b));return p&&_?p.version===d:!!p},getRecord(b){let _=n(b),p=zt(_),v=u.get(p);if(v)return Object.assign(Object.assign({},_),{cacheKey:p,data:v.data})},getAllRecords(){return Array.from(u.entries()).map(([b])=>y.getRecord(Ye(b)))},getTranslation(b,_){var p;return(p=u.get(zt(b)))===null||p===void 0?void 0:p.data[_]},getTranslationNs(b,_,p){var v;for(let x of b)for(let I of _)if(((v=u.get(zt({language:I,namespace:x})))===null||v===void 0?void 0:v.data[p])!=null)return[x];return ir(b)},getTranslationFallback(b,_,p){var v;for(let x of b)for(let I of _){let M=(v=u.get(zt({language:I,namespace:x})))===null||v===void 0?void 0:v.data[p];if(M!=null)return M}},changeTranslation(b,_,p){var v;let x=(v=u.get(zt(b)))===null||v===void 0?void 0:v.data;x!=null&&x[_]&&(x[_]=p,t.onCacheChange.emit(Object.assign(Object.assign({},b),{key:_})))},isFetching(b){if(i())return!0;if(b===void 0)return l.size>0;let _=Zt(b);return!!Array.from(l.keys()).find(p=>_.includes(Ye(p).namespace))},isLoading(b,_){let p=Zt(_);return i()?!0:!!Array.from(l.keys()).find(v=>{let x=Ye(v);return(!p.length||p.includes(x.namespace))&&!y.exists({namespace:x.namespace,language:b})})},loadRecords(b,_){return at(this,null,function*(){let p=b.map(I=>{let M=n(I),E=zt(M);if(_!=null&&_.useCache&&y.exists(M,!0))return Object.assign(Object.assign({},M),{new:!1,cacheKey:E,data:y.getRecord(M).data});let w=l.get(E);if(w)return Object.assign(Object.assign({},M),{new:!1,promise:w,cacheKey:E});let D=h(M,!(_!=null&&_.noDev))||Promise.resolve(void 0);return l.set(E,D),Object.assign(Object.assign({},M),{new:!0,promise:D,cacheKey:E})});a.notify(),s.notify();let v=p.map(I=>I.promise).filter(Boolean),x=yield Promise.all(v);return p.forEach(I=>{var M;I.promise&&(I.data=Mn((M=x[0])!==null&&M!==void 0?M:{}),x.shift());let E=l.get(I.cacheKey)!==I.promise;I.new&&!E&&(l.delete(I.cacheKey),I.data?y.addRecord(I,I.data):y.getRecord(I)||y.addRecord(I,{}))}),a.notify(),s.notify(),p.map(I=>{var M;return{language:I.language,namespace:I.namespace,data:(M=I.data)!==null&&M!==void 0?M:{},cacheKey:I.cacheKey}})})}});return y}function zp(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}var sE={tagAttributes:{textarea:["placeholder"],input:["value","placeholder"],img:["alt"],"*":["aria-label","title"]},restrictedElements:["script","style"],highlightKeys:["Alt"],highlightColor:"rgb(255, 0, 0)",highlightWidth:5,inputPrefix:"%-%tolgee:",inputSuffix:"%-%",passToParent:["option","optgroup"],fullKeyEncode:!1},Fs="invalid",oE="https://app.tolgee.io",lE=({key:t})=>t,uE={observerOptions:sE,observerType:"invisible",onFormatError:Fs,apiUrl:oE,autoLoadRequiredData:!0,fetch:Vp(),onTranslationMissing:lE},js=(...t)=>{let e={};return t.forEach(r=>{e=Object.assign(Object.assign(Object.assign({},e),r),{observerOptions:Object.assign(Object.assign({},e.observerOptions),r==null?void 0:r.observerOptions)})}),e};function Ku(t,e){let r=js(uE,e==null?void 0:e.initialOptions,t);return r.apiUrl=jp(r.apiUrl),t!=null&&t.fetch&&(r.fetch=Vp(t.fetch)),{initialOptions:r,activeNamespaces:(e==null?void 0:e.activeNamespaces)||new Map,language:e==null?void 0:e.language,pendingLanguage:e==null?void 0:e.language,isInitialLoading:!1,isRunning:!1}}function cE(t,e,r,n,i,a,s,l){let u={ui:void 0},c={formatters:[],finalFormatter:void 0,observer:void 0,devBackend:void 0,backends:[],ui:void 0,languageDetector:void 0,languageStorage:void 0},d=k=>at(this,[k],function*({keysAndDefaults:T,target:z}){var et;let Rt=T.map(({key:Nt,ns:Ht,defaultValue:Ce})=>({key:Nt,defaultValue:Ce,fallbackNamespaces:n(Ht),namespace:i({key:Nt,ns:Ht})[0],translation:a({key:Nt,ns:Ht})}));(et=c.ui)===null||et===void 0||et.handleElementClick(Rt,z)}),f=(k,T)=>{var z;return((z=c.observer)===null||z===void 0?void 0:z.findPositions(k,T))||[]};function m(k){let T=a({key:k.key,ns:k.ns});return B.formatTranslation(Object.assign(Object.assign({},k),{translation:T,formatEnabled:!0}))}function h(){return{fetch:e().fetch}}function y(k){c.observer=k==null?void 0:k()}function b(){return!!c.observer}function _(k){k&&c.formatters.push(k)}function p(k){c.finalFormatter=k}function v(k){u.ui=k}function x(){return!!u.ui}function I(k){c.languageStorage=k}function M(k){c.languageDetector=k}function E(){return Ha(l.onError,k=>new Zu("Tolgee: Failed to load language",k),()=>{var k;return(k=c.languageStorage)===null||k===void 0?void 0:k.getLanguage(h())})}function w(){if(!c.languageDetector)return;let k=r();return Ha(l.onError,T=>new iE("Tolgee: Failed to detect language",T),()=>{var T;return(T=c.languageDetector)===null||T===void 0?void 0:T.getLanguage(Object.assign({availableLanguages:k},h()))})}function D(k){k&&c.backends.push(k)}function V(k){c.devBackend=k}function K(k,T){let z=Object.freeze({setFinalFormatter:p,addFormatter:_,setObserver:y,hasObserver:b,setUi:v,hasUi:x,setDevBackend:V,addBackend:D,setLanguageDetector:M,setLanguageStorage:I});T(k,z)}let B=Object.freeze({addPlugin:K,findPositions:f,run(){var k,T;let{apiKey:z,apiUrl:et,projectId:Rt,observerOptions:Nt,tagNewKeys:Ht,filterTag:Ce}=e();c.ui=(k=u.ui)===null||k===void 0?void 0:k.call(u,{apiKey:z,apiUrl:et,projectId:Rt,highlight:B.highlight,changeTranslation:s,findPositions:f,onPermanentChange:An=>l.onPermanentChange.emit(An),tagNewKeys:Ht,filterTag:Ce}),(T=c.observer)===null||T===void 0||T.run({mouseHighlight:!0,options:Nt,translate:m,onClick:d})},stop(){var k;c.ui=void 0,(k=c.observer)===null||k===void 0||k.stop()},getLanguageStorage(){return c.languageStorage},getInitialLanguage(){let k=r(),T=E();return Ps(T,z=>(!k||k.includes(z))&&z?z:w())},setStoredLanguage(k){return Ha(l.onError,T=>new Zu("Tolgee: Failed to store language",T),()=>{var T;return(T=c.languageStorage)===null||T===void 0?void 0:T.setLanguage(k,h())})},getDevBackend(){return c.devBackend},getBackendRecord:k=>at(this,[k],function*({language:T,namespace:z}){for(let et of c.backends){let Rt=yield et.getRecord(Object.assign({language:T,namespace:z},h()));if(Rt!==void 0)return Rt}}),getBackendDevRecord:k=>at(this,[k],function*({language:T,namespace:z}){var et;let{apiKey:Rt,apiUrl:Nt,projectId:Ht,filterTag:Ce}=e();if(!(!Rt||!Nt||!B.hasDevBackend()))return(et=c.devBackend)===null||et===void 0?void 0:et.getRecord(Object.assign({apiKey:Rt,apiUrl:Nt,projectId:Ht,language:T,namespace:z,filterTag:Ce},h()))}),getLanguageDetector(){return c.languageDetector},retranslate(){var k;(k=c.observer)===null||k===void 0||k.retranslate()},highlight:(k,T)=>{var z,et;return((et=(z=c.observer)===null||z===void 0?void 0:z.highlight)===null||et===void 0?void 0:et.call(z,k,T))||{unhighlight(){}}},unwrap(k){var T;return c.observer?(T=c.observer)===null||T===void 0?void 0:T.unwrap(k):{text:k,keys:[]}},wrap(k){var T;return c.observer?(T=c.observer)===null||T===void 0?void 0:T.wrap(k):k.translation},hasDevBackend(){return!!B.getDevBackend()},formatTranslation(k){var T,{formatEnabled:z}=k,et=zp(k,["formatEnabled"]);let{key:Rt,translation:Nt,defaultValue:Ht,noWrap:Ce,params:An,ns:Kp,orEmpty:Wp}=et,aa=Nt??Ht,dl="";Nt==null&&(dl=e().onTranslationMissing(et));let Ct=aa??(Wp?"":dl),gr=t(),fl=z||!(!((T=c.observer)===null||T===void 0)&&T.outputNotFormattable),hl=Te=>c.observer&&!Ce?c.observer.wrap({key:Rt,translation:Te,defaultValue:Ht,params:An,ns:Kp}):Te;Ct=hl(Ct);try{if(aa&&gr&&fl)for(let Te of c.formatters)Ct=Te.format({translation:Ct,language:gr,params:An});c.finalFormatter&&aa&&gr&&fl&&(Ct=c.finalFormatter.format({translation:Ct,language:gr,params:An}))}catch(Te){console.error(Te);let Gp=XI(Te)||Fs,sa=e().onFormatError,pl=typeof sa;pl==="string"?Ct=sa:pl==="function"?Ct=sa(Gp,et):Ct=Fs,Ct=hl(Ct)}return Ct}});return B}var Wu=(t,e,r)=>{let n=t;return Object.freeze({init(i){n=i},notify(){let i=e();n!==i&&r(i),n=i}})};function dE(t,e,r){let n=Ku(),i,a=Object.freeze({init(s){n=Ku(s,n)},isRunning(){return n.isRunning},setRunning(s){n.isRunning!==s&&(n.isRunning=s,r.emit(s))},isInitialLoading(){return n.isInitialLoading},setInitialLoading(s){n.isInitialLoading=s},getLanguage(){return n.language||n.initialOptions.language},setLanguage(s){n.language!==s&&(n.language=s,t.emit(s))},getPendingLanguage(){return n.pendingLanguage||a.getLanguage()},setPendingLanguage(s){n.pendingLanguage!==s&&(n.pendingLanguage=s,e.emit(s))},getInitialOptions(){return Object.assign(Object.assign({},n.initialOptions),i)},addActiveNs(s){Zt(s).forEach(l=>{let u=n.activeNamespaces.get(l);u!==void 0?n.activeNamespaces.set(l,u+1):n.activeNamespaces.set(l,1)})},removeActiveNs(s){Zt(s).forEach(l=>{let u=n.activeNamespaces.get(l);u!==void 0&&u>1?n.activeNamespaces.set(l,u-1):n.activeNamespaces.delete(l)})},getRequiredNamespaces(){return ir([a.getDefaultNs(),...n.initialOptions.ns||[],...Zt(n.initialOptions.fallbackNs),...n.activeNamespaces.keys()])},getFallbackLangs(s){let l=s||a.getLanguage();return l?ir([l,...JI(l,n.initialOptions.fallbackLanguage)]):[]},getFallbackNs(){return Zt(n.initialOptions.fallbackNs)},getNs(){var s,l;return!((s=n.initialOptions.ns)===null||s===void 0)&&s.length?n.initialOptions.ns:[(l=n.initialOptions.defaultNs)!==null&&l!==void 0?l:""]},getDefaultNs(s){var l,u,c;return s===void 0?(c=(l=n.initialOptions.defaultNs)!==null&&l!==void 0?l:(u=n.initialOptions.ns)===null||u===void 0?void 0:u[0])!==null&&c!==void 0?c:"":s},getAvailableLanguages(){if(n.initialOptions.availableLanguages)return n.initialOptions.availableLanguages;if(n.initialOptions.staticData){let s=Object.keys(n.initialOptions.staticData).map(l=>Ye(l).language);return Array.from(new Set(s))}},getAvailableNs(){return n.initialOptions.availableNs},withDefaultNs(s){return{namespace:s.namespace===void 0?a.getDefaultNs():s.namespace,language:s.language}},overrideCredentials(s){s?i=Object.assign(Object.assign({},s),{apiUrl:jp(s.apiUrl)}):i=void 0}});return a}function fE(t){var{ns:e,noWrap:r,orEmpty:n,params:i,language:a}=t,s=zp(t,["ns","noWrap","orEmpty","params","language"]);return Object.assign(Object.assign({},{ns:e,noWrap:r,orEmpty:n,language:a}),{params:Object.assign({},s)})}var Ii=(t,...e)=>{let r={},n;return typeof t=="object"?r=t:(r.key=t,typeof e[0]=="string"?(r.defaultValue=e[0],n=e[1]):typeof e[0]=="object"&&(n=e[0])),n&&(r=Object.assign(Object.assign({},fE(n)),r)),r};function hE({options:t}){let e=rE(),r=Wu(!1,()=>s.isFetching(),e.onFetchingChange.emit),n=Wu(!1,()=>E.isLoading(),e.onLoadingChange.emit),i=dE(e.onLanguageChange,e.onPendingLanguageChange,e.onRunningChange),a=cE(i.getLanguage,i.getInitialOptions,i.getAvailableLanguages,d,p,v,m,e),s=aE(e,a.getBackendRecord,a.getBackendDevRecord,i.withDefaultNs,i.isInitialLoading,r,n);t&&h(t);let l;e.onUpdate.listen(()=>{i.isRunning()&&a.retranslate()});function u(){return i.getFallbackNs()}function c(w){return i.getDefaultNs(w)}function d(w){return ir([...Zt(c(w)),...u()])}function f(w){return ir([...Zt(w??c()),...i.getRequiredNamespaces()])}function m(w,D,V){let K=i.withDefaultNs(w),B=s.getTranslation(K,D);return s.changeTranslation(K,D,V),{revert(){s.changeTranslation(K,D,B)}}}function h(w){i.init(w),s.addStaticData(i.getInitialOptions().staticData)}function y(w,D){let V=i.getFallbackLangs(w),K=f(D),B=[];return V.forEach(k=>{K.forEach(T=>{B.push({language:k,namespace:T})})}),B}function b(w,D){return y(w,D).filter(V=>!s.exists(V,!0))}function _(w){let D=[],V=[];if(Array.isArray(w.languages))D=w.languages;else if(w.languages==="all"){let B=E.getAvailableLanguages();if(!B)throw new Error(Mr("availableLanguages"));D=B}if(Array.isArray(w.namespaces))V=w.namespaces;else if(w.namespaces==="all"){let B=E.getAvailableNs();if(!B)throw new Error(Mr("availableNs"));V=B}let K=[];return D.forEach(B=>{V.forEach(k=>{K.push({language:B,namespace:k})})}),K}function p({key:w,ns:D}){let V=i.getFallbackLangs(),K=d(D??void 0);return s.getTranslationNs(K,V,w)}function v({key:w,ns:D,language:V}){let K=d(D??void 0),B=i.getFallbackLangs(V);return s.getTranslationFallback(K,B,w)}function x(){let w=Ps(I(),()=>{let D=b();if(D.length&&i.getInitialOptions().autoLoadRequiredData)return s.loadRecords(D,{useCache:!0})});if(ia(w))return i.setInitialLoading(!0),r.notify(),n.notify(),Promise.resolve(w).then(()=>{i.setInitialLoading(!1),r.notify(),n.notify(),e.onInitialLoaded.emit()});e.onInitialLoaded.emit()}function I(){if(i.getLanguage())return;let w=a.getInitialLanguage();return Ps(w,D=>{let V=D||i.getInitialOptions().defaultLanguage;V&&i.setLanguage(V)})}function M(){if((a.getLanguageDetector()||a.getLanguageStorage())&&!i.getAvailableLanguages())throw new Error(Mr("availableLanguages"));if(!i.getLanguage()&&!i.getInitialOptions().defaultLanguage)throw new Error(Mr(["defaultLanguage","language"]))}let E=Object.freeze(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),i),a),s),{init:h,getTranslation:v,changeTranslation:m,getTranslationNs:p,getDefaultAndFallbackNs:d,findPositions:a.findPositions,getRequiredDescriptors:y,changeLanguage(w){return at(this,null,function*(){i.getPendingLanguage()===w&&i.getLanguage()===w||(i.setPendingLanguage(w),i.isRunning()&&i.getInitialOptions().autoLoadRequiredData&&(yield s.loadRecords(y(w),{useCache:!0})),w===i.getPendingLanguage()&&(i.setLanguage(w),yield a.setStoredLanguage(w)))})},addActiveNs(w,D){return at(this,null,function*(){D||i.addActiveNs(w),i.isRunning()&&(yield s.loadRecords(y(void 0,w),{useCache:!0}))})},loadRecord(w,D){return at(this,null,function*(){var V;return(V=(yield E.loadRecords([w],D))[0])===null||V===void 0?void 0:V.data})},isLoading(w){return s.isLoading(i.getLanguage(),w)},isLoaded(w){let D=i.getLanguage();if(!D)return!1;let V=i.getFallbackLangs(D),K=f(w),B=[];return V.forEach(k=>{K.forEach(T=>{s.exists({language:k,namespace:T})||B.push({language:k,namespace:T})})}),B.length===0},t:(...w)=>{let D=Ii(...w),V=v(D);return a.formatTranslation(Object.assign(Object.assign({},D),{translation:V}))},isDev(){return!!(i.getInitialOptions().apiKey&&i.getInitialOptions().apiUrl)},loadRequired(w){return at(this,null,function*(){w!=null&&w.language||(yield I());let D=y(w==null?void 0:w.language);return E.loadRecords(D,w)})},loadMatrix(w){return at(this,null,function*(){let D=_(w);return E.loadRecords(D,w)})},run(){return M(),i.isRunning()||(i.setRunning(!0),a.run(),l=x()),Promise.resolve(l)},stop(){i.isRunning()&&(a.stop(),i.setRunning(!1))}}));return E}function pE(t){let e=hE({options:t});e.isDev()&&e.invalidate();function r(i){let a=e.isRunning();a&&e.stop(),i(),e.isDev()&&e.invalidate(),a&&e.run()}let n=Object.freeze({on:e.on,setEmitterActive:e.setEmitterActive,getLanguage:e.getLanguage,getPendingLanguage:e.getPendingLanguage,changeLanguage:e.changeLanguage,changeTranslation:e.changeTranslation,addActiveNs:e.addActiveNs,removeActiveNs:e.removeActiveNs,loadRequired:e.loadRequired,loadMatrix:e.loadMatrix,loadRecords:e.loadRecords,loadRecord:e.loadRecord,addStaticData:e.addStaticData,getRecord:e.getRecord,getAllRecords:e.getAllRecords,isLoaded:e.isLoaded,getRequiredDescriptors:e.getRequiredDescriptors,isInitialLoading:e.isInitialLoading,isLoading:e.isLoading,isFetching:e.isFetching,isRunning:e.isRunning,run:e.run,stop:e.stop,t:e.t,highlight:e.highlight,findPositions:e.findPositions,getInitialOptions:e.getInitialOptions,isDev:e.isDev,wrap:e.wrap,unwrap:e.unwrap,overrideCredentials(i){r(()=>e.overrideCredentials(i))},addPlugin(i){i&&r(()=>e.addPlugin(n,i))},updateOptions(i){i&&r(()=>e.init(i))}});return n}var mE=()=>{let t={plugins:[],options:{}},e=Object.freeze({use(r){return t.plugins.push(r),e},updateDefaults(r){return t.options=js(t.options,r),e},init(r){let n=pE(js(t.options,r));return t.plugins.forEach(n.addPlugin),n}});return e},Bp=0,Vs=1,bE=2,gE=class extends Error{constructor(t,e,r){let n,i="";t===Bp?n="Empty parameter":t===Vs?(n="Unexpected character",i="Did you forget to use FormatIcu to render ICU message syntax?"):n="Unexpected end",super(`Tolgee parser: ${n} at ${e} in "${r}"`+(i?`
9
+ `+i:"")),this.code=t,this.index=e}};function Gu(t){return/\s/.test(t)}var de=0,Hs=1,Qr=2,za=3,Ba=4,yE=new Set([Qr,Hs,de]),zs="'",vE=new Set(["{","}",zs]),_E=t=>/[0-9a-zA-Z_]/.test(t);function wE(t){let e=de,r="",n="",i="",a=[],s=[],l=0;function u(m){throw new gE(m,l,t)}let c=()=>{a.push(r),r=""},d=()=>{_E(i)||u(Vs),n+=i},f=()=>{n===""&&u(Bp),s.push(n),n=""};for(l=0;l<t.length;l++)switch(i=t[l],e){case de:i===zs?(r+=i,e=Hs):i==="{"?(c(),e=za):(r+=i,e=de);break;case Hs:vE.has(i)?(r=r.slice(0,-1)+i,e=Qr):(r+=i,e=de);break;case Qr:i===zs?e=de:(r+=i,e=Qr);break;case za:i==="}"?(f(),e=de):Gu(i)?n!==""&&(f(),e=Ba):(d(),e=za);break;case Ba:i=="}"?e=de:Gu(i)?e=Ba:u(Vs)}return yE.has(e)||u(bE),c(),[a,s]}function xE(t,e){let[r,n]=wE(t),i=[r[0]];for(let a=1;a<r.length;a++){let s=e==null?void 0:e[n[a-1]];if(s===void 0)throw new Error(`Missing parameter "${n[a-1]}" in "${t}"`);i.push(String(s)),i.push(r[a])}return i.join("")}function kE(){return{format:({translation:t,params:e})=>xE(t,e)}}var rC=()=>(t,e)=>(e.setFinalFormatter(kE()),t),IE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Qu={};(function(t){function e(p,v){var x;return p instanceof Buffer?x=p:x=Buffer.from(p.buffer,p.byteOffset,p.byteLength),x.toString(v)}var r=function(p){return Buffer.from(p)};function n(p){for(var v=0,x=Math.min(256*256,p.length+1),I=new Uint16Array(x),M=[],E=0;;){var w=v<p.length;if(!w||E>=x-1){var D=I.subarray(0,E),V=D;if(M.push(String.fromCharCode.apply(null,V)),!w)return M.join("");p=p.subarray(v),v=0,E=0}var K=p[v++];if(!(K&128))I[E++]=K;else if((K&224)===192){var B=p[v++]&63;I[E++]=(K&31)<<6|B}else if((K&240)===224){var B=p[v++]&63,k=p[v++]&63;I[E++]=(K&31)<<12|B<<6|k}else if((K&248)===240){var B=p[v++]&63,k=p[v++]&63,T=p[v++]&63,z=(K&7)<<18|B<<12|k<<6|T;z>65535&&(z-=65536,I[E++]=z>>>10&1023|55296,z=56320|z&1023),I[E++]=z}}}function i(p){for(var v=0,x=p.length,I=0,M=Math.max(32,x+(x>>>1)+7),E=new Uint8Array(M>>>3<<3);v<x;){var w=p.charCodeAt(v++);if(w>=55296&&w<=56319){if(v<x){var D=p.charCodeAt(v);(D&64512)===56320&&(++v,w=((w&1023)<<10)+(D&1023)+65536)}if(w>=55296&&w<=56319)continue}if(I+4>E.length){M+=8,M*=1+v/p.length*2,M=M>>>3<<3;var V=new Uint8Array(M);V.set(E),E=V}if(w&4294967168)if(!(w&4294965248))E[I++]=w>>>6&31|192;else if(!(w&4294901760))E[I++]=w>>>12&15|224,E[I++]=w>>>6&63|128;else if(!(w&4292870144))E[I++]=w>>>18&7|240,E[I++]=w>>>12&63|128,E[I++]=w>>>6&63|128;else continue;else{E[I++]=w;continue}E[I++]=w&63|128}return E.slice?E.slice(0,I):E.subarray(0,I)}var a="Failed to ",s=function(p,v,x){if(p)throw new Error("".concat(a).concat(v,": the '").concat(x,"' option is unsupported."))},l=typeof Buffer=="function"&&Buffer.from,u=l?r:i;function c(){this.encoding="utf-8"}c.prototype.encode=function(p,v){return s(v&&v.stream,"encode","stream"),u(p)};function d(p){var v;try{var x=new Blob([p],{type:"text/plain;charset=UTF-8"});v=URL.createObjectURL(x);var I=new XMLHttpRequest;return I.open("GET",v,!1),I.send(),I.responseText}finally{v&&URL.revokeObjectURL(v)}}var f=!l&&typeof Blob=="function"&&typeof URL=="function"&&typeof URL.createObjectURL=="function",m=["utf-8","utf8","unicode-1-1-utf-8"],h=n;l?h=e:f&&(h=function(p){try{return d(p)}catch{return n(p)}});var y="construct 'TextDecoder'",b="".concat(a," ").concat(y,": the ");function _(p,v){s(v&&v.fatal,y,"fatal"),p=p||"utf-8";var x;if(l?x=Buffer.isEncoding(p):x=m.indexOf(p.toLowerCase())!==-1,!x)throw new RangeError("".concat(b," encoding label provided ('").concat(p,"') is invalid."));this.encoding=p,this.fatal=!1,this.ignoreBOM=!1}_.prototype.decode=function(p,v){s(v&&v.stream,"decode","stream");var x;return p instanceof Uint8Array?x=p:p.buffer instanceof ArrayBuffer?x=new Uint8Array(p.buffer):x=new Uint8Array(p),h(x,this.encoding)},t.TextEncoder=t.TextEncoder||c,t.TextDecoder=t.TextDecoder||_})(typeof window<"u"?window:IE);var EE=GI({__proto__:null,default:Qu},[Qu]);(qu=console.assert)==null||qu.call(console,EE);function CE(t,e){let r=n=>{var i,a;t.includes((i=n.data)==null?void 0:i.type)&&e((a=n.data)==null?void 0:a.data)};return window.addEventListener("message",r,!1),{unsubscribe(){window.removeEventListener("message",r)}}}function TE({message:t,recievingMessage:e,data:r,attempts:n=1,timeout:i=300}){let a=!1,s=()=>new Promise((l,u)=>{let c=CE(e,f);window.postMessage({type:t,data:r},window.origin);let d=setTimeout(h,i);function f(y){clearTimeout(d),m(),l(y)}function m(){c.unsubscribe()}function h(){m(),u()}});return{cancel(){a=!0},promise:at(this,null,function*(){for(let l=0;l<n;l++){if(a)return new Promise(()=>{});try{return yield s()}catch{continue}}if(!a)throw`Didn't recieve ${e.join(" or ")} in time.`;return new Promise(()=>{})})}}function SE(){let t;function e(r){return at(this,null,function*(){t==null||t();let{cancel:n,promise:i}=TE({message:"TOLGEE_READY",recievingMessage:["TOLGEE_PLUGIN_READY","TOLGEE_PLUGIN_UPDATED"],data:r,attempts:4});return t=n,i})}return{update:e}}var DE="tolgee-in-context-tools.umd.min.js",OE="@tolgee/in-context-tools",AE="InContextTools",RE="https://cdn.jsdelivr.net/npm";function NE(t){return new Promise((e,r)=>{let n=document.createElement("script");n.src=t,n.addEventListener("load",()=>e()),n.addEventListener("error",i=>r(i.error)),document.head.appendChild(n)})}var Ua=null;function LE(t){return Ua||(Ua=NE(`${RE}/@tolgee/web@${t}/dist/${DE}`).then(()=>window[OE][AE])),Ua}var Up="__tolgee_apiKey",qp="__tolgee_apiUrl";function Yu(){let t=sessionStorage.getItem(Up)||void 0,e=sessionStorage.getItem(qp)||void 0;if(!(!t||!e))return{apiKey:t,apiUrl:e}}function ME(){sessionStorage.removeItem(Up),sessionStorage.removeItem(qp)}function PE(t){document.readyState!=="loading"?Promise.resolve().then(()=>{t()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",t)}var $p=()=>t=>t,FE=()=>{if(typeof window>"u")return!1;try{return typeof sessionStorage<"u"&&sessionStorage}catch(t){return console.error("sessionStorage not available",t),!1}};FE()&&($p=()=>t=>{let e=SE(),r=()=>({uiPresent:!0,uiVersion:void 0,mode:t.isDev()?"development":"production",config:{apiUrl:t.getInitialOptions().apiUrl||"",apiKey:t.getInitialOptions().apiKey||""}}),n=()=>at(void 0,null,function*(){let i=yield LE("prerelease");return a=>{let s=Yu();return a.addPlugin(i({credentials:s})),a}});return t.on("running",({value:i})=>{i&&PE(()=>{e.update(r()).catch(ME)})}),Yu()&&n().then(i=>{t.addPlugin(i)}).catch(i=>{console.error("Tolgee: Failed to load in-context tools"),console.error(i)}),t});function iC(){return mE().use($p())}var jE=new A("tolgee.instance"),Zp=(()=>{const e=class e{constructor(n,i){o(this,"_tolgee");o(this,"_ngZone");o(this,"runPromise");o(this,"translate",(...n)=>{let i=Ii(...n);return new W(a=>{let s=this.tolgee.addActiveNs(i.ns),l=()=>at(this,null,function*(){yield s;let c=this.tolgee.t(i);a.next(c)});l();let u=this.tolgee.on("update",l);return()=>{this.tolgee.removeActiveNs(i.ns),u.unsubscribe()}})});o(this,"instant",(...n)=>{let i=Ii(...n);return this.tolgee.t(i)});this._tolgee=n,this._ngZone=i}get tolgee(){return this._tolgee}start(){return at(this,null,function*(){this.isSSR()||(yield this.runIfNotRunning())})}get language(){return this.tolgee.getLanguage()}get languageAsync(){return new W(n=>{n.next(this.tolgee.getLanguage());let i=this.on("language").subscribe(a=>{n.next(a.value)});return()=>i.unsubscribe()})}changeLanguage(n){return this.tolgee.changeLanguage(n)}on(n){return new W(i=>{let a=this.tolgee.on(n,s=>{this._ngZone.run(()=>{i.next(s)})});return()=>a.unsubscribe()})}ngOnDestroy(){this.tolgee.stop()}runIfNotRunning(){return at(this,null,function*(){this.runPromise||(this.runPromise=this._ngZone.runOutsideAngular(()=>this.tolgee.run())),yield this.runPromise})}isSSR(){return typeof window>"u"}};o(e,"ɵfac",function(n){return new(n||e)(P(jE),P(J))}),o(e,"ɵprov",C({token:e,factory:e.ɵfac,providedIn:"root"}));let t=e;return t})(),aC=(()=>{const e=class e{constructor(n,i){o(this,"translateService");o(this,"_cdr");o(this,"value","");o(this,"previousHash");o(this,"subscription");o(this,"transform",(...n)=>{let i=Ii(...n),{key:a}=i;if(!a||a.length===0)return a;let s=this.hash(i);return this.previousHash===s?this.value:(this.previousHash=s,this.translate(i),this.value)});this.translateService=n,this._cdr=i}ngOnDestroy(){this.unsubscribe()}hash(n){return JSON.stringify([n,this.translateService.tolgee.getLanguage()])}unsubscribe(){var n;(n=this.subscription)==null||n.unsubscribe(),this.subscription=null}translate(n){this.value=this.translateService.instant(It(Z({},n),{orEmpty:!0})),this.subscribe(n)}subscribe(n){this.unsubscribe(),this.subscription=this.translateService.translate(n).subscribe(i=>{this.value=i,this._cdr.detectChanges()})}};o(e,"ɵfac",function(n){return new(n||e)(mt(Zp,16),mt(qh,16))}),o(e,"ɵpipe",gh({name:"translate",type:e,pure:!1}));let t=e;return t})(),sC=(()=>{const e=class e{};o(e,"ɵfac",function(n){return new(n||e)}),o(e,"ɵmod",Jt({type:e})),o(e,"ɵinj",Gt({providers:[{provide:Ih,useFactory:n=>()=>at(e,null,function*(){return yield n.start()}),deps:[Zp],multi:!0}]}));let t=e;return t})();export{Ie as $,jn as A,Me as B,C,j1 as D,ge as E,xt as F,br as G,kp as H,yn as I,Yt as J,hh as K,P as L,QE as M,$t as N,Vh as O,v1 as P,v0 as Q,w0 as R,pm as S,A as T,_0 as U,Ys as V,Dn as W,ut as X,Wt as Y,s1 as Z,ka as _,Qo as a,zE as a$,V1 as a0,C1 as a1,lb as a2,WE as a3,Sc as a4,i1 as a5,h1 as a6,f1 as a7,O1 as a8,mr as a9,eC as aA,c0 as aB,sc as aC,UE as aD,Ae as aE,cb as aF,BE as aG,nb as aH,$E as aI,em as aJ,ob as aK,Xo as aL,r1 as aM,S0 as aN,u1 as aO,g1 as aP,c1 as aQ,D1 as aR,ho as aS,cr as aT,uk as aU,qh as aV,vI as aW,U1 as aX,zi as aY,rr as aZ,_n as a_,qc as aa,It as ab,Z as ac,T1 as ad,Y1 as ae,J1 as af,qE as ag,W1 as ah,ab as ai,oI as aj,sI as ak,ib as al,q1 as am,lx as an,YE as ao,JE as ap,m1 as aq,Xi as ar,S1 as as,ra as at,H1 as au,a1 as av,x0 as aw,I0 as ax,nl as ay,Q1 as az,Op as b,jh as b$,J as b0,Ee as b1,rt as b2,Zo as b3,Pu as b4,tr as b5,bx as b6,le as b7,z1 as b8,Ou as b9,Bn as bA,kh as bB,xn as bC,R as bD,HI as bE,XE as bF,t1 as bG,Wk as bH,y1 as bI,w1 as bJ,E1 as bK,un as bL,nr as bM,Aa as bN,o1 as bO,Xk as bP,qm as bQ,l1 as bR,lc as bS,P1 as bT,yi as bU,dx as bV,A1 as bW,gh as bX,x1 as bY,T0 as bZ,Fh as b_,K1 as ba,xx as bb,_I as bc,bi as bd,Ji as be,GE as bf,tl as bg,Ko as bh,eI as bi,$1 as bj,ub as bk,G1 as bl,e1 as bm,VI as bn,X1 as bo,Z1 as bp,nC as bq,sx as br,B1 as bs,Zp as bt,$e as bu,R1 as bv,dp as bw,p1 as bx,d1 as by,I1 as bz,ZE as c,k1 as c0,C0 as c1,_1 as c2,sC as c3,aC as c4,tC as c5,Gb as c6,jE as c7,iC as c8,rC as c9,N1 as ca,L1 as cb,Qb as cc,n1 as cd,M1 as ce,aI as cf,b1 as cg,HE as ch,ue as ci,Qi as cj,dr as ck,E0 as cl,Eu as cm,ae as d,ug as e,ie as f,mt as g,g as h,Jt as i,Ur as j,W as k,KE as l,Ut as m,Hh as n,Gt as o,Xs as p,On as q,Un as r,Xc as s,wl as t,Jc as u,ws as v,F1 as w,To as x,ta as y,Sn as z};