470 lines
264 KiB
JavaScript
470 lines
264 KiB
JavaScript
var Xg=Object.defineProperty,Jg=Object.defineProperties;var ev=Object.getOwnPropertyDescriptors;var id=Object.getOwnPropertySymbols;var tv=Object.prototype.hasOwnProperty,nv=Object.prototype.propertyIsEnumerable;var sd=(e,n,t)=>n in e?Xg(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,A=(e,n)=>{for(var t in n||={})tv.call(n,t)&&sd(e,t,n[t]);if(id)for(var t of id(n))nv.call(n,t)&&sd(e,t,n[t]);return e},X=(e,n)=>Jg(e,ev(n));var ce=null,jo=!1,pa=1,rv=null,J=Symbol("SIGNAL");function y(e){let n=ce;return ce=e,n}function Uo(){return ce}var Kt={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function Xt(e){if(jo)throw new Error("");if(ce===null)return;ce.consumerOnSignalRead(e);let n=ce.producersTail;if(n!==void 0&&n.producer===e)return;let t,r=ce.recomputing;if(r&&(t=n!==void 0?n.nextProducer:ce.producers,t!==void 0&&t.producer===e)){ce.producersTail=t,t.lastReadVersion=e.version;return}let o=e.consumersTail;if(o!==void 0&&o.consumer===ce&&(!r||iv(o,ce)))return;let i=Ln(ce),s={producer:e,consumer:ce,nextProducer:t,prevConsumer:o,lastReadVersion:e.version,nextConsumer:void 0};ce.producersTail=s,n!==void 0?n.nextProducer=s:ce.producers=s,i&&ud(e,s)}function ad(){pa++}function $o(e){if(!(Ln(e)&&!e.dirty)&&!(!e.dirty&&e.lastCleanEpoch===pa)){if(!e.producerMustRecompute(e)&&!Fn(e)){Ho(e);return}e.producerRecomputeValue(e),Ho(e)}}function ha(e){if(e.consumers===void 0)return;let n=jo;jo=!0;try{for(let t=e.consumers;t!==void 0;t=t.nextConsumer){let r=t.consumer;r.dirty||ov(r)}}finally{jo=n}}function ma(){return ce?.consumerAllowSignalWrites!==!1}function ov(e){e.dirty=!0,ha(e),e.consumerMarkedDirty?.(e)}function Ho(e){e.dirty=!1,e.lastCleanEpoch=pa}function Mt(e){return e&&cd(e),y(e)}function cd(e){e.producersTail=void 0,e.recomputing=!0}function Jt(e,n){y(n),e&&ld(e)}function ld(e){e.recomputing=!1;let n=e.producersTail,t=n!==void 0?n.nextProducer:e.producers;if(t!==void 0){if(Ln(e))do t=ga(t);while(t!==void 0);n!==void 0?n.nextProducer=void 0:e.producers=void 0}}function Fn(e){for(let n=e.producers;n!==void 0;n=n.nextProducer){let t=n.producer,r=n.lastReadVersion;if(r!==t.version||($o(t),r!==t.version))return!0}return!1}function St(e){if(Ln(e)){let n=e.producers;for(;n!==void 0;)n=ga(n)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function ud(e,n){let t=e.consumersTail,r=Ln(e);if(t!==void 0?(n.nextConsumer=t.nextConsumer,t.nextConsumer=n):(n.nextConsumer=void 0,e.consumers=n),n.prevConsumer=t,e.consumersTail=n,!r)for(let o=e.producers;o!==void 0;o=o.nextProducer)ud(o.producer,o)}function ga(e){let n=e.producer,t=e.nextProducer,r=e.nextConsumer,o=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,r!==void 0?r.prevConsumer=o:n.consumersTail=o,o!==void 0)o.nextConsumer=r;else if(n.consumers=r,!Ln(n)){let i=n.producers;for(;i!==void 0;)i=ga(i)}return t}function Ln(e){return e.consumerIsAlwaysLive||e.consumers!==void 0}function zo(e){rv?.(e)}function iv(e,n){let t=n.producersTail;if(t!==void 0){let r=n.producers;do{if(r===e)return!0;if(r===t)break;r=r.nextProducer}while(r!==void 0)}return!1}function Wo(e,n){return Object.is(e,n)}function Nr(e,n){let t=Object.create(sv);t.computation=e,n!==void 0&&(t.equal=n);let r=()=>{if($o(t),Xt(t),t.value===xr)throw t.error;return t.value};return r[J]=t,zo(t),r}var Bo=Symbol("UNSET"),Vo=Symbol("COMPUTING"),xr=Symbol("ERRORED"),sv=X(A({},Kt),{value:Bo,dirty:!0,error:null,equal:Wo,kind:"computed",producerMustRecompute(e){return e.value===Bo||e.value===Vo},producerRecomputeValue(e){if(e.value===Vo)throw new Error("");let n=e.value;e.value=Vo;let t=Mt(e),r,o=!1;try{r=e.computation(),y(null),o=n!==Bo&&n!==xr&&r!==xr&&e.equal(n,r)}catch(i){r=xr,e.error=i}finally{Jt(e,t)}if(o){e.value=n;return}e.value=r,e.version++}});function av(){throw new Error}var dd=av;function fd(e){dd(e)}function va(e){dd=e}var cv=null;function ya(e,n){let t=Object.create(Rr);t.value=e,n!==void 0&&(t.equal=n);let r=()=>pd(t);return r[J]=t,zo(t),[r,s=>Pn(t,s),s=>_a(t,s)]}function pd(e){return Xt(e),e.value}function Pn(e,n){ma()||fd(e),e.equal(e.value,n)||(e.value=n,lv(e))}function _a(e,n){ma()||fd(e),Pn(e,n(e.value))}var Rr=X(A({},Kt),{equal:Wo,value:void 0,kind:"signal"});function lv(e){e.version++,ad(),ha(e),cv?.(e)}var ba=X(A({},Kt),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,kind:"effect"});function Da(e){if(e.dirty=!1,e.version>0&&!Fn(e))return;e.version++;let n=Mt(e);try{e.cleanup(),e.fn()}finally{Jt(e,n)}}function x(e){return typeof e=="function"}function Go(e){let t=e(r=>{Error.call(r),r.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var qo=Go(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:
|
|
${t.map((r,o)=>`${o+1}) ${r.toString()}`).join(`
|
|
`)}`:"",this.name="UnsubscriptionError",this.errors=t});function en(e,n){if(e){let t=e.indexOf(n);0<=t&&e.splice(t,1)}}var P=class e{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let i of t)i.remove(this);else t.remove(this);let{initialTeardown:r}=this;if(x(r))try{r()}catch(i){n=i instanceof qo?i.errors:[i]}let{_finalizers:o}=this;if(o){this._finalizers=null;for(let i of o)try{hd(i)}catch(s){n=n??[],s instanceof qo?n=[...n,...s.errors]:n.push(s)}}if(n)throw new qo(n)}}add(n){var t;if(n&&n!==this)if(this.closed)hd(n);else{if(n instanceof e){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(n)}}_hasParent(n){let{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){let{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&en(t,n)}remove(n){let{_finalizers:t}=this;t&&en(t,n),n instanceof e&&n._removeParent(this)}};P.EMPTY=(()=>{let e=new P;return e.closed=!0,e})();var Ea=P.EMPTY;function Zo(e){return e instanceof P||e&&"closed"in e&&x(e.remove)&&x(e.add)&&x(e.unsubscribe)}function hd(e){x(e)?e():e.unsubscribe()}var je={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var jn={setTimeout(e,n,...t){let{delegate:r}=jn;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){let{delegate:n}=jn;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Qo(e){jn.setTimeout(()=>{let{onUnhandledError:n}=je;if(n)n(e);else throw e})}function kr(){}var md=Ia("C",void 0,void 0);function gd(e){return Ia("E",void 0,e)}function vd(e){return Ia("N",e,void 0)}function Ia(e,n,t){return{kind:e,value:n,error:t}}var tn=null;function Bn(e){if(je.useDeprecatedSynchronousErrorHandling){let n=!tn;if(n&&(tn={errorThrown:!1,error:null}),e(),n){let{errorThrown:t,error:r}=tn;if(tn=null,t)throw r}}else e()}function yd(e){je.useDeprecatedSynchronousErrorHandling&&tn&&(tn.errorThrown=!0,tn.error=e)}var nn=class extends P{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Zo(n)&&n.add(this)):this.destination=fv}static create(n,t,r){return new pt(n,t,r)}next(n){this.isStopped?wa(vd(n),this):this._next(n)}error(n){this.isStopped?wa(gd(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?wa(md,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},uv=Function.prototype.bind;function Ca(e,n){return uv.call(e,n)}var Ta=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Yo(r)}}error(n){let{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Yo(r)}else Yo(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Yo(t)}}},pt=class extends nn{constructor(n,t,r){super();let o;if(x(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&je.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&Ca(n.next,i),error:n.error&&Ca(n.error,i),complete:n.complete&&Ca(n.complete,i)}):o=n}this.destination=new Ta(o)}};function Yo(e){je.useDeprecatedSynchronousErrorHandling?yd(e):Qo(e)}function dv(e){throw e}function wa(e,n){let{onStoppedNotification:t}=je;t&&jn.setTimeout(()=>t(e,n))}var fv={closed:!0,next:kr,error:dv,complete:kr};var Vn=typeof Symbol=="function"&&Symbol.observable||"@@observable";function At(e){return e}function _d(e){return e.length===0?At:e.length===1?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}var N=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){let i=hv(t)?t:new pt(t,r,o);return Bn(()=>{let{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return r=bd(r),new r((o,i)=>{let s=new pt({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)}[Vn](){return this}pipe(...t){return _d(t)(this)}toPromise(t){return t=bd(t),new t((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function bd(e){var n;return(n=e??je.Promise)!==null&&n!==void 0?n:Promise}function pv(e){return e&&x(e.next)&&x(e.error)&&x(e.complete)}function hv(e){return e&&e instanceof nn||pv(e)&&Zo(e)}function mv(e){return x(e?.lift)}function O(e){return n=>{if(mv(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function F(e,n,t,r,o){return new Ma(e,n,t,r,o)}var Ma=class extends nn{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((n=this.onFinalize)===null||n===void 0||n.call(this))}}};var Hn={schedule(e){let n=requestAnimationFrame,t=cancelAnimationFrame,{delegate:r}=Hn;r&&(n=r.requestAnimationFrame,t=r.cancelAnimationFrame);let o=n(i=>{t=void 0,e(i)});return new P(()=>t?.(o))},requestAnimationFrame(...e){let{delegate:n}=Hn;return(n?.requestAnimationFrame||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){let{delegate:n}=Hn;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...e)},delegate:void 0};var Dd=Go(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var T=(()=>{class e extends N{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let r=new Ko(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new Dd}next(t){Bn(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(t)}})}error(t){Bn(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Bn(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:r,isStopped:o,observers:i}=this;return r||o?Ea:(this.currentObservers=null,i.push(t),new P(()=>{this.currentObservers=null,en(i,t)}))}_checkFinalizedStatuses(t){let{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){let t=new N;return t.source=this,t}}return e.create=(n,t)=>new Ko(n,t),e})(),Ko=class extends T{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.next)===null||r===void 0||r.call(t,n)}error(n){var t,r;(r=(t=this.destination)===null||t===void 0?void 0:t.error)===null||r===void 0||r.call(t,n)}complete(){var n,t;(t=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||t===void 0||t.call(n)}_subscribe(n){var t,r;return(r=(t=this.source)===null||t===void 0?void 0:t.subscribe(n))!==null&&r!==void 0?r:Ea}};var xt=class extends T{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){let t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){let{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}};var Or={now(){return(Or.delegate||Date).now()},delegate:void 0};var Xo=class extends T{constructor(n=1/0,t=1/0,r=Or){super(),this._bufferSize=n,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,t)}next(n){let{isStopped:t,_buffer:r,_infiniteTimeWindow:o,_timestampProvider:i,_windowTime:s}=this;t||(r.push(n),!o&&r.push(i.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(n),{_infiniteTimeWindow:r,_buffer:o}=this,i=o.slice();for(let s=0;s<i.length&&!n.closed;s+=r?1:2)n.next(i[s]);return this._checkFinalizedStatuses(n),t}_trimBuffer(){let{_bufferSize:n,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:o}=this,i=(o?1:2)*n;if(n<1/0&&i<r.length&&r.splice(0,r.length-i),!o){let s=t.now(),a=0;for(let c=1;c<r.length&&r[c]<=s;c+=2)a=c;a&&r.splice(0,a+1)}}};var Jo=class extends P{constructor(n,t){super()}schedule(n,t=0){return this}};var Fr={setInterval(e,n,...t){let{delegate:r}=Fr;return r?.setInterval?r.setInterval(e,n,...t):setInterval(e,n,...t)},clearInterval(e){let{delegate:n}=Fr;return(n?.clearInterval||clearInterval)(e)},delegate:void 0};var Un=class extends Jo{constructor(n,t){super(n,t),this.scheduler=n,this.work=t,this.pending=!1}schedule(n,t=0){var r;if(this.closed)return this;this.state=n;let o=this.id,i=this.scheduler;return o!=null&&(this.id=this.recycleAsyncId(i,o,t)),this.pending=!0,this.delay=t,this.id=(r=this.id)!==null&&r!==void 0?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(n,t,r=0){return Fr.setInterval(n.flush.bind(n,this),r)}recycleAsyncId(n,t,r=0){if(r!=null&&this.delay===r&&this.pending===!1)return t;t!=null&&Fr.clearInterval(t)}execute(n,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(n,t);if(r)return r;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,t){let r=!1,o;try{this.work(n)}catch(i){r=!0,o=i||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){let{id:n,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,en(r,this),n!=null&&(this.id=this.recycleAsyncId(t,n,null)),this.delay=null,super.unsubscribe()}}};var $n=class e{constructor(n,t=e.now){this.schedulerActionCtor=n,this.now=t}schedule(n,t=0,r){return new this.schedulerActionCtor(this,n).schedule(r,t)}};$n.now=Or.now;var zn=class extends $n{constructor(n,t=$n.now){super(n,t),this.actions=[],this._active=!1}flush(n){let{actions:t}=this;if(this._active){t.push(n);return}let r;this._active=!0;do if(r=n.execute(n.state,n.delay))break;while(n=t.shift());if(this._active=!1,r){for(;n=t.shift();)n.unsubscribe();throw r}}};var rn=new zn(Un),Ed=rn;var ei=class extends Un{constructor(n,t){super(n,t),this.scheduler=n,this.work=t}requestAsyncId(n,t,r=0){return r!==null&&r>0?super.requestAsyncId(n,t,r):(n.actions.push(this),n._scheduled||(n._scheduled=Hn.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,t,r=0){var o;if(r!=null?r>0:this.delay>0)return super.recycleAsyncId(n,t,r);let{actions:i}=n;t!=null&&t===n._scheduled&&((o=i[i.length-1])===null||o===void 0?void 0:o.id)!==t&&(Hn.cancelAnimationFrame(t),n._scheduled=void 0)}};var ti=class extends zn{flush(n){this._active=!0;let t;n?t=n.id:(t=this._scheduled,this._scheduled=void 0);let{actions:r}=this,o;n=n||r.shift();do if(o=n.execute(n.state,n.delay))break;while((n=r[0])&&n.id===t&&r.shift());if(this._active=!1,o){for(;(n=r[0])&&n.id===t&&r.shift();)n.unsubscribe();throw o}}};var Id=new ti(ei);var on=new N(e=>e.complete());function ni(e){return e&&x(e.schedule)}function Sa(e){return e[e.length-1]}function Cd(e){return x(Sa(e))?e.pop():void 0}function Nt(e){return ni(Sa(e))?e.pop():void 0}function wd(e,n){return typeof Sa(e)=="number"?e.pop():n}function Md(e,n,t,r){function o(i){return i instanceof t?i:new t(function(s){s(i)})}return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):o(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}function Td(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function sn(e){return this instanceof sn?(this.v=e,this):new sn(e)}function Sd(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t.apply(e,n||[]),o,i=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),o[Symbol.asyncIterator]=function(){return this},o;function s(f){return function(m){return Promise.resolve(m).then(f,d)}}function a(f,m){r[f]&&(o[f]=function(_){return new Promise(function(w,S){i.push([f,_,w,S])>1||c(f,_)})},m&&(o[f]=m(o[f])))}function c(f,m){try{l(r[f](m))}catch(_){p(i[0][3],_)}}function l(f){f.value instanceof sn?Promise.resolve(f.value.v).then(u,d):p(i[0][2],f)}function u(f){c("next",f)}function d(f){c("throw",f)}function p(f,m){f(m),i.shift(),i.length&&c(i[0][0],i[0][1])}}function Ad(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof Td=="function"?Td(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){s=e[i](s),o(a,c,s.done,s.value)})}}function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}}var ri=e=>e&&typeof e.length=="number"&&typeof e!="function";function oi(e){return x(e?.then)}function ii(e){return x(e[Vn])}function si(e){return Symbol.asyncIterator&&x(e?.[Symbol.asyncIterator])}function ai(e){return new TypeError(`You provided ${e!==null&&typeof e=="object"?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function gv(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var ci=gv();function li(e){return x(e?.[ci])}function ui(e){return Sd(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:r,done:o}=yield sn(t.read());if(o)return yield sn(void 0);yield yield sn(r)}}finally{t.releaseLock()}})}function di(e){return x(e?.getReader)}function W(e){if(e instanceof N)return e;if(e!=null){if(ii(e))return vv(e);if(ri(e))return yv(e);if(oi(e))return _v(e);if(si(e))return xd(e);if(li(e))return bv(e);if(di(e))return Dv(e)}throw ai(e)}function vv(e){return new N(n=>{let t=e[Vn]();if(x(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function yv(e){return new N(n=>{for(let t=0;t<e.length&&!n.closed;t++)n.next(e[t]);n.complete()})}function _v(e){return new N(n=>{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Qo)})}function bv(e){return new N(n=>{for(let t of e)if(n.next(t),n.closed)return;n.complete()})}function xd(e){return new N(n=>{Ev(e,n).catch(t=>n.error(t))})}function Dv(e){return xd(ui(e))}function Ev(e,n){var t,r,o,i;return Md(this,void 0,void 0,function*(){try{for(t=Ad(e);r=yield t.next(),!r.done;){let s=r.value;if(n.next(s),n.closed)return}}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})}function we(e,n,t,r=0,o=!1){let i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function fi(e,n=0){return O((t,r)=>{t.subscribe(F(r,o=>we(r,e,()=>r.next(o),n),()=>we(r,e,()=>r.complete(),n),o=>we(r,e,()=>r.error(o),n)))})}function pi(e,n=0){return O((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function Nd(e,n){return W(e).pipe(pi(n),fi(n))}function Rd(e,n){return W(e).pipe(pi(n),fi(n))}function kd(e,n){return new N(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}function Od(e,n){return new N(t=>{let r;return we(t,n,()=>{r=e[ci](),we(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){t.error(s);return}i?t.complete():t.next(o)},0,!0)}),()=>x(r?.return)&&r.return()})}function hi(e,n){if(!e)throw new Error("Iterable cannot be null");return new N(t=>{we(t,n,()=>{let r=e[Symbol.asyncIterator]();we(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Fd(e,n){return hi(ui(e),n)}function Ld(e,n){if(e!=null){if(ii(e))return Nd(e,n);if(ri(e))return kd(e,n);if(oi(e))return Rd(e,n);if(si(e))return hi(e,n);if(li(e))return Od(e,n);if(di(e))return Fd(e,n)}throw ai(e)}function an(e,n){return n?Ld(e,n):W(e)}function cn(...e){let n=Nt(e);return an(e,n)}function Pd(e){return e instanceof Date&&!isNaN(e)}function Be(e,n){return O((t,r)=>{let o=0;t.subscribe(F(r,i=>{r.next(e.call(n,i,o++))}))})}var{isArray:Iv}=Array;function Cv(e,n){return Iv(n)?e(...n):e(n)}function jd(e){return Be(n=>Cv(e,n))}var{isArray:wv}=Array,{getPrototypeOf:Tv,prototype:Mv,keys:Sv}=Object;function Bd(e){if(e.length===1){let n=e[0];if(wv(n))return{args:n,keys:null};if(Av(n)){let t=Sv(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}function Av(e){return e&&typeof e=="object"&&Tv(e)===Mv}function Vd(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Hd(e,n,t,r,o,i,s,a){let c=[],l=0,u=0,d=!1,p=()=>{d&&!c.length&&!l&&n.complete()},f=_=>l<r?m(_):c.push(_),m=_=>{i&&n.next(_),l++;let w=!1;W(t(_,u++)).subscribe(F(n,S=>{o?.(S),i?f(S):n.next(S)},()=>{w=!0},void 0,()=>{if(w)try{for(l--;c.length&&l<r;){let S=c.shift();s?we(n,s,()=>m(S)):m(S)}p()}catch(S){n.error(S)}}))};return e.subscribe(F(n,f,()=>{d=!0,p()})),()=>{a?.()}}function Aa(e,n,t=1/0){return x(n)?Aa((r,o)=>Be((i,s)=>n(r,i,o,s))(W(e(r,o))),t):(typeof n=="number"&&(t=n),O((r,o)=>Hd(r,o,e,t)))}function mi(e=1/0){return Aa(At,e)}function Ud(){return mi(1)}function xa(...e){return Ud()(an(e,Nt(e)))}function xv(e){return new N(n=>{W(e()).subscribe(n)})}function Nv(...e){let n=Cd(e),{args:t,keys:r}=Bd(e),o=new N(i=>{let{length:s}=t;if(!s){i.complete();return}let a=new Array(s),c=s,l=s;for(let u=0;u<s;u++){let d=!1;W(t[u]).subscribe(F(i,p=>{d||(d=!0,l--),a[u]=p},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?Vd(r,a):a),i.complete())}))}});return n?o.pipe(jd(n)):o}function ln(e=0,n,t=Ed){let r=-1;return n!=null&&(ni(n)?t=n:r=n),new N(o=>{let i=Pd(e)?+e-t.now():e;i<0&&(i=0);let s=0;return t.schedule(function(){o.closed||(o.next(s++),0<=r?this.schedule(void 0,r):o.complete())},i)})}function Rv(e=0,n=rn){return e<0&&(e=0),ln(e,e,n)}function Lr(...e){let n=Nt(e),t=wd(e,1/0),r=e;return r.length?r.length===1?W(r[0]):mi(t)(an(r,n)):on}function _e(e,n){return O((t,r)=>{let o=0;t.subscribe(F(r,i=>e.call(n,i,o++)&&r.next(i)))})}function $d(e){return O((n,t)=>{let r=!1,o=null,i=null,s=!1,a=()=>{if(i?.unsubscribe(),i=null,r){r=!1;let l=o;o=null,t.next(l)}s&&t.complete()},c=()=>{i=null,s&&t.complete()};n.subscribe(F(t,l=>{r=!0,o=l,i||W(e(l)).subscribe(i=F(t,a,c))},()=>{s=!0,(!r||!i||i.closed)&&t.complete()}))})}function gi(e,n=rn){return $d(()=>ln(e,n))}function un(e,n=rn){return O((t,r)=>{let o=null,i=null,s=null,a=()=>{if(o){o.unsubscribe(),o=null;let l=i;i=null,r.next(l)}};function c(){let l=s+e,u=n.now();if(u<l){o=this.schedule(void 0,l-u),r.add(o);return}a()}t.subscribe(F(r,l=>{i=l,s=n.now(),o||(o=n.schedule(c,e),r.add(o))},()=>{a(),r.complete()},void 0,()=>{i=o=null}))})}function kv(e){return e<=0?()=>on:O((n,t)=>{let r=0;n.subscribe(F(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function vi(e,n=At){return e=e??Ov,O((t,r)=>{let o,i=!0;t.subscribe(F(r,s=>{let a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}function Ov(e,n){return e===n}function zd(){return O((e,n)=>{let t,r=!1;e.subscribe(F(n,o=>{let i=t;t=o,r&&n.next([i,o]),r=!0}))})}function Wd(e={}){let{connector:n=()=>new T,resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1,p=()=>{a?.unsubscribe(),a=void 0},f=()=>{p(),s=c=void 0,u=d=!1},m=()=>{let _=s;f(),_?.unsubscribe()};return O((_,w)=>{l++,!d&&!u&&p();let S=c=c??n();w.add(()=>{l--,l===0&&!d&&!u&&(a=Na(m,o))}),S.subscribe(w),!s&&l>0&&(s=new pt({next:K=>S.next(K),error:K=>{d=!0,p(),a=Na(f,t,K),S.error(K)},complete:()=>{u=!0,p(),a=Na(f,r),S.complete()}}),W(_).subscribe(s))})(i)}}function Na(e,n,...t){if(n===!0){e();return}if(n===!1)return;let r=new pt({next:()=>{r.unsubscribe(),e()}});return W(n(...t)).subscribe(r)}function yi(e,n,t){let r,o=!1;return e&&typeof e=="object"?{bufferSize:r=1/0,windowTime:n=1/0,refCount:o=!1,scheduler:t}=e:r=e??1/0,Wd({connector:()=>new Xo(r,n,t),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:o})}function Pr(e){return _e((n,t)=>e<=t)}function Wn(...e){let n=Nt(e);return O((t,r)=>{(n?xa(e,t,n):xa(e,t)).subscribe(r)})}function _i(e,n){return O((t,r)=>{let o=null,i=0,s=!1,a=()=>s&&!o&&r.complete();t.subscribe(F(r,c=>{o?.unsubscribe();let l=0,u=i++;W(e(c,u)).subscribe(o=F(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function Ve(e){return O((n,t)=>{W(e).subscribe(F(t,()=>t.complete(),kr)),!t.closed&&n.subscribe(t)})}function Fv(e,n=!1){return O((t,r)=>{let o=0;t.subscribe(F(r,i=>{let s=e(i,o++);(s||n)&&r.next(i),!s&&r.complete()}))})}function Ra(e,n,t){let r=x(e)||n||t?{next:e,error:n,complete:t}:e;return r?O((o,i)=>{var s;(s=r.subscribe)===null||s===void 0||s.call(r);let a=!0;o.subscribe(F(i,c=>{var l;(l=r.next)===null||l===void 0||l.call(r,c),i.next(c)},()=>{var c;a=!1,(c=r.complete)===null||c===void 0||c.call(r),i.complete()},c=>{var l;a=!1,(l=r.error)===null||l===void 0||l.call(r,c),i.error(c)},()=>{var c,l;a&&((c=r.unsubscribe)===null||c===void 0||c.call(r)),(l=r.finalize)===null||l===void 0||l.call(r)}))}):At}var ka;function bi(){return ka}function et(e){let n=ka;return ka=e,n}var Gd=Symbol("NotFound");function Gn(e){return e===Gd||e?.name==="\u0275NotFound"}function qd(e){let n=y(null);try{return e()}finally{y(n)}}var Mi="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",E=class extends Error{code;constructor(n,t){super(mn(n,t)),this.code=n}};function Lv(e){return`NG0${Math.abs(e)}`}function mn(e,n){return`${Lv(e)}${n?": "+n:""}`}var Me=globalThis;function B(e){for(let n in e)if(e[n]===B)return n;throw Error("")}function Xd(e,n){for(let t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function Si(e){if(typeof e=="string")return e;if(Array.isArray(e))return`[${e.map(Si).join(", ")}]`;if(e==null)return""+e;let n=e.overriddenName||e.name;if(n)return`${n}`;let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
|
|
`);return r>=0?t.slice(0,r):t}function Ai(e,n){return e?n?`${e} ${n}`:e:n||""}var Pv=B({__forward_ref__:B});function zr(e){return e.__forward_ref__=zr,e}function ie(e){return Ga(e)?e():e}function Ga(e){return typeof e=="function"&&e.hasOwnProperty(Pv)&&e.__forward_ref__===zr}function v(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function te(e){return{providers:e.providers||[],imports:e.imports||[]}}function xi(e){return jv(e,Ni)}function jv(e,n){return e.hasOwnProperty(n)&&e[n]||null}function Bv(e){let n=e?.[Ni]??null;return n||null}function Fa(e){return e&&e.hasOwnProperty(Ei)?e[Ei]:null}var Ni=B({\u0275prov:B}),Ei=B({\u0275inj:B}),g=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(n,t){this._desc=n,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=v({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function qa(e){return e&&!!e.\u0275providers}var Za=B({\u0275cmp:B}),Qa=B({\u0275dir:B}),Ya=B({\u0275pipe:B});var Br=B({\u0275fac:B}),gn=B({__NG_ELEMENT_ID__:B}),Zd=B({__NG_ENV_ID__:B});function Ft(e){return Xa(e,"@Component"),e[Za]||null}function Ka(e){return Xa(e,"@Directive"),e[Qa]||null}function Jd(e){return Xa(e,"@Pipe"),e[Ya]||null}function Xa(e,n){if(e==null)throw new E(-919,!1)}function tt(e){return typeof e=="string"?e:e==null?"":String(e)}var ef=B({ngErrorCode:B}),Vv=B({ngErrorMessage:B}),Hv=B({ngTokenPath:B});function Ja(e,n){return tf("",-200,n)}function Ri(e,n){throw new E(-201,!1)}function tf(e,n,t){let r=new E(n,e);return r[ef]=n,r[Vv]=e,t&&(r[Hv]=t),r}function Uv(e){return e[ef]}var La;function nf(){return La}function he(e){let n=La;return La=e,n}function ec(e,n,t){let r=xi(e);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(t&8)return null;if(n!==void 0)return n;Ri(e,"")}var $v={},dn=$v,zv="__NG_DI_FLAG__",Pa=class{injector;constructor(n){this.injector=n}retrieve(n,t){let r=fn(t)||0;try{return this.injector.get(n,r&8?null:dn,r)}catch(o){if(Gn(o))return o;throw o}}};function Wv(e,n=0){let t=bi();if(t===void 0)throw new E(-203,!1);if(t===null)return ec(e,void 0,n);{let r=Gv(n),o=t.retrieve(e,r);if(Gn(o)){if(r.optional)return null;throw o}return o}}function M(e,n=0){return(nf()||Wv)(ie(e),n)}function h(e,n){return M(e,fn(n))}function fn(e){return typeof e>"u"||typeof e=="number"?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Gv(e){return{optional:!!(e&8),host:!!(e&1),self:!!(e&2),skipSelf:!!(e&4)}}function ja(e){let n=[];for(let t=0;t<e.length;t++){let r=ie(e[t]);if(Array.isArray(r)){if(r.length===0)throw new E(900,!1);let o,i=0;for(let s=0;s<r.length;s++){let a=r[s],c=qv(a);typeof c=="number"?c===-1?o=a.token:i|=c:o=a}n.push(M(o,i))}else n.push(M(r))}return n}function qv(e){return e[zv]}function Rt(e,n){let t=e.hasOwnProperty(Br);return t?e[Br]:null}function rf(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++){let o=e[r],i=n[r];if(t&&(o=t(o),i=t(i)),i!==o)return!1}return!0}function of(e){return e.flat(Number.POSITIVE_INFINITY)}function ki(e,n){e.forEach(t=>Array.isArray(t)?ki(t,n):n(t))}function tc(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function Wr(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function sf(e,n){let t=[];for(let r=0;r<e;r++)t.push(n);return t}function af(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(o===1)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;){let i=o-2;e[o]=e[i],o--}e[n]=t,e[n+1]=r}}function Oi(e,n,t){let r=Zn(e,n);return r>=0?e[r|1]=t:(r=~r,af(e,r,n,t)),r}function Fi(e,n){let t=Zn(e,n);if(t>=0)return e[t|1]}function Zn(e,n){return Zv(e,n,1)}function Zv(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){let i=r+(o-r>>1),s=e[i<<t];if(n===s)return i<<t;s>n?o=i:r=i+1}return~(o<<t)}var Lt={},le=[],Qn=new g(""),nc=new g("",-1),rc=new g(""),Vr=class{get(n,t=dn){if(t===dn){let o=tf("",-201);throw o.name="\u0275NotFound",o}return t}};function Li(e){return{\u0275providers:e}}function cf(...e){return{\u0275providers:oc(!0,e),\u0275fromNgModule:!0}}function oc(e,...n){let t=[],r=new Set,o,i=s=>{t.push(s)};return ki(n,s=>{let a=s;Ii(a,i,[],r)&&(o||=[],o.push(a))}),o!==void 0&&lf(o,i),t}function lf(e,n){for(let t=0;t<e.length;t++){let{ngModule:r,providers:o}=e[t];ic(o,i=>{n(i,r)})}}function Ii(e,n,t,r){if(e=ie(e),!e)return!1;let o=null,i=Fa(e),s=!i&&Ft(e);if(!i&&!s){let c=e.ngModule;if(i=Fa(c),i)o=c;else return!1}else{if(s&&!s.standalone)return!1;o=e}let a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){let c=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let l of c)Ii(l,n,t,r)}}else if(i){if(i.imports!=null&&!a){r.add(o);let l;ki(i.imports,u=>{Ii(u,n,t,r)&&(l||=[],l.push(u))}),l!==void 0&&lf(l,n)}if(!a){let l=Rt(o)||(()=>new o);n({provide:o,useFactory:l,deps:le},o),n({provide:rc,useValue:o,multi:!0},o),n({provide:Qn,useValue:()=>M(o),multi:!0},o)}let c=i.providers;if(c!=null&&!a){let l=e;ic(c,u=>{n(u,l)})}}else return!1;return o!==e&&e.providers!==void 0}function ic(e,n){for(let t of e)qa(t)&&(t=t.\u0275providers),Array.isArray(t)?ic(t,n):n(t)}var Qv=B({provide:String,useValue:B});function uf(e){return e!==null&&typeof e=="object"&&Qv in e}function Yv(e){return!!(e&&e.useExisting)}function Kv(e){return!!(e&&e.useFactory)}function pn(e){return typeof e=="function"}function df(e){return!!e.useClass}var Gr=new g(""),Di={},Qd={},Oa;function Yn(){return Oa===void 0&&(Oa=new Vr),Oa}var ue=class{},hn=class extends ue{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,Va(n,s=>this.processProvider(s)),this.records.set(nc,qn(void 0,this)),o.has("environment")&&this.records.set(ue,qn(void 0,this));let i=this.records.get(Gr);i!=null&&typeof i.value=="string"&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(rc,le,{self:!0}))}retrieve(n,t){let r=fn(t)||0;try{return this.get(n,dn,r)}catch(o){if(Gn(o))return o;throw o}}destroy(){jr(this),this._destroyed=!0;let n=y(null);try{for(let r of this._ngOnDestroyHooks)r.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let r of t)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),y(n)}}onDestroy(n){return jr(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){jr(this);let t=et(this),r=he(void 0),o;try{return n()}finally{et(t),he(r)}}get(n,t=dn,r){if(jr(this),n.hasOwnProperty(Zd))return n[Zd](this);let o=fn(r),i,s=et(this),a=he(void 0);try{if(!(o&4)){let l=this.records.get(n);if(l===void 0){let u=ny(n)&&xi(n);u&&this.injectableDefInScope(u)?l=qn(Ba(n),Di):l=null,this.records.set(n,l)}if(l!=null)return this.hydrate(n,l,o)}let c=o&2?Yn():this.parent;return t=o&8&&t===dn?null:t,c.get(n,t)}catch(c){let l=Uv(c);throw l===-200||l===-201?new E(l,null):c}finally{he(a),et(s)}}resolveInjectorInitializers(){let n=y(null),t=et(this),r=he(void 0),o;try{let i=this.get(Qn,le,{self:!0});for(let s of i)s()}finally{et(t),he(r),y(n)}}toString(){return"R3Injector[...]"}processProvider(n){n=ie(n);let t=pn(n)?n:ie(n&&n.provide),r=Jv(n);if(!pn(n)&&n.multi===!0){let o=this.records.get(t);o||(o=qn(void 0,Di,!0),o.factory=()=>ja(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t,r){let o=y(null);try{if(t.value===Qd)throw Ja("");return t.value===Di&&(t.value=Qd,t.value=t.factory(void 0,r)),typeof t.value=="object"&&t.value&&ty(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{y(o)}}injectableDefInScope(n){if(!n.providedIn)return!1;let t=ie(n.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){let t=this._onDestroyHooks.indexOf(n);t!==-1&&this._onDestroyHooks.splice(t,1)}};function Ba(e){let n=xi(e),t=n!==null?n.factory:Rt(e);if(t!==null)return t;if(e instanceof g)throw new E(-204,!1);if(e instanceof Function)return Xv(e);throw new E(-204,!1)}function Xv(e){if(e.length>0)throw new E(-204,!1);let t=Bv(e);return t!==null?()=>t.factory(e):()=>new e}function Jv(e){if(uf(e))return qn(void 0,e.useValue);{let n=sc(e);return qn(n,Di)}}function sc(e,n,t){let r;if(pn(e)){let o=ie(e);return Rt(o)||Ba(o)}else if(uf(e))r=()=>ie(e.useValue);else if(Kv(e))r=()=>e.useFactory(...ja(e.deps||[]));else if(Yv(e))r=(o,i)=>M(ie(e.useExisting),i!==void 0&&i&8?8:void 0);else{let o=ie(e&&(e.useClass||e.provide));if(ey(e))r=()=>new o(...ja(e.deps));else return Rt(o)||Ba(o)}return r}function jr(e){if(e.destroyed)throw new E(-205,!1)}function qn(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function ey(e){return!!e.deps}function ty(e){return e!==null&&typeof e=="object"&&typeof e.ngOnDestroy=="function"}function ny(e){return typeof e=="function"||typeof e=="object"&&e.ngMetadataName==="InjectionToken"}function Va(e,n){for(let t of e)Array.isArray(t)?Va(t,n):t&&qa(t)?Va(t.\u0275providers,n):n(t)}function Pi(e,n){let t;e instanceof hn?(jr(e),t=e):t=new Pa(e);let r,o=et(t),i=he(void 0);try{return n()}finally{et(o),he(i)}}function ff(){return nf()!==void 0||bi()!=null}var He=0,D=1,I=2,ee=3,Se=4,me=5,vn=6,Kn=7,Z=8,gt=9,Ue=10,V=11,Xn=12,ac=13,yn=14,de=15,Pt=16,_n=17,nt=18,vt=19,cc=20,ht=21,ji=22,kt=23,be=24,bn=25,jt=26,q=27,pf=1,lc=6,Bt=7,qr=8,Dn=9,Q=10;function yt(e){return Array.isArray(e)&&typeof e[pf]=="object"}function $e(e){return Array.isArray(e)&&e[pf]===!0}function uc(e){return(e.flags&4)!==0}function rt(e){return e.componentOffset>-1}function Zr(e){return(e.flags&1)===1}function ot(e){return!!e.template}function Jn(e){return(e[I]&512)!==0}function En(e){return(e[I]&256)===256}var dc="svg",hf="math";function Ae(e){for(;Array.isArray(e);)e=e[He];return e}function fc(e,n){return Ae(n[e])}function xe(e,n){return Ae(n[e.index])}function Bi(e,n){return e.data[n]}function pc(e,n){return e[n]}function hc(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}function Ne(e,n){let t=n[e];return yt(t)?t:t[He]}function mf(e){return(e[I]&4)===4}function Vi(e){return(e[I]&128)===128}function gf(e){return $e(e[ee])}function De(e,n){return n==null?null:e[n]}function mc(e){e[_n]=0}function gc(e){e[I]&1024||(e[I]|=1024,Vi(e)&&In(e))}function vf(e,n){for(;e>0;)n=n[yn],e--;return n}function Qr(e){return!!(e[I]&9216||e[be]?.dirty)}function Hi(e){e[Ue].changeDetectionScheduler?.notify(8),e[I]&64&&(e[I]|=1024),Qr(e)&&In(e)}function In(e){e[Ue].changeDetectionScheduler?.notify(0);let n=Ot(e);for(;n!==null&&!(n[I]&8192||(n[I]|=8192,!Vi(n)));)n=Ot(n)}function vc(e,n){if(En(e))throw new E(911,!1);e[ht]===null&&(e[ht]=[]),e[ht].push(n)}function yf(e,n){if(e[ht]===null)return;let t=e[ht].indexOf(n);t!==-1&&e[ht].splice(t,1)}function Ot(e){let n=e[ee];return $e(n)?n[ee]:n}function yc(e){return e[Kn]??=[]}function _c(e){return e.cleanup??=[]}function _f(e,n,t,r){let o=yc(n);o.push(t),e.firstCreatePass&&_c(e).push(r,o.length-1)}var C={lFrame:xf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var Ha=!1;function bf(){return C.lFrame.elementDepthCount}function Df(){C.lFrame.elementDepthCount++}function bc(){C.lFrame.elementDepthCount--}function Dc(){return C.bindingsEnabled}function Ec(){return C.skipHydrationRootTNode!==null}function Ic(e){return C.skipHydrationRootTNode===e}function Cc(){C.skipHydrationRootTNode=null}function b(){return C.lFrame.lView}function $(){return C.lFrame.tView}function Vt(e){return C.lFrame.contextLView=e,e[Z]}function Ht(e){return C.lFrame.contextLView=null,e}function ne(){let e=wc();for(;e!==null&&e.type===64;)e=e.parent;return e}function wc(){return C.lFrame.currentTNode}function Ef(){let e=C.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}function er(e,n){let t=C.lFrame;t.currentTNode=e,t.isParent=n}function Tc(){return C.lFrame.isParent}function Mc(){C.lFrame.isParent=!1}function If(){return C.lFrame.contextLView}function Sc(){return Ha}function Hr(e){let n=Ha;return Ha=e,n}function Ac(){let e=C.lFrame,n=e.bindingRootIndex;return n===-1&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function xc(){return C.lFrame.bindingIndex}function Cf(e){return C.lFrame.bindingIndex=e}function _t(){return C.lFrame.bindingIndex++}function Yr(e){let n=C.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}function wf(){return C.lFrame.inI18n}function Tf(e,n){let t=C.lFrame;t.bindingIndex=t.bindingRootIndex=e,Ui(n)}function Mf(){return C.lFrame.currentDirectiveIndex}function Ui(e){C.lFrame.currentDirectiveIndex=e}function Sf(e){let n=C.lFrame.currentDirectiveIndex;return n===-1?null:e[n]}function $i(){return C.lFrame.currentQueryIndex}function Kr(e){C.lFrame.currentQueryIndex=e}function ry(e){let n=e[D];return n.type===2?n.declTNode:n.type===1?e[me]:null}function Nc(e,n,t){if(t&4){let o=n,i=e;for(;o=o.parent,o===null&&!(t&1);)if(o=ry(i),o===null||(i=i[yn],o.type&10))break;if(o===null)return!1;n=o,e=i}let r=C.lFrame=Af();return r.currentTNode=n,r.lView=e,!0}function zi(e){let n=Af(),t=e[D];C.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Af(){let e=C.lFrame,n=e===null?null:e.child;return n===null?xf(e):n}function xf(e){let n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return e!==null&&(e.child=n),n}function Nf(){let e=C.lFrame;return C.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Rc=Nf;function Wi(){let e=Nf();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Rf(e){return(C.lFrame.contextLView=vf(e,C.lFrame.contextLView))[Z]}function ze(){return C.lFrame.selectedIndex}function Ut(e){C.lFrame.selectedIndex=e}function tr(){let e=C.lFrame;return Bi(e.tView,e.selectedIndex)}function kf(){C.lFrame.currentNamespace=dc}function Of(){oy()}function oy(){C.lFrame.currentNamespace=null}function Ff(){return C.lFrame.currentNamespace}var Lf=!0;function Gi(){return Lf}function qi(e){Lf=e}function Ua(e,n=null,t=null,r){let o=Pf(e,n,t,r);return o.resolveInjectorInitializers(),o}function Pf(e,n=null,t=null,r,o=new Set){let i=[t||le,cf(e)],s;return new hn(i,n||Yn(),s||null,o)}var U=class e{static THROW_IF_NOT_FOUND=dn;static NULL=new Vr;static create(n,t){if(Array.isArray(n))return Ua({name:""},t,n,"");{let r=n.name??"";return Ua({name:r},n.parent,n.providers,r)}}static \u0275prov=v({token:e,providedIn:"any",factory:()=>M(nc)});static __NG_ELEMENT_ID__=-1},H=new g(""),it=(()=>{class e{static __NG_ELEMENT_ID__=iy;static __NG_ENV_ID__=t=>t}return e})(),Ci=class extends it{_lView;constructor(n){super(),this._lView=n}get destroyed(){return En(this._lView)}onDestroy(n){let t=this._lView;return vc(t,n),()=>yf(t,n)}};function iy(){return new Ci(b())}var jf=!1,Bf=new g(""),nr=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new xt(!1);debugTaskTracker=h(Bf,{optional:!0});get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new N(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),this.debugTaskTracker?.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),this.debugTaskTracker?.remove(t),this.pendingTasks.size===0&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),$a=class extends T{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,ff()&&(this.destroyRef=h(it,{optional:!0})??void 0,this.pendingTasks=h(nr,{optional:!0})??void 0)}emit(n){let t=y(null);try{super.next(n)}finally{y(t)}}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&typeof n=="object"){let c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:o,error:i,complete:s});return n instanceof P&&n.add(a),a}wrapInTimeout(n){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{n(t)}finally{r!==void 0&&this.pendingTasks?.remove(r)}})}}},j=$a;function wi(...e){}function kc(e){let n,t;function r(){e=wi;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),n!==void 0&&clearTimeout(n)}catch{}}return n=setTimeout(()=>{e(),r()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{e(),r()})),()=>r()}function Vf(e){return queueMicrotask(()=>e()),()=>{e=wi}}var Oc="isAngularZone",Ur=Oc+"_ID",sy=0,R=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new j(!1);onMicrotaskEmpty=new j(!1);onStable=new j(!1);onError=new j(!1);constructor(n){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=jf}=n;if(typeof Zone>"u")throw new E(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)),t&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,ly(s)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(Oc)===!0}static assertInAngularZone(){if(!e.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new E(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,ay,wi,wi);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}},ay={};function Fc(e){if(e._nesting==0&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function cy(e){if(e.isCheckStableRunning||e.callbackScheduled)return;e.callbackScheduled=!0;function n(){kc(()=>{e.callbackScheduled=!1,za(e),e.isCheckStableRunning=!0,Fc(e),e.isCheckStableRunning=!1})}e.scheduleInRootZone?Zone.root.run(()=>{n()}):e._outer.run(()=>{n()}),za(e)}function ly(e){let n=()=>{cy(e)},t=sy++;e._inner=e._inner.fork({name:"angular",properties:{[Oc]:!0,[Ur]:t,[Ur+t]:!0},onInvokeTask:(r,o,i,s,a,c)=>{if(uy(c))return r.invokeTask(i,s,a,c);try{return Yd(e),r.invokeTask(i,s,a,c)}finally{(e.shouldCoalesceEventChangeDetection&&s.type==="eventTask"||e.shouldCoalesceRunChangeDetection)&&n(),Kd(e)}},onInvoke:(r,o,i,s,a,c,l)=>{try{return Yd(e),r.invoke(i,s,a,c,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!dy(c)&&n(),Kd(e)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&(s.change=="microTask"?(e._hasPendingMicrotasks=s.microTask,za(e),Fc(e)):s.change=="macroTask"&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}function za(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&e.callbackScheduled===!0?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Yd(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Kd(e){e._nesting--,Fc(e)}var $r=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new j;onMicrotaskEmpty=new j;onStable=new j;onError=new j;run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}};function uy(e){return Hf(e,"__ignore_ng_zone__")}function dy(e){return Hf(e,"__scheduler_tick__")}function Hf(e,n){return!Array.isArray(e)||e.length!==1?!1:e[0]?.data?.[n]===!0}var Te=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Cn=new g("",{factory:()=>{let e=h(R),n=h(ue),t;return r=>{e.runOutsideAngular(()=>{n.destroyed&&!t?setTimeout(()=>{throw r}):(t??=n.get(Te),t.handleError(r))})}}}),Uf={provide:Qn,useValue:()=>{let e=h(Te,{optional:!0})},multi:!0};function We(e,n){let[t,r,o]=ya(e,n?.equal),i=t,s=i[J];return i.set=r,i.update=o,i.asReadonly=Lc.bind(i),i}function Lc(){let e=this[J];if(e.readonlyFn===void 0){let n=()=>this();n[J]=e,e.readonlyFn=n}return e.readonlyFn}var rr=(()=>{class e{view;node;constructor(t,r){this.view=t,this.node=r}static __NG_ELEMENT_ID__=fy}return e})();function fy(){return new rr(b(),ne())}var mt=class{},Xr=new g("",{factory:()=>!0});var Pc=new g("");var Zi=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>new Wa})}return e})(),Wa=class{dirtyEffectCount=0;queues=new Map;add(n){this.enqueue(n),this.schedule(n)}schedule(n){n.dirty&&this.dirtyEffectCount++}remove(n){let t=n.zone,r=this.queues.get(t);r.has(n)&&(r.delete(n),n.dirty&&this.dirtyEffectCount--)}enqueue(n){let t=n.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(n)||r.add(n)}flush(){for(;this.dirtyEffectCount>0;){let n=!1;for(let[t,r]of this.queues)t===null?n||=this.flushQueue(r):n||=t.run(()=>this.flushQueue(r));n||(this.dirtyEffectCount=0)}}flushQueue(n){let t=!1;for(let r of n)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}},Ti=class{[J];constructor(n){this[J]=n}destroy(){this[J].destroy()}};function Jr(e,n){let t=n?.injector??h(U),r=n?.manualCleanup!==!0?t.get(it):null,o,i=t.get(rr,null,{optional:!0}),s=t.get(mt);return i!==null?(o=my(i.view,s,e),r instanceof Ci&&r._lView===i.view&&(r=null)):o=gy(e,t.get(Zi),s),o.injector=t,r!==null&&(o.onDestroyFns=[r.onDestroy(()=>o.destroy())]),new Ti(o)}var $f=X(A({},ba),{cleanupFns:void 0,zone:null,onDestroyFns:null,run(){let e=Hr(!1);try{Da(this)}finally{Hr(e)}},cleanup(){if(!this.cleanupFns?.length)return;let e=y(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],y(e)}}}),py=X(A({},$f),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){if(St(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.scheduler.remove(this)}}),hy=X(A({},$f),{consumerMarkedDirty(){this.view[I]|=8192,In(this.view),this.notifier.notify(13)},destroy(){if(St(this),this.onDestroyFns!==null)for(let e of this.onDestroyFns)e();this.cleanup(),this.view[kt]?.delete(this)}});function my(e,n,t){let r=Object.create(hy);return r.view=e,r.zone=typeof Zone<"u"?Zone.current:null,r.notifier=n,r.fn=zf(r,t),e[kt]??=new Set,e[kt].add(r),r.consumerMarkedDirty(r),r}function gy(e,n,t){let r=Object.create(py);return r.fn=zf(r,e),r.scheduler=n,r.notifier=t,r.zone=typeof Zone<"u"?Zone.current:null,r.scheduler.add(r),r.notifier.notify(12),r}function zf(e,n){return()=>{n(t=>(e.cleanupFns??=[]).push(t))}}function uo(e){return{toString:e}.toString()}function Cy(e){return typeof e=="function"}function Cp(e,n,t,r){n!==null?n.applyValueToInputSignal(n,r):e[t]=r}var os=class{previousValue;currentValue;firstChange;constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},An=(()=>{let e=()=>wp;return e.ngInherit=!0,e})();function wp(e){return e.type.prototype.ngOnChanges&&(e.setInput=Ty),wy}function wy(){let e=Mp(this),n=e?.current;if(n){let t=e.previous;if(t===Lt)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function Ty(e,n,t,r,o){let i=this.declaredInputs[r],s=Mp(e)||My(e,{previous:Lt,current:null}),a=s.current||(s.current={}),c=s.previous,l=c[i];a[i]=new os(l&&l.currentValue,t,c===Lt),Cp(e,n,o,t)}var Tp="__ngSimpleChanges__";function Mp(e){return e[Tp]||null}function My(e,n){return e[Tp]=n}var Wf=[];var L=function(e,n=null,t){for(let r=0;r<Wf.length;r++){let o=Wf[r];o(e,n,t)}},k=(function(e){return e[e.TemplateCreateStart=0]="TemplateCreateStart",e[e.TemplateCreateEnd=1]="TemplateCreateEnd",e[e.TemplateUpdateStart=2]="TemplateUpdateStart",e[e.TemplateUpdateEnd=3]="TemplateUpdateEnd",e[e.LifecycleHookStart=4]="LifecycleHookStart",e[e.LifecycleHookEnd=5]="LifecycleHookEnd",e[e.OutputStart=6]="OutputStart",e[e.OutputEnd=7]="OutputEnd",e[e.BootstrapApplicationStart=8]="BootstrapApplicationStart",e[e.BootstrapApplicationEnd=9]="BootstrapApplicationEnd",e[e.BootstrapComponentStart=10]="BootstrapComponentStart",e[e.BootstrapComponentEnd=11]="BootstrapComponentEnd",e[e.ChangeDetectionStart=12]="ChangeDetectionStart",e[e.ChangeDetectionEnd=13]="ChangeDetectionEnd",e[e.ChangeDetectionSyncStart=14]="ChangeDetectionSyncStart",e[e.ChangeDetectionSyncEnd=15]="ChangeDetectionSyncEnd",e[e.AfterRenderHooksStart=16]="AfterRenderHooksStart",e[e.AfterRenderHooksEnd=17]="AfterRenderHooksEnd",e[e.ComponentStart=18]="ComponentStart",e[e.ComponentEnd=19]="ComponentEnd",e[e.DeferBlockStateStart=20]="DeferBlockStateStart",e[e.DeferBlockStateEnd=21]="DeferBlockStateEnd",e[e.DynamicComponentStart=22]="DynamicComponentStart",e[e.DynamicComponentEnd=23]="DynamicComponentEnd",e[e.HostBindingsUpdateStart=24]="HostBindingsUpdateStart",e[e.HostBindingsUpdateEnd=25]="HostBindingsUpdateEnd",e})(k||{});function Sy(e,n,t){let{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){let s=wp(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}function Sp(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t<r;t++){let i=e.data[t].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:c,ngAfterViewChecked:l,ngOnDestroy:u}=i;s&&(e.contentHooks??=[]).push(-t,s),a&&((e.contentHooks??=[]).push(t,a),(e.contentCheckHooks??=[]).push(t,a)),c&&(e.viewHooks??=[]).push(-t,c),l&&((e.viewHooks??=[]).push(t,l),(e.viewCheckHooks??=[]).push(t,l)),u!=null&&(e.destroyHooks??=[]).push(t,u)}}function Ji(e,n,t){Ap(e,n,3,t)}function es(e,n,t,r){(e[I]&3)===t&&Ap(e,n,t,r)}function jc(e,n){let t=e[I];(t&3)===n&&(t&=16383,t+=1,e[I]=t)}function Ap(e,n,t,r){let o=r!==void 0?e[_n]&65535:0,i=r??-1,s=n.length-1,a=0;for(let c=o;c<s;c++)if(typeof n[c+1]=="number"){if(a=n[c],r!=null&&a>=r)break}else n[c]<0&&(e[_n]+=65536),(a<i||i==-1)&&(Ay(e,t,n,c),e[_n]=(e[_n]&4294901760)+c+2),c++}function Gf(e,n){L(k.LifecycleHookStart,e,n);let t=y(null);try{n.call(e)}finally{y(t),L(k.LifecycleHookEnd,e,n)}}function Ay(e,n,t,r){let o=t[r]<0,i=t[r+1],s=o?-t[r]:t[r],a=e[s];o?e[I]>>14<e[_n]>>16&&(e[I]&3)===n&&(e[I]+=16384,Gf(a,i)):Gf(a,i)}var ir=-1,Tn=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(n,t,r,o){this.factory=n,this.name=o,this.canSeeViewProviders=t,this.injectImpl=r}};function xy(e){return(e.flags&8)!==0}function Ny(e){return(e.flags&16)!==0}function Ry(e,n,t){let r=0;for(;r<t.length;){let o=t[r];if(typeof o=="number"){if(o!==0)break;r++;let i=t[r++],s=t[r++],a=t[r++];e.setAttribute(n,s,a,i)}else{let i=o,s=t[++r];ky(i)?e.setProperty(n,i,s):e.setAttribute(n,i,s),r++}}return r}function xp(e){return e===3||e===4||e===6}function ky(e){return e.charCodeAt(0)===64}function sr(e,n){if(!(n===null||n.length===0))if(e===null||e.length===0)e=n.slice();else{let t=-1;for(let r=0;r<n.length;r++){let o=n[r];typeof o=="number"?t=o:t===0||(t===-1||t===2?qf(e,t,o,null,n[++r]):qf(e,t,o,null,null))}}return e}function qf(e,n,t,r,o){let i=0,s=e.length;if(n===-1)s=-1;else for(;i<e.length;){let a=e[i++];if(typeof a=="number"){if(a===n){s=-1;break}else if(a>n){s=i-1;break}}}for(;i<e.length;){let a=e[i];if(typeof a=="number")break;if(a===t){o!==null&&(e[i+1]=o);return}i++,o!==null&&i++}s!==-1&&(e.splice(s,0,n),i=s+1),e.splice(i++,0,t),o!==null&&e.splice(i++,0,o)}function Np(e){return e!==ir}function is(e){return e&32767}function Oy(e){return e>>16}function ss(e,n){let t=Oy(e),r=n;for(;t>0;)r=r[yn],t--;return r}var Qc=!0;function as(e){let n=Qc;return Qc=e,n}var Fy=256,Rp=Fy-1,kp=5,Ly=0,st={};function Py(e,n,t){let r;typeof t=="string"?r=t.charCodeAt(0)||0:t.hasOwnProperty(gn)&&(r=t[gn]),r==null&&(r=t[gn]=Ly++);let o=r&Rp,i=1<<o;n.data[e+(o>>kp)]|=i}function cs(e,n){let t=Op(e,n);if(t!==-1)return t;let r=n[D];r.firstCreatePass&&(e.injectorIndex=n.length,Bc(r.data,e),Bc(n,null),Bc(r.blueprint,null));let o=kl(e,n),i=e.injectorIndex;if(Np(o)){let s=is(o),a=ss(o,n),c=a[D].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function Bc(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Op(e,n){return e.injectorIndex===-1||e.parent&&e.parent.injectorIndex===e.injectorIndex||n[e.injectorIndex+8]===null?-1:e.injectorIndex}function kl(e,n){if(e.parent&&e.parent.injectorIndex!==-1)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;o!==null;){if(r=Bp(o),r===null)return ir;if(t++,o=o[yn],r.injectorIndex!==-1)return r.injectorIndex|t<<16}return ir}function Yc(e,n,t){Py(e,n,t)}function jy(e,n){if(n==="class")return e.classes;if(n==="style")return e.styles;let t=e.attrs;if(t){let r=t.length,o=0;for(;o<r;){let i=t[o];if(xp(i))break;if(i===0)o=o+2;else if(typeof i=="number")for(o++;o<r&&typeof t[o]=="string";)o++;else{if(i===n)return t[o+1];o=o+2}}}return null}function Fp(e,n,t){if(t&8||e!==void 0)return e;Ri(n,"NodeInjector")}function Lp(e,n,t,r){if(t&8&&r===void 0&&(r=null),(t&3)===0){let o=e[gt],i=he(void 0);try{return o?o.get(n,r,t&8):ec(n,r,t&8)}finally{he(i)}}return Fp(r,n,t)}function Pp(e,n,t,r=0,o){if(e!==null){if(n[I]&2048&&!(r&2)){let s=Uy(e,n,t,r,st);if(s!==st)return s}let i=jp(e,n,t,r,st);if(i!==st)return i}return Lp(n,t,r,o)}function jp(e,n,t,r,o){let i=Vy(t);if(typeof i=="function"){if(!Nc(n,e,r))return r&1?Fp(o,t,r):Lp(n,t,r,o);try{let s;if(s=i(r),s==null&&!(r&8))Ri(t);else return s}finally{Rc()}}else if(typeof i=="number"){let s=null,a=Op(e,n),c=ir,l=r&1?n[de][me]:null;for((a===-1||r&4)&&(c=a===-1?kl(e,n):n[a+8],c===ir||!Qf(r,!1)?a=-1:(s=n[D],a=is(c),n=ss(c,n)));a!==-1;){let u=n[D];if(Zf(i,a,u.data)){let d=By(a,n,t,s,r,l);if(d!==st)return d}c=n[a+8],c!==ir&&Qf(r,n[D].data[a+8]===l)&&Zf(i,a,n)?(s=u,a=is(c),n=ss(c,n)):a=-1}}return o}function By(e,n,t,r,o,i){let s=n[D],a=s.data[e+8],c=r==null?rt(a)&&Qc:r!=s&&(a.type&3)!==0,l=o&1&&i===a,u=ts(a,s,t,c,l);return u!==null?oo(n,s,u,a,o):st}function ts(e,n,t,r,o){let i=e.providerIndexes,s=n.data,a=i&1048575,c=e.directiveStart,l=e.directiveEnd,u=i>>20,d=r?a:a+u,p=o?a+u:l;for(let f=d;f<p;f++){let m=s[f];if(f<c&&t===m||f>=c&&m.type===t)return f}if(o){let f=s[c];if(f&&ot(f)&&f.type===t)return c}return null}function oo(e,n,t,r,o){let i=e[t],s=n.data;if(i instanceof Tn){let a=i;if(a.resolving)throw Ja("");let c=as(a.canSeeViewProviders);a.resolving=!0;let l=s[t].type||s[t],u,d=a.injectImpl?he(a.injectImpl):null,p=Nc(e,r,0);try{i=e[t]=a.factory(void 0,o,s,e,r),n.firstCreatePass&&t>=r.directiveStart&&Sy(t,s[t],n)}finally{d!==null&&he(d),as(c),a.resolving=!1,Rc()}}return i}function Vy(e){if(typeof e=="string")return e.charCodeAt(0)||0;let n=e.hasOwnProperty(gn)?e[gn]:void 0;return typeof n=="number"?n>=0?n&Rp:Hy:n}function Zf(e,n,t){let r=1<<e;return!!(t[n+(e>>kp)]&r)}function Qf(e,n){return!(e&2)&&!(e&1&&n)}var wn=class{_tNode;_lView;constructor(n,t){this._tNode=n,this._lView=t}get(n,t,r){return Pp(this._tNode,this._lView,n,fn(r),t)}};function Hy(){return new wn(ne(),b())}function fr(e){return uo(()=>{let n=e.prototype.constructor,t=n[Br]||Kc(n),r=Object.prototype,o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){let i=o[Br]||Kc(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Kc(e){return Ga(e)?()=>{let n=Kc(ie(e));return n&&n()}:Rt(e)}function Uy(e,n,t,r,o){let i=e,s=n;for(;i!==null&&s!==null&&s[I]&2048&&!Jn(s);){let a=jp(i,s,t,r|2,st);if(a!==st)return a;let c=i.parent;if(!c){let l=s[cc];if(l){let u=l.get(t,st,r&-5);if(u!==st)return u}c=Bp(s),s=s[yn]}i=c}return o}function Bp(e){let n=e[D],t=n.type;return t===2?n.declTNode:t===1?e[me]:null}function Ol(e){return jy(ne(),e)}function $y(){return pr(ne(),b())}function pr(e,n){return new z(xe(e,n))}var z=(()=>{class e{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=$y}return e})();function Vp(e){return e instanceof z?e.nativeElement:e}function zy(){return this._results[Symbol.iterator]()}var bt=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new T}constructor(n=!1){this._emitDistinctChangesOnly=n}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){this.dirty=!1;let r=of(n);(this._changesDetected=!rf(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(n){this._onDirty=n}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=zy};function Hp(e){return(e.flags&128)===128}var Fl=(function(e){return e[e.OnPush=0]="OnPush",e[e.Eager=1]="Eager",e[e.Default=1]="Default",e})(Fl||{}),Up=new Map,Wy=0;function Gy(){return Wy++}function qy(e){Up.set(e[vt],e)}function Xc(e){Up.delete(e[vt])}var Yf="__ngContext__";function ar(e,n){yt(n)?(e[Yf]=n[vt],qy(n)):e[Yf]=n}function $p(e){return Wp(e[Xn])}function zp(e){return Wp(e[Se])}function Wp(e){for(;e!==null&&!$e(e);)e=e[Se];return e}var Jc;function Ll(e){Jc=e}function Gp(){if(Jc!==void 0)return Jc;if(typeof document<"u")return document;throw new E(210,!1)}var hr=new g("",{factory:()=>Zy}),Zy="ng";var vs=new g(""),xn=new g("",{providedIn:"platform",factory:()=>"unknown"}),Pl=new g(""),mr=new g("",{factory:()=>h(H).body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var qp="r";var Zp="di";var Qp=!1,Yp=new g("",{factory:()=>Qp});var Qy=(e,n,t,r)=>{};function Yy(e,n,t,r){Qy(e,n,t,r)}function ys(e){return(e.flags&32)===32}var Ky=()=>null;function Kp(e,n,t=!1){return Ky(e,n,t)}function Xp(e,n){let t=e.contentQueries;if(t!==null){let r=y(null);try{for(let o=0;o<t.length;o+=2){let i=t[o],s=t[o+1];if(s!==-1){let a=e.data[s];Kr(i),a.contentQueries(2,n[s],s)}}}finally{y(r)}}}function el(e,n,t){Kr(0);let r=y(null);try{n(e,t)}finally{y(r)}}function Jp(e,n,t){if(uc(n)){let r=y(null);try{let o=n.directiveStart,i=n.directiveEnd;for(let s=o;s<i;s++){let a=e.data[s];if(a.contentQueries){let c=t[s];a.contentQueries(1,c,s)}}}finally{y(r)}}}var Ze=(function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e[e.ExperimentalIsolatedShadowDom=4]="ExperimentalIsolatedShadowDom",e})(Ze||{});var Qi;function Xy(){if(Qi===void 0&&(Qi=null,Me.trustedTypes))try{Qi=Me.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Qi}function _s(e){return Xy()?.createHTML(e)||e}var Yi;function Jy(){if(Yi===void 0&&(Yi=null,Me.trustedTypes))try{Yi=Me.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Yi}function Kf(e){return Jy()?.createHTML(e)||e}var Dt=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Mi})`}},tl=class extends Dt{getTypeName(){return"HTML"}},nl=class extends Dt{getTypeName(){return"Style"}},rl=class extends Dt{getTypeName(){return"Script"}},ol=class extends Dt{getTypeName(){return"URL"}},il=class extends Dt{getTypeName(){return"ResourceURL"}};function Qe(e){return e instanceof Dt?e.changingThisBreaksApplicationSecurity:e}function Et(e,n){let t=eh(e);if(t!=null&&t!==n){if(t==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${Mi})`)}return t===n}function eh(e){return e instanceof Dt&&e.getTypeName()||null}function jl(e){return new tl(e)}function Bl(e){return new nl(e)}function Vl(e){return new rl(e)}function Hl(e){return new ol(e)}function Ul(e){return new il(e)}function e_(e){let n=new al(e);return t_()?new sl(n):n}var sl=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let t=new window.DOMParser().parseFromString(_s(n),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(n):(t.firstChild?.remove(),t)}catch{return null}}},al=class{defaultDoc;inertDocument;constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){let t=this.inertDocument.createElement("template");return t.innerHTML=_s(n),t}};function t_(){try{return!!new window.DOMParser().parseFromString(_s(""),"text/html")}catch{return!1}}var n_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function fo(e){return e=String(e),e.match(n_)?e:"unsafe:"+e}function It(e){let n={};for(let t of e.split(","))n[t]=!0;return n}function po(...e){let n={};for(let t of e)for(let r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}var th=It("area,br,col,hr,img,wbr"),nh=It("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rh=It("rp,rt"),r_=po(rh,nh),o_=po(nh,It("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")),i_=po(rh,It("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")),Xf=po(th,o_,i_,r_),oh=It("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),s_=It("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"),a_=It("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"),c_=po(oh,s_,a_),l_=It("script,style,template");var cl=class{sanitizedSomething=!1;buf=[];sanitizeChildren(n){let t=n.firstChild,r=!0,o=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild){o.push(t),t=f_(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let i=d_(t);if(i){t=i;break}t=o.pop()}}return this.buf.join("")}startElement(n){let t=Jf(n).toLowerCase();if(!Xf.hasOwnProperty(t))return this.sanitizedSomething=!0,!l_.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let r=n.attributes;for(let o=0;o<r.length;o++){let i=r.item(o),s=i.name,a=s.toLowerCase();if(!c_.hasOwnProperty(a)){this.sanitizedSomething=!0;continue}let c=i.value;oh[a]&&(c=fo(c)),this.buf.push(" ",s,'="',ep(c),'"')}return this.buf.push(">"),!0}endElement(n){let t=Jf(n).toLowerCase();Xf.hasOwnProperty(t)&&!th.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(n){this.buf.push(ep(n))}};function u_(e,n){return(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function d_(e){let n=e.nextSibling;if(n&&e!==n.previousSibling)throw ih(n);return n}function f_(e){let n=e.firstChild;if(n&&u_(e,n))throw ih(n);return n}function Jf(e){let n=e.nodeName;return typeof n=="string"?n:"FORM"}function ih(e){return new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`)}var p_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h_=/([^\#-~ |!])/g;function ep(e){return e.replace(/&/g,"&").replace(p_,function(n){let t=n.charCodeAt(0),r=n.charCodeAt(1);return"&#"+((t-55296)*1024+(r-56320)+65536)+";"}).replace(h_,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Ki;function bs(e,n){let t=null;try{Ki=Ki||e_(e);let r=n?String(n):"";t=Ki.getInertBodyElement(r);let o=5,i=r;do{if(o===0)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=Ki.getInertBodyElement(r)}while(r!==i);let a=new cl().sanitizeChildren(tp(t)||t);return _s(a)}finally{if(t){let r=tp(t)||t;for(;r.firstChild;)r.firstChild.remove()}}}function tp(e){return"content"in e&&m_(e)?e.content:null}function m_(e){return e.nodeType===Node.ELEMENT_NODE&&e.nodeName==="TEMPLATE"}function g_(e,n){return e.createText(n)}function v_(e,n,t){e.setValue(n,t)}function sh(e,n,t){return e.createElement(n,t)}function ls(e,n,t,r,o){e.insertBefore(n,t,r,o)}function ah(e,n,t){e.appendChild(n,t)}function np(e,n,t,r,o){r!==null?ls(e,n,t,r,o):ah(e,n,t)}function ch(e,n,t,r){e.removeChild(null,n,t,r)}function y_(e,n,t){e.setAttribute(n,"style",t)}function __(e,n,t){t===""?e.removeAttribute(n,"class"):e.setAttribute(n,"class",t)}function lh(e,n,t){let{mergedAttrs:r,classes:o,styles:i}=t;r!==null&&Ry(e,n,r),o!==null&&__(e,n,o),i!==null&&y_(e,n,i)}var Ie=(function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e})(Ie||{});function b_(e){let n=uh();return n?Kf(n.sanitize(Ie.HTML,e)||""):Et(e,"HTML")?Kf(Qe(e)):bs(Gp(),tt(e))}function D_(e){let n=uh();return n?n.sanitize(Ie.URL,e)||"":Et(e,"URL")?Qe(e):fo(tt(e))}function uh(){let e=b();return e&&e[Ue].sanitizer}function E_(e){return e.ownerDocument.defaultView}function I_(e,n,t){let r=e.length;for(;;){let o=e.indexOf(n,t);if(o===-1)return o;if(o===0||e.charCodeAt(o-1)<=32){let i=n.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}t=o+1}}var dh="ng-template";function C_(e,n,t,r){let o=0;if(r){for(;o<n.length&&typeof n[o]=="string";o+=2)if(n[o]==="class"&&I_(n[o+1].toLowerCase(),t,0)!==-1)return!0}else if($l(e))return!1;if(o=n.indexOf(1,o),o>-1){let i;for(;++o<n.length&&typeof(i=n[o])=="string";)if(i.toLowerCase()===t)return!0}return!1}function $l(e){return e.type===4&&e.value!==dh}function w_(e,n,t){let r=e.type===4&&!t?dh:e.value;return n===r}function T_(e,n,t){let r=4,o=e.attrs,i=o!==null?A_(o):0,s=!1;for(let a=0;a<n.length;a++){let c=n[a];if(typeof c=="number"){if(!s&&!Ge(r)&&!Ge(c))return!1;if(s&&Ge(c))continue;s=!1,r=c|r&1;continue}if(!s)if(r&4){if(r=2|r&1,c!==""&&!w_(e,c,t)||c===""&&n.length===1){if(Ge(r))return!1;s=!0}}else if(r&8){if(o===null||!C_(e,o,c,t)){if(Ge(r))return!1;s=!0}}else{let l=n[++a],u=M_(c,o,$l(e),t);if(u===-1){if(Ge(r))return!1;s=!0;continue}if(l!==""){let d;if(u>i?d="":d=o[u+1].toLowerCase(),r&2&&l!==d){if(Ge(r))return!1;s=!0}}}}return Ge(r)||s}function Ge(e){return(e&1)===0}function M_(e,n,t,r){if(n===null)return-1;let o=0;if(r||!t){let i=!1;for(;o<n.length;){let s=n[o];if(s===e)return o;if(s===3||s===6)i=!0;else if(s===1||s===2){let a=n[++o];for(;typeof a=="string";)a=n[++o];continue}else{if(s===4)break;if(s===0){o+=4;continue}}o+=i?1:2}return-1}else return x_(n,e)}function fh(e,n,t=!1){for(let r=0;r<n.length;r++)if(T_(e,n[r],t))return!0;return!1}function S_(e){let n=e.attrs;if(n!=null){let t=n.indexOf(5);if((t&1)===0)return n[t+1]}return null}function A_(e){for(let n=0;n<e.length;n++){let t=e[n];if(xp(t))return n}return e.length}function x_(e,n){let t=e.indexOf(4);if(t>-1)for(t++;t<e.length;){let r=e[t];if(typeof r=="number")return-1;if(r===n)return t;t++}return-1}function N_(e,n){e:for(let t=0;t<n.length;t++){let r=n[t];if(e.length===r.length){for(let o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function rp(e,n){return e?":not("+n.trim()+")":n}function R_(e){let n=e[0],t=1,r=2,o="",i=!1;for(;t<e.length;){let s=e[t];if(typeof s=="string")if(r&2){let a=e[++t];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else r&8?o+="."+s:r&4&&(o+=" "+s);else o!==""&&!Ge(s)&&(n+=rp(i,o),o=""),r=s,i=i||!Ge(r);t++}return o!==""&&(n+=rp(i,o)),n}function k_(e){return e.map(R_).join(",")}function O_(e){let n=[],t=[],r=1,o=2;for(;r<e.length;){let i=e[r];if(typeof i=="string")o===2?i!==""&&n.push(i,e[++r]):o===8&&t.push(i);else{if(!Ge(o))break;o=i}r++}return t.length&&n.push(1,...t),n}var se={};function zl(e,n,t,r,o,i,s,a,c,l,u){let d=q+r,p=d+o,f=F_(d,p),m=typeof l=="function"?l():l;return f[D]={type:e,blueprint:f,template:t,queries:null,viewQuery:a,declTNode:n,data:f.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:p,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof i=="function"?i():i,pipeRegistry:typeof s=="function"?s():s,firstChild:null,schemas:c,consts:m,incompleteFirstPass:!1,ssrId:u}}function F_(e,n){let t=[];for(let r=0;r<n;r++)t.push(r<e?null:se);return t}function L_(e){let n=e.tView;return n===null||n.incompleteFirstPass?e.tView=zl(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):n}function Wl(e,n,t,r,o,i,s,a,c,l,u){let d=n.blueprint.slice();return d[He]=o,d[I]=r|4|128|8|64|1024,(l!==null||e&&e[I]&2048)&&(d[I]|=2048),mc(d),d[ee]=d[yn]=e,d[Z]=t,d[Ue]=s||e&&e[Ue],d[V]=a||e&&e[V],d[gt]=c||e&&e[gt]||null,d[me]=i,d[vt]=Gy(),d[vn]=u,d[cc]=l,d[de]=n.type==2?e[de]:d,d}function P_(e,n,t){let r=xe(n,e),o=L_(t),i=e[Ue].rendererFactory,s=Gl(e,Wl(e,o,null,ph(t),r,n,null,i.createRenderer(r,t),null,null,null));return e[n.index]=s}function ph(e){let n=16;return e.signals?n=4096:e.onPush&&(n=64),n}function hh(e,n,t,r){if(t===0)return-1;let o=n.length;for(let i=0;i<t;i++)n.push(r),e.blueprint.push(r),e.data.push(null);return o}function Gl(e,n){return e[Xn]?e[ac][Se]=n:e[Xn]=n,e[ac]=n,n}function ke(e=1){mh($(),b(),ze()+e,!1)}function mh(e,n,t,r){if(!r)if((n[I]&3)===3){let i=e.preOrderCheckHooks;i!==null&&Ji(n,i,t)}else{let i=e.preOrderHooks;i!==null&&es(n,i,0,t)}Ut(t)}var Ds=(function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e})(Ds||{});function ll(e,n,t,r){let o=y(null);try{let[i,s,a]=e.inputs[t],c=null;(s&Ds.SignalBased)!==0&&(c=n[i][J]),c!==null&&c.transformFn!==void 0?r=c.transformFn(r):a!==null&&(r=a.call(n,r)),e.setInput!==null?e.setInput(n,c,r,t,i):Cp(n,c,i,r)}finally{y(o)}}var at=(function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e})(at||{}),j_;function ql(e,n){return j_(e,n)}var uN=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var ul=new WeakMap,to=new WeakSet;function B_(e,n){let t=ul.get(e);if(!t||t.length===0)return;let r=n.parentNode,o=n.previousSibling;for(let i=t.length-1;i>=0;i--){let s=t[i],a=s.parentNode;s===n?(t.splice(i,1),to.add(s),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}}))):(o&&s===o||a&&r&&a!==r)&&(t.splice(i,1),s.dispatchEvent(new CustomEvent("animationend",{detail:{cancel:!0}})),s.parentNode?.removeChild(s))}}function V_(e,n){let t=ul.get(e);t?t.includes(n)||t.push(n):ul.set(e,[n])}var Mn=new Set,Es=(function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e})(Es||{}),Ct=new g(""),op=new Set;function Wt(e){op.has(e)||(op.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}var Is=(()=>{class e{impl=null;execute(){this.impl?.execute()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),Zl=[0,1,2,3],Ql=(()=>{class e{ngZone=h(R);scheduler=h(mt);errorHandler=h(Te,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){h(Ct,{optional:!0})}execute(){let t=this.sequences.size>0;t&&L(k.AfterRenderHooksStart),this.executing=!0;for(let r of Zl)for(let o of this.sequences)if(!(o.erroredOrDestroyed||!o.hooks[r]))try{o.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let i=o.hooks[r];return i(o.pipelinedValue)},o.snapshot))}catch(i){o.erroredOrDestroyed=!0,this.errorHandler?.handleError(i)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&L(k.AfterRenderHooksEnd)}register(t){let{view:r}=t;r!==void 0?((r[bn]??=[]).push(t),In(r),r[I]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,r){return r?r.run(Es.AFTER_NEXT_RENDER,t):t()}static \u0275prov=v({token:e,providedIn:"root",factory:()=>new e})}return e})(),io=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(n,t,r,o,i,s=null){this.impl=n,this.hooks=t,this.view=r,this.once=o,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let n=this.view?.[bn];n&&(this.view[bn]=n.filter(t=>t!==this))}};function Nn(e,n){let t=n?.injector??h(U);return Wt("NgAfterNextRender"),U_(e,t,n,!0)}function H_(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}function U_(e,n,t,r){let o=n.get(Is);o.impl??=n.get(Ql);let i=n.get(Ct,null,{optional:!0}),s=t?.manualCleanup!==!0?n.get(it):null,a=n.get(rr,null,{optional:!0}),c=new io(o.impl,H_(e),a?.view,r,s,i?.snapshot(null));return o.impl.register(c),c}var gh=new g("",{factory:()=>({queue:new Set,isScheduled:!1,scheduler:null,injector:h(ue)})});function vh(e,n,t){let r=e.get(gh);if(Array.isArray(n))for(let o of n)r.queue.add(o),t?.detachedLeaveAnimationFns?.push(o);else r.queue.add(n),t?.detachedLeaveAnimationFns?.push(n);r.scheduler&&r.scheduler(e)}function $_(e,n){let t=e.get(gh);if(n.detachedLeaveAnimationFns){for(let r of n.detachedLeaveAnimationFns)t.queue.delete(r);n.detachedLeaveAnimationFns=void 0}}function z_(e,n){for(let[t,r]of n)vh(e,r.animateFns)}function ip(e,n,t,r){let o=e?.[jt]?.enter;n!==null&&o&&o.has(t.index)&&z_(r,o)}function or(e,n,t,r,o,i,s,a){if(o!=null){let c,l=!1;$e(o)?c=o:yt(o)&&(l=!0,o=o[He]);let u=Ae(o);e===0&&r!==null?(ip(a,r,i,t),s==null?ah(n,r,u):ls(n,r,u,s||null,!0)):e===1&&r!==null?(ip(a,r,i,t),ls(n,r,u,s||null,!0),B_(i,u)):e===2?(a?.[jt]?.leave?.has(i.index)&&V_(i,u),to.delete(u),sp(a,i,t,d=>{if(to.has(u)){to.delete(u);return}ch(n,u,l,d)})):e===3&&(to.delete(u),sp(a,i,t,()=>{n.destroyNode(u)})),c!=null&&tb(n,e,t,c,i,r,s)}}function W_(e,n){yh(e,n),n[He]=null,n[me]=null}function G_(e,n,t,r,o,i){r[He]=o,r[me]=n,ws(e,r,t,1,o,i)}function yh(e,n){n[Ue].changeDetectionScheduler?.notify(9),ws(e,n,n[V],2,null,null)}function q_(e){let n=e[Xn];if(!n)return Vc(e[D],e);for(;n;){let t=null;if(yt(n))t=n[Xn];else{let r=n[Q];r&&(t=r)}if(!t){for(;n&&!n[Se]&&n!==e;)yt(n)&&Vc(n[D],n),n=n[ee];n===null&&(n=e),yt(n)&&Vc(n[D],n),t=n&&n[Se]}n=t}}function Yl(e,n){let t=e[Dn],r=t.indexOf(n);t.splice(r,1)}function Cs(e,n){if(En(n))return;let t=n[V];t.destroyNode&&ws(e,n,t,3,null,null),q_(n)}function Vc(e,n){if(En(n))return;let t=y(null);try{n[I]&=-129,n[I]|=256,n[be]&&St(n[be]),Y_(e,n),Q_(e,n),n[D].type===1&&n[V].destroy();let r=n[Pt];if(r!==null&&$e(n[ee])){r!==n[ee]&&Yl(r,n);let o=n[nt];o!==null&&o.detachView(e)}Xc(n)}finally{y(t)}}function sp(e,n,t,r){let o=e?.[jt];if(o==null||o.leave==null||!o.leave.has(n.index))return r(!1);e&&Mn.add(e[vt]),vh(t,()=>{if(o.leave&&o.leave.has(n.index)){let s=o.leave.get(n.index),a=[];if(s){for(let c=0;c<s.animateFns.length;c++){let l=s.animateFns[c],{promise:u}=l();a.push(u)}o.detachedLeaveAnimationFns=void 0}o.running=Promise.allSettled(a),Z_(e,r)}else e&&Mn.delete(e[vt]),r(!1)},o)}function Z_(e,n){let t=e[jt]?.running;if(t){t.then(()=>{e[jt].running=void 0,Mn.delete(e[vt]),n(!0)});return}n(!1)}function Q_(e,n){let t=e.cleanup,r=n[Kn];if(t!==null)for(let s=0;s<t.length-1;s+=2)if(typeof t[s]=="string"){let a=t[s+3];a>=0?r[a]():r[-a].unsubscribe(),s+=2}else{let a=r[t[s+1]];t[s].call(a)}r!==null&&(n[Kn]=null);let o=n[ht];if(o!==null){n[ht]=null;for(let s=0;s<o.length;s++){let a=o[s];a()}}let i=n[kt];if(i!==null){n[kt]=null;for(let s of i)s.destroy()}}function Y_(e,n){let t;if(e!=null&&(t=e.destroyHooks)!=null)for(let r=0;r<t.length;r+=2){let o=n[t[r]];if(!(o instanceof Tn)){let i=t[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){let a=o[i[s]],c=i[s+1];L(k.LifecycleHookStart,a,c);try{c.call(a)}finally{L(k.LifecycleHookEnd,a,c)}}else{L(k.LifecycleHookStart,o,i);try{i.call(o)}finally{L(k.LifecycleHookEnd,o,i)}}}}}function _h(e,n,t){return K_(e,n.parent,t)}function K_(e,n,t){let r=n;for(;r!==null&&r.type&168;)n=r,r=n.parent;if(r===null)return t[He];if(rt(r)){let{encapsulation:o}=e.data[r.directiveStart+r.componentOffset];if(o===Ze.None||o===Ze.Emulated)return null}return xe(r,t)}function bh(e,n,t){return J_(e,n,t)}function X_(e,n,t){return e.type&40?xe(e,t):null}var J_=X_,ap;function Kl(e,n,t,r){let o=_h(e,r,n),i=n[V],s=r.parent||n[me],a=bh(s,r,n);if(o!=null)if(Array.isArray(t))for(let c=0;c<t.length;c++)np(i,o,t[c],a,!1);else np(i,o,t,a,!1);ap!==void 0&&ap(i,r,n,t,o)}function no(e,n){if(n!==null){let t=n.type;if(t&3)return xe(n,e);if(t&4)return dl(-1,e[n.index]);if(t&8){let r=n.child;if(r!==null)return no(e,r);{let o=e[n.index];return $e(o)?dl(-1,o):Ae(o)}}else{if(t&128)return no(e,n.next);if(t&32)return ql(n,e)()||Ae(e[n.index]);{let r=Dh(e,n);if(r!==null){if(Array.isArray(r))return r[0];let o=Ot(e[de]);return no(o,r)}else return no(e,n.next)}}}return null}function Dh(e,n){if(n!==null){let r=e[de][me],o=n.projection;return r.projection[o]}return null}function dl(e,n){let t=Q+e+1;if(t<n.length){let r=n[t],o=r[D].firstChild;if(o!==null)return no(r,o)}return n[Bt]}function Xl(e,n,t,r,o,i,s){for(;t!=null;){let a=r[gt];if(t.type===128){t=t.next;continue}let c=r[t.index],l=t.type;if(s&&n===0&&(c&&ar(Ae(c),r),t.flags|=2),!ys(t))if(l&8)Xl(e,n,t.child,r,o,i,!1),or(n,e,a,o,c,t,i,r);else if(l&32){let u=ql(t,r),d;for(;d=u();)or(n,e,a,o,d,t,i,r);or(n,e,a,o,c,t,i,r)}else l&16?Eh(e,n,r,t,o,i):or(n,e,a,o,c,t,i,r);t=s?t.projectionNext:t.next}}function ws(e,n,t,r,o,i){Xl(t,r,e.firstChild,n,o,i,!1)}function eb(e,n,t){let r=n[V],o=_h(e,t,n),i=t.parent||n[me],s=bh(i,t,n);Eh(r,0,n,t,o,s)}function Eh(e,n,t,r,o,i){let s=t[de],c=s[me].projection[r.projection];if(Array.isArray(c))for(let l=0;l<c.length;l++){let u=c[l];or(n,e,t[gt],o,u,r,i,t)}else{let l=c,u=s[ee];Hp(r)&&(l.flags|=128),Xl(e,n,l,u,o,i,!0)}}function tb(e,n,t,r,o,i,s){let a=r[Bt],c=Ae(r);a!==c&&or(n,e,t,i,a,o,s);for(let l=Q;l<r.length;l++){let u=r[l];ws(u[D],u,e,n,i,a)}}function nb(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=r.indexOf("-")===-1?void 0:at.DashCase;o==null?e.removeStyle(t,r,i):(typeof o=="string"&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=at.Important),e.setStyle(t,r,o,i))}}function Ih(e,n,t,r,o){let i=ze(),s=r&2;try{Ut(-1),s&&n.length>q&&mh(e,n,q,!1);let a=s?k.TemplateUpdateStart:k.TemplateCreateStart;L(a,o,t),t(r,o)}finally{Ut(i);let a=s?k.TemplateUpdateEnd:k.TemplateCreateEnd;L(a,o,t)}}function Jl(e,n,t){ab(e,n,t),(t.flags&64)===64&&cb(e,n,t)}function Ts(e,n,t=xe){let r=n.localNames;if(r!==null){let o=n.index+1;for(let i=0;i<r.length;i+=2){let s=r[i+1],a=s===-1?t(n,e):e[s];e[o++]=a}}}function rb(e,n,t,r){let i=r.get(Yp,Qp)||t===Ze.ShadowDom||t===Ze.ExperimentalIsolatedShadowDom,s=e.selectRootElement(n,i);return ob(s),s}function ob(e){ib(e)}var ib=()=>null;function sb(e){return e==="class"?"className":e==="for"?"htmlFor":e==="formaction"?"formAction":e==="innerHtml"?"innerHTML":e==="readonly"?"readOnly":e==="tabindex"?"tabIndex":e}function Ch(e,n,t,r,o,i){let s=n[D];if(Ms(e,s,n,t,r)){rt(e)&&Th(n,e.index);return}e.type&3&&(t=sb(t)),wh(e,n,t,r,o,i)}function wh(e,n,t,r,o,i){if(e.type&3){let s=xe(e,n);r=i!=null?i(r,e.value||"",t):r,o.setProperty(s,t,r)}else e.type&12}function Th(e,n){let t=Ne(n,e);t[I]&16||(t[I]|=64)}function ab(e,n,t){let r=t.directiveStart,o=t.directiveEnd;rt(t)&&P_(n,t,e.data[r+t.componentOffset]),e.firstCreatePass||cs(t,n);let i=t.initialInputs;for(let s=r;s<o;s++){let a=e.data[s],c=oo(n,e,s,t);if(ar(c,n),i!==null&&db(n,s-r,c,a,t,i),ot(a)){let l=Ne(t.index,n);l[Z]=oo(n,e,s,t)}}}function cb(e,n,t){let r=t.directiveStart,o=t.directiveEnd,i=t.index,s=Mf();try{Ut(i);for(let a=r;a<o;a++){let c=e.data[a],l=n[a];Ui(a),(c.hostBindings!==null||c.hostVars!==0||c.hostAttrs!==null)&&lb(c,l)}}finally{Ut(-1),Ui(s)}}function lb(e,n){e.hostBindings!==null&&e.hostBindings(1,n)}function Mh(e,n){let t=e.directiveRegistry,r=null;if(t)for(let o=0;o<t.length;o++){let i=t[o];fh(n,i.selectors,!1)&&(r??=[],ot(i)?r.unshift(i):r.push(i))}return r}function ub(e,n,t,r,o,i){let s=xe(e,n);Sh(n[V],s,i,e.value,t,r,o)}function Sh(e,n,t,r,o,i,s){if(i==null)e.removeAttribute(n,o,t);else{let a=s==null?tt(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}function db(e,n,t,r,o,i){let s=i[n];if(s!==null)for(let a=0;a<s.length;a+=2){let c=s[a],l=s[a+1];ll(r,t,c,l)}}function Ah(e,n,t,r,o){let i=q+t,s=n[D],a=o(s,n,e,r,t);n[i]=a,er(e,!0);let c=e.type===2;return c?(lh(n[V],a,e),(bf()===0||Zr(e))&&ar(a,n),Df()):ar(a,n),Gi()&&(!c||!ys(e))&&Kl(s,n,a,e),e}function xh(e){let n=e;return Tc()?Mc():(n=n.parent,er(n,!1)),n}function fb(e,n){let t=e[gt];if(!t)return;let r;try{r=t.get(Cn,null)}catch{r=null}r?.(n)}function Ms(e,n,t,r,o){let i=e.inputs?.[r],s=e.hostDirectiveInputs?.[r],a=!1;if(s)for(let c=0;c<s.length;c+=2){let l=s[c],u=s[c+1],d=n.data[l];ll(d,t[l],u,o),a=!0}if(i)for(let c of i){let l=t[c],u=n.data[c];ll(u,l,r,o),a=!0}return a}function pb(e,n){let t=Ne(n,e),r=t[D];hb(r,t);let o=t[He];o!==null&&t[vn]===null&&(t[vn]=Kp(o,t[gt])),L(k.ComponentStart);try{eu(r,t,t[Z])}finally{L(k.ComponentEnd,t[Z])}}function hb(e,n){for(let t=n.length;t<e.blueprint.length;t++)n.push(e.blueprint[t])}function eu(e,n,t){zi(n);try{let r=e.viewQuery;r!==null&&el(1,r,t);let o=e.template;o!==null&&Ih(e,n,o,1,t),e.firstCreatePass&&(e.firstCreatePass=!1),n[nt]?.finishViewCreation(e),e.staticContentQueries&&Xp(e,n),e.staticViewQueries&&el(2,e.viewQuery,t);let i=e.components;i!==null&&mb(n,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{n[I]&=-5,Wi()}}function mb(e,n){for(let t=0;t<n.length;t++)pb(e,n[t])}function ho(e,n,t,r){let o=y(null);try{let i=n.tView,a=e[I]&4096?4096:16,c=Wl(e,i,t,a,null,n,null,null,r?.injector??null,r?.embeddedViewInjector??null,r?.dehydratedView??null),l=e[n.index];c[Pt]=l;let u=e[nt];return u!==null&&(c[nt]=u.createEmbeddedView(i)),eu(i,c,t),c}finally{y(o)}}function cr(e,n){return!n||n.firstChild===null||Hp(e)}function so(e,n,t,r,o=!1){for(;t!==null;){if(t.type===128){t=o?t.projectionNext:t.next;continue}let i=n[t.index];i!==null&&r.push(Ae(i)),$e(i)&&Nh(i,r);let s=t.type;if(s&8)so(e,n,t.child,r);else if(s&32){let a=ql(t,n),c;for(;c=a();)r.push(c)}else if(s&16){let a=Dh(n,t);if(Array.isArray(a))r.push(...a);else{let c=Ot(n[de]);so(c[D],c,a,r,!0)}}t=o?t.projectionNext:t.next}return r}function Nh(e,n){for(let t=Q;t<e.length;t++){let r=e[t],o=r[D].firstChild;o!==null&&so(r[D],r,o,n)}e[Bt]!==e[He]&&n.push(e[Bt])}function Rh(e){if(e[bn]!==null){for(let n of e[bn])n.impl.addSequence(n);e[bn].length=0}}var kh=[];function gb(e){return e[be]??vb(e)}function vb(e){let n=kh.pop()??Object.create(_b);return n.lView=e,n}function yb(e){e.lView[be]!==e&&(e.lView=null,kh.push(e))}var _b=X(A({},Kt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{In(e.lView)},consumerOnSignalRead(){this.lView[be]=this}});function bb(e){let n=e[be]??Object.create(Db);return n.lView=e,n}var Db=X(A({},Kt),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let n=Ot(e.lView);for(;n&&!Oh(n[D]);)n=Ot(n);n&&gc(n)},consumerOnSignalRead(){this.lView[be]=this}});function Oh(e){return e.type!==2}function Fh(e){if(e[kt]===null)return;let n=!0;for(;n;){let t=!1;for(let r of e[kt])r.dirty&&(t=!0,r.zone===null||Zone.current===r.zone?r.run():r.zone.run(()=>r.run()));n=t&&!!(e[I]&8192)}}var Eb=100;function Lh(e,n=0){let r=e[Ue].rendererFactory,o=!1;o||r.begin?.();try{Ib(e,n)}finally{o||r.end?.()}}function Ib(e,n){let t=Sc();try{Hr(!0),fl(e,n);let r=0;for(;Qr(e);){if(r===Eb)throw new E(103,!1);r++,fl(e,1)}}finally{Hr(t)}}function Cb(e,n,t,r){if(En(n))return;let o=n[I],i=!1,s=!1;zi(n);let a=!0,c=null,l=null;i||(Oh(e)?(l=gb(n),c=Mt(l)):Uo()===null?(a=!1,l=bb(n),c=Mt(l)):n[be]&&(St(n[be]),n[be]=null));try{mc(n),Cf(e.bindingStartIndex),t!==null&&Ih(e,n,t,2,r);let u=(o&3)===3;if(!i)if(u){let f=e.preOrderCheckHooks;f!==null&&Ji(n,f,null)}else{let f=e.preOrderHooks;f!==null&&es(n,f,0,null),jc(n,0)}if(s||wb(n),Fh(n),Ph(n,0),e.contentQueries!==null&&Xp(e,n),!i)if(u){let f=e.contentCheckHooks;f!==null&&Ji(n,f)}else{let f=e.contentHooks;f!==null&&es(n,f,1),jc(n,1)}Mb(e,n);let d=e.components;d!==null&&Bh(n,d,0);let p=e.viewQuery;if(p!==null&&el(2,p,r),!i)if(u){let f=e.viewCheckHooks;f!==null&&Ji(n,f)}else{let f=e.viewHooks;f!==null&&es(n,f,2),jc(n,2)}if(e.firstUpdatePass===!0&&(e.firstUpdatePass=!1),n[ji]){for(let f of n[ji])f();n[ji]=null}i||(Rh(n),n[I]&=-73)}catch(u){throw i||In(n),u}finally{l!==null&&(Jt(l,c),a&&yb(l)),Wi()}}function Ph(e,n){for(let t=$p(e);t!==null;t=zp(t))for(let r=Q;r<t.length;r++){let o=t[r];jh(o,n)}}function wb(e){for(let n=$p(e);n!==null;n=zp(n)){if(!(n[I]&2))continue;let t=n[Dn];for(let r=0;r<t.length;r++){let o=t[r];gc(o)}}}function Tb(e,n,t){L(k.ComponentStart);let r=Ne(n,e);try{jh(r,t)}finally{L(k.ComponentEnd,r[Z])}}function jh(e,n){Vi(e)&&fl(e,n)}function fl(e,n){let r=e[D],o=e[I],i=e[be],s=!!(n===0&&o&16);if(s||=!!(o&64&&n===0),s||=!!(o&1024),s||=!!(i?.dirty&&Fn(i)),s||=!1,i&&(i.dirty=!1),e[I]&=-9217,s)Cb(r,e,r.template,e[Z]);else if(o&8192){let a=y(null);try{Fh(e),Ph(e,1);let c=r.components;c!==null&&Bh(e,c,1),Rh(e)}finally{y(a)}}}function Bh(e,n,t){for(let r=0;r<n.length;r++)Tb(e,n[r],t)}function Mb(e,n){let t=e.hostBindingOpCodes;if(t!==null)try{for(let r=0;r<t.length;r++){let o=t[r];if(o<0)Ut(~o);else{let i=o,s=t[++r],a=t[++r];Tf(s,i);let c=n[i];L(k.HostBindingsUpdateStart,c);try{a(2,c)}finally{L(k.HostBindingsUpdateEnd,c)}}}}finally{Ut(-1)}}function tu(e,n){let t=Sc()?64:1088;for(e[Ue].changeDetectionScheduler?.notify(n);e;){e[I]|=t;let r=Ot(e);if(Jn(e)&&!r)return e;e=r}return null}function Vh(e,n,t,r){return[e,!0,0,n,null,r,null,t,null,null]}function Hh(e,n){let t=Q+n;if(t<e.length)return e[t]}function mo(e,n,t,r=!0){let o=n[D];if(Sb(o,n,e,t),r){let s=dl(t,e),a=n[V],c=a.parentNode(e[Bt]);c!==null&&G_(o,e[me],a,n,c,s)}let i=n[vn];i!==null&&i.firstChild!==null&&(i.firstChild=null)}function Uh(e,n){let t=ao(e,n);return t!==void 0&&Cs(t[D],t),t}function ao(e,n){if(e.length<=Q)return;let t=Q+n,r=e[t];if(r){let o=r[Pt];o!==null&&o!==e&&Yl(o,r),n>0&&(e[t-1][Se]=r[Se]);let i=Wr(e,Q+n);W_(r[D],r);let s=i[nt];s!==null&&s.detachView(i[D]),r[ee]=null,r[Se]=null,r[I]&=-129}return r}function Sb(e,n,t,r){let o=Q+r,i=t.length;r>0&&(t[o-1][Se]=n),r<i-Q?(n[Se]=t[o],tc(t,Q+r,n)):(t.push(n),n[Se]=null),n[ee]=t;let s=n[Pt];s!==null&&t!==s&&$h(s,n);let a=n[nt];a!==null&&a.insertView(e),Hi(n),n[I]|=128}function $h(e,n){let t=e[Dn],r=n[ee];if(yt(r))e[I]|=2;else{let o=r[ee][de];n[de]!==o&&(e[I]|=2)}t===null?e[Dn]=[n]:t.push(n)}var $t=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,t=n[D];return so(t,n,t.firstChild,[])}constructor(n,t){this._lView=n,this._cdRefInjectingView=t}get context(){return this._lView[Z]}set context(n){this._lView[Z]=n}get destroyed(){return En(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[ee];if($e(n)){let t=n[qr],r=t?t.indexOf(this):-1;r>-1&&(ao(n,r),Wr(t,r))}this._attachedToViewContainer=!1}Cs(this._lView[D],this._lView)}onDestroy(n){vc(this._lView,n)}markForCheck(){tu(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[I]&=-129}reattach(){Hi(this._lView),this._lView[I]|=128}detectChanges(){this._lView[I]|=1024,Lh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Jn(this._lView),t=this._lView[Pt];t!==null&&!n&&Yl(t,this._lView),yh(this._lView[D],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=n;let t=Jn(this._lView),r=this._lView[Pt];r!==null&&!t&&$h(r,this._lView),Hi(this._lView)}};var Ee=(()=>{class e{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=Ab;constructor(t,r,o){this._declarationLView=t,this._declarationTContainer=r,this.elementRef=o}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,r){return this.createEmbeddedViewImpl(t,r)}createEmbeddedViewImpl(t,r,o){let i=ho(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:r,dehydratedView:o});return new $t(i)}}return e})();function Ab(){return Ss(ne(),b())}function Ss(e,n){return e.type&4?new Ee(n,e,pr(e,n)):null}function gr(e,n,t,r,o){let i=e.data[n];if(i===null)i=xb(e,n,t,r,o),wf()&&(i.flags|=32);else if(i.type&64){i.type=t,i.value=r,i.attrs=o;let s=Ef();i.injectorIndex=s===null?-1:s.injectorIndex}return er(i,!0),i}function xb(e,n,t,r,o){let i=wc(),s=Tc(),a=s?i:i&&i.parent,c=e.data[n]=Rb(e,a,t,n,r,o);return Nb(e,c,i,s),c}function Nb(e,n,t,r){e.firstChild===null&&(e.firstChild=n),t!==null&&(r?t.child==null&&n.parent!==null&&(t.child=n):t.next===null&&(t.next=n,n.prev=t))}function Rb(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return Ec()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,controlDirectiveIndex:-1,customControlIndex:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function kb(e){let n=e[lc]??[],r=e[ee][V],o=[];for(let i of n)i.data[Zp]!==void 0?o.push(i):Ob(i,r);e[lc]=o}function Ob(e,n){let t=0,r=e.firstChild;if(r){let o=e.data[qp];for(;t<o;){let i=r.nextSibling;ch(n,r,!1),r=i,t++}}}var Fb=()=>null,Lb=()=>null;function us(e,n){return Fb(e,n)}function zh(e,n,t){return Lb(e,n,t)}var Wh=class{},As=class{},pl=class{resolveComponentFactory(n){throw new E(917,!1)}},xs=class{static NULL=new pl},Re=class{},Gt=(()=>{class e{destroyNode=null;static __NG_ELEMENT_ID__=()=>Pb()}return e})();function Pb(){let e=b(),n=ne(),t=Ne(n.index,e);return(yt(t)?t:e)[V]}var Gh=(()=>{class e{static \u0275prov=v({token:e,providedIn:"root",factory:()=>null})}return e})();var ns={},hl=class{injector;parentInjector;constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){let o=this.injector.get(n,ns,r);return o!==ns||t===ns?o:this.parentInjector.get(n,t,r)}};function ds(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(n!==null)for(let s=0;s<n.length;s++){let a=n[s];if(typeof a=="number")i=a;else if(i==1)o=Ai(o,a);else if(i==2){let c=a,l=n[++s];r=Ai(r,c+": "+l+";")}}t?e.styles=r:e.stylesWithoutHost=r,t?e.classes=o:e.classesWithoutHost=o}function ct(e,n=0){let t=b();if(t===null)return M(e,n);let r=ne();return Pp(r,t,ie(e),n)}function qh(e,n,t,r,o){let i=r===null?null:{"":-1},s=o(e,t);if(s!==null){let a=s,c=null,l=null;for(let u of s)if(u.resolveHostDirectives!==null){[a,c,l]=u.resolveHostDirectives(s);break}Vb(e,n,t,a,i,c,l)}i!==null&&r!==null&&jb(t,r,i)}function jb(e,n,t){let r=e.localNames=[];for(let o=0;o<n.length;o+=2){let i=t[n[o+1]];if(i==null)throw new E(-301,!1);r.push(n[o],i)}}function Bb(e,n,t){n.componentOffset=t,(e.components??=[]).push(n.index)}function Vb(e,n,t,r,o,i,s){let a=r.length,c=null;for(let p=0;p<a;p++){let f=r[p];c===null&&ot(f)&&(c=f,Bb(e,t,p)),Yc(cs(t,n),e,f.type)}Gb(t,e.data.length,a),c?.viewProvidersResolver&&c.viewProvidersResolver(c);for(let p=0;p<a;p++){let f=r[p];f.providersResolver&&f.providersResolver(f)}let l=!1,u=!1,d=hh(e,n,a,null);a>0&&(t.directiveToIndex=new Map);for(let p=0;p<a;p++){let f=r[p];if(t.mergedAttrs=sr(t.mergedAttrs,f.hostAttrs),Ub(e,t,n,d,f),Wb(d,f,o),s!==null&&s.has(f)){let[_,w]=s.get(f);t.directiveToIndex.set(f.type,[d,_+t.directiveStart,w+t.directiveStart])}else(i===null||!i.has(f))&&t.directiveToIndex.set(f.type,d);f.contentQueries!==null&&(t.flags|=4),(f.hostBindings!==null||f.hostAttrs!==null||f.hostVars!==0)&&(t.flags|=64);let m=f.type.prototype;!l&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks??=[]).push(t.index),l=!0),!u&&(m.ngOnChanges||m.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(t.index),u=!0),d++}Hb(e,t,i)}function Hb(e,n,t){for(let r=n.directiveStart;r<n.directiveEnd;r++){let o=e.data[r];if(t===null||!t.has(o))cp(0,n,o,r),cp(1,n,o,r),up(n,r,!1);else{let i=t.get(o);lp(0,n,i,r),lp(1,n,i,r),up(n,r,!0)}}}function cp(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s;e===0?s=n.inputs??={}:s=n.outputs??={},s[i]??=[],s[i].push(r),Zh(n,i)}}function lp(e,n,t,r){let o=e===0?t.inputs:t.outputs;for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],a;e===0?a=n.hostDirectiveInputs??={}:a=n.hostDirectiveOutputs??={},a[s]??=[],a[s].push(r,i),Zh(n,s)}}function Zh(e,n){n==="class"?e.flags|=8:n==="style"&&(e.flags|=16)}function up(e,n,t){let{attrs:r,inputs:o,hostDirectiveInputs:i}=e;if(r===null||!t&&o===null||t&&i===null||$l(e)){e.initialInputs??=[],e.initialInputs.push(null);return}let s=null,a=0;for(;a<r.length;){let c=r[a];if(c===0){a+=4;continue}else if(c===5){a+=2;continue}else if(typeof c=="number")break;if(!t&&o.hasOwnProperty(c)){let l=o[c];for(let u of l)if(u===n){s??=[],s.push(c,r[a+1]);break}}else if(t&&i.hasOwnProperty(c)){let l=i[c];for(let u=0;u<l.length;u+=2)if(l[u]===n){s??=[],s.push(l[u+1],r[a+1]);break}}a+=2}e.initialInputs??=[],e.initialInputs.push(s)}function Ub(e,n,t,r,o){e.data[r]=o;let i=o.factory||(o.factory=Rt(o.type,!0)),s=new Tn(i,ot(o),ct,null);e.blueprint[r]=s,t[r]=s,$b(e,n,r,hh(e,t,o.hostVars,se),o)}function $b(e,n,t,r,o){let i=o.hostBindings;if(i){let s=e.hostBindingOpCodes;s===null&&(s=e.hostBindingOpCodes=[]);let a=~n.index;zb(s)!=a&&s.push(a),s.push(t,r,i)}}function zb(e){let n=e.length;for(;n>0;){let t=e[--n];if(typeof t=="number"&&t<0)return t}return 0}function Wb(e,n,t){if(t){if(n.exportAs)for(let r=0;r<n.exportAs.length;r++)t[n.exportAs[r]]=e;ot(n)&&(t[""]=e)}}function Gb(e,n,t){e.flags|=1,e.directiveStart=n,e.directiveEnd=n+t,e.providerIndexes=n}function Qh(e,n,t,r,o,i,s,a){let c=n[D],l=c.consts,u=De(l,s),d=gr(c,e,t,r,u);return i&&qh(c,n,d,De(l,a),o),d.mergedAttrs=sr(d.mergedAttrs,d.attrs),d.attrs!==null&&ds(d,d.attrs,!1),d.mergedAttrs!==null&&ds(d,d.mergedAttrs,!0),c.queries!==null&&c.queries.elementStart(c,d),d}function Yh(e,n){Sp(e,n),uc(n)&&e.queries.elementEnd(n)}function qb(e,n,t,r,o,i){let s=n.consts,a=De(s,o),c=gr(n,e,t,r,a);if(c.mergedAttrs=sr(c.mergedAttrs,c.attrs),i!=null){let l=De(s,i);c.localNames=[];for(let u=0;u<l.length;u+=2)c.localNames.push(l[u],-1)}return c.attrs!==null&&ds(c,c.attrs,!1),c.mergedAttrs!==null&&ds(c,c.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,c),c}function Kh(e,n,t){return e[n]=t}function Zb(e,n){return e[n]}function ve(e,n,t){if(t===se)return!1;let r=e[n];return Object.is(r,t)?!1:(e[n]=t,!0)}function Xh(e,n,t,r){let o=ve(e,n,t);return ve(e,n+1,r)||o}function Qb(e,n,t,r,o){let i=Xh(e,n,t,r);return ve(e,n+2,o)||i}function rs(e,n,t){return function r(o){let i=rt(e)?Ne(e.index,n):n;tu(i,5);let s=n[Z],a=dp(n,s,t,o),c=r.__ngNextListenerFn__;for(;c;)a=dp(n,s,c,o)&&a,c=c.__ngNextListenerFn__;return a}}function dp(e,n,t,r){let o=y(null);try{return L(k.OutputStart,n,t),t(r)!==!1}catch(i){return fb(e,i),!1}finally{L(k.OutputEnd,n,t),y(o)}}function Jh(e,n,t,r,o,i,s,a){let c=Zr(e),l=!1,u=null;if(!r&&c&&(u=Kb(n,t,i,e.index)),u!==null){let d=u.__ngLastListenerFn__||u;d.__ngNextListenerFn__=s,u.__ngLastListenerFn__=s,l=!0}else{let d=xe(e,t),p=r?r(d):d;Yy(t,p,i,a);let f=o.listen(p,i,a);if(!Yb(i)){let m=r?_=>r(Ae(_[e.index])):e.index;em(m,n,t,i,a,f,!1)}}return l}function Yb(e){return e.startsWith("animation")||e.startsWith("transition")}function Kb(e,n,t,r){let o=e.cleanup;if(o!=null)for(let i=0;i<o.length-1;i+=2){let s=o[i];if(s===t&&o[i+1]===r){let a=n[Kn],c=o[i+2];return a&&a.length>c?a[c]:null}typeof s=="string"&&(i+=2)}return null}function em(e,n,t,r,o,i,s){let a=n.firstCreatePass?_c(n):null,c=yc(t),l=c.length;c.push(o,i),a&&a.push(r,e,l,(l+1)*(s?-1:1))}function fp(e,n,t,r,o,i){let s=n[t],a=n[D],l=a.data[t].outputs[r],d=s[l].subscribe(i);em(e.index,a,n,o,i,d,!0)}var ml=Symbol("BINDING");function tm(e){return e.debugInfo?.className||e.type.name||null}var gl=class extends xs{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let t=Ft(n);return new lr(t,this.ngModule)}};function Xb(e){return Object.keys(e).map(n=>{let[t,r,o]=e[n],i={propName:t,templateName:n,isSignal:(r&Ds.SignalBased)!==0};return o&&(i.transform=o),i})}function Jb(e){return Object.keys(e).map(n=>({propName:e[n],templateName:n}))}function eD(e,n,t){let r=n instanceof ue?n:n?.injector;return r&&e.getStandaloneInjector!==null&&(r=e.getStandaloneInjector(r)||r),r?new hl(t,r):t}function tD(e){let n=e.get(Re,null);if(n===null)throw new E(407,!1);let t=e.get(Gh,null),r=e.get(mt,null),o=e.get(Ct,null,{optional:!0});return{rendererFactory:n,sanitizer:t,changeDetectionScheduler:r,ngReflect:!1,tracingService:o}}function nD(e,n){let t=nm(e);return sh(n,t,t==="svg"?dc:t==="math"?hf:null)}function nm(e){return(e.selectors[0][0]||"div").toLowerCase()}var lr=class extends As{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=Xb(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=Jb(this.componentDef.outputs),this.cachedOutputs}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=k_(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!t}create(n,t,r,o,i,s){L(k.DynamicComponentStart);let a=y(null);try{let c=this.componentDef,l=eD(c,o||this.ngModule,n),u=tD(l),d=u.tracingService;return d&&d.componentCreate?d.componentCreate(tm(c),()=>this.createComponentRef(u,l,t,r,i,s)):this.createComponentRef(u,l,t,r,i,s)}finally{y(a)}}createComponentRef(n,t,r,o,i,s){let a=this.componentDef,c=rD(o,a,s,i),l=n.rendererFactory.createRenderer(null,a),u=o?rb(l,o,a.encapsulation,t):nD(a,l),d=s?.some(pp)||i?.some(m=>typeof m!="function"&&m.bindings.some(pp)),p=Wl(null,c,null,512|ph(a),null,null,n,l,t,null,Kp(u,t,!0));p[q]=u,zi(p);let f=null;try{let m=Qh(q,p,2,"#host",()=>c.directiveRegistry,!0,0);lh(l,u,m),ar(u,p),Jl(c,p,m),Jp(c,m,p),Yh(c,m),r!==void 0&&iD(m,this.ngContentSelectors,r),f=Ne(m.index,p),p[Z]=f[Z],eu(c,p,null)}catch(m){throw f!==null&&Xc(f),Xc(p),m}finally{L(k.DynamicComponentEnd),Wi()}return new fs(this.componentType,p,!!d)}};function rD(e,n,t,r){let o=e?["ng-version","21.2.9"]:O_(n.selectors[0]),i=null,s=null,a=0;if(t)for(let u of t)a+=u[ml].requiredVars,u.create&&(u.targetIdx=0,(i??=[]).push(u)),u.update&&(u.targetIdx=0,(s??=[]).push(u));if(r)for(let u=0;u<r.length;u++){let d=r[u];if(typeof d!="function")for(let p of d.bindings){a+=p[ml].requiredVars;let f=u+1;p.create&&(p.targetIdx=f,(i??=[]).push(p)),p.update&&(p.targetIdx=f,(s??=[]).push(p))}}let c=[n];if(r)for(let u of r){let d=typeof u=="function"?u:u.type,p=Ka(d);c.push(p)}return zl(0,null,oD(i,s),1,a,c,null,null,null,[o],null)}function oD(e,n){return!e&&!n?null:t=>{if(t&1&&e)for(let r of e)r.create();if(t&2&&n)for(let r of n)r.update()}}function pp(e){let n=e[ml].kind;return n==="input"||n==="twoWay"}var fs=class extends Wh{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=Bi(t[D],q),this.location=pr(this._tNode,t),this.instance=Ne(this._tNode.index,t)[Z],this.hostView=this.changeDetectorRef=new $t(t,void 0),this.componentType=n}setInput(n,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(n)&&Object.is(this.previousInputValues.get(n),t))return;let o=this._rootLView,i=Ms(r,o[D],o,n,t);this.previousInputValues.set(n,t);let s=Ne(r.index,o);tu(s,1)}get injector(){return new wn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function iD(e,n,t){let r=e.projection=[];for(let o=0;o<n.length;o++){let i=t[o];r.push(i!=null&&i.length?Array.from(i):null)}}var Oe=(()=>{class e{static __NG_ELEMENT_ID__=sD}return e})();function sD(){let e=ne();return rm(e,b())}var vl=class e extends Oe{_lContainer;_hostTNode;_hostLView;constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return pr(this._hostTNode,this._hostLView)}get injector(){return new wn(this._hostTNode,this._hostLView)}get parentInjector(){let n=kl(this._hostTNode,this._hostLView);if(Np(n)){let t=ss(n,this._hostLView),r=is(n),o=t[D].data[r+8];return new wn(o,t)}else return new wn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let t=hp(this._lContainer);return t!==null&&t[n]||null}get length(){return this._lContainer.length-Q}createEmbeddedView(n,t,r){let o,i;typeof r=="number"?o=r:r!=null&&(o=r.index,i=r.injector);let s=us(this._lContainer,n.ssrId),a=n.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(a,o,cr(this._hostTNode,s)),a}createComponent(n,t,r,o,i,s,a){let c=n&&!Cy(n),l;if(c)l=t;else{let w=t||{};l=w.index,r=w.injector,o=w.projectableNodes,i=w.environmentInjector||w.ngModuleRef,s=w.directives,a=w.bindings}let u=c?n:new lr(Ft(n)),d=r||this.parentInjector;if(!i&&u.ngModule==null){let S=(c?d:this.parentInjector).get(ue,null);S&&(i=S)}let p=Ft(u.componentType??{}),f=us(this._lContainer,p?.id??null),m=f?.firstChild??null,_=u.create(d,o,m,i,s,a);return this.insertImpl(_.hostView,l,cr(this._hostTNode,f)),_}insert(n,t){return this.insertImpl(n,t,!0)}insertImpl(n,t,r){let o=n._lView;if(gf(o)){let a=this.indexOf(n);if(a!==-1)this.detach(a);else{let c=o[ee],l=new e(c,c[me],c[ee]);l.detach(l.indexOf(n))}}let i=this._adjustIndex(t),s=this._lContainer;return mo(s,o,i,r),n.attachToViewContainerRef(),tc(Hc(s),i,n),n}move(n,t){return this.insert(n,t)}indexOf(n){let t=hp(this._lContainer);return t!==null?t.indexOf(n):-1}remove(n){let t=this._adjustIndex(n,-1),r=ao(this._lContainer,t);r&&(Wr(Hc(this._lContainer),t),Cs(r[D],r))}detach(n){let t=this._adjustIndex(n,-1),r=ao(this._lContainer,t);return r&&Wr(Hc(this._lContainer),t)!=null?new $t(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function hp(e){return e[qr]}function Hc(e){return e[qr]||(e[qr]=[])}function rm(e,n){let t,r=n[e.index];return $e(r)?t=r:(t=Vh(r,n,null,e),n[e.index]=t,Gl(n,t)),cD(t,n,e,r),new vl(t,e,n)}function aD(e,n){let t=e[V],r=t.createComment(""),o=xe(n,e),i=t.parentNode(o);return ls(t,i,r,t.nextSibling(o),!1),r}var cD=dD,lD=()=>!1;function uD(e,n,t){return lD(e,n,t)}function dD(e,n,t,r){if(e[Bt])return;let o;t.type&8?o=Ae(r):o=aD(n,t),e[Bt]=o}var yl=class e{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},_l=class e{queries;constructor(n=[]){this.queries=n}createEmbeddedView(n){let t=n.queries;if(t!==null){let r=n.contentQueries!==null?n.contentQueries[0]:t.length,o=[];for(let i=0;i<r;i++){let s=t.getByIndex(i),a=this.queries[s.indexInDeclarationView];o.push(a.clone())}return new e(o)}return null}insertView(n){this.dirtyQueriesWithMatches(n)}detachView(n){this.dirtyQueriesWithMatches(n)}finishViewCreation(n){this.dirtyQueriesWithMatches(n)}dirtyQueriesWithMatches(n){for(let t=0;t<this.queries.length;t++)ru(n,t).matches!==null&&this.queries[t].setDirty()}},ps=class{flags;read;predicate;constructor(n,t,r=null){this.flags=t,this.read=r,typeof n=="string"?this.predicate=gD(n):this.predicate=n}},bl=class e{queries;constructor(n=[]){this.queries=n}elementStart(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(n,t)}elementEnd(n){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(n)}embeddedTView(n){let t=null;for(let r=0;r<this.length;r++){let o=t!==null?t.length:0,i=this.getByIndex(r).embeddedTView(n,o);i&&(i.indexInDeclarationView=r,t!==null?t.push(i):t=[i])}return t!==null?new e(t):null}template(n,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(n,t)}getByIndex(n){return this.queries[n]}get length(){return this.queries.length}track(n){this.queries.push(n)}},Dl=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(n,t=-1){this.metadata=n,this._declarationNodeIndex=t}elementStart(n,t){this.isApplyingToNode(t)&&this.matchTNode(n,t)}elementEnd(n){this._declarationNodeIndex===n.index&&(this._appliesToNextNode=!1)}template(n,t){this.elementStart(n,t)}embeddedTView(n,t){return this.isApplyingToNode(n)?(this.crossesNgTemplate=!0,this.addMatch(-n.index,t),new e(this.metadata)):null}isApplyingToNode(n){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,r=n.parent;for(;r!==null&&r.type&8&&r.index!==t;)r=r.parent;return t===(r!==null?r.index:-1)}return this._appliesToNextNode}matchTNode(n,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let o=0;o<r.length;o++){let i=r[o];this.matchTNodeWithReadOption(n,t,fD(t,i)),this.matchTNodeWithReadOption(n,t,ts(t,n,i,!1,!1))}else r===Ee?t.type&4&&this.matchTNodeWithReadOption(n,t,-1):this.matchTNodeWithReadOption(n,t,ts(t,n,r,!1,!1))}matchTNodeWithReadOption(n,t,r){if(r!==null){let o=this.metadata.read;if(o!==null)if(o===z||o===Oe||o===Ee&&t.type&4)this.addMatch(t.index,-2);else{let i=ts(t,n,o,!1,!1);i!==null&&this.addMatch(t.index,i)}else this.addMatch(t.index,r)}}addMatch(n,t){this.matches===null?this.matches=[n,t]:this.matches.push(n,t)}};function fD(e,n){let t=e.localNames;if(t!==null){for(let r=0;r<t.length;r+=2)if(t[r]===n)return t[r+1]}return null}function pD(e,n){return e.type&11?pr(e,n):e.type&4?Ss(e,n):null}function hD(e,n,t,r){return t===-1?pD(n,e):t===-2?mD(e,n,r):oo(e,e[D],t,n)}function mD(e,n,t){if(t===z)return pr(n,e);if(t===Ee)return Ss(n,e);if(t===Oe)return rm(n,e)}function om(e,n,t,r){let o=n[nt].queries[r];if(o.matches===null){let i=e.data,s=t.matches,a=[];for(let c=0;s!==null&&c<s.length;c+=2){let l=s[c];if(l<0)a.push(null);else{let u=i[l];a.push(hD(n,u,s[c+1],t.metadata.read))}}o.matches=a}return o.matches}function El(e,n,t,r){let o=e.queries.getByIndex(t),i=o.matches;if(i!==null){let s=om(e,n,o,t);for(let a=0;a<i.length;a+=2){let c=i[a];if(c>0)r.push(s[a/2]);else{let l=i[a+1],u=n[-c];for(let d=Q;d<u.length;d++){let p=u[d];p[Pt]===p[ee]&&El(p[D],p,l,r)}if(u[Dn]!==null){let d=u[Dn];for(let p=0;p<d.length;p++){let f=d[p];El(f[D],f,l,r)}}}}}return r}function nu(e,n){return e[nt].queries[n].queryList}function im(e,n,t){let r=new bt((t&4)===4);return _f(e,n,r,r.destroy),(n[nt]??=new _l).queries.push(new yl(r))-1}function sm(e,n,t){let r=$();return r.firstCreatePass&&(cm(r,new ps(e,n,t),-1),(n&2)===2&&(r.staticViewQueries=!0)),im(r,b(),n)}function am(e,n,t,r){let o=$();if(o.firstCreatePass){let i=ne();cm(o,new ps(n,t,r),i.index),vD(o,e),(t&2)===2&&(o.staticContentQueries=!0)}return im(o,b(),t)}function gD(e){return e.split(",").map(n=>n.trim())}function cm(e,n,t){e.queries===null&&(e.queries=new bl),e.queries.track(new Dl(n,t))}function vD(e,n){let t=e.contentQueries||(e.contentQueries=[]),r=t.length?t[t.length-1]:-1;n!==r&&t.push(e.queries.length-1,n)}function ru(e,n){return e.queries.getByIndex(n)}function lm(e,n){let t=e[D],r=ru(t,n);return r.crossesNgTemplate?El(t,e,n,[]):om(t,e,r,n)}function um(e,n,t){let r,o=Nr(()=>{r._dirtyCounter();let i=yD(r,e);if(n&&i===void 0)throw new E(-951,!1);return i});return r=o[J],r._dirtyCounter=We(0),r._flatValue=void 0,o}function ou(e){return um(!0,!1,e)}function iu(e){return um(!0,!0,e)}function dm(e,n){let t=e[J];t._lView=b(),t._queryIndex=n,t._queryList=nu(t._lView,n),t._queryList.onDirty(()=>t._dirtyCounter.update(r=>r+1))}function yD(e,n){let t=e._lView,r=e._queryIndex;if(t===void 0||r===void 0||t[I]&4)return n?void 0:le;let o=nu(t,r),i=lm(t,r);return o.reset(i,Vp),n?o.first:o._changesDetected||e._flatValue===void 0?e._flatValue=o.toArray():e._flatValue}var zt=class{};var co=class extends zt{injector;componentFactoryResolver=new gl(this);instance=null;constructor(n){super();let t=new hn([...n.providers,{provide:zt,useValue:this},{provide:xs,useValue:this.componentFactoryResolver}],n.parent||Yn(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function fm(e,n,t=null){return new co({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}var _D=(()=>{class e{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let r=oc(!1,t.type),o=r.length>0?fm([r],this._injector,""):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=v({token:e,providedIn:"environment",factory:()=>new e(M(ue))})}return e})();function Ce(e){return uo(()=>{let n=pm(e),t=X(A({},n),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Fl.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:n.standalone?o=>o.get(_D).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ze.Emulated,styles:e.styles||le,_:null,schemas:e.schemas||null,tView:null,id:""});n.standalone&&Wt("NgStandalone"),hm(t);let r=e.dependencies;return t.directiveDefs=mp(r,bD),t.pipeDefs=mp(r,Jd),t.id=ID(t),t})}function bD(e){return Ft(e)||Ka(e)}function ae(e){return uo(()=>({type:e.type,bootstrap:e.bootstrap||le,declarations:e.declarations||le,imports:e.imports||le,exports:e.exports||le,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function DD(e,n){if(e==null)return Lt;let t={};for(let r in e)if(e.hasOwnProperty(r)){let o=e[r],i,s,a,c;Array.isArray(o)?(a=o[0],i=o[1],s=o[2]??i,c=o[3]||null):(i=o,s=o,a=Ds.None,c=null),t[i]=[r,a,c],n[i]=s}return t}function ED(e){if(e==null)return Lt;let n={};for(let t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n}function G(e){return uo(()=>{let n=pm(e);return hm(n),n})}function Ns(e){return{type:e.type,name:e.name,factory:null,pure:e.pure!==!1,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function pm(e){let n={};return{type:e.type,providersResolver:null,viewProvidersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputConfig:e.inputs||Lt,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:e.signals===!0,selectors:e.selectors||le,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,controlDef:null,inputs:DD(e.inputs,n),outputs:ED(e.outputs),debugInfo:null}}function hm(e){e.features?.forEach(n=>n(e))}function mp(e,n){return e?()=>{let t=typeof e=="function"?e():e,r=[];for(let o of t){let i=n(o);i!==null&&r.push(i)}return r}:null}function ID(e){let n=0,t=typeof e.consts=="function"?"":e.consts,r=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,t,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery];for(let i of r.join("|"))n=Math.imul(31,n)+i.charCodeAt(0)<<0;return n+=2147483648,"c"+n}function CD(e){return Object.getPrototypeOf(e.prototype).constructor}function Ye(e){let n=CD(e.type),t=!0,r=[e];for(;n;){let o;if(ot(e))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new E(903,!1);o=n.\u0275dir}if(o){if(t){r.push(o);let s=e;s.inputs=Uc(e.inputs),s.declaredInputs=Uc(e.declaredInputs),s.outputs=Uc(e.outputs);let a=o.hostBindings;a&&AD(e,a);let c=o.viewQuery,l=o.contentQueries;if(c&&MD(e,c),l&&SD(e,l),wD(e,o),Xd(e.outputs,o.outputs),ot(o)&&o.data.animation){let u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}}let i=o.features;if(i)for(let s=0;s<i.length;s++){let a=i[s];a&&a.ngInherit&&a(e),a===Ye&&(t=!1)}}n=Object.getPrototypeOf(n)}TD(r)}function wD(e,n){for(let t in n.inputs){if(!n.inputs.hasOwnProperty(t)||e.inputs.hasOwnProperty(t))continue;let r=n.inputs[t];r!==void 0&&(e.inputs[t]=r,e.declaredInputs[t]=n.declaredInputs[t])}}function TD(e){let n=0,t=null;for(let r=e.length-1;r>=0;r--){let o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=sr(o.hostAttrs,t=sr(t,o.hostAttrs))}}function Uc(e){return e===Lt?{}:e===le?[]:e}function MD(e,n){let t=e.viewQuery;t?e.viewQuery=(r,o)=>{n(r,o),t(r,o)}:e.viewQuery=n}function SD(e,n){let t=e.contentQueries;t?e.contentQueries=(r,o,i)=>{n(r,o,i),t(r,o,i)}:e.contentQueries=n}function AD(e,n){let t=e.hostBindings;t?e.hostBindings=(r,o)=>{n(r,o),t(r,o)}:e.hostBindings=n}function mm(e,n,t,r,o,i,s,a){if(t.firstCreatePass){e.mergedAttrs=sr(e.mergedAttrs,e.attrs);let u=e.tView=zl(2,e,o,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,e),u.queries=t.queries.embeddedTView(e))}a&&(e.flags|=a),er(e,!1);let c=ND(t,n,e,r);Gi()&&Kl(t,n,c,e),ar(c,n);let l=Vh(c,n,c,e);n[r+q]=l,Gl(n,l),uD(l,e,n)}function xD(e,n,t,r,o,i,s,a,c,l,u){let d=t+q,p;return n.firstCreatePass?(p=gr(n,d,4,s||null,a||null),Dc()&&qh(n,e,p,De(n.consts,l),Mh),Sp(n,p)):p=n.data[d],mm(p,e,n,t,r,o,i,c),Zr(p)&&Jl(n,e,p),l!=null&&Ts(e,p,u),p}function ur(e,n,t,r,o,i,s,a,c,l,u){let d=t+q,p;if(n.firstCreatePass){if(p=gr(n,d,4,s||null,a||null),l!=null){let f=De(n.consts,l);p.localNames=[];for(let m=0;m<f.length;m+=2)p.localNames.push(f[m],-1)}}else p=n.data[d];return mm(p,e,n,t,r,o,i,c),l!=null&&Ts(e,p,u),p}function go(e,n,t,r,o,i,s,a){let c=b(),l=$(),u=De(l.consts,i);return xD(c,l,e,n,t,r,o,u,void 0,s,a),go}function Rs(e,n,t,r,o,i,s,a){let c=b(),l=$(),u=De(l.consts,i);return ur(c,l,e,n,t,r,o,u,void 0,s,a),Rs}var ND=RD;function RD(e,n,t,r){return qi(!0),n[V].createComment("")}function vr(e){return typeof e=="function"&&e[J]!==void 0}function su(e){return vr(e)&&typeof e.set=="function"}var au=new g("");function ks(e){return!!e&&typeof e.then=="function"}function cu(e){return!!e&&typeof e.subscribe=="function"}var gm=new g("");var lu=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r});appInits=h(gm,{optional:!0})??[];injector=h(U);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let i=Pi(this.injector,o);if(ks(i))t.push(i);else if(cu(i)){let s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}let r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),t.length===0&&r(),this.initialized=!0}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vm=new g("");function ym(){va(()=>{let e="";throw new E(600,e)})}function _m(e){return e.isBoundToModule}var kD=10;var qt=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=h(Cn);afterRenderManager=h(Is);zonelessEnabled=h(Xr);rootEffectScheduler=h(Zi);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new T;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=h(nr);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(Be(t=>!t))}constructor(){h(Ct,{optional:!0})}whenStable(){let t;return new Promise(r=>{t=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{t.unsubscribe()})}_injector=h(ue);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,r){return this.bootstrapImpl(t,r)}bootstrapImpl(t,r,o=U.NULL){return this._injector.get(R).run(()=>{L(k.BootstrapComponentStart);let s=t instanceof As;if(!this._injector.get(lu).done){let m="";throw new E(405,m)}let c;s?c=t:c=this._injector.get(xs).resolveComponentFactory(t),this.componentTypes.push(c.componentType);let l=_m(c)?void 0:this._injector.get(zt),u=r||c.selector,d=c.create(o,[],u,l),p=d.location.nativeElement,f=d.injector.get(au,null);return f?.registerApplication(p),d.onDestroy(()=>{this.detachView(d.hostView),ro(this.components,d),f?.unregisterApplication(p)}),this._loadComponent(d),L(k.BootstrapComponentEnd,d),d})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){L(k.ChangeDetectionStart),this.tracingSnapshot!==null?this.tracingSnapshot.run(Es.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw L(k.ChangeDetectionEnd),new E(101,!1);let t=y(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,y(t),this.afterTick.next(),L(k.ChangeDetectionEnd)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Re,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<kD;){L(k.ChangeDetectionSyncStart);try{this.synchronizeOnce()}finally{L(k.ChangeDetectionSyncEnd)}}}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let r=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:o}of this.allViews){if(!r&&!Qr(o))continue;let i=r&&!this.zonelessEnabled?0:1;Lh(o,i),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>Qr(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){let r=t;ro(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(o){this.internalErrorHandler(o)}this.components.push(t),this._injector.get(vm,[]).forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>ro(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new E(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function ro(e,n){let t=e.indexOf(n);t>-1&&e.splice(t,1)}function Os(e,n){let t=b(),r=_t();if(ve(t,r,n)){let o=$(),i=tr();if(Ms(i,o,t,e,n))rt(i)&&Th(t,i.index);else{let a=xe(i,t);Sh(t[V],a,null,i.value,e,n,null)}}return Os}function Ke(e,n,t,r){let o=b(),i=_t();if(ve(o,i,n)){let s=$(),a=tr();ub(a,o,e,n,t,r)}return Ke}function OD(){return b()[de][Z]}var Il=class{destroy(n){}updateValue(n,t){}swap(n,t){let r=Math.min(n,t),o=Math.max(n,t),i=this.detach(o);if(o-r>1){let s=this.detach(r);this.attach(r,i),this.attach(o,s)}else this.attach(r,i)}move(n,t){this.attach(t,this.detach(n))}};function $c(e,n,t,r,o){return e===t&&Object.is(n,r)?1:Object.is(o(e,n),o(t,r))?-1:0}function FD(e,n,t,r){let o,i,s=0,a=e.length-1,c=void 0;if(Array.isArray(n)){y(r);let l=n.length-1;for(y(null);s<=a&&s<=l;){let u=e.at(s),d=n[s],p=$c(s,u,s,d,t);if(p!==0){p<0&&e.updateValue(s,d),s++;continue}let f=e.at(a),m=n[l],_=$c(a,f,l,m,t);if(_!==0){_<0&&e.updateValue(a,m),a--,l--;continue}let w=t(s,u),S=t(a,f),K=t(s,d);if(Object.is(K,S)){let ft=t(l,m);Object.is(ft,w)?(e.swap(s,a),e.updateValue(a,m),l--,a--):e.move(a,s),e.updateValue(s,d),s++;continue}if(o??=new hs,i??=vp(e,s,a,t),Cl(e,o,s,K))e.updateValue(s,d),s++,a++;else if(i.has(K))o.set(w,e.detach(s)),a--;else{let ft=e.create(s,n[s]);e.attach(s,ft),s++,a++}}for(;s<=l;)gp(e,o,t,s,n[s]),s++}else if(n!=null){y(r);let l=n[Symbol.iterator]();y(null);let u=l.next();for(;!u.done&&s<=a;){let d=e.at(s),p=u.value,f=$c(s,d,s,p,t);if(f!==0)f<0&&e.updateValue(s,p),s++,u=l.next();else{o??=new hs,i??=vp(e,s,a,t);let m=t(s,p);if(Cl(e,o,s,m))e.updateValue(s,p),s++,a++,u=l.next();else if(!i.has(m))e.attach(s,e.create(s,p)),s++,a++,u=l.next();else{let _=t(s,d);o.set(_,e.detach(s)),a--}}}for(;!u.done;)gp(e,o,t,e.length,u.value),u=l.next()}for(;s<=a;)e.destroy(e.detach(a--));o?.forEach(l=>{e.destroy(l)})}function Cl(e,n,t,r){return n!==void 0&&n.has(r)?(e.attach(t,n.get(r)),n.delete(r),!0):!1}function gp(e,n,t,r,o){if(Cl(e,n,r,t(r,o)))e.updateValue(r,o);else{let i=e.create(r,o);e.attach(r,i)}}function vp(e,n,t,r){let o=new Set;for(let i=n;i<=t;i++)o.add(r(i,e.at(i)));return o}var hs=class{kvMap=new Map;_vMap=void 0;has(n){return this.kvMap.has(n)}delete(n){if(!this.has(n))return!1;let t=this.kvMap.get(n);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(n,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(n),!0}get(n){return this.kvMap.get(n)}set(n,t){if(this.kvMap.has(n)){let r=this.kvMap.get(n);this._vMap===void 0&&(this._vMap=new Map);let o=this._vMap;for(;o.has(r);)r=o.get(r);o.set(r,t)}else this.kvMap.set(n,t)}forEach(n){for(let[t,r]of this.kvMap)if(n(r,t),this._vMap!==void 0){let o=this._vMap;for(;o.has(r);)r=o.get(r),n(r,t)}}};function Fs(e,n,t,r,o,i,s,a){Wt("NgControlFlow");let c=b(),l=$(),u=De(l.consts,i);return ur(c,l,e,n,t,r,o,u,256,s,a),uu}function uu(e,n,t,r,o,i,s,a){Wt("NgControlFlow");let c=b(),l=$(),u=De(l.consts,i);return ur(c,l,e,n,t,r,o,u,512,s,a),uu}function Ls(e,n){Wt("NgControlFlow");let t=b(),r=_t(),o=t[r]!==se?t[r]:-1,i=o!==-1?ms(t,q+o):void 0,s=0;if(ve(t,r,e)){let a=y(null);try{if(i!==void 0&&Uh(i,s),e!==-1){let c=q+e,l=ms(t,c),u=Sl(t[D],c),d=zh(l,u,t),p=ho(t,u,n,{dehydratedView:d});mo(l,p,s,cr(u,d))}}finally{y(a)}}else if(i!==void 0){let a=Hh(i,s);a!==void 0&&(a[Z]=n)}}var wl=class{lContainer;$implicit;$index;constructor(n,t,r){this.lContainer=n,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-Q}};function LD(e){return e}function Ps(e,n){return n}var Tl=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,t,r){this.hasEmptyBlock=n,this.trackByFn=t,this.liveCollection=r}};function js(e,n,t,r,o,i,s,a,c,l,u,d,p){Wt("NgControlFlow");let f=b(),m=$(),_=c!==void 0,w=b(),S=a?s.bind(w[de][Z]):s,K=new Tl(_,S);w[q+e]=K,ur(f,m,e+1,n,t,r,o,De(m.consts,i),256),_&&ur(f,m,e+2,c,l,u,d,De(m.consts,p),512)}var Ml=class extends Il{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(n,t,r){super(),this.lContainer=n,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-Q}at(n){return this.getLView(n)[Z].$implicit}attach(n,t){let r=t[vn];this.needsIndexUpdate||=n!==this.length,mo(this.lContainer,t,n,cr(this.templateTNode,r)),PD(this.lContainer,n)}detach(n){return this.needsIndexUpdate||=n!==this.length-1,jD(this.lContainer,n),BD(this.lContainer,n)}create(n,t){let r=us(this.lContainer,this.templateTNode.tView.ssrId);return ho(this.hostLView,this.templateTNode,new wl(this.lContainer,t,n),{dehydratedView:r})}destroy(n){Cs(n[D],n)}updateValue(n,t){this.getLView(n)[Z].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[Z].$index=n}getLView(n){return VD(this.lContainer,n)}};function Bs(e){let n=y(null),t=ze();try{let r=b(),o=r[D],i=r[t],s=t+1,a=ms(r,s);if(i.liveCollection===void 0){let l=Sl(o,s);i.liveCollection=new Ml(a,r,l)}else i.liveCollection.reset();let c=i.liveCollection;if(FD(c,e,i.trackByFn,n),c.updateIndexes(),i.hasEmptyBlock){let l=_t(),u=c.length===0;if(ve(r,l,u)){let d=t+2,p=ms(r,d);if(u){let f=Sl(o,d),m=zh(p,f,r),_=ho(r,f,void 0,{dehydratedView:m});mo(p,_,0,cr(f,m))}else o.firstUpdatePass&&kb(p),Uh(p,0)}}}finally{y(n)}}function ms(e,n){return e[n]}function PD(e,n){if(e.length<=Q)return;let t=Q+n,r=e[t],o=r?r[jt]:void 0;if(r&&o&&o.detachedLeaveAnimationFns&&o.detachedLeaveAnimationFns.length>0){let i=r[gt];$_(i,o),Mn.delete(r[vt]),o.detachedLeaveAnimationFns=void 0}}function jD(e,n){if(e.length<=Q)return;let t=Q+n,r=e[t],o=r?r[jt]:void 0;o&&o.leave&&o.leave.size>0&&(o.detachedLeaveAnimationFns=[])}function BD(e,n){return ao(e,n)}function VD(e,n){return Hh(e,n)}function Sl(e,n){return Bi(e,n)}function lt(e,n,t){let r=b(),o=_t();if(ve(r,o,n)){let i=$(),s=tr();Ch(s,r,e,n,r[V],t)}return lt}function Al(e,n,t,r,o){Ms(n,e,t,o?"class":"style",r)}function fe(e,n,t,r){let o=b(),i=o[D],s=e+q,a=i.firstCreatePass?Qh(s,o,2,n,Mh,Dc(),t,r):i.data[s];if(rt(a)){let c=o[Ue].tracingService;if(c&&c.componentCreate){let l=i.data[a.directiveStart+a.componentOffset];return c.componentCreate(tm(l),()=>(yp(e,n,o,a,r),fe))}}return yp(e,n,o,a,r),fe}function yp(e,n,t,r,o){if(Ah(r,t,e,n,bm),Zr(r)){let i=t[D];Jl(i,t,r),Jp(i,r,t)}o!=null&&Ts(t,r)}function Fe(){let e=$(),n=ne(),t=xh(n);return e.firstCreatePass&&Yh(e,t),Ic(t)&&Cc(),bc(),t.classesWithoutHost!=null&&xy(t)&&Al(e,t,b(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&Ny(t)&&Al(e,t,b(),t.stylesWithoutHost,!1),Fe}function yr(e,n,t,r){return fe(e,n,t,r),Fe(),yr}function Vs(e,n,t,r){let o=b(),i=o[D],s=e+q,a=i.firstCreatePass?qb(s,i,2,n,t,r):i.data[s];return Ah(a,o,e,n,bm),r!=null&&Ts(o,a),Vs}function Hs(){let e=ne(),n=xh(e);return Ic(n)&&Cc(),bc(),Hs}function du(e,n,t,r){return Vs(e,n,t,r),Hs(),du}var bm=(e,n,t,r,o)=>(qi(!0),sh(n[V],r,Ff()));function Us(){return b()}function Dm(e,n,t){let r=b(),o=_t();if(ve(r,o,n)){let i=$(),s=tr();wh(s,r,e,n,r[V],t)}return Dm}var eo=void 0;function HD(e){let n=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return n===1&&t===0?1:5}var UD=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],eo,[["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"]],eo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm\u202Fa","h:mm:ss\u202Fa","h:mm:ss\u202Fa z","h:mm:ss\u202Fa zzzz"],["{1}, {0}",eo,eo,eo],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",HD],zc={};function $s(e){let n=$D(e),t=_p(n);if(t)return t;let r=n.split("-")[0];if(t=_p(r),t)return t;if(r==="en")return UD;throw new E(701,!1)}function _p(e){return e in zc||(zc[e]=Me.ng&&Me.ng.common&&Me.ng.common.locales&&Me.ng.common.locales[e]),zc[e]}var Rn=(function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e})(Rn||{});function $D(e){return e.toLowerCase().replace(/_/g,"-")}var vo="en-US";var zD=vo;function Em(e){typeof e=="string"&&(zD=e.toLowerCase().replace(/_/g,"-"))}function ut(e,n,t){let r=b(),o=$(),i=ne();return Cm(o,r,r[V],i,e,n,t),ut}function Im(e,n,t){let r=b(),o=$(),i=ne();return(i.type&3||t)&&Jh(i,o,r,t,r[V],e,n,rs(i,r,n)),Im}function Cm(e,n,t,r,o,i,s){let a=!0,c=null;if((r.type&3||s)&&(c??=rs(r,n,i),Jh(r,e,n,s,t,o,i,c)&&(a=!1)),a){let l=r.outputs?.[o],u=r.hostDirectiveOutputs?.[o];if(u&&u.length)for(let d=0;d<u.length;d+=2){let p=u[d],f=u[d+1];c??=rs(r,n,i),fp(r,n,p,f,o,c)}if(l&&l.length)for(let d of l)c??=rs(r,n,i),fp(r,n,d,o,o,c)}}function Xe(e=1){return Rf(e)}function WD(e,n){let t=null,r=S_(e);for(let o=0;o<n.length;o++){let i=n[o];if(i==="*"){t=o;continue}if(r===null?fh(e,i,!0):N_(r,i))return o}return t}function _r(e){let n=b()[de][me];if(!n.projection){let t=e?e.length:1,r=n.projection=sf(t,null),o=r.slice(),i=n.child;for(;i!==null;){if(i.type!==128){let s=e?WD(i,e):0;s!==null&&(o[s]?o[s].projectionNext=i:r[s]=i,o[s]=i)}i=i.next}}}function br(e,n=0,t,r,o,i){let s=b(),a=$(),c=r?e+1:null;c!==null&&ur(s,a,c,r,o,i,null,t);let l=gr(a,q+e,16,null,t||null);l.projection===null&&(l.projection=n),Mc();let d=!s[vn]||Ec();s[de][me].projection[l.projection]===null&&c!==null?GD(s,a,c):d&&!ys(l)&&eb(a,s,l)}function GD(e,n,t){let r=q+t,o=n.data[r],i=e[r],s=us(i,o.tView.ssrId),a=ho(e,o,void 0,{dehydratedView:s});mo(i,a,0,cr(o,s))}function Dr(e,n,t,r){return am(e,n,t,r),Dr}function Zt(e,n,t){return sm(e,n,t),Zt}function re(e){let n=b(),t=$(),r=$i();Kr(r+1);let o=ru(t,r);if(e.dirty&&mf(n)===((o.metadata.flags&2)===2)){if(o.matches===null)e.reset([]);else{let i=lm(n,r);e.reset(i,Vp),e.notifyOnChanges()}return!0}return!1}function oe(){return nu(b(),$i())}function wm(e,n,t,r,o){return dm(n,am(e,t,r,o)),wm}function Tm(e,n,t,r){return dm(e,sm(n,t,r)),Tm}function qD(e=1){Kr($i()+e)}function zs(e){let n=If();return pc(n,q+e)}function Xi(e,n){return e<<17|n<<2}function Sn(e){return e>>17&32767}function ZD(e){return(e&2)==2}function QD(e,n){return e&131071|n<<17}function xl(e){return e|2}function dr(e){return(e&131068)>>2}function Wc(e,n){return e&-131069|n<<2}function YD(e){return(e&1)===1}function Nl(e){return e|1}function KD(e,n,t,r,o,i){let s=i?n.classBindings:n.styleBindings,a=Sn(s),c=dr(s);e[r]=t;let l=!1,u;if(Array.isArray(t)){let d=t;u=d[1],(u===null||Zn(d,u)>0)&&(l=!0)}else u=t;if(o)if(c!==0){let p=Sn(e[a+1]);e[r+1]=Xi(p,a),p!==0&&(e[p+1]=Wc(e[p+1],r)),e[a+1]=QD(e[a+1],r)}else e[r+1]=Xi(a,0),a!==0&&(e[a+1]=Wc(e[a+1],r)),a=r;else e[r+1]=Xi(c,0),a===0?a=r:e[c+1]=Wc(e[c+1],r),c=r;l&&(e[r+1]=xl(e[r+1])),bp(e,u,r,!0),bp(e,u,r,!1),XD(n,u,e,r,i),s=Xi(a,c),i?n.classBindings=s:n.styleBindings=s}function XD(e,n,t,r,o){let i=o?e.residualClasses:e.residualStyles;i!=null&&typeof n=="string"&&Zn(i,n)>=0&&(t[r+1]=Nl(t[r+1]))}function bp(e,n,t,r){let o=e[t+1],i=n===null,s=r?Sn(o):dr(o),a=!1;for(;s!==0&&(a===!1||i);){let c=e[s],l=e[s+1];JD(c,n)&&(a=!0,e[s+1]=r?Nl(l):xl(l)),s=r?Sn(l):dr(l)}a&&(e[t+1]=r?xl(o):Nl(o))}function JD(e,n){return e===null||n==null||(Array.isArray(e)?e[1]:e)===n?!0:Array.isArray(e)&&typeof n=="string"?Zn(e,n)>=0:!1}var qe={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function eE(e){return e.substring(qe.key,qe.keyEnd)}function tE(e){return nE(e),Mm(e,Sm(e,0,qe.textEnd))}function Mm(e,n){let t=qe.textEnd;return t===n?-1:(n=qe.keyEnd=rE(e,qe.key=n,t),Sm(e,n,t))}function nE(e){qe.key=0,qe.keyEnd=0,qe.value=0,qe.valueEnd=0,qe.textEnd=e.length}function Sm(e,n,t){for(;n<t&&e.charCodeAt(n)<=32;)n++;return n}function rE(e,n,t){for(;n<t&&e.charCodeAt(n)>32;)n++;return n}function yo(e,n,t){return Am(e,n,t,!1),yo}function ge(e,n){return Am(e,n,null,!0),ge}function _o(e){iE(dE,oE,e,!0)}function oE(e,n){for(let t=tE(n);t>=0;t=Mm(n,t))Oi(e,eE(n),!0)}function Am(e,n,t,r){let o=b(),i=$(),s=Yr(2);if(i.firstUpdatePass&&Nm(i,e,s,r),n!==se&&ve(o,s,n)){let a=i.data[ze()];Rm(i,a,o,o[V],e,o[s+1]=pE(n,t),r,s)}}function iE(e,n,t,r){let o=$(),i=Yr(2);o.firstUpdatePass&&Nm(o,null,i,r);let s=b();if(t!==se&&ve(s,i,t)){let a=o.data[ze()];if(km(a,r)&&!xm(o,i)){let c=r?a.classesWithoutHost:a.stylesWithoutHost;c!==null&&(t=Ai(c,t||"")),Al(o,a,s,t,r)}else fE(o,a,s,s[V],s[i+1],s[i+1]=uE(e,n,t),r,i)}}function xm(e,n){return n>=e.expandoStartIndex}function Nm(e,n,t,r){let o=e.data;if(o[t+1]===null){let i=o[ze()],s=xm(e,t);km(i,r)&&n===null&&!s&&(n=!1),n=sE(o,i,n,r),KD(o,i,n,t,s,r)}}function sE(e,n,t,r){let o=Sf(e),i=r?n.residualClasses:n.residualStyles;if(o===null)(r?n.classBindings:n.styleBindings)===0&&(t=Gc(null,e,n,t,r),t=lo(t,n.attrs,r),i=null);else{let s=n.directiveStylingLast;if(s===-1||e[s]!==o)if(t=Gc(o,e,n,t,r),i===null){let c=aE(e,n,r);c!==void 0&&Array.isArray(c)&&(c=Gc(null,e,n,c[1],r),c=lo(c,n.attrs,r),cE(e,n,r,c))}else i=lE(e,n,r)}return i!==void 0&&(r?n.residualClasses=i:n.residualStyles=i),t}function aE(e,n,t){let r=t?n.classBindings:n.styleBindings;if(dr(r)!==0)return e[Sn(r)]}function cE(e,n,t,r){let o=t?n.classBindings:n.styleBindings;e[Sn(o)]=r}function lE(e,n,t){let r,o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i<o;i++){let s=e[i].hostAttrs;r=lo(r,s,t)}return lo(r,n.attrs,t)}function Gc(e,n,t,r,o){let i=null,s=t.directiveEnd,a=t.directiveStylingLast;for(a===-1?a=t.directiveStart:a++;a<s&&(i=n[a],r=lo(r,i.hostAttrs,o),i!==e);)a++;return e!==null&&(t.directiveStylingLast=a),r}function lo(e,n,t){let r=t?1:2,o=-1;if(n!==null)for(let i=0;i<n.length;i++){let s=n[i];typeof s=="number"?o=s:o===r&&(Array.isArray(e)||(e=e===void 0?[]:["",e]),Oi(e,s,t?!0:n[++i]))}return e===void 0?null:e}function uE(e,n,t){if(t==null||t==="")return le;let r=[],o=Qe(t);if(Array.isArray(o))for(let i=0;i<o.length;i++)e(r,o[i],!0);else if(o instanceof Set)for(let i of o)e(r,i,!0);else if(typeof o=="object")for(let i in o)o.hasOwnProperty(i)&&e(r,i,o[i]);else typeof o=="string"&&n(r,o);return r}function dE(e,n,t){let r=String(n);r!==""&&!r.includes(" ")&&Oi(e,r,t)}function fE(e,n,t,r,o,i,s,a){o===se&&(o=le);let c=0,l=0,u=0<o.length?o[0]:null,d=0<i.length?i[0]:null;for(;u!==null||d!==null;){let p=c<o.length?o[c+1]:void 0,f=l<i.length?i[l+1]:void 0,m=null,_;u===d?(c+=2,l+=2,p!==f&&(m=d,_=f)):d===null||u!==null&&u<d?(c+=2,m=u):(l+=2,m=d,_=f),m!==null&&Rm(e,n,t,r,m,_,s,a),u=c<o.length?o[c]:null,d=l<i.length?i[l]:null}}function Rm(e,n,t,r,o,i,s,a){if(!(n.type&3))return;let c=e.data,l=c[a+1],u=YD(l)?Dp(c,n,t,o,dr(l),s):void 0;if(!gs(u)){gs(i)||ZD(l)&&(i=Dp(c,null,t,o,a,s));let d=fc(ze(),t);nb(r,s,d,o,i)}}function Dp(e,n,t,r,o,i){let s=n===null,a;for(;o>0;){let c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=u===null,p=t[o+1];p===se&&(p=d?le:void 0);let f=d?Fi(p,r):u===r?p:void 0;if(l&&!gs(f)&&(f=Fi(c,r)),gs(f)&&(a=f,s))return a;let m=e[o+1];o=s?Sn(m):dr(m)}if(n!==null){let c=i?n.residualClasses:n.residualStyles;c!=null&&(a=Fi(c,r))}return a}function gs(e){return e!==void 0}function pE(e,n){return e==null||e===""||(typeof n=="string"?e=e+n:typeof e=="object"&&(e=Si(Qe(e)))),e}function km(e,n){return(e.flags&(n?8:16))!==0}function fu(e,n=""){let t=b(),r=$(),o=e+q,i=r.firstCreatePass?gr(r,o,1,n,null):r.data[o],s=hE(r,t,i,n);t[o]=s,Gi()&&Kl(r,t,s,i),er(i,!1)}var hE=(e,n,t,r)=>(qi(!0),g_(n[V],r));function mE(e,n,t,r=""){return ve(e,_t(),t)?n+tt(t)+r:se}function gE(e,n,t,r,o,i=""){let s=xc(),a=Xh(e,s,t,o);return Yr(2),a?n+tt(t)+r+tt(o)+i:se}function vE(e,n,t,r,o,i,s,a=""){let c=xc(),l=Qb(e,c,t,o,s);return Yr(3),l?n+tt(t)+r+tt(o)+i+tt(s)+a:se}function Ws(e){return pu("",e),Ws}function pu(e,n,t){let r=b(),o=mE(r,e,n,t);return o!==se&&hu(r,ze(),o),pu}function Om(e,n,t,r,o){let i=b(),s=gE(i,e,n,t,r,o);return s!==se&&hu(i,ze(),s),Om}function Fm(e,n,t,r,o,i,s){let a=b(),c=vE(a,e,n,t,r,o,i,s);return c!==se&&hu(a,ze(),c),Fm}function hu(e,n,t){let r=fc(n,e);v_(e[V],r,t)}function Lm(e,n,t){su(n)&&(n=n());let r=b(),o=_t();if(ve(r,o,n)){let i=$(),s=tr();Ch(s,r,e,n,r[V],t)}return Lm}function yE(e,n){let t=su(e);return t&&e.set(n),t}function Pm(e,n){let t=b(),r=$(),o=ne();return Cm(r,t,t[V],o,e,n),Pm}function Ep(e,n,t){let r=$();r.firstCreatePass&&jm(n,r.data,r.blueprint,ot(e),t)}function jm(e,n,t,r,o){if(e=ie(e),Array.isArray(e))for(let i=0;i<e.length;i++)jm(e[i],n,t,r,o);else{let i=$(),s=b(),a=ne(),c=pn(e)?e:ie(e.provide),l=sc(e),u=a.providerIndexes&1048575,d=a.directiveStart,p=a.providerIndexes>>20;if(pn(e)||!e.multi){let f=new Tn(l,o,ct,null),m=Zc(c,n,o?u:u+p,d);m===-1?(Yc(cs(a,s),i,c),qc(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(f),s.push(f)):(t[m]=f,s[m]=f)}else{let f=Zc(c,n,u+p,d),m=Zc(c,n,u,u+p),_=f>=0&&t[f],w=m>=0&&t[m];if(o&&!w||!o&&!_){Yc(cs(a,s),i,c);let S=DE(o?bE:_E,t.length,o,r,l,e);!o&&w&&(t[m].providerFactory=S),qc(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(S),s.push(S)}else{let S=Bm(t[o?m:f],l,!o&&r);qc(i,e,f>-1?f:m,S)}!o&&r&&w&&t[m].componentProviders++}}}function qc(e,n,t,r){let o=pn(n),i=df(n);if(o||i){let c=(i?ie(n.useClass):n).prototype.ngOnDestroy;if(c){let l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){let u=l.indexOf(t);u===-1?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function Bm(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Zc(e,n,t,r){for(let o=t;o<r;o++)if(n[o]===e)return o;return-1}function _E(e,n,t,r,o){return Rl(this.multi,[])}function bE(e,n,t,r,o){let i=this.multi,s;if(this.providerFactory){let a=this.providerFactory.componentProviders,c=oo(r,r[D],this.providerFactory.index,o);s=c.slice(0,a),Rl(i,s);for(let l=a;l<c.length;l++)s.push(c[l])}else s=[],Rl(i,s);return s}function Rl(e,n){for(let t=0;t<e.length;t++){let r=e[t];n.push(r())}return n}function DE(e,n,t,r,o,i){let s=new Tn(e,t,ct,null);return s.multi=[],s.index=n,s.componentProviders=0,Bm(s,o,r&&!t),s}function Qt(e,n){return t=>{t.providersResolver=(r,o)=>Ep(r,o?o(e):e,!1),n&&(t.viewProvidersResolver=(r,o)=>Ep(r,o?o(n):n,!0))}}function EE(e,n){let t=Ac()+e,r=b();return r[t]===se?Kh(r,t,n()):Zb(r,t)}function IE(e,n){let t=e[n];return t===se?void 0:t}function CE(e,n,t,r,o,i){let s=n+t;return ve(e,s,o)?Kh(e,s+1,i?r.call(i,o):r(o)):IE(e,s+1)}function wE(e,n){let t=$(),r,o=e+q;t.firstCreatePass?(r=TE(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];let i=r.factory||(r.factory=Rt(r.type,!0)),s,a=he(ct);try{let c=as(!1),l=i();return as(c),hc(t,b(),o,l),l}finally{he(a)}}function TE(e,n){if(n)for(let t=n.length-1;t>=0;t--){let r=n[t];if(e===r.name)return r}}function ME(e,n,t){let r=e+q,o=b(),i=pc(o,r);return SE(o,r)?CE(o,Ac(),n,i.transform,t,i):i.transform(t)}function SE(e,n){return e[D].data[n].pure}function AE(e,n){return Ss(e,n)}var Vm=(()=>{class e{applicationErrorHandler=h(Cn);appRef=h(qt);taskService=h(nr);ngZone=h(R);zonelessEnabled=h(Xr);tracing=h(Ct,{optional:!0});zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new P;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Ur):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(h(Pc,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{let t=this.taskService.add();if(!this.runningTick&&(this.cleanup(),!this.zonelessEnabled||this.appRef.includeAllTestViews)){this.taskService.remove(t);return}this.switchToMicrotaskScheduler(),this.taskService.remove(t)})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()}))}switchToMicrotaskScheduler(){this.ngZone.runOutsideAngular(()=>{let t=this.taskService.add();this.useMicrotaskScheduler=!0,queueMicrotask(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})})}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 0:{this.appRef.dirtyFlags|=2;break}case 3:case 2:case 4:case 5:case 1:{this.appRef.dirtyFlags|=4;break}case 6:{this.appRef.dirtyFlags|=2;break}case 12:{this.appRef.dirtyFlags|=16;break}case 13:{this.appRef.dirtyFlags|=2;break}case 11:break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick())return;let r=this.useMicrotaskScheduler?Vf:kc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Ur+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 t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){this.applicationErrorHandler(r)}finally{this.taskService.remove(t),this.cleanup()}}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function xE(){return Wt("NgZoneless"),Li([...mu(),[]])}function mu(){return[{provide:mt,useExisting:Vm},{provide:R,useClass:$r},{provide:Xr,useValue:!0}]}function NE(){return typeof $localize<"u"&&$localize.locale||vo}var bo=new g("",{factory:()=>h(bo,{optional:!0,skipSelf:!0})||NE()});var Gs=class{destroyed=!1;listeners=null;errorHandler=h(Te,{optional:!0});destroyRef=h(it);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new E(953,!1);return(this.listeners??=[]).push(n),{unsubscribe:()=>{let t=this.listeners?.indexOf(n);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(n){if(this.destroyed){console.warn(mn(953,!1));return}if(this.listeners===null)return;let t=y(null);try{for(let r of this.listeners)try{r(n)}catch(o){this.errorHandler?.handleError(o)}}finally{y(t)}}};function gu(e){return qd(e)}function Hm(e,n){return Nr(e,n?.equal)}var Wm=Symbol("InputSignalNode#UNSET"),zE=X(A({},Rr),{transformFn:void 0,applyValueToInputSignal(e,n){Pn(e,n)}});function Gm(e,n){let t=Object.create(zE);t.value=e,t.transformFn=n?.transform;function r(){if(Xt(t),t.value===Wm){let o=null;throw new E(-950,o)}return t.value}return r[J]=t,r}var yu=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Ol(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}};function bP(e){return new Gs}function Um(e,n){return Gm(e,n)}function WE(e){return Gm(Wm,e)}var DP=(Um.required=WE,Um);function $m(e,n){return ou(n)}function GE(e,n){return iu(n)}var EP=($m.required=GE,$m);function zm(e,n){return ou(n)}function qE(e,n){return iu(n)}var IP=(zm.required=qE,zm);var _u=new g(""),ZE=new g("");function Do(e){return!e.moduleRef}function QE(e){let n=Do(e)?e.r3Injector:e.moduleRef.injector,t=n.get(R);return t.run(()=>{Do(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let r=n.get(Cn),o;if(t.runOutsideAngular(()=>{o=t.onError.subscribe({next:r})}),Do(e)){let i=()=>n.destroy(),s=e.platformInjector.get(_u);s.add(i),n.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else{let i=()=>e.moduleRef.destroy(),s=e.platformInjector.get(_u);s.add(i),e.moduleRef.onDestroy(()=>{ro(e.allPlatformModules,e.moduleRef),o.unsubscribe(),s.delete(i)})}return KE(r,t,()=>{let i=n.get(nr),s=i.add(),a=n.get(lu);return a.runInitializers(),a.donePromise.then(()=>{let c=n.get(bo,vo);if(Em(c||vo),!n.get(ZE,!0))return Do(e)?n.get(qt):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Do(e)){let u=n.get(qt);return e.rootComponent!==void 0&&u.bootstrap(e.rootComponent),u}else return YE?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{i.remove(s)})})})}var YE;function KE(e,n,t){try{let r=t();return ks(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e(r)),r}}var qs=null;function XE(e=[],n){return U.create({name:n,providers:[{provide:Gr,useValue:"platform"},{provide:_u,useValue:new Set([()=>qs=null])},...e]})}function JE(e=[]){if(qs)return qs;let n=XE(e);return qs=n,ym(),eI(n),n}function eI(e){let n=e.get(vs,null);Pi(e,()=>{n?.forEach(t=>t())})}var tI=1e4;var CP=tI-1e3;var Er=(()=>{class e{static __NG_ELEMENT_ID__=nI}return e})();function nI(e){return rI(ne(),b(),(e&16)===16)}function rI(e,n,t){if(rt(e)&&!t){let r=Ne(e.index,n);return new $t(r,r)}else if(e.type&175){let r=n[de];return new $t(r,n)}return null}function qm(e){let{rootComponent:n,appProviders:t,platformProviders:r,platformRef:o}=e;L(k.BootstrapApplicationStart);try{let i=o?.injector??JE(r),s=[mu(),Uf,...t||[]],a=new co({providers:s,parent:i,debugName:"",runEnvironmentInitializers:!1});return QE({r3Injector:a.injector,platformInjector:i,rootComponent:n})}catch(i){return Promise.reject(i)}finally{L(k.BootstrapApplicationEnd)}}function pe(e){return typeof e=="boolean"?e:e!=null&&e!=="false"}function Zs(e,n=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):n}var vu=Symbol("NOT_SET"),Zm=new Set,oI=X(A({},Rr),{kind:"afterRenderEffectPhase",consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:vu,cleanup:null,consumerMarkedDirty(){if(this.sequence.impl.executing){if(this.sequence.lastPhase===null||this.sequence.lastPhase<this.phase)return;this.sequence.erroredOrDestroyed=!0}this.sequence.scheduler.notify(7)},phaseFn(e){if(this.sequence.lastPhase=this.phase,!this.dirty)return this.signal;if(this.dirty=!1,this.value!==vu&&!Fn(this))return this.signal;try{for(let o of this.cleanup??Zm)o()}finally{this.cleanup?.clear()}let n=[];e!==void 0&&n.push(e),n.push(this.registerCleanupFn);let t=Mt(this),r;try{r=this.userFn.apply(null,n)}finally{Jt(this,t)}return(this.value===vu||!this.equal(this.value,r))&&(this.value=r,this.version++),this.signal}}),bu=class extends io{scheduler;lastPhase=null;nodes=[void 0,void 0,void 0,void 0];onDestroyFns=null;constructor(n,t,r,o,i,s=null){super(n,[void 0,void 0,void 0,void 0],r,!1,i.get(it),s),this.scheduler=o;for(let a of Zl){let c=t[a];if(c===void 0)continue;let l=Object.create(oI);l.sequence=this,l.phase=a,l.userFn=c,l.dirty=!0,l.signal=()=>(Xt(l),l.value),l.signal[J]=l,l.registerCleanupFn=u=>(l.cleanup??=new Set).add(u),this.nodes[a]=l,this.hooks[a]=u=>l.phaseFn(u)}}afterRun(){super.afterRun(),this.lastPhase=null}destroy(){if(this.onDestroyFns!==null)for(let n of this.onDestroyFns)n();super.destroy();for(let n of this.nodes)if(n)try{for(let t of n.cleanup??Zm)t()}finally{St(n)}}};function wP(e,n){let t=n?.injector??h(U),r=t.get(mt),o=t.get(Is),i=t.get(Ct,null,{optional:!0});o.impl??=t.get(Ql);let s=e;typeof s=="function"&&(s={mixedReadWrite:e});let a=t.get(rr,null,{optional:!0}),c=new bu(o.impl,[s.earlyRead,s.write,s.mixedReadWrite,s.read],a?.view,r,t,i?.snapshot(null));return o.impl.register(c),c}function Qs(e,n){let t=Ft(e),r=n.elementInjector||Yn();return new lr(t).create(r,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var Qm=null;function wt(){return Qm}function Du(e){Qm??=e}var Eo=class{},Ys=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>h(Ym),providedIn:"platform"})}return e})();var Ym=(()=>{class e extends Ys{_location;_history;_doc=h(H);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return wt().getBaseHref(this._doc)}onPopState(t){let r=wt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){let r=wt().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>new e,providedIn:"platform"})}return e})();function Jm(e,n){return e?n?e.endsWith("/")?n.startsWith("/")?e+n.slice(1):e+n:n.startsWith("/")?e+n:`${e}/${n}`:e:n}function Km(e){let n=e.search(/#|\?|$/);return e[n-1]==="/"?e.slice(0,n-1)+e.slice(n):e}function Yt(e){return e&&e[0]!=="?"?`?${e}`:e}var Ks=(()=>{class e{historyGo(t){throw new Error("")}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:()=>h(sI),providedIn:"root"})}return e})(),iI=new g(""),sI=(()=>{class e extends Ks{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,r){super(),this._platformLocation=t,this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??h(H).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return Jm(this._baseHref,t)}path(t=!1){let r=this._platformLocation.pathname+Yt(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+Yt(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+Yt(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(r){return new(r||e)(M(Ys),M(iI,8))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var eg=(()=>{class e{_subject=new T;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let r=this._locationStrategy.getBaseHref();this._basePath=lI(Km(Xm(r))),this._locationStrategy.onPopState(o=>{this._subject.next({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+Yt(r))}normalize(t){return e.stripTrailingSlash(cI(this._basePath,Xm(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Yt(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Yt(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)}),()=>{let r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r??void 0,complete:o??void 0})}static normalizeQueryParams=Yt;static joinWithSlash=Jm;static stripTrailingSlash=Km;static \u0275fac=function(r){return new(r||e)(M(Ks))};static \u0275prov=v({token:e,factory:()=>aI(),providedIn:"root"})}return e})();function aI(){return new eg(M(Ks))}function cI(e,n){if(!e||!n.startsWith(e))return n;let t=n.substring(e.length);return t===""||["/",";","?","#"].includes(t[0])?t:n}function Xm(e){return e.replace(/\/index.html$/,"")}function lI(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}var wu=(function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e})(wu||{});var dt={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 Ir(e,n){let t=$s(e),r=t[Rn.NumberSymbols][n];if(typeof r>"u"){if(n===dt.CurrencyDecimal)return t[Rn.NumberSymbols][dt.Decimal];if(n===dt.CurrencyGroup)return t[Rn.NumberSymbols][dt.Group]}return r}function rg(e,n){return $s(e)[Rn.NumberFormats][n]}var dI=/^(\d+)?\.((\d+)(-(\d+))?)?$/,tg=22,Xs=".",Io="0",fI=";",pI=",",Eu="#";function hI(e,n,t,r,o,i,s=!1){let a="",c=!1;if(!isFinite(e))a=Ir(t,dt.Infinity);else{let l=vI(e);s&&(l=gI(l));let u=n.minInt,d=n.minFrac,p=n.maxFrac;if(i){let K=i.match(dI);if(K===null)throw new E(2306,!1);let ft=K[1],fa=K[3],od=K[5];ft!=null&&(u=Iu(ft)),fa!=null&&(d=Iu(fa)),od!=null?p=Iu(od):fa!=null&&d>p&&(p=d)}yI(l,d,p);let f=l.digits,m=l.integerLen,_=l.exponent,w=[];for(c=f.every(K=>!K);m<u;m++)f.unshift(0);for(;m<0;m++)f.unshift(0);m>0?w=f.splice(m,f.length):(w=f,f=[0]);let S=[];for(f.length>=n.lgSize&&S.unshift(f.splice(-n.lgSize,f.length).join(""));f.length>n.gSize;)S.unshift(f.splice(-n.gSize,f.length).join(""));f.length&&S.unshift(f.join("")),a=S.join(Ir(t,r)),w.length&&(a+=Ir(t,o)+w.join("")),_&&(a+=Ir(t,dt.Exponential)+"+"+_)}return e<0&&!c?a=n.negPre+a+n.negSuf:a=n.posPre+a+n.posSuf,a}function og(e,n,t){let r=rg(n,wu.Decimal),o=mI(r,Ir(n,dt.MinusSign));return hI(e,o,n,dt.Group,dt.Decimal,t)}function mI(e,n="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=e.split(fI),o=r[0],i=r[1],s=o.indexOf(Xs)!==-1?o.split(Xs):[o.substring(0,o.lastIndexOf(Io)+1),o.substring(o.lastIndexOf(Io)+1)],a=s[0],c=s[1]||"";t.posPre=a.substring(0,a.indexOf(Eu));for(let u=0;u<c.length;u++){let d=c.charAt(u);d===Io?t.minFrac=t.maxFrac=u+1:d===Eu?t.maxFrac=u+1:t.posSuf+=d}let l=a.split(pI);if(t.gSize=l[1]?l[1].length:0,t.lgSize=l[2]||l[1]?(l[2]||l[1]).length:0,i){let u=o.length-t.posPre.length-t.posSuf.length,d=i.indexOf(Eu);t.negPre=i.substring(0,d).replace(/'/g,""),t.negSuf=i.slice(d+u).replace(/'/g,"")}else t.negPre=n+t.posPre,t.negSuf=t.posSuf;return t}function gI(e){if(e.digits[0]===0)return e;let n=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(n===0?e.digits.push(0,0):n===1&&e.digits.push(0),e.integerLen+=2),e}function vI(e){let n=Math.abs(e)+"",t=0,r,o,i,s,a;for((o=n.indexOf(Xs))>-1&&(n=n.replace(Xs,"")),(i=n.search(/e/i))>0?(o<0&&(o=i),o+=+n.slice(i+1),n=n.substring(0,i)):o<0&&(o=n.length),i=0;n.charAt(i)===Io;i++);if(i===(a=n.length))r=[0],o=1;else{for(a--;n.charAt(a)===Io;)a--;for(o-=i,r=[],s=0;i<=a;i++,s++)r[s]=Number(n.charAt(i))}return o>tg&&(r=r.splice(0,tg-1),t=o-1,o=1),{digits:r,exponent:t,integerLen:o}}function yI(e,n,t){if(n>t)throw new E(2307,!1);let r=e.digits,o=r.length-e.integerLen,i=Math.min(Math.max(n,o),t),s=i+e.integerLen,a=r[s];if(s>0){r.splice(Math.max(e.integerLen,s));for(let d=s;d<r.length;d++)r[d]=0}else{o=Math.max(0,o),e.integerLen=1,r.length=Math.max(1,s=i+1),r[0]=0;for(let d=1;d<s;d++)r[d]=0}if(a>=5)if(s-1<0){for(let d=0;d>s;d--)r.unshift(0),e.integerLen++;r.unshift(1),e.integerLen++}else r[s-1]++;for(;o<Math.max(0,i);o++)r.push(0);let c=i!==0,l=n+e.integerLen,u=r.reduceRight(function(d,p,f,m){return p=p+d,m[f]=p<10?p:p-10,c&&(m[f]===0&&f>=l?m.pop():c=!1),p>=10?1:0},0);u&&(r.unshift(u),e.integerLen++)}function Iu(e){let n=parseInt(e);if(isNaN(n))throw new E(2305,!1);return n}var Cu=/\s+/,ng=[],_I=(()=>{class e{_ngEl;_renderer;initialClasses=ng;rawClass;stateMap=new Map;constructor(t,r){this._ngEl=t,this._renderer=r}set klass(t){this.initialClasses=t!=null?t.trim().split(Cu):ng}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(Cu):t}ngDoCheck(){for(let r of this.initialClasses)this._updateState(r,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let r of t)this._updateState(r,!0);else if(t!=null)for(let r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){t=t.trim(),t.length>0&&t.split(Cu).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static \u0275fac=function(r){return new(r||e)(ct(z),ct(Gt))};static \u0275dir=G({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})();var bI=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;injector=h(U);constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this._getInjector()})}}_getInjector(){return this.ngTemplateOutletInjector==="outlet"?this.injector:this.ngTemplateOutletInjector??void 0}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,r,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,r,o):!1,get:(t,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static \u0275fac=function(r){return new(r||e)(ct(Oe))};static \u0275dir=G({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[An]})}return e})();function DI(e,n){return new E(2100,!1)}var EI=(()=>{class e{transform(t){return JSON.stringify(t,null,2)}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=Ns({name:"json",type:e,pure:!1})}return e})();var II=(()=>{class e{_locale;constructor(t){this._locale=t}transform(t,r,o){if(!CI(t))return null;o||=this._locale;try{let i=wI(t);return og(i,o,r)}catch(i){throw DI(e,i.message)}}static \u0275fac=function(r){return new(r||e)(ct(bo,16))};static \u0275pipe=Ns({name:"number",type:e,pure:!0})}return e})();function CI(e){return!(e==null||e===""||e!==e)}function wI(e){if(typeof e=="string"&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if(typeof e!="number")throw new E(2309,!1);return e}var ig=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=ae({type:e});static \u0275inj=te({})}return e})();function Tu(e,n){n=encodeURIComponent(n);for(let t of e.split(";")){let r=t.indexOf("="),[o,i]=r==-1?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}var Co=class{};var Mu="browser";function sg(e){return e===Mu}var wo=class{_doc;constructor(n){this._doc=n}manager},Js=(()=>{class e extends wo{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o,i){return t.addEventListener(r,o,i),()=>this.removeEventListener(t,r,o,i)}removeEventListener(t,r,o,i){return t.removeEventListener(r,o,i)}static \u0275fac=function(r){return new(r||e)(M(H))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),na=new g(""),Nu=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,r){this._zone=r,t.forEach(s=>{s.manager=this});let o=t.filter(s=>!(s instanceof Js));this._plugins=o.slice().reverse();let i=t.find(s=>s instanceof Js);i&&this._plugins.push(i)}addEventListener(t,r,o,i){return this._findPluginFor(r).addEventListener(t,r,o,i)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(t,r),r}static \u0275fac=function(r){return new(r||e)(M(na),M(R))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Su="ng-app-id";function ag(e){for(let n of e)n.remove()}function cg(e,n){let t=n.createElement("style");return t.textContent=e,t}function MI(e,n,t,r){let o=e.head?.querySelectorAll(`style[${Su}="${n}"],link[${Su}="${n}"]`);if(o)for(let i of o)i.removeAttribute(Su),i instanceof HTMLLinkElement?r.set(i.href.slice(i.href.lastIndexOf("/")+1),{usage:0,elements:[i]}):i.textContent&&t.set(i.textContent,{usage:0,elements:[i]})}function xu(e,n){let t=n.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),t}var Ru=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,MI(t,r,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,r){for(let o of t)this.addUsage(o,this.inline,cg);r?.forEach(o=>this.addUsage(o,this.external,xu))}removeStyles(t,r){for(let o of t)this.removeUsage(o,this.inline);r?.forEach(o=>this.removeUsage(o,this.external))}addUsage(t,r,o){let i=r.get(t);i?i.usage++:r.set(t,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,o(t,this.doc)))})}removeUsage(t,r){let o=r.get(t);o&&(o.usage--,o.usage<=0&&(ag(o.elements),r.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])ag(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[r,{elements:o}]of this.inline)o.push(this.addElement(t,cg(r,this.doc)));for(let[r,{elements:o}]of this.external)o.push(this.addElement(t,xu(r,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,r){return this.nonce&&r.setAttribute("nonce",this.nonce),t.appendChild(r)}static \u0275fac=function(r){return new(r||e)(M(H),M(hr),M(mr,8),M(xn))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),Au={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"},ku=/%COMP%/g;var ug="%COMP%",SI=`_nghost-${ug}`,AI=`_ngcontent-${ug}`,xI=!0,NI=new g("",{factory:()=>xI});function RI(e){return AI.replace(ku,e)}function kI(e){return SI.replace(ku,e)}function dg(e,n){return n.map(t=>t.replace(ku,e))}var Ou=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(t,r,o,i,s,a,c=null,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.ngZone=a,this.nonce=c,this.tracingService=l,this.defaultRenderer=new To(t,s,a,this.tracingService)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;let o=this.getOrCreateRenderer(t,r);return o instanceof ta?o.applyToHost(t):o instanceof Mo&&o.applyStyles(),o}getOrCreateRenderer(t,r){let o=this.rendererByCompId,i=o.get(r.id);if(!i){let s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.tracingService;switch(r.encapsulation){case Ze.Emulated:i=new ta(c,l,r,this.appId,u,s,a,d);break;case Ze.ShadowDom:return new ea(c,t,r,s,a,this.nonce,d,l);case Ze.ExperimentalIsolatedShadowDom:return new ea(c,t,r,s,a,this.nonce,d);default:i=new Mo(c,l,r,u,s,a,d);break}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(r){return new(r||e)(M(Nu),M(Ru),M(hr),M(NI),M(H),M(R),M(mr),M(Ct,8))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),To=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(n,t){return t?this.doc.createElementNS(Au[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(lg(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(lg(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){t.remove()}selectRootElement(n,t){let r=typeof n=="string"?this.doc.querySelector(n):n;if(!r)throw new E(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;let i=Au[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){let o=Au[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(at.DashCase|at.Important)?n.style.setProperty(t,r,o&at.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&at.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n!=null&&(n[t]=r)}setValue(n,t){n.nodeValue=t}listen(n,t,r,o){if(typeof n=="string"&&(n=wt().getGlobalEventTarget(this.doc,n),!n))throw new E(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(n,t,i)),this.eventManager.addEventListener(n,t,i,o)}decoratePreventDefault(n){return t=>{if(t==="__ngUnwrap__")return n;n(t)===!1&&t.preventDefault()}}};function lg(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var ea=class extends To{hostEl;sharedStylesHost;shadowRoot;constructor(n,t,r,o,i,s,a,c){super(n,o,i,a),this.hostEl=t,this.sharedStylesHost=c,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let l=r.styles;l=dg(r.id,l);for(let d of l){let p=document.createElement("style");s&&p.setAttribute("nonce",s),p.textContent=d,this.shadowRoot.appendChild(p)}let u=r.getExternalStyles?.();if(u)for(let d of u){let p=xu(d,o);s&&p.setAttribute("nonce",s),this.shadowRoot.appendChild(p)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(null,t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},Mo=class extends To{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o;let l=r.styles;this.styles=c?dg(c,l):l,this.styleUrls=r.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&Mn.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},ta=class extends Mo{contentAttr;hostAttr;constructor(n,t,r,o,i,s,a,c){let l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=RI(l),this.hostAttr=kI(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){let r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}};var ra=class e extends Eo{supportsDOMEvents=!0;static makeCurrent(){Du(new e)}onAndCancel(n,t,r,o){return n.addEventListener(t,r,o),()=>{n.removeEventListener(t,r,o)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.remove()}createElement(n,t){return t=t||this.getDefaultDocument(),t.createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return t==="window"?window:t==="document"?n:t==="body"?n.body:null}getBaseHref(n){let t=OI();return t==null?null:FI(t)}resetBaseElement(){So=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Tu(document.cookie,n)}},So=null;function OI(){return So=So||document.head.querySelector("base"),So?So.getAttribute("href"):null}function FI(e){return new URL(e,document.baseURI).pathname}var LI=(()=>{class e{build(){return new XMLHttpRequest}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})(),fg=["alt","control","meta","shift"],PI={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},jI={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},pg=(()=>{class e extends wo{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,r,o,i){let s=e.parseEventName(r),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>wt().onAndCancel(t,s.domEventName,a,i))}static parseEventName(t){let r=t.toLowerCase().split("."),o=r.shift();if(r.length===0||!(o==="keydown"||o==="keyup"))return null;let i=e._normalizeKey(r.pop()),s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),fg.forEach(l=>{let u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,r.length!=0||i.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=PI[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),fg.forEach(s=>{if(s!==o){let a=jI[s];a(t)&&(i+=s+".")}}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(r){return new(r||e)(M(H))};static \u0275prov=v({token:e,factory:e.\u0275fac})}return e})();async function BI(e,n,t){let r=A({rootComponent:e},VI(n,t));return qm(r)}function VI(e,n){return{platformRef:n?.platformRef,appProviders:[...WI,...e?.providers??[]],platformProviders:zI}}function HI(){ra.makeCurrent()}function UI(){return new Te}function $I(){return Ll(document),document}var zI=[{provide:xn,useValue:Mu},{provide:vs,useValue:HI,multi:!0},{provide:H,useFactory:$I}];var WI=[{provide:Gr,useValue:"root"},{provide:Te,useFactory:UI},{provide:na,useClass:Js,multi:!0},{provide:na,useClass:pg,multi:!0},Ou,Ru,Nu,{provide:Re,useExisting:Ou},{provide:Co,useClass:LI},[]];var Fu=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:function(r){let o=null;return r?o=new(r||e):o=M(GI),o},providedIn:"root"})}return e})(),GI=(()=>{class e extends Fu{_doc;constructor(t){super(),this._doc=t}sanitize(t,r){if(r==null)return null;switch(t){case Ie.NONE:return r;case Ie.HTML:return Et(r,"HTML")?Qe(r):bs(this._doc,String(r)).toString();case Ie.STYLE:return Et(r,"Style")?Qe(r):r;case Ie.SCRIPT:if(Et(r,"Script"))return Qe(r);throw new E(5200,!1);case Ie.URL:return Et(r,"URL")?Qe(r):fo(String(r));case Ie.RESOURCE_URL:if(Et(r,"ResourceURL"))return Qe(r);throw new E(5201,!1);default:throw new E(5202,!1)}}bypassSecurityTrustHtml(t){return jl(t)}bypassSecurityTrustStyle(t){return Bl(t)}bypassSecurityTrustScript(t){return Vl(t)}bypassSecurityTrustUrl(t){return Hl(t)}bypassSecurityTrustResourceUrl(t){return Ul(t)}static \u0275fac=function(r){return new(r||e)(M(H))};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Ao=class{_attachedHost=null;attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;n!=null&&(this._attachedHost=null,n.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(n){this._attachedHost=n}},Lu=class extends Ao{component;viewContainerRef;injector;projectableNodes;bindings;constructor(n,t,r,o,i){super(),this.component=n,this.viewContainerRef=t,this.injector=r,this.projectableNodes=o,this.bindings=i||null}},Cr=class extends Ao{templateRef;viewContainerRef;context;injector;constructor(n,t,r,o){super(),this.templateRef=n,this.viewContainerRef=t,this.context=r,this.injector=o}get origin(){return this.templateRef.elementRef}attach(n,t=this.context){return this.context=t,super.attach(n)}detach(){return this.context=void 0,super.detach()}},Pu=class extends Ao{element;constructor(n){super(),this.element=n instanceof z?n.nativeElement:n}},oa=class{_attachedPortal=null;_disposeFn=null;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Lu)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof Cr)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Pu)return this._attachedPortal=n,this.attachDomPortal(n)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},hg=class extends oa{outletElement;_appRef;_defaultInjector;constructor(n,t,r){super(),this.outletElement=n,this._appRef=t,this._defaultInjector=r}attachComponentPortal(n){let t;if(n.viewContainerRef){let r=n.injector||n.viewContainerRef.injector,o=r.get(zt,null,{optional:!0})||void 0;t=n.viewContainerRef.createComponent(n.component,{index:n.viewContainerRef.length,injector:r,ngModuleRef:o,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),this.setDisposeFn(()=>t.destroy())}else{let r=this._appRef,o=n.injector||this._defaultInjector||U.NULL,i=o.get(ue,r.injector);t=Qs(n.component,{elementInjector:o,environmentInjector:i,projectableNodes:n.projectableNodes||void 0,bindings:n.bindings||void 0}),r.attachView(t.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=n,t}attachTemplatePortal(n){let t=n.viewContainerRef,r=t.createEmbeddedView(n.templateRef,n.context,{injector:n.injector});return r.rootNodes.forEach(o=>this.outletElement.appendChild(o)),r.detectChanges(),this.setDisposeFn(()=>{let o=t.indexOf(r);o!==-1&&t.remove(o)}),this._attachedPortal=n,r}attachDomPortal=n=>{let t=n.element;t.parentNode;let r=this.outletElement.ownerDocument.createComment("dom-portal");t.parentNode.insertBefore(r,t),this.outletElement.appendChild(t),this._attachedPortal=n,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(t,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}},mg=(()=>{class e extends Cr{constructor(){let t=h(Ee),r=h(Oe);super(t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=G({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[Ye]})}return e})(),ju=(()=>{class e extends oa{_moduleRef=h(zt,{optional:!0});_document=h(H);_viewContainerRef=h(Oe);_isInitialized=!1;_attachedRef=null;constructor(){super()}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}attached=new j;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let r=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,o=r.createComponent(t.component,{index:r.length,injector:t.injector||r.injector,projectableNodes:t.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0,bindings:t.bindings||void 0});return r!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),super.setDisposeFn(()=>o.destroy()),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o}attachTemplatePortal(t){t.setAttachedHost(this);let r=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}attachDomPortal=t=>{let r=t.element;r.parentNode;let o=this._document.createComment("dom-portal");t.setAttachedHost(this),r.parentNode.insertBefore(o,r),this._getRootNode().appendChild(r),this._attachedPortal=t,super.setDisposeFn(()=>{o.parentNode&&o.parentNode.replaceChild(r,o)})};_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static \u0275fac=function(r){return new(r||e)};static \u0275dir=G({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ye]})}return e})(),Yj=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=ae({type:e});static \u0275inj=te({})}return e})();var ia=new WeakMap,xo=(()=>{class e{_appRef;_injector=h(U);_environmentInjector=h(ue);load(t){let r=this._appRef=this._appRef||this._injector.get(qt),o=ia.get(r);o||(o={loaders:new Set,refs:[]},ia.set(r,o),r.onDestroy(()=>{ia.get(r)?.refs.forEach(i=>i.destroy()),ia.delete(r)})),o.loaders.has(t)||(o.loaders.add(t),o.refs.push(Qs(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var qI=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Ce({type:e,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(r,o){},styles:[`.cdk-visually-hidden {
|
|
border: 0;
|
|
clip: rect(0 0 0 0);
|
|
height: 1px;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
position: absolute;
|
|
width: 1px;
|
|
white-space: nowrap;
|
|
outline: 0;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
left: 0;
|
|
}
|
|
[dir=rtl] .cdk-visually-hidden {
|
|
left: auto;
|
|
right: 0;
|
|
}
|
|
`],encapsulation:2,changeDetection:0})}return e})(),sa;function ZI(){if(sa===void 0&&(sa=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(sa=e.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return sa}function QI(e){return ZI()?.createHTML(e)||e}function gg(e,n,t){let r=t.sanitize(Ie.HTML,n);e.innerHTML=QI(r||"")}var vg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Ce({type:e,selectors:[["structural-styles"]],decls:0,vars:0,template:function(r,o){},styles:[`.mat-focus-indicator {
|
|
position: relative;
|
|
}
|
|
.mat-focus-indicator::before {
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
position: absolute;
|
|
box-sizing: border-box;
|
|
pointer-events: none;
|
|
display: var(--mat-focus-indicator-display, none);
|
|
border-width: var(--mat-focus-indicator-border-width, 3px);
|
|
border-style: var(--mat-focus-indicator-border-style, solid);
|
|
border-color: var(--mat-focus-indicator-border-color, transparent);
|
|
border-radius: var(--mat-focus-indicator-border-radius, 4px);
|
|
}
|
|
.mat-focus-indicator:focus-visible::before {
|
|
content: "";
|
|
}
|
|
|
|
@media (forced-colors: active) {
|
|
html {
|
|
--mat-focus-indicator-display: block;
|
|
}
|
|
}
|
|
`],encapsulation:2,changeDetection:0})}return e})();function No(e){return e.buttons===0||e.detail===0}function Ro(e){let n=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!!n&&n.identifier===-1&&(n.radiusX==null||n.radiusX===1)&&(n.radiusY==null||n.radiusY===1)}var Bu;function yg(){if(Bu==null){let e=typeof document<"u"?document.head:null;Bu=!!(e&&(e.createShadowRoot||e.attachShadow))}return Bu}function Vu(e){if(yg()){let n=e.getRootNode?e.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function Tt(e){return e.composedPath?e.composedPath()[0]:e.target}var Hu;try{Hu=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Hu=!1}var ye=(()=>{class e{_platformId=h(xn);isBrowser=this._platformId?sg(this._platformId):typeof document=="object"&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!!(window.chrome||Hu)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var ko;function _g(){if(ko==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ko=!0}))}finally{ko=ko||!1}return ko}function wr(e){return _g()?e:!!e.capture}function aa(e,n=0){return bg(e)?Number(e):arguments.length===2?n:0}function bg(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function Le(e){return e instanceof z?e.nativeElement:e}var Dg=new g("cdk-input-modality-detector-options"),Eg={ignoreKeys:[18,17,224,91,16]},Ig=650,Uu={passive:!0,capture:!0},Cg=(()=>{class e{_platform=h(ye);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new xt(null);_options;_lastTouchMs=0;_onKeydown=t=>{this._options?.ignoreKeys?.some(r=>r===t.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Tt(t))};_onMousedown=t=>{Date.now()-this._lastTouchMs<Ig||(this._modality.next(No(t)?"keyboard":"mouse"),this._mostRecentTarget=Tt(t))};_onTouchstart=t=>{if(Ro(t)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Tt(t)};constructor(){let t=h(R),r=h(H),o=h(Dg,{optional:!0});if(this._options=A(A({},Eg),o),this.modalityDetected=this._modality.pipe(Pr(1)),this.modalityChanged=this.modalityDetected.pipe(vi()),this._platform.isBrowser){let i=h(Re).createRenderer(null,null);this._listenerCleanups=t.runOutsideAngular(()=>[i.listen(r,"keydown",this._onKeydown,Uu),i.listen(r,"mousedown",this._onMousedown,Uu),i.listen(r,"touchstart",this._onTouchstart,Uu)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(t=>t())}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Oo=(function(e){return e[e.IMMEDIATE=0]="IMMEDIATE",e[e.EVENTUAL=1]="EVENTUAL",e})(Oo||{}),wg=new g("cdk-focus-monitor-default-options"),ca=wr({passive:!0,capture:!0}),$u=(()=>{class e{_ngZone=h(R);_platform=h(ye);_inputModalityDetector=h(Cg);_origin=null;_lastFocusOrigin=null;_windowFocused=!1;_windowFocusTimeoutId;_originTimeoutId;_originFromTouchInteraction=!1;_elementInfo=new Map;_monitoredElementCount=0;_rootNodeFocusListenerCount=new Map;_detectionMode;_windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)};_document=h(H);_stopInputModalityDetector=new T;constructor(){let t=h(wg,{optional:!0});this._detectionMode=t?.detectionMode||Oo.IMMEDIATE}_rootNodeFocusAndBlurListener=t=>{let r=Tt(t);for(let o=r;o;o=o.parentElement)t.type==="focus"?this._onFocus(t,o):this._onBlur(t,o)};monitor(t,r=!1){let o=Le(t);if(!this._platform.isBrowser||o.nodeType!==1)return cn();let i=Vu(o)||this._document,s=this._elementInfo.get(o);if(s)return r&&(s.checkChildren=!0),s.subject;let a={checkChildren:r,subject:new T,rootNode:i};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(t){let r=Le(t),o=this._elementInfo.get(r);o&&(o.subject.complete(),this._setClasses(r),this._elementInfo.delete(r),this._removeGlobalListeners(o))}focusVia(t,r,o){let i=Le(t),s=this._document.activeElement;i===s?this._getClosestElementsInfo(i).forEach(([a,c])=>this._originChanged(a,r,c)):(this._setOrigin(r),typeof i.focus=="function"&&i.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,r)=>this.stopMonitoring(r))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Oo.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,r){t.classList.toggle("cdk-focused",!!r),t.classList.toggle("cdk-touch-focused",r==="touch"),t.classList.toggle("cdk-keyboard-focused",r==="keyboard"),t.classList.toggle("cdk-mouse-focused",r==="mouse"),t.classList.toggle("cdk-program-focused",r==="program")}_setOrigin(t,r=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&r,this._detectionMode===Oo.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Ig:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,r){let o=this._elementInfo.get(r),i=Tt(t);!o||!o.checkChildren&&r!==i||this._originChanged(r,this._getFocusOrigin(i),o)}_onBlur(t,r){let o=this._elementInfo.get(r);!o||o.checkChildren&&t.relatedTarget instanceof Node&&r.contains(t.relatedTarget)||(this._setClasses(r),this._emitOrigin(o,null))}_emitOrigin(t,r){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(r))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let r=t.rootNode,o=this._rootNodeFocusListenerCount.get(r)||0;o||this._ngZone.runOutsideAngular(()=>{r.addEventListener("focus",this._rootNodeFocusAndBlurListener,ca),r.addEventListener("blur",this._rootNodeFocusAndBlurListener,ca)}),this._rootNodeFocusListenerCount.set(r,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ve(this._stopInputModalityDetector)).subscribe(i=>{this._setOrigin(i,!0)}))}_removeGlobalListeners(t){let r=t.rootNode;if(this._rootNodeFocusListenerCount.has(r)){let o=this._rootNodeFocusListenerCount.get(r);o>1?this._rootNodeFocusListenerCount.set(r,o-1):(r.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ca),r.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ca),this._rootNodeFocusListenerCount.delete(r))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,r,o){this._setClasses(t,r),this._emitOrigin(o,r),this._lastFocusOrigin=r}_getClosestElementsInfo(t){let r=[];return this._elementInfo.forEach((o,i)=>{(i===t||o.checkChildren&&i.contains(t))&&r.push([i,o])}),r}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:r,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!r||r===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let i=t.labels;if(i){for(let s=0;s<i.length;s++)if(i[s].contains(r))return!0}return!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),zu=(()=>{class e{_elementRef=h(z);_focusMonitor=h($u);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new j;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,t.nodeType===1&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(r=>{this._focusOrigin=r,this.cdkFocusChange.emit(r)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=G({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return e})();function FB(e){return Array.isArray(e)?e:[e]}var Tg=new Set,kn,Wu=(()=>{class e{_platform=h(ye);_nonce=h(mr,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):KI}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&YI(t,this._nonce),this._matchMedia(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function YI(e,n){if(!Tg.has(e))try{kn||(kn=document.createElement("style"),n&&kn.setAttribute("nonce",n),kn.setAttribute("type","text/css"),document.head.appendChild(kn)),kn.sheet&&(kn.sheet.insertRule(`@media ${e} {body{ }}`,0),Tg.add(e))}catch(t){console.error(t)}}function KI(e){return{matches:e==="all"||e==="",media:e,addListener:()=>{},removeListener:()=>{}}}function XI(e){if(e.type==="characterData"&&e.target instanceof Comment)return!0;if(e.type==="childList"){for(let n=0;n<e.addedNodes.length;n++)if(!(e.addedNodes[n]instanceof Comment))return!1;for(let n=0;n<e.removedNodes.length;n++)if(!(e.removedNodes[n]instanceof Comment))return!1;return!0}return!1}var Mg=(()=>{class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),JI=(()=>{class e{_mutationObserverFactory=h(Mg);_observedElements=new Map;_ngZone=h(R);constructor(){}ngOnDestroy(){this._observedElements.forEach((t,r)=>this._cleanupObserver(r))}observe(t){let r=Le(t);return new N(o=>{let s=this._observeElement(r).pipe(Be(a=>a.filter(c=>!XI(c))),_e(a=>!!a.length)).subscribe(a=>{this._ngZone.run(()=>{o.next(a)})});return()=>{s.unsubscribe(),this._unobserveElement(r)}})}_observeElement(t){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(t))this._observedElements.get(t).count++;else{let r=new T,o=this._mutationObserverFactory.create(i=>r.next(i));o&&o.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:o,stream:r,count:1})}return this._observedElements.get(t).stream})}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){let{observer:r,stream:o}=this._observedElements.get(t);r&&r.disconnect(),o.complete(),this._observedElements.delete(t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Sg=(()=>{class e{_contentObserver=h(JI);_elementRef=h(z);event=new j;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(t){this._debounce=aa(t),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let t=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?t.pipe(un(this.debounce)):t).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=G({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",pe],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return e})(),YB=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=ae({type:e});static \u0275inj=te({providers:[Mg]})}return e})();var Ag=new g("liveAnnouncerElement",{providedIn:"root",factory:()=>null}),xg=new g("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),eC=0,tC=(()=>{class e{_ngZone=h(R);_defaultOptions=h(xg,{optional:!0});_liveElement;_document=h(H);_sanitizer=h(Fu);_previousTimeout;_currentPromise;_currentResolve;constructor(){let t=h(Ag,{optional:!0});this._liveElement=t||this._createLiveElement()}announce(t,...r){let o=this._defaultOptions,i,s;return r.length===1&&typeof r[0]=="number"?s=r[0]:[i,s]=r,this.clear(),clearTimeout(this._previousTimeout),i||(i=o&&o.politeness?o.politeness:"polite"),s==null&&o&&(s=o.duration),this._liveElement.setAttribute("aria-live",i),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{!t||typeof t=="string"?this._liveElement.textContent=t:gg(this._liveElement,t,this._sanitizer),typeof s=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),s)),this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",r=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let i=0;i<r.length;i++)r[i].remove();return o.classList.add(t),o.classList.add("cdk-visually-hidden"),o.setAttribute("aria-atomic","true"),o.setAttribute("aria-live","polite"),o.id=`cdk-live-announcer-${eC++}`,this._document.body.appendChild(o),o}_exposeAnnouncerToModals(t){let r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let o=0;o<r.length;o++){let i=r[o],s=i.getAttribute("aria-owns");s?s.indexOf(t)===-1&&i.setAttribute("aria-owns",s+" "+t):i.setAttribute("aria-owns",t)}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var nC=200,la=class{_letterKeyStream=new T;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new T;selectedItem=this._selectedItem;constructor(n,t){let r=typeof t?.debounceInterval=="number"?t.debounceInterval:nC;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(n),this._setupKeyHandler(r)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(n){this._selectedItemIndex=n}setItems(n){this._items=n}handleKey(n){let t=n.keyCode;n.key&&n.key.length===1?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(n){this._letterKeyStream.pipe(Ra(t=>this._pressedLetters.push(t)),un(n),_e(()=>this._pressedLetters.length>0),Be(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let r=1;r<this._items.length+1;r++){let o=(this._selectedItemIndex+r)%this._items.length,i=this._items[o];if(!this._skipPredicateFn?.(i)&&i.getLabel?.().toLocaleUpperCase().trim().indexOf(t)===0){this._selectedItem.next(i);break}}this._pressedLetters=[]})}};function ua(e,...n){return n.length?n.some(t=>e[t]):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var Tr=class{_items;_activeItemIndex=We(-1);_activeItem=We(null);_wrap=!1;_typeaheadSubscription=P.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal=null;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=n=>n.disabled;constructor(n,t){this._items=n,n instanceof bt?this._itemChangesSubscription=n.changes.subscribe(r=>this._itemsChanged(r.toArray())):vr(n)&&(this._effectRef=Jr(()=>this._itemsChanged(n()),{injector:t}))}tabOut=new T;change=new T;skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new la(t,{debounceInterval:typeof n=="number"?n:void 0,skipPredicate:r=>this._skipPredicateFn(r)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(r=>{this.setActiveItem(r)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(n=!0){return this._homeAndEnd=n,this}withPageUpDown(n=!0,t=10){return this._pageUpAndDown={enabled:n,delta:t},this}setActiveItem(n){let t=this._activeItem();this.updateActiveItem(n),this._activeItem()!==t&&this.change.next(this._activeItemIndex())}onKeydown(n){let t=n.keyCode,o=["altKey","ctrlKey","metaKey","shiftKey"].every(i=>!n[i]||this._allowedModifierKeys.indexOf(i)>-1);switch(t){case 9:this.tabOut.next();return;case 40:if(this._vertical&&o){this.setNextItemActive();break}else return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&o){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&o){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()-this._pageUpAndDown.delta;this._setActiveItemByIndex(i>0?i:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&o){let i=this._activeItemIndex()+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(i<s?i:s-1,-1);break}else return;default:(o||ua(n,"shiftKey"))&&this._typeahead?.handleKey(n);return}this._typeahead?.reset(),n.preventDefault()}get activeItemIndex(){return this._activeItemIndex()}get activeItem(){return this._activeItem()}isTyping(){return!!this._typeahead&&this._typeahead.isTyping()}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex()<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex()<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){let t=this._getItemsArray(),r=typeof n=="number"?n:t.indexOf(n),o=t[r];this._activeItem.set(o??null),this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){let t=this._getItemsArray();for(let r=1;r<=t.length;r++){let o=(this._activeItemIndex()+n*r+t.length)%t.length,i=t[o];if(!this._skipPredicateFn(i)){this.setActiveItem(o);return}}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex()+n,n)}_setActiveItemByIndex(n,t){let r=this._getItemsArray();if(r[n]){for(;this._skipPredicateFn(r[n]);)if(n+=t,!r[n])return;this.setActiveItem(n)}}_getItemsArray(){return vr(this._items)?this._items():this._items instanceof bt?this._items.toArray():this._items}_itemsChanged(n){this._typeahead?.setItems(n);let t=this._activeItem();if(t){let r=n.indexOf(t);r>-1&&r!==this._activeItemIndex()&&(this._activeItemIndex.set(r),this._typeahead?.setCurrentSelectedItemIndex(r))}}};var Gu=class extends Tr{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var Fo=class extends Tr{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var qu={},Lo=class e{_appId=h(hr);static _infix=`a${Math.floor(Math.random()*1e5).toString()}`;getId(n,t=!1){return this._appId!=="ng"&&(n+=this._appId),qu.hasOwnProperty(n)||(qu[n]=0),`${n}${t?e._infix+"-":""}${qu[n]++}`}static \u0275fac=function(t){return new(t||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})};var Ng=" ";function UV(e,n,t){let r=Rg(e,n);t=t.trim(),!r.some(o=>o.trim()===t)&&(r.push(t),e.setAttribute(n,r.join(Ng)))}function $V(e,n,t){let r=Rg(e,n);t=t.trim();let o=r.filter(i=>i!==t);o.length?e.setAttribute(n,o.join(Ng)):e.removeAttribute(n)}function Rg(e,n){return e.getAttribute(n)?.match(/\S+/g)??[]}var rC=new g("cdk-dir-doc",{providedIn:"root",factory:()=>h(H)}),oC=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function kg(e){let n=e?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?oC.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Mr=(()=>{class e{get value(){return this.valueSignal()}valueSignal=We("ltr");change=new j;constructor(){let t=h(rC,{optional:!0});if(t){let r=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.valueSignal.set(kg(r||o||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Po=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=ae({type:e});static \u0275inj=te({})}return e})();var Zu=class{_box;_destroyed=new T;_resizeSubject=new T;_resizeObserver;_elementObservables=new Map;constructor(n){this._box=n,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(t=>this._resizeSubject.next(t)))}observe(n){return this._elementObservables.has(n)||this._elementObservables.set(n,new N(t=>{let r=this._resizeSubject.subscribe(t);return this._resizeObserver?.observe(n,{box:this._box}),()=>{this._resizeObserver?.unobserve(n),r.unsubscribe(),this._elementObservables.delete(n)}}).pipe(_e(t=>t.some(r=>r.target===n)),yi({bufferSize:1,refCount:!0}),Ve(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Og=(()=>{class e{_cleanupErrorListener;_observers=new Map;_ngZone=h(R);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,t]of this._observers)t.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(t,r){let o=r?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Zu(o)),this._observers.get(o).observe(t)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Je=(function(e){return e[e.NORMAL=0]="NORMAL",e[e.NEGATED=1]="NEGATED",e[e.INVERTED=2]="INVERTED",e})(Je||{}),da,On;function Fg(){if(On==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return On=!1,On;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)On=!0;else{let e=Element.prototype.scrollTo;e?On=!/\{\s*\[native code\]\s*\}/.test(e.toString()):On=!1}}return On}function Sr(){if(typeof document!="object"||!document)return Je.NORMAL;if(da==null){let e=document.createElement("div"),n=e.style;e.dir="rtl",n.width="1px",n.overflow="auto",n.visibility="hidden",n.pointerEvents="none",n.position="absolute";let t=document.createElement("div"),r=t.style;r.width="2px",r.height="1px",e.appendChild(t),document.body.appendChild(e),da=Je.NORMAL,e.scrollLeft===0&&(e.scrollLeft=1,da=e.scrollLeft===0?Je.NEGATED:Je.INVERTED),e.remove()}return da}function lH(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var iC=20,sC=(()=>{class e{_ngZone=h(R);_platform=h(ye);_renderer=h(Re).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new T;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let r=this.scrollContainers.get(t);r&&(r.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=iC){return this._platform.isBrowser?new N(r=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let o=t>0?this._scrolled.pipe(gi(t)).subscribe(r):this._scrolled.subscribe(r);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):cn()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((t,r)=>this.deregister(r)),this._scrolled.complete()}ancestorScrolled(t,r){let o=this.getAncestorScrollContainers(t);return this.scrolled(r).pipe(_e(i=>!i||o.indexOf(i)>-1))}getAncestorScrollContainers(t){let r=[];return this.scrollContainers.forEach((o,i)=>{this._scrollableContainsElement(i,t)&&r.push(i)}),r}_scrollableContainsElement(t,r){let o=Le(r),i=t.getElementRef().nativeElement;do if(o==i)return!0;while(o=o.parentElement);return!1}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pg=(()=>{class e{elementRef=h(z);scrollDispatcher=h(sC);ngZone=h(R);dir=h(Mr,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new T;_renderer=h(Gt);_cleanupScroll;_elementScrolled=new T;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",t=>this._elementScrolled.next(t))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){let r=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";t.left==null&&(t.left=o?t.end:t.start),t.right==null&&(t.right=o?t.start:t.end),t.bottom!=null&&(t.top=r.scrollHeight-r.clientHeight-t.bottom),o&&Sr()!=Je.NORMAL?(t.left!=null&&(t.right=r.scrollWidth-r.clientWidth-t.left),Sr()==Je.INVERTED?t.left=t.right:Sr()==Je.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=r.scrollWidth-r.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let r=this.elementRef.nativeElement;Fg()?r.scrollTo(t):(t.top!=null&&(r.scrollTop=t.top),t.left!=null&&(r.scrollLeft=t.left))}measureScrollOffset(t){let r="left",o="right",i=this.elementRef.nativeElement;if(t=="top")return i.scrollTop;if(t=="bottom")return i.scrollHeight-i.clientHeight-i.scrollTop;let s=this.dir&&this.dir.value=="rtl";return t=="start"?t=s?o:r:t=="end"&&(t=s?r:o),s&&Sr()==Je.INVERTED?t==r?i.scrollWidth-i.clientWidth-i.scrollLeft:i.scrollLeft:s&&Sr()==Je.NEGATED?t==r?i.scrollLeft+i.scrollWidth-i.clientWidth:-i.scrollLeft:t==r?i.scrollLeft:i.scrollWidth-i.clientWidth-i.scrollLeft}static \u0275fac=function(r){return new(r||e)};static \u0275dir=G({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return e})(),aC=20,jg=(()=>{class e{_platform=h(ye);_listeners;_viewportSize=null;_change=new T;_document=h(H);constructor(){let t=h(R),r=h(Re).createRenderer(null,null);t.runOutsideAngular(()=>{if(this._platform.isBrowser){let o=i=>this._change.next(i);this._listeners=[r.listen("window","resize",o),r.listen("window","orientationchange",o)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(t=>t()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:r,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+r,height:o,width:r}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,r=this._getWindow(),o=t.documentElement,i=o.getBoundingClientRect(),s=-i.top||t.body?.scrollTop||r.scrollY||o.scrollTop||0,a=-i.left||t.body?.scrollLeft||r.scrollX||o.scrollLeft||0;return{top:s,left:a}}change(t=aC){return t>0?this._change.pipe(gi(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(r){return new(r||e)};static \u0275prov=v({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Lg=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=ae({type:e});static \u0275inj=te({})}return e})(),FH=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=ae({type:e});static \u0275inj=te({imports:[Po,Lg,Po,Lg]})}return e})();var cC=new g("MATERIAL_ANIMATIONS"),Bg=null;function lC(){return h(cC,{optional:!0})?.animationsDisabled||h(Pl,{optional:!0})==="NoopAnimations"?"di-disabled":(Bg??=h(Wu).matchMedia("(prefers-reduced-motion)").matches,Bg?"reduced-motion":"enabled")}function Ar(){return lC()!=="enabled"}function $H(e){return e==null?"":typeof e=="string"?e:`${e}px`}function WH(e){return e!=null&&`${e}`!="false"}var Pe=(function(e){return e[e.FADING_IN=0]="FADING_IN",e[e.VISIBLE=1]="VISIBLE",e[e.FADING_OUT=2]="FADING_OUT",e[e.HIDDEN=3]="HIDDEN",e})(Pe||{}),Qu=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=Pe.HIDDEN;constructor(n,t,r,o=!1){this._renderer=n,this.element=t,this.config=r,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},Vg=wr({passive:!0,capture:!0}),Yu=class{_events=new Map;addHandler(n,t,r,o){let i=this._events.get(t);if(i){let s=i.get(r);s?s.add(o):i.set(r,new Set([o]))}else this._events.set(t,new Map([[r,new Set([o])]])),n.runOutsideAngular(()=>{document.addEventListener(t,this._delegateEventHandler,Vg)})}removeHandler(n,t,r){let o=this._events.get(n);if(!o)return;let i=o.get(t);i&&(i.delete(r),i.size===0&&o.delete(t),o.size===0&&(this._events.delete(n),document.removeEventListener(n,this._delegateEventHandler,Vg)))}_delegateEventHandler=n=>{let t=Tt(n);t&&this._events.get(n.type)?.forEach((r,o)=>{(o===t||o.contains(t))&&r.forEach(i=>i.handleEvent(n))})}},Hg={enterDuration:225,exitDuration:150},uC=800,Ug=wr({passive:!0,capture:!0}),$g=["mousedown","touchstart"],zg=["mouseup","mouseleave","touchend","touchcancel"],dC=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Ce({type:e,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(r,o){},styles:[`.mat-ripple {
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
.mat-ripple:not(:empty) {
|
|
transform: translateZ(0);
|
|
}
|
|
|
|
.mat-ripple.mat-ripple-unbounded {
|
|
overflow: visible;
|
|
}
|
|
|
|
.mat-ripple-element {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
pointer-events: none;
|
|
transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1);
|
|
transform: scale3d(0, 0, 0);
|
|
background-color: var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent));
|
|
}
|
|
@media (forced-colors: active) {
|
|
.mat-ripple-element {
|
|
display: none;
|
|
}
|
|
}
|
|
.cdk-drag-preview .mat-ripple-element, .cdk-drag-placeholder .mat-ripple-element {
|
|
display: none;
|
|
}
|
|
`],encapsulation:2,changeDetection:0})}return e})(),Ku=class e{_target;_ngZone;_platform;_containerElement;_triggerElement=null;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple=null;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect=null;static _eventManager=new Yu;constructor(n,t,r,o,i){this._target=n,this._ngZone=t,this._platform=o,o.isBrowser&&(this._containerElement=Le(r)),i&&i.get(xo).load(dC)}fadeInRipple(n,t,r={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=A(A({},Hg),r.animation);r.centered&&(n=o.left+o.width/2,t=o.top+o.height/2);let s=r.radius||fC(n,t,o),a=n-o.left,c=t-o.top,l=i.enterDuration,u=document.createElement("div");u.classList.add("mat-ripple-element"),u.style.left=`${a-s}px`,u.style.top=`${c-s}px`,u.style.height=`${s*2}px`,u.style.width=`${s*2}px`,r.color!=null&&(u.style.backgroundColor=r.color),u.style.transitionDuration=`${l}ms`,this._containerElement.appendChild(u);let d=window.getComputedStyle(u),p=d.transitionProperty,f=d.transitionDuration,m=p==="none"||f==="0s"||f==="0s, 0s"||o.width===0&&o.height===0,_=new Qu(this,u,r,m);u.style.transform="scale3d(1, 1, 1)",_.state=Pe.FADING_IN,r.persistent||(this._mostRecentTransientRipple=_);let w=null;return!m&&(l||i.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let S=()=>{w&&(w.fallbackTimer=null),clearTimeout(ft),this._finishRippleTransition(_)},K=()=>this._destroyRipple(_),ft=setTimeout(K,l+100);u.addEventListener("transitionend",S),u.addEventListener("transitioncancel",K),w={onTransitionEnd:S,onTransitionCancel:K,fallbackTimer:ft}}),this._activeRipples.set(_,w),(m||!l)&&this._finishRippleTransition(_),_}fadeOutRipple(n){if(n.state===Pe.FADING_OUT||n.state===Pe.HIDDEN)return;let t=n.element,r=A(A({},Hg),n.config.animation);t.style.transitionDuration=`${r.exitDuration}ms`,t.style.opacity="0",n.state=Pe.FADING_OUT,(n._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){let t=Le(n);!this._platform.isBrowser||!t||t===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=t,$g.forEach(r=>{e._eventManager.addHandler(this._ngZone,r,t,this)}))}handleEvent(n){n.type==="mousedown"?this._onMousedown(n):n.type==="touchstart"?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{zg.forEach(t=>{this._triggerElement.addEventListener(t,this,Ug)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===Pe.FADING_IN?this._startFadeOutTransition(n):n.state===Pe.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let t=n===this._mostRecentTransientRipple,{persistent:r}=n.config;n.state=Pe.VISIBLE,!r&&(!t||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){let t=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=Pe.HIDDEN,t!==null&&(n.element.removeEventListener("transitionend",t.onTransitionEnd),n.element.removeEventListener("transitioncancel",t.onTransitionCancel),t.fallbackTimer!==null&&clearTimeout(t.fallbackTimer)),n.element.remove()}_onMousedown(n){let t=No(n),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+uC;!this._target.rippleDisabled&&!t&&!r&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Ro(n)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let t=n.changedTouches;if(t)for(let r=0;r<t.length;r++)this.fadeInRipple(t[r].clientX,t[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(n=>{let t=n.state===Pe.VISIBLE||n.config.terminateOnPointerUp&&n.state===Pe.FADING_IN;!n.config.persistent&&t&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&($g.forEach(t=>e._eventManager.removeHandler(t,n,this)),this._pointerUpEventsRegistered&&(zg.forEach(t=>n.removeEventListener(t,this,Ug)),this._pointerUpEventsRegistered=!1))}};function fC(e,n,t){let r=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),o=Math.max(Math.abs(n-t.top),Math.abs(n-t.bottom));return Math.sqrt(r*r+o*o)}var Wg=new g("mat-ripple-global-options"),Xu=(()=>{class e{_elementRef=h(z);_animationsDisabled=Ar();color;unbounded=!1;centered=!1;radius=0;animation;get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let t=h(R),r=h(ye),o=h(Wg,{optional:!0}),i=h(U);this._globalOptions=o||{},this._rippleRenderer=new Ku(this,t,this._elementRef,r,i)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:A(A(A({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,r=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,r,A(A({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,A(A({},this.rippleConfig),t))}static \u0275fac=function(r){return new(r||e)};static \u0275dir=G({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(r,o){r&2&&ge("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return e})();var rd=["*"];function mC(e,n){e&1&&br(0)}var gC=["tabListContainer"],vC=["tabList"],yC=["tabListInner"],_C=["nextPaginator"],bC=["previousPaginator"],DC=["content"];function EC(e,n){}var IC=["tabBodyWrapper"],CC=["tabHeader"];function wC(e,n){}function TC(e,n){if(e&1&&go(0,wC,0,0,"ng-template",12),e&2){let t=Xe().$implicit;lt("cdkPortalOutlet",t.templateLabel)}}function MC(e,n){if(e&1&&fu(0),e&2){let t=Xe().$implicit;Ws(t.textLabel)}}function SC(e,n){if(e&1){let t=Us();fe(0,"div",7,2),ut("click",function(){let o=Vt(t),i=o.$implicit,s=o.$index,a=Xe(),c=zs(1);return Ht(a._handleClick(i,c,s))})("cdkFocusChange",function(o){let i=Vt(t).$index,s=Xe();return Ht(s._tabFocusChanged(o,i))}),yr(2,"span",8)(3,"div",9),fe(4,"span",10)(5,"span",11),Fs(6,TC,1,1,null,12)(7,MC,1,1),Fe()()()}if(e&2){let t=n.$implicit,r=n.$index,o=zs(1),i=Xe();_o(t.labelClass),ge("mdc-tab--active",i.selectedIndex===r),lt("id",i._getTabLabelId(t,r))("disabled",t.disabled)("fitInkBarToContent",i.fitInkBarToContent),Ke("tabIndex",i._getTabIndex(r))("aria-posinset",r+1)("aria-setsize",i._tabs.length)("aria-controls",i._getTabContentId(r))("aria-selected",i.selectedIndex===r)("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null),ke(3),lt("matRippleTrigger",o)("matRippleDisabled",t.disabled||i.disableRipple),ke(3),Ls(t.templateLabel?6:7)}}function AC(e,n){e&1&&br(0)}function xC(e,n){if(e&1){let t=Us();fe(0,"mat-tab-body",13),ut("_onCentered",function(){Vt(t);let o=Xe();return Ht(o._removeTabBodyWrapperHeight())})("_onCentering",function(o){Vt(t);let i=Xe();return Ht(i._setTabBodyWrapperHeight(o))})("_beforeCentering",function(o){Vt(t);let i=Xe();return Ht(i._bodyCentered(o))}),Fe()}if(e&2){let t=n.$implicit,r=n.$index,o=Xe();_o(t.bodyClass),lt("id",o._getTabContentId(r))("content",t.content)("position",t.position)("animationDuration",o.animationDuration)("preserveContent",o.preserveContent),Ke("tabindex",o.contentTabIndex!=null&&o.selectedIndex===r?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(t,r))("aria-hidden",o.selectedIndex!==r)}}var NC=new g("MatTabContent"),RC=(()=>{class e{template=h(Ee);constructor(){}static \u0275fac=function(r){return new(r||e)};static \u0275dir=G({type:e,selectors:[["","matTabContent",""]],features:[Qt([{provide:NC,useExisting:e}])]})}return e})(),kC=new g("MatTabLabel"),Qg=new g("MAT_TAB"),OC=(()=>{class e extends mg{_closestTab=h(Qg,{optional:!0});static \u0275fac=(()=>{let t;return function(o){return(t||(t=fr(e)))(o||e)}})();static \u0275dir=G({type:e,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Qt([{provide:kC,useExisting:e}]),Ye]})}return e})(),Yg=new g("MAT_TAB_GROUP"),FC=(()=>{class e{_viewContainerRef=h(Oe);_closestTabGroup=h(Yg,{optional:!0});disabled=!1;get templateLabel(){return this._templateLabel}set templateLabel(t){this._setTemplateLabelInput(t)}_templateLabel;_explicitContent=void 0;_implicitContent;textLabel="";ariaLabel;ariaLabelledby;labelClass;bodyClass;id=null;_contentPortal=null;get content(){return this._contentPortal}_stateChanges=new T;position=null;origin=null;isActive=!1;constructor(){h(xo).load(vg)}ngOnChanges(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Cr(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(t){t&&t._closestTab===this&&(this._templateLabel=t)}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Ce({type:e,selectors:[["mat-tab"]],contentQueries:function(r,o,i){if(r&1&&Dr(i,OC,5)(i,RC,7,Ee),r&2){let s;re(s=oe())&&(o.templateLabel=s.first),re(s=oe())&&(o._explicitContent=s.first)}},viewQuery:function(r,o){if(r&1&&Zt(Ee,7),r&2){let i;re(i=oe())&&(o._implicitContent=i.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(r,o){r&2&&Ke("id",null)},inputs:{disabled:[2,"disabled","disabled",pe],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[Qt([{provide:Qg,useExisting:e}]),An],ngContentSelectors:rd,decls:1,vars:0,template:function(r,o){r&1&&(_r(),Rs(0,mC,1,0,"ng-template"))},encapsulation:2})}return e})(),Ju="mdc-tab-indicator--active",Gg="mdc-tab-indicator--no-transition",ed=class{_items;_currentItem;constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar()),this._currentItem=void 0}alignToElement(n){let t=this._items.find(o=>o.elementRef.nativeElement===n),r=this._currentItem;if(t!==r&&(r?.deactivateInkBar(),t)){let o=r?.elementRef.nativeElement.getBoundingClientRect?.();t.activateInkBar(o),this._currentItem=t}}},LC=(()=>{class e{_elementRef=h(z);_inkBarElement=null;_inkBarContentElement=null;_fitToContent=!1;get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(t){this._fitToContent!==t&&(this._fitToContent=t,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(t){let r=this._elementRef.nativeElement;if(!t||!r.getBoundingClientRect||!this._inkBarContentElement){r.classList.add(Ju);return}let o=r.getBoundingClientRect(),i=t.width/o.width,s=t.left-o.left;r.classList.add(Gg),this._inkBarContentElement.style.setProperty("transform",`translateX(${s}px) scaleX(${i})`),r.getBoundingClientRect(),r.classList.remove(Gg),r.classList.add(Ju),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(Ju)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let t=this._elementRef.nativeElement.ownerDocument||document,r=this._inkBarElement=t.createElement("span"),o=this._inkBarContentElement=t.createElement("span");r.className="mdc-tab-indicator",o.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",r.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let t=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;t.appendChild(this._inkBarElement)}static \u0275fac=function(r){return new(r||e)};static \u0275dir=G({type:e,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",pe]}})}return e})();var Kg=(()=>{class e extends LC{elementRef=h(z);disabled=!1;focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static \u0275fac=(()=>{let t;return function(o){return(t||(t=fr(e)))(o||e)}})();static \u0275dir=G({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(r,o){r&2&&(Ke("aria-disabled",!!o.disabled),ge("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:[2,"disabled","disabled",pe]},features:[Ye]})}return e})(),qg={passive:!0},PC=650,jC=100,BC=(()=>{class e{_elementRef=h(z);_changeDetectorRef=h(Er);_viewportRuler=h(jg);_dir=h(Mr,{optional:!0});_ngZone=h(R);_platform=h(ye);_sharedResizeObserver=h(Og);_injector=h(U);_renderer=h(Gt);_animationsDisabled=Ar();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new T;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged=!1;_keyManager;_currentTextContent;_stopScrolling=new T;disablePagination=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(t){let r=isNaN(t)?0:t;this._selectedIndex!=r&&(this._selectedIndexChanged=!0,this._selectedIndex=r,this._keyManager&&this._keyManager.updateActiveItem(r))}_selectedIndex=0;selectFocusedIndex=new j;indexFocused=new j;constructor(){this._eventCleanups=this._ngZone.runOutsideAngular(()=>[this._renderer.listen(this._elementRef.nativeElement,"mouseleave",()=>this._stopInterval())])}ngAfterViewInit(){this._eventCleanups.push(this._renderer.listen(this._previousPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("before"),qg),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),qg))}ngAfterContentInit(){let t=this._dir?this._dir.change:cn("ltr"),r=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(un(32),Ve(this._destroyed)),o=this._viewportRuler.change(150).pipe(Ve(this._destroyed)),i=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Fo(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),Nn(i,{injector:this._injector}),Lr(t,o,r,this._items.changes,this._itemsResized()).pipe(Ve(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),i()})}),this._keyManager?.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(s=>{this.indexFocused.emit(s),this._setTabFocus(s)})}_itemsResized(){return typeof ResizeObserver!="function"?on:this._items.changes.pipe(Wn(this._items),_i(t=>new N(r=>this._ngZone.runOutsideAngular(()=>{let o=new ResizeObserver(i=>r.next(i));return t.forEach(i=>o.observe(i.elementRef.nativeElement)),()=>{o.disconnect()}}))),Pr(1),_e(t=>t.some(r=>r.contentRect.width>0&&r.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._eventCleanups.forEach(t=>t()),this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(t){if(!ua(t))switch(t.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let r=this._items.get(this.focusIndex);r&&!r.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t))}break;default:this._keyManager?.onKeydown(t)}}_onContentChanges(){let t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(t){!this._isValidIndex(t)||this.focusIndex===t||!this._keyManager||this._keyManager.setActiveItem(t)}_isValidIndex(t){return this._items?!!this._items.toArray()[t]:!0}_setTabFocus(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();let r=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?r.scrollLeft=0:r.scrollLeft=r.scrollWidth-r.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let t=this.scrollDistance,r=this._getLayoutDirection()==="ltr"?-t:t;this._tabList.nativeElement.style.transform=`translateX(${Math.round(r)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(t){this._scrollTo(t)}_scrollHeader(t){let r=this._tabListContainer.nativeElement.offsetWidth,o=(t=="before"?-1:1)*r/3;return this._scrollTo(this._scrollDistance+o)}_handlePaginatorClick(t){this._stopInterval(),this._scrollHeader(t)}_scrollToLabel(t){if(this.disablePagination)return;let r=this._items?this._items.toArray()[t]:null;if(!r)return;let o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:i,offsetWidth:s}=r.elementRef.nativeElement,a,c;this._getLayoutDirection()=="ltr"?(a=i,c=a+s):(c=this._tabListInner.nativeElement.offsetWidth-i,a=c-s);let l=this.scrollDistance,u=this.scrollDistance+o;a<l?this.scrollDistance-=l-a:c>u&&(this.scrollDistance+=Math.min(c-u,a-l))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let t=this._tabListInner.nativeElement.scrollWidth,r=this._elementRef.nativeElement.offsetWidth,o=t-r>=5;o||(this.scrollDistance=0),o!==this._showPaginationControls&&(this._showPaginationControls=o,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let t=this._tabListInner.nativeElement.scrollWidth,r=this._tabListContainer.nativeElement.offsetWidth;return t-r||0}_alignInkBarToSelectedTab(){let t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,r=t?t.elementRef.nativeElement:null;r?this._inkBar.alignToElement(r):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(t,r){r&&r.button!=null&&r.button!==0||(this._stopInterval(),ln(PC,jC).pipe(Ve(Lr(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:o,distance:i}=this._scrollHeader(t);(i===0||i>=o)&&this._stopInterval()}))}_scrollTo(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let r=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(r,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:r,distance:this._scrollDistance}}static \u0275fac=function(r){return new(r||e)};static \u0275dir=G({type:e,inputs:{disablePagination:[2,"disablePagination","disablePagination",pe],selectedIndex:[2,"selectedIndex","selectedIndex",Zs]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return e})(),VC=(()=>{class e extends BC{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new ed(this._items),super.ngAfterContentInit()}_itemSelected(t){t.preventDefault()}static \u0275fac=(()=>{let t;return function(o){return(t||(t=fr(e)))(o||e)}})();static \u0275cmp=Ce({type:e,selectors:[["mat-tab-header"]],contentQueries:function(r,o,i){if(r&1&&Dr(i,Kg,4),r&2){let s;re(s=oe())&&(o._items=s)}},viewQuery:function(r,o){if(r&1&&Zt(gC,7)(vC,7)(yC,7)(_C,5)(bC,5),r&2){let i;re(i=oe())&&(o._tabListContainer=i.first),re(i=oe())&&(o._tabList=i.first),re(i=oe())&&(o._tabListInner=i.first),re(i=oe())&&(o._nextPaginator=i.first),re(i=oe())&&(o._previousPaginator=i.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(r,o){r&2&&ge("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl",o._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",pe]},features:[Ye],ngContentSelectors:rd,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(r,o){r&1&&(_r(),fe(0,"div",5,0),ut("click",function(){return o._handlePaginatorClick("before")})("mousedown",function(s){return o._handlePaginatorPress("before",s)})("touchend",function(){return o._stopInterval()}),yr(2,"div",6),Fe(),fe(3,"div",7,1),ut("keydown",function(s){return o._handleKeydown(s)}),fe(5,"div",8,2),ut("cdkObserveContent",function(){return o._onContentChanges()}),fe(7,"div",9,3),br(9),Fe()()(),fe(10,"div",10,4),ut("mousedown",function(s){return o._handlePaginatorPress("after",s)})("click",function(){return o._handlePaginatorClick("after")})("touchend",function(){return o._stopInterval()}),yr(12,"div",6),Fe()),r&2&&(ge("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),lt("matRippleDisabled",o._disableScrollBefore||o.disableRipple),ke(3),ge("_mat-animation-noopable",o._animationsDisabled),ke(2),Ke("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby||null),ke(5),ge("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),lt("matRippleDisabled",o._disableScrollAfter||o.disableRipple))},dependencies:[Xu,Sg],styles:[`.mat-mdc-tab-header {
|
|
display: flex;
|
|
overflow: hidden;
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.mdc-tab-indicator .mdc-tab-indicator__content {
|
|
transition-duration: var(--mat-tab-animation-duration, 250ms);
|
|
}
|
|
|
|
.mat-mdc-tab-header-pagination {
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
position: relative;
|
|
display: none;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-width: 32px;
|
|
cursor: pointer;
|
|
z-index: 2;
|
|
-webkit-tap-highlight-color: transparent;
|
|
touch-action: none;
|
|
box-sizing: content-box;
|
|
outline: 0;
|
|
}
|
|
.mat-mdc-tab-header-pagination::-moz-focus-inner {
|
|
border: 0;
|
|
}
|
|
.mat-mdc-tab-header-pagination .mat-ripple-element {
|
|
opacity: 0.12;
|
|
background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface));
|
|
}
|
|
.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination {
|
|
display: flex;
|
|
}
|
|
|
|
.mat-mdc-tab-header-pagination-before,
|
|
.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after {
|
|
padding-left: 4px;
|
|
}
|
|
.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,
|
|
.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron {
|
|
transform: rotate(-135deg);
|
|
}
|
|
|
|
.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,
|
|
.mat-mdc-tab-header-pagination-after {
|
|
padding-right: 4px;
|
|
}
|
|
.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,
|
|
.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron {
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.mat-mdc-tab-header-pagination-chevron {
|
|
border-style: solid;
|
|
border-width: 2px 2px 0 0;
|
|
height: 8px;
|
|
width: 8px;
|
|
border-color: var(--mat-tab-pagination-icon-color, var(--mat-sys-on-surface));
|
|
}
|
|
|
|
.mat-mdc-tab-header-pagination-disabled {
|
|
box-shadow: none;
|
|
cursor: default;
|
|
pointer-events: none;
|
|
}
|
|
.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.mat-mdc-tab-list {
|
|
flex-grow: 1;
|
|
position: relative;
|
|
transition: transform 500ms cubic-bezier(0.35, 0, 0.25, 1);
|
|
}
|
|
._mat-animation-noopable .mat-mdc-tab-list {
|
|
transition: none;
|
|
}
|
|
|
|
.mat-mdc-tab-label-container {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
overflow: hidden;
|
|
z-index: 1;
|
|
border-bottom-style: solid;
|
|
border-bottom-width: var(--mat-tab-divider-height, 1px);
|
|
border-bottom-color: var(--mat-tab-divider-color, var(--mat-sys-surface-variant));
|
|
}
|
|
.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container {
|
|
border-bottom: none;
|
|
border-top-style: solid;
|
|
border-top-width: var(--mat-tab-divider-height, 1px);
|
|
border-top-color: var(--mat-tab-divider-color, var(--mat-sys-surface-variant));
|
|
}
|
|
|
|
.mat-mdc-tab-labels {
|
|
display: flex;
|
|
flex: 1 0 auto;
|
|
}
|
|
[mat-align-tabs=center] > .mat-mdc-tab-header .mat-mdc-tab-labels {
|
|
justify-content: center;
|
|
}
|
|
[mat-align-tabs=end] > .mat-mdc-tab-header .mat-mdc-tab-labels {
|
|
justify-content: flex-end;
|
|
}
|
|
.cdk-drop-list .mat-mdc-tab-labels, .mat-mdc-tab-labels.cdk-drop-list {
|
|
min-height: var(--mat-tab-container-height, 48px);
|
|
}
|
|
|
|
.mat-mdc-tab::before {
|
|
margin: 5px;
|
|
}
|
|
@media (forced-colors: active) {
|
|
.mat-mdc-tab[aria-disabled=true] {
|
|
color: GrayText;
|
|
}
|
|
}
|
|
`],encapsulation:2})}return e})(),HC=new g("MAT_TABS_CONFIG"),Zg=(()=>{class e extends ju{_host=h(td);_ngZone=h(R);_centeringSub=P.EMPTY;_leavingSub=P.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Wn(this._host._isCenterPosition())).subscribe(t=>{this._host._content&&t&&!this.hasAttached()&&this._ngZone.run(()=>{Promise.resolve().then(),this.attach(this._host._content)})}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this._ngZone.run(()=>this.detach())})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static \u0275fac=function(r){return new(r||e)};static \u0275dir=G({type:e,selectors:[["","matTabBodyHost",""]],features:[Ye]})}return e})(),td=(()=>{class e{_elementRef=h(z);_dir=h(Mr,{optional:!0});_ngZone=h(R);_injector=h(U);_renderer=h(Gt);_diAnimationsDisabled=Ar();_eventCleanups;_initialized=!1;_fallbackTimer;_positionIndex;_dirChangeSubscription=P.EMPTY;_position;_previousPosition;_onCentering=new j;_beforeCentering=new j;_afterLeavingCenter=new j;_onCentered=new j(!0);_portalHost;_contentElement;_content;animationDuration="500ms";preserveContent=!1;set position(t){this._positionIndex=t,this._computePositionAnimationState()}constructor(){if(this._dir){let t=h(Er);this._dirChangeSubscription=this._dir.change.subscribe(r=>{this._computePositionAnimationState(r),t.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),this._position==="center"&&(this._setActiveClass(!0),Nn(()=>this._onCentering.emit(this._elementRef.nativeElement.clientHeight),{injector:this._injector})),this._initialized=!0}ngOnDestroy(){clearTimeout(this._fallbackTimer),this._eventCleanups?.forEach(t=>t()),this._dirChangeSubscription.unsubscribe()}_bindTransitionEvents(){this._ngZone.runOutsideAngular(()=>{let t=this._elementRef.nativeElement,r=o=>{o.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.remove("mat-tab-body-animating"),o.type==="transitionend"&&this._transitionDone())};this._eventCleanups=[this._renderer.listen(t,"transitionstart",o=>{o.target===this._contentElement?.nativeElement&&(this._elementRef.nativeElement.classList.add("mat-tab-body-animating"),this._transitionStarted())}),this._renderer.listen(t,"transitionend",r),this._renderer.listen(t,"transitioncancel",r)]})}_transitionStarted(){clearTimeout(this._fallbackTimer);let t=this._position==="center";this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_transitionDone(){this._position==="center"?this._onCentered.emit():this._previousPosition==="center"&&this._afterLeavingCenter.emit()}_setActiveClass(t){this._elementRef.nativeElement.classList.toggle("mat-mdc-tab-body-active",t)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(){return this._positionIndex===0}_computePositionAnimationState(t=this._getLayoutDirection()){this._previousPosition=this._position,this._positionIndex<0?this._position=t=="ltr"?"left":"right":this._positionIndex>0?this._position=t=="ltr"?"right":"left":this._position="center",this._animationsDisabled()?this._simulateTransitionEvents():this._initialized&&(this._position==="center"||this._previousPosition==="center")&&(clearTimeout(this._fallbackTimer),this._fallbackTimer=this._ngZone.runOutsideAngular(()=>setTimeout(()=>this._simulateTransitionEvents(),100)))}_simulateTransitionEvents(){this._transitionStarted(),Nn(()=>this._transitionDone(),{injector:this._injector})}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0ms"||this.animationDuration==="0s"}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Ce({type:e,selectors:[["mat-tab-body"]],viewQuery:function(r,o){if(r&1&&Zt(Zg,5)(DC,5),r&2){let i;re(i=oe())&&(o._portalHost=i.first),re(i=oe())&&(o._contentElement=i.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(r,o){r&2&&Ke("inert",o._position==="center"?null:"")},inputs:{_content:[0,"content","_content"],animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(r,o){r&1&&(fe(0,"div",1,0),go(2,EC,0,0,"ng-template",2),Fe()),r&2&&ge("mat-tab-body-content-left",o._position==="left")("mat-tab-body-content-right",o._position==="right")("mat-tab-body-content-can-animate",o._position==="center"||o._previousPosition==="center")},dependencies:[Zg,Pg],styles:[`.mat-mdc-tab-body {
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
position: absolute;
|
|
display: block;
|
|
overflow: hidden;
|
|
outline: 0;
|
|
flex-basis: 100%;
|
|
}
|
|
.mat-mdc-tab-body.mat-mdc-tab-body-active {
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
z-index: 1;
|
|
flex-grow: 1;
|
|
}
|
|
.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active {
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.mat-mdc-tab-body-content {
|
|
height: 100%;
|
|
overflow: auto;
|
|
transform: none;
|
|
visibility: hidden;
|
|
}
|
|
.mat-tab-body-animating > .mat-mdc-tab-body-content, .mat-mdc-tab-body-active > .mat-mdc-tab-body-content {
|
|
visibility: visible;
|
|
}
|
|
.mat-tab-body-animating > .mat-mdc-tab-body-content {
|
|
min-height: 1px;
|
|
}
|
|
.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mat-tab-body-content-can-animate {
|
|
transition: transform var(--mat-tab-animation-duration) 1ms cubic-bezier(0.35, 0, 0.25, 1);
|
|
}
|
|
.mat-mdc-tab-body-wrapper._mat-animation-noopable .mat-tab-body-content-can-animate {
|
|
transition: none;
|
|
}
|
|
|
|
.mat-tab-body-content-left {
|
|
transform: translate3d(-100%, 0, 0);
|
|
}
|
|
|
|
.mat-tab-body-content-right {
|
|
transform: translate3d(100%, 0, 0);
|
|
}
|
|
`],encapsulation:2})}return e})(),O2=(()=>{class e{_elementRef=h(z);_changeDetectorRef=h(Er);_ngZone=h(R);_tabsSubscription=P.EMPTY;_tabLabelSubscription=P.EMPTY;_tabBodySubscription=P.EMPTY;_diAnimationsDisabled=Ar();_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new bt;_indexToSelect=0;_lastFocusedTabIndex=null;_tabBodyWrapperHeight=0;color;get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(t){this._fitInkBarToContent=t,this._changeDetectorRef.markForCheck()}_fitInkBarToContent=!1;stretchTabs=!0;alignTabs=null;dynamicHeight=!1;get selectedIndex(){return this._selectedIndex}set selectedIndex(t){this._indexToSelect=isNaN(t)?null:t}_selectedIndex=null;headerPosition="above";get animationDuration(){return this._animationDuration}set animationDuration(t){let r=t+"";this._animationDuration=/^\d+$/.test(r)?t+"ms":r}_animationDuration;get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(t){this._contentTabIndex=isNaN(t)?null:t}_contentTabIndex=null;disablePagination=!1;disableRipple=!1;preserveContent=!1;get backgroundColor(){return this._backgroundColor}set backgroundColor(t){let r=this._elementRef.nativeElement.classList;r.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),t&&r.add("mat-tabs-with-background",`mat-background-${t}`),this._backgroundColor=t}_backgroundColor;ariaLabel;ariaLabelledby;selectedIndexChange=new j;focusChange=new j;animationDone=new j;selectedTabChange=new j(!0);_groupId;_isServer=!h(ye).isBrowser;constructor(){let t=h(HC,{optional:!0});this._groupId=h(Lo).getId("mat-tab-group-"),this.animationDuration=t&&t.animationDuration?t.animationDuration:"500ms",this.disablePagination=t&&t.disablePagination!=null?t.disablePagination:!1,this.dynamicHeight=t&&t.dynamicHeight!=null?t.dynamicHeight:!1,t?.contentTabIndex!=null&&(this.contentTabIndex=t.contentTabIndex),this.preserveContent=!!t?.preserveContent,this.fitInkBarToContent=t&&t.fitInkBarToContent!=null?t.fitInkBarToContent:!1,this.stretchTabs=t&&t.stretchTabs!=null?t.stretchTabs:!0,this.alignTabs=t&&t.alignTabs!=null?t.alignTabs:null}ngAfterContentChecked(){let t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){let r=this._selectedIndex==null;if(!r){this.selectedTabChange.emit(this._createChangeEvent(t));let o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,i)=>o.isActive=i===t),r||(this.selectedIndexChange.emit(t),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((r,o)=>{r.position=o-t,this._selectedIndex!=null&&r.position==0&&!r.origin&&(r.origin=t-this._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let t=this._clampTabIndex(this._indexToSelect);if(t===this._selectedIndex){let r=this._tabs.toArray(),o;for(let i=0;i<r.length;i++)if(r[i].isActive){this._indexToSelect=this._selectedIndex=i,this._lastFocusedTabIndex=null,o=r[i];break}!o&&r[t]&&Promise.resolve().then(()=>{r[t].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(t))})}this._changeDetectorRef.markForCheck()})}ngAfterViewInit(){this._tabBodySubscription=this._tabBodies.changes.subscribe(()=>this._bodyCentered(!0))}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Wn(this._allTabs)).subscribe(t=>{this._tabs.reset(t.filter(r=>r._closestTabGroup===this||!r._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe(),this._tabBodySubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(t){let r=this._tabHeader;r&&(r.focusIndex=t)}_focusChanged(t){this._lastFocusedTabIndex=t,this.focusChange.emit(this._createChangeEvent(t))}_createChangeEvent(t){let r=new nd;return r.index=t,this._tabs&&this._tabs.length&&(r.tab=this._tabs.toArray()[t]),r}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Lr(...this._tabs.map(t=>t._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}_getTabLabelId(t,r){return t.id||`${this._groupId}-label-${r}`}_getTabContentId(t){return`${this._groupId}-content-${t}`}_setTabBodyWrapperHeight(t){if(!this.dynamicHeight||!this._tabBodyWrapperHeight){this._tabBodyWrapperHeight=t;return}let r=this._tabBodyWrapper.nativeElement;r.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(r.style.height=t+"px")}_removeTabBodyWrapperHeight(){let t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this._ngZone.run(()=>this.animationDone.emit())}_handleClick(t,r,o){r.focusIndex=o,t.disabled||(this.selectedIndex=o)}_getTabIndex(t){let r=this._lastFocusedTabIndex??this.selectedIndex;return t===r?0:-1}_tabFocusChanged(t,r){t&&t!=="mouse"&&t!=="touch"&&(this._tabHeader.focusIndex=r)}_bodyCentered(t){t&&this._tabBodies?.forEach((r,o)=>r._setActiveClass(o===this._selectedIndex))}_animationsDisabled(){return this._diAnimationsDisabled||this.animationDuration==="0"||this.animationDuration==="0ms"}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Ce({type:e,selectors:[["mat-tab-group"]],contentQueries:function(r,o,i){if(r&1&&Dr(i,FC,5),r&2){let s;re(s=oe())&&(o._allTabs=s)}},viewQuery:function(r,o){if(r&1&&Zt(IC,5)(CC,5)(td,5),r&2){let i;re(i=oe())&&(o._tabBodyWrapper=i.first),re(i=oe())&&(o._tabHeader=i.first),re(i=oe())&&(o._tabBodies=i)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(r,o){r&2&&(Ke("mat-align-tabs",o.alignTabs),_o("mat-"+(o.color||"primary")),yo("--mat-tab-animation-duration",o.animationDuration),ge("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header",o.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",pe],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",pe],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",pe],selectedIndex:[2,"selectedIndex","selectedIndex",Zs],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Zs],disablePagination:[2,"disablePagination","disablePagination",pe],disableRipple:[2,"disableRipple","disableRipple",pe],preserveContent:[2,"preserveContent","preserveContent",pe],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[Qt([{provide:Yg,useExisting:e}])],ngContentSelectors:rd,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","class","content","position","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","_beforeCentering","id","content","position","animationDuration","preserveContent"]],template:function(r,o){r&1&&(_r(),fe(0,"mat-tab-header",3,0),ut("indexFocused",function(s){return o._focusChanged(s)})("selectFocusedIndex",function(s){return o.selectedIndex=s}),js(2,SC,8,17,"div",4,Ps),Fe(),Fs(4,AC,1,0),fe(5,"div",5,1),js(7,xC,1,10,"mat-tab-body",6,Ps),Fe()),r&2&&(lt("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination),Os("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledby),ke(2),Bs(o._tabs),ke(2),Ls(o._isServer?4:-1),ke(),ge("_mat-animation-noopable",o._animationsDisabled()),ke(2),Bs(o._tabs))},dependencies:[VC,Kg,zu,Xu,ju,td],styles:[`.mdc-tab {
|
|
min-width: 90px;
|
|
padding: 0 24px;
|
|
display: flex;
|
|
flex: 1 0 auto;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
border: none;
|
|
outline: none;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
.mdc-tab__content {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: inherit;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mdc-tab__text-label {
|
|
transition: 150ms color linear;
|
|
display: inline-block;
|
|
line-height: 1;
|
|
z-index: 2;
|
|
}
|
|
|
|
.mdc-tab--active .mdc-tab__text-label {
|
|
transition-delay: 100ms;
|
|
}
|
|
|
|
._mat-animation-noopable .mdc-tab__text-label {
|
|
transition: none;
|
|
}
|
|
|
|
.mdc-tab-indicator {
|
|
display: flex;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
.mdc-tab-indicator__content {
|
|
transition: var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);
|
|
transform-origin: left;
|
|
opacity: 0;
|
|
}
|
|
|
|
.mdc-tab-indicator__content--underline {
|
|
align-self: flex-end;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
border-top-style: solid;
|
|
}
|
|
|
|
.mdc-tab-indicator--active .mdc-tab-indicator__content {
|
|
opacity: 1;
|
|
}
|
|
|
|
._mat-animation-noopable .mdc-tab-indicator__content, .mdc-tab-indicator--no-transition .mdc-tab-indicator__content {
|
|
transition: none;
|
|
}
|
|
|
|
.mat-mdc-tab-ripple.mat-mdc-tab-ripple {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mat-mdc-tab {
|
|
-webkit-tap-highlight-color: transparent;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-decoration: none;
|
|
background: none;
|
|
height: var(--mat-tab-container-height, 48px);
|
|
font-family: var(--mat-tab-label-text-font, var(--mat-sys-title-small-font));
|
|
font-size: var(--mat-tab-label-text-size, var(--mat-sys-title-small-size));
|
|
letter-spacing: var(--mat-tab-label-text-tracking, var(--mat-sys-title-small-tracking));
|
|
line-height: var(--mat-tab-label-text-line-height, var(--mat-sys-title-small-line-height));
|
|
font-weight: var(--mat-tab-label-text-weight, var(--mat-sys-title-small-weight));
|
|
}
|
|
.mat-mdc-tab.mdc-tab {
|
|
flex-grow: 0;
|
|
}
|
|
.mat-mdc-tab .mdc-tab-indicator__content--underline {
|
|
border-color: var(--mat-tab-active-indicator-color, var(--mat-sys-primary));
|
|
border-top-width: var(--mat-tab-active-indicator-height, 2px);
|
|
border-radius: var(--mat-tab-active-indicator-shape, 0);
|
|
}
|
|
.mat-mdc-tab:hover .mdc-tab__text-label {
|
|
color: var(--mat-tab-inactive-hover-label-text-color, var(--mat-sys-on-surface));
|
|
}
|
|
.mat-mdc-tab:focus .mdc-tab__text-label {
|
|
color: var(--mat-tab-inactive-focus-label-text-color, var(--mat-sys-on-surface));
|
|
}
|
|
.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label {
|
|
color: var(--mat-tab-active-label-text-color, var(--mat-sys-on-surface));
|
|
}
|
|
.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,
|
|
.mat-mdc-tab.mdc-tab--active .mat-ripple-element {
|
|
background-color: var(--mat-tab-active-ripple-color, var(--mat-sys-on-surface));
|
|
}
|
|
.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label {
|
|
color: var(--mat-tab-active-hover-label-text-color, var(--mat-sys-on-surface));
|
|
}
|
|
.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline {
|
|
border-color: var(--mat-tab-active-hover-indicator-color, var(--mat-sys-primary));
|
|
}
|
|
.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label {
|
|
color: var(--mat-tab-active-focus-label-text-color, var(--mat-sys-on-surface));
|
|
}
|
|
.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline {
|
|
border-color: var(--mat-tab-active-focus-indicator-color, var(--mat-sys-primary));
|
|
}
|
|
.mat-mdc-tab.mat-mdc-tab-disabled {
|
|
opacity: 0.4;
|
|
pointer-events: none;
|
|
}
|
|
.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content {
|
|
pointer-events: none;
|
|
}
|
|
.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,
|
|
.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element {
|
|
background-color: var(--mat-tab-disabled-ripple-color, var(--mat-sys-on-surface-variant));
|
|
}
|
|
.mat-mdc-tab .mdc-tab__ripple::before {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface));
|
|
}
|
|
.mat-mdc-tab .mdc-tab__text-label {
|
|
color: var(--mat-tab-inactive-label-text-color, var(--mat-sys-on-surface));
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
.mat-mdc-tab .mdc-tab__content {
|
|
position: relative;
|
|
pointer-events: auto;
|
|
}
|
|
.mat-mdc-tab:hover .mdc-tab__ripple::before {
|
|
opacity: 0.04;
|
|
}
|
|
.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before, .mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before {
|
|
opacity: 0.12;
|
|
}
|
|
.mat-mdc-tab .mat-ripple-element {
|
|
opacity: 0.12;
|
|
background-color: var(--mat-tab-inactive-ripple-color, var(--mat-sys-on-surface));
|
|
}
|
|
.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs > .mat-mdc-tab-header .mat-mdc-tab {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.mat-mdc-tab-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
max-width: 100%;
|
|
}
|
|
.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination {
|
|
background-color: var(--mat-tab-background-color);
|
|
}
|
|
.mat-mdc-tab-group.mat-tabs-with-background.mat-primary > .mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label {
|
|
color: var(--mat-tab-foreground-color);
|
|
}
|
|
.mat-mdc-tab-group.mat-tabs-with-background.mat-primary > .mat-mdc-tab-header .mdc-tab-indicator__content--underline {
|
|
border-color: var(--mat-tab-foreground-color);
|
|
}
|
|
.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary) > .mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label {
|
|
color: var(--mat-tab-foreground-color);
|
|
}
|
|
.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary) > .mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline {
|
|
border-color: var(--mat-tab-foreground-color);
|
|
}
|
|
.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,
|
|
.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-focus-indicator::before, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,
|
|
.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-focus-indicator::before {
|
|
border-color: var(--mat-tab-foreground-color);
|
|
}
|
|
.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-ripple-element, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mdc-tab__ripple::before, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-ripple-element, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mdc-tab__ripple::before {
|
|
background-color: var(--mat-tab-foreground-color);
|
|
}
|
|
.mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron, .mat-mdc-tab-group.mat-tabs-with-background > .mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron {
|
|
color: var(--mat-tab-foreground-color);
|
|
}
|
|
.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header {
|
|
flex-direction: column-reverse;
|
|
}
|
|
.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline {
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.mat-mdc-tab-body-wrapper {
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: flex;
|
|
transition: height 500ms cubic-bezier(0.35, 0, 0.25, 1);
|
|
}
|
|
.mat-mdc-tab-body-wrapper._mat-animation-noopable {
|
|
transition: none !important;
|
|
animation: none !important;
|
|
}
|
|
`],encapsulation:2})}return e})(),nd=class{index;tab};var F2=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=ae({type:e});static \u0275inj=te({imports:[Po]})}return e})();export{A as a,X as b,P as c,N as d,T as e,xt as f,Id as g,an as h,Be as i,xv as j,Nv as k,Rv as l,Lr as m,_e as n,kv as o,zd as p,Wn as q,_i as r,Ve as s,Fv as t,Ra as u,E as v,zr as w,v as x,te as y,g as z,h as A,ue as B,Vt as C,Ht as D,kf as E,Of as F,U as G,H,j as I,R as J,We as K,Jr as L,An as M,fr as N,z as O,Pl as P,b_ as Q,D_ as R,E_ as S,ke as T,Nn as U,Ee as V,Re as W,Gt as X,ct as Y,Oe as Z,Ce as _,ae as $,G as aa,Ye as ba,go as ca,vr as da,ks as ea,qt as fa,Ke as ga,OD as ha,Fs as ia,Ls as ja,LD as ka,Ps as la,js as ma,Bs as na,lt as oa,fe as pa,Fe as qa,yr as ra,Vs as sa,Hs as ta,du as ua,Us as va,Dm as wa,ut as xa,Im as ya,Xe as za,_r as Aa,br as Ba,Dr as Ca,Zt as Da,re as Ea,oe as Fa,wm as Ga,Tm as Ha,qD as Ia,zs as Ja,yo as Ka,ge as La,_o as Ma,fu as Na,Ws as Oa,pu as Pa,Om as Qa,Fm as Ra,Lm as Sa,yE as Ta,Pm as Ua,Qt as Va,EE as Wa,wE as Xa,ME as Ya,AE as Za,xE as _a,gu as $a,Hm as ab,yu as bb,bP as cb,DP as db,EP as eb,IP as fb,Er as gb,pe as hb,Zs as ib,wP as jb,wt as kb,eg as lb,_I as mb,bI as nb,EI as ob,II as pb,ig as qb,BI as rb,Fu as sb,Cr as tb,hg as ub,Yj as vb,xo as wb,qI as xb,vg as yb,No as zb,Ro as Ab,Vu as Bb,Tt as Cb,ye as Db,aa as Eb,Le as Fb,FB as Gb,YB as Hb,tC as Ib,ua as Jb,Gu as Kb,Lo as Lb,UV as Mb,$V as Nb,Mr as Ob,Po as Pb,Og as Qb,Fg as Rb,lH as Sb,sC as Tb,jg as Ub,Lg as Vb,FH as Wb,Ar as Xb,$H as Yb,WH as Zb,Xu as _b,OC as $b,FC as ac,HC as bc,O2 as cc,F2 as dc};
|